diff --git a/assets/About-Bi1qhF6b.js b/assets/About-BFpPUs8q.js similarity index 97% rename from assets/About-Bi1qhF6b.js rename to assets/About-BFpPUs8q.js index 0c2caf4..fdb0cb9 100644 --- a/assets/About-Bi1qhF6b.js +++ b/assets/About-BFpPUs8q.js @@ -1,4 +1,4 @@ -import{d as s,p as n,c,a,u as i,o}from"./index-B26qxAXV.js";const e=` +import{d as s,p as n,c,a,u as i,o}from"./index-CbwOw4AX.js";const e=` [玉桃文飨轩🍑](https://share.lovejade.cn/?utm_source=about) ,简单好用的在线文本工具;支持将 Markdown、Rich Text 等格式内容,快速转化为 png、pdf、html 等文件,并支持自定义设置、一键下载等功能。基于 [Vue3](https://nicelinks.site/post/5b1a221c0526c920d6dfaada) 、 [Vite](https://nicelinks.site/post/6010e1b10c71de1fb957b64e) 、 [Pinia](https://nicelinks.site/post/631813c3c0922e0e572bde81) 、 [TailwindCSS](https://nicelinks.site/post/5fd20cb4c06d6302c1907ec7) 、 [TypeScript](https://nicelinks.site/post/6278fdeaac00ce3f9b11a8ef) 构建。 ## 诞生初衷 diff --git a/assets/index-B26qxAXV.js b/assets/index-CbwOw4AX.js similarity index 98% rename from assets/index-B26qxAXV.js rename to assets/index-CbwOw4AX.js index fdb7975..113960f 100644 --- a/assets/index-B26qxAXV.js +++ b/assets/index-CbwOw4AX.js @@ -90,16 +90,16 @@ PERFORMANCE OF THIS SOFTWARE. .`+No+lU+Gc)},uU=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},LB=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),fU=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(Wi(e)||hU(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return ae(this,void 0,void 0,function(){var t,r,n,s,i=this;return ee(this,function(o){switch(o.label){case 0:return t=LB.isSameOrigin(e),r=!Ji(e)&&this._options.useCORS===!0&&zA.SUPPORT_CORS_IMAGES&&!t,n=!Ji(e)&&!t&&!Wi(e)&&typeof this._options.proxy=="string"&&zA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!Ji(e)&&!Wi(e)&&!n&&!r?[2]:(s=e,n?[4,this.proxy(s)]:[3,2]);case 1:s=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(a,c){var l=new Image;l.onload=function(){return a(l)},l.onerror=c,(pU(s)||r)&&(l.crossOrigin="anonymous"),l.src=s,l.complete===!0&&setTimeout(function(){return a(l)},500),i._options.imageTimeout>0&&setTimeout(function(){return c("Timed out ("+i._options.imageTimeout+"ms) loading image")},i._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(s,i){var o=zA.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(a.status===200)if(o==="text")s(a.response);else{var u=new FileReader;u.addEventListener("load",function(){return s(u.result)},!1),u.addEventListener("error",function(f){return i(f)},!1),u.readAsDataURL(a.response)}else i("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=i;var c=r.indexOf("?")>-1?"&":"?";if(a.open("GET",""+r+c+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=o),t._options.imageTimeout){var l=t._options.imageTimeout;a.timeout=l,a.ontimeout=function(){return i("Timed out ("+l+"ms) proxying "+n)}}a.send()})},A}(),BU=/^data:image\/svg\+xml/i,gU=/^data:image\/.*;base64,/i,dU=/^data:image\/.*/i,hU=function(A){return zA.SUPPORT_SVG_DRAWING||!wU(A)},Ji=function(A){return dU.test(A)},pU=function(A){return gU.test(A)},Wi=function(A){return A.substr(0,4)==="blob"},wU=function(A){return A.substr(-3).toLowerCase()==="svg"||BU.test(A)},M=function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),nr=function(A,e,t){return new M(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},jn=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=nr(this.start,this.startControl,e),n=nr(this.startControl,this.endControl,e),s=nr(this.endControl,this.end,e),i=nr(r,n,e),o=nr(n,s,e),a=nr(i,o,e);return t?new A(this.start,r,i,a):new A(a,o,s,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),Ee=function(A){return A.type===1},QU=function(){function A(e){var t=e.styles,r=e.bounds,n=Nr(t.borderTopLeftRadius,r.width,r.height),s=n[0],i=n[1],o=Nr(t.borderTopRightRadius,r.width,r.height),a=o[0],c=o[1],l=Nr(t.borderBottomRightRadius,r.width,r.height),u=l[0],f=l[1],B=Nr(t.borderBottomLeftRadius,r.width,r.height),g=B[0],h=B[1],U=[];U.push((s+a)/r.width),U.push((g+u)/r.width),U.push((i+h)/r.height),U.push((c+f)/r.height);var w=Math.max.apply(Math,U);w>1&&(s/=w,i/=w,a/=w,c/=w,u/=w,f/=w,g/=w,h/=w);var C=r.width-a,F=r.height-f,y=r.width-u,E=r.height-h,Q=t.borderTopWidth,L=t.borderRightWidth,v=t.borderBottomWidth,b=t.borderLeftWidth,O=HA(t.paddingTop,e.bounds.width),j=HA(t.paddingRight,e.bounds.width),T=HA(t.paddingBottom,e.bounds.width),P=HA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||i>0?SA(r.left+b/3,r.top+Q/3,s-b/3,i-Q/3,pA.TOP_LEFT):new M(r.left+b/3,r.top+Q/3),this.topRightBorderDoubleOuterBox=s>0||i>0?SA(r.left+C,r.top+Q/3,a-L/3,c-Q/3,pA.TOP_RIGHT):new M(r.left+r.width-L/3,r.top+Q/3),this.bottomRightBorderDoubleOuterBox=u>0||f>0?SA(r.left+y,r.top+F,u-L/3,f-v/3,pA.BOTTOM_RIGHT):new M(r.left+r.width-L/3,r.top+r.height-v/3),this.bottomLeftBorderDoubleOuterBox=g>0||h>0?SA(r.left+b/3,r.top+E,g-b/3,h-v/3,pA.BOTTOM_LEFT):new M(r.left+b/3,r.top+r.height-v/3),this.topLeftBorderDoubleInnerBox=s>0||i>0?SA(r.left+b*2/3,r.top+Q*2/3,s-b*2/3,i-Q*2/3,pA.TOP_LEFT):new M(r.left+b*2/3,r.top+Q*2/3),this.topRightBorderDoubleInnerBox=s>0||i>0?SA(r.left+C,r.top+Q*2/3,a-L*2/3,c-Q*2/3,pA.TOP_RIGHT):new M(r.left+r.width-L*2/3,r.top+Q*2/3),this.bottomRightBorderDoubleInnerBox=u>0||f>0?SA(r.left+y,r.top+F,u-L*2/3,f-v*2/3,pA.BOTTOM_RIGHT):new M(r.left+r.width-L*2/3,r.top+r.height-v*2/3),this.bottomLeftBorderDoubleInnerBox=g>0||h>0?SA(r.left+b*2/3,r.top+E,g-b*2/3,h-v*2/3,pA.BOTTOM_LEFT):new M(r.left+b*2/3,r.top+r.height-v*2/3),this.topLeftBorderStroke=s>0||i>0?SA(r.left+b/2,r.top+Q/2,s-b/2,i-Q/2,pA.TOP_LEFT):new M(r.left+b/2,r.top+Q/2),this.topRightBorderStroke=s>0||i>0?SA(r.left+C,r.top+Q/2,a-L/2,c-Q/2,pA.TOP_RIGHT):new M(r.left+r.width-L/2,r.top+Q/2),this.bottomRightBorderStroke=u>0||f>0?SA(r.left+y,r.top+F,u-L/2,f-v/2,pA.BOTTOM_RIGHT):new M(r.left+r.width-L/2,r.top+r.height-v/2),this.bottomLeftBorderStroke=g>0||h>0?SA(r.left+b/2,r.top+E,g-b/2,h-v/2,pA.BOTTOM_LEFT):new M(r.left+b/2,r.top+r.height-v/2),this.topLeftBorderBox=s>0||i>0?SA(r.left,r.top,s,i,pA.TOP_LEFT):new M(r.left,r.top),this.topRightBorderBox=a>0||c>0?SA(r.left+C,r.top,a,c,pA.TOP_RIGHT):new M(r.left+r.width,r.top),this.bottomRightBorderBox=u>0||f>0?SA(r.left+y,r.top+F,u,f,pA.BOTTOM_RIGHT):new M(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=g>0||h>0?SA(r.left,r.top+E,g,h,pA.BOTTOM_LEFT):new M(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||i>0?SA(r.left+b,r.top+Q,Math.max(0,s-b),Math.max(0,i-Q),pA.TOP_LEFT):new M(r.left+b,r.top+Q),this.topRightPaddingBox=a>0||c>0?SA(r.left+Math.min(C,r.width-L),r.top+Q,C>r.width+L?0:Math.max(0,a-L),Math.max(0,c-Q),pA.TOP_RIGHT):new M(r.left+r.width-L,r.top+Q),this.bottomRightPaddingBox=u>0||f>0?SA(r.left+Math.min(y,r.width-b),r.top+Math.min(F,r.height-v),Math.max(0,u-L),Math.max(0,f-v),pA.BOTTOM_RIGHT):new M(r.left+r.width-L,r.top+r.height-v),this.bottomLeftPaddingBox=g>0||h>0?SA(r.left+b,r.top+Math.min(E,r.height-v),Math.max(0,g-b),Math.max(0,h-v),pA.BOTTOM_LEFT):new M(r.left+b,r.top+r.height-v),this.topLeftContentBox=s>0||i>0?SA(r.left+b+P,r.top+Q+O,Math.max(0,s-(b+P)),Math.max(0,i-(Q+O)),pA.TOP_LEFT):new M(r.left+b+P,r.top+Q+O),this.topRightContentBox=a>0||c>0?SA(r.left+Math.min(C,r.width+b+P),r.top+Q+O,C>r.width+b+P?0:a-b+P,c-(Q+O),pA.TOP_RIGHT):new M(r.left+r.width-(L+j),r.top+Q+O),this.bottomRightContentBox=u>0||f>0?SA(r.left+Math.min(y,r.width-(b+P)),r.top+Math.min(F,r.height+Q+O),Math.max(0,u-(L+j)),f-(v+T),pA.BOTTOM_RIGHT):new M(r.left+r.width-(L+j),r.top+r.height-(v+T)),this.bottomLeftContentBox=g>0||h>0?SA(r.left+b+P,r.top+E,Math.max(0,g-(b+P)),h-(v+T),pA.BOTTOM_LEFT):new M(r.left+b+P,r.top+r.height-(v+T))}return A}(),pA;(function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(pA||(pA={}));var SA=function(A,e,t,r,n){var s=4*((Math.sqrt(2)-1)/3),i=t*s,o=r*s,a=A+t,c=e+r;switch(n){case pA.TOP_LEFT:return new jn(new M(A,c),new M(A,c-o),new M(a-i,e),new M(a,e));case pA.TOP_RIGHT:return new jn(new M(A,e),new M(A+i,e),new M(a,c-o),new M(a,c));case pA.BOTTOM_RIGHT:return new jn(new M(a,e),new M(a,e+o),new M(A+i,c),new M(A,c));case pA.BOTTOM_LEFT:default:return new jn(new M(a,c),new M(a-i,c),new M(A,e+o),new M(A,e))}},Ss=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},CU=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Ts=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},FU=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),Zn=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),UU=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),vU=function(A){return A.type===0},SB=function(A){return A.type===1},mU=function(A){return A.type===2},Vc=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},EU=function(A,e,t,r,n){return A.map(function(s,i){switch(i){case 0:return s.add(e,t);case 1:return s.add(e+r,t);case 2:return s.add(e+r,t+n);case 3:return s.add(e,t+n)}return s})},TB=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),KB=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new QU(this.container),this.container.styles.opacity<1&&this.effects.push(new UU(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,s=this.container.styles.transform;this.effects.push(new FU(r,n,s))}if(this.container.styles.overflowX!==0){var i=Ss(this.curves),o=Ts(this.curves);Vc(i,o)?this.effects.push(new Zn(i,6)):(this.effects.push(new Zn(i,2)),this.effects.push(new Zn(o,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var s=r.effects.filter(function(a){return!SB(a)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,s),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var i=Ss(r.curves),o=Ts(r.curves);Vc(i,o)||n.unshift(new Zn(o,6))}}else n.unshift.apply(n,s);r=r.parent}return n.filter(function(a){return XA(a.target,e)})},A}(),Po=function(A,e,t,r){A.container.elements.forEach(function(n){var s=XA(n.flags,4),i=XA(n.flags,2),o=new KB(n,A);XA(n.styles.display,2048)&&r.push(o);var a=XA(n.flags,8)?[]:r;if(s||i){var c=s||n.styles.isPositioned()?t:e,l=new TB(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var u=n.styles.zIndex.order;if(u<0){var f=0;c.negativeZIndex.some(function(g,h){return u>g.element.container.styles.zIndex.order?(f=h,!1):f>0}),c.negativeZIndex.splice(f,0,l)}else if(u>0){var B=0;c.positiveZIndex.some(function(g,h){return u>=g.element.container.styles.zIndex.order?(B=h+1,!1):B>0}),c.positiveZIndex.splice(B,0,l)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else n.styles.isFloating()?c.nonPositionedFloats.push(l):c.nonPositionedInlineLevel.push(l);Po(o,l,s?l:t,a)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Po(o,e,t,a);XA(n.flags,8)&&_B(n,a)})},_B=function(A,e){for(var t=A instanceof Oo?A.start:1,r=A instanceof Oo?A.reversed:!1,n=0;n"u"?A[0]:t},TU=function(A,e,t,r,n){var s=e[0],i=e[1],o=t[0],a=t[1];switch(A){case 2:return[new M(Math.round(r.left),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(a+r.top+i)),new M(Math.round(r.left),Math.round(a+r.top+i))];case 3:return[new M(Math.round(r.left+s),Math.round(r.top)),new M(Math.round(r.left+s+o),Math.round(r.top)),new M(Math.round(r.left+s+o),Math.round(r.height+r.top)),new M(Math.round(r.left+s),Math.round(r.height+r.top))];case 1:return[new M(Math.round(r.left+s),Math.round(r.top+i)),new M(Math.round(r.left+s+o),Math.round(r.top+i)),new M(Math.round(r.left+s+o),Math.round(r.top+i+a)),new M(Math.round(r.left+s),Math.round(r.top+i+a))];default:return[new M(Math.round(n.left),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.height+n.top)),new M(Math.round(n.left),Math.round(n.height+n.top))]}},KU="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",$c="Hidden Text",_U=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),s=this._document.createElement("span"),i=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",i.appendChild(r),n.src=KU,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",s.style.fontFamily=e,s.style.fontSize=t,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode($c)),r.appendChild(s),r.appendChild(n);var o=n.offsetTop-s.offsetTop+2;r.removeChild(s),r.appendChild(this._document.createTextNode($c)),r.style.lineHeight="normal",n.style.verticalAlign="super";var a=n.offsetTop-r.offsetTop+2;return i.removeChild(r),{baseline:o,middle:a}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A}(),OB=function(){function A(e,t){this.context=e,this.options=t}return A}(),DU=1e4,OU=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new _U(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),mU(t)&&(this.ctx.globalAlpha=t.opacity),vU(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),SB(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return ae(this,void 0,void 0,function(){var r;return ee(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return ae(this,void 0,void 0,function(){return ee(this,function(r){switch(r.label){case 0:if(XA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var s=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var i=ya(t.text);i.reduce(function(o,a){return s.ctx.fillText(a,o,t.bounds.top+n),o+s.ctx.measureText(a).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(i){return i==="normal"||i==="small-caps"}).join(""),n=PU(t.fontFamily).join(", "),s=wn(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,s,n].join(" "),n,s]},e.prototype.renderTextNode=function(t,r){return ae(this,void 0,void 0,function(){var n,s,i,o,a,c,l,u,f=this;return ee(this,function(B){return n=this.createFontStyle(r),s=n[0],i=n[1],o=n[2],this.ctx.font=s,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(i,o),c=a.baseline,l=a.middle,u=r.paintOrder,t.textBounds.forEach(function(g){u.forEach(function(h){switch(h){case 0:f.ctx.fillStyle=YA(r.color),f.renderTextWithLetterSpacing(g,r.letterSpacing,c);var U=r.textShadow;U.length&&g.text.trim().length&&(U.slice(0).reverse().forEach(function(w){f.ctx.shadowColor=YA(w.color),f.ctx.shadowOffsetX=w.offsetX.number*f.options.scale,f.ctx.shadowOffsetY=w.offsetY.number*f.options.scale,f.ctx.shadowBlur=w.blur.number,f.renderTextWithLetterSpacing(g,r.letterSpacing,c)}),f.ctx.shadowColor="",f.ctx.shadowOffsetX=0,f.ctx.shadowOffsetY=0,f.ctx.shadowBlur=0),r.textDecorationLine.length&&(f.ctx.fillStyle=YA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(w){switch(w){case 1:f.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top+c),g.bounds.width,1);break;case 2:f.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top),g.bounds.width,1);break;case 3:f.ctx.fillRect(g.bounds.left,Math.ceil(g.bounds.top+l),g.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&g.text.trim().length&&(f.ctx.strokeStyle=YA(r.webkitTextStrokeColor),f.ctx.lineWidth=r.webkitTextStrokeWidth,f.ctx.lineJoin=window.chrome?"miter":"round",f.ctx.strokeText(g.text,g.bounds.left,g.bounds.top+c)),f.ctx.strokeStyle="",f.ctx.lineWidth=0,f.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var s=Ks(t),i=Ts(r);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,s.left,s.top,s.width,s.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return ae(this,void 0,void 0,function(){var r,n,s,i,o,a,C,C,c,l,u,f,y,B,g,E,h,U,w,C,F,y,E;return ee(this,function(Q){switch(Q.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,s=r.styles,i=0,o=r.textNodes,Q.label=1;case 1:return i0&&aA>0&&(v=s.ctx.createPattern(E,"repeat"),s.renderRepeat(O,v,W,tA))):mC(l)&&(b=Yi(t,r,[null,null,null]),O=b[0],j=b[1],T=b[2],P=b[3],aA=b[4],gA=l.position.length===0?[va]:l.position,W=HA(gA[0],P),tA=HA(gA[gA.length-1],aA),lA=QC(l,W,tA,P,aA),TA=lA[0],MA=lA[1],TA>0&&MA>0&&(nA=s.ctx.createRadialGradient(j+W,T+tA,0,j+W,T+tA,TA),gc(l.stops,TA*2).forEach(function(H){return nA.addColorStop(H.stop,YA(H.color))}),s.path(O),s.ctx.fillStyle=nA,TA!==MA?(sA=t.bounds.left+.5*t.bounds.width,QA=t.bounds.top+.5*t.bounds.height,yA=MA/TA,JA=1/yA,s.ctx.save(),s.ctx.translate(sA,QA),s.ctx.transform(1,0,0,yA,0,0),s.ctx.translate(-sA,-QA),s.ctx.fillRect(j,JA*(T-QA)+QA,P,aA*JA),s.ctx.restore()):s.ctx.fill())),UA.label=6;case 6:return r--,[2]}})},s=this,i=0,o=t.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return i0?l.style!==2?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return f.sent(),[3,11];case 5:return l.style!==3?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,o,t.curves,3)];case 6:return f.sent(),[3,11];case 7:return l.style!==4?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,o,t.curves)];case 8:return f.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,o,t.curves)];case 10:f.sent(),f.label=11;case 11:o++,f.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,s,i){return ae(this,void 0,void 0,function(){var o,a,c,l,u,f,B,g,h,U,w,C,F,y,E,Q,E,Q;return ee(this,function(L){return this.ctx.save(),o=IU(s,n),a=Xc(s,n),i===2&&(this.path(a),this.ctx.clip()),Ee(a[0])?(c=a[0].start.x,l=a[0].start.y):(c=a[0].x,l=a[0].y),Ee(a[1])?(u=a[1].end.x,f=a[1].end.y):(u=a[1].x,f=a[1].y),n===0||n===2?B=Math.abs(c-u):B=Math.abs(l-f),this.ctx.beginPath(),i===3?this.formatPath(o):this.formatPath(a.slice(0,2)),g=r<3?r*3:r*2,h=r<3?r*2:r,i===3&&(g=r,h=r),U=!0,B<=g*2?U=!1:B<=g*2+h?(w=B/(2*g+h),g*=w,h*=w):(C=Math.floor((B+h)/(g+h)),F=(B-C*g)/(C-1),y=(B-(C+1)*g)/C,h=y<=0||Math.abs(h-F)(Nu("data-v-cbf54d34"),A=A(),Pu(),A),ZU={class:"switch"},zU=jU(()=>$("div",{class:"slider round"},null,-1));function qU(A,e,t,r,n,s){return ce(),At("label",ZU,[Xu($("input",{class:"checkbox",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=i=>n.toggle=i)},null,512),[[Oh,n.toggle]]),zU])}const Av=ti(YU,[["render",qU],["__scopeId","data-v-cbf54d34"]]);function ev(A,e,t){let r=q(t==null?void 0:t.value),n=J(()=>A.value!==void 0);return[J(()=>n.value?A.value:r.value),function(s){return n.value||(r.value=s),e==null?void 0:e(s)}]}let tv=Symbol("headlessui.useid"),rv=0;function Zt(){return KA(tv,()=>`${++rv}`)()}function cA(A){var e;if(A==null||A.value==null)return null;let t=(e=A.value.$el)!=null?e:A.value;return t instanceof Node?t:null}function ZA(A,e,...t){if(A in e){let n=e[A];return typeof n=="function"?n(...t):n}let r=new Error(`Tried to handle "${A}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(n=>`"${n}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,ZA),r}var nv=Object.defineProperty,sv=(A,e,t)=>e in A?nv(A,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):A[e]=t,Jc=(A,e,t)=>(sv(A,typeof e!="symbol"?e+"":e,t),t);let iv=class{constructor(){Jc(this,"current",this.detect()),Jc(this,"currentId",0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},Qn=new iv;function mr(A){if(Qn.isServer)return null;if(A instanceof Node)return A.ownerDocument;if(A!=null&&A.hasOwnProperty("value")){let e=cA(A);if(e)return e.ownerDocument}return document}let Vo=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(A=>`${A}:not([tabindex='-1'])`).join(",");var pt=(A=>(A[A.First=1]="First",A[A.Previous=2]="Previous",A[A.Next=4]="Next",A[A.Last=8]="Last",A[A.WrapAround=16]="WrapAround",A[A.NoScroll=32]="NoScroll",A))(pt||{}),RB=(A=>(A[A.Error=0]="Error",A[A.Overflow=1]="Overflow",A[A.Success=2]="Success",A[A.Underflow=3]="Underflow",A))(RB||{}),ov=(A=>(A[A.Previous=-1]="Previous",A[A.Next=1]="Next",A))(ov||{});function av(A=document.body){return A==null?[]:Array.from(A.querySelectorAll(Vo)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var Ia=(A=>(A[A.Strict=0]="Strict",A[A.Loose=1]="Loose",A))(Ia||{});function kB(A,e=0){var t;return A===((t=mr(A))==null?void 0:t.body)?!1:ZA(e,{0(){return A.matches(Vo)},1(){let r=A;for(;r!==null;){if(r.matches(Vo))return!0;r=r.parentElement}return!1}})}var lv=(A=>(A[A.Keyboard=0]="Keyboard",A[A.Mouse=1]="Mouse",A))(lv||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",A=>{A.metaKey||A.altKey||A.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",A=>{A.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:A.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function $t(A){A==null||A.focus({preventScroll:!0})}let cv=["textarea","input"].join(",");function uv(A){var e,t;return(t=(e=A==null?void 0:A.matches)==null?void 0:e.call(A,cv))!=null?t:!1}function MB(A,e=t=>t){return A.slice().sort((t,r)=>{let n=e(t),s=e(r);if(n===null||s===null)return 0;let i=n.compareDocumentPosition(s);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Bs(A,e,{sorted:t=!0,relativeTo:r=null,skipElements:n=[]}={}){var s;let i=(s=Array.isArray(A)?A.length>0?A[0].ownerDocument:document:A==null?void 0:A.ownerDocument)!=null?s:document,o=Array.isArray(A)?t?MB(A):A:av(A);n.length>0&&o.length>1&&(o=o.filter(g=>!n.includes(g))),r=r??i.activeElement;let a=(()=>{if(e&5)return 1;if(e&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(e&1)return 0;if(e&2)return Math.max(0,o.indexOf(r))-1;if(e&4)return Math.max(0,o.indexOf(r))+1;if(e&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=e&32?{preventScroll:!0}:{},u=0,f=o.length,B;do{if(u>=f||u+f<=0)return 0;let g=c+u;if(e&16)g=(g+f)%f;else{if(g<0)return 3;if(g>=f)return 1}B=o[g],B==null||B.focus(l),u+=a}while(B!==i.activeElement);return e&6&&uv(B)&&B.select(),2}function NB(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function fv(){return/Android/gi.test(window.navigator.userAgent)}function Bv(){return NB()||fv()}function As(A,e,t){Qn.isServer||Fe(r=>{document.addEventListener(A,e,t),r(()=>document.removeEventListener(A,e,t))})}function PB(A,e,t){Qn.isServer||Fe(r=>{window.addEventListener(A,e,t),r(()=>window.removeEventListener(A,e,t))})}function GB(A,e,t=J(()=>!0)){function r(s,i){if(!t.value||s.defaultPrevented)return;let o=i(s);if(o===null||!o.getRootNode().contains(o))return;let a=function c(l){return typeof l=="function"?c(l()):Array.isArray(l)||l instanceof Set?l:[l]}(A);for(let c of a){if(c===null)continue;let l=c instanceof HTMLElement?c:cA(c);if(l!=null&&l.contains(o)||s.composed&&s.composedPath().includes(l))return}return!kB(o,Ia.Loose)&&o.tabIndex!==-1&&s.preventDefault(),e(s,o)}let n=q(null);As("pointerdown",s=>{var i,o;t.value&&(n.value=((o=(i=s.composedPath)==null?void 0:i.call(s))==null?void 0:o[0])||s.target)},!0),As("mousedown",s=>{var i,o;t.value&&(n.value=((o=(i=s.composedPath)==null?void 0:i.call(s))==null?void 0:o[0])||s.target)},!0),As("click",s=>{Bv()||n.value&&(r(s,()=>n.value),n.value=null)},!0),As("touchend",s=>r(s,()=>s.target instanceof HTMLElement?s.target:null),!0),PB("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Wc(A,e){if(A)return A;let t=e??"button";if(typeof t=="string"&&t.toLowerCase()==="button")return"button"}function gv(A,e){let t=q(Wc(A.value.type,A.value.as));return GA(()=>{t.value=Wc(A.value.type,A.value.as)}),Fe(()=>{var r;t.value||cA(e)&&cA(e)instanceof HTMLButtonElement&&!((r=cA(e))!=null&&r.hasAttribute("type"))&&(t.value="button")}),t}function Yc(A){return[A.screenX,A.screenY]}function dv(){let A=q([-1,-1]);return{wasMoved(e){let t=Yc(e);return A.value[0]===t[0]&&A.value[1]===t[1]?!1:(A.value=t,!0)},update(e){A.value=Yc(e)}}}var Cr=(A=>(A[A.None=0]="None",A[A.RenderStrategy=1]="RenderStrategy",A[A.Static=2]="Static",A))(Cr||{}),Ft=(A=>(A[A.Unmount=0]="Unmount",A[A.Hidden=1]="Hidden",A))(Ft||{});function he({visible:A=!0,features:e=0,ourProps:t,theirProps:r,...n}){var s;let i=XB(r,t),o=Object.assign(n,{props:i});if(A||e&2&&i.static)return ji(o);if(e&1){let a=(s=i.unmount)==null||s?0:1;return ZA(a,{0(){return null},1(){return ji({...n,props:{...i,hidden:!0,style:{display:"none"}}})}})}return ji(o)}function ji({props:A,attrs:e,slots:t,slot:r,name:n}){var s,i;let{as:o,...a}=xa(A,["unmount","static"]),c=(s=t.default)==null?void 0:s.call(t,r),l={};if(r){let u=!1,f=[];for(let[B,g]of Object.entries(r))typeof g=="boolean"&&(u=!0),g===!0&&f.push(B);u&&(l["data-headlessui-state"]=f.join(" "))}if(o==="template"){if(c=VB(c??[]),Object.keys(a).length>0||Object.keys(e).length>0){let[u,...f]=c??[];if(!pv(u)||f.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${n} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(a).concat(Object.keys(e)).map(h=>h.trim()).filter((h,U,w)=>w.indexOf(h)===U).sort((h,U)=>h.localeCompare(U)).map(h=>` - ${h}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(h=>` - ${h}`).join(` `)].join(` -`));let B=XB((i=u.props)!=null?i:{},a,l),g=et(u,B,!0);for(let h in B)h.startsWith("on")&&(g.props||(g.props={}),g.props[h]=B[h]);return g}return Array.isArray(c)&&c.length===1?c[0]:c}return NA(o,Object.assign({},a,l),{default:()=>c})}function VB(A){return A.flatMap(e=>e.type===re?VB(e.children):[e])}function XB(...A){if(A.length===0)return{};if(A.length===1)return A[0];let e={},t={};for(let r of A)for(let n in r)n.startsWith("on")&&typeof r[n]=="function"?(t[n]!=null||(t[n]=[]),t[n].push(r[n])):e[n]=r[n];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(t).map(r=>[r,void 0])));for(let r in t)Object.assign(e,{[r](n,...s){let i=t[r];for(let o of i){if(n instanceof Event&&n.defaultPrevented)return;o(n,...s)}}});return e}function hv(A){let e=Object.assign({},A);for(let t in e)e[t]===void 0&&delete e[t];return e}function xa(A,e=[]){let t=Object.assign({},A);for(let r of e)r in t&&delete t[r];return t}function pv(A){return A==null?!1:typeof A.type=="string"||typeof A.type=="object"||typeof A.type=="function"}var gn=(A=>(A[A.None=1]="None",A[A.Focusable=2]="Focusable",A[A.Hidden=4]="Hidden",A))(gn||{});let _s=_A({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(A,{slots:e,attrs:t}){return()=>{var r;let{features:n,...s}=A,i={"aria-hidden":(n&2)===2?!0:(r=s["aria-hidden"])!=null?r:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return he({ourProps:i,theirProps:s,slot:{},attrs:t,slots:e,name:"Hidden"})}}}),$B=Symbol("Context");var qA=(A=>(A[A.Open=1]="Open",A[A.Closed=2]="Closed",A[A.Closing=4]="Closing",A[A.Opening=8]="Opening",A))(qA||{});function wv(){return Bi()!==null}function Bi(){return KA($B,null)}function JB(A){ue($B,A)}var VA=(A=>(A.Space=" ",A.Enter="Enter",A.Escape="Escape",A.Backspace="Backspace",A.Delete="Delete",A.ArrowLeft="ArrowLeft",A.ArrowUp="ArrowUp",A.ArrowRight="ArrowRight",A.ArrowDown="ArrowDown",A.Home="Home",A.End="End",A.PageUp="PageUp",A.PageDown="PageDown",A.Tab="Tab",A))(VA||{});function Qv(A){function e(){document.readyState!=="loading"&&(A(),document.removeEventListener("DOMContentLoaded",e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",e),e())}let Rt=[];Qv(()=>{function A(e){e.target instanceof HTMLElement&&e.target!==document.body&&Rt[0]!==e.target&&(Rt.unshift(e.target),Rt=Rt.filter(t=>t!=null&&t.isConnected),Rt.splice(10))}window.addEventListener("click",A,{capture:!0}),window.addEventListener("mousedown",A,{capture:!0}),window.addEventListener("focus",A,{capture:!0}),document.body.addEventListener("click",A,{capture:!0}),document.body.addEventListener("mousedown",A,{capture:!0}),document.body.addEventListener("focus",A,{capture:!0})});function Cv(A){throw new Error("Unexpected object: "+A)}var le=(A=>(A[A.First=0]="First",A[A.Previous=1]="Previous",A[A.Next=2]="Next",A[A.Last=3]="Last",A[A.Specific=4]="Specific",A[A.Nothing=5]="Nothing",A))(le||{});function Fv(A,e){let t=e.resolveItems();if(t.length<=0)return null;let r=e.resolveActiveIndex(),n=r??-1;switch(A.focus){case 0:{for(let s=0;s=0;--s)if(!e.resolveDisabled(t[s],s,t))return s;return r}case 2:{for(let s=n+1;s=0;--s)if(!e.resolveDisabled(t[s],s,t))return s;return r}case 4:{for(let s=0;ssetTimeout(()=>{throw e}))}function Cn(){let A=[],e={addEventListener(t,r,n,s){return t.addEventListener(r,n,s),e.add(()=>t.removeEventListener(r,n,s))},requestAnimationFrame(...t){let r=requestAnimationFrame(...t);e.add(()=>cancelAnimationFrame(r))},nextFrame(...t){e.requestAnimationFrame(()=>{e.requestAnimationFrame(...t)})},setTimeout(...t){let r=setTimeout(...t);e.add(()=>clearTimeout(r))},microTask(...t){let r={current:!0};return La(()=>{r.current&&t[0]()}),e.add(()=>{r.current=!1})},style(t,r,n){let s=t.style.getPropertyValue(r);return Object.assign(t.style,{[r]:n}),this.add(()=>{Object.assign(t.style,{[r]:s})})},group(t){let r=Cn();return t(r),this.add(()=>r.dispose())},add(t){return A.push(t),()=>{let r=A.indexOf(t);if(r>=0)for(let n of A.splice(r,1))n()}},dispose(){for(let t of A.splice(0))t()}};return e}function WB(A={},e=null,t=[]){for(let[r,n]of Object.entries(A))jB(t,YB(e,r),n);return t}function YB(A,e){return A?A+"["+e+"]":e}function jB(A,e,t){if(Array.isArray(t))for(let[r,n]of t.entries())jB(A,YB(e,r.toString()),n);else t instanceof Date?A.push([e,t.toISOString()]):typeof t=="boolean"?A.push([e,t?"1":"0"]):typeof t=="string"?A.push([e,t]):typeof t=="number"?A.push([e,`${t}`]):t==null?A.push([e,""]):WB(t,e,A)}function ZB(A,e,t,r){Qn.isServer||Fe(n=>{A=A??window,A.addEventListener(e,t,r),n(()=>A.removeEventListener(e,t,r))})}var Vr=(A=>(A[A.Forwards=0]="Forwards",A[A.Backwards=1]="Backwards",A))(Vr||{});function Uv(){let A=q(0);return PB("keydown",e=>{e.key==="Tab"&&(A.value=e.shiftKey?1:0)}),A}function zB(A){if(!A)return new Set;if(typeof A=="function")return new Set(A());let e=new Set;for(let t of A.value){let r=cA(t);r instanceof HTMLElement&&e.add(r)}return e}var qB=(A=>(A[A.None=1]="None",A[A.InitialFocus=2]="InitialFocus",A[A.TabLock=4]="TabLock",A[A.FocusLock=8]="FocusLock",A[A.RestoreFocus=16]="RestoreFocus",A[A.All=30]="All",A))(qB||{});let Kr=Object.assign(_A({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:q(new Set)}},inheritAttrs:!1,setup(A,{attrs:e,slots:t,expose:r}){let n=q(null);r({el:n,$el:n});let s=J(()=>mr(n)),i=q(!1);GA(()=>i.value=!0),Ue(()=>i.value=!1),mv({ownerDocument:s},J(()=>i.value&&!!(A.features&16)));let o=Ev({ownerDocument:s,container:n,initialFocus:J(()=>A.initialFocus)},J(()=>i.value&&!!(A.features&2)));yv({ownerDocument:s,container:n,containers:A.containers,previousActiveElement:o},J(()=>i.value&&!!(A.features&8)));let a=Uv();function c(B){let g=cA(n);g&&(h=>h())(()=>{ZA(a.value,{[Vr.Forwards]:()=>{Bs(g,pt.First,{skipElements:[B.relatedTarget]})},[Vr.Backwards]:()=>{Bs(g,pt.Last,{skipElements:[B.relatedTarget]})}})})}let l=q(!1);function u(B){B.key==="Tab"&&(l.value=!0,requestAnimationFrame(()=>{l.value=!1}))}function f(B){if(!i.value)return;let g=zB(A.containers);cA(n)instanceof HTMLElement&&g.add(cA(n));let h=B.relatedTarget;h instanceof HTMLElement&&h.dataset.headlessuiFocusGuard!=="true"&&(Ag(g,h)||(l.value?Bs(cA(n),ZA(a.value,{[Vr.Forwards]:()=>pt.Next,[Vr.Backwards]:()=>pt.Previous})|pt.WrapAround,{relativeTo:B.target}):B.target instanceof HTMLElement&&$t(B.target)))}return()=>{let B={},g={ref:n,onKeydown:u,onFocusout:f},{features:h,initialFocus:U,containers:w,...C}=A;return NA(re,[!!(h&4)&&NA(_s,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:gn.Focusable}),he({ourProps:g,theirProps:{...e,...C},slot:B,attrs:e,slots:t,name:"FocusTrap"}),!!(h&4)&&NA(_s,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:gn.Focusable})])}}}),{features:qB});function vv(A){let e=q(Rt.slice());return ie([A],([t],[r])=>{r===!0&&t===!1?La(()=>{e.value.splice(0)}):r===!1&&t===!0&&(e.value=Rt.slice())},{flush:"post"}),()=>{var t;return(t=e.value.find(r=>r!=null&&r.isConnected))!=null?t:null}}function mv({ownerDocument:A},e){let t=vv(e);GA(()=>{Fe(()=>{var r,n;e.value||((r=A.value)==null?void 0:r.activeElement)===((n=A.value)==null?void 0:n.body)&&$t(t())},{flush:"post"})}),Ue(()=>{e.value&&$t(t())})}function Ev({ownerDocument:A,container:e,initialFocus:t},r){let n=q(null),s=q(!1);return GA(()=>s.value=!0),Ue(()=>s.value=!1),GA(()=>{ie([e,t,r],(i,o)=>{if(i.every((c,l)=>(o==null?void 0:o[l])===c)||!r.value)return;let a=cA(e);a&&La(()=>{var c,l;if(!s.value)return;let u=cA(t),f=(c=A.value)==null?void 0:c.activeElement;if(u){if(u===f){n.value=f;return}}else if(a.contains(f)){n.value=f;return}u?$t(u):Bs(a,pt.First|pt.NoScroll)===RB.Error&&console.warn("There are no focusable elements inside the "),n.value=(l=A.value)==null?void 0:l.activeElement})},{immediate:!0,flush:"post"})}),n}function yv({ownerDocument:A,container:e,containers:t,previousActiveElement:r},n){var s;ZB((s=A.value)==null?void 0:s.defaultView,"focus",i=>{if(!n.value)return;let o=zB(t);cA(e)instanceof HTMLElement&&o.add(cA(e));let a=r.value;if(!a)return;let c=i.target;c&&c instanceof HTMLElement?Ag(o,c)?(r.value=c,$t(c)):(i.preventDefault(),i.stopPropagation(),$t(a)):$t(r.value)},!0)}function Ag(A,e){for(let t of A)if(t.contains(e))return!0;return!1}function bv(A){let e=Su(A.getSnapshot());return Ue(A.subscribe(()=>{e.value=A.getSnapshot()})),e}function Hv(A,e){let t=A(),r=new Set;return{getSnapshot(){return t},subscribe(n){return r.add(n),()=>r.delete(n)},dispatch(n,...s){let i=e[n].call(t,...s);i&&(t=i,r.forEach(o=>o()))}}}function Iv(){let A;return{before({doc:e}){var t;let r=e.documentElement;A=((t=e.defaultView)!=null?t:window).innerWidth-r.clientWidth},after({doc:e,d:t}){let r=e.documentElement,n=r.clientWidth-r.offsetWidth,s=A-n;t.style(r,"paddingRight",`${s}px`)}}}function xv(){return NB()?{before({doc:A,d:e,meta:t}){function r(n){return t.containers.flatMap(s=>s()).some(s=>s.contains(n))}e.microTask(()=>{var n;if(window.getComputedStyle(A.documentElement).scrollBehavior!=="auto"){let o=Cn();o.style(A.documentElement,"scrollBehavior","auto"),e.add(()=>e.microTask(()=>o.dispose()))}let s=(n=window.scrollY)!=null?n:window.pageYOffset,i=null;e.addEventListener(A,"click",o=>{if(o.target instanceof HTMLElement)try{let a=o.target.closest("a");if(!a)return;let{hash:c}=new URL(a.href),l=A.querySelector(c);l&&!r(l)&&(i=l)}catch{}},!0),e.addEventListener(A,"touchstart",o=>{if(o.target instanceof HTMLElement)if(r(o.target)){let a=o.target;for(;a.parentElement&&r(a.parentElement);)a=a.parentElement;e.style(a,"overscrollBehavior","contain")}else e.style(o.target,"touchAction","none")}),e.addEventListener(A,"touchmove",o=>{if(o.target instanceof HTMLElement)if(r(o.target)){let a=o.target;for(;a.parentElement&&a.dataset.headlessuiPortal!==""&&!(a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth);)a=a.parentElement;a.dataset.headlessuiPortal===""&&o.preventDefault()}else o.preventDefault()},{passive:!1}),e.add(()=>{var o;let a=(o=window.scrollY)!=null?o:window.pageYOffset;s!==a&&window.scrollTo(0,s),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{}}function Lv(){return{before({doc:A,d:e}){e.style(A.documentElement,"overflow","hidden")}}}function Sv(A){let e={};for(let t of A)Object.assign(e,t(e));return e}let Nt=Hv(()=>new Map,{PUSH(A,e){var t;let r=(t=this.get(A))!=null?t:{doc:A,count:0,d:Cn(),meta:new Set};return r.count++,r.meta.add(e),this.set(A,r),this},POP(A,e){let t=this.get(A);return t&&(t.count--,t.meta.delete(e)),this},SCROLL_PREVENT({doc:A,d:e,meta:t}){let r={doc:A,d:e,meta:Sv(t)},n=[xv(),Iv(),Lv()];n.forEach(({before:s})=>s==null?void 0:s(r)),n.forEach(({after:s})=>s==null?void 0:s(r))},SCROLL_ALLOW({d:A}){A.dispose()},TEARDOWN({doc:A}){this.delete(A)}});Nt.subscribe(()=>{let A=Nt.getSnapshot(),e=new Map;for(let[t]of A)e.set(t,t.documentElement.style.overflow);for(let t of A.values()){let r=e.get(t.doc)==="hidden",n=t.count!==0;(n&&!r||!n&&r)&&Nt.dispatch(t.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",t),t.count===0&&Nt.dispatch("TEARDOWN",t)}});function Tv(A,e,t){let r=bv(Nt),n=J(()=>{let s=A.value?r.value.get(A.value):void 0;return s?s.count>0:!1});return ie([A,e],([s,i],[o],a)=>{if(!s||!i)return;Nt.dispatch("PUSH",s,t);let c=!1;a(()=>{c||(Nt.dispatch("POP",o??s,t),c=!0)})},{immediate:!0}),n}let Zi=new Map,_r=new Map;function jc(A,e=q(!0)){Fe(t=>{var r;if(!e.value)return;let n=cA(A);if(!n)return;t(function(){var i;if(!n)return;let o=(i=_r.get(n))!=null?i:1;if(o===1?_r.delete(n):_r.set(n,o-1),o!==1)return;let a=Zi.get(n);a&&(a["aria-hidden"]===null?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",a["aria-hidden"]),n.inert=a.inert,Zi.delete(n))});let s=(r=_r.get(n))!=null?r:0;_r.set(n,s+1),s===0&&(Zi.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0)})}function Kv({defaultContainers:A=[],portals:e,mainTreeNodeRef:t}={}){let r=q(null),n=mr(r);function s(){var i,o,a;let c=[];for(let l of A)l!==null&&(l instanceof HTMLElement?c.push(l):"value"in l&&l.value instanceof HTMLElement&&c.push(l.value));if(e!=null&&e.value)for(let l of e.value)c.push(l);for(let l of(i=n==null?void 0:n.querySelectorAll("html > *, body > *"))!=null?i:[])l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l.id!=="headlessui-portal-root"&&(l.contains(cA(r))||l.contains((a=(o=cA(r))==null?void 0:o.getRootNode())==null?void 0:a.host)||c.some(u=>l.contains(u))||c.push(l));return c}return{resolveContainers:s,contains(i){return s().some(o=>o.contains(i))},mainTreeNodeRef:r,MainTreeNode(){return t!=null?null:NA(_s,{features:gn.Hidden,ref:r})}}}let eg=Symbol("ForcePortalRootContext");function _v(){return KA(eg,!1)}let Zc=_A({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(A,{slots:e,attrs:t}){return ue(eg,A.force),()=>{let{force:r,...n}=A;return he({theirProps:n,ourProps:{},slot:{},slots:e,attrs:t,name:"ForcePortalRoot"})}}}),tg=Symbol("StackContext");var Xo=(A=>(A[A.Add=0]="Add",A[A.Remove=1]="Remove",A))(Xo||{});function Dv(){return KA(tg,()=>{})}function Ov({type:A,enabled:e,element:t,onUpdate:r}){let n=Dv();function s(...i){r==null||r(...i),n(...i)}GA(()=>{ie(e,(i,o)=>{i?s(0,A,t):o===!0&&s(1,A,t)},{immediate:!0,flush:"sync"})}),Ue(()=>{e.value&&s(1,A,t)}),ue(tg,s)}let Rv=Symbol("DescriptionContext");function kv({slot:A=q({}),name:e="Description",props:t={}}={}){let r=q([]);function n(s){return r.value.push(s),()=>{let i=r.value.indexOf(s);i!==-1&&r.value.splice(i,1)}}return ue(Rv,{register:n,slot:A,name:e,props:t}),J(()=>r.value.length>0?r.value.join(" "):void 0)}function Mv(A){let e=mr(A);if(!e){if(A===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${A}`)}let t=e.getElementById("headlessui-portal-root");if(t)return t;let r=e.createElement("div");return r.setAttribute("id","headlessui-portal-root"),e.body.appendChild(r)}let Nv=_A({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(A,{slots:e,attrs:t}){let r=q(null),n=J(()=>mr(r)),s=_v(),i=KA(rg,null),o=q(s===!0||i==null?Mv(r.value):i.resolveTarget()),a=q(!1);GA(()=>{a.value=!0}),Fe(()=>{s||i!=null&&(o.value=i.resolveTarget())});let c=KA($o,null),l=!1,u=ha();return ie(r,()=>{if(l||!c)return;let f=cA(r);f&&(Ue(c.register(f),u),l=!0)}),Ue(()=>{var f,B;let g=(f=n.value)==null?void 0:f.getElementById("headlessui-portal-root");g&&o.value===g&&o.value.children.length<=0&&((B=o.value.parentElement)==null||B.removeChild(o.value))}),()=>{if(!a.value||o.value===null)return null;let f={ref:r,"data-headlessui-portal":""};return NA(jd,{to:o.value},he({ourProps:f,theirProps:A,slot:{},attrs:t,slots:e,name:"Portal"}))}}}),$o=Symbol("PortalParentContext");function Pv(){let A=KA($o,null),e=q([]);function t(s){return e.value.push(s),A&&A.register(s),()=>r(s)}function r(s){let i=e.value.indexOf(s);i!==-1&&e.value.splice(i,1),A&&A.unregister(s)}let n={register:t,unregister:r,portals:e};return[e,_A({name:"PortalWrapper",setup(s,{slots:i}){return ue($o,n),()=>{var o;return(o=i.default)==null?void 0:o.call(i)}}})]}let rg=Symbol("PortalGroupContext"),Gv=_A({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(A,{attrs:e,slots:t}){let r=Ur({resolveTarget(){return A.target}});return ue(rg,r),()=>{let{target:n,...s}=A;return he({theirProps:s,ourProps:{},slot:{},attrs:e,slots:t,name:"PortalGroup"})}}});var Vv=(A=>(A[A.Open=0]="Open",A[A.Closed=1]="Closed",A))(Vv||{});let Jo=Symbol("DialogContext");function Sa(A){let e=KA(Jo,null);if(e===null){let t=new Error(`<${A} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Sa),t}return e}let es="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Xv=_A({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:es},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:A=>!0},setup(A,{emit:e,attrs:t,slots:r,expose:n}){var s,i;let o=(s=A.id)!=null?s:`headlessui-dialog-${Zt()}`,a=q(!1);GA(()=>{a.value=!0});let c=!1,l=J(()=>A.role==="dialog"||A.role==="alertdialog"?A.role:(c||(c=!0,console.warn(`Invalid role [${l}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),u=q(0),f=Bi(),B=J(()=>A.open===es&&f!==null?(f.value&qA.Open)===qA.Open:A.open),g=q(null),h=J(()=>mr(g));if(n({el:g,$el:g}),!(A.open!==es||f!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof B.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${B.value===es?void 0:A.open}`);let U=J(()=>a.value&&B.value?0:1),w=J(()=>U.value===0),C=J(()=>u.value>1),F=KA(Jo,null)!==null,[y,E]=Pv(),{resolveContainers:Q,mainTreeNodeRef:L,MainTreeNode:v}=Kv({portals:y,defaultContainers:[J(()=>{var nA;return(nA=tA.panelRef.value)!=null?nA:g.value})]}),b=J(()=>C.value?"parent":"leaf"),O=J(()=>f!==null?(f.value&qA.Closing)===qA.Closing:!1),j=J(()=>F||O.value?!1:w.value),T=J(()=>{var nA,sA,QA;return(QA=Array.from((sA=(nA=h.value)==null?void 0:nA.querySelectorAll("body > *"))!=null?sA:[]).find(yA=>yA.id==="headlessui-portal-root"?!1:yA.contains(cA(L))&&yA instanceof HTMLElement))!=null?QA:null});jc(T,j);let P=J(()=>C.value?!0:w.value),aA=J(()=>{var nA,sA,QA;return(QA=Array.from((sA=(nA=h.value)==null?void 0:nA.querySelectorAll("[data-headlessui-portal]"))!=null?sA:[]).find(yA=>yA.contains(cA(L))&&yA instanceof HTMLElement))!=null?QA:null});jc(aA,P),Ov({type:"Dialog",enabled:J(()=>U.value===0),element:g,onUpdate:(nA,sA)=>{if(sA==="Dialog")return ZA(nA,{[Xo.Add]:()=>u.value+=1,[Xo.Remove]:()=>u.value-=1})}});let gA=kv({name:"DialogDescription",slot:J(()=>({open:B.value}))}),W=q(null),tA={titleId:W,panelRef:q(null),dialogState:U,setTitleId(nA){W.value!==nA&&(W.value=nA)},close(){e("close",!1)}};ue(Jo,tA);let lA=J(()=>!(!w.value||C.value));GB(Q,(nA,sA)=>{tA.close(),Te(()=>sA==null?void 0:sA.focus())},lA);let TA=J(()=>!(C.value||U.value!==0));ZB((i=h.value)==null?void 0:i.defaultView,"keydown",nA=>{TA.value&&(nA.defaultPrevented||nA.key===VA.Escape&&(nA.preventDefault(),nA.stopPropagation(),tA.close()))});let MA=J(()=>!(O.value||U.value!==0||F));return Tv(h,MA,nA=>{var sA;return{containers:[...(sA=nA.containers)!=null?sA:[],Q]}}),Fe(nA=>{if(U.value!==0)return;let sA=cA(g);if(!sA)return;let QA=new ResizeObserver(yA=>{for(let JA of yA){let UA=JA.target.getBoundingClientRect();UA.x===0&&UA.y===0&&UA.width===0&&UA.height===0&&tA.close()}});QA.observe(sA),nA(()=>QA.disconnect())}),()=>{let{open:nA,initialFocus:sA,...QA}=A,yA={...t,ref:g,id:o,role:l.value,"aria-modal":U.value===0?!0:void 0,"aria-labelledby":W.value,"aria-describedby":gA.value},JA={open:U.value===0};return NA(Zc,{force:!0},()=>[NA(Nv,()=>NA(Gv,{target:g.value},()=>NA(Zc,{force:!1},()=>NA(Kr,{initialFocus:sA,containers:Q,features:w.value?ZA(b.value,{parent:Kr.features.RestoreFocus,leaf:Kr.features.All&~Kr.features.FocusLock}):Kr.features.None},()=>NA(E,{},()=>he({ourProps:yA,theirProps:{...QA,...t},slot:JA,attrs:t,slots:r,visible:U.value===0,features:Cr.RenderStrategy|Cr.Static,name:"Dialog"})))))),NA(v)])}}}),$v=_A({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-dialog-panel-${Zt()}`,i=Sa("DialogPanel");r({el:i.panelRef,$el:i.panelRef});function o(a){a.stopPropagation()}return()=>{let{...a}=A,c={id:s,ref:i.panelRef,onClick:o};return he({ourProps:c,theirProps:a,slot:{open:i.dialogState.value===0},attrs:e,slots:t,name:"DialogPanel"})}}}),Jv=_A({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t}){var r;let n=(r=A.id)!=null?r:`headlessui-dialog-title-${Zt()}`,s=Sa("DialogTitle");return GA(()=>{s.setTitleId(n),Ue(()=>s.setTitleId(null))}),()=>{let{...i}=A;return he({ourProps:{id:n},theirProps:i,slot:{open:s.dialogState.value===0},attrs:e,slots:t,name:"DialogTitle"})}}}),zc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function qc(A){var e,t;let r=(e=A.innerText)!=null?e:"",n=A.cloneNode(!0);if(!(n instanceof HTMLElement))return r;let s=!1;for(let o of n.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))o.remove(),s=!0;let i=s?(t=n.innerText)!=null?t:"":r;return zc.test(i)&&(i=i.replace(zc,"")),i}function Wv(A){let e=A.getAttribute("aria-label");if(typeof e=="string")return e.trim();let t=A.getAttribute("aria-labelledby");if(t){let r=t.split(" ").map(n=>{let s=document.getElementById(n);if(s){let i=s.getAttribute("aria-label");return typeof i=="string"?i.trim():qc(s).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return qc(A).trim()}function Yv(A){let e=q(""),t=q("");return()=>{let r=cA(A);if(!r)return"";let n=r.innerText;if(e.value===n)return t.value;let s=Wv(r).trim().toLowerCase();return e.value=n,t.value=s,s}}function jv(A,e){return A===e}var Zv=(A=>(A[A.Open=0]="Open",A[A.Closed=1]="Closed",A))(Zv||{}),zv=(A=>(A[A.Single=0]="Single",A[A.Multi=1]="Multi",A))(zv||{}),qv=(A=>(A[A.Pointer=0]="Pointer",A[A.Other=1]="Other",A))(qv||{});function Am(A){requestAnimationFrame(()=>requestAnimationFrame(A))}let ng=Symbol("ListboxContext");function gi(A){let e=KA(ng,null);if(e===null){let t=new Error(`<${A} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,gi),t}return e}let em=_A({name:"Listbox",emits:{"update:modelValue":A=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>jv},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(A,{slots:e,attrs:t,emit:r}){let n=q(1),s=q(null),i=q(null),o=q(null),a=q([]),c=q(""),l=q(null),u=q(1);function f(F=y=>y){let y=l.value!==null?a.value[l.value]:null,E=MB(F(a.value.slice()),L=>cA(L.dataRef.domRef)),Q=y?E.indexOf(y):null;return Q===-1&&(Q=null),{options:E,activeOptionIndex:Q}}let B=J(()=>A.multiple?1:0),[g,h]=ev(J(()=>A.modelValue),F=>r("update:modelValue",F),J(()=>A.defaultValue)),U=J(()=>g.value===void 0?ZA(B.value,{1:[],0:void 0}):g.value),w={listboxState:n,value:U,mode:B,compare(F,y){if(typeof A.by=="string"){let E=A.by;return(F==null?void 0:F[E])===(y==null?void 0:y[E])}return A.by(F,y)},orientation:J(()=>A.horizontal?"horizontal":"vertical"),labelRef:s,buttonRef:i,optionsRef:o,disabled:J(()=>A.disabled),options:a,searchQuery:c,activeOptionIndex:l,activationTrigger:u,closeListbox(){A.disabled||n.value!==1&&(n.value=1,l.value=null)},openListbox(){A.disabled||n.value!==0&&(n.value=0)},goToOption(F,y,E){if(A.disabled||n.value===1)return;let Q=f(),L=Fv(F===le.Specific?{focus:le.Specific,id:y}:{focus:F},{resolveItems:()=>Q.options,resolveActiveIndex:()=>Q.activeOptionIndex,resolveId:v=>v.id,resolveDisabled:v=>v.dataRef.disabled});c.value="",l.value=L,u.value=E??1,a.value=Q.options},search(F){if(A.disabled||n.value===1)return;let y=c.value!==""?0:1;c.value+=F.toLowerCase();let E=(l.value!==null?a.value.slice(l.value+y).concat(a.value.slice(0,l.value+y)):a.value).find(L=>L.dataRef.textValue.startsWith(c.value)&&!L.dataRef.disabled),Q=E?a.value.indexOf(E):-1;Q===-1||Q===l.value||(l.value=Q,u.value=1)},clearSearch(){A.disabled||n.value!==1&&c.value!==""&&(c.value="")},registerOption(F,y){let E=f(Q=>[...Q,{id:F,dataRef:y}]);a.value=E.options,l.value=E.activeOptionIndex},unregisterOption(F){let y=f(E=>{let Q=E.findIndex(L=>L.id===F);return Q!==-1&&E.splice(Q,1),E});a.value=y.options,l.value=y.activeOptionIndex,u.value=1},theirOnChange(F){A.disabled||h(F)},select(F){A.disabled||h(ZA(B.value,{0:()=>F,1:()=>{let y=rA(w.value.value).slice(),E=rA(F),Q=y.findIndex(L=>w.compare(E,rA(L)));return Q===-1?y.push(E):y.splice(Q,1),y}}))}};GB([i,o],(F,y)=>{var E;w.closeListbox(),kB(y,Ia.Loose)||(F.preventDefault(),(E=cA(i))==null||E.focus())},J(()=>n.value===0)),ue(ng,w),JB(J(()=>ZA(n.value,{0:qA.Open,1:qA.Closed})));let C=J(()=>{var F;return(F=cA(i))==null?void 0:F.closest("form")});return GA(()=>{ie([C],()=>{if(!C.value||A.defaultValue===void 0)return;function F(){w.theirOnChange(A.defaultValue)}return C.value.addEventListener("reset",F),()=>{var y;(y=C.value)==null||y.removeEventListener("reset",F)}},{immediate:!0})}),()=>{let{name:F,modelValue:y,disabled:E,form:Q,...L}=A,v={open:n.value===0,disabled:E,value:U.value};return NA(re,[...F!=null&&U.value!=null?WB({[F]:U.value}).map(([b,O])=>NA(_s,hv({features:gn.Hidden,key:b,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:Q,name:b,value:O}))):[],he({ourProps:{},theirProps:{...t,...xa(L,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:v,slots:e,attrs:t,name:"Listbox"})])}}}),tm=_A({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-button-${Zt()}`,i=gi("ListboxButton");r({el:i.buttonRef,$el:i.buttonRef});function o(u){switch(u.key){case VA.Space:case VA.Enter:case VA.ArrowDown:u.preventDefault(),i.openListbox(),Te(()=>{var f;(f=cA(i.optionsRef))==null||f.focus({preventScroll:!0}),i.value.value||i.goToOption(le.First)});break;case VA.ArrowUp:u.preventDefault(),i.openListbox(),Te(()=>{var f;(f=cA(i.optionsRef))==null||f.focus({preventScroll:!0}),i.value.value||i.goToOption(le.Last)});break}}function a(u){switch(u.key){case VA.Space:u.preventDefault();break}}function c(u){i.disabled.value||(i.listboxState.value===0?(i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})})):(u.preventDefault(),i.openListbox(),Am(()=>{var f;return(f=cA(i.optionsRef))==null?void 0:f.focus({preventScroll:!0})})))}let l=gv(J(()=>({as:A.as,type:e.type})),i.buttonRef);return()=>{var u,f;let B={open:i.listboxState.value===0,disabled:i.disabled.value,value:i.value.value},{...g}=A,h={ref:i.buttonRef,id:s,type:l.value,"aria-haspopup":"listbox","aria-controls":(u=cA(i.optionsRef))==null?void 0:u.id,"aria-expanded":i.listboxState.value===0,"aria-labelledby":i.labelRef.value?[(f=cA(i.labelRef))==null?void 0:f.id,s].join(" "):void 0,disabled:i.disabled.value===!0?!0:void 0,onKeydown:o,onKeyup:a,onClick:c};return he({ourProps:h,theirProps:g,slot:B,attrs:e,slots:t,name:"ListboxButton"})}}}),rm=_A({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-options-${Zt()}`,i=gi("ListboxOptions"),o=q(null);r({el:i.optionsRef,$el:i.optionsRef});function a(u){switch(o.value&&clearTimeout(o.value),u.key){case VA.Space:if(i.searchQuery.value!=="")return u.preventDefault(),u.stopPropagation(),i.search(u.key);case VA.Enter:if(u.preventDefault(),u.stopPropagation(),i.activeOptionIndex.value!==null){let f=i.options.value[i.activeOptionIndex.value];i.select(f.dataRef.value)}i.mode.value===0&&(i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})}));break;case ZA(i.orientation.value,{vertical:VA.ArrowDown,horizontal:VA.ArrowRight}):return u.preventDefault(),u.stopPropagation(),i.goToOption(le.Next);case ZA(i.orientation.value,{vertical:VA.ArrowUp,horizontal:VA.ArrowLeft}):return u.preventDefault(),u.stopPropagation(),i.goToOption(le.Previous);case VA.Home:case VA.PageUp:return u.preventDefault(),u.stopPropagation(),i.goToOption(le.First);case VA.End:case VA.PageDown:return u.preventDefault(),u.stopPropagation(),i.goToOption(le.Last);case VA.Escape:u.preventDefault(),u.stopPropagation(),i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})});break;case VA.Tab:u.preventDefault(),u.stopPropagation();break;default:u.key.length===1&&(i.search(u.key),o.value=setTimeout(()=>i.clearSearch(),350));break}}let c=Bi(),l=J(()=>c!==null?(c.value&qA.Open)===qA.Open:i.listboxState.value===0);return()=>{var u,f;let B={open:i.listboxState.value===0},{...g}=A,h={"aria-activedescendant":i.activeOptionIndex.value===null||(u=i.options.value[i.activeOptionIndex.value])==null?void 0:u.id,"aria-multiselectable":i.mode.value===1?!0:void 0,"aria-labelledby":(f=cA(i.buttonRef))==null?void 0:f.id,"aria-orientation":i.orientation.value,id:s,onKeydown:a,role:"listbox",tabIndex:0,ref:i.optionsRef};return he({ourProps:h,theirProps:g,slot:B,attrs:e,slots:t,features:Cr.RenderStrategy|Cr.Static,visible:l.value,name:"ListboxOptions"})}}}),nm=_A({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(A,{slots:e,attrs:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-option-${Zt()}`,i=gi("ListboxOption"),o=q(null);r({el:o,$el:o});let a=J(()=>i.activeOptionIndex.value!==null?i.options.value[i.activeOptionIndex.value].id===s:!1),c=J(()=>ZA(i.mode.value,{0:()=>i.compare(rA(i.value.value),rA(A.value)),1:()=>rA(i.value.value).some(F=>i.compare(rA(F),rA(A.value)))})),l=J(()=>ZA(i.mode.value,{1:()=>{var F;let y=rA(i.value.value);return((F=i.options.value.find(E=>y.some(Q=>i.compare(rA(Q),rA(E.dataRef.value)))))==null?void 0:F.id)===s},0:()=>c.value})),u=Yv(o),f=J(()=>({disabled:A.disabled,value:A.value,get textValue(){return u()},domRef:o}));GA(()=>i.registerOption(s,f)),Ue(()=>i.unregisterOption(s)),GA(()=>{ie([i.listboxState,c],()=>{i.listboxState.value===0&&c.value&&ZA(i.mode.value,{1:()=>{l.value&&i.goToOption(le.Specific,s)},0:()=>{i.goToOption(le.Specific,s)}})},{immediate:!0})}),Fe(()=>{i.listboxState.value===0&&a.value&&i.activationTrigger.value!==0&&Te(()=>{var F,y;return(y=(F=cA(o))==null?void 0:F.scrollIntoView)==null?void 0:y.call(F,{block:"nearest"})})});function B(F){if(A.disabled)return F.preventDefault();i.select(A.value),i.mode.value===0&&(i.closeListbox(),Te(()=>{var y;return(y=cA(i.buttonRef))==null?void 0:y.focus({preventScroll:!0})}))}function g(){if(A.disabled)return i.goToOption(le.Nothing);i.goToOption(le.Specific,s)}let h=dv();function U(F){h.update(F)}function w(F){h.wasMoved(F)&&(A.disabled||a.value||i.goToOption(le.Specific,s,0))}function C(F){h.wasMoved(F)&&(A.disabled||a.value&&i.goToOption(le.Nothing))}return()=>{let{disabled:F}=A,y={active:a.value,selected:c.value,disabled:F},{value:E,disabled:Q,...L}=A,v={id:s,ref:o,role:"option",tabIndex:F===!0?void 0:-1,"aria-disabled":F===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:B,onFocus:g,onPointerenter:U,onMouseenter:U,onPointermove:w,onMousemove:w,onPointerleave:C,onMouseleave:C};return he({ourProps:v,theirProps:L,slot:y,attrs:t,slots:e,name:"ListboxOption"})}}});function sm(A){let e={called:!1};return(...t)=>{if(!e.called)return e.called=!0,A(...t)}}function zi(A,...e){A&&e.length>0&&A.classList.add(...e)}function ts(A,...e){A&&e.length>0&&A.classList.remove(...e)}var Wo=(A=>(A.Finished="finished",A.Cancelled="cancelled",A))(Wo||{});function im(A,e){let t=Cn();if(!A)return t.dispose;let{transitionDuration:r,transitionDelay:n}=getComputedStyle(A),[s,i]=[r,n].map(o=>{let[a=0]=o.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,l)=>l-c);return a});return s!==0?t.setTimeout(()=>e("finished"),s+i):e("finished"),t.add(()=>e("cancelled")),t.dispose}function Au(A,e,t,r,n,s){let i=Cn(),o=s!==void 0?sm(s):()=>{};return ts(A,...n),zi(A,...e,...t),i.nextFrame(()=>{ts(A,...t),zi(A,...r),i.add(im(A,a=>(ts(A,...r,...e),zi(A,...n),o(a))))}),i.add(()=>ts(A,...e,...t,...r,...n)),i.add(()=>o("cancelled")),i.dispose}function Kt(A=""){return A.split(/\s+/).filter(e=>e.length>1)}let Ta=Symbol("TransitionContext");var om=(A=>(A.Visible="visible",A.Hidden="hidden",A))(om||{});function am(){return KA(Ta,null)!==null}function lm(){let A=KA(Ta,null);if(A===null)throw new Error("A is used but it is missing a parent .");return A}function cm(){let A=KA(Ka,null);if(A===null)throw new Error("A is used but it is missing a parent .");return A}let Ka=Symbol("NestingContext");function di(A){return"children"in A?di(A.children):A.value.filter(({state:e})=>e==="visible").length>0}function sg(A){let e=q([]),t=q(!1);GA(()=>t.value=!0),Ue(()=>t.value=!1);function r(s,i=Ft.Hidden){let o=e.value.findIndex(({id:a})=>a===s);o!==-1&&(ZA(i,{[Ft.Unmount](){e.value.splice(o,1)},[Ft.Hidden](){e.value[o].state="hidden"}}),!di(e)&&t.value&&(A==null||A()))}function n(s){let i=e.value.find(({id:o})=>o===s);return i?i.state!=="visible"&&(i.state="visible"):e.value.push({id:s,state:"visible"}),()=>r(s,Ft.Unmount)}return{children:e,register:n,unregister:r}}let ig=Cr.RenderStrategy,Yo=_A({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(A,{emit:e,attrs:t,slots:r,expose:n}){let s=q(0);function i(){s.value|=qA.Opening,e("beforeEnter")}function o(){s.value&=~qA.Opening,e("afterEnter")}function a(){s.value|=qA.Closing,e("beforeLeave")}function c(){s.value&=~qA.Closing,e("afterLeave")}if(!am()&&wv())return()=>NA(og,{...A,onBeforeEnter:i,onAfterEnter:o,onBeforeLeave:a,onAfterLeave:c},r);let l=q(null),u=J(()=>A.unmount?Ft.Unmount:Ft.Hidden);n({el:l,$el:l});let{show:f,appear:B}=lm(),{register:g,unregister:h}=cm(),U=q(f.value?"visible":"hidden"),w={value:!0},C=Zt(),F={value:!1},y=sg(()=>{!F.value&&U.value!=="hidden"&&(U.value="hidden",h(C),c())});GA(()=>{let P=g(C);Ue(P)}),Fe(()=>{if(u.value===Ft.Hidden&&C){if(f.value&&U.value!=="visible"){U.value="visible";return}ZA(U.value,{hidden:()=>h(C),visible:()=>g(C)})}});let E=Kt(A.enter),Q=Kt(A.enterFrom),L=Kt(A.enterTo),v=Kt(A.entered),b=Kt(A.leave),O=Kt(A.leaveFrom),j=Kt(A.leaveTo);GA(()=>{Fe(()=>{if(U.value==="visible"){let P=cA(l);if(P instanceof Comment&&P.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function T(P){let aA=w.value&&!B.value,gA=cA(l);!gA||!(gA instanceof HTMLElement)||aA||(F.value=!0,f.value&&i(),f.value||a(),P(f.value?Au(gA,E,Q,L,v,W=>{F.value=!1,W===Wo.Finished&&o()}):Au(gA,b,O,j,v,W=>{F.value=!1,W===Wo.Finished&&(di(y)||(U.value="hidden",h(C),c()))})))}return GA(()=>{ie([f],(P,aA,gA)=>{T(gA),w.value=!1},{immediate:!0})}),ue(Ka,y),JB(J(()=>ZA(U.value,{visible:qA.Open,hidden:qA.Closed})|s.value)),()=>{let{appear:P,show:aA,enter:gA,enterFrom:W,enterTo:tA,entered:lA,leave:TA,leaveFrom:MA,leaveTo:nA,...sA}=A,QA={ref:l},yA={...sA,...B.value&&f.value&&Qn.isServer?{class:je([t.class,sA.class,...E,...Q])}:{}};return he({theirProps:yA,ourProps:QA,slot:{},slots:r,attrs:t,features:ig,visible:U.value==="visible",name:"TransitionChild"})}}}),um=Yo,og=_A({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(A,{emit:e,attrs:t,slots:r}){let n=Bi(),s=J(()=>A.show===null&&n!==null?(n.value&qA.Open)===qA.Open:A.show);Fe(()=>{if(![!0,!1].includes(s.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let i=q(s.value?"visible":"hidden"),o=sg(()=>{i.value="hidden"}),a=q(!0),c={show:s,appear:J(()=>A.appear||!a.value)};return GA(()=>{Fe(()=>{a.value=!1,s.value?i.value="visible":di(o)||(i.value="hidden")})}),ue(Ka,o),ue(Ta,c),()=>{let l=xa(A,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),u={unmount:A.unmount};return he({ourProps:{...u,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[NA(um,{onBeforeEnter:()=>e("beforeEnter"),onAfterEnter:()=>e("afterEnter"),onBeforeLeave:()=>e("beforeLeave"),onAfterLeave:()=>e("afterLeave"),...t,...u,...l},r.default)]},attrs:{},features:ig,visible:i.value==="visible",name:"Transition"})}}});function fm(A,e){return ce(),hr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[uA("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})])}function Bm(A,e){return ce(),hr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[uA("path",{"fill-rule":"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z","clip-rule":"evenodd"})])}const gm={class:"block truncate"},dm={class:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},hm={key:0,class:"absolute inset-y-0 left-0 flex items-center pl-3 text-amber-500"},jo=_A({__name:"HeadlessSelect",props:{className:{default:""},sourceArr:{},defaultId:{}},emits:["selected"],setup(A,{emit:e}){const t=A,r=t.sourceArr.findIndex(i=>i.id===t.defaultId),n=q(t.sourceArr[r]),s=e;return ie(n,(i,o)=>{s("selected",i)}),(i,o)=>(ce(),hr(bA(em),{modelValue:n.value,"onUpdate:modelValue":o[0]||(o[0]=a=>n.value=a)},{default:ge(()=>[$("div",{class:je(["relative",t.className])},[uA(bA(tm),{class:"relative w-full h-10 pl-3 pr-10 text-left bg-white border border-solid rounded-lg cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-900 focus:outline-none focus-visible:border-indigo-500 focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-orange-300 sm:text-sm"},{default:ge(()=>[$("span",gm,ds(n.value.name),1),$("span",dm,[uA(bA(Bm),{class:"w-5 h-5 text-gray-400","aria-hidden":"true"})])]),_:1}),uA(pa,{"leave-active-class":"transition duration-100 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:ge(()=>[uA(bA(rm),{style:{"z-index":"100"},class:"absolute w-full py-1 mt-1 overflow-auto text-base bg-white rounded-md shadow-lg max-h-60 ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:ge(()=>[(ce(!0),At(re,null,Hd(i.sourceArr,a=>(ce(),hr(bA(nm),{key:`${a.id}`,value:a,as:"template"},{default:ge(({active:c,selected:l})=>[$("li",{class:je([c?"bg-amber-100 text-amber-900":"text-gray-900","relative cursor-pointer select-none py-2 pl-10 pr-4"])},[$("span",{class:je([l?"font-medium":"font-normal","block truncate"])},ds(a.name),3),l?(ce(),At("span",hm,[uA(bA(fm),{class:"w-5 h-5","aria-hidden":"true"})])):lf("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})],2)]),_:1},8,["modelValue"]))}}),pm="/assets/zero-CC4bBb9q.gif",wm={class:"z-0 my-4 text-center text-gray-400"},Qm={class:"flex flex-row flex-wrap items-center justify-center mt-2 mb-2 text-sm friends"},Cm=["href"],Fm=["href"],Um=["href"],vm=["href"],mm=["href"],Em={class:"flex flex-row flex-wrap items-center justify-center w-full text-sm"},ym={class:"mx-3 text-gray-400"},bm=["href"],Hm=$("br",{class:"show-on-mobile"},null,-1),Im=["href"],xm=$("img",{class:"zero",src:pm,alt:"深圳市市场监督管理局企业主体身份公示"},null,-1),Lm=_A({__name:"FooterNav",setup(A){const e=q(`Copyright © ${new Date().getFullYear()}`),t=r=>`${r}?ref=nicelinks.site`;return(r,n)=>(ce(),At("footer",wm,[$("div",Qm,[$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://niceshare.site/"),onClick:n[0]||(n[0]=s=>r.$reortGaEvent("niceshare-site","footer"))},"逍遥自在轩",8,Cm),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://www.jeffjade.com/"),onClick:n[1]||(n[1]=s=>r.$reortGaEvent("www-jeffjade-com","footer"))},"晚晴幽草轩",8,Fm),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://quickapp.lovejade.cn/"),onClick:n[2]||(n[2]=s=>r.$reortGaEvent("quickapp-lovejade","footer"))},"静轩之别苑",8,Um),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://fine.niceshare.site/"),onClick:n[3]||(n[3]=s=>r.$reortGaEvent("fine-niceshare-site","footer"))},"缘知随心庭",8,vm),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://forum.lovejade.cn/"),onClick:n[4]||(n[4]=s=>r.$reortGaEvent("forum-lovejade","footer"))},"悠然宜想亭",8,mm)]),$("div",Em,[$("span",ym,ds(e.value),1),$("a",{target:"_blank",class:"text-gray-400 cursor-pointer hover:text-amber-500",onClick:n[5]||(n[5]=s=>r.$reortGaEvent("jeffjade","footer")),rel:"external noopener",href:t("https://www.jeffjade.com")},"晚晴幽草轩",8,bm),Zs("出品"),Hm,$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",rel:"external noopener",onClick:n[6]||(n[6]=s=>r.$reortGaEvent("beian","footer")),href:t("https://beian.miit.gov.cn/")},"粤ICP备17099767号",8,Im),xm])]))}}),Sm={},Tm={class:"mx-auto w-full h-32 my-4 max-w-[450px] border border-gray-200 flex flex-row items-center bg-white rounded-md shadow-md z-0"},Km=Ah('

逍遥自在轩

基于 Astro, Starlight, Svelte, Markdown, MDX,TailwindCSS, TypeScript 所构建的个人主页,快速、易用、易于访问、高度可定制。

',2),_m=[Km];function Dm(A,e){return ce(),At("div",Tm,[$("a",{class:"flex flex-row items-center justify-between w-full h-full px-4 py-4",href:"https://niceshare.site/?ref=share.lovejade.cn",onClick:e[0]||(e[0]=t=>A.$reortGaEvent("recommand","footer")),target:"_blank"},_m)])}const Om=ti(Sm,[["render",Dm]]),Rm=$("div",{class:"fixed inset-0 bg-black bg-opacity-25"},null,-1),km={class:"fixed inset-0 overflow-y-auto"},Mm={class:"flex items-center justify-center min-h-full p-4 text-center"},Nm={class:"flex items-center justify-start flex-auto px-2 py-2 m-4 rounded-md shadow-inner bg-slate-50"},Pm={class:"flex flex-col flex-wrap items-center justify-center h-20 mx-2"},Gm=$("p",{class:"pb-2 font-medium text-gray-400"},"FILTERS",-1),Vm=$("canvas",{id:"preview-area",class:"m-auto my-2"},null,-1),Xm=_A({__name:"PreviewDialog",props:{visble:Boolean},emits:["change"],setup(A,{emit:e}){const t=A;let r=null;const n=e,s=q(t.visble),i=[{name:"Golden",id:"golden"},{name:"Seagreen",id:"seagreen"},{name:"Islands",id:"islands"},{name:"Twenties",id:"twenties"},{name:"Radio",id:"radio"},{name:"Bluechrome",id:"bluechrome"},{name:"Obsidian",id:"obsidian"},{name:"Vintage",id:"vintage"},{name:"Pastel Pink",id:"pastel pink"}];ie(()=>t.visble,B=>{s.value=B,B&&Lf(()=>import("./photon_rs-C04jA1Ux.js"),__vite__mapDeps([])).then(g=>{r=g,c(i[0].id)})});function o(){s.value=!1,n("change",!1)}function a(){return new Promise((B,g)=>{const h=document.getElementById("container");Go(h).then(U=>{const w=U.toDataURL("image/png"),C=new Image;C.src=w,C.onload=()=>{B(C)}})})}const c=async B=>{const g=await a(),h={width:g.width,height:g.height},{canvas:U,ctx:w,image:C}=l(g,h);r.filter(C,B),r.putImageData(U,w,C)};function l(B,g){const h=document.getElementById("preview-area"),U=h.getContext("2d");h.width=g.width/2,h.height=g.height/2,U.drawImage(B,0,0,g.width/2,g.height/2);const w=r.open_image(h,U);return{canvas:h,ctx:U,image:w}}function u(B){c(B.id)}const f=async B=>{const g=await a(),h={width:g.width,height:g.height},{canvas:U,ctx:w,image:C}=l(g,h);r[B](C),r.putImageData(U,w,C)};return(B,g)=>(ce(),hr(bA(og),{appear:"",show:s.value,as:"template"},{default:ge(()=>[uA(bA(Xv),{as:"div",onClose:o,class:"relative z-10"},{default:ge(()=>[uA(bA(Yo),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0","enter-to":"opacity-100",leave:"duration-200 ease-in","leave-from":"opacity-100","leave-to":"opacity-0"},{default:ge(()=>[Rm]),_:1}),$("div",km,[$("div",Mm,[uA(bA(Yo),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:ge(()=>[uA(bA($v),{class:"w-full max-w-4xl p-6 overflow-hidden text-left align-middle transition-all transform bg-white shadow-xl rounded-2xl"},{default:ge(()=>[uA(bA(Jv),{as:"h3",class:"text-lg font-medium leading-6 text-gray-900"},{default:ge(()=>[Zs(" 效果预览 ")]),_:1}),$("div",Nm,[$("div",Pm,[Gm,uA(jo,{className:"w-36",sourceArr:i,defaultId:i[0].id,onSelected:u},null,8,["defaultId"])]),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[0]||(g[0]=h=>f("emboss"))}," EMBOSS "),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[1]||(g[1]=h=>f("grayscale"))}," GRAYSCALE "),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[2]||(g[2]=h=>f("colorize"))}," COLORIZE ")]),Vm]),_:1})]),_:1})])])]),_:1})]),_:1},8,["show"]))}}),eu="current-content",tu="is-with-date",ru="current-theme",nu="current-size",Zo=[{name:"元气",id:"vitality"},{name:"便签",id:"note"},{name:"古风",id:"antiquity"},{name:"经典",id:"classic"},{name:"暗黑",id:"dark"},{name:"纸屑",id:"bbburst"},{name:"渐变",id:"gradient"},{name:"公务",id:"official"},{name:"芒黄",id:"yellow"}],su=[{name:"电脑端",id:"laptop",style:"width: 50rem; padding: 3rem;"},{name:"移动端",id:"mobile",style:"width: 20rem; padding: 1rem;"},{name:"平板端",id:"tablet",style:"width: 37.5rem; padding: 2rem;"},{name:"超级屏",id:"desktop",style:"width: 60rem; padding: 3rem;"}],$m=`[玉桃文飨轩](https://share.lovejade.cn/),简单好用的在线文本工具;支持将 Markdown、rich text、word 等格式内容,快速转化为 png、pdf、html、PPT 等文件,并支持一键下载、社交分享、自定义设置等功能。 +`));let B=XB((i=u.props)!=null?i:{},a,l),g=et(u,B,!0);for(let h in B)h.startsWith("on")&&(g.props||(g.props={}),g.props[h]=B[h]);return g}return Array.isArray(c)&&c.length===1?c[0]:c}return NA(o,Object.assign({},a,l),{default:()=>c})}function VB(A){return A.flatMap(e=>e.type===re?VB(e.children):[e])}function XB(...A){if(A.length===0)return{};if(A.length===1)return A[0];let e={},t={};for(let r of A)for(let n in r)n.startsWith("on")&&typeof r[n]=="function"?(t[n]!=null||(t[n]=[]),t[n].push(r[n])):e[n]=r[n];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(t).map(r=>[r,void 0])));for(let r in t)Object.assign(e,{[r](n,...s){let i=t[r];for(let o of i){if(n instanceof Event&&n.defaultPrevented)return;o(n,...s)}}});return e}function hv(A){let e=Object.assign({},A);for(let t in e)e[t]===void 0&&delete e[t];return e}function xa(A,e=[]){let t=Object.assign({},A);for(let r of e)r in t&&delete t[r];return t}function pv(A){return A==null?!1:typeof A.type=="string"||typeof A.type=="object"||typeof A.type=="function"}var gn=(A=>(A[A.None=1]="None",A[A.Focusable=2]="Focusable",A[A.Hidden=4]="Hidden",A))(gn||{});let _s=_A({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(A,{slots:e,attrs:t}){return()=>{var r;let{features:n,...s}=A,i={"aria-hidden":(n&2)===2?!0:(r=s["aria-hidden"])!=null?r:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return he({ourProps:i,theirProps:s,slot:{},attrs:t,slots:e,name:"Hidden"})}}}),$B=Symbol("Context");var qA=(A=>(A[A.Open=1]="Open",A[A.Closed=2]="Closed",A[A.Closing=4]="Closing",A[A.Opening=8]="Opening",A))(qA||{});function wv(){return Bi()!==null}function Bi(){return KA($B,null)}function JB(A){ue($B,A)}var VA=(A=>(A.Space=" ",A.Enter="Enter",A.Escape="Escape",A.Backspace="Backspace",A.Delete="Delete",A.ArrowLeft="ArrowLeft",A.ArrowUp="ArrowUp",A.ArrowRight="ArrowRight",A.ArrowDown="ArrowDown",A.Home="Home",A.End="End",A.PageUp="PageUp",A.PageDown="PageDown",A.Tab="Tab",A))(VA||{});function Qv(A){function e(){document.readyState!=="loading"&&(A(),document.removeEventListener("DOMContentLoaded",e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",e),e())}let Rt=[];Qv(()=>{function A(e){e.target instanceof HTMLElement&&e.target!==document.body&&Rt[0]!==e.target&&(Rt.unshift(e.target),Rt=Rt.filter(t=>t!=null&&t.isConnected),Rt.splice(10))}window.addEventListener("click",A,{capture:!0}),window.addEventListener("mousedown",A,{capture:!0}),window.addEventListener("focus",A,{capture:!0}),document.body.addEventListener("click",A,{capture:!0}),document.body.addEventListener("mousedown",A,{capture:!0}),document.body.addEventListener("focus",A,{capture:!0})});function Cv(A){throw new Error("Unexpected object: "+A)}var le=(A=>(A[A.First=0]="First",A[A.Previous=1]="Previous",A[A.Next=2]="Next",A[A.Last=3]="Last",A[A.Specific=4]="Specific",A[A.Nothing=5]="Nothing",A))(le||{});function Fv(A,e){let t=e.resolveItems();if(t.length<=0)return null;let r=e.resolveActiveIndex(),n=r??-1;switch(A.focus){case 0:{for(let s=0;s=0;--s)if(!e.resolveDisabled(t[s],s,t))return s;return r}case 2:{for(let s=n+1;s=0;--s)if(!e.resolveDisabled(t[s],s,t))return s;return r}case 4:{for(let s=0;ssetTimeout(()=>{throw e}))}function Cn(){let A=[],e={addEventListener(t,r,n,s){return t.addEventListener(r,n,s),e.add(()=>t.removeEventListener(r,n,s))},requestAnimationFrame(...t){let r=requestAnimationFrame(...t);e.add(()=>cancelAnimationFrame(r))},nextFrame(...t){e.requestAnimationFrame(()=>{e.requestAnimationFrame(...t)})},setTimeout(...t){let r=setTimeout(...t);e.add(()=>clearTimeout(r))},microTask(...t){let r={current:!0};return La(()=>{r.current&&t[0]()}),e.add(()=>{r.current=!1})},style(t,r,n){let s=t.style.getPropertyValue(r);return Object.assign(t.style,{[r]:n}),this.add(()=>{Object.assign(t.style,{[r]:s})})},group(t){let r=Cn();return t(r),this.add(()=>r.dispose())},add(t){return A.push(t),()=>{let r=A.indexOf(t);if(r>=0)for(let n of A.splice(r,1))n()}},dispose(){for(let t of A.splice(0))t()}};return e}function WB(A={},e=null,t=[]){for(let[r,n]of Object.entries(A))jB(t,YB(e,r),n);return t}function YB(A,e){return A?A+"["+e+"]":e}function jB(A,e,t){if(Array.isArray(t))for(let[r,n]of t.entries())jB(A,YB(e,r.toString()),n);else t instanceof Date?A.push([e,t.toISOString()]):typeof t=="boolean"?A.push([e,t?"1":"0"]):typeof t=="string"?A.push([e,t]):typeof t=="number"?A.push([e,`${t}`]):t==null?A.push([e,""]):WB(t,e,A)}function ZB(A,e,t,r){Qn.isServer||Fe(n=>{A=A??window,A.addEventListener(e,t,r),n(()=>A.removeEventListener(e,t,r))})}var Vr=(A=>(A[A.Forwards=0]="Forwards",A[A.Backwards=1]="Backwards",A))(Vr||{});function Uv(){let A=q(0);return PB("keydown",e=>{e.key==="Tab"&&(A.value=e.shiftKey?1:0)}),A}function zB(A){if(!A)return new Set;if(typeof A=="function")return new Set(A());let e=new Set;for(let t of A.value){let r=cA(t);r instanceof HTMLElement&&e.add(r)}return e}var qB=(A=>(A[A.None=1]="None",A[A.InitialFocus=2]="InitialFocus",A[A.TabLock=4]="TabLock",A[A.FocusLock=8]="FocusLock",A[A.RestoreFocus=16]="RestoreFocus",A[A.All=30]="All",A))(qB||{});let Kr=Object.assign(_A({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:q(new Set)}},inheritAttrs:!1,setup(A,{attrs:e,slots:t,expose:r}){let n=q(null);r({el:n,$el:n});let s=J(()=>mr(n)),i=q(!1);GA(()=>i.value=!0),Ue(()=>i.value=!1),mv({ownerDocument:s},J(()=>i.value&&!!(A.features&16)));let o=Ev({ownerDocument:s,container:n,initialFocus:J(()=>A.initialFocus)},J(()=>i.value&&!!(A.features&2)));yv({ownerDocument:s,container:n,containers:A.containers,previousActiveElement:o},J(()=>i.value&&!!(A.features&8)));let a=Uv();function c(B){let g=cA(n);g&&(h=>h())(()=>{ZA(a.value,{[Vr.Forwards]:()=>{Bs(g,pt.First,{skipElements:[B.relatedTarget]})},[Vr.Backwards]:()=>{Bs(g,pt.Last,{skipElements:[B.relatedTarget]})}})})}let l=q(!1);function u(B){B.key==="Tab"&&(l.value=!0,requestAnimationFrame(()=>{l.value=!1}))}function f(B){if(!i.value)return;let g=zB(A.containers);cA(n)instanceof HTMLElement&&g.add(cA(n));let h=B.relatedTarget;h instanceof HTMLElement&&h.dataset.headlessuiFocusGuard!=="true"&&(Ag(g,h)||(l.value?Bs(cA(n),ZA(a.value,{[Vr.Forwards]:()=>pt.Next,[Vr.Backwards]:()=>pt.Previous})|pt.WrapAround,{relativeTo:B.target}):B.target instanceof HTMLElement&&$t(B.target)))}return()=>{let B={},g={ref:n,onKeydown:u,onFocusout:f},{features:h,initialFocus:U,containers:w,...C}=A;return NA(re,[!!(h&4)&&NA(_s,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:gn.Focusable}),he({ourProps:g,theirProps:{...e,...C},slot:B,attrs:e,slots:t,name:"FocusTrap"}),!!(h&4)&&NA(_s,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:gn.Focusable})])}}}),{features:qB});function vv(A){let e=q(Rt.slice());return ie([A],([t],[r])=>{r===!0&&t===!1?La(()=>{e.value.splice(0)}):r===!1&&t===!0&&(e.value=Rt.slice())},{flush:"post"}),()=>{var t;return(t=e.value.find(r=>r!=null&&r.isConnected))!=null?t:null}}function mv({ownerDocument:A},e){let t=vv(e);GA(()=>{Fe(()=>{var r,n;e.value||((r=A.value)==null?void 0:r.activeElement)===((n=A.value)==null?void 0:n.body)&&$t(t())},{flush:"post"})}),Ue(()=>{e.value&&$t(t())})}function Ev({ownerDocument:A,container:e,initialFocus:t},r){let n=q(null),s=q(!1);return GA(()=>s.value=!0),Ue(()=>s.value=!1),GA(()=>{ie([e,t,r],(i,o)=>{if(i.every((c,l)=>(o==null?void 0:o[l])===c)||!r.value)return;let a=cA(e);a&&La(()=>{var c,l;if(!s.value)return;let u=cA(t),f=(c=A.value)==null?void 0:c.activeElement;if(u){if(u===f){n.value=f;return}}else if(a.contains(f)){n.value=f;return}u?$t(u):Bs(a,pt.First|pt.NoScroll)===RB.Error&&console.warn("There are no focusable elements inside the "),n.value=(l=A.value)==null?void 0:l.activeElement})},{immediate:!0,flush:"post"})}),n}function yv({ownerDocument:A,container:e,containers:t,previousActiveElement:r},n){var s;ZB((s=A.value)==null?void 0:s.defaultView,"focus",i=>{if(!n.value)return;let o=zB(t);cA(e)instanceof HTMLElement&&o.add(cA(e));let a=r.value;if(!a)return;let c=i.target;c&&c instanceof HTMLElement?Ag(o,c)?(r.value=c,$t(c)):(i.preventDefault(),i.stopPropagation(),$t(a)):$t(r.value)},!0)}function Ag(A,e){for(let t of A)if(t.contains(e))return!0;return!1}function bv(A){let e=Su(A.getSnapshot());return Ue(A.subscribe(()=>{e.value=A.getSnapshot()})),e}function Hv(A,e){let t=A(),r=new Set;return{getSnapshot(){return t},subscribe(n){return r.add(n),()=>r.delete(n)},dispatch(n,...s){let i=e[n].call(t,...s);i&&(t=i,r.forEach(o=>o()))}}}function Iv(){let A;return{before({doc:e}){var t;let r=e.documentElement;A=((t=e.defaultView)!=null?t:window).innerWidth-r.clientWidth},after({doc:e,d:t}){let r=e.documentElement,n=r.clientWidth-r.offsetWidth,s=A-n;t.style(r,"paddingRight",`${s}px`)}}}function xv(){return NB()?{before({doc:A,d:e,meta:t}){function r(n){return t.containers.flatMap(s=>s()).some(s=>s.contains(n))}e.microTask(()=>{var n;if(window.getComputedStyle(A.documentElement).scrollBehavior!=="auto"){let o=Cn();o.style(A.documentElement,"scrollBehavior","auto"),e.add(()=>e.microTask(()=>o.dispose()))}let s=(n=window.scrollY)!=null?n:window.pageYOffset,i=null;e.addEventListener(A,"click",o=>{if(o.target instanceof HTMLElement)try{let a=o.target.closest("a");if(!a)return;let{hash:c}=new URL(a.href),l=A.querySelector(c);l&&!r(l)&&(i=l)}catch{}},!0),e.addEventListener(A,"touchstart",o=>{if(o.target instanceof HTMLElement)if(r(o.target)){let a=o.target;for(;a.parentElement&&r(a.parentElement);)a=a.parentElement;e.style(a,"overscrollBehavior","contain")}else e.style(o.target,"touchAction","none")}),e.addEventListener(A,"touchmove",o=>{if(o.target instanceof HTMLElement)if(r(o.target)){let a=o.target;for(;a.parentElement&&a.dataset.headlessuiPortal!==""&&!(a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth);)a=a.parentElement;a.dataset.headlessuiPortal===""&&o.preventDefault()}else o.preventDefault()},{passive:!1}),e.add(()=>{var o;let a=(o=window.scrollY)!=null?o:window.pageYOffset;s!==a&&window.scrollTo(0,s),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{}}function Lv(){return{before({doc:A,d:e}){e.style(A.documentElement,"overflow","hidden")}}}function Sv(A){let e={};for(let t of A)Object.assign(e,t(e));return e}let Nt=Hv(()=>new Map,{PUSH(A,e){var t;let r=(t=this.get(A))!=null?t:{doc:A,count:0,d:Cn(),meta:new Set};return r.count++,r.meta.add(e),this.set(A,r),this},POP(A,e){let t=this.get(A);return t&&(t.count--,t.meta.delete(e)),this},SCROLL_PREVENT({doc:A,d:e,meta:t}){let r={doc:A,d:e,meta:Sv(t)},n=[xv(),Iv(),Lv()];n.forEach(({before:s})=>s==null?void 0:s(r)),n.forEach(({after:s})=>s==null?void 0:s(r))},SCROLL_ALLOW({d:A}){A.dispose()},TEARDOWN({doc:A}){this.delete(A)}});Nt.subscribe(()=>{let A=Nt.getSnapshot(),e=new Map;for(let[t]of A)e.set(t,t.documentElement.style.overflow);for(let t of A.values()){let r=e.get(t.doc)==="hidden",n=t.count!==0;(n&&!r||!n&&r)&&Nt.dispatch(t.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",t),t.count===0&&Nt.dispatch("TEARDOWN",t)}});function Tv(A,e,t){let r=bv(Nt),n=J(()=>{let s=A.value?r.value.get(A.value):void 0;return s?s.count>0:!1});return ie([A,e],([s,i],[o],a)=>{if(!s||!i)return;Nt.dispatch("PUSH",s,t);let c=!1;a(()=>{c||(Nt.dispatch("POP",o??s,t),c=!0)})},{immediate:!0}),n}let Zi=new Map,_r=new Map;function jc(A,e=q(!0)){Fe(t=>{var r;if(!e.value)return;let n=cA(A);if(!n)return;t(function(){var i;if(!n)return;let o=(i=_r.get(n))!=null?i:1;if(o===1?_r.delete(n):_r.set(n,o-1),o!==1)return;let a=Zi.get(n);a&&(a["aria-hidden"]===null?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",a["aria-hidden"]),n.inert=a.inert,Zi.delete(n))});let s=(r=_r.get(n))!=null?r:0;_r.set(n,s+1),s===0&&(Zi.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0)})}function Kv({defaultContainers:A=[],portals:e,mainTreeNodeRef:t}={}){let r=q(null),n=mr(r);function s(){var i,o,a;let c=[];for(let l of A)l!==null&&(l instanceof HTMLElement?c.push(l):"value"in l&&l.value instanceof HTMLElement&&c.push(l.value));if(e!=null&&e.value)for(let l of e.value)c.push(l);for(let l of(i=n==null?void 0:n.querySelectorAll("html > *, body > *"))!=null?i:[])l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l.id!=="headlessui-portal-root"&&(l.contains(cA(r))||l.contains((a=(o=cA(r))==null?void 0:o.getRootNode())==null?void 0:a.host)||c.some(u=>l.contains(u))||c.push(l));return c}return{resolveContainers:s,contains(i){return s().some(o=>o.contains(i))},mainTreeNodeRef:r,MainTreeNode(){return t!=null?null:NA(_s,{features:gn.Hidden,ref:r})}}}let eg=Symbol("ForcePortalRootContext");function _v(){return KA(eg,!1)}let Zc=_A({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(A,{slots:e,attrs:t}){return ue(eg,A.force),()=>{let{force:r,...n}=A;return he({theirProps:n,ourProps:{},slot:{},slots:e,attrs:t,name:"ForcePortalRoot"})}}}),tg=Symbol("StackContext");var Xo=(A=>(A[A.Add=0]="Add",A[A.Remove=1]="Remove",A))(Xo||{});function Dv(){return KA(tg,()=>{})}function Ov({type:A,enabled:e,element:t,onUpdate:r}){let n=Dv();function s(...i){r==null||r(...i),n(...i)}GA(()=>{ie(e,(i,o)=>{i?s(0,A,t):o===!0&&s(1,A,t)},{immediate:!0,flush:"sync"})}),Ue(()=>{e.value&&s(1,A,t)}),ue(tg,s)}let Rv=Symbol("DescriptionContext");function kv({slot:A=q({}),name:e="Description",props:t={}}={}){let r=q([]);function n(s){return r.value.push(s),()=>{let i=r.value.indexOf(s);i!==-1&&r.value.splice(i,1)}}return ue(Rv,{register:n,slot:A,name:e,props:t}),J(()=>r.value.length>0?r.value.join(" "):void 0)}function Mv(A){let e=mr(A);if(!e){if(A===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${A}`)}let t=e.getElementById("headlessui-portal-root");if(t)return t;let r=e.createElement("div");return r.setAttribute("id","headlessui-portal-root"),e.body.appendChild(r)}let Nv=_A({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(A,{slots:e,attrs:t}){let r=q(null),n=J(()=>mr(r)),s=_v(),i=KA(rg,null),o=q(s===!0||i==null?Mv(r.value):i.resolveTarget()),a=q(!1);GA(()=>{a.value=!0}),Fe(()=>{s||i!=null&&(o.value=i.resolveTarget())});let c=KA($o,null),l=!1,u=ha();return ie(r,()=>{if(l||!c)return;let f=cA(r);f&&(Ue(c.register(f),u),l=!0)}),Ue(()=>{var f,B;let g=(f=n.value)==null?void 0:f.getElementById("headlessui-portal-root");g&&o.value===g&&o.value.children.length<=0&&((B=o.value.parentElement)==null||B.removeChild(o.value))}),()=>{if(!a.value||o.value===null)return null;let f={ref:r,"data-headlessui-portal":""};return NA(jd,{to:o.value},he({ourProps:f,theirProps:A,slot:{},attrs:t,slots:e,name:"Portal"}))}}}),$o=Symbol("PortalParentContext");function Pv(){let A=KA($o,null),e=q([]);function t(s){return e.value.push(s),A&&A.register(s),()=>r(s)}function r(s){let i=e.value.indexOf(s);i!==-1&&e.value.splice(i,1),A&&A.unregister(s)}let n={register:t,unregister:r,portals:e};return[e,_A({name:"PortalWrapper",setup(s,{slots:i}){return ue($o,n),()=>{var o;return(o=i.default)==null?void 0:o.call(i)}}})]}let rg=Symbol("PortalGroupContext"),Gv=_A({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(A,{attrs:e,slots:t}){let r=Ur({resolveTarget(){return A.target}});return ue(rg,r),()=>{let{target:n,...s}=A;return he({theirProps:s,ourProps:{},slot:{},attrs:e,slots:t,name:"PortalGroup"})}}});var Vv=(A=>(A[A.Open=0]="Open",A[A.Closed=1]="Closed",A))(Vv||{});let Jo=Symbol("DialogContext");function Sa(A){let e=KA(Jo,null);if(e===null){let t=new Error(`<${A} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Sa),t}return e}let es="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Xv=_A({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:es},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:A=>!0},setup(A,{emit:e,attrs:t,slots:r,expose:n}){var s,i;let o=(s=A.id)!=null?s:`headlessui-dialog-${Zt()}`,a=q(!1);GA(()=>{a.value=!0});let c=!1,l=J(()=>A.role==="dialog"||A.role==="alertdialog"?A.role:(c||(c=!0,console.warn(`Invalid role [${l}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),u=q(0),f=Bi(),B=J(()=>A.open===es&&f!==null?(f.value&qA.Open)===qA.Open:A.open),g=q(null),h=J(()=>mr(g));if(n({el:g,$el:g}),!(A.open!==es||f!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof B.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${B.value===es?void 0:A.open}`);let U=J(()=>a.value&&B.value?0:1),w=J(()=>U.value===0),C=J(()=>u.value>1),F=KA(Jo,null)!==null,[y,E]=Pv(),{resolveContainers:Q,mainTreeNodeRef:L,MainTreeNode:v}=Kv({portals:y,defaultContainers:[J(()=>{var nA;return(nA=tA.panelRef.value)!=null?nA:g.value})]}),b=J(()=>C.value?"parent":"leaf"),O=J(()=>f!==null?(f.value&qA.Closing)===qA.Closing:!1),j=J(()=>F||O.value?!1:w.value),T=J(()=>{var nA,sA,QA;return(QA=Array.from((sA=(nA=h.value)==null?void 0:nA.querySelectorAll("body > *"))!=null?sA:[]).find(yA=>yA.id==="headlessui-portal-root"?!1:yA.contains(cA(L))&&yA instanceof HTMLElement))!=null?QA:null});jc(T,j);let P=J(()=>C.value?!0:w.value),aA=J(()=>{var nA,sA,QA;return(QA=Array.from((sA=(nA=h.value)==null?void 0:nA.querySelectorAll("[data-headlessui-portal]"))!=null?sA:[]).find(yA=>yA.contains(cA(L))&&yA instanceof HTMLElement))!=null?QA:null});jc(aA,P),Ov({type:"Dialog",enabled:J(()=>U.value===0),element:g,onUpdate:(nA,sA)=>{if(sA==="Dialog")return ZA(nA,{[Xo.Add]:()=>u.value+=1,[Xo.Remove]:()=>u.value-=1})}});let gA=kv({name:"DialogDescription",slot:J(()=>({open:B.value}))}),W=q(null),tA={titleId:W,panelRef:q(null),dialogState:U,setTitleId(nA){W.value!==nA&&(W.value=nA)},close(){e("close",!1)}};ue(Jo,tA);let lA=J(()=>!(!w.value||C.value));GB(Q,(nA,sA)=>{tA.close(),Te(()=>sA==null?void 0:sA.focus())},lA);let TA=J(()=>!(C.value||U.value!==0));ZB((i=h.value)==null?void 0:i.defaultView,"keydown",nA=>{TA.value&&(nA.defaultPrevented||nA.key===VA.Escape&&(nA.preventDefault(),nA.stopPropagation(),tA.close()))});let MA=J(()=>!(O.value||U.value!==0||F));return Tv(h,MA,nA=>{var sA;return{containers:[...(sA=nA.containers)!=null?sA:[],Q]}}),Fe(nA=>{if(U.value!==0)return;let sA=cA(g);if(!sA)return;let QA=new ResizeObserver(yA=>{for(let JA of yA){let UA=JA.target.getBoundingClientRect();UA.x===0&&UA.y===0&&UA.width===0&&UA.height===0&&tA.close()}});QA.observe(sA),nA(()=>QA.disconnect())}),()=>{let{open:nA,initialFocus:sA,...QA}=A,yA={...t,ref:g,id:o,role:l.value,"aria-modal":U.value===0?!0:void 0,"aria-labelledby":W.value,"aria-describedby":gA.value},JA={open:U.value===0};return NA(Zc,{force:!0},()=>[NA(Nv,()=>NA(Gv,{target:g.value},()=>NA(Zc,{force:!1},()=>NA(Kr,{initialFocus:sA,containers:Q,features:w.value?ZA(b.value,{parent:Kr.features.RestoreFocus,leaf:Kr.features.All&~Kr.features.FocusLock}):Kr.features.None},()=>NA(E,{},()=>he({ourProps:yA,theirProps:{...QA,...t},slot:JA,attrs:t,slots:r,visible:U.value===0,features:Cr.RenderStrategy|Cr.Static,name:"Dialog"})))))),NA(v)])}}}),$v=_A({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-dialog-panel-${Zt()}`,i=Sa("DialogPanel");r({el:i.panelRef,$el:i.panelRef});function o(a){a.stopPropagation()}return()=>{let{...a}=A,c={id:s,ref:i.panelRef,onClick:o};return he({ourProps:c,theirProps:a,slot:{open:i.dialogState.value===0},attrs:e,slots:t,name:"DialogPanel"})}}}),Jv=_A({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t}){var r;let n=(r=A.id)!=null?r:`headlessui-dialog-title-${Zt()}`,s=Sa("DialogTitle");return GA(()=>{s.setTitleId(n),Ue(()=>s.setTitleId(null))}),()=>{let{...i}=A;return he({ourProps:{id:n},theirProps:i,slot:{open:s.dialogState.value===0},attrs:e,slots:t,name:"DialogTitle"})}}}),zc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function qc(A){var e,t;let r=(e=A.innerText)!=null?e:"",n=A.cloneNode(!0);if(!(n instanceof HTMLElement))return r;let s=!1;for(let o of n.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))o.remove(),s=!0;let i=s?(t=n.innerText)!=null?t:"":r;return zc.test(i)&&(i=i.replace(zc,"")),i}function Wv(A){let e=A.getAttribute("aria-label");if(typeof e=="string")return e.trim();let t=A.getAttribute("aria-labelledby");if(t){let r=t.split(" ").map(n=>{let s=document.getElementById(n);if(s){let i=s.getAttribute("aria-label");return typeof i=="string"?i.trim():qc(s).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return qc(A).trim()}function Yv(A){let e=q(""),t=q("");return()=>{let r=cA(A);if(!r)return"";let n=r.innerText;if(e.value===n)return t.value;let s=Wv(r).trim().toLowerCase();return e.value=n,t.value=s,s}}function jv(A,e){return A===e}var Zv=(A=>(A[A.Open=0]="Open",A[A.Closed=1]="Closed",A))(Zv||{}),zv=(A=>(A[A.Single=0]="Single",A[A.Multi=1]="Multi",A))(zv||{}),qv=(A=>(A[A.Pointer=0]="Pointer",A[A.Other=1]="Other",A))(qv||{});function Am(A){requestAnimationFrame(()=>requestAnimationFrame(A))}let ng=Symbol("ListboxContext");function gi(A){let e=KA(ng,null);if(e===null){let t=new Error(`<${A} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,gi),t}return e}let em=_A({name:"Listbox",emits:{"update:modelValue":A=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>jv},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(A,{slots:e,attrs:t,emit:r}){let n=q(1),s=q(null),i=q(null),o=q(null),a=q([]),c=q(""),l=q(null),u=q(1);function f(F=y=>y){let y=l.value!==null?a.value[l.value]:null,E=MB(F(a.value.slice()),L=>cA(L.dataRef.domRef)),Q=y?E.indexOf(y):null;return Q===-1&&(Q=null),{options:E,activeOptionIndex:Q}}let B=J(()=>A.multiple?1:0),[g,h]=ev(J(()=>A.modelValue),F=>r("update:modelValue",F),J(()=>A.defaultValue)),U=J(()=>g.value===void 0?ZA(B.value,{1:[],0:void 0}):g.value),w={listboxState:n,value:U,mode:B,compare(F,y){if(typeof A.by=="string"){let E=A.by;return(F==null?void 0:F[E])===(y==null?void 0:y[E])}return A.by(F,y)},orientation:J(()=>A.horizontal?"horizontal":"vertical"),labelRef:s,buttonRef:i,optionsRef:o,disabled:J(()=>A.disabled),options:a,searchQuery:c,activeOptionIndex:l,activationTrigger:u,closeListbox(){A.disabled||n.value!==1&&(n.value=1,l.value=null)},openListbox(){A.disabled||n.value!==0&&(n.value=0)},goToOption(F,y,E){if(A.disabled||n.value===1)return;let Q=f(),L=Fv(F===le.Specific?{focus:le.Specific,id:y}:{focus:F},{resolveItems:()=>Q.options,resolveActiveIndex:()=>Q.activeOptionIndex,resolveId:v=>v.id,resolveDisabled:v=>v.dataRef.disabled});c.value="",l.value=L,u.value=E??1,a.value=Q.options},search(F){if(A.disabled||n.value===1)return;let y=c.value!==""?0:1;c.value+=F.toLowerCase();let E=(l.value!==null?a.value.slice(l.value+y).concat(a.value.slice(0,l.value+y)):a.value).find(L=>L.dataRef.textValue.startsWith(c.value)&&!L.dataRef.disabled),Q=E?a.value.indexOf(E):-1;Q===-1||Q===l.value||(l.value=Q,u.value=1)},clearSearch(){A.disabled||n.value!==1&&c.value!==""&&(c.value="")},registerOption(F,y){let E=f(Q=>[...Q,{id:F,dataRef:y}]);a.value=E.options,l.value=E.activeOptionIndex},unregisterOption(F){let y=f(E=>{let Q=E.findIndex(L=>L.id===F);return Q!==-1&&E.splice(Q,1),E});a.value=y.options,l.value=y.activeOptionIndex,u.value=1},theirOnChange(F){A.disabled||h(F)},select(F){A.disabled||h(ZA(B.value,{0:()=>F,1:()=>{let y=rA(w.value.value).slice(),E=rA(F),Q=y.findIndex(L=>w.compare(E,rA(L)));return Q===-1?y.push(E):y.splice(Q,1),y}}))}};GB([i,o],(F,y)=>{var E;w.closeListbox(),kB(y,Ia.Loose)||(F.preventDefault(),(E=cA(i))==null||E.focus())},J(()=>n.value===0)),ue(ng,w),JB(J(()=>ZA(n.value,{0:qA.Open,1:qA.Closed})));let C=J(()=>{var F;return(F=cA(i))==null?void 0:F.closest("form")});return GA(()=>{ie([C],()=>{if(!C.value||A.defaultValue===void 0)return;function F(){w.theirOnChange(A.defaultValue)}return C.value.addEventListener("reset",F),()=>{var y;(y=C.value)==null||y.removeEventListener("reset",F)}},{immediate:!0})}),()=>{let{name:F,modelValue:y,disabled:E,form:Q,...L}=A,v={open:n.value===0,disabled:E,value:U.value};return NA(re,[...F!=null&&U.value!=null?WB({[F]:U.value}).map(([b,O])=>NA(_s,hv({features:gn.Hidden,key:b,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:Q,name:b,value:O}))):[],he({ourProps:{},theirProps:{...t,...xa(L,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:v,slots:e,attrs:t,name:"Listbox"})])}}}),tm=_A({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-button-${Zt()}`,i=gi("ListboxButton");r({el:i.buttonRef,$el:i.buttonRef});function o(u){switch(u.key){case VA.Space:case VA.Enter:case VA.ArrowDown:u.preventDefault(),i.openListbox(),Te(()=>{var f;(f=cA(i.optionsRef))==null||f.focus({preventScroll:!0}),i.value.value||i.goToOption(le.First)});break;case VA.ArrowUp:u.preventDefault(),i.openListbox(),Te(()=>{var f;(f=cA(i.optionsRef))==null||f.focus({preventScroll:!0}),i.value.value||i.goToOption(le.Last)});break}}function a(u){switch(u.key){case VA.Space:u.preventDefault();break}}function c(u){i.disabled.value||(i.listboxState.value===0?(i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})})):(u.preventDefault(),i.openListbox(),Am(()=>{var f;return(f=cA(i.optionsRef))==null?void 0:f.focus({preventScroll:!0})})))}let l=gv(J(()=>({as:A.as,type:e.type})),i.buttonRef);return()=>{var u,f;let B={open:i.listboxState.value===0,disabled:i.disabled.value,value:i.value.value},{...g}=A,h={ref:i.buttonRef,id:s,type:l.value,"aria-haspopup":"listbox","aria-controls":(u=cA(i.optionsRef))==null?void 0:u.id,"aria-expanded":i.listboxState.value===0,"aria-labelledby":i.labelRef.value?[(f=cA(i.labelRef))==null?void 0:f.id,s].join(" "):void 0,disabled:i.disabled.value===!0?!0:void 0,onKeydown:o,onKeyup:a,onClick:c};return he({ourProps:h,theirProps:g,slot:B,attrs:e,slots:t,name:"ListboxButton"})}}}),rm=_A({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-options-${Zt()}`,i=gi("ListboxOptions"),o=q(null);r({el:i.optionsRef,$el:i.optionsRef});function a(u){switch(o.value&&clearTimeout(o.value),u.key){case VA.Space:if(i.searchQuery.value!=="")return u.preventDefault(),u.stopPropagation(),i.search(u.key);case VA.Enter:if(u.preventDefault(),u.stopPropagation(),i.activeOptionIndex.value!==null){let f=i.options.value[i.activeOptionIndex.value];i.select(f.dataRef.value)}i.mode.value===0&&(i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})}));break;case ZA(i.orientation.value,{vertical:VA.ArrowDown,horizontal:VA.ArrowRight}):return u.preventDefault(),u.stopPropagation(),i.goToOption(le.Next);case ZA(i.orientation.value,{vertical:VA.ArrowUp,horizontal:VA.ArrowLeft}):return u.preventDefault(),u.stopPropagation(),i.goToOption(le.Previous);case VA.Home:case VA.PageUp:return u.preventDefault(),u.stopPropagation(),i.goToOption(le.First);case VA.End:case VA.PageDown:return u.preventDefault(),u.stopPropagation(),i.goToOption(le.Last);case VA.Escape:u.preventDefault(),u.stopPropagation(),i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})});break;case VA.Tab:u.preventDefault(),u.stopPropagation();break;default:u.key.length===1&&(i.search(u.key),o.value=setTimeout(()=>i.clearSearch(),350));break}}let c=Bi(),l=J(()=>c!==null?(c.value&qA.Open)===qA.Open:i.listboxState.value===0);return()=>{var u,f;let B={open:i.listboxState.value===0},{...g}=A,h={"aria-activedescendant":i.activeOptionIndex.value===null||(u=i.options.value[i.activeOptionIndex.value])==null?void 0:u.id,"aria-multiselectable":i.mode.value===1?!0:void 0,"aria-labelledby":(f=cA(i.buttonRef))==null?void 0:f.id,"aria-orientation":i.orientation.value,id:s,onKeydown:a,role:"listbox",tabIndex:0,ref:i.optionsRef};return he({ourProps:h,theirProps:g,slot:B,attrs:e,slots:t,features:Cr.RenderStrategy|Cr.Static,visible:l.value,name:"ListboxOptions"})}}}),nm=_A({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(A,{slots:e,attrs:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-option-${Zt()}`,i=gi("ListboxOption"),o=q(null);r({el:o,$el:o});let a=J(()=>i.activeOptionIndex.value!==null?i.options.value[i.activeOptionIndex.value].id===s:!1),c=J(()=>ZA(i.mode.value,{0:()=>i.compare(rA(i.value.value),rA(A.value)),1:()=>rA(i.value.value).some(F=>i.compare(rA(F),rA(A.value)))})),l=J(()=>ZA(i.mode.value,{1:()=>{var F;let y=rA(i.value.value);return((F=i.options.value.find(E=>y.some(Q=>i.compare(rA(Q),rA(E.dataRef.value)))))==null?void 0:F.id)===s},0:()=>c.value})),u=Yv(o),f=J(()=>({disabled:A.disabled,value:A.value,get textValue(){return u()},domRef:o}));GA(()=>i.registerOption(s,f)),Ue(()=>i.unregisterOption(s)),GA(()=>{ie([i.listboxState,c],()=>{i.listboxState.value===0&&c.value&&ZA(i.mode.value,{1:()=>{l.value&&i.goToOption(le.Specific,s)},0:()=>{i.goToOption(le.Specific,s)}})},{immediate:!0})}),Fe(()=>{i.listboxState.value===0&&a.value&&i.activationTrigger.value!==0&&Te(()=>{var F,y;return(y=(F=cA(o))==null?void 0:F.scrollIntoView)==null?void 0:y.call(F,{block:"nearest"})})});function B(F){if(A.disabled)return F.preventDefault();i.select(A.value),i.mode.value===0&&(i.closeListbox(),Te(()=>{var y;return(y=cA(i.buttonRef))==null?void 0:y.focus({preventScroll:!0})}))}function g(){if(A.disabled)return i.goToOption(le.Nothing);i.goToOption(le.Specific,s)}let h=dv();function U(F){h.update(F)}function w(F){h.wasMoved(F)&&(A.disabled||a.value||i.goToOption(le.Specific,s,0))}function C(F){h.wasMoved(F)&&(A.disabled||a.value&&i.goToOption(le.Nothing))}return()=>{let{disabled:F}=A,y={active:a.value,selected:c.value,disabled:F},{value:E,disabled:Q,...L}=A,v={id:s,ref:o,role:"option",tabIndex:F===!0?void 0:-1,"aria-disabled":F===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:B,onFocus:g,onPointerenter:U,onMouseenter:U,onPointermove:w,onMousemove:w,onPointerleave:C,onMouseleave:C};return he({ourProps:v,theirProps:L,slot:y,attrs:t,slots:e,name:"ListboxOption"})}}});function sm(A){let e={called:!1};return(...t)=>{if(!e.called)return e.called=!0,A(...t)}}function zi(A,...e){A&&e.length>0&&A.classList.add(...e)}function ts(A,...e){A&&e.length>0&&A.classList.remove(...e)}var Wo=(A=>(A.Finished="finished",A.Cancelled="cancelled",A))(Wo||{});function im(A,e){let t=Cn();if(!A)return t.dispose;let{transitionDuration:r,transitionDelay:n}=getComputedStyle(A),[s,i]=[r,n].map(o=>{let[a=0]=o.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,l)=>l-c);return a});return s!==0?t.setTimeout(()=>e("finished"),s+i):e("finished"),t.add(()=>e("cancelled")),t.dispose}function Au(A,e,t,r,n,s){let i=Cn(),o=s!==void 0?sm(s):()=>{};return ts(A,...n),zi(A,...e,...t),i.nextFrame(()=>{ts(A,...t),zi(A,...r),i.add(im(A,a=>(ts(A,...r,...e),zi(A,...n),o(a))))}),i.add(()=>ts(A,...e,...t,...r,...n)),i.add(()=>o("cancelled")),i.dispose}function Kt(A=""){return A.split(/\s+/).filter(e=>e.length>1)}let Ta=Symbol("TransitionContext");var om=(A=>(A.Visible="visible",A.Hidden="hidden",A))(om||{});function am(){return KA(Ta,null)!==null}function lm(){let A=KA(Ta,null);if(A===null)throw new Error("A is used but it is missing a parent .");return A}function cm(){let A=KA(Ka,null);if(A===null)throw new Error("A is used but it is missing a parent .");return A}let Ka=Symbol("NestingContext");function di(A){return"children"in A?di(A.children):A.value.filter(({state:e})=>e==="visible").length>0}function sg(A){let e=q([]),t=q(!1);GA(()=>t.value=!0),Ue(()=>t.value=!1);function r(s,i=Ft.Hidden){let o=e.value.findIndex(({id:a})=>a===s);o!==-1&&(ZA(i,{[Ft.Unmount](){e.value.splice(o,1)},[Ft.Hidden](){e.value[o].state="hidden"}}),!di(e)&&t.value&&(A==null||A()))}function n(s){let i=e.value.find(({id:o})=>o===s);return i?i.state!=="visible"&&(i.state="visible"):e.value.push({id:s,state:"visible"}),()=>r(s,Ft.Unmount)}return{children:e,register:n,unregister:r}}let ig=Cr.RenderStrategy,Yo=_A({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(A,{emit:e,attrs:t,slots:r,expose:n}){let s=q(0);function i(){s.value|=qA.Opening,e("beforeEnter")}function o(){s.value&=~qA.Opening,e("afterEnter")}function a(){s.value|=qA.Closing,e("beforeLeave")}function c(){s.value&=~qA.Closing,e("afterLeave")}if(!am()&&wv())return()=>NA(og,{...A,onBeforeEnter:i,onAfterEnter:o,onBeforeLeave:a,onAfterLeave:c},r);let l=q(null),u=J(()=>A.unmount?Ft.Unmount:Ft.Hidden);n({el:l,$el:l});let{show:f,appear:B}=lm(),{register:g,unregister:h}=cm(),U=q(f.value?"visible":"hidden"),w={value:!0},C=Zt(),F={value:!1},y=sg(()=>{!F.value&&U.value!=="hidden"&&(U.value="hidden",h(C),c())});GA(()=>{let P=g(C);Ue(P)}),Fe(()=>{if(u.value===Ft.Hidden&&C){if(f.value&&U.value!=="visible"){U.value="visible";return}ZA(U.value,{hidden:()=>h(C),visible:()=>g(C)})}});let E=Kt(A.enter),Q=Kt(A.enterFrom),L=Kt(A.enterTo),v=Kt(A.entered),b=Kt(A.leave),O=Kt(A.leaveFrom),j=Kt(A.leaveTo);GA(()=>{Fe(()=>{if(U.value==="visible"){let P=cA(l);if(P instanceof Comment&&P.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function T(P){let aA=w.value&&!B.value,gA=cA(l);!gA||!(gA instanceof HTMLElement)||aA||(F.value=!0,f.value&&i(),f.value||a(),P(f.value?Au(gA,E,Q,L,v,W=>{F.value=!1,W===Wo.Finished&&o()}):Au(gA,b,O,j,v,W=>{F.value=!1,W===Wo.Finished&&(di(y)||(U.value="hidden",h(C),c()))})))}return GA(()=>{ie([f],(P,aA,gA)=>{T(gA),w.value=!1},{immediate:!0})}),ue(Ka,y),JB(J(()=>ZA(U.value,{visible:qA.Open,hidden:qA.Closed})|s.value)),()=>{let{appear:P,show:aA,enter:gA,enterFrom:W,enterTo:tA,entered:lA,leave:TA,leaveFrom:MA,leaveTo:nA,...sA}=A,QA={ref:l},yA={...sA,...B.value&&f.value&&Qn.isServer?{class:je([t.class,sA.class,...E,...Q])}:{}};return he({theirProps:yA,ourProps:QA,slot:{},slots:r,attrs:t,features:ig,visible:U.value==="visible",name:"TransitionChild"})}}}),um=Yo,og=_A({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(A,{emit:e,attrs:t,slots:r}){let n=Bi(),s=J(()=>A.show===null&&n!==null?(n.value&qA.Open)===qA.Open:A.show);Fe(()=>{if(![!0,!1].includes(s.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let i=q(s.value?"visible":"hidden"),o=sg(()=>{i.value="hidden"}),a=q(!0),c={show:s,appear:J(()=>A.appear||!a.value)};return GA(()=>{Fe(()=>{a.value=!1,s.value?i.value="visible":di(o)||(i.value="hidden")})}),ue(Ka,o),ue(Ta,c),()=>{let l=xa(A,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),u={unmount:A.unmount};return he({ourProps:{...u,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[NA(um,{onBeforeEnter:()=>e("beforeEnter"),onAfterEnter:()=>e("afterEnter"),onBeforeLeave:()=>e("beforeLeave"),onAfterLeave:()=>e("afterLeave"),...t,...u,...l},r.default)]},attrs:{},features:ig,visible:i.value==="visible",name:"Transition"})}}});function fm(A,e){return ce(),hr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[uA("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})])}function Bm(A,e){return ce(),hr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[uA("path",{"fill-rule":"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z","clip-rule":"evenodd"})])}const gm={class:"block truncate"},dm={class:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},hm={key:0,class:"absolute inset-y-0 left-0 flex items-center pl-3 text-amber-500"},jo=_A({__name:"HeadlessSelect",props:{className:{default:""},sourceArr:{},defaultId:{}},emits:["selected"],setup(A,{emit:e}){const t=A,r=t.sourceArr.findIndex(i=>i.id===t.defaultId),n=q(t.sourceArr[r]),s=e;return ie(n,(i,o)=>{s("selected",i)}),(i,o)=>(ce(),hr(bA(em),{modelValue:n.value,"onUpdate:modelValue":o[0]||(o[0]=a=>n.value=a)},{default:ge(()=>[$("div",{class:je(["relative",t.className])},[uA(bA(tm),{class:"relative w-full h-10 pl-3 pr-10 text-left bg-white border border-solid rounded-lg cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-900 focus:outline-none focus-visible:border-indigo-500 focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-orange-300 sm:text-sm"},{default:ge(()=>[$("span",gm,ds(n.value.name),1),$("span",dm,[uA(bA(Bm),{class:"w-5 h-5 text-gray-400","aria-hidden":"true"})])]),_:1}),uA(pa,{"leave-active-class":"transition duration-100 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:ge(()=>[uA(bA(rm),{style:{"z-index":"100"},class:"absolute w-full py-1 mt-1 overflow-auto text-base bg-white rounded-md shadow-lg max-h-60 ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:ge(()=>[(ce(!0),At(re,null,Hd(i.sourceArr,a=>(ce(),hr(bA(nm),{key:`${a.id}`,value:a,as:"template"},{default:ge(({active:c,selected:l})=>[$("li",{class:je([c?"bg-amber-100 text-amber-900":"text-gray-900","relative cursor-pointer select-none py-2 pl-10 pr-4"])},[$("span",{class:je([l?"font-medium":"font-normal","block truncate"])},ds(a.name),3),l?(ce(),At("span",hm,[uA(bA(fm),{class:"w-5 h-5","aria-hidden":"true"})])):lf("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})],2)]),_:1},8,["modelValue"]))}}),pm="/assets/zero-CC4bBb9q.gif",wm={class:"z-0 my-4 text-center text-gray-400"},Qm={class:"flex flex-row flex-wrap items-center justify-center mt-2 mb-2 text-sm friends"},Cm=["href"],Fm=["href"],Um=["href"],vm=["href"],mm=["href"],Em={class:"flex flex-row flex-wrap items-center justify-center w-full text-sm"},ym={class:"mx-3 text-gray-400"},bm=["href"],Hm=$("br",{class:"show-on-mobile"},null,-1),Im=["href"],xm=$("img",{class:"zero",src:pm,alt:"深圳市市场监督管理局企业主体身份公示"},null,-1),Lm=_A({__name:"FooterNav",setup(A){const e=q(`Copyright © ${new Date().getFullYear()}`),t=r=>`${r}?ref=nicelinks.site`;return(r,n)=>(ce(),At("footer",wm,[$("div",Qm,[$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://www.jeffjade.com/"),onClick:n[0]||(n[0]=s=>r.$reortGaEvent("www-jeffjade-com","footer"))},"晚晴幽草轩",8,Cm),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://quickapp.lovejade.cn/"),onClick:n[1]||(n[1]=s=>r.$reortGaEvent("quickapp-lovejade","footer"))},"静轩之别苑",8,Fm),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://fine.niceshare.site/"),onClick:n[2]||(n[2]=s=>r.$reortGaEvent("fine-niceshare-site","footer"))},"缘知随心庭",8,Um),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://forum.lovejade.cn/"),onClick:n[3]||(n[3]=s=>r.$reortGaEvent("forum-lovejade","footer"))},"悠然宜想亭",8,vm),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://wechat.jeffjade.com/"),onClick:n[4]||(n[4]=s=>r.$reortGaEvent("wechat-jeffjade-com","footer"))},"公众号排版",8,mm)]),$("div",Em,[$("span",ym,ds(e.value),1),$("a",{target:"_blank",class:"text-gray-400 cursor-pointer hover:text-amber-500",onClick:n[5]||(n[5]=s=>r.$reortGaEvent("jeffjade","footer")),rel:"external noopener",href:t("https://www.jeffjade.com")},"晚晴幽草轩",8,bm),Zs("出品"),Hm,$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",rel:"external noopener",onClick:n[6]||(n[6]=s=>r.$reortGaEvent("beian","footer")),href:t("https://beian.miit.gov.cn/")},"粤ICP备17099767号",8,Im),xm])]))}}),Sm={},Tm={class:"mx-auto w-full h-32 my-4 max-w-[450px] border border-gray-200 flex flex-row items-center bg-white rounded-md shadow-md z-0"},Km=Ah('

逍遥自在轩

基于 Astro, Starlight, Svelte, Markdown, MDX,TailwindCSS, TypeScript 所构建的个人主页,快速、易用、易于访问、高度可定制。

',2),_m=[Km];function Dm(A,e){return ce(),At("div",Tm,[$("a",{class:"flex flex-row items-center justify-between w-full h-full px-4 py-4",href:"https://niceshare.site/?ref=share.lovejade.cn",onClick:e[0]||(e[0]=t=>A.$reortGaEvent("recommand","footer")),target:"_blank"},_m)])}const Om=ti(Sm,[["render",Dm]]),Rm=$("div",{class:"fixed inset-0 bg-black bg-opacity-25"},null,-1),km={class:"fixed inset-0 overflow-y-auto"},Mm={class:"flex items-center justify-center min-h-full p-4 text-center"},Nm={class:"flex items-center justify-start flex-auto px-2 py-2 m-4 rounded-md shadow-inner bg-slate-50"},Pm={class:"flex flex-col flex-wrap items-center justify-center h-20 mx-2"},Gm=$("p",{class:"pb-2 font-medium text-gray-400"},"FILTERS",-1),Vm=$("canvas",{id:"preview-area",class:"m-auto my-2"},null,-1),Xm=_A({__name:"PreviewDialog",props:{visble:Boolean},emits:["change"],setup(A,{emit:e}){const t=A;let r=null;const n=e,s=q(t.visble),i=[{name:"Golden",id:"golden"},{name:"Seagreen",id:"seagreen"},{name:"Islands",id:"islands"},{name:"Twenties",id:"twenties"},{name:"Radio",id:"radio"},{name:"Bluechrome",id:"bluechrome"},{name:"Obsidian",id:"obsidian"},{name:"Vintage",id:"vintage"},{name:"Pastel Pink",id:"pastel pink"}];ie(()=>t.visble,B=>{s.value=B,B&&Lf(()=>import("./photon_rs-C04jA1Ux.js"),__vite__mapDeps([])).then(g=>{r=g,c(i[0].id)})});function o(){s.value=!1,n("change",!1)}function a(){return new Promise((B,g)=>{const h=document.getElementById("container");Go(h).then(U=>{const w=U.toDataURL("image/png"),C=new Image;C.src=w,C.onload=()=>{B(C)}})})}const c=async B=>{const g=await a(),h={width:g.width,height:g.height},{canvas:U,ctx:w,image:C}=l(g,h);r.filter(C,B),r.putImageData(U,w,C)};function l(B,g){const h=document.getElementById("preview-area"),U=h.getContext("2d");h.width=g.width/2,h.height=g.height/2,U.drawImage(B,0,0,g.width/2,g.height/2);const w=r.open_image(h,U);return{canvas:h,ctx:U,image:w}}function u(B){c(B.id)}const f=async B=>{const g=await a(),h={width:g.width,height:g.height},{canvas:U,ctx:w,image:C}=l(g,h);r[B](C),r.putImageData(U,w,C)};return(B,g)=>(ce(),hr(bA(og),{appear:"",show:s.value,as:"template"},{default:ge(()=>[uA(bA(Xv),{as:"div",onClose:o,class:"relative z-10"},{default:ge(()=>[uA(bA(Yo),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0","enter-to":"opacity-100",leave:"duration-200 ease-in","leave-from":"opacity-100","leave-to":"opacity-0"},{default:ge(()=>[Rm]),_:1}),$("div",km,[$("div",Mm,[uA(bA(Yo),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:ge(()=>[uA(bA($v),{class:"w-full max-w-4xl p-6 overflow-hidden text-left align-middle transition-all transform bg-white shadow-xl rounded-2xl"},{default:ge(()=>[uA(bA(Jv),{as:"h3",class:"text-lg font-medium leading-6 text-gray-900"},{default:ge(()=>[Zs(" 效果预览 ")]),_:1}),$("div",Nm,[$("div",Pm,[Gm,uA(jo,{className:"w-36",sourceArr:i,defaultId:i[0].id,onSelected:u},null,8,["defaultId"])]),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[0]||(g[0]=h=>f("emboss"))}," EMBOSS "),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[1]||(g[1]=h=>f("grayscale"))}," GRAYSCALE "),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[2]||(g[2]=h=>f("colorize"))}," COLORIZE ")]),Vm]),_:1})]),_:1})])])]),_:1})]),_:1},8,["show"]))}}),eu="current-content",tu="is-with-date",ru="current-theme",nu="current-size",Zo=[{name:"元气",id:"vitality"},{name:"便签",id:"note"},{name:"古风",id:"antiquity"},{name:"经典",id:"classic"},{name:"暗黑",id:"dark"},{name:"纸屑",id:"bbburst"},{name:"渐变",id:"gradient"},{name:"公务",id:"official"},{name:"芒黄",id:"yellow"}],su=[{name:"电脑端",id:"laptop",style:"width: 50rem; padding: 3rem;"},{name:"移动端",id:"mobile",style:"width: 20rem; padding: 1rem;"},{name:"平板端",id:"tablet",style:"width: 37.5rem; padding: 2rem;"},{name:"超级屏",id:"desktop",style:"width: 60rem; padding: 3rem;"}],$m=`[玉桃文飨轩](https://share.lovejade.cn/),简单好用的在线文本工具;支持将 Markdown、rich text、word 等格式内容,快速转化为 png、pdf、html、PPT 等文件,并支持一键下载、社交分享、自定义设置等功能。 ## 如何使用? 在 Foucs 状态,输入您的内容(支持 \`Markdown\` 格式);在 Blur 状态,查看预览效果;点击「保存图片」,即可将内容生成图片并下载至本地。 -`,Jm=Zh({id:"content",state:()=>{const A=window.innerWidth>=960?"laptop":"mobile";return{isWithDate:!!localStorage.getItem(tu),content:localStorage.getItem(eu)||$m,currentTheme:localStorage.getItem(ru)||Zo[0].id,currentSize:localStorage.getItem(nu)||A}},getters:{},actions:{updateContent(A){!A||A==="undefined"||(this.content=A,localStorage.setItem(eu,A))},updateWithDate(A){this.isWithDate=A,localStorage.setItem(tu,A?"1":"")},updateCurrentTheme(A){this.currentTheme=A,localStorage.setItem(ru,A)},updateCurrentSize(A){this.currentSize=A,localStorage.setItem(nu,A)}}}),Wm=A=>new Promise(e=>setTimeout(e,A||1e3)),Ym=A=>{const e="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678";let t="";const r=new Array(A);return Array.from(r).map(()=>t+=e[Math.floor(Math.random()*e.length)]),t},jm=()=>{const A=new Date,e=A.getFullYear().toString().replace("20",""),t=A.getMonth().toString().padStart(2,"0"),r=A.getDate().toString().padStart(2,"0"),n=Ym(4);return[e,t,r,n].join("-")};function Zm(A){const e=document.createElement("a");e.href=A.toDataURL("image/png"),e.download=jm()+".png",e.click()}function zm(A){A.toBlob(e=>{const t=new ClipboardItem({"image/png":e});navigator.clipboard.write([t]).then(()=>{console.log("Image copied to clipboard")}).catch(r=>{console.error("Could not copy image to clipboard: ",r)})},"image/png")}function qm(){const A=new Date,e=A.getFullYear(),t=`${A.getMonth()+1}`,r=`${A.getDate()}`;return[e,t.padStart(2,0),r.padStart(2,0)].join("-")}const Er=A=>(Nu("data-v-853898a3"),A=A(),Pu(),A),AE={key:0,class:"bg"},eE={class:"flex flex-col items-center w-full px-4 py-4 mx-auto my-4 bg-white rounded-md shadow-lg operate-area"},tE={class:"flex flex-wrap justify-between w-full space-x-6 item-center"},rE={class:"flex justify-between flex-auto mobile-adjust"},nE={class:"flex flex-col items-center justify-between h-20"},sE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"选择主题",-1)),iE={class:"flex flex-col items-center justify-between h-20 select-zize"},oE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"选择尺寸",-1)),aE={class:"flex flex-col items-center justify-between w-24 h-20"},lE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"日期",-1)),cE={id:"toast-success",class:"fixed flex items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow top-10",role:"alert"},uE=Er(()=>$("div",{class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg"},[$("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[$("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z"})])],-1)),fE={class:"text-sm font-normal ms-3"},BE=Er(()=>$("span",{class:"sr-only"},"Close",-1)),gE=Er(()=>$("svg",{class:"w-3 h-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[$("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)),dE=[BE,gE],hE=_A({__name:"Home",setup(A){const e=Jm();let{currentSize:t,currentTheme:r}=zh(e);const n=q(null);let s=q(!1),i=q(null);const{proxy:o}=ha();ie(i,async()=>{await Wm(5e3),i.value=null}),GA(()=>{u(),B()});const a=J(()=>su.filter(v=>v.id===t.value)[0]),c=J(()=>Zo.filter(v=>v.id===r.value)[0]);function l(){if(!n.value)return;let v=document.getElementById("date-time");if(v)return v.remove();e.isWithDate&&n.value.innerHTML&&(v=`

`,n.value.innerHTML+=v)}function u(){n.value.innerHTML=mw(e.content,{breaks:!0})}function f(){n.value.innerText=e.content}function B(){const v=document.querySelector("#editor");v==null||v.addEventListener("paste",b=>{let j=(b.clipboardData||(b==null?void 0:b.dataTransfer)).getData("text/plain");j=j.replaceAll(` -`,"
");const T=window.getSelection();if(!(T!=null&&T.rangeCount))return!1;T.deleteFromDocument(),document.execCommand("insertHTML",!1,j),b.preventDefault()})}function g(v){e.updateWithDate(v),l()}function h(v){e.updateCurrentTheme(v.id),o.$reortGaEvent("item","main")}function U(v){e.updateCurrentSize(v.id),o.$reortGaEvent("size","main")}function w(){f(),o.$reortGaEvent("focus","main")}function C(){e.updateContent(n.value.innerText),u(),l(),o.$reortGaEvent("blur","main")}function F(){o.$reortGaEvent("save-img","main");const v=document.getElementById("container");Go(v).then(b=>{Zm(b),i.value="已成功为你保存图片"})}function y(){i.value=null}function E(){s.value=!0}function Q(){o.$reortGaEvent("save-img","main");const v=document.getElementById("container");Go(v).then(b=>{zm(b),i.value="已复制图片至您的剪切板"})}function L(v){s.value=v}return(v,b)=>(ce(),At(re,null,[$("div",{id:"container",ref:"container",class:je(["container my-4",`${c.value.id}-box`]),style:Ms(a.value.style)},[c.value.id==="official"?(ce(),At("div",AE)):lf("",!0),$("div",{class:je(["content",c.value.id])},[$("div",{id:"editor",ref_key:"editor",ref:n,onBlur:C,onFocus:w,class:"editor markdown",contenteditable:"true"},null,544)],2)],6),$("div",eE,[$("div",tE,[$("div",rE,[$("div",nE,[sE,uA(jo,{className:"w-24",sourceArr:bA(Zo),defaultId:bA(r),onSelected:h},null,8,["sourceArr","defaultId"])]),$("div",iE,[oE,uA(jo,{className:"w-28",sourceArr:bA(su),defaultId:bA(t),onSelected:U},null,8,["sourceArr","defaultId"])]),$("div",aE,[lE,uA(Av,{state:bA(e).isWithDate,onCheck:g,class:"block"},null,8,["state"])])])]),$("div",{class:"flex flex-row items-center w-full px-4 py-4 space-x-6 md:space-x-0 md:space-y-6 md:flex-col justify-evenly",role:"group"},[$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:E}," 预览图片 "),$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:Q}," 复制图片 "),$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:F}," 保存图片 ")]),Xu($("div",cE,[uE,$("div",fE,ds(bA(i)),1),$("button",{type:"button",onClick:y,class:"ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8","data-dismiss-target":"#toast-success","aria-label":"Close"},dE)],512),[[Fh,bA(i)]])]),uA(Xm,{visble:bA(s),onChange:L},null,8,["visble"]),uA(Om),uA(Lm)],64))}}),pE=ti(hE,[["__scopeId","data-v-853898a3"]]),wE=qp({history:hp("/"),routes:[{path:"/",name:"home",component:pE},{path:"/about",name:"about",component:()=>Lf(()=>import("./About-Bi1qhF6b.js"),__vite__mapDeps([0,1]))}]}),Fn=Nh(fw);Fn.use(Xh());Fn.use(wE);Fn.config.globalProperties.$reortGaEvent=(A,e,t)=>{(window.gtag||(()=>{}))("event",A,{event_category:e,event_label:t||A})};Fn.config.errorHandler=(A,e,t)=>{console.error(A,e,t)};Fn.mount("#app");export{$ as a,At as c,_A as d,ce as o,mw as p,bA as u}; +`,Jm=Zh({id:"content",state:()=>{const A=window.innerWidth>=960?"laptop":"mobile";return{isWithDate:!!localStorage.getItem(tu),content:localStorage.getItem(eu)||$m,currentTheme:localStorage.getItem(ru)||Zo[0].id,currentSize:localStorage.getItem(nu)||A}},getters:{},actions:{updateContent(A){!A||A==="undefined"||(this.content=A,localStorage.setItem(eu,A))},updateWithDate(A){this.isWithDate=A,localStorage.setItem(tu,A?"1":"")},updateCurrentTheme(A){this.currentTheme=A,localStorage.setItem(ru,A)},updateCurrentSize(A){this.currentSize=A,localStorage.setItem(nu,A)}}}),Wm=A=>new Promise(e=>setTimeout(e,A||1e3)),Ym=A=>{const e="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678";let t="";const r=new Array(A);return Array.from(r).map(()=>t+=e[Math.floor(Math.random()*e.length)]),t},jm=()=>{const A=new Date,e=A.getFullYear().toString().replace("20",""),t=A.getMonth().toString().padStart(2,"0"),r=A.getDate().toString().padStart(2,"0"),n=Ym(4);return[e,t,r,n].join("-")};function Zm(A){const e=document.createElement("a");e.href=A.toDataURL("image/png"),e.download=jm()+".png",e.click()}function zm(A){A.toBlob(e=>{const t=new ClipboardItem({"image/png":e});navigator.clipboard.write([t]).then(()=>{console.log("Image copied to clipboard")}).catch(r=>{console.error("Could not copy image to clipboard: ",r)})},"image/png")}function qm(){const A=new Date,e=A.getFullYear(),t=`${A.getMonth()+1}`,r=`${A.getDate()}`;return[e,t.padStart(2,0),r.padStart(2,0)].join("-")}const Er=A=>(Nu("data-v-f3ff4a14"),A=A(),Pu(),A),AE={key:0,class:"bg"},eE={class:"flex flex-col items-center w-full px-4 py-4 mx-auto my-4 bg-white rounded-md shadow-lg operate-area"},tE={class:"flex flex-wrap justify-between w-full space-x-6 item-center"},rE={class:"flex justify-between flex-auto mobile-adjust"},nE={class:"flex flex-col items-center justify-between h-20"},sE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"选择主题",-1)),iE={class:"flex flex-col items-center justify-between h-20 select-zize"},oE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"选择尺寸",-1)),aE={class:"flex flex-col items-center justify-between w-24 h-20"},lE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"日期",-1)),cE={id:"toast-success",class:"fixed flex items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow top-10",role:"alert"},uE=Er(()=>$("div",{class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg"},[$("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[$("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z"})])],-1)),fE={class:"text-sm font-normal ms-3"},BE=Er(()=>$("span",{class:"sr-only"},"Close",-1)),gE=Er(()=>$("svg",{class:"w-3 h-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[$("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)),dE=[BE,gE],hE=_A({__name:"Home",setup(A){const e=Jm();let{currentSize:t,currentTheme:r}=zh(e);const n=q(null);let s=q(!1),i=q(null);const{proxy:o}=ha();ie(i,async()=>{await Wm(5e3),i.value=null}),GA(()=>{u(),l(),B()});const a=J(()=>su.filter(v=>v.id===t.value)[0]),c=J(()=>Zo.filter(v=>v.id===r.value)[0]);function l(){if(!n.value)return;let v=document.getElementById("date-time");if(v)return v.remove();e.isWithDate&&n.value.innerHTML&&(v=`

`,n.value.innerHTML+=v)}function u(){n.value.innerHTML=mw(e.content,{breaks:!0})}function f(){n.value.innerText=e.content}function B(){const v=document.querySelector("#editor");v==null||v.addEventListener("paste",b=>{let j=(b.clipboardData||(b==null?void 0:b.dataTransfer)).getData("text/plain");j=j.replaceAll(` +`,"
");const T=window.getSelection();if(!(T!=null&&T.rangeCount))return!1;T.deleteFromDocument(),document.execCommand("insertHTML",!1,j),b.preventDefault()})}function g(v){e.updateWithDate(v),l()}function h(v){e.updateCurrentTheme(v.id),o.$reortGaEvent("item","main")}function U(v){e.updateCurrentSize(v.id),o.$reortGaEvent("size","main")}function w(){f(),o.$reortGaEvent("focus","main")}function C(){e.updateContent(n.value.innerText),u(),l(),o.$reortGaEvent("blur","main")}function F(){o.$reortGaEvent("save-img","main");const v=document.getElementById("container");Go(v).then(b=>{Zm(b),i.value="已成功为你保存图片"})}function y(){i.value=null}function E(){s.value=!0}function Q(){o.$reortGaEvent("save-img","main");const v=document.getElementById("container");Go(v).then(b=>{zm(b),i.value="已复制图片至您的剪切板"})}function L(v){s.value=v}return(v,b)=>(ce(),At(re,null,[$("div",{id:"container",ref:"container",class:je(["container my-4",`${c.value.id}-box`]),style:Ms(a.value.style)},[c.value.id==="official"?(ce(),At("div",AE)):lf("",!0),$("div",{class:je(["content",c.value.id])},[$("div",{id:"editor",ref_key:"editor",ref:n,onBlur:C,onFocus:w,class:"editor markdown",contenteditable:"true"},null,544)],2)],6),$("div",eE,[$("div",tE,[$("div",rE,[$("div",nE,[sE,uA(jo,{className:"w-24",sourceArr:bA(Zo),defaultId:bA(r),onSelected:h},null,8,["sourceArr","defaultId"])]),$("div",iE,[oE,uA(jo,{className:"w-28",sourceArr:bA(su),defaultId:bA(t),onSelected:U},null,8,["sourceArr","defaultId"])]),$("div",aE,[lE,uA(Av,{state:bA(e).isWithDate,onCheck:g,class:"block"},null,8,["state"])])])]),$("div",{class:"flex flex-row items-center w-full px-4 py-4 space-x-6 md:space-x-0 md:space-y-6 md:flex-col justify-evenly",role:"group"},[$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:E}," 预览图片 "),$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:Q}," 复制图片 "),$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:F}," 保存图片 ")]),Xu($("div",cE,[uE,$("div",fE,ds(bA(i)),1),$("button",{type:"button",onClick:y,class:"ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8","data-dismiss-target":"#toast-success","aria-label":"Close"},dE)],512),[[Fh,bA(i)]])]),uA(Xm,{visble:bA(s),onChange:L},null,8,["visble"]),uA(Om),uA(Lm)],64))}}),pE=ti(hE,[["__scopeId","data-v-f3ff4a14"]]),wE=qp({history:hp("/"),routes:[{path:"/",name:"home",component:pE},{path:"/about",name:"about",component:()=>Lf(()=>import("./About-BFpPUs8q.js"),__vite__mapDeps([0,1]))}]}),Fn=Nh(fw);Fn.use(Xh());Fn.use(wE);Fn.config.globalProperties.$reortGaEvent=(A,e,t)=>{(window.gtag||(()=>{}))("event",A,{event_category:e,event_label:t||A})};Fn.config.errorHandler=(A,e,t)=>{console.error(A,e,t)};Fn.mount("#app");export{$ as a,At as c,_A as d,ce as o,mw as p,bA as u}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/About-Bi1qhF6b.js","assets/About-CxK8kti1.css"] + __vite__mapDeps.viteFileDeps = ["assets/About-BFpPUs8q.js","assets/About-CxK8kti1.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/assets/index-DdQASDOh.css b/assets/index-DdQASDOh.css deleted file mode 100644 index 502505d..0000000 --- a/assets/index-DdQASDOh.css +++ /dev/null @@ -1 +0,0 @@ -.link:hover,.link:focus,.link:active{border:none!important;outline:none!important}.link .rainbow-text{color:transparent;background-image:linear-gradient(0deg,#ff6768 28%,#a3cd39 60%);background-clip:text;-webkit-background-clip:text}.switch[data-v-cbf54d34]{position:relative;width:68px;height:34px}.switch .checkbox[data-v-cbf54d34]{display:none}.switch .checkbox:checked+.slider[data-v-cbf54d34]{background-color:#33c658}.switch .checkbox:focus+.slider[data-v-cbf54d34]{box-shadow:0 0 1px #33c658}.switch .checkbox:checked+.slider[data-v-cbf54d34]:before{transform:translate(34px)}.switch .slider[data-v-cbf54d34]{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:.4s}.switch .slider[data-v-cbf54d34]:before{position:absolute;content:"";height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;transition:.4s}.switch .slider.round[data-v-cbf54d34]{border-radius:34px}.switch .slider.round[data-v-cbf54d34]:before{border-radius:50%}.show-on-mobile{display:none}@media (max-width: 960px){.show-on-big-screen{display:none}.show-on-mobile{display:block}}.zero{display:inline-block;width:18px;height:24px}.container[data-v-853898a3]{padding:3rem;box-shadow:0 2px 5px #0000191a,0 5px 75px 1px #00003233;transition:box-shadow 1s ease-out;transition-delay:2s;background-color:transparent}.container .content[data-v-853898a3]{position:relative;width:100%;height:100%;flex:1 1 0%}.container .content .editor[data-v-853898a3]{min-height:12rem;padding:1rem;border:none;outline:none}.container .content .editor[data-v-853898a3]:hover,.container .content .editor[data-v-853898a3]:active{border:none;outline:none}.antiquity-box[data-v-853898a3]{background:#e9e7d9 url(/assets/classical-CKkpVjWW.png) repeat 0 0}.antiquity-box .antiquity[data-v-853898a3]{position:relative!important;border:3px solid #c02c38;padding:1rem}.classic-box[data-v-853898a3],.classic-box .classic[data-v-853898a3]{background-color:#f2f2f2}.note-box[data-v-853898a3]{background-color:#fffcf5}.note-box .note[data-v-853898a3]{border:1px solid #e8e5dc}.note-box .note[data-v-853898a3]:before{position:absolute;content:"";inset:3px;border:1px solid #e8e5dc;z-index:0}.dark-box[data-v-853898a3]{background-image:linear-gradient(to right,#434343,#000)}.dark-box .dark[data-v-853898a3]{background-color:transparent}.dark-box .dark .editor[data-v-853898a3]{color:#f2f2f2;background-color:transparent}.bbburst-box[data-v-853898a3]{background:url(/assets/bbburst-Dkl5Ltx1.svg);background-size:100%}.bbburst-box .bbburst[data-v-853898a3]{background-color:transparent}.bbburst-box .bbburst .editor[data-v-853898a3]{background-color:#fffc;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.vitality-box[data-v-853898a3]{background:linear-gradient(225deg,#9cccfc 0,#e6cefd 99.54%)}.vitality-box .vitality[data-v-853898a3]{background-color:#f2f2f2;border-radius:1rem}.gradient-box[data-v-853898a3]{background-image:linear-gradient(to top,#a8edea,#fed6e3)}.gradient-box .gradient[data-v-853898a3],.gradient-box .gradient .editor[data-v-853898a3]{background-color:transparent}.official-box[data-v-853898a3]{position:relative}.official-box[data-v-853898a3]:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#04629d 0,#037dcc 49.48%,#0289e0)}.official-box .bg[data-v-853898a3]{position:absolute;z-index:-1;left:0;top:-6.6rem;right:0;bottom:0;background:url(/assets/official-fiPW7W3M.svg);background-size:80% auto;background-position:center top;background-repeat:no-repeat}.official-box .official .editor[data-v-853898a3]{color:#f2f2f2;background-color:transparent}.yellow-box[data-v-853898a3]{background-image:radial-gradient(circle farthest-side,#fceabb,#f8b500)}.yellow-box .yellow .editor[data-v-853898a3]{color:#000;background-color:transparent}.operate-area[data-v-853898a3]{width:40rem}.operate-area .mobile-w-full[data-v-853898a3]{width:auto}@media (max-width: 960px){.container[data-v-853898a3]{width:100%!important}#app .operate-area[data-v-853898a3]{width:100%}#app .operate-area .mobile-adjust[data-v-853898a3]{padding:0;margin-bottom:1rem}#app .operate-area .mobile-w-full[data-v-853898a3]{width:100%;margin-left:0}#app .operate-area .mobile-w-full+.mobile-w-full[data-v-853898a3]{margin-top:1rem}#app .operate-area .select-zize[data-v-853898a3]{display:none}}*,*:before,*:after{box-sizing:border-box;margin:0;position:relative;font-weight:400}body{width:100%;line-height:1.6;--tw-bg-opacity: 1;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.markdown ol ol,.markdown ul ol,.markdown ol ul,.markdown ul ul,.markdown ol ul ol,.markdown ul ul ol,.markdown ol ul ul,.markdown ul ul ul{margin-top:0;margin-bottom:0}.markdown{font-family:Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1rem;line-height:1.6;word-wrap:break-word;padding:0;text-align:left;border-radius:0 0 3px 3px;color:#161823}.markdown>*:first-child{margin-top:0!important}.markdown>*:last-child{margin-bottom:0!important}.markdown *{box-sizing:border-box}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{margin-top:1em;margin-bottom:1rem;font-weight:700;line-height:1.4}.markdown p,.markdown blockquote,.markdown ul,.markdown ol,.markdown dl,.markdown table,.markdown pre{margin-top:0;margin-bottom:1rem}.markdown h1{margin:1rem 0;padding:0;font-size:1.8rem;line-height:2rem}.markdown h2{font-size:1.6rem;line-height:1.8rem}.markdown h3{font-size:1.4rem;line-height:1.6rem}.markdown h4{font-size:1.25rem;line-height:1.4rem}.markdown h5{font-size:1.125rem;line-height:1.2rem}.markdown h6{font-size:1.125rem;line-height:1.2rem;color:#777}.markdown ol,.markdown ul{padding-left:2em}.markdown ol ol,.markdown ul ol{list-style-type:lower-roman}.markdown ol ul,.markdown ul ul{list-style-type:circle}.markdown ol ul ul,.markdown ul ul ul{list-style-type:square}.markdown ol{list-style-type:decimal}.markdown ul{list-style-type:disc}.markdown blockquote{margin-left:0;margin-right:0;padding:0 15px;color:#777;border-left:4px solid #ddd}.markdown table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0}.markdown table tr{background-color:transparent;border-top:1px solid #ccc}.markdown table tr:nth-child(2n){background-color:transparent}.markdown table th,.markdown table td{padding:6px 13px;border:1px solid #c2ccd099}.markdown pre{word-wrap:normal;padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.markdown pre code{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;font-size:100%;line-height:inherit;word-wrap:normal;white-space:pre;border:0;border-radius:3px;background-color:transparent}.markdown pre code:before,.markdown pre code:after{content:normal}.markdown code{font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;padding:.2em 0;margin:0;font-size:85%;background-color:#0000000a;border-radius:3px}.markdown code:before,.markdown code:after{letter-spacing:-.2em;content:" "}.markdown a{color:#ea552d;text-decoration:none;background:transparent}.markdown img{max-width:100%;max-height:100%;border-radius:4px}.markdown strong{font-weight:700}.markdown em{font-style:italic}.markdown del{text-decoration:line-through}.task-list-item{list-style-type:none}.task-list-item input{font:13px/1.4 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;margin:0 .35em .25em -1.6em;vertical-align:middle}.task-list-item input[disabled]{cursor:default}.task-list-item input[type=checkbox],.task-list-item input[type=radio]{box-sizing:border-box;padding:0}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-10{top:2.5rem}.z-0{z-index:0}.z-10{z-index:10}.m-2{margin:.5rem}.m-4{margin:1rem}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ms-3{margin-inline-start:.75rem}.ms-auto{margin-inline-start:auto}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-12{height:3rem}.h-20{height:5rem}.h-3{height:.75rem}.h-32{height:8rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-auto{height:auto}.h-full{height:100%}.max-h-60{max-height:15rem}.min-h-full{min-height:100%}.w-1\/4{width:25%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-36{width:9rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-screen{width:100vw}.max-w-4xl{max-width:56rem}.max-w-\[450px\]{max-width:450px}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-auto{flex:1 1 auto}.flex-shrink-0{flex-shrink:0}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-evenly{justify-content:space-evenly}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-solid{border-style:solid}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-25{--tw-bg-opacity: .25}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}#app{display:flex;flex-direction:column;align-items:center;width:100%;max-width:1280px;margin:0 auto;font-weight:400;padding:0 1rem}@media (min-width: 1024px){body{display:flex;place-items:center}}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:text-amber-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:border-indigo-500:focus-visible{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-white:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.focus-visible\:ring-opacity-75:focus-visible{--tw-ring-opacity: .75}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-orange-300:focus-visible{--tw-ring-offset-color: #fdba74}:is([data-mode=dark] .dark\:hover\:bg-gray-900:hover){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}@media (max-width: 640px){.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (max-width: 768px){.md\:w-full{width:100%}.md\:flex-col{flex-direction:column}.md\:space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(0px * var(--tw-space-x-reverse));margin-left:calc(0px * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}} diff --git a/assets/index-q6OCLYY0.css b/assets/index-q6OCLYY0.css new file mode 100644 index 0000000..13d4e0d --- /dev/null +++ b/assets/index-q6OCLYY0.css @@ -0,0 +1 @@ +.link:hover,.link:focus,.link:active{border:none!important;outline:none!important}.link .rainbow-text{color:transparent;background:linear-gradient(to top left,#ff8177,#ff867a,#ff8c7f,#f99185,#cf556c,#b12a5b);background-clip:text;-webkit-background-clip:text}.switch[data-v-cbf54d34]{position:relative;width:68px;height:34px}.switch .checkbox[data-v-cbf54d34]{display:none}.switch .checkbox:checked+.slider[data-v-cbf54d34]{background-color:#33c658}.switch .checkbox:focus+.slider[data-v-cbf54d34]{box-shadow:0 0 1px #33c658}.switch .checkbox:checked+.slider[data-v-cbf54d34]:before{transform:translate(34px)}.switch .slider[data-v-cbf54d34]{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:.4s}.switch .slider[data-v-cbf54d34]:before{position:absolute;content:"";height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;transition:.4s}.switch .slider.round[data-v-cbf54d34]{border-radius:34px}.switch .slider.round[data-v-cbf54d34]:before{border-radius:50%}.show-on-mobile{display:none}@media (max-width: 960px){.show-on-big-screen{display:none}.show-on-mobile{display:block}}.zero{display:inline-block;width:18px;height:24px}.container[data-v-f3ff4a14]{padding:3rem;box-shadow:0 2px 5px #0000191a,0 5px 75px 1px #00003233;transition:box-shadow 1s ease-out;transition-delay:2s;background-color:transparent}.container .content[data-v-f3ff4a14]{position:relative;width:100%;height:100%;flex:1 1 0%}.container .content .editor[data-v-f3ff4a14]{min-height:12rem;padding:1rem;border:none;outline:none}.container .content .editor[data-v-f3ff4a14]:hover,.container .content .editor[data-v-f3ff4a14]:active{border:none;outline:none}.antiquity-box[data-v-f3ff4a14]{background:#e9e7d9 url(/assets/classical-CKkpVjWW.png) repeat 0 0}.antiquity-box .antiquity[data-v-f3ff4a14]{position:relative!important;border:3px solid #c02c38;padding:1rem}.classic-box[data-v-f3ff4a14],.classic-box .classic[data-v-f3ff4a14]{background-color:#f2f2f2}.note-box[data-v-f3ff4a14]{background-color:#fffcf5}.note-box .note[data-v-f3ff4a14]{border:1px solid #e8e5dc}.note-box .note[data-v-f3ff4a14]:before{position:absolute;content:"";inset:3px;border:1px solid #e8e5dc;z-index:0}.dark-box[data-v-f3ff4a14]{background-image:linear-gradient(to right,#434343,#000)}.dark-box .dark[data-v-f3ff4a14]{background-color:transparent}.dark-box .dark .editor[data-v-f3ff4a14]{color:#f2f2f2;background-color:transparent}.bbburst-box[data-v-f3ff4a14]{background:url(/assets/bbburst-Dkl5Ltx1.svg);background-size:100%}.bbburst-box .bbburst[data-v-f3ff4a14]{background-color:transparent}.bbburst-box .bbburst .editor[data-v-f3ff4a14]{background-color:#fffc;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.vitality-box[data-v-f3ff4a14]{background:linear-gradient(225deg,#9cccfc 0,#e6cefd 99.54%)}.vitality-box .vitality[data-v-f3ff4a14]{background-color:#f2f2f2;border-radius:1rem}.gradient-box[data-v-f3ff4a14]{background-image:linear-gradient(to top,#a8edea,#fed6e3)}.gradient-box .gradient[data-v-f3ff4a14],.gradient-box .gradient .editor[data-v-f3ff4a14]{background-color:transparent}.official-box[data-v-f3ff4a14]{position:relative}.official-box[data-v-f3ff4a14]:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#04629d 0,#037dcc 49.48%,#0289e0)}.official-box .bg[data-v-f3ff4a14]{position:absolute;z-index:-1;left:0;top:-6.6rem;right:0;bottom:0;background:url(/assets/official-fiPW7W3M.svg);background-size:80% auto;background-position:center top;background-repeat:no-repeat}.official-box .official .editor[data-v-f3ff4a14]{color:#f2f2f2;background-color:transparent}.yellow-box[data-v-f3ff4a14]{background-image:radial-gradient(circle farthest-side,#fceabb,#f8b500)}.yellow-box .yellow .editor[data-v-f3ff4a14]{color:#000;background-color:transparent}.operate-area[data-v-f3ff4a14]{width:40rem}.operate-area .mobile-w-full[data-v-f3ff4a14]{width:auto}@media (max-width: 960px){.container[data-v-f3ff4a14]{width:100%!important}#app .operate-area[data-v-f3ff4a14]{width:100%}#app .operate-area .mobile-adjust[data-v-f3ff4a14]{padding:0;margin-bottom:1rem}#app .operate-area .mobile-w-full[data-v-f3ff4a14]{width:100%;margin-left:0}#app .operate-area .mobile-w-full+.mobile-w-full[data-v-f3ff4a14]{margin-top:1rem}#app .operate-area .select-zize[data-v-f3ff4a14]{display:none}}*,*:before,*:after{box-sizing:border-box;margin:0;position:relative;font-weight:400}body{width:100%;line-height:1.6;--tw-bg-opacity: 1;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.markdown ol ol,.markdown ul ol,.markdown ol ul,.markdown ul ul,.markdown ol ul ol,.markdown ul ul ol,.markdown ol ul ul,.markdown ul ul ul{margin-top:0;margin-bottom:0}.markdown{font-family:Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1rem;line-height:1.6;word-wrap:break-word;padding:0;text-align:left;border-radius:0 0 3px 3px;color:#161823}.markdown>*:first-child{margin-top:0!important}.markdown>*:last-child{margin-bottom:0!important}.markdown *{box-sizing:border-box}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{margin-top:1em;margin-bottom:1rem;font-weight:700;line-height:1.4}.markdown p,.markdown blockquote,.markdown ul,.markdown ol,.markdown dl,.markdown table,.markdown pre{margin-top:0;margin-bottom:1rem}.markdown h1{margin:1rem 0;padding:0;font-size:1.8rem;line-height:2rem}.markdown h2{font-size:1.6rem;line-height:1.8rem}.markdown h3{font-size:1.4rem;line-height:1.6rem}.markdown h4{font-size:1.25rem;line-height:1.4rem}.markdown h5{font-size:1.125rem;line-height:1.2rem}.markdown h6{font-size:1.125rem;line-height:1.2rem;color:#777}.markdown ol,.markdown ul{padding-left:2em}.markdown ol ol,.markdown ul ol{list-style-type:lower-roman}.markdown ol ul,.markdown ul ul{list-style-type:circle}.markdown ol ul ul,.markdown ul ul ul{list-style-type:square}.markdown ol{list-style-type:decimal}.markdown ul{list-style-type:disc}.markdown blockquote{margin-left:0;margin-right:0;padding:0 15px;color:#777;border-left:4px solid #ddd}.markdown table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0}.markdown table tr{background-color:transparent;border-top:1px solid #ccc}.markdown table tr:nth-child(2n){background-color:transparent}.markdown table th,.markdown table td{padding:6px 13px;border:1px solid #c2ccd099}.markdown pre{word-wrap:normal;padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.markdown pre code{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;font-size:100%;line-height:inherit;word-wrap:normal;white-space:pre;border:0;border-radius:3px;background-color:transparent}.markdown pre code:before,.markdown pre code:after{content:normal}.markdown code{font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;padding:.2em 0;margin:0;font-size:85%;background-color:#0000000a;border-radius:3px}.markdown code:before,.markdown code:after{letter-spacing:-.2em;content:" "}.markdown a{color:#ea552d;text-decoration:none;background:transparent}.markdown img{max-width:100%;max-height:100%;border-radius:4px}.markdown strong{font-weight:700}.markdown em{font-style:italic}.markdown del{text-decoration:line-through}.task-list-item{list-style-type:none}.task-list-item input{font:13px/1.4 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;margin:0 .35em .25em -1.6em;vertical-align:middle}.task-list-item input[disabled]{cursor:default}.task-list-item input[type=checkbox],.task-list-item input[type=radio]{box-sizing:border-box;padding:0}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-10{top:2.5rem}.z-0{z-index:0}.z-10{z-index:10}.m-2{margin:.5rem}.m-4{margin:1rem}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ms-3{margin-inline-start:.75rem}.ms-auto{margin-inline-start:auto}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-12{height:3rem}.h-20{height:5rem}.h-3{height:.75rem}.h-32{height:8rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-auto{height:auto}.h-full{height:100%}.max-h-60{max-height:15rem}.min-h-full{min-height:100%}.w-1\/4{width:25%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-36{width:9rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-screen{width:100vw}.max-w-4xl{max-width:56rem}.max-w-\[450px\]{max-width:450px}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-auto{flex:1 1 auto}.flex-shrink-0{flex-shrink:0}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-evenly{justify-content:space-evenly}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-solid{border-style:solid}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-25{--tw-bg-opacity: .25}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}#app{display:flex;flex-direction:column;align-items:center;width:100%;max-width:1280px;margin:0 auto;font-weight:400;padding:0 1rem}@media (min-width: 1024px){body{display:flex;place-items:center}}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:text-amber-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:border-indigo-500:focus-visible{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-white:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.focus-visible\:ring-opacity-75:focus-visible{--tw-ring-opacity: .75}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-orange-300:focus-visible{--tw-ring-offset-color: #fdba74}:is([data-mode=dark] .dark\:hover\:bg-gray-900:hover){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}@media (max-width: 640px){.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (max-width: 768px){.md\:w-full{width:100%}.md\:flex-col{flex-direction:column}.md\:space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(0px * var(--tw-space-x-reverse));margin-left:calc(0px * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}} diff --git a/index.html b/index.html index 18de1bc..fc4c0d0 100644 --- a/index.html +++ b/index.html @@ -51,8 +51,8 @@ async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" > - - + +