@ohbug/extension-feedback 0.6.0 → 0.6.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/Box.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAOzC,OAAO,gBAAgB,CAAA;AACvB,OAAO,gBAAgB,CAAA;AAEvB,QAAA,MAAM,GAAG,EAAE,SAwJV,CAAA;AAED,eAAe,GAAG,CAAA"}
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["src/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAOzC,QAAA,MAAM,GAAG,EAAE,SAwJV,CAAA;AAED,eAAe,GAAG,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Selector.d.ts","sourceRoot":"","sources":["Selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAUzC,OAAO,YAAY,CAAA;AACnB,OAAO,gBAAgB,CAAA;AAEvB,QAAA,MAAM,QAAQ,EAAE,SAmQf,CAAA;AAED,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"Selector.d.ts","sourceRoot":"","sources":["src/Selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAUzC,QAAA,MAAM,QAAQ,EAAE,SAmQf,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["assets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEzC,eAAO,MAAM,KAAK,EAAE,SAmBnB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,SAmBpB,CAAA"}
1
+ {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["src/assets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEzC,eAAO,MAAM,KAAK,EAAE,SAmBnB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,SAmBpB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAIlD,QAAA,MAAM,SAAS,EAAE,cAShB,CAAA;AAED,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAIlD,QAAA,MAAM,SAAS,EAAE,cAShB,CAAA;AAED,eAAe,SAAS,CAAA"}
package/dist/index.js CHANGED
@@ -1,498 +1,31 @@
1
- "use strict";const S={};function Le(e){S.context=e}const ze=(e,t)=>e===t,z=Symbol("solid-proxy"),He=Symbol("solid-track"),W={equals:ze};let be=me;const H={},O=1,X=2,pe={owned:null,cleanups:null,context:null,owner:null};var y=null;let G=null,b=null,B=null,$=null,E=null,le=0;function je(e,t){const n=b,o=y,l=e.length===0,s=l?pe:{owned:null,cleanups:null,context:null,owner:t||o},i=l?e:()=>e(()=>ue(s));y=s,b=null;try{return ce(i,!0)}finally{b=n,y=o}}function F(e,t){t=t?Object.assign({},W,t):W;const n={value:e,observers:null,observerSlots:null,pending:H,comparator:t.equals||void 0},o=l=>(typeof l=="function"&&(l=l(n.pending!==H?n.pending:n.value)),ie(n,l));return[ve.bind(n),o]}function j(e,t,n){const o=re(e,t,!1,O);I(o)}function we(e,t,n){be=Fe;const o=re(e,t,!1,O);o.user=!0,E?E.push(o):I(o)}function de(e,t,n){n=n?Object.assign({},W,n):W;const o=re(e,t,!0,0);return o.pending=H,o.observers=null,o.observerSlots=null,o.comparator=n.equals||void 0,I(o),ve.bind(o)}function ye(e){if(B)return e();let t;const n=B=[];try{t=e()}finally{B=null}return ce(()=>{for(let o=0;o<n.length;o+=1){const l=n[o];if(l.pending!==H){const s=l.pending;l.pending=H,ie(l,s)}}},!1),t}function se(e){let t,n=b;return b=null,t=e(),b=n,t}function Me(e){return y===null||(y.cleanups===null?y.cleanups=[e]:y.cleanups.push(e)),e}function $e(){return b}function ve(){const e=G;if(this.sources&&(this.state||e)){const t=$;$=null,this.state===O||e?I(this):Y(this),$=t}if(b){const t=this.observers?this.observers.length:0;b.sources?(b.sources.push(this),b.sourceSlots.push(t)):(b.sources=[this],b.sourceSlots=[t]),this.observers?(this.observers.push(b),this.observerSlots.push(b.sources.length-1)):(this.observers=[b],this.observerSlots=[b.sources.length-1])}return this.value}function ie(e,t,n){if(B)return e.pending===H&&B.push(e),e.pending=t,t;if(e.comparator&&e.comparator(e.value,t))return t;let o=!1;return e.value=t,e.observers&&e.observers.length&&ce(()=>{for(let l=0;l<e.observers.length;l+=1){const s=e.observers[l];o&&G.disposed.has(s),(o&&!s.tState||!o&&!s.state)&&(s.pure?$.push(s):E.push(s),s.observers&&xe(s)),o||(s.state=O)}if($.length>1e6)throw $=[],new Error},!1),t}function I(e){if(!e.fn)return;ue(e);const t=y,n=b,o=le;b=y=e,De(e,e.value,o),b=n,y=t}function De(e,t,n){let o;try{o=e.fn(t)}catch(l){Ee(l)}(!e.updatedAt||e.updatedAt<=n)&&(e.observers&&e.observers.length?ie(e,o):e.value=o,e.updatedAt=n)}function re(e,t,n,o=O,l){const s={fn:e,state:o,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:y,context:null,pure:n};return y===null||y!==pe&&(y.owned?y.owned.push(s):y.owned=[s]),s}function R(e){const t=G;if(e.state===0||t)return;if(e.state===X||t)return Y(e);if(e.suspense&&se(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<le);)(e.state||t)&&n.push(e);for(let o=n.length-1;o>=0;o--)if(e=n[o],e.state===O||t)I(e);else if(e.state===X||t){const l=$;$=null,Y(e,n[0]),$=l}}function ce(e,t){if($)return e();let n=!1;t||($=[]),E?n=!0:E=[],le++;try{const o=e();return Be(n),o}catch(o){$||(E=null),Ee(o)}}function Be(e){$&&(me($),$=null),!e&&(E.length?ye(()=>{be(E),E=null}):E=null)}function me(e){for(let t=0;t<e.length;t++)R(e[t])}function Fe(e){let t,n=0;for(t=0;t<e.length;t++){const l=e[t];l.user?e[n++]=l:R(l)}S.context&&Le();const o=e.length;for(t=0;t<n;t++)R(e[t]);for(t=o;t<e.length;t++)R(e[t])}function Y(e,t){const n=G;e.state=0;for(let o=0;o<e.sources.length;o+=1){const l=e.sources[o];l.sources&&(l.state===O||n?l!==t&&R(l):(l.state===X||n)&&Y(l,t))}}function xe(e){const t=G;for(let n=0;n<e.observers.length;n+=1){const o=e.observers[n];(!o.state||t)&&(o.state=X,o.pure?$.push(o):E.push(o),o.observers&&xe(o))}}function ue(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),o=e.sourceSlots.pop(),l=n.observers;if(l&&l.length){const s=l.pop(),i=n.observerSlots.pop();o<l.length&&(s.sourceSlots[i]=o,l[o]=s,n.observerSlots[o]=i)}}if(e.owned){for(t=0;t<e.owned.length;t++)ue(e.owned[t]);e.owned=null}if(e.cleanups){for(t=0;t<e.cleanups.length;t++)e.cleanups[t]();e.cleanups=null}e.state=0,e.context=null}function Ee(e){throw e}function x(e,t){return se(()=>e(t||{}))}function V(e){let t=!1;const n=de(()=>e.when,void 0,{equals:(o,l)=>t?o===l:!o==!l});return de(()=>{const o=n();if(o){const l=e.children;return(t=typeof l=="function"&&l.length>0)?se(()=>l(o)):l}return e.fallback})}function Re(e,t,n){let o=n.length,l=t.length,s=o,i=0,r=0,c=t[l-1].nextSibling,f=null;for(;i<l||r<s;){if(t[i]===n[r]){i++,r++;continue}for(;t[l-1]===n[s-1];)l--,s--;if(l===i){const a=s<o?r?n[r-1].nextSibling:n[s-r]:c;for(;r<s;)e.insertBefore(n[r++],a)}else if(s===r)for(;i<l;)(!f||!f.has(t[i]))&&t[i].remove(),i++;else if(t[i]===n[s-1]&&n[r]===t[l-1]){const a=t[--l].nextSibling;e.insertBefore(n[r++],t[i++].nextSibling),e.insertBefore(n[--s],a),t[l]=n[s]}else{if(!f){f=new Map;let h=r;for(;h<s;)f.set(n[h],h++)}const a=f.get(t[i]);if(a!=null)if(r<a&&a<s){let h=i,v=1,_;for(;++h<l&&h<s&&!((_=f.get(t[h]))==null||_!==a+v);)v++;if(v>a-r){const C=t[i];for(;r<a;)e.insertBefore(n[r++],C)}else e.replaceChild(n[r++],t[i++])}else i++;else t[i++].remove()}}}const he="_$DX_DELEGATE";function Ve(e,t,n){let o;return je(l=>{o=l,t===document?e():m(t,e(),t.firstChild?null:void 0,n)}),()=>{o(),t.textContent=""}}function N(e,t,n){const o=document.createElement("template");o.innerHTML=e;let l=o.content.firstChild;return n&&(l=l.firstChild),l}function Se(e,t=window.document){const n=t[he]||(t[he]=new Set);for(let o=0,l=e.length;o<l;o++){const s=e[o];n.has(s)||(n.add(s),t.addEventListener(s,Ue))}}function m(e,t,n,o){if(n!==void 0&&!o&&(o=[]),typeof t!="function")return J(e,t,o,n);j(l=>J(e,t(),l,n),o)}function Ue(e){const t=`$$${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return n||document}}),S.registry&&!S.done&&(S.done=!0,document.querySelectorAll("[id^=pl-]").forEach(o=>o.remove()));n!==null;){const o=n[t];if(o&&!n.disabled){const l=n[`${t}Data`];if(l!==void 0?o.call(n,l,e):o.call(n,e),e.cancelBubble)return}n=n.host&&n.host!==n&&n.host instanceof Node?n.host:n.parentNode}}function J(e,t,n,o,l){for(S.context&&!n&&(n=[...e.childNodes]);typeof n=="function";)n=n();if(t===n)return n;const s=typeof t,i=o!==void 0;if(e=i&&n[0]&&n[0].parentNode||e,s==="string"||s==="number"){if(S.context)return n;if(s==="number"&&(t=t.toString()),i){let r=n[0];r&&r.nodeType===3?r.data=t:r=document.createTextNode(t),n=P(e,n,o,r)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||s==="boolean"){if(S.context)return n;n=P(e,n,o)}else{if(s==="function")return j(()=>{let r=t();for(;typeof r=="function";)r=r();n=J(e,r,n,o)}),()=>n;if(Array.isArray(t)){const r=[],c=n&&Array.isArray(n);if(te(r,t,n,l))return j(()=>n=J(e,r,n,o,!0)),()=>n;if(S.context){for(let f=0;f<r.length;f++)if(r[f].parentNode)return n=r}if(r.length===0){if(n=P(e,n,o),i)return n}else c?n.length===0?ge(e,r,o):Re(e,n,r):(n&&P(e),ge(e,r));n=r}else if(t instanceof Node){if(S.context&&t.parentNode)return n=i?[t]:t;if(Array.isArray(n)){if(i)return n=P(e,n,o,t);P(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function te(e,t,n,o){let l=!1;for(let s=0,i=t.length;s<i;s++){let r=t[s],c=n&&n[s];if(r instanceof Node)e.push(r);else if(!(r==null||r===!0||r===!1))if(Array.isArray(r))l=te(e,r,c)||l;else if(typeof r=="function")if(o){for(;typeof r=="function";)r=r();l=te(e,Array.isArray(r)?r:[r],c)||l}else e.push(r),l=!0;else{const f=String(r);c&&c.nodeType===3&&c.data===f?e.push(c):e.push(document.createTextNode(f))}}return l}function ge(e,t,n){for(let o=0,l=t.length;o<l;o++)e.insertBefore(t[o],n)}function P(e,t,n,o){if(n===void 0)return e.textContent="";const l=o||document.createTextNode("");if(t.length){let s=!1;for(let i=t.length-1;i>=0;i--){const r=t[i];if(l!==r){const c=r.parentNode===e;!s&&!i?c?e.replaceChild(l,r):e.insertBefore(l,n):c&&r.remove()}else s=!0}}else e.insertBefore(l,n);return[l]}function Ge(e,t,...n){if(t===void 0)throw new Error("`Ohbug warning(condition, format, ...args)` requires a warning message argument");if(!e){let o=0;const l=t.replace(/%s/g,()=>n[o++]);throw new Error(`Ohbug ${l}`)}}var Ie={};function qe(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:Ie}function Ke(){const e=qe();return Ge(Boolean(e.__OHBUG__),"Failed to get `OhbugObject`, please confirm if `Ohbug.setup`"),e.__OHBUG__}function _e(e,t){e.parentNode&&(t.push(e.parentNode),_e(e.parentNode,t))}function We(e){const t=[];return t.push(e),_e(e,t),t}var Xe=e=>{const t=e.target||e.srcElement;let n=e.target||e.srcElement;const o=[];for(let i=0;n&&n.nodeType===Node.ELEMENT_NODE&&n.nodeType!==Node.DOCUMENT_TYPE_NODE;n=n.previousSibling)i&&o.push(n),i+=1;const l=typeof e.path>"u"?We(e.target):e.path,{outerHTML:s}=t;return l.reverse().map(i=>(i.localName||"")+(i.id?`#${i.id}`:"")+(i.className?`.${i.className}`:"")+(i.outerHTML===s?`:nth-child(${o.length})`:"")).filter(i=>Boolean(i)).join(" > ")};const Ae=Symbol("store-raw"),Q=Symbol("store-node"),Ye=Symbol("store-name");function Ne(e,t){let n=e[z];if(!n){Object.defineProperty(e,z,{value:n=new Proxy(e,Ze)});const o=Object.keys(e),l=Object.getOwnPropertyDescriptors(e);for(let s=0,i=o.length;s<i;s++){const r=o[s];if(l[r].get){const c=l[r].get.bind(n);Object.defineProperty(e,r,{get:c})}}}return n}function Z(e){let t;return e!=null&&typeof e=="object"&&(e[z]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function U(e,t=new Set){let n,o,l,s;if(n=e!=null&&e[Ae])return n;if(!Z(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let i=0,r=e.length;i<r;i++)l=e[i],(o=U(l,t))!==l&&(e[i]=o)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const i=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let c=0,f=i.length;c<f;c++)s=i[c],!r[s].get&&(l=e[s],(o=U(l,t))!==l&&(e[s]=o))}return e}function fe(e){let t=e[Q];return t||Object.defineProperty(e,Q,{value:t={}}),t}function ne(e,t,n){return e[t]||(e[t]=Oe(n,!0))}function Je(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return!n||n.get||!n.configurable||t===z||t===Q||t===Ye||(delete n.value,delete n.writable,n.get=()=>e[z][t]),n}function ke(e){if($e()){const t=fe(e);(t._||(t._=Oe()))()}}function Qe(e){return ke(e),Reflect.ownKeys(e)}function Oe(e,t){const[n,o]=F(e,t?{internal:!0}:{equals:!1,internal:!0});return n.$=o,n}const Ze={get(e,t,n){if(t===Ae)return e;if(t===z)return n;if(t===He)return ke(e);const o=fe(e),l=o[t];let s=l?o[t]():e[t];if(t===Q||t==="__proto__")return s;if(!l){const i=Object.getOwnPropertyDescriptor(e,t);$e()&&(typeof s!="function"||e.hasOwnProperty(t))&&!(i&&i.get)&&(s=ne(o,t,s)())}return Z(s)?Ne(s):s},set(){return!0},deleteProperty(){return!0},ownKeys:Qe,getOwnPropertyDescriptor:Je};function ee(e,t,n){if(e[t]===n)return;const o=e[t],l=e.length;n===void 0?delete e[t]:e[t]=n;let s=fe(e),i;(i=ne(s,t,o))&&i.$(()=>n),Array.isArray(e)&&e.length!==l&&(i=ne(s,"length",l))&&i.$(e.length),(i=s._)&&i.$()}function Ce(e,t){const n=Object.keys(t);for(let o=0;o<n.length;o+=1){const l=n[o];ee(e,l,t[l])}}function et(e,t){if(typeof t=="function"&&(t=t(e)),t=U(t),Array.isArray(t)){if(e===t)return;let n=0,o=t.length;for(;n<o;n++){const l=t[n];e[n]!==l&&ee(e,n,l)}ee(e,"length",o)}else Ce(e,t)}function D(e,t,n=[]){let o,l=e;if(t.length>1){o=t.shift();const i=typeof o,r=Array.isArray(e);if(Array.isArray(o)){for(let c=0;c<o.length;c++)D(e,[o[c]].concat(t),n);return}else if(r&&i==="function"){for(let c=0;c<e.length;c++)o(e[c],c)&&D(e,[c].concat(t),n);return}else if(r&&i==="object"){const{from:c=0,to:f=e.length-1,by:a=1}=o;for(let h=c;h<=f;h+=a)D(e,[h].concat(t),n);return}else if(t.length>1){D(e[o],t,[o].concat(n));return}l=e[o],n=[o].concat(n)}let s=t[0];typeof s=="function"&&(s=s(l,n),s===l)||o===void 0&&s==null||(s=U(s),o===void 0||Z(l)&&Z(s)&&!Array.isArray(s)?Ce(l,s):ee(e,o,s))}function tt(...[e,t]){const n=U(e||{}),o=Array.isArray(n),l=Ne(n);function s(...i){ye(()=>{o&&i.length===1?et(n,i[0]):D(n,i)})}return[l,s]}const[p,L]=tt({working:!1,selectedElement:null}),nt=N('<svg data-ohbug-selector height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" data-ohbug-selector fill="none"></path><path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z" data-ohbug-selector fill="rgba(255,255,255,1)"></path></svg>'),ot=N('<svg data-ohbug-selector height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" data-ohbug-selector fill="none"></path><path d="M3 3h2v2H3V3zm4 0h2v2H7V3zm4 0h2v2h-2V3zm4 0h2v2h-2V3zm4 0h2v2h-2V3zm0 4h2v2h-2V7zM3 19h2v2H3v-2zm0-4h2v2H3v-2zm0-4h2v2H3v-2zm0-4h2v2H3V7zm7.667 4l1.036-1.555A1 1 0 0 1 12.535 9h2.93a1 1 0 0 1 .832.445L17.333 11H20a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h2.667zM9 19h10v-6h-2.737l-1.333-2h-1.86l-1.333 2H9v6zm5-1a2 2 0 1 1 0-4 2 2 0 0 1 0 4z" data-ohbug-selector></path></svg>'),oe=()=>nt.cloneNode(!0),lt=()=>(()=>{const e=ot.cloneNode(!0);return e.firstChild.nextSibling.style.setProperty("fill","var(--color)"),e})();const st=N('<div class="bg-none border-solid border-4 border-blue-500 transition top-0 right-0 bottom-0 left-0 z-10 fixed pointer-events-none" data-ohbug-selector><div class="tips" data-ohbug-selector>Select element on the page<button class="stop-btn" type="button"></button></div></div>'),it=N('<button class="rounded-full cursor-pointer flex bg-red-500 h-6 -top-3 -right-3 w-6 z-10 items-center justify-center absolute pointer-events-auto" data-ohbug-selector type="button"></button>'),rt=N('<button class="border-solid cursor-pointer font-semibold bg-red-500 border-4 border-red-500 -bottom-full text-white right-0 absolute pointer-events-auto" data-ohbug-selector type="button">Change</button>'),ct=N('<div class="-z-1 fixed" data-ohbug-selector><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div data-ohbug-selector></div></div>'),ut=()=>{const[e,t]=F();let n,o,l,s,i;const r=2;function c(u){if(!u||u.tagName==="HTML")return;const{width:g,height:w,top:A,right:T,bottom:M,left:d}=u.getBoundingClientRect();i==null||i.setAttribute("style",`
2
- width: ${g+r*2}px;
3
- height: ${w+r*2}px;
4
- top: ${A-r}px;
1
+ "use strict";const Te=(e,t)=>e===t,C=Symbol("solid-proxy"),fe=Symbol("solid-track"),K={equals:Te};let ge=me;const k=1,W=2,be={owned:null,cleanups:null,context:null,owner:null};var w=null;let ne=null,b=null,$=null,S=null,ee=0;function Pe(e,t){const n=b,l=w,s=e.length===0,o=s?be:{owned:null,cleanups:null,context:null,owner:t===void 0?l:t},i=s?e:()=>e(()=>N(()=>te(o)));w=o,b=null;try{return H(i,!0)}finally{b=n,w=l}}function F(e,t){t=t?Object.assign({},K,t):K;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},l=s=>(typeof s=="function"&&(s=s(n.value)),$e(n,s));return[ye.bind(n),l]}function j(e,t,n){const l=re(e,t,!1,k);G(l)}function pe(e,t,n){ge=Me;const l=re(e,t,!1,k);(!n||!n.render)&&(l.user=!0),S?S.push(l):G(l)}function ae(e,t,n){n=n?Object.assign({},K,n):K;const l=re(e,t,!0,0);return l.observers=null,l.observerSlots=null,l.comparator=n.equals||void 0,G(l),ye.bind(l)}function Le(e){return H(e,!1)}function N(e){if(b===null)return e();const t=b;b=null;try{return e()}finally{b=t}}function ze(e){return w===null||(w.cleanups===null?w.cleanups=[e]:w.cleanups.push(e)),e}function we(){return b}function ye(){if(this.sources&&this.state)if(this.state===k)G(this);else{const e=$;$=null,H(()=>Y(this),!1),$=e}if(b){const e=this.observers?this.observers.length:0;b.sources?(b.sources.push(this),b.sourceSlots.push(e)):(b.sources=[this],b.sourceSlots=[e]),this.observers?(this.observers.push(b),this.observerSlots.push(b.sources.length-1)):(this.observers=[b],this.observerSlots=[b.sources.length-1])}return this.value}function $e(e,t,n){let l=e.value;return(!e.comparator||!e.comparator(l,t))&&(e.value=t,e.observers&&e.observers.length&&H(()=>{for(let s=0;s<e.observers.length;s+=1){const o=e.observers[s],i=ne&&ne.running;i&&ne.disposed.has(o),(i?!o.tState:!o.state)&&(o.pure?$.push(o):S.push(o),o.observers&&ve(o)),i||(o.state=k)}if($.length>1e6)throw $=[],new Error},!1)),t}function G(e){if(!e.fn)return;te(e);const t=w,n=b,l=ee;b=w=e,je(e,e.value,l),b=n,w=t}function je(e,t,n){let l;try{l=e.fn(t)}catch(s){return e.pure&&(e.state=k,e.owned&&e.owned.forEach(te),e.owned=null),e.updatedAt=n+1,xe(s)}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?$e(e,l):e.value=l,e.updatedAt=n)}function re(e,t,n,l=k,s){const o={fn:e,state:l,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:w,context:null,pure:n};return w===null||w!==be&&(w.owned?w.owned.push(o):w.owned=[o]),o}function X(e){if(e.state===0)return;if(e.state===W)return Y(e);if(e.suspense&&N(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<ee);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if(e=t[n],e.state===k)G(e);else if(e.state===W){const l=$;$=null,H(()=>Y(e,t[0]),!1),$=l}}function H(e,t){if($)return e();let n=!1;t||($=[]),S?n=!0:S=[],ee++;try{const l=e();return He(n),l}catch(l){n||(S=null),$=null,xe(l)}}function He(e){if($&&(me($),$=null),e)return;const t=S;S=null,t.length&&H(()=>ge(t),!1)}function me(e){for(let t=0;t<e.length;t++)X(e[t])}function Me(e){let t,n=0;for(t=0;t<e.length;t++){const l=e[t];l.user?e[n++]=l:X(l)}for(t=0;t<n;t++)X(e[t])}function Y(e,t){e.state=0;for(let n=0;n<e.sources.length;n+=1){const l=e.sources[n];if(l.sources){const s=l.state;s===k?l!==t&&(!l.updatedAt||l.updatedAt<ee)&&X(l):s===W&&Y(l,t)}}}function ve(e){for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t];n.state||(n.state=W,n.pure?$.push(n):S.push(n),n.observers&&ve(n))}}function te(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),l=e.sourceSlots.pop(),s=n.observers;if(s&&s.length){const o=s.pop(),i=n.observerSlots.pop();l<s.length&&(o.sourceSlots[i]=l,s[l]=o,n.observerSlots[l]=i)}}if(e.owned){for(t=e.owned.length-1;t>=0;t--)te(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0,e.context=null}function De(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function xe(e,t=w){throw De(e)}function x(e,t){return N(()=>e(t||{}))}const Be=e=>`Stale read from <${e}>.`;function U(e){const t=e.keyed,n=ae(()=>e.when,void 0,{equals:(l,s)=>t?l===s:!l==!s});return ae(()=>{const l=n();if(l){const s=e.children;return typeof s=="function"&&s.length>0?N(()=>s(t?l:()=>{if(!N(n))throw Be("Show");return e.when})):s}return e.fallback},void 0,void 0)}function Fe(e,t,n){let l=n.length,s=t.length,o=l,i=0,r=0,c=t[s-1].nextSibling,h=null;for(;i<s||r<o;){if(t[i]===n[r]){i++,r++;continue}for(;t[s-1]===n[o-1];)s--,o--;if(s===i){const u=o<l?r?n[r-1].nextSibling:n[o-r]:c;for(;r<o;)e.insertBefore(n[r++],u)}else if(o===r)for(;i<s;)(!h||!h.has(t[i]))&&t[i].remove(),i++;else if(t[i]===n[o-1]&&n[r]===t[s-1]){const u=t[--s].nextSibling;e.insertBefore(n[r++],t[i++].nextSibling),e.insertBefore(n[--o],u),t[s]=n[o]}else{if(!h){h=new Map;let g=r;for(;g<o;)h.set(n[g],g++)}const u=h.get(t[i]);if(u!=null)if(r<u&&u<o){let g=i,m=1,_;for(;++g<s&&g<o&&!((_=h.get(t[g]))==null||_!==u+m);)m++;if(m>u-r){const T=t[i];for(;r<u;)e.insertBefore(n[r++],T)}else e.replaceChild(n[r++],t[i++])}else i++;else t[i++].remove()}}}const de="_$DX_DELEGATE";function Ue(e,t,n,l={}){let s;return Pe(o=>{s=o,t===document?e():v(t,e(),t.firstChild?null:void 0,n)},l.owner),()=>{s(),t.textContent=""}}function A(e,t,n){let l;const s=()=>{const i=document.createElement("template");return i.innerHTML=e,n?i.content.firstChild.firstChild:i.content.firstChild},o=t?()=>N(()=>document.importNode(l||(l=s()),!0)):()=>(l||(l=s())).cloneNode(!0);return o.cloneNode=o,o}function _e(e,t=window.document){const n=t[de]||(t[de]=new Set);for(let l=0,s=e.length;l<s;l++){const o=e[l];n.has(o)||(n.add(o),t.addEventListener(o,Ve))}}function Re(e,t){t==null?e.removeAttribute("class"):e.className=t}function D(e,t,n){return N(()=>e(t,n))}function v(e,t,n,l){if(n!==void 0&&!l&&(l=[]),typeof t!="function")return J(e,t,l,n);j(s=>J(e,t(),s,n),l)}function Ve(e){const t=`$$${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return n||document}});n;){const l=n[t];if(l&&!n.disabled){const s=n[`${t}Data`];if(s!==void 0?l.call(n,s,e):l.call(n,e),e.cancelBubble)return}n=n._$host||n.parentNode||n.host}}function J(e,t,n,l,s){for(;typeof n=="function";)n=n();if(t===n)return n;const o=typeof t,i=l!==void 0;if(e=i&&n[0]&&n[0].parentNode||e,o==="string"||o==="number")if(o==="number"&&(t=t.toString()),i){let r=n[0];r&&r.nodeType===3?r.data=t:r=document.createTextNode(t),n=L(e,n,l,r)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t;else if(t==null||o==="boolean")n=L(e,n,l);else{if(o==="function")return j(()=>{let r=t();for(;typeof r=="function";)r=r();n=J(e,r,n,l)}),()=>n;if(Array.isArray(t)){const r=[],c=n&&Array.isArray(n);if(le(r,t,n,s))return j(()=>n=J(e,r,n,l,!0)),()=>n;if(r.length===0){if(n=L(e,n,l),i)return n}else c?n.length===0?he(e,r,l):Fe(e,n,r):(n&&L(e),he(e,r));n=r}else if(t.nodeType){if(Array.isArray(n)){if(i)return n=L(e,n,l,t);L(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}else console.warn("Unrecognized value. Skipped inserting",t)}return n}function le(e,t,n,l){let s=!1;for(let o=0,i=t.length;o<i;o++){let r=t[o],c=n&&n[o],h;if(!(r==null||r===!0||r===!1))if((h=typeof r)=="object"&&r.nodeType)e.push(r);else if(Array.isArray(r))s=le(e,r,c)||s;else if(h==="function")if(l){for(;typeof r=="function";)r=r();s=le(e,Array.isArray(r)?r:[r],Array.isArray(c)?c:[c])||s}else e.push(r),s=!0;else{const u=String(r);c&&c.nodeType===3&&c.data===u?e.push(c):e.push(document.createTextNode(u))}}return s}function he(e,t,n=null){for(let l=0,s=t.length;l<s;l++)e.insertBefore(t[l],n)}function L(e,t,n,l){if(n===void 0)return e.textContent="";const s=l||document.createTextNode("");if(t.length){let o=!1;for(let i=t.length-1;i>=0;i--){const r=t[i];if(s!==r){const c=r.parentNode===e;!o&&!i?c?e.replaceChild(s,r):e.insertBefore(s,n):c&&r.remove()}else o=!0}}else e.insertBefore(s,n);return[s]}function Ge(e,t,...n){if(t===void 0)throw new Error("`Ohbug warning(condition, format, ...args)` requires a warning message argument");if(!e){let l=0;const s=t.replace(/%s/g,()=>n[l++]);throw new Error(`Ohbug ${s}`)}}var Ie={};function qe(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:Ie}function Ke(){const e=qe();return Ge(!!e.__OHBUG__,"Failed to get `OhbugObject`, please confirm if `Ohbug.setup`"),e.__OHBUG__}function Ee(e,t){e.parentNode&&(t.push(e.parentNode),Ee(e.parentNode,t))}function We(e){const t=[];return t.push(e),Ee(e,t),t}var Xe=e=>{const t=e.target||e.srcElement;let n=e.target||e.srcElement;const l=[];for(let i=0;n&&n.nodeType===Node.ELEMENT_NODE&&n.nodeType!==Node.DOCUMENT_TYPE_NODE;n=n.previousSibling)i&&l.push(n),i+=1;const s=typeof e.path>"u"?We(e.target):e.path,{outerHTML:o}=t;return s.reverse().map(i=>(i.localName||"")+(i.id?`#${i.id}`:"")+(i.className?`.${i.className}`:"")+(i.outerHTML===o?`:nth-child(${l.length})`:"")).filter(i=>!!i).join(" > ")};const se=Symbol("store-raw"),R=Symbol("store-node");function Se(e){let t=e[C];if(!t&&(Object.defineProperty(e,C,{value:t=new Proxy(e,Qe)}),!Array.isArray(e))){const n=Object.keys(e),l=Object.getOwnPropertyDescriptors(e);for(let s=0,o=n.length;s<o;s++){const i=n[s];l[i].get&&Object.defineProperty(e,i,{enumerable:l[i].enumerable,get:l[i].get.bind(t)})}}return t}function Q(e){let t;return e!=null&&typeof e=="object"&&(e[C]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function V(e,t=new Set){let n,l,s,o;if(n=e!=null&&e[se])return n;if(!Q(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let i=0,r=e.length;i<r;i++)s=e[i],(l=V(s,t))!==s&&(e[i]=l)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const i=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let c=0,h=i.length;c<h;c++)o=i[c],!r[o].get&&(s=e[o],(l=V(s,t))!==s&&(e[o]=l))}return e}function ce(e){let t=e[R];return t||Object.defineProperty(e,R,{value:t=Object.create(null)}),t}function oe(e,t,n){return e[t]||(e[t]=ke(n))}function Ye(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return!n||n.get||!n.configurable||t===C||t===R||(delete n.value,delete n.writable,n.get=()=>e[C][t]),n}function Ae(e){if(we()){const t=ce(e);(t._||(t._=ke()))()}}function Je(e){return Ae(e),Reflect.ownKeys(e)}function ke(e){const[t,n]=F(e,{equals:!1,internal:!0});return t.$=n,t}const Qe={get(e,t,n){if(t===se)return e;if(t===C)return n;if(t===fe)return Ae(e),n;const l=ce(e),s=l[t];let o=s?s():e[t];if(t===R||t==="__proto__")return o;if(!s){const i=Object.getOwnPropertyDescriptor(e,t);we()&&(typeof o!="function"||e.hasOwnProperty(t))&&!(i&&i.get)&&(o=oe(l,t,o)())}return Q(o)?Se(o):o},has(e,t){return t===se||t===C||t===fe||t===R||t==="__proto__"?!0:(this.get(e,t,e),t in e)},set(){return!0},deleteProperty(){return!0},ownKeys:Je,getOwnPropertyDescriptor:Ye};function Z(e,t,n,l=!1){if(!l&&e[t]===n)return;const s=e[t],o=e.length;n===void 0?delete e[t]:e[t]=n;let i=ce(e),r;if((r=oe(i,t,s))&&r.$(()=>n),Array.isArray(e)&&e.length!==o){for(let c=e.length;c<o;c++)(r=i[c])&&r.$();(r=oe(i,"length",o))&&r.$(e.length)}(r=i._)&&r.$()}function Oe(e,t){const n=Object.keys(t);for(let l=0;l<n.length;l+=1){const s=n[l];Z(e,s,t[s])}}function Ze(e,t){if(typeof t=="function"&&(t=t(e)),t=V(t),Array.isArray(t)){if(e===t)return;let n=0,l=t.length;for(;n<l;n++){const s=t[n];e[n]!==s&&Z(e,n,s)}Z(e,"length",l)}else Oe(e,t)}function B(e,t,n=[]){let l,s=e;if(t.length>1){l=t.shift();const i=typeof l,r=Array.isArray(e);if(Array.isArray(l)){for(let c=0;c<l.length;c++)B(e,[l[c]].concat(t),n);return}else if(r&&i==="function"){for(let c=0;c<e.length;c++)l(e[c],c)&&B(e,[c].concat(t),n);return}else if(r&&i==="object"){const{from:c=0,to:h=e.length-1,by:u=1}=l;for(let g=c;g<=h;g+=u)B(e,[g].concat(t),n);return}else if(t.length>1){B(e[l],t,[l].concat(n));return}s=e[l],n=[l].concat(n)}let o=t[0];typeof o=="function"&&(o=o(s,n),o===s)||l===void 0&&o==null||(o=V(o),l===void 0||Q(s)&&Q(o)&&!Array.isArray(o)?Oe(s,o):Z(e,l,o))}function et(...[e,t]){const n=V(e||{}),l=Array.isArray(n),s=Se(n);function o(...i){Le(()=>{l&&i.length===1?Ze(n,i[0]):B(n,i)})}return[s,o]}const[p,z]=et({working:!1,selectedElement:null}),tt=A('<svg data-ohbug-selector height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" data-ohbug-selector fill="none"></path><path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z" data-ohbug-selector fill="rgba(255,255,255,1)">'),nt=A('<svg data-ohbug-selector height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" data-ohbug-selector fill="none"></path><path d="M3 3h2v2H3V3zm4 0h2v2H7V3zm4 0h2v2h-2V3zm4 0h2v2h-2V3zm4 0h2v2h-2V3zm0 4h2v2h-2V7zM3 19h2v2H3v-2zm0-4h2v2H3v-2zm0-4h2v2H3v-2zm0-4h2v2H3V7zm7.667 4l1.036-1.555A1 1 0 0 1 12.535 9h2.93a1 1 0 0 1 .832.445L17.333 11H20a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h2.667zM9 19h10v-6h-2.737l-1.333-2h-1.86l-1.333 2H9v6zm5-1a2 2 0 1 1 0-4 2 2 0 0 1 0 4z" data-ohbug-selector>'),ie=()=>tt(),lt=()=>(()=>{const e=nt();return e.firstChild.nextSibling.style.setProperty("fill","var(--color)"),e})(),st=A('<div class="bg-none border-solid border-4 border-blue-500 transition top-0 right-0 bottom-0 left-0 z-10 fixed pointer-events-none" data-ohbug-selector><div class="tips" data-ohbug-selector>Select element on the page<button class="stop-btn" type="button">'),ot=A('<button class="rounded-full cursor-pointer flex bg-red-500 h-6 -top-3 -right-3 w-6 z-10 items-center justify-center absolute pointer-events-auto" data-ohbug-selector type="button">'),it=A('<button class="border-solid cursor-pointer font-semibold bg-red-500 border-4 border-red-500 -bottom-full text-white right-0 absolute pointer-events-auto" data-ohbug-selector type="button">Change'),rt=A('<div class="-z-1 fixed" data-ohbug-selector><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div data-ohbug-selector>'),ct=()=>{const[e,t]=F();let n,l,s,o,i;const r=2;function c(f){if(!f||f.tagName==="HTML")return;const{width:a,height:y,top:E,right:P,bottom:M,left:d}=f.getBoundingClientRect();i==null||i.setAttribute("style",`
2
+ width: ${a+r*2}px;
3
+ height: ${y+r*2}px;
4
+ top: ${E-r}px;
5
5
  left: ${d-r}px;
6
6
  `),n==null||n.setAttribute("style",`
7
- height: ${A}px;
7
+ height: ${E}px;
8
8
  top: 0;
9
9
  right: 0;
10
10
  left: 0;
11
- `),o==null||o.setAttribute("style",`
12
- top: ${A}px;
11
+ `),l==null||l.setAttribute("style",`
12
+ top: ${E}px;
13
13
  right: 0;
14
14
  bottom: 0;
15
- left: ${T}px;
16
- `),l==null||l.setAttribute("style",`
17
- width: ${g+d}px;
15
+ left: ${P}px;
16
+ `),s==null||s.setAttribute("style",`
17
+ width: ${a+d}px;
18
18
  top: ${M}px;
19
19
  bottom: 0;
20
20
  left: 0;
21
- `),s==null||s.setAttribute("style",`
21
+ `),o==null||o.setAttribute("style",`
22
22
  width: ${d}px;
23
- height: ${w}px;
24
- top: ${A}px;
23
+ height: ${y}px;
24
+ top: ${E}px;
25
25
  left: 0;
26
- `)}function f(u){if(!u||u.tagName==="HTML")return;const{width:g,height:w,top:A,left:T}=u.getBoundingClientRect();L({selectedElement:u}),i==null||i.setAttribute("style",`
27
- width: ${g+r*2}px;
28
- height: ${w+r*2}px;
29
- top: ${A-r}px;
30
- left: ${T-r}px;
31
- `)}function a(u){var w;L({working:!0});const g=document.elementFromPoint(u.clientX,u.clientY);if(((w=g==null?void 0:g.dataset)==null?void 0:w.ohbugSelector)!==void 0||g.tagName==="HTML")return!1;c(g)}function h(){document.addEventListener("mousemove",a)}function v(){document.removeEventListener("mousemove",a)}function _(u){var w;const g=document.elementFromPoint(u.clientX,u.clientY);if(((w=g==null?void 0:g.dataset)==null?void 0:w.ohbugSelector)!==void 0||g.tagName==="HTML"||p.selectedElement&&p.working)return!1;t(g),f(e()),v()}function C(){document.addEventListener("mousedown",_)}function q(){document.removeEventListener("mousedown",_)}function k(){t(null),v(),q(),L({working:!1,selectedElement:null})}function K(){L({working:!0,selectedElement:null}),t(null),h()}return we(()=>{p.working?(h(),C()):(v(),q())}),Me(k),(()=>{const u=ct.cloneNode(!0),g=u.firstChild,w=g.nextSibling,A=w.nextSibling,T=A.nextSibling,M=T.nextSibling;return m(u,x(V,{get when(){return!p.selectedElement&&p.working},get children(){const d=st.cloneNode(!0),Te=d.firstChild,Pe=Te.firstChild,ae=Pe.nextSibling;return ae.$$click=k,m(ae,x(oe,{})),d}}),g),(d=>{n=d})(g),(d=>{o=d})(w),(d=>{l=d})(A),(d=>{s=d})(T),(d=>{i=d})(M),m(M,x(V,{get when(){return p.selectedElement&&p.working},get children(){return[(()=>{const d=it.cloneNode(!0);return d.$$click=k,m(d,x(oe,{})),d})(),(()=>{const d=rt.cloneNode(!0);return d.$$click=K,d.style.setProperty("transform","translate(4px, -8px)"),d})()]}})),j(()=>M.className=`fixed -z-1 bg-black bg-opacity-20 border-4 rounded-sm transition cursor-pointer box-border pointer-events-none ${e()?"border-red-500 border-solid":"border-blue-500 border-dashed"}`),u})()};Se(["click"]);const ft=N('<button class="main-btn" data-ohbug-selector type="button"></button>'),at=N('<div class="bg-white flex flex-col h-60 shadow z-max right-8 bottom-20 w-80 fixed" data-ohbug-selector><div class="bg-gray-300 p-4" data-ohbug-selector><textarea autofocus class="bg-transparent outline-none w-full resize-none" data-ohbug-selector maxlength="1000" placeholder="Tell me how you feel..." rows="4"></textarea><button class="cursor-pointer" data-ohbug-selector type="button"></button></div><div class="flex flex-1 p-4 justify-between items-center" data-ohbug-selector><span class="text-sm" data-ohbug-selector>Try<a class="ml-1 underline" data-ohbug-selector href="https://ohbug.net" rel="noreferrer" target="_blank">Ohbug</a>?</span><button class="send-btn" data-ohbug-selector type="button"></button></div><button class="rounded-full cursor-pointer flex bg-blue-500 h-6 -top-2 -right-2 w-6 z-10 items-center justify-center absolute" data-ohbug-selector type="button"></button></div>'),dt=N('<div class="z-max relative" data-ohbug-selector><div></div></div>'),ht=()=>{const[e,t]=F(!1),[n,o]=F("");function l(){L({working:!0})}const[s,i]=F(!1);async function r(){i(!0);let c,f;const a=Ke().client;if(p.selectedElement){const h={target:p.selectedElement};c=Xe(h),f=p.selectedElement.outerHTML;const v=a.createEvent({category:"feedback",type:"feedback",detail:{selector:c,outerHTML:f,feedback:n()}});await a.notify(v)}else{const h=a.createEvent({category:"feedback",type:"feedback",detail:{feedback:n()}});await a.notify(h)}t(!1),o(""),L({working:!1,selectedElement:null}),i(!1)}return we(()=>{p.working===!1&&p.selectedElement===null||p.working&&!p.selectedElement?t(!1):t(!0)}),(()=>{const c=dt.cloneNode(!0),f=c.firstChild;return m(c,x(V,{get when(){return p.working},get children(){return x(ut,{})}}),f),m(f,x(V,{get when(){return!(p.working&&!p.selectedElement)},get children(){const a=ft.cloneNode(!0);return a.$$click=()=>t(h=>!h),m(a,()=>e()?"\u{1F606}":"\u{1F642}"),a}}),null),m(f,x(V,{get when(){return e()},get children(){const a=at.cloneNode(!0),h=a.firstChild,v=h.firstChild,_=v.nextSibling,C=h.nextSibling,q=C.firstChild,k=q.nextSibling,K=C.nextSibling;return v.$$input=u=>o(u.currentTarget.value),_.$$click=l,m(_,x(lt,{})),k.$$click=r,m(k,()=>s()?"Sending...":"Send"),K.$$click=()=>t(u=>!u),m(K,x(oe,{})),j(u=>{const g=p.selectedElement?"blue":"gray",w=!n()||s();return g!==u._v$&&_.style.setProperty("--color",u._v$=g),w!==u._v$2&&(k.disabled=u._v$2=w),u},{_v$:void 0,_v$2:void 0}),j(()=>v.value=n()),a}}),null),c})()};Se(["click","input"]);const gt={name:"OhbugExtensionFeedback",onSetup:()=>{const e=document.createElement("div");e.id="OhbugExtensionFeedback-ROOT",document.body.appendChild(e),Ve(()=>x(ht,{}),e)}};function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject(`.main-btn {
32
- --tw-bg-opacity: 1;
33
- background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
34
- border-radius: 0.25rem;
35
- cursor: pointer;
36
- display: -webkit-box;
37
- display: -ms-flexbox;
38
- display: -webkit-flex;
39
- display: flex;
40
- -webkit-box-align: center;
41
- -ms-flex-align: center;
42
- -webkit-align-items: center;
43
- align-items: center;
44
- -webkit-box-pack: center;
45
- -ms-flex-pack: center;
46
- -webkit-justify-content: center;
47
- justify-content: center;
48
- height: 2rem;
49
- position: fixed;
50
- right: 2rem;
51
- bottom: 2rem;
52
- --tw-shadow: 0 1px 3px 0 rgb(0 0 0/0.1),0 1px 2px -1px rgb(0 0 0/0.1);
53
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);
54
- -webkit-box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
55
- box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
56
- --tw-text-opacity: 1;
57
- color: rgba(255, 255, 255, var(--tw-text-opacity));
58
- -webkit-user-select: none;
59
- -moz-user-select: none;
60
- -ms-user-select: none;
61
- user-select: none;
62
- width: 2.5rem;
63
- z-index: 9999999;
64
- -webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
65
- -o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
66
- transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
67
- -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
68
- -o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
69
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
70
- -webkit-transition-duration: 150ms;
71
- -o-transition-duration: 150ms;
72
- transition-duration: 150ms;
73
- }
74
- .main-btn:hover {
75
- --tw-bg-opacity: 1;
76
- background-color: rgba(37, 99, 235, var(--tw-bg-opacity));
77
- --tw-shadow: 0 20px 25px -5px rgb(0 0 0/0.1),0 8px 10px -6px rgb(0 0 0/0.1);
78
- --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);
79
- -webkit-box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
80
- box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
81
- }
82
- .send-btn {
83
- --tw-bg-opacity: 1;
84
- background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
85
- border-radius: 0.125rem;
86
- font-size: 0.875rem;
87
- line-height: 1.25rem;
88
- padding-left: 0.75rem;
89
- padding-right: 0.75rem;
90
- padding-top: 0.25rem;
91
- padding-bottom: 0.25rem;
92
- --tw-text-opacity: 1;
93
- color: rgba(255, 255, 255, var(--tw-text-opacity));
94
- -webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
95
- -o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
96
- transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
97
- -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
98
- -o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
99
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
100
- -webkit-transition-duration: 150ms;
101
- -o-transition-duration: 150ms;
102
- transition-duration: 150ms;
103
- }
104
- .send-btn:disabled {
105
- cursor: not-allowed;
106
- opacity: 0.5;
107
- }
108
- /* windicss layer base */
109
- *, ::before, ::after {
110
- -webkit-box-sizing: border-box;
111
- box-sizing: border-box;
112
- border-width: 0;
113
- border-style: solid;
114
- border-color: #e5e7eb;
115
- }
116
- * {
117
- --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
118
- --tw-ring-offset-width: 0px;
119
- --tw-ring-offset-color: #fff;
120
- --tw-ring-color: rgba(59, 130, 246, 0.5);
121
- --tw-ring-offset-shadow: 0 0 #0000;
122
- --tw-ring-shadow: 0 0 #0000;
123
- --tw-shadow: 0 0 #0000;
124
- }
125
- :root {
126
- -moz-tab-size: 4;
127
- -o-tab-size: 4;
128
- tab-size: 4;
129
- }
130
- :-moz-focusring {
131
- outline: 1px dotted ButtonText;
132
- }
133
- :-moz-ui-invalid {
134
- box-shadow: none;
135
- }
136
- ::moz-focus-inner {
137
- border-style: none;
138
- padding: 0;
139
- }
140
- ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
141
- height: auto;
142
- }
143
- ::-webkit-search-decoration {
144
- -webkit-appearance: none;
145
- }
146
- ::-webkit-file-upload-button {
147
- -webkit-appearance: button;
148
- font: inherit;
149
- }
150
- [type='search'] {
151
- -webkit-appearance: textfield;
152
- outline-offset: -2px;
153
- }
154
- abbr[title] {
155
- -webkit-text-decoration: underline dotted;
156
- text-decoration: underline dotted;
157
- }
158
- a {
159
- color: inherit;
160
- text-decoration: inherit;
161
- }
162
- body {
163
- margin: 0;
164
- font-family: inherit;
165
- line-height: inherit;
166
- }
167
- button, textarea {
168
- font-family: inherit;
169
- font-size: 100%;
170
- line-height: 1.15;
171
- margin: 0;
172
- padding: 0;
173
- line-height: inherit;
174
- color: inherit;
175
- }
176
- button {
177
- text-transform: none;
178
- background-color: transparent;
179
- background-image: none;
180
- }
181
- button, [type='button'], [type='reset'], [type='submit'] {
182
- -webkit-appearance: button;
183
- }
184
- button, [role="button"] {
185
- cursor: pointer;
186
- }
187
- html {
188
- -webkit-text-size-adjust: 100%;
189
- font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
190
- line-height: 1.5;
191
- }
192
- svg {
193
- display: block;
194
- vertical-align: middle;
195
- }
196
- textarea {
197
- resize: vertical;
198
- }
199
- textarea::placeholder {
200
- opacity: 1;
201
- color: #9ca3af;
202
- }
203
- textarea::webkit-input-placeholder {
204
- opacity: 1;
205
- color: #9ca3af;
206
- }
207
- textarea::-moz-placeholder {
208
- opacity: 1;
209
- color: #9ca3af;
210
- }
211
- textarea:-ms-input-placeholder {
212
- opacity: 1;
213
- color: #9ca3af;
214
- }
215
- textarea::-ms-input-placeholder {
216
- opacity: 1;
217
- color: #9ca3af;
218
- }
219
- /* windicss layer components */
220
-
221
- /* windicss layer utilities */
222
- .bg-white {
223
- --tw-bg-opacity: 1;
224
- background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
225
- }
226
- .bg-gray-300 {
227
- --tw-bg-opacity: 1;
228
- background-color: rgba(209, 213, 219, var(--tw-bg-opacity));
229
- }
230
- .bg-transparent {
231
- background-color: transparent;
232
- }
233
- .bg-blue-500 {
234
- --tw-bg-opacity: 1;
235
- background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
236
- }
237
- .bg-black {
238
- --tw-bg-opacity: 1;
239
- background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
240
- }
241
- .bg-red-500 {
242
- --tw-bg-opacity: 1;
243
- background-color: rgba(239, 68, 68, var(--tw-bg-opacity));
244
- }
245
- .bg-none {
246
- background-image: none;
247
- }
248
- .bg-opacity-40 {
249
- --tw-bg-opacity: 0.4;
250
- }
251
- .bg-opacity-20 {
252
- --tw-bg-opacity: 0.2;
253
- }
254
- .border-blue-500 {
255
- --tw-border-opacity: 1;
256
- border-color: rgba(59, 130, 246, var(--tw-border-opacity));
257
- }
258
- .border-red-500 {
259
- --tw-border-opacity: 1;
260
- border-color: rgba(239, 68, 68, var(--tw-border-opacity));
261
- }
262
- .rounded-full {
263
- border-radius: 9999px;
264
- }
265
- .rounded-sm {
266
- border-radius: 0.125rem;
267
- }
268
- .border-solid {
269
- border-style: solid;
270
- }
271
- .border-dashed {
272
- border-style: dashed;
273
- }
274
- .border-4 {
275
- border-width: 4px;
276
- }
277
- .box-border {
278
- -webkit-box-sizing: border-box;
279
- box-sizing: border-box;
280
- }
281
- .cursor-pointer {
282
- cursor: pointer;
283
- }
284
- .flex {
285
- display: -webkit-box;
286
- display: -ms-flexbox;
287
- display: -webkit-flex;
288
- display: flex;
289
- }
290
- .flex-col {
291
- -webkit-box-orient: vertical;
292
- -webkit-box-direction: normal;
293
- -ms-flex-direction: column;
294
- -webkit-flex-direction: column;
295
- flex-direction: column;
296
- }
297
- .items-center {
298
- -webkit-box-align: center;
299
- -ms-flex-align: center;
300
- -webkit-align-items: center;
301
- align-items: center;
302
- }
303
- .justify-center {
304
- -webkit-box-pack: center;
305
- -ms-flex-pack: center;
306
- -webkit-justify-content: center;
307
- justify-content: center;
308
- }
309
- .justify-between {
310
- -webkit-box-pack: justify;
311
- -ms-flex-pack: justify;
312
- -webkit-justify-content: space-between;
313
- justify-content: space-between;
314
- }
315
- .flex-1 {
316
- -webkit-box-flex: 1;
317
- -ms-flex: 1 1 0%;
318
- -webkit-flex: 1 1 0%;
319
- flex: 1 1 0%;
320
- }
321
- .font-semibold {
322
- font-weight: 600;
323
- }
324
- .h-60 {
325
- height: 15rem;
326
- }
327
- .h-6 {
328
- height: 1.5rem;
329
- }
330
- .text-sm {
331
- font-size: 0.875rem;
332
- line-height: 1.25rem;
333
- }
334
- .ml-1 {
335
- margin-left: 0.25rem;
336
- }
337
- .outline-none {
338
- outline: 2px solid transparent;
339
- outline-offset: 2px;
340
- }
341
- .p-4 {
342
- padding: 1rem;
343
- }
344
- .pointer-events-none {
345
- pointer-events: none;
346
- }
347
- .pointer-events-auto {
348
- pointer-events: auto;
349
- }
350
- .fixed {
351
- position: fixed;
352
- }
353
- .absolute {
354
- position: absolute;
355
- }
356
- .relative {
357
- position: relative;
358
- }
359
- .right-8 {
360
- right: 2rem;
361
- }
362
- .bottom-20 {
363
- bottom: 5rem;
364
- }
365
- .-top-2 {
366
- top: -0.5rem;
367
- }
368
- .-right-2 {
369
- right: -0.5rem;
370
- }
371
- .top-0 {
372
- top: 0px;
373
- }
374
- .right-0 {
375
- right: 0px;
376
- }
377
- .bottom-0 {
378
- bottom: 0px;
379
- }
380
- .left-0 {
381
- left: 0px;
382
- }
383
- .-top-3 {
384
- top: -0.75rem;
385
- }
386
- .-right-3 {
387
- right: -0.75rem;
388
- }
389
- .-bottom-full {
390
- bottom: -100%;
391
- }
392
- .resize-none {
393
- resize: none;
394
- }
395
- .shadow {
396
- --tw-shadow: 0 1px 3px 0 rgb(0 0 0/0.1),0 1px 2px -1px rgb(0 0 0/0.1);
397
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);
398
- -webkit-box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
399
- box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
400
- }
401
- .text-white {
402
- --tw-text-opacity: 1;
403
- color: rgba(255, 255, 255, var(--tw-text-opacity));
404
- }
405
- .underline {
406
- -webkit-text-decoration-line: underline;
407
- text-decoration-line: underline;
408
- }
409
- .w-80 {
410
- width: 20rem;
411
- }
412
- .w-full {
413
- width: 100%;
414
- }
415
- .w-6 {
416
- width: 1.5rem;
417
- }
418
- .z-max {
419
- z-index: 9999999;
420
- }
421
- .z-10 {
422
- z-index: 10;
423
- }
424
- .-z-1 {
425
- z-index: -1;
426
- }
427
- .transition {
428
- -webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
429
- -o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
430
- transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
431
- -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
432
- -o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
433
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
434
- -webkit-transition-duration: 150ms;
435
- -o-transition-duration: 150ms;
436
- transition-duration: 150ms;
437
- }
438
- .tips {
439
- --tw-bg-opacity: 1;
440
- background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
441
- border-bottom-right-radius: 0.5rem;
442
- border-bottom-left-radius: 0.5rem;
443
- display: -webkit-box;
444
- display: -ms-flexbox;
445
- display: -webkit-flex;
446
- display: flex;
447
- -webkit-box-align: center;
448
- -ms-flex-align: center;
449
- -webkit-align-items: center;
450
- align-items: center;
451
- font-size: 0.875rem;
452
- line-height: 1.25rem;
453
- padding: 0.75rem;
454
- position: fixed;
455
- top: 0px;
456
- left: 50%;
457
- --tw-text-opacity: 1;
458
- color: rgba(255, 255, 255, var(--tw-text-opacity));
459
- -webkit-user-select: none;
460
- -moz-user-select: none;
461
- -ms-user-select: none;
462
- user-select: none;
463
- z-index: 9999999;
464
- --tw-translate-x: 0;
465
- --tw-translate-y: 0;
466
- --tw-translate-z: 0;
467
- --tw-rotate: 0;
468
- --tw-rotate-x: 0;
469
- --tw-rotate-y: 0;
470
- --tw-rotate-z: 0;
471
- --tw-skew-x: 0;
472
- --tw-skew-y: 0;
473
- --tw-scale-x: 1;
474
- --tw-scale-y: 1;
475
- --tw-scale-z: 1;
476
- -webkit-transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));
477
- -ms-transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));
478
- transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));
479
- --tw-translate-x: -50%;
480
- }
481
- .stop-btn:hover {
482
- --tw-bg-opacity: 1;
483
- background-color: rgba(107, 114, 128, var(--tw-bg-opacity));
484
- --tw-bg-opacity: 0.3;
485
- }
486
- .stop-btn {
487
- margin-left: 0.25rem;
488
- pointer-events: auto;
489
- -webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
490
- -o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
491
- transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
492
- -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
493
- -o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
494
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
495
- -webkit-transition-duration: 150ms;
496
- -o-transition-duration: 150ms;
497
- transition-duration: 150ms;
498
- }`);module.exports=gt;
26
+ `)}function h(f){if(!f||f.tagName==="HTML")return;const{width:a,height:y,top:E,left:P}=f.getBoundingClientRect();z({selectedElement:f}),i==null||i.setAttribute("style",`
27
+ width: ${a+r*2}px;
28
+ height: ${y+r*2}px;
29
+ top: ${E-r}px;
30
+ left: ${P-r}px;
31
+ `)}function u(f){var y;z({working:!0});const a=document.elementFromPoint(f.clientX,f.clientY);if(((y=a==null?void 0:a.dataset)==null?void 0:y.ohbugSelector)!==void 0||a.tagName==="HTML")return!1;c(a)}function g(){document.addEventListener("mousemove",u)}function m(){document.removeEventListener("mousemove",u)}function _(f){var y;const a=document.elementFromPoint(f.clientX,f.clientY);if(((y=a==null?void 0:a.dataset)==null?void 0:y.ohbugSelector)!==void 0||a.tagName==="HTML"||p.selectedElement&&p.working)return!1;t(a),h(e()),m()}function T(){document.addEventListener("mousedown",_)}function I(){document.removeEventListener("mousedown",_)}function O(){t(null),m(),I(),z({working:!1,selectedElement:null})}function q(){z({working:!0,selectedElement:null}),t(null),g()}return pe(()=>{p.working?(g(),T()):(m(),I())}),ze(O),(()=>{const f=rt(),a=f.firstChild,y=a.nextSibling,E=y.nextSibling,P=E.nextSibling,M=P.nextSibling;return v(f,x(U,{get when(){return!p.selectedElement&&p.working},get children(){const d=st(),Ce=d.firstChild,Ne=Ce.firstChild,ue=Ne.nextSibling;return ue.$$click=O,v(ue,x(ie,{})),d}}),a),D(d=>{n=d},a),D(d=>{l=d},y),D(d=>{s=d},E),D(d=>{o=d},P),D(d=>{i=d},M),v(M,x(U,{get when(){return p.selectedElement&&p.working},get children(){return[(()=>{const d=ot();return d.$$click=O,v(d,x(ie,{})),d})(),(()=>{const d=it();return d.$$click=q,d.style.setProperty("transform","translate(4px, -8px)"),d})()]}})),j(()=>Re(M,`fixed -z-1 bg-black bg-opacity-20 border-4 rounded-sm transition cursor-pointer box-border pointer-events-none ${e()?"border-red-500 border-solid":"border-blue-500 border-dashed"}`)),f})()};_e(["click"]);const ut=A('<button class="btn-main" data-ohbug-selector type="button">'),ft=A('<div class="bg-white flex flex-col h-60 shadow z-max right-8 bottom-20 w-80 fixed" data-ohbug-selector><div class="bg-gray-300 p-4" data-ohbug-selector><textarea autofocus class="bg-transparent outline-none w-full resize-none" data-ohbug-selector maxlength="1000" placeholder="Tell me how you feel..." rows="4"></textarea><button class="cursor-pointer" data-ohbug-selector type="button"></button></div><div class="flex flex-1 p-4 justify-between items-center" data-ohbug-selector><span class="text-sm" data-ohbug-selector>Try<a class="ml-1 underline" data-ohbug-selector href="https://ohbug.net" rel="noreferrer" target="_blank">Ohbug</a>?</span><button class="btn-send" data-ohbug-selector type="button"></button></div><button class="rounded-full cursor-pointer flex bg-blue-500 h-6 -top-2 -right-2 w-6 z-10 items-center justify-center absolute" data-ohbug-selector type="button">'),at=A('<div class="z-max relative" data-ohbug-selector><div>'),dt=()=>{const[e,t]=F(!1),[n,l]=F("");function s(){z({working:!0})}const[o,i]=F(!1);async function r(){i(!0);let c,h;const u=Ke().client;if(p.selectedElement){const g={target:p.selectedElement};c=Xe(g),h=p.selectedElement.outerHTML;const m=u.createEvent({category:"feedback",type:"feedback",detail:{selector:c,outerHTML:h,feedback:n()}});await u.notify(m)}else{const g=u.createEvent({category:"feedback",type:"feedback",detail:{feedback:n()}});await u.notify(g)}t(!1),l(""),z({working:!1,selectedElement:null}),i(!1)}return pe(()=>{p.working===!1&&p.selectedElement===null||p.working&&!p.selectedElement?t(!1):t(!0)}),(()=>{const c=at(),h=c.firstChild;return v(c,x(U,{get when(){return p.working},get children(){return x(ct,{})}}),h),v(h,x(U,{get when(){return!(p.working&&!p.selectedElement)},get children(){const u=ut();return u.$$click=()=>t(g=>!g),v(u,()=>e()?"😆":"🙂"),u}}),null),v(h,x(U,{get when(){return e()},get children(){const u=ft(),g=u.firstChild,m=g.firstChild,_=m.nextSibling,T=g.nextSibling,I=T.firstChild,O=I.nextSibling,q=T.nextSibling;return m.$$input=f=>l(f.currentTarget.value),_.$$click=s,v(_,x(lt,{})),O.$$click=r,v(O,()=>o()?"Sending...":"Send"),q.$$click=()=>t(f=>!f),v(q,x(ie,{})),j(f=>{const a=p.selectedElement?"blue":"gray",y=!n()||o();return a!==f._v$&&((f._v$=a)!=null?_.style.setProperty("--color",a):_.style.removeProperty("--color")),y!==f._v$2&&(O.disabled=f._v$2=y),f},{_v$:void 0,_v$2:void 0}),j(()=>m.value=n()),u}}),null),c})()};_e(["click","input"]);const ht={name:"OhbugExtensionFeedback",onSetup:()=>{const e=document.createElement("div");e.id="OhbugExtensionFeedback-ROOT",document.body.appendChild(e),Ue(()=>x(dt,{}),e)}};function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject("/*\n! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n*/\n\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font family by default.\n2. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n\n*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n.btn-main {\n z-index: 99999;\n position: fixed;\n right: 2rem;\n bottom: 2rem;\n display: flex;\n height: 2rem;\n width: 2.5rem;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n align-items: center;\n justify-content: center;\n border-radius: 0.25rem;\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.btn-main:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(37 99 235 / var(--tw-bg-opacity));\n --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.btn-send {\n border-radius: 0.125rem;\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n font-size: 0.875rem;\n line-height: 1.25rem;\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.btn-send:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tips {\n z-index: 99999;\n position: fixed;\n top: 0px;\n left: 50%;\n display: flex;\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n align-items: center;\n border-bottom-right-radius: 0.5rem;\n border-bottom-left-radius: 0.5rem;\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n padding: 0.75rem;\n font-size: 0.875rem;\n line-height: 1.25rem;\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n.z-max {\n z-index: 99999;\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.pointer-events-auto {\n pointer-events: auto;\n}\n.visible {\n visibility: visible;\n}\n.fixed {\n position: fixed;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.-bottom-full {\n bottom: -100%;\n}\n.-right-2 {\n right: -0.5rem;\n}\n.-right-3 {\n right: -0.75rem;\n}\n.-top-2 {\n top: -0.5rem;\n}\n.-top-3 {\n top: -0.75rem;\n}\n.bottom-0 {\n bottom: 0px;\n}\n.bottom-20 {\n bottom: 5rem;\n}\n.left-0 {\n left: 0px;\n}\n.right-0 {\n right: 0px;\n}\n.right-8 {\n right: 2rem;\n}\n.top-0 {\n top: 0px;\n}\n.z-10 {\n z-index: 10;\n}\n.ml-1 {\n margin-left: 0.25rem;\n}\n.box-border {\n box-sizing: border-box;\n}\n.flex {\n display: flex;\n}\n.h-6 {\n height: 1.5rem;\n}\n.h-60 {\n height: 15rem;\n}\n.w-6 {\n width: 1.5rem;\n}\n.w-80 {\n width: 20rem;\n}\n.w-full {\n width: 100%;\n}\n.flex-1 {\n flex: 1 1 0%;\n}\n.transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.resize-none {\n resize: none;\n}\n.flex-col {\n flex-direction: column;\n}\n.items-center {\n align-items: center;\n}\n.justify-center {\n justify-content: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.rounded-full {\n border-radius: 9999px;\n}\n.rounded-sm {\n border-radius: 0.125rem;\n}\n.border-4 {\n border-width: 4px;\n}\n.border-solid {\n border-style: solid;\n}\n.border-dashed {\n border-style: dashed;\n}\n.border-blue-500 {\n --tw-border-opacity: 1;\n border-color: rgb(59 130 246 / var(--tw-border-opacity));\n}\n.border-red-500 {\n --tw-border-opacity: 1;\n border-color: rgb(239 68 68 / var(--tw-border-opacity));\n}\n.bg-black {\n --tw-bg-opacity: 1;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity));\n}\n.bg-blue-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n}\n.bg-gray-300 {\n --tw-bg-opacity: 1;\n background-color: rgb(209 213 219 / var(--tw-bg-opacity));\n}\n.bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity));\n}\n.bg-transparent {\n background-color: transparent;\n}\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n.bg-opacity-20 {\n --tw-bg-opacity: 0.2;\n}\n.bg-opacity-40 {\n --tw-bg-opacity: 0.4;\n}\n.bg-none {\n background-image: none;\n}\n.p-4 {\n padding: 1rem;\n}\n.text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n.font-semibold {\n font-weight: 600;\n}\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n.underline {\n text-decoration-line: underline;\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}");module.exports=ht;