agentation-vue3 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),zt=["placeholder"],Et=["disabled"],Lt=e.defineComponent({__name:"AnnotationPopup",props:{element:{},timestamp:{},selectedText:{},placeholder:{default:"What should change?"},initialValue:{default:""},submitLabel:{default:"Add"},popupStyle:{},accentColor:{default:"#3c82f7"},isExiting:{type:Boolean,default:!1},lightMode:{type:Boolean,default:!1},computedStyles:{}},emits:["submit","cancel"],setup(o,{expose:t,emit:a}){const n=e.useCssModule(),s=o,m=a,f=e.ref(s.initialValue),v=e.ref(!1),p=e.ref("initial"),x=e.ref(!1),g=e.ref(!1),i=e.ref(null),w=e.ref(null),y=e.computed(()=>s.computedStyles&&Object.keys(s.computedStyles).length>0),S=e.computed(()=>[n.popup,s.lightMode&&n.light,p.value==="enter"&&n.enter,p.value==="entered"&&n.entered,p.value==="exit"&&n.exit,v.value&&n.shake].filter(Boolean)),C=()=>{v.value=!0,setTimeout(()=>{var b;v.value=!1,(b=i.value)==null||b.focus()},250)},z=()=>{p.value="exit",setTimeout(()=>{m("cancel")},150)},P=()=>{f.value.trim()&&m("submit",f.value.trim())},X=b=>{var _;b.isComposing||(_=b.nativeEvent)!=null&&_.isComposing||(b.key==="Enter"&&!b.shiftKey&&(b.preventDefault(),P()),b.key==="Escape"&&z())},$=()=>{const b=g.value;g.value=!g.value,b&&e.nextTick(()=>{var _;return(_=i.value)==null?void 0:_.focus()})},k=b=>b.replace(/([A-Z])/g,"-$1").toLowerCase();return e.onMounted(()=>{requestAnimationFrame(()=>{p.value="enter"}),setTimeout(()=>{p.value="entered"},200),setTimeout(()=>{const b=i.value;b&&(b.focus(),b.selectionStart=b.selectionEnd=b.value.length,b.scrollTop=b.scrollHeight)},50)}),e.watch(()=>s.isExiting,b=>{b&&p.value!=="exit"&&(p.value="exit")}),t({shake:C}),(b,_)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"popupRef",ref:w,class:e.normalizeClass(S.value),"data-annotation-popup":"",style:e.normalizeStyle(o.popupStyle),onClick:_[3]||(_[3]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).header)},[y.value?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(e.unref(n).headerToggle),type:"button",onClick:$},[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass([e.unref(n).chevron,g.value&&e.unref(n).expanded]),width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[..._[4]||(_[4]=[e.createElementVNode("path",{d:"M5.5 10.25L9 7.25L5.75 4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],2)),e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).element)},e.toDisplayString(o.element),3)],2)):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(n).element)},e.toDisplayString(o.element),3)),o.timestamp?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(e.unref(n).timestamp)},e.toDisplayString(o.timestamp),3)):e.createCommentVNode("",!0)],2),y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(n).stylesWrapper,g.value&&e.unref(n).expanded])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).stylesInner)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).stylesBlock)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.computedStyles,(j,I)=>(e.openBlock(),e.createElementBlock("div",{key:I,class:e.normalizeClass(e.unref(n).styleLine)},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).styleProperty)},e.toDisplayString(k(String(I))),3),_[5]||(_[5]=e.createTextVNode(" : ",-1)),e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).styleValue)},e.toDisplayString(j),3),_[6]||(_[6]=e.createTextVNode("; ",-1))],2))),128))],2)],2)],2)):e.createCommentVNode("",!0),o.selectedText?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(n).quote)}," “"+e.toDisplayString(o.selectedText.slice(0,80))+e.toDisplayString(o.selectedText.length>80?"...":"")+"” ",3)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("textarea",{ref_key:"textareaRef",ref:i,class:e.normalizeClass(e.unref(n).textarea),style:e.normalizeStyle({borderColor:x.value?o.accentColor:void 0}),placeholder:o.placeholder,"onUpdate:modelValue":_[0]||(_[0]=j=>f.value=j),rows:"2",onFocus:_[1]||(_[1]=j=>x.value=!0),onBlur:_[2]||(_[2]=j=>x.value=!1),onKeydown:X},null,46,zt),[[e.vModelText,f.value]]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).actions)},[e.createElementVNode("button",{class:e.normalizeClass(e.unref(n).cancel),onClick:z}," Cancel ",2),e.createElementVNode("button",{class:e.normalizeClass(e.unref(n).submit),style:e.normalizeStyle({backgroundColor:o.accentColor,opacity:f.value.trim()?1:.4}),disabled:!f.value.trim(),onClick:P},e.toDisplayString(o.submitLabel),15,Et)],2)],6))}}),Mt="_popup_dj3wu_38",St="_enter_dj3wu_52",Bt="_popupEnter_dj3wu_1",$t="_entered_dj3wu_55",Nt="_exit_dj3wu_59",Tt="_popupExit_dj3wu_1",It="_shake_dj3wu_62",At="_header_dj3wu_66",Vt="_element_dj3wu_73",Dt="_headerToggle_dj3wu_84",Pt="_chevron_dj3wu_100",jt="_expanded_dj3wu_105",Ht="_stylesWrapper_dj3wu_109",Zt="_stylesInner_dj3wu_118",Ot="_stylesBlock_dj3wu_122",Rt="_styleLine_dj3wu_132",Ft="_styleProperty_dj3wu_137",Wt="_styleValue_dj3wu_141",Yt="_timestamp_dj3wu_145",Xt="_quote_dj3wu_154",Ut="_textarea_dj3wu_165",qt="_actions_dj3wu_193",Gt="_cancel_dj3wu_200",Kt="_submit_dj3wu_201",Qt="_light_dj3wu_230",Jt={popup:Mt,enter:St,popupEnter:Bt,entered:$t,exit:Nt,popupExit:Tt,shake:It,header:At,element:Vt,headerToggle:Dt,chevron:Pt,expanded:jt,stylesWrapper:Ht,stylesInner:Zt,stylesBlock:Ot,styleLine:Rt,styleProperty:Ft,styleValue:Wt,timestamp:Yt,quote:Xt,textarea:Ut,actions:qt,cancel:Gt,submit:Kt,light:Qt},Le=(o,t)=>{const a=o.__vccOpts||o;for(const[n,s]of t)a[n]=s;return a},en={$style:Jt},oe=Le(Lt,[["__cssModules",en]]),Me=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none"},[e.h("path",{d:"M4 4l8 8M12 4l-8 8",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};Me.props=["size"];const Se=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none"},[e.h("path",{d:"M8 3v10M3 8h10",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};Se.props=["size"];const Be=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none"},[e.h("path",{d:"M3 8l3.5 3.5L13 5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};Be.props=["size"];const $e=o=>{const t=o.size??14;return e.h("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none"},[e.h("path",{d:"M3.9375 7L6.125 9.1875L10.5 4.8125",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};$e.props=["size"];const re=o=>{const t=o.size??24;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o.style},[e.h("g",{"clip-path":"url(#clip0_list_sparkle)"},[e.h("path",{d:"M11.5 12L5.5 12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M18.5 6.75L5.5 6.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M9.25 17.25L5.5 17.25",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M16 12.75L16.5179 13.9677C16.8078 14.6494 17.3506 15.1922 18.0323 15.4821L19.25 16L18.0323 16.5179C17.3506 16.8078 16.8078 17.3506 16.5179 18.0323L16 19.25L15.4821 18.0323C15.1922 17.3506 14.6494 16.8078 13.9677 16.5179L12.75 16L13.9677 15.4821C14.6494 15.1922 15.1922 14.6494 15.4821 13.9677L16 12.75Z",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"})]),e.h("defs",{},[e.h("clipPath",{id:"clip0_list_sparkle"},[e.h("rect",{width:"24",height:"24",fill:"white"})])])])};re.props=["size","style"];const ae=o=>{const t=o.size??20;return e.h("svg",{width:t,height:t,viewBox:"0 0 20 20",fill:"none"},[e.h("path",{d:"M10 3.33301C13.6816 3.33318 16.6658 6.31838 16.666 10C16.6658 13.6816 13.6816 16.6658 10 16.666C6.31836 16.6658 3.33318 13.6816 3.33301 10C3.33321 6.31838 6.31838 3.33319 10 3.33301ZM10 4.58301C7.00873 4.58319 4.58321 7.00874 4.58301 10C4.58318 12.9913 7.00872 15.4158 10 15.416C12.9913 15.4158 15.4158 12.9913 15.416 10C15.4158 7.00874 12.9912 4.58318 10 4.58301ZM10.0059 12.3955C10.3509 12.3955 10.6307 12.6755 10.6309 13.0205C10.6309 13.3657 10.351 13.6455 10.0059 13.6455H10C9.65482 13.6455 9.375 13.3657 9.375 13.0205C9.3752 12.6755 9.65494 12.3955 10 12.3955H10.0059ZM8.7168 6.6875C9.21305 6.39589 9.79695 6.28941 10.3643 6.38672C10.9314 6.48413 11.4458 6.77949 11.8164 7.21973C12.1868 7.65987 12.3903 8.21677 12.3896 8.79199L12.3818 8.96191C12.3064 9.79544 11.6881 10.3569 11.2354 10.667C11.0017 10.827 10.7702 10.9462 10.5898 11.0312C10.5068 11.2788 10.2755 11.4589 10 11.459C9.65518 11.4588 9.37535 11.1788 9.375 10.834V10.6045C9.375 10.3374 9.54513 10.0992 9.79785 10.0127C9.79944 10.0121 9.80223 10.011 9.80566 10.0098C9.81443 10.0066 9.82943 10.0017 9.84863 9.99414C9.88759 9.97889 9.94594 9.95512 10.0166 9.92285C10.1601 9.85732 10.3469 9.76066 10.5293 9.63574C10.9282 9.36253 11.1394 9.07213 11.1396 8.79199V8.79102C11.1401 8.51071 11.0408 8.23891 10.8604 8.02441C10.6798 7.80996 10.4286 7.66661 10.1523 7.61914C9.87611 7.57183 9.59223 7.62367 9.35059 7.76562C9.10896 7.90763 8.92515 8.1302 8.83203 8.39453C8.71753 8.71983 8.36054 8.89136 8.03516 8.77734C7.70969 8.66285 7.53811 8.30597 7.65234 7.98047C7.84336 7.43747 8.22055 6.97917 8.7168 6.6875Z",fill:"currentColor"})])};ae.props=["size"];const K=o=>{const t=o.size??14;return e.h("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none"},[e.h("style",{},`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Xt=["placeholder"],Ut=["disabled"],qt=e.defineComponent({__name:"AnnotationPopup",props:{element:{},timestamp:{},selectedText:{},placeholder:{default:"What should change?"},initialValue:{default:""},submitLabel:{default:"Add"},popupStyle:{},accentColor:{default:"#3c82f7"},isExiting:{type:Boolean,default:!1},lightMode:{type:Boolean,default:!1},computedStyles:{}},emits:["submit","cancel"],setup(o,{expose:t,emit:s}){const u=e.useCssModule(),p=o,l=s,g=e.ref(p.initialValue),_=e.ref(!1),v=e.ref("initial"),z=e.ref(!1),E=e.ref(!1),m=e.ref(null),C=e.ref(null),b=e.computed(()=>p.computedStyles&&Object.keys(p.computedStyles).length>0),L=e.computed(()=>[u.popup,p.lightMode&&u.light,v.value==="enter"&&u.enter,v.value==="entered"&&u.entered,v.value==="exit"&&u.exit,_.value&&u.shake].filter(Boolean)),S=()=>{_.value=!0,setTimeout(()=>{var w;_.value=!1,(w=m.value)==null||w.focus()},250)},W=()=>{v.value="exit",setTimeout(()=>{l("cancel")},150)},h=()=>{g.value.trim()&&l("submit",g.value.trim())},x=w=>{var f;w.isComposing||(f=w.nativeEvent)!=null&&f.isComposing||(w.key==="Enter"&&!w.shiftKey&&(w.preventDefault(),h()),w.key==="Escape"&&W())},X=()=>{const w=E.value;E.value=!E.value,w&&e.nextTick(()=>{var f;return(f=m.value)==null?void 0:f.focus()})},ee=w=>w.replace(/([A-Z])/g,"-$1").toLowerCase();return e.onMounted(()=>{requestAnimationFrame(()=>{v.value="enter"}),setTimeout(()=>{v.value="entered"},200),setTimeout(()=>{const w=m.value;w&&(w.focus(),w.selectionStart=w.selectionEnd=w.value.length,w.scrollTop=w.scrollHeight)},50)}),e.watch(()=>p.isExiting,w=>{w&&v.value!=="exit"&&(v.value="exit")}),t({shake:S}),(w,f)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"popupRef",ref:C,class:e.normalizeClass(L.value),"data-annotation-popup":"",style:e.normalizeStyle(o.popupStyle),onClick:f[3]||(f[3]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(u).header)},[b.value?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(e.unref(u).headerToggle),type:"button",onClick:X},[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass([e.unref(u).chevron,E.value&&e.unref(u).expanded]),width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...f[4]||(f[4]=[e.createElementVNode("path",{d:"M5.5 10.25L9 7.25L5.75 4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],2)),e.createElementVNode("span",{class:e.normalizeClass(e.unref(u).element)},e.toDisplayString(o.element),3)],2)):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(u).element)},e.toDisplayString(o.element),3)),o.timestamp?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(e.unref(u).timestamp)},e.toDisplayString(o.timestamp),3)):e.createCommentVNode("",!0)],2),b.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(u).stylesWrapper,E.value&&e.unref(u).expanded])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(u).stylesInner)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(u).stylesBlock)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.computedStyles,(A,O)=>(e.openBlock(),e.createElementBlock("div",{key:O,class:e.normalizeClass(e.unref(u).styleLine)},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(u).styleProperty)},e.toDisplayString(ee(String(O))),3),f[5]||(f[5]=e.createTextVNode(" : ",-1)),e.createElementVNode("span",{class:e.normalizeClass(e.unref(u).styleValue)},e.toDisplayString(A),3),f[6]||(f[6]=e.createTextVNode("; ",-1))],2))),128))],2)],2)],2)):e.createCommentVNode("",!0),o.selectedText?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(u).quote)}," “"+e.toDisplayString(o.selectedText.slice(0,80))+e.toDisplayString(o.selectedText.length>80?"...":"")+"” ",3)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("textarea",{ref_key:"textareaRef",ref:m,class:e.normalizeClass(e.unref(u).textarea),style:e.normalizeStyle({borderColor:z.value?o.accentColor:void 0}),placeholder:o.placeholder,"onUpdate:modelValue":f[0]||(f[0]=A=>g.value=A),rows:"2",onFocus:f[1]||(f[1]=A=>z.value=!0),onBlur:f[2]||(f[2]=A=>z.value=!1),onKeydown:x},null,46,Xt),[[e.vModelText,g.value]]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(u).actions)},[e.createElementVNode("button",{class:e.normalizeClass(e.unref(u).cancel),onClick:W}," Cancel ",2),e.createElementVNode("button",{class:e.normalizeClass(e.unref(u).submit),style:e.normalizeStyle({backgroundColor:o.accentColor,opacity:g.value.trim()?1:.4}),disabled:!g.value.trim(),onClick:h},e.toDisplayString(o.submitLabel),15,Ut)],2)],6))}}),Gt="_popup_dj3wu_38",Kt="_enter_dj3wu_52",Qt="_popupEnter_dj3wu_1",Jt="_entered_dj3wu_55",en="_exit_dj3wu_59",tn="_popupExit_dj3wu_1",nn="_shake_dj3wu_62",on="_header_dj3wu_66",ln="_element_dj3wu_73",rn="_headerToggle_dj3wu_84",an="_chevron_dj3wu_100",sn="_expanded_dj3wu_105",cn="_stylesWrapper_dj3wu_109",un="_stylesInner_dj3wu_118",dn="_stylesBlock_dj3wu_122",pn="_styleLine_dj3wu_132",mn="_styleProperty_dj3wu_137",hn="_styleValue_dj3wu_141",fn="_timestamp_dj3wu_145",gn="_quote_dj3wu_154",Cn="_textarea_dj3wu_165",vn="_actions_dj3wu_193",yn="_cancel_dj3wu_200",kn="_submit_dj3wu_201",wn="_light_dj3wu_230",bn={popup:Gt,enter:Kt,popupEnter:Qt,entered:Jt,exit:en,popupExit:tn,shake:nn,header:on,element:ln,headerToggle:rn,chevron:an,expanded:sn,stylesWrapper:cn,stylesInner:un,stylesBlock:dn,styleLine:pn,styleProperty:mn,styleValue:hn,timestamp:fn,quote:gn,textarea:Cn,actions:vn,cancel:yn,submit:kn,light:wn},Ye=(o,t)=>{const s=o.__vccOpts||o;for(const[u,p]of t)s[u]=p;return s},xn={$style:bn},de=Ye(qt,[["__cssModules",xn]]),We=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none"},[e.h("path",{d:"M4 4l8 8M12 4l-8 8",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};We.props=["size"];const pe=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none"},[e.h("path",{d:"M8 3v10M3 8h10",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};pe.props=["size"];const Xe=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none"},[e.h("path",{d:"M3 8l3.5 3.5L13 5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};Xe.props=["size"];const Ue=o=>{const t=o.size??14;return e.h("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none"},[e.h("path",{d:"M3.9375 7L6.125 9.1875L10.5 4.8125",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};Ue.props=["size"];const me=o=>{const t=o.size??24;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o.style},[e.h("g",{"clip-path":"url(#clip0_list_sparkle)"},[e.h("path",{d:"M11.5 12L5.5 12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M18.5 6.75L5.5 6.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M9.25 17.25L5.5 17.25",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M16 12.75L16.5179 13.9677C16.8078 14.6494 17.3506 15.1922 18.0323 15.4821L19.25 16L18.0323 16.5179C17.3506 16.8078 16.8078 17.3506 16.5179 18.0323L16 19.25L15.4821 18.0323C15.1922 17.3506 14.6494 16.8078 13.9677 16.5179L12.75 16L13.9677 15.4821C14.6494 15.1922 15.1922 14.6494 15.4821 13.9677L16 12.75Z",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"})]),e.h("defs",{},[e.h("clipPath",{id:"clip0_list_sparkle"},[e.h("rect",{width:"24",height:"24",fill:"white"})])])])};me.props=["size","style"];const he=o=>{const t=o.size??20;return e.h("svg",{width:t,height:t,viewBox:"0 0 20 20",fill:"none"},[e.h("path",{d:"M10 3.33301C13.6816 3.33318 16.6658 6.31838 16.666 10C16.6658 13.6816 13.6816 16.6658 10 16.666C6.31836 16.6658 3.33318 13.6816 3.33301 10C3.33321 6.31838 6.31838 3.33319 10 3.33301ZM10 4.58301C7.00873 4.58319 4.58321 7.00874 4.58301 10C4.58318 12.9913 7.00872 15.4158 10 15.416C12.9913 15.4158 15.4158 12.9913 15.416 10C15.4158 7.00874 12.9912 4.58318 10 4.58301ZM10.0059 12.3955C10.3509 12.3955 10.6307 12.6755 10.6309 13.0205C10.6309 13.3657 10.351 13.6455 10.0059 13.6455H10C9.65482 13.6455 9.375 13.3657 9.375 13.0205C9.3752 12.6755 9.65494 12.3955 10 12.3955H10.0059ZM8.7168 6.6875C9.21305 6.39589 9.79695 6.28941 10.3643 6.38672C10.9314 6.48413 11.4458 6.77949 11.8164 7.21973C12.1868 7.65987 12.3903 8.21677 12.3896 8.79199L12.3818 8.96191C12.3064 9.79544 11.6881 10.3569 11.2354 10.667C11.0017 10.827 10.7702 10.9462 10.5898 11.0312C10.5068 11.2788 10.2755 11.4589 10 11.459C9.65518 11.4588 9.37535 11.1788 9.375 10.834V10.6045C9.375 10.3374 9.54513 10.0992 9.79785 10.0127C9.79944 10.0121 9.80223 10.011 9.80566 10.0098C9.81443 10.0066 9.82943 10.0017 9.84863 9.99414C9.88759 9.97889 9.94594 9.95512 10.0166 9.92285C10.1601 9.85732 10.3469 9.76066 10.5293 9.63574C10.9282 9.36253 11.1394 9.07213 11.1396 8.79199V8.79102C11.1401 8.51071 11.0408 8.23891 10.8604 8.02441C10.6798 7.80996 10.4286 7.66661 10.1523 7.61914C9.87611 7.57183 9.59223 7.62367 9.35059 7.76562C9.10896 7.90763 8.92515 8.1302 8.83203 8.39453C8.71753 8.71983 8.36054 8.89136 8.03516 8.77734C7.70969 8.66285 7.53811 8.30597 7.65234 7.98047C7.84336 7.43747 8.22055 6.97917 8.7168 6.6875Z",fill:"currentColor"})])};he.props=["size"];const re=o=>{const t=o.size??14;return e.h("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none"},[e.h("style",{},`
2
2
  @keyframes checkDraw {
3
3
  0% { stroke-dashoffset: 12; }
4
4
  100% { stroke-dashoffset: 0; }
@@ -15,7 +15,7 @@
15
15
  transform-origin: center;
16
16
  animation: checkDraw 0.18s ease-out, checkBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
17
17
  }
18
- `),e.h("path",{class:"check-path-animated",d:"M3.9375 7L6.125 9.1875L10.5 4.8125",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};K.props=["size"];const Ne=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M4.75 11.25C4.75 10.4216 5.42157 9.75 6.25 9.75H12.75C13.5784 9.75 14.25 10.4216 14.25 11.25V17.75C14.25 18.5784 13.5784 19.25 12.75 19.25H6.25C5.42157 19.25 4.75 18.5784 4.75 17.75V11.25Z",stroke:"currentColor","stroke-width":"1.5"}),e.h("path",{d:"M17.25 14.25H17.75C18.5784 14.25 19.25 13.5784 19.25 12.75V6.25C19.25 5.42157 18.5784 4.75 17.75 4.75H11.25C10.4216 4.75 9.75 5.42157 9.75 6.25V6.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};Ne.props=["size"];const le=o=>{const t=o.size??24,a=o.copied??!1;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("style",{},".copy-icon, .check-icon { transition: opacity 0.2s ease, transform 0.2s ease; }"),e.h("g",{class:"copy-icon",style:{opacity:a?0:1,transform:a?"scale(0.8)":"scale(1)",transformOrigin:"center"}},[e.h("path",{d:"M4.75 11.25C4.75 10.4216 5.42157 9.75 6.25 9.75H12.75C13.5784 9.75 14.25 10.4216 14.25 11.25V17.75C14.25 18.5784 13.5784 19.25 12.75 19.25H6.25C5.42157 19.25 4.75 18.5784 4.75 17.75V11.25Z",stroke:"currentColor","stroke-width":"1.5"}),e.h("path",{d:"M17.25 14.25H17.75C18.5784 14.25 19.25 13.5784 19.25 12.75V6.25C19.25 5.42157 18.5784 4.75 17.75 4.75H11.25C10.4216 4.75 9.75 5.42157 9.75 6.25V6.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})]),e.h("g",{class:"check-icon",style:{opacity:a?1:0,transform:a?"scale(1)":"scale(0.8)",transformOrigin:"center"}},[e.h("path",{d:"M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M15 10L11 14.25L9.25 12.25",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])])};le.props=["size","copied"];const Te=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M4.91516 12.7108C4.63794 12.2883 4.63705 11.7565 4.91242 11.3328C5.84146 9.9033 8.30909 6.74994 12 6.74994C15.6909 6.74994 18.1585 9.9033 19.0876 11.3328C19.3629 11.7565 19.3621 12.2883 19.0848 12.7108C18.1537 14.13 15.6873 17.2499 12 17.2499C8.31272 17.2499 5.8463 14.13 4.91516 12.7108Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M12 14.25C13.2426 14.25 14.25 13.2426 14.25 12C14.25 10.7574 13.2426 9.75 12 9.75C10.7574 9.75 9.75 10.7574 9.75 12C9.75 13.2426 10.7574 14.25 12 14.25Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};Te.props=["size"];const Ie=o=>{const t=o.size??24;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M3.91752 12.7539C3.65127 12.2996 3.65037 11.7515 3.9149 11.2962C4.9042 9.59346 7.72688 5.49994 12 5.49994C16.2731 5.49994 19.0958 9.59346 20.0851 11.2962C20.3496 11.7515 20.3487 12.2996 20.0825 12.7539C19.0908 14.4459 16.2694 18.4999 12 18.4999C7.73064 18.4999 4.90918 14.4459 3.91752 12.7539Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M12 14.8261C13.5608 14.8261 14.8261 13.5608 14.8261 12C14.8261 10.4392 13.5608 9.17392 12 9.17392C10.4392 9.17392 9.17391 10.4392 9.17391 12C9.17391 13.5608 10.4392 14.8261 12 14.8261Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};Ie.props=["size"];const Ae=o=>{const t=o.size??24;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M18.6025 9.28503C18.9174 8.9701 19.4364 8.99481 19.7015 9.35271C20.1484 9.95606 20.4943 10.507 20.7342 10.9199C21.134 11.6086 21.1329 12.4454 20.7303 13.1328C20.2144 14.013 19.2151 15.5225 17.7723 16.8193C16.3293 18.1162 14.3852 19.2497 12.0008 19.25C11.4192 19.25 10.8638 19.1823 10.3355 19.0613C9.77966 18.934 9.63498 18.2525 10.0382 17.8493C10.2412 17.6463 10.5374 17.573 10.8188 17.6302C11.1993 17.7076 11.5935 17.75 12.0008 17.75C13.8848 17.7497 15.4867 16.8568 16.7693 15.7041C18.0522 14.5511 18.9606 13.1867 19.4363 12.375C19.5656 12.1543 19.5659 11.8943 19.4373 11.6729C19.2235 11.3049 18.921 10.8242 18.5364 10.3003C18.3085 9.98991 18.3302 9.5573 18.6025 9.28503ZM12.0008 4.75C12.5814 4.75006 13.1358 4.81803 13.6632 4.93953C14.2182 5.06741 14.362 5.74812 13.9593 6.15091C13.7558 6.35435 13.4589 6.42748 13.1771 6.36984C12.7983 6.29239 12.4061 6.25006 12.0008 6.25C10.1167 6.25 8.51415 7.15145 7.23028 8.31543C5.94678 9.47919 5.03918 10.8555 4.56426 11.6729C4.43551 11.8945 4.43582 12.1542 4.56524 12.375C4.77587 12.7343 5.07189 13.2012 5.44718 13.7105C5.67623 14.0213 5.65493 14.4552 5.38193 14.7282C5.0671 15.0431 4.54833 15.0189 4.28292 14.6614C3.84652 14.0736 3.50813 13.5369 3.27129 13.1328C2.86831 12.4451 2.86717 11.6088 3.26739 10.9199C3.78185 10.0345 4.77959 8.51239 6.22247 7.2041C7.66547 5.89584 9.61202 4.75 12.0008 4.75Z",fill:"currentColor"}),e.h("path",{d:"M5 19L19 5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};Ae.props=["size"];const se=o=>{const t=o.size??24,a=o.isOpen??!0;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("style",{},".eye-open, .eye-closed { transition: opacity 0.2s ease; }"),e.h("g",{class:"eye-open",style:{opacity:a?1:0}},[e.h("path",{d:"M3.91752 12.7539C3.65127 12.2996 3.65037 11.7515 3.9149 11.2962C4.9042 9.59346 7.72688 5.49994 12 5.49994C16.2731 5.49994 19.0958 9.59346 20.0851 11.2962C20.3496 11.7515 20.3487 12.2996 20.0825 12.7539C19.0908 14.4459 16.2694 18.4999 12 18.4999C7.73064 18.4999 4.90918 14.4459 3.91752 12.7539Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M12 14.8261C13.5608 14.8261 14.8261 13.5608 14.8261 12C14.8261 10.4392 13.5608 9.17392 12 9.17392C10.4392 9.17392 9.17391 10.4392 9.17391 12C9.17391 13.5608 10.4392 14.8261 12 14.8261Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})]),e.h("g",{class:"eye-closed",style:{opacity:a?0:1}},[e.h("path",{d:"M18.6025 9.28503C18.9174 8.9701 19.4364 8.99481 19.7015 9.35271C20.1484 9.95606 20.4943 10.507 20.7342 10.9199C21.134 11.6086 21.1329 12.4454 20.7303 13.1328C20.2144 14.013 19.2151 15.5225 17.7723 16.8193C16.3293 18.1162 14.3852 19.2497 12.0008 19.25C11.4192 19.25 10.8638 19.1823 10.3355 19.0613C9.77966 18.934 9.63498 18.2525 10.0382 17.8493C10.2412 17.6463 10.5374 17.573 10.8188 17.6302C11.1993 17.7076 11.5935 17.75 12.0008 17.75C13.8848 17.7497 15.4867 16.8568 16.7693 15.7041C18.0522 14.5511 18.9606 13.1867 19.4363 12.375C19.5656 12.1543 19.5659 11.8943 19.4373 11.6729C19.2235 11.3049 18.921 10.8242 18.5364 10.3003C18.3085 9.98991 18.3302 9.5573 18.6025 9.28503ZM12.0008 4.75C12.5814 4.75006 13.1358 4.81803 13.6632 4.93953C14.2182 5.06741 14.362 5.74812 13.9593 6.15091C13.7558 6.35435 13.4589 6.42748 13.1771 6.36984C12.7983 6.29239 12.4061 6.25006 12.0008 6.25C10.1167 6.25 8.51415 7.15145 7.23028 8.31543C5.94678 9.47919 5.03918 10.8555 4.56426 11.6729C4.43551 11.8945 4.43582 12.1542 4.56524 12.375C4.77587 12.7343 5.07189 13.2012 5.44718 13.7105C5.67623 14.0213 5.65493 14.4552 5.38193 14.7282C5.0671 15.0431 4.54833 15.0189 4.28292 14.6614C3.84652 14.0736 3.50813 13.5369 3.27129 13.1328C2.86831 12.4451 2.86717 11.6088 3.26739 10.9199C3.78185 10.0345 4.77959 8.51239 6.22247 7.2041C7.66547 5.89584 9.61202 4.75 12.0008 4.75Z",fill:"currentColor"}),e.h("path",{d:"M5 19L19 5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])])};se.props=["size","isOpen"];const ie=o=>{const t=o.size??24,a=o.isPaused??!1;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("style",{},".pause-bar, .play-triangle { transition: opacity 0.15s ease; }"),e.h("path",{class:"pause-bar",d:"M8 6L8 18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round",style:{opacity:a?0:1}}),e.h("path",{class:"pause-bar",d:"M16 18L16 6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round",style:{opacity:a?0:1}}),e.h("path",{class:"play-triangle",d:"M17.75 10.701C18.75 11.2783 18.75 12.7217 17.75 13.299L8.75 18.4952C7.75 19.0725 6.5 18.3509 6.5 17.1962L6.5 6.80384C6.5 5.64914 7.75 4.92746 8.75 5.50481L17.75 10.701Z",stroke:"currentColor","stroke-width":"1.5",style:{opacity:a?1:0}})])};ie.props=["size","isPaused"];const ce=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M10.6504 5.81117C10.9939 4.39628 13.0061 4.39628 13.3496 5.81117C13.5715 6.72517 14.6187 7.15891 15.4219 6.66952C16.6652 5.91193 18.0881 7.33479 17.3305 8.57815C16.8411 9.38134 17.2748 10.4285 18.1888 10.6504C19.6037 10.9939 19.6037 13.0061 18.1888 13.3496C17.2748 13.5715 16.8411 14.6187 17.3305 15.4219C18.0881 16.6652 16.6652 18.0881 15.4219 17.3305C14.6187 16.8411 13.5715 17.2748 13.3496 18.1888C13.0061 19.6037 10.9939 19.6037 10.6504 18.1888C10.4285 17.2748 9.38135 16.8411 8.57815 17.3305C7.33479 18.0881 5.91193 16.6652 6.66952 15.4219C7.15891 14.6187 6.72517 13.5715 5.81117 13.3496C4.39628 13.0061 4.39628 10.9939 5.81117 10.6504C6.72517 10.4285 7.15891 9.38134 6.66952 8.57815C5.91193 7.33479 7.33479 5.91192 8.57815 6.66952C9.38135 7.15891 10.4285 6.72517 10.6504 5.81117Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("circle",{cx:"12",cy:"12",r:"2.5",stroke:"currentColor","stroke-width":"1.5"})])};ce.props=["size"];const Ve=o=>{const t=o.size??24;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M8 6L8 18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M16 18L16 6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};Ve.props=["size"];const De=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M17.75 10.701C18.75 11.2783 18.75 12.7217 17.75 13.299L8.75 18.4952C7.75 19.0725 6.5 18.3509 6.5 17.1962L6.5 6.80384C6.5 5.64914 7.75 4.92746 8.75 5.50481L17.75 10.701Z",stroke:"currentColor","stroke-width":"1.5"})])};De.props=["size"];const ue=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M13.5 4C14.7426 4 15.75 5.00736 15.75 6.25V7H18.5C18.9142 7 19.25 7.33579 19.25 7.75C19.25 8.16421 18.9142 8.5 18.5 8.5H17.9678L17.6328 16.2217C17.61 16.7475 17.5912 17.1861 17.5469 17.543C17.5015 17.9087 17.4225 18.2506 17.2461 18.5723C16.9747 19.0671 16.5579 19.4671 16.0518 19.7168C15.7227 19.8791 15.3772 19.9422 15.0098 19.9717C14.6514 20.0004 14.2126 20 13.6865 20H10.3135C9.78735 20 9.34856 20.0004 8.99023 19.9717C8.62278 19.9422 8.27729 19.8791 7.94824 19.7168C7.44205 19.4671 7.02532 19.0671 6.75391 18.5723C6.57751 18.2506 6.49853 17.9087 6.45312 17.543C6.40883 17.1861 6.39005 16.7475 6.36719 16.2217L6.03223 8.5H5.5C5.08579 8.5 4.75 8.16421 4.75 7.75C4.75 7.33579 5.08579 7 5.5 7H8.25V6.25C8.25 5.00736 9.25736 4 10.5 4H13.5ZM7.86621 16.1562C7.89013 16.7063 7.90624 17.0751 7.94141 17.3584C7.97545 17.6326 8.02151 17.7644 8.06934 17.8516C8.19271 18.0763 8.38239 18.2577 8.6123 18.3711C8.70153 18.4151 8.83504 18.4545 9.11035 18.4766C9.39482 18.4994 9.76335 18.5 10.3135 18.5H13.6865C14.2367 18.5 14.6052 18.4994 14.8896 18.4766C15.165 18.4545 15.2985 18.4151 15.3877 18.3711C15.6176 18.2577 15.8073 18.0763 15.9307 17.8516C15.9785 17.7644 16.0245 17.6326 16.0586 17.3584C16.0938 17.0751 16.1099 16.7063 16.1338 16.1562L16.4668 8.5H7.5332L7.86621 16.1562ZM9.97656 10.75C10.3906 10.7371 10.7371 11.0626 10.75 11.4766L10.875 15.4766C10.8879 15.8906 10.5624 16.2371 10.1484 16.25C9.73443 16.2629 9.38794 15.9374 9.375 15.5234L9.25 11.5234C9.23706 11.1094 9.56255 10.7629 9.97656 10.75ZM14.0244 10.75C14.4384 10.7635 14.7635 11.1105 14.75 11.5244L14.6201 15.5244C14.6066 15.9384 14.2596 16.2634 13.8457 16.25C13.4317 16.2365 13.1067 15.8896 13.1201 15.4756L13.251 11.4756C13.2645 11.0617 13.6105 10.7366 14.0244 10.75ZM10.5 5.5C10.0858 5.5 9.75 5.83579 9.75 6.25V7H14.25V6.25C14.25 5.83579 13.9142 5.5 13.5 5.5H10.5Z",fill:"currentColor"})])};ue.props=["size"];const de=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("circle",{cx:"12",cy:"12",r:"4",stroke:"currentColor","stroke-width":"1.5"}),e.h("path",{d:"M12 5V3",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M12 21V19",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M16.95 7.05L18.36 5.64",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M5.64 18.36L7.05 16.95",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M19 12H21",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M3 12H5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M16.95 16.95L18.36 18.36",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M5.64 5.64L7.05 7.05",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};de.props=["size"];const pe=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M21 12.79A9 9 0 1111.21 3a7 7 0 009.79 9.79z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};pe.props=["size"];const Pe=o=>{const t=o.size??24;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M15 10L11 14.25L9.25 12.25",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};Pe.props=["size"];const je=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M16.25 16.25L7.75 7.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M7.75 16.25L16.25 7.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};je.props=["size"];const Q=o=>{const t=o.size??12;return e.h("svg",{width:t,height:t,viewBox:"0 0 12 12",fill:"none"},[e.h("path",{d:"M9 3L3 9M3 3L9 9",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};Q.props=["size"];const He=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M4.91516 12.7108C4.63794 12.2883 4.63705 11.7565 4.91242 11.3328C5.84146 9.9033 8.30909 6.74994 12 6.74994C15.6909 6.74994 18.1585 9.9033 19.0876 11.3328C19.3629 11.7565 19.3621 12.2883 19.0848 12.7108C18.1537 14.13 15.6873 17.2499 12 17.2499C8.31272 17.2499 5.8463 14.13 4.91516 12.7108Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M9 12H15",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};He.props=["size"];const Ze=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M9.25 5.75C9.80228 5.75 10.25 6.19772 10.25 6.75L10.25 17.25C10.25 17.8023 9.80228 18.25 9.25 18.25L6.75 18.25C6.19772 18.25 5.75 17.8023 5.75 17.25L5.75 6.75C5.75 6.19772 6.19772 5.75 6.75 5.75L9.25 5.75Z",stroke:"currentColor","stroke-width":"1.5"}),e.h("path",{d:"M17.25 5.75C17.8023 5.75 18.25 6.19772 18.25 6.75L18.25 17.25C18.25 17.8023 17.8023 18.25 17.25 18.25L14.75 18.25C14.1977 18.25 13.75 17.8023 13.75 17.25L13.75 6.75C13.75 6.19772 14.1977 5.75 14.75 5.75L17.25 5.75Z",stroke:"currentColor","stroke-width":"1.5"})])};Ze.props=["size"];const Oe=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o.style},[e.h("path",{d:"M18.8875 19.25L19.6112 19.0533C19.6823 19.3148 19.6068 19.5943 19.4137 19.7844C19.2206 19.9746 18.9399 20.0457 18.6795 19.9706L18.8875 19.25ZM14.9631 18.244L15.263 18.9314L14.9631 18.244ZM18.0914 15.6309L17.4669 15.2156L18.0914 15.6309ZM4.75 11.8041H5.5C5.5 15.2664 8.39065 18.1081 12 18.1081V18.8581V19.6081C7.60123 19.6081 4 16.1334 4 11.8041H4.75ZM19.25 11.8041H18.5C18.5 8.34166 15.6094 5.5 12 5.5V4.75V4C16.3988 4 20 7.47476 20 11.8041H19.25ZM12 4.75V5.5C8.39065 5.5 5.5 8.34166 5.5 11.8041H4.75H4C4 7.47476 7.60123 4 12 4V4.75ZM18.0914 15.6309L17.4669 15.2156C18.1213 14.2315 18.5 13.0612 18.5 11.8041H19.25H20C20 13.3681 19.5276 14.8257 18.716 16.0462L18.0914 15.6309ZM18.8875 19.25L18.1638 19.4467L17.2953 16.2517L18.019 16.055L18.7428 15.8583L19.6112 19.0533L18.8875 19.25ZM12 18.8581V18.1081C12.9509 18.1081 13.8518 17.9105 14.6632 17.5565L14.9631 18.244L15.263 18.9314C14.2652 19.3667 13.1603 19.6081 12 19.6081V18.8581ZM15.3144 18.2188L15.5224 17.4982L19.0955 18.5294L18.8875 19.25L18.6795 19.9706L15.1064 18.9394L15.3144 18.2188ZM14.9631 18.244L14.6632 17.5565C14.925 17.4423 15.2286 17.4134 15.5224 17.4982L15.3144 18.2188L15.1064 18.9394C15.1677 18.957 15.223 18.9489 15.263 18.9314L14.9631 18.244ZM18.0914 15.6309L18.716 16.0462C18.7451 16.0024 18.7636 15.9351 18.7428 15.8583L18.019 16.055L17.2953 16.2517C17.1957 15.8853 17.2716 15.5093 17.4669 15.2156L18.0914 15.6309Z",fill:"currentColor"}),e.h("circle",{cx:"15",cy:"11.75",r:"1",fill:"currentColor"}),e.h("circle",{cx:"12",cy:"11.75",r:"1",fill:"currentColor"}),e.h("circle",{cx:"9",cy:"11.75",r:"1",fill:"currentColor"})])};Oe.props=["size","style"];const Re=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("g",{"clip-path":"url(#clip0_2_45)"},[e.h("path",{d:"M16.25 8.75L10 15.25L7.25 12.25",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})]),e.h("defs",{},[e.h("clipPath",{id:"clip0_2_45"},[e.h("rect",{width:"24",height:"24",fill:"white"})])])])};Re.props=["size"];const Fe=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("g",{"clip-path":"url(#clip0_2_37)"},[e.h("path",{d:"M17.5962 7.75L9.42308 16.25L6.15385 12.6538",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})]),e.h("defs",{},[e.h("clipPath",{id:"clip0_2_37"},[e.h("rect",{width:"24",height:"24",fill:"white"})])])])};Fe.props=["size"];const We=o=>{const t=o.size??20,a=o.color??"#4C74FF";return e.h("svg",{width:t,height:t,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.h("style",{},`
18
+ `),e.h("path",{class:"check-path-animated",d:"M3.9375 7L6.125 9.1875L10.5 4.8125",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};re.props=["size"];const qe=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M4.75 11.25C4.75 10.4216 5.42157 9.75 6.25 9.75H12.75C13.5784 9.75 14.25 10.4216 14.25 11.25V17.75C14.25 18.5784 13.5784 19.25 12.75 19.25H6.25C5.42157 19.25 4.75 18.5784 4.75 17.75V11.25Z",stroke:"currentColor","stroke-width":"1.5"}),e.h("path",{d:"M17.25 14.25H17.75C18.5784 14.25 19.25 13.5784 19.25 12.75V6.25C19.25 5.42157 18.5784 4.75 17.75 4.75H11.25C10.4216 4.75 9.75 5.42157 9.75 6.25V6.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};qe.props=["size"];const fe=o=>{const t=o.size??24,s=o.copied??!1;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("style",{},".copy-icon, .check-icon { transition: opacity 0.2s ease, transform 0.2s ease; }"),e.h("g",{class:"copy-icon",style:{opacity:s?0:1,transform:s?"scale(0.8)":"scale(1)",transformOrigin:"center"}},[e.h("path",{d:"M4.75 11.25C4.75 10.4216 5.42157 9.75 6.25 9.75H12.75C13.5784 9.75 14.25 10.4216 14.25 11.25V17.75C14.25 18.5784 13.5784 19.25 12.75 19.25H6.25C5.42157 19.25 4.75 18.5784 4.75 17.75V11.25Z",stroke:"currentColor","stroke-width":"1.5"}),e.h("path",{d:"M17.25 14.25H17.75C18.5784 14.25 19.25 13.5784 19.25 12.75V6.25C19.25 5.42157 18.5784 4.75 17.75 4.75H11.25C10.4216 4.75 9.75 5.42157 9.75 6.25V6.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})]),e.h("g",{class:"check-icon",style:{opacity:s?1:0,transform:s?"scale(1)":"scale(0.8)",transformOrigin:"center"}},[e.h("path",{d:"M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M15 10L11 14.25L9.25 12.25",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])])};fe.props=["size","copied"];const Ge=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M4.91516 12.7108C4.63794 12.2883 4.63705 11.7565 4.91242 11.3328C5.84146 9.9033 8.30909 6.74994 12 6.74994C15.6909 6.74994 18.1585 9.9033 19.0876 11.3328C19.3629 11.7565 19.3621 12.2883 19.0848 12.7108C18.1537 14.13 15.6873 17.2499 12 17.2499C8.31272 17.2499 5.8463 14.13 4.91516 12.7108Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M12 14.25C13.2426 14.25 14.25 13.2426 14.25 12C14.25 10.7574 13.2426 9.75 12 9.75C10.7574 9.75 9.75 10.7574 9.75 12C9.75 13.2426 10.7574 14.25 12 14.25Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};Ge.props=["size"];const Ke=o=>{const t=o.size??24;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M3.91752 12.7539C3.65127 12.2996 3.65037 11.7515 3.9149 11.2962C4.9042 9.59346 7.72688 5.49994 12 5.49994C16.2731 5.49994 19.0958 9.59346 20.0851 11.2962C20.3496 11.7515 20.3487 12.2996 20.0825 12.7539C19.0908 14.4459 16.2694 18.4999 12 18.4999C7.73064 18.4999 4.90918 14.4459 3.91752 12.7539Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M12 14.8261C13.5608 14.8261 14.8261 13.5608 14.8261 12C14.8261 10.4392 13.5608 9.17392 12 9.17392C10.4392 9.17392 9.17391 10.4392 9.17391 12C9.17391 13.5608 10.4392 14.8261 12 14.8261Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};Ke.props=["size"];const Qe=o=>{const t=o.size??24;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M18.6025 9.28503C18.9174 8.9701 19.4364 8.99481 19.7015 9.35271C20.1484 9.95606 20.4943 10.507 20.7342 10.9199C21.134 11.6086 21.1329 12.4454 20.7303 13.1328C20.2144 14.013 19.2151 15.5225 17.7723 16.8193C16.3293 18.1162 14.3852 19.2497 12.0008 19.25C11.4192 19.25 10.8638 19.1823 10.3355 19.0613C9.77966 18.934 9.63498 18.2525 10.0382 17.8493C10.2412 17.6463 10.5374 17.573 10.8188 17.6302C11.1993 17.7076 11.5935 17.75 12.0008 17.75C13.8848 17.7497 15.4867 16.8568 16.7693 15.7041C18.0522 14.5511 18.9606 13.1867 19.4363 12.375C19.5656 12.1543 19.5659 11.8943 19.4373 11.6729C19.2235 11.3049 18.921 10.8242 18.5364 10.3003C18.3085 9.98991 18.3302 9.5573 18.6025 9.28503ZM12.0008 4.75C12.5814 4.75006 13.1358 4.81803 13.6632 4.93953C14.2182 5.06741 14.362 5.74812 13.9593 6.15091C13.7558 6.35435 13.4589 6.42748 13.1771 6.36984C12.7983 6.29239 12.4061 6.25006 12.0008 6.25C10.1167 6.25 8.51415 7.15145 7.23028 8.31543C5.94678 9.47919 5.03918 10.8555 4.56426 11.6729C4.43551 11.8945 4.43582 12.1542 4.56524 12.375C4.77587 12.7343 5.07189 13.2012 5.44718 13.7105C5.67623 14.0213 5.65493 14.4552 5.38193 14.7282C5.0671 15.0431 4.54833 15.0189 4.28292 14.6614C3.84652 14.0736 3.50813 13.5369 3.27129 13.1328C2.86831 12.4451 2.86717 11.6088 3.26739 10.9199C3.78185 10.0345 4.77959 8.51239 6.22247 7.2041C7.66547 5.89584 9.61202 4.75 12.0008 4.75Z",fill:"currentColor"}),e.h("path",{d:"M5 19L19 5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};Qe.props=["size"];const ge=o=>{const t=o.size??24,s=o.isOpen??!0;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("style",{},".eye-open, .eye-closed { transition: opacity 0.2s ease; }"),e.h("g",{class:"eye-open",style:{opacity:s?1:0}},[e.h("path",{d:"M3.91752 12.7539C3.65127 12.2996 3.65037 11.7515 3.9149 11.2962C4.9042 9.59346 7.72688 5.49994 12 5.49994C16.2731 5.49994 19.0958 9.59346 20.0851 11.2962C20.3496 11.7515 20.3487 12.2996 20.0825 12.7539C19.0908 14.4459 16.2694 18.4999 12 18.4999C7.73064 18.4999 4.90918 14.4459 3.91752 12.7539Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M12 14.8261C13.5608 14.8261 14.8261 13.5608 14.8261 12C14.8261 10.4392 13.5608 9.17392 12 9.17392C10.4392 9.17392 9.17391 10.4392 9.17391 12C9.17391 13.5608 10.4392 14.8261 12 14.8261Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})]),e.h("g",{class:"eye-closed",style:{opacity:s?0:1}},[e.h("path",{d:"M18.6025 9.28503C18.9174 8.9701 19.4364 8.99481 19.7015 9.35271C20.1484 9.95606 20.4943 10.507 20.7342 10.9199C21.134 11.6086 21.1329 12.4454 20.7303 13.1328C20.2144 14.013 19.2151 15.5225 17.7723 16.8193C16.3293 18.1162 14.3852 19.2497 12.0008 19.25C11.4192 19.25 10.8638 19.1823 10.3355 19.0613C9.77966 18.934 9.63498 18.2525 10.0382 17.8493C10.2412 17.6463 10.5374 17.573 10.8188 17.6302C11.1993 17.7076 11.5935 17.75 12.0008 17.75C13.8848 17.7497 15.4867 16.8568 16.7693 15.7041C18.0522 14.5511 18.9606 13.1867 19.4363 12.375C19.5656 12.1543 19.5659 11.8943 19.4373 11.6729C19.2235 11.3049 18.921 10.8242 18.5364 10.3003C18.3085 9.98991 18.3302 9.5573 18.6025 9.28503ZM12.0008 4.75C12.5814 4.75006 13.1358 4.81803 13.6632 4.93953C14.2182 5.06741 14.362 5.74812 13.9593 6.15091C13.7558 6.35435 13.4589 6.42748 13.1771 6.36984C12.7983 6.29239 12.4061 6.25006 12.0008 6.25C10.1167 6.25 8.51415 7.15145 7.23028 8.31543C5.94678 9.47919 5.03918 10.8555 4.56426 11.6729C4.43551 11.8945 4.43582 12.1542 4.56524 12.375C4.77587 12.7343 5.07189 13.2012 5.44718 13.7105C5.67623 14.0213 5.65493 14.4552 5.38193 14.7282C5.0671 15.0431 4.54833 15.0189 4.28292 14.6614C3.84652 14.0736 3.50813 13.5369 3.27129 13.1328C2.86831 12.4451 2.86717 11.6088 3.26739 10.9199C3.78185 10.0345 4.77959 8.51239 6.22247 7.2041C7.66547 5.89584 9.61202 4.75 12.0008 4.75Z",fill:"currentColor"}),e.h("path",{d:"M5 19L19 5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])])};ge.props=["size","isOpen"];const Ce=o=>{const t=o.size??24,s=o.isPaused??!1;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("style",{},".pause-bar, .play-triangle { transition: opacity 0.15s ease; }"),e.h("path",{class:"pause-bar",d:"M8 6L8 18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round",style:{opacity:s?0:1}}),e.h("path",{class:"pause-bar",d:"M16 18L16 6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round",style:{opacity:s?0:1}}),e.h("path",{class:"play-triangle",d:"M17.75 10.701C18.75 11.2783 18.75 12.7217 17.75 13.299L8.75 18.4952C7.75 19.0725 6.5 18.3509 6.5 17.1962L6.5 6.80384C6.5 5.64914 7.75 4.92746 8.75 5.50481L17.75 10.701Z",stroke:"currentColor","stroke-width":"1.5",style:{opacity:s?1:0}})])};Ce.props=["size","isPaused"];const ve=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M10.6504 5.81117C10.9939 4.39628 13.0061 4.39628 13.3496 5.81117C13.5715 6.72517 14.6187 7.15891 15.4219 6.66952C16.6652 5.91193 18.0881 7.33479 17.3305 8.57815C16.8411 9.38134 17.2748 10.4285 18.1888 10.6504C19.6037 10.9939 19.6037 13.0061 18.1888 13.3496C17.2748 13.5715 16.8411 14.6187 17.3305 15.4219C18.0881 16.6652 16.6652 18.0881 15.4219 17.3305C14.6187 16.8411 13.5715 17.2748 13.3496 18.1888C13.0061 19.6037 10.9939 19.6037 10.6504 18.1888C10.4285 17.2748 9.38135 16.8411 8.57815 17.3305C7.33479 18.0881 5.91193 16.6652 6.66952 15.4219C7.15891 14.6187 6.72517 13.5715 5.81117 13.3496C4.39628 13.0061 4.39628 10.9939 5.81117 10.6504C6.72517 10.4285 7.15891 9.38134 6.66952 8.57815C5.91193 7.33479 7.33479 5.91192 8.57815 6.66952C9.38135 7.15891 10.4285 6.72517 10.6504 5.81117Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("circle",{cx:"12",cy:"12",r:"2.5",stroke:"currentColor","stroke-width":"1.5"})])};ve.props=["size"];const Je=o=>{const t=o.size??24;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M8 6L8 18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M16 18L16 6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};Je.props=["size"];const et=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M17.75 10.701C18.75 11.2783 18.75 12.7217 17.75 13.299L8.75 18.4952C7.75 19.0725 6.5 18.3509 6.5 17.1962L6.5 6.80384C6.5 5.64914 7.75 4.92746 8.75 5.50481L17.75 10.701Z",stroke:"currentColor","stroke-width":"1.5"})])};et.props=["size"];const ye=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M13.5 4C14.7426 4 15.75 5.00736 15.75 6.25V7H18.5C18.9142 7 19.25 7.33579 19.25 7.75C19.25 8.16421 18.9142 8.5 18.5 8.5H17.9678L17.6328 16.2217C17.61 16.7475 17.5912 17.1861 17.5469 17.543C17.5015 17.9087 17.4225 18.2506 17.2461 18.5723C16.9747 19.0671 16.5579 19.4671 16.0518 19.7168C15.7227 19.8791 15.3772 19.9422 15.0098 19.9717C14.6514 20.0004 14.2126 20 13.6865 20H10.3135C9.78735 20 9.34856 20.0004 8.99023 19.9717C8.62278 19.9422 8.27729 19.8791 7.94824 19.7168C7.44205 19.4671 7.02532 19.0671 6.75391 18.5723C6.57751 18.2506 6.49853 17.9087 6.45312 17.543C6.40883 17.1861 6.39005 16.7475 6.36719 16.2217L6.03223 8.5H5.5C5.08579 8.5 4.75 8.16421 4.75 7.75C4.75 7.33579 5.08579 7 5.5 7H8.25V6.25C8.25 5.00736 9.25736 4 10.5 4H13.5ZM7.86621 16.1562C7.89013 16.7063 7.90624 17.0751 7.94141 17.3584C7.97545 17.6326 8.02151 17.7644 8.06934 17.8516C8.19271 18.0763 8.38239 18.2577 8.6123 18.3711C8.70153 18.4151 8.83504 18.4545 9.11035 18.4766C9.39482 18.4994 9.76335 18.5 10.3135 18.5H13.6865C14.2367 18.5 14.6052 18.4994 14.8896 18.4766C15.165 18.4545 15.2985 18.4151 15.3877 18.3711C15.6176 18.2577 15.8073 18.0763 15.9307 17.8516C15.9785 17.7644 16.0245 17.6326 16.0586 17.3584C16.0938 17.0751 16.1099 16.7063 16.1338 16.1562L16.4668 8.5H7.5332L7.86621 16.1562ZM9.97656 10.75C10.3906 10.7371 10.7371 11.0626 10.75 11.4766L10.875 15.4766C10.8879 15.8906 10.5624 16.2371 10.1484 16.25C9.73443 16.2629 9.38794 15.9374 9.375 15.5234L9.25 11.5234C9.23706 11.1094 9.56255 10.7629 9.97656 10.75ZM14.0244 10.75C14.4384 10.7635 14.7635 11.1105 14.75 11.5244L14.6201 15.5244C14.6066 15.9384 14.2596 16.2634 13.8457 16.25C13.4317 16.2365 13.1067 15.8896 13.1201 15.4756L13.251 11.4756C13.2645 11.0617 13.6105 10.7366 14.0244 10.75ZM10.5 5.5C10.0858 5.5 9.75 5.83579 9.75 6.25V7H14.25V6.25C14.25 5.83579 13.9142 5.5 13.5 5.5H10.5Z",fill:"currentColor"})])};ye.props=["size"];const ke=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("circle",{cx:"12",cy:"12",r:"4",stroke:"currentColor","stroke-width":"1.5"}),e.h("path",{d:"M12 5V3",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M12 21V19",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M16.95 7.05L18.36 5.64",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M5.64 18.36L7.05 16.95",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M19 12H21",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M3 12H5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M16.95 16.95L18.36 18.36",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"}),e.h("path",{d:"M5.64 5.64L7.05 7.05",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};ke.props=["size"];const we=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M21 12.79A9 9 0 1111.21 3a7 7 0 009.79 9.79z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};we.props=["size"];const tt=o=>{const t=o.size??24;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M15 10L11 14.25L9.25 12.25",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};tt.props=["size"];const nt=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M16.25 16.25L7.75 7.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M7.75 16.25L16.25 7.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};nt.props=["size"];const ae=o=>{const t=o.size??12;return e.h("svg",{width:t,height:t,viewBox:"0 0 12 12",fill:"none"},[e.h("path",{d:"M9 3L3 9M3 3L9 9",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])};ae.props=["size"];const ot=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M4.91516 12.7108C4.63794 12.2883 4.63705 11.7565 4.91242 11.3328C5.84146 9.9033 8.30909 6.74994 12 6.74994C15.6909 6.74994 18.1585 9.9033 19.0876 11.3328C19.3629 11.7565 19.3621 12.2883 19.0848 12.7108C18.1537 14.13 15.6873 17.2499 12 17.2499C8.31272 17.2499 5.8463 14.13 4.91516 12.7108Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e.h("path",{d:"M9 12H15",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})])};ot.props=["size"];const lt=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("path",{d:"M9.25 5.75C9.80228 5.75 10.25 6.19772 10.25 6.75L10.25 17.25C10.25 17.8023 9.80228 18.25 9.25 18.25L6.75 18.25C6.19772 18.25 5.75 17.8023 5.75 17.25L5.75 6.75C5.75 6.19772 6.19772 5.75 6.75 5.75L9.25 5.75Z",stroke:"currentColor","stroke-width":"1.5"}),e.h("path",{d:"M17.25 5.75C17.8023 5.75 18.25 6.19772 18.25 6.75L18.25 17.25C18.25 17.8023 17.8023 18.25 17.25 18.25L14.75 18.25C14.1977 18.25 13.75 17.8023 13.75 17.25L13.75 6.75C13.75 6.19772 14.1977 5.75 14.75 5.75L17.25 5.75Z",stroke:"currentColor","stroke-width":"1.5"})])};lt.props=["size"];const rt=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:o.style},[e.h("path",{d:"M18.8875 19.25L19.6112 19.0533C19.6823 19.3148 19.6068 19.5943 19.4137 19.7844C19.2206 19.9746 18.9399 20.0457 18.6795 19.9706L18.8875 19.25ZM14.9631 18.244L15.263 18.9314L14.9631 18.244ZM18.0914 15.6309L17.4669 15.2156L18.0914 15.6309ZM4.75 11.8041H5.5C5.5 15.2664 8.39065 18.1081 12 18.1081V18.8581V19.6081C7.60123 19.6081 4 16.1334 4 11.8041H4.75ZM19.25 11.8041H18.5C18.5 8.34166 15.6094 5.5 12 5.5V4.75V4C16.3988 4 20 7.47476 20 11.8041H19.25ZM12 4.75V5.5C8.39065 5.5 5.5 8.34166 5.5 11.8041H4.75H4C4 7.47476 7.60123 4 12 4V4.75ZM18.0914 15.6309L17.4669 15.2156C18.1213 14.2315 18.5 13.0612 18.5 11.8041H19.25H20C20 13.3681 19.5276 14.8257 18.716 16.0462L18.0914 15.6309ZM18.8875 19.25L18.1638 19.4467L17.2953 16.2517L18.019 16.055L18.7428 15.8583L19.6112 19.0533L18.8875 19.25ZM12 18.8581V18.1081C12.9509 18.1081 13.8518 17.9105 14.6632 17.5565L14.9631 18.244L15.263 18.9314C14.2652 19.3667 13.1603 19.6081 12 19.6081V18.8581ZM15.3144 18.2188L15.5224 17.4982L19.0955 18.5294L18.8875 19.25L18.6795 19.9706L15.1064 18.9394L15.3144 18.2188ZM14.9631 18.244L14.6632 17.5565C14.925 17.4423 15.2286 17.4134 15.5224 17.4982L15.3144 18.2188L15.1064 18.9394C15.1677 18.957 15.223 18.9489 15.263 18.9314L14.9631 18.244ZM18.0914 15.6309L18.716 16.0462C18.7451 16.0024 18.7636 15.9351 18.7428 15.8583L18.019 16.055L17.2953 16.2517C17.1957 15.8853 17.2716 15.5093 17.4669 15.2156L18.0914 15.6309Z",fill:"currentColor"}),e.h("circle",{cx:"15",cy:"11.75",r:"1",fill:"currentColor"}),e.h("circle",{cx:"12",cy:"11.75",r:"1",fill:"currentColor"}),e.h("circle",{cx:"9",cy:"11.75",r:"1",fill:"currentColor"})])};rt.props=["size","style"];const at=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("g",{"clip-path":"url(#clip0_2_45)"},[e.h("path",{d:"M16.25 8.75L10 15.25L7.25 12.25",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})]),e.h("defs",{},[e.h("clipPath",{id:"clip0_2_45"},[e.h("rect",{width:"24",height:"24",fill:"white"})])])])};at.props=["size"];const st=o=>{const t=o.size??16;return e.h("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none"},[e.h("g",{"clip-path":"url(#clip0_2_37)"},[e.h("path",{d:"M17.5962 7.75L9.42308 16.25L6.15385 12.6538",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})]),e.h("defs",{},[e.h("clipPath",{id:"clip0_2_37"},[e.h("rect",{width:"24",height:"24",fill:"white"})])])])};st.props=["size"];const it=o=>{const t=o.size??20,s=o.color??"#4C74FF";return e.h("svg",{width:t,height:t,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.h("style",{},`
19
19
  @keyframes bunnyEnterEar { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }
20
20
  @keyframes bunnyEnterFace { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }
21
21
  @keyframes bunnyEnterEye { 0% { opacity: 0; transform: scale(0.5); } 100% { opacity: 1; transform: scale(1); } }
@@ -31,23 +31,48 @@
31
31
  svg:hover .bunny-eye-left, svg:hover .bunny-eye-right { opacity: 0; transition: opacity 0.2s ease; }
32
32
  .bunny-happy-face { opacity: 0; transition: opacity 0.2s ease; }
33
33
  svg:hover .bunny-happy-face { opacity: 1; }
34
- `),e.h("rect",{width:"28",height:"28",fill:"transparent"}),e.h("path",{class:"bunny-ear-left",d:"M3.738 10.2164L7.224 2.007H9.167L5.676 10.2164H3.738ZM10.791 6.42705C10.791 5.90346 10.726 5.42764 10.596 4.99959C10.47 4.57155 10.292 4.16643 10.063 3.78425C9.833 3.39825 9.56 3.01797 9.243 2.64343C8.926 2.26507 8.767 2.07589 8.767 2.07589L10.24 0.957996C10.24 0.957996 10.433 1.17203 10.819 1.60007C11.209 2.0243 11.559 2.49056 11.869 2.99886C12.178 3.50717 12.413 4.04222 12.574 4.60403C12.734 5.16584 12.814 5.77352 12.814 6.42705C12.814 7.10734 12.73 7.7303 12.562 8.29593C12.394 8.85774 12.153 9.3966 11.84 9.9126C11.526 10.4247 11.181 10.8833 10.802 11.2884C10.428 11.6974 10.24 11.9018 10.24 11.9018L8.767 10.7839C8.767 10.7839 8.924 10.5948 9.237 10.2164C9.554 9.8419 9.83 9.4597 10.063 9.06985C10.3 8.6762 10.479 8.26726 10.602 7.84304C10.728 7.41499 10.791 6.943 10.791 6.42705Z",fill:a}),e.h("path",{class:"bunny-ear-right",d:"M15.003 10.2164L18.489 2.007H20.432L16.941 10.2164H15.003ZM22.056 6.42705C22.056 5.90346 21.991 5.42764 21.861 4.99959C21.735 4.57155 21.557 4.16643 21.328 3.78425C21.098 3.39825 20.825 3.01797 20.508 2.64343C20.191 2.26507 20.032 2.07589 20.032 2.07589L21.505 0.957996C21.505 0.957996 21.698 1.17203 22.084 1.60007C22.474 2.0243 22.824 2.49056 23.133 2.99886C23.443 3.50717 23.678 4.04222 23.839 4.60403C23.999 5.16584 24.079 5.77352 24.079 6.42705C24.079 7.10734 23.995 7.7303 23.827 8.29593C23.659 8.85774 23.418 9.3966 23.105 9.9126C22.791 10.4247 22.445 10.8833 22.067 11.2884C21.693 11.6974 21.505 11.9018 21.505 11.9018L20.032 10.7839C20.032 10.7839 20.189 10.5948 20.502 10.2164C20.819 9.8419 21.094 9.4597 21.328 9.06985C21.565 8.6762 21.744 8.26726 21.866 7.84304C21.993 7.41499 22.056 6.943 22.056 6.42705Z",fill:a}),e.h("path",{class:"bunny-face",d:"M2.03 20.4328C2.03 20.9564 2.093 21.4322 2.219 21.8602C2.345 22.2883 2.523 22.6953 2.752 23.0813C2.981 23.4635 3.254 23.8419 3.572 24.2164C3.889 24.5948 4.047 24.7839 4.047 24.7839L2.574 25.9018C2.574 25.9018 2.379 25.6878 1.989 25.2598C1.603 24.8355 1.256 24.3693 0.946 23.861C0.636 23.3527 0.401 22.8176 0.241 22.2558C0.08 21.694 0 21.0863 0 20.4328C0 19.7525 0.084 19.1314 0.252 18.5696C0.421 18.004 0.661 17.4651 0.975 16.953C1.288 16.4371 1.632 15.9765 2.007 15.5714C2.385 15.1625 2.574 14.958 2.574 14.958L4.047 16.0759C4.047 16.0759 3.889 16.2651 3.572 16.6434C3.258 17.018 2.983 17.4021 2.746 17.7957C2.513 18.1855 2.335 18.5945 2.213 19.0225C2.091 19.4467 2.03 19.9168 2.03 20.4328ZM23.687 20.4271C23.687 19.9035 23.622 19.4276 23.492 18.9996C23.366 18.5715 23.188 18.1664 22.959 17.7843C22.729 17.3982 22.456 17.018 22.139 16.6434C21.822 16.2651 21.663 16.0759 21.663 16.0759L23.136 14.958C23.136 14.958 23.329 15.172 23.715 15.6001C24.105 16.0243 24.455 16.4906 24.765 16.9989C25.074 17.5072 25.309 18.0422 25.47 18.604C25.63 19.1658 25.71 19.7735 25.71 20.4271C25.71 21.1073 25.626 21.7303 25.458 22.2959C25.29 22.8577 25.049 23.3966 24.736 23.9126C24.422 24.4247 24.077 24.8833 23.698 25.2884C23.324 25.6974 23.136 25.9018 23.136 25.9018L21.663 24.7839C21.663 24.7839 21.82 24.5948 22.133 24.2164C22.45 23.8419 22.726 23.4597 22.959 23.0698C23.196 22.6762 23.375 22.2673 23.498 21.843C23.624 21.415 23.687 20.943 23.687 20.4271Z",fill:a}),e.h("circle",{class:"bunny-eye-left",cx:"8.277",cy:"20.466",r:"1.8",fill:a}),e.h("circle",{class:"bunny-eye-right",cx:"19.878",cy:"20.466",r:"1.8",fill:a}),e.h("text",{class:"bunny-happy-face",x:"14",y:"26","text-anchor":"middle","font-size":"12","font-weight":"bold",fill:a,"font-family":"system-ui, -apple-system, sans-serif"},"˃ ᵕ ˂")])};We.props=["size","color"];function Ye(o,t=4){const a=[];let n=o,s=0;for(;n&&s<t;){const m=n.tagName.toLowerCase();if(m==="html"||m==="body")break;let f=m;if(n.id)f=`#${n.id}`;else if(n.className&&typeof n.className=="string"){const v=n.className.split(/\s+/).find(p=>p.length>2&&!p.match(/^[a-z]{1,2}$/)&&!p.match(/[A-Z0-9]{5,}/));v&&(f=`.${v.split("_")[0]}`)}a.unshift(f),n=n.parentElement,s++}return a.join(" > ")}function J(o){var n,s,m,f,v,p,x,g;const t=Ye(o);if(o.dataset.element)return{name:o.dataset.element,path:t};const a=o.tagName.toLowerCase();if(["path","circle","rect","line","g"].includes(a)){const i=o.closest("svg");if(i){const w=i.parentElement;if(w)return{name:`graphic in ${J(w).name}`,path:t}}return{name:"graphic element",path:t}}if(a==="svg"){const i=o.parentElement;if((i==null?void 0:i.tagName.toLowerCase())==="button"){const w=(n=i.textContent)==null?void 0:n.trim();return{name:w?`icon in "${w}" button`:"button icon",path:t}}return{name:"icon",path:t}}if(a==="button"){const i=(s=o.textContent)==null?void 0:s.trim(),w=o.getAttribute("aria-label");return w?{name:`button [${w}]`,path:t}:{name:i?`button "${i.slice(0,25)}"`:"button",path:t}}if(a==="a"){const i=(m=o.textContent)==null?void 0:m.trim(),w=o.getAttribute("href");return i?{name:`link "${i.slice(0,25)}"`,path:t}:w?{name:`link to ${w.slice(0,30)}`,path:t}:{name:"link",path:t}}if(a==="input"){const i=o.getAttribute("type")||"text",w=o.getAttribute("placeholder"),y=o.getAttribute("name");return w?{name:`input "${w}"`,path:t}:y?{name:`input [${y}]`,path:t}:{name:`${i} input`,path:t}}if(["h1","h2","h3","h4","h5","h6"].includes(a)){const i=(f=o.textContent)==null?void 0:f.trim();return{name:i?`${a} "${i.slice(0,35)}"`:a,path:t}}if(a==="p"){const i=(v=o.textContent)==null?void 0:v.trim();return i?{name:`paragraph: "${i.slice(0,40)}${i.length>40?"...":""}"`,path:t}:{name:"paragraph",path:t}}if(a==="span"||a==="label"){const i=(p=o.textContent)==null?void 0:p.trim();return i&&i.length<40?{name:`"${i}"`,path:t}:{name:a,path:t}}if(a==="li"){const i=(x=o.textContent)==null?void 0:x.trim();return i&&i.length<40?{name:`list item: "${i.slice(0,35)}"`,path:t}:{name:"list item",path:t}}if(a==="blockquote")return{name:"blockquote",path:t};if(a==="code"){const i=(g=o.textContent)==null?void 0:g.trim();return i&&i.length<30?{name:`code: \`${i}\``,path:t}:{name:"code",path:t}}if(a==="pre")return{name:"code block",path:t};if(a==="img"){const i=o.getAttribute("alt");return{name:i?`image "${i.slice(0,30)}"`:"image",path:t}}if(a==="video")return{name:"video",path:t};if(["div","section","article","nav","header","footer","aside","main"].includes(a)){const i=o.className,w=o.getAttribute("role"),y=o.getAttribute("aria-label");if(y)return{name:`${a} [${y}]`,path:t};if(w)return{name:`${w}`,path:t};if(typeof i=="string"&&i){const S=i.split(/[\s_-]+/).map(C=>C.replace(/[A-Z0-9]{5,}.*$/,"")).filter(C=>C.length>2&&!/^[a-z]{1,2}$/.test(C)).slice(0,2);if(S.length>0)return{name:S.join(" "),path:t}}return{name:a==="div"?"container":a,path:t}}return{name:a,path:t}}function Xe(o){var m,f,v;const t=[],a=(m=o.textContent)==null?void 0:m.trim();a&&a.length<100&&t.push(a);const n=o.previousElementSibling;if(n){const p=(f=n.textContent)==null?void 0:f.trim();p&&p.length<50&&t.unshift(`[before: "${p.slice(0,40)}"]`)}const s=o.nextElementSibling;if(s){const p=(v=s.textContent)==null?void 0:v.trim();p&&p.length<50&&t.push(`[after: "${p.slice(0,40)}"]`)}return t.join(" ")}function tn(o){var a,n;if(o.dataset.element)return o.dataset.element;const t=o.tagName.toLowerCase();if(t==="path")return"path";if(t==="circle")return"circle";if(t==="rect")return"rectangle";if(t==="line")return"line";if(t==="ellipse")return"ellipse";if(t==="polygon")return"polygon";if(t==="g")return"group";if(t==="svg")return"svg";if(t==="button"){const s=(a=o.textContent)==null?void 0:a.trim();return s?`button "${s}"`:"button"}if(t==="input")return`input (${o.getAttribute("type")||"text"})`;if(t==="span"||t==="p"||t==="label"){const s=(n=o.textContent)==null?void 0:n.trim();return s&&s.length<30?`"${s}"`:"text"}if(t==="div"){const s=o.className;if(typeof s=="string"&&s){const m=s.split(/[\s_-]+/).map(f=>f.replace(/[A-Z0-9]{5,}.*$/,"")).filter(f=>f.length>2&&!/^[a-z]{1,2}$/.test(f)).slice(0,2);if(m.length>0)return m.join(" ")}return"container"}return t}function Ue(o){const t=o.parentElement;if(!t)return"";const a=Array.from(t.children).filter(p=>p!==o&&p instanceof HTMLElement);if(a.length===0)return"";const n=a.slice(0,4).map(p=>{var w;const x=p.tagName.toLowerCase(),g=p.className;let i="";if(typeof g=="string"&&g){const y=g.split(/\s+/).map(S=>S.replace(/[_][a-zA-Z0-9]{5,}.*$/,"")).find(S=>S.length>2&&!/^[a-z]{1,2}$/.test(S));y&&(i=`.${y}`)}if(x==="button"||x==="a"){const y=(w=p.textContent)==null?void 0:w.trim().slice(0,15);if(y)return`${x}${i} "${y}"`}return`${x}${i}`});let m=t.tagName.toLowerCase();if(typeof t.className=="string"&&t.className){const p=t.className.split(/\s+/).map(x=>x.replace(/[_][a-zA-Z0-9]{5,}.*$/,"")).find(x=>x.length>2&&!/^[a-z]{1,2}$/.test(x));p&&(m=`.${p}`)}const f=t.children.length,v=f>n.length+1?` (${f} total in ${m})`:"";return n.join(", ")+v}function qe(o){const t=o.className;return typeof t!="string"||!t?"":t.split(/\s+/).filter(n=>n.length>0).map(n=>{const s=n.match(/^([a-zA-Z][a-zA-Z0-9_-]*?)(?:_[a-zA-Z0-9]{5,})?$/);return s?s[1]:n}).filter((n,s,m)=>m.indexOf(n)===s).join(", ")}function nn(o){if(typeof window>"u")return"";const t=window.getComputedStyle(o),a=[],n=t.color,s=t.backgroundColor;n&&n!=="rgb(0, 0, 0)"&&a.push(`color: ${n}`),s&&s!=="rgba(0, 0, 0, 0)"&&s!=="transparent"&&a.push(`bg: ${s}`);const m=t.fontSize,f=t.fontWeight;m&&a.push(`font: ${m}`),f&&f!=="400"&&f!=="normal"&&a.push(`weight: ${f}`);const v=t.padding,p=t.margin;v&&v!=="0px"&&a.push(`padding: ${v}`),p&&p!=="0px"&&a.push(`margin: ${p}`);const x=t.display,g=t.position;x&&x!=="block"&&x!=="inline"&&a.push(`display: ${x}`),g&&g!=="static"&&a.push(`position: ${g}`);const i=t.borderRadius;return i&&i!=="0px"&&a.push(`radius: ${i}`),a.join(", ")}const Ge=new Set(["none","normal","auto","0px","rgba(0, 0, 0, 0)","transparent","static","visible"]),on=new Set(["p","span","h1","h2","h3","h4","h5","h6","label","li","td","th","blockquote","figcaption","caption","legend","dt","dd","pre","code","em","strong","b","i","a","time","cite","q"]),rn=new Set(["input","textarea","select"]),an=new Set(["img","video","canvas","svg"]),ln=new Set(["div","section","article","nav","header","footer","aside","main","ul","ol","form","fieldset"]);function Ke(o){if(typeof window>"u")return{};const t=window.getComputedStyle(o),a={},n=o.tagName.toLowerCase();let s;on.has(n)?s=["color","fontSize","fontWeight","fontFamily","lineHeight"]:n==="button"||n==="a"&&o.getAttribute("role")==="button"?s=["backgroundColor","color","padding","borderRadius","fontSize"]:rn.has(n)?s=["backgroundColor","color","padding","borderRadius","fontSize"]:an.has(n)?s=["width","height","objectFit","borderRadius"]:ln.has(n)?s=["display","padding","margin","gap","backgroundColor"]:s=["color","fontSize","margin","padding","backgroundColor"];for(const m of s){const f=m.replace(/([A-Z])/g,"-$1").toLowerCase(),v=t.getPropertyValue(f);v&&!Ge.has(v)&&(a[m]=v)}return a}const sn=["color","backgroundColor","borderColor","fontSize","fontWeight","fontFamily","lineHeight","letterSpacing","textAlign","width","height","padding","margin","border","borderRadius","display","position","top","right","bottom","left","zIndex","flexDirection","justifyContent","alignItems","gap","opacity","visibility","overflow","boxShadow","transform"];function Qe(o){if(typeof window>"u")return"";const t=window.getComputedStyle(o),a=[];for(const n of sn){const s=n.replace(/([A-Z])/g,"-$1").toLowerCase(),m=t.getPropertyValue(s);m&&!Ge.has(m)&&a.push(`${s}: ${m}`)}return a.join("; ")}function cn(o){if(!o)return;const t={},a=o.split(";").map(n=>n.trim()).filter(Boolean);for(const n of a){const s=n.indexOf(":");if(s>0){const m=n.slice(0,s).trim(),f=n.slice(s+1).trim();m&&f&&(t[m]=f)}}return Object.keys(t).length>0?t:void 0}function Je(o){const t=[],a=o.getAttribute("role"),n=o.getAttribute("aria-label"),s=o.getAttribute("aria-describedby"),m=o.getAttribute("tabindex"),f=o.getAttribute("aria-hidden");return a&&t.push(`role="${a}"`),n&&t.push(`aria-label="${n}"`),s&&t.push(`aria-describedby="${s}"`),m&&t.push(`tabindex=${m}`),f==="true"&&t.push("aria-hidden"),o.matches("a, button, input, select, textarea, [tabindex]")&&t.push("focusable"),t.join(", ")}function et(o){const t=[];let a=o;for(;a&&a.tagName.toLowerCase()!=="html";){const n=a.tagName.toLowerCase();let s=n;if(a.id)s=`${n}#${a.id}`;else if(a.className&&typeof a.className=="string"){const m=a.className.split(/\s+/).map(f=>f.replace(/[_][a-zA-Z0-9]{5,}.*$/,"")).find(f=>f.length>2);m&&(s=`${n}.${m}`)}t.unshift(s),a=a.parentElement}return t.join(" > ")}const un="feedback-annotations-",dn=7;function W(o){return`${un}${o}`}function tt(o){if(typeof window>"u")return[];try{const t=localStorage.getItem(W(o));if(!t)return[];const a=JSON.parse(t),n=Date.now()-dn*24*60*60*1e3;return a.filter(s=>!s.timestamp||s.timestamp>n)}catch{return[]}}function nt(o,t){if(!(typeof window>"u"))try{localStorage.setItem(W(o),JSON.stringify(t))}catch{}}function pn(o){if(!(typeof window>"u"))try{localStorage.removeItem(W(o))}catch{}}const fn=["data-active"],mn=["disabled"],hn=["disabled","data-active"],Cn=["disabled"],gn=["title"],vn=["onClick"],yn=["title"],kn=["onMouseenter","onClick","onContextmenu"],ze=290,q=280,G=20,Ee=5,bn=e.defineComponent({__name:"Agentation",props:{accentColor:{default:"#3c82f7"},copyToClipboard:{type:Boolean,default:!0},lightMode:{type:Boolean,default:!1},zIndex:{default:2147483647},demoAnnotations:{default:()=>[]},demoDelay:{default:1e3},enableDemoMode:{type:Boolean,default:!1}},emits:["annotationAdd","annotationDelete","annotationUpdate","annotationsClear","copy"],setup(o,{emit:t}){let a=!1;const n=e.useCssModule(),s=[{value:"compact",label:"Compact"},{value:"standard",label:"Standard"},{value:"detailed",label:"Detailed"},{value:"forensic",label:"Forensic"}],m=[{value:"#3c82f7",label:"Blue"},{value:"#34c759",label:"Green"},{value:"#ff9500",label:"Orange"},{value:"#ff3b30",label:"Red"},{value:"#af52de",label:"Purple"}],f={outputDetail:"standard",annotationColor:"#3c82f7",autoClearAfterCopy:!1,freezeAnimations:!1},v=o,p=t,x=e.ref(!1),g=e.ref(!1),i=e.ref([]),w=e.ref(!0),y=e.ref(null),S=e.ref({x:0,y:0}),C=e.ref(null),z=e.ref(null),P=e.ref(!1),X=e.ref(!1),$=e.ref(null),k=e.ref(!0),b=e.ref(!1),_=e.ref(0),j=e.ref("standard"),I=e.ref(!1),ee=e.ref(!1),E=e.ref({...f}),A=e.ref(!1),B=e.ref(null),H=e.ref(!1),V=e.ref(null),fe=e.ref(0);let N=!1;const me=e.ref(null),he=e.ref(null),Y=typeof window<"u"?window.location.pathname:"/",U=e.computed(()=>i.value.length>0),rt=e.computed(()=>{if(!C.value)return{left:"0px",top:"0px"};const r=C.value.clientY,u=C.value.x/100*(typeof window<"u"?window.innerWidth:1e3),c=Math.max(q/2+G,Math.min((typeof window<"u"?window.innerWidth:1e3)-q/2-G,u)),h=typeof window<"u"?window.innerHeight:800;return r>h-ze?{left:`${c}px`,bottom:`${h-r+20}px`}:{left:`${c}px`,top:`${r+20}px`}}),at=e.computed(()=>{if(!z.value)return{left:"0px",top:"0px"};const r=z.value,l=r.isFixed?r.y:r.y-_.value,c=r.x/100*(typeof window<"u"?window.innerWidth:1e3),h=Math.max(q/2+G,Math.min((typeof window<"u"?window.innerWidth:1e3)-q/2-G,c)),d=typeof window<"u"?window.innerHeight:800;return l>d-ze?{left:`${h}px`,bottom:`${d-l+20}px`}:{left:`${h}px`,top:`${l+20}px`}});function lt(r){let l=r;for(;l&&l!==document.body;){const u=window.getComputedStyle(l);if(u.position==="fixed"||u.position==="sticky")return!0;l=l.parentElement}return!1}function st(r,l){const u=parseInt(r.slice(1,3),16),c=parseInt(r.slice(3,5),16),h=parseInt(r.slice(5,7),16);return`rgba(${u}, ${c}, ${h}, ${l})`}function it(r){const d=r.x/100*(typeof window<"u"?window.innerWidth:1e3),L=r.y,M={};(typeof window<"u"?window.innerHeight:800)-L-22-10<80&&(M.top="auto",M.bottom="calc(100% + 10px)");const T=d-200/2,D=10,R=typeof window<"u"?window.innerWidth:1e3;if(T<D){const F=D-T;M.left=`calc(50% + ${F}px)`}else if(T+200>R-D){const F=T+200-(R-D);M.left=`calc(50% - ${F}px)`}return M}function ct(r,l,u="standard"){if(r.length===0)return"";const c=typeof window<"u"?`${window.innerWidth}×${window.innerHeight}`:"unknown";let h=`## Page Feedback: ${l}
35
- `;return u!=="compact"&&(h+=`**Viewport:** ${c}
36
- `),h+=`
37
- `,r.forEach((d,L)=>{u==="compact"?(h+=`${L+1}. **${d.element}**: ${d.comment}`,d.selectedText&&(h+=` (re: "${d.selectedText.slice(0,30)}${d.selectedText.length>30?"...":""}")`),h+=`
38
- `):(h+=`### ${L+1}. ${d.element}
39
- `,h+=`**Location:** ${d.elementPath}
40
- `,d.selectedText&&(h+=`**Selected text:** "${d.selectedText}"
41
- `),h+=`**Feedback:** ${d.comment}
34
+ `),e.h("rect",{width:"28",height:"28",fill:"transparent"}),e.h("path",{class:"bunny-ear-left",d:"M3.738 10.2164L7.224 2.007H9.167L5.676 10.2164H3.738ZM10.791 6.42705C10.791 5.90346 10.726 5.42764 10.596 4.99959C10.47 4.57155 10.292 4.16643 10.063 3.78425C9.833 3.39825 9.56 3.01797 9.243 2.64343C8.926 2.26507 8.767 2.07589 8.767 2.07589L10.24 0.957996C10.24 0.957996 10.433 1.17203 10.819 1.60007C11.209 2.0243 11.559 2.49056 11.869 2.99886C12.178 3.50717 12.413 4.04222 12.574 4.60403C12.734 5.16584 12.814 5.77352 12.814 6.42705C12.814 7.10734 12.73 7.7303 12.562 8.29593C12.394 8.85774 12.153 9.3966 11.84 9.9126C11.526 10.4247 11.181 10.8833 10.802 11.2884C10.428 11.6974 10.24 11.9018 10.24 11.9018L8.767 10.7839C8.767 10.7839 8.924 10.5948 9.237 10.2164C9.554 9.8419 9.83 9.4597 10.063 9.06985C10.3 8.6762 10.479 8.26726 10.602 7.84304C10.728 7.41499 10.791 6.943 10.791 6.42705Z",fill:s}),e.h("path",{class:"bunny-ear-right",d:"M15.003 10.2164L18.489 2.007H20.432L16.941 10.2164H15.003ZM22.056 6.42705C22.056 5.90346 21.991 5.42764 21.861 4.99959C21.735 4.57155 21.557 4.16643 21.328 3.78425C21.098 3.39825 20.825 3.01797 20.508 2.64343C20.191 2.26507 20.032 2.07589 20.032 2.07589L21.505 0.957996C21.505 0.957996 21.698 1.17203 22.084 1.60007C22.474 2.0243 22.824 2.49056 23.133 2.99886C23.443 3.50717 23.678 4.04222 23.839 4.60403C23.999 5.16584 24.079 5.77352 24.079 6.42705C24.079 7.10734 23.995 7.7303 23.827 8.29593C23.659 8.85774 23.418 9.3966 23.105 9.9126C22.791 10.4247 22.445 10.8833 22.067 11.2884C21.693 11.6974 21.505 11.9018 21.505 11.9018L20.032 10.7839C20.032 10.7839 20.189 10.5948 20.502 10.2164C20.819 9.8419 21.094 9.4597 21.328 9.06985C21.565 8.6762 21.744 8.26726 21.866 7.84304C21.993 7.41499 22.056 6.943 22.056 6.42705Z",fill:s}),e.h("path",{class:"bunny-face",d:"M2.03 20.4328C2.03 20.9564 2.093 21.4322 2.219 21.8602C2.345 22.2883 2.523 22.6953 2.752 23.0813C2.981 23.4635 3.254 23.8419 3.572 24.2164C3.889 24.5948 4.047 24.7839 4.047 24.7839L2.574 25.9018C2.574 25.9018 2.379 25.6878 1.989 25.2598C1.603 24.8355 1.256 24.3693 0.946 23.861C0.636 23.3527 0.401 22.8176 0.241 22.2558C0.08 21.694 0 21.0863 0 20.4328C0 19.7525 0.084 19.1314 0.252 18.5696C0.421 18.004 0.661 17.4651 0.975 16.953C1.288 16.4371 1.632 15.9765 2.007 15.5714C2.385 15.1625 2.574 14.958 2.574 14.958L4.047 16.0759C4.047 16.0759 3.889 16.2651 3.572 16.6434C3.258 17.018 2.983 17.4021 2.746 17.7957C2.513 18.1855 2.335 18.5945 2.213 19.0225C2.091 19.4467 2.03 19.9168 2.03 20.4328ZM23.687 20.4271C23.687 19.9035 23.622 19.4276 23.492 18.9996C23.366 18.5715 23.188 18.1664 22.959 17.7843C22.729 17.3982 22.456 17.018 22.139 16.6434C21.822 16.2651 21.663 16.0759 21.663 16.0759L23.136 14.958C23.136 14.958 23.329 15.172 23.715 15.6001C24.105 16.0243 24.455 16.4906 24.765 16.9989C25.074 17.5072 25.309 18.0422 25.47 18.604C25.63 19.1658 25.71 19.7735 25.71 20.4271C25.71 21.1073 25.626 21.7303 25.458 22.2959C25.29 22.8577 25.049 23.3966 24.736 23.9126C24.422 24.4247 24.077 24.8833 23.698 25.2884C23.324 25.6974 23.136 25.9018 23.136 25.9018L21.663 24.7839C21.663 24.7839 21.82 24.5948 22.133 24.2164C22.45 23.8419 22.726 23.4597 22.959 23.0698C23.196 22.6762 23.375 22.2673 23.498 21.843C23.624 21.415 23.687 20.943 23.687 20.4271Z",fill:s}),e.h("circle",{class:"bunny-eye-left",cx:"8.277",cy:"20.466",r:"1.8",fill:s}),e.h("circle",{class:"bunny-eye-right",cx:"19.878",cy:"20.466",r:"1.8",fill:s}),e.h("text",{class:"bunny-happy-face",x:"14",y:"26","text-anchor":"middle","font-size":"12","font-weight":"bold",fill:s,"font-family":"system-ui, -apple-system, sans-serif"},"˃ ᵕ ˂")])};it.props=["size","color"];function ct(o,t=4){const s=[];let u=o,p=0;for(;u&&p<t;){const l=u.tagName.toLowerCase();if(l==="html"||l==="body")break;let g=l;if(u.id)g=`#${u.id}`;else if(u.className&&typeof u.className=="string"){const _=u.className.split(/\s+/).find(v=>v.length>2&&!v.match(/^[a-z]{1,2}$/)&&!v.match(/[A-Z0-9]{5,}/));_&&(g=`.${_.split("_")[0]}`)}s.unshift(g),u=u.parentElement,p++}return s.join(" > ")}function G(o){var u,p,l,g,_,v,z,E;const t=ct(o);if(o.dataset.element)return{name:o.dataset.element,path:t};const s=o.tagName.toLowerCase();if(["path","circle","rect","line","g"].includes(s)){const m=o.closest("svg");if(m){const C=m.parentElement;if(C)return{name:`graphic in ${G(C).name}`,path:t}}return{name:"graphic element",path:t}}if(s==="svg"){const m=o.parentElement;if((m==null?void 0:m.tagName.toLowerCase())==="button"){const C=(u=m.textContent)==null?void 0:u.trim();return{name:C?`icon in "${C}" button`:"button icon",path:t}}return{name:"icon",path:t}}if(s==="button"){const m=(p=o.textContent)==null?void 0:p.trim(),C=o.getAttribute("aria-label");return C?{name:`button [${C}]`,path:t}:{name:m?`button "${m.slice(0,25)}"`:"button",path:t}}if(s==="a"){const m=(l=o.textContent)==null?void 0:l.trim(),C=o.getAttribute("href");return m?{name:`link "${m.slice(0,25)}"`,path:t}:C?{name:`link to ${C.slice(0,30)}`,path:t}:{name:"link",path:t}}if(s==="input"){const m=o.getAttribute("type")||"text",C=o.getAttribute("placeholder"),b=o.getAttribute("name");return C?{name:`input "${C}"`,path:t}:b?{name:`input [${b}]`,path:t}:{name:`${m} input`,path:t}}if(["h1","h2","h3","h4","h5","h6"].includes(s)){const m=(g=o.textContent)==null?void 0:g.trim();return{name:m?`${s} "${m.slice(0,35)}"`:s,path:t}}if(s==="p"){const m=(_=o.textContent)==null?void 0:_.trim();return m?{name:`paragraph: "${m.slice(0,40)}${m.length>40?"...":""}"`,path:t}:{name:"paragraph",path:t}}if(s==="span"||s==="label"){const m=(v=o.textContent)==null?void 0:v.trim();return m&&m.length<40?{name:`"${m}"`,path:t}:{name:s,path:t}}if(s==="li"){const m=(z=o.textContent)==null?void 0:z.trim();return m&&m.length<40?{name:`list item: "${m.slice(0,35)}"`,path:t}:{name:"list item",path:t}}if(s==="blockquote")return{name:"blockquote",path:t};if(s==="code"){const m=(E=o.textContent)==null?void 0:E.trim();return m&&m.length<30?{name:`code: \`${m}\``,path:t}:{name:"code",path:t}}if(s==="pre")return{name:"code block",path:t};if(s==="img"){const m=o.getAttribute("alt");return{name:m?`image "${m.slice(0,30)}"`:"image",path:t}}if(s==="video")return{name:"video",path:t};if(["div","section","article","nav","header","footer","aside","main"].includes(s)){const m=o.className,C=o.getAttribute("role"),b=o.getAttribute("aria-label");if(b)return{name:`${s} [${b}]`,path:t};if(C)return{name:`${C}`,path:t};if(typeof m=="string"&&m){const L=m.split(/[\s_-]+/).map(S=>S.replace(/[A-Z0-9]{5,}.*$/,"")).filter(S=>S.length>2&&!/^[a-z]{1,2}$/.test(S)).slice(0,2);if(L.length>0)return{name:L.join(" "),path:t}}return{name:s==="div"?"container":s,path:t}}return{name:s,path:t}}function ut(o){var l,g,_;const t=[],s=(l=o.textContent)==null?void 0:l.trim();s&&s.length<100&&t.push(s);const u=o.previousElementSibling;if(u){const v=(g=u.textContent)==null?void 0:g.trim();v&&v.length<50&&t.unshift(`[before: "${v.slice(0,40)}"]`)}const p=o.nextElementSibling;if(p){const v=(_=p.textContent)==null?void 0:_.trim();v&&v.length<50&&t.push(`[after: "${v.slice(0,40)}"]`)}return t.join(" ")}function _n(o){var s,u;if(o.dataset.element)return o.dataset.element;const t=o.tagName.toLowerCase();if(t==="path")return"path";if(t==="circle")return"circle";if(t==="rect")return"rectangle";if(t==="line")return"line";if(t==="ellipse")return"ellipse";if(t==="polygon")return"polygon";if(t==="g")return"group";if(t==="svg")return"svg";if(t==="button"){const p=(s=o.textContent)==null?void 0:s.trim();return p?`button "${p}"`:"button"}if(t==="input")return`input (${o.getAttribute("type")||"text"})`;if(t==="span"||t==="p"||t==="label"){const p=(u=o.textContent)==null?void 0:u.trim();return p&&p.length<30?`"${p}"`:"text"}if(t==="div"){const p=o.className;if(typeof p=="string"&&p){const l=p.split(/[\s_-]+/).map(g=>g.replace(/[A-Z0-9]{5,}.*$/,"")).filter(g=>g.length>2&&!/^[a-z]{1,2}$/.test(g)).slice(0,2);if(l.length>0)return l.join(" ")}return"container"}return t}function dt(o){const t=o.parentElement;if(!t)return"";const s=Array.from(t.children).filter(v=>v!==o&&v instanceof HTMLElement);if(s.length===0)return"";const u=s.slice(0,4).map(v=>{var C;const z=v.tagName.toLowerCase(),E=v.className;let m="";if(typeof E=="string"&&E){const b=E.split(/\s+/).map(L=>L.replace(/[_][a-zA-Z0-9]{5,}.*$/,"")).find(L=>L.length>2&&!/^[a-z]{1,2}$/.test(L));b&&(m=`.${b}`)}if(z==="button"||z==="a"){const b=(C=v.textContent)==null?void 0:C.trim().slice(0,15);if(b)return`${z}${m} "${b}"`}return`${z}${m}`});let l=t.tagName.toLowerCase();if(typeof t.className=="string"&&t.className){const v=t.className.split(/\s+/).map(z=>z.replace(/[_][a-zA-Z0-9]{5,}.*$/,"")).find(z=>z.length>2&&!/^[a-z]{1,2}$/.test(z));v&&(l=`.${v}`)}const g=t.children.length,_=g>u.length+1?` (${g} total in ${l})`:"";return u.join(", ")+_}function pt(o){const t=o.className;return typeof t!="string"||!t?"":t.split(/\s+/).filter(u=>u.length>0).map(u=>{const p=u.match(/^([a-zA-Z][a-zA-Z0-9_-]*?)(?:_[a-zA-Z0-9]{5,})?$/);return p?p[1]:u}).filter((u,p,l)=>l.indexOf(u)===p).join(", ")}function zn(o){if(typeof window>"u")return"";const t=window.getComputedStyle(o),s=[],u=t.color,p=t.backgroundColor;u&&u!=="rgb(0, 0, 0)"&&s.push(`color: ${u}`),p&&p!=="rgba(0, 0, 0, 0)"&&p!=="transparent"&&s.push(`bg: ${p}`);const l=t.fontSize,g=t.fontWeight;l&&s.push(`font: ${l}`),g&&g!=="400"&&g!=="normal"&&s.push(`weight: ${g}`);const _=t.padding,v=t.margin;_&&_!=="0px"&&s.push(`padding: ${_}`),v&&v!=="0px"&&s.push(`margin: ${v}`);const z=t.display,E=t.position;z&&z!=="block"&&z!=="inline"&&s.push(`display: ${z}`),E&&E!=="static"&&s.push(`position: ${E}`);const m=t.borderRadius;return m&&m!=="0px"&&s.push(`radius: ${m}`),s.join(", ")}const mt=new Set(["none","normal","auto","0px","rgba(0, 0, 0, 0)","transparent","static","visible"]),En=new Set(["p","span","h1","h2","h3","h4","h5","h6","label","li","td","th","blockquote","figcaption","caption","legend","dt","dd","pre","code","em","strong","b","i","a","time","cite","q"]),Sn=new Set(["input","textarea","select"]),Mn=new Set(["img","video","canvas","svg"]),Ln=new Set(["div","section","article","nav","header","footer","aside","main","ul","ol","form","fieldset"]);function ht(o){if(typeof window>"u")return{};const t=window.getComputedStyle(o),s={},u=o.tagName.toLowerCase();let p;En.has(u)?p=["color","fontSize","fontWeight","fontFamily","lineHeight"]:u==="button"||u==="a"&&o.getAttribute("role")==="button"?p=["backgroundColor","color","padding","borderRadius","fontSize"]:Sn.has(u)?p=["backgroundColor","color","padding","borderRadius","fontSize"]:Mn.has(u)?p=["width","height","objectFit","borderRadius"]:Ln.has(u)?p=["display","padding","margin","gap","backgroundColor"]:p=["color","fontSize","margin","padding","backgroundColor"];for(const l of p){const g=l.replace(/([A-Z])/g,"-$1").toLowerCase(),_=t.getPropertyValue(g);_&&!mt.has(_)&&(s[l]=_)}return s}const Bn=["color","backgroundColor","borderColor","fontSize","fontWeight","fontFamily","lineHeight","letterSpacing","textAlign","width","height","padding","margin","border","borderRadius","display","position","top","right","bottom","left","zIndex","flexDirection","justifyContent","alignItems","gap","opacity","visibility","overflow","boxShadow","transform"];function ft(o){if(typeof window>"u")return"";const t=window.getComputedStyle(o),s=[];for(const u of Bn){const p=u.replace(/([A-Z])/g,"-$1").toLowerCase(),l=t.getPropertyValue(p);l&&!mt.has(l)&&s.push(`${p}: ${l}`)}return s.join("; ")}function $n(o){if(!o)return;const t={},s=o.split(";").map(u=>u.trim()).filter(Boolean);for(const u of s){const p=u.indexOf(":");if(p>0){const l=u.slice(0,p).trim(),g=u.slice(p+1).trim();l&&g&&(t[l]=g)}}return Object.keys(t).length>0?t:void 0}function gt(o){const t=[],s=o.getAttribute("role"),u=o.getAttribute("aria-label"),p=o.getAttribute("aria-describedby"),l=o.getAttribute("tabindex"),g=o.getAttribute("aria-hidden");return s&&t.push(`role="${s}"`),u&&t.push(`aria-label="${u}"`),p&&t.push(`aria-describedby="${p}"`),l&&t.push(`tabindex=${l}`),g==="true"&&t.push("aria-hidden"),o.matches("a, button, input, select, textarea, [tabindex]")&&t.push("focusable"),t.join(", ")}function Ct(o){const t=[];let s=o;for(;s&&s.tagName.toLowerCase()!=="html";){const u=s.tagName.toLowerCase();let p=u;if(s.id)p=`${u}#${s.id}`;else if(s.className&&typeof s.className=="string"){const l=s.className.split(/\s+/).map(g=>g.replace(/[_][a-zA-Z0-9]{5,}.*$/,"")).find(g=>g.length>2);l&&(p=`${u}.${l}`)}t.unshift(p),s=s.parentElement}return t.join(" > ")}const Tn="feedback-annotations-",Nn=7;function Y(o){return`${Tn}${o}`}function vt(o){if(typeof window>"u")return[];try{const t=localStorage.getItem(Y(o));if(!t)return[];const s=JSON.parse(t),u=Date.now()-Nn*24*60*60*1e3;return s.filter(p=>!p.timestamp||p.timestamp>u)}catch{return[]}}function yt(o,t){if(!(typeof window>"u"))try{localStorage.setItem(Y(o),JSON.stringify(t))}catch{}}function In(o){if(!(typeof window>"u"))try{localStorage.removeItem(Y(o))}catch{}}const An="1.0.2",Dn=["data-active"],Vn=["disabled"],Pn=["disabled","data-active"],Hn=["disabled"],On=["title"],jn=["onClick"],Zn=["title"],Rn=["onMouseenter","onClick","onContextmenu"],je=5,Fn=50,Ze=20,Re=290,oe=280,le=20,Fe=5,Yn=e.defineComponent({__name:"Agentation",props:{accentColor:{default:"#3c82f7"},copyToClipboard:{type:Boolean,default:!0},lightMode:{type:Boolean,default:!1},zIndex:{default:2147483647},demoAnnotations:{default:()=>[]},demoDelay:{default:1e3},enableDemoMode:{type:Boolean,default:!1}},emits:["annotationAdd","annotationDelete","annotationUpdate","annotationsClear","copy"],setup(o,{emit:t}){let s=!1;const u=new Set(["P","SPAN","H1","H2","H3","H4","H5","H6","LI","TD","TH","LABEL","BLOCKQUOTE","FIGCAPTION","CAPTION","LEGEND","DT","DD","PRE","CODE","EM","STRONG","B","I","U","S","A","TIME","ADDRESS","CITE","Q","ABBR","DFN","MARK","SMALL","SUB","SUP"]),p=["BUTTON","A","INPUT","IMG","P","H1","H2","H3","H4","H5","H6","LI","LABEL","TD","TH"],l=e.useCssModule(),g=[{value:"compact",label:"Compact"},{value:"standard",label:"Standard"},{value:"detailed",label:"Detailed"},{value:"forensic",label:"Forensic"}],_=[{value:"#3c82f7",label:"Blue"},{value:"#34c759",label:"Green"},{value:"#ff9500",label:"Orange"},{value:"#ff3b30",label:"Red"},{value:"#af52de",label:"Purple"}],v={outputDetail:"standard",annotationColor:"#3c82f7",autoClearAfterCopy:!1,blockInteractions:!1},z=o,E=t,m=e.ref(!1),C=e.ref(!1),b=e.ref([]),L=e.ref(!0),S=e.ref(null),W=e.ref({x:0,y:0}),h=e.ref(null),x=e.ref(null),X=e.ref(!1),ee=e.ref(!1),w=e.ref(null),f=e.ref(!0),A=e.ref(!1),O=e.ref(0),K=e.ref(!1),se=e.ref(!1),y=e.ref({...v}),j=e.ref(!1),B=e.ref(null),F=e.ref(!1),Z=e.ref(null),be=e.ref(0);let D=!1;const R=e.ref(!1),V=e.ref(null),P=e.ref(null),U=e.ref([]);let te=!1,xe=0;const Q=e.ref(null);let ie=!1;const _e=e.ref(null),ze=e.ref(null),q=typeof window<"u"?window.location.pathname:"/",ne=e.computed(()=>b.value.length>0),wt=e.computed(()=>{if(!h.value)return{left:"0px",top:"0px"};const n=h.value.clientY,d=h.value.x/100*(typeof window<"u"?window.innerWidth:1e3),i=Math.max(oe/2+le,Math.min((typeof window<"u"?window.innerWidth:1e3)-oe/2-le,d)),c=typeof window<"u"?window.innerHeight:800;return n>c-Re?{left:`${i}px`,bottom:`${c-n+20}px`}:{left:`${i}px`,top:`${n+20}px`}}),bt=e.computed(()=>{if(!x.value)return{left:"0px",top:"0px"};const n=x.value,r=n.isFixed?n.y:n.y-O.value,i=n.x/100*(typeof window<"u"?window.innerWidth:1e3),c=Math.max(oe/2+le,Math.min((typeof window<"u"?window.innerWidth:1e3)-oe/2-le,i)),a=typeof window<"u"?window.innerHeight:800;return r>a-Re?{left:`${c}px`,bottom:`${a-r+20}px`}:{left:`${c}px`,top:`${r+20}px`}});function xt(n){let r=n;for(;r&&r!==document.body;){const d=window.getComputedStyle(r);if(d.position==="fixed"||d.position==="sticky")return!0;r=r.parentElement}return!1}function _t(n,r){const d=parseInt(n.slice(1,3),16),i=parseInt(n.slice(3,5),16),c=parseInt(n.slice(5,7),16);return`rgba(${d}, ${i}, ${c}, ${r})`}function Ee(n,r){return{left:Math.min(n.x,r.x),top:Math.min(n.y,r.y),right:Math.max(n.x,r.x),bottom:Math.max(n.y,r.y),width:Math.abs(r.x-n.x),height:Math.abs(r.y-n.y)}}function zt(n,r){return!(n.right<r.left||n.left>r.right||n.bottom<r.top||n.top>r.bottom)}function Et(n){const r=window.innerWidth,d=window.innerHeight;return n.width>r*.8&&n.height>d*.5}function St(n){return n.filter(r=>!n.some(d=>d!==r&&d.contains(r)))}function Se(n){const r=[],d=p.map(a=>a.toLowerCase()).join(",");document.querySelectorAll(d).forEach(a=>{if(a.closest("[data-feedback-toolbar]")||a.closest("[data-annotation-popup]")||a.closest("[data-annotation-marker]"))return;const k=a.getBoundingClientRect();if(k.width===0||k.height===0)return;const M=window.getComputedStyle(a);M.display==="none"||M.visibility==="hidden"||M.opacity==="0"||Et(k)||zt(k,n)&&r.push({element:a,rect:k})});const c=St(r.map(a=>a.element));return r.filter(a=>c.includes(a.element))}function Mt(n){if(n.length===0)return"Empty area";if(n.length===1){const{name:i}=G(n[0]);return i}const r={};n.forEach(i=>{const c=i.tagName.toLowerCase();r[c]=(r[c]||0)+1});const d=Object.entries(r).map(([i,c])=>c>1?`${c} ${i}s`:i);return`${n.length} elements: ${d.join(", ")}`}function Lt(n){if(n.length===0)return{x:0,y:0,width:0,height:0};const r=Math.min(...n.map(a=>a.left)),d=Math.min(...n.map(a=>a.top)),i=Math.max(...n.map(a=>a.right)),c=Math.max(...n.map(a=>a.bottom));return{x:r,y:d+window.scrollY,width:i-r,height:c-d}}function Bt(n){const a=n.x/100*(typeof window<"u"?window.innerWidth:1e3),k=n.y,M={};(typeof window<"u"?window.innerHeight:800)-k-22-10<80&&(M.top="auto",M.bottom="calc(100% + 10px)");const T=a-200/2,I=10,N=typeof window<"u"?window.innerWidth:1e3;if(T<I){const J=I-T;M.left=`calc(50% + ${J}px)`}else if(T+200>N-I){const J=T+200-(N-I);M.left=`calc(50% - ${J}px)`}return M}function $t(n,r,d="standard"){if(n.length===0)return"";const i=typeof window<"u"?`${window.innerWidth}×${window.innerHeight}`:"unknown";let c=`## Page Feedback: ${r}
35
+ `;return d==="forensic"?(c+=`
36
+ **Environment:**
37
+ `,c+=`- Viewport: ${i}
38
+ `,typeof window<"u"&&(c+=`- URL: ${window.location.href}
39
+ `,c+=`- User Agent: ${navigator.userAgent}
40
+ `,c+=`- Timestamp: ${new Date().toISOString()}
41
+ `,c+=`- Device Pixel Ratio: ${window.devicePixelRatio}
42
+ `),c+=`
43
+ ---
44
+ `):d!=="compact"&&(c+=`**Viewport:** ${i}
45
+ `),c+=`
46
+ `,n.forEach((a,k)=>{d==="compact"?(c+=`${k+1}. **${a.element}**: ${a.comment}`,a.selectedText&&(c+=` (re: "${a.selectedText.slice(0,30)}${a.selectedText.length>30?"...":""}")`),c+=`
47
+ `):d==="forensic"?(c+=`### ${k+1}. ${a.element}
48
+ `,a.isMultiSelect&&a.fullPath&&(c+=`*Forensic data shown for first element of selection*
49
+ `),a.fullPath&&(c+=`**Full DOM Path:** ${a.fullPath}
50
+ `),a.cssClasses&&(c+=`**CSS Classes:** ${a.cssClasses}
51
+ `),a.boundingBox&&(c+=`**Position:** x:${Math.round(a.boundingBox.x)}, y:${Math.round(a.boundingBox.y)} (${Math.round(a.boundingBox.width)}×${Math.round(a.boundingBox.height)}px)
52
+ `),c+=`**Annotation at:** ${a.x.toFixed(1)}% from left, ${Math.round(a.y)}px from top
53
+ `,a.selectedText&&(c+=`**Selected text:** "${a.selectedText}"
54
+ `),a.nearbyText&&!a.selectedText&&(c+=`**Context:** ${a.nearbyText.slice(0,100)}
55
+ `),a.computedStyles&&(c+=`**Computed Styles:** ${a.computedStyles}
56
+ `),a.accessibility&&(c+=`**Accessibility:** ${a.accessibility}
57
+ `),a.nearbyElements&&(c+=`**Nearby Elements:** ${a.nearbyElements}
58
+ `),c+=`**Feedback:** ${a.comment}
42
59
 
43
- `)}),h.trim()}const Ce=()=>{N||(g.value=!g.value)},ut=()=>{N||(w.value=!w.value)},dt=()=>{N||(k.value=!k.value,localStorage.setItem("feedback-toolbar-theme",k.value?"dark":"light"))},pt=()=>{N||(I.value=!I.value)},ft=()=>{const l=(s.findIndex(u=>u.value===E.value.outputDetail)+1)%s.length;E.value.outputDetail=s[l].value},mt=r=>{E.value.annotationColor=r},ge=()=>{if(A.value)return;const r=document.createElement("style");r.id="feedback-freeze-styles",r.textContent=`
60
+ `):(c+=`### ${k+1}. ${a.element}
61
+ `,c+=`**Location:** ${a.elementPath}
62
+ `,d==="detailed"&&(a.cssClasses&&(c+=`**Classes:** ${a.cssClasses}
63
+ `),a.boundingBox&&(c+=`**Position:** ${Math.round(a.boundingBox.x)}px, ${Math.round(a.boundingBox.y)}px (${Math.round(a.boundingBox.width)}×${Math.round(a.boundingBox.height)}px)
64
+ `)),a.selectedText&&(c+=`**Selected text:** "${a.selectedText}"
65
+ `),d==="detailed"&&a.nearbyText&&!a.selectedText&&(c+=`**Context:** ${a.nearbyText.slice(0,100)}
66
+ `),c+=`**Feedback:** ${a.comment}
67
+
68
+ `)}),c.trim()}const Me=()=>{D||(C.value=!C.value)},Tt=()=>{D||(L.value=!L.value)},Nt=()=>{D||(f.value=!f.value,localStorage.setItem("feedback-toolbar-theme",f.value?"dark":"light"))},It=()=>{D||(K.value=!K.value)},At=()=>{const r=(g.findIndex(d=>d.value===y.value.outputDetail)+1)%g.length;y.value.outputDetail=g[r].value},Dt=n=>{y.value.annotationColor=n},Le=()=>{if(j.value)return;const n=document.createElement("style");n.id="feedback-freeze-styles",n.textContent=`
44
69
  *:not([data-feedback-toolbar]):not([data-feedback-toolbar] *):not([data-annotation-popup]):not([data-annotation-popup] *):not([data-annotation-marker]):not([data-annotation-marker] *),
45
70
  *:not([data-feedback-toolbar]):not([data-feedback-toolbar] *):not([data-annotation-popup]):not([data-annotation-popup] *):not([data-annotation-marker]):not([data-annotation-marker] *)::before,
46
71
  *:not([data-feedback-toolbar]):not([data-feedback-toolbar] *):not([data-annotation-popup]):not([data-annotation-popup] *):not([data-annotation-marker]):not([data-annotation-marker] *)::after {
47
72
  animation-play-state: paused !important;
48
73
  transition: none !important;
49
74
  }
50
- `,document.head.appendChild(r),document.querySelectorAll("video").forEach(l=>{l.paused||(l.dataset.wasPaused="false",l.pause())}),A.value=!0},te=()=>{if(!A.value)return;const r=document.getElementById("feedback-freeze-styles");r&&r.remove(),document.querySelectorAll("video").forEach(l=>{l.dataset.wasPaused==="false"&&(l.play(),delete l.dataset.wasPaused)}),A.value=!1},ht=()=>{N||(A.value?te():ge())},Ct=r=>{if(r.target.closest("[data-settings-panel]"))return;const l=r.currentTarget;if(!l)return;const u=l.getBoundingClientRect(),c=257,h=44;let d,L;B.value?(d=B.value.x,L=B.value.y):(g.value?d=u.left:d=u.left-(c-h),L=u.top);const M=(Math.random()-.5)*10;fe.value=M,V.value={x:r.clientX,y:r.clientY,toolbarX:d,toolbarY:L}},ve=r=>{if(!V.value)return;const l=r.clientX-V.value.x,u=r.clientY-V.value.y,c=Math.sqrt(l*l+u*u);if(!H.value&&c>Ee&&(H.value=!0),H.value||c>Ee){let h=V.value.toolbarX+l,d=V.value.toolbarY+u;const L=20,M=257,Z=44,O=44;if(g.value)h=Math.max(L,Math.min(window.innerWidth-M-L,h));else{const T=M-Z,D=L-T,R=window.innerWidth-M-L-16;h=Math.max(D,Math.min(R,h))}d=Math.max(L,Math.min(window.innerHeight-O-L,d)),B.value={x:h,y:d}}},ye=()=>{H.value&&(N=!0,setTimeout(()=>{N=!1},50)),H.value=!1,V.value=null},ne=()=>{if(!B.value)return;const r=20,l=257,u=44,c=44;let h=B.value.x,d=B.value.y;if(g.value)h=Math.max(r,Math.min(window.innerWidth-l-r,h));else{const L=l-u,M=r-L,Z=window.innerWidth-l-r;h=Math.max(M,Math.min(Z,h))}d=Math.max(r,Math.min(window.innerHeight-c-r,d)),(h!==B.value.x||d!==B.value.y)&&(B.value={x:h,y:d})},gt=async()=>{if(N)return;const r=ct(i.value,Y,j.value);if(r){if(v.copyToClipboard)try{await navigator.clipboard.writeText(r),P.value=!0,setTimeout(()=>{P.value=!1},2e3)}catch(l){console.error("Failed to copy:",l)}p("copy",r)}},vt=()=>{if(N||i.value.length===0)return;const r=[...i.value];i.value=[],localStorage.removeItem(W(Y)),X.value=!0,setTimeout(()=>{X.value=!1},2e3),p("annotationsClear",r)},yt=r=>{if(!C.value)return;const l={id:`${Date.now()}-${Math.random().toString(36).slice(2,9)}`,x:C.value.x,y:C.value.y,comment:r,element:C.value.element,elementPath:C.value.elementPath,timestamp:Date.now(),selectedText:C.value.selectedText,boundingBox:C.value.boundingBox,nearbyText:C.value.nearbyText,cssClasses:C.value.cssClasses,isFixed:C.value.isFixed,fullPath:C.value.fullPath,accessibility:C.value.accessibility,computedStyles:C.value.computedStyles,nearbyElements:C.value.nearbyElements};i.value=[...i.value,l],C.value=null,p("annotationAdd",l)},kt=()=>{C.value=null},bt=r=>{if(!z.value)return;const l={...z.value,comment:r};i.value=i.value.map(u=>u.id===l.id?l:u),z.value=null,p("annotationUpdate",l)},wt=()=>{z.value=null},xt=(r,l)=>{l.stopPropagation(),z.value=r},_t=(r,l)=>{l.stopPropagation(),$.value=null,i.value=i.value.filter(u=>u.id!==r.id),p("annotationDelete",r)},ke=r=>{if(!g.value||C.value||z.value)return;if(r.target.closest("[data-feedback-toolbar]")){y.value=null;return}const u=document.elementFromPoint(r.clientX,r.clientY);if(!u||u.closest("[data-feedback-toolbar]")){y.value=null;return}const{name:c,path:h}=J(u),d=u.getBoundingClientRect();y.value={element:c,elementPath:h,rect:d},S.value={x:r.clientX,y:r.clientY}},be=r=>{var F,_e;if(!g.value||N)return;const l=r.target;if(l.closest("[data-feedback-toolbar]")||l.closest("[data-annotation-popup]")||l.closest("[data-annotation-marker]"))return;if(C.value){r.preventDefault(),(F=me.value)==null||F.shake();return}if(z.value){r.preventDefault(),(_e=he.value)==null||_e.shake();return}r.preventDefault();const u=document.elementFromPoint(r.clientX,r.clientY);if(!u)return;const{name:c,path:h}=J(u),d=u.getBoundingClientRect(),L=r.clientX/window.innerWidth*100,M=lt(u),Z=M?r.clientY:r.clientY+window.scrollY,O=window.getSelection();let T;O&&O.toString().trim().length>0&&(T=O.toString().trim().slice(0,500));const D=Ke(u),R=Qe(u);C.value={x:L,y:Z,clientY:r.clientY,element:c,elementPath:h,selectedText:T,boundingBox:{x:d.left,y:M?d.top:d.top+window.scrollY,width:d.width,height:d.height},nearbyText:Xe(u),cssClasses:qe(u),isFixed:M,fullPath:et(u),accessibility:Je(u),computedStyles:R,computedStylesObj:D,nearbyElements:Ue(u)},y.value=null},we=()=>{_.value=window.scrollY},xe=r=>{r.key==="Escape"&&(C.value||z.value||g.value&&(g.value=!1))};return e.onMounted(()=>{x.value=!0,_.value=window.scrollY;const r=tt(Y);i.value=r,a||(b.value=!0,a=!0,setTimeout(()=>{b.value=!1},750));try{const u=localStorage.getItem("feedback-toolbar-theme");u!==null&&(k.value=u==="dark")}catch{}document.addEventListener("mousemove",ke),document.addEventListener("click",be,!0),document.addEventListener("keydown",xe),window.addEventListener("scroll",we,{passive:!0}),window.addEventListener("resize",ne);const l=document.createElement("style");l.id="feedback-cursor-styles",document.head.appendChild(l)}),e.onUnmounted(()=>{document.removeEventListener("mousemove",ke),document.removeEventListener("click",be,!0),document.removeEventListener("keydown",xe),window.removeEventListener("scroll",we),window.removeEventListener("resize",ne);const r=document.getElementById("feedback-cursor-styles");r&&r.remove()}),e.watch(g,r=>{const l=document.getElementById("feedback-cursor-styles");l&&(r?l.textContent=`
75
+ `,document.head.appendChild(n),document.querySelectorAll("video").forEach(r=>{r.paused||(r.dataset.wasPaused="false",r.pause())}),j.value=!0},ce=()=>{if(!j.value)return;const n=document.getElementById("feedback-freeze-styles");n&&n.remove(),document.querySelectorAll("video").forEach(r=>{r.dataset.wasPaused==="false"&&(r.play(),delete r.dataset.wasPaused)}),j.value=!1},Vt=()=>{D||(j.value?(ce(),y.value.blockInteractions=!1):(Le(),y.value.blockInteractions=!0))},Pt=n=>{if(n.target.closest("[data-settings-panel]"))return;const r=n.currentTarget;if(!r)return;const d=r.getBoundingClientRect(),i=257,c=44;let a,k;B.value?(a=B.value.x,k=B.value.y):(C.value?a=d.left:a=d.left-(i-c),k=d.top);const M=(Math.random()-.5)*10;be.value=M,Z.value={x:n.clientX,y:n.clientY,toolbarX:a,toolbarY:k}},Be=n=>{if(!Z.value)return;const r=n.clientX-Z.value.x,d=n.clientY-Z.value.y,i=Math.sqrt(r*r+d*d);if(!F.value&&i>Fe&&(F.value=!0),F.value||i>Fe){let c=Z.value.toolbarX+r,a=Z.value.toolbarY+d;const k=20,M=257,$=44,H=44;if(C.value)c=Math.max(k,Math.min(window.innerWidth-M-k,c));else{const T=M-$,I=k-T,N=window.innerWidth-M-k-16;c=Math.max(I,Math.min(N,c))}a=Math.max(k,Math.min(window.innerHeight-H-k,a)),B.value={x:c,y:a}}},$e=()=>{F.value&&(D=!0,setTimeout(()=>{D=!1},50)),F.value=!1,Z.value=null},ue=()=>{if(!B.value)return;const n=20,r=257,d=44,i=44;let c=B.value.x,a=B.value.y;if(C.value)c=Math.max(n,Math.min(window.innerWidth-r-n,c));else{const k=r-d,M=n-k,$=window.innerWidth-r-n;c=Math.max(M,Math.min($,c))}a=Math.max(n,Math.min(window.innerHeight-i-n,a)),(c!==B.value.x||a!==B.value.y)&&(B.value={x:c,y:a})},Ht=async()=>{if(D)return;const n=$t(b.value,q,y.value.outputDetail);if(n){if(z.copyToClipboard)try{if(navigator.clipboard&&navigator.clipboard.writeText)await navigator.clipboard.writeText(n);else{const r=document.createElement("textarea");r.value=n,r.style.position="fixed",r.style.left="-9999px",r.style.top="-9999px",document.body.appendChild(r),r.focus(),r.select(),document.execCommand("copy"),document.body.removeChild(r)}if(X.value=!0,setTimeout(()=>{X.value=!1},2e3),y.value.autoClearAfterCopy){const r=[...b.value];b.value=[],localStorage.removeItem(Y(q)),E("annotationsClear",r)}}catch(r){console.error("Failed to copy:",r)}E("copy",n)}},Ot=()=>{if(D||b.value.length===0)return;const n=[...b.value];b.value=[],localStorage.removeItem(Y(q)),ee.value=!0,setTimeout(()=>{ee.value=!1},2e3),E("annotationsClear",n)},jt=n=>{if(!h.value)return;const r={id:`${Date.now()}-${Math.random().toString(36).slice(2,9)}`,x:h.value.x,y:h.value.y,comment:n,element:h.value.element,elementPath:h.value.elementPath,timestamp:Date.now(),selectedText:h.value.selectedText,boundingBox:h.value.boundingBox,nearbyText:h.value.nearbyText,cssClasses:h.value.cssClasses,isFixed:h.value.isFixed,fullPath:h.value.fullPath,accessibility:h.value.accessibility,computedStyles:h.value.computedStyles,nearbyElements:h.value.nearbyElements,isMultiSelect:h.value.isMultiSelect};b.value=[...b.value,r],h.value=null,E("annotationAdd",r)},Zt=()=>{h.value=null},Rt=n=>{if(!x.value)return;const r={...x.value,comment:n};b.value=b.value.map(d=>d.id===r.id?r:d),x.value=null,E("annotationUpdate",r)},Ft=()=>{x.value=null},Yt=(n,r)=>{r.stopPropagation(),x.value=n},Wt=(n,r)=>{r.stopPropagation(),w.value=null,b.value=b.value.filter(d=>d.id!==n.id),E("annotationDelete",n)},Te=n=>{if(!C.value||n.button!==0)return;const r=n.target;if(!(r.closest("[data-feedback-toolbar]")||r.closest("[data-annotation-popup]")||r.closest("[data-annotation-marker]"))&&!(h.value||x.value)){if(u.has(r.tagName)||r.isContentEditable){te=!0;return}te=!1,Q.value={x:n.clientX,y:n.clientY},V.value={x:n.clientX,y:n.clientY},P.value={x:n.clientX,y:n.clientY}}},Ne=n=>{if(!C.value||!Q.value||te)return;const r=n.clientX-Q.value.x,d=n.clientY-Q.value.y;if(r*r+d*d>=je*je){R.value||(R.value=!0,S.value=null),P.value={x:n.clientX,y:n.clientY};const c=Date.now();if(c-xe>=Fn){xe=c;const a=Ee(V.value,P.value);U.value=Se(a)}}},Ie=n=>{if(!C.value)return;const r=R.value;if(Q.value=null,te=!1,!r){R.value=!1,V.value=null,P.value=null,U.value=[];return}const d=V.value,i={x:n.clientX,y:n.clientY};if(d){const c=Ee(d,i);if(c.width>=Ze&&c.height>=Ze){const a=Se(c),k=a.map(N=>N.element),M=a.map(N=>N.rect);let $,H;k.length>0?(H=Lt(M),$=H.y+H.height/2):(H={x:c.left,y:c.top+window.scrollY,width:c.width,height:c.height},$=c.top+window.scrollY+c.height/2);const T=Mt(k),I=k.map(N=>G(N).path).join("; ");h.value={x:n.clientX/window.innerWidth*100,y:$,clientY:n.clientY,element:T,elementPath:I||"Area selection",boundingBox:H,isFixed:!1,isMultiSelect:!0}}}R.value=!1,V.value=null,P.value=null,U.value=[],r&&(ie=!0,setTimeout(()=>{ie=!1},50))},Ae=n=>{if(!C.value||h.value||x.value)return;if(n.target.closest("[data-feedback-toolbar]")){S.value=null;return}const d=document.elementFromPoint(n.clientX,n.clientY);if(!d||d.closest("[data-feedback-toolbar]")){S.value=null;return}const{name:i,path:c}=G(d),a=d.getBoundingClientRect();S.value={element:i,elementPath:c,rect:a},W.value={x:n.clientX,y:n.clientY}},De=n=>{var He,Oe;if(!C.value||D||ie)return;const r=n.target;if(r.closest("[data-feedback-toolbar]")||r.closest("[data-annotation-popup]")||r.closest("[data-annotation-marker]"))return;const d=r.closest("button, a, input, select, textarea, [role='button'], [onclick]");if(y.value.blockInteractions&&d&&(n.preventDefault(),n.stopPropagation()),h.value){if(d&&!y.value.blockInteractions)return;n.preventDefault(),(He=_e.value)==null||He.shake();return}if(x.value){if(d&&!y.value.blockInteractions)return;n.preventDefault(),(Oe=ze.value)==null||Oe.shake();return}n.preventDefault();const i=document.elementFromPoint(n.clientX,n.clientY);if(!i)return;const{name:c,path:a}=G(i),k=i.getBoundingClientRect(),M=n.clientX/window.innerWidth*100,$=xt(i),H=$?n.clientY:n.clientY+window.scrollY,T=window.getSelection();let I;T&&T.toString().trim().length>0&&(I=T.toString().trim().slice(0,500));const N=ht(i),J=ft(i);h.value={x:M,y:H,clientY:n.clientY,element:c,elementPath:a,selectedText:I,boundingBox:{x:k.left,y:$?k.top:k.top+window.scrollY,width:k.width,height:k.height},nearbyText:ut(i),cssClasses:pt(i),isFixed:$,fullPath:Ct(i),accessibility:gt(i),computedStyles:J,computedStylesObj:N,nearbyElements:dt(i)},S.value=null},Ve=()=>{O.value=window.scrollY},Pe=n=>{n.key==="Escape"&&(h.value||x.value||C.value&&(C.value=!1))};return e.onMounted(()=>{m.value=!0,O.value=window.scrollY;const n=vt(q);b.value=n,s||(A.value=!0,s=!0,setTimeout(()=>{A.value=!1},750));try{const d=localStorage.getItem("feedback-toolbar-theme");d!==null&&(f.value=d==="dark")}catch{}try{const d=localStorage.getItem("feedback-toolbar-settings");d&&(y.value={...v,...JSON.parse(d)})}catch{}document.addEventListener("mousemove",Ae),document.addEventListener("click",De,!0),document.addEventListener("keydown",Pe),window.addEventListener("scroll",Ve,{passive:!0}),window.addEventListener("resize",ue),document.addEventListener("mousedown",Te),document.addEventListener("mousemove",Ne),document.addEventListener("mouseup",Ie);const r=document.createElement("style");r.id="feedback-cursor-styles",document.head.appendChild(r)}),e.onUnmounted(()=>{document.removeEventListener("mousemove",Ae),document.removeEventListener("click",De,!0),document.removeEventListener("keydown",Pe),window.removeEventListener("scroll",Ve),window.removeEventListener("resize",ue),document.removeEventListener("mousedown",Te),document.removeEventListener("mousemove",Ne),document.removeEventListener("mouseup",Ie);const n=document.getElementById("feedback-cursor-styles");n&&n.remove()}),e.watch(C,n=>{const r=document.getElementById("feedback-cursor-styles");r&&(n?r.textContent=`
51
76
  body * { cursor: crosshair !important; }
52
77
  body p, body span, body h1, body h2, body h3, body h4, body h5, body h6,
53
78
  body li, body td, body th, body label, body blockquote, body figcaption,
@@ -65,4 +90,4 @@
65
90
  [data-annotation-popup], [data-annotation-popup] * { cursor: default !important; }
66
91
  [data-annotation-popup] textarea { cursor: text !important; }
67
92
  [data-annotation-popup] button { cursor: pointer !important; }
68
- `:(l.textContent="",C.value=null,z.value=null,y.value=null))}),e.watch(i,r=>{x.value&&r.length>0?nt(Y,r):x.value&&r.length===0&&localStorage.removeItem(W(Y))},{deep:!0}),e.watch(I,r=>{r?ee.value=!0:setTimeout(()=>{ee.value=!1},150)}),e.watch(()=>E.value.freezeAnimations,r=>{r?ge():te()}),e.watch(g,r=>{r||(C.value=null,z.value=null,y.value=null,I.value=!1,A.value&&(te(),E.value.freezeAnimations=!1)),ne()}),e.watch(V,(r,l)=>{r&&!l?(document.addEventListener("mousemove",ve),document.addEventListener("mouseup",ye)):!r&&l&&(document.removeEventListener("mousemove",ve),document.removeEventListener("mouseup",ye))}),(r,l)=>{var u;return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).toolbar),style:e.normalizeStyle({zIndex:v.zIndex,...B.value?{left:`${B.value.x}px`,top:`${B.value.y}px`,right:"auto",bottom:"auto"}:{}}),"data-feedback-toolbar":""},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(n).toolbarContainer,!k.value&&e.unref(n).light,b.value&&e.unref(n).entrance,H.value&&e.unref(n).dragging,g.value?e.unref(n).expanded:e.unref(n).collapsed]),style:e.normalizeStyle(H.value?{transform:`rotate(${fe.value}deg)`}:void 0),onMousedown:Ct,onClick:l[3]||(l[3]=c=>g.value?void 0:Ce())},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(n).toggleContent,g.value?e.unref(n).hidden:e.unref(n).visible])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(re)),{size:24})),U.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass([e.unref(n).badge,g.value&&e.unref(n).fadeOut,b.value&&e.unref(n).entrance]),style:e.normalizeStyle({backgroundColor:E.value.annotationColor})},e.toDisplayString(i.value.length),7)):e.createCommentVNode("",!0)],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(n).controlsContent,g.value?e.unref(n).visible:e.unref(n).hidden])},[e.createElementVNode("button",{class:e.normalizeClass([e.unref(n).controlButton,!k.value&&e.unref(n).light]),"data-active":A.value,onClick:e.withModifiers(ht,["stop"]),title:"Pause/Resume animations"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(ie)),{size:24,"is-paused":A.value},null,8,["is-paused"]))],10,fn),e.createElementVNode("button",{class:e.normalizeClass([e.unref(n).controlButton,!k.value&&e.unref(n).light]),disabled:!U.value,onClick:e.withModifiers(ut,["stop"]),title:"Toggle markers"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(se)),{size:24,"is-open":w.value},null,8,["is-open"]))],10,mn),e.createElementVNode("button",{class:e.normalizeClass([e.unref(n).controlButton,!k.value&&e.unref(n).light]),disabled:!U.value,"data-active":P.value,onClick:e.withModifiers(gt,["stop"]),title:"Copy as markdown"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(le)),{size:24,copied:P.value},null,8,["copied"]))],10,hn),e.createElementVNode("button",{class:e.normalizeClass([e.unref(n).controlButton,!k.value&&e.unref(n).light]),disabled:!U.value,"data-danger":"",onClick:e.withModifiers(vt,["stop"]),title:"Clear all annotations"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(ue)),{size:24}))],10,Cn),e.createElementVNode("button",{class:e.normalizeClass([e.unref(n).controlButton,!k.value&&e.unref(n).light]),onClick:e.withModifiers(pt,["stop"]),title:"Settings"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(ce)),{size:24}))],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(n).divider,!k.value&&e.unref(n).light])},null,2),e.createElementVNode("button",{class:e.normalizeClass([e.unref(n).controlButton,!k.value&&e.unref(n).light]),onClick:e.withModifiers(Ce,["stop"]),title:"Exit"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(Q)),{size:24}))],2)],2),ee.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(n).settingsPanel,k.value?e.unref(n).dark:e.unref(n).light,I.value?e.unref(n).enter:e.unref(n).exit]),onClick:l[2]||(l[2]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).settingsHeader)},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).settingsBrand)},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).settingsBrandSlash),style:e.normalizeStyle({color:E.value.annotationColor})}," / ",6),l[5]||(l[5]=e.createTextVNode(" agentation ",-1))],2),e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).settingsVersion)},"v1.0.0",2),e.createElementVNode("button",{class:e.normalizeClass(e.unref(n).themeToggle),onClick:dt,title:k.value?"Switch to light mode":"Switch to dark mode"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value?e.unref(de):e.unref(pe)),{size:14}))],10,gn)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).settingsSection)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).settingsRow)},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(n).settingsLabel,!k.value&&e.unref(n).light])},[l[6]||(l[6]=e.createTextVNode(" Output Detail ",-1)),e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).helpIcon),"data-tooltip":"Controls how much detail is included in the copied output"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(ae)),{size:20}))],2)],2),e.createElementVNode("button",{class:e.normalizeClass([e.unref(n).cycleButton,!k.value&&e.unref(n).light]),onClick:ft},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).cycleButtonText)},e.toDisplayString((u=s.find(c=>c.value===E.value.outputDetail))==null?void 0:u.label),3),e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).cycleDots)},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(s,c=>e.createElementVNode("span",{key:c.value,class:e.normalizeClass([e.unref(n).cycleDot,!k.value&&e.unref(n).light,E.value.outputDetail===c.value&&e.unref(n).active])},null,2)),64))],2)],2)],2)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).settingsSection)},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(n).settingsLabel,e.unref(n).settingsLabelMarker,!k.value&&e.unref(n).light])}," Marker Colour ",2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).colorOptions)},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(m,c=>e.createElementVNode("div",{key:c.value,class:e.normalizeClass([e.unref(n).colorOptionRing,E.value.annotationColor===c.value&&e.unref(n).selected]),style:e.normalizeStyle({borderColor:E.value.annotationColor===c.value?c.value:"transparent"}),onClick:h=>mt(c.value)},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(n).colorOption,E.value.annotationColor===c.value&&e.unref(n).selected]),style:e.normalizeStyle({backgroundColor:c.value}),title:c.label},null,14,yn)],14,vn)),64))],2)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).settingsSection)},[e.createElementVNode("label",{class:e.normalizeClass(e.unref(n).settingsToggle)},[e.withDirectives(e.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":l[0]||(l[0]=c=>E.value.autoClearAfterCopy=c)},null,512),[[e.vModelCheckbox,E.value.autoClearAfterCopy]]),e.createElementVNode("span",{class:e.normalizeClass([e.unref(n).customCheckbox,!k.value&&e.unref(n).light,E.value.autoClearAfterCopy&&e.unref(n).checked])},[E.value.autoClearAfterCopy?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(K)),{key:0,size:14})):e.createCommentVNode("",!0)],2),e.createElementVNode("span",{class:e.normalizeClass([e.unref(n).toggleLabel,!k.value&&e.unref(n).light])}," Clear after copy ",2)],2),e.createElementVNode("label",{class:e.normalizeClass(e.unref(n).settingsToggle)},[e.withDirectives(e.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":l[1]||(l[1]=c=>E.value.freezeAnimations=c)},null,512),[[e.vModelCheckbox,E.value.freezeAnimations]]),e.createElementVNode("span",{class:e.normalizeClass([e.unref(n).customCheckbox,!k.value&&e.unref(n).light,E.value.freezeAnimations&&e.unref(n).checked])},[E.value.freezeAnimations?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(K)),{key:0,size:14})):e.createCommentVNode("",!0)],2),e.createElementVNode("span",{class:e.normalizeClass([e.unref(n).toggleLabel,!k.value&&e.unref(n).light])}," Freeze animations ",2)],2)],2)],2)):e.createCommentVNode("",!0)],38)],6),g.value&&y.value&&y.value.rect&&!C.value&&!z.value&&!$.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(n).hoverHighlight),style:e.normalizeStyle({left:`${y.value.rect.left}px`,top:`${y.value.rect.top}px`,width:`${y.value.rect.width}px`,height:`${y.value.rect.height}px`,borderColor:v.accentColor,backgroundColor:st(v.accentColor,.1)})},null,6)):e.createCommentVNode("",!0),g.value&&y.value&&!C.value&&!z.value&&!$.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([e.unref(n).hoverTooltip,!k.value&&e.unref(n).light]),style:e.normalizeStyle({left:`${S.value.x}px`,top:`${S.value.y+20}px`})},e.toDisplayString(y.value.element),7)):e.createCommentVNode("",!0),g.value&&w.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(i.value,(c,h)=>(e.openBlock(),e.createElementBlock("div",{key:c.id,class:e.normalizeClass([e.unref(n).marker,!k.value&&e.unref(n).light,$.value===c.id&&e.unref(n).hovered]),style:e.normalizeStyle({left:`${c.x}%`,top:c.isFixed?`${c.y}px`:`${c.y-_.value}px`,position:"fixed",backgroundColor:$.value===c.id?void 0:v.accentColor}),"data-annotation-marker":"",onMouseenter:d=>$.value=c.id,onMouseleave:l[4]||(l[4]=d=>$.value=null),onClick:d=>_t(c,d),onContextmenu:e.withModifiers(d=>xt(c,d),["prevent"])},[$.value!==c.id?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(n).markerNumber)},e.toDisplayString(h+1),3)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(Q)),{key:1,size:12})),$.value===c.id&&!z.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass([e.unref(n).markerTooltip,!k.value&&e.unref(n).light,e.unref(n).enter]),style:e.normalizeStyle(it(c))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).markerQuote)},[e.createTextVNode(e.toDisplayString(c.element)+" ",1),c.selectedText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(' "'+e.toDisplayString(c.selectedText.slice(0,30))+e.toDisplayString(c.selectedText.length>30?"...":"")+'" ',1)],64)):e.createCommentVNode("",!0)],2),e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).markerNote)},e.toDisplayString(c.comment),3)],6)):e.createCommentVNode("",!0)],46,kn))),128)):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createBlock(oe,{key:3,ref_key:"popupRef",ref:me,element:C.value.element,"selected-text":C.value.selectedText,"computed-styles":C.value.computedStylesObj,"accent-color":v.accentColor,"light-mode":!k.value,"popup-style":rt.value,onSubmit:yt,onCancel:kt},null,8,["element","selected-text","computed-styles","accent-color","light-mode","popup-style"])):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createBlock(oe,{key:4,ref_key:"editPopupRef",ref:he,element:z.value.element,"selected-text":z.value.selectedText,"initial-value":z.value.comment,"computed-styles":(z.value.computedStyles,void 0),"accent-color":v.accentColor,"light-mode":!k.value,"submit-label":"Save","popup-style":at.value,onSubmit:bt,onCancel:wt},null,8,["element","selected-text","initial-value","computed-styles","accent-color","light-mode","popup-style"])):e.createCommentVNode("",!0)])}}}),wn="_toolbar_157fa_31",xn="_toolbarContainer_157fa_43",_n="_dragging_157fa_58",zn="_entrance_157fa_62",En="_toolbarEnter_157fa_1",Ln="_collapsed_157fa_65",Mn="_expanded_157fa_81",Sn="_light_157fa_87",Bn="_toggleContent_157fa_96",$n="_visible_157fa_103",Nn="_hidden_157fa_108",Tn="_controlsContent_157fa_113",In="_badge_157fa_133",An="_fadeOut_157fa_154",Vn="_badgeEnter_157fa_1",Dn="_controlButton_157fa_163",Pn="_divider_157fa_212",jn="_hoverHighlight_157fa_222",Hn="_hoverTooltip_157fa_230",Zn="_marker_157fa_251",On="_markerIn_157fa_1",Rn="_markerDelete_157fa_272",Fn="_hovered_157fa_275",Wn="_markerNumber_157fa_280",Yn="_markerTooltip_157fa_305",Xn="_enter_157fa_323",Un="_tooltipIn_157fa_1",qn="_markerQuote_157fa_330",Gn="_markerNote_157fa_333",Kn="_settingsPanel_157fa_371",Qn="_exit_157fa_389",Jn="_settingsHeader_157fa_400",eo="_settingsBrand_157fa_403",to="_settingsBrandSlash_157fa_406",no="_settingsVersion_157fa_409",oo="_settingsSection_157fa_412",ro="_themeToggle_157fa_445",ao="_settingsRow_157fa_477",lo="_settingsLabel_157fa_484",so="_settingsLabelMarker_157fa_497",io="_cycleButton_157fa_501",co="_cycleButtonText_157fa_528",uo="_cycleTextIn_157fa_1",po="_cycleDots_157fa_533",fo="_cycleDot_157fa_533",mo="_active_157fa_547",ho="_colorOptions_157fa_558",Co="_colorOptionRing_157fa_565",go="_colorOption_157fa_558",vo="_selected_157fa_586",yo="_settingsToggle_157fa_590",ko="_customCheckbox_157fa_606",bo="_checked_157fa_624",wo="_toggleLabel_157fa_640",xo="_helpIcon_157fa_653",_o={toolbar:wn,toolbarContainer:xn,dragging:_n,entrance:zn,toolbarEnter:En,collapsed:Ln,expanded:Mn,light:Sn,toggleContent:Bn,visible:$n,hidden:Nn,controlsContent:Tn,badge:In,fadeOut:An,badgeEnter:Vn,controlButton:Dn,divider:Pn,hoverHighlight:jn,hoverTooltip:Hn,marker:Zn,markerIn:On,markerDelete:Rn,hovered:Fn,markerNumber:Wn,markerTooltip:Yn,enter:Xn,tooltipIn:Un,markerQuote:qn,markerNote:Gn,settingsPanel:Kn,exit:Qn,settingsHeader:Jn,settingsBrand:eo,settingsBrandSlash:to,settingsVersion:no,settingsSection:oo,themeToggle:ro,settingsRow:ao,settingsLabel:lo,settingsLabelMarker:so,cycleButton:io,cycleButtonText:co,cycleTextIn:uo,cycleDots:po,cycleDot:fo,active:mo,colorOptions:ho,colorOptionRing:Co,colorOption:go,selected:vo,settingsToggle:yo,customCheckbox:ko,checked:bo,toggleLabel:wo,helpIcon:xo},zo={$style:_o},ot=Le(bn,[["__cssModules",zo]]);exports.Agentation=ot;exports.AgentationVue=ot;exports.AnimatedBunny=We;exports.AnnotationPopup=oe;exports.IconChatEllipsis=Oe;exports.IconCheck=Be;exports.IconCheckSmall=$e;exports.IconCheckSmallAnimated=K;exports.IconCheckmark=Re;exports.IconCheckmarkCircle=Pe;exports.IconCheckmarkLarge=Fe;exports.IconClose=Me;exports.IconCopyAlt=Ne;exports.IconCopyAnimated=le;exports.IconEye=Te;exports.IconEyeAlt=Ie;exports.IconEyeAnimated=se;exports.IconEyeClosed=Ae;exports.IconEyeMinus=He;exports.IconGear=ce;exports.IconHelp=ae;exports.IconListSparkle=re;exports.IconMoon=pe;exports.IconPause=Ve;exports.IconPauseAlt=Ze;exports.IconPausePlayAnimated=ie;exports.IconPlayAlt=De;exports.IconPlus=Se;exports.IconSun=de;exports.IconTrashAlt=ue;exports.IconXmark=je;exports.IconXmarkLarge=Q;exports.clearAnnotations=pn;exports.getAccessibilityInfo=Je;exports.getComputedStylesSnapshot=nn;exports.getDetailedComputedStyles=Ke;exports.getElementClasses=qe;exports.getElementPath=Ye;exports.getForensicComputedStyles=Qe;exports.getFullElementPath=et;exports.getNearbyElements=Ue;exports.getNearbyText=Xe;exports.getStorageKey=W;exports.identifyAnimationElement=tn;exports.identifyElement=J;exports.loadAnnotations=tt;exports.parseComputedStylesString=cn;exports.saveAnnotations=nt;
93
+ `:(r.textContent="",h.value=null,x.value=null,S.value=null))}),e.watch(b,n=>{m.value&&n.length>0?yt(q,n):m.value&&n.length===0&&localStorage.removeItem(Y(q))},{deep:!0}),e.watch(y,n=>{m.value&&localStorage.setItem("feedback-toolbar-settings",JSON.stringify(n))},{deep:!0}),e.watch(K,n=>{n?se.value=!0:setTimeout(()=>{se.value=!1},150)}),e.watch(()=>y.value.blockInteractions,n=>{n?Le():ce()}),e.watch(C,n=>{n||(h.value=null,x.value=null,S.value=null,K.value=!1,j.value&&(ce(),y.value.blockInteractions=!1)),ue()}),e.watch(Z,(n,r)=>{n&&!r?(document.addEventListener("mousemove",Be),document.addEventListener("mouseup",$e)):!n&&r&&(document.removeEventListener("mousemove",Be),document.removeEventListener("mouseup",$e))}),(n,r)=>{var d;return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).toolbar),style:e.normalizeStyle({zIndex:z.zIndex,...B.value?{left:`${B.value.x}px`,top:`${B.value.y}px`,right:"auto",bottom:"auto"}:{}}),"data-feedback-toolbar":""},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(l).toolbarContainer,!f.value&&e.unref(l).light,A.value&&e.unref(l).entrance,F.value&&e.unref(l).dragging,C.value?e.unref(l).expanded:e.unref(l).collapsed]),style:e.normalizeStyle(F.value?{transform:`rotate(${be.value}deg)`}:void 0),onMousedown:Pt,onClick:r[3]||(r[3]=i=>C.value?void 0:Me())},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(l).toggleContent,C.value?e.unref(l).hidden:e.unref(l).visible])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(me)),{size:24})),ne.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass([e.unref(l).badge,C.value&&e.unref(l).fadeOut,A.value&&e.unref(l).entrance]),style:e.normalizeStyle({backgroundColor:y.value.annotationColor})},e.toDisplayString(b.value.length),7)):e.createCommentVNode("",!0)],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(l).controlsContent,C.value?e.unref(l).visible:e.unref(l).hidden])},[e.createElementVNode("button",{class:e.normalizeClass([e.unref(l).controlButton,!f.value&&e.unref(l).light]),"data-active":j.value,onClick:e.withModifiers(Vt,["stop"]),title:"Pause/Resume animations"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(Ce)),{size:24,"is-paused":j.value},null,8,["is-paused"]))],10,Dn),e.createElementVNode("button",{class:e.normalizeClass([e.unref(l).controlButton,!f.value&&e.unref(l).light]),disabled:!ne.value,onClick:e.withModifiers(Tt,["stop"]),title:"Toggle markers"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(ge)),{size:24,"is-open":L.value},null,8,["is-open"]))],10,Vn),e.createElementVNode("button",{class:e.normalizeClass([e.unref(l).controlButton,!f.value&&e.unref(l).light]),disabled:!ne.value,"data-active":X.value,onClick:e.withModifiers(Ht,["stop"]),title:"Copy as markdown"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(fe)),{size:24,copied:X.value},null,8,["copied"]))],10,Pn),e.createElementVNode("button",{class:e.normalizeClass([e.unref(l).controlButton,!f.value&&e.unref(l).light]),disabled:!ne.value,"data-danger":"",onClick:e.withModifiers(Ot,["stop"]),title:"Clear all annotations"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(ye)),{size:24}))],10,Hn),e.createElementVNode("button",{class:e.normalizeClass([e.unref(l).controlButton,!f.value&&e.unref(l).light]),onClick:e.withModifiers(It,["stop"]),title:"Settings"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(ve)),{size:24}))],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(l).divider,!f.value&&e.unref(l).light])},null,2),e.createElementVNode("button",{class:e.normalizeClass([e.unref(l).controlButton,!f.value&&e.unref(l).light]),onClick:e.withModifiers(Me,["stop"]),title:"Exit"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(ae)),{size:24}))],2)],2),se.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(l).settingsPanel,f.value?e.unref(l).dark:e.unref(l).light,K.value?e.unref(l).enter:e.unref(l).exit]),onClick:r[2]||(r[2]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).settingsHeader)},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).settingsBrand)},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).settingsBrandSlash),style:e.normalizeStyle({color:y.value.annotationColor})}," / ",6),r[5]||(r[5]=e.createTextVNode(" agentation ",-1))],2),e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).settingsVersion)},"v"+e.toDisplayString(e.unref(An)),3),e.createElementVNode("button",{class:e.normalizeClass(e.unref(l).themeToggle),onClick:Nt,title:f.value?"Switch to light mode":"Switch to dark mode"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(f.value?e.unref(ke):e.unref(we)),{size:14}))],10,On)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).settingsSection)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).settingsRow)},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(l).settingsLabel,!f.value&&e.unref(l).light])},[r[6]||(r[6]=e.createTextVNode(" Output Detail ",-1)),e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).helpIcon),"data-tooltip":"Controls how much detail is included in the copied output"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(he)),{size:20}))],2)],2),e.createElementVNode("button",{class:e.normalizeClass([e.unref(l).cycleButton,!f.value&&e.unref(l).light]),onClick:At},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).cycleButtonText)},e.toDisplayString((d=g.find(i=>i.value===y.value.outputDetail))==null?void 0:d.label),3),e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).cycleDots)},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(g,i=>e.createElementVNode("span",{key:i.value,class:e.normalizeClass([e.unref(l).cycleDot,!f.value&&e.unref(l).light,y.value.outputDetail===i.value&&e.unref(l).active])},null,2)),64))],2)],2)],2)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).settingsSection)},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(l).settingsLabel,e.unref(l).settingsLabelMarker,!f.value&&e.unref(l).light])}," Marker Colour ",2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).colorOptions)},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(_,i=>e.createElementVNode("div",{key:i.value,class:e.normalizeClass([e.unref(l).colorOptionRing,y.value.annotationColor===i.value&&e.unref(l).selected]),style:e.normalizeStyle({borderColor:y.value.annotationColor===i.value?i.value:"transparent"}),onClick:c=>Dt(i.value)},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(l).colorOption,y.value.annotationColor===i.value&&e.unref(l).selected]),style:e.normalizeStyle({backgroundColor:i.value}),title:i.label},null,14,Zn)],14,jn)),64))],2)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).settingsSection)},[e.createElementVNode("label",{class:e.normalizeClass(e.unref(l).settingsToggle)},[e.withDirectives(e.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":r[0]||(r[0]=i=>y.value.autoClearAfterCopy=i)},null,512),[[e.vModelCheckbox,y.value.autoClearAfterCopy]]),e.createElementVNode("span",{class:e.normalizeClass([e.unref(l).customCheckbox,!f.value&&e.unref(l).light,y.value.autoClearAfterCopy&&e.unref(l).checked])},[y.value.autoClearAfterCopy?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(re)),{key:0,size:14})):e.createCommentVNode("",!0)],2),e.createElementVNode("span",{class:e.normalizeClass([e.unref(l).toggleLabel,!f.value&&e.unref(l).light])}," Clear after copy ",2)],2),e.createElementVNode("label",{class:e.normalizeClass(e.unref(l).settingsToggle)},[e.withDirectives(e.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":r[1]||(r[1]=i=>y.value.blockInteractions=i)},null,512),[[e.vModelCheckbox,y.value.blockInteractions]]),e.createElementVNode("span",{class:e.normalizeClass([e.unref(l).customCheckbox,!f.value&&e.unref(l).light,y.value.blockInteractions&&e.unref(l).checked])},[y.value.blockInteractions?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(re)),{key:0,size:14})):e.createCommentVNode("",!0)],2),e.createElementVNode("span",{class:e.normalizeClass([e.unref(l).toggleLabel,!f.value&&e.unref(l).light])}," Block page interactions ",2)],2)],2)],2)):e.createCommentVNode("",!0)],38)],6),R.value&&V.value&&P.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(l).dragSelection),style:e.normalizeStyle({left:`${Math.min(V.value.x,P.value.x)}px`,top:`${Math.min(V.value.y,P.value.y)}px`,width:`${Math.abs(P.value.x-V.value.x)}px`,height:`${Math.abs(P.value.y-V.value.y)}px`})},[U.value.length>0?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(l).dragCount)},e.toDisplayString(U.value.length),3)):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,(i,c)=>(e.openBlock(),e.createElementBlock("div",{key:`drag-highlight-${c}`,class:e.normalizeClass(e.unref(l).selectedElementHighlight),style:e.normalizeStyle({left:`${i.rect.left}px`,top:`${i.rect.top}px`,width:`${i.rect.width}px`,height:`${i.rect.height}px`})},null,6))),128)),C.value&&S.value&&S.value.rect&&!h.value&&!x.value&&!w.value&&!R.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(l).hoverHighlight),style:e.normalizeStyle({left:`${S.value.rect.left}px`,top:`${S.value.rect.top}px`,width:`${S.value.rect.width}px`,height:`${S.value.rect.height}px`,borderColor:y.value.annotationColor,backgroundColor:_t(y.value.annotationColor,.1)})},null,6)):e.createCommentVNode("",!0),C.value&&S.value&&!h.value&&!x.value&&!w.value&&!R.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass([e.unref(l).hoverTooltip,!f.value&&e.unref(l).light]),style:e.normalizeStyle({left:`${W.value.x}px`,top:`${W.value.y+20}px`})},e.toDisplayString(S.value.element),7)):e.createCommentVNode("",!0),C.value&&L.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:3},e.renderList(b.value,(i,c)=>(e.openBlock(),e.createElementBlock("div",{key:i.id,class:e.normalizeClass([e.unref(l).marker,!f.value&&e.unref(l).light,w.value===i.id&&e.unref(l).hovered,i.isMultiSelect&&e.unref(l).multiSelect]),style:e.normalizeStyle({left:`${i.x}%`,top:i.isFixed?`${i.y}px`:`${i.y-O.value}px`,position:"fixed",backgroundColor:w.value===i.id?void 0:i.isMultiSelect?"#10b981":y.value.annotationColor}),"data-annotation-marker":"",onMouseenter:a=>w.value=i.id,onMouseleave:r[4]||(r[4]=a=>w.value=null),onClick:a=>Wt(i,a),onContextmenu:e.withModifiers(a=>Yt(i,a),["prevent"])},[w.value!==i.id?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(l).markerNumber)},e.toDisplayString(c+1),3)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(ae)),{key:1,size:12})),w.value===i.id&&!x.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass([e.unref(l).markerTooltip,!f.value&&e.unref(l).light,e.unref(l).enter]),style:e.normalizeStyle(Bt(i))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).markerQuote)},[e.createTextVNode(e.toDisplayString(i.element)+" ",1),i.selectedText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(' "'+e.toDisplayString(i.selectedText.slice(0,30))+e.toDisplayString(i.selectedText.length>30?"...":"")+'" ',1)],64)):e.createCommentVNode("",!0)],2),e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).markerNote)},e.toDisplayString(i.comment),3)],6)):e.createCommentVNode("",!0)],46,Rn))),128)):e.createCommentVNode("",!0),h.value&&h.value.boundingBox?(e.openBlock(),e.createElementBlock("div",{key:4,class:e.normalizeClass(h.value.isMultiSelect?e.unref(l).multiSelectOutline:e.unref(l).singleSelectOutline),style:e.normalizeStyle({left:`${h.value.boundingBox.x}px`,top:`${h.value.boundingBox.y-O.value}px`,width:`${h.value.boundingBox.width}px`,height:`${h.value.boundingBox.height}px`,...h.value.isMultiSelect?{}:{borderColor:`${y.value.annotationColor}99`,backgroundColor:`${y.value.annotationColor}0D`}})},null,6)):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass([e.unref(l).marker,e.unref(l).pending,h.value.isMultiSelect&&e.unref(l).multiSelect]),style:e.normalizeStyle({left:`${h.value.x}%`,top:`${h.value.clientY}px`,backgroundColor:h.value.isMultiSelect?"#34C759":y.value.annotationColor})},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(pe)),{size:12}))],6)):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createBlock(de,{key:6,ref_key:"popupRef",ref:_e,element:h.value.element,"selected-text":h.value.selectedText,"computed-styles":h.value.computedStylesObj,"accent-color":h.value.isMultiSelect?"#34C759":y.value.annotationColor,"light-mode":!f.value,"popup-style":wt.value,placeholder:h.value.element==="Empty area"?"What should change in this area?":h.value.isMultiSelect?"Feedback for this group of elements...":"What should change?",onSubmit:jt,onCancel:Zt},null,8,["element","selected-text","computed-styles","accent-color","light-mode","popup-style","placeholder"])):e.createCommentVNode("",!0),x.value&&x.value.boundingBox?(e.openBlock(),e.createElementBlock("div",{key:7,class:e.normalizeClass(x.value.isMultiSelect?e.unref(l).multiSelectOutline:e.unref(l).singleSelectOutline),style:e.normalizeStyle({left:`${x.value.boundingBox.x}px`,top:`${x.value.boundingBox.y-O.value}px`,width:`${x.value.boundingBox.width}px`,height:`${x.value.boundingBox.height}px`,...x.value.isMultiSelect?{}:{borderColor:`${y.value.annotationColor}99`,backgroundColor:`${y.value.annotationColor}0D`}})},null,6)):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createBlock(de,{key:8,ref_key:"editPopupRef",ref:ze,element:x.value.element,"selected-text":x.value.selectedText,"initial-value":x.value.comment,"computed-styles":(x.value.computedStyles,void 0),"accent-color":x.value.isMultiSelect?"#34C759":y.value.annotationColor,"light-mode":!f.value,"submit-label":"Save","popup-style":bt.value,onSubmit:Rt,onCancel:Ft},null,8,["element","selected-text","initial-value","computed-styles","accent-color","light-mode","popup-style"])):e.createCommentVNode("",!0)])}}}),Wn="_dragSelection_zeo7w_31",Xn="_dragCount_zeo7w_45",Un="_selectedElementHighlight_zeo7w_56",qn="_multiSelect_zeo7w_67",Gn="_pending_zeo7w_75",Kn="_multiSelectOutline_zeo7w_83",Qn="_hoverHighlightIn_zeo7w_1",Jn="_singleSelectOutline_zeo7w_93",eo="_toolbar_zeo7w_112",to="_toolbarContainer_zeo7w_124",no="_dragging_zeo7w_139",oo="_entrance_zeo7w_143",lo="_toolbarEnter_zeo7w_1",ro="_collapsed_zeo7w_146",ao="_expanded_zeo7w_162",so="_light_zeo7w_168",io="_toggleContent_zeo7w_177",co="_visible_zeo7w_184",uo="_hidden_zeo7w_189",po="_controlsContent_zeo7w_194",mo="_badge_zeo7w_214",ho="_fadeOut_zeo7w_235",fo="_badgeEnter_zeo7w_1",go="_controlButton_zeo7w_244",Co="_divider_zeo7w_293",vo="_hoverHighlight_zeo7w_303",yo="_hoverTooltip_zeo7w_311",ko="_marker_zeo7w_332",wo="_markerIn_zeo7w_1",bo="_markerDelete_zeo7w_353",xo="_hovered_zeo7w_356",_o="_markerNumber_zeo7w_361",zo="_markerTooltip_zeo7w_386",Eo="_enter_zeo7w_404",So="_tooltipIn_zeo7w_1",Mo="_markerQuote_zeo7w_411",Lo="_markerNote_zeo7w_414",Bo="_settingsPanel_zeo7w_452",$o="_exit_zeo7w_470",To="_settingsHeader_zeo7w_481",No="_settingsBrand_zeo7w_484",Io="_settingsBrandSlash_zeo7w_487",Ao="_settingsVersion_zeo7w_490",Do="_settingsSection_zeo7w_493",Vo="_themeToggle_zeo7w_526",Po="_settingsRow_zeo7w_558",Ho="_settingsLabel_zeo7w_565",Oo="_settingsLabelMarker_zeo7w_578",jo="_cycleButton_zeo7w_582",Zo="_cycleButtonText_zeo7w_609",Ro="_cycleTextIn_zeo7w_1",Fo="_cycleDots_zeo7w_614",Yo="_cycleDot_zeo7w_614",Wo="_active_zeo7w_628",Xo="_colorOptions_zeo7w_639",Uo="_colorOptionRing_zeo7w_646",qo="_colorOption_zeo7w_639",Go="_selected_zeo7w_56",Ko="_settingsToggle_zeo7w_671",Qo="_customCheckbox_zeo7w_687",Jo="_checked_zeo7w_705",el="_toggleLabel_zeo7w_721",tl="_helpIcon_zeo7w_734",nl={dragSelection:Wn,dragCount:Xn,selectedElementHighlight:Un,multiSelect:qn,pending:Gn,multiSelectOutline:Kn,hoverHighlightIn:Qn,singleSelectOutline:Jn,toolbar:eo,toolbarContainer:to,dragging:no,entrance:oo,toolbarEnter:lo,collapsed:ro,expanded:ao,light:so,toggleContent:io,visible:co,hidden:uo,controlsContent:po,badge:mo,fadeOut:ho,badgeEnter:fo,controlButton:go,divider:Co,hoverHighlight:vo,hoverTooltip:yo,marker:ko,markerIn:wo,markerDelete:bo,hovered:xo,markerNumber:_o,markerTooltip:zo,enter:Eo,tooltipIn:So,markerQuote:Mo,markerNote:Lo,settingsPanel:Bo,exit:$o,settingsHeader:To,settingsBrand:No,settingsBrandSlash:Io,settingsVersion:Ao,settingsSection:Do,themeToggle:Vo,settingsRow:Po,settingsLabel:Ho,settingsLabelMarker:Oo,cycleButton:jo,cycleButtonText:Zo,cycleTextIn:Ro,cycleDots:Fo,cycleDot:Yo,active:Wo,colorOptions:Xo,colorOptionRing:Uo,colorOption:qo,selected:Go,settingsToggle:Ko,customCheckbox:Qo,checked:Jo,toggleLabel:el,helpIcon:tl},ol={$style:nl},kt=Ye(Yn,[["__cssModules",ol]]);exports.Agentation=kt;exports.AgentationVue=kt;exports.AnimatedBunny=it;exports.AnnotationPopup=de;exports.IconChatEllipsis=rt;exports.IconCheck=Xe;exports.IconCheckSmall=Ue;exports.IconCheckSmallAnimated=re;exports.IconCheckmark=at;exports.IconCheckmarkCircle=tt;exports.IconCheckmarkLarge=st;exports.IconClose=We;exports.IconCopyAlt=qe;exports.IconCopyAnimated=fe;exports.IconEye=Ge;exports.IconEyeAlt=Ke;exports.IconEyeAnimated=ge;exports.IconEyeClosed=Qe;exports.IconEyeMinus=ot;exports.IconGear=ve;exports.IconHelp=he;exports.IconListSparkle=me;exports.IconMoon=we;exports.IconPause=Je;exports.IconPauseAlt=lt;exports.IconPausePlayAnimated=Ce;exports.IconPlayAlt=et;exports.IconPlus=pe;exports.IconSun=ke;exports.IconTrashAlt=ye;exports.IconXmark=nt;exports.IconXmarkLarge=ae;exports.clearAnnotations=In;exports.getAccessibilityInfo=gt;exports.getComputedStylesSnapshot=zn;exports.getDetailedComputedStyles=ht;exports.getElementClasses=pt;exports.getElementPath=ct;exports.getForensicComputedStyles=ft;exports.getFullElementPath=Ct;exports.getNearbyElements=dt;exports.getNearbyText=ut;exports.getStorageKey=Y;exports.identifyAnimationElement=_n;exports.identifyElement=G;exports.loadAnnotations=vt;exports.parseComputedStylesString=$n;exports.saveAnnotations=yt;