@n8n/chat 1.39.2 → 1.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat.bundle.es.js +5 -5
- package/dist/chat.bundle.umd.js +1 -1
- package/dist/chat.es.js +3 -3
- package/dist/chat.umd.js +1 -1
- package/dist/{chunk-CEfaX6y6.mjs → chunk-CjL0B3vd.mjs} +1 -1
- package/dist/{emojiData-zOxnhmb7-BeyojQGO.mjs → emojiData-zOxnhmb7-BMMyy_AT.mjs} +1 -1
- package/dist/{emojiData-zOxnhmb7-C-C4OznF.mjs → emojiData-zOxnhmb7-DKTA_Zg_.mjs} +1 -1
- package/dist/{en-BQBg3T3M-D6pjYS0w.mjs → en-BVSQYf2U-QN6IFeqr.mjs} +14 -1
- package/dist/{en-BQBg3T3M-Zuthpf52.mjs → en-BVSQYf2U-lsPhjHnh.mjs} +15 -2
- package/dist/{lucideIconData-CKJ1do82-CwYIYGOE.mjs → lucideIconData-CKJ1do82-ChS09zDn.mjs} +1 -1
- package/dist/{lucideIconData-CKJ1do82-C0NrYP3c.mjs → lucideIconData-CKJ1do82-JaLHcga9.mjs} +1 -1
- package/dist/{node-icons-CaKBLFvs-B0WOfu4q.mjs → node-icons-CaKBLFvs-BNAYJ2tH.mjs} +2 -2
- package/dist/{node-icons-CaKBLFvs-_PDkSXZI.mjs → node-icons-CaKBLFvs-Dfiw1NCe.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue.runtime.esm-bundler-CyCkbpnM.mjs → vue.runtime.esm-bundler-BDz9kuVl.mjs} +2 -2
- package/package.json +2 -2
package/dist/chat.umd.js
CHANGED
|
@@ -48,7 +48,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(
|
|
|
48
48
|
`;)e--;this.css=this.css.slice(0,e)+this.css.slice(t+2)}}}}generate(){if(this.clearAnnotation(),d&&u&&this.isMap())return this.generateMap();{let e=``;return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=s.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new s({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css=``,this.map=new s({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,t=1,n=`<no source>`,r={generated:{column:0,line:0},original:{column:0,line:0},source:``},i,a;this.stringify(this.root,(o,s,c)=>{if(this.css+=o,s&&c!==`end`&&(r.generated.line=e,r.generated.column=t-1,s.source&&s.source.start?(r.source=this.sourcePath(s),r.original.line=s.source.start.line,r.original.column=s.source.start.column-1,this.map.addMapping(r)):(r.source=n,r.original.line=1,r.original.column=0,this.map.addMapping(r))),a=o.match(/\n/g),a?(e+=a.length,i=o.lastIndexOf(`
|
|
49
49
|
`),t=o.length-i):t+=o.length,s&&c!==`start`){let i=s.parent||{raws:{}};(!(s.type===`decl`||s.type===`atrule`&&!s.nodes)||s!==i.last||i.raws.semicolon)&&(s.source&&s.source.end?(r.source=this.sourcePath(s),r.original.line=s.source.end.line,r.original.column=s.source.end.column-1,r.generated.line=e,r.generated.column=t-2,this.map.addMapping(r)):(r.source=n,r.original.line=1,r.original.column=0,r.generated.line=e,r.generated.column=t-1,this.map.addMapping(r)))}})}isAnnotation(){return this.isInline()?!0:this.mapOpts.annotation===void 0?this.previous().length?this.previous().some(e=>e.annotation):!0:this.mapOpts.annotation}isInline(){if(this.mapOpts.inline!==void 0)return this.mapOpts.inline;let e=this.mapOpts.annotation;return e!==void 0&&e!==!0?!1:this.previous().length?this.previous().some(e=>e.inline):!0}isMap(){return this.opts.map===void 0?this.previous().length>0:!!this.opts.map}isSourcesContent(){return this.mapOpts.sourcesContent===void 0?this.previous().length?this.previous().some(e=>e.withContent()):!0:this.mapOpts.sourcesContent}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):`to.css`}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let a=this.opts.to?n(this.opts.to):`.`;typeof this.mapOpts.annotation==`string`&&(a=n(i(a,this.mapOpts.annotation)));let o=r(a,e);return this.memoizedPaths.set(e,o),o}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new l(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`;this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString(`base64`):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}else throw Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;a===`\\`&&(e=e.replace(/\\/g,`/`));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}})),uie=l(((e,t)=>{var n=39,r=34,i=92,a=47,o=10,s=32,c=12,l=9,u=13,d=91,f=93,p=40,m=41,h=123,g=125,_=59,v=42,y=58,b=64,x=/[\t\n\f\r "#'()/;[\\\]{}]/g,S=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,C=/.[\r\n"'(/\\]/,w=/[\da-f]/i;t.exports=function(e,t={}){let T=e.css.valueOf(),E=t.ignoreErrors,D,O,k,A,j,M,N,P,F,I,L=T.length,R=0,ee=[],te=[],ne=-1;function re(){return R}function ie(t){throw e.error(`Unclosed `+t,R)}function ae(){return te.length===0&&R>=L}function oe(e){if(te.length)return te.pop();if(R>=L)return;let t=e?e.ignoreUnclosed:!1;switch(D=T.charCodeAt(R),D){case o:case s:case l:case u:case c:A=R;do A+=1,D=T.charCodeAt(A);while(D===s||D===o||D===l||D===u||D===c);M=[`space`,T.slice(R,A)],R=A-1;break;case d:case f:case h:case g:case y:case _:case m:{let e=String.fromCharCode(D);M=[e,e,R];break}case p:if(I=ee.length?ee.pop()[1]:``,F=T.charCodeAt(R+1),I===`url`&&F!==n&&F!==r&&F!==s&&F!==o&&F!==l&&F!==c&&F!==u){A=R;do{if(N=!1,A=T.indexOf(`)`,A+1),A===-1)if(E||t){A=R;break}else ie(`bracket`);for(P=A;T.charCodeAt(P-1)===i;)--P,N=!N}while(N);M=[`brackets`,T.slice(R,A+1),R,A],R=A}else R<=ne?M=[`(`,`(`,R]:(A=T.indexOf(`)`,R+1),O=T.slice(R,A+1),A===-1||C.test(O)?(ne=A===-1?L:A,M=[`(`,`(`,R]):(M=[`brackets`,O,R,A],R=A));break;case n:case r:j=D===n?`'`:`"`,A=R;do{if(N=!1,A=T.indexOf(j,A+1),A===-1)if(E||t){A=R+1;break}else ie(`string`);for(P=A;T.charCodeAt(P-1)===i;)--P,N=!N}while(N);M=[`string`,T.slice(R,A+1),R,A],R=A;break;case b:x.lastIndex=R+1,x.test(T),A=x.lastIndex===0?T.length-1:x.lastIndex-2,M=[`at-word`,T.slice(R,A+1),R,A],R=A;break;case i:for(A=R,k=!0;T.charCodeAt(A+1)===i;)A+=1,k=!k;if(D=T.charCodeAt(A+1),k&&D!==a&&D!==s&&D!==o&&D!==l&&D!==u&&D!==c&&(A+=1,w.test(T.charAt(A)))){for(;w.test(T.charAt(A+1));)A+=1;T.charCodeAt(A+1)===s&&(A+=1)}M=[`word`,T.slice(R,A+1),R,A],R=A;break;default:D===a&&T.charCodeAt(R+1)===v?(A=T.indexOf(`*/`,R+2)+1,A===0&&(E||t?A=T.length:ie(`comment`)),M=[`comment`,T.slice(R,A+1),R,A],R=A):(S.lastIndex=R+1,S.test(T),A=S.lastIndex===0?T.length-1:S.lastIndex-2,M=[`word`,T.slice(R,A+1),R,A],ee.push(M),R=A);break}return R++,M}function se(e){te.push(e)}return{back:se,endOfFile:ae,nextToken:oe,position:re}}})),die=l(((e,t)=>{var n=Ps(),r=js(),i=Ms(),a=Rs(),o=Bs(),s=uie(),c={empty:!0,space:!0};function l(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}function u(e,t,n){let r=``;for(let i=t;i<n;i++)r+=e[i][1];return r}t.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces=``,this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new n;t.name=e[1].slice(1),t.name===``&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,i,a,o=!1,s=!1,c=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r===`(`||r===`[`?l.push(r===`(`?`)`:`]`):r===`{`&&l.length>0?l.push(`}`):r===l[l.length-1]&&l.pop(),l.length===0)if(r===`;`){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(r===`{`){s=!0;break}else if(r===`}`){if(c.length>0){for(a=c.length-1,i=c[a];i&&i[0]===`space`;)i=c[--a];i&&(t.source.end=this.getPosition(i[3]||i[2]),t.source.end.offset++)}this.end(e);break}else c.push(e);else c.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(t.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(t,`params`,c),o&&(e=c[c.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between=``)):(t.raws.afterName=``,t.params=``),s&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let n=0,r;for(let i=t-1;i>=0&&(r=e[i],!(r[0]!==`space`&&(n+=1,n===2)));i--);throw this.input.error(`Missed semicolon`,r[0]===`word`?r[3]+1:r[2])}colon(e){let t=0,n,r,i;for(let[a,o]of e.entries()){if(r=o,i=r[0],i===`(`&&(t+=1),i===`)`&&--t,t===0&&i===`:`)if(!n)this.doubleColon(r);else if(n[0]===`word`&&n[1]===`progid`)continue;else return a;n=r}return!1}comment(e){let t=new r;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(!n.trim())t.text=``,t.raws.left=n,t.raws.right=``;else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(e,t){let n=new i;this.init(n,e[0][2]);let r=e[e.length-1];r[0]===`;`&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(r[3]||r[2]||l(e)),n.source.end.offset++;let a=0;for(;e[a][0]!==`word`;)a===e.length-1&&this.unknownWord([e[a]]),a++;n.raws.before+=u(e,0,a),n.source.start=this.getPosition(e[a][2]);let o=a;for(;a<e.length;){let t=e[a][0];if(t===`:`||t===`space`||t===`comment`)break;a++}n.prop=u(e,o,a);let s=a,c;for(;a<e.length&&(c=e[a],a++,c[0]!==`:`);)c[0]===`word`&&/\w/.test(c[1])&&this.unknownWord([c]);n.raws.between=u(e,s,a),(n.prop[0]===`_`||n.prop[0]===`*`)&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let d=a;for(;a<e.length;){let t=e[a][0];if(t!==`space`&&t!==`comment`)break;a++}let f=e.slice(d,a);e=e.slice(a),this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(c=e[t],c[1].toLowerCase()===`!important`){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r,r!==` !important`&&(n.raws.important=r);break}else if(c[1].toLowerCase()===`important`){let r=e.slice(0),i=``;for(let e=t;e>0;e--){let t=r[e][0];if(i.trim().startsWith(`!`)&&t!==`space`)break;i=r.pop()[1]+i}i.trim().startsWith(`!`)&&(n.important=!0,n.raws.important=i,e=r)}if(c[0]!==`space`&&c[0]!==`comment`)break}e.some(e=>e[0]!==`space`&&e[0]!==`comment`)&&(n.raws.between+=f.map(e=>e[1]).join(``),f=[]),this.raw(n,`value`,f.concat(e),t),n.value.includes(`:`)&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error(`Double colon`,{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new o;this.init(t,e[2]),t.selector=``,t.raws.between=``,this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.spaces=``,this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type===`rule`&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces=``,t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces=``,e.type!==`comment`&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,a=[],o=e[1].startsWith(`--`),s=[],c=e;for(;c;){if(n=c[0],s.push(c),n===`(`||n===`[`)i||=c,a.push(n===`(`?`)`:`]`);else if(o&&r&&n===`{`)i||=c,a.push(`}`);else if(a.length===0)if(n===`;`)if(r){this.decl(s,o);return}else break;else if(n===`{`){this.rule(s);return}else if(n===`}`){this.tokenizer.back(s.pop()),t=!0;break}else n===`:`&&(r=!0);else n===a[a.length-1]&&(a.pop(),a.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&(c=s[s.length-1][0],!(c!==`space`&&c!==`comment`));)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case`space`:this.spaces+=e[1];break;case`;`:this.freeSemicolon(e);break;case`}`:this.end(e);break;case`comment`:this.comment(e);break;case`at-word`:this.atrule(e);break;case`{`:this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,a,o=n.length,s=``,l=!0,u,d;for(let e=0;e<o;e+=1)i=n[e],a=i[0],a===`space`&&e===o-1&&!r?l=!1:a===`comment`?(d=n[e-1]?n[e-1][0]:`empty`,u=n[e+1]?n[e+1][0]:`empty`,!c[d]&&!c[u]?s.slice(-1)===`,`?l=!1:s+=i[1]:l=!1):s+=i[1];if(!l){let r=n.reduce((e,t)=>e+t[1],``);e.raws[t]={raw:r,value:s}}e[t]=s}rule(e){e.pop();let t=new o;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,`selector`,e),this.current=t}spacesAndCommentsFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],!(t!==`space`&&t!==`comment`));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n=``;for(;e.length&&(t=e[0][0],!(t!==`space`&&t!==`comment`));)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],t===`space`);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n=``;for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error(`Unclosed block`,e.line,e.column)}unclosedBracket(e){throw this.input.error(`Unclosed bracket`,{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error(`Unexpected }`,{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error(`Unknown word `+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error(`At-rule without name`,{offset:t[2]},{offset:t[2]+t[1].length})}}})),Hs=l(((e,t)=>{var n=Ns(),r=Ls(),i=die();function a(e,t){let n=new i(new r(e,t));try{n.parse()}catch(e){throw e}return n.root}t.exports=a,a.default=a,n.registerParse(a)})),Us=l(((e,t)=>{var n=Ns(),{my:r}=ks(),i=class{constructor(e,t={}){if(this.type=`warning`,this.text=e,t.node&&t.node.source){t.node[r]||n.rebuild(t.node);let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+`: `+this.text:this.text}};t.exports=i,i.default=i})),Ws=l(((e,t)=>{var n=Us(),r=class{get content(){return this.css}constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=``,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new n(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type===`warning`)}};t.exports=r,r.default=r})),Gs=l(((e,t)=>{var n={};t.exports=function(e){n[e]||(n[e]=!0,typeof console<`u`&&console.warn&&console.warn(e))}})),Ks=l(((e,t)=>{var n=Ns(),r=Fs(),i=Vs(),a=Hs(),o=Ws(),s=Rs(),c=Os(),{isClean:l,my:u}=ks();Gs();var d={atrule:`AtRule`,comment:`Comment`,decl:`Declaration`,document:`Document`,root:`Root`,rule:`Rule`},f={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},p={Once:!0,postcssPlugin:!0,prepare:!0},m=0;function h(e){return typeof e==`object`&&typeof e.then==`function`}function g(e){let t=!1,n=d[e.type];return e.type===`decl`?t=e.prop.toLowerCase():e.type===`atrule`&&(t=e.name.toLowerCase()),t&&e.append?[n,n+`-`+t,m,n+`Exit`,n+`Exit-`+t]:t?[n,n+`-`+t,n+`Exit`,n+`Exit-`+t]:e.append?[n,m,n+`Exit`]:[n,n+`Exit`]}function _(e){let t;return t=e.type===`document`?[`Document`,m,`DocumentExit`]:e.type===`root`?[`Root`,m,`RootExit`]:g(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function v(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[l]=!1,e.nodes)for(let n of e.nodes)t.push(n)}return e}var y={},b=class e{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return`LazyResult`}constructor(t,r,i){this.stringified=!1,this.processed=!1;let s;if(typeof r==`object`&&r&&(r.type===`root`||r.type===`document`))s=v(r);else if(r instanceof e||r instanceof o)s=v(r.root),r.map&&(i.map===void 0&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=r.map);else{let e=a;i.syntax&&(e=i.syntax.parse),i.parser&&(e=i.parser),e.parse&&(e=e.parse);try{s=e(r,i)}catch(e){this.processed=!0,this.error=e}s&&!s[u]&&n.rebuild(s)}this.result=new o(t,s,i),this.helpers={...y,postcss:y,result:this.result},this.plugins=this.processor.plugins.map(e=>typeof e==`object`&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||=this.runAsync(),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw Error(`Use process(css).then(cb) to work with async plugins`)}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name===`CssSyntaxError`&&!e.plugin?(e.plugin=n.postcssPlugin,e.setMessage()):n.postcssVersion}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if(typeof t==`object`)for(let n in t){if(!f[n]&&/^[A-Z]/.test(n))throw Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!p[n])if(typeof t[n]==`object`)for(let r in t[n])r===`*`?e(t,n,t[n][r]):e(t,n+`-`+r.toLowerCase(),t[n][r]);else typeof t[n]==`function`&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(h(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];){e[l]=!0;let t=[_(e)];for(;t.length>0;){let e=this.visitTick(t);if(h(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type===`document`){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==`object`&&e.Once){if(this.result.root.type===`document`){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return h(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e==`function`)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=c;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=this.result.root.source;if(e.map===void 0&&!(n&&n.input&&n.input.map)){let e=``;return t(this.result.root,t=>{e+=t}),this.result.css=e,this.result}let r=new i(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(h(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];)e[l]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type===`document`)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){this.result.lastPlugin=n;let e;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!==`root`&&t.type!==`document`&&!t.parent)return!0;if(h(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if(n.type!==`root`&&n.type!==`document`&&!n.parent){e.pop();return}if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){let r=t.iterator,i;for(;i=n.nodes[n.indexes[r]];)if(n.indexes[r]+=1,!i[l]){i[l]=!0,e.push(_(i));return}t.iterator=0,delete n.indexes[r]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,e===m){n.nodes&&n.nodes.length&&(n[l]=!0,t.iterator=n.getIterator());return}else if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[l]=!0;let t=[{eventIndex:0,events:g(e),iterator:0,node:e}];for(;t.length>0;){let e=t[t.length-1],n=e.node;if(e.iterator!==0){let r=e.iterator,i,a=!1;for(;i=n.nodes[n.indexes[r]];)if(n.indexes[r]+=1,!i[l]){i[l]=!0,t.push({eventIndex:0,events:g(i),iterator:0,node:i}),a=!0;break}if(a)continue;e.iterator=0,delete n.indexes[r]}if(e.eventIndex<e.events.length){let r=e.events[e.eventIndex];if(e.eventIndex+=1,r===m)n.nodes&&n.nodes.length&&(e.iterator=n.getIterator());else{let e=this.listeners[r];e&&this.visitSync(e,n.toProxy())&&t.pop()}continue}t.pop()}}warnings(){return this.sync().warnings()}};b.registerPostcss=e=>{y=e},t.exports=b,b.default=b,s.registerLazyResult(b),r.registerLazyResult(b)})),fie=l(((e,t)=>{var n=Vs(),r=Hs(),i=Ws(),a=Os();Gs();var o=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=r;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return`NoWorkResult`}constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let o=a;this.result=new i(this._processor,void 0,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,`root`,{get(){return s.root}});let c=new n(o,void 0,this._opts,t);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}};t.exports=o,o.default=o})),pie=l(((e,t)=>{var n=Fs(),r=Ks(),i=fie(),a=Rs(),o=class{constructor(e=[]){this.version=`8.5.23`,this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n==`object`&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if(typeof n==`object`&&n.postcssPlugin)t.push(n);else if(typeof n==`function`)t.push(n);else if(!(typeof n==`object`&&(n.parse||n.stringify)))throw Error(n+` is not a PostCSS plugin`);return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new i(this,e,t):new r(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};t.exports=o,o.default=o,a.registerProcessor(o),n.registerProcessor(o)})),mie=l(((e,t)=>{var n=Ps(),r=js(),i=Ns(),a=Es(),o=Ms(),s=Fs(),c=lie(),l=Ls(),u=Ks(),d=zs(),f=As(),p=Hs(),m=pie(),h=Ws(),g=Rs(),_=Bs(),v=Os(),y=Us();function b(...e){return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new m(e)}b.plugin=function(e,t){let n=!1;function r(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
50
50
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith(`cn`)&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
51
|
-
https://www.w3ctech.com/topic/2226`));let i=t(...r);return i.postcssPlugin=e,i.postcssVersion=new m().version,i}let i;return Object.defineProperty(r,`postcss`,{get(){return i||=r(),i}}),r.process=function(e,t,n){return b([r(n)]).process(e,t)},r},b.stringify=v,b.parse=p,b.fromJSON=c,b.list=d,b.comment=e=>new r(e),b.atRule=e=>new n(e),b.decl=e=>new o(e),b.rule=e=>new _(e),b.root=e=>new g(e),b.document=e=>new s(e),b.CssSyntaxError=a,b.Declaration=o,b.Container=i,b.Processor=m,b.Document=s,b.Comment=r,b.Warning=y,b.AtRule=n,b.Result=h,b.Input=l,b.Rule=_,b.Root=g,b.Node=f,u.registerPostcss(b),t.exports=b,b.default=b})),hie=l(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),D=E.prototype;return w.prototype=D,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),gie=l(((e,t)=>{var n=hie();function r(e){for(e=e.replace(/[\x00-\x20]+/g,``);;){let t=e.indexOf(`<!--`);if(t===-1)break;let n=e.indexOf(`-->`,t+4);if(n===-1)break;e=e.substring(0,t)+e.substring(n+3)}return e}function i(e,t){t||={};let n=t.allowedSchemes||[`http`,`https`,`ftp`,`mailto`,`tel`,`sms`],i=t.allowProtocolRelative!==!1;if(typeof e!=`string`)return!1;e=r(e);let a=e.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!a)return e.match(/^[/\\]{2}/)?!i:!1;let o=a[1].toLowerCase();return n.indexOf(o)===-1}t.exports=function(e){let t={};return t.options=e||{},t.filterTag=t.options.filterTag||function(e){return e=e.trim(),e.toLowerCase()},t.string=function(e,t){return typeof e!=`string`&&(typeof e==`number`||typeof e==`boolean`?e+=``:e=``),e=e.trim(),t!==void 0&&e===``&&(e=t),e},t.strings=function(e){return Array.isArray(e)?e.map(function(e){return t.string(e)}):[]},t.integer=function(e,t,n,r){if(t===void 0&&(t=0),typeof e==`number`)e=Math.floor(e);else try{e=parseInt(e,10),isNaN(e)&&(e=t)}catch{e=t}return typeof n==`number`&&e<n&&(e=n),typeof r==`number`&&e>r&&(e=r),e},t.padInteger=function(e,t){let n=e+``;for(;n.length<t;)n=`0`+n;return n},t.float=function(e,t,n,r){if(t===void 0&&(t=0),typeof e!=`number`)try{e=parseFloat(e,10),isNaN(e)&&(e=t)}catch{e=t}return typeof n==`number`&&e<n&&(e=n),typeof r==`number`&&e>r&&(e=r),e},t.naughtyHref=i,t.url=function(e,n,a){if(e=t.string(e,n),e===n)return e;if(e=r(e),i(e)||(e=o(e),e===null))return n;return e;function o(e){return e.match(/^(((https?|ftp):\/\/)|((mailto|tel|sms):)|#|([^/.]+)?\/|[^/.]+$)/)?e:e.match(/^[^/.]+\.[^/.]+/)?(a?`https://`:`http://`)+e:null}},t.select=function(e,n,r){if(e=t.string(e),!n||!n.length)return r;let i;return typeof n[0]==`object`?(i=n.find(function(t){return t.value===null||t.value===void 0?!1:t.value.toString()===e}),i==null?r:i.value):(i=n.find(function(t){return t==null?!1:t.toString()===e}),i===void 0?r:i)},t.boolean=function(e,n){return e===!0?!0:e===!1?!1:(e=t.string(e,n),e===n?e===void 0?!1:e:(e=e.toLowerCase().charAt(0),e===``||e===`n`||e===`0`||e===`f`?!1:e===`t`||e===`y`||e===`1`))},t.addBooleanFilterToCriteria=function(e,n,r,i){i===void 0&&(i=null);let a=typeof e==`object`&&e?e[n]:e;a=a===void 0?i:a,a=t.booleanOrNull(a),a===null||(a?r[n]=!0:r[n]={$ne:!0})},t.booleanOrNull=function(e,n){return e===!0||e===!1||e===null?e:(e=t.string(e,n),e===n?n===void 0?null:e:e===`null`?null:(e=e.toLowerCase().charAt(0),e===``||e===`n`||e===`0`||e===`f`?!1:e===`t`||e===`y`||e===`1`?!0:e===`a`?null:n))},t.date=function(e,r,i){let a;function o(){return r===void 0&&(r=n().format(`YYYY-MM-DD`)),r}if(typeof e==`string`){if(e.match(/\//)){if(a=e.split(`/`),a.length===2)return(i||new Date).getFullYear()+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2);if(a.length===3){if(a[2]<100){let e=i||new Date,t=e.getFullYear()%100,n=e.getFullYear()-t,r=parseInt(a[2])+n;r-e.getFullYear()>50&&(r-=100),a[2]=r}return t.padInteger(a[2],4)+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2)}else return o()}else if(e.match(/-/))return a=e.split(`-`),a.length===2?(i||new Date).getFullYear()+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2):a.length===3?t.padInteger(a[0],4)+`-`+t.padInteger(a[1],2)+`-`+t.padInteger(a[2],2):o()}try{return e===null||(e=i||new Date(e),isNaN(e.getTime()))?o():e.getFullYear()+`-`+t.padInteger(e.getMonth()+1,2)+`-`+t.padInteger(e.getDate(),2)}catch{return o()}},t.formatDate=function(e){return n(e).format(`YYYY-MM-DD`)},t.time=function(e,r){e=t.string(e).toLowerCase(),e=e.trim();let i=e.match(/^(\d+)([:|.](\d+))?([:|.](\d+))?\s*(am|pm|AM|PM|a|p|A|M)?$/);if(i){let e=parseInt(i[1],10),n=i[3]===void 0?0:parseInt(i[3],10),r=i[5]===void 0?0:parseInt(i[5],10),a=i[6]?i[6].toLowerCase():i[6];return a&&=a.charAt(0),e===12&&a===`a`?e-=12:e===12&&a===`p`||a===`p`&&(e+=12),(e===24||e===`24`)&&(e=0),t.padInteger(e,2)+`:`+t.padInteger(n,2)+`:`+t.padInteger(r,2)}else return r===void 0?n().format(`HH:mm`):r},t.formatTime=function(e){return n(e).format(`HH:mm:ss`)},t.tags=function(e,n){return typeof e==`string`&&(e=e.split(/,\s*/)),Array.isArray(e)?e.map(e=>t.string(e)).map(n||t.filterTag).filter(e=>e.length>0):[]},t.idRegExp=t.options.idRegExp||/^[A-Za-z0-9_]+$/,t.id=function(e,n){let r=t.string(e,n);return r===n||r.match(t.idRegExp)?r:n},t.ids=function(e){return Array.isArray(e)?e.filter(function(e){return t.id(e)!==void 0}):[]},t},t.exports.naughtyHref=i})),qs=l(((e,t)=>{var n=(nie(),m($re)),r=rie(),{isPlainObject:i}=iie(),a=aie(),o=oie(),{parse:s}=mie(),{naughtyHref:c}=gie(),l=[`img`,`audio`,`video`,`picture`,`svg`,`object`,`map`,`iframe`,`embed`],u=[`script`,`style`],d=[`animate`,`animatecolor`,`animatemotion`,`animatetransform`,`set`],f=[`href`];function p(e,t){e&&Object.keys(e).forEach(function(n){t(e[n],n)})}function h(e,t){return{}.hasOwnProperty.call(e,t)}function g(e,t){let n=[];return p(e,function(e){t(e)&&n.push(e)}),n}function _(e){for(let t in e)if(h(e,t))return!1;return!0}function v(e){return e.map(function(e){if(!e.url)throw Error(`URL missing`);return e.url+(e.w?` ${e.w}w`:``)+(e.h?` ${e.h}h`:``)+(e.d?` ${e.d}x`:``)}).join(`, `)}t.exports=b;var y=/^[^\0\t\n\f\r /<=>]+$/;function b(e,t,m){if(e==null)return``;typeof e==`number`&&(e=e.toString());let S=``,C=``;function w(e,t){let n=this;this.tag=e,this.attribs=t||{},this.tagPosition=S.length,this.text=``,this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(F.length){let e=F[F.length-1];e.text+=n.text}},this.updateParentNodeMediaChildren=function(){F.length&&l.includes(this.tag)&&F[F.length-1].mediaChildren.push(this.tag)}}t=Object.assign({},b.defaults,t),t.parser=Object.assign({},x,t.parser);let T=function(e){return t.allowedTags===!1||(t.allowedTags||[]).indexOf(e)>-1};u.forEach(function(e){T(e)&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)});let E=t.nonTextTags||[`script`,`style`,`textarea`,`option`,`xmp`],D,O;t.allowedAttributes&&(D={},O={},p(t.allowedAttributes,function(e,t){D[t]=[];let n=[];e.forEach(function(e){typeof e==`string`&&e.indexOf(`*`)>=0?n.push(r(e).replace(/\\\*/g,`.*`)):D[t].push(e)}),n.length&&(O[t]=RegExp(`^(`+n.join(`|`)+`)$`))}));let k={},A={},j={};p(t.allowedClasses,function(e,t){if(D&&(h(D,t)||(D[t]=[]),D[t].push(`class`)),k[t]=e,Array.isArray(e)){let n=[];k[t]=[],j[t]=[],e.forEach(function(e){typeof e==`string`&&e.indexOf(`*`)>=0?n.push(r(e).replace(/\\\*/g,`.*`)):e instanceof RegExp?j[t].push(e):k[t].push(e)}),n.length&&(A[t]=RegExp(`^(`+n.join(`|`)+`)$`))}});let M={},N;p(t.transformTags,function(e,t){let n;typeof e==`function`?n=e:typeof e==`string`&&(n=b.simpleTransform(e)),t===`*`?N=n:M[t]=n});let P,F,I,L,R,ee,te=!1;re();let ne=new n.Parser({onopentag:function(e,n){if(t.onOpenTag&&t.onOpenTag(e,n),t.enforceHtmlBoundary&&e===`html`&&re(),R){ee++;return}let r=new w(e,n);F.push(r);let c=!1,l=!!r.text,u;if(h(M,e)&&(u=M[e](e,n),r.attribs=n=u.attribs,u.text!==void 0&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,L[P]=u.tagName)),N&&(u=N(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,L[P]=u.tagName)),(!T(e)||oe(e,n)||t.disallowedTagsMode===`recursiveEscape`&&!_(I)||t.nestingLimit!=null&&P>=t.nestingLimit)&&(c=!0,I[P]=!0,(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&E.indexOf(e)!==-1&&(R=!0,ee=1)),P++,c){if(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`){if(r.innerText&&!l){let n=ie(r.innerText);t.textFilter?S+=t.textFilter(n,e):S+=n,te=!0}return}C=S,S=``}if(S+=`<`+e,e===`script`&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=``),c&&(t.disallowedTagsMode===`escape`||t.disallowedTagsMode===`recursiveEscape`)&&t.preserveEscapedAttributes?p(n,function(e,t){S+=` `+t+`="`+ie(e||``,!0)+`"`}):(!D||h(D,e)||D[`*`])&&p(n,function(n,c){if(!y.test(c)){delete r.attribs[c];return}if(n===``&&!t.allowedEmptyAttributes.includes(c)&&(t.nonBooleanAttributes.includes(c)||t.nonBooleanAttributes.includes(`*`))){delete r.attribs[c];return}let l=!1;if(!D||h(D,e)&&D[e].indexOf(c)!==-1||D[`*`]&&D[`*`].indexOf(c)!==-1||h(O,e)&&O[e].test(c)||O[`*`]&&O[`*`].test(c))l=!0;else if(D&&D[e]){for(let t of D[e])if(i(t)&&t.name&&t.name===c){l=!0;let e=``;if(t.multiple===!0){let r=n.split(` `);for(let n of r)t.values.indexOf(n)!==-1&&(e===``?e=n:e+=` `+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}}if(l){if(t.allowedSchemesAppliedToAttributes.indexOf(c)!==-1&&ae(e,n)){delete r.attribs[c];return}if(e===`script`&&c===`src`){let e=!0;try{let r=se(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){let n=(t.allowedScriptHostnames||[]).find(function(e){return e===r.url.hostname}),i=(t.allowedScriptDomains||[]).find(function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)});e=n||i}}catch{e=!1}if(!e){delete r.attribs[c];return}}if(e===`iframe`&&c===`src`){let e=!0;try{let r=se(n);if(r.isRelativeUrl)e=h(t,`allowIframeRelativeUrls`)?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){let n=(t.allowedIframeHostnames||[]).find(function(e){return e===r.url.hostname}),i=(t.allowedIframeDomains||[]).find(function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)});e=n||i}}catch{e=!1}if(!e){delete r.attribs[c];return}}if(c===`srcset`||c===`imagesrcset`)try{let e=o(n);if(e.forEach(function(e){ae(c,e.url)&&(e.evil=!0)}),e=g(e,function(e){return!e.evil}),e.length)n=v(g(e,function(e){return!e.evil})),r.attribs[c]=n;else{delete r.attribs[c];return}}catch{delete r.attribs[c];return}if(c===`class`){let t=k[e],i=k[`*`],o=A[e],s=j[e],l=j[`*`],u=[o,A[`*`]].concat(s,l).filter(function(e){return e});if(n=t&&i?de(n,a(t,i),u):de(n,t||i,u),!n.length){delete r.attribs[c];return}}if(c===`style`){if(t.parseStyleAttributes)try{if(n=le(ce(s(e+` {`+n+`}`,{map:!1}),t.allowedStyles)),n.length===0){delete r.attribs[c];return}}catch{typeof window<`u`&&console.warn(`Failed to parse "`+e+` {`+n+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete r.attribs[c];return}else if(t.allowedStyles)throw Error(`allowedStyles option cannot be used together with parseStyleAttributes: false.`)}S+=` `+c,n&&n.length?S+=`="`+ie(n,!0)+`"`:t.allowedEmptyAttributes.includes(c)&&(S+=`=""`)}else delete r.attribs[c]}),t.selfClosing.indexOf(e)!==-1)S+=` />`;else if(S+=`>`,r.innerText&&!l){let n=ie(r.innerText);t.textFilter?S+=t.textFilter(n,e):S+=n,te=!0}c&&(S=C+ie(S),C=``),r.openingTagLength=S.length-r.tagPosition},ontext:function(e){if(R)return;let n=F[F.length-1],r;if(n&&(r=n.tag,e=n.innerText===void 0?e:n.innerText),t.disallowedTagsMode===`completelyDiscard`&&!T(r))e=``;else if(r&&T(r)&&(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&(r===`script`||r===`style`))S+=e;else if(r&&T(r)&&(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&(r===`textarea`||r===`xmp`))r===`xmp`?S+=e.replace(/</g,`<`).replace(/>/g,`>`):S+=ie(e,!1);else if(!te){let n=ie(e,!1);t.textFilter?S+=t.textFilter(n,r):S+=n}if(F.length){let t=F[F.length-1];t.text+=e}},onclosetag:function(e,n){if(t.onCloseTag&&t.onCloseTag(e,n),R)if(ee--,!ee)R=!1;else return;let r=F.pop();if(!r)return;if(r.tag!==e){F.push(r);return}R=t.enforceHtmlBoundary?e===`html`:!1,P--;let i=I[P];if(i){if(delete I[P],t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`){r.updateParentNodeText();return}C=S,S=``}if(L[P]&&(e=L[P],delete L[P]),t.exclusiveFilter){let e=t.exclusiveFilter(r);if(e===`excludeTag`){i&&(S=C,C=``),S=S.substring(0,r.tagPosition)+S.substring(r.tagPosition+r.openingTagLength);return}else if(e){S=S.substring(0,r.tagPosition);return}}if(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),t.selfClosing.indexOf(e)!==-1||n&&!T(e)&&[`escape`,`recursiveEscape`].indexOf(t.disallowedTagsMode)>=0){i&&(S=C,C=``);return}S+=`</`+e+`>`,i&&(S=C+ie(S),C=``),te=!1}},t.parser);if(ne.write(e),ne.end(),t.disallowedTagsMode===`escape`||t.disallowedTagsMode===`recursiveEscape`){let t=ne.endIndex;if(t!=null&&t>=0&&t<e.length){let n=e.substring(t);S+=ie(n)}else (t==null||t<0)&&e.length>0&&S===``&&(S=ie(e))}return S;function re(){S=``,P=0,F=[],I={},L={},R=!1,ee=0}function ie(e,n){return typeof e!=`string`&&(e+=``),t.parser.decodeEntities&&(e=e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),n&&(e=e.replace(/"/g,`"`))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),n&&(e=e.replace(/"/g,`"`)),e}function ae(e,n){return c(n,{allowedSchemes:h(t.allowedSchemesByTag,e)?t.allowedSchemesByTag[e]:t.allowedSchemes||[],allowProtocolRelative:t.allowProtocolRelative})}function oe(e,n){if(d.indexOf(e.toLowerCase())===-1)return!1;let r=t.allowedSchemesAppliedToAttributes||[];return Object.keys(n||{}).some(function(e){if(e.toLowerCase()!==`attributename`)return!1;let t=(n[e]||``).trim().toLowerCase(),i=t.slice(t.lastIndexOf(`:`)+1);return f.indexOf(i)!==-1||r.indexOf(t)!==-1||r.indexOf(i)!==-1})}function se(e){if(e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,`$1//`),e.startsWith(`relative:`))throw Error(`relative: exploit attempt`);let t=`relative://relative-site`;for(let e=0;e<100;e++)t+=`/${e}`;let n=new URL(e,t);return{isRelativeUrl:n&&n.hostname===`relative-site`&&n.protocol===`relative:`,url:n}}function ce(e,t){if(!t)return e;let n=e.nodes[0],r;return r=t[n.selector]&&t[`*`]?a(t[n.selector],t[`*`]):t[n.selector]||t[`*`],r&&(e.nodes[0].nodes=n.nodes.reduce(ue(r),[])),e}function le(e){return e.nodes[0].nodes.reduce(function(e,t){return e.push(`${t.prop}:${t.value}${t.important?` !important`:``}`),e},[]).join(`;`)}function ue(e){return function(t,n){return h(e,n.prop)&&e[n.prop].some(function(e){return e.test(n.value)})&&t.push(n),t}}function de(e,t,n){return t?(e=e.split(/\s+/),e.filter(function(e){return t.indexOf(e)!==-1||n.some(function(t){return t.test(e)})}).join(` `)):e}}var x={decodeEntities:!0};b.defaults={allowedTags:`address.article.aside.footer.header.h1.h2.h3.h4.h5.h6.hgroup.main.nav.section.blockquote.dd.div.dl.dt.figcaption.figure.hr.li.menu.ol.p.pre.ul.a.abbr.b.bdi.bdo.br.cite.code.data.dfn.em.i.kbd.mark.q.rb.rp.rt.rtc.ruby.s.samp.small.span.strong.sub.sup.time.u.var.wbr.caption.col.colgroup.table.tbody.td.tfoot.th.thead.tr`.split(`.`),nonBooleanAttributes:`abbr.accept.accept-charset.accesskey.action.allow.alt.as.autocapitalize.autocomplete.blocking.charset.cite.class.color.cols.colspan.content.contenteditable.coords.crossorigin.data.datetime.decoding.dir.dirname.download.draggable.enctype.enterkeyhint.fetchpriority.for.form.formaction.formenctype.formmethod.formtarget.headers.height.hidden.high.href.hreflang.http-equiv.id.imagesizes.imagesrcset.inputmode.integrity.is.itemid.itemprop.itemref.itemtype.kind.label.lang.list.loading.low.max.maxlength.media.method.min.minlength.name.nonce.optimum.pattern.ping.placeholder.popover.popovertarget.popovertargetaction.poster.preload.referrerpolicy.rel.rows.rowspan.sandbox.scope.shape.size.sizes.slot.span.spellcheck.src.srcdoc.srclang.srcset.start.step.style.tabindex.target.title.translate.type.usemap.value.width.wrap.onauxclick.onafterprint.onbeforematch.onbeforeprint.onbeforeunload.onbeforetoggle.onblur.oncancel.oncanplay.oncanplaythrough.onchange.onclick.onclose.oncontextlost.oncontextmenu.oncontextrestored.oncopy.oncuechange.oncut.ondblclick.ondrag.ondragend.ondragenter.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onended.onerror.onfocus.onformdata.onhashchange.oninput.oninvalid.onkeydown.onkeypress.onkeyup.onlanguagechange.onload.onloadeddata.onloadedmetadata.onloadstart.onmessage.onmessageerror.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onoffline.ononline.onpagehide.onpageshow.onpaste.onpause.onplay.onplaying.onpopstate.onprogress.onratechange.onreset.onresize.onrejectionhandled.onscroll.onscrollend.onsecuritypolicyviolation.onseeked.onseeking.onselect.onslotchange.onstalled.onstorage.onsubmit.onsuspend.ontimeupdate.ontoggle.onunhandledrejection.onunload.onvolumechange.onwaiting.onwheel`.split(`.`),disallowedTagsMode:`discard`,allowedAttributes:{a:[`href`,`name`,`target`],img:[`src`,`srcset`,`alt`,`title`,`width`,`height`,`loading`]},allowedEmptyAttributes:[`alt`],selfClosing:[`img`,`br`,`hr`,`area`,`base`,`basefont`,`input`,`link`,`meta`,`col`],allowedSchemes:[`http`,`https`,`ftp`,`mailto`,`tel`],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:[`href`,`src`,`cite`,`action`,`formaction`,`data`,`xlink:href`,`poster`,`background`,`ping`,`longdesc`,`usemap`,`codebase`,`classid`,`archive`,`profile`,`manifest`,`itemid`,`dynsrc`,`lowsrc`],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},b.simpleTransform=function(e,t,n){return n=n===void 0?!0:n,t||={},function(r,i){let a;if(n)for(a in t)i[a]=t[a];else i=t;return{tagName:e,attribs:i}}}})),Js,Ys,Xs,Zs=c((()=>{wa(),Js=p(qs(),1),Ys=e=>(0,Js.default)(e,{allowedTags:Js.default.defaults.allowedTags.concat([`img`,`input`]),allowedAttributes:{...Js.default.defaults.allowedAttributes,input:[`type`,`id`,`checked`],code:[`class`],a:Js.default.defaults.allowedAttributes.a.concat([`data-*`]),div:[`class`]}}),Xs=(e,t)=>{t.value!==t.oldValue&&(e.innerHTML=Ys(t.value))}})),_ie;c((()=>{Zs(),_ie={"generic.retry":`Retry`,"generic.cancel":`Cancel`,"generic.close":`Close`,"generic.moreInfo":`More info`,"aiModelSelector.credentialsMissing":`Credentials missing`,"nds.auth.roles.owner":`Owner`,"nds.userInfo.you":`(you)`,"nds.userSelect.selectUser":`Select User`,"nds.userSelect.noMatchingUsers":`No matching users`,"nds.select.placeholder":`Select an option`,"nds.select.clear":`Clear selection`,"nds.select.noResults":`No results found`,"nds.inputNumber.increase":`Increase`,"nds.inputNumber.decrease":`Decrease`,"notice.showMore":`Show more`,"notice.showLess":`Show less`,"formInput.validator.fieldRequired":`This field is required`,"formInput.validator.minCharactersRequired":`Must be at least {minimum} characters`,"formInput.validator.maxCharactersRequired":`Must be at most {maximum} characters`,"formInput.validator.oneNumbersRequired":e=>`Must have at least ${e.minimum} number${e.minimum>1?`s`:``}`,"formInput.validator.validEmailRequired":`Must be a valid email`,"formInput.validator.uppercaseCharsRequired":e=>`Must have at least ${e.minimum} uppercase character${e.minimum>1?`s`:``}`,"formInput.validator.defaultPasswordRequirements":`{minimum}+ characters, at least 1 number and 1 capital letter`,"sticky.markdownHint":`You can style with <a href="https://docs.n8n.io/workflows/components/sticky-notes/" target="_blank">Markdown</a>`,"tags.showMore":e=>`+${e} more`,"datatable.pageSize":`Page size`,"pagination.previousPage":`Previous page`,"pagination.nextPage":`Next page`,"pagination.total":`Total {total}`,"pagination.pageSize":`Page size`,"pagination.pageSizeOption":`{size}/page`,"pagination.goTo":`Go to`,"pagination.goToPage":`Go to page`,"codeDiff.couldNotReplace":`Could not replace code`,"codeDiff.codeReplaced":`Code replaced`,"codeDiff.replaceMyCode":`Replace my code`,"codeDiff.replacing":`Replacing...`,"codeDiff.undo":`Undo`,"generic.copy":`Copy`,"generic.copiedToClipboard":`Copied to clipboard`,"codeBlock.copy":`Copy code`,"codeBlock.copiedToClipboard":`Copied to clipboard`,"codeBlock.copyFailed":`Couldn't copy code. Try again or copy it manually.`,"codeBlock.expand":`Expand code`,"codeBlock.collapse":`Collapse code`,"previewTag.preview":`Preview`,"askAssistantButton.askAssistant":`n8n AI`,"assistantChat.builder.name":`AI Builder`,"assistantChat.builder.generatingFinalWorkflow":`Generating final workflow...`,"assistantChat.builder.configuredNodes":`Configured nodes`,"assistantChat.builder.thumbsUp":`Helpful`,"assistantChat.builder.thumbsDown":`Not helpful`,"assistantChat.builder.feedbackPlaceholder":`Tell us about your experience`,"assistantChat.builder.success":`Thanks for your feedback!`,"assistantChat.builder.feedbackSubmit":`Submit feedback`,"assistantChat.rating.thumbsUp":`Helpful`,"assistantChat.rating.thumbsDown":`Not helpful`,"assistantChat.rating.feedbackPlaceholder":`Tell us about your experience`,"assistantChat.rating.success":`Thanks for your feedback!`,"assistantChat.rating.feedbackSubmit":`Submit feedback`,"assistantChat.builder.workflowGenerated1":`Your workflow was created successfully!`,"assistantChat.builder.workflowGenerated2":`Fix any missing credentials before testing it.`,"assistantChat.builder.configuringNodes":`Configuring nodes...`,"assistantChat.builder.selectedNodes":`Selected workflow nodes`,"assistantChat.builder.selectingNodes":`Selecting nodes...`,"assistantChat.builder.generatedNodes":`Generated workflow nodes`,"assistantChat.builder.toolRunning":`Tool still running`,"assistantChat.builder.toolError":`Some tool calls have failed. Agent will retry these.`,"assistantChat.thinking.workflowGenerated":`Workflow generated`,"assistantChat.thinking.craftingWorkflow":`Crafting workflow`,"assistantChat.thinking.thinking":`Thinking`,"assistantChat.thinking.processing":`Processing`,"assistantChat.errorParsingMarkdown":`Error parsing markdown content`,"assistantChat.aiAssistantLabel":`n8n AI`,"assistantChat.aiAssistantBetaLabel":`Beta`,"assistantChat.aiAssistantName":`n8n AI`,"assistantChat.sessionEndMessage.1":`This n8n AI session has ended. To start a new session with n8n AI, click a`,"assistantChat.sessionEndMessage.2":`button in n8n`,"assistantChat.you":`You`,"assistantChat.quickRepliesTitle":`Quick reply 👇`,"assistantChat.placeholder.1":()=>`I can answer most questions about building workflows in n8n.`,"assistantChat.placeholder.2":`For specific tasks, you’ll see the`,"assistantChat.placeholder.3":`button in the UI.`,"assistantChat.placeholder.4":`How can I help?`,"assistantChat.inputPlaceholder":`Enter your response...`,"assistantChat.blankStateInputPlaceholder":`What would you like to automate?`,"assistantChat.copy":`Copy`,"assistantChat.copied":`Copied`,"assistantChat.messageActions":`Message actions`,"assistantChat.readAloud":`Read aloud`,"assistantChat.stopReading":`Stop reading`,"assistantChat.characterLimit":`You've reached the {limit} character limit`,"aiAssistant.builder.canvas.thinking":`Working...`,"aiAssistant.builder.streamAbortedMessage":`Task aborted`,"collaboration.canvas.acquireEditing":`Edit here`,"collaboration.canvas.editing":`{user} is currently editing`,"collaboration.canvas.editingAnotherTab":`Editing in another tab`,"inlineAskAssistantButton.asked":`Asked`,"iconPicker.button.defaultToolTip":`Choose icon`,"iconPicker.tabs.icons":`Icons`,"iconPicker.tabs.emojis":`Emojis`,"iconPicker.search.placeholder":`Search...`,"iconPicker.search.noResults":`No results found`,"iconPicker.loading":`Loading...`,"iconPicker.random.icon":`Pick a random icon`,"iconPicker.random.emoji":`Pick a random emoji`,"iconPicker.colorPicker.tooltip":`Icon color`,"iconPicker.colorPicker.selectColor":`Select icon color`,"iconPicker.skinTone.tooltip":`Skin tone`,"iconPicker.skinTone.selectSkinTone":`Select skin tone`,"iconPicker.skinTone.default":`Default`,"iconPicker.skinTone.light":`Light`,"iconPicker.skinTone.mediumLight":`Medium-Light`,"iconPicker.skinTone.medium":`Medium`,"iconPicker.skinTone.mediumDark":`Medium-Dark`,"iconPicker.skinTone.dark":`Dark`,"iconPicker.colorPicker.blue":`Blue`,"iconPicker.colorPicker.lightBlue":`Light Blue`,"iconPicker.colorPicker.azure":`Azure`,"iconPicker.colorPicker.purple":`Purple`,"iconPicker.colorPicker.pink":`Pink`,"iconPicker.colorPicker.red":`Red`,"iconPicker.colorPicker.orange":`Orange`,"iconPicker.colorPicker.green":`Green`,"iconPicker.colorPicker.darkGreen":`Dark Green`,"iconPicker.colorPicker.gray":`Gray`,"iconPicker.category.all":`All`,"iconPicker.iconSection.accessibility":`Accessibility`,"iconPicker.iconSection.account":`Accounts & Access`,"iconPicker.iconSection.animals":`Animals`,"iconPicker.iconSection.arrows":`Arrows`,"iconPicker.iconSection.brands":`Brands`,"iconPicker.iconSection.buildings":`Buildings`,"iconPicker.iconSection.charts":`Charts`,"iconPicker.iconSection.communication":`Communication`,"iconPicker.iconSection.connectivity":`Connectivity`,"iconPicker.iconSection.cursors":`Cursors`,"iconPicker.iconSection.design":`Design`,"iconPicker.iconSection.development":`Coding & Development`,"iconPicker.iconSection.devices":`Devices`,"iconPicker.iconSection.emoji":`Emoji`,"iconPicker.iconSection.files":`File Icons`,"iconPicker.iconSection.finance":`Finance`,"iconPicker.iconSection.foodBeverage":`Food & Beverage`,"iconPicker.iconSection.gaming":`Gaming`,"iconPicker.iconSection.home":`Home`,"iconPicker.iconSection.layout":`Layout`,"iconPicker.iconSection.mail":`Mail`,"iconPicker.iconSection.math":`Mathematics`,"iconPicker.iconSection.medical":`Medical`,"iconPicker.iconSection.multimedia":`Multimedia`,"iconPicker.iconSection.nature":`Nature`,"iconPicker.iconSection.navigation":`Navigation, Maps & POIs`,"iconPicker.iconSection.notifications":`Notifications`,"iconPicker.iconSection.people":`People`,"iconPicker.iconSection.photography":`Photography`,"iconPicker.iconSection.science":`Science`,"iconPicker.iconSection.seasons":`Seasons`,"iconPicker.iconSection.security":`Security`,"iconPicker.iconSection.shapes":`Shapes`,"iconPicker.iconSection.shopping":`Shopping`,"iconPicker.iconSection.social":`Social`,"iconPicker.iconSection.sports":`Sports`,"iconPicker.iconSection.sustainability":`Sustainability`,"iconPicker.iconSection.text":`Text Formatting`,"iconPicker.iconSection.time":`Time & Calendar`,"iconPicker.iconSection.tools":`Tools`,"iconPicker.iconSection.transportation":`Transportation`,"iconPicker.iconSection.travel":`Travel`,"iconPicker.iconSection.weather":`Weather`,"iconPicker.iconSection.other":`Other`,"iconPicker.emojiSection.people":`Smileys & People`,"iconPicker.emojiSection.animalsNature":`Animals & Nature`,"iconPicker.emojiSection.foodDrink":`Food & Drink`,"iconPicker.emojiSection.activity":`Activity`,"iconPicker.emojiSection.travelPlaces":`Travel & Places`,"iconPicker.emojiSection.objects":`Objects`,"iconPicker.emojiSection.symbols":`Symbols`,"iconPicker.emojiSection.flags":`Flags`,"actionDropdown.activator":`Actions`,"askAssistantChat.close":`Close`,"sendStopButton.stop":`Stop`,"sendStopButton.send":`Send`,"selectableList.addDefault":`+ Add a`,"auth.changePassword.passwordsMustMatchError":`Passwords must match`,"tableControlsButton.display":`Display`,"tableControlsButton.shown":`Shown`,"tableControlsButton.hidden":`Hidden`,"promptInput.creditsInfo":`<b>{remaining}/{total}</b> monthly credits left`,"promptInput.getMore":`Get more`,"promptInput.askAdminToUpgrade":`Ask your admin to upgrade the instance to get more credits`,"promptInput.characterLimitReached":`You've reached the {limit} character limit`,"promptInput.remainingCredits":`Remaining builder AI credits: <b>{count}</b>`,"promptInput.monthlyCredits":`Monthly credits: <b>{count}</b> (1 credit = 1 message)`,"promptInput.creditsRenew":`Credits renew on: <b>{date}</b>`,"promptInput.creditsExpire":`Unused credits expire {date}`,"nodeCreatorNode.new":`New`,"collapsiblePanel.collapse":`Collapse`,"collapsiblePanel.expand":`Expand`,"collapsiblePanel.dragToReorder":`Drag to reorder`,"collapsiblePanel.delete":`Delete`,"combobox.clearSelection":`Clear selection`,"combobox.showPopup":`Show popup`,"combobox.placeholder":`Select an option`,"combobox.emptyText":`No results found.`,"tagsInput.removeTag":`Remove {tag}`,"markdownEditor.bold":`Bold`,"markdownEditor.italic":`Italic`,"markdownEditor.strikethrough":`Strikethrough`,"markdownEditor.underline":`Underline`,"markdownEditor.link":`Link`,"markdownEditor.bulletList":`Bullet list`,"markdownEditor.orderedList":`Ordered list`,"markdownEditor.taskList":`Task list`,"markdownEditor.codeBlock":`Code block`,"markdownEditor.blockquote":`Blockquote`,"markdownEditor.undo":`Undo`,"markdownEditor.redo":`Redo`,"markdownEditor.text":`Text`,"markdownEditor.heading1":`Heading 1`,"markdownEditor.heading2":`Heading 2`,"markdownEditor.heading3":`Heading 3`,"markdownEditor.rawMarkdownView":`Raw markdown`,"markdownEditor.formattedMarkdownView":`Formatted view`,"markdownEditor.expand":`Expand editor`,"markdownEditor.collapse":`Collapse editor`,"markdownEditor.linkDialogTitle":`Add link`,"markdownEditor.linkUrl":`Link URL`,"markdownEditor.linkPlaceholder":`https://example.com`,"markdownEditor.linkRequired":`Enter a URL to add the link`,"markdownEditor.linkInvalid":`Enter a valid URL, such as https://example.com`,"markdownEditor.addLink":`Add link`,"markdownEditor.updateLink":`Update link`,"markdownEditor.removeLink":`Remove link`,"markdownEditor.cancel":`Cancel`,"markdownEditor.slashCommandMenuLabel":`Markdown commands`,"aiAssistant.textMessage.restoreVersion":`Restore version`,"aiAssistant.versionCard.restoreModal.title":`Restore to this version?`,"aiAssistant.versionCard.restoreModal.description":`Your current version will be saved in version history for {pruneTime}.`,"aiAssistant.versionCard.restoreModal.descriptionNoLimit":`Your current version will be saved in version history.`,"aiAssistant.versionCard.restoreModal.hour":`{count} hour`,"aiAssistant.versionCard.restoreModal.hours":`{count} hours`,"aiAssistant.versionCard.restoreModal.day":`{count} day`,"aiAssistant.versionCard.restoreModal.days":`{count} days`,"aiAssistant.versionCard.restoreModal.showVersion":`Show version`,"aiAssistant.versionCard.restoreModal.restore":`Restore`}}))();var vie=Symbol(`IconBodyLoader`),yie=async()=>null;function bie(){return(0,t.inject)(vie,yie)}function Qs(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Qs(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function xie(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Qs(e))&&(r&&(r+=` `),r+=t);return r}function H(e,n){let r=typeof e==`string`&&!n?`${e}Context`:n,i=Symbol(r);return[n=>{let r=(0,t.inject)(i,n);if(r||r===null)return r;throw Error(`Injection \`${i.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>((0,t.provide)(i,e),e)]}function $s(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function ec(e,t,n){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}function tc(e){return e?e.flatMap(e=>e.type===t.Fragment?tc(e.children):[e]):[]}var Sie=[`INPUT`,`TEXTAREA`];function Cie(e,t,n,r={}){if(!t||r.enableIgnoredElement&&Sie.includes(t.nodeName))return null;let{arrowKeyOptions:i=`both`,attributeName:a=`[data-reka-collection-item]`,itemsArray:o=[],loop:s=!0,dir:c=`ltr`,preventScroll:l=!0,focus:u=!1}=r,[d,f,p,m,h,g]=[e.key===`ArrowRight`,e.key===`ArrowLeft`,e.key===`ArrowUp`,e.key===`ArrowDown`,e.key===`Home`,e.key===`End`],_=p||m,v=d||f;if(!h&&!g&&(!_&&!v||i===`vertical`&&v||i===`horizontal`&&_))return null;let y=n?Array.from(n.querySelectorAll(a)):o;if(!y.length)return null;l&&e.preventDefault();let b=null;return v||_?b=nc(y,t,{goForward:_?m:c===`ltr`?d:f,loop:s}):h?b=y.at(0)||null:g&&(b=y.at(-1)||null),u&&b?.focus(),b}function nc(e,t,n,r=e.length){if(--r===0)return null;let i=e.indexOf(t),a=n.goForward?i+1:i-1;if(!n.loop&&(a<0||a>=e.length))return null;let o=e[(a+e.length)%e.length];return o?o.hasAttribute(`disabled`)&&o.getAttribute(`disabled`)!==`false`?nc(e,o,n,r):o:null}var[rc,wie]=H(`ConfigProvider`);function Tie(e,n){let r=(0,t.shallowRef)();return(0,t.watchEffect)(()=>{r.value=e()},{...n,flush:n?.flush??`sync`}),(0,t.readonly)(r)}function ic(e){return(0,t.getCurrentScope)()?((0,t.onScopeDispose)(e),!0):!1}function Eie(){let e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);let r=()=>t(n);return ic(r),{off:r}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t))),clear:()=>{e.clear()}}}function Die(e){let n=!1,r,i=(0,t.effectScope)(!0);return(...t)=>(n||=(r=i.run(()=>e(...t)),!0),r)}function Oie(e){let n=0,r,i,a=()=>{--n,i&&n<=0&&(i.stop(),r=void 0,i=void 0)};return(...o)=>(n+=1,i||(i=(0,t.effectScope)(!0),r=i.run(()=>e(...o))),ic(a),r)}var ac=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var kie=e=>e!==void 0,Aie=Object.prototype.toString,jie=e=>Aie.call(e)===`[object Object]`,oc=Mie();function Mie(){return ac&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Nie(e){return e||(0,t.getCurrentInstance)()}function sc(e){return Array.isArray(e)?e:[e]}function cc(e,n=1e4){return(0,t.customRef)((r,i)=>{let a=(0,t.toValue)(e),o,s=()=>setTimeout(()=>{a=(0,t.toValue)(e),i()},(0,t.toValue)(n));return ic(()=>{clearTimeout(o)}),{get(){return r(),a},set(e){a=e,i(),clearTimeout(o),o=s()}}})}t.toValue;function Pie(e,n){Nie(n)&&(0,t.onBeforeUnmount)(e,n)}function lc(e,n,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,o=(0,t.shallowRef)(!1),s=null;function c(){s&&=(clearTimeout(s),null)}function l(){o.value=!1,c()}function u(...r){a&&e(),c(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...r)},(0,t.toValue)(n))}return i&&(o.value=!0,ac&&u()),ic(l),{isPending:(0,t.readonly)(o),start:u,stop:l}}function Fie(e,n,r){return(0,t.watch)(e,n,{...r,immediate:!0})}var uc=ac?window:void 0;ac&&window.document,ac&&window.navigator,ac&&window.location;function dc(e){let n=(0,t.toValue)(e);return n?.$el??n}function fc(...e){let n=[],r=()=>{n.forEach(e=>e()),n.length=0},i=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),a=(0,t.computed)(()=>{let n=sc((0,t.toValue)(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0}),o=Fie(()=>[a.value?.map(e=>dc(e))??[uc].filter(e=>e!=null),sc((0,t.toValue)(a.value?e[1]:e[0])),sc((0,t.unref)(a.value?e[2]:e[1])),(0,t.toValue)(a.value?e[3]:e[2])],([e,t,a,o])=>{if(r(),!e?.length||!t?.length||!a?.length)return;let s=jie(o)?{...o}:o;n.push(...e.flatMap(e=>t.flatMap(t=>a.map(n=>i(e,t,n,s)))))},{flush:`post`});return ic(r),()=>{o(),r()}}function pc(){let e=(0,t.shallowRef)(!1),n=(0,t.getCurrentInstance)();return n&&(0,t.onMounted)(()=>{e.value=!0},n),e}function Iie(e){let n=pc();return(0,t.computed)(()=>(n.value,!!e()))}function Lie(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Rie(...e){let n,r,i={};e.length===3?(n=e[0],r=e[1],i=e[2]):e.length===2?typeof e[1]==`object`?(n=!0,r=e[0],i=e[1]):(n=e[0],r=e[1]):(n=!0,r=e[0]);let{target:a=uc,eventName:o=`keydown`,passive:s=!1,dedupe:c=!1}=i,l=Lie(n);return fc(a,o,e=>{e.repeat&&(0,t.toValue)(c)||l(e)&&r(e)},s)}function zie(e){return JSON.parse(JSON.stringify(e))}function Bie(e,n,r={}){let{window:i=uc,...a}=r,o,s=Iie(()=>i&&`ResizeObserver`in i),c=()=>{o&&=(o.disconnect(),void 0)},l=(0,t.watch)((0,t.computed)(()=>{let n=(0,t.toValue)(e);return Array.isArray(n)?n.map(e=>dc(e)):[dc(n)]}),e=>{if(c(),s.value&&i){o=new ResizeObserver(n);for(let t of e)t&&o.observe(t,a)}},{immediate:!0,flush:`post`}),u=()=>{c(),l()};return ic(u),{isSupported:s,stop:u}}function mc(e,n,r,i={}){let{clone:a=!1,passive:o=!1,eventName:s,deep:c=!1,defaultValue:l,shouldEmit:u}=i,d=(0,t.getCurrentInstance)(),f=r||d?.emit||(d?.$emit)?.bind(d)||(d?.proxy?.$emit)?.bind(d?.proxy),p=s;n||=`modelValue`,p||=`update:${n.toString()}`;let m=e=>a?typeof a==`function`?a(e):zie(e):e,h=()=>kie(e[n])?m(e[n]):l,g=e=>{u?u(e)&&f(p,e):f(p,e)};if(o){let r=(0,t.ref)(h()),i=!1;return(0,t.watch)(()=>e[n],e=>{i||(i=!0,r.value=m(e),(0,t.nextTick)(()=>i=!1))}),(0,t.watch)(r,t=>{!i&&(t!==e[n]||c)&&g(t)},{deep:c}),r}else return(0,t.computed)({get(){return h()},set(e){g(e)}})}function hc(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function gc(e,t,n=`.`,r){if(!hc(t))return gc(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:hc(a)&&hc(i[t])?i[t]=gc(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function Vie(e){return(...t)=>t.reduce((t,n)=>gc(t,n,``,e),{})}var Hie=Vie(),Uie=Oie(()=>{let e=(0,t.ref)(new Map),n=(0,t.ref)(),r=(0,t.computed)(()=>{for(let t of e.value.values())if(t)return!0;return!1}),i=rc({scrollBody:(0,t.ref)(!0)}),a=null,o=()=>{document.body.style.paddingRight=``,document.body.style.marginRight=``,document.body.style.pointerEvents=``,document.documentElement.style.removeProperty(`--scrollbar-width`),document.body.style.overflow=n.value??``,oc&&a?.(),n.value=void 0};return(0,t.watch)(r,(e,r)=>{if(!ac)return;if(!e){r&&o();return}n.value===void 0&&(n.value=document.body.style.overflow);let s=window.innerWidth-document.documentElement.clientWidth,c={padding:s,margin:0},l=i.scrollBody?.value?typeof i.scrollBody.value==`object`?Hie({padding:i.scrollBody.value.padding===!0?s:i.scrollBody.value.padding,margin:i.scrollBody.value.margin===!0?s:i.scrollBody.value.margin},c):c:{padding:0,margin:0};s>0&&(document.body.style.paddingRight=typeof l.padding==`number`?`${l.padding}px`:String(l.padding),document.body.style.marginRight=typeof l.margin==`number`?`${l.margin}px`:String(l.margin),document.documentElement.style.setProperty(`--scrollbar-width`,`${s}px`),document.body.style.overflow=`hidden`),oc&&(a=fc(document,`touchmove`,e=>Gie(e),{passive:!1})),(0,t.nextTick)(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})},{immediate:!0,flush:`sync`}),e});function Wie(e){let n=Math.random().toString(36).substring(2,7),r=Uie();r.value.set(n,e??!1);let i=(0,t.computed)({get:()=>r.value.get(n)??!1,set:e=>r.value.set(n,e)});return Pie(()=>{r.value.delete(n)}),i}function _c(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(t instanceof Element)||t.tagName===`BODY`?!1:_c(t)}}function Gie(e){let t=e||window.event,n=t.target;return n instanceof Element&&_c(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function vc(e,t){return e-t*Math.floor(e/t)}var yc=1721426;function bc(e,t,n,r){t=Sc(e,t);let i=t-1,a=-2;return n<=2?a=0:xc(t)&&(a=-1),yc-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function xc(e){return e%4==0&&(e%100!=0||e%400==0)}function Sc(e,t){return e===`BC`?1-t:t}function Kie(e){let t=`AD`;return e<=0&&(t=`BC`,e=1-e),[t,e]}var qie={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},Cc=class{fromJulianDay(e){let t=e,n=t-yc,r=Math.floor(n/146097),i=vc(n,146097),a=Math.floor(i/36524),o=vc(i,36524),s=Math.floor(o/1461),c=vc(o,1461),l=Math.floor(c/365),[u,d]=Kie(r*400+a*100+s*4+l+(a!==4&&l!==4?1:0)),f=t-bc(u,d,1,1),p=2;t<bc(u,d,3,1)?p=0:xc(d)&&(p=1);let m=Math.floor(((f+p)*12+373)/367);return new pae(u,d,m,t-bc(u,d,m,1)+1)}toJulianDay(e){return bc(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return qie[xc(e.year)?`leapyear`:`standard`][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return xc(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return[`BC`,`AD`]}isInverseEra(e){return e.era===`BC`}balanceDate(e){e.year<=0&&(e.era=e.era===`BC`?`AD`:`BC`,e.year=1-e.year)}constructor(){this.identifier=`gregory`}};function Jie(e,t){return e.isEqual?.call(e,t)??t.isEqual?.call(t,e)??e.identifier===t.identifier}function wc(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Yie(e,t){return Tc(e)-Tc(t)}function Tc(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var Ec=null;function Dc(){return Ec??=new Intl.DateTimeFormat().resolvedOptions().timeZone,Ec}function Oc(e){return e=Rc(e,new Cc),kc(Sc(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function kc(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function Ac(e,t){if(t===`UTC`)return 0;if(e>0&&t===Dc())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:s}=Mc(e,t);return kc(n,r,i,a,o,s,0)-Math.floor(e/1e3)*1e3}var jc=new Map;function Mc(e,t){let n=jc.get(t);n||(n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),jc.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)e.type!==`literal`&&(i[e.type]=e.value);return{year:i.era===`BC`||i.era===`B`?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour===`24`?0:+i.hour,minute:+i.minute,second:+i.second}}var Nc=864e5;function Xie(e,t,n,r){return(n===r?[n]:[n,r]).filter(n=>Zie(e,t,n))}function Zie(e,t,n){let r=Mc(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function Pc(e,t,n=`compatible`){let r=Lc(e);if(t===`UTC`)return Oc(r);if(t===Dc()&&n===`compatible`){r=Rc(r,new Cc);let e=new Date,t=Sc(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let i=Oc(r),a=Ac(i-Nc,t),o=Ac(i+Nc,t),s=Xie(r,t,i-a,i-o);if(s.length===1)return s[0];if(s.length>1)switch(n){case`compatible`:case`earlier`:return s[0];case`later`:return s[s.length-1];case`reject`:throw RangeError(`Multiple possible absolute times found`)}switch(n){case`earlier`:return Math.min(i-a,i-o);case`compatible`:case`later`:return Math.max(i-a,i-o);case`reject`:throw RangeError(`No such absolute time found`)}}function Fc(e,t,n=`compatible`){return new Date(Pc(e,t,n))}function Ic(e,t){let n=Ac(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=r.getUTCHours(),c=r.getUTCMinutes(),l=r.getUTCSeconds(),u=r.getUTCMilliseconds();return new il(i<1?`BC`:`AD`,i<1?-i+1:i,a,o,t,n,s,c,l,u)}function Lc(e,t){let n=0,r=0,i=0,a=0;if(`timeZone`in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if(`hour`in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new hae(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function Rc(e,t){if(Jie(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,Wc(r),r}function Qie(e,t,n){return e instanceof il?e.timeZone===t?e:eae(e,t):Ic(Pc(e,t,n),t)}function $ie(e){let t=Oc(e)-e.offset;return new Date(t)}function eae(e,t){return Rc(Ic(Oc(e)-e.offset,t),e.calendar)}var zc=36e5;function Bc(e,t){let n=e.copy(),r=`hour`in n?iae(n,t):0;Vc(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,Hc(n),Uc(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,tae(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var a;let e=(a=n.calendar).isInverseEra?.call(a,n);n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let o=n.calendar.getMonthsInYear(n);return n.month>o&&(n.month=o,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function Vc(e,t){var n;(n=e.calendar).isInverseEra?.call(n,e)&&(t=-t),e.year+=t}function Hc(e){for(;e.month<1;)Vc(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Vc(e,1)}function tae(e){for(;e.day<1;)e.month--,Hc(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Hc(e)}function Uc(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function Wc(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Uc(e)}function Gc(e){let t={};for(let n in e)typeof e[n]==`number`&&(t[n]=-e[n]);return t}function Kc(e,t){return Bc(e,Gc(t))}function qc(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),Wc(n),n}function Jc(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),rae(n),n}function nae(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Yc(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Yc(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Yc(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Yc(e.hour,24),t}function rae(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function Yc(e,t){let n=e%t;return n<0&&(n+=t),n}function iae(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,nae(e)}function Xc(e,t,n,r){let i=e.copy();switch(t){case`era`:{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error(`Invalid era: `+e.era);a=Qc(a,n,0,t.length-1,r?.round),i.era=t[a],Wc(i);break}case`year`:var a;(a=i.calendar).isInverseEra?.call(a,i)&&(n=-n),i.year=Qc(e.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case`month`:i.month=Qc(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case`day`:i.day=Qc(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw Error(`Unsupported field `+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),Wc(i),i}function Zc(e,t,n,r){let i=e.copy();switch(t){case`hour`:{let t=e.hour,a=0,o=23;if(r?.hourCycle===12){let e=t>=12;a=e?12:0,o=e?23:11}i.hour=Qc(t,n,a,o,r?.round);break}case`minute`:i.minute=Qc(e.minute,n,0,59,r?.round);break;case`second`:i.second=Qc(e.second,n,0,59,r?.round);break;case`millisecond`:i.millisecond=Qc(e.millisecond,n,0,999,r?.round);break;default:throw Error(`Unsupported field `+t)}return i}function Qc(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let i=Math.abs(t);e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function $c(e,t){let n;return n=t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0?Pc(Bc(Lc(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):Oc(e)-e.offset,n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5,Rc(Ic(n,e.timeZone),e.calendar)}function aae(e,t){return $c(e,Gc(t))}function oae(e,t,n,r){switch(t){case`hour`:{let t=0,i=23;if(r?.hourCycle===12){let n=e.hour>=12;t=n?12:0,i=n?23:11}let a=Lc(e),o=Rc(Jc(a,{hour:t}),new Cc),s=[Pc(o,e.timeZone,`earlier`),Pc(o,e.timeZone,`later`)].filter(t=>Ic(t,e.timeZone).day===o.day)[0],c=Rc(Jc(a,{hour:i}),new Cc),l=[Pc(c,e.timeZone,`earlier`),Pc(c,e.timeZone,`later`)].filter(t=>Ic(t,e.timeZone).day===c.day).pop(),u=Oc(e)-e.offset,d=Math.floor(u/zc),f=u%zc;return u=Qc(d,n,Math.floor(s/zc),Math.floor(l/zc),r?.round)*zc+f,Rc(Ic(u,e.timeZone),e.calendar)}case`minute`:case`second`:case`millisecond`:return Zc(e,t,n,r);case`era`:case`year`:case`month`:case`day`:return Rc(Ic(Pc(Xc(Lc(e),t,n,r),e.timeZone),e.timeZone),e.calendar);default:throw Error(`Unsupported field `+t)}}function sae(e,t,n){let r=Lc(e),i=Jc(qc(r,t),t);return i.compare(r)===0?e:Rc(Ic(Pc(i,e.timeZone,n),e.timeZone),e.calendar)}function cae(e){return`${String(e.hour).padStart(2,`0`)}:${String(e.minute).padStart(2,`0`)}:${String(e.second).padStart(2,`0`)}${e.millisecond?String(e.millisecond/1e3).slice(1):``}`}function el(e){let t=Rc(e,new Cc),n;return n=t.era===`BC`?t.year===1?`0000`:`-`+String(Math.abs(1-t.year)).padStart(6,`00`):String(t.year).padStart(4,`0`),`${n}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)}`}function tl(e){return`${el(e)}T${cae(e)}`}function lae(e){let t=Math.sign(e)<0?`-`:`+`;e=Math.abs(e);let n=Math.floor(e/36e5),r=e%36e5/6e4;return`${t}${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`}function uae(e){return`${tl(e)}${lae(e.offset)}[${e.timeZone}]`}function dae(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function nl(e,t,n){dae(e,t),t.set(e,n)}function rl(e){let t=typeof e[0]==`object`?e.shift():new Cc,n;if(typeof e[0]==`string`)n=e.shift();else{let e=t.getEras();n=e[e.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var fae=new WeakMap,pae=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(e){return Bc(this,e)}subtract(e){return Kc(this,e)}set(e){return qc(this,e)}cycle(e,t,n){return Xc(this,e,t,n)}toDate(e){return Fc(this,e)}toString(){return el(this)}compare(e){return wc(this,e)}constructor(...e){nl(this,fae,{writable:!0,value:void 0});let[t,n,r,i,a]=rl(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,Wc(this)}},mae=new WeakMap,hae=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return Bc(this,e)}subtract(e){return Kc(this,e)}set(e){return qc(Jc(this,e),e)}cycle(e,t,n){switch(e){case`era`:case`year`:case`month`:case`day`:return Xc(this,e,t,n);default:return Zc(this,e,t,n)}}toDate(e,t){return Fc(this,e,t)}toString(){return tl(this)}compare(e){let t=wc(this,e);return t===0?Yie(this,Lc(e)):t}constructor(...e){nl(this,mae,{writable:!0,value:void 0});let[t,n,r,i,a]=rl(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Wc(this)}},gae=new WeakMap,il=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return $c(this,e)}subtract(e){return aae(this,e)}set(e,t){return sae(this,e,t)}cycle(e,t,n){return oae(this,e,t,n)}toDate(){return $ie(this)}toString(){return uae(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-Qie(e,this.timeZone).toDate().getTime()}constructor(...e){nl(this,gae,{writable:!0,value:void 0});let[t,n,r,i,a]=rl(e),o=e.shift(),s=e.shift();this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Wc(this)}},al=1080,_ae=24*al,vae=29,yae=12*al+793;vae*_ae+yae;function bae(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return vc(3*(r+1),7)<3&&(r+=1),r}function xae(e){let n=rc({dir:(0,t.ref)(`ltr`)});return(0,t.computed)(()=>e?.value||n.dir?.value||`ltr`)}function Sae(e){let n=(0,t.getCurrentInstance)(),r=n?.type.emits,i={};return r?.length||console.warn(`No emitted event found. Please check component: ${n?.type.__name}`),r?.forEach(n=>{i[(0,t.toHandlerKey)((0,t.camelize)(n))]=(...t)=>e(n,...t)}),i}var ol=0;function Cae(){(0,t.watchEffect)(e=>{if(!ac)return;let t=document.querySelectorAll(`[data-reka-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,t[0]??sl()),document.body.insertAdjacentElement(`beforeend`,t[1]??sl()),ol++,e(()=>{ol===1&&document.querySelectorAll(`[data-reka-focus-guard]`).forEach(e=>e.remove()),ol--})})}function sl(){let e=document.createElement(`span`);return e.setAttribute(`data-reka-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}function cl(){let e=(0,t.getCurrentInstance)(),n=(0,t.ref)(),r=(0,t.computed)(()=>[`#text`,`#comment`].includes(n.value?.$el.nodeName)?n.value?.$el.nextElementSibling:dc(n)),i=Object.assign({},e.exposed),a={};for(let t in e.props)Object.defineProperty(a,t,{enumerable:!0,configurable:!0,get:()=>e.props[t]});if(Object.keys(i).length>0)for(let e in i)Object.defineProperty(a,e,{enumerable:!0,configurable:!0,get:()=>i[e]});Object.defineProperty(a,`$el`,{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=a;function o(t){n.value=t,t&&(Object.defineProperty(a,`$el`,{enumerable:!0,configurable:!0,get:()=>t instanceof Element?t:t.$el}),e.exposed=a)}return{forwardRef:o,currentRef:n,currentElement:r}}function ll(e){let n=(0,t.getCurrentInstance)(),r=Object.keys(n?.type.props??{}).reduce((e,t)=>{let r=(n?.type.props[t]).default;return r!==void 0&&(e[t]=r),e},{}),i=(0,t.toRef)(e);return(0,t.computed)(()=>{let e={},a=n?.vnode.props??{};return Object.keys(a).forEach(n=>{e[(0,t.camelize)(n)]=a[n]}),Object.keys({...r,...e}).reduce((e,t)=>(i.value[t]!==void 0&&(e[t]=i.value[t]),e),{})})}function wae(e,n){let r=ll(e),i=n?Sae(n):{};return(0,t.computed)(()=>({...r.value,...i}))}function Tae(e,n){let r=cc(!1,300),i=(0,t.ref)(null),a=Eie();function o(){i.value=null,r.value=!1}function s(e,t){let n=e.currentTarget,a={x:e.clientX,y:e.clientY},o=Dae(a,Eae(a,n.getBoundingClientRect())),s=Oae(t.getBoundingClientRect());i.value=Aae([...o,...s]),r.value=!0}return(0,t.watchEffect)(t=>{if(e.value&&n.value){let r=e=>s(e,n.value),i=t=>s(t,e.value);e.value.addEventListener(`pointerleave`,r),n.value.addEventListener(`pointerleave`,i),t(()=>{e.value?.removeEventListener(`pointerleave`,r),n.value?.removeEventListener(`pointerleave`,i)})}}),(0,t.watchEffect)(t=>{if(i.value){let r=t=>{if(!i.value||!(t.target instanceof HTMLElement))return;let r=t.target,s={x:t.clientX,y:t.clientY},c=e.value?.contains(r)||n.value?.contains(r),l=!kae(s,i.value),u=!!r.closest(`[data-grace-area-trigger]`);c?o():(l||u)&&(o(),a.trigger())};e.value?.ownerDocument.addEventListener(`pointermove`,r),t(()=>e.value?.ownerDocument.removeEventListener(`pointermove`,r))}}),{isPointerInTransit:r,onPointerExit:a.on}}function Eae(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}function Dae(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Oae(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function kae(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e].x,s=t[e].y,c=t[a].x,l=t[a].y;s>r!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}function Aae(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),jae(t)}function jae(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Mae=function(e){return e&&(e.host||Mae(e.parentNode))},Nae=0;function Pae(e,n=`reka`){if(e)return e;if(`useId`in t)return`${n}-${t.useId?.()}`;let r=rc({useId:void 0});return r.useId?`${n}-${r.useId()}`:`${n}-${++Nae}`}function Fae(e){let n=(0,t.ref)(),r=(0,t.computed)(()=>n.value?.width??0),i=(0,t.computed)(()=>n.value?.height??0);return(0,t.onMounted)(()=>{let t=dc(e);if(t){n.value={width:t.offsetWidth,height:t.offsetHeight};let e=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let r=e[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=t.offsetWidth,a=t.offsetHeight;n.value={width:i,height:a}});return e.observe(t,{box:`border-box`}),()=>e.unobserve(t)}else n.value=void 0}),{width:r,height:i}}function Iae(e,n){let r=(0,t.ref)(e);function i(e){return n[r.value][e]??r.value}return{state:r,dispatch:e=>{r.value=i(e)}}}function Lae(e){let t=cc(``,1e3);return{search:t,handleTypeaheadSearch:(n,r)=>{if(t.value+=n,e)e(n);else{let e=$s(),n=r.map(e=>({...e,textValue:e.value?.textValue??e.ref.textContent?.trim()??``})),i=n.find(t=>t.ref===e),a=zae(n.map(e=>e.textValue),t.value,i?.textValue),o=n.find(e=>e.textValue===a);return o&&o.ref.focus(),o?.ref}},resetTypeahead:()=>{t.value=``}}}function Rae(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function zae(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Rae(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function Bae(e,n){let r=(0,t.ref)({}),i=(0,t.ref)(`none`),a=(0,t.ref)(e),o=e.value?`mounted`:`unmounted`,s,c=n.value?.ownerDocument.defaultView??uc,{state:l,dispatch:u}=Iae(o,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),d=e=>{if(ac){let t=new CustomEvent(e,{bubbles:!1,cancelable:!1});n.value?.dispatchEvent(t)}};(0,t.watch)(e,async(e,a)=>{let o=a!==e;if(await(0,t.nextTick)(),o){let t=i.value,o=ul(n.value);e?(u(`MOUNT`),d(`enter`),o===`none`&&d(`after-enter`)):o===`none`||o===`undefined`||r.value?.display===`none`?(u(`UNMOUNT`),d(`leave`),d(`after-leave`)):a&&t!==o?(u(`ANIMATION_OUT`),d(`leave`)):(u(`UNMOUNT`),d(`after-leave`))}},{immediate:!0});let f=e=>{let t=ul(n.value),r=t.includes(e.animationName),i=l.value===`mounted`?`enter`:`leave`;if(e.target===n.value&&r&&(d(`after-${i}`),u(`ANIMATION_END`),!a.value)){let e=n.value.style.animationFillMode;n.value.style.animationFillMode=`forwards`,s=c?.setTimeout(()=>{n.value?.style.animationFillMode===`forwards`&&(n.value.style.animationFillMode=e)})}e.target===n.value&&t===`none`&&u(`ANIMATION_END`)},p=e=>{e.target===n.value&&(i.value=ul(n.value))},m=(0,t.watch)(n,(e,t)=>{e?(r.value=getComputedStyle(e),e.addEventListener(`animationstart`,p),e.addEventListener(`animationcancel`,f),e.addEventListener(`animationend`,f)):(u(`ANIMATION_END`),s!==void 0&&c?.clearTimeout(s),t?.removeEventListener(`animationstart`,p),t?.removeEventListener(`animationcancel`,f),t?.removeEventListener(`animationend`,f))},{immediate:!0}),h=(0,t.watch)(l,()=>{let e=ul(n.value);i.value=l.value===`mounted`?e:`none`});return(0,t.onUnmounted)(()=>{m(),h()}),{isPresent:(0,t.computed)(()=>[`mounted`,`unmountSuspended`].includes(l.value))}}function ul(e){return e&&getComputedStyle(e).animationName||`none`}var Vae=(0,t.defineComponent)({name:`Presence`,props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:n,expose:r}){let{present:i,forceMount:a}=(0,t.toRefs)(e),o=(0,t.ref)(),{isPresent:s}=Bae(i,o);r({present:s});let c=n.default({present:s.value});c=tc(c||[]);let l=(0,t.getCurrentInstance)();if(c&&c?.length>1){let e=l?.parent?.type.name?`<${l.parent.type.name} />`:`component`;throw Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,``,"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",`You can apply a few solutions:`,["Provide a single child element so that `presence` directive attach correctly.",`Ensure the first child is an actual element instead of a raw text node or comment node.`].map(e=>` - ${e}`).join(`
|
|
51
|
+
https://www.w3ctech.com/topic/2226`));let i=t(...r);return i.postcssPlugin=e,i.postcssVersion=new m().version,i}let i;return Object.defineProperty(r,`postcss`,{get(){return i||=r(),i}}),r.process=function(e,t,n){return b([r(n)]).process(e,t)},r},b.stringify=v,b.parse=p,b.fromJSON=c,b.list=d,b.comment=e=>new r(e),b.atRule=e=>new n(e),b.decl=e=>new o(e),b.rule=e=>new _(e),b.root=e=>new g(e),b.document=e=>new s(e),b.CssSyntaxError=a,b.Declaration=o,b.Container=i,b.Processor=m,b.Document=s,b.Comment=r,b.Warning=y,b.AtRule=n,b.Result=h,b.Input=l,b.Rule=_,b.Root=g,b.Node=f,u.registerPostcss(b),t.exports=b,b.default=b})),hie=l(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),D=E.prototype;return w.prototype=D,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),gie=l(((e,t)=>{var n=hie();function r(e){for(e=e.replace(/[\x00-\x20]+/g,``);;){let t=e.indexOf(`<!--`);if(t===-1)break;let n=e.indexOf(`-->`,t+4);if(n===-1)break;e=e.substring(0,t)+e.substring(n+3)}return e}function i(e,t){t||={};let n=t.allowedSchemes||[`http`,`https`,`ftp`,`mailto`,`tel`,`sms`],i=t.allowProtocolRelative!==!1;if(typeof e!=`string`)return!1;e=r(e);let a=e.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!a)return e.match(/^[/\\]{2}/)?!i:!1;let o=a[1].toLowerCase();return n.indexOf(o)===-1}t.exports=function(e){let t={};return t.options=e||{},t.filterTag=t.options.filterTag||function(e){return e=e.trim(),e.toLowerCase()},t.string=function(e,t){return typeof e!=`string`&&(typeof e==`number`||typeof e==`boolean`?e+=``:e=``),e=e.trim(),t!==void 0&&e===``&&(e=t),e},t.strings=function(e){return Array.isArray(e)?e.map(function(e){return t.string(e)}):[]},t.integer=function(e,t,n,r){if(t===void 0&&(t=0),typeof e==`number`)e=Math.floor(e);else try{e=parseInt(e,10),isNaN(e)&&(e=t)}catch{e=t}return typeof n==`number`&&e<n&&(e=n),typeof r==`number`&&e>r&&(e=r),e},t.padInteger=function(e,t){let n=e+``;for(;n.length<t;)n=`0`+n;return n},t.float=function(e,t,n,r){if(t===void 0&&(t=0),typeof e!=`number`)try{e=parseFloat(e,10),isNaN(e)&&(e=t)}catch{e=t}return typeof n==`number`&&e<n&&(e=n),typeof r==`number`&&e>r&&(e=r),e},t.naughtyHref=i,t.url=function(e,n,a){if(e=t.string(e,n),e===n)return e;if(e=r(e),i(e)||(e=o(e),e===null))return n;return e;function o(e){return e.match(/^(((https?|ftp):\/\/)|((mailto|tel|sms):)|#|([^/.]+)?\/|[^/.]+$)/)?e:e.match(/^[^/.]+\.[^/.]+/)?(a?`https://`:`http://`)+e:null}},t.select=function(e,n,r){if(e=t.string(e),!n||!n.length)return r;let i;return typeof n[0]==`object`?(i=n.find(function(t){return t.value===null||t.value===void 0?!1:t.value.toString()===e}),i==null?r:i.value):(i=n.find(function(t){return t==null?!1:t.toString()===e}),i===void 0?r:i)},t.boolean=function(e,n){return e===!0?!0:e===!1?!1:(e=t.string(e,n),e===n?e===void 0?!1:e:(e=e.toLowerCase().charAt(0),e===``||e===`n`||e===`0`||e===`f`?!1:e===`t`||e===`y`||e===`1`))},t.addBooleanFilterToCriteria=function(e,n,r,i){i===void 0&&(i=null);let a=typeof e==`object`&&e?e[n]:e;a=a===void 0?i:a,a=t.booleanOrNull(a),a===null||(a?r[n]=!0:r[n]={$ne:!0})},t.booleanOrNull=function(e,n){return e===!0||e===!1||e===null?e:(e=t.string(e,n),e===n?n===void 0?null:e:e===`null`?null:(e=e.toLowerCase().charAt(0),e===``||e===`n`||e===`0`||e===`f`?!1:e===`t`||e===`y`||e===`1`?!0:e===`a`?null:n))},t.date=function(e,r,i){let a;function o(){return r===void 0&&(r=n().format(`YYYY-MM-DD`)),r}if(typeof e==`string`){if(e.match(/\//)){if(a=e.split(`/`),a.length===2)return(i||new Date).getFullYear()+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2);if(a.length===3){if(a[2]<100){let e=i||new Date,t=e.getFullYear()%100,n=e.getFullYear()-t,r=parseInt(a[2])+n;r-e.getFullYear()>50&&(r-=100),a[2]=r}return t.padInteger(a[2],4)+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2)}else return o()}else if(e.match(/-/))return a=e.split(`-`),a.length===2?(i||new Date).getFullYear()+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2):a.length===3?t.padInteger(a[0],4)+`-`+t.padInteger(a[1],2)+`-`+t.padInteger(a[2],2):o()}try{return e===null||(e=i||new Date(e),isNaN(e.getTime()))?o():e.getFullYear()+`-`+t.padInteger(e.getMonth()+1,2)+`-`+t.padInteger(e.getDate(),2)}catch{return o()}},t.formatDate=function(e){return n(e).format(`YYYY-MM-DD`)},t.time=function(e,r){e=t.string(e).toLowerCase(),e=e.trim();let i=e.match(/^(\d+)([:|.](\d+))?([:|.](\d+))?\s*(am|pm|AM|PM|a|p|A|M)?$/);if(i){let e=parseInt(i[1],10),n=i[3]===void 0?0:parseInt(i[3],10),r=i[5]===void 0?0:parseInt(i[5],10),a=i[6]?i[6].toLowerCase():i[6];return a&&=a.charAt(0),e===12&&a===`a`?e-=12:e===12&&a===`p`||a===`p`&&(e+=12),(e===24||e===`24`)&&(e=0),t.padInteger(e,2)+`:`+t.padInteger(n,2)+`:`+t.padInteger(r,2)}else return r===void 0?n().format(`HH:mm`):r},t.formatTime=function(e){return n(e).format(`HH:mm:ss`)},t.tags=function(e,n){return typeof e==`string`&&(e=e.split(/,\s*/)),Array.isArray(e)?e.map(e=>t.string(e)).map(n||t.filterTag).filter(e=>e.length>0):[]},t.idRegExp=t.options.idRegExp||/^[A-Za-z0-9_]+$/,t.id=function(e,n){let r=t.string(e,n);return r===n||r.match(t.idRegExp)?r:n},t.ids=function(e){return Array.isArray(e)?e.filter(function(e){return t.id(e)!==void 0}):[]},t},t.exports.naughtyHref=i})),qs=l(((e,t)=>{var n=(nie(),m($re)),r=rie(),{isPlainObject:i}=iie(),a=aie(),o=oie(),{parse:s}=mie(),{naughtyHref:c}=gie(),l=[`img`,`audio`,`video`,`picture`,`svg`,`object`,`map`,`iframe`,`embed`],u=[`script`,`style`],d=[`animate`,`animatecolor`,`animatemotion`,`animatetransform`,`set`],f=[`href`];function p(e,t){e&&Object.keys(e).forEach(function(n){t(e[n],n)})}function h(e,t){return{}.hasOwnProperty.call(e,t)}function g(e,t){let n=[];return p(e,function(e){t(e)&&n.push(e)}),n}function _(e){for(let t in e)if(h(e,t))return!1;return!0}function v(e){return e.map(function(e){if(!e.url)throw Error(`URL missing`);return e.url+(e.w?` ${e.w}w`:``)+(e.h?` ${e.h}h`:``)+(e.d?` ${e.d}x`:``)}).join(`, `)}t.exports=b;var y=/^[^\0\t\n\f\r /<=>]+$/;function b(e,t,m){if(e==null)return``;typeof e==`number`&&(e=e.toString());let S=``,C=``;function w(e,t){let n=this;this.tag=e,this.attribs=t||{},this.tagPosition=S.length,this.text=``,this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(F.length){let e=F[F.length-1];e.text+=n.text}},this.updateParentNodeMediaChildren=function(){F.length&&l.includes(this.tag)&&F[F.length-1].mediaChildren.push(this.tag)}}t=Object.assign({},b.defaults,t),t.parser=Object.assign({},x,t.parser);let T=function(e){return t.allowedTags===!1||(t.allowedTags||[]).indexOf(e)>-1};u.forEach(function(e){T(e)&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)});let E=t.nonTextTags||[`script`,`style`,`textarea`,`option`,`xmp`],D,O;t.allowedAttributes&&(D={},O={},p(t.allowedAttributes,function(e,t){D[t]=[];let n=[];e.forEach(function(e){typeof e==`string`&&e.indexOf(`*`)>=0?n.push(r(e).replace(/\\\*/g,`.*`)):D[t].push(e)}),n.length&&(O[t]=RegExp(`^(`+n.join(`|`)+`)$`))}));let k={},A={},j={};p(t.allowedClasses,function(e,t){if(D&&(h(D,t)||(D[t]=[]),D[t].push(`class`)),k[t]=e,Array.isArray(e)){let n=[];k[t]=[],j[t]=[],e.forEach(function(e){typeof e==`string`&&e.indexOf(`*`)>=0?n.push(r(e).replace(/\\\*/g,`.*`)):e instanceof RegExp?j[t].push(e):k[t].push(e)}),n.length&&(A[t]=RegExp(`^(`+n.join(`|`)+`)$`))}});let M={},N;p(t.transformTags,function(e,t){let n;typeof e==`function`?n=e:typeof e==`string`&&(n=b.simpleTransform(e)),t===`*`?N=n:M[t]=n});let P,F,I,L,R,ee,te=!1;re();let ne=new n.Parser({onopentag:function(e,n){if(t.onOpenTag&&t.onOpenTag(e,n),t.enforceHtmlBoundary&&e===`html`&&re(),R){ee++;return}let r=new w(e,n);F.push(r);let c=!1,l=!!r.text,u;if(h(M,e)&&(u=M[e](e,n),r.attribs=n=u.attribs,u.text!==void 0&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,L[P]=u.tagName)),N&&(u=N(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,L[P]=u.tagName)),(!T(e)||oe(e,n)||t.disallowedTagsMode===`recursiveEscape`&&!_(I)||t.nestingLimit!=null&&P>=t.nestingLimit)&&(c=!0,I[P]=!0,(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&E.indexOf(e)!==-1&&(R=!0,ee=1)),P++,c){if(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`){if(r.innerText&&!l){let n=ie(r.innerText);t.textFilter?S+=t.textFilter(n,e):S+=n,te=!0}return}C=S,S=``}if(S+=`<`+e,e===`script`&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=``),c&&(t.disallowedTagsMode===`escape`||t.disallowedTagsMode===`recursiveEscape`)&&t.preserveEscapedAttributes?p(n,function(e,t){S+=` `+t+`="`+ie(e||``,!0)+`"`}):(!D||h(D,e)||D[`*`])&&p(n,function(n,c){if(!y.test(c)){delete r.attribs[c];return}if(n===``&&!t.allowedEmptyAttributes.includes(c)&&(t.nonBooleanAttributes.includes(c)||t.nonBooleanAttributes.includes(`*`))){delete r.attribs[c];return}let l=!1;if(!D||h(D,e)&&D[e].indexOf(c)!==-1||D[`*`]&&D[`*`].indexOf(c)!==-1||h(O,e)&&O[e].test(c)||O[`*`]&&O[`*`].test(c))l=!0;else if(D&&D[e]){for(let t of D[e])if(i(t)&&t.name&&t.name===c){l=!0;let e=``;if(t.multiple===!0){let r=n.split(` `);for(let n of r)t.values.indexOf(n)!==-1&&(e===``?e=n:e+=` `+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}}if(l){if(t.allowedSchemesAppliedToAttributes.indexOf(c)!==-1&&ae(e,n)){delete r.attribs[c];return}if(e===`script`&&c===`src`){let e=!0;try{let r=se(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){let n=(t.allowedScriptHostnames||[]).find(function(e){return e===r.url.hostname}),i=(t.allowedScriptDomains||[]).find(function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)});e=n||i}}catch{e=!1}if(!e){delete r.attribs[c];return}}if(e===`iframe`&&c===`src`){let e=!0;try{let r=se(n);if(r.isRelativeUrl)e=h(t,`allowIframeRelativeUrls`)?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){let n=(t.allowedIframeHostnames||[]).find(function(e){return e===r.url.hostname}),i=(t.allowedIframeDomains||[]).find(function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)});e=n||i}}catch{e=!1}if(!e){delete r.attribs[c];return}}if(c===`srcset`||c===`imagesrcset`)try{let e=o(n);if(e.forEach(function(e){ae(c,e.url)&&(e.evil=!0)}),e=g(e,function(e){return!e.evil}),e.length)n=v(g(e,function(e){return!e.evil})),r.attribs[c]=n;else{delete r.attribs[c];return}}catch{delete r.attribs[c];return}if(c===`class`){let t=k[e],i=k[`*`],o=A[e],s=j[e],l=j[`*`],u=[o,A[`*`]].concat(s,l).filter(function(e){return e});if(n=t&&i?de(n,a(t,i),u):de(n,t||i,u),!n.length){delete r.attribs[c];return}}if(c===`style`){if(t.parseStyleAttributes)try{if(n=le(ce(s(e+` {`+n+`}`,{map:!1}),t.allowedStyles)),n.length===0){delete r.attribs[c];return}}catch{typeof window<`u`&&console.warn(`Failed to parse "`+e+` {`+n+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete r.attribs[c];return}else if(t.allowedStyles)throw Error(`allowedStyles option cannot be used together with parseStyleAttributes: false.`)}S+=` `+c,n&&n.length?S+=`="`+ie(n,!0)+`"`:t.allowedEmptyAttributes.includes(c)&&(S+=`=""`)}else delete r.attribs[c]}),t.selfClosing.indexOf(e)!==-1)S+=` />`;else if(S+=`>`,r.innerText&&!l){let n=ie(r.innerText);t.textFilter?S+=t.textFilter(n,e):S+=n,te=!0}c&&(S=C+ie(S),C=``),r.openingTagLength=S.length-r.tagPosition},ontext:function(e){if(R)return;let n=F[F.length-1],r;if(n&&(r=n.tag,e=n.innerText===void 0?e:n.innerText),t.disallowedTagsMode===`completelyDiscard`&&!T(r))e=``;else if(r&&T(r)&&(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&(r===`script`||r===`style`))S+=e;else if(r&&T(r)&&(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&(r===`textarea`||r===`xmp`))r===`xmp`?S+=e.replace(/</g,`<`).replace(/>/g,`>`):S+=ie(e,!1);else if(!te){let n=ie(e,!1);t.textFilter?S+=t.textFilter(n,r):S+=n}if(F.length){let t=F[F.length-1];t.text+=e}},onclosetag:function(e,n){if(t.onCloseTag&&t.onCloseTag(e,n),R)if(ee--,!ee)R=!1;else return;let r=F.pop();if(!r)return;if(r.tag!==e){F.push(r);return}R=t.enforceHtmlBoundary?e===`html`:!1,P--;let i=I[P];if(i){if(delete I[P],t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`){r.updateParentNodeText();return}C=S,S=``}if(L[P]&&(e=L[P],delete L[P]),t.exclusiveFilter){let e=t.exclusiveFilter(r);if(e===`excludeTag`){i&&(S=C,C=``),S=S.substring(0,r.tagPosition)+S.substring(r.tagPosition+r.openingTagLength);return}else if(e){S=S.substring(0,r.tagPosition);return}}if(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),t.selfClosing.indexOf(e)!==-1||n&&!T(e)&&[`escape`,`recursiveEscape`].indexOf(t.disallowedTagsMode)>=0){i&&(S=C,C=``);return}S+=`</`+e+`>`,i&&(S=C+ie(S),C=``),te=!1}},t.parser);if(ne.write(e),ne.end(),t.disallowedTagsMode===`escape`||t.disallowedTagsMode===`recursiveEscape`){let t=ne.endIndex;if(t!=null&&t>=0&&t<e.length){let n=e.substring(t);S+=ie(n)}else (t==null||t<0)&&e.length>0&&S===``&&(S=ie(e))}return S;function re(){S=``,P=0,F=[],I={},L={},R=!1,ee=0}function ie(e,n){return typeof e!=`string`&&(e+=``),t.parser.decodeEntities&&(e=e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),n&&(e=e.replace(/"/g,`"`))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),n&&(e=e.replace(/"/g,`"`)),e}function ae(e,n){return c(n,{allowedSchemes:h(t.allowedSchemesByTag,e)?t.allowedSchemesByTag[e]:t.allowedSchemes||[],allowProtocolRelative:t.allowProtocolRelative})}function oe(e,n){if(d.indexOf(e.toLowerCase())===-1)return!1;let r=t.allowedSchemesAppliedToAttributes||[];return Object.keys(n||{}).some(function(e){if(e.toLowerCase()!==`attributename`)return!1;let t=(n[e]||``).trim().toLowerCase(),i=t.slice(t.lastIndexOf(`:`)+1);return f.indexOf(i)!==-1||r.indexOf(t)!==-1||r.indexOf(i)!==-1})}function se(e){if(e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,`$1//`),e.startsWith(`relative:`))throw Error(`relative: exploit attempt`);let t=`relative://relative-site`;for(let e=0;e<100;e++)t+=`/${e}`;let n=new URL(e,t);return{isRelativeUrl:n&&n.hostname===`relative-site`&&n.protocol===`relative:`,url:n}}function ce(e,t){if(!t)return e;let n=e.nodes[0],r;return r=t[n.selector]&&t[`*`]?a(t[n.selector],t[`*`]):t[n.selector]||t[`*`],r&&(e.nodes[0].nodes=n.nodes.reduce(ue(r),[])),e}function le(e){return e.nodes[0].nodes.reduce(function(e,t){return e.push(`${t.prop}:${t.value}${t.important?` !important`:``}`),e},[]).join(`;`)}function ue(e){return function(t,n){return h(e,n.prop)&&e[n.prop].some(function(e){return e.test(n.value)})&&t.push(n),t}}function de(e,t,n){return t?(e=e.split(/\s+/),e.filter(function(e){return t.indexOf(e)!==-1||n.some(function(t){return t.test(e)})}).join(` `)):e}}var x={decodeEntities:!0};b.defaults={allowedTags:`address.article.aside.footer.header.h1.h2.h3.h4.h5.h6.hgroup.main.nav.section.blockquote.dd.div.dl.dt.figcaption.figure.hr.li.menu.ol.p.pre.ul.a.abbr.b.bdi.bdo.br.cite.code.data.dfn.em.i.kbd.mark.q.rb.rp.rt.rtc.ruby.s.samp.small.span.strong.sub.sup.time.u.var.wbr.caption.col.colgroup.table.tbody.td.tfoot.th.thead.tr`.split(`.`),nonBooleanAttributes:`abbr.accept.accept-charset.accesskey.action.allow.alt.as.autocapitalize.autocomplete.blocking.charset.cite.class.color.cols.colspan.content.contenteditable.coords.crossorigin.data.datetime.decoding.dir.dirname.download.draggable.enctype.enterkeyhint.fetchpriority.for.form.formaction.formenctype.formmethod.formtarget.headers.height.hidden.high.href.hreflang.http-equiv.id.imagesizes.imagesrcset.inputmode.integrity.is.itemid.itemprop.itemref.itemtype.kind.label.lang.list.loading.low.max.maxlength.media.method.min.minlength.name.nonce.optimum.pattern.ping.placeholder.popover.popovertarget.popovertargetaction.poster.preload.referrerpolicy.rel.rows.rowspan.sandbox.scope.shape.size.sizes.slot.span.spellcheck.src.srcdoc.srclang.srcset.start.step.style.tabindex.target.title.translate.type.usemap.value.width.wrap.onauxclick.onafterprint.onbeforematch.onbeforeprint.onbeforeunload.onbeforetoggle.onblur.oncancel.oncanplay.oncanplaythrough.onchange.onclick.onclose.oncontextlost.oncontextmenu.oncontextrestored.oncopy.oncuechange.oncut.ondblclick.ondrag.ondragend.ondragenter.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onended.onerror.onfocus.onformdata.onhashchange.oninput.oninvalid.onkeydown.onkeypress.onkeyup.onlanguagechange.onload.onloadeddata.onloadedmetadata.onloadstart.onmessage.onmessageerror.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onoffline.ononline.onpagehide.onpageshow.onpaste.onpause.onplay.onplaying.onpopstate.onprogress.onratechange.onreset.onresize.onrejectionhandled.onscroll.onscrollend.onsecuritypolicyviolation.onseeked.onseeking.onselect.onslotchange.onstalled.onstorage.onsubmit.onsuspend.ontimeupdate.ontoggle.onunhandledrejection.onunload.onvolumechange.onwaiting.onwheel`.split(`.`),disallowedTagsMode:`discard`,allowedAttributes:{a:[`href`,`name`,`target`],img:[`src`,`srcset`,`alt`,`title`,`width`,`height`,`loading`]},allowedEmptyAttributes:[`alt`],selfClosing:[`img`,`br`,`hr`,`area`,`base`,`basefont`,`input`,`link`,`meta`,`col`],allowedSchemes:[`http`,`https`,`ftp`,`mailto`,`tel`],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:[`href`,`src`,`cite`,`action`,`formaction`,`data`,`xlink:href`,`poster`,`background`,`ping`,`longdesc`,`usemap`,`codebase`,`classid`,`archive`,`profile`,`manifest`,`itemid`,`dynsrc`,`lowsrc`],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},b.simpleTransform=function(e,t,n){return n=n===void 0?!0:n,t||={},function(r,i){let a;if(n)for(a in t)i[a]=t[a];else i=t;return{tagName:e,attribs:i}}}})),Js,Ys,Xs,Zs=c((()=>{wa(),Js=p(qs(),1),Ys=e=>(0,Js.default)(e,{allowedTags:Js.default.defaults.allowedTags.concat([`img`,`input`]),allowedAttributes:{...Js.default.defaults.allowedAttributes,input:[`type`,`id`,`checked`],code:[`class`],a:Js.default.defaults.allowedAttributes.a.concat([`data-*`]),div:[`class`]}}),Xs=(e,t)=>{t.value!==t.oldValue&&(e.innerHTML=Ys(t.value))}})),_ie;c((()=>{Zs(),_ie={"setupPanel.label":`Workflow setup`,"setupPanel.back":`Back to setup checklist`,"setupPanel.complete":`Complete`,"setupPanel.credentialSelected":`Credential selected`,"setupPanel.setupComplete":`Setup complete`,"setupPanel.execute":`Execute`,"setupPanel.validating":`Validating…`,"setupPanel.executing":`Executing…`,"setupPanel.connected":`Connected`,"setupPanel.changeConnection":`Change connection`,"setupPanel.moreOptions":`More options`,"generic.retry":`Retry`,"generic.cancel":`Cancel`,"generic.close":`Close`,"generic.moreInfo":`More info`,"aiModelSelector.credentialsMissing":`Credentials missing`,"nds.auth.roles.owner":`Owner`,"nds.userInfo.you":`(you)`,"nds.userSelect.selectUser":`Select User`,"nds.userSelect.noMatchingUsers":`No matching users`,"nds.select.placeholder":`Select an option`,"nds.select.clear":`Clear selection`,"nds.select.noResults":`No results found`,"nds.inputNumber.increase":`Increase`,"nds.inputNumber.decrease":`Decrease`,"resizeWrapper.resize":`Resize`,"resizeWrapper.drag":`Drag`,"notice.showMore":`Show more`,"notice.showLess":`Show less`,"formInput.validator.fieldRequired":`This field is required`,"formInput.validator.minCharactersRequired":`Must be at least {minimum} characters`,"formInput.validator.maxCharactersRequired":`Must be at most {maximum} characters`,"formInput.validator.oneNumbersRequired":e=>`Must have at least ${e.minimum} number${e.minimum>1?`s`:``}`,"formInput.validator.validEmailRequired":`Must be a valid email`,"formInput.validator.uppercaseCharsRequired":e=>`Must have at least ${e.minimum} uppercase character${e.minimum>1?`s`:``}`,"formInput.validator.defaultPasswordRequirements":`{minimum}+ characters, at least 1 number and 1 capital letter`,"sticky.markdownHint":`You can style with <a href="https://docs.n8n.io/workflows/components/sticky-notes/" target="_blank">Markdown</a>`,"tags.showMore":e=>`+${e} more`,"datatable.pageSize":`Page size`,"pagination.previousPage":`Previous page`,"pagination.nextPage":`Next page`,"pagination.total":`Total {total}`,"pagination.pageSize":`Page size`,"pagination.pageSizeOption":`{size}/page`,"pagination.goTo":`Go to`,"pagination.goToPage":`Go to page`,"codeDiff.couldNotReplace":`Could not replace code`,"codeDiff.codeReplaced":`Code replaced`,"codeDiff.replaceMyCode":`Replace my code`,"codeDiff.replacing":`Replacing...`,"codeDiff.undo":`Undo`,"generic.copy":`Copy`,"generic.copiedToClipboard":`Copied to clipboard`,"codeBlock.copy":`Copy code`,"codeBlock.copiedToClipboard":`Copied to clipboard`,"codeBlock.copyFailed":`Couldn't copy code. Try again or copy it manually.`,"codeBlock.expand":`Expand code`,"codeBlock.collapse":`Collapse code`,"previewTag.preview":`Preview`,"askAssistantButton.askAssistant":`n8n AI`,"assistantChat.builder.name":`AI Builder`,"assistantChat.builder.generatingFinalWorkflow":`Generating final workflow...`,"assistantChat.builder.configuredNodes":`Configured nodes`,"assistantChat.builder.thumbsUp":`Helpful`,"assistantChat.builder.thumbsDown":`Not helpful`,"assistantChat.builder.feedbackPlaceholder":`Tell us about your experience`,"assistantChat.builder.success":`Thanks for your feedback!`,"assistantChat.builder.feedbackSubmit":`Submit feedback`,"assistantChat.rating.thumbsUp":`Helpful`,"assistantChat.rating.thumbsDown":`Not helpful`,"assistantChat.rating.feedbackPlaceholder":`Tell us about your experience`,"assistantChat.rating.success":`Thanks for your feedback!`,"assistantChat.rating.feedbackSubmit":`Submit feedback`,"assistantChat.builder.workflowGenerated1":`Your workflow was created successfully!`,"assistantChat.builder.workflowGenerated2":`Fix any missing credentials before testing it.`,"assistantChat.builder.configuringNodes":`Configuring nodes...`,"assistantChat.builder.selectedNodes":`Selected workflow nodes`,"assistantChat.builder.selectingNodes":`Selecting nodes...`,"assistantChat.builder.generatedNodes":`Generated workflow nodes`,"assistantChat.builder.toolRunning":`Tool still running`,"assistantChat.builder.toolError":`Some tool calls have failed. Agent will retry these.`,"assistantChat.thinking.workflowGenerated":`Workflow generated`,"assistantChat.thinking.craftingWorkflow":`Crafting workflow`,"assistantChat.thinking.thinking":`Thinking`,"assistantChat.thinking.processing":`Processing`,"assistantChat.errorParsingMarkdown":`Error parsing markdown content`,"assistantChat.aiAssistantLabel":`n8n AI`,"assistantChat.aiAssistantBetaLabel":`Beta`,"assistantChat.aiAssistantName":`n8n AI`,"assistantChat.sessionEndMessage.1":`This n8n AI session has ended. To start a new session with n8n AI, click a`,"assistantChat.sessionEndMessage.2":`button in n8n`,"assistantChat.you":`You`,"assistantChat.quickRepliesTitle":`Quick reply 👇`,"assistantChat.placeholder.1":()=>`I can answer most questions about building workflows in n8n.`,"assistantChat.placeholder.2":`For specific tasks, you’ll see the`,"assistantChat.placeholder.3":`button in the UI.`,"assistantChat.placeholder.4":`How can I help?`,"assistantChat.inputPlaceholder":`Enter your response...`,"assistantChat.blankStateInputPlaceholder":`What would you like to automate?`,"assistantChat.copy":`Copy`,"assistantChat.copied":`Copied`,"assistantChat.messageActions":`Message actions`,"assistantChat.readAloud":`Read aloud`,"assistantChat.stopReading":`Stop reading`,"assistantChat.characterLimit":`You've reached the {limit} character limit`,"aiAssistant.builder.canvas.thinking":`Working...`,"aiAssistant.builder.streamAbortedMessage":`Task aborted`,"collaboration.canvas.acquireEditing":`Edit here`,"collaboration.canvas.editing":`{user} is currently editing`,"collaboration.canvas.editingAnotherTab":`Editing in another tab`,"inlineAskAssistantButton.asked":`Asked`,"iconPicker.button.defaultToolTip":`Choose icon`,"iconPicker.tabs.icons":`Icons`,"iconPicker.tabs.emojis":`Emojis`,"iconPicker.search.placeholder":`Search...`,"iconPicker.search.noResults":`No results found`,"iconPicker.loading":`Loading...`,"iconPicker.random.icon":`Pick a random icon`,"iconPicker.random.emoji":`Pick a random emoji`,"iconPicker.colorPicker.tooltip":`Icon color`,"iconPicker.colorPicker.selectColor":`Select icon color`,"iconPicker.skinTone.tooltip":`Skin tone`,"iconPicker.skinTone.selectSkinTone":`Select skin tone`,"iconPicker.skinTone.default":`Default`,"iconPicker.skinTone.light":`Light`,"iconPicker.skinTone.mediumLight":`Medium-Light`,"iconPicker.skinTone.medium":`Medium`,"iconPicker.skinTone.mediumDark":`Medium-Dark`,"iconPicker.skinTone.dark":`Dark`,"iconPicker.colorPicker.blue":`Blue`,"iconPicker.colorPicker.lightBlue":`Light Blue`,"iconPicker.colorPicker.azure":`Azure`,"iconPicker.colorPicker.purple":`Purple`,"iconPicker.colorPicker.pink":`Pink`,"iconPicker.colorPicker.red":`Red`,"iconPicker.colorPicker.orange":`Orange`,"iconPicker.colorPicker.green":`Green`,"iconPicker.colorPicker.darkGreen":`Dark Green`,"iconPicker.colorPicker.gray":`Gray`,"iconPicker.category.all":`All`,"iconPicker.iconSection.accessibility":`Accessibility`,"iconPicker.iconSection.account":`Accounts & Access`,"iconPicker.iconSection.animals":`Animals`,"iconPicker.iconSection.arrows":`Arrows`,"iconPicker.iconSection.brands":`Brands`,"iconPicker.iconSection.buildings":`Buildings`,"iconPicker.iconSection.charts":`Charts`,"iconPicker.iconSection.communication":`Communication`,"iconPicker.iconSection.connectivity":`Connectivity`,"iconPicker.iconSection.cursors":`Cursors`,"iconPicker.iconSection.design":`Design`,"iconPicker.iconSection.development":`Coding & Development`,"iconPicker.iconSection.devices":`Devices`,"iconPicker.iconSection.emoji":`Emoji`,"iconPicker.iconSection.files":`File Icons`,"iconPicker.iconSection.finance":`Finance`,"iconPicker.iconSection.foodBeverage":`Food & Beverage`,"iconPicker.iconSection.gaming":`Gaming`,"iconPicker.iconSection.home":`Home`,"iconPicker.iconSection.layout":`Layout`,"iconPicker.iconSection.mail":`Mail`,"iconPicker.iconSection.math":`Mathematics`,"iconPicker.iconSection.medical":`Medical`,"iconPicker.iconSection.multimedia":`Multimedia`,"iconPicker.iconSection.nature":`Nature`,"iconPicker.iconSection.navigation":`Navigation, Maps & POIs`,"iconPicker.iconSection.notifications":`Notifications`,"iconPicker.iconSection.people":`People`,"iconPicker.iconSection.photography":`Photography`,"iconPicker.iconSection.science":`Science`,"iconPicker.iconSection.seasons":`Seasons`,"iconPicker.iconSection.security":`Security`,"iconPicker.iconSection.shapes":`Shapes`,"iconPicker.iconSection.shopping":`Shopping`,"iconPicker.iconSection.social":`Social`,"iconPicker.iconSection.sports":`Sports`,"iconPicker.iconSection.sustainability":`Sustainability`,"iconPicker.iconSection.text":`Text Formatting`,"iconPicker.iconSection.time":`Time & Calendar`,"iconPicker.iconSection.tools":`Tools`,"iconPicker.iconSection.transportation":`Transportation`,"iconPicker.iconSection.travel":`Travel`,"iconPicker.iconSection.weather":`Weather`,"iconPicker.iconSection.other":`Other`,"iconPicker.emojiSection.people":`Smileys & People`,"iconPicker.emojiSection.animalsNature":`Animals & Nature`,"iconPicker.emojiSection.foodDrink":`Food & Drink`,"iconPicker.emojiSection.activity":`Activity`,"iconPicker.emojiSection.travelPlaces":`Travel & Places`,"iconPicker.emojiSection.objects":`Objects`,"iconPicker.emojiSection.symbols":`Symbols`,"iconPicker.emojiSection.flags":`Flags`,"actionDropdown.activator":`Actions`,"askAssistantChat.close":`Close`,"sendStopButton.stop":`Stop`,"sendStopButton.send":`Send`,"selectableList.addDefault":`+ Add a`,"auth.changePassword.passwordsMustMatchError":`Passwords must match`,"tableControlsButton.display":`Display`,"tableControlsButton.shown":`Shown`,"tableControlsButton.hidden":`Hidden`,"promptInput.creditsInfo":`<b>{remaining}/{total}</b> monthly credits left`,"promptInput.getMore":`Get more`,"promptInput.askAdminToUpgrade":`Ask your admin to upgrade the instance to get more credits`,"promptInput.characterLimitReached":`You've reached the {limit} character limit`,"promptInput.remainingCredits":`Remaining builder AI credits: <b>{count}</b>`,"promptInput.monthlyCredits":`Monthly credits: <b>{count}</b> (1 credit = 1 message)`,"promptInput.creditsRenew":`Credits renew on: <b>{date}</b>`,"promptInput.creditsExpire":`Unused credits expire {date}`,"nodeCreatorNode.new":`New`,"collapsiblePanel.collapse":`Collapse`,"collapsiblePanel.expand":`Expand`,"collapsiblePanel.dragToReorder":`Drag to reorder`,"collapsiblePanel.delete":`Delete`,"combobox.clearSelection":`Clear selection`,"combobox.showPopup":`Show popup`,"combobox.placeholder":`Select an option`,"combobox.emptyText":`No results found.`,"tagsInput.removeTag":`Remove {tag}`,"markdownEditor.bold":`Bold`,"markdownEditor.italic":`Italic`,"markdownEditor.strikethrough":`Strikethrough`,"markdownEditor.underline":`Underline`,"markdownEditor.link":`Link`,"markdownEditor.bulletList":`Bullet list`,"markdownEditor.orderedList":`Ordered list`,"markdownEditor.taskList":`Task list`,"markdownEditor.codeBlock":`Code block`,"markdownEditor.blockquote":`Blockquote`,"markdownEditor.undo":`Undo`,"markdownEditor.redo":`Redo`,"markdownEditor.text":`Text`,"markdownEditor.heading1":`Heading 1`,"markdownEditor.heading2":`Heading 2`,"markdownEditor.heading3":`Heading 3`,"markdownEditor.rawMarkdownView":`Raw markdown`,"markdownEditor.formattedMarkdownView":`Formatted view`,"markdownEditor.expand":`Expand editor`,"markdownEditor.collapse":`Collapse editor`,"markdownEditor.linkDialogTitle":`Add link`,"markdownEditor.linkUrl":`Link URL`,"markdownEditor.linkPlaceholder":`https://example.com`,"markdownEditor.linkRequired":`Enter a URL to add the link`,"markdownEditor.linkInvalid":`Enter a valid URL, such as https://example.com`,"markdownEditor.addLink":`Add link`,"markdownEditor.updateLink":`Update link`,"markdownEditor.removeLink":`Remove link`,"markdownEditor.cancel":`Cancel`,"markdownEditor.slashCommandMenuLabel":`Markdown commands`,"aiAssistant.textMessage.restoreVersion":`Restore version`,"aiAssistant.versionCard.restoreModal.title":`Restore to this version?`,"aiAssistant.versionCard.restoreModal.description":`Your current version will be saved in version history for {pruneTime}.`,"aiAssistant.versionCard.restoreModal.descriptionNoLimit":`Your current version will be saved in version history.`,"aiAssistant.versionCard.restoreModal.hour":`{count} hour`,"aiAssistant.versionCard.restoreModal.hours":`{count} hours`,"aiAssistant.versionCard.restoreModal.day":`{count} day`,"aiAssistant.versionCard.restoreModal.days":`{count} days`,"aiAssistant.versionCard.restoreModal.showVersion":`Show version`,"aiAssistant.versionCard.restoreModal.restore":`Restore`}}))();var vie=Symbol(`IconBodyLoader`),yie=async()=>null;function bie(){return(0,t.inject)(vie,yie)}function Qs(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Qs(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function xie(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Qs(e))&&(r&&(r+=` `),r+=t);return r}function H(e,n){let r=typeof e==`string`&&!n?`${e}Context`:n,i=Symbol(r);return[n=>{let r=(0,t.inject)(i,n);if(r||r===null)return r;throw Error(`Injection \`${i.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>((0,t.provide)(i,e),e)]}function $s(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function ec(e,t,n){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}function tc(e){return e?e.flatMap(e=>e.type===t.Fragment?tc(e.children):[e]):[]}var Sie=[`INPUT`,`TEXTAREA`];function Cie(e,t,n,r={}){if(!t||r.enableIgnoredElement&&Sie.includes(t.nodeName))return null;let{arrowKeyOptions:i=`both`,attributeName:a=`[data-reka-collection-item]`,itemsArray:o=[],loop:s=!0,dir:c=`ltr`,preventScroll:l=!0,focus:u=!1}=r,[d,f,p,m,h,g]=[e.key===`ArrowRight`,e.key===`ArrowLeft`,e.key===`ArrowUp`,e.key===`ArrowDown`,e.key===`Home`,e.key===`End`],_=p||m,v=d||f;if(!h&&!g&&(!_&&!v||i===`vertical`&&v||i===`horizontal`&&_))return null;let y=n?Array.from(n.querySelectorAll(a)):o;if(!y.length)return null;l&&e.preventDefault();let b=null;return v||_?b=nc(y,t,{goForward:_?m:c===`ltr`?d:f,loop:s}):h?b=y.at(0)||null:g&&(b=y.at(-1)||null),u&&b?.focus(),b}function nc(e,t,n,r=e.length){if(--r===0)return null;let i=e.indexOf(t),a=n.goForward?i+1:i-1;if(!n.loop&&(a<0||a>=e.length))return null;let o=e[(a+e.length)%e.length];return o?o.hasAttribute(`disabled`)&&o.getAttribute(`disabled`)!==`false`?nc(e,o,n,r):o:null}var[rc,wie]=H(`ConfigProvider`);function Tie(e,n){let r=(0,t.shallowRef)();return(0,t.watchEffect)(()=>{r.value=e()},{...n,flush:n?.flush??`sync`}),(0,t.readonly)(r)}function ic(e){return(0,t.getCurrentScope)()?((0,t.onScopeDispose)(e),!0):!1}function Eie(){let e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);let r=()=>t(n);return ic(r),{off:r}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t))),clear:()=>{e.clear()}}}function Die(e){let n=!1,r,i=(0,t.effectScope)(!0);return(...t)=>(n||=(r=i.run(()=>e(...t)),!0),r)}function Oie(e){let n=0,r,i,a=()=>{--n,i&&n<=0&&(i.stop(),r=void 0,i=void 0)};return(...o)=>(n+=1,i||(i=(0,t.effectScope)(!0),r=i.run(()=>e(...o))),ic(a),r)}var ac=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var kie=e=>e!==void 0,Aie=Object.prototype.toString,jie=e=>Aie.call(e)===`[object Object]`,oc=Mie();function Mie(){return ac&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Nie(e){return e||(0,t.getCurrentInstance)()}function sc(e){return Array.isArray(e)?e:[e]}function cc(e,n=1e4){return(0,t.customRef)((r,i)=>{let a=(0,t.toValue)(e),o,s=()=>setTimeout(()=>{a=(0,t.toValue)(e),i()},(0,t.toValue)(n));return ic(()=>{clearTimeout(o)}),{get(){return r(),a},set(e){a=e,i(),clearTimeout(o),o=s()}}})}t.toValue;function Pie(e,n){Nie(n)&&(0,t.onBeforeUnmount)(e,n)}function lc(e,n,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,o=(0,t.shallowRef)(!1),s=null;function c(){s&&=(clearTimeout(s),null)}function l(){o.value=!1,c()}function u(...r){a&&e(),c(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...r)},(0,t.toValue)(n))}return i&&(o.value=!0,ac&&u()),ic(l),{isPending:(0,t.readonly)(o),start:u,stop:l}}function Fie(e,n,r){return(0,t.watch)(e,n,{...r,immediate:!0})}var uc=ac?window:void 0;ac&&window.document,ac&&window.navigator,ac&&window.location;function dc(e){let n=(0,t.toValue)(e);return n?.$el??n}function fc(...e){let n=[],r=()=>{n.forEach(e=>e()),n.length=0},i=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),a=(0,t.computed)(()=>{let n=sc((0,t.toValue)(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0}),o=Fie(()=>[a.value?.map(e=>dc(e))??[uc].filter(e=>e!=null),sc((0,t.toValue)(a.value?e[1]:e[0])),sc((0,t.unref)(a.value?e[2]:e[1])),(0,t.toValue)(a.value?e[3]:e[2])],([e,t,a,o])=>{if(r(),!e?.length||!t?.length||!a?.length)return;let s=jie(o)?{...o}:o;n.push(...e.flatMap(e=>t.flatMap(t=>a.map(n=>i(e,t,n,s)))))},{flush:`post`});return ic(r),()=>{o(),r()}}function pc(){let e=(0,t.shallowRef)(!1),n=(0,t.getCurrentInstance)();return n&&(0,t.onMounted)(()=>{e.value=!0},n),e}function Iie(e){let n=pc();return(0,t.computed)(()=>(n.value,!!e()))}function Lie(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Rie(...e){let n,r,i={};e.length===3?(n=e[0],r=e[1],i=e[2]):e.length===2?typeof e[1]==`object`?(n=!0,r=e[0],i=e[1]):(n=e[0],r=e[1]):(n=!0,r=e[0]);let{target:a=uc,eventName:o=`keydown`,passive:s=!1,dedupe:c=!1}=i,l=Lie(n);return fc(a,o,e=>{e.repeat&&(0,t.toValue)(c)||l(e)&&r(e)},s)}function zie(e){return JSON.parse(JSON.stringify(e))}function Bie(e,n,r={}){let{window:i=uc,...a}=r,o,s=Iie(()=>i&&`ResizeObserver`in i),c=()=>{o&&=(o.disconnect(),void 0)},l=(0,t.watch)((0,t.computed)(()=>{let n=(0,t.toValue)(e);return Array.isArray(n)?n.map(e=>dc(e)):[dc(n)]}),e=>{if(c(),s.value&&i){o=new ResizeObserver(n);for(let t of e)t&&o.observe(t,a)}},{immediate:!0,flush:`post`}),u=()=>{c(),l()};return ic(u),{isSupported:s,stop:u}}function mc(e,n,r,i={}){let{clone:a=!1,passive:o=!1,eventName:s,deep:c=!1,defaultValue:l,shouldEmit:u}=i,d=(0,t.getCurrentInstance)(),f=r||d?.emit||(d?.$emit)?.bind(d)||(d?.proxy?.$emit)?.bind(d?.proxy),p=s;n||=`modelValue`,p||=`update:${n.toString()}`;let m=e=>a?typeof a==`function`?a(e):zie(e):e,h=()=>kie(e[n])?m(e[n]):l,g=e=>{u?u(e)&&f(p,e):f(p,e)};if(o){let r=(0,t.ref)(h()),i=!1;return(0,t.watch)(()=>e[n],e=>{i||(i=!0,r.value=m(e),(0,t.nextTick)(()=>i=!1))}),(0,t.watch)(r,t=>{!i&&(t!==e[n]||c)&&g(t)},{deep:c}),r}else return(0,t.computed)({get(){return h()},set(e){g(e)}})}function hc(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function gc(e,t,n=`.`,r){if(!hc(t))return gc(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:hc(a)&&hc(i[t])?i[t]=gc(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function Vie(e){return(...t)=>t.reduce((t,n)=>gc(t,n,``,e),{})}var Hie=Vie(),Uie=Oie(()=>{let e=(0,t.ref)(new Map),n=(0,t.ref)(),r=(0,t.computed)(()=>{for(let t of e.value.values())if(t)return!0;return!1}),i=rc({scrollBody:(0,t.ref)(!0)}),a=null,o=()=>{document.body.style.paddingRight=``,document.body.style.marginRight=``,document.body.style.pointerEvents=``,document.documentElement.style.removeProperty(`--scrollbar-width`),document.body.style.overflow=n.value??``,oc&&a?.(),n.value=void 0};return(0,t.watch)(r,(e,r)=>{if(!ac)return;if(!e){r&&o();return}n.value===void 0&&(n.value=document.body.style.overflow);let s=window.innerWidth-document.documentElement.clientWidth,c={padding:s,margin:0},l=i.scrollBody?.value?typeof i.scrollBody.value==`object`?Hie({padding:i.scrollBody.value.padding===!0?s:i.scrollBody.value.padding,margin:i.scrollBody.value.margin===!0?s:i.scrollBody.value.margin},c):c:{padding:0,margin:0};s>0&&(document.body.style.paddingRight=typeof l.padding==`number`?`${l.padding}px`:String(l.padding),document.body.style.marginRight=typeof l.margin==`number`?`${l.margin}px`:String(l.margin),document.documentElement.style.setProperty(`--scrollbar-width`,`${s}px`),document.body.style.overflow=`hidden`),oc&&(a=fc(document,`touchmove`,e=>Gie(e),{passive:!1})),(0,t.nextTick)(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})},{immediate:!0,flush:`sync`}),e});function Wie(e){let n=Math.random().toString(36).substring(2,7),r=Uie();r.value.set(n,e??!1);let i=(0,t.computed)({get:()=>r.value.get(n)??!1,set:e=>r.value.set(n,e)});return Pie(()=>{r.value.delete(n)}),i}function _c(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(t instanceof Element)||t.tagName===`BODY`?!1:_c(t)}}function Gie(e){let t=e||window.event,n=t.target;return n instanceof Element&&_c(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function vc(e,t){return e-t*Math.floor(e/t)}var yc=1721426;function bc(e,t,n,r){t=Sc(e,t);let i=t-1,a=-2;return n<=2?a=0:xc(t)&&(a=-1),yc-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function xc(e){return e%4==0&&(e%100!=0||e%400==0)}function Sc(e,t){return e===`BC`?1-t:t}function Kie(e){let t=`AD`;return e<=0&&(t=`BC`,e=1-e),[t,e]}var qie={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},Cc=class{fromJulianDay(e){let t=e,n=t-yc,r=Math.floor(n/146097),i=vc(n,146097),a=Math.floor(i/36524),o=vc(i,36524),s=Math.floor(o/1461),c=vc(o,1461),l=Math.floor(c/365),[u,d]=Kie(r*400+a*100+s*4+l+(a!==4&&l!==4?1:0)),f=t-bc(u,d,1,1),p=2;t<bc(u,d,3,1)?p=0:xc(d)&&(p=1);let m=Math.floor(((f+p)*12+373)/367);return new pae(u,d,m,t-bc(u,d,m,1)+1)}toJulianDay(e){return bc(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return qie[xc(e.year)?`leapyear`:`standard`][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return xc(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return[`BC`,`AD`]}isInverseEra(e){return e.era===`BC`}balanceDate(e){e.year<=0&&(e.era=e.era===`BC`?`AD`:`BC`,e.year=1-e.year)}constructor(){this.identifier=`gregory`}};function Jie(e,t){return e.isEqual?.call(e,t)??t.isEqual?.call(t,e)??e.identifier===t.identifier}function wc(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Yie(e,t){return Tc(e)-Tc(t)}function Tc(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var Ec=null;function Dc(){return Ec??=new Intl.DateTimeFormat().resolvedOptions().timeZone,Ec}function Oc(e){return e=Rc(e,new Cc),kc(Sc(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function kc(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function Ac(e,t){if(t===`UTC`)return 0;if(e>0&&t===Dc())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:s}=Mc(e,t);return kc(n,r,i,a,o,s,0)-Math.floor(e/1e3)*1e3}var jc=new Map;function Mc(e,t){let n=jc.get(t);n||(n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),jc.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)e.type!==`literal`&&(i[e.type]=e.value);return{year:i.era===`BC`||i.era===`B`?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour===`24`?0:+i.hour,minute:+i.minute,second:+i.second}}var Nc=864e5;function Xie(e,t,n,r){return(n===r?[n]:[n,r]).filter(n=>Zie(e,t,n))}function Zie(e,t,n){let r=Mc(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function Pc(e,t,n=`compatible`){let r=Lc(e);if(t===`UTC`)return Oc(r);if(t===Dc()&&n===`compatible`){r=Rc(r,new Cc);let e=new Date,t=Sc(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let i=Oc(r),a=Ac(i-Nc,t),o=Ac(i+Nc,t),s=Xie(r,t,i-a,i-o);if(s.length===1)return s[0];if(s.length>1)switch(n){case`compatible`:case`earlier`:return s[0];case`later`:return s[s.length-1];case`reject`:throw RangeError(`Multiple possible absolute times found`)}switch(n){case`earlier`:return Math.min(i-a,i-o);case`compatible`:case`later`:return Math.max(i-a,i-o);case`reject`:throw RangeError(`No such absolute time found`)}}function Fc(e,t,n=`compatible`){return new Date(Pc(e,t,n))}function Ic(e,t){let n=Ac(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=r.getUTCHours(),c=r.getUTCMinutes(),l=r.getUTCSeconds(),u=r.getUTCMilliseconds();return new il(i<1?`BC`:`AD`,i<1?-i+1:i,a,o,t,n,s,c,l,u)}function Lc(e,t){let n=0,r=0,i=0,a=0;if(`timeZone`in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if(`hour`in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new hae(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function Rc(e,t){if(Jie(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,Wc(r),r}function Qie(e,t,n){return e instanceof il?e.timeZone===t?e:eae(e,t):Ic(Pc(e,t,n),t)}function $ie(e){let t=Oc(e)-e.offset;return new Date(t)}function eae(e,t){return Rc(Ic(Oc(e)-e.offset,t),e.calendar)}var zc=36e5;function Bc(e,t){let n=e.copy(),r=`hour`in n?iae(n,t):0;Vc(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,Hc(n),Uc(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,tae(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var a;let e=(a=n.calendar).isInverseEra?.call(a,n);n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let o=n.calendar.getMonthsInYear(n);return n.month>o&&(n.month=o,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function Vc(e,t){var n;(n=e.calendar).isInverseEra?.call(n,e)&&(t=-t),e.year+=t}function Hc(e){for(;e.month<1;)Vc(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Vc(e,1)}function tae(e){for(;e.day<1;)e.month--,Hc(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Hc(e)}function Uc(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function Wc(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Uc(e)}function Gc(e){let t={};for(let n in e)typeof e[n]==`number`&&(t[n]=-e[n]);return t}function Kc(e,t){return Bc(e,Gc(t))}function qc(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),Wc(n),n}function Jc(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),rae(n),n}function nae(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Yc(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Yc(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Yc(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Yc(e.hour,24),t}function rae(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function Yc(e,t){let n=e%t;return n<0&&(n+=t),n}function iae(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,nae(e)}function Xc(e,t,n,r){let i=e.copy();switch(t){case`era`:{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error(`Invalid era: `+e.era);a=Qc(a,n,0,t.length-1,r?.round),i.era=t[a],Wc(i);break}case`year`:var a;(a=i.calendar).isInverseEra?.call(a,i)&&(n=-n),i.year=Qc(e.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case`month`:i.month=Qc(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case`day`:i.day=Qc(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw Error(`Unsupported field `+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),Wc(i),i}function Zc(e,t,n,r){let i=e.copy();switch(t){case`hour`:{let t=e.hour,a=0,o=23;if(r?.hourCycle===12){let e=t>=12;a=e?12:0,o=e?23:11}i.hour=Qc(t,n,a,o,r?.round);break}case`minute`:i.minute=Qc(e.minute,n,0,59,r?.round);break;case`second`:i.second=Qc(e.second,n,0,59,r?.round);break;case`millisecond`:i.millisecond=Qc(e.millisecond,n,0,999,r?.round);break;default:throw Error(`Unsupported field `+t)}return i}function Qc(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let i=Math.abs(t);e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function $c(e,t){let n;return n=t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0?Pc(Bc(Lc(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):Oc(e)-e.offset,n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5,Rc(Ic(n,e.timeZone),e.calendar)}function aae(e,t){return $c(e,Gc(t))}function oae(e,t,n,r){switch(t){case`hour`:{let t=0,i=23;if(r?.hourCycle===12){let n=e.hour>=12;t=n?12:0,i=n?23:11}let a=Lc(e),o=Rc(Jc(a,{hour:t}),new Cc),s=[Pc(o,e.timeZone,`earlier`),Pc(o,e.timeZone,`later`)].filter(t=>Ic(t,e.timeZone).day===o.day)[0],c=Rc(Jc(a,{hour:i}),new Cc),l=[Pc(c,e.timeZone,`earlier`),Pc(c,e.timeZone,`later`)].filter(t=>Ic(t,e.timeZone).day===c.day).pop(),u=Oc(e)-e.offset,d=Math.floor(u/zc),f=u%zc;return u=Qc(d,n,Math.floor(s/zc),Math.floor(l/zc),r?.round)*zc+f,Rc(Ic(u,e.timeZone),e.calendar)}case`minute`:case`second`:case`millisecond`:return Zc(e,t,n,r);case`era`:case`year`:case`month`:case`day`:return Rc(Ic(Pc(Xc(Lc(e),t,n,r),e.timeZone),e.timeZone),e.calendar);default:throw Error(`Unsupported field `+t)}}function sae(e,t,n){let r=Lc(e),i=Jc(qc(r,t),t);return i.compare(r)===0?e:Rc(Ic(Pc(i,e.timeZone,n),e.timeZone),e.calendar)}function cae(e){return`${String(e.hour).padStart(2,`0`)}:${String(e.minute).padStart(2,`0`)}:${String(e.second).padStart(2,`0`)}${e.millisecond?String(e.millisecond/1e3).slice(1):``}`}function el(e){let t=Rc(e,new Cc),n;return n=t.era===`BC`?t.year===1?`0000`:`-`+String(Math.abs(1-t.year)).padStart(6,`00`):String(t.year).padStart(4,`0`),`${n}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)}`}function tl(e){return`${el(e)}T${cae(e)}`}function lae(e){let t=Math.sign(e)<0?`-`:`+`;e=Math.abs(e);let n=Math.floor(e/36e5),r=e%36e5/6e4;return`${t}${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`}function uae(e){return`${tl(e)}${lae(e.offset)}[${e.timeZone}]`}function dae(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function nl(e,t,n){dae(e,t),t.set(e,n)}function rl(e){let t=typeof e[0]==`object`?e.shift():new Cc,n;if(typeof e[0]==`string`)n=e.shift();else{let e=t.getEras();n=e[e.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var fae=new WeakMap,pae=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(e){return Bc(this,e)}subtract(e){return Kc(this,e)}set(e){return qc(this,e)}cycle(e,t,n){return Xc(this,e,t,n)}toDate(e){return Fc(this,e)}toString(){return el(this)}compare(e){return wc(this,e)}constructor(...e){nl(this,fae,{writable:!0,value:void 0});let[t,n,r,i,a]=rl(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,Wc(this)}},mae=new WeakMap,hae=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return Bc(this,e)}subtract(e){return Kc(this,e)}set(e){return qc(Jc(this,e),e)}cycle(e,t,n){switch(e){case`era`:case`year`:case`month`:case`day`:return Xc(this,e,t,n);default:return Zc(this,e,t,n)}}toDate(e,t){return Fc(this,e,t)}toString(){return tl(this)}compare(e){let t=wc(this,e);return t===0?Yie(this,Lc(e)):t}constructor(...e){nl(this,mae,{writable:!0,value:void 0});let[t,n,r,i,a]=rl(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Wc(this)}},gae=new WeakMap,il=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return $c(this,e)}subtract(e){return aae(this,e)}set(e,t){return sae(this,e,t)}cycle(e,t,n){return oae(this,e,t,n)}toDate(){return $ie(this)}toString(){return uae(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-Qie(e,this.timeZone).toDate().getTime()}constructor(...e){nl(this,gae,{writable:!0,value:void 0});let[t,n,r,i,a]=rl(e),o=e.shift(),s=e.shift();this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Wc(this)}},al=1080,_ae=24*al,vae=29,yae=12*al+793;vae*_ae+yae;function bae(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return vc(3*(r+1),7)<3&&(r+=1),r}function xae(e){let n=rc({dir:(0,t.ref)(`ltr`)});return(0,t.computed)(()=>e?.value||n.dir?.value||`ltr`)}function Sae(e){let n=(0,t.getCurrentInstance)(),r=n?.type.emits,i={};return r?.length||console.warn(`No emitted event found. Please check component: ${n?.type.__name}`),r?.forEach(n=>{i[(0,t.toHandlerKey)((0,t.camelize)(n))]=(...t)=>e(n,...t)}),i}var ol=0;function Cae(){(0,t.watchEffect)(e=>{if(!ac)return;let t=document.querySelectorAll(`[data-reka-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,t[0]??sl()),document.body.insertAdjacentElement(`beforeend`,t[1]??sl()),ol++,e(()=>{ol===1&&document.querySelectorAll(`[data-reka-focus-guard]`).forEach(e=>e.remove()),ol--})})}function sl(){let e=document.createElement(`span`);return e.setAttribute(`data-reka-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}function cl(){let e=(0,t.getCurrentInstance)(),n=(0,t.ref)(),r=(0,t.computed)(()=>[`#text`,`#comment`].includes(n.value?.$el.nodeName)?n.value?.$el.nextElementSibling:dc(n)),i=Object.assign({},e.exposed),a={};for(let t in e.props)Object.defineProperty(a,t,{enumerable:!0,configurable:!0,get:()=>e.props[t]});if(Object.keys(i).length>0)for(let e in i)Object.defineProperty(a,e,{enumerable:!0,configurable:!0,get:()=>i[e]});Object.defineProperty(a,`$el`,{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=a;function o(t){n.value=t,t&&(Object.defineProperty(a,`$el`,{enumerable:!0,configurable:!0,get:()=>t instanceof Element?t:t.$el}),e.exposed=a)}return{forwardRef:o,currentRef:n,currentElement:r}}function ll(e){let n=(0,t.getCurrentInstance)(),r=Object.keys(n?.type.props??{}).reduce((e,t)=>{let r=(n?.type.props[t]).default;return r!==void 0&&(e[t]=r),e},{}),i=(0,t.toRef)(e);return(0,t.computed)(()=>{let e={},a=n?.vnode.props??{};return Object.keys(a).forEach(n=>{e[(0,t.camelize)(n)]=a[n]}),Object.keys({...r,...e}).reduce((e,t)=>(i.value[t]!==void 0&&(e[t]=i.value[t]),e),{})})}function wae(e,n){let r=ll(e),i=n?Sae(n):{};return(0,t.computed)(()=>({...r.value,...i}))}function Tae(e,n){let r=cc(!1,300),i=(0,t.ref)(null),a=Eie();function o(){i.value=null,r.value=!1}function s(e,t){let n=e.currentTarget,a={x:e.clientX,y:e.clientY},o=Dae(a,Eae(a,n.getBoundingClientRect())),s=Oae(t.getBoundingClientRect());i.value=Aae([...o,...s]),r.value=!0}return(0,t.watchEffect)(t=>{if(e.value&&n.value){let r=e=>s(e,n.value),i=t=>s(t,e.value);e.value.addEventListener(`pointerleave`,r),n.value.addEventListener(`pointerleave`,i),t(()=>{e.value?.removeEventListener(`pointerleave`,r),n.value?.removeEventListener(`pointerleave`,i)})}}),(0,t.watchEffect)(t=>{if(i.value){let r=t=>{if(!i.value||!(t.target instanceof HTMLElement))return;let r=t.target,s={x:t.clientX,y:t.clientY},c=e.value?.contains(r)||n.value?.contains(r),l=!kae(s,i.value),u=!!r.closest(`[data-grace-area-trigger]`);c?o():(l||u)&&(o(),a.trigger())};e.value?.ownerDocument.addEventListener(`pointermove`,r),t(()=>e.value?.ownerDocument.removeEventListener(`pointermove`,r))}}),{isPointerInTransit:r,onPointerExit:a.on}}function Eae(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}function Dae(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Oae(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function kae(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e].x,s=t[e].y,c=t[a].x,l=t[a].y;s>r!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}function Aae(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),jae(t)}function jae(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Mae=function(e){return e&&(e.host||Mae(e.parentNode))},Nae=0;function Pae(e,n=`reka`){if(e)return e;if(`useId`in t)return`${n}-${t.useId?.()}`;let r=rc({useId:void 0});return r.useId?`${n}-${r.useId()}`:`${n}-${++Nae}`}function Fae(e){let n=(0,t.ref)(),r=(0,t.computed)(()=>n.value?.width??0),i=(0,t.computed)(()=>n.value?.height??0);return(0,t.onMounted)(()=>{let t=dc(e);if(t){n.value={width:t.offsetWidth,height:t.offsetHeight};let e=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let r=e[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=t.offsetWidth,a=t.offsetHeight;n.value={width:i,height:a}});return e.observe(t,{box:`border-box`}),()=>e.unobserve(t)}else n.value=void 0}),{width:r,height:i}}function Iae(e,n){let r=(0,t.ref)(e);function i(e){return n[r.value][e]??r.value}return{state:r,dispatch:e=>{r.value=i(e)}}}function Lae(e){let t=cc(``,1e3);return{search:t,handleTypeaheadSearch:(n,r)=>{if(t.value+=n,e)e(n);else{let e=$s(),n=r.map(e=>({...e,textValue:e.value?.textValue??e.ref.textContent?.trim()??``})),i=n.find(t=>t.ref===e),a=zae(n.map(e=>e.textValue),t.value,i?.textValue),o=n.find(e=>e.textValue===a);return o&&o.ref.focus(),o?.ref}},resetTypeahead:()=>{t.value=``}}}function Rae(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function zae(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Rae(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function Bae(e,n){let r=(0,t.ref)({}),i=(0,t.ref)(`none`),a=(0,t.ref)(e),o=e.value?`mounted`:`unmounted`,s,c=n.value?.ownerDocument.defaultView??uc,{state:l,dispatch:u}=Iae(o,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),d=e=>{if(ac){let t=new CustomEvent(e,{bubbles:!1,cancelable:!1});n.value?.dispatchEvent(t)}};(0,t.watch)(e,async(e,a)=>{let o=a!==e;if(await(0,t.nextTick)(),o){let t=i.value,o=ul(n.value);e?(u(`MOUNT`),d(`enter`),o===`none`&&d(`after-enter`)):o===`none`||o===`undefined`||r.value?.display===`none`?(u(`UNMOUNT`),d(`leave`),d(`after-leave`)):a&&t!==o?(u(`ANIMATION_OUT`),d(`leave`)):(u(`UNMOUNT`),d(`after-leave`))}},{immediate:!0});let f=e=>{let t=ul(n.value),r=t.includes(e.animationName),i=l.value===`mounted`?`enter`:`leave`;if(e.target===n.value&&r&&(d(`after-${i}`),u(`ANIMATION_END`),!a.value)){let e=n.value.style.animationFillMode;n.value.style.animationFillMode=`forwards`,s=c?.setTimeout(()=>{n.value?.style.animationFillMode===`forwards`&&(n.value.style.animationFillMode=e)})}e.target===n.value&&t===`none`&&u(`ANIMATION_END`)},p=e=>{e.target===n.value&&(i.value=ul(n.value))},m=(0,t.watch)(n,(e,t)=>{e?(r.value=getComputedStyle(e),e.addEventListener(`animationstart`,p),e.addEventListener(`animationcancel`,f),e.addEventListener(`animationend`,f)):(u(`ANIMATION_END`),s!==void 0&&c?.clearTimeout(s),t?.removeEventListener(`animationstart`,p),t?.removeEventListener(`animationcancel`,f),t?.removeEventListener(`animationend`,f))},{immediate:!0}),h=(0,t.watch)(l,()=>{let e=ul(n.value);i.value=l.value===`mounted`?e:`none`});return(0,t.onUnmounted)(()=>{m(),h()}),{isPresent:(0,t.computed)(()=>[`mounted`,`unmountSuspended`].includes(l.value))}}function ul(e){return e&&getComputedStyle(e).animationName||`none`}var Vae=(0,t.defineComponent)({name:`Presence`,props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:n,expose:r}){let{present:i,forceMount:a}=(0,t.toRefs)(e),o=(0,t.ref)(),{isPresent:s}=Bae(i,o);r({present:s});let c=n.default({present:s.value});c=tc(c||[]);let l=(0,t.getCurrentInstance)();if(c&&c?.length>1){let e=l?.parent?.type.name?`<${l.parent.type.name} />`:`component`;throw Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,``,"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",`You can apply a few solutions:`,["Provide a single child element so that `presence` directive attach correctly.",`Ensure the first child is an actual element instead of a raw text node or comment node.`].map(e=>` - ${e}`).join(`
|
|
52
52
|
`)].join(`
|
|
53
53
|
`))}return()=>a.value||i.value||s.value?(0,t.h)(n.default({present:s.value})[0],{ref:e=>{let t=dc(e);return t?.hasAttribute===void 0||(t?.hasAttribute(`data-reka-popper-content-wrapper`)?o.value=t.firstElementChild:o.value=t),t}}):null}}),dl=(0,t.defineComponent)({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:n,slots:r}){return()=>{if(!r.default)return null;let e=tc(r.default()),i=e.findIndex(e=>e.type!==t.Comment);if(i===-1)return e;let a=e[i];delete a.props?.ref;let o=a.props?(0,t.mergeProps)(n,a.props):n,s=(0,t.cloneVNode)({...a,props:{}},o);return e.length===1?s:(e[i]=s,e)}}}),Hae=[`area`,`img`,`input`],fl=(0,t.defineComponent)({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(e,{attrs:n,slots:r}){let i=e.asChild?`template`:e.as;return typeof i==`string`&&Hae.includes(i)?()=>(0,t.h)(i,n):i===`template`?()=>(0,t.h)(dl,n,{default:r.default}):()=>(0,t.h)(e.as,n,{default:r.default})}});function pl(){let e=(0,t.ref)();return{primitiveElement:e,currentElement:(0,t.computed)(()=>[`#text`,`#comment`].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:dc(e))}}var[Uae,Wae]=H(`CollapsibleRoot`),[Gae,Kae]=H(`DialogRoot`),qae=`dismissableLayer.pointerDownOutside`,Jae=`dismissableLayer.focusOutside`;function ml(e,t){let n=t.closest(`[data-dismissable-layer]`),r=e.dataset.dismissableLayer===``?e:e.querySelector(`[data-dismissable-layer]`),i=Array.from(e.ownerDocument.querySelectorAll(`[data-dismissable-layer]`));return!!(n&&(r===n||i.indexOf(r)<i.indexOf(n)))}function Yae(e,n,r=!0){let i=n?.value?.ownerDocument??globalThis?.document,a=(0,t.ref)(!1),o=(0,t.ref)(()=>{});return(0,t.watchEffect)(s=>{if(!ac||!(0,t.toValue)(r))return;let c=async t=>{let r=t.target;if(!(!n?.value||!r)){if(ml(n.value,r)){a.value=!1;return}if(t.target&&!a.value){let n={originalEvent:t};function r(){ec(qae,e,n)}t.pointerType===`touch`?(i.removeEventListener(`click`,o.value),o.value=r,i.addEventListener(`click`,o.value,{once:!0})):r()}else i.removeEventListener(`click`,o.value);a.value=!1}},l=window.setTimeout(()=>{i.addEventListener(`pointerdown`,c)},0);s(()=>{window.clearTimeout(l),i.removeEventListener(`pointerdown`,c),i.removeEventListener(`click`,o.value)})}),{onPointerDownCapture:()=>{(0,t.toValue)(r)&&(a.value=!0)}}}function Xae(e,n,r=!0){let i=n?.value?.ownerDocument??globalThis?.document,a=(0,t.ref)(!1);return(0,t.watchEffect)(o=>{if(!ac||!(0,t.toValue)(r))return;let s=async r=>{if(!n?.value)return;await(0,t.nextTick)(),await(0,t.nextTick)();let i=r.target;!n.value||!i||ml(n.value,i)||r.target&&!a.value&&ec(Jae,e,{originalEvent:r})};i.addEventListener(`focusin`,s),o(()=>i.removeEventListener(`focusin`,s))}),{onFocusCapture:()=>{(0,t.toValue)(r)&&(a.value=!0)},onBlurCapture:()=>{(0,t.toValue)(r)&&(a.value=!1)}}}var hl=(0,t.reactive)({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Zae=(0,t.defineComponent)({__name:`DismissableLayer`,props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`dismiss`],setup(e,{emit:n}){let r=e,i=n,{forwardRef:a,currentElement:o}=cl(),s=(0,t.computed)(()=>o.value?.ownerDocument??globalThis.document),c=(0,t.computed)(()=>hl.layersRoot),l=(0,t.computed)(()=>o.value?Array.from(c.value).indexOf(o.value):-1),u=(0,t.computed)(()=>hl.layersWithOutsidePointerEventsDisabled.size>0),d=(0,t.computed)(()=>{let e=Array.from(c.value),[t]=[...hl.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t);return l.value>=n}),f=Yae(async e=>{let n=[...hl.branches].some(t=>t?.contains(e.target));!d.value||n||(i(`pointerDownOutside`,e),i(`interactOutside`,e),await(0,t.nextTick)(),e.defaultPrevented||i(`dismiss`))},o),p=Xae(e=>{[...hl.branches].some(t=>t?.contains(e.target))||(i(`focusOutside`,e),i(`interactOutside`,e),e.defaultPrevented||i(`dismiss`))},o);Rie(`Escape`,e=>{l.value===c.value.size-1&&(i(`escapeKeyDown`,e),e.defaultPrevented||i(`dismiss`))});let m;return(0,t.watchEffect)(e=>{o.value&&(r.disableOutsidePointerEvents&&(hl.layersWithOutsidePointerEventsDisabled.size===0&&(m=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents=`none`),hl.layersWithOutsidePointerEventsDisabled.add(o.value)),c.value.add(o.value),e(()=>{r.disableOutsidePointerEvents&&hl.layersWithOutsidePointerEventsDisabled.size===1&&(s.value.body.style.pointerEvents=m)}))}),(0,t.watchEffect)(e=>{e(()=>{o.value&&(c.value.delete(o.value),hl.layersWithOutsidePointerEventsDisabled.delete(o.value))})}),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(fl),{ref:(0,t.unref)(a),"as-child":e.asChild,as:e.as,"data-dismissable-layer":``,style:(0,t.normalizeStyle)({pointerEvents:u.value?d.value?`auto`:`none`:void 0}),onFocusCapture:(0,t.unref)(p).onFocusCapture,onBlurCapture:(0,t.unref)(p).onBlurCapture,onPointerdownCapture:(0,t.unref)(f).onPointerDownCapture},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},8,[`as-child`,`as`,`style`,`onFocusCapture`,`onBlurCapture`,`onPointerdownCapture`]))}}),Qae=Die(()=>(0,t.ref)([]));function $ae(){let e=Qae();return{add(t){let n=e.value[0];t!==n&&n?.pause(),e.value=gl(e.value,t),e.value.unshift(t)},remove(t){e.value=gl(e.value,t),e.value[0]?.resume()}}}function gl(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function eoe(e){return e.filter(e=>e.tagName!==`A`)}var _l=`focusScope.autoFocusOnMount`,vl=`focusScope.autoFocusOnUnmount`,yl={bubbles:!1,cancelable:!0};function toe(e,{select:t=!1}={}){let n=$s();for(let r of e)if(Sl(r,{select:t}),$s()!==n)return!0}function noe(e){let t=bl(e);return[xl(t,e),xl(t.reverse(),e)]}function bl(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function xl(e,t){for(let n of e)if(!roe(n,{upTo:t}))return n}function roe(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function ioe(e){return e instanceof HTMLInputElement&&`select`in e}function Sl(e,{select:t=!1}={}){if(e&&e.focus){let n=$s();e.focus({preventScroll:!0}),e!==n&&ioe(e)&&t&&e.select()}}var aoe=(0,t.defineComponent)({__name:`FocusScope`,props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`mountAutoFocus`,`unmountAutoFocus`],setup(e,{emit:n}){let r=e,i=n,{currentRef:a,currentElement:o}=cl(),s=(0,t.ref)(null),c=$ae(),l=(0,t.reactive)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});(0,t.watchEffect)(e=>{if(!ac)return;let t=o.value;if(!r.trapped)return;function n(e){if(l.paused||!t)return;let n=e.target;t.contains(n)?s.value=n:Sl(s.value,{select:!0})}function i(e){if(l.paused||!t)return;let n=e.relatedTarget;n!==null&&(t.contains(n)||Sl(s.value,{select:!0}))}function a(e){t.contains(s.value)||Sl(t)}document.addEventListener(`focusin`,n),document.addEventListener(`focusout`,i);let c=new MutationObserver(a);t&&c.observe(t,{childList:!0,subtree:!0}),e(()=>{document.removeEventListener(`focusin`,n),document.removeEventListener(`focusout`,i),c.disconnect()})}),(0,t.watchEffect)(async e=>{let n=o.value;if(await(0,t.nextTick)(),!n)return;c.add(l);let r=$s();if(!n.contains(r)){let e=new CustomEvent(_l,yl);n.addEventListener(_l,e=>i(`mountAutoFocus`,e)),n.dispatchEvent(e),e.defaultPrevented||(toe(eoe(bl(n)),{select:!0}),$s()===r&&Sl(n))}e(()=>{n.removeEventListener(_l,e=>i(`mountAutoFocus`,e));let e=new CustomEvent(vl,yl),t=e=>{i(`unmountAutoFocus`,e)};n.addEventListener(vl,t),n.dispatchEvent(e),setTimeout(()=>{e.defaultPrevented||Sl(r??document.body,{select:!0}),n.removeEventListener(vl,t),c.remove(l)},0)})});function u(e){if(!r.loop&&!r.trapped||l.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=$s();if(t&&n){let t=e.currentTarget,[i,a]=noe(t);i&&a?!e.shiftKey&&n===a?(e.preventDefault(),r.loop&&Sl(i,{select:!0})):e.shiftKey&&n===i&&(e.preventDefault(),r.loop&&Sl(a,{select:!0})):n===t&&e.preventDefault()}}return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(fl),{ref_key:`currentRef`,ref:a,tabindex:`-1`,"as-child":e.asChild,as:e.as,onKeydown:u},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},8,[`as-child`,`as`]))}}),Cl=[`Enter`,` `],ooe=[`ArrowDown`,`PageUp`,`Home`],soe=[`ArrowUp`,`PageDown`,`End`],coe=[...ooe,...soe];[...Cl],[...Cl];function loe(e){return e?`open`:`closed`}function uoe(e){let t=$s();for(let n of e)if(n===t||(n.focus(),$s()!==t))return}function doe(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e].x,s=t[e].y,c=t[a].x,l=t[a].y;s>r!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}function foe(e,t){return t?doe({x:e.clientX,y:e.clientY},t):!1}function poe(e){return e.pointerType===`mouse`}var moe=(0,t.defineComponent)({__name:`Teleport`,props:{to:{type:null,required:!1,default:`body`},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let n=pc();return(e,r)=>(0,t.unref)(n)||e.forceMount?((0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{key:0,to:e.to,disabled:e.disabled,defer:e.defer},[(0,t.renderSlot)(e.$slots,`default`)],8,[`to`,`disabled`,`defer`])):(0,t.createCommentVNode)(`v-if`,!0)}}),hoe=[`day`,`month`,`year`],wl=[`hour`,`minute`,`second`,`dayPeriod`],goe=[`literal`,`timeZoneName`],_oe=[...hoe,...wl];[...wl],[..._oe,...goe].filter(e=>e!==`literal`);var Tl=`data-reka-collection-item`;function voe(e={}){let{key:n=``,isProvider:r=!1}=e,i=`${n}CollectionProvider`,a;if(r){let e=(0,t.ref)(new Map);a={collectionRef:(0,t.ref)(),itemMap:e},(0,t.provide)(i,a)}else a=(0,t.inject)(i);let o=(e=!1)=>{let t=a.collectionRef.value;if(!t)return[];let n=Array.from(t.querySelectorAll(`[${Tl}]`)),r=Array.from(a.itemMap.value.values()).sort((e,t)=>n.indexOf(e.ref)-n.indexOf(t.ref));return e?r:r.filter(e=>e.ref.dataset.disabled!==``)},s=(0,t.defineComponent)({name:`CollectionSlot`,setup(e,{slots:n}){let{primitiveElement:r,currentElement:i}=pl();return(0,t.watch)(i,()=>{a.collectionRef.value=i.value}),()=>(0,t.h)(dl,{ref:r},n)}}),c=(0,t.defineComponent)({name:`CollectionItem`,inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:n,attrs:r}){let{primitiveElement:i,currentElement:o}=pl();return(0,t.watchEffect)(n=>{if(o.value){let r=(0,t.markRaw)(o.value);a.itemMap.value.set(r,{ref:o.value,value:e.value}),n(()=>a.itemMap.value.delete(r))}}),()=>(0,t.h)(dl,{...r,[Tl]:``,ref:i},n)}});return{getItems:o,reactiveItems:(0,t.computed)(()=>Array.from(a.itemMap.value.values())),itemMapSize:(0,t.computed)(()=>a.itemMap.value.size),CollectionSlot:s,CollectionItem:c}}var yoe=`rovingFocusGroup.onEntryFocus`,boe={bubbles:!1,cancelable:!0};function xoe(e,t=!1){let n=$s();for(let r of e)if(r===n||(r.focus({preventScroll:t}),$s()!==n))return}var[Soe,Coe]=H(`RovingFocusGroup`),woe=(0,t.defineComponent)({__name:`RovingFocusGroup`,props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`entryFocus`,`update:currentTabStopId`],setup(e,{expose:n,emit:r}){let i=e,a=r,{loop:o,orientation:s,dir:c}=(0,t.toRefs)(i),l=xae(c),u=mc(i,`currentTabStopId`,a,{defaultValue:i.defaultCurrentTabStopId,passive:i.currentTabStopId===void 0}),d=(0,t.ref)(!1),f=(0,t.ref)(!1),p=(0,t.ref)(0),{getItems:m,CollectionSlot:h}=voe({isProvider:!0});function g(e){let t=!f.value;if(e.currentTarget&&e.target===e.currentTarget&&t&&!d.value){let t=new CustomEvent(yoe,boe);if(e.currentTarget.dispatchEvent(t),a(`entryFocus`,t),!t.defaultPrevented){let e=m().map(e=>e.ref).filter(e=>e.dataset.disabled!==``);xoe([e.find(e=>e.getAttribute(`data-active`)===``),e.find(e=>e.getAttribute(`data-highlighted`)===``),e.find(e=>e.id===u.value),...e].filter(Boolean),i.preventScrollOnEntryFocus)}}f.value=!1}function _(){setTimeout(()=>{f.value=!1},1)}return n({getItems:m}),Coe({loop:o,dir:l,orientation:s,currentTabStopId:u,onItemFocus:e=>{u.value=e},onItemShiftTab:()=>{d.value=!0},onFocusableItemAdd:()=>{p.value++},onFocusableItemRemove:()=>{p.value--}}),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(h),null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(fl),{tabindex:d.value||p.value===0?-1:0,"data-orientation":(0,t.unref)(s),as:e.as,"as-child":e.asChild,dir:(0,t.unref)(l),style:{outline:`none`},onMousedown:n[0]||=e=>f.value=!0,onMouseup:_,onFocus:g,onBlur:n[1]||=e=>d.value=!1},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`as`,`as-child`,`dir`])]),_:3}))}}),Toe=(0,t.defineComponent)({__name:`VisuallyHidden`,props:{feature:{type:String,required:!1,default:`focusable`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(fl),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature===`focusable`?`true`:void 0,"data-hidden":e.feature===`fully-hidden`?``:void 0,tabindex:e.feature===`fully-hidden`?`-1`:void 0,style:{position:`absolute`,border:0,width:`1px`,height:`1px`,padding:0,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,clipPath:`inset(50%)`,whiteSpace:`nowrap`,wordWrap:`normal`}},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`aria-hidden`,`data-hidden`,`tabindex`]))}}),[Eoe,Doe]=H(`CheckboxGroupRoot`),[Ooe,koe]=H(`CheckboxRoot`),[El,Aoe]=H(`PopperRoot`),joe=(0,t.defineComponent)({inheritAttrs:!1,__name:`PopperRoot`,setup(e){let n=(0,t.ref)();return Aoe({anchor:n,onAnchorChange:e=>n.value=e}),(e,n)=>(0,t.renderSlot)(e.$slots,`default`)}}),Moe=(0,t.defineComponent)({__name:`PopperAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let n=e,{forwardRef:r,currentElement:i}=cl(),a=El();return(0,t.watchPostEffect)(()=>{a.onAnchorChange(n.reference??i.value)}),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(fl),{ref:(0,t.unref)(r),as:e.as,"as-child":e.asChild},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}});function Noe(e){return e!==null}function Poe(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=Dl(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}}function Dl(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var Foe=[`top`,`right`,`bottom`,`left`],Ol=Math.min,kl=Math.max,Al=Math.round,jl=Math.floor,Ml=e=>({x:e,y:e}),Ioe={left:`right`,right:`left`,bottom:`top`,top:`bottom`},Loe={start:`end`,end:`start`};function Nl(e,t,n){return kl(e,Ol(t,n))}function Pl(e,t){return typeof e==`function`?e(t):e}function Fl(e){return e.split(`-`)[0]}function Il(e){return e.split(`-`)[1]}function Ll(e){return e===`x`?`y`:`x`}function Rl(e){return e===`y`?`height`:`width`}function zl(e){return[`top`,`bottom`].includes(Fl(e))?`y`:`x`}function Bl(e){return Ll(zl(e))}function Roe(e,t,n){n===void 0&&(n=!1);let r=Il(e),i=Bl(e),a=Rl(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Hl(o)),[o,Hl(o)]}function zoe(e){let t=Hl(e);return[Vl(e),t,Vl(t)]}function Vl(e){return e.replace(/start|end/g,e=>Loe[e])}function Boe(e,t,n){let r=[`left`,`right`],i=[`right`,`left`],a=[`top`,`bottom`],o=[`bottom`,`top`];switch(e){case`top`:case`bottom`:return n?t?i:r:t?r:i;case`left`:case`right`:return t?a:o;default:return[]}}function Voe(e,t,n,r){let i=Il(e),a=Boe(Fl(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Vl)))),a}function Hl(e){return e.replace(/left|right|bottom|top/g,e=>Ioe[e])}function Hoe(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ul(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Hoe(e)}function Wl(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Gl(e,t,n){let{reference:r,floating:i}=e,a=zl(t),o=Bl(t),s=Rl(o),c=Fl(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Il(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var Uoe=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Gl(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=Gl(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function Kl(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Pl(t,e),p=Ul(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Wl(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Wl(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var Woe=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Pl(e,t)||{};if(l==null)return{};let d=Ul(u),f={x:n,y:r},p=Bl(i),m=Rl(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Ol(d[_],T),D=Ol(d[v],T),O=E,k=C-h[m]-D,A=C/2-h[m]/2+w,j=Nl(O,A,k),M=!c.arrow&&Il(i)!=null&&A!==j&&a.reference[m]/2-(A<O?E:D)-h[m]/2<0,N=M?A<O?A-O:A-k:0;return{[p]:f[p]+N,data:{[p]:j,centerOffset:A-j-N,...M&&{alignmentOffset:N}},reset:M}}}),Goe=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Pl(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Fl(r),_=zl(o),v=Fl(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Hl(o)]:zoe(o)),x=p!==`none`;!d&&x&&b.push(...Voe(o,m,p,y));let S=[o,...b],C=await Kl(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Roe(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t){let n=u===`alignment`?_!==zl(t):!1,r=T[0]?.overflows[0]>0;if(!n||r)return{data:{index:e,overflows:T},reset:{placement:t}}}let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=zl(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function ql(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Jl(e){return Foe.some(t=>e[t]>=0)}var Koe=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=Pl(e,t);switch(r){case`referenceHidden`:{let e=ql(await Kl(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Jl(e)}}}case`escaped`:{let e=ql(await Kl(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Jl(e)}}}default:return{}}}}};async function qoe(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Fl(n),s=Il(n),c=zl(n)===`y`,l=[`left`,`top`].includes(o)?-1:1,u=a&&c?-1:1,d=Pl(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Joe=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await qoe(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Yoe=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=Pl(e,t),l={x:n,y:r},u=await Kl(t,c),d=zl(Fl(i)),f=Ll(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=Nl(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=Nl(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},Xoe=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=Pl(e,t),u={x:n,y:r},d=zl(i),f=Ll(d),p=u[f],m=u[d],h=Pl(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=[`top`,`left`].includes(Fl(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},Zoe=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=Pl(e,t),u=await Kl(t,l),d=Fl(i),f=Il(i),p=zl(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=Ol(h-u[g],v),x=Ol(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=kl(u.left,0),t=kl(u.right,0),n=kl(u.top,0),r=kl(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:kl(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:kl(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function Yl(){return typeof window<`u`}function Xl(e){return $l(e)?(e.nodeName||``).toLowerCase():`#document`}function Zl(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ql(e){return(($l(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function $l(e){return Yl()?e instanceof Node||e instanceof Zl(e).Node:!1}function eu(e){return Yl()?e instanceof Element||e instanceof Zl(e).Element:!1}function tu(e){return Yl()?e instanceof HTMLElement||e instanceof Zl(e).HTMLElement:!1}function nu(e){return!Yl()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Zl(e).ShadowRoot}function ru(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=cu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&![`inline`,`contents`].includes(i)}function Qoe(e){return[`table`,`td`,`th`].includes(Xl(e))}function iu(e){return[`:popover-open`,`:modal`].some(t=>{try{return e.matches(t)}catch{return!1}})}function au(e){let t=ou(),n=eu(e)?cu(e):e;return[`transform`,`translate`,`scale`,`rotate`,`perspective`].some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`].some(e=>(n.willChange||``).includes(e))||[`paint`,`layout`,`strict`,`content`].some(e=>(n.contain||``).includes(e))}function $oe(e){let t=uu(e);for(;tu(t)&&!su(t);){if(au(t))return t;if(iu(t))return null;t=uu(t)}return null}function ou(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}function su(e){return[`html`,`body`,`#document`].includes(Xl(e))}function cu(e){return Zl(e).getComputedStyle(e)}function lu(e){return eu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function uu(e){if(Xl(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||nu(e)&&e.host||Ql(e);return nu(t)?t.host:t}function du(e){let t=uu(e);return su(t)?e.ownerDocument?e.ownerDocument.body:e.body:tu(t)&&ru(t)?t:du(t)}function fu(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=du(e),i=r===e.ownerDocument?.body,a=Zl(r);if(i){let e=pu(a);return t.concat(a,a.visualViewport||[],ru(r)?r:[],e&&n?fu(e):[])}return t.concat(r,fu(r,[],n))}function pu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function mu(e){let t=cu(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=tu(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Al(n)!==a||Al(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function hu(e){return eu(e)?e:e.contextElement}function gu(e){let t=hu(e);if(!tu(t))return Ml(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=mu(t),o=(a?Al(n.width):n.width)/r,s=(a?Al(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var ese=Ml(0);function _u(e){let t=Zl(e);return!ou()||!t.visualViewport?ese:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function tse(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Zl(e)?!1:t}function vu(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=hu(e),o=Ml(1);t&&(r?eu(r)&&(o=gu(r)):o=gu(e));let s=tse(a,n,r)?_u(a):Ml(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=Zl(a),t=r&&eu(r)?Zl(r):r,n=e,i=pu(n);for(;i&&r&&t!==n;){let e=gu(i),t=i.getBoundingClientRect(),r=cu(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=Zl(i),i=pu(n)}}return Wl({width:u,height:d,x:c,y:l})}function yu(e,t){let n=lu(e).scrollLeft;return t?t.left+n:vu(Ql(e)).left+n}function bu(e,t,n){n===void 0&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:yu(e,r)),y:r.top+t.scrollTop}}function nse(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Ql(r),s=t?iu(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=Ml(1),u=Ml(0),d=tu(r);if((d||!d&&!a)&&((Xl(r)!==`body`||ru(o))&&(c=lu(r)),tu(r))){let e=vu(r);l=gu(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?bu(o,c,!0):Ml(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function rse(e){return Array.from(e.getClientRects())}function ise(e){let t=Ql(e),n=lu(e),r=e.ownerDocument.body,i=kl(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=kl(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+yu(e),s=-n.scrollTop;return cu(r).direction===`rtl`&&(o+=kl(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}function ase(e,t){let n=Zl(e),r=Ql(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=ou();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s,y:c}}function ose(e,t){let n=vu(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=tu(e)?gu(e):Ml(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function xu(e,t,n){let r;if(t===`viewport`)r=ase(e,n);else if(t===`document`)r=ise(Ql(e));else if(eu(t))r=ose(t,n);else{let n=_u(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Wl(r)}function Su(e,t){let n=uu(e);return n===t||!eu(n)||su(n)?!1:cu(n).position===`fixed`||Su(n,t)}function sse(e,t){let n=t.get(e);if(n)return n;let r=fu(e,[],!1).filter(e=>eu(e)&&Xl(e)!==`body`),i=null,a=cu(e).position===`fixed`,o=a?uu(e):e;for(;eu(o)&&!su(o);){let t=cu(o),n=au(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&[`absolute`,`fixed`].includes(i.position)||ru(o)&&!n&&Su(e,o))?r=r.filter(e=>e!==o):i=t,o=uu(o)}return t.set(e,r),r}function cse(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?iu(t)?[]:sse(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=xu(t,n,i);return e.top=kl(r.top,e.top),e.right=Ol(r.right,e.right),e.bottom=Ol(r.bottom,e.bottom),e.left=kl(r.left,e.left),e},xu(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function lse(e){let{width:t,height:n}=mu(e);return{width:t,height:n}}function use(e,t,n){let r=tu(t),i=Ql(t),a=n===`fixed`,o=vu(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Ml(0);function l(){c.x=yu(i)}if(r||!r&&!a)if((Xl(t)!==`body`||ru(i))&&(s=lu(t)),r){let e=vu(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?bu(i,s):Ml(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function Cu(e){return cu(e).position===`static`}function wu(e,t){if(!tu(e)||cu(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Ql(e)===n&&(n=n.ownerDocument.body),n}function Tu(e,t){let n=Zl(e);if(iu(e))return n;if(!tu(e)){let t=uu(e);for(;t&&!su(t);){if(eu(t)&&!Cu(t))return t;t=uu(t)}return n}let r=wu(e,t);for(;r&&Qoe(r)&&Cu(r);)r=wu(r,t);return r&&su(r)&&Cu(r)&&!au(r)?n:r||$oe(e)||n}var dse=async function(e){let t=this.getOffsetParent||Tu,n=this.getDimensions,r=await n(e.floating);return{reference:use(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function fse(e){return cu(e).direction===`rtl`}var pse={convertOffsetParentRelativeRectToViewportRelativeRect:nse,getDocumentElement:Ql,getClippingRect:cse,getOffsetParent:Tu,getElementRects:dse,getClientRects:rse,getDimensions:lse,getScale:gu,isElement:eu,isRTL:fse};function Eu(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mse(e,t){let n=null,r,i=Ql(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=jl(d),h=jl(i.clientWidth-(u+f)),g=jl(i.clientHeight-(d+p)),_=jl(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:kl(0,Ol(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!Eu(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function hse(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=hu(e),u=i||a?[...l?fu(l):[],...fu(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?mse(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?vu(e):null;c&&g();function g(){let t=vu(e);h&&!Eu(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var gse=Joe,_se=Yoe,Du=Goe,vse=Zoe,yse=Koe,bse=Woe,xse=Xoe,Sse=(e,t,n)=>{let r=new Map,i={platform:pse,...n},a={...i.platform,_c:r};return Uoe(e,t,{...i,platform:a})},U=u({Vue:()=>t,Vue2:()=>void 0,del:()=>Tse,install:()=>Cse,isVue2:()=>!1,isVue3:()=>!0,set:()=>wse});f(U,require(`vue`));function Cse(){}function wse(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function Tse(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function Ese(e){return typeof e==`object`&&!!e&&`$el`in e}function Ou(e){if(Ese(e)){let t=e.$el;return $l(t)&&Xl(t)===`#comment`?null:t}return e}function ku(e){return typeof e==`function`?e():(0,U.unref)(e)}function Dse(e){return{name:`arrow`,options:e,fn(t){let n=Ou(ku(e.element));return n==null?{}:bse({element:n,padding:e.padding}).fn(t)}}}function Au(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ju(e,t){let n=Au(e);return Math.round(t*n)/n}function Ose(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=(0,U.computed)(()=>ku(n.open)??!0),a=(0,U.computed)(()=>ku(n.middleware)),o=(0,U.computed)(()=>ku(n.placement)??`bottom`),s=(0,U.computed)(()=>ku(n.strategy)??`absolute`),c=(0,U.computed)(()=>ku(n.transform)??!0),l=(0,U.computed)(()=>Ou(e.value)),u=(0,U.computed)(()=>Ou(t.value)),d=(0,U.ref)(0),f=(0,U.ref)(0),p=(0,U.ref)(s.value),m=(0,U.ref)(o.value),h=(0,U.shallowRef)({}),g=(0,U.ref)(!1),_=(0,U.computed)(()=>{let e={position:p.value,left:`0`,top:`0`};if(!u.value)return e;let t=ju(u.value,d.value),n=ju(u.value,f.value);return c.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...Au(u.value)>=1.5&&{willChange:`transform`}}:{position:p.value,left:t+`px`,top:n+`px`}}),v;function y(){if(l.value==null||u.value==null)return;let e=i.value;Sse(l.value,u.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(t=>{d.value=t.x,f.value=t.y,p.value=t.strategy,m.value=t.placement,h.value=t.middlewareData,g.value=e!==!1})}function b(){typeof v==`function`&&(v(),v=void 0)}function x(){if(b(),r===void 0){y();return}if(l.value!=null&&u.value!=null){v=r(l.value,u.value,y);return}}function S(){i.value||(g.value=!1)}return(0,U.watch)([a,o,s,i],y,{flush:`sync`}),(0,U.watch)([l,u],x,{flush:`sync`}),(0,U.watch)(i,S,{flush:`sync`}),(0,U.getCurrentScope)()&&(0,U.onScopeDispose)(b),{x:(0,U.shallowReadonly)(d),y:(0,U.shallowReadonly)(f),strategy:(0,U.shallowReadonly)(p),placement:(0,U.shallowReadonly)(m),middlewareData:(0,U.shallowReadonly)(h),isPositioned:(0,U.shallowReadonly)(g),floatingStyles:_,update:y}}var Mu={side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1},[kse,Ase]=H(`PopperContent`),jse=(0,t.defineComponent)({inheritAttrs:!1,__name:`PopperContent`,props:(0,t.mergeDefaults)({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Mu}),emits:[`placed`],setup(e,{emit:n}){let r=e,i=n,a=El(),{forwardRef:o,currentElement:s}=cl(),c=(0,t.ref)(),l=(0,t.ref)(),{width:u,height:d}=Fae(l),f=(0,t.computed)(()=>r.side+(r.align===`center`?``:`-${r.align}`)),p=(0,t.computed)(()=>typeof r.collisionPadding==`number`?r.collisionPadding:{top:0,right:0,bottom:0,left:0,...r.collisionPadding}),m=(0,t.computed)(()=>Array.isArray(r.collisionBoundary)?r.collisionBoundary:[r.collisionBoundary]),h=(0,t.computed)(()=>({padding:p.value,boundary:m.value.filter(Noe),altBoundary:m.value.length>0})),g=(0,t.computed)(()=>({mainAxis:r.sideFlip,crossAxis:r.alignFlip})),_=Tie(()=>[gse({mainAxis:r.sideOffset+d.value,alignmentAxis:r.alignOffset}),r.prioritizePosition&&r.avoidCollisions&&Du({...h.value,...g.value}),r.avoidCollisions&&_se({mainAxis:!0,crossAxis:!!r.prioritizePosition,limiter:r.sticky===`partial`?xse():void 0,...h.value}),!r.prioritizePosition&&r.avoidCollisions&&Du({...h.value,...g.value}),vse({...h.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--reka-popper-available-width`,`${n}px`),o.setProperty(`--reka-popper-available-height`,`${r}px`),o.setProperty(`--reka-popper-anchor-width`,`${i}px`),o.setProperty(`--reka-popper-anchor-height`,`${a}px`)}}),l.value&&Dse({element:l.value,padding:r.arrowPadding}),Poe({arrowWidth:u.value,arrowHeight:d.value}),r.hideWhenDetached&&yse({strategy:`referenceHidden`,...h.value})]),{floatingStyles:v,placement:y,isPositioned:b,middlewareData:x,update:S}=Ose((0,t.computed)(()=>r.reference??a.anchor.value),c,{strategy:r.positionStrategy,placement:f,whileElementsMounted:(...e)=>hse(...e,{layoutShift:!r.disableUpdateOnLayoutShift,animationFrame:r.updatePositionStrategy===`always`}),middleware:_}),C=(0,t.computed)(()=>Dl(y.value)[0]),w=(0,t.computed)(()=>Dl(y.value)[1]);(0,t.watchPostEffect)(()=>{b.value&&i(`placed`)});let T=(0,t.computed)(()=>x.value.arrow?.centerOffset!==0),E=(0,t.ref)(``);return(0,t.watchEffect)(()=>{s.value&&(E.value=window.getComputedStyle(s.value).zIndex)}),Ase({placedSide:C,onArrowChange:e=>l.value=e,arrowX:(0,t.computed)(()=>x.value.arrow?.x??0),arrowY:(0,t.computed)(()=>x.value.arrow?.y??0),shouldHideArrow:T}),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{ref_key:`floatingRef`,ref:c,"data-reka-popper-content-wrapper":``,style:(0,t.normalizeStyle)({...(0,t.unref)(v),transform:(0,t.unref)(b)?(0,t.unref)(v).transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:E.value,"--reka-popper-transform-origin":[(0,t.unref)(x).transformOrigin?.x,(0,t.unref)(x).transformOrigin?.y].join(` `),...(0,t.unref)(x).hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}})},[(0,t.createVNode)((0,t.unref)(fl),(0,t.mergeProps)({ref:(0,t.unref)(o)},e.$attrs,{"as-child":r.asChild,as:e.as,"data-side":C.value,"data-align":w.value,style:{animation:(0,t.unref)(b)?void 0:`none`}}),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`style`])],4))}}),[Mse,Nse]=H([`MenuRoot`,`MenuSub`],`MenuContext`),[Pse,Fse]=H(`MenuRoot`),[Ise,Lse]=H(`MenuContent`);({...Mu});var[Rse,zse]=H([`MenuCheckboxItem`,`MenuRadioItem`],`MenuItemIndicatorContext`),[Bse,Vse]=H(`MenuSub`),[Hse,Use]=H(`PopoverRoot`),[Wse,Gse]=H(`DateRangeFieldRoot`),[Kse,qse]=H(`DateRangePickerRoot`),[Jse,Yse]=H(`RangeCalendarRoot`),[Xse,Zse]=H(`DropdownMenuRoot`),[Qse,$se]=H(`EditableRoot`),[ece,tce]=H(`HoverCardRoot`),Nu=new Map,Pu=!1;try{Pu=new Intl.NumberFormat(`de-DE`,{signDisplay:`exceptZero`}).resolvedOptions().signDisplay===`exceptZero`}catch{}var Fu=!1;try{Fu=new Intl.NumberFormat(`de-DE`,{style:`unit`,unit:`degree`}).resolvedOptions().style===`unit`}catch{}var Iu={degree:{narrow:{default:`°`,"ja-JP":` 度`,"zh-TW":`度`,"sl-SI":` °`}}},nce=class{format(e){let t=``;if(t=!Pu&&this.options.signDisplay!=null?ice(this.numberFormatter,this.options.signDisplay,e):this.numberFormatter.format(e),this.options.style===`unit`&&!Fu){let{unit:e,unitDisplay:n=`short`,locale:r}=this.resolvedOptions();if(!e)return t;let i=Iu[e]?.[n];t+=i[r]||i.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange==`function`)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError(`End date must be >= start date`);return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts==`function`)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError(`End date must be >= start date`);let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:`startRange`})),{type:`literal`,value:` – `,source:`shared`},...r.map(e=>({...e,source:`endRange`}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!Pu&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!Fu&&this.options.style===`unit`&&(e={...e,style:`unit`,unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=rce(e,t),this.options=t}};function rce(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes(`-nu-`)&&(e.includes(`-u-`)||(e+=`-u-`),e+=`-nu-${n}`),t.style===`unit`&&!Fu){let{unit:e,unitDisplay:n=`short`}=t;if(!e)throw Error(`unit option must be provided with style: "unit"`);if(!Iu[e]?.[n])throw Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:`decimal`}}let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``);if(Nu.has(r))return Nu.get(r);let i=new Intl.NumberFormat(e,t);return Nu.set(r,i),i}function ice(e,t,n){if(t===`auto`)return e.format(n);if(t===`never`)return e.format(Math.abs(n));{let r=!1;if(t===`always`?r=n>0||Object.is(n,0):t===`exceptZero`&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let t=e.format(-n),r=e.format(n),i=t.replace(r,``).replace(/\u200e|\u061C/,``);return[...i].length!==1&&console.warn(`@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case`),t.replace(r,`!!!`).replace(i,`+`).replace(`!!!`,r)}else return e.format(n)}}var ace=RegExp(`^.*\\(.*\\).*$`),oce=[`latn`,`arab`,`hanidec`,`deva`,`beng`],sce=class{parse(e){return Ru(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,n){return Ru(this.locale,this.options,e).isValidPartialNumber(e,t,n)}getNumberingSystem(e){return Ru(this.locale,this.options,e).options.numberingSystem}constructor(e,t={}){this.locale=e,this.options=t}},Lu=new Map;function Ru(e,t,n){let r=zu(e,t);if(!e.includes(`-nu-`)&&!r.isValidPartialNumber(n)){for(let i of oce)if(i!==r.options.numberingSystem){let r=zu(e+(e.includes(`-u-`)?`-nu-`:`-u-nu-`)+i,t);if(r.isValidPartialNumber(n))return r}}return r}function zu(e,t){let n=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``),r=Lu.get(n);return r||(r=new cce(e,t),Lu.set(n,r)),r}var cce=class{parse(e){let t=this.sanitize(e);if(this.symbols.group&&(t=Vu(t,this.symbols.group,``)),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,`.`)),this.symbols.minusSign&&(t=t.replace(this.symbols.minusSign,`-`)),t=t.replace(this.symbols.numeral,this.symbols.index),this.options.style===`percent`){let e=t.indexOf(`-`);t=t.replace(`-`,``);let n=t.indexOf(`.`);n===-1&&(n=t.length),t=t.replace(`.`,``),t=n-2==0?`0.${t}`:n-2==-1?`0.0${t}`:n-2==-2?`0.00`:`${t.slice(0,n-2)}.${t.slice(n-2)}`,e>-1&&(t=`-${t}`)}let n=t?+t:NaN;if(isNaN(n))return NaN;if(this.options.style===`percent`){let e={...this.options,style:`decimal`,minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new sce(this.locale,e).parse(new nce(this.locale,e).format(n))}return this.options.currencySign===`accounting`&&ace.test(e)&&(n=-1*n),n}sanitize(e){return e=e.replace(this.symbols.literals,``),this.symbols.minusSign&&(e=e.replace(`-`,this.symbols.minusSign)),this.options.numberingSystem===`arab`&&(this.symbols.decimal&&(e=e.replace(`,`,this.symbols.decimal),e=e.replace(`،`,this.symbols.decimal)),this.symbols.group&&(e=Vu(e,`.`,this.symbols.group))),this.options.locale===`fr-FR`&&this.symbols.group&&(e=Vu(e,` `,this.symbols.group),e=Vu(e,/\u00A0/g,this.symbols.group)),e}isValidPartialNumber(e,t=-1/0,n=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&n>0&&(e=e.slice(this.symbols.plusSign.length)),this.symbols.group&&e.startsWith(this.symbols.group)||this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(e=Vu(e,this.symbols.group,``)),e=e.replace(this.symbols.numeral,``),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,``)),e.length===0)}constructor(e,t={}){this.locale=e,t.roundingIncrement!==1&&t.roundingIncrement!=null&&(t.maximumFractionDigits==null&&t.minimumFractionDigits==null?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):t.maximumFractionDigits==null?t.maximumFractionDigits=t.minimumFractionDigits:t.minimumFractionDigits??=t.maximumFractionDigits),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=uce(e,this.formatter,this.options,t),this.options.style===`percent`&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn(`NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.`)}},Bu=new Set([`decimal`,`fraction`,`integer`,`minusSign`,`plusSign`,`group`]),lce=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function uce(e,t,n,r){let i=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:`auto`,roundingMode:`halfExpand`}),a=i.formatToParts(-10000.111),o=i.formatToParts(10000.111),s=lce.map(e=>i.formatToParts(e)),c=a.find(e=>e.type===`minusSign`)?.value??`-`,l=o.find(e=>e.type===`plusSign`)?.value;!l&&(r?.signDisplay===`exceptZero`||r?.signDisplay===`always`)&&(l=`+`);let u=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(e=>e.type===`decimal`)?.value,d=a.find(e=>e.type===`group`)?.value,f=a.filter(e=>!Bu.has(e.type)).map(e=>Hu(e.value)),p=s.flatMap(e=>e.filter(e=>!Bu.has(e.type)).map(e=>Hu(e.value))),m=[...new Set([...f,...p])].sort((e,t)=>t.length-e.length),h=m.length===0?RegExp(`[\\p{White_Space}]`,`gu`):RegExp(`${m.join(`|`)}|[\\p{White_Space}]`,`gu`),g=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),_=new Map(g.map((e,t)=>[e,t])),v=RegExp(`[${g.join(``)}]`,`g`);return{minusSign:c,plusSign:l,decimal:u,group:d,literals:h,numeral:v,index:e=>String(_.get(e))}}function Vu(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function Hu(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}var[dce,fce]=H(`NumberFieldRoot`),[pce,mce]=H(`PaginationRoot`),[hce,gce]=H(`RadioGroupRoot`),[_ce,vce]=H(`RadioGroupItem`),[yce,bce]=H(`ScrollAreaRoot`);function xce(e,t){let n=e/t;return Number.isNaN(n)?0:n}function Sce(e){return e?Number.parseInt(e,10):0}var[Cce,wce]=H(`ScrollAreaScrollbar`),[Tce,Ece]=H(`ScrollAreaScrollbarVisible`),[Dce,Oce]=H(`SelectRoot`),[kce,Ace]=H(`SelectContent`),[jce,Mce]=H(`SelectItemAlignedPosition`),[Nce,Pce]=H(`SelectGroup`),[Fce,Ice]=H(`SelectItem`),[Lce,Rce]=H(`SwitchRoot`),[zce,Bce]=H(`ToggleGroupRoot`),[Uu,Vce]=H(`TooltipProvider`),Hce=(0,t.defineComponent)({inheritAttrs:!1,__name:`TooltipProvider`,props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1}},setup(e){let{delayDuration:n,skipDelayDuration:r,disableHoverableContent:i,disableClosingTrigger:a,ignoreNonKeyboardFocus:o,disabled:s}=(0,t.toRefs)(e);cl();let c=(0,t.ref)(!0),l=(0,t.ref)(!1),{start:u,stop:d}=lc(()=>{c.value=!0},r,{immediate:!1});return Vce({isOpenDelayed:c,delayDuration:n,onOpen(){d(),c.value=!1},onClose(){u()},isPointerInTransitRef:l,disableHoverableContent:i,disableClosingTrigger:a,disabled:s,ignoreNonKeyboardFocus:o}),(e,n)=>(0,t.renderSlot)(e.$slots,`default`)}}),Wu=`tooltip.open`,[Gu,Uce]=H(`TooltipRoot`),Wce=(0,t.defineComponent)({__name:`TooltipRoot`,props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:[`update:open`],setup(e,{emit:n}){let r=e,i=n;cl();let a=Uu(),o=(0,t.computed)(()=>r.disableHoverableContent??a.disableHoverableContent.value),s=(0,t.computed)(()=>r.disableClosingTrigger??a.disableClosingTrigger.value),c=(0,t.computed)(()=>r.disabled??a.disabled.value),l=(0,t.computed)(()=>r.delayDuration??a.delayDuration.value),u=(0,t.computed)(()=>r.ignoreNonKeyboardFocus??a.ignoreNonKeyboardFocus.value),d=mc(r,`open`,i,{defaultValue:r.defaultOpen,passive:r.open===void 0});(0,t.watch)(d,e=>{a.onClose&&(e?(a.onOpen(),document.dispatchEvent(new CustomEvent(Wu))):a.onClose())});let f=(0,t.ref)(!1),p=(0,t.ref)(),m=(0,t.computed)(()=>d.value?f.value?`delayed-open`:`instant-open`:`closed`),{start:h,stop:g}=lc(()=>{f.value=!0,d.value=!0},l,{immediate:!1});function _(){g(),f.value=!1,d.value=!0}function v(){g(),d.value=!1}function y(){h()}return Uce({contentId:``,open:d,stateAttribute:m,trigger:p,onTriggerChange(e){p.value=e},onTriggerEnter(){a.isOpenDelayed.value?y():_()},onTriggerLeave(){o.value?v():g()},onOpen:_,onClose:v,disableHoverableContent:o,disableClosingTrigger:s,disabled:c,ignoreNonKeyboardFocus:u}),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(joe),null,{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`,{open:(0,t.unref)(d)})]),_:3}))}}),Ku=(0,t.defineComponent)({__name:`TooltipContentImpl`,props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:`top`},sideOffset:{type:Number,required:!1,default:0},align:{type:null,required:!1,default:`center`},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},arrowPadding:{type:Number,required:!1,default:0},sticky:{type:String,required:!1,default:`partial`},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:n}){let r=e,i=n,a=Gu(),{forwardRef:o}=cl(),s=(0,t.useSlots)(),c=(0,t.computed)(()=>s.default?.({})),l=(0,t.computed)(()=>{if(r.ariaLabel)return r.ariaLabel;let e=``;function n(r){typeof r.children==`string`&&r.type!==t.Comment?e+=r.children:Array.isArray(r.children)&&r.children.forEach(e=>n(e))}return c.value?.forEach(e=>n(e)),e}),u=(0,t.computed)(()=>{let{ariaLabel:e,...t}=r;return t});return(0,t.onMounted)(()=>{fc(window,`scroll`,e=>{e.target?.contains(a.trigger.value)&&a.onClose()}),fc(window,Wu,a.onClose)}),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zae),{"as-child":``,"disable-outside-pointer-events":!1,onEscapeKeyDown:n[0]||=e=>i(`escapeKeyDown`,e),onPointerDownOutside:n[1]||=e=>{(0,t.unref)(a).disableClosingTrigger.value&&(0,t.unref)(a).trigger.value?.contains(e.target)&&e.preventDefault(),i(`pointerDownOutside`,e)},onFocusOutside:n[2]||=(0,t.withModifiers)(()=>{},[`prevent`]),onDismiss:n[3]||=e=>(0,t.unref)(a).onClose()},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(jse),(0,t.mergeProps)({ref:(0,t.unref)(o),"data-state":(0,t.unref)(a).stateAttribute.value},{...e.$attrs,...u.value},{style:{"--reka-tooltip-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-tooltip-content-available-width":`var(--reka-popper-available-width)`,"--reka-tooltip-content-available-height":`var(--reka-popper-available-height)`,"--reka-tooltip-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-tooltip-trigger-height":`var(--reka-popper-anchor-height)`}}),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`),(0,t.createVNode)((0,t.unref)(Toe),{id:(0,t.unref)(a).contentId,role:`tooltip`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(l.value),1)]),_:1},8,[`id`])]),_:3},16,[`data-state`])]),_:3}))}}),Gce=(0,t.defineComponent)({__name:`TooltipContentHoverable`,props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(e){let n=ll(e),{forwardRef:r,currentElement:i}=cl(),{trigger:a,onClose:o}=Gu(),s=Uu(),{isPointerInTransit:c,onPointerExit:l}=Tae(a,i);return s.isPointerInTransitRef=c,l(()=>{o()}),(e,i)=>((0,t.openBlock)(),(0,t.createBlock)(Ku,(0,t.mergeProps)({ref:(0,t.unref)(r)},(0,t.unref)(n)),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},16))}}),Kce=(0,t.defineComponent)({__name:`TooltipContent`,props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:`top`},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:n}){let r=e,i=n,a=Gu(),o=wae(r,i),{forwardRef:s}=cl();return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Vae),{present:e.forceMount||(0,t.unref)(a).open.value},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)((0,t.unref)(a).disableHoverableContent.value?Ku:Gce),(0,t.mergeProps)({ref:(0,t.unref)(s)},(0,t.unref)(o)),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},16))]),_:3},8,[`present`]))}}),qce=(0,t.defineComponent)({__name:`TooltipPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(moe),(0,t.normalizeProps)((0,t.guardReactiveProps)(n)),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},16))}}),qu=(0,t.defineComponent)({__name:`TooltipTrigger`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let n=e,r=Gu(),i=Uu();r.contentId||=Pae(void 0,`reka-tooltip-content`);let{forwardRef:a,currentElement:o}=cl(),s=(0,t.ref)(!1),c=(0,t.ref)(!1),l=(0,t.computed)(()=>r.disabled.value?{}:{click:g,focus:m,pointermove:f,pointerleave:p,pointerdown:d,blur:h});(0,t.onMounted)(()=>{r.onTriggerChange(o.value)});function u(){setTimeout(()=>{s.value=!1},1)}function d(){r.open&&!r.disableClosingTrigger.value&&r.onClose(),s.value=!0,document.addEventListener(`pointerup`,u,{once:!0})}function f(e){e.pointerType!==`touch`&&!c.value&&!i.isPointerInTransitRef.value&&(r.onTriggerEnter(),c.value=!0)}function p(){r.onTriggerLeave(),c.value=!1}function m(e){s.value||r.ignoreNonKeyboardFocus.value&&!e.target.matches?.(`:focus-visible`)||r.onOpen()}function h(){r.onClose()}function g(){r.disableClosingTrigger.value||r.onClose()}return(e,i)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Moe),{"as-child":``,reference:e.reference},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(fl),(0,t.mergeProps)({ref:(0,t.unref)(a),"aria-describedby":(0,t.unref)(r).open.value?(0,t.unref)(r).contentId:void 0,"data-state":(0,t.unref)(r).stateAttribute.value,as:e.as,"as-child":n.asChild,"data-grace-area-trigger":``},(0,t.toHandlers)(l.value)),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},16,[`aria-describedby`,`data-state`,`as`,`as-child`])]),_:3},8,[`reference`]))}}),Jce=l(((e,t)=>{function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=l(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
54
54
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,s=e},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw s}}}}function i(e,t,n){return t=a(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=o(e,`string`);return n(t)===`symbol`?t:String(t)}function o(e,t){if(n(e)!==`object`||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!==`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function s(e,t){return f(e)||d(e,t)||l(e,t)||c()}function c(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Package version @n8n/chat@1.
|
|
1
|
+
/*! Package version @n8n/chat@1.40.1 */
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
3
|
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (e && (t = e(e = 0)), t), s = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), c = (e, n) => {
|
|
4
4
|
let r = {};
|