@squirrel-cloud/ui-vue 0.2.17 → 0.2.18

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.
@@ -10,6 +10,7 @@ declare function __VLS_template(): {
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
11
  declare const __VLS_component: import('vue').DefineComponent<BacktopProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BacktopProps> & Readonly<{}>, {
12
12
  progress: boolean;
13
+ target: string;
13
14
  icon: import('vue').Component;
14
15
  transition: string;
15
16
  visibilityHeight: number;
@@ -20,6 +20,10 @@ export interface BacktopProps {
20
20
  * 出现时最小滚动高度
21
21
  */
22
22
  visibilityHeight?: number;
23
+ /**
24
+ * 触发滚动的对象
25
+ */
26
+ target?: string;
23
27
  /**
24
28
  * 进度条配置
25
29
  */
@@ -3410,12 +3410,15 @@ const Bo = I({
3410
3410
  icon: { default: cc },
3411
3411
  transition: { default: "sq-rotate-in-left" },
3412
3412
  visibilityHeight: { default: 100 },
3413
+ target: { default: "#app" },
3413
3414
  progressProps: {}
3414
3415
  },
3415
3416
  setup(u) {
3416
3417
  const e = new ResizeObserver(i), t = u, n = tu(100), r = tu(0), c = E(() => r.value > t.visibilityHeight);
3417
3418
  b0(() => {
3418
- i(), r.value = window.scrollY, window.addEventListener("scroll", o), e.observe(document.body);
3419
+ i(), r.value = window.scrollY, window.addEventListener("scroll", o);
3420
+ const a = document.querySelector(t.target) ?? document.body;
3421
+ e.observe(a);
3419
3422
  }), Ae(() => {
3420
3423
  window.removeEventListener("scroll", o), e.disconnect;
3421
3424
  });
@@ -13,4 +13,4 @@
13
13
  `:">",o},su.prototype.renderInline=function(u,e,t){let n="";const r=this.rules;for(let o=0,c=u.length;o<c;o++){const i=u[o].type;typeof r[i]<"u"?n+=r[i](u,o,e,t,this):n+=this.renderToken(u,o,e)}return n},su.prototype.renderInlineAsText=function(u,e,t){let n="";for(let r=0,o=u.length;r<o;r++)switch(u[r].type){case"text":n+=u[r].content;break;case"image":n+=this.renderInlineAsText(u[r].children,e,t);break;case"html_inline":case"html_block":n+=u[r].content;break;case"softbreak":case"hardbreak":n+=`
14
14
  `;break}return n},su.prototype.render=function(u,e,t){let n="";const r=this.rules;for(let o=0,c=u.length;o<c;o++){const i=u[o].type;i==="inline"?n+=this.renderInline(u[o].children,e,t):typeof r[i]<"u"?n+=r[i](u,o,e,t,this):n+=this.renderToken(u,o,e,t)}return n};function T(){this.__rules__=[],this.__cache__=null}T.prototype.__find__=function(u){for(let e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===u)return e;return-1},T.prototype.__compile__=function(){const u=this,e=[""];u.__rules__.forEach(function(t){t.enabled&&t.alt.forEach(function(n){e.indexOf(n)<0&&e.push(n)})}),u.__cache__={},e.forEach(function(t){u.__cache__[t]=[],u.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||u.__cache__[t].push(n.fn))})})},T.prototype.at=function(u,e,t){const n=this.__find__(u),r=t||{};if(n===-1)throw new Error("Parser rule not found: "+u);this.__rules__[n].fn=e,this.__rules__[n].alt=r.alt||[],this.__cache__=null},T.prototype.before=function(u,e,t,n){const r=this.__find__(u),o=n||{};if(r===-1)throw new Error("Parser rule not found: "+u);this.__rules__.splice(r,0,{name:e,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null},T.prototype.after=function(u,e,t,n){const r=this.__find__(u),o=n||{};if(r===-1)throw new Error("Parser rule not found: "+u);this.__rules__.splice(r+1,0,{name:e,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null},T.prototype.push=function(u,e,t){const n=t||{};this.__rules__.push({name:u,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null},T.prototype.enable=function(u,e){Array.isArray(u)||(u=[u]);const t=[];return u.forEach(function(n){const r=this.__find__(n);if(r<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!0,t.push(n)},this),this.__cache__=null,t},T.prototype.enableOnly=function(u,e){Array.isArray(u)||(u=[u]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(u,e)},T.prototype.disable=function(u,e){Array.isArray(u)||(u=[u]);const t=[];return u.forEach(function(n){const r=this.__find__(n);if(r<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!1,t.push(n)},this),this.__cache__=null,t},T.prototype.getRules=function(u){return this.__cache__===null&&this.__compile__(),this.__cache__[u]||[]};function Le(u,e,t){this.src=u,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=e}Le.prototype.Token=q;const Dt=/\r\n?|\n/g,At=/\0/g;function wt(u){let e;e=u.src.replace(Dt,`
15
15
  `),e=e.replace(At,"�"),u.src=e}function Ft(u){let e;u.inlineMode?(e=new u.Token("inline","",0),e.content=u.src,e.map=[0,1],e.children=[],u.tokens.push(e)):u.md.block.parse(u.src,u.md,u.env,u.tokens)}function St(u){const e=u.tokens;for(let t=0,n=e.length;t<n;t++){const r=e[t];r.type==="inline"&&u.md.inline.parse(r.content,u.md,u.env,r.children)}}function Bt(u){return/^<a[>\s]/i.test(u)}function vt(u){return/^<\/a\s*>/i.test(u)}function Tt(u){const e=u.tokens;if(u.md.options.linkify)for(let t=0,n=e.length;t<n;t++){if(e[t].type!=="inline"||!u.md.linkify.pretest(e[t].content))continue;let r=e[t].children,o=0;for(let c=r.length-1;c>=0;c--){const i=r[c];if(i.type==="link_close"){for(c--;r[c].level!==i.level&&r[c].type!=="link_open";)c--;continue}if(i.type==="html_inline"&&(Bt(i.content)&&o>0&&o--,vt(i.content)&&o++),!(o>0)&&i.type==="text"&&u.md.linkify.test(i.content)){const s=i.content;let a=u.md.linkify.match(s);const f=[];let d=i.level,b=0;a.length>0&&a[0].index===0&&c>0&&r[c-1].type==="text_special"&&(a=a.slice(1));for(let p=0;p<a.length;p++){const h=a[p].url,m=u.md.normalizeLink(h);if(!u.md.validateLink(m))continue;let _=a[p].text;a[p].schema?a[p].schema==="mailto:"&&!/^mailto:/i.test(_)?_=u.md.normalizeLinkText("mailto:"+_).replace(/^mailto:/,""):_=u.md.normalizeLinkText(_):_=u.md.normalizeLinkText("http://"+_).replace(/^http:\/\//,"");const C=a[p].index;if(C>b){const y=new u.Token("text","",0);y.content=s.slice(b,C),y.level=d,f.push(y)}const x=new u.Token("link_open","a",1);x.attrs=[["href",m]],x.level=d++,x.markup="linkify",x.info="auto",f.push(x);const g=new u.Token("text","",0);g.content=_,g.level=d,f.push(g);const k=new u.Token("link_close","a",-1);k.level=--d,k.markup="linkify",k.info="auto",f.push(k),b=a[p].lastIndex}if(b<s.length){const p=new u.Token("text","",0);p.content=s.slice(b),p.level=d,f.push(p)}e[t].children=r=qe(r,c,f)}}}}const Ie=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Rt=/\((c|tm|r)\)/i,zt=/\((c|tm|r)\)/ig,qt={c:"©",r:"®",tm:"™"};function Mt(u,e){return qt[e.toLowerCase()]}function Lt(u){let e=0;for(let t=u.length-1;t>=0;t--){const n=u[t];n.type==="text"&&!e&&(n.content=n.content.replace(zt,Mt)),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function It(u){let e=0;for(let t=u.length-1;t>=0;t--){const n=u[t];n.type==="text"&&!e&&Ie.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function Ot(u){let e;if(u.md.options.typographer)for(e=u.tokens.length-1;e>=0;e--)u.tokens[e].type==="inline"&&(Rt.test(u.tokens[e].content)&&Lt(u.tokens[e].children),Ie.test(u.tokens[e].content)&&It(u.tokens[e].children))}const Pt=/['"]/,Oe=/['"]/g,Pe="’";function vu(u,e,t){return u.slice(0,e)+t+u.slice(e+1)}function Nt(u,e){let t;const n=[];for(let r=0;r<u.length;r++){const o=u[r],c=u[r].level;for(t=n.length-1;t>=0&&!(n[t].level<=c);t--);if(n.length=t+1,o.type!=="text")continue;let i=o.content,s=0,a=i.length;u:for(;s<a;){Oe.lastIndex=s;const f=Oe.exec(i);if(!f)break;let d=!0,b=!0;s=f.index+1;const p=f[0]==="'";let h=32;if(f.index-1>=0)h=i.charCodeAt(f.index-1);else for(t=r-1;t>=0&&!(u[t].type==="softbreak"||u[t].type==="hardbreak");t--)if(u[t].content){h=u[t].content.charCodeAt(u[t].content.length-1);break}let m=32;if(s<a)m=i.charCodeAt(s);else for(t=r+1;t<u.length&&!(u[t].type==="softbreak"||u[t].type==="hardbreak");t++)if(u[t].content){m=u[t].content.charCodeAt(0);break}const _=gu(h)||_u(String.fromCharCode(h)),C=gu(m)||_u(String.fromCharCode(m)),x=xu(h),g=xu(m);if(g?d=!1:C&&(x||_||(d=!1)),x?b=!1:_&&(g||C||(b=!1)),m===34&&f[0]==='"'&&h>=48&&h<=57&&(b=d=!1),d&&b&&(d=_,b=C),!d&&!b){p&&(o.content=vu(o.content,f.index,Pe));continue}if(b)for(t=n.length-1;t>=0;t--){let k=n[t];if(n[t].level<c)break;if(k.single===p&&n[t].level===c){k=n[t];let y,D;p?(y=e.md.options.quotes[2],D=e.md.options.quotes[3]):(y=e.md.options.quotes[0],D=e.md.options.quotes[1]),o.content=vu(o.content,f.index,D),u[k.token].content=vu(u[k.token].content,k.pos,y),s+=D.length-1,k.token===r&&(s+=y.length-1),i=o.content,a=i.length,n.length=t;continue u}}d?n.push({token:r,pos:f.index,single:p,level:c}):b&&p&&(o.content=vu(o.content,f.index,Pe))}}}function $t(u){if(u.md.options.typographer)for(let e=u.tokens.length-1;e>=0;e--)u.tokens[e].type!=="inline"||!Pt.test(u.tokens[e].content)||Nt(u.tokens[e].children,u)}function Vt(u){let e,t;const n=u.tokens,r=n.length;for(let o=0;o<r;o++){if(n[o].type!=="inline")continue;const c=n[o].children,i=c.length;for(e=0;e<i;e++)c[e].type==="text_special"&&(c[e].type="text");for(e=t=0;e<i;e++)c[e].type==="text"&&e+1<i&&c[e+1].type==="text"?c[e+1].content=c[e].content+c[e+1].content:(e!==t&&(c[t]=c[e]),t++);e!==t&&(c.length=t)}}const ue=[["normalize",wt],["block",Ft],["inline",St],["linkify",Tt],["replacements",Ot],["smartquotes",$t],["text_join",Vt]];function ee(){this.ruler=new T;for(let u=0;u<ue.length;u++)this.ruler.push(ue[u][0],ue[u][1])}ee.prototype.process=function(u){const e=this.ruler.getRules("");for(let t=0,n=e.length;t<n;t++)e[t](u)},ee.prototype.State=Le;function $(u,e,t,n){this.src=u,this.md=e,this.env=t,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let o=0,c=0,i=0,s=0,a=r.length,f=!1;c<a;c++){const d=r.charCodeAt(c);if(!f)if(A(d)){i++,d===9?s+=4-s%4:s++;continue}else f=!0;(d===10||c===a-1)&&(d!==10&&c++,this.bMarks.push(o),this.eMarks.push(c),this.tShift.push(i),this.sCount.push(s),this.bsCount.push(0),f=!1,i=0,s=0,o=c+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}$.prototype.push=function(u,e,t){const n=new q(u,e,t);return n.block=!0,t<0&&this.level--,n.level=this.level,t>0&&this.level++,this.tokens.push(n),n},$.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},$.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},$.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t;e++){const n=this.src.charCodeAt(e);if(!A(n))break}return e},$.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!A(this.src.charCodeAt(--e)))return e+1;return e},$.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},$.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},$.prototype.getLines=function(e,t,n,r){if(e>=t)return"";const o=new Array(t-e);for(let c=0,i=e;i<t;i++,c++){let s=0;const a=this.bMarks[i];let f=a,d;for(i+1<t||r?d=this.eMarks[i]+1:d=this.eMarks[i];f<d&&s<n;){const b=this.src.charCodeAt(f);if(A(b))b===9?s+=4-(s+this.bsCount[i])%4:s++;else if(f-a<this.tShift[i])s++;else break;f++}s>n?o[c]=new Array(s-n+1).join(" ")+this.src.slice(f,d):o[c]=this.src.slice(f,d)}return o.join("")},$.prototype.Token=q;const jt=65536;function te(u,e){const t=u.bMarks[e]+u.tShift[e],n=u.eMarks[e];return u.src.slice(t,n)}function Ne(u){const e=[],t=u.length;let n=0,r=u.charCodeAt(n),o=!1,c=0,i="";for(;n<t;)r===124&&(o?(i+=u.substring(c,n-1),c=n):(e.push(i+u.substring(c,n)),i="",c=n+1)),o=r===92,n++,r=u.charCodeAt(n);return e.push(i+u.substring(c)),e}function Ht(u,e,t,n){if(e+2>t)return!1;let r=e+1;if(u.sCount[r]<u.blkIndent||u.sCount[r]-u.blkIndent>=4)return!1;let o=u.bMarks[r]+u.tShift[r];if(o>=u.eMarks[r])return!1;const c=u.src.charCodeAt(o++);if(c!==124&&c!==45&&c!==58||o>=u.eMarks[r])return!1;const i=u.src.charCodeAt(o++);if(i!==124&&i!==45&&i!==58&&!A(i)||c===45&&A(i))return!1;for(;o<u.eMarks[r];){const k=u.src.charCodeAt(o);if(k!==124&&k!==45&&k!==58&&!A(k))return!1;o++}let s=te(u,e+1),a=s.split("|");const f=[];for(let k=0;k<a.length;k++){const y=a[k].trim();if(!y){if(k===0||k===a.length-1)continue;return!1}if(!/^:?-+:?$/.test(y))return!1;y.charCodeAt(y.length-1)===58?f.push(y.charCodeAt(0)===58?"center":"right"):y.charCodeAt(0)===58?f.push("left"):f.push("")}if(s=te(u,e).trim(),s.indexOf("|")===-1||u.sCount[e]-u.blkIndent>=4)return!1;a=Ne(s),a.length&&a[0]===""&&a.shift(),a.length&&a[a.length-1]===""&&a.pop();const d=a.length;if(d===0||d!==f.length)return!1;if(n)return!0;const b=u.parentType;u.parentType="table";const p=u.md.block.ruler.getRules("blockquote"),h=u.push("table_open","table",1),m=[e,0];h.map=m;const _=u.push("thead_open","thead",1);_.map=[e,e+1];const C=u.push("tr_open","tr",1);C.map=[e,e+1];for(let k=0;k<a.length;k++){const y=u.push("th_open","th",1);f[k]&&(y.attrs=[["style","text-align:"+f[k]]]);const D=u.push("inline","",0);D.content=a[k].trim(),D.children=[],u.push("th_close","th",-1)}u.push("tr_close","tr",-1),u.push("thead_close","thead",-1);let x,g=0;for(r=e+2;r<t&&!(u.sCount[r]<u.blkIndent);r++){let k=!1;for(let D=0,E=p.length;D<E;D++)if(p[D](u,r,t,!0)){k=!0;break}if(k||(s=te(u,r).trim(),!s)||u.sCount[r]-u.blkIndent>=4||(a=Ne(s),a.length&&a[0]===""&&a.shift(),a.length&&a[a.length-1]===""&&a.pop(),g+=d-a.length,g>jt))break;if(r===e+2){const D=u.push("tbody_open","tbody",1);D.map=x=[e+2,0]}const y=u.push("tr_open","tr",1);y.map=[r,r+1];for(let D=0;D<d;D++){const E=u.push("td_open","td",1);f[D]&&(E.attrs=[["style","text-align:"+f[D]]]);const w=u.push("inline","",0);w.content=a[D]?a[D].trim():"",w.children=[],u.push("td_close","td",-1)}u.push("tr_close","tr",-1)}return x&&(u.push("tbody_close","tbody",-1),x[1]=r),u.push("table_close","table",-1),m[1]=r,u.parentType=b,u.line=r,!0}function Ut(u,e,t){if(u.sCount[e]-u.blkIndent<4)return!1;let n=e+1,r=n;for(;n<t;){if(u.isEmpty(n)){n++;continue}if(u.sCount[n]-u.blkIndent>=4){n++,r=n;continue}break}u.line=r;const o=u.push("code_block","code",0);return o.content=u.getLines(e,r,4+u.blkIndent,!1)+`
16
- `,o.map=[e,u.line],!0}function Zt(u,e,t,n){let r=u.bMarks[e]+u.tShift[e],o=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4||r+3>o)return!1;const c=u.src.charCodeAt(r);if(c!==126&&c!==96)return!1;let i=r;r=u.skipChars(r,c);let s=r-i;if(s<3)return!1;const a=u.src.slice(i,r),f=u.src.slice(r,o);if(c===96&&f.indexOf(String.fromCharCode(c))>=0)return!1;if(n)return!0;let d=e,b=!1;for(;d++,!(d>=t||(r=i=u.bMarks[d]+u.tShift[d],o=u.eMarks[d],r<o&&u.sCount[d]<u.blkIndent));)if(u.src.charCodeAt(r)===c&&!(u.sCount[d]-u.blkIndent>=4)&&(r=u.skipChars(r,c),!(r-i<s)&&(r=u.skipSpaces(r),!(r<o)))){b=!0;break}s=u.sCount[e],u.line=d+(b?1:0);const p=u.push("fence","code",0);return p.info=f,p.content=u.getLines(e+1,d,s,!0),p.markup=a,p.map=[e,u.line],!0}function Wt(u,e,t,n){let r=u.bMarks[e]+u.tShift[e],o=u.eMarks[e];const c=u.lineMax;if(u.sCount[e]-u.blkIndent>=4||u.src.charCodeAt(r)!==62)return!1;if(n)return!0;const i=[],s=[],a=[],f=[],d=u.md.block.ruler.getRules("blockquote"),b=u.parentType;u.parentType="blockquote";let p=!1,h;for(h=e;h<t;h++){const g=u.sCount[h]<u.blkIndent;if(r=u.bMarks[h]+u.tShift[h],o=u.eMarks[h],r>=o)break;if(u.src.charCodeAt(r++)===62&&!g){let y=u.sCount[h]+1,D,E;u.src.charCodeAt(r)===32?(r++,y++,E=!1,D=!0):u.src.charCodeAt(r)===9?(D=!0,(u.bsCount[h]+y)%4===3?(r++,y++,E=!1):E=!0):D=!1;let w=y;for(i.push(u.bMarks[h]),u.bMarks[h]=r;r<o;){const v=u.src.charCodeAt(r);if(A(v))v===9?w+=4-(w+u.bsCount[h]+(E?1:0))%4:w++;else break;r++}p=r>=o,s.push(u.bsCount[h]),u.bsCount[h]=u.sCount[h]+1+(D?1:0),a.push(u.sCount[h]),u.sCount[h]=w-y,f.push(u.tShift[h]),u.tShift[h]=r-u.bMarks[h];continue}if(p)break;let k=!1;for(let y=0,D=d.length;y<D;y++)if(d[y](u,h,t,!0)){k=!0;break}if(k){u.lineMax=h,u.blkIndent!==0&&(i.push(u.bMarks[h]),s.push(u.bsCount[h]),f.push(u.tShift[h]),a.push(u.sCount[h]),u.sCount[h]-=u.blkIndent);break}i.push(u.bMarks[h]),s.push(u.bsCount[h]),f.push(u.tShift[h]),a.push(u.sCount[h]),u.sCount[h]=-1}const m=u.blkIndent;u.blkIndent=0;const _=u.push("blockquote_open","blockquote",1);_.markup=">";const C=[e,0];_.map=C,u.md.block.tokenize(u,e,h);const x=u.push("blockquote_close","blockquote",-1);x.markup=">",u.lineMax=c,u.parentType=b,C[1]=u.line;for(let g=0;g<f.length;g++)u.bMarks[g+e]=i[g],u.tShift[g+e]=f[g],u.sCount[g+e]=a[g],u.bsCount[g+e]=s[g];return u.blkIndent=m,!0}function Gt(u,e,t,n){const r=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4)return!1;let o=u.bMarks[e]+u.tShift[e];const c=u.src.charCodeAt(o++);if(c!==42&&c!==45&&c!==95)return!1;let i=1;for(;o<r;){const a=u.src.charCodeAt(o++);if(a!==c&&!A(a))return!1;a===c&&i++}if(i<3)return!1;if(n)return!0;u.line=e+1;const s=u.push("hr","hr",0);return s.map=[e,u.line],s.markup=Array(i+1).join(String.fromCharCode(c)),!0}function $e(u,e){const t=u.eMarks[e];let n=u.bMarks[e]+u.tShift[e];const r=u.src.charCodeAt(n++);if(r!==42&&r!==45&&r!==43)return-1;if(n<t){const o=u.src.charCodeAt(n);if(!A(o))return-1}return n}function Ve(u,e){const t=u.bMarks[e]+u.tShift[e],n=u.eMarks[e];let r=t;if(r+1>=n)return-1;let o=u.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=n)return-1;if(o=u.src.charCodeAt(r++),o>=48&&o<=57){if(r-t>=10)return-1;continue}if(o===41||o===46)break;return-1}return r<n&&(o=u.src.charCodeAt(r),!A(o))?-1:r}function Xt(u,e){const t=u.level+2;for(let n=e+2,r=u.tokens.length-2;n<r;n++)u.tokens[n].level===t&&u.tokens[n].type==="paragraph_open"&&(u.tokens[n+2].hidden=!0,u.tokens[n].hidden=!0,n+=2)}function Jt(u,e,t,n){let r,o,c,i,s=e,a=!0;if(u.sCount[s]-u.blkIndent>=4||u.listIndent>=0&&u.sCount[s]-u.listIndent>=4&&u.sCount[s]<u.blkIndent)return!1;let f=!1;n&&u.parentType==="paragraph"&&u.sCount[s]>=u.blkIndent&&(f=!0);let d,b,p;if((p=Ve(u,s))>=0){if(d=!0,c=u.bMarks[s]+u.tShift[s],b=Number(u.src.slice(c,p-1)),f&&b!==1)return!1}else if((p=$e(u,s))>=0)d=!1;else return!1;if(f&&u.skipSpaces(p)>=u.eMarks[s])return!1;if(n)return!0;const h=u.src.charCodeAt(p-1),m=u.tokens.length;d?(i=u.push("ordered_list_open","ol",1),b!==1&&(i.attrs=[["start",b]])):i=u.push("bullet_list_open","ul",1);const _=[s,0];i.map=_,i.markup=String.fromCharCode(h);let C=!1;const x=u.md.block.ruler.getRules("list"),g=u.parentType;for(u.parentType="list";s<t;){o=p,r=u.eMarks[s];const k=u.sCount[s]+p-(u.bMarks[s]+u.tShift[s]);let y=k;for(;o<r;){const G=u.src.charCodeAt(o);if(G===9)y+=4-(y+u.bsCount[s])%4;else if(G===32)y++;else break;o++}const D=o;let E;D>=r?E=1:E=y-k,E>4&&(E=1);const w=k+E;i=u.push("list_item_open","li",1),i.markup=String.fromCharCode(h);const v=[s,0];i.map=v,d&&(i.info=u.src.slice(c,p-1));const L=u.tight,bu=u.tShift[s],Uu=u.sCount[s],Zu=u.listIndent;if(u.listIndent=u.blkIndent,u.blkIndent=w,u.tight=!0,u.tShift[s]=D-u.bMarks[s],u.sCount[s]=y,D>=r&&u.isEmpty(s+1)?u.line=Math.min(u.line+2,t):u.md.block.tokenize(u,s,t,!0),(!u.tight||C)&&(a=!1),C=u.line-s>1&&u.isEmpty(u.line-1),u.blkIndent=u.listIndent,u.listIndent=Zu,u.tShift[s]=bu,u.sCount[s]=Uu,u.tight=L,i=u.push("list_item_close","li",-1),i.markup=String.fromCharCode(h),s=u.line,v[1]=s,s>=t||u.sCount[s]<u.blkIndent||u.sCount[s]-u.blkIndent>=4)break;let W=!1;for(let G=0,ru=x.length;G<ru;G++)if(x[G](u,s,t,!0)){W=!0;break}if(W)break;if(d){if(p=Ve(u,s),p<0)break;c=u.bMarks[s]+u.tShift[s]}else if(p=$e(u,s),p<0)break;if(h!==u.src.charCodeAt(p-1))break}return d?i=u.push("ordered_list_close","ol",-1):i=u.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(h),_[1]=s,u.line=s,u.parentType=g,a&&Xt(u,m),!0}function Qt(u,e,t,n){let r=u.bMarks[e]+u.tShift[e],o=u.eMarks[e],c=e+1;if(u.sCount[e]-u.blkIndent>=4||u.src.charCodeAt(r)!==91)return!1;function i(x){const g=u.lineMax;if(x>=g||u.isEmpty(x))return null;let k=!1;if(u.sCount[x]-u.blkIndent>3&&(k=!0),u.sCount[x]<0&&(k=!0),!k){const E=u.md.block.ruler.getRules("reference"),w=u.parentType;u.parentType="reference";let v=!1;for(let L=0,bu=E.length;L<bu;L++)if(E[L](u,x,g,!0)){v=!0;break}if(u.parentType=w,v)return null}const y=u.bMarks[x]+u.tShift[x],D=u.eMarks[x];return u.src.slice(y,D+1)}let s=u.src.slice(r,o+1);o=s.length;let a=-1;for(r=1;r<o;r++){const x=s.charCodeAt(r);if(x===91)return!1;if(x===93){a=r;break}else if(x===10){const g=i(c);g!==null&&(s+=g,o=s.length,c++)}else if(x===92&&(r++,r<o&&s.charCodeAt(r)===10)){const g=i(c);g!==null&&(s+=g,o=s.length,c++)}}if(a<0||s.charCodeAt(a+1)!==58)return!1;for(r=a+2;r<o;r++){const x=s.charCodeAt(r);if(x===10){const g=i(c);g!==null&&(s+=g,o=s.length,c++)}else if(!A(x))break}const f=u.md.helpers.parseLinkDestination(s,r,o);if(!f.ok)return!1;const d=u.md.normalizeLink(f.str);if(!u.md.validateLink(d))return!1;r=f.pos;const b=r,p=c,h=r;for(;r<o;r++){const x=s.charCodeAt(r);if(x===10){const g=i(c);g!==null&&(s+=g,o=s.length,c++)}else if(!A(x))break}let m=u.md.helpers.parseLinkTitle(s,r,o);for(;m.can_continue;){const x=i(c);if(x===null)break;s+=x,r=o,o=s.length,c++,m=u.md.helpers.parseLinkTitle(s,r,o,m)}let _;for(r<o&&h!==r&&m.ok?(_=m.str,r=m.pos):(_="",r=b,c=p);r<o;){const x=s.charCodeAt(r);if(!A(x))break;r++}if(r<o&&s.charCodeAt(r)!==10&&_)for(_="",r=b,c=p;r<o;){const x=s.charCodeAt(r);if(!A(x))break;r++}if(r<o&&s.charCodeAt(r)!==10)return!1;const C=Bu(s.slice(1,a));return C?(n||(typeof u.env.references>"u"&&(u.env.references={}),typeof u.env.references[C]>"u"&&(u.env.references[C]={title:_,href:d}),u.line=c),!0):!1}const Yt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Kt="[a-zA-Z_:][a-zA-Z0-9:._-]*",un="(?:"+"[^\"'=<>`\\x00-\\x20]+"+"|"+"'[^']*'"+"|"+'"[^"]*"'+")",je="<[A-Za-z][A-Za-z0-9\\-]*"+("(?:\\s+"+Kt+"(?:\\s*=\\s*"+un+")?)")+"*\\s*\\/?>",He="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",en="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",tn="<[?][\\s\\S]*?[?]>",nn="<![A-Za-z][^>]*>",rn="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",on=new RegExp("^(?:"+je+"|"+He+"|"+en+"|"+tn+"|"+nn+"|"+rn+")"),cn=new RegExp("^(?:"+je+"|"+He+")"),au=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Yt.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(cn.source+"\\s*$"),/^$/,!1]];function sn(u,e,t,n){let r=u.bMarks[e]+u.tShift[e],o=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4||!u.md.options.html||u.src.charCodeAt(r)!==60)return!1;let c=u.src.slice(r,o),i=0;for(;i<au.length&&!au[i][0].test(c);i++);if(i===au.length)return!1;if(n)return au[i][2];let s=e+1;if(!au[i][1].test(c)){for(;s<t&&!(u.sCount[s]<u.blkIndent);s++)if(r=u.bMarks[s]+u.tShift[s],o=u.eMarks[s],c=u.src.slice(r,o),au[i][1].test(c)){c.length!==0&&s++;break}}u.line=s;const a=u.push("html_block","",0);return a.map=[e,s],a.content=u.getLines(e,s,u.blkIndent,!0),!0}function an(u,e,t,n){let r=u.bMarks[e]+u.tShift[e],o=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4)return!1;let c=u.src.charCodeAt(r);if(c!==35||r>=o)return!1;let i=1;for(c=u.src.charCodeAt(++r);c===35&&r<o&&i<=6;)i++,c=u.src.charCodeAt(++r);if(i>6||r<o&&!A(c))return!1;if(n)return!0;o=u.skipSpacesBack(o,r);const s=u.skipCharsBack(o,35,r);s>r&&A(u.src.charCodeAt(s-1))&&(o=s),u.line=e+1;const a=u.push("heading_open","h"+String(i),1);a.markup="########".slice(0,i),a.map=[e,u.line];const f=u.push("inline","",0);f.content=u.src.slice(r,o).trim(),f.map=[e,u.line],f.children=[];const d=u.push("heading_close","h"+String(i),-1);return d.markup="########".slice(0,i),!0}function ln(u,e,t){const n=u.md.block.ruler.getRules("paragraph");if(u.sCount[e]-u.blkIndent>=4)return!1;const r=u.parentType;u.parentType="paragraph";let o=0,c,i=e+1;for(;i<t&&!u.isEmpty(i);i++){if(u.sCount[i]-u.blkIndent>3)continue;if(u.sCount[i]>=u.blkIndent){let p=u.bMarks[i]+u.tShift[i];const h=u.eMarks[i];if(p<h&&(c=u.src.charCodeAt(p),(c===45||c===61)&&(p=u.skipChars(p,c),p=u.skipSpaces(p),p>=h))){o=c===61?1:2;break}}if(u.sCount[i]<0)continue;let b=!1;for(let p=0,h=n.length;p<h;p++)if(n[p](u,i,t,!0)){b=!0;break}if(b)break}if(!o)return!1;const s=u.getLines(e,i,u.blkIndent,!1).trim();u.line=i+1;const a=u.push("heading_open","h"+String(o),1);a.markup=String.fromCharCode(c),a.map=[e,u.line];const f=u.push("inline","",0);f.content=s,f.map=[e,u.line-1],f.children=[];const d=u.push("heading_close","h"+String(o),-1);return d.markup=String.fromCharCode(c),u.parentType=r,!0}function fn(u,e,t){const n=u.md.block.ruler.getRules("paragraph"),r=u.parentType;let o=e+1;for(u.parentType="paragraph";o<t&&!u.isEmpty(o);o++){if(u.sCount[o]-u.blkIndent>3||u.sCount[o]<0)continue;let a=!1;for(let f=0,d=n.length;f<d;f++)if(n[f](u,o,t,!0)){a=!0;break}if(a)break}const c=u.getLines(e,o,u.blkIndent,!1).trim();u.line=o;const i=u.push("paragraph_open","p",1);i.map=[e,u.line];const s=u.push("inline","",0);return s.content=c,s.map=[e,u.line],s.children=[],u.push("paragraph_close","p",-1),u.parentType=r,!0}const Tu=[["table",Ht,["paragraph","reference"]],["code",Ut],["fence",Zt,["paragraph","reference","blockquote","list"]],["blockquote",Wt,["paragraph","reference","blockquote","list"]],["hr",Gt,["paragraph","reference","blockquote","list"]],["list",Jt,["paragraph","reference","blockquote"]],["reference",Qt],["html_block",sn,["paragraph","reference","blockquote"]],["heading",an,["paragraph","reference","blockquote"]],["lheading",ln],["paragraph",fn]];function Ru(){this.ruler=new T;for(let u=0;u<Tu.length;u++)this.ruler.push(Tu[u][0],Tu[u][1],{alt:(Tu[u][2]||[]).slice()})}Ru.prototype.tokenize=function(u,e,t){const n=this.ruler.getRules(""),r=n.length,o=u.md.options.maxNesting;let c=e,i=!1;for(;c<t&&(u.line=c=u.skipEmptyLines(c),!(c>=t||u.sCount[c]<u.blkIndent));){if(u.level>=o){u.line=t;break}const s=u.line;let a=!1;for(let f=0;f<r;f++)if(a=n[f](u,c,t,!1),a){if(s>=u.line)throw new Error("block rule didn't increment state.line");break}if(!a)throw new Error("none of the block rules matched");u.tight=!i,u.isEmpty(u.line-1)&&(i=!0),c=u.line,c<t&&u.isEmpty(c)&&(i=!0,c++,u.line=c)}},Ru.prototype.parse=function(u,e,t,n){if(!u)return;const r=new this.State(u,e,t,n);this.tokenize(r,r.line,r.lineMax)},Ru.prototype.State=$;function ku(u,e,t,n){this.src=u,this.env=t,this.md=e,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}ku.prototype.pushPending=function(){const u=new q("text","",0);return u.content=this.pending,u.level=this.pendingLevel,this.tokens.push(u),this.pending="",u},ku.prototype.push=function(u,e,t){this.pending&&this.pushPending();const n=new q(u,e,t);let r=null;return t<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,t>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n},ku.prototype.scanDelims=function(u,e){const t=this.posMax,n=this.src.charCodeAt(u),r=u>0?this.src.charCodeAt(u-1):32;let o=u;for(;o<t&&this.src.charCodeAt(o)===n;)o++;const c=o-u,i=o<t?this.src.charCodeAt(o):32,s=gu(r)||_u(String.fromCharCode(r)),a=gu(i)||_u(String.fromCharCode(i)),f=xu(r),d=xu(i),b=!d&&(!a||f||s),p=!f&&(!s||d||a);return{can_open:b&&(e||!p||s),can_close:p&&(e||!b||a),length:c}},ku.prototype.Token=q;function dn(u){switch(u){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function hn(u,e){let t=u.pos;for(;t<u.posMax&&!dn(u.src.charCodeAt(t));)t++;return t===u.pos?!1:(e||(u.pending+=u.src.slice(u.pos,t)),u.pos=t,!0)}const pn=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function bn(u,e){if(!u.md.options.linkify||u.linkLevel>0)return!1;const t=u.pos,n=u.posMax;if(t+3>n||u.src.charCodeAt(t)!==58||u.src.charCodeAt(t+1)!==47||u.src.charCodeAt(t+2)!==47)return!1;const r=u.pending.match(pn);if(!r)return!1;const o=r[1],c=u.md.linkify.matchAtStart(u.src.slice(t-o.length));if(!c)return!1;let i=c.url;if(i.length<=o.length)return!1;i=i.replace(/\*+$/,"");const s=u.md.normalizeLink(i);if(!u.md.validateLink(s))return!1;if(!e){u.pending=u.pending.slice(0,-o.length);const a=u.push("link_open","a",1);a.attrs=[["href",s]],a.markup="linkify",a.info="auto";const f=u.push("text","",0);f.content=u.md.normalizeLinkText(i);const d=u.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return u.pos+=i.length-o.length,!0}function mn(u,e){let t=u.pos;if(u.src.charCodeAt(t)!==10)return!1;const n=u.pending.length-1,r=u.posMax;if(!e)if(n>=0&&u.pending.charCodeAt(n)===32)if(n>=1&&u.pending.charCodeAt(n-1)===32){let o=n-1;for(;o>=1&&u.pending.charCodeAt(o-1)===32;)o--;u.pending=u.pending.slice(0,o),u.push("hardbreak","br",0)}else u.pending=u.pending.slice(0,-1),u.push("softbreak","br",0);else u.push("softbreak","br",0);for(t++;t<r&&A(u.src.charCodeAt(t));)t++;return u.pos=t,!0}const ne=[];for(let u=0;u<256;u++)ne.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u){ne[u.charCodeAt(0)]=1});function xn(u,e){let t=u.pos;const n=u.posMax;if(u.src.charCodeAt(t)!==92||(t++,t>=n))return!1;let r=u.src.charCodeAt(t);if(r===10){for(e||u.push("hardbreak","br",0),t++;t<n&&(r=u.src.charCodeAt(t),!!A(r));)t++;return u.pos=t,!0}let o=u.src[t];if(r>=55296&&r<=56319&&t+1<n){const i=u.src.charCodeAt(t+1);i>=56320&&i<=57343&&(o+=u.src[t+1],t++)}const c="\\"+o;if(!e){const i=u.push("text_special","",0);r<256&&ne[r]!==0?i.content=o:i.content=c,i.markup=c,i.info="escape"}return u.pos=t+1,!0}function _n(u,e){let t=u.pos;if(u.src.charCodeAt(t)!==96)return!1;const r=t;t++;const o=u.posMax;for(;t<o&&u.src.charCodeAt(t)===96;)t++;const c=u.src.slice(r,t),i=c.length;if(u.backticksScanned&&(u.backticks[i]||0)<=r)return e||(u.pending+=c),u.pos+=i,!0;let s=t,a;for(;(a=u.src.indexOf("`",s))!==-1;){for(s=a+1;s<o&&u.src.charCodeAt(s)===96;)s++;const f=s-a;if(f===i){if(!e){const d=u.push("code_inline","code",0);d.markup=c,d.content=u.src.slice(t,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return u.pos=s,!0}u.backticks[f]=a}return u.backticksScanned=!0,e||(u.pending+=c),u.pos+=i,!0}function gn(u,e){const t=u.pos,n=u.src.charCodeAt(t);if(e||n!==126)return!1;const r=u.scanDelims(u.pos,!0);let o=r.length;const c=String.fromCharCode(n);if(o<2)return!1;let i;o%2&&(i=u.push("text","",0),i.content=c,o--);for(let s=0;s<o;s+=2)i=u.push("text","",0),i.content=c+c,u.delimiters.push({marker:n,length:0,token:u.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return u.pos+=r.length,!0}function Ue(u,e){let t;const n=[],r=e.length;for(let o=0;o<r;o++){const c=e[o];if(c.marker!==126||c.end===-1)continue;const i=e[c.end];t=u.tokens[c.token],t.type="s_open",t.tag="s",t.nesting=1,t.markup="~~",t.content="",t=u.tokens[i.token],t.type="s_close",t.tag="s",t.nesting=-1,t.markup="~~",t.content="",u.tokens[i.token-1].type==="text"&&u.tokens[i.token-1].content==="~"&&n.push(i.token-1)}for(;n.length;){const o=n.pop();let c=o+1;for(;c<u.tokens.length&&u.tokens[c].type==="s_close";)c++;c--,o!==c&&(t=u.tokens[c],u.tokens[c]=u.tokens[o],u.tokens[o]=t)}}function kn(u){const e=u.tokens_meta,t=u.tokens_meta.length;Ue(u,u.delimiters);for(let n=0;n<t;n++)e[n]&&e[n].delimiters&&Ue(u,e[n].delimiters)}const Ze={tokenize:gn,postProcess:kn};function yn(u,e){const t=u.pos,n=u.src.charCodeAt(t);if(e||n!==95&&n!==42)return!1;const r=u.scanDelims(u.pos,n===42);for(let o=0;o<r.length;o++){const c=u.push("text","",0);c.content=String.fromCharCode(n),u.delimiters.push({marker:n,length:r.length,token:u.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return u.pos+=r.length,!0}function We(u,e){const t=e.length;for(let n=t-1;n>=0;n--){const r=e[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const o=e[r.end],c=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===o.token+1,i=String.fromCharCode(r.marker),s=u.tokens[r.token];s.type=c?"strong_open":"em_open",s.tag=c?"strong":"em",s.nesting=1,s.markup=c?i+i:i,s.content="";const a=u.tokens[o.token];a.type=c?"strong_close":"em_close",a.tag=c?"strong":"em",a.nesting=-1,a.markup=c?i+i:i,a.content="",c&&(u.tokens[e[n-1].token].content="",u.tokens[e[r.end+1].token].content="",n--)}}function Cn(u){const e=u.tokens_meta,t=u.tokens_meta.length;We(u,u.delimiters);for(let n=0;n<t;n++)e[n]&&e[n].delimiters&&We(u,e[n].delimiters)}const Ge={tokenize:yn,postProcess:Cn};function En(u,e){let t,n,r,o,c="",i="",s=u.pos,a=!0;if(u.src.charCodeAt(u.pos)!==91)return!1;const f=u.pos,d=u.posMax,b=u.pos+1,p=u.md.helpers.parseLinkLabel(u,u.pos,!0);if(p<0)return!1;let h=p+1;if(h<d&&u.src.charCodeAt(h)===40){for(a=!1,h++;h<d&&(t=u.src.charCodeAt(h),!(!A(t)&&t!==10));h++);if(h>=d)return!1;if(s=h,r=u.md.helpers.parseLinkDestination(u.src,h,u.posMax),r.ok){for(c=u.md.normalizeLink(r.str),u.md.validateLink(c)?h=r.pos:c="",s=h;h<d&&(t=u.src.charCodeAt(h),!(!A(t)&&t!==10));h++);if(r=u.md.helpers.parseLinkTitle(u.src,h,u.posMax),h<d&&s!==h&&r.ok)for(i=r.str,h=r.pos;h<d&&(t=u.src.charCodeAt(h),!(!A(t)&&t!==10));h++);}(h>=d||u.src.charCodeAt(h)!==41)&&(a=!0),h++}if(a){if(typeof u.env.references>"u")return!1;if(h<d&&u.src.charCodeAt(h)===91?(s=h+1,h=u.md.helpers.parseLinkLabel(u,h),h>=0?n=u.src.slice(s,h++):h=p+1):h=p+1,n||(n=u.src.slice(b,p)),o=u.env.references[Bu(n)],!o)return u.pos=f,!1;c=o.href,i=o.title}if(!e){u.pos=b,u.posMax=p;const m=u.push("link_open","a",1),_=[["href",c]];m.attrs=_,i&&_.push(["title",i]),u.linkLevel++,u.md.inline.tokenize(u),u.linkLevel--,u.push("link_close","a",-1)}return u.pos=h,u.posMax=d,!0}function Dn(u,e){let t,n,r,o,c,i,s,a,f="";const d=u.pos,b=u.posMax;if(u.src.charCodeAt(u.pos)!==33||u.src.charCodeAt(u.pos+1)!==91)return!1;const p=u.pos+2,h=u.md.helpers.parseLinkLabel(u,u.pos+1,!1);if(h<0)return!1;if(o=h+1,o<b&&u.src.charCodeAt(o)===40){for(o++;o<b&&(t=u.src.charCodeAt(o),!(!A(t)&&t!==10));o++);if(o>=b)return!1;for(a=o,i=u.md.helpers.parseLinkDestination(u.src,o,u.posMax),i.ok&&(f=u.md.normalizeLink(i.str),u.md.validateLink(f)?o=i.pos:f=""),a=o;o<b&&(t=u.src.charCodeAt(o),!(!A(t)&&t!==10));o++);if(i=u.md.helpers.parseLinkTitle(u.src,o,u.posMax),o<b&&a!==o&&i.ok)for(s=i.str,o=i.pos;o<b&&(t=u.src.charCodeAt(o),!(!A(t)&&t!==10));o++);else s="";if(o>=b||u.src.charCodeAt(o)!==41)return u.pos=d,!1;o++}else{if(typeof u.env.references>"u")return!1;if(o<b&&u.src.charCodeAt(o)===91?(a=o+1,o=u.md.helpers.parseLinkLabel(u,o),o>=0?r=u.src.slice(a,o++):o=h+1):o=h+1,r||(r=u.src.slice(p,h)),c=u.env.references[Bu(r)],!c)return u.pos=d,!1;f=c.href,s=c.title}if(!e){n=u.src.slice(p,h);const m=[];u.md.inline.parse(n,u.md,u.env,m);const _=u.push("image","img",0),C=[["src",f],["alt",""]];_.attrs=C,_.children=m,_.content=n,s&&C.push(["title",s])}return u.pos=o,u.posMax=b,!0}const An=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,wn=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Fn(u,e){let t=u.pos;if(u.src.charCodeAt(t)!==60)return!1;const n=u.pos,r=u.posMax;for(;;){if(++t>=r)return!1;const c=u.src.charCodeAt(t);if(c===60)return!1;if(c===62)break}const o=u.src.slice(n+1,t);if(wn.test(o)){const c=u.md.normalizeLink(o);if(!u.md.validateLink(c))return!1;if(!e){const i=u.push("link_open","a",1);i.attrs=[["href",c]],i.markup="autolink",i.info="auto";const s=u.push("text","",0);s.content=u.md.normalizeLinkText(o);const a=u.push("link_close","a",-1);a.markup="autolink",a.info="auto"}return u.pos+=o.length+2,!0}if(An.test(o)){const c=u.md.normalizeLink("mailto:"+o);if(!u.md.validateLink(c))return!1;if(!e){const i=u.push("link_open","a",1);i.attrs=[["href",c]],i.markup="autolink",i.info="auto";const s=u.push("text","",0);s.content=u.md.normalizeLinkText(o);const a=u.push("link_close","a",-1);a.markup="autolink",a.info="auto"}return u.pos+=o.length+2,!0}return!1}function Sn(u){return/^<a[>\s]/i.test(u)}function Bn(u){return/^<\/a\s*>/i.test(u)}function vn(u){const e=u|32;return e>=97&&e<=122}function Tn(u,e){if(!u.md.options.html)return!1;const t=u.posMax,n=u.pos;if(u.src.charCodeAt(n)!==60||n+2>=t)return!1;const r=u.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!vn(r))return!1;const o=u.src.slice(n).match(on);if(!o)return!1;if(!e){const c=u.push("html_inline","",0);c.content=o[0],Sn(c.content)&&u.linkLevel++,Bn(c.content)&&u.linkLevel--}return u.pos+=o[0].length,!0}const Rn=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,zn=/^&([a-z][a-z0-9]{1,31});/i;function qn(u,e){const t=u.pos,n=u.posMax;if(u.src.charCodeAt(t)!==38||t+1>=n)return!1;if(u.src.charCodeAt(t+1)===35){const o=u.src.slice(t).match(Rn);if(o){if(!e){const c=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),i=u.push("text_special","",0);i.content=Ku(c)?Su(c):Su(65533),i.markup=o[0],i.info="entity"}return u.pos+=o[0].length,!0}}else{const o=u.src.slice(t).match(zn);if(o){const c=ze(o[0]);if(c!==o[0]){if(!e){const i=u.push("text_special","",0);i.content=c,i.markup=o[0],i.info="entity"}return u.pos+=o[0].length,!0}}}return!1}function Xe(u){const e={},t=u.length;if(!t)return;let n=0,r=-2;const o=[];for(let c=0;c<t;c++){const i=u[c];if(o.push(0),(u[n].marker!==i.marker||r!==i.token-1)&&(n=c),r=i.token,i.length=i.length||0,!i.close)continue;e.hasOwnProperty(i.marker)||(e[i.marker]=[-1,-1,-1,-1,-1,-1]);const s=e[i.marker][(i.open?3:0)+i.length%3];let a=n-o[n]-1,f=a;for(;a>s;a-=o[a]+1){const d=u[a];if(d.marker===i.marker&&d.open&&d.end<0){let b=!1;if((d.close||i.open)&&(d.length+i.length)%3===0&&(d.length%3!==0||i.length%3!==0)&&(b=!0),!b){const p=a>0&&!u[a-1].open?o[a-1]+1:0;o[c]=c-a+p,o[a]=p,i.open=!1,d.end=c,d.close=!1,f=-1,r=-2;break}}}f!==-1&&(e[i.marker][(i.open?3:0)+(i.length||0)%3]=f)}}function Mn(u){const e=u.tokens_meta,t=u.tokens_meta.length;Xe(u.delimiters);for(let n=0;n<t;n++)e[n]&&e[n].delimiters&&Xe(e[n].delimiters)}function Ln(u){let e,t,n=0;const r=u.tokens,o=u.tokens.length;for(e=t=0;e<o;e++)r[e].nesting<0&&n--,r[e].level=n,r[e].nesting>0&&n++,r[e].type==="text"&&e+1<o&&r[e+1].type==="text"?r[e+1].content=r[e].content+r[e+1].content:(e!==t&&(r[t]=r[e]),t++);e!==t&&(r.length=t)}const re=[["text",hn],["linkify",bn],["newline",mn],["escape",xn],["backticks",_n],["strikethrough",Ze.tokenize],["emphasis",Ge.tokenize],["link",En],["image",Dn],["autolink",Fn],["html_inline",Tn],["entity",qn]],oe=[["balance_pairs",Mn],["strikethrough",Ze.postProcess],["emphasis",Ge.postProcess],["fragments_join",Ln]];function yu(){this.ruler=new T;for(let u=0;u<re.length;u++)this.ruler.push(re[u][0],re[u][1]);this.ruler2=new T;for(let u=0;u<oe.length;u++)this.ruler2.push(oe[u][0],oe[u][1])}yu.prototype.skipToken=function(u){const e=u.pos,t=this.ruler.getRules(""),n=t.length,r=u.md.options.maxNesting,o=u.cache;if(typeof o[e]<"u"){u.pos=o[e];return}let c=!1;if(u.level<r){for(let i=0;i<n;i++)if(u.level++,c=t[i](u,!0),u.level--,c){if(e>=u.pos)throw new Error("inline rule didn't increment state.pos");break}}else u.pos=u.posMax;c||u.pos++,o[e]=u.pos},yu.prototype.tokenize=function(u){const e=this.ruler.getRules(""),t=e.length,n=u.posMax,r=u.md.options.maxNesting;for(;u.pos<n;){const o=u.pos;let c=!1;if(u.level<r){for(let i=0;i<t;i++)if(c=e[i](u,!1),c){if(o>=u.pos)throw new Error("inline rule didn't increment state.pos");break}}if(c){if(u.pos>=n)break;continue}u.pending+=u.src[u.pos++]}u.pending&&u.pushPending()},yu.prototype.parse=function(u,e,t,n){const r=new this.State(u,e,t,n);this.tokenize(r);const o=this.ruler2.getRules(""),c=o.length;for(let i=0;i<c;i++)o[i](r)},yu.prototype.State=ku;function In(u){const e={};u=u||{},e.src_Any=Se.source,e.src_Cc=Be.source,e.src_Z=Te.source,e.src_P=Xu.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");const t="[><|]";return e.src_pseudo_letter="(?:(?!"+t+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+t+"|"+e.src_ZPCc+")(?!"+(u["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+t+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(u["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function ce(u){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){u[n]=t[n]})}),u}function zu(u){return Object.prototype.toString.call(u)}function On(u){return zu(u)==="[object String]"}function Pn(u){return zu(u)==="[object Object]"}function Nn(u){return zu(u)==="[object RegExp]"}function Je(u){return zu(u)==="[object Function]"}function $n(u){return u.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Qe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Vn(u){return Object.keys(u||{}).reduce(function(e,t){return e||Qe.hasOwnProperty(t)},!1)}const jn={"http:":{validate:function(u,e,t){const n=u.slice(e);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(n)?n.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(u,e,t){const n=u.slice(e);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(n)?e>=3&&u[e-3]===":"||e>=3&&u[e-3]==="/"?0:n.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(u,e,t){const n=u.slice(e);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(n)?n.match(t.re.mailto)[0].length:0}}},Hn="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Un="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Zn(u){u.__index__=-1,u.__text_cache__=""}function Wn(u){return function(e,t){const n=e.slice(t);return u.test(n)?n.match(u)[0].length:0}}function Ye(){return function(u,e){e.normalize(u)}}function qu(u){const e=u.re=In(u.__opts__),t=u.__tlds__.slice();u.onCompile(),u.__tlds_replaced__||t.push(Hn),t.push(e.src_xn),e.src_tlds=t.join("|");function n(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");const r=[];u.__compiled__={};function o(i,s){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+s)}Object.keys(u.__schemas__).forEach(function(i){const s=u.__schemas__[i];if(s===null)return;const a={validate:null,link:null};if(u.__compiled__[i]=a,Pn(s)){Nn(s.validate)?a.validate=Wn(s.validate):Je(s.validate)?a.validate=s.validate:o(i,s),Je(s.normalize)?a.normalize=s.normalize:s.normalize?o(i,s):a.normalize=Ye();return}if(On(s)){r.push(i);return}o(i,s)}),r.forEach(function(i){u.__compiled__[u.__schemas__[i]]&&(u.__compiled__[i].validate=u.__compiled__[u.__schemas__[i]].validate,u.__compiled__[i].normalize=u.__compiled__[u.__schemas__[i]].normalize)}),u.__compiled__[""]={validate:null,normalize:Ye()};const c=Object.keys(u.__compiled__).filter(function(i){return i.length>0&&u.__compiled__[i]}).map($n).join("|");u.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","i"),u.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","ig"),u.re.schema_at_start=RegExp("^"+u.re.schema_search.source,"i"),u.re.pretest=RegExp("("+u.re.schema_test.source+")|("+u.re.host_fuzzy_test.source+")|@","i"),Zn(u)}function Gn(u,e){const t=u.__index__,n=u.__last_index__,r=u.__text_cache__.slice(t,n);this.schema=u.__schema__.toLowerCase(),this.index=t+e,this.lastIndex=n+e,this.raw=r,this.text=r,this.url=r}function ie(u,e){const t=new Gn(u,e);return u.__compiled__[t.schema].normalize(t,u),t}function R(u,e){if(!(this instanceof R))return new R(u,e);e||Vn(u)&&(e=u,u={}),this.__opts__=ce({},Qe,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ce({},jn,u),this.__compiled__={},this.__tlds__=Un,this.__tlds_replaced__=!1,this.re={},qu(this)}R.prototype.add=function(e,t){return this.__schemas__[e]=t,qu(this),this},R.prototype.set=function(e){return this.__opts__=ce(this.__opts__,e),this},R.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,r,o,c,i,s,a,f;if(this.re.schema_test.test(e)){for(s=this.re.schema_search,s.lastIndex=0;(t=s.exec(e))!==null;)if(o=this.testSchemaAt(e,t[2],s.lastIndex),o){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(a=e.search(this.re.host_fuzzy_test),a>=0&&(this.__index__<0||a<this.__index__)&&(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=n.index+n[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(f=e.indexOf("@"),f>=0&&(r=e.match(this.re.email_fuzzy))!==null&&(c=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=i))),this.__index__>=0},R.prototype.pretest=function(e){return this.re.pretest.test(e)},R.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},R.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(ie(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(ie(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},R.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,ie(this,0)):null},R.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,r,o){return n!==o[r-1]}).reverse(),qu(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,qu(this),this)},R.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},R.prototype.onCompile=function(){};const lu=2147483647,V=36,se=1,Cu=26,Xn=38,Jn=700,Ke=72,u0=128,e0="-",Qn=/^xn--/,Yn=/[^\0-\x7F]/,Kn=/[\x2E\u3002\uFF0E\uFF61]/g,ur={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ae=V-se,j=Math.floor,le=String.fromCharCode;function Y(u){throw new RangeError(ur[u])}function er(u,e){const t=[];let n=u.length;for(;n--;)t[n]=e(u[n]);return t}function t0(u,e){const t=u.split("@");let n="";t.length>1&&(n=t[0]+"@",u=t[1]),u=u.replace(Kn,".");const r=u.split("."),o=er(r,e).join(".");return n+o}function n0(u){const e=[];let t=0;const n=u.length;for(;t<n;){const r=u.charCodeAt(t++);if(r>=55296&&r<=56319&&t<n){const o=u.charCodeAt(t++);(o&64512)==56320?e.push(((r&1023)<<10)+(o&1023)+65536):(e.push(r),t--)}else e.push(r)}return e}const tr=u=>String.fromCodePoint(...u),nr=function(u){return u>=48&&u<58?26+(u-48):u>=65&&u<91?u-65:u>=97&&u<123?u-97:V},r0=function(u,e){return u+22+75*(u<26)-((e!=0)<<5)},o0=function(u,e,t){let n=0;for(u=t?j(u/Jn):u>>1,u+=j(u/e);u>ae*Cu>>1;n+=V)u=j(u/ae);return j(n+(ae+1)*u/(u+Xn))},c0=function(u){const e=[],t=u.length;let n=0,r=u0,o=Ke,c=u.lastIndexOf(e0);c<0&&(c=0);for(let i=0;i<c;++i)u.charCodeAt(i)>=128&&Y("not-basic"),e.push(u.charCodeAt(i));for(let i=c>0?c+1:0;i<t;){const s=n;for(let f=1,d=V;;d+=V){i>=t&&Y("invalid-input");const b=nr(u.charCodeAt(i++));b>=V&&Y("invalid-input"),b>j((lu-n)/f)&&Y("overflow"),n+=b*f;const p=d<=o?se:d>=o+Cu?Cu:d-o;if(b<p)break;const h=V-p;f>j(lu/h)&&Y("overflow"),f*=h}const a=e.length+1;o=o0(n-s,a,s==0),j(n/a)>lu-r&&Y("overflow"),r+=j(n/a),n%=a,e.splice(n++,0,r)}return String.fromCodePoint(...e)},i0=function(u){const e=[];u=n0(u);const t=u.length;let n=u0,r=0,o=Ke;for(const s of u)s<128&&e.push(le(s));const c=e.length;let i=c;for(c&&e.push(e0);i<t;){let s=lu;for(const f of u)f>=n&&f<s&&(s=f);const a=i+1;s-n>j((lu-r)/a)&&Y("overflow"),r+=(s-n)*a,n=s;for(const f of u)if(f<n&&++r>lu&&Y("overflow"),f===n){let d=r;for(let b=V;;b+=V){const p=b<=o?se:b>=o+Cu?Cu:b-o;if(d<p)break;const h=d-p,m=V-p;e.push(le(r0(p+h%m,0))),d=j(h/m)}e.push(le(r0(d,0))),o=o0(r,a,i===c),r=0,++i}++r,++n}return e.join("")},s0={version:"2.3.1",ucs2:{decode:n0,encode:tr},decode:c0,encode:i0,toASCII:function(u){return t0(u,function(e){return Yn.test(e)?"xn--"+i0(e):e})},toUnicode:function(u){return t0(u,function(e){return Qn.test(e)?c0(e.slice(4).toLowerCase()):e})}},rr={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},or=/^(vbscript|javascript|file|data):/,cr=/^data:image\/(gif|png|jpeg|webp);/;function ir(u){const e=u.trim().toLowerCase();return or.test(e)?cr.test(e):!0}const a0=["http:","https:","mailto:"];function sr(u){const e=Gu(u,!0);if(e.hostname&&(!e.protocol||a0.indexOf(e.protocol)>=0))try{e.hostname=s0.toASCII(e.hostname)}catch{}return mu(Wu(e))}function ar(u){const e=Gu(u,!0);if(e.hostname&&(!e.protocol||a0.indexOf(e.protocol)>=0))try{e.hostname=s0.toUnicode(e.hostname)}catch{}return cu(Wu(e),cu.defaultChars+"%")}function M(u,e){if(!(this instanceof M))return new M(u,e);e||Yu(u)||(e=u||{},u="default"),this.inline=new yu,this.block=new Ru,this.core=new ee,this.renderer=new su,this.linkify=new R,this.validateLink=ir,this.normalizeLink=sr,this.normalizeLinkText=ar,this.utils=gt,this.helpers=Fu({},Et),this.options={},this.configure(u),e&&this.set(e)}M.prototype.set=function(u){return Fu(this.options,u),this},M.prototype.configure=function(u){const e=this;if(Yu(u)){const t=u;if(u=rr[t],!u)throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!u)throw new Error("Wrong `markdown-it` preset, can't be empty");return u.options&&e.set(u.options),u.components&&Object.keys(u.components).forEach(function(t){u.components[t].rules&&e[t].ruler.enableOnly(u.components[t].rules),u.components[t].rules2&&e[t].ruler2.enableOnly(u.components[t].rules2)}),this},M.prototype.enable=function(u,e){let t=[];Array.isArray(u)||(u=[u]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.enable(u,!0))},this),t=t.concat(this.inline.ruler2.enable(u,!0));const n=u.filter(function(r){return t.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},M.prototype.disable=function(u,e){let t=[];Array.isArray(u)||(u=[u]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.disable(u,!0))},this),t=t.concat(this.inline.ruler2.disable(u,!0));const n=u.filter(function(r){return t.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},M.prototype.use=function(u){const e=[this].concat(Array.prototype.slice.call(arguments,1));return u.apply(u,e),this},M.prototype.parse=function(u,e){if(typeof u!="string")throw new Error("Input data should be a String");const t=new this.core.State(u,this,e);return this.core.process(t),t.tokens},M.prototype.render=function(u,e){return e=e||{},this.renderer.render(this.parse(u,e),this.options,e)},M.prototype.parseInline=function(u,e){const t=new this.core.State(u,this,e);return t.inlineMode=!0,this.core.process(t),t.tokens},M.prototype.renderInline=function(u,e){return e=e||{},this.renderer.render(this.parseInline(u,e),this.options,e)};function lr(u,e){const t=new M({html:!0,typographer:!0});return t.use(z0),e&&e.forEach(n=>t.use(n)),t.parse(u,"")}const fe=(u,e)=>{const t=u.__vccOpts||u;for(const[n,r]of e)t[n]=r;return t},fr={},dr={class:"sq-icon","data-icon":"caret-up"};function hr(u,e){return l.openBlock(),l.createElementBlock("span",dr,e[0]||(e[0]=[l.createElementVNode("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[l.createElementVNode("path",{d:"M34.29,28.09l-9.59-9.59c-.2-.2-.45-.29-.71-.29s-.51.1-.71.29l-9.59,9.59c-.63.63-.18,1.71.71,1.71h19.17c.22,0,.42-.07.57-.18.47-.33.6-1.06.13-1.53Z"})],-1)]))}const pr=fe(fr,[["render",hr]]),br={},mr={class:"sq-icon","data-icon":"jump-to"};function xr(u,e){return l.openBlock(),l.createElementBlock("span",mr,e[0]||(e[0]=[l.createElementVNode("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[l.createElementVNode("path",{d:"M42,22c-1.1,0-2,.9-2,2v14c0,1.1-.9,2-2,2H10c-1.1,0-2-.9-2-2V10c0-1.1.9-2,2-2h14c1.1,0,2-.9,2-2s-.9-2-2-2h-14c-3.31,0-6,2.69-6,6v28c0,3.31,2.69,6,6,6h28c3.31,0,6-2.69,6-6v-14c0-1.1-.9-2-2-2Z"}),l.createElementVNode("path",{d:"M43.96,5.61c-.01-.06-.03-.11-.05-.17-.02-.07-.04-.14-.06-.2-.03-.07-.07-.13-.1-.19-.03-.05-.05-.1-.08-.15-.15-.22-.34-.41-.55-.55-.05-.03-.1-.05-.15-.08-.06-.04-.13-.07-.2-.1-.07-.03-.13-.04-.2-.06-.06-.02-.11-.04-.17-.05-.13-.03-.26-.04-.39-.04h-10c-1.1,0-2,.9-2,2s.9,2,2,2h5.17l-14.59,14.59c-.78.78-.78,2.05,0,2.83.39.39.9.59,1.41.59s1.02-.2,1.41-.59l14.59-14.59v5.17c0,1.1.9,2,2,2s2-.9,2-2V6c0-.13-.01-.26-.04-.39Z"})],-1)]))}const _r=fe(br,[["render",xr]]),gr={},kr={class:"sq-icon is-loading","data-icon":"loading"};function yr(u,e){return l.openBlock(),l.createElementBlock("span",kr,e[0]||(e[0]=[l.createElementVNode("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[l.createElementVNode("circle",{cx:"24",cy:"24",r:"20"})],-1)]))}const Cr=fe(gr,[["render",yr]]);function Er(u){const e=f0(u)??[];return l.h("article",{class:"sq-article"},l0(e))}function l0(u){if(u)return u.map(e=>typeof e=="string"?e:l.h(e.tag,e.attrs,l0(e.children)))}function f0(u){const e=[],t={children:[]};let n=t;return u.forEach(r=>{var d,b,p,h,m,_,C,x,g,k,y;const{type:o,children:c,content:i,attrs:s,tag:a,hidden:f}=r;switch(o){case"heading_open":case"paragraph_open":case"bullet_list_open":case"ordered_list_open":case"list_item_open":case"table_open":case"thead_open":case"tbody_open":case"tr_open":case"th_open":case"td_open":case"blockquote_open":case"strong_open":case"em_open":case"s_open":case"link_open":{if(f)break;const D={tag:a,children:[],attrs:s?Object.fromEntries(s):{}};if(o==="link_open"){const E=r.attrGet("href")??"",w=document.location.origin;E!=null&&E.startsWith("http")&&!E.includes(w)&&(D.attrs.target="_blank",D.attrs.rel="noopener noreferrer",D.attrs.dataOuter="",(d=D.children)==null||d.push({tag:_r}))}if(o==="table_open"){const E={tag:"div",children:[],attrs:{class:"sq-article-table"}};(b=n.children)==null||b.push(E),e.push(n),n=E}(p=n.children)==null||p.push(D),e.push(n),n=D;break}case"heading_close":case"paragraph_close":case"bullet_list_close":case"ordered_list_close":case"list_item_close":case"table_close":case"thead_close":case"tbody_close":case"tr_close":case"th_close":case"td_close":case"blockquote_close":case"strong_close":case"em_close":case"s_close":case"link_close":{if(f)break;n=e.pop();break}case"code_inline":{(h=n.children)==null||h.push({tag:"code",children:[i],attrs:s?Object.fromEntries(s):{}});break}case"inline":{if(c){const D=f0(c);(m=n.children)==null||m.push(...D??[])}else(_=n.children)==null||_.push(i);break}case"text":{(C=n.children)==null||C.push(i);break}case"image":{(x=n.children)==null||x.push({tag:a,children:[],attrs:s?Object.fromEntries(s):{}});break}case"hr":{(g=n.children)==null||g.push({tag:a});break}case"input":{(k=n.children)==null||k.push({tag:a,children:[],attrs:s?Object.fromEntries(s):{}});break}case"html_inline":{if(i.startsWith("</"))n=e.pop();else{const D=i.replace("<","").replace(">",""),E={tag:D,children:[]};D==="blur"&&(E.tag="span",E.attrs={"data-blur":""}),(y=n.children)==null||y.push(E),e.push(n),n=E}break}}}),t.children}const Dr=l.defineComponent({props:{text:{type:String,required:!0},md:{type:Boolean,default:!0},plugins:{type:Object}},setup(u){return()=>{if(!u.md)return l.h("article",{class:"sq-article",innerHTML:u.text});const e=lr(u.text,u.plugins);return Er(e)}}}),Ar={key:0,viewBox:"0 0 100 100",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},wr={key:1,class:"sq-progress-label"},Fr=["textContent"],d0=l.defineComponent({__name:"progress",props:{value:{},min:{default:0},max:{default:100},stroke:{default:4},color:{},type:{default:"primary"},theme:{default:"line"},label:{type:Boolean,default:!0}},setup(u){const e=new ResizeObserver(a),t=u,n=l.ref(100),r=l.shallowRef(null),o=l.computed(()=>{const f=[];return t.color||f.push(`is-${t.type}`),t.theme!=="line"&&f.push(`is-${t.theme}`),f}),c=l.computed(()=>{const f=t.max-t.min;return(t.value-t.min)*100/f}),i=l.computed(()=>`${Math.round(c.value*10)/10} %`),s=l.computed(()=>{const f={};if(f["--progress-stroke"]=`${t.stroke}px`,t.theme==="line")f["--progress-value"]=`${c.value}%`;else if(r.value){const d=100/n.value*t.stroke,b=(100-d)/2,p=Math.PI*b*2,h=c.value/100;f["--progress-circle-r"]=`${b}px`,f["--progress-circle-l"]=`${p}px`,f["--progress-circle-stroke"]=`${d}px`,f["--progress-value"]=`${p*h}`,c.value===0&&(f["--progress-circle-opaciry"]="0")}if(t.color){const b=typeof t.color=="string"?t.color:t.color(c.value);f["--progress-color"]=b}return f});l.onMounted(()=>{e.observe(r.value)}),l.onBeforeUnmount(()=>{e.disconnect()});function a(){n.value=r.value.getBoundingClientRect().width}return(f,d)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["sq-progress",o.value]),ref_key:"progressRef",ref:r,style:l.normalizeStyle(s.value)},[t.theme==="circle"?(l.openBlock(),l.createElementBlock("svg",Ar,[...d[0]||(d[0]=[l.createElementVNode("circle",{class:"sq-progress-track",cx:"50",cy:"50"},null,-1),l.createElementVNode("circle",{class:"sq-progress-path",cx:"50",cy:"50"},null,-1)])])):l.createCommentVNode("",!0),t.theme==="circle"&&t.label?(l.openBlock(),l.createElementBlock("div",wr,[l.renderSlot(f.$slots,"default",{percentage:c.value},()=>[l.createElementVNode("span",{textContent:l.toDisplayString(i.value)},null,8,Fr)])])):l.createCommentVNode("",!0)],6))}}),Sr={class:"sq-backtop"},Br=l.defineComponent({__name:"backtop",props:{progress:{type:Boolean,default:!0},icon:{default:pr},transition:{default:"sq-rotate-in-left"},visibilityHeight:{default:100},progressProps:{}},setup(u){const e=new ResizeObserver(i),t=u,n=l.ref(100),r=l.ref(0),o=l.computed(()=>r.value>t.visibilityHeight);l.onMounted(()=>{i(),r.value=window.scrollY,window.addEventListener("scroll",c),e.observe(document.body)}),l.onBeforeUnmount(()=>{window.removeEventListener("scroll",c),e.disconnect});function c(){r.value=window.scrollY}function i(){const a=document.body.scrollHeight,f=window.innerHeight;n.value=a-f}function s(){window.scrollTo({top:0,behavior:"smooth"})}return(a,f)=>(l.openBlock(),l.createBlock(l.Transition,{name:t.transition},{default:l.withCtx(()=>{var d,b,p;return[l.withDirectives(l.createElementVNode("div",Sr,[l.createElementVNode("div",{class:"sq-backtop-wrap",onClick:s},[t.progress?(l.openBlock(),l.createBlock(l.unref(d0),{key:0,theme:"circle",label:!1,value:r.value,max:n.value,type:(d=t.progressProps)==null?void 0:d.type,stroke:(b=t.progressProps)==null?void 0:b.stroke,color:(p=t.progressProps)==null?void 0:p.color},null,8,["value","max","type","stroke","color"])):l.createCommentVNode("",!0),l.renderSlot(a.$slots,"default",{},()=>[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(t.icon)))])])],512),[[l.vShow,o.value]])]}),_:3},8,["name"]))}}),h0=Symbol("button-group-context-keys"),vr=["disabled"],Tr=l.defineComponent({__name:"button",props:{type:{},round:{type:Boolean},text:{type:Boolean},icon:{},loading:{type:Boolean},disabled:{type:Boolean},size:{default:"md"}},setup(u){const e=l.inject(h0,void 0),t=u,n=l.computed(()=>{const a=[],f=c.value,d=i.value,b=s.value;return f!=="md"&&a.push(`sq-button--${f}`),d&&a.push(`is-${d}`),b&&a.push("is-round"),!(e!=null&&e.value)&&t.text&&a.push("is-text"),a}),r=l.computed(()=>t.loading?Cr:t.icon),o=l.computed(()=>t.loading||t.disabled),c=l.computed(()=>{var a;return((a=e==null?void 0:e.value)==null?void 0:a.size)??t.size}),i=l.computed(()=>{var a;return((a=e==null?void 0:e.value)==null?void 0:a.type)??t.type}),s=l.computed(()=>{var a;return((a=e==null?void 0:e.value)==null?void 0:a.round)??t.round});return(a,f)=>(l.openBlock(),l.createElementBlock("button",{class:l.normalizeClass(["sq-button",n.value]),disabled:o.value},[l.createVNode(l.unref(Hu),{size:t.size},{default:l.withCtx(()=>[r.value?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(r.value),{key:0})):l.createCommentVNode("",!0),l.renderSlot(a.$slots,"default")]),_:3},8,["size"])],10,vr))}}),Rr={class:"sq-button-group"},zr=l.defineComponent({__name:"button-group",props:{size:{default:"md"},type:{},round:{type:Boolean}},setup(u){const e=u;return l.provide(h0,l.ref({size:l.toRef(e,"size"),type:l.toRef(e,"type"),round:l.toRef(e,"round")})),(t,n)=>(l.openBlock(),l.createElementBlock("div",Rr,[l.renderSlot(t.$slots,"default")]))}}),qr={class:"sq-card"},Mr={key:0,class:"sq-card-header"},Lr=["textContent"],Ir={key:1,class:"sq-card-footer"},Or=l.defineComponent({__name:"card",props:{title:{},decorative:{type:Boolean,default:!1}},setup(u){const e=l.useSlots(),t=u;return(n,r)=>(l.openBlock(),l.createElementBlock("section",qr,[t.title||l.unref(e).title?(l.openBlock(),l.createElementBlock("div",Mr,[l.createElementVNode("h2",{class:l.normalizeClass({"has-decorative":t.decorative}),textContent:l.toDisplayString(t.title)},null,10,Lr),l.renderSlot(n.$slots,"title")])):l.createCommentVNode("",!0),l.renderSlot(n.$slots,"default"),l.unref(e).footer?(l.openBlock(),l.createElementBlock("div",Ir,[l.renderSlot(n.$slots,"footer")])):l.createCommentVNode("",!0)]))}}),Pr={key:0,class:"sq-input-prefix"},Nr=["disabled","readonly"],$r={key:1,class:"sq-input-suffix"},Vr=l.defineComponent({__name:"input",props:l.mergeModels({status:{},round:{type:Boolean},showStatusIcon:{type:Boolean},prefixIcon:{},suffixIcon:{},disabled:{type:Boolean},readonly:{type:Boolean},size:{default:"md"}},{value:{type:String,default:""},valueModifiers:{}}),emits:l.mergeModels(["focus","blur","input","change"],["update:value"]),setup(u,{expose:e,emit:t}){const n=l.useSlots(),r=t,o=u,c=l.useModel(u,"value"),i=l.shallowRef(null),s=l.computed(()=>{const h=[];return o.size!=="md"&&h.push(`sq-input--${o.size}`),o.status&&h.push(`is-${o.status}`),o.round&&h.push("is-round"),o.disabled&&h.push("is-disabled"),h}),a=l.computed(()=>n.prefix||o.prefixIcon),f=l.computed(()=>{const h=o.showStatusIcon&&o.status;return n.suffix||h||o.suffixIcon}),d=l.computed(()=>o.suffixIcon);function b(){var h;(h=i.value)==null||h.focus()}function p(){var h;(h=i.value)==null||h.blur()}return e({focus:b,blur:p}),(h,m)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["sq-input",s.value])},[a.value?(l.openBlock(),l.createElementBlock("span",Pr,[l.renderSlot(h.$slots,"prefix",{},()=>[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(o.prefixIcon)))])])):l.createCommentVNode("",!0),l.withDirectives(l.createElementVNode("input",{"onUpdate:modelValue":m[0]||(m[0]=_=>c.value=_),class:"sq-input-inner",disabled:o.disabled,readonly:o.readonly,ref_key:"inputRef",ref:i,onFocus:m[1]||(m[1]=_=>r("focus",_)),onBlur:m[2]||(m[2]=_=>r("blur",_)),onInput:m[3]||(m[3]=_=>r("input",_)),onChange:m[4]||(m[4]=_=>r("change",_))},null,40,Nr),[[l.vModelText,c.value]]),f.value?(l.openBlock(),l.createElementBlock("span",$r,[l.renderSlot(h.$slots,"suffix",{},()=>[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(d.value)))])])):l.createCommentVNode("",!0)],2))}}),de=Math.min,fu=Math.max,Mu=Math.round,Lu=Math.floor,H=u=>({x:u,y:u}),jr={left:"right",right:"left",bottom:"top",top:"bottom"},Hr={start:"end",end:"start"};function he(u,e){return typeof u=="function"?u(e):u}function du(u){return u.split("-")[0]}function Iu(u){return u.split("-")[1]}function Ur(u){return u==="x"?"y":"x"}function p0(u){return u==="y"?"height":"width"}const Zr=new Set(["top","bottom"]);function eu(u){return Zr.has(du(u))?"y":"x"}function b0(u){return Ur(eu(u))}function Wr(u,e,t){t===void 0&&(t=!1);const n=Iu(u),r=b0(u),o=p0(r);let c=r==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(c=Ou(c)),[c,Ou(c)]}function Gr(u){const e=Ou(u);return[pe(u),e,pe(e)]}function pe(u){return u.replace(/start|end/g,e=>Hr[e])}const m0=["left","right"],x0=["right","left"],Xr=["top","bottom"],Jr=["bottom","top"];function Qr(u,e,t){switch(u){case"top":case"bottom":return t?e?x0:m0:e?m0:x0;case"left":case"right":return e?Xr:Jr;default:return[]}}function Yr(u,e,t,n){const r=Iu(u);let o=Qr(du(u),t==="start",n);return r&&(o=o.map(c=>c+"-"+r),e&&(o=o.concat(o.map(pe)))),o}function Ou(u){return u.replace(/left|right|bottom|top/g,e=>jr[e])}function Kr(u){return{top:0,right:0,bottom:0,left:0,...u}}function uo(u){return typeof u!="number"?Kr(u):{top:u,right:u,bottom:u,left:u}}function Pu(u){const{x:e,y:t,width:n,height:r}=u;return{width:n,height:r,top:t,left:e,right:e+n,bottom:t+r,x:e,y:t}}function _0(u,e,t){let{reference:n,floating:r}=u;const o=eu(e),c=b0(e),i=p0(c),s=du(e),a=o==="y",f=n.x+n.width/2-r.width/2,d=n.y+n.height/2-r.height/2,b=n[i]/2-r[i]/2;let p;switch(s){case"top":p={x:f,y:n.y-r.height};break;case"bottom":p={x:f,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-r.width,y:d};break;default:p={x:n.x,y:n.y}}switch(Iu(e)){case"start":p[c]-=b*(t&&a?-1:1);break;case"end":p[c]+=b*(t&&a?-1:1);break}return p}const eo=async(u,e,t)=>{const{placement:n="bottom",strategy:r="absolute",middleware:o=[],platform:c}=t,i=o.filter(Boolean),s=await(c.isRTL==null?void 0:c.isRTL(e));let a=await c.getElementRects({reference:u,floating:e,strategy:r}),{x:f,y:d}=_0(a,n,s),b=n,p={},h=0;for(let m=0;m<i.length;m++){const{name:_,fn:C}=i[m],{x,y:g,data:k,reset:y}=await C({x:f,y:d,initialPlacement:n,placement:b,strategy:r,middlewareData:p,rects:a,platform:c,elements:{reference:u,floating:e}});f=x??f,d=g??d,p={...p,[_]:{...p[_],...k}},y&&h<=50&&(h++,typeof y=="object"&&(y.placement&&(b=y.placement),y.rects&&(a=y.rects===!0?await c.getElementRects({reference:u,floating:e,strategy:r}):y.rects),{x:f,y:d}=_0(a,b,s)),m=-1)}return{x:f,y:d,placement:b,strategy:r,middlewareData:p}};async function to(u,e){var t;e===void 0&&(e={});const{x:n,y:r,platform:o,rects:c,elements:i,strategy:s}=u,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:b=!1,padding:p=0}=he(e,u),h=uo(p),_=i[b?d==="floating"?"reference":"floating":d],C=Pu(await o.getClippingRect({element:(t=await(o.isElement==null?void 0:o.isElement(_)))==null||t?_:_.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(i.floating)),boundary:a,rootBoundary:f,strategy:s})),x=d==="floating"?{x:n,y:r,width:c.floating.width,height:c.floating.height}:c.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(i.floating)),k=await(o.isElement==null?void 0:o.isElement(g))?await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1}:{x:1,y:1},y=Pu(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:x,offsetParent:g,strategy:s}):x);return{top:(C.top-y.top+h.top)/k.y,bottom:(y.bottom-C.bottom+h.bottom)/k.y,left:(C.left-y.left+h.left)/k.x,right:(y.right-C.right+h.right)/k.x}}const no=function(u){return u===void 0&&(u={}),{name:"flip",options:u,async fn(e){var t,n;const{placement:r,middlewareData:o,rects:c,initialPlacement:i,platform:s,elements:a}=e,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:b,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,..._}=he(u,e);if((t=o.arrow)!=null&&t.alignmentOffset)return{};const C=du(r),x=eu(i),g=du(i)===i,k=await(s.isRTL==null?void 0:s.isRTL(a.floating)),y=b||(g||!m?[Ou(i)]:Gr(i)),D=h!=="none";!b&&D&&y.push(...Yr(i,m,h,k));const E=[i,...y],w=await to(e,_),v=[];let L=((n=o.flip)==null?void 0:n.overflows)||[];if(f&&v.push(w[C]),d){const W=Wr(r,c,k);v.push(w[W[0]],w[W[1]])}if(L=[...L,{placement:r,overflows:v}],!v.every(W=>W<=0)){var bu,Uu;const W=(((bu=o.flip)==null?void 0:bu.index)||0)+1,G=E[W];if(G&&(!(d==="alignment"?x!==eu(G):!1)||L.every(P=>eu(P.placement)===x?P.overflows[0]>0:!0)))return{data:{index:W,overflows:L},reset:{placement:G}};let ru=(Uu=L.filter(ou=>ou.overflows[0]<=0).sort((ou,P)=>ou.overflows[1]-P.overflows[1])[0])==null?void 0:Uu.placement;if(!ru)switch(p){case"bestFit":{var Zu;const ou=(Zu=L.filter(P=>{if(D){const uu=eu(P.placement);return uu===x||uu==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(uu=>uu>0).reduce((uu,Xo)=>uu+Xo,0)]).sort((P,uu)=>P[1]-uu[1])[0])==null?void 0:Zu[0];ou&&(ru=ou);break}case"initialPlacement":ru=i;break}if(r!==ru)return{reset:{placement:ru}}}return{}}}},ro=new Set(["left","top"]);async function oo(u,e){const{placement:t,platform:n,elements:r}=u,o=await(n.isRTL==null?void 0:n.isRTL(r.floating)),c=du(t),i=Iu(t),s=eu(t)==="y",a=ro.has(c)?-1:1,f=o&&s?-1:1,d=he(e,u);let{mainAxis:b,crossAxis:p,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return i&&typeof h=="number"&&(p=i==="end"?h*-1:h),s?{x:p*f,y:b*a}:{x:b*a,y:p*f}}const co=function(u){return u===void 0&&(u=0),{name:"offset",options:u,async fn(e){var t,n;const{x:r,y:o,placement:c,middlewareData:i}=e,s=await oo(e,u);return c===((t=i.offset)==null?void 0:t.placement)&&(n=i.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:o+s.y,data:{...s,placement:c}}}}};function Nu(){return typeof window<"u"}function tu(u){return be(u)?(u.nodeName||"").toLowerCase():"#document"}function z(u){var e;return(u==null||(e=u.ownerDocument)==null?void 0:e.defaultView)||window}function U(u){var e;return(e=(be(u)?u.ownerDocument:u.document)||window.document)==null?void 0:e.documentElement}function be(u){return Nu()?u instanceof Node||u instanceof z(u).Node:!1}function I(u){return Nu()?u instanceof Element||u instanceof z(u).Element:!1}function Z(u){return Nu()?u instanceof HTMLElement||u instanceof z(u).HTMLElement:!1}function g0(u){return!Nu()||typeof ShadowRoot>"u"?!1:u instanceof ShadowRoot||u instanceof z(u).ShadowRoot}const io=new Set(["inline","contents"]);function Eu(u){const{overflow:e,overflowX:t,overflowY:n,display:r}=O(u);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!io.has(r)}const so=new Set(["table","td","th"]);function ao(u){return so.has(tu(u))}const lo=[":popover-open",":modal"];function $u(u){return lo.some(e=>{try{return u.matches(e)}catch{return!1}})}const fo=["transform","translate","scale","rotate","perspective"],ho=["transform","translate","scale","rotate","perspective","filter"],po=["paint","layout","strict","content"];function me(u){const e=xe(),t=I(u)?O(u):u;return fo.some(n=>t[n]?t[n]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||ho.some(n=>(t.willChange||"").includes(n))||po.some(n=>(t.contain||"").includes(n))}function bo(u){let e=K(u);for(;Z(e)&&!hu(e);){if(me(e))return e;if($u(e))return null;e=K(e)}return null}function xe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const mo=new Set(["html","body","#document"]);function hu(u){return mo.has(tu(u))}function O(u){return z(u).getComputedStyle(u)}function Vu(u){return I(u)?{scrollLeft:u.scrollLeft,scrollTop:u.scrollTop}:{scrollLeft:u.scrollX,scrollTop:u.scrollY}}function K(u){if(tu(u)==="html")return u;const e=u.assignedSlot||u.parentNode||g0(u)&&u.host||U(u);return g0(e)?e.host:e}function k0(u){const e=K(u);return hu(e)?u.ownerDocument?u.ownerDocument.body:u.body:Z(e)&&Eu(e)?e:k0(e)}function Du(u,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);const r=k0(u),o=r===((n=u.ownerDocument)==null?void 0:n.body),c=z(r);if(o){const i=_e(c);return e.concat(c,c.visualViewport||[],Eu(r)?r:[],i&&t?Du(i):[])}return e.concat(r,Du(r,[],t))}function _e(u){return u.parent&&Object.getPrototypeOf(u.parent)?u.frameElement:null}function y0(u){const e=O(u);let t=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const r=Z(u),o=r?u.offsetWidth:t,c=r?u.offsetHeight:n,i=Mu(t)!==o||Mu(n)!==c;return i&&(t=o,n=c),{width:t,height:n,$:i}}function ge(u){return I(u)?u:u.contextElement}function pu(u){const e=ge(u);if(!Z(e))return H(1);const t=e.getBoundingClientRect(),{width:n,height:r,$:o}=y0(e);let c=(o?Mu(t.width):t.width)/n,i=(o?Mu(t.height):t.height)/r;return(!c||!Number.isFinite(c))&&(c=1),(!i||!Number.isFinite(i))&&(i=1),{x:c,y:i}}const xo=H(0);function C0(u){const e=z(u);return!xe()||!e.visualViewport?xo:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function _o(u,e,t){return e===void 0&&(e=!1),!t||e&&t!==z(u)?!1:e}function nu(u,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);const r=u.getBoundingClientRect(),o=ge(u);let c=H(1);e&&(n?I(n)&&(c=pu(n)):c=pu(u));const i=_o(o,t,n)?C0(o):H(0);let s=(r.left+i.x)/c.x,a=(r.top+i.y)/c.y,f=r.width/c.x,d=r.height/c.y;if(o){const b=z(o),p=n&&I(n)?z(n):n;let h=b,m=_e(h);for(;m&&n&&p!==h;){const _=pu(m),C=m.getBoundingClientRect(),x=O(m),g=C.left+(m.clientLeft+parseFloat(x.paddingLeft))*_.x,k=C.top+(m.clientTop+parseFloat(x.paddingTop))*_.y;s*=_.x,a*=_.y,f*=_.x,d*=_.y,s+=g,a+=k,h=z(m),m=_e(h)}}return Pu({width:f,height:d,x:s,y:a})}function ju(u,e){const t=Vu(u).scrollLeft;return e?e.left+t:nu(U(u)).left+t}function E0(u,e){const t=u.getBoundingClientRect(),n=t.left+e.scrollLeft-ju(u,t),r=t.top+e.scrollTop;return{x:n,y:r}}function go(u){let{elements:e,rect:t,offsetParent:n,strategy:r}=u;const o=r==="fixed",c=U(n),i=e?$u(e.floating):!1;if(n===c||i&&o)return t;let s={scrollLeft:0,scrollTop:0},a=H(1);const f=H(0),d=Z(n);if((d||!d&&!o)&&((tu(n)!=="body"||Eu(c))&&(s=Vu(n)),Z(n))){const p=nu(n);a=pu(n),f.x=p.x+n.clientLeft,f.y=p.y+n.clientTop}const b=c&&!d&&!o?E0(c,s):H(0);return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+f.x+b.x,y:t.y*a.y-s.scrollTop*a.y+f.y+b.y}}function ko(u){return Array.from(u.getClientRects())}function yo(u){const e=U(u),t=Vu(u),n=u.ownerDocument.body,r=fu(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=fu(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-t.scrollLeft+ju(u);const i=-t.scrollTop;return O(n).direction==="rtl"&&(c+=fu(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:c,y:i}}const D0=25;function Co(u,e){const t=z(u),n=U(u),r=t.visualViewport;let o=n.clientWidth,c=n.clientHeight,i=0,s=0;if(r){o=r.width,c=r.height;const f=xe();(!f||f&&e==="fixed")&&(i=r.offsetLeft,s=r.offsetTop)}const a=ju(n);if(a<=0){const f=n.ownerDocument,d=f.body,b=getComputedStyle(d),p=f.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,h=Math.abs(n.clientWidth-d.clientWidth-p);h<=D0&&(o-=h)}else a<=D0&&(o+=a);return{width:o,height:c,x:i,y:s}}const Eo=new Set(["absolute","fixed"]);function Do(u,e){const t=nu(u,!0,e==="fixed"),n=t.top+u.clientTop,r=t.left+u.clientLeft,o=Z(u)?pu(u):H(1),c=u.clientWidth*o.x,i=u.clientHeight*o.y,s=r*o.x,a=n*o.y;return{width:c,height:i,x:s,y:a}}function A0(u,e,t){let n;if(e==="viewport")n=Co(u,t);else if(e==="document")n=yo(U(u));else if(I(e))n=Do(e,t);else{const r=C0(u);n={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return Pu(n)}function w0(u,e){const t=K(u);return t===e||!I(t)||hu(t)?!1:O(t).position==="fixed"||w0(t,e)}function Ao(u,e){const t=e.get(u);if(t)return t;let n=Du(u,[],!1).filter(i=>I(i)&&tu(i)!=="body"),r=null;const o=O(u).position==="fixed";let c=o?K(u):u;for(;I(c)&&!hu(c);){const i=O(c),s=me(c);!s&&i.position==="fixed"&&(r=null),(o?!s&&!r:!s&&i.position==="static"&&!!r&&Eo.has(r.position)||Eu(c)&&!s&&w0(u,c))?n=n.filter(f=>f!==c):r=i,c=K(c)}return e.set(u,n),n}function wo(u){let{element:e,boundary:t,rootBoundary:n,strategy:r}=u;const c=[...t==="clippingAncestors"?$u(e)?[]:Ao(e,this._c):[].concat(t),n],i=c[0],s=c.reduce((a,f)=>{const d=A0(e,f,r);return a.top=fu(d.top,a.top),a.right=de(d.right,a.right),a.bottom=de(d.bottom,a.bottom),a.left=fu(d.left,a.left),a},A0(e,i,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Fo(u){const{width:e,height:t}=y0(u);return{width:e,height:t}}function So(u,e,t){const n=Z(e),r=U(e),o=t==="fixed",c=nu(u,!0,o,e);let i={scrollLeft:0,scrollTop:0};const s=H(0);function a(){s.x=ju(r)}if(n||!n&&!o)if((tu(e)!=="body"||Eu(r))&&(i=Vu(e)),n){const p=nu(e,!0,o,e);s.x=p.x+e.clientLeft,s.y=p.y+e.clientTop}else r&&a();o&&!n&&r&&a();const f=r&&!n&&!o?E0(r,i):H(0),d=c.left+i.scrollLeft-s.x-f.x,b=c.top+i.scrollTop-s.y-f.y;return{x:d,y:b,width:c.width,height:c.height}}function ke(u){return O(u).position==="static"}function F0(u,e){if(!Z(u)||O(u).position==="fixed")return null;if(e)return e(u);let t=u.offsetParent;return U(u)===t&&(t=t.ownerDocument.body),t}function S0(u,e){const t=z(u);if($u(u))return t;if(!Z(u)){let r=K(u);for(;r&&!hu(r);){if(I(r)&&!ke(r))return r;r=K(r)}return t}let n=F0(u,e);for(;n&&ao(n)&&ke(n);)n=F0(n,e);return n&&hu(n)&&ke(n)&&!me(n)?t:n||bo(u)||t}const Bo=async function(u){const e=this.getOffsetParent||S0,t=this.getDimensions,n=await t(u.floating);return{reference:So(u.reference,await e(u.floating),u.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function vo(u){return O(u).direction==="rtl"}const To={convertOffsetParentRelativeRectToViewportRelativeRect:go,getDocumentElement:U,getClippingRect:wo,getOffsetParent:S0,getElementRects:Bo,getClientRects:ko,getDimensions:Fo,getScale:pu,isElement:I,isRTL:vo};function B0(u,e){return u.x===e.x&&u.y===e.y&&u.width===e.width&&u.height===e.height}function Ro(u,e){let t=null,n;const r=U(u);function o(){var i;clearTimeout(n),(i=t)==null||i.disconnect(),t=null}function c(i,s){i===void 0&&(i=!1),s===void 0&&(s=1),o();const a=u.getBoundingClientRect(),{left:f,top:d,width:b,height:p}=a;if(i||e(),!b||!p)return;const h=Lu(d),m=Lu(r.clientWidth-(f+b)),_=Lu(r.clientHeight-(d+p)),C=Lu(f),g={rootMargin:-h+"px "+-m+"px "+-_+"px "+-C+"px",threshold:fu(0,de(1,s))||1};let k=!0;function y(D){const E=D[0].intersectionRatio;if(E!==s){if(!k)return c();E?c(!1,E):n=setTimeout(()=>{c(!1,1e-7)},1e3)}E===1&&!B0(a,u.getBoundingClientRect())&&c(),k=!1}try{t=new IntersectionObserver(y,{...g,root:r.ownerDocument})}catch{t=new IntersectionObserver(y,g)}t.observe(u)}return c(!0),o}function zo(u,e,t,n){n===void 0&&(n={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:s=!1}=n,a=ge(u),f=r||o?[...a?Du(a):[],...Du(e)]:[];f.forEach(C=>{r&&C.addEventListener("scroll",t,{passive:!0}),o&&C.addEventListener("resize",t)});const d=a&&i?Ro(a,t):null;let b=-1,p=null;c&&(p=new ResizeObserver(C=>{let[x]=C;x&&x.target===a&&p&&(p.unobserve(e),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var g;(g=p)==null||g.observe(e)})),t()}),a&&!s&&p.observe(a),p.observe(e));let h,m=s?nu(u):null;s&&_();function _(){const C=nu(u);m&&!B0(m,C)&&t(),m=C,h=requestAnimationFrame(_)}return t(),()=>{var C;f.forEach(x=>{r&&x.removeEventListener("scroll",t),o&&x.removeEventListener("resize",t)}),d==null||d(),(C=p)==null||C.disconnect(),p=null,s&&cancelAnimationFrame(h)}}const qo=co,Mo=no,Lo=(u,e,t)=>{const n=new Map,r={platform:To,...t},o={...r.platform,_c:n};return eo(u,e,{...r,platform:o})};function Io(u){return u!=null&&typeof u=="object"&&"$el"in u}function v0(u){if(Io(u)){const e=u.$el;return be(e)&&tu(e)==="#comment"?null:e}return u}function Au(u){return typeof u=="function"?u():l.unref(u)}function T0(u){return typeof window>"u"?1:(u.ownerDocument.defaultView||window).devicePixelRatio||1}function R0(u,e){const t=T0(u);return Math.round(e*t)/t}function Oo(u,e,t){t===void 0&&(t={});const n=t.whileElementsMounted,r=l.computed(()=>{var E;return(E=Au(t.open))!=null?E:!0}),o=l.computed(()=>Au(t.middleware)),c=l.computed(()=>{var E;return(E=Au(t.placement))!=null?E:"bottom"}),i=l.computed(()=>{var E;return(E=Au(t.strategy))!=null?E:"absolute"}),s=l.computed(()=>{var E;return(E=Au(t.transform))!=null?E:!0}),a=l.computed(()=>v0(u.value)),f=l.computed(()=>v0(e.value)),d=l.ref(0),b=l.ref(0),p=l.ref(i.value),h=l.ref(c.value),m=l.shallowRef({}),_=l.ref(!1),C=l.computed(()=>{const E={position:p.value,left:"0",top:"0"};if(!f.value)return E;const w=R0(f.value,d.value),v=R0(f.value,b.value);return s.value?{...E,transform:"translate("+w+"px, "+v+"px)",...T0(f.value)>=1.5&&{willChange:"transform"}}:{position:p.value,left:w+"px",top:v+"px"}});let x;function g(){if(a.value==null||f.value==null)return;const E=r.value;Lo(a.value,f.value,{middleware:o.value,placement:c.value,strategy:i.value}).then(w=>{d.value=w.x,b.value=w.y,p.value=w.strategy,h.value=w.placement,m.value=w.middlewareData,_.value=E!==!1})}function k(){typeof x=="function"&&(x(),x=void 0)}function y(){if(k(),n===void 0){g();return}if(a.value!=null&&f.value!=null){x=n(a.value,f.value,g);return}}function D(){r.value||(_.value=!1)}return l.watch([o,c,i,r],g,{flush:"sync"}),l.watch([a,f],y,{flush:"sync"}),l.watch(r,D,{flush:"sync"}),l.getCurrentScope()&&l.onScopeDispose(k),{x:l.shallowReadonly(d),y:l.shallowReadonly(b),strategy:l.shallowReadonly(p),placement:l.shallowReadonly(h),middlewareData:l.shallowReadonly(m),isPositioned:l.shallowReadonly(_),floatingStyles:C,update:g}}const Po=l.defineComponent({__name:"popover",props:l.mergeModels({placement:{default:"top"},offset:{default:10},teleported:{type:Boolean,default:!0},trigger:{default:"hover"},showAfter:{default:0},hideAfter:{default:300},disabled:{type:Boolean},transition:{default:"sq-fade"},popoverClass:{}},{visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:["update:visible"],setup(u){let e;const t=u,n=l.shallowRef(null),r=l.shallowRef(null),o=l.useModel(u,"visible"),{floatingStyles:c}=Oo(n,r,{placement:t.placement,whileElementsMounted:zo,transform:!1,middleware:[qo(t.offset),Mo()]});l.onBeforeUnmount(()=>{b(),document.removeEventListener("click",d)});function i(){t.trigger!=="hover"||t.disabled||(b(),e=setTimeout(()=>{f(!1)},t.showAfter))}function s(){t.trigger==="hover"&&(b(),e=setTimeout(()=>{d()},t.hideAfter))}function a(p){t.trigger==="click"&&!t.disabled&&!o.value&&(p.stopPropagation(),f())}function f(p=!0){o.value=!0,p&&document.addEventListener("click",d)}function d(){o.value=!1,document.removeEventListener("click",d)}function b(){e&&(clearTimeout(e),e=void 0)}return(p,h)=>(l.openBlock(),l.createElementBlock(l.Fragment,null,[l.createElementVNode("span",{class:l.normalizeClass(["sq-popover-trigger",p.$attrs.class]),style:l.normalizeStyle(p.$attrs.style),ref_key:"triggerRef",ref:n,onMouseenter:i,onMouseleave:s,onClick:a},[l.renderSlot(p.$slots,"reference")],38),(l.openBlock(),l.createBlock(l.Teleport,{to:"body",disabled:!t.teleported},[l.createVNode(l.Transition,{name:t.transition},{default:l.withCtx(()=>[l.withDirectives(l.createElementVNode("div",{class:l.normalizeClass(["sq-popover",p.popoverClass]),ref_key:"popverRef",ref:r,style:l.normalizeStyle(l.unref(c)),onClick:h[0]||(h[0]=l.withModifiers(()=>{},["stop"]))},[l.renderSlot(p.$slots,"default")],6),[[l.vShow,o.value]])]),_:3},8,["name"])],8,["disabled"]))],64))}}),No=l.defineComponent({__name:"tag",props:{type:{},theme:{default:"plain"},round:{type:Boolean},size:{default:"md"}},setup(u){const e=u,t=l.computed(()=>{const r=[];return e.size!=="md"&&r.push(`sq-tag--${e.size}`),e.theme!=="plain"&&e.type&&r.push(`is-${e.theme}`),e.type&&r.push(`is-${e.type}`),e.round&&r.push("is-round"),r}),n=l.computed(()=>e.size==="lg"?"md":"sm");return(r,o)=>(l.openBlock(),l.createBlock(l.unref(Hu),{class:l.normalizeClass(["sq-tag",t.value]),size:n.value},{default:l.withCtx(()=>[l.renderSlot(r.$slots,"default")]),_:3},8,["class","size"]))}}),$o=l.defineComponent({__name:"check-tag",props:{checked:{type:Boolean,default:!1},theme:{default:"plain"},type:{default:"primary"},round:{type:Boolean},size:{default:"md"}},emits:["change"],setup(u,{emit:e}){const t=e,n=u,r=l.computed(()=>{const c=[];return n.size!=="md"&&c.push(`sq-tag--${n.size}`),n.theme!=="plain"&&c.push(`is-${n.theme}`),n.type&&c.push(`is-${n.type}`),n.round&&c.push("is-round"),n.checked&&c.push("is-checked"),c}),o=l.computed(()=>n.size==="lg"?"md":"sm");return(c,i)=>(l.openBlock(),l.createBlock(l.unref(Hu),{class:l.normalizeClass(["sq-check-tag",r.value]),size:o.value,onClick:i[0]||(i[0]=s=>t("change",!n.checked))},{default:l.withCtx(()=>[l.renderSlot(c.$slots,"default")]),_:3},8,["class","size"]))}}),Hu=l.defineComponent({__name:"text",props:{rowNum:{default:1},ellipsis:{type:Boolean,default:!1},size:{default:"md"}},setup(u){const e=u,t=l.computed(()=>{const r=[];return e.size!=="md"&&r.push(`s-text--${e.size}`),e.ellipsis&&r.push(e.rowNum>1?"multi-line":"single-line"),r}),n=l.computed(()=>e.ellipsis?`--row-num: ${e.rowNum}`:"");return(r,o)=>(l.openBlock(),l.createElementBlock("span",{class:l.normalizeClass(["sq-text",t.value]),style:l.normalizeStyle(n.value)},[l.renderSlot(r.$slots,"default")],6))}}),Vo=l.defineComponent({__name:"timeline",props:{align:{default:"left"}},setup(u){const e=u,t=l.computed(()=>{const n=[];return n.push(`align-${e.align}`),n});return(n,r)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["sq-timeline",t.value])},[l.renderSlot(n.$slots,"default")],2))}}),jo={class:"sq-timeline-dot"},Ho={class:"sq-timeline-content"},Uo=["textContent"],Zo=["textContent"],Wo={class:"content-info"},Go=l.defineComponent({__name:"timeline-item",props:{color:{},type:{},icon:{},hollow:{type:Boolean},timestamp:{},theme:{default:"card"},title:{}},setup(u){const e=u,t=l.computed(()=>{const r=[];return e.theme!=="card"&&r.push(`is-${e.theme}`),e.type&&r.push(`is-${e.type}`),e.hollow&&r.push("is-hollow"),r}),n=l.computed(()=>{const r={};return e.color&&(r["--timeline-dot-color"]=e.color),r});return(r,o)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["sq-timeline-item",t.value]),style:l.normalizeStyle(n.value)},[l.createElementVNode("span",jo,[e.icon?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.icon),{key:0})):l.createCommentVNode("",!0)]),l.createElementVNode("div",Ho,[e.title?(l.openBlock(),l.createElementBlock("h2",{key:0,class:"content-title",textContent:l.toDisplayString(e.title)},null,8,Uo)):l.createCommentVNode("",!0),e.timestamp?(l.openBlock(),l.createElementBlock("span",{key:1,class:"content-time",textContent:l.toDisplayString(e.timestamp)},null,8,Zo)):l.createCommentVNode("",!0),l.createElementVNode("div",Wo,[l.renderSlot(r.$slots,"default")])])],6))}});F.SqArticle=Dr,F.SqBacktop=Br,F.SqButton=Tr,F.SqButtonGroup=zr,F.SqCard=Or,F.SqCheckTag=$o,F.SqInput=Vr,F.SqPopover=Po,F.SqProgress=d0,F.SqTag=No,F.SqText=Hu,F.SqTimeline=Vo,F.SqTimelineItem=Go,Object.defineProperty(F,Symbol.toStringTag,{value:"Module"})}));
16
+ `,o.map=[e,u.line],!0}function Zt(u,e,t,n){let r=u.bMarks[e]+u.tShift[e],o=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4||r+3>o)return!1;const c=u.src.charCodeAt(r);if(c!==126&&c!==96)return!1;let i=r;r=u.skipChars(r,c);let s=r-i;if(s<3)return!1;const a=u.src.slice(i,r),f=u.src.slice(r,o);if(c===96&&f.indexOf(String.fromCharCode(c))>=0)return!1;if(n)return!0;let d=e,b=!1;for(;d++,!(d>=t||(r=i=u.bMarks[d]+u.tShift[d],o=u.eMarks[d],r<o&&u.sCount[d]<u.blkIndent));)if(u.src.charCodeAt(r)===c&&!(u.sCount[d]-u.blkIndent>=4)&&(r=u.skipChars(r,c),!(r-i<s)&&(r=u.skipSpaces(r),!(r<o)))){b=!0;break}s=u.sCount[e],u.line=d+(b?1:0);const p=u.push("fence","code",0);return p.info=f,p.content=u.getLines(e+1,d,s,!0),p.markup=a,p.map=[e,u.line],!0}function Wt(u,e,t,n){let r=u.bMarks[e]+u.tShift[e],o=u.eMarks[e];const c=u.lineMax;if(u.sCount[e]-u.blkIndent>=4||u.src.charCodeAt(r)!==62)return!1;if(n)return!0;const i=[],s=[],a=[],f=[],d=u.md.block.ruler.getRules("blockquote"),b=u.parentType;u.parentType="blockquote";let p=!1,h;for(h=e;h<t;h++){const g=u.sCount[h]<u.blkIndent;if(r=u.bMarks[h]+u.tShift[h],o=u.eMarks[h],r>=o)break;if(u.src.charCodeAt(r++)===62&&!g){let y=u.sCount[h]+1,D,E;u.src.charCodeAt(r)===32?(r++,y++,E=!1,D=!0):u.src.charCodeAt(r)===9?(D=!0,(u.bsCount[h]+y)%4===3?(r++,y++,E=!1):E=!0):D=!1;let w=y;for(i.push(u.bMarks[h]),u.bMarks[h]=r;r<o;){const v=u.src.charCodeAt(r);if(A(v))v===9?w+=4-(w+u.bsCount[h]+(E?1:0))%4:w++;else break;r++}p=r>=o,s.push(u.bsCount[h]),u.bsCount[h]=u.sCount[h]+1+(D?1:0),a.push(u.sCount[h]),u.sCount[h]=w-y,f.push(u.tShift[h]),u.tShift[h]=r-u.bMarks[h];continue}if(p)break;let k=!1;for(let y=0,D=d.length;y<D;y++)if(d[y](u,h,t,!0)){k=!0;break}if(k){u.lineMax=h,u.blkIndent!==0&&(i.push(u.bMarks[h]),s.push(u.bsCount[h]),f.push(u.tShift[h]),a.push(u.sCount[h]),u.sCount[h]-=u.blkIndent);break}i.push(u.bMarks[h]),s.push(u.bsCount[h]),f.push(u.tShift[h]),a.push(u.sCount[h]),u.sCount[h]=-1}const m=u.blkIndent;u.blkIndent=0;const _=u.push("blockquote_open","blockquote",1);_.markup=">";const C=[e,0];_.map=C,u.md.block.tokenize(u,e,h);const x=u.push("blockquote_close","blockquote",-1);x.markup=">",u.lineMax=c,u.parentType=b,C[1]=u.line;for(let g=0;g<f.length;g++)u.bMarks[g+e]=i[g],u.tShift[g+e]=f[g],u.sCount[g+e]=a[g],u.bsCount[g+e]=s[g];return u.blkIndent=m,!0}function Gt(u,e,t,n){const r=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4)return!1;let o=u.bMarks[e]+u.tShift[e];const c=u.src.charCodeAt(o++);if(c!==42&&c!==45&&c!==95)return!1;let i=1;for(;o<r;){const a=u.src.charCodeAt(o++);if(a!==c&&!A(a))return!1;a===c&&i++}if(i<3)return!1;if(n)return!0;u.line=e+1;const s=u.push("hr","hr",0);return s.map=[e,u.line],s.markup=Array(i+1).join(String.fromCharCode(c)),!0}function $e(u,e){const t=u.eMarks[e];let n=u.bMarks[e]+u.tShift[e];const r=u.src.charCodeAt(n++);if(r!==42&&r!==45&&r!==43)return-1;if(n<t){const o=u.src.charCodeAt(n);if(!A(o))return-1}return n}function Ve(u,e){const t=u.bMarks[e]+u.tShift[e],n=u.eMarks[e];let r=t;if(r+1>=n)return-1;let o=u.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=n)return-1;if(o=u.src.charCodeAt(r++),o>=48&&o<=57){if(r-t>=10)return-1;continue}if(o===41||o===46)break;return-1}return r<n&&(o=u.src.charCodeAt(r),!A(o))?-1:r}function Xt(u,e){const t=u.level+2;for(let n=e+2,r=u.tokens.length-2;n<r;n++)u.tokens[n].level===t&&u.tokens[n].type==="paragraph_open"&&(u.tokens[n+2].hidden=!0,u.tokens[n].hidden=!0,n+=2)}function Jt(u,e,t,n){let r,o,c,i,s=e,a=!0;if(u.sCount[s]-u.blkIndent>=4||u.listIndent>=0&&u.sCount[s]-u.listIndent>=4&&u.sCount[s]<u.blkIndent)return!1;let f=!1;n&&u.parentType==="paragraph"&&u.sCount[s]>=u.blkIndent&&(f=!0);let d,b,p;if((p=Ve(u,s))>=0){if(d=!0,c=u.bMarks[s]+u.tShift[s],b=Number(u.src.slice(c,p-1)),f&&b!==1)return!1}else if((p=$e(u,s))>=0)d=!1;else return!1;if(f&&u.skipSpaces(p)>=u.eMarks[s])return!1;if(n)return!0;const h=u.src.charCodeAt(p-1),m=u.tokens.length;d?(i=u.push("ordered_list_open","ol",1),b!==1&&(i.attrs=[["start",b]])):i=u.push("bullet_list_open","ul",1);const _=[s,0];i.map=_,i.markup=String.fromCharCode(h);let C=!1;const x=u.md.block.ruler.getRules("list"),g=u.parentType;for(u.parentType="list";s<t;){o=p,r=u.eMarks[s];const k=u.sCount[s]+p-(u.bMarks[s]+u.tShift[s]);let y=k;for(;o<r;){const G=u.src.charCodeAt(o);if(G===9)y+=4-(y+u.bsCount[s])%4;else if(G===32)y++;else break;o++}const D=o;let E;D>=r?E=1:E=y-k,E>4&&(E=1);const w=k+E;i=u.push("list_item_open","li",1),i.markup=String.fromCharCode(h);const v=[s,0];i.map=v,d&&(i.info=u.src.slice(c,p-1));const L=u.tight,bu=u.tShift[s],Uu=u.sCount[s],Zu=u.listIndent;if(u.listIndent=u.blkIndent,u.blkIndent=w,u.tight=!0,u.tShift[s]=D-u.bMarks[s],u.sCount[s]=y,D>=r&&u.isEmpty(s+1)?u.line=Math.min(u.line+2,t):u.md.block.tokenize(u,s,t,!0),(!u.tight||C)&&(a=!1),C=u.line-s>1&&u.isEmpty(u.line-1),u.blkIndent=u.listIndent,u.listIndent=Zu,u.tShift[s]=bu,u.sCount[s]=Uu,u.tight=L,i=u.push("list_item_close","li",-1),i.markup=String.fromCharCode(h),s=u.line,v[1]=s,s>=t||u.sCount[s]<u.blkIndent||u.sCount[s]-u.blkIndent>=4)break;let W=!1;for(let G=0,ru=x.length;G<ru;G++)if(x[G](u,s,t,!0)){W=!0;break}if(W)break;if(d){if(p=Ve(u,s),p<0)break;c=u.bMarks[s]+u.tShift[s]}else if(p=$e(u,s),p<0)break;if(h!==u.src.charCodeAt(p-1))break}return d?i=u.push("ordered_list_close","ol",-1):i=u.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(h),_[1]=s,u.line=s,u.parentType=g,a&&Xt(u,m),!0}function Qt(u,e,t,n){let r=u.bMarks[e]+u.tShift[e],o=u.eMarks[e],c=e+1;if(u.sCount[e]-u.blkIndent>=4||u.src.charCodeAt(r)!==91)return!1;function i(x){const g=u.lineMax;if(x>=g||u.isEmpty(x))return null;let k=!1;if(u.sCount[x]-u.blkIndent>3&&(k=!0),u.sCount[x]<0&&(k=!0),!k){const E=u.md.block.ruler.getRules("reference"),w=u.parentType;u.parentType="reference";let v=!1;for(let L=0,bu=E.length;L<bu;L++)if(E[L](u,x,g,!0)){v=!0;break}if(u.parentType=w,v)return null}const y=u.bMarks[x]+u.tShift[x],D=u.eMarks[x];return u.src.slice(y,D+1)}let s=u.src.slice(r,o+1);o=s.length;let a=-1;for(r=1;r<o;r++){const x=s.charCodeAt(r);if(x===91)return!1;if(x===93){a=r;break}else if(x===10){const g=i(c);g!==null&&(s+=g,o=s.length,c++)}else if(x===92&&(r++,r<o&&s.charCodeAt(r)===10)){const g=i(c);g!==null&&(s+=g,o=s.length,c++)}}if(a<0||s.charCodeAt(a+1)!==58)return!1;for(r=a+2;r<o;r++){const x=s.charCodeAt(r);if(x===10){const g=i(c);g!==null&&(s+=g,o=s.length,c++)}else if(!A(x))break}const f=u.md.helpers.parseLinkDestination(s,r,o);if(!f.ok)return!1;const d=u.md.normalizeLink(f.str);if(!u.md.validateLink(d))return!1;r=f.pos;const b=r,p=c,h=r;for(;r<o;r++){const x=s.charCodeAt(r);if(x===10){const g=i(c);g!==null&&(s+=g,o=s.length,c++)}else if(!A(x))break}let m=u.md.helpers.parseLinkTitle(s,r,o);for(;m.can_continue;){const x=i(c);if(x===null)break;s+=x,r=o,o=s.length,c++,m=u.md.helpers.parseLinkTitle(s,r,o,m)}let _;for(r<o&&h!==r&&m.ok?(_=m.str,r=m.pos):(_="",r=b,c=p);r<o;){const x=s.charCodeAt(r);if(!A(x))break;r++}if(r<o&&s.charCodeAt(r)!==10&&_)for(_="",r=b,c=p;r<o;){const x=s.charCodeAt(r);if(!A(x))break;r++}if(r<o&&s.charCodeAt(r)!==10)return!1;const C=Bu(s.slice(1,a));return C?(n||(typeof u.env.references>"u"&&(u.env.references={}),typeof u.env.references[C]>"u"&&(u.env.references[C]={title:_,href:d}),u.line=c),!0):!1}const Yt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Kt="[a-zA-Z_:][a-zA-Z0-9:._-]*",un="(?:"+"[^\"'=<>`\\x00-\\x20]+"+"|"+"'[^']*'"+"|"+'"[^"]*"'+")",je="<[A-Za-z][A-Za-z0-9\\-]*"+("(?:\\s+"+Kt+"(?:\\s*=\\s*"+un+")?)")+"*\\s*\\/?>",He="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",en="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",tn="<[?][\\s\\S]*?[?]>",nn="<![A-Za-z][^>]*>",rn="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",on=new RegExp("^(?:"+je+"|"+He+"|"+en+"|"+tn+"|"+nn+"|"+rn+")"),cn=new RegExp("^(?:"+je+"|"+He+")"),au=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Yt.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(cn.source+"\\s*$"),/^$/,!1]];function sn(u,e,t,n){let r=u.bMarks[e]+u.tShift[e],o=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4||!u.md.options.html||u.src.charCodeAt(r)!==60)return!1;let c=u.src.slice(r,o),i=0;for(;i<au.length&&!au[i][0].test(c);i++);if(i===au.length)return!1;if(n)return au[i][2];let s=e+1;if(!au[i][1].test(c)){for(;s<t&&!(u.sCount[s]<u.blkIndent);s++)if(r=u.bMarks[s]+u.tShift[s],o=u.eMarks[s],c=u.src.slice(r,o),au[i][1].test(c)){c.length!==0&&s++;break}}u.line=s;const a=u.push("html_block","",0);return a.map=[e,s],a.content=u.getLines(e,s,u.blkIndent,!0),!0}function an(u,e,t,n){let r=u.bMarks[e]+u.tShift[e],o=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4)return!1;let c=u.src.charCodeAt(r);if(c!==35||r>=o)return!1;let i=1;for(c=u.src.charCodeAt(++r);c===35&&r<o&&i<=6;)i++,c=u.src.charCodeAt(++r);if(i>6||r<o&&!A(c))return!1;if(n)return!0;o=u.skipSpacesBack(o,r);const s=u.skipCharsBack(o,35,r);s>r&&A(u.src.charCodeAt(s-1))&&(o=s),u.line=e+1;const a=u.push("heading_open","h"+String(i),1);a.markup="########".slice(0,i),a.map=[e,u.line];const f=u.push("inline","",0);f.content=u.src.slice(r,o).trim(),f.map=[e,u.line],f.children=[];const d=u.push("heading_close","h"+String(i),-1);return d.markup="########".slice(0,i),!0}function ln(u,e,t){const n=u.md.block.ruler.getRules("paragraph");if(u.sCount[e]-u.blkIndent>=4)return!1;const r=u.parentType;u.parentType="paragraph";let o=0,c,i=e+1;for(;i<t&&!u.isEmpty(i);i++){if(u.sCount[i]-u.blkIndent>3)continue;if(u.sCount[i]>=u.blkIndent){let p=u.bMarks[i]+u.tShift[i];const h=u.eMarks[i];if(p<h&&(c=u.src.charCodeAt(p),(c===45||c===61)&&(p=u.skipChars(p,c),p=u.skipSpaces(p),p>=h))){o=c===61?1:2;break}}if(u.sCount[i]<0)continue;let b=!1;for(let p=0,h=n.length;p<h;p++)if(n[p](u,i,t,!0)){b=!0;break}if(b)break}if(!o)return!1;const s=u.getLines(e,i,u.blkIndent,!1).trim();u.line=i+1;const a=u.push("heading_open","h"+String(o),1);a.markup=String.fromCharCode(c),a.map=[e,u.line];const f=u.push("inline","",0);f.content=s,f.map=[e,u.line-1],f.children=[];const d=u.push("heading_close","h"+String(o),-1);return d.markup=String.fromCharCode(c),u.parentType=r,!0}function fn(u,e,t){const n=u.md.block.ruler.getRules("paragraph"),r=u.parentType;let o=e+1;for(u.parentType="paragraph";o<t&&!u.isEmpty(o);o++){if(u.sCount[o]-u.blkIndent>3||u.sCount[o]<0)continue;let a=!1;for(let f=0,d=n.length;f<d;f++)if(n[f](u,o,t,!0)){a=!0;break}if(a)break}const c=u.getLines(e,o,u.blkIndent,!1).trim();u.line=o;const i=u.push("paragraph_open","p",1);i.map=[e,u.line];const s=u.push("inline","",0);return s.content=c,s.map=[e,u.line],s.children=[],u.push("paragraph_close","p",-1),u.parentType=r,!0}const Tu=[["table",Ht,["paragraph","reference"]],["code",Ut],["fence",Zt,["paragraph","reference","blockquote","list"]],["blockquote",Wt,["paragraph","reference","blockquote","list"]],["hr",Gt,["paragraph","reference","blockquote","list"]],["list",Jt,["paragraph","reference","blockquote"]],["reference",Qt],["html_block",sn,["paragraph","reference","blockquote"]],["heading",an,["paragraph","reference","blockquote"]],["lheading",ln],["paragraph",fn]];function Ru(){this.ruler=new T;for(let u=0;u<Tu.length;u++)this.ruler.push(Tu[u][0],Tu[u][1],{alt:(Tu[u][2]||[]).slice()})}Ru.prototype.tokenize=function(u,e,t){const n=this.ruler.getRules(""),r=n.length,o=u.md.options.maxNesting;let c=e,i=!1;for(;c<t&&(u.line=c=u.skipEmptyLines(c),!(c>=t||u.sCount[c]<u.blkIndent));){if(u.level>=o){u.line=t;break}const s=u.line;let a=!1;for(let f=0;f<r;f++)if(a=n[f](u,c,t,!1),a){if(s>=u.line)throw new Error("block rule didn't increment state.line");break}if(!a)throw new Error("none of the block rules matched");u.tight=!i,u.isEmpty(u.line-1)&&(i=!0),c=u.line,c<t&&u.isEmpty(c)&&(i=!0,c++,u.line=c)}},Ru.prototype.parse=function(u,e,t,n){if(!u)return;const r=new this.State(u,e,t,n);this.tokenize(r,r.line,r.lineMax)},Ru.prototype.State=$;function ku(u,e,t,n){this.src=u,this.env=t,this.md=e,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}ku.prototype.pushPending=function(){const u=new q("text","",0);return u.content=this.pending,u.level=this.pendingLevel,this.tokens.push(u),this.pending="",u},ku.prototype.push=function(u,e,t){this.pending&&this.pushPending();const n=new q(u,e,t);let r=null;return t<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,t>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n},ku.prototype.scanDelims=function(u,e){const t=this.posMax,n=this.src.charCodeAt(u),r=u>0?this.src.charCodeAt(u-1):32;let o=u;for(;o<t&&this.src.charCodeAt(o)===n;)o++;const c=o-u,i=o<t?this.src.charCodeAt(o):32,s=gu(r)||_u(String.fromCharCode(r)),a=gu(i)||_u(String.fromCharCode(i)),f=xu(r),d=xu(i),b=!d&&(!a||f||s),p=!f&&(!s||d||a);return{can_open:b&&(e||!p||s),can_close:p&&(e||!b||a),length:c}},ku.prototype.Token=q;function dn(u){switch(u){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function hn(u,e){let t=u.pos;for(;t<u.posMax&&!dn(u.src.charCodeAt(t));)t++;return t===u.pos?!1:(e||(u.pending+=u.src.slice(u.pos,t)),u.pos=t,!0)}const pn=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function bn(u,e){if(!u.md.options.linkify||u.linkLevel>0)return!1;const t=u.pos,n=u.posMax;if(t+3>n||u.src.charCodeAt(t)!==58||u.src.charCodeAt(t+1)!==47||u.src.charCodeAt(t+2)!==47)return!1;const r=u.pending.match(pn);if(!r)return!1;const o=r[1],c=u.md.linkify.matchAtStart(u.src.slice(t-o.length));if(!c)return!1;let i=c.url;if(i.length<=o.length)return!1;i=i.replace(/\*+$/,"");const s=u.md.normalizeLink(i);if(!u.md.validateLink(s))return!1;if(!e){u.pending=u.pending.slice(0,-o.length);const a=u.push("link_open","a",1);a.attrs=[["href",s]],a.markup="linkify",a.info="auto";const f=u.push("text","",0);f.content=u.md.normalizeLinkText(i);const d=u.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return u.pos+=i.length-o.length,!0}function mn(u,e){let t=u.pos;if(u.src.charCodeAt(t)!==10)return!1;const n=u.pending.length-1,r=u.posMax;if(!e)if(n>=0&&u.pending.charCodeAt(n)===32)if(n>=1&&u.pending.charCodeAt(n-1)===32){let o=n-1;for(;o>=1&&u.pending.charCodeAt(o-1)===32;)o--;u.pending=u.pending.slice(0,o),u.push("hardbreak","br",0)}else u.pending=u.pending.slice(0,-1),u.push("softbreak","br",0);else u.push("softbreak","br",0);for(t++;t<r&&A(u.src.charCodeAt(t));)t++;return u.pos=t,!0}const ne=[];for(let u=0;u<256;u++)ne.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u){ne[u.charCodeAt(0)]=1});function xn(u,e){let t=u.pos;const n=u.posMax;if(u.src.charCodeAt(t)!==92||(t++,t>=n))return!1;let r=u.src.charCodeAt(t);if(r===10){for(e||u.push("hardbreak","br",0),t++;t<n&&(r=u.src.charCodeAt(t),!!A(r));)t++;return u.pos=t,!0}let o=u.src[t];if(r>=55296&&r<=56319&&t+1<n){const i=u.src.charCodeAt(t+1);i>=56320&&i<=57343&&(o+=u.src[t+1],t++)}const c="\\"+o;if(!e){const i=u.push("text_special","",0);r<256&&ne[r]!==0?i.content=o:i.content=c,i.markup=c,i.info="escape"}return u.pos=t+1,!0}function _n(u,e){let t=u.pos;if(u.src.charCodeAt(t)!==96)return!1;const r=t;t++;const o=u.posMax;for(;t<o&&u.src.charCodeAt(t)===96;)t++;const c=u.src.slice(r,t),i=c.length;if(u.backticksScanned&&(u.backticks[i]||0)<=r)return e||(u.pending+=c),u.pos+=i,!0;let s=t,a;for(;(a=u.src.indexOf("`",s))!==-1;){for(s=a+1;s<o&&u.src.charCodeAt(s)===96;)s++;const f=s-a;if(f===i){if(!e){const d=u.push("code_inline","code",0);d.markup=c,d.content=u.src.slice(t,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return u.pos=s,!0}u.backticks[f]=a}return u.backticksScanned=!0,e||(u.pending+=c),u.pos+=i,!0}function gn(u,e){const t=u.pos,n=u.src.charCodeAt(t);if(e||n!==126)return!1;const r=u.scanDelims(u.pos,!0);let o=r.length;const c=String.fromCharCode(n);if(o<2)return!1;let i;o%2&&(i=u.push("text","",0),i.content=c,o--);for(let s=0;s<o;s+=2)i=u.push("text","",0),i.content=c+c,u.delimiters.push({marker:n,length:0,token:u.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return u.pos+=r.length,!0}function Ue(u,e){let t;const n=[],r=e.length;for(let o=0;o<r;o++){const c=e[o];if(c.marker!==126||c.end===-1)continue;const i=e[c.end];t=u.tokens[c.token],t.type="s_open",t.tag="s",t.nesting=1,t.markup="~~",t.content="",t=u.tokens[i.token],t.type="s_close",t.tag="s",t.nesting=-1,t.markup="~~",t.content="",u.tokens[i.token-1].type==="text"&&u.tokens[i.token-1].content==="~"&&n.push(i.token-1)}for(;n.length;){const o=n.pop();let c=o+1;for(;c<u.tokens.length&&u.tokens[c].type==="s_close";)c++;c--,o!==c&&(t=u.tokens[c],u.tokens[c]=u.tokens[o],u.tokens[o]=t)}}function kn(u){const e=u.tokens_meta,t=u.tokens_meta.length;Ue(u,u.delimiters);for(let n=0;n<t;n++)e[n]&&e[n].delimiters&&Ue(u,e[n].delimiters)}const Ze={tokenize:gn,postProcess:kn};function yn(u,e){const t=u.pos,n=u.src.charCodeAt(t);if(e||n!==95&&n!==42)return!1;const r=u.scanDelims(u.pos,n===42);for(let o=0;o<r.length;o++){const c=u.push("text","",0);c.content=String.fromCharCode(n),u.delimiters.push({marker:n,length:r.length,token:u.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return u.pos+=r.length,!0}function We(u,e){const t=e.length;for(let n=t-1;n>=0;n--){const r=e[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const o=e[r.end],c=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===o.token+1,i=String.fromCharCode(r.marker),s=u.tokens[r.token];s.type=c?"strong_open":"em_open",s.tag=c?"strong":"em",s.nesting=1,s.markup=c?i+i:i,s.content="";const a=u.tokens[o.token];a.type=c?"strong_close":"em_close",a.tag=c?"strong":"em",a.nesting=-1,a.markup=c?i+i:i,a.content="",c&&(u.tokens[e[n-1].token].content="",u.tokens[e[r.end+1].token].content="",n--)}}function Cn(u){const e=u.tokens_meta,t=u.tokens_meta.length;We(u,u.delimiters);for(let n=0;n<t;n++)e[n]&&e[n].delimiters&&We(u,e[n].delimiters)}const Ge={tokenize:yn,postProcess:Cn};function En(u,e){let t,n,r,o,c="",i="",s=u.pos,a=!0;if(u.src.charCodeAt(u.pos)!==91)return!1;const f=u.pos,d=u.posMax,b=u.pos+1,p=u.md.helpers.parseLinkLabel(u,u.pos,!0);if(p<0)return!1;let h=p+1;if(h<d&&u.src.charCodeAt(h)===40){for(a=!1,h++;h<d&&(t=u.src.charCodeAt(h),!(!A(t)&&t!==10));h++);if(h>=d)return!1;if(s=h,r=u.md.helpers.parseLinkDestination(u.src,h,u.posMax),r.ok){for(c=u.md.normalizeLink(r.str),u.md.validateLink(c)?h=r.pos:c="",s=h;h<d&&(t=u.src.charCodeAt(h),!(!A(t)&&t!==10));h++);if(r=u.md.helpers.parseLinkTitle(u.src,h,u.posMax),h<d&&s!==h&&r.ok)for(i=r.str,h=r.pos;h<d&&(t=u.src.charCodeAt(h),!(!A(t)&&t!==10));h++);}(h>=d||u.src.charCodeAt(h)!==41)&&(a=!0),h++}if(a){if(typeof u.env.references>"u")return!1;if(h<d&&u.src.charCodeAt(h)===91?(s=h+1,h=u.md.helpers.parseLinkLabel(u,h),h>=0?n=u.src.slice(s,h++):h=p+1):h=p+1,n||(n=u.src.slice(b,p)),o=u.env.references[Bu(n)],!o)return u.pos=f,!1;c=o.href,i=o.title}if(!e){u.pos=b,u.posMax=p;const m=u.push("link_open","a",1),_=[["href",c]];m.attrs=_,i&&_.push(["title",i]),u.linkLevel++,u.md.inline.tokenize(u),u.linkLevel--,u.push("link_close","a",-1)}return u.pos=h,u.posMax=d,!0}function Dn(u,e){let t,n,r,o,c,i,s,a,f="";const d=u.pos,b=u.posMax;if(u.src.charCodeAt(u.pos)!==33||u.src.charCodeAt(u.pos+1)!==91)return!1;const p=u.pos+2,h=u.md.helpers.parseLinkLabel(u,u.pos+1,!1);if(h<0)return!1;if(o=h+1,o<b&&u.src.charCodeAt(o)===40){for(o++;o<b&&(t=u.src.charCodeAt(o),!(!A(t)&&t!==10));o++);if(o>=b)return!1;for(a=o,i=u.md.helpers.parseLinkDestination(u.src,o,u.posMax),i.ok&&(f=u.md.normalizeLink(i.str),u.md.validateLink(f)?o=i.pos:f=""),a=o;o<b&&(t=u.src.charCodeAt(o),!(!A(t)&&t!==10));o++);if(i=u.md.helpers.parseLinkTitle(u.src,o,u.posMax),o<b&&a!==o&&i.ok)for(s=i.str,o=i.pos;o<b&&(t=u.src.charCodeAt(o),!(!A(t)&&t!==10));o++);else s="";if(o>=b||u.src.charCodeAt(o)!==41)return u.pos=d,!1;o++}else{if(typeof u.env.references>"u")return!1;if(o<b&&u.src.charCodeAt(o)===91?(a=o+1,o=u.md.helpers.parseLinkLabel(u,o),o>=0?r=u.src.slice(a,o++):o=h+1):o=h+1,r||(r=u.src.slice(p,h)),c=u.env.references[Bu(r)],!c)return u.pos=d,!1;f=c.href,s=c.title}if(!e){n=u.src.slice(p,h);const m=[];u.md.inline.parse(n,u.md,u.env,m);const _=u.push("image","img",0),C=[["src",f],["alt",""]];_.attrs=C,_.children=m,_.content=n,s&&C.push(["title",s])}return u.pos=o,u.posMax=b,!0}const An=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,wn=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Fn(u,e){let t=u.pos;if(u.src.charCodeAt(t)!==60)return!1;const n=u.pos,r=u.posMax;for(;;){if(++t>=r)return!1;const c=u.src.charCodeAt(t);if(c===60)return!1;if(c===62)break}const o=u.src.slice(n+1,t);if(wn.test(o)){const c=u.md.normalizeLink(o);if(!u.md.validateLink(c))return!1;if(!e){const i=u.push("link_open","a",1);i.attrs=[["href",c]],i.markup="autolink",i.info="auto";const s=u.push("text","",0);s.content=u.md.normalizeLinkText(o);const a=u.push("link_close","a",-1);a.markup="autolink",a.info="auto"}return u.pos+=o.length+2,!0}if(An.test(o)){const c=u.md.normalizeLink("mailto:"+o);if(!u.md.validateLink(c))return!1;if(!e){const i=u.push("link_open","a",1);i.attrs=[["href",c]],i.markup="autolink",i.info="auto";const s=u.push("text","",0);s.content=u.md.normalizeLinkText(o);const a=u.push("link_close","a",-1);a.markup="autolink",a.info="auto"}return u.pos+=o.length+2,!0}return!1}function Sn(u){return/^<a[>\s]/i.test(u)}function Bn(u){return/^<\/a\s*>/i.test(u)}function vn(u){const e=u|32;return e>=97&&e<=122}function Tn(u,e){if(!u.md.options.html)return!1;const t=u.posMax,n=u.pos;if(u.src.charCodeAt(n)!==60||n+2>=t)return!1;const r=u.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!vn(r))return!1;const o=u.src.slice(n).match(on);if(!o)return!1;if(!e){const c=u.push("html_inline","",0);c.content=o[0],Sn(c.content)&&u.linkLevel++,Bn(c.content)&&u.linkLevel--}return u.pos+=o[0].length,!0}const Rn=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,zn=/^&([a-z][a-z0-9]{1,31});/i;function qn(u,e){const t=u.pos,n=u.posMax;if(u.src.charCodeAt(t)!==38||t+1>=n)return!1;if(u.src.charCodeAt(t+1)===35){const o=u.src.slice(t).match(Rn);if(o){if(!e){const c=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),i=u.push("text_special","",0);i.content=Ku(c)?Su(c):Su(65533),i.markup=o[0],i.info="entity"}return u.pos+=o[0].length,!0}}else{const o=u.src.slice(t).match(zn);if(o){const c=ze(o[0]);if(c!==o[0]){if(!e){const i=u.push("text_special","",0);i.content=c,i.markup=o[0],i.info="entity"}return u.pos+=o[0].length,!0}}}return!1}function Xe(u){const e={},t=u.length;if(!t)return;let n=0,r=-2;const o=[];for(let c=0;c<t;c++){const i=u[c];if(o.push(0),(u[n].marker!==i.marker||r!==i.token-1)&&(n=c),r=i.token,i.length=i.length||0,!i.close)continue;e.hasOwnProperty(i.marker)||(e[i.marker]=[-1,-1,-1,-1,-1,-1]);const s=e[i.marker][(i.open?3:0)+i.length%3];let a=n-o[n]-1,f=a;for(;a>s;a-=o[a]+1){const d=u[a];if(d.marker===i.marker&&d.open&&d.end<0){let b=!1;if((d.close||i.open)&&(d.length+i.length)%3===0&&(d.length%3!==0||i.length%3!==0)&&(b=!0),!b){const p=a>0&&!u[a-1].open?o[a-1]+1:0;o[c]=c-a+p,o[a]=p,i.open=!1,d.end=c,d.close=!1,f=-1,r=-2;break}}}f!==-1&&(e[i.marker][(i.open?3:0)+(i.length||0)%3]=f)}}function Mn(u){const e=u.tokens_meta,t=u.tokens_meta.length;Xe(u.delimiters);for(let n=0;n<t;n++)e[n]&&e[n].delimiters&&Xe(e[n].delimiters)}function Ln(u){let e,t,n=0;const r=u.tokens,o=u.tokens.length;for(e=t=0;e<o;e++)r[e].nesting<0&&n--,r[e].level=n,r[e].nesting>0&&n++,r[e].type==="text"&&e+1<o&&r[e+1].type==="text"?r[e+1].content=r[e].content+r[e+1].content:(e!==t&&(r[t]=r[e]),t++);e!==t&&(r.length=t)}const re=[["text",hn],["linkify",bn],["newline",mn],["escape",xn],["backticks",_n],["strikethrough",Ze.tokenize],["emphasis",Ge.tokenize],["link",En],["image",Dn],["autolink",Fn],["html_inline",Tn],["entity",qn]],oe=[["balance_pairs",Mn],["strikethrough",Ze.postProcess],["emphasis",Ge.postProcess],["fragments_join",Ln]];function yu(){this.ruler=new T;for(let u=0;u<re.length;u++)this.ruler.push(re[u][0],re[u][1]);this.ruler2=new T;for(let u=0;u<oe.length;u++)this.ruler2.push(oe[u][0],oe[u][1])}yu.prototype.skipToken=function(u){const e=u.pos,t=this.ruler.getRules(""),n=t.length,r=u.md.options.maxNesting,o=u.cache;if(typeof o[e]<"u"){u.pos=o[e];return}let c=!1;if(u.level<r){for(let i=0;i<n;i++)if(u.level++,c=t[i](u,!0),u.level--,c){if(e>=u.pos)throw new Error("inline rule didn't increment state.pos");break}}else u.pos=u.posMax;c||u.pos++,o[e]=u.pos},yu.prototype.tokenize=function(u){const e=this.ruler.getRules(""),t=e.length,n=u.posMax,r=u.md.options.maxNesting;for(;u.pos<n;){const o=u.pos;let c=!1;if(u.level<r){for(let i=0;i<t;i++)if(c=e[i](u,!1),c){if(o>=u.pos)throw new Error("inline rule didn't increment state.pos");break}}if(c){if(u.pos>=n)break;continue}u.pending+=u.src[u.pos++]}u.pending&&u.pushPending()},yu.prototype.parse=function(u,e,t,n){const r=new this.State(u,e,t,n);this.tokenize(r);const o=this.ruler2.getRules(""),c=o.length;for(let i=0;i<c;i++)o[i](r)},yu.prototype.State=ku;function In(u){const e={};u=u||{},e.src_Any=Se.source,e.src_Cc=Be.source,e.src_Z=Te.source,e.src_P=Xu.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");const t="[><|]";return e.src_pseudo_letter="(?:(?!"+t+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+t+"|"+e.src_ZPCc+")(?!"+(u["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+t+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(u["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function ce(u){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){u[n]=t[n]})}),u}function zu(u){return Object.prototype.toString.call(u)}function On(u){return zu(u)==="[object String]"}function Pn(u){return zu(u)==="[object Object]"}function Nn(u){return zu(u)==="[object RegExp]"}function Je(u){return zu(u)==="[object Function]"}function $n(u){return u.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Qe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Vn(u){return Object.keys(u||{}).reduce(function(e,t){return e||Qe.hasOwnProperty(t)},!1)}const jn={"http:":{validate:function(u,e,t){const n=u.slice(e);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(n)?n.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(u,e,t){const n=u.slice(e);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(n)?e>=3&&u[e-3]===":"||e>=3&&u[e-3]==="/"?0:n.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(u,e,t){const n=u.slice(e);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(n)?n.match(t.re.mailto)[0].length:0}}},Hn="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Un="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Zn(u){u.__index__=-1,u.__text_cache__=""}function Wn(u){return function(e,t){const n=e.slice(t);return u.test(n)?n.match(u)[0].length:0}}function Ye(){return function(u,e){e.normalize(u)}}function qu(u){const e=u.re=In(u.__opts__),t=u.__tlds__.slice();u.onCompile(),u.__tlds_replaced__||t.push(Hn),t.push(e.src_xn),e.src_tlds=t.join("|");function n(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");const r=[];u.__compiled__={};function o(i,s){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+s)}Object.keys(u.__schemas__).forEach(function(i){const s=u.__schemas__[i];if(s===null)return;const a={validate:null,link:null};if(u.__compiled__[i]=a,Pn(s)){Nn(s.validate)?a.validate=Wn(s.validate):Je(s.validate)?a.validate=s.validate:o(i,s),Je(s.normalize)?a.normalize=s.normalize:s.normalize?o(i,s):a.normalize=Ye();return}if(On(s)){r.push(i);return}o(i,s)}),r.forEach(function(i){u.__compiled__[u.__schemas__[i]]&&(u.__compiled__[i].validate=u.__compiled__[u.__schemas__[i]].validate,u.__compiled__[i].normalize=u.__compiled__[u.__schemas__[i]].normalize)}),u.__compiled__[""]={validate:null,normalize:Ye()};const c=Object.keys(u.__compiled__).filter(function(i){return i.length>0&&u.__compiled__[i]}).map($n).join("|");u.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","i"),u.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","ig"),u.re.schema_at_start=RegExp("^"+u.re.schema_search.source,"i"),u.re.pretest=RegExp("("+u.re.schema_test.source+")|("+u.re.host_fuzzy_test.source+")|@","i"),Zn(u)}function Gn(u,e){const t=u.__index__,n=u.__last_index__,r=u.__text_cache__.slice(t,n);this.schema=u.__schema__.toLowerCase(),this.index=t+e,this.lastIndex=n+e,this.raw=r,this.text=r,this.url=r}function ie(u,e){const t=new Gn(u,e);return u.__compiled__[t.schema].normalize(t,u),t}function R(u,e){if(!(this instanceof R))return new R(u,e);e||Vn(u)&&(e=u,u={}),this.__opts__=ce({},Qe,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ce({},jn,u),this.__compiled__={},this.__tlds__=Un,this.__tlds_replaced__=!1,this.re={},qu(this)}R.prototype.add=function(e,t){return this.__schemas__[e]=t,qu(this),this},R.prototype.set=function(e){return this.__opts__=ce(this.__opts__,e),this},R.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,r,o,c,i,s,a,f;if(this.re.schema_test.test(e)){for(s=this.re.schema_search,s.lastIndex=0;(t=s.exec(e))!==null;)if(o=this.testSchemaAt(e,t[2],s.lastIndex),o){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(a=e.search(this.re.host_fuzzy_test),a>=0&&(this.__index__<0||a<this.__index__)&&(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=n.index+n[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(f=e.indexOf("@"),f>=0&&(r=e.match(this.re.email_fuzzy))!==null&&(c=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=i))),this.__index__>=0},R.prototype.pretest=function(e){return this.re.pretest.test(e)},R.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},R.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(ie(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(ie(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},R.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,ie(this,0)):null},R.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,r,o){return n!==o[r-1]}).reverse(),qu(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,qu(this),this)},R.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},R.prototype.onCompile=function(){};const lu=2147483647,V=36,se=1,Cu=26,Xn=38,Jn=700,Ke=72,u0=128,e0="-",Qn=/^xn--/,Yn=/[^\0-\x7F]/,Kn=/[\x2E\u3002\uFF0E\uFF61]/g,ur={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ae=V-se,j=Math.floor,le=String.fromCharCode;function Y(u){throw new RangeError(ur[u])}function er(u,e){const t=[];let n=u.length;for(;n--;)t[n]=e(u[n]);return t}function t0(u,e){const t=u.split("@");let n="";t.length>1&&(n=t[0]+"@",u=t[1]),u=u.replace(Kn,".");const r=u.split("."),o=er(r,e).join(".");return n+o}function n0(u){const e=[];let t=0;const n=u.length;for(;t<n;){const r=u.charCodeAt(t++);if(r>=55296&&r<=56319&&t<n){const o=u.charCodeAt(t++);(o&64512)==56320?e.push(((r&1023)<<10)+(o&1023)+65536):(e.push(r),t--)}else e.push(r)}return e}const tr=u=>String.fromCodePoint(...u),nr=function(u){return u>=48&&u<58?26+(u-48):u>=65&&u<91?u-65:u>=97&&u<123?u-97:V},r0=function(u,e){return u+22+75*(u<26)-((e!=0)<<5)},o0=function(u,e,t){let n=0;for(u=t?j(u/Jn):u>>1,u+=j(u/e);u>ae*Cu>>1;n+=V)u=j(u/ae);return j(n+(ae+1)*u/(u+Xn))},c0=function(u){const e=[],t=u.length;let n=0,r=u0,o=Ke,c=u.lastIndexOf(e0);c<0&&(c=0);for(let i=0;i<c;++i)u.charCodeAt(i)>=128&&Y("not-basic"),e.push(u.charCodeAt(i));for(let i=c>0?c+1:0;i<t;){const s=n;for(let f=1,d=V;;d+=V){i>=t&&Y("invalid-input");const b=nr(u.charCodeAt(i++));b>=V&&Y("invalid-input"),b>j((lu-n)/f)&&Y("overflow"),n+=b*f;const p=d<=o?se:d>=o+Cu?Cu:d-o;if(b<p)break;const h=V-p;f>j(lu/h)&&Y("overflow"),f*=h}const a=e.length+1;o=o0(n-s,a,s==0),j(n/a)>lu-r&&Y("overflow"),r+=j(n/a),n%=a,e.splice(n++,0,r)}return String.fromCodePoint(...e)},i0=function(u){const e=[];u=n0(u);const t=u.length;let n=u0,r=0,o=Ke;for(const s of u)s<128&&e.push(le(s));const c=e.length;let i=c;for(c&&e.push(e0);i<t;){let s=lu;for(const f of u)f>=n&&f<s&&(s=f);const a=i+1;s-n>j((lu-r)/a)&&Y("overflow"),r+=(s-n)*a,n=s;for(const f of u)if(f<n&&++r>lu&&Y("overflow"),f===n){let d=r;for(let b=V;;b+=V){const p=b<=o?se:b>=o+Cu?Cu:b-o;if(d<p)break;const h=d-p,m=V-p;e.push(le(r0(p+h%m,0))),d=j(h/m)}e.push(le(r0(d,0))),o=o0(r,a,i===c),r=0,++i}++r,++n}return e.join("")},s0={version:"2.3.1",ucs2:{decode:n0,encode:tr},decode:c0,encode:i0,toASCII:function(u){return t0(u,function(e){return Yn.test(e)?"xn--"+i0(e):e})},toUnicode:function(u){return t0(u,function(e){return Qn.test(e)?c0(e.slice(4).toLowerCase()):e})}},rr={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},or=/^(vbscript|javascript|file|data):/,cr=/^data:image\/(gif|png|jpeg|webp);/;function ir(u){const e=u.trim().toLowerCase();return or.test(e)?cr.test(e):!0}const a0=["http:","https:","mailto:"];function sr(u){const e=Gu(u,!0);if(e.hostname&&(!e.protocol||a0.indexOf(e.protocol)>=0))try{e.hostname=s0.toASCII(e.hostname)}catch{}return mu(Wu(e))}function ar(u){const e=Gu(u,!0);if(e.hostname&&(!e.protocol||a0.indexOf(e.protocol)>=0))try{e.hostname=s0.toUnicode(e.hostname)}catch{}return cu(Wu(e),cu.defaultChars+"%")}function M(u,e){if(!(this instanceof M))return new M(u,e);e||Yu(u)||(e=u||{},u="default"),this.inline=new yu,this.block=new Ru,this.core=new ee,this.renderer=new su,this.linkify=new R,this.validateLink=ir,this.normalizeLink=sr,this.normalizeLinkText=ar,this.utils=gt,this.helpers=Fu({},Et),this.options={},this.configure(u),e&&this.set(e)}M.prototype.set=function(u){return Fu(this.options,u),this},M.prototype.configure=function(u){const e=this;if(Yu(u)){const t=u;if(u=rr[t],!u)throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!u)throw new Error("Wrong `markdown-it` preset, can't be empty");return u.options&&e.set(u.options),u.components&&Object.keys(u.components).forEach(function(t){u.components[t].rules&&e[t].ruler.enableOnly(u.components[t].rules),u.components[t].rules2&&e[t].ruler2.enableOnly(u.components[t].rules2)}),this},M.prototype.enable=function(u,e){let t=[];Array.isArray(u)||(u=[u]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.enable(u,!0))},this),t=t.concat(this.inline.ruler2.enable(u,!0));const n=u.filter(function(r){return t.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},M.prototype.disable=function(u,e){let t=[];Array.isArray(u)||(u=[u]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.disable(u,!0))},this),t=t.concat(this.inline.ruler2.disable(u,!0));const n=u.filter(function(r){return t.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},M.prototype.use=function(u){const e=[this].concat(Array.prototype.slice.call(arguments,1));return u.apply(u,e),this},M.prototype.parse=function(u,e){if(typeof u!="string")throw new Error("Input data should be a String");const t=new this.core.State(u,this,e);return this.core.process(t),t.tokens},M.prototype.render=function(u,e){return e=e||{},this.renderer.render(this.parse(u,e),this.options,e)},M.prototype.parseInline=function(u,e){const t=new this.core.State(u,this,e);return t.inlineMode=!0,this.core.process(t),t.tokens},M.prototype.renderInline=function(u,e){return e=e||{},this.renderer.render(this.parseInline(u,e),this.options,e)};function lr(u,e){const t=new M({html:!0,typographer:!0});return t.use(z0),e&&e.forEach(n=>t.use(n)),t.parse(u,"")}const fe=(u,e)=>{const t=u.__vccOpts||u;for(const[n,r]of e)t[n]=r;return t},fr={},dr={class:"sq-icon","data-icon":"caret-up"};function hr(u,e){return l.openBlock(),l.createElementBlock("span",dr,e[0]||(e[0]=[l.createElementVNode("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[l.createElementVNode("path",{d:"M34.29,28.09l-9.59-9.59c-.2-.2-.45-.29-.71-.29s-.51.1-.71.29l-9.59,9.59c-.63.63-.18,1.71.71,1.71h19.17c.22,0,.42-.07.57-.18.47-.33.6-1.06.13-1.53Z"})],-1)]))}const pr=fe(fr,[["render",hr]]),br={},mr={class:"sq-icon","data-icon":"jump-to"};function xr(u,e){return l.openBlock(),l.createElementBlock("span",mr,e[0]||(e[0]=[l.createElementVNode("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[l.createElementVNode("path",{d:"M42,22c-1.1,0-2,.9-2,2v14c0,1.1-.9,2-2,2H10c-1.1,0-2-.9-2-2V10c0-1.1.9-2,2-2h14c1.1,0,2-.9,2-2s-.9-2-2-2h-14c-3.31,0-6,2.69-6,6v28c0,3.31,2.69,6,6,6h28c3.31,0,6-2.69,6-6v-14c0-1.1-.9-2-2-2Z"}),l.createElementVNode("path",{d:"M43.96,5.61c-.01-.06-.03-.11-.05-.17-.02-.07-.04-.14-.06-.2-.03-.07-.07-.13-.1-.19-.03-.05-.05-.1-.08-.15-.15-.22-.34-.41-.55-.55-.05-.03-.1-.05-.15-.08-.06-.04-.13-.07-.2-.1-.07-.03-.13-.04-.2-.06-.06-.02-.11-.04-.17-.05-.13-.03-.26-.04-.39-.04h-10c-1.1,0-2,.9-2,2s.9,2,2,2h5.17l-14.59,14.59c-.78.78-.78,2.05,0,2.83.39.39.9.59,1.41.59s1.02-.2,1.41-.59l14.59-14.59v5.17c0,1.1.9,2,2,2s2-.9,2-2V6c0-.13-.01-.26-.04-.39Z"})],-1)]))}const _r=fe(br,[["render",xr]]),gr={},kr={class:"sq-icon is-loading","data-icon":"loading"};function yr(u,e){return l.openBlock(),l.createElementBlock("span",kr,e[0]||(e[0]=[l.createElementVNode("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[l.createElementVNode("circle",{cx:"24",cy:"24",r:"20"})],-1)]))}const Cr=fe(gr,[["render",yr]]);function Er(u){const e=f0(u)??[];return l.h("article",{class:"sq-article"},l0(e))}function l0(u){if(u)return u.map(e=>typeof e=="string"?e:l.h(e.tag,e.attrs,l0(e.children)))}function f0(u){const e=[],t={children:[]};let n=t;return u.forEach(r=>{var d,b,p,h,m,_,C,x,g,k,y;const{type:o,children:c,content:i,attrs:s,tag:a,hidden:f}=r;switch(o){case"heading_open":case"paragraph_open":case"bullet_list_open":case"ordered_list_open":case"list_item_open":case"table_open":case"thead_open":case"tbody_open":case"tr_open":case"th_open":case"td_open":case"blockquote_open":case"strong_open":case"em_open":case"s_open":case"link_open":{if(f)break;const D={tag:a,children:[],attrs:s?Object.fromEntries(s):{}};if(o==="link_open"){const E=r.attrGet("href")??"",w=document.location.origin;E!=null&&E.startsWith("http")&&!E.includes(w)&&(D.attrs.target="_blank",D.attrs.rel="noopener noreferrer",D.attrs.dataOuter="",(d=D.children)==null||d.push({tag:_r}))}if(o==="table_open"){const E={tag:"div",children:[],attrs:{class:"sq-article-table"}};(b=n.children)==null||b.push(E),e.push(n),n=E}(p=n.children)==null||p.push(D),e.push(n),n=D;break}case"heading_close":case"paragraph_close":case"bullet_list_close":case"ordered_list_close":case"list_item_close":case"table_close":case"thead_close":case"tbody_close":case"tr_close":case"th_close":case"td_close":case"blockquote_close":case"strong_close":case"em_close":case"s_close":case"link_close":{if(f)break;n=e.pop();break}case"code_inline":{(h=n.children)==null||h.push({tag:"code",children:[i],attrs:s?Object.fromEntries(s):{}});break}case"inline":{if(c){const D=f0(c);(m=n.children)==null||m.push(...D??[])}else(_=n.children)==null||_.push(i);break}case"text":{(C=n.children)==null||C.push(i);break}case"image":{(x=n.children)==null||x.push({tag:a,children:[],attrs:s?Object.fromEntries(s):{}});break}case"hr":{(g=n.children)==null||g.push({tag:a});break}case"input":{(k=n.children)==null||k.push({tag:a,children:[],attrs:s?Object.fromEntries(s):{}});break}case"html_inline":{if(i.startsWith("</"))n=e.pop();else{const D=i.replace("<","").replace(">",""),E={tag:D,children:[]};D==="blur"&&(E.tag="span",E.attrs={"data-blur":""}),(y=n.children)==null||y.push(E),e.push(n),n=E}break}}}),t.children}const Dr=l.defineComponent({props:{text:{type:String,required:!0},md:{type:Boolean,default:!0},plugins:{type:Object}},setup(u){return()=>{if(!u.md)return l.h("article",{class:"sq-article",innerHTML:u.text});const e=lr(u.text,u.plugins);return Er(e)}}}),Ar={key:0,viewBox:"0 0 100 100",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},wr={key:1,class:"sq-progress-label"},Fr=["textContent"],d0=l.defineComponent({__name:"progress",props:{value:{},min:{default:0},max:{default:100},stroke:{default:4},color:{},type:{default:"primary"},theme:{default:"line"},label:{type:Boolean,default:!0}},setup(u){const e=new ResizeObserver(a),t=u,n=l.ref(100),r=l.shallowRef(null),o=l.computed(()=>{const f=[];return t.color||f.push(`is-${t.type}`),t.theme!=="line"&&f.push(`is-${t.theme}`),f}),c=l.computed(()=>{const f=t.max-t.min;return(t.value-t.min)*100/f}),i=l.computed(()=>`${Math.round(c.value*10)/10} %`),s=l.computed(()=>{const f={};if(f["--progress-stroke"]=`${t.stroke}px`,t.theme==="line")f["--progress-value"]=`${c.value}%`;else if(r.value){const d=100/n.value*t.stroke,b=(100-d)/2,p=Math.PI*b*2,h=c.value/100;f["--progress-circle-r"]=`${b}px`,f["--progress-circle-l"]=`${p}px`,f["--progress-circle-stroke"]=`${d}px`,f["--progress-value"]=`${p*h}`,c.value===0&&(f["--progress-circle-opaciry"]="0")}if(t.color){const b=typeof t.color=="string"?t.color:t.color(c.value);f["--progress-color"]=b}return f});l.onMounted(()=>{e.observe(r.value)}),l.onBeforeUnmount(()=>{e.disconnect()});function a(){n.value=r.value.getBoundingClientRect().width}return(f,d)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["sq-progress",o.value]),ref_key:"progressRef",ref:r,style:l.normalizeStyle(s.value)},[t.theme==="circle"?(l.openBlock(),l.createElementBlock("svg",Ar,[...d[0]||(d[0]=[l.createElementVNode("circle",{class:"sq-progress-track",cx:"50",cy:"50"},null,-1),l.createElementVNode("circle",{class:"sq-progress-path",cx:"50",cy:"50"},null,-1)])])):l.createCommentVNode("",!0),t.theme==="circle"&&t.label?(l.openBlock(),l.createElementBlock("div",wr,[l.renderSlot(f.$slots,"default",{percentage:c.value},()=>[l.createElementVNode("span",{textContent:l.toDisplayString(i.value)},null,8,Fr)])])):l.createCommentVNode("",!0)],6))}}),Sr={class:"sq-backtop"},Br=l.defineComponent({__name:"backtop",props:{progress:{type:Boolean,default:!0},icon:{default:pr},transition:{default:"sq-rotate-in-left"},visibilityHeight:{default:100},target:{default:"#app"},progressProps:{}},setup(u){const e=new ResizeObserver(i),t=u,n=l.ref(100),r=l.ref(0),o=l.computed(()=>r.value>t.visibilityHeight);l.onMounted(()=>{i(),r.value=window.scrollY,window.addEventListener("scroll",c);const a=document.querySelector(t.target)??document.body;e.observe(a)}),l.onBeforeUnmount(()=>{window.removeEventListener("scroll",c),e.disconnect});function c(){r.value=window.scrollY}function i(){const a=document.body.scrollHeight,f=window.innerHeight;n.value=a-f}function s(){window.scrollTo({top:0,behavior:"smooth"})}return(a,f)=>(l.openBlock(),l.createBlock(l.Transition,{name:t.transition},{default:l.withCtx(()=>{var d,b,p;return[l.withDirectives(l.createElementVNode("div",Sr,[l.createElementVNode("div",{class:"sq-backtop-wrap",onClick:s},[t.progress?(l.openBlock(),l.createBlock(l.unref(d0),{key:0,theme:"circle",label:!1,value:r.value,max:n.value,type:(d=t.progressProps)==null?void 0:d.type,stroke:(b=t.progressProps)==null?void 0:b.stroke,color:(p=t.progressProps)==null?void 0:p.color},null,8,["value","max","type","stroke","color"])):l.createCommentVNode("",!0),l.renderSlot(a.$slots,"default",{},()=>[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(t.icon)))])])],512),[[l.vShow,o.value]])]}),_:3},8,["name"]))}}),h0=Symbol("button-group-context-keys"),vr=["disabled"],Tr=l.defineComponent({__name:"button",props:{type:{},round:{type:Boolean},text:{type:Boolean},icon:{},loading:{type:Boolean},disabled:{type:Boolean},size:{default:"md"}},setup(u){const e=l.inject(h0,void 0),t=u,n=l.computed(()=>{const a=[],f=c.value,d=i.value,b=s.value;return f!=="md"&&a.push(`sq-button--${f}`),d&&a.push(`is-${d}`),b&&a.push("is-round"),!(e!=null&&e.value)&&t.text&&a.push("is-text"),a}),r=l.computed(()=>t.loading?Cr:t.icon),o=l.computed(()=>t.loading||t.disabled),c=l.computed(()=>{var a;return((a=e==null?void 0:e.value)==null?void 0:a.size)??t.size}),i=l.computed(()=>{var a;return((a=e==null?void 0:e.value)==null?void 0:a.type)??t.type}),s=l.computed(()=>{var a;return((a=e==null?void 0:e.value)==null?void 0:a.round)??t.round});return(a,f)=>(l.openBlock(),l.createElementBlock("button",{class:l.normalizeClass(["sq-button",n.value]),disabled:o.value},[l.createVNode(l.unref(Hu),{size:t.size},{default:l.withCtx(()=>[r.value?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(r.value),{key:0})):l.createCommentVNode("",!0),l.renderSlot(a.$slots,"default")]),_:3},8,["size"])],10,vr))}}),Rr={class:"sq-button-group"},zr=l.defineComponent({__name:"button-group",props:{size:{default:"md"},type:{},round:{type:Boolean}},setup(u){const e=u;return l.provide(h0,l.ref({size:l.toRef(e,"size"),type:l.toRef(e,"type"),round:l.toRef(e,"round")})),(t,n)=>(l.openBlock(),l.createElementBlock("div",Rr,[l.renderSlot(t.$slots,"default")]))}}),qr={class:"sq-card"},Mr={key:0,class:"sq-card-header"},Lr=["textContent"],Ir={key:1,class:"sq-card-footer"},Or=l.defineComponent({__name:"card",props:{title:{},decorative:{type:Boolean,default:!1}},setup(u){const e=l.useSlots(),t=u;return(n,r)=>(l.openBlock(),l.createElementBlock("section",qr,[t.title||l.unref(e).title?(l.openBlock(),l.createElementBlock("div",Mr,[l.createElementVNode("h2",{class:l.normalizeClass({"has-decorative":t.decorative}),textContent:l.toDisplayString(t.title)},null,10,Lr),l.renderSlot(n.$slots,"title")])):l.createCommentVNode("",!0),l.renderSlot(n.$slots,"default"),l.unref(e).footer?(l.openBlock(),l.createElementBlock("div",Ir,[l.renderSlot(n.$slots,"footer")])):l.createCommentVNode("",!0)]))}}),Pr={key:0,class:"sq-input-prefix"},Nr=["disabled","readonly"],$r={key:1,class:"sq-input-suffix"},Vr=l.defineComponent({__name:"input",props:l.mergeModels({status:{},round:{type:Boolean},showStatusIcon:{type:Boolean},prefixIcon:{},suffixIcon:{},disabled:{type:Boolean},readonly:{type:Boolean},size:{default:"md"}},{value:{type:String,default:""},valueModifiers:{}}),emits:l.mergeModels(["focus","blur","input","change"],["update:value"]),setup(u,{expose:e,emit:t}){const n=l.useSlots(),r=t,o=u,c=l.useModel(u,"value"),i=l.shallowRef(null),s=l.computed(()=>{const h=[];return o.size!=="md"&&h.push(`sq-input--${o.size}`),o.status&&h.push(`is-${o.status}`),o.round&&h.push("is-round"),o.disabled&&h.push("is-disabled"),h}),a=l.computed(()=>n.prefix||o.prefixIcon),f=l.computed(()=>{const h=o.showStatusIcon&&o.status;return n.suffix||h||o.suffixIcon}),d=l.computed(()=>o.suffixIcon);function b(){var h;(h=i.value)==null||h.focus()}function p(){var h;(h=i.value)==null||h.blur()}return e({focus:b,blur:p}),(h,m)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["sq-input",s.value])},[a.value?(l.openBlock(),l.createElementBlock("span",Pr,[l.renderSlot(h.$slots,"prefix",{},()=>[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(o.prefixIcon)))])])):l.createCommentVNode("",!0),l.withDirectives(l.createElementVNode("input",{"onUpdate:modelValue":m[0]||(m[0]=_=>c.value=_),class:"sq-input-inner",disabled:o.disabled,readonly:o.readonly,ref_key:"inputRef",ref:i,onFocus:m[1]||(m[1]=_=>r("focus",_)),onBlur:m[2]||(m[2]=_=>r("blur",_)),onInput:m[3]||(m[3]=_=>r("input",_)),onChange:m[4]||(m[4]=_=>r("change",_))},null,40,Nr),[[l.vModelText,c.value]]),f.value?(l.openBlock(),l.createElementBlock("span",$r,[l.renderSlot(h.$slots,"suffix",{},()=>[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(d.value)))])])):l.createCommentVNode("",!0)],2))}}),de=Math.min,fu=Math.max,Mu=Math.round,Lu=Math.floor,H=u=>({x:u,y:u}),jr={left:"right",right:"left",bottom:"top",top:"bottom"},Hr={start:"end",end:"start"};function he(u,e){return typeof u=="function"?u(e):u}function du(u){return u.split("-")[0]}function Iu(u){return u.split("-")[1]}function Ur(u){return u==="x"?"y":"x"}function p0(u){return u==="y"?"height":"width"}const Zr=new Set(["top","bottom"]);function eu(u){return Zr.has(du(u))?"y":"x"}function b0(u){return Ur(eu(u))}function Wr(u,e,t){t===void 0&&(t=!1);const n=Iu(u),r=b0(u),o=p0(r);let c=r==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(c=Ou(c)),[c,Ou(c)]}function Gr(u){const e=Ou(u);return[pe(u),e,pe(e)]}function pe(u){return u.replace(/start|end/g,e=>Hr[e])}const m0=["left","right"],x0=["right","left"],Xr=["top","bottom"],Jr=["bottom","top"];function Qr(u,e,t){switch(u){case"top":case"bottom":return t?e?x0:m0:e?m0:x0;case"left":case"right":return e?Xr:Jr;default:return[]}}function Yr(u,e,t,n){const r=Iu(u);let o=Qr(du(u),t==="start",n);return r&&(o=o.map(c=>c+"-"+r),e&&(o=o.concat(o.map(pe)))),o}function Ou(u){return u.replace(/left|right|bottom|top/g,e=>jr[e])}function Kr(u){return{top:0,right:0,bottom:0,left:0,...u}}function uo(u){return typeof u!="number"?Kr(u):{top:u,right:u,bottom:u,left:u}}function Pu(u){const{x:e,y:t,width:n,height:r}=u;return{width:n,height:r,top:t,left:e,right:e+n,bottom:t+r,x:e,y:t}}function _0(u,e,t){let{reference:n,floating:r}=u;const o=eu(e),c=b0(e),i=p0(c),s=du(e),a=o==="y",f=n.x+n.width/2-r.width/2,d=n.y+n.height/2-r.height/2,b=n[i]/2-r[i]/2;let p;switch(s){case"top":p={x:f,y:n.y-r.height};break;case"bottom":p={x:f,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-r.width,y:d};break;default:p={x:n.x,y:n.y}}switch(Iu(e)){case"start":p[c]-=b*(t&&a?-1:1);break;case"end":p[c]+=b*(t&&a?-1:1);break}return p}const eo=async(u,e,t)=>{const{placement:n="bottom",strategy:r="absolute",middleware:o=[],platform:c}=t,i=o.filter(Boolean),s=await(c.isRTL==null?void 0:c.isRTL(e));let a=await c.getElementRects({reference:u,floating:e,strategy:r}),{x:f,y:d}=_0(a,n,s),b=n,p={},h=0;for(let m=0;m<i.length;m++){const{name:_,fn:C}=i[m],{x,y:g,data:k,reset:y}=await C({x:f,y:d,initialPlacement:n,placement:b,strategy:r,middlewareData:p,rects:a,platform:c,elements:{reference:u,floating:e}});f=x??f,d=g??d,p={...p,[_]:{...p[_],...k}},y&&h<=50&&(h++,typeof y=="object"&&(y.placement&&(b=y.placement),y.rects&&(a=y.rects===!0?await c.getElementRects({reference:u,floating:e,strategy:r}):y.rects),{x:f,y:d}=_0(a,b,s)),m=-1)}return{x:f,y:d,placement:b,strategy:r,middlewareData:p}};async function to(u,e){var t;e===void 0&&(e={});const{x:n,y:r,platform:o,rects:c,elements:i,strategy:s}=u,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:b=!1,padding:p=0}=he(e,u),h=uo(p),_=i[b?d==="floating"?"reference":"floating":d],C=Pu(await o.getClippingRect({element:(t=await(o.isElement==null?void 0:o.isElement(_)))==null||t?_:_.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(i.floating)),boundary:a,rootBoundary:f,strategy:s})),x=d==="floating"?{x:n,y:r,width:c.floating.width,height:c.floating.height}:c.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(i.floating)),k=await(o.isElement==null?void 0:o.isElement(g))?await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1}:{x:1,y:1},y=Pu(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:x,offsetParent:g,strategy:s}):x);return{top:(C.top-y.top+h.top)/k.y,bottom:(y.bottom-C.bottom+h.bottom)/k.y,left:(C.left-y.left+h.left)/k.x,right:(y.right-C.right+h.right)/k.x}}const no=function(u){return u===void 0&&(u={}),{name:"flip",options:u,async fn(e){var t,n;const{placement:r,middlewareData:o,rects:c,initialPlacement:i,platform:s,elements:a}=e,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:b,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,..._}=he(u,e);if((t=o.arrow)!=null&&t.alignmentOffset)return{};const C=du(r),x=eu(i),g=du(i)===i,k=await(s.isRTL==null?void 0:s.isRTL(a.floating)),y=b||(g||!m?[Ou(i)]:Gr(i)),D=h!=="none";!b&&D&&y.push(...Yr(i,m,h,k));const E=[i,...y],w=await to(e,_),v=[];let L=((n=o.flip)==null?void 0:n.overflows)||[];if(f&&v.push(w[C]),d){const W=Wr(r,c,k);v.push(w[W[0]],w[W[1]])}if(L=[...L,{placement:r,overflows:v}],!v.every(W=>W<=0)){var bu,Uu;const W=(((bu=o.flip)==null?void 0:bu.index)||0)+1,G=E[W];if(G&&(!(d==="alignment"?x!==eu(G):!1)||L.every(P=>eu(P.placement)===x?P.overflows[0]>0:!0)))return{data:{index:W,overflows:L},reset:{placement:G}};let ru=(Uu=L.filter(ou=>ou.overflows[0]<=0).sort((ou,P)=>ou.overflows[1]-P.overflows[1])[0])==null?void 0:Uu.placement;if(!ru)switch(p){case"bestFit":{var Zu;const ou=(Zu=L.filter(P=>{if(D){const uu=eu(P.placement);return uu===x||uu==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(uu=>uu>0).reduce((uu,Xo)=>uu+Xo,0)]).sort((P,uu)=>P[1]-uu[1])[0])==null?void 0:Zu[0];ou&&(ru=ou);break}case"initialPlacement":ru=i;break}if(r!==ru)return{reset:{placement:ru}}}return{}}}},ro=new Set(["left","top"]);async function oo(u,e){const{placement:t,platform:n,elements:r}=u,o=await(n.isRTL==null?void 0:n.isRTL(r.floating)),c=du(t),i=Iu(t),s=eu(t)==="y",a=ro.has(c)?-1:1,f=o&&s?-1:1,d=he(e,u);let{mainAxis:b,crossAxis:p,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return i&&typeof h=="number"&&(p=i==="end"?h*-1:h),s?{x:p*f,y:b*a}:{x:b*a,y:p*f}}const co=function(u){return u===void 0&&(u=0),{name:"offset",options:u,async fn(e){var t,n;const{x:r,y:o,placement:c,middlewareData:i}=e,s=await oo(e,u);return c===((t=i.offset)==null?void 0:t.placement)&&(n=i.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:o+s.y,data:{...s,placement:c}}}}};function Nu(){return typeof window<"u"}function tu(u){return be(u)?(u.nodeName||"").toLowerCase():"#document"}function z(u){var e;return(u==null||(e=u.ownerDocument)==null?void 0:e.defaultView)||window}function U(u){var e;return(e=(be(u)?u.ownerDocument:u.document)||window.document)==null?void 0:e.documentElement}function be(u){return Nu()?u instanceof Node||u instanceof z(u).Node:!1}function I(u){return Nu()?u instanceof Element||u instanceof z(u).Element:!1}function Z(u){return Nu()?u instanceof HTMLElement||u instanceof z(u).HTMLElement:!1}function g0(u){return!Nu()||typeof ShadowRoot>"u"?!1:u instanceof ShadowRoot||u instanceof z(u).ShadowRoot}const io=new Set(["inline","contents"]);function Eu(u){const{overflow:e,overflowX:t,overflowY:n,display:r}=O(u);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!io.has(r)}const so=new Set(["table","td","th"]);function ao(u){return so.has(tu(u))}const lo=[":popover-open",":modal"];function $u(u){return lo.some(e=>{try{return u.matches(e)}catch{return!1}})}const fo=["transform","translate","scale","rotate","perspective"],ho=["transform","translate","scale","rotate","perspective","filter"],po=["paint","layout","strict","content"];function me(u){const e=xe(),t=I(u)?O(u):u;return fo.some(n=>t[n]?t[n]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||ho.some(n=>(t.willChange||"").includes(n))||po.some(n=>(t.contain||"").includes(n))}function bo(u){let e=K(u);for(;Z(e)&&!hu(e);){if(me(e))return e;if($u(e))return null;e=K(e)}return null}function xe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const mo=new Set(["html","body","#document"]);function hu(u){return mo.has(tu(u))}function O(u){return z(u).getComputedStyle(u)}function Vu(u){return I(u)?{scrollLeft:u.scrollLeft,scrollTop:u.scrollTop}:{scrollLeft:u.scrollX,scrollTop:u.scrollY}}function K(u){if(tu(u)==="html")return u;const e=u.assignedSlot||u.parentNode||g0(u)&&u.host||U(u);return g0(e)?e.host:e}function k0(u){const e=K(u);return hu(e)?u.ownerDocument?u.ownerDocument.body:u.body:Z(e)&&Eu(e)?e:k0(e)}function Du(u,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);const r=k0(u),o=r===((n=u.ownerDocument)==null?void 0:n.body),c=z(r);if(o){const i=_e(c);return e.concat(c,c.visualViewport||[],Eu(r)?r:[],i&&t?Du(i):[])}return e.concat(r,Du(r,[],t))}function _e(u){return u.parent&&Object.getPrototypeOf(u.parent)?u.frameElement:null}function y0(u){const e=O(u);let t=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const r=Z(u),o=r?u.offsetWidth:t,c=r?u.offsetHeight:n,i=Mu(t)!==o||Mu(n)!==c;return i&&(t=o,n=c),{width:t,height:n,$:i}}function ge(u){return I(u)?u:u.contextElement}function pu(u){const e=ge(u);if(!Z(e))return H(1);const t=e.getBoundingClientRect(),{width:n,height:r,$:o}=y0(e);let c=(o?Mu(t.width):t.width)/n,i=(o?Mu(t.height):t.height)/r;return(!c||!Number.isFinite(c))&&(c=1),(!i||!Number.isFinite(i))&&(i=1),{x:c,y:i}}const xo=H(0);function C0(u){const e=z(u);return!xe()||!e.visualViewport?xo:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function _o(u,e,t){return e===void 0&&(e=!1),!t||e&&t!==z(u)?!1:e}function nu(u,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);const r=u.getBoundingClientRect(),o=ge(u);let c=H(1);e&&(n?I(n)&&(c=pu(n)):c=pu(u));const i=_o(o,t,n)?C0(o):H(0);let s=(r.left+i.x)/c.x,a=(r.top+i.y)/c.y,f=r.width/c.x,d=r.height/c.y;if(o){const b=z(o),p=n&&I(n)?z(n):n;let h=b,m=_e(h);for(;m&&n&&p!==h;){const _=pu(m),C=m.getBoundingClientRect(),x=O(m),g=C.left+(m.clientLeft+parseFloat(x.paddingLeft))*_.x,k=C.top+(m.clientTop+parseFloat(x.paddingTop))*_.y;s*=_.x,a*=_.y,f*=_.x,d*=_.y,s+=g,a+=k,h=z(m),m=_e(h)}}return Pu({width:f,height:d,x:s,y:a})}function ju(u,e){const t=Vu(u).scrollLeft;return e?e.left+t:nu(U(u)).left+t}function E0(u,e){const t=u.getBoundingClientRect(),n=t.left+e.scrollLeft-ju(u,t),r=t.top+e.scrollTop;return{x:n,y:r}}function go(u){let{elements:e,rect:t,offsetParent:n,strategy:r}=u;const o=r==="fixed",c=U(n),i=e?$u(e.floating):!1;if(n===c||i&&o)return t;let s={scrollLeft:0,scrollTop:0},a=H(1);const f=H(0),d=Z(n);if((d||!d&&!o)&&((tu(n)!=="body"||Eu(c))&&(s=Vu(n)),Z(n))){const p=nu(n);a=pu(n),f.x=p.x+n.clientLeft,f.y=p.y+n.clientTop}const b=c&&!d&&!o?E0(c,s):H(0);return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+f.x+b.x,y:t.y*a.y-s.scrollTop*a.y+f.y+b.y}}function ko(u){return Array.from(u.getClientRects())}function yo(u){const e=U(u),t=Vu(u),n=u.ownerDocument.body,r=fu(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=fu(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-t.scrollLeft+ju(u);const i=-t.scrollTop;return O(n).direction==="rtl"&&(c+=fu(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:c,y:i}}const D0=25;function Co(u,e){const t=z(u),n=U(u),r=t.visualViewport;let o=n.clientWidth,c=n.clientHeight,i=0,s=0;if(r){o=r.width,c=r.height;const f=xe();(!f||f&&e==="fixed")&&(i=r.offsetLeft,s=r.offsetTop)}const a=ju(n);if(a<=0){const f=n.ownerDocument,d=f.body,b=getComputedStyle(d),p=f.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,h=Math.abs(n.clientWidth-d.clientWidth-p);h<=D0&&(o-=h)}else a<=D0&&(o+=a);return{width:o,height:c,x:i,y:s}}const Eo=new Set(["absolute","fixed"]);function Do(u,e){const t=nu(u,!0,e==="fixed"),n=t.top+u.clientTop,r=t.left+u.clientLeft,o=Z(u)?pu(u):H(1),c=u.clientWidth*o.x,i=u.clientHeight*o.y,s=r*o.x,a=n*o.y;return{width:c,height:i,x:s,y:a}}function A0(u,e,t){let n;if(e==="viewport")n=Co(u,t);else if(e==="document")n=yo(U(u));else if(I(e))n=Do(e,t);else{const r=C0(u);n={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return Pu(n)}function w0(u,e){const t=K(u);return t===e||!I(t)||hu(t)?!1:O(t).position==="fixed"||w0(t,e)}function Ao(u,e){const t=e.get(u);if(t)return t;let n=Du(u,[],!1).filter(i=>I(i)&&tu(i)!=="body"),r=null;const o=O(u).position==="fixed";let c=o?K(u):u;for(;I(c)&&!hu(c);){const i=O(c),s=me(c);!s&&i.position==="fixed"&&(r=null),(o?!s&&!r:!s&&i.position==="static"&&!!r&&Eo.has(r.position)||Eu(c)&&!s&&w0(u,c))?n=n.filter(f=>f!==c):r=i,c=K(c)}return e.set(u,n),n}function wo(u){let{element:e,boundary:t,rootBoundary:n,strategy:r}=u;const c=[...t==="clippingAncestors"?$u(e)?[]:Ao(e,this._c):[].concat(t),n],i=c[0],s=c.reduce((a,f)=>{const d=A0(e,f,r);return a.top=fu(d.top,a.top),a.right=de(d.right,a.right),a.bottom=de(d.bottom,a.bottom),a.left=fu(d.left,a.left),a},A0(e,i,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Fo(u){const{width:e,height:t}=y0(u);return{width:e,height:t}}function So(u,e,t){const n=Z(e),r=U(e),o=t==="fixed",c=nu(u,!0,o,e);let i={scrollLeft:0,scrollTop:0};const s=H(0);function a(){s.x=ju(r)}if(n||!n&&!o)if((tu(e)!=="body"||Eu(r))&&(i=Vu(e)),n){const p=nu(e,!0,o,e);s.x=p.x+e.clientLeft,s.y=p.y+e.clientTop}else r&&a();o&&!n&&r&&a();const f=r&&!n&&!o?E0(r,i):H(0),d=c.left+i.scrollLeft-s.x-f.x,b=c.top+i.scrollTop-s.y-f.y;return{x:d,y:b,width:c.width,height:c.height}}function ke(u){return O(u).position==="static"}function F0(u,e){if(!Z(u)||O(u).position==="fixed")return null;if(e)return e(u);let t=u.offsetParent;return U(u)===t&&(t=t.ownerDocument.body),t}function S0(u,e){const t=z(u);if($u(u))return t;if(!Z(u)){let r=K(u);for(;r&&!hu(r);){if(I(r)&&!ke(r))return r;r=K(r)}return t}let n=F0(u,e);for(;n&&ao(n)&&ke(n);)n=F0(n,e);return n&&hu(n)&&ke(n)&&!me(n)?t:n||bo(u)||t}const Bo=async function(u){const e=this.getOffsetParent||S0,t=this.getDimensions,n=await t(u.floating);return{reference:So(u.reference,await e(u.floating),u.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function vo(u){return O(u).direction==="rtl"}const To={convertOffsetParentRelativeRectToViewportRelativeRect:go,getDocumentElement:U,getClippingRect:wo,getOffsetParent:S0,getElementRects:Bo,getClientRects:ko,getDimensions:Fo,getScale:pu,isElement:I,isRTL:vo};function B0(u,e){return u.x===e.x&&u.y===e.y&&u.width===e.width&&u.height===e.height}function Ro(u,e){let t=null,n;const r=U(u);function o(){var i;clearTimeout(n),(i=t)==null||i.disconnect(),t=null}function c(i,s){i===void 0&&(i=!1),s===void 0&&(s=1),o();const a=u.getBoundingClientRect(),{left:f,top:d,width:b,height:p}=a;if(i||e(),!b||!p)return;const h=Lu(d),m=Lu(r.clientWidth-(f+b)),_=Lu(r.clientHeight-(d+p)),C=Lu(f),g={rootMargin:-h+"px "+-m+"px "+-_+"px "+-C+"px",threshold:fu(0,de(1,s))||1};let k=!0;function y(D){const E=D[0].intersectionRatio;if(E!==s){if(!k)return c();E?c(!1,E):n=setTimeout(()=>{c(!1,1e-7)},1e3)}E===1&&!B0(a,u.getBoundingClientRect())&&c(),k=!1}try{t=new IntersectionObserver(y,{...g,root:r.ownerDocument})}catch{t=new IntersectionObserver(y,g)}t.observe(u)}return c(!0),o}function zo(u,e,t,n){n===void 0&&(n={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:s=!1}=n,a=ge(u),f=r||o?[...a?Du(a):[],...Du(e)]:[];f.forEach(C=>{r&&C.addEventListener("scroll",t,{passive:!0}),o&&C.addEventListener("resize",t)});const d=a&&i?Ro(a,t):null;let b=-1,p=null;c&&(p=new ResizeObserver(C=>{let[x]=C;x&&x.target===a&&p&&(p.unobserve(e),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var g;(g=p)==null||g.observe(e)})),t()}),a&&!s&&p.observe(a),p.observe(e));let h,m=s?nu(u):null;s&&_();function _(){const C=nu(u);m&&!B0(m,C)&&t(),m=C,h=requestAnimationFrame(_)}return t(),()=>{var C;f.forEach(x=>{r&&x.removeEventListener("scroll",t),o&&x.removeEventListener("resize",t)}),d==null||d(),(C=p)==null||C.disconnect(),p=null,s&&cancelAnimationFrame(h)}}const qo=co,Mo=no,Lo=(u,e,t)=>{const n=new Map,r={platform:To,...t},o={...r.platform,_c:n};return eo(u,e,{...r,platform:o})};function Io(u){return u!=null&&typeof u=="object"&&"$el"in u}function v0(u){if(Io(u)){const e=u.$el;return be(e)&&tu(e)==="#comment"?null:e}return u}function Au(u){return typeof u=="function"?u():l.unref(u)}function T0(u){return typeof window>"u"?1:(u.ownerDocument.defaultView||window).devicePixelRatio||1}function R0(u,e){const t=T0(u);return Math.round(e*t)/t}function Oo(u,e,t){t===void 0&&(t={});const n=t.whileElementsMounted,r=l.computed(()=>{var E;return(E=Au(t.open))!=null?E:!0}),o=l.computed(()=>Au(t.middleware)),c=l.computed(()=>{var E;return(E=Au(t.placement))!=null?E:"bottom"}),i=l.computed(()=>{var E;return(E=Au(t.strategy))!=null?E:"absolute"}),s=l.computed(()=>{var E;return(E=Au(t.transform))!=null?E:!0}),a=l.computed(()=>v0(u.value)),f=l.computed(()=>v0(e.value)),d=l.ref(0),b=l.ref(0),p=l.ref(i.value),h=l.ref(c.value),m=l.shallowRef({}),_=l.ref(!1),C=l.computed(()=>{const E={position:p.value,left:"0",top:"0"};if(!f.value)return E;const w=R0(f.value,d.value),v=R0(f.value,b.value);return s.value?{...E,transform:"translate("+w+"px, "+v+"px)",...T0(f.value)>=1.5&&{willChange:"transform"}}:{position:p.value,left:w+"px",top:v+"px"}});let x;function g(){if(a.value==null||f.value==null)return;const E=r.value;Lo(a.value,f.value,{middleware:o.value,placement:c.value,strategy:i.value}).then(w=>{d.value=w.x,b.value=w.y,p.value=w.strategy,h.value=w.placement,m.value=w.middlewareData,_.value=E!==!1})}function k(){typeof x=="function"&&(x(),x=void 0)}function y(){if(k(),n===void 0){g();return}if(a.value!=null&&f.value!=null){x=n(a.value,f.value,g);return}}function D(){r.value||(_.value=!1)}return l.watch([o,c,i,r],g,{flush:"sync"}),l.watch([a,f],y,{flush:"sync"}),l.watch(r,D,{flush:"sync"}),l.getCurrentScope()&&l.onScopeDispose(k),{x:l.shallowReadonly(d),y:l.shallowReadonly(b),strategy:l.shallowReadonly(p),placement:l.shallowReadonly(h),middlewareData:l.shallowReadonly(m),isPositioned:l.shallowReadonly(_),floatingStyles:C,update:g}}const Po=l.defineComponent({__name:"popover",props:l.mergeModels({placement:{default:"top"},offset:{default:10},teleported:{type:Boolean,default:!0},trigger:{default:"hover"},showAfter:{default:0},hideAfter:{default:300},disabled:{type:Boolean},transition:{default:"sq-fade"},popoverClass:{}},{visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:["update:visible"],setup(u){let e;const t=u,n=l.shallowRef(null),r=l.shallowRef(null),o=l.useModel(u,"visible"),{floatingStyles:c}=Oo(n,r,{placement:t.placement,whileElementsMounted:zo,transform:!1,middleware:[qo(t.offset),Mo()]});l.onBeforeUnmount(()=>{b(),document.removeEventListener("click",d)});function i(){t.trigger!=="hover"||t.disabled||(b(),e=setTimeout(()=>{f(!1)},t.showAfter))}function s(){t.trigger==="hover"&&(b(),e=setTimeout(()=>{d()},t.hideAfter))}function a(p){t.trigger==="click"&&!t.disabled&&!o.value&&(p.stopPropagation(),f())}function f(p=!0){o.value=!0,p&&document.addEventListener("click",d)}function d(){o.value=!1,document.removeEventListener("click",d)}function b(){e&&(clearTimeout(e),e=void 0)}return(p,h)=>(l.openBlock(),l.createElementBlock(l.Fragment,null,[l.createElementVNode("span",{class:l.normalizeClass(["sq-popover-trigger",p.$attrs.class]),style:l.normalizeStyle(p.$attrs.style),ref_key:"triggerRef",ref:n,onMouseenter:i,onMouseleave:s,onClick:a},[l.renderSlot(p.$slots,"reference")],38),(l.openBlock(),l.createBlock(l.Teleport,{to:"body",disabled:!t.teleported},[l.createVNode(l.Transition,{name:t.transition},{default:l.withCtx(()=>[l.withDirectives(l.createElementVNode("div",{class:l.normalizeClass(["sq-popover",p.popoverClass]),ref_key:"popverRef",ref:r,style:l.normalizeStyle(l.unref(c)),onClick:h[0]||(h[0]=l.withModifiers(()=>{},["stop"]))},[l.renderSlot(p.$slots,"default")],6),[[l.vShow,o.value]])]),_:3},8,["name"])],8,["disabled"]))],64))}}),No=l.defineComponent({__name:"tag",props:{type:{},theme:{default:"plain"},round:{type:Boolean},size:{default:"md"}},setup(u){const e=u,t=l.computed(()=>{const r=[];return e.size!=="md"&&r.push(`sq-tag--${e.size}`),e.theme!=="plain"&&e.type&&r.push(`is-${e.theme}`),e.type&&r.push(`is-${e.type}`),e.round&&r.push("is-round"),r}),n=l.computed(()=>e.size==="lg"?"md":"sm");return(r,o)=>(l.openBlock(),l.createBlock(l.unref(Hu),{class:l.normalizeClass(["sq-tag",t.value]),size:n.value},{default:l.withCtx(()=>[l.renderSlot(r.$slots,"default")]),_:3},8,["class","size"]))}}),$o=l.defineComponent({__name:"check-tag",props:{checked:{type:Boolean,default:!1},theme:{default:"plain"},type:{default:"primary"},round:{type:Boolean},size:{default:"md"}},emits:["change"],setup(u,{emit:e}){const t=e,n=u,r=l.computed(()=>{const c=[];return n.size!=="md"&&c.push(`sq-tag--${n.size}`),n.theme!=="plain"&&c.push(`is-${n.theme}`),n.type&&c.push(`is-${n.type}`),n.round&&c.push("is-round"),n.checked&&c.push("is-checked"),c}),o=l.computed(()=>n.size==="lg"?"md":"sm");return(c,i)=>(l.openBlock(),l.createBlock(l.unref(Hu),{class:l.normalizeClass(["sq-check-tag",r.value]),size:o.value,onClick:i[0]||(i[0]=s=>t("change",!n.checked))},{default:l.withCtx(()=>[l.renderSlot(c.$slots,"default")]),_:3},8,["class","size"]))}}),Hu=l.defineComponent({__name:"text",props:{rowNum:{default:1},ellipsis:{type:Boolean,default:!1},size:{default:"md"}},setup(u){const e=u,t=l.computed(()=>{const r=[];return e.size!=="md"&&r.push(`s-text--${e.size}`),e.ellipsis&&r.push(e.rowNum>1?"multi-line":"single-line"),r}),n=l.computed(()=>e.ellipsis?`--row-num: ${e.rowNum}`:"");return(r,o)=>(l.openBlock(),l.createElementBlock("span",{class:l.normalizeClass(["sq-text",t.value]),style:l.normalizeStyle(n.value)},[l.renderSlot(r.$slots,"default")],6))}}),Vo=l.defineComponent({__name:"timeline",props:{align:{default:"left"}},setup(u){const e=u,t=l.computed(()=>{const n=[];return n.push(`align-${e.align}`),n});return(n,r)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["sq-timeline",t.value])},[l.renderSlot(n.$slots,"default")],2))}}),jo={class:"sq-timeline-dot"},Ho={class:"sq-timeline-content"},Uo=["textContent"],Zo=["textContent"],Wo={class:"content-info"},Go=l.defineComponent({__name:"timeline-item",props:{color:{},type:{},icon:{},hollow:{type:Boolean},timestamp:{},theme:{default:"card"},title:{}},setup(u){const e=u,t=l.computed(()=>{const r=[];return e.theme!=="card"&&r.push(`is-${e.theme}`),e.type&&r.push(`is-${e.type}`),e.hollow&&r.push("is-hollow"),r}),n=l.computed(()=>{const r={};return e.color&&(r["--timeline-dot-color"]=e.color),r});return(r,o)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["sq-timeline-item",t.value]),style:l.normalizeStyle(n.value)},[l.createElementVNode("span",jo,[e.icon?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.icon),{key:0})):l.createCommentVNode("",!0)]),l.createElementVNode("div",Ho,[e.title?(l.openBlock(),l.createElementBlock("h2",{key:0,class:"content-title",textContent:l.toDisplayString(e.title)},null,8,Uo)):l.createCommentVNode("",!0),e.timestamp?(l.openBlock(),l.createElementBlock("span",{key:1,class:"content-time",textContent:l.toDisplayString(e.timestamp)},null,8,Zo)):l.createCommentVNode("",!0),l.createElementVNode("div",Wo,[l.renderSlot(r.$slots,"default")])])],6))}});F.SqArticle=Dr,F.SqBacktop=Br,F.SqButton=Tr,F.SqButtonGroup=zr,F.SqCard=Or,F.SqCheckTag=$o,F.SqInput=Vr,F.SqPopover=Po,F.SqProgress=d0,F.SqTag=No,F.SqText=Hu,F.SqTimeline=Vo,F.SqTimelineItem=Go,Object.defineProperty(F,Symbol.toStringTag,{value:"Module"})}));
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- @layer theme,component,type,custom;@layer theme{:root{color-scheme:light;--sq-bg-color: oklch(.98 .0034 248);--sq-bg-color-dark: oklch(from var(--sq-bg-color) .96 c h);--sq-component-bg-color: #fff;--sq-projection-dark: oklch(.95 .02 259);--sq-projection-light: #fff;--sq-text-color: oklch(.27 .03 257);--sq-text-color-secondary: oklch(from var(--sq-text-color) .45 c h);--sq-text-color-placeholder: oklch(from var(--sq-text-color) .65 c h);--sq-border-color: oklch(.94 0 253);--sq-border-color-light: oklch(from var(--sq-border-color) .96 c h);--sq-border-color-lighter: oklch(from var(--sq-border-color) .98 c h);--sq-color-primary: oklch(.75 .18 48);--sq-color-primary-light-5: oklch(from var(--sq-color-primary) l c h / .08);--sq-color-primary-light-4: oklch(from var(--sq-color-primary) l c h / .2);--sq-color-primary-light-3: oklch(from var(--sq-color-primary) l c h / .4);--sq-color-primary-light-2: oklch(from var(--sq-color-primary) l c h / .6);--sq-color-primary-light-1: oklch(from var(--sq-color-primary) l c h / .8);--sq-color-primary-dark-1: oklch(from var(--sq-color-primary) .65 c h);--sq-color-success: oklch(.75 .22 151);--sq-color-success-light-5: oklch(from var(--sq-color-success) l c h / .08);--sq-color-success-light-4: oklch(from var(--sq-color-success) l c h / .2);--sq-color-success-light-3: oklch(from var(--sq-color-success) l c h / .4);--sq-color-success-light-2: oklch(from var(--sq-color-success) l c h / .6);--sq-color-success-light-1: oklch(from var(--sq-color-success) l c h / .8);--sq-color-success-dark-1: oklch(from var(--sq-color-success) .65 c h);--sq-color-info: oklch(.75 .14 230);--sq-color-info-light-5: oklch(from var(--sq-color-info) l c h / .08);--sq-color-info-light-4: oklch(from var(--sq-color-info) l c h / .2);--sq-color-info-light-3: oklch(from var(--sq-color-info) l c h / .4);--sq-color-info-light-2: oklch(from var(--sq-color-info) l c h / .6);--sq-color-info-light-1: oklch(from var(--sq-color-info) l c h / .8);--sq-color-info-dark-1: oklch(from var(--sq-color-info) .65 c h);--sq-color-warn: oklch(.75 .14 76);--sq-color-warn-light-5: oklch(from var(--sq-color-warn) l c h / .08);--sq-color-warn-light-4: oklch(from var(--sq-color-warn) l c h / .2);--sq-color-warn-light-3: oklch(from var(--sq-color-warn) l c h / .4);--sq-color-warn-light-2: oklch(from var(--sq-color-warn) l c h / .6);--sq-color-warn-light-1: oklch(from var(--sq-color-warn) l c h / .8);--sq-color-warn-dark-1: oklch(from var(--sq-color-warn) .65 c h);--sq-color-error: oklch(.75 .25 29);--sq-color-error-light-5: oklch(from var(--sq-color-error) l c h / .08);--sq-color-error-light-4: oklch(from var(--sq-color-error) l c h / .2);--sq-color-error-light-3: oklch(from var(--sq-color-error) l c h / .4);--sq-color-error-light-2: oklch(from var(--sq-color-error) l c h / .6);--sq-color-error-light-1: oklch(from var(--sq-color-error) l c h / .8);--sq-color-error-dark-1: oklch(from var(--sq-color-error) .65 c h);--sq-font-family: Microsoft YaHei, Pingfang SC, sans-serif;--sq-font-size-sm: 12px;--sq-font-size-md: 14px;--sq-font-size-lg: 16px;--sq-radius-sm: 6px;--sq-radius-md: 8px;--sq-radius-lg: 12px;--sq-radius-full: calc(infinity * 1px);--sq-opacity-80: .8;--sq-opacity-20: .2;--sq-padding-xs: 8px;--sq-padding-sm: 12px;--sq-padding-md: 24px;--sq-padding-lg: 36px;--sq-padding-xl: 48px;--sq-blur-sm: 4px;--sq-blur-md: 10px;--sq-blur-lg: 50px;--sq-component-size-xs: 24px;--sq-component-size-sm: 28px;--sq-component-size-md: 36px;--sq-component-size-lg: 48px;--sq-transition-base: .3s ease;--sq-transition-linear: .3s linear;--sq-shadow-xs-dark: 2px 2px 3px;--sq-shadow-xs-light: -2px -2px 3px;--sq-shadow-sm-dark: 4px 4px 6px;--sq-shadow-sm-light: -4px -4px 6px;--sq-shadow-md-dark: 6px 6px 9px;--sq-shadow-md-light: -6px -6px 9px;--sq-shadow-lg-dark: 8px 8px 12px;--sq-shadow-lg-light: -8px -8px 12px;--sq-text-shadow: 1px 1px 1px rgb(0 0 0 / var(--sq-opacity-20))}:root.dark{color-scheme:dark}@media (max-width: 768px){:root{--sq-radius-sm: 4px;--sq-radius-md: 6px;--sq-radius-lg: 8px;--sq-padding-xs: 6px;--sq-padding-sm: 10px;--sq-padding-md: 20px;--sq-padding-lg: 30px;--sq-padding-xl: 40px}}}@layer theme{.sq-fade-enter-active{animation:fade var(--sq-transition-base)}.sq-fade-leave-active{animation:reverse fade var(--sq-transition-base)}.sq-slide-up-enter-active{animation:slide-up var(--sq-transition-base)}.sq-slide-up-leave-active{animation:reverse slide-up var(--sq-transition-base)}.sq-rotate-in-left-enter-active{animation:rotate-in-left var(--sq-transition-base)}.sq-rotate-in-left-leave-active{animation:reverse rotate-in-left var(--sq-transition-base)}.sq-rotate-in-right-enter-active{animation:rotate-in-right var(--sq-transition-base)}.sq-rotate-in-right-leave-active{animation:reverse rotate-in-right var(--sq-transition-base)}.sq-zoom-top-enter-active,.sq-zoom-top-leave-active{transform-origin:top}.sq-zoom-top-enter-active{animation:zoom var(--sq-transition-base)}.sq-zoom-top-leave-active{animation:reverse zoomt var(--sq-transition-base)}.sq-zoom-bottom-enter-active,.sq-zoom-bottom-leave-active{transform-origin:bottom}.sq-zoom-bottom-enter-active{animation:zoom var(--sq-transition-base)}.sq-zoom-bottom-leave-active{animation:reverse zoom var(--sq-transition-base)}@keyframes fade{0%{transform:scale(.8);opacity:0}to{transform:none;opacity:1}}@keyframes slide-up{0%{transform:translateY(var(--sq-padding-lg));opacity:0}to{transform:none;opacity:1}}@keyframes rotate-in-left{0%{transform:translate(200%) rotate(180deg);opacity:0}to{transform:none;opacity:1}}@keyframes rotate-in-right{0%{transform:translate(-200%) rotate(180deg);opacity:0}to{transform:none;opacity:1}}@keyframes zoom{0%{transform:scaleY(0);opacity:0}to{transform:none;opacity:1}}}@layer component{@keyframes loading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dashoffset:70}50%{stroke-dashoffset:125}to{stroke-dashoffset:70}}.sq-icon{display:inline-flex}.sq-icon>svg{width:1em;height:1em;fill:currentColor}.sq-icon.is-loading>svg{transform-origin:center;animation:loading 1s linear infinite}.sq-icon[data-icon=loading] circle{fill:none;stroke:currentColor;stroke-width:4;stroke-dasharray:130;stroke-linecap:round;animation:dash 2s ease-in-out infinite}}@layer component{.sq-article{line-height:1.6;display:flex;flex-direction:column;color:currentColor;font-size:var(--sq-font-size-md);row-gap:var(--sq-padding-sm)}.sq-article::selection{background-color:var(--sq-color-primary);color:#fff;text-shadow:var(--sq-text-shadow)}.sq-article p,.sq-article h1,.sq-article h2,.sq-article h3,.sq-article h4,.sq-article h5,.sq-article h6{margin:0}.sq-article p:has(img){display:flex}.sq-article h1,.sq-article h2,.sq-article h3,.sq-article h4,.sq-article h5,.sq-article h6{color:var(--sq-text-color)}.sq-article ul,.sq-article ol{margin:0;padding:0;list-style-type:none}.sq-article ul>li,.sq-article ol>li{position:relative;padding-inline-start:var(--sq-padding-md)}.sq-article ul>li:before,.sq-article ol>li:before{position:absolute;left:0}.sq-article ul>li:before{content:"";background-color:currentColor;aspect-ratio:1;width:4px;border-radius:var(--sq-radius-full);top:calc(.8em - 2px)}.sq-article ol{counter-reset:section}.sq-article ol>li{counter-increment:section}.sq-article ol>li:before{content:counter(section) ".";top:0}.sq-article img{max-width:100%;border-radius:var(--sq-radius-md)}.sq-article hr{height:1px;width:100%;border:none;background:var(--sq-border-color)}.sq-article a{text-decoration:none;color:var(--sq-color-primary);border-bottom:1px solid transparent;word-break:break-all}.sq-article a:hover{border-block-end-color:var(--sq-color-primary)}.sq-article a .sq-icon{vertical-align:middle;transform:translateY(-1px)}.sq-article input[type=checkbox]{height:1em;vertical-align:middle;margin:0;margin-inline-end:var(--sq-padding-xs);transform:translateY(-1px)}.sq-article span[data-blur]{border-radius:var(--sq-radius-sm);filter:blur(var(--sq-blur-sm));overflow:hidden;-webkit-user-select:none;user-select:none;transition:filter var(--sq-transition-base)}.sq-article span[data-blur]:hover{filter:none}.sq-article code{word-break:break-all;border-radius:var(--sq-radius-sm);background-color:var(--sq-color-primary-light-5);color:var(--sq-color-primary);padding:.4em .6em}.sq-article code:lang(zh){font-family:var(--sq-font-family)}.sq-article blockquote{margin:0;padding:var(--sq-padding-sm);border-radius:var(--sq-radius-md);border-inline-start:4px solid var(--sq-color-primary);background-color:var(--sq-color-primary-light-5)}.sq-article-table{border:1px solid var(--sq-border-color);border-radius:var(--sq-radius-md);overflow:hidden}.sq-article-table table{border-collapse:collapse;width:100%}.sq-article-table table thead{color:var(--sq-text-color);background-color:var(--sq-bg-color)}.sq-article-table table tbody{color:var(--sq-text-color-secondary)}.sq-article-table table th,.sq-article-table table td{padding:var(--sq-padding-xs) var(--sq-padding-sm)}.sq-article-table table th{position:relative}.sq-article-table table th:not(:last-child):after{content:"";position:absolute;z-index:1;right:0;top:calc(50% - .5em);border:1px solid var(--sq-border-color);height:1em}.sq-article-table table tr:nth-child(2n){background-color:var(--sq-bg-color)}ul>li.sq-article-task-list-item{padding-inline-start:0}ul>li.sq-article-task-list-item:before{content:none}}@layer component{.sq-progress{display:flex;align-items:center;justify-content:center;height:var(--progress-stroke);background-color:var(--sq-border-color);border-radius:var(--sq-radius-full);position:relative}.sq-progress:after{content:"";position:absolute;height:100%;width:var(--progress-value);border-radius:var(--sq-radius-full);top:0;left:0;background:var(--progress-color);z-index:1;transition:width var(--sq-transition-linear)}.sq-progress.is-circle{border-radius:0;aspect-ratio:1;height:auto;background-color:transparent}.sq-progress.is-circle:after{content:none}.sq-progress.is-circle circle{r:var(--progress-circle-r);stroke-width:var(--progress-circle-stroke);fill:transparent}.sq-progress-track{stroke:var(--sq-border-color)}.sq-progress-path{stroke-linecap:round;stroke:var(--progress-color);stroke-dasharray:var(--progress-value),var(--progress-circle-l);transform:rotate(-90deg);transform-origin:center;transition:stroke-dasharray var(--sq-transition-linear),stroke var(--sq-transition-base),opacity var(--sq-transition-linear);opacity:var(--progress-circle-opaciry, 1)}.sq-progress-label{position:absolute;font-size:var(--sq-font-size-lg);color:var(--sq-text-color-secondary)}}@layer type{.sq-progress.is-primary{--progress-color: var(--sq-color-primary)}.sq-progress.is-success{--progress-color: var(--sq-color-success)}.sq-progress.is-info{--progress-color: var(--sq-color-info)}.sq-progress.is-warn{--progress-color: var(--sq-color-warn)}.sq-progress.is-error{--progress-color: var(--sq-color-error)}}@layer component{.sq-backtop{--backtop-margin-right: var(--sq-padding-md);--backtop-margin-bottom: var(--sq-padding-md);--backtop-size: 50px;position:fixed;width:var(--backtop-size);height:var(--backtop-size);right:var(--backtop-margin-right);bottom:var(--backtop-margin-bottom);background-color:var(--sq-component-bg-color);border-radius:var(--sq-radius-full);cursor:pointer;font-size:var(--sq-font-size-md);color:var(--sq-text-color-secondary);z-index:2000;box-shadow:var(--sq-shadow-md-dark) var(--sq-projection-dark),var(--sq-shadow-md-light) var(--sq-projection-light);transition:color var(--sq-transition-base)}.sq-backtop:not(:has(.sq-progress)){border:1px solid var(--sq-border-color)}.sq-backtop:hover{color:var(--sq-color-primary)}.sq-backtop-wrap{position:relative;display:flex;align-items:center;justify-content:center;height:100%}.sq-backtop-wrap .sq-progress{width:100%;position:absolute}.sq-backtop-wrap .sq-icon{position:absolute;font-size:1.5em}}@layer component{.sq-button{--button-color: var(--sq-text-color);--button-color-hover: var(--sq-text-color-secondary);--button-color-disabled: var(--sq-text-color-placeholder);--button-bg-color: var(--sq-component-bg-color);--button-bg-color-hover: var(--sq-component-bg-color);--button-bg-color-disabled: var(--sq-bg-color);--button-border-color: var(--sq-border-color-light);--button-shadow-color: var(--sq-projection-dark);--button-padding: var(--sq-padding-sm);cursor:pointer;height:var(--sq-component-size-md);padding:0 var(--button-padding);color:var(--button-color);background-color:var(--button-bg-color);border:1px solid;border-color:var(--button-border-color);border-radius:var(--sq-radius-md);-webkit-user-select:none;user-select:none;transition:all var(--sq-transition-base)}.sq-button.sq-button--sm{height:var(--sq-component-size-sm)}.sq-button.sq-button--lg{--button-padding: calc(var(--sq-padding-xs) * 2);height:var(--sq-component-size-lg)}.sq-button:not(.is-text){box-shadow:var(--sq-shadow-sm-dark) var(--button-shadow-color),var(--sq-shadow-sm-light) var(--sq-projection-light)}.sq-button.is-round{border-radius:var(--sq-radius-full);padding:0 calc(var(--button-padding) + .4em)}.sq-button:disabled{cursor:not-allowed;color:var(--button-color-disabled);background-color:var(--button-bg-color-disabled)}.sq-button:hover:not(:disabled){color:var(--button-color-hover);background-color:var(--button-bg-color-hover)}.sq-button:active:not(:disabled){box-shadow:var(--sq-shadow-xs-dark) var(--button-shadow-color),var(--sq-shadow-xs-light) var(--sq-projection-light)}.sq-button .sq-text{line-height:1}}@layer type{.sq-button.is-primary{--button-color: #fff;--button-color-hover: #fff;--button-color-disabled: #fff;--button-bg-color: var(--sq-color-primary);--button-bg-color-hover: var(--sq-color-primary-dark-1);--button-bg-color-disabled: var(--sq-color-primary-light-3);--button-border-color: transparent;--button-shadow-color: var(--sq-color-primary-light-4)}.sq-button.is-success{--button-color: #fff;--button-color-hover: #fff;--button-color-disabled: #fff;--button-bg-color: var(--sq-color-success);--button-bg-color-hover: var(--sq-color-success-dark-1);--button-bg-color-disabled: var(--sq-color-success-light-3);--button-border-color: transparent;--button-shadow-color: var(--sq-color-success-light-4)}.sq-button.is-info{--button-color: #fff;--button-color-hover: #fff;--button-color-disabled: #fff;--button-bg-color: var(--sq-color-info);--button-bg-color-hover: var(--sq-color-info-dark-1);--button-bg-color-disabled: var(--sq-color-info-light-3);--button-border-color: transparent;--button-shadow-color: var(--sq-color-info-light-4)}.sq-button.is-warn{--button-color: #fff;--button-color-hover: #fff;--button-color-disabled: #fff;--button-bg-color: var(--sq-color-warn);--button-bg-color-hover: var(--sq-color-warn-dark-1);--button-bg-color-disabled: var(--sq-color-warn-light-3);--button-border-color: transparent;--button-shadow-color: var(--sq-color-warn-light-4)}.sq-button.is-error{--button-color: #fff;--button-color-hover: #fff;--button-color-disabled: #fff;--button-bg-color: var(--sq-color-error);--button-bg-color-hover: var(--sq-color-error-dark-1);--button-bg-color-disabled: var(--sq-color-error-light-3);--button-border-color: transparent;--button-shadow-color: var(--sq-color-error-light-4)}.sq-button.is-text{--button-color: var(--sq-text-color);--button-color-hover: var(--sq-text-color);--button-color-disabled: var(--sq-text-color-placeholder);--button-bg-color: transparent;--button-bg-color-hover: var(--sq-bg-color);--button-bg-color-disabled: var(--sq-bg-color);--button-border-color: transparent}.sq-button.is-text:active:not(:disabled){--button-border-color: var(--sq-border-color-light);--button-shadow-color: var(--sq-projection-dark);box-shadow:inset var(--sq-shadow-xs-dark) var(--button-shadow-color),inset var(--sq-shadow-xs-light) var(--sq-projection-light)}.sq-button.is-text.is-primary{--button-color: var(--sq-color-primary);--button-color-hover: var(--sq-color-primary-dark-1);--button-color-disabled: var(--sq-color-primary-light-3)}.sq-button.is-text.is-success{--button-color: var(--sq-color-success);--button-color-hover: var(--sq-color-success-dark-1);--button-color-disabled: var(--sq-color-success-light-3)}.sq-button.is-text.is-info{--button-color: var(--sq-color-info);--button-color-hover: var(--sq-color-info-dark-1);--button-color-disabled: var(--sq-color-info-light-3)}.sq-button.is-text.is-warn{--button-color: var(--sq-color-warn);--button-color-hover: var(--sq-color-warn-dark-1);--button-color-disabled: var(--sq-color-warn-light-3)}.sq-button.is-text.is-error{--button-color: var(--sq-color-error);--button-color-hover: var(--sq-color-error-dark-1);--button-color-disabled: var(--sq-color-error-light-3)}}@layer component{.sq-button-group{--button-group-shadow-color: var(--sq-projection-dark);border-radius:var(--sq-radius-md);box-shadow:var(--sq-shadow-sm-dark) var(--button-group-shadow-color),var(--sq-shadow-sm-light) var(--sq-projection-light)}.sq-button-group:has(.is-round){border-radius:var(--sq-radius-full)}.sq-button-group .sq-button{box-shadow:none}.sq-button-group .sq-button+.sq-button{border-left:none}.sq-button-group .sq-button:active{box-shadow:none}.sq-button-group .sq-button:not(:first-child){border-start-start-radius:0;border-end-start-radius:0}.sq-button-group .sq-button:not(:first-child).is-round{padding-inline-start:var(--button-padding)}.sq-button-group .sq-button:not(:last-child){border-start-end-radius:0;border-end-end-radius:0;border-inline-end-color:var(--sq-border-color-light)}.sq-button-group .sq-button:not(:last-child).is-round{padding-inline-end:var(--button-padding)}}@layer type{.sq-button-group:has(.is-primary){--button-group-shadow-color: var(--sq-color-primary-light-4)}.sq-button-group:has(.is-success){--button-group-shadow-color: var(--sq-color-success-light-4)}.sq-button-group:has(.is-info){--button-group-shadow-color: var(--sq-color-info-light-4)}.sq-button-group:has(.is-warn){--button-group-shadow-color: var(--sq-color-warn-light-4)}.sq-button-group:has(.is-error){--button-group-shadow-color: var(--sq-color-error-light-4)}}@layer component{.sq-card{padding:var(--sq-padding-md);border-radius:var(--sq-radius-lg);border:1px solid var(--sq-border-color-light);background-color:var(--sq-component-bg-color);color:var(--sq-text-color-secondary);font-size:var(--sq-font-size-md);line-height:1.6;box-shadow:var(--sq-shadow-lg-dark) var(--sq-projection-dark),var(--sq-shadow-lg-light) var(--sq-projection-light)}.sq-card::selection{background-color:var(--sq-color-primary);color:#fff;text-shadow:var(--sq-text-shadow)}.sq-card .sq-card-header{margin-bottom:var(--sq-padding-md);line-height:1;display:flex;align-items:center;justify-content:space-between}.sq-card .sq-card-header h2{color:var(--sq-text-color);font-weight:700;font-size:var(--sq-font-size-lg);margin:0;padding:0}.sq-card .sq-card-header h2.has-decorative{position:relative;padding-left:var(--sq-padding-sm)}.sq-card .sq-card-header h2.has-decorative:before{content:"";position:absolute;height:1em;width:4px;top:50%;left:0;border-radius:var(--sq-radius-full);background-color:var(--sq-color-primary);transform:translateY(-50%)}.sq-card .sq-card-footer{display:flex;align-items:center;margin-top:var(--sq-padding-md)}}@layer component{.sq-input{--input-bg-color: var(--sq-component-bg-color);--input-bg-color-disabled: var(--sq-bg-color);--input-border-color: var(--sq-border-color-light);--input-border-color-active: var(--sq-color-primary);--input-border-color-disabled: var(--sq-border-color-light);--input-shadow-color: var(--sq-projection-dark);--input-selection-color: var(--sq-color-primary);--input-padding: var(--sq-padding-sm);height:var(--sq-component-size-md);width:100%;padding:0;display:flex;align-items:center;font-size:var(--sq-font-size-md);line-height:1.6;background-color:var(--input-bg-color);border:1px solid;border-color:var(--input-border-color);border-radius:var(--sq-radius-md);box-sizing:border-box;box-shadow:inset var(--sq-shadow-xs-dark) var(--input-shadow-color),inset var(--sq-shadow-xs-light) var(--sq-projection-light);transition:all var(--sq-transition-base)}.sq-input.sq-input--sm{height:var(--sq-component-size-sm);font-size:var(--sq-font-size-sm)}.sq-input.sq-input--lg{--input-padding: calc(var(--sq-padding-xs) * 2);height:var(--sq-component-size-lg);font-size:var(--sq-font-size-lg)}.sq-input::selection{background-color:var(--input-selection-color);color:#fff;text-shadow:var(--sq-text-shadow)}.sq-input.is-round{border-radius:var(--sq-radius-full);padding:0 .4em}.sq-input .sq-input-prefix,.sq-input .sq-input-suffix{color:var(--sq-text-color-placeholder);-webkit-user-select:none;user-select:none}.sq-input .sq-input-prefix{margin-left:var(--input-padding)}.sq-input .sq-input-inner{height:100%;width:0;flex:1;padding:0 var(--input-padding);caret-color:var(--input-selection-color);color:var(--sq-text-color);font-size:inherit;background:transparent;border:none;outline:none;line-height:1;font-family:var(--sq-font-family);transition:color var(--sq-transition-base)}.sq-input .sq-input-inner:read-only{color:var(--sq-text-color-placeholder)}.sq-input .sq-input-suffix{margin-right:var(--input-padding)}.sq-input.is-disabled{cursor:not-allowed;border-color:var(--input-border-color-disabled);background-color:var(--input-bg-color-disabled)}.sq-input.is-disabled .sq-input-inner{cursor:not-allowed;color:var(--sq-text-color-placeholder)}.sq-input:active:not(.is-disabled),.sq-input:focus-within:not(.is-disabled){--input-border-color: var(--input-border-color-active);box-shadow:none}}@layer type{.sq-input.is-success{--input-border-color: var(--sq-color-success);--input-border-color-active: var(--sq-color-success);--input-border-color-disabled: var(--sq-color-success-light-3);--input-shadow-color: var(--sq-color-success-light-4);--input-selection-color: var(--sq-color-success)}.sq-input.is-warn{--input-border-color: var(--sq-color-warn);--input-border-color-active: var(--sq-color-warn);--input-border-color-disabled: var(--sq-color-warn-light-3);--input-shadow-color: var(--sq-color-warn-light-4);--input-selection-color: var(--sq-color-warn)}.sq-input.is-error{--input-border-color: var(--sq-color-error);--input-border-color-active: var(--sq-color-error);--input-border-color-disabled: var(--sq-color-error-light-3);--input-shadow-color: var(--sq-color-error-light-4);--input-selection-color: var(--sq-color-error)}}@layer component{.sq-popover{font-size:var(--sq-font-size-md);font-family:var(--sq-font-family);background-color:var(--sq-component-bg-color);border-radius:var(--sq-radius-md);border:1px solid var(--sq-border-color-light);padding:var(--sq-padding-sm);line-height:1.6;color:var(--sq-text-color);z-index:2000;box-shadow:var(--sq-shadow-sm-dark) var(--sq-projection-dark),var(--sq-shadow-sm-light) var(--sq-projection-light)}}@layer component{.sq-tag{--tag-color: var(--sq-text-color);--tag-bg-color: var(--sq-component-bg-color);--tag-border-color: var(--sq-border-color-light);--tag-shadow-color: var(--sq-projection-dark);--tag-padding: var(--sq-padding-sm);border-radius:var(--sq-radius-sm);height:var(--sq-component-size-sm);padding:0 var(--tag-padding);color:var(--tag-color)!important;background-color:var(--tag-bg-color);border:1px solid var(--tag-border-color);box-sizing:border-box;box-shadow:inset var(--sq-shadow-xs-dark) var(--tag-shadow-color),inset var(--sq-shadow-xs-light) var(--sq-projection-light);-webkit-user-select:none;user-select:none}.sq-tag.sq-tag--sm{--tag-padding: var(--sq-padding-xs);height:var(--sq-component-size-xs)}.sq-tag.sq-tag--lg{height:var(--sq-component-size-md)}.sq-tag.is-round{border-radius:var(--sq-radius-full);padding-inline:calc(var(--sq-padding-sm) + .4em)}}@layer type{.sq-tag.is-primary,.sq-tag.is-success,.sq-tag.is-info,.sq-tag.is-warn,.sq-tag.is-error{--tag-bg-color: transparent;box-shadow:none}.sq-tag.is-primary{--tag-color: var(--sq-color-primary);--tag-border-color: var(--sq-color-primary-light-1)}.sq-tag.is-success{--tag-color: var(--sq-color-success);--tag-border-color: var(--sq-color-success-light-1)}.sq-tag.is-info{--tag-color: var(--sq-color-info);--tag-border-color: var(--sq-color-info-light-1)}.sq-tag.is-warn{--tag-color: var(--sq-color-warn);--tag-border-color: var(--sq-color-warn-light-1)}.sq-tag.is-error{--tag-color: var(--sq-color-error);--tag-border-color: var(--sq-color-error-light-1)}.sq-tag.is-solid{--tag-color: #fff;--tag-border-color: transparent}.sq-tag.is-solid.is-primary{--tag-bg-color: var(--sq-color-primary)}.sq-tag.is-solid.is-success{--tag-bg-color: var(--sq-color-success)}.sq-tag.is-solid.is-info{--tag-bg-color: var(--sq-color-info)}.sq-tag.is-solid.is-warn{--tag-bg-color: var(--sq-color-warn)}.sq-tag.is-solid.is-error{--tag-bg-color: var(--sq-color-error)}.sq-tag.is-tint{--tag-border-color: transparent}.sq-tag.is-tint.is-primary{--tag-color: var(--sq-color-primary);--tag-bg-color: var(--sq-color-primary-light-5)}.sq-tag.is-tint.is-success{--tag-color: var(--sq-color-success);--tag-bg-color: var(--sq-color-success-light-5)}.sq-tag.is-tint.is-info{--tag-color: var(--sq-color-info);--tag-bg-color: var(--sq-color-info-light-5)}.sq-tag.is-tint.is-warn{--tag-color: var(--sq-color-warn);--tag-bg-color: var(--sq-color-warn-light-5)}.sq-tag.is-tint.is-error{--tag-color: var(--sq-color-error);--tag-bg-color: var(--sq-color-error-light-5)}}@layer component{.sq-check-tag{--tag-color: var(--sq-color-primary);--tag-color-hover: var(--sq-color-primary-dark-1);--tag-bg-color: transparent;--tag-bg-color-hover: transparent;--tag-bg-color-checked: var(--sq-color-primary);--tag-bg-color-checked-hover: var(--sq-color-primary-dark-1);--tag-border-color: var(--sq-color-primary-light-1);--tag-border-color-hover: var(--sq-color-primary);--tag-padding: var(--sq-padding-sm);border-radius:var(--sq-radius-sm);height:var(--sq-component-size-sm);padding:0 var(--tag-padding);color:var(--tag-color)!important;background-color:var(--tag-bg-color);border:1px solid var(--tag-border-color);box-sizing:border-box;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all var(--sq-transition-base)}.sq-check-tag.sq-tag--sm{--tag-padding: var(--sq-padding-xs);height:var(--sq-component-size-xs)}.sq-check-tag.sq-tag--lg{height:var(--sq-component-size-md)}.sq-check-tag.is-round{border-radius:var(--sq-radius-full);padding-inline:calc(var(--sq-padding-sm) + .4em)}.sq-check-tag:hover{color:var(--tag-color-hover)!important;background-color:var(--tag-bg-color-hover);border-color:var(--tag-border-color-hover)}.sq-check-tag.is-checked{color:#fff!important;background-color:var(--tag-bg-color-checked);border-color:transparent}.sq-check-tag.is-checked:hover{background-color:var(--tag-bg-color-checked-hover)}}@layer type{.sq-check-tag.is-success{--tag-color: var(--sq-color-success);--tag-color-hover: var(--sq-color-success-dark-1);--tag-bg-color-checked: var(--sq-color-success);--tag-bg-color-checked-hover: var(--sq-color-success-dark-1);--tag-border-color: var(--sq-color-success-light-1);--tag-border-color-hover: var(--sq-color-success)}.sq-check-tag.is-info{--tag-color: var(--sq-color-info);--tag-color-hover: var(--sq-color-info-dark-1);--tag-bg-color-checked: var(--sq-color-info);--tag-bg-color-checked-hover: var(--sq-color-info-dark-1);--tag-border-color: var(--sq-color-info-light-1);--tag-border-color-hover: var(--sq-color-info)}.sq-check-tag.is-warn{--tag-color: var(--sq-color-warn);--tag-color-hover: var(--sq-color-warn-dark-1);--tag-bg-color-checked: var(--sq-color-warn);--tag-bg-color-checked-hover: var(--sq-color-warn-dark-1);--tag-border-color: var(--sq-color-warn-light-1);--tag-border-color-hover: var(--sq-color-warn)}.sq-check-tag.is-error{--tag-color: var(--sq-color-error);--tag-color-hover: var(--sq-color-error-dark-1);--tag-bg-color-checked: var(--sq-color-error);--tag-bg-color-checked-hover: var(--sq-color-error-dark-1);--tag-border-color: var(--sq-color-error-light-1);--tag-border-color-hover: var(--sq-color-error)}.sq-check-tag.is-tint{--tag-border-color: transparent;--tag-border-color-hover: transparent}.sq-check-tag.is-tint.is-primary{--tag-color: var(--sq-color-primary);--tag-color-hover: var(--sq-color-primary);--tag-bg-color: var(--sq-color-primary-light-5);--tag-bg-color-hover: var(--sq-color-primary-light-4)}.sq-check-tag.is-tint.is-success{--tag-color: var(--sq-color-success);--tag-color-hover: var(--sq-color-success);--tag-bg-color: var(--sq-color-success-light-5);--tag-bg-color-hover: var(--sq-color-success-light-4)}.sq-check-tag.is-tint.is-info{--tag-color: var(--sq-color-info);--tag-color-hover: var(--sq-color-info);--tag-bg-color: var(--sq-color-info-light-5);--tag-bg-color-hover: var(--sq-color-info-light-4)}.sq-check-tag.is-tint.is-warn{--tag-color: var(--sq-color-warn);--tag-color-hover: var(--sq-color-warn);--tag-bg-color: var(--sq-color-warn-light-5);--tag-bg-color-hover: var(--sq-color-warn-light-4)}.sq-check-tag.is-tint.is-error{--tag-color: var(--sq-color-error);--tag-color-hover: var(--sq-color-error);--tag-bg-color: var(--sq-color-error-light-5);--tag-bg-color-hover: var(--sq-color-error-light-4)}}@layer component{.sq-text{color:currentColor;display:flex;flex-grow:0;align-items:center;column-gap:.5em;font-family:var(--sq-font-family);font-size:var(--sq-font-size-md);line-height:1.6}.sq-text::selection{background-color:var(--sq-color-primary);color:#fff;text-shadow:var(--sq-text-shadow)}.sq-text.sq-text--sm{font-size:var(--sq-font-size-sm)}.sq-text.sq-text--lg{font-size:var(--sq-font-size-lg)}.sq-text.multi-line,.sq-text.single-line{display:block;overflow:hidden;text-overflow:ellipsis}.sq-text.single-line{white-space:nowrap}.sq-text.multi-line{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--row-num);line-clamp:var(--row-num)}}@layer component{.sq-timeline{--timeline-dot-size: 18px;--timeline-dot-color: var(--sq-border-color);--timeline-dot-mask: none;--timeline-content-gap: var(--sq-padding-sm);--timeline-line-type: solid;--timeline-line-color: var(--sq-border-color);container:sq-timeline / inline-size;display:flex;flex-direction:column;font-size:var(--sq-font-size-md)}.sq-timeline::selection{background-color:var(--sq-color-primary);color:#fff;text-shadow:var(--sq-text-shadow)}.sq-timeline .sq-timeline-item{display:flex;position:relative;width:100%;box-sizing:border-box;overflow:hidden;padding-inline:var(--timeline-dot-size) 0}.sq-timeline .sq-timeline-item:not(:last-child){padding-block-end:var(--sq-padding-md)}.sq-timeline .sq-timeline-item:before{content:"";position:absolute;z-index:1;border-inline-start:2px var(--timeline-line-type);border-inline-start-color:var(--timeline-line-color);height:100%;left:calc(var(--timeline-dot-size) / 2 - 1px);top:var(--timeline-dot-size)}.sq-timeline .sq-timeline-item.is-hollow{--timeline-dot-mask: radial-gradient( circle, transparent calc(var(--timeline-dot-size) / 2 - 4px), black calc(var(--timeline-dot-size) / 2 - 3px) )}.sq-timeline .sq-timeline-item .sq-timeline-dot{aspect-ratio:1;position:absolute;z-index:2;width:var(--timeline-dot-size);border-radius:var(--sq-radius-full);background:var(--timeline-dot-color);box-sizing:border-box;padding:2px;top:0;left:0;mask:var(--timeline-dot-mask);font-size:calc(var(--timeline-dot-size) - 4px);display:flex}.sq-timeline .sq-timeline-item .sq-timeline-dot>*{aspect-ratio:1;width:100%}.sq-timeline .sq-timeline-item .sq-timeline-content{display:flex;flex-direction:column;margin-inline:var(--timeline-content-gap) 0;width:100%;color:var(--sq-text-color-secondary);box-sizing:border-box;line-height:1.6}.sq-timeline .sq-timeline-item .sq-timeline-content .content-title{margin-block:0;line-height:1;color:var(--sq-text-color);font-size:var(--sq-font-size-lg)}.sq-timeline .sq-timeline-item .sq-timeline-content .content-time{display:block;color:var(--sq-text-color-placeholder);margin-block-start:var(--sq-padding-xs)}.sq-timeline .sq-timeline-item .sq-timeline-content .content-info{margin-block-start:var(--sq-padding-xs)}.sq-timeline .sq-timeline-item:not(.is-plain) .sq-timeline-content{padding:var(--sq-padding-md);background-color:var(--sq-component-bg-color);border-radius:var(--sq-radius-lg);border:1px solid var(--sq-border-color-light);box-shadow:inset var(--sq-shadow-sm-dark) var(--sq-projection-dark),inset var(--sq-shadow-sm-light) var(--sq-projection-light)}.sq-timeline .sq-timeline-item:not(.is-plain) .sq-timeline-content .content-info{margin-block-start:var(--sq-padding-sm)}@media (max-width: 768px){.sq-timeline{--timeline-dot-size: 14px}}}@layer type{.sq-timeline .sq-timeline-item.is-primary{--timeline-dot-color: var(--sq-color-primary)}.sq-timeline .sq-timeline-item.is-success{--timeline-dot-color: var(--sq-color-success)}.sq-timeline .sq-timeline-item.is-info{--timeline-dot-color: var(--sq-color-info)}.sq-timeline .sq-timeline-item.is-warn{--timeline-dot-color: var(--sq-color-warn)}.sq-timeline .sq-timeline-item.is-error{--timeline-dot-color: var(--sq-color-error)}.sq-timeline.align-right .sq-timeline-item{padding-inline:0 var(--timeline-dot-size)}.sq-timeline.align-right .sq-timeline-item:before{left:auto;right:calc(var(--timeline-dot-size) / 2 - 1px)}.sq-timeline.align-right .sq-timeline-item.is-plain .sq-timeline-content .content-title,.sq-timeline.align-right .sq-timeline-item.is-plain .sq-timeline-content .content-time,.sq-timeline.align-right .sq-timeline-item.is-plain .sq-timeline-content .content-info{align-self:flex-end}.sq-timeline.align-right .sq-timeline-item .sq-timeline-dot{left:auto;right:0}.sq-timeline.align-right .sq-timeline-item .sq-timeline-content{margin-inline:0 var(--timeline-content-gap)}@container sq-timeline (min-width: 800px){.sq-timeline.align-center .sq-timeline-item{padding-inline:0}.sq-timeline.align-center .sq-timeline-item:before{left:calc(50% - 1px)}.sq-timeline.align-center .sq-timeline-item:nth-child(2n){justify-content:flex-end}.sq-timeline.align-center .sq-timeline-item:nth-child(odd).is-plain .sq-timeline-content .content-title,.sq-timeline.align-center .sq-timeline-item:nth-child(odd).is-plain .sq-timeline-content .content-time,.sq-timeline.align-center .sq-timeline-item:nth-child(odd).is-plain .sq-timeline-content .content-info{align-self:flex-end}.sq-timeline.align-center .sq-timeline-item .sq-timeline-dot{left:calc(50% - var(--timeline-dot-size) / 2)}.sq-timeline.align-center .sq-timeline-item .sq-timeline-content{margin:0;width:calc(50% - var(--timeline-dot-size) / 2 - var(--timeline-content-gap))}}}
1
+ @layer theme,component,type,custom;@layer theme{:root{color-scheme:light;--sq-bg-color: oklch(.98 .0034 248);--sq-bg-color-dark: oklch(from var(--sq-bg-color) .96 c h);--sq-component-bg-color: #fff;--sq-projection-dark: oklch(.95 .02 259);--sq-projection-light: #fff;--sq-text-color: oklch(.27 .03 257);--sq-text-color-secondary: oklch(from var(--sq-text-color) .45 c h);--sq-text-color-placeholder: oklch(from var(--sq-text-color) .65 c h);--sq-border-color: oklch(.94 0 253);--sq-border-color-light: oklch(from var(--sq-border-color) .96 c h);--sq-border-color-lighter: oklch(from var(--sq-border-color) .98 c h);--sq-color-primary: oklch(.75 .18 48);--sq-color-primary-light-5: oklch(from var(--sq-color-primary) l c h / .08);--sq-color-primary-light-4: oklch(from var(--sq-color-primary) l c h / .2);--sq-color-primary-light-3: oklch(from var(--sq-color-primary) l c h / .4);--sq-color-primary-light-2: oklch(from var(--sq-color-primary) l c h / .6);--sq-color-primary-light-1: oklch(from var(--sq-color-primary) l c h / .8);--sq-color-primary-dark-1: oklch(from var(--sq-color-primary) .65 c h);--sq-color-success: oklch(.75 .22 151);--sq-color-success-light-5: oklch(from var(--sq-color-success) l c h / .08);--sq-color-success-light-4: oklch(from var(--sq-color-success) l c h / .2);--sq-color-success-light-3: oklch(from var(--sq-color-success) l c h / .4);--sq-color-success-light-2: oklch(from var(--sq-color-success) l c h / .6);--sq-color-success-light-1: oklch(from var(--sq-color-success) l c h / .8);--sq-color-success-dark-1: oklch(from var(--sq-color-success) .65 c h);--sq-color-info: oklch(.75 .14 230);--sq-color-info-light-5: oklch(from var(--sq-color-info) l c h / .08);--sq-color-info-light-4: oklch(from var(--sq-color-info) l c h / .2);--sq-color-info-light-3: oklch(from var(--sq-color-info) l c h / .4);--sq-color-info-light-2: oklch(from var(--sq-color-info) l c h / .6);--sq-color-info-light-1: oklch(from var(--sq-color-info) l c h / .8);--sq-color-info-dark-1: oklch(from var(--sq-color-info) .65 c h);--sq-color-warn: oklch(.75 .14 76);--sq-color-warn-light-5: oklch(from var(--sq-color-warn) l c h / .08);--sq-color-warn-light-4: oklch(from var(--sq-color-warn) l c h / .2);--sq-color-warn-light-3: oklch(from var(--sq-color-warn) l c h / .4);--sq-color-warn-light-2: oklch(from var(--sq-color-warn) l c h / .6);--sq-color-warn-light-1: oklch(from var(--sq-color-warn) l c h / .8);--sq-color-warn-dark-1: oklch(from var(--sq-color-warn) .65 c h);--sq-color-error: oklch(.75 .25 29);--sq-color-error-light-5: oklch(from var(--sq-color-error) l c h / .08);--sq-color-error-light-4: oklch(from var(--sq-color-error) l c h / .2);--sq-color-error-light-3: oklch(from var(--sq-color-error) l c h / .4);--sq-color-error-light-2: oklch(from var(--sq-color-error) l c h / .6);--sq-color-error-light-1: oklch(from var(--sq-color-error) l c h / .8);--sq-color-error-dark-1: oklch(from var(--sq-color-error) .65 c h);--sq-font-family: Microsoft YaHei, Pingfang SC, sans-serif;--sq-font-size-sm: 12px;--sq-font-size-md: 14px;--sq-font-size-lg: 16px;--sq-radius-sm: 6px;--sq-radius-md: 8px;--sq-radius-lg: 12px;--sq-radius-full: calc(infinity * 1px);--sq-opacity-80: .8;--sq-opacity-20: .2;--sq-padding-xs: 8px;--sq-padding-sm: 12px;--sq-padding-md: 24px;--sq-padding-lg: 36px;--sq-padding-xl: 48px;--sq-blur-sm: 4px;--sq-blur-md: 10px;--sq-blur-lg: 50px;--sq-component-size-xs: 24px;--sq-component-size-sm: 28px;--sq-component-size-md: 36px;--sq-component-size-lg: 48px;--sq-transition-base: .3s ease;--sq-transition-linear: .3s linear;--sq-shadow-xs-dark: 2px 2px 3px;--sq-shadow-xs-light: -2px -2px 3px;--sq-shadow-sm-dark: 4px 4px 6px;--sq-shadow-sm-light: -4px -4px 6px;--sq-shadow-md-dark: 6px 6px 9px;--sq-shadow-md-light: -6px -6px 9px;--sq-shadow-lg-dark: 8px 8px 12px;--sq-shadow-lg-light: -8px -8px 12px;--sq-text-shadow: 1px 1px 1px rgb(0 0 0 / var(--sq-opacity-20))}:root.dark{color-scheme:dark}@media (max-width: 768px){:root{--sq-radius-sm: 4px;--sq-radius-md: 6px;--sq-radius-lg: 8px;--sq-padding-xs: 6px;--sq-padding-sm: 10px;--sq-padding-md: 20px;--sq-padding-lg: 30px;--sq-padding-xl: 40px}}}@layer theme{.sq-fade-enter-active{animation:fade var(--sq-transition-base)}.sq-fade-leave-active{animation:reverse fade var(--sq-transition-base)}.sq-slide-up-enter-active{animation:slide-up var(--sq-transition-base)}.sq-slide-up-leave-active{animation:reverse slide-up var(--sq-transition-base)}.sq-rotate-in-left-enter-active{animation:rotate-in-left var(--sq-transition-base)}.sq-rotate-in-left-leave-active{animation:reverse rotate-in-left var(--sq-transition-base)}.sq-rotate-in-right-enter-active{animation:rotate-in-right var(--sq-transition-base)}.sq-rotate-in-right-leave-active{animation:reverse rotate-in-right var(--sq-transition-base)}.sq-zoom-top-enter-active,.sq-zoom-top-leave-active{transform-origin:top}.sq-zoom-top-enter-active{animation:zoom var(--sq-transition-base)}.sq-zoom-top-leave-active{animation:reverse zoomt var(--sq-transition-base)}.sq-zoom-bottom-enter-active,.sq-zoom-bottom-leave-active{transform-origin:bottom}.sq-zoom-bottom-enter-active{animation:zoom var(--sq-transition-base)}.sq-zoom-bottom-leave-active{animation:reverse zoom var(--sq-transition-base)}@keyframes fade{0%{transform:scale(.8);opacity:0}to{transform:none;opacity:1}}@keyframes slide-up{0%{transform:translateY(var(--sq-padding-lg));opacity:0}to{transform:none;opacity:1}}@keyframes rotate-in-left{0%{transform:translate(200%) rotate(180deg);opacity:0}to{transform:none;opacity:1}}@keyframes rotate-in-right{0%{transform:translate(-200%) rotate(180deg);opacity:0}to{transform:none;opacity:1}}@keyframes zoom{0%{transform:scaleY(0);opacity:0}to{transform:none;opacity:1}}}@layer component{@keyframes loading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dashoffset:70}50%{stroke-dashoffset:125}to{stroke-dashoffset:70}}.sq-icon{display:inline-flex}.sq-icon>svg{width:1em;height:1em;fill:currentColor}.sq-icon.is-loading>svg{transform-origin:center;animation:loading 1s linear infinite}.sq-icon[data-icon=loading] circle{fill:none;stroke:currentColor;stroke-width:4;stroke-dasharray:130;stroke-linecap:round;animation:dash 2s ease-in-out infinite}}@layer component{.sq-article{line-height:1.6;display:flex;flex-direction:column;color:currentColor;font-size:var(--sq-font-size-md);row-gap:var(--sq-padding-sm)}.sq-article::selection{background-color:var(--sq-color-primary);color:#fff;text-shadow:var(--sq-text-shadow)}.sq-article p,.sq-article h1,.sq-article h2,.sq-article h3,.sq-article h4,.sq-article h5,.sq-article h6{margin:0}.sq-article p:has(img){display:flex}.sq-article h1,.sq-article h2,.sq-article h3,.sq-article h4,.sq-article h5,.sq-article h6{color:var(--sq-text-color)}.sq-article ul,.sq-article ol{margin:0;padding:0;list-style-type:none}.sq-article ul>li,.sq-article ol>li{position:relative;padding-inline-start:var(--sq-padding-md)}.sq-article ul>li:before,.sq-article ol>li:before{position:absolute;left:0}.sq-article ul>li:before{content:"";background-color:currentColor;aspect-ratio:1;width:4px;border-radius:var(--sq-radius-full);top:calc(.8em - 2px)}.sq-article ol{counter-reset:section}.sq-article ol>li{counter-increment:section}.sq-article ol>li:before{content:counter(section) ".";top:0}.sq-article img{max-width:100%;border-radius:var(--sq-radius-md)}.sq-article hr{height:1px;width:100%;border:none;background:var(--sq-border-color)}.sq-article a{text-decoration:none;color:var(--sq-color-primary);border-bottom:1px solid transparent;word-break:break-all}.sq-article a:hover{border-block-end-color:var(--sq-color-primary)}.sq-article a .sq-icon{vertical-align:middle;transform:translateY(-1px)}.sq-article input[type=checkbox]{height:1em;vertical-align:middle;margin:0;margin-inline-end:var(--sq-padding-xs);transform:translateY(-1px)}.sq-article span[data-blur]{border-radius:var(--sq-radius-sm);filter:blur(var(--sq-blur-sm));overflow:hidden;-webkit-user-select:none;user-select:none;transition:filter var(--sq-transition-base)}.sq-article span[data-blur]:hover{filter:none}.sq-article code{word-break:break-all;border-radius:var(--sq-radius-sm);background-color:var(--sq-color-primary-light-5);color:var(--sq-color-primary);padding:.4em .6em}.sq-article code:lang(zh){font-family:var(--sq-font-family)}.sq-article blockquote{margin:0;padding:var(--sq-padding-sm);border-radius:var(--sq-radius-md);border-inline-start:4px solid var(--sq-color-primary);background-color:var(--sq-color-primary-light-5)}.sq-article-table{border:1px solid var(--sq-border-color);border-radius:var(--sq-radius-md);overflow:hidden}.sq-article-table table{border-collapse:collapse;width:100%}.sq-article-table table thead{color:var(--sq-text-color);background-color:var(--sq-bg-color)}.sq-article-table table tbody{color:var(--sq-text-color-secondary)}.sq-article-table table th,.sq-article-table table td{padding:var(--sq-padding-xs) var(--sq-padding-sm)}.sq-article-table table th{position:relative}.sq-article-table table th:not(:last-child):after{content:"";position:absolute;z-index:1;right:0;top:calc(50% - .5em);border:1px solid var(--sq-border-color);height:1em}.sq-article-table table tr:nth-child(2n){background-color:var(--sq-bg-color)}ul>li.sq-article-task-list-item{padding-inline-start:0}ul>li.sq-article-task-list-item:before{content:none}}@layer component{.sq-progress{display:flex;align-items:center;justify-content:center;height:var(--progress-stroke);background-color:var(--sq-border-color);border-radius:var(--sq-radius-full);position:relative}.sq-progress:after{content:"";position:absolute;height:100%;width:var(--progress-value);border-radius:var(--sq-radius-full);top:0;left:0;background:var(--progress-color);z-index:1;transition:width var(--sq-transition-linear)}.sq-progress.is-circle{border-radius:0;aspect-ratio:1;height:auto;background-color:transparent}.sq-progress.is-circle:after{content:none}.sq-progress.is-circle circle{r:var(--progress-circle-r);stroke-width:var(--progress-circle-stroke);fill:transparent}.sq-progress-track{stroke:var(--sq-border-color)}.sq-progress-path{stroke-linecap:round;stroke:var(--progress-color);stroke-dasharray:var(--progress-value),var(--progress-circle-l);transform:rotate(-90deg);transform-origin:center;transition:stroke-dasharray var(--sq-transition-linear),stroke var(--sq-transition-base),opacity var(--sq-transition-linear);opacity:var(--progress-circle-opaciry, 1)}.sq-progress-label{position:absolute;font-size:var(--sq-font-size-lg);color:var(--sq-text-color-secondary)}}@layer type{.sq-progress.is-primary{--progress-color: var(--sq-color-primary)}.sq-progress.is-success{--progress-color: var(--sq-color-success)}.sq-progress.is-info{--progress-color: var(--sq-color-info)}.sq-progress.is-warn{--progress-color: var(--sq-color-warn)}.sq-progress.is-error{--progress-color: var(--sq-color-error)}}@layer component{.sq-backtop{--backtop-margin-right: var(--sq-padding-md);--backtop-margin-bottom: var(--sq-padding-md);--backtop-size: 50px;position:fixed;width:var(--backtop-size);height:var(--backtop-size);right:var(--backtop-margin-right);bottom:var(--backtop-margin-bottom);background-color:oklch(from var(--sq-component-bg-color) l c h / var(--sq-opacity-80));-webkit-backdrop-filter:blur(var(--sq-blur-md));backdrop-filter:blur(var(--sq-blur-md));border-radius:var(--sq-radius-full);cursor:pointer;font-size:var(--sq-font-size-md);color:var(--sq-text-color-secondary);z-index:2000;box-shadow:var(--sq-shadow-md-dark) var(--sq-projection-dark),var(--sq-shadow-md-light) var(--sq-projection-light);transition:color var(--sq-transition-base)}.sq-backtop:not(:has(.sq-progress)){border:1px solid var(--sq-border-color)}.sq-backtop:hover{color:var(--sq-color-primary)}.sq-backtop-wrap{position:relative;display:flex;align-items:center;justify-content:center;height:100%}.sq-backtop-wrap .sq-progress{width:100%;position:absolute}.sq-backtop-wrap .sq-icon{position:absolute;font-size:1.5em}}@layer component{.sq-button{--button-color: var(--sq-text-color);--button-color-hover: var(--sq-text-color-secondary);--button-color-disabled: var(--sq-text-color-placeholder);--button-bg-color: var(--sq-component-bg-color);--button-bg-color-hover: var(--sq-component-bg-color);--button-bg-color-disabled: var(--sq-bg-color);--button-border-color: var(--sq-border-color-light);--button-shadow-color: var(--sq-projection-dark);--button-padding: var(--sq-padding-sm);cursor:pointer;height:var(--sq-component-size-md);padding:0 var(--button-padding);color:var(--button-color);background-color:var(--button-bg-color);border:1px solid;border-color:var(--button-border-color);border-radius:var(--sq-radius-md);-webkit-user-select:none;user-select:none;transition:all var(--sq-transition-base)}.sq-button.sq-button--sm{height:var(--sq-component-size-sm)}.sq-button.sq-button--lg{--button-padding: calc(var(--sq-padding-xs) * 2);height:var(--sq-component-size-lg)}.sq-button:not(.is-text){box-shadow:var(--sq-shadow-sm-dark) var(--button-shadow-color),var(--sq-shadow-sm-light) var(--sq-projection-light)}.sq-button.is-round{border-radius:var(--sq-radius-full);padding:0 calc(var(--button-padding) + .4em)}.sq-button:disabled{cursor:not-allowed;color:var(--button-color-disabled);background-color:var(--button-bg-color-disabled)}.sq-button:hover:not(:disabled){color:var(--button-color-hover);background-color:var(--button-bg-color-hover)}.sq-button:active:not(:disabled){box-shadow:var(--sq-shadow-xs-dark) var(--button-shadow-color),var(--sq-shadow-xs-light) var(--sq-projection-light)}.sq-button .sq-text{line-height:1}}@layer type{.sq-button.is-primary{--button-color: #fff;--button-color-hover: #fff;--button-color-disabled: #fff;--button-bg-color: var(--sq-color-primary);--button-bg-color-hover: var(--sq-color-primary-dark-1);--button-bg-color-disabled: var(--sq-color-primary-light-3);--button-border-color: transparent;--button-shadow-color: var(--sq-color-primary-light-4)}.sq-button.is-success{--button-color: #fff;--button-color-hover: #fff;--button-color-disabled: #fff;--button-bg-color: var(--sq-color-success);--button-bg-color-hover: var(--sq-color-success-dark-1);--button-bg-color-disabled: var(--sq-color-success-light-3);--button-border-color: transparent;--button-shadow-color: var(--sq-color-success-light-4)}.sq-button.is-info{--button-color: #fff;--button-color-hover: #fff;--button-color-disabled: #fff;--button-bg-color: var(--sq-color-info);--button-bg-color-hover: var(--sq-color-info-dark-1);--button-bg-color-disabled: var(--sq-color-info-light-3);--button-border-color: transparent;--button-shadow-color: var(--sq-color-info-light-4)}.sq-button.is-warn{--button-color: #fff;--button-color-hover: #fff;--button-color-disabled: #fff;--button-bg-color: var(--sq-color-warn);--button-bg-color-hover: var(--sq-color-warn-dark-1);--button-bg-color-disabled: var(--sq-color-warn-light-3);--button-border-color: transparent;--button-shadow-color: var(--sq-color-warn-light-4)}.sq-button.is-error{--button-color: #fff;--button-color-hover: #fff;--button-color-disabled: #fff;--button-bg-color: var(--sq-color-error);--button-bg-color-hover: var(--sq-color-error-dark-1);--button-bg-color-disabled: var(--sq-color-error-light-3);--button-border-color: transparent;--button-shadow-color: var(--sq-color-error-light-4)}.sq-button.is-text{--button-color: var(--sq-text-color);--button-color-hover: var(--sq-text-color);--button-color-disabled: var(--sq-text-color-placeholder);--button-bg-color: transparent;--button-bg-color-hover: var(--sq-bg-color);--button-bg-color-disabled: var(--sq-bg-color);--button-border-color: transparent}.sq-button.is-text:active:not(:disabled){--button-border-color: var(--sq-border-color-light);--button-shadow-color: var(--sq-projection-dark);box-shadow:inset var(--sq-shadow-xs-dark) var(--button-shadow-color),inset var(--sq-shadow-xs-light) var(--sq-projection-light)}.sq-button.is-text.is-primary{--button-color: var(--sq-color-primary);--button-color-hover: var(--sq-color-primary-dark-1);--button-color-disabled: var(--sq-color-primary-light-3)}.sq-button.is-text.is-success{--button-color: var(--sq-color-success);--button-color-hover: var(--sq-color-success-dark-1);--button-color-disabled: var(--sq-color-success-light-3)}.sq-button.is-text.is-info{--button-color: var(--sq-color-info);--button-color-hover: var(--sq-color-info-dark-1);--button-color-disabled: var(--sq-color-info-light-3)}.sq-button.is-text.is-warn{--button-color: var(--sq-color-warn);--button-color-hover: var(--sq-color-warn-dark-1);--button-color-disabled: var(--sq-color-warn-light-3)}.sq-button.is-text.is-error{--button-color: var(--sq-color-error);--button-color-hover: var(--sq-color-error-dark-1);--button-color-disabled: var(--sq-color-error-light-3)}}@layer component{.sq-button-group{--button-group-shadow-color: var(--sq-projection-dark);border-radius:var(--sq-radius-md);box-shadow:var(--sq-shadow-sm-dark) var(--button-group-shadow-color),var(--sq-shadow-sm-light) var(--sq-projection-light)}.sq-button-group:has(.is-round){border-radius:var(--sq-radius-full)}.sq-button-group .sq-button{box-shadow:none}.sq-button-group .sq-button+.sq-button{border-left:none}.sq-button-group .sq-button:active{box-shadow:none}.sq-button-group .sq-button:not(:first-child){border-start-start-radius:0;border-end-start-radius:0}.sq-button-group .sq-button:not(:first-child).is-round{padding-inline-start:var(--button-padding)}.sq-button-group .sq-button:not(:last-child){border-start-end-radius:0;border-end-end-radius:0;border-inline-end-color:var(--sq-border-color-light)}.sq-button-group .sq-button:not(:last-child).is-round{padding-inline-end:var(--button-padding)}}@layer type{.sq-button-group:has(.is-primary){--button-group-shadow-color: var(--sq-color-primary-light-4)}.sq-button-group:has(.is-success){--button-group-shadow-color: var(--sq-color-success-light-4)}.sq-button-group:has(.is-info){--button-group-shadow-color: var(--sq-color-info-light-4)}.sq-button-group:has(.is-warn){--button-group-shadow-color: var(--sq-color-warn-light-4)}.sq-button-group:has(.is-error){--button-group-shadow-color: var(--sq-color-error-light-4)}}@layer component{.sq-card{padding:var(--sq-padding-md);border-radius:var(--sq-radius-lg);border:1px solid var(--sq-border-color-light);background-color:var(--sq-component-bg-color);color:var(--sq-text-color-secondary);font-size:var(--sq-font-size-md);line-height:1.6;box-shadow:var(--sq-shadow-lg-dark) var(--sq-projection-dark),var(--sq-shadow-lg-light) var(--sq-projection-light)}.sq-card::selection{background-color:var(--sq-color-primary);color:#fff;text-shadow:var(--sq-text-shadow)}.sq-card .sq-card-header{margin-bottom:var(--sq-padding-md);line-height:1;display:flex;align-items:center;justify-content:space-between}.sq-card .sq-card-header h2{color:var(--sq-text-color);font-weight:700;font-size:var(--sq-font-size-lg);margin:0;padding:0}.sq-card .sq-card-header h2.has-decorative{position:relative;padding-left:var(--sq-padding-sm)}.sq-card .sq-card-header h2.has-decorative:before{content:"";position:absolute;height:1em;width:4px;top:50%;left:0;border-radius:var(--sq-radius-full);background-color:var(--sq-color-primary);transform:translateY(-50%)}.sq-card .sq-card-footer{display:flex;align-items:center;margin-top:var(--sq-padding-md)}}@layer component{.sq-input{--input-bg-color: var(--sq-component-bg-color);--input-bg-color-disabled: var(--sq-bg-color);--input-border-color: var(--sq-border-color-light);--input-border-color-active: var(--sq-color-primary);--input-border-color-disabled: var(--sq-border-color-light);--input-shadow-color: var(--sq-projection-dark);--input-selection-color: var(--sq-color-primary);--input-padding: var(--sq-padding-sm);height:var(--sq-component-size-md);width:100%;padding:0;display:flex;align-items:center;font-size:var(--sq-font-size-md);line-height:1.6;background-color:var(--input-bg-color);border:1px solid;border-color:var(--input-border-color);border-radius:var(--sq-radius-md);box-sizing:border-box;box-shadow:inset var(--sq-shadow-xs-dark) var(--input-shadow-color),inset var(--sq-shadow-xs-light) var(--sq-projection-light);transition:all var(--sq-transition-base)}.sq-input.sq-input--sm{height:var(--sq-component-size-sm);font-size:var(--sq-font-size-sm)}.sq-input.sq-input--lg{--input-padding: calc(var(--sq-padding-xs) * 2);height:var(--sq-component-size-lg);font-size:var(--sq-font-size-lg)}.sq-input::selection{background-color:var(--input-selection-color);color:#fff;text-shadow:var(--sq-text-shadow)}.sq-input.is-round{border-radius:var(--sq-radius-full);padding:0 .4em}.sq-input .sq-input-prefix,.sq-input .sq-input-suffix{color:var(--sq-text-color-placeholder);-webkit-user-select:none;user-select:none}.sq-input .sq-input-prefix{margin-left:var(--input-padding)}.sq-input .sq-input-inner{height:100%;width:0;flex:1;padding:0 var(--input-padding);caret-color:var(--input-selection-color);color:var(--sq-text-color);font-size:inherit;background:transparent;border:none;outline:none;line-height:1;font-family:var(--sq-font-family);transition:color var(--sq-transition-base)}.sq-input .sq-input-inner:read-only{color:var(--sq-text-color-placeholder)}.sq-input .sq-input-suffix{margin-right:var(--input-padding)}.sq-input.is-disabled{cursor:not-allowed;border-color:var(--input-border-color-disabled);background-color:var(--input-bg-color-disabled)}.sq-input.is-disabled .sq-input-inner{cursor:not-allowed;color:var(--sq-text-color-placeholder)}.sq-input:active:not(.is-disabled),.sq-input:focus-within:not(.is-disabled){--input-border-color: var(--input-border-color-active);box-shadow:none}}@layer type{.sq-input.is-success{--input-border-color: var(--sq-color-success);--input-border-color-active: var(--sq-color-success);--input-border-color-disabled: var(--sq-color-success-light-3);--input-shadow-color: var(--sq-color-success-light-4);--input-selection-color: var(--sq-color-success)}.sq-input.is-warn{--input-border-color: var(--sq-color-warn);--input-border-color-active: var(--sq-color-warn);--input-border-color-disabled: var(--sq-color-warn-light-3);--input-shadow-color: var(--sq-color-warn-light-4);--input-selection-color: var(--sq-color-warn)}.sq-input.is-error{--input-border-color: var(--sq-color-error);--input-border-color-active: var(--sq-color-error);--input-border-color-disabled: var(--sq-color-error-light-3);--input-shadow-color: var(--sq-color-error-light-4);--input-selection-color: var(--sq-color-error)}}@layer component{.sq-popover{font-size:var(--sq-font-size-md);font-family:var(--sq-font-family);background-color:oklch(from var(--sq-component-bg-color) l c h / var(--sq-opacity-80));-webkit-backdrop-filter:blur(var(--sq-blur-md));backdrop-filter:blur(var(--sq-blur-md));border-radius:var(--sq-radius-md);border:1px solid var(--sq-border-color-light);padding:var(--sq-padding-sm);line-height:1.6;color:var(--sq-text-color);z-index:2000;box-shadow:var(--sq-shadow-sm-dark) var(--sq-projection-dark),var(--sq-shadow-sm-light) var(--sq-projection-light)}}@layer component{.sq-tag{--tag-color: var(--sq-text-color);--tag-bg-color: var(--sq-component-bg-color);--tag-border-color: var(--sq-border-color-light);--tag-shadow-color: var(--sq-projection-dark);--tag-padding: var(--sq-padding-sm);border-radius:var(--sq-radius-sm);height:var(--sq-component-size-sm);padding:0 var(--tag-padding);color:var(--tag-color)!important;background-color:var(--tag-bg-color);border:1px solid var(--tag-border-color);box-sizing:border-box;box-shadow:inset var(--sq-shadow-xs-dark) var(--tag-shadow-color),inset var(--sq-shadow-xs-light) var(--sq-projection-light);-webkit-user-select:none;user-select:none}.sq-tag.sq-tag--sm{--tag-padding: var(--sq-padding-xs);height:var(--sq-component-size-xs)}.sq-tag.sq-tag--lg{height:var(--sq-component-size-md)}.sq-tag.is-round{border-radius:var(--sq-radius-full);padding-inline:calc(var(--sq-padding-sm) + .4em)}}@layer type{.sq-tag.is-primary,.sq-tag.is-success,.sq-tag.is-info,.sq-tag.is-warn,.sq-tag.is-error{--tag-bg-color: transparent;box-shadow:none}.sq-tag.is-primary{--tag-color: var(--sq-color-primary);--tag-border-color: var(--sq-color-primary-light-1)}.sq-tag.is-success{--tag-color: var(--sq-color-success);--tag-border-color: var(--sq-color-success-light-1)}.sq-tag.is-info{--tag-color: var(--sq-color-info);--tag-border-color: var(--sq-color-info-light-1)}.sq-tag.is-warn{--tag-color: var(--sq-color-warn);--tag-border-color: var(--sq-color-warn-light-1)}.sq-tag.is-error{--tag-color: var(--sq-color-error);--tag-border-color: var(--sq-color-error-light-1)}.sq-tag.is-solid{--tag-color: #fff;--tag-border-color: transparent}.sq-tag.is-solid.is-primary{--tag-bg-color: var(--sq-color-primary)}.sq-tag.is-solid.is-success{--tag-bg-color: var(--sq-color-success)}.sq-tag.is-solid.is-info{--tag-bg-color: var(--sq-color-info)}.sq-tag.is-solid.is-warn{--tag-bg-color: var(--sq-color-warn)}.sq-tag.is-solid.is-error{--tag-bg-color: var(--sq-color-error)}.sq-tag.is-tint{--tag-border-color: transparent}.sq-tag.is-tint.is-primary{--tag-color: var(--sq-color-primary);--tag-bg-color: var(--sq-color-primary-light-5)}.sq-tag.is-tint.is-success{--tag-color: var(--sq-color-success);--tag-bg-color: var(--sq-color-success-light-5)}.sq-tag.is-tint.is-info{--tag-color: var(--sq-color-info);--tag-bg-color: var(--sq-color-info-light-5)}.sq-tag.is-tint.is-warn{--tag-color: var(--sq-color-warn);--tag-bg-color: var(--sq-color-warn-light-5)}.sq-tag.is-tint.is-error{--tag-color: var(--sq-color-error);--tag-bg-color: var(--sq-color-error-light-5)}}@layer component{.sq-check-tag{--tag-color: var(--sq-color-primary);--tag-color-hover: var(--sq-color-primary-dark-1);--tag-bg-color: transparent;--tag-bg-color-hover: transparent;--tag-bg-color-checked: var(--sq-color-primary);--tag-bg-color-checked-hover: var(--sq-color-primary-dark-1);--tag-border-color: var(--sq-color-primary-light-1);--tag-border-color-hover: var(--sq-color-primary);--tag-padding: var(--sq-padding-sm);border-radius:var(--sq-radius-sm);height:var(--sq-component-size-sm);padding:0 var(--tag-padding);color:var(--tag-color)!important;background-color:var(--tag-bg-color);border:1px solid var(--tag-border-color);box-sizing:border-box;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all var(--sq-transition-base)}.sq-check-tag.sq-tag--sm{--tag-padding: var(--sq-padding-xs);height:var(--sq-component-size-xs)}.sq-check-tag.sq-tag--lg{height:var(--sq-component-size-md)}.sq-check-tag.is-round{border-radius:var(--sq-radius-full);padding-inline:calc(var(--sq-padding-sm) + .4em)}.sq-check-tag:hover{color:var(--tag-color-hover)!important;background-color:var(--tag-bg-color-hover);border-color:var(--tag-border-color-hover)}.sq-check-tag.is-checked{color:#fff!important;background-color:var(--tag-bg-color-checked);border-color:transparent}.sq-check-tag.is-checked:hover{background-color:var(--tag-bg-color-checked-hover)}}@layer type{.sq-check-tag.is-success{--tag-color: var(--sq-color-success);--tag-color-hover: var(--sq-color-success-dark-1);--tag-bg-color-checked: var(--sq-color-success);--tag-bg-color-checked-hover: var(--sq-color-success-dark-1);--tag-border-color: var(--sq-color-success-light-1);--tag-border-color-hover: var(--sq-color-success)}.sq-check-tag.is-info{--tag-color: var(--sq-color-info);--tag-color-hover: var(--sq-color-info-dark-1);--tag-bg-color-checked: var(--sq-color-info);--tag-bg-color-checked-hover: var(--sq-color-info-dark-1);--tag-border-color: var(--sq-color-info-light-1);--tag-border-color-hover: var(--sq-color-info)}.sq-check-tag.is-warn{--tag-color: var(--sq-color-warn);--tag-color-hover: var(--sq-color-warn-dark-1);--tag-bg-color-checked: var(--sq-color-warn);--tag-bg-color-checked-hover: var(--sq-color-warn-dark-1);--tag-border-color: var(--sq-color-warn-light-1);--tag-border-color-hover: var(--sq-color-warn)}.sq-check-tag.is-error{--tag-color: var(--sq-color-error);--tag-color-hover: var(--sq-color-error-dark-1);--tag-bg-color-checked: var(--sq-color-error);--tag-bg-color-checked-hover: var(--sq-color-error-dark-1);--tag-border-color: var(--sq-color-error-light-1);--tag-border-color-hover: var(--sq-color-error)}.sq-check-tag.is-tint{--tag-border-color: transparent;--tag-border-color-hover: transparent}.sq-check-tag.is-tint.is-primary{--tag-color: var(--sq-color-primary);--tag-color-hover: var(--sq-color-primary);--tag-bg-color: var(--sq-color-primary-light-5);--tag-bg-color-hover: var(--sq-color-primary-light-4)}.sq-check-tag.is-tint.is-success{--tag-color: var(--sq-color-success);--tag-color-hover: var(--sq-color-success);--tag-bg-color: var(--sq-color-success-light-5);--tag-bg-color-hover: var(--sq-color-success-light-4)}.sq-check-tag.is-tint.is-info{--tag-color: var(--sq-color-info);--tag-color-hover: var(--sq-color-info);--tag-bg-color: var(--sq-color-info-light-5);--tag-bg-color-hover: var(--sq-color-info-light-4)}.sq-check-tag.is-tint.is-warn{--tag-color: var(--sq-color-warn);--tag-color-hover: var(--sq-color-warn);--tag-bg-color: var(--sq-color-warn-light-5);--tag-bg-color-hover: var(--sq-color-warn-light-4)}.sq-check-tag.is-tint.is-error{--tag-color: var(--sq-color-error);--tag-color-hover: var(--sq-color-error);--tag-bg-color: var(--sq-color-error-light-5);--tag-bg-color-hover: var(--sq-color-error-light-4)}}@layer component{.sq-text{color:currentColor;display:flex;flex-grow:0;align-items:center;column-gap:.5em;font-family:var(--sq-font-family);font-size:var(--sq-font-size-md);line-height:1.6}.sq-text::selection{background-color:var(--sq-color-primary);color:#fff;text-shadow:var(--sq-text-shadow)}.sq-text.sq-text--sm{font-size:var(--sq-font-size-sm)}.sq-text.sq-text--lg{font-size:var(--sq-font-size-lg)}.sq-text.multi-line,.sq-text.single-line{display:block;overflow:hidden;text-overflow:ellipsis}.sq-text.single-line{white-space:nowrap}.sq-text.multi-line{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--row-num);line-clamp:var(--row-num)}}@layer component{.sq-timeline{--timeline-dot-size: 18px;--timeline-dot-color: var(--sq-border-color);--timeline-dot-mask: none;--timeline-content-gap: var(--sq-padding-sm);--timeline-line-type: solid;--timeline-line-color: var(--sq-border-color);container:sq-timeline / inline-size;display:flex;flex-direction:column;font-size:var(--sq-font-size-md)}.sq-timeline::selection{background-color:var(--sq-color-primary);color:#fff;text-shadow:var(--sq-text-shadow)}.sq-timeline .sq-timeline-item{display:flex;position:relative;width:100%;box-sizing:border-box;overflow:hidden;padding-inline:var(--timeline-dot-size) 0}.sq-timeline .sq-timeline-item:not(:last-child){padding-block-end:var(--sq-padding-md)}.sq-timeline .sq-timeline-item:before{content:"";position:absolute;z-index:1;border-inline-start:2px var(--timeline-line-type);border-inline-start-color:var(--timeline-line-color);height:100%;left:calc(var(--timeline-dot-size) / 2 - 1px);top:var(--timeline-dot-size)}.sq-timeline .sq-timeline-item.is-hollow{--timeline-dot-mask: radial-gradient( circle, transparent calc(var(--timeline-dot-size) / 2 - 4px), black calc(var(--timeline-dot-size) / 2 - 3px) )}.sq-timeline .sq-timeline-item .sq-timeline-dot{aspect-ratio:1;position:absolute;z-index:2;width:var(--timeline-dot-size);border-radius:var(--sq-radius-full);background:var(--timeline-dot-color);box-sizing:border-box;padding:2px;top:0;left:0;mask:var(--timeline-dot-mask);font-size:calc(var(--timeline-dot-size) - 4px);display:flex}.sq-timeline .sq-timeline-item .sq-timeline-dot>*{aspect-ratio:1;width:100%}.sq-timeline .sq-timeline-item .sq-timeline-content{display:flex;flex-direction:column;margin-inline:var(--timeline-content-gap) 0;width:100%;color:var(--sq-text-color-secondary);box-sizing:border-box;line-height:1.6}.sq-timeline .sq-timeline-item .sq-timeline-content .content-title{margin-block:0;line-height:1;color:var(--sq-text-color);font-size:var(--sq-font-size-lg)}.sq-timeline .sq-timeline-item .sq-timeline-content .content-time{display:block;color:var(--sq-text-color-placeholder);margin-block-start:var(--sq-padding-xs)}.sq-timeline .sq-timeline-item .sq-timeline-content .content-info{margin-block-start:var(--sq-padding-xs)}.sq-timeline .sq-timeline-item:not(.is-plain) .sq-timeline-content{padding:var(--sq-padding-md);background-color:var(--sq-component-bg-color);border-radius:var(--sq-radius-lg);border:1px solid var(--sq-border-color-light);box-shadow:inset var(--sq-shadow-sm-dark) var(--sq-projection-dark),inset var(--sq-shadow-sm-light) var(--sq-projection-light)}.sq-timeline .sq-timeline-item:not(.is-plain) .sq-timeline-content .content-info{margin-block-start:var(--sq-padding-sm)}@media (max-width: 768px){.sq-timeline{--timeline-dot-size: 14px}}}@layer type{.sq-timeline .sq-timeline-item.is-primary{--timeline-dot-color: var(--sq-color-primary)}.sq-timeline .sq-timeline-item.is-success{--timeline-dot-color: var(--sq-color-success)}.sq-timeline .sq-timeline-item.is-info{--timeline-dot-color: var(--sq-color-info)}.sq-timeline .sq-timeline-item.is-warn{--timeline-dot-color: var(--sq-color-warn)}.sq-timeline .sq-timeline-item.is-error{--timeline-dot-color: var(--sq-color-error)}.sq-timeline.align-right .sq-timeline-item{padding-inline:0 var(--timeline-dot-size)}.sq-timeline.align-right .sq-timeline-item:before{left:auto;right:calc(var(--timeline-dot-size) / 2 - 1px)}.sq-timeline.align-right .sq-timeline-item.is-plain .sq-timeline-content .content-title,.sq-timeline.align-right .sq-timeline-item.is-plain .sq-timeline-content .content-time,.sq-timeline.align-right .sq-timeline-item.is-plain .sq-timeline-content .content-info{align-self:flex-end}.sq-timeline.align-right .sq-timeline-item .sq-timeline-dot{left:auto;right:0}.sq-timeline.align-right .sq-timeline-item .sq-timeline-content{margin-inline:0 var(--timeline-content-gap)}@container sq-timeline (min-width: 800px){.sq-timeline.align-center .sq-timeline-item{padding-inline:0}.sq-timeline.align-center .sq-timeline-item:before{left:calc(50% - 1px)}.sq-timeline.align-center .sq-timeline-item:nth-child(2n){justify-content:flex-end}.sq-timeline.align-center .sq-timeline-item:nth-child(odd).is-plain .sq-timeline-content .content-title,.sq-timeline.align-center .sq-timeline-item:nth-child(odd).is-plain .sq-timeline-content .content-time,.sq-timeline.align-center .sq-timeline-item:nth-child(odd).is-plain .sq-timeline-content .content-info{align-self:flex-end}.sq-timeline.align-center .sq-timeline-item .sq-timeline-dot{left:calc(50% - var(--timeline-dot-size) / 2)}.sq-timeline.align-center .sq-timeline-item .sq-timeline-content{margin:0;width:calc(50% - var(--timeline-dot-size) / 2 - var(--timeline-content-gap))}}}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@squirrel-cloud/ui-vue",
3
3
  "description": "松鼠的坚果屋前端VUE框架",
4
4
  "license": "GPL-3.0",
5
- "version": "0.2.17",
5
+ "version": "0.2.18",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "files": [