Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@feature.ninja/widget

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@feature.ninja/widget - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

261

dist/widget.cjs.js

@@ -1,2 +0,2 @@

"use strict";var e,t,n,_,r,o,l=Object.defineProperty,i=Object.defineProperties,s=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))a.call(t,n)&&f(e,n,t[n]);if(u)for(var n of u(t))c.call(t,n)&&f(e,n,t[n]);return e},p=(e,t)=>i(e,s(t)),h={},m=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function y(e,t){for(var n in t)e[n]=t[n];return e}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function b(t,n,_){var r,o,l,i={};for(l in n)"key"==l?r=n[l]:"ref"==l?o=n[l]:i[l]=n[l];if(arguments.length>2&&(i.children=arguments.length>3?e.call(arguments,2):_),"function"==typeof t&&null!=t.defaultProps)for(l in t.defaultProps)void 0===i[l]&&(i[l]=t.defaultProps[l]);return x(t,i,r,o,null)}function x(e,_,r,o,l){var i={type:e,props:_,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++n:l};return null!=t.vnode&&t.vnode(i),i}function k(e){return e.children}function w(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?E(e):null}function N(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return N(e)}}function S(e){(!e.__d&&(e.__d=!0)&&_.push(e)&&!P.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||r)(P)}function P(){for(var e;P.__r=_.length;)e=_.sort((function(e,t){return e.__v.__b-t.__v.__b})),_=[],e.some((function(e){var t,n,_,r,o,l;e.__d&&(o=(r=(t=e).__v).__e,(l=t.__P)&&(n=[],(_=y({},r)).__v=r.__v+1,L(l,r,_,t.__n,void 0!==l.ownerSVGElement,null!=r.__h?[o]:null,n,null==o?E(r):o,r.__h),C(n,r),r.__e!=o&&N(r)))}))}function R(e,t,n,_,r,o,l,i,s,u){var a,c,f,d,p,v,y,g=_&&_.__k||m,b=g.length;for(n.__k=[],a=0;a<t.length;a++)if(null!=(d=n.__k[a]=null==(d=t[a])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?x(null,d,null,null,d):Array.isArray(d)?x(k,{children:d},null,null,null):d.__b>0?x(d.type,d.props,d.key,null,d.__v):d)){if(d.__=n,d.__b=n.__b+1,null===(f=g[a])||f&&d.key==f.key&&d.type===f.type)g[a]=void 0;else for(c=0;c<b;c++){if((f=g[c])&&d.key==f.key&&d.type===f.type){g[c]=void 0;break}f=null}L(e,d,f=f||h,r,o,l,i,s,u),p=d.__e,(c=d.ref)&&f.ref!=c&&(y||(y=[]),f.ref&&y.push(f.ref,null,d),y.push(c,d.__c||p,d)),null!=p?(null==v&&(v=p),"function"==typeof d.type&&null!=d.__k&&d.__k===f.__k?d.__d=s=O(d,s,e):s=T(e,d,f,g,p,s),u||"option"!==n.type?"function"==typeof n.type&&(n.__d=s):e.value=""):s&&f.__e==s&&s.parentNode!=e&&(s=E(f))}for(n.__e=v,a=b;a--;)null!=g[a]&&("function"==typeof n.type&&null!=g[a].__e&&g[a].__e==n.__d&&(n.__d=E(_,a+1)),F(g[a],g[a]));if(y)for(a=0;a<y.length;a++)j(y[a],y[++a],y[++a])}function O(e,t,n){var _,r;for(_=0;_<e.__k.length;_++)(r=e.__k[_])&&(r.__=e,t="function"==typeof r.type?O(r,t,n):T(n,r,r,e.__k,r.__e,t));return t}function T(e,t,n,_,r,o){var l,i,s;if(void 0!==t.__d)l=t.__d,t.__d=void 0;else if(null==n||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),l=null;else{for(i=o,s=0;(i=i.nextSibling)&&s<_.length;s+=2)if(i==r)break e;e.insertBefore(r,o),l=o}return void 0!==l?l:r.nextSibling}function A(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||v.test(t)?n:n+"px"}function D(e,t,n,_,r){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(t in _)n&&t in n||A(e.style,t,"");if(n)for(t in n)_&&n[t]===_[t]||A(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?_||e.addEventListener(t,o?U:H,o):e.removeEventListener(t,o?U:H,o);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(l){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function H(e){this.l[e.type+!1](t.event?t.event(e):e)}function U(e){this.l[e.type+!0](t.event?t.event(e):e)}function L(n,_,r,o,l,i,s,u,a){var c,f,d,p,m,v,b,x,N,S,P,O=_.type;if(void 0!==_.constructor)return null;null!=r.__h&&(a=r.__h,u=_.__e=r.__e,_.__h=null,i=[u]),(c=t.__b)&&c(_);try{e:if("function"==typeof O){if(x=_.props,N=(c=O.contextType)&&o[c.__c],S=c?N?N.props.value:c.__:o,r.__c?b=(f=_.__c=r.__c).__=f.__E:("prototype"in O&&O.prototype.render?_.__c=f=new O(x,S):(_.__c=f=new w(x,S),f.constructor=O,f.render=M),N&&N.sub(f),f.props=x,f.state||(f.state={}),f.context=S,f.__n=o,d=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=O.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=y({},f.__s)),y(f.__s,O.getDerivedStateFromProps(x,f.__s))),p=f.props,m=f.state,d)null==O.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==O.getDerivedStateFromProps&&x!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(x,S),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(x,f.__s,S)||_.__v===r.__v){f.props=x,f.state=f.__s,_.__v!==r.__v&&(f.__d=!1),f.__v=_,_.__e=r.__e,_.__k=r.__k,_.__k.forEach((function(e){e&&(e.__=_)})),f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(x,f.__s,S),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(p,m,v)}))}f.context=S,f.props=x,f.state=f.__s,(c=t.__r)&&c(_),f.__d=!1,f.__v=_,f.__P=n,c=f.render(f.props,f.state,f.context),f.state=f.__s,null!=f.getChildContext&&(o=y(y({},o),f.getChildContext())),d||null==f.getSnapshotBeforeUpdate||(v=f.getSnapshotBeforeUpdate(p,m)),P=null!=c&&c.type===k&&null==c.key?c.props.children:c,R(n,Array.isArray(P)?P:[P],_,r,o,l,i,s,u,a),f.base=_.__e,_.__h=null,f.__h.length&&s.push(f),b&&(f.__E=f.__=null),f.__e=!1}else null==i&&_.__v===r.__v?(_.__k=r.__k,_.__e=r.__e):_.__e=function(t,n,_,r,o,l,i,s){var u,a,c,f=_.props,d=n.props,p=n.type,m=0;if("svg"===p&&(o=!0),null!=l)for(;m<l.length;m++)if((u=l[m])&&(u===t||(p?u.localName==p:3==u.nodeType))){t=u,l[m]=null;break}if(null==t){if(null===p)return document.createTextNode(d);t=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),l=null,s=!1}if(null===p)f===d||s&&t.data===d||(t.data=d);else{if(l=l&&e.call(t.childNodes),a=(f=_.props||h).dangerouslySetInnerHTML,c=d.dangerouslySetInnerHTML,!s){if(null!=l)for(f={},m=0;m<t.attributes.length;m++)f[t.attributes[m].name]=t.attributes[m].value;(c||a)&&(c&&(a&&c.__html==a.__html||c.__html===t.innerHTML)||(t.innerHTML=c&&c.__html||""))}if(function(e,t,n,_,r){var o;for(o in n)"children"===o||"key"===o||o in t||D(e,o,null,n[o],_);for(o in t)r&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||D(e,o,t[o],n[o],_)}(t,d,f,o,s),c)n.__k=[];else if(m=n.props.children,R(t,Array.isArray(m)?m:[m],n,_,r,o&&"foreignObject"!==p,l,i,l?l[0]:_.__k&&E(_,0),s),null!=l)for(m=l.length;m--;)null!=l[m]&&g(l[m]);s||("value"in d&&void 0!==(m=d.value)&&(m!==t.value||"progress"===p&&!m)&&D(t,"value",m,f.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==t.checked&&D(t,"checked",m,f.checked,!1))}return t}(r.__e,_,r,o,l,i,s,a);(c=t.diffed)&&c(_)}catch(T){_.__v=null,(a||null!=i)&&(_.__e=u,_.__h=!!a,i[i.indexOf(u)]=null),t.__e(T,_,r)}}function C(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(_){t.__e(_,n.__v)}}))}function j(e,n,_){try{"function"==typeof e?e(n):e.current=n}catch(r){t.__e(r,_)}}function F(e,n,_){var r,o;if(t.unmount&&t.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||j(r,null,n)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(l){t.__e(l,n)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&F(r[o],n,"function"!=typeof e.type);_||null==e.__e||g(e.__e),e.__e=e.__d=void 0}function M(e,t,n){return this.constructor(e,n)}e=m.slice,t={__e:function(e,t){for(var n,_,r;t=t.__;)if((n=t.__c)&&!n.__)try{if((_=n.constructor)&&null!=_.getDerivedStateFromError&&(n.setState(_.getDerivedStateFromError(e)),r=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),r=n.__d),r)return n.__E=n}catch(o){e=o}throw e}},n=0,w.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=y({},this.state),"function"==typeof e&&(e=e(y({},n),this.props)),e&&y(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),S(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},w.prototype.render=k,_=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,P.__r=0;var I,q,W,B=0,V=[],Q=t.__b,$=t.__r,z=t.diffed,G=t.__c,J=t.unmount;function K(e,n){t.__h&&t.__h(q,e,B||n),B=0;var _=q.__H||(q.__H={__:[],__h:[]});return e>=_.__.length&&_.__.push({}),_.__[e]}function X(){V.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(te),e.__H.__h.forEach(ne),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}})),V=[]}t.__b=function(e){q=null,Q&&Q(e)},t.__r=function(e){$&&$(e),I=0;var t=(q=e.__c).__H;t&&(t.__h.forEach(te),t.__h.forEach(ne),t.__h=[])},t.diffed=function(e){z&&z(e);var n=e.__c;n&&n.__H&&n.__H.__h.length&&(1!==V.push(n)&&W===t.requestAnimationFrame||((W=t.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(_),ee&&cancelAnimationFrame(t),setTimeout(e)},_=setTimeout(n,100);ee&&(t=requestAnimationFrame(n))})(X)),q=void 0},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(te),e.__h=e.__h.filter((function(e){return!e.__||ne(e)}))}catch(_){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(_,e.__v)}})),G&&G(e,n)},t.unmount=function(e){J&&J(e);var n=e.__c;if(n&&n.__H)try{n.__H.__.forEach(te)}catch(_){t.__e(_,n.__v)}};var Y,Z,ee="function"==typeof requestAnimationFrame;function te(e){var t=q;"function"==typeof e.__c&&e.__c(),q=t}function ne(e){var t=q;e.__c=e.__(),q=t}function _e(e,t){return"function"==typeof t?t(e):t}(Z=Y||(Y={})).UPVOTE="UPVOTE",Z.FEATURE_REQUESTS_LOADED="FEATURE_REQUESTS_LOADED",Z.HANDLE_ERROR="HANDLE_ERROR";const re={data:{},meta:{from:0,to:0,total:0},links:{prev:null,next:null}},oe=(e,t)=>{switch(console.log(t),t.type){case Y.UPVOTE:return p(d({},e),{data:p(d({},e.data),{[t.id]:p(d({},e.data[t.id]),{votes:e.data[t.id].votes_count+1})})});case Y.FEATURE_REQUESTS_LOADED:return p(d({},e),{data:t.response.data,meta:t.response.meta,links:t.response.links});case Y.HANDLE_ERROR:return p(d({},e),{error:t.error});default:throw new Error("Unexpected action: "+JSON.stringify(t))}};function le(e){const{featureRequest:t}=e;return b("div",{className:"flex py-6 px-4 sm:px-6 gap-4"},b("div",{className:"flex flex-col w-10 items-center"},b("button",{type:"button",className:"flex flex-col items-center rounded-full text-gray-400 hover:text-green-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-400 text-sm"},b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-12 w-12 -m-2","aria-hidden":"true"},b("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))),b("div",{className:"text-gray-500"})),b("div",{className:"flex flex-col flex-grow justify-between truncate"},b("div",{className:"text-md text-gray-700 font-semibold truncate"},t.title),b("div",{className:"text-sm text-gray-700 truncate"},t.description),b("div",{className:"flex justify-between mt-2"},b("div",{className:"flex gap-2"},b("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800 "},"boombox")),b("div",{className:"flex text-gray-500 text-sm"},t.votes_count,b("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-5 h-5"},b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"}))))))}function ie(e){const{options:{project:n}}=e,[_,r]=(o=oe,l=re,(s=K(I++,2)).t=o,s.__c||(s.__=[i?i(l):_e(void 0,l),function(e){var t=s.t(s.__[0],e);s.__[0]!==t&&(s.__=[t,s.__[1]],s.__c.setState({}))}],s.__c=q),s.__);var o,l,i,s;const{error:u,data:a,meta:c,links:f}=_;return function(e,n){var _,r,o=K(I++,3);!t.__s&&(_=o.__H,r=n,!_||_.length!==r.length||r.some((function(e,t){return e!==_[t]})))&&(o.__=e,o.__H=n,q.__H.__h.push(o))}((()=>{(()=>{return e=this,t=null,_=function*(){const e=yield fetch(`https://${n}.feature.ninja/api/feature-requests`),t=yield e.json();if(e.ok)r({type:Y.FEATURE_REQUESTS_LOADED,response:t});else{const t=yield e.text();console.error("Error loading feature requests, response was:",t),r({type:Y.HANDLE_ERROR,error:new Error("Oops, something went wrong when loading the feature requests...")})}},new Promise(((n,r)=>{var o=e=>{try{i(_.next(e))}catch(t){r(t)}},l=e=>{try{i(_.throw(e))}catch(t){r(t)}},i=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,l);i((_=_.apply(e,t)).next())}));var e,t,_})()}),[n]),b("div",{className:"max-w-4xl mx-auto sm:px-6 lg:px-8"},u&&b("div",{className:"bg-red-400"},u.message),b("div",{className:"py-4 px-4"},b("span",{className:"sr-only"},"Search..."),b("input",{type:"text",className:"shadow-sm focus:ring-green-400 focus:border-green-400 block p-4 w-full border-gray-300 rounded-md ",placeholder:"Search..."})),b("div",{className:"divide-y divide-gray-200 mt-4"},Object.values(a).map((e=>b(le,{key:e.id,featureRequest:e})))),b("nav",{className:"bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6","aria-label":"Pagination"},b("div",{className:"hidden sm:block"},b("p",{className:"text-sm text-gray-700"},"Showing ",b("span",{className:"font-medium"},c.from)," to"," ",b("span",{className:"font-medium"},c.to)," of"," ",b("span",{className:"font-medium"},c.total)," results")),b("div",{className:"flex-1 flex justify-between sm:justify-end"},b("button",{className:"relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-25",disabled:null===f.prev},"Previous"),b("button",{className:"ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-25",disabled:null===f.next},"Next"))))}const se=document.currentScript;function ue(n){const _=d(d({},{elementId:"feature-ninja-widget"}),n);let r=document.getElementById(_.elementId);var o,l,i,s,u,a;r||(r=document.createElement("div"),r.id=_.elementId,se?se.insertBefore(r,se):document.body.appendChild(r)),o=b(ie,{options:_}),l=r,t.__&&t.__(o,l),u=(s="function"==typeof i)?null:i&&i.__k||l.__k,a=[],L(l,o=(!s&&i||l).__k=b(k,null,[o]),u||h,h,void 0!==l.ownerSVGElement,!s&&i?[i]:u?null:l.firstChild?e.call(l.childNodes):null,a,!s&&i?i:u?u.__e:l.firstChild,s),C(a,o)}window.featureNinja=ue,module.exports=ue,(function () { 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(`@import url('https://rsms.me/inter/inter.css');
"use strict";var e,n,t,_,r,o,l=Object.defineProperty,i=Object.defineProperties,s=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(e,n,t)=>n in e?l(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,d=(e,n)=>{for(var t in n||(n={}))a.call(n,t)&&c(e,t,n[t]);if(u)for(var t of u(n))f.call(n,t)&&c(e,t,n[t]);return e},p=(e,n)=>i(e,s(n)),h={},m=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function y(e,n){for(var t in n)e[t]=n[t];return e}function g(e){var n=e.parentNode;n&&n.removeChild(e)}function b(n,t,_){var r,o,l,i={};for(l in t)"key"==l?r=t[l]:"ref"==l?o=t[l]:i[l]=t[l];if(arguments.length>2&&(i.children=arguments.length>3?e.call(arguments,2):_),"function"==typeof n&&null!=n.defaultProps)for(l in n.defaultProps)void 0===i[l]&&(i[l]=n.defaultProps[l]);return x(n,i,r,o,null)}function x(e,_,r,o,l){var i={type:e,props:_,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++t:l};return null!=n.vnode&&n.vnode(i),i}function k(e){return e.children}function w(e,n){this.props=e,this.context=n}function E(e,n){if(null==n)return e.__?E(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?E(e):null}function N(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return N(e)}}function S(e){(!e.__d&&(e.__d=!0)&&_.push(e)&&!P.__r++||o!==n.debounceRendering)&&((o=n.debounceRendering)||r)(P)}function P(){for(var e;P.__r=_.length;)e=_.sort((function(e,n){return e.__v.__b-n.__v.__b})),_=[],e.some((function(e){var n,t,_,r,o,l;e.__d&&(o=(r=(n=e).__v).__e,(l=n.__P)&&(t=[],(_=y({},r)).__v=r.__v+1,U(l,r,_,n.__n,void 0!==l.ownerSVGElement,null!=r.__h?[o]:null,t,null==o?E(r):o,r.__h),j(t,r),r.__e!=o&&N(r)))}))}function R(e,n,t,_,r,o,l,i,s,u){var a,f,c,d,p,v,y,g=_&&_.__k||m,b=g.length;for(t.__k=[],a=0;a<n.length;a++)if(null!=(d=t.__k[a]=null==(d=n[a])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?x(null,d,null,null,d):Array.isArray(d)?x(k,{children:d},null,null,null):d.__b>0?x(d.type,d.props,d.key,null,d.__v):d)){if(d.__=t,d.__b=t.__b+1,null===(c=g[a])||c&&d.key==c.key&&d.type===c.type)g[a]=void 0;else for(f=0;f<b;f++){if((c=g[f])&&d.key==c.key&&d.type===c.type){g[f]=void 0;break}c=null}U(e,d,c=c||h,r,o,l,i,s,u),p=d.__e,(f=d.ref)&&c.ref!=f&&(y||(y=[]),c.ref&&y.push(c.ref,null,d),y.push(f,d.__c||p,d)),null!=p?(null==v&&(v=p),"function"==typeof d.type&&null!=d.__k&&d.__k===c.__k?d.__d=s=O(d,s,e):s=D(e,d,c,g,p,s),u||"option"!==t.type?"function"==typeof t.type&&(t.__d=s):e.value=""):s&&c.__e==s&&s.parentNode!=e&&(s=E(c))}for(t.__e=v,a=b;a--;)null!=g[a]&&("function"==typeof t.type&&null!=g[a].__e&&g[a].__e==t.__d&&(t.__d=E(_,a+1)),F(g[a],g[a]));if(y)for(a=0;a<y.length;a++)C(y[a],y[++a],y[++a])}function O(e,n,t){var _,r;for(_=0;_<e.__k.length;_++)(r=e.__k[_])&&(r.__=e,n="function"==typeof r.type?O(r,n,t):D(t,r,r,e.__k,r.__e,n));return n}function D(e,n,t,_,r,o){var l,i,s;if(void 0!==n.__d)l=n.__d,n.__d=void 0;else if(null==t||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),l=null;else{for(i=o,s=0;(i=i.nextSibling)&&s<_.length;s+=2)if(i==r)break e;e.insertBefore(r,o),l=o}return void 0!==l?l:r.nextSibling}function T(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||v.test(n)?t:t+"px"}function A(e,n,t,_,r){var o;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(n in _)t&&n in t||T(e.style,n,"");if(t)for(n in t)_&&t[n]===_[n]||T(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])o=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+o]=t,t?_||e.addEventListener(n,o?L:H,o):e.removeEventListener(n,o?L:H,o);else if("dangerouslySetInnerHTML"!==n){if(r)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(l){}"function"==typeof t||(null!=t&&(!1!==t||"a"===n[0]&&"r"===n[1])?e.setAttribute(n,t):e.removeAttribute(n))}}function H(e){this.l[e.type+!1](n.event?n.event(e):e)}function L(e){this.l[e.type+!0](n.event?n.event(e):e)}function U(t,_,r,o,l,i,s,u,a){var f,c,d,p,m,v,b,x,N,S,P,O=_.type;if(void 0!==_.constructor)return null;null!=r.__h&&(a=r.__h,u=_.__e=r.__e,_.__h=null,i=[u]),(f=n.__b)&&f(_);try{e:if("function"==typeof O){if(x=_.props,N=(f=O.contextType)&&o[f.__c],S=f?N?N.props.value:f.__:o,r.__c?b=(c=_.__c=r.__c).__=c.__E:("prototype"in O&&O.prototype.render?_.__c=c=new O(x,S):(_.__c=c=new w(x,S),c.constructor=O,c.render=M),N&&N.sub(c),c.props=x,c.state||(c.state={}),c.context=S,c.__n=o,d=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=O.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=y({},c.__s)),y(c.__s,O.getDerivedStateFromProps(x,c.__s))),p=c.props,m=c.state,d)null==O.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==O.getDerivedStateFromProps&&x!==p&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(x,S),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(x,c.__s,S)||_.__v===r.__v){c.props=x,c.state=c.__s,_.__v!==r.__v&&(c.__d=!1),c.__v=_,_.__e=r.__e,_.__k=r.__k,_.__k.forEach((function(e){e&&(e.__=_)})),c.__h.length&&s.push(c);break e}null!=c.componentWillUpdate&&c.componentWillUpdate(x,c.__s,S),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(p,m,v)}))}c.context=S,c.props=x,c.state=c.__s,(f=n.__r)&&f(_),c.__d=!1,c.__v=_,c.__P=t,f=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(o=y(y({},o),c.getChildContext())),d||null==c.getSnapshotBeforeUpdate||(v=c.getSnapshotBeforeUpdate(p,m)),P=null!=f&&f.type===k&&null==f.key?f.props.children:f,R(t,Array.isArray(P)?P:[P],_,r,o,l,i,s,u,a),c.base=_.__e,_.__h=null,c.__h.length&&s.push(c),b&&(c.__E=c.__=null),c.__e=!1}else null==i&&_.__v===r.__v?(_.__k=r.__k,_.__e=r.__e):_.__e=function(n,t,_,r,o,l,i,s){var u,a,f,c=_.props,d=t.props,p=t.type,m=0;if("svg"===p&&(o=!0),null!=l)for(;m<l.length;m++)if((u=l[m])&&(u===n||(p?u.localName==p:3==u.nodeType))){n=u,l[m]=null;break}if(null==n){if(null===p)return document.createTextNode(d);n=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),l=null,s=!1}if(null===p)c===d||s&&n.data===d||(n.data=d);else{if(l=l&&e.call(n.childNodes),a=(c=_.props||h).dangerouslySetInnerHTML,f=d.dangerouslySetInnerHTML,!s){if(null!=l)for(c={},m=0;m<n.attributes.length;m++)c[n.attributes[m].name]=n.attributes[m].value;(f||a)&&(f&&(a&&f.__html==a.__html||f.__html===n.innerHTML)||(n.innerHTML=f&&f.__html||""))}if(function(e,n,t,_,r){var o;for(o in t)"children"===o||"key"===o||o in n||A(e,o,null,t[o],_);for(o in n)r&&"function"!=typeof n[o]||"children"===o||"key"===o||"value"===o||"checked"===o||t[o]===n[o]||A(e,o,n[o],t[o],_)}(n,d,c,o,s),f)t.__k=[];else if(m=t.props.children,R(n,Array.isArray(m)?m:[m],t,_,r,o&&"foreignObject"!==p,l,i,l?l[0]:_.__k&&E(_,0),s),null!=l)for(m=l.length;m--;)null!=l[m]&&g(l[m]);s||("value"in d&&void 0!==(m=d.value)&&(m!==n.value||"progress"===p&&!m)&&A(n,"value",m,c.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==n.checked&&A(n,"checked",m,c.checked,!1))}return n}(r.__e,_,r,o,l,i,s,a);(f=n.diffed)&&f(_)}catch(D){_.__v=null,(a||null!=i)&&(_.__e=u,_.__h=!!a,i[i.indexOf(u)]=null),n.__e(D,_,r)}}function j(e,t){n.__c&&n.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(_){n.__e(_,t.__v)}}))}function C(e,t,_){try{"function"==typeof e?e(t):e.current=t}catch(r){n.__e(r,_)}}function F(e,t,_){var r,o;if(n.unmount&&n.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||C(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(l){n.__e(l,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&F(r[o],t,"function"!=typeof e.type);_||null==e.__e||g(e.__e),e.__e=e.__d=void 0}function M(e,n,t){return this.constructor(e,t)}e=m.slice,n={__e:function(e,n){for(var t,_,r;n=n.__;)if((t=n.__c)&&!t.__)try{if((_=t.constructor)&&null!=_.getDerivedStateFromError&&(t.setState(_.getDerivedStateFromError(e)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(e),r=t.__d),r)return t.__E=t}catch(o){e=o}throw e}},t=0,w.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=y({},this.state),"function"==typeof e&&(e=e(y({},t),this.props)),e&&y(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),S(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},w.prototype.render=k,_=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,P.__r=0;var I,q,W,B=0,$=[],V=n.__b,Q=n.__r,z=n.diffed,G=n.__c,J=n.unmount;function K(e,t){n.__h&&n.__h(q,e,B||t),B=0;var _=q.__H||(q.__H={__:[],__h:[]});return e>=_.__.length&&_.__.push({}),_.__[e]}function X(){$.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(ne),e.__H.__h.forEach(te),e.__H.__h=[]}catch(t){e.__H.__h=[],n.__e(t,e.__v)}})),$=[]}n.__b=function(e){q=null,V&&V(e)},n.__r=function(e){Q&&Q(e),I=0;var n=(q=e.__c).__H;n&&(n.__h.forEach(ne),n.__h.forEach(te),n.__h=[])},n.diffed=function(e){z&&z(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==$.push(t)&&W===n.requestAnimationFrame||((W=n.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(_),ee&&cancelAnimationFrame(n),setTimeout(e)},_=setTimeout(t,100);ee&&(n=requestAnimationFrame(t))})(X)),q=void 0},n.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ne),e.__h=e.__h.filter((function(e){return!e.__||te(e)}))}catch(_){t.some((function(e){e.__h&&(e.__h=[])})),t=[],n.__e(_,e.__v)}})),G&&G(e,t)},n.unmount=function(e){J&&J(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(ne)}catch(_){n.__e(_,t.__v)}};var Y,Z,ee="function"==typeof requestAnimationFrame;function ne(e){var n=q;"function"==typeof e.__c&&e.__c(),q=n}function te(e){var n=q;e.__c=e.__(),q=n}function _e(e,n){return"function"==typeof n?n(e):n}(Z=Y||(Y={})).UPVOTE="UPVOTE",Z.FEATURE_REQUESTS_LOADED="FEATURE_REQUESTS_LOADED",Z.HANDLE_ERROR="HANDLE_ERROR";const re={data:{},meta:{from:0,to:0,total:0},links:{prev:null,next:null}},oe=(e,n)=>{switch(console.log(n),n.type){case Y.UPVOTE:return p(d({},e),{data:p(d({},e.data),{[n.id]:p(d({},e.data[n.id]),{votes:e.data[n.id].votes_count+1})})});case Y.FEATURE_REQUESTS_LOADED:return p(d({},e),{data:n.response.data,meta:n.response.meta,links:n.response.links});case Y.HANDLE_ERROR:return p(d({},e),{error:n.error});default:throw new Error("Unexpected action: "+JSON.stringify(n))}};function le(e){const{featureRequest:n}=e;return b("div",{className:"flex py-6 px-4 sm:px-6 gap-4"},b("div",{className:"flex flex-col w-10 items-center"},b("button",{type:"button",className:"flex flex-col items-center rounded-full text-gray-400 hover:text-green-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-400 text-sm"},b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-12 w-12 -m-2","aria-hidden":"true"},b("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))),b("div",{className:"text-gray-500"})),b("div",{className:"flex flex-col flex-grow justify-between truncate"},b("div",{className:"text-md text-gray-700 font-semibold truncate"},n.title),b("div",{className:"text-sm text-gray-700 truncate"},n.description),b("div",{className:"flex justify-between mt-2"},b("div",{className:"flex gap-2"},b("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800 "},"boombox")),b("div",{className:"flex text-gray-500 text-sm"},n.votes_count,b("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-5 h-5"},b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"}))))))}function ie(e){const{options:{workspace:t,projects:_}}=e,[r,o]=(l=oe,i=re,(u=K(I++,2)).t=l,u.__c||(u.__=[s?s(i):_e(void 0,i),function(e){var n=u.t(u.__[0],e);u.__[0]!==n&&(u.__=[n,u.__[1]],u.__c.setState({}))}],u.__c=q),u.__);var l,i,s,u;const{error:a,data:f,meta:c,links:d}=r;return function(e,t){var _,r,o=K(I++,3);!n.__s&&(_=o.__H,r=t,!_||_.length!==r.length||r.some((function(e,n){return e!==_[n]})))&&(o.__=e,o.__H=t,q.__H.__h.push(o))}((()=>{(()=>{return e=this,n=null,r=function*(){const e=yield fetch(`https://api.feature.ninja/workspaces/${t}/feature-requests${_?`?projects=${_.join(",")}`:""}`),n=yield e.json();if(e.ok)o({type:Y.FEATURE_REQUESTS_LOADED,response:n});else{const n=yield e.text();console.error("Error loading feature requests, response was:",n),o({type:Y.HANDLE_ERROR,error:new Error("Oops, something went wrong when loading the feature requests...")})}},new Promise(((t,_)=>{var o=e=>{try{i(r.next(e))}catch(n){_(n)}},l=e=>{try{i(r.throw(e))}catch(n){_(n)}},i=e=>e.done?t(e.value):Promise.resolve(e.value).then(o,l);i((r=r.apply(e,n)).next())}));var e,n,r})()}),[t,_]),b("div",{className:"fn-max-w-4xl fn-mx-auto fn-sm:px-6 fn-lg:px-8"},a&&b("div",{className:"fn-bg-red-400"},a.message),b("div",{className:"fn-py-4 fn-px-4"},b("span",{className:"fn-sr-only"},"Search..."),b("input",{type:"text",className:"fn-shadow-sm fn-focus:ring-green-400 fn-focus:border-green-400 fn-block fn-p-4 fn-w-full fn-border-gray-300 fn-rounded-md ",placeholder:"Search..."})),b("div",{className:"fn-divide-y fn-divide-gray-200 fn-mt-4"},Object.values(f).map((e=>b(le,{key:e.id,featureRequest:e})))),b("nav",{className:"fn-bg-white fn-px-4 fn-py-3 fn-flex fn-items-center fn-justify-between fn-border-t fn-border-gray-200 fn-sm:px-6","aria-label":"Pagination"},b("div",{className:"fn-hidden fn-sm:block"},b("p",{className:"fn-text-sm fn-text-gray-700"},"Showing ",b("span",{className:"fn-font-medium"},c.from)," to"," ",b("span",{className:"fn-font-medium"},c.to)," of"," ",b("span",{className:"fn-font-medium"},c.total)," results")),b("div",{className:"fn-fn-flex-1 fn-fn-flex fn-fn-justify-between fn-fn-sm:justify-end"},b("button",{className:"fn-relative fn-inline-flex fn-items-center fn-px-4 fn-py-2 fn-border fn-border-gray-300 fn-text-sm fn-font-medium fn-rounded-md fn-text-gray-700 fn-bg-white fn-hover:bg-gray-50 fn-disabled:opacity-25",disabled:null===d.prev},"Previous"),b("button",{className:"fn-ml-3 fn-relative fn-inline-flex fn-items-center fn-px-4 fn-py-2 fn-border fn-border-gray-300 fn-text-sm fn-font-medium fn-rounded-md fn-text-gray-700 fn-bg-white fn-hover:bg-gray-50 fn-disabled:opacity-25",disabled:null===d.next},"Next"))))}const se=document.currentScript;function ue(t){window.addEventListener("DOMContentLoaded",(()=>{const _=d(d({},{elementId:"feature-ninja-widget"}),t);let r=document.getElementById(_.elementId);var o,l,i,s,u,a;r||(r=document.createElement("div"),r.id=_.elementId,se?se.insertBefore(r,se):document.body.appendChild(r)),o=b(ie,{options:_}),l=r,n.__&&n.__(o,l),u=(s="function"==typeof i)?null:i&&i.__k||l.__k,a=[],U(l,o=(!s&&i||l).__k=b(k,null,[o]),u||h,h,void 0!==l.ownerSVGElement,!s&&i?[i]:u?null:l.firstChild?e.call(l.childNodes):null,a,!s&&i?i:u?u.__e:l.firstChild,s),j(a,o)}))}window.featureNinja=ue,module.exports=ue,(function () { 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(`@import url('https://rsms.me/inter/inter.css');

@@ -532,6 +532,2 @@ /*! tailwindcss v2.2.15 | MIT License | https://tailwindcss.com */

[hidden] {
display: none;
}
*, ::before, ::after{

@@ -542,3 +538,3 @@ --tw-border-opacity: 1;

.sr-only{
.fn-sr-only{
position: absolute;

@@ -555,11 +551,7 @@ width: 1px;

.relative{
.fn-relative{
position: relative;
}
.-m-2{
margin: -0.5rem;
}
.mx-auto{
.fn-mx-auto{
margin-left: auto;

@@ -569,82 +561,35 @@ margin-right: auto;

.mt-2{
margin-top: 0.5rem;
}
.mt-4{
.fn-mt-4{
margin-top: 1rem;
}
.ml-3{
.fn-ml-3{
margin-left: 0.75rem;
}
.block{
.fn-block{
display: block;
}
.flex{
.fn-flex{
display: flex;
}
.inline-flex{
.fn-inline-flex{
display: inline-flex;
}
.table{
display: table;
}
.hidden{
.fn-hidden{
display: none;
}
.h-5{
height: 1.25rem;
}
.h-12{
height: 3rem;
}
.w-5{
width: 1.25rem;
}
.w-10{
width: 2.5rem;
}
.w-12{
width: 3rem;
}
.w-full{
.fn-w-full{
width: 100%;
}
.max-w-4xl{
.fn-max-w-4xl{
max-width: 56rem;
}
.flex-1{
flex: 1 1 0%;
}
.flex-grow{
flex-grow: 1;
}
.transform{
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
transform: translateX(var(--tw-translate-x)) translateY(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));
}
@-webkit-keyframes spin{
@-webkit-keyframes fn-spin{
to{

@@ -655,3 +600,3 @@ transform: rotate(360deg);

@keyframes spin{
@keyframes fn-spin{
to{

@@ -662,3 +607,3 @@ transform: rotate(360deg);

@-webkit-keyframes ping{
@-webkit-keyframes fn-ping{
75%, 100%{

@@ -670,3 +615,3 @@ transform: scale(2);

@keyframes ping{
@keyframes fn-ping{
75%, 100%{

@@ -678,3 +623,3 @@ transform: scale(2);

@-webkit-keyframes pulse{
@-webkit-keyframes fn-pulse{
50%{

@@ -685,3 +630,3 @@ opacity: .5;

@keyframes pulse{
@keyframes fn-pulse{
50%{

@@ -692,3 +637,3 @@ opacity: .5;

@-webkit-keyframes bounce{
@-webkit-keyframes fn-bounce{
0%, 100%{

@@ -707,3 +652,3 @@ transform: translateY(-25%);

@keyframes bounce{
@keyframes fn-bounce{
0%, 100%{

@@ -722,23 +667,11 @@ transform: translateY(-25%);

.flex-col{
flex-direction: column;
}
.items-center{
.fn-items-center{
align-items: center;
}
.justify-between{
.fn-justify-between{
justify-content: space-between;
}
.gap-2{
gap: 0.5rem;
}
.gap-4{
gap: 1rem;
}
.divide-y > :not([hidden]) ~ :not([hidden]){
.fn-divide-y > :not([hidden]) ~ :not([hidden]){
--tw-divide-y-reverse: 0;

@@ -749,3 +682,3 @@ border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));

.divide-gray-200 > :not([hidden]) ~ :not([hidden]){
.fn-divide-gray-200 > :not([hidden]) ~ :not([hidden]){
--tw-divide-opacity: 1;

@@ -755,29 +688,15 @@ border-color: rgba(229, 231, 235, var(--tw-divide-opacity));

.truncate{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rounded{
border-radius: 0.25rem;
}
.rounded-md{
.fn-rounded-md{
border-radius: 0.375rem;
}
.rounded-full{
border-radius: 9999px;
}
.border{
.fn-border{
border-width: 1px;
}
.border-t{
.fn-border-t{
border-top-width: 1px;
}
.border-gray-200{
.fn-border-gray-200{
--tw-border-opacity: 1;

@@ -787,3 +706,3 @@ border-color: rgba(229, 231, 235, var(--tw-border-opacity));

.border-gray-300{
.fn-border-gray-300{
--tw-border-opacity: 1;

@@ -793,8 +712,3 @@ border-color: rgba(209, 213, 219, var(--tw-border-opacity));

.focus\:border-green-400:focus{
--tw-border-opacity: 1;
border-color: rgba(52, 211, 153, var(--tw-border-opacity));
}
.bg-white{
.fn-bg-white{
--tw-bg-opacity: 1;

@@ -804,3 +718,3 @@ background-color: rgba(255, 255, 255, var(--tw-bg-opacity));

.bg-red-400{
.fn-bg-red-400{
--tw-bg-opacity: 1;

@@ -810,22 +724,7 @@ background-color: rgba(248, 113, 113, var(--tw-bg-opacity));

.bg-yellow-100{
--tw-bg-opacity: 1;
background-color: rgba(254, 243, 199, var(--tw-bg-opacity));
}
.hover\:bg-gray-50:hover{
--tw-bg-opacity: 1;
background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
}
.p-4{
.fn-p-4{
padding: 1rem;
}
.px-2{
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.px-4{
.fn-px-4{
padding-left: 1rem;

@@ -835,8 +734,3 @@ padding-right: 1rem;

.py-0{
padding-top: 0px;
padding-bottom: 0px;
}
.py-2{
.fn-py-2{
padding-top: 0.5rem;

@@ -846,3 +740,3 @@ padding-bottom: 0.5rem;

.py-3{
.fn-py-3{
padding-top: 0.75rem;

@@ -852,3 +746,3 @@ padding-bottom: 0.75rem;

.py-4{
.fn-py-4{
padding-top: 1rem;

@@ -858,18 +752,3 @@ padding-bottom: 1rem;

.py-6{
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
.py-0\.5{
padding-top: 0.125rem;
padding-bottom: 0.125rem;
}
.text-xs{
font-size: 0.75rem;
line-height: 1rem;
}
.text-sm{
.fn-text-sm{
font-size: 0.875rem;

@@ -879,35 +758,11 @@ line-height: 1.25rem;

.font-medium{
.fn-font-medium{
font-weight: 500;
}
.font-semibold{
font-weight: 600;
}
.text-gray-400{
.fn-text-gray-700{
--tw-text-opacity: 1;
color: rgba(156, 163, 175, var(--tw-text-opacity));
}
.text-gray-500{
--tw-text-opacity: 1;
color: rgba(107, 114, 128, var(--tw-text-opacity));
}
.text-gray-700{
--tw-text-opacity: 1;
color: rgba(55, 65, 81, var(--tw-text-opacity));
}
.text-yellow-800{
--tw-text-opacity: 1;
color: rgba(146, 64, 14, var(--tw-text-opacity));
}
.hover\:text-green-400:hover{
--tw-text-opacity: 1;
color: rgba(52, 211, 153, var(--tw-text-opacity));
}
*, ::before, ::after{

@@ -917,3 +772,3 @@ --tw-shadow: 0 0 #0000;

.shadow-sm{
.fn-shadow-sm{
--tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

@@ -923,7 +778,2 @@ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);

.focus\:outline-none:focus{
outline: 2px solid transparent;
outline-offset: 2px;
}
*, ::before, ::after{

@@ -938,30 +788,3 @@ --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);

.focus\:ring-2:focus{
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-green-400:focus{
--tw-ring-opacity: 1;
--tw-ring-color: rgba(52, 211, 153, var(--tw-ring-opacity));
}
.focus\:ring-offset-2:focus{
--tw-ring-offset-width: 2px;
}
@media (min-width: 640px){
.sm\:block{
display: block;
}
.sm\:justify-end{
justify-content: flex-end;
}
.sm\:px-6{
padding-left: 1.5rem;
padding-right: 1.5rem;
}
}

@@ -973,6 +796,2 @@

@media (min-width: 1024px){
.lg\:px-8{
padding-left: 2rem;
padding-right: 2rem;
}
}

@@ -979,0 +798,0 @@

@@ -1,2 +0,2 @@

var e,t,n,_,r,o,l=Object.defineProperty,i=Object.defineProperties,s=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))a.call(t,n)&&f(e,n,t[n]);if(u)for(var n of u(t))c.call(t,n)&&f(e,n,t[n]);return e},p=(e,t)=>i(e,s(t)),h={},m=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function y(e,t){for(var n in t)e[n]=t[n];return e}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function b(t,n,_){var r,o,l,i={};for(l in n)"key"==l?r=n[l]:"ref"==l?o=n[l]:i[l]=n[l];if(arguments.length>2&&(i.children=arguments.length>3?e.call(arguments,2):_),"function"==typeof t&&null!=t.defaultProps)for(l in t.defaultProps)void 0===i[l]&&(i[l]=t.defaultProps[l]);return x(t,i,r,o,null)}function x(e,_,r,o,l){var i={type:e,props:_,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++n:l};return null!=t.vnode&&t.vnode(i),i}function k(e){return e.children}function w(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?E(e):null}function N(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return N(e)}}function S(e){(!e.__d&&(e.__d=!0)&&_.push(e)&&!P.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||r)(P)}function P(){for(var e;P.__r=_.length;)e=_.sort((function(e,t){return e.__v.__b-t.__v.__b})),_=[],e.some((function(e){var t,n,_,r,o,l;e.__d&&(o=(r=(t=e).__v).__e,(l=t.__P)&&(n=[],(_=y({},r)).__v=r.__v+1,L(l,r,_,t.__n,void 0!==l.ownerSVGElement,null!=r.__h?[o]:null,n,null==o?E(r):o,r.__h),C(n,r),r.__e!=o&&N(r)))}))}function R(e,t,n,_,r,o,l,i,s,u){var a,c,f,d,p,v,y,g=_&&_.__k||m,b=g.length;for(n.__k=[],a=0;a<t.length;a++)if(null!=(d=n.__k[a]=null==(d=t[a])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?x(null,d,null,null,d):Array.isArray(d)?x(k,{children:d},null,null,null):d.__b>0?x(d.type,d.props,d.key,null,d.__v):d)){if(d.__=n,d.__b=n.__b+1,null===(f=g[a])||f&&d.key==f.key&&d.type===f.type)g[a]=void 0;else for(c=0;c<b;c++){if((f=g[c])&&d.key==f.key&&d.type===f.type){g[c]=void 0;break}f=null}L(e,d,f=f||h,r,o,l,i,s,u),p=d.__e,(c=d.ref)&&f.ref!=c&&(y||(y=[]),f.ref&&y.push(f.ref,null,d),y.push(c,d.__c||p,d)),null!=p?(null==v&&(v=p),"function"==typeof d.type&&null!=d.__k&&d.__k===f.__k?d.__d=s=O(d,s,e):s=T(e,d,f,g,p,s),u||"option"!==n.type?"function"==typeof n.type&&(n.__d=s):e.value=""):s&&f.__e==s&&s.parentNode!=e&&(s=E(f))}for(n.__e=v,a=b;a--;)null!=g[a]&&("function"==typeof n.type&&null!=g[a].__e&&g[a].__e==n.__d&&(n.__d=E(_,a+1)),F(g[a],g[a]));if(y)for(a=0;a<y.length;a++)j(y[a],y[++a],y[++a])}function O(e,t,n){var _,r;for(_=0;_<e.__k.length;_++)(r=e.__k[_])&&(r.__=e,t="function"==typeof r.type?O(r,t,n):T(n,r,r,e.__k,r.__e,t));return t}function T(e,t,n,_,r,o){var l,i,s;if(void 0!==t.__d)l=t.__d,t.__d=void 0;else if(null==n||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),l=null;else{for(i=o,s=0;(i=i.nextSibling)&&s<_.length;s+=2)if(i==r)break e;e.insertBefore(r,o),l=o}return void 0!==l?l:r.nextSibling}function A(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||v.test(t)?n:n+"px"}function D(e,t,n,_,r){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(t in _)n&&t in n||A(e.style,t,"");if(n)for(t in n)_&&n[t]===_[t]||A(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?_||e.addEventListener(t,o?U:H,o):e.removeEventListener(t,o?U:H,o);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(l){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function H(e){this.l[e.type+!1](t.event?t.event(e):e)}function U(e){this.l[e.type+!0](t.event?t.event(e):e)}function L(n,_,r,o,l,i,s,u,a){var c,f,d,p,m,v,b,x,N,S,P,O=_.type;if(void 0!==_.constructor)return null;null!=r.__h&&(a=r.__h,u=_.__e=r.__e,_.__h=null,i=[u]),(c=t.__b)&&c(_);try{e:if("function"==typeof O){if(x=_.props,N=(c=O.contextType)&&o[c.__c],S=c?N?N.props.value:c.__:o,r.__c?b=(f=_.__c=r.__c).__=f.__E:("prototype"in O&&O.prototype.render?_.__c=f=new O(x,S):(_.__c=f=new w(x,S),f.constructor=O,f.render=M),N&&N.sub(f),f.props=x,f.state||(f.state={}),f.context=S,f.__n=o,d=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=O.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=y({},f.__s)),y(f.__s,O.getDerivedStateFromProps(x,f.__s))),p=f.props,m=f.state,d)null==O.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==O.getDerivedStateFromProps&&x!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(x,S),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(x,f.__s,S)||_.__v===r.__v){f.props=x,f.state=f.__s,_.__v!==r.__v&&(f.__d=!1),f.__v=_,_.__e=r.__e,_.__k=r.__k,_.__k.forEach((function(e){e&&(e.__=_)})),f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(x,f.__s,S),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(p,m,v)}))}f.context=S,f.props=x,f.state=f.__s,(c=t.__r)&&c(_),f.__d=!1,f.__v=_,f.__P=n,c=f.render(f.props,f.state,f.context),f.state=f.__s,null!=f.getChildContext&&(o=y(y({},o),f.getChildContext())),d||null==f.getSnapshotBeforeUpdate||(v=f.getSnapshotBeforeUpdate(p,m)),P=null!=c&&c.type===k&&null==c.key?c.props.children:c,R(n,Array.isArray(P)?P:[P],_,r,o,l,i,s,u,a),f.base=_.__e,_.__h=null,f.__h.length&&s.push(f),b&&(f.__E=f.__=null),f.__e=!1}else null==i&&_.__v===r.__v?(_.__k=r.__k,_.__e=r.__e):_.__e=function(t,n,_,r,o,l,i,s){var u,a,c,f=_.props,d=n.props,p=n.type,m=0;if("svg"===p&&(o=!0),null!=l)for(;m<l.length;m++)if((u=l[m])&&(u===t||(p?u.localName==p:3==u.nodeType))){t=u,l[m]=null;break}if(null==t){if(null===p)return document.createTextNode(d);t=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),l=null,s=!1}if(null===p)f===d||s&&t.data===d||(t.data=d);else{if(l=l&&e.call(t.childNodes),a=(f=_.props||h).dangerouslySetInnerHTML,c=d.dangerouslySetInnerHTML,!s){if(null!=l)for(f={},m=0;m<t.attributes.length;m++)f[t.attributes[m].name]=t.attributes[m].value;(c||a)&&(c&&(a&&c.__html==a.__html||c.__html===t.innerHTML)||(t.innerHTML=c&&c.__html||""))}if(function(e,t,n,_,r){var o;for(o in n)"children"===o||"key"===o||o in t||D(e,o,null,n[o],_);for(o in t)r&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||D(e,o,t[o],n[o],_)}(t,d,f,o,s),c)n.__k=[];else if(m=n.props.children,R(t,Array.isArray(m)?m:[m],n,_,r,o&&"foreignObject"!==p,l,i,l?l[0]:_.__k&&E(_,0),s),null!=l)for(m=l.length;m--;)null!=l[m]&&g(l[m]);s||("value"in d&&void 0!==(m=d.value)&&(m!==t.value||"progress"===p&&!m)&&D(t,"value",m,f.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==t.checked&&D(t,"checked",m,f.checked,!1))}return t}(r.__e,_,r,o,l,i,s,a);(c=t.diffed)&&c(_)}catch(T){_.__v=null,(a||null!=i)&&(_.__e=u,_.__h=!!a,i[i.indexOf(u)]=null),t.__e(T,_,r)}}function C(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(_){t.__e(_,n.__v)}}))}function j(e,n,_){try{"function"==typeof e?e(n):e.current=n}catch(r){t.__e(r,_)}}function F(e,n,_){var r,o;if(t.unmount&&t.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||j(r,null,n)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(l){t.__e(l,n)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&F(r[o],n,"function"!=typeof e.type);_||null==e.__e||g(e.__e),e.__e=e.__d=void 0}function M(e,t,n){return this.constructor(e,n)}e=m.slice,t={__e:function(e,t){for(var n,_,r;t=t.__;)if((n=t.__c)&&!n.__)try{if((_=n.constructor)&&null!=_.getDerivedStateFromError&&(n.setState(_.getDerivedStateFromError(e)),r=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),r=n.__d),r)return n.__E=n}catch(o){e=o}throw e}},n=0,w.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=y({},this.state),"function"==typeof e&&(e=e(y({},n),this.props)),e&&y(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),S(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},w.prototype.render=k,_=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,P.__r=0;var I,q,W,B=0,V=[],Q=t.__b,$=t.__r,z=t.diffed,G=t.__c,J=t.unmount;function K(e,n){t.__h&&t.__h(q,e,B||n),B=0;var _=q.__H||(q.__H={__:[],__h:[]});return e>=_.__.length&&_.__.push({}),_.__[e]}function X(){V.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(te),e.__H.__h.forEach(ne),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}})),V=[]}t.__b=function(e){q=null,Q&&Q(e)},t.__r=function(e){$&&$(e),I=0;var t=(q=e.__c).__H;t&&(t.__h.forEach(te),t.__h.forEach(ne),t.__h=[])},t.diffed=function(e){z&&z(e);var n=e.__c;n&&n.__H&&n.__H.__h.length&&(1!==V.push(n)&&W===t.requestAnimationFrame||((W=t.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(_),ee&&cancelAnimationFrame(t),setTimeout(e)},_=setTimeout(n,100);ee&&(t=requestAnimationFrame(n))})(X)),q=void 0},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(te),e.__h=e.__h.filter((function(e){return!e.__||ne(e)}))}catch(_){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(_,e.__v)}})),G&&G(e,n)},t.unmount=function(e){J&&J(e);var n=e.__c;if(n&&n.__H)try{n.__H.__.forEach(te)}catch(_){t.__e(_,n.__v)}};var Y,Z,ee="function"==typeof requestAnimationFrame;function te(e){var t=q;"function"==typeof e.__c&&e.__c(),q=t}function ne(e){var t=q;e.__c=e.__(),q=t}function _e(e,t){return"function"==typeof t?t(e):t}(Z=Y||(Y={})).UPVOTE="UPVOTE",Z.FEATURE_REQUESTS_LOADED="FEATURE_REQUESTS_LOADED",Z.HANDLE_ERROR="HANDLE_ERROR";const re={data:{},meta:{from:0,to:0,total:0},links:{prev:null,next:null}},oe=(e,t)=>{switch(console.log(t),t.type){case Y.UPVOTE:return p(d({},e),{data:p(d({},e.data),{[t.id]:p(d({},e.data[t.id]),{votes:e.data[t.id].votes_count+1})})});case Y.FEATURE_REQUESTS_LOADED:return p(d({},e),{data:t.response.data,meta:t.response.meta,links:t.response.links});case Y.HANDLE_ERROR:return p(d({},e),{error:t.error});default:throw new Error("Unexpected action: "+JSON.stringify(t))}};function le(e){const{featureRequest:t}=e;return b("div",{className:"flex py-6 px-4 sm:px-6 gap-4"},b("div",{className:"flex flex-col w-10 items-center"},b("button",{type:"button",className:"flex flex-col items-center rounded-full text-gray-400 hover:text-green-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-400 text-sm"},b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-12 w-12 -m-2","aria-hidden":"true"},b("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))),b("div",{className:"text-gray-500"})),b("div",{className:"flex flex-col flex-grow justify-between truncate"},b("div",{className:"text-md text-gray-700 font-semibold truncate"},t.title),b("div",{className:"text-sm text-gray-700 truncate"},t.description),b("div",{className:"flex justify-between mt-2"},b("div",{className:"flex gap-2"},b("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800 "},"boombox")),b("div",{className:"flex text-gray-500 text-sm"},t.votes_count,b("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-5 h-5"},b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"}))))))}function ie(e){const{options:{project:n}}=e,[_,r]=(o=oe,l=re,(s=K(I++,2)).t=o,s.__c||(s.__=[i?i(l):_e(void 0,l),function(e){var t=s.t(s.__[0],e);s.__[0]!==t&&(s.__=[t,s.__[1]],s.__c.setState({}))}],s.__c=q),s.__);var o,l,i,s;const{error:u,data:a,meta:c,links:f}=_;return function(e,n){var _,r,o=K(I++,3);!t.__s&&(_=o.__H,r=n,!_||_.length!==r.length||r.some((function(e,t){return e!==_[t]})))&&(o.__=e,o.__H=n,q.__H.__h.push(o))}((()=>{(()=>{return e=this,t=null,_=function*(){const e=yield fetch(`https://${n}.feature.ninja/api/feature-requests`),t=yield e.json();if(e.ok)r({type:Y.FEATURE_REQUESTS_LOADED,response:t});else{const t=yield e.text();console.error("Error loading feature requests, response was:",t),r({type:Y.HANDLE_ERROR,error:new Error("Oops, something went wrong when loading the feature requests...")})}},new Promise(((n,r)=>{var o=e=>{try{i(_.next(e))}catch(t){r(t)}},l=e=>{try{i(_.throw(e))}catch(t){r(t)}},i=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,l);i((_=_.apply(e,t)).next())}));var e,t,_})()}),[n]),b("div",{className:"max-w-4xl mx-auto sm:px-6 lg:px-8"},u&&b("div",{className:"bg-red-400"},u.message),b("div",{className:"py-4 px-4"},b("span",{className:"sr-only"},"Search..."),b("input",{type:"text",className:"shadow-sm focus:ring-green-400 focus:border-green-400 block p-4 w-full border-gray-300 rounded-md ",placeholder:"Search..."})),b("div",{className:"divide-y divide-gray-200 mt-4"},Object.values(a).map((e=>b(le,{key:e.id,featureRequest:e})))),b("nav",{className:"bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6","aria-label":"Pagination"},b("div",{className:"hidden sm:block"},b("p",{className:"text-sm text-gray-700"},"Showing ",b("span",{className:"font-medium"},c.from)," to"," ",b("span",{className:"font-medium"},c.to)," of"," ",b("span",{className:"font-medium"},c.total)," results")),b("div",{className:"flex-1 flex justify-between sm:justify-end"},b("button",{className:"relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-25",disabled:null===f.prev},"Previous"),b("button",{className:"ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-25",disabled:null===f.next},"Next"))))}const se=document.currentScript;function ue(n){const _=d(d({},{elementId:"feature-ninja-widget"}),n);let r=document.getElementById(_.elementId);var o,l,i,s,u,a;r||(r=document.createElement("div"),r.id=_.elementId,se?se.insertBefore(r,se):document.body.appendChild(r)),o=b(ie,{options:_}),l=r,t.__&&t.__(o,l),u=(s="function"==typeof i)?null:i&&i.__k||l.__k,a=[],L(l,o=(!s&&i||l).__k=b(k,null,[o]),u||h,h,void 0!==l.ownerSVGElement,!s&&i?[i]:u?null:l.firstChild?e.call(l.childNodes):null,a,!s&&i?i:u?u.__e:l.firstChild,s),C(a,o)}window.featureNinja=ue,module.exports=ue,(function () { 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(`@import url('https://rsms.me/inter/inter.css');
var e,n,t,_,r,o,l=Object.defineProperty,i=Object.defineProperties,s=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(e,n,t)=>n in e?l(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,d=(e,n)=>{for(var t in n||(n={}))a.call(n,t)&&c(e,t,n[t]);if(u)for(var t of u(n))f.call(n,t)&&c(e,t,n[t]);return e},p=(e,n)=>i(e,s(n)),h={},m=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function y(e,n){for(var t in n)e[t]=n[t];return e}function g(e){var n=e.parentNode;n&&n.removeChild(e)}function b(n,t,_){var r,o,l,i={};for(l in t)"key"==l?r=t[l]:"ref"==l?o=t[l]:i[l]=t[l];if(arguments.length>2&&(i.children=arguments.length>3?e.call(arguments,2):_),"function"==typeof n&&null!=n.defaultProps)for(l in n.defaultProps)void 0===i[l]&&(i[l]=n.defaultProps[l]);return x(n,i,r,o,null)}function x(e,_,r,o,l){var i={type:e,props:_,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++t:l};return null!=n.vnode&&n.vnode(i),i}function k(e){return e.children}function w(e,n){this.props=e,this.context=n}function E(e,n){if(null==n)return e.__?E(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?E(e):null}function N(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return N(e)}}function S(e){(!e.__d&&(e.__d=!0)&&_.push(e)&&!P.__r++||o!==n.debounceRendering)&&((o=n.debounceRendering)||r)(P)}function P(){for(var e;P.__r=_.length;)e=_.sort((function(e,n){return e.__v.__b-n.__v.__b})),_=[],e.some((function(e){var n,t,_,r,o,l;e.__d&&(o=(r=(n=e).__v).__e,(l=n.__P)&&(t=[],(_=y({},r)).__v=r.__v+1,U(l,r,_,n.__n,void 0!==l.ownerSVGElement,null!=r.__h?[o]:null,t,null==o?E(r):o,r.__h),j(t,r),r.__e!=o&&N(r)))}))}function R(e,n,t,_,r,o,l,i,s,u){var a,f,c,d,p,v,y,g=_&&_.__k||m,b=g.length;for(t.__k=[],a=0;a<n.length;a++)if(null!=(d=t.__k[a]=null==(d=n[a])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?x(null,d,null,null,d):Array.isArray(d)?x(k,{children:d},null,null,null):d.__b>0?x(d.type,d.props,d.key,null,d.__v):d)){if(d.__=t,d.__b=t.__b+1,null===(c=g[a])||c&&d.key==c.key&&d.type===c.type)g[a]=void 0;else for(f=0;f<b;f++){if((c=g[f])&&d.key==c.key&&d.type===c.type){g[f]=void 0;break}c=null}U(e,d,c=c||h,r,o,l,i,s,u),p=d.__e,(f=d.ref)&&c.ref!=f&&(y||(y=[]),c.ref&&y.push(c.ref,null,d),y.push(f,d.__c||p,d)),null!=p?(null==v&&(v=p),"function"==typeof d.type&&null!=d.__k&&d.__k===c.__k?d.__d=s=O(d,s,e):s=D(e,d,c,g,p,s),u||"option"!==t.type?"function"==typeof t.type&&(t.__d=s):e.value=""):s&&c.__e==s&&s.parentNode!=e&&(s=E(c))}for(t.__e=v,a=b;a--;)null!=g[a]&&("function"==typeof t.type&&null!=g[a].__e&&g[a].__e==t.__d&&(t.__d=E(_,a+1)),F(g[a],g[a]));if(y)for(a=0;a<y.length;a++)C(y[a],y[++a],y[++a])}function O(e,n,t){var _,r;for(_=0;_<e.__k.length;_++)(r=e.__k[_])&&(r.__=e,n="function"==typeof r.type?O(r,n,t):D(t,r,r,e.__k,r.__e,n));return n}function D(e,n,t,_,r,o){var l,i,s;if(void 0!==n.__d)l=n.__d,n.__d=void 0;else if(null==t||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),l=null;else{for(i=o,s=0;(i=i.nextSibling)&&s<_.length;s+=2)if(i==r)break e;e.insertBefore(r,o),l=o}return void 0!==l?l:r.nextSibling}function T(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||v.test(n)?t:t+"px"}function A(e,n,t,_,r){var o;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(n in _)t&&n in t||T(e.style,n,"");if(t)for(n in t)_&&t[n]===_[n]||T(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])o=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+o]=t,t?_||e.addEventListener(n,o?L:H,o):e.removeEventListener(n,o?L:H,o);else if("dangerouslySetInnerHTML"!==n){if(r)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(l){}"function"==typeof t||(null!=t&&(!1!==t||"a"===n[0]&&"r"===n[1])?e.setAttribute(n,t):e.removeAttribute(n))}}function H(e){this.l[e.type+!1](n.event?n.event(e):e)}function L(e){this.l[e.type+!0](n.event?n.event(e):e)}function U(t,_,r,o,l,i,s,u,a){var f,c,d,p,m,v,b,x,N,S,P,O=_.type;if(void 0!==_.constructor)return null;null!=r.__h&&(a=r.__h,u=_.__e=r.__e,_.__h=null,i=[u]),(f=n.__b)&&f(_);try{e:if("function"==typeof O){if(x=_.props,N=(f=O.contextType)&&o[f.__c],S=f?N?N.props.value:f.__:o,r.__c?b=(c=_.__c=r.__c).__=c.__E:("prototype"in O&&O.prototype.render?_.__c=c=new O(x,S):(_.__c=c=new w(x,S),c.constructor=O,c.render=M),N&&N.sub(c),c.props=x,c.state||(c.state={}),c.context=S,c.__n=o,d=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=O.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=y({},c.__s)),y(c.__s,O.getDerivedStateFromProps(x,c.__s))),p=c.props,m=c.state,d)null==O.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==O.getDerivedStateFromProps&&x!==p&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(x,S),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(x,c.__s,S)||_.__v===r.__v){c.props=x,c.state=c.__s,_.__v!==r.__v&&(c.__d=!1),c.__v=_,_.__e=r.__e,_.__k=r.__k,_.__k.forEach((function(e){e&&(e.__=_)})),c.__h.length&&s.push(c);break e}null!=c.componentWillUpdate&&c.componentWillUpdate(x,c.__s,S),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(p,m,v)}))}c.context=S,c.props=x,c.state=c.__s,(f=n.__r)&&f(_),c.__d=!1,c.__v=_,c.__P=t,f=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(o=y(y({},o),c.getChildContext())),d||null==c.getSnapshotBeforeUpdate||(v=c.getSnapshotBeforeUpdate(p,m)),P=null!=f&&f.type===k&&null==f.key?f.props.children:f,R(t,Array.isArray(P)?P:[P],_,r,o,l,i,s,u,a),c.base=_.__e,_.__h=null,c.__h.length&&s.push(c),b&&(c.__E=c.__=null),c.__e=!1}else null==i&&_.__v===r.__v?(_.__k=r.__k,_.__e=r.__e):_.__e=function(n,t,_,r,o,l,i,s){var u,a,f,c=_.props,d=t.props,p=t.type,m=0;if("svg"===p&&(o=!0),null!=l)for(;m<l.length;m++)if((u=l[m])&&(u===n||(p?u.localName==p:3==u.nodeType))){n=u,l[m]=null;break}if(null==n){if(null===p)return document.createTextNode(d);n=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),l=null,s=!1}if(null===p)c===d||s&&n.data===d||(n.data=d);else{if(l=l&&e.call(n.childNodes),a=(c=_.props||h).dangerouslySetInnerHTML,f=d.dangerouslySetInnerHTML,!s){if(null!=l)for(c={},m=0;m<n.attributes.length;m++)c[n.attributes[m].name]=n.attributes[m].value;(f||a)&&(f&&(a&&f.__html==a.__html||f.__html===n.innerHTML)||(n.innerHTML=f&&f.__html||""))}if(function(e,n,t,_,r){var o;for(o in t)"children"===o||"key"===o||o in n||A(e,o,null,t[o],_);for(o in n)r&&"function"!=typeof n[o]||"children"===o||"key"===o||"value"===o||"checked"===o||t[o]===n[o]||A(e,o,n[o],t[o],_)}(n,d,c,o,s),f)t.__k=[];else if(m=t.props.children,R(n,Array.isArray(m)?m:[m],t,_,r,o&&"foreignObject"!==p,l,i,l?l[0]:_.__k&&E(_,0),s),null!=l)for(m=l.length;m--;)null!=l[m]&&g(l[m]);s||("value"in d&&void 0!==(m=d.value)&&(m!==n.value||"progress"===p&&!m)&&A(n,"value",m,c.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==n.checked&&A(n,"checked",m,c.checked,!1))}return n}(r.__e,_,r,o,l,i,s,a);(f=n.diffed)&&f(_)}catch(D){_.__v=null,(a||null!=i)&&(_.__e=u,_.__h=!!a,i[i.indexOf(u)]=null),n.__e(D,_,r)}}function j(e,t){n.__c&&n.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(_){n.__e(_,t.__v)}}))}function C(e,t,_){try{"function"==typeof e?e(t):e.current=t}catch(r){n.__e(r,_)}}function F(e,t,_){var r,o;if(n.unmount&&n.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||C(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(l){n.__e(l,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&F(r[o],t,"function"!=typeof e.type);_||null==e.__e||g(e.__e),e.__e=e.__d=void 0}function M(e,n,t){return this.constructor(e,t)}e=m.slice,n={__e:function(e,n){for(var t,_,r;n=n.__;)if((t=n.__c)&&!t.__)try{if((_=t.constructor)&&null!=_.getDerivedStateFromError&&(t.setState(_.getDerivedStateFromError(e)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(e),r=t.__d),r)return t.__E=t}catch(o){e=o}throw e}},t=0,w.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=y({},this.state),"function"==typeof e&&(e=e(y({},t),this.props)),e&&y(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),S(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},w.prototype.render=k,_=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,P.__r=0;var I,q,W,B=0,$=[],V=n.__b,Q=n.__r,z=n.diffed,G=n.__c,J=n.unmount;function K(e,t){n.__h&&n.__h(q,e,B||t),B=0;var _=q.__H||(q.__H={__:[],__h:[]});return e>=_.__.length&&_.__.push({}),_.__[e]}function X(){$.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(ne),e.__H.__h.forEach(te),e.__H.__h=[]}catch(t){e.__H.__h=[],n.__e(t,e.__v)}})),$=[]}n.__b=function(e){q=null,V&&V(e)},n.__r=function(e){Q&&Q(e),I=0;var n=(q=e.__c).__H;n&&(n.__h.forEach(ne),n.__h.forEach(te),n.__h=[])},n.diffed=function(e){z&&z(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==$.push(t)&&W===n.requestAnimationFrame||((W=n.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(_),ee&&cancelAnimationFrame(n),setTimeout(e)},_=setTimeout(t,100);ee&&(n=requestAnimationFrame(t))})(X)),q=void 0},n.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ne),e.__h=e.__h.filter((function(e){return!e.__||te(e)}))}catch(_){t.some((function(e){e.__h&&(e.__h=[])})),t=[],n.__e(_,e.__v)}})),G&&G(e,t)},n.unmount=function(e){J&&J(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(ne)}catch(_){n.__e(_,t.__v)}};var Y,Z,ee="function"==typeof requestAnimationFrame;function ne(e){var n=q;"function"==typeof e.__c&&e.__c(),q=n}function te(e){var n=q;e.__c=e.__(),q=n}function _e(e,n){return"function"==typeof n?n(e):n}(Z=Y||(Y={})).UPVOTE="UPVOTE",Z.FEATURE_REQUESTS_LOADED="FEATURE_REQUESTS_LOADED",Z.HANDLE_ERROR="HANDLE_ERROR";const re={data:{},meta:{from:0,to:0,total:0},links:{prev:null,next:null}},oe=(e,n)=>{switch(console.log(n),n.type){case Y.UPVOTE:return p(d({},e),{data:p(d({},e.data),{[n.id]:p(d({},e.data[n.id]),{votes:e.data[n.id].votes_count+1})})});case Y.FEATURE_REQUESTS_LOADED:return p(d({},e),{data:n.response.data,meta:n.response.meta,links:n.response.links});case Y.HANDLE_ERROR:return p(d({},e),{error:n.error});default:throw new Error("Unexpected action: "+JSON.stringify(n))}};function le(e){const{featureRequest:n}=e;return b("div",{className:"flex py-6 px-4 sm:px-6 gap-4"},b("div",{className:"flex flex-col w-10 items-center"},b("button",{type:"button",className:"flex flex-col items-center rounded-full text-gray-400 hover:text-green-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-400 text-sm"},b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-12 w-12 -m-2","aria-hidden":"true"},b("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))),b("div",{className:"text-gray-500"})),b("div",{className:"flex flex-col flex-grow justify-between truncate"},b("div",{className:"text-md text-gray-700 font-semibold truncate"},n.title),b("div",{className:"text-sm text-gray-700 truncate"},n.description),b("div",{className:"flex justify-between mt-2"},b("div",{className:"flex gap-2"},b("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800 "},"boombox")),b("div",{className:"flex text-gray-500 text-sm"},n.votes_count,b("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-5 h-5"},b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"}))))))}function ie(e){const{options:{workspace:t,projects:_}}=e,[r,o]=(l=oe,i=re,(u=K(I++,2)).t=l,u.__c||(u.__=[s?s(i):_e(void 0,i),function(e){var n=u.t(u.__[0],e);u.__[0]!==n&&(u.__=[n,u.__[1]],u.__c.setState({}))}],u.__c=q),u.__);var l,i,s,u;const{error:a,data:f,meta:c,links:d}=r;return function(e,t){var _,r,o=K(I++,3);!n.__s&&(_=o.__H,r=t,!_||_.length!==r.length||r.some((function(e,n){return e!==_[n]})))&&(o.__=e,o.__H=t,q.__H.__h.push(o))}((()=>{(()=>{return e=this,n=null,r=function*(){const e=yield fetch(`https://api.feature.ninja/workspaces/${t}/feature-requests${_?`?projects=${_.join(",")}`:""}`),n=yield e.json();if(e.ok)o({type:Y.FEATURE_REQUESTS_LOADED,response:n});else{const n=yield e.text();console.error("Error loading feature requests, response was:",n),o({type:Y.HANDLE_ERROR,error:new Error("Oops, something went wrong when loading the feature requests...")})}},new Promise(((t,_)=>{var o=e=>{try{i(r.next(e))}catch(n){_(n)}},l=e=>{try{i(r.throw(e))}catch(n){_(n)}},i=e=>e.done?t(e.value):Promise.resolve(e.value).then(o,l);i((r=r.apply(e,n)).next())}));var e,n,r})()}),[t,_]),b("div",{className:"fn-max-w-4xl fn-mx-auto fn-sm:px-6 fn-lg:px-8"},a&&b("div",{className:"fn-bg-red-400"},a.message),b("div",{className:"fn-py-4 fn-px-4"},b("span",{className:"fn-sr-only"},"Search..."),b("input",{type:"text",className:"fn-shadow-sm fn-focus:ring-green-400 fn-focus:border-green-400 fn-block fn-p-4 fn-w-full fn-border-gray-300 fn-rounded-md ",placeholder:"Search..."})),b("div",{className:"fn-divide-y fn-divide-gray-200 fn-mt-4"},Object.values(f).map((e=>b(le,{key:e.id,featureRequest:e})))),b("nav",{className:"fn-bg-white fn-px-4 fn-py-3 fn-flex fn-items-center fn-justify-between fn-border-t fn-border-gray-200 fn-sm:px-6","aria-label":"Pagination"},b("div",{className:"fn-hidden fn-sm:block"},b("p",{className:"fn-text-sm fn-text-gray-700"},"Showing ",b("span",{className:"fn-font-medium"},c.from)," to"," ",b("span",{className:"fn-font-medium"},c.to)," of"," ",b("span",{className:"fn-font-medium"},c.total)," results")),b("div",{className:"fn-fn-flex-1 fn-fn-flex fn-fn-justify-between fn-fn-sm:justify-end"},b("button",{className:"fn-relative fn-inline-flex fn-items-center fn-px-4 fn-py-2 fn-border fn-border-gray-300 fn-text-sm fn-font-medium fn-rounded-md fn-text-gray-700 fn-bg-white fn-hover:bg-gray-50 fn-disabled:opacity-25",disabled:null===d.prev},"Previous"),b("button",{className:"fn-ml-3 fn-relative fn-inline-flex fn-items-center fn-px-4 fn-py-2 fn-border fn-border-gray-300 fn-text-sm fn-font-medium fn-rounded-md fn-text-gray-700 fn-bg-white fn-hover:bg-gray-50 fn-disabled:opacity-25",disabled:null===d.next},"Next"))))}const se=document.currentScript;function ue(t){window.addEventListener("DOMContentLoaded",(()=>{const _=d(d({},{elementId:"feature-ninja-widget"}),t);let r=document.getElementById(_.elementId);var o,l,i,s,u,a;r||(r=document.createElement("div"),r.id=_.elementId,se?se.insertBefore(r,se):document.body.appendChild(r)),o=b(ie,{options:_}),l=r,n.__&&n.__(o,l),u=(s="function"==typeof i)?null:i&&i.__k||l.__k,a=[],U(l,o=(!s&&i||l).__k=b(k,null,[o]),u||h,h,void 0!==l.ownerSVGElement,!s&&i?[i]:u?null:l.firstChild?e.call(l.childNodes):null,a,!s&&i?i:u?u.__e:l.firstChild,s),j(a,o)}))}window.featureNinja=ue,module.exports=ue,(function () { 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(`@import url('https://rsms.me/inter/inter.css');

@@ -532,6 +532,2 @@ /*! tailwindcss v2.2.15 | MIT License | https://tailwindcss.com */

[hidden] {
display: none;
}
*, ::before, ::after{

@@ -542,3 +538,3 @@ --tw-border-opacity: 1;

.sr-only{
.fn-sr-only{
position: absolute;

@@ -555,11 +551,7 @@ width: 1px;

.relative{
.fn-relative{
position: relative;
}
.-m-2{
margin: -0.5rem;
}
.mx-auto{
.fn-mx-auto{
margin-left: auto;

@@ -569,82 +561,35 @@ margin-right: auto;

.mt-2{
margin-top: 0.5rem;
}
.mt-4{
.fn-mt-4{
margin-top: 1rem;
}
.ml-3{
.fn-ml-3{
margin-left: 0.75rem;
}
.block{
.fn-block{
display: block;
}
.flex{
.fn-flex{
display: flex;
}
.inline-flex{
.fn-inline-flex{
display: inline-flex;
}
.table{
display: table;
}
.hidden{
.fn-hidden{
display: none;
}
.h-5{
height: 1.25rem;
}
.h-12{
height: 3rem;
}
.w-5{
width: 1.25rem;
}
.w-10{
width: 2.5rem;
}
.w-12{
width: 3rem;
}
.w-full{
.fn-w-full{
width: 100%;
}
.max-w-4xl{
.fn-max-w-4xl{
max-width: 56rem;
}
.flex-1{
flex: 1 1 0%;
}
.flex-grow{
flex-grow: 1;
}
.transform{
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
transform: translateX(var(--tw-translate-x)) translateY(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));
}
@-webkit-keyframes spin{
@-webkit-keyframes fn-spin{
to{

@@ -655,3 +600,3 @@ transform: rotate(360deg);

@keyframes spin{
@keyframes fn-spin{
to{

@@ -662,3 +607,3 @@ transform: rotate(360deg);

@-webkit-keyframes ping{
@-webkit-keyframes fn-ping{
75%, 100%{

@@ -670,3 +615,3 @@ transform: scale(2);

@keyframes ping{
@keyframes fn-ping{
75%, 100%{

@@ -678,3 +623,3 @@ transform: scale(2);

@-webkit-keyframes pulse{
@-webkit-keyframes fn-pulse{
50%{

@@ -685,3 +630,3 @@ opacity: .5;

@keyframes pulse{
@keyframes fn-pulse{
50%{

@@ -692,3 +637,3 @@ opacity: .5;

@-webkit-keyframes bounce{
@-webkit-keyframes fn-bounce{
0%, 100%{

@@ -707,3 +652,3 @@ transform: translateY(-25%);

@keyframes bounce{
@keyframes fn-bounce{
0%, 100%{

@@ -722,23 +667,11 @@ transform: translateY(-25%);

.flex-col{
flex-direction: column;
}
.items-center{
.fn-items-center{
align-items: center;
}
.justify-between{
.fn-justify-between{
justify-content: space-between;
}
.gap-2{
gap: 0.5rem;
}
.gap-4{
gap: 1rem;
}
.divide-y > :not([hidden]) ~ :not([hidden]){
.fn-divide-y > :not([hidden]) ~ :not([hidden]){
--tw-divide-y-reverse: 0;

@@ -749,3 +682,3 @@ border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));

.divide-gray-200 > :not([hidden]) ~ :not([hidden]){
.fn-divide-gray-200 > :not([hidden]) ~ :not([hidden]){
--tw-divide-opacity: 1;

@@ -755,29 +688,15 @@ border-color: rgba(229, 231, 235, var(--tw-divide-opacity));

.truncate{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rounded{
border-radius: 0.25rem;
}
.rounded-md{
.fn-rounded-md{
border-radius: 0.375rem;
}
.rounded-full{
border-radius: 9999px;
}
.border{
.fn-border{
border-width: 1px;
}
.border-t{
.fn-border-t{
border-top-width: 1px;
}
.border-gray-200{
.fn-border-gray-200{
--tw-border-opacity: 1;

@@ -787,3 +706,3 @@ border-color: rgba(229, 231, 235, var(--tw-border-opacity));

.border-gray-300{
.fn-border-gray-300{
--tw-border-opacity: 1;

@@ -793,8 +712,3 @@ border-color: rgba(209, 213, 219, var(--tw-border-opacity));

.focus\:border-green-400:focus{
--tw-border-opacity: 1;
border-color: rgba(52, 211, 153, var(--tw-border-opacity));
}
.bg-white{
.fn-bg-white{
--tw-bg-opacity: 1;

@@ -804,3 +718,3 @@ background-color: rgba(255, 255, 255, var(--tw-bg-opacity));

.bg-red-400{
.fn-bg-red-400{
--tw-bg-opacity: 1;

@@ -810,22 +724,7 @@ background-color: rgba(248, 113, 113, var(--tw-bg-opacity));

.bg-yellow-100{
--tw-bg-opacity: 1;
background-color: rgba(254, 243, 199, var(--tw-bg-opacity));
}
.hover\:bg-gray-50:hover{
--tw-bg-opacity: 1;
background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
}
.p-4{
.fn-p-4{
padding: 1rem;
}
.px-2{
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.px-4{
.fn-px-4{
padding-left: 1rem;

@@ -835,8 +734,3 @@ padding-right: 1rem;

.py-0{
padding-top: 0px;
padding-bottom: 0px;
}
.py-2{
.fn-py-2{
padding-top: 0.5rem;

@@ -846,3 +740,3 @@ padding-bottom: 0.5rem;

.py-3{
.fn-py-3{
padding-top: 0.75rem;

@@ -852,3 +746,3 @@ padding-bottom: 0.75rem;

.py-4{
.fn-py-4{
padding-top: 1rem;

@@ -858,18 +752,3 @@ padding-bottom: 1rem;

.py-6{
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
.py-0\.5{
padding-top: 0.125rem;
padding-bottom: 0.125rem;
}
.text-xs{
font-size: 0.75rem;
line-height: 1rem;
}
.text-sm{
.fn-text-sm{
font-size: 0.875rem;

@@ -879,35 +758,11 @@ line-height: 1.25rem;

.font-medium{
.fn-font-medium{
font-weight: 500;
}
.font-semibold{
font-weight: 600;
}
.text-gray-400{
.fn-text-gray-700{
--tw-text-opacity: 1;
color: rgba(156, 163, 175, var(--tw-text-opacity));
}
.text-gray-500{
--tw-text-opacity: 1;
color: rgba(107, 114, 128, var(--tw-text-opacity));
}
.text-gray-700{
--tw-text-opacity: 1;
color: rgba(55, 65, 81, var(--tw-text-opacity));
}
.text-yellow-800{
--tw-text-opacity: 1;
color: rgba(146, 64, 14, var(--tw-text-opacity));
}
.hover\:text-green-400:hover{
--tw-text-opacity: 1;
color: rgba(52, 211, 153, var(--tw-text-opacity));
}
*, ::before, ::after{

@@ -917,3 +772,3 @@ --tw-shadow: 0 0 #0000;

.shadow-sm{
.fn-shadow-sm{
--tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

@@ -923,7 +778,2 @@ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);

.focus\:outline-none:focus{
outline: 2px solid transparent;
outline-offset: 2px;
}
*, ::before, ::after{

@@ -938,30 +788,3 @@ --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);

.focus\:ring-2:focus{
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-green-400:focus{
--tw-ring-opacity: 1;
--tw-ring-color: rgba(52, 211, 153, var(--tw-ring-opacity));
}
.focus\:ring-offset-2:focus{
--tw-ring-offset-width: 2px;
}
@media (min-width: 640px){
.sm\:block{
display: block;
}
.sm\:justify-end{
justify-content: flex-end;
}
.sm\:px-6{
padding-left: 1.5rem;
padding-right: 1.5rem;
}
}

@@ -973,6 +796,2 @@

@media (min-width: 1024px){
.lg\:px-8{
padding-left: 2rem;
padding-right: 2rem;
}
}

@@ -979,0 +798,0 @@

@@ -1,2 +0,2 @@

var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__spreadValues=(e,t)=>{for(var n in t||(t={}))__hasOwnProp.call(t,n)&&__defNormalProp(e,n,t[n]);if(__getOwnPropSymbols)for(var n of __getOwnPropSymbols(t))__propIsEnum.call(t,n)&&__defNormalProp(e,n,t[n]);return e},__spreadProps=(e,t)=>__defProps(e,__getOwnPropDescs(t)),__async=(e,t,n)=>new Promise(((_,r)=>{var o=e=>{try{s(n.next(e))}catch(t){r(t)}},l=e=>{try{s(n.throw(e))}catch(t){r(t)}},s=e=>e.done?_(e.value):Promise.resolve(e.value).then(o,l);s((n=n.apply(e,t)).next())}));!function(){"use strict";var e,t,n,_,r,o,l={},s=[],i=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function a(e,t){for(var n in t)e[n]=t[n];return e}function u(e){var t=e.parentNode;t&&t.removeChild(e)}function c(t,n,_){var r,o,l,s={};for(l in n)"key"==l?r=n[l]:"ref"==l?o=n[l]:s[l]=n[l];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):_),"function"==typeof t&&null!=t.defaultProps)for(l in t.defaultProps)void 0===s[l]&&(s[l]=t.defaultProps[l]);return f(t,s,r,o,null)}function f(e,_,r,o,l){var s={type:e,props:_,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++n:l};return null!=t.vnode&&t.vnode(s),s}function p(e){return e.children}function d(e,t){this.props=e,this.context=t}function h(e,t){if(null==t)return e.__?h(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?h(e):null}function m(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return m(e)}}function v(e){(!e.__d&&(e.__d=!0)&&_.push(e)&&!y.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||r)(y)}function y(){for(var e;y.__r=_.length;)e=_.sort((function(e,t){return e.__v.__b-t.__v.__b})),_=[],e.some((function(e){var t,n,_,r,o,l;e.__d&&(o=(r=(t=e).__v).__e,(l=t.__P)&&(n=[],(_=a({},r)).__v=r.__v+1,P(l,r,_,t.__n,void 0!==l.ownerSVGElement,null!=r.__h?[o]:null,n,null==o?h(r):o,r.__h),S(n,r),r.__e!=o&&m(r)))}))}function g(e,t,n,_,r,o,i,a,u,c){var d,m,v,y,g,w,k,E=_&&_.__k||s,N=E.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(y=n.__k[d]=null==(y=t[d])||"boolean"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?f(null,y,null,null,y):Array.isArray(y)?f(p,{children:y},null,null,null):y.__b>0?f(y.type,y.props,y.key,null,y.__v):y)){if(y.__=n,y.__b=n.__b+1,null===(v=E[d])||v&&y.key==v.key&&y.type===v.type)E[d]=void 0;else for(m=0;m<N;m++){if((v=E[m])&&y.key==v.key&&y.type===v.type){E[m]=void 0;break}v=null}P(e,y,v=v||l,r,o,i,a,u,c),g=y.__e,(m=y.ref)&&v.ref!=m&&(k||(k=[]),v.ref&&k.push(v.ref,null,y),k.push(m,y.__c||g,y)),null!=g?(null==w&&(w=g),"function"==typeof y.type&&null!=y.__k&&y.__k===v.__k?y.__d=u=b(y,u,e):u=x(e,y,v,E,g,u),c||"option"!==n.type?"function"==typeof n.type&&(n.__d=u):e.value=""):u&&v.__e==u&&u.parentNode!=e&&(u=h(v))}for(n.__e=w,d=N;d--;)null!=E[d]&&("function"==typeof n.type&&null!=E[d].__e&&E[d].__e==n.__d&&(n.__d=h(_,d+1)),R(E[d],E[d]));if(k)for(d=0;d<k.length;d++)O(k[d],k[++d],k[++d])}function b(e,t,n){var _,r;for(_=0;_<e.__k.length;_++)(r=e.__k[_])&&(r.__=e,t="function"==typeof r.type?b(r,t,n):x(n,r,r,e.__k,r.__e,t));return t}function x(e,t,n,_,r,o){var l,s,i;if(void 0!==t.__d)l=t.__d,t.__d=void 0;else if(null==n||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),l=null;else{for(s=o,i=0;(s=s.nextSibling)&&i<_.length;i+=2)if(s==r)break e;e.insertBefore(r,o),l=o}return void 0!==l?l:r.nextSibling}function w(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||i.test(t)?n:n+"px"}function k(e,t,n,_,r){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(t in _)n&&t in n||w(e.style,t,"");if(n)for(t in n)_&&n[t]===_[t]||w(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?_||e.addEventListener(t,o?N:E,o):e.removeEventListener(t,o?N:E,o);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(l){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function E(e){this.l[e.type+!1](t.event?t.event(e):e)}function N(e){this.l[e.type+!0](t.event?t.event(e):e)}function P(n,_,r,o,s,i,c,f,m){var v,y,b,x,w,E,N,P,S,O,R,T=_.type;if(void 0!==_.constructor)return null;null!=r.__h&&(m=r.__h,f=_.__e=r.__e,_.__h=null,i=[f]),(v=t.__b)&&v(_);try{e:if("function"==typeof T){if(P=_.props,S=(v=T.contextType)&&o[v.__c],O=v?S?S.props.value:v.__:o,r.__c?N=(y=_.__c=r.__c).__=y.__E:("prototype"in T&&T.prototype.render?_.__c=y=new T(P,O):(_.__c=y=new d(P,O),y.constructor=T,y.render=D),S&&S.sub(y),y.props=P,y.state||(y.state={}),y.context=O,y.__n=o,b=y.__d=!0,y.__h=[]),null==y.__s&&(y.__s=y.state),null!=T.getDerivedStateFromProps&&(y.__s==y.state&&(y.__s=a({},y.__s)),a(y.__s,T.getDerivedStateFromProps(P,y.__s))),x=y.props,w=y.state,b)null==T.getDerivedStateFromProps&&null!=y.componentWillMount&&y.componentWillMount(),null!=y.componentDidMount&&y.__h.push(y.componentDidMount);else{if(null==T.getDerivedStateFromProps&&P!==x&&null!=y.componentWillReceiveProps&&y.componentWillReceiveProps(P,O),!y.__e&&null!=y.shouldComponentUpdate&&!1===y.shouldComponentUpdate(P,y.__s,O)||_.__v===r.__v){y.props=P,y.state=y.__s,_.__v!==r.__v&&(y.__d=!1),y.__v=_,_.__e=r.__e,_.__k=r.__k,_.__k.forEach((function(e){e&&(e.__=_)})),y.__h.length&&c.push(y);break e}null!=y.componentWillUpdate&&y.componentWillUpdate(P,y.__s,O),null!=y.componentDidUpdate&&y.__h.push((function(){y.componentDidUpdate(x,w,E)}))}y.context=O,y.props=P,y.state=y.__s,(v=t.__r)&&v(_),y.__d=!1,y.__v=_,y.__P=n,v=y.render(y.props,y.state,y.context),y.state=y.__s,null!=y.getChildContext&&(o=a(a({},o),y.getChildContext())),b||null==y.getSnapshotBeforeUpdate||(E=y.getSnapshotBeforeUpdate(x,w)),R=null!=v&&v.type===p&&null==v.key?v.props.children:v,g(n,Array.isArray(R)?R:[R],_,r,o,s,i,c,f,m),y.base=_.__e,_.__h=null,y.__h.length&&c.push(y),N&&(y.__E=y.__=null),y.__e=!1}else null==i&&_.__v===r.__v?(_.__k=r.__k,_.__e=r.__e):_.__e=function(t,n,_,r,o,s,i,a){var c,f,p,d=_.props,m=n.props,v=n.type,y=0;if("svg"===v&&(o=!0),null!=s)for(;y<s.length;y++)if((c=s[y])&&(c===t||(v?c.localName==v:3==c.nodeType))){t=c,s[y]=null;break}if(null==t){if(null===v)return document.createTextNode(m);t=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,m.is&&m),s=null,a=!1}if(null===v)d===m||a&&t.data===m||(t.data=m);else{if(s=s&&e.call(t.childNodes),f=(d=_.props||l).dangerouslySetInnerHTML,p=m.dangerouslySetInnerHTML,!a){if(null!=s)for(d={},y=0;y<t.attributes.length;y++)d[t.attributes[y].name]=t.attributes[y].value;(p||f)&&(p&&(f&&p.__html==f.__html||p.__html===t.innerHTML)||(t.innerHTML=p&&p.__html||""))}if(function(e,t,n,_,r){var o;for(o in n)"children"===o||"key"===o||o in t||k(e,o,null,n[o],_);for(o in t)r&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||k(e,o,t[o],n[o],_)}(t,m,d,o,a),p)n.__k=[];else if(y=n.props.children,g(t,Array.isArray(y)?y:[y],n,_,r,o&&"foreignObject"!==v,s,i,s?s[0]:_.__k&&h(_,0),a),null!=s)for(y=s.length;y--;)null!=s[y]&&u(s[y]);a||("value"in m&&void 0!==(y=m.value)&&(y!==t.value||"progress"===v&&!y)&&k(t,"value",y,d.value,!1),"checked"in m&&void 0!==(y=m.checked)&&y!==t.checked&&k(t,"checked",y,d.checked,!1))}return t}(r.__e,_,r,o,s,i,c,m);(v=t.diffed)&&v(_)}catch(A){_.__v=null,(m||null!=i)&&(_.__e=f,_.__h=!!m,i[i.indexOf(f)]=null),t.__e(A,_,r)}}function S(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(_){t.__e(_,n.__v)}}))}function O(e,n,_){try{"function"==typeof e?e(n):e.current=n}catch(r){t.__e(r,_)}}function R(e,n,_){var r,o;if(t.unmount&&t.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||O(r,null,n)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(l){t.__e(l,n)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&R(r[o],n,"function"!=typeof e.type);_||null==e.__e||u(e.__e),e.__e=e.__d=void 0}function D(e,t,n){return this.constructor(e,n)}e=s.slice,t={__e:function(e,t){for(var n,_,r;t=t.__;)if((n=t.__c)&&!n.__)try{if((_=n.constructor)&&null!=_.getDerivedStateFromError&&(n.setState(_.getDerivedStateFromError(e)),r=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),r=n.__d),r)return n.__E=n}catch(o){e=o}throw e}},n=0,d.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=a({},this.state),"function"==typeof e&&(e=e(a({},n),this.props)),e&&a(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),v(this))},d.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),v(this))},d.prototype.render=p,_=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,y.__r=0;var T,A,H,U=0,L=[],C=t.__b,j=t.__r,F=t.diffed,M=t.__c,V=t.unmount;function I(e,n){t.__h&&t.__h(A,e,U||n),U=0;var _=A.__H||(A.__H={__:[],__h:[]});return e>=_.__.length&&_.__.push({}),_.__[e]}function q(){L.forEach((function(e){if(e.__P)try{e.__H.__h.forEach($),e.__H.__h.forEach(z),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}})),L=[]}t.__b=function(e){A=null,C&&C(e)},t.__r=function(e){j&&j(e),T=0;var t=(A=e.__c).__H;t&&(t.__h.forEach($),t.__h.forEach(z),t.__h=[])},t.diffed=function(e){F&&F(e);var n=e.__c;n&&n.__H&&n.__H.__h.length&&(1!==L.push(n)&&H===t.requestAnimationFrame||((H=t.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(_),Q&&cancelAnimationFrame(t),setTimeout(e)},_=setTimeout(n,100);Q&&(t=requestAnimationFrame(n))})(q)),A=void 0},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach($),e.__h=e.__h.filter((function(e){return!e.__||z(e)}))}catch(_){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(_,e.__v)}})),M&&M(e,n)},t.unmount=function(e){V&&V(e);var n=e.__c;if(n&&n.__H)try{n.__H.__.forEach($)}catch(_){t.__e(_,n.__v)}};var W,B,Q="function"==typeof requestAnimationFrame;function $(e){var t=A;"function"==typeof e.__c&&e.__c(),A=t}function z(e){var t=A;e.__c=e.__(),A=t}function G(e,t){return"function"==typeof t?t(e):t}(B=W||(W={})).UPVOTE="UPVOTE",B.FEATURE_REQUESTS_LOADED="FEATURE_REQUESTS_LOADED",B.HANDLE_ERROR="HANDLE_ERROR";const J={data:{},meta:{from:0,to:0,total:0},links:{prev:null,next:null}},K=(e,t)=>{switch(console.log(t),t.type){case W.UPVOTE:return __spreadProps(__spreadValues({},e),{data:__spreadProps(__spreadValues({},e.data),{[t.id]:__spreadProps(__spreadValues({},e.data[t.id]),{votes:e.data[t.id].votes_count+1})})});case W.FEATURE_REQUESTS_LOADED:return __spreadProps(__spreadValues({},e),{data:t.response.data,meta:t.response.meta,links:t.response.links});case W.HANDLE_ERROR:return __spreadProps(__spreadValues({},e),{error:t.error});default:throw new Error("Unexpected action: "+JSON.stringify(t))}};function X(e){const{featureRequest:t}=e;return c("div",{className:"flex py-6 px-4 sm:px-6 gap-4"},c("div",{className:"flex flex-col w-10 items-center"},c("button",{type:"button",className:"flex flex-col items-center rounded-full text-gray-400 hover:text-green-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-400 text-sm"},c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-12 w-12 -m-2","aria-hidden":"true"},c("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))),c("div",{className:"text-gray-500"})),c("div",{className:"flex flex-col flex-grow justify-between truncate"},c("div",{className:"text-md text-gray-700 font-semibold truncate"},t.title),c("div",{className:"text-sm text-gray-700 truncate"},t.description),c("div",{className:"flex justify-between mt-2"},c("div",{className:"flex gap-2"},c("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800 "},"boombox")),c("div",{className:"flex text-gray-500 text-sm"},t.votes_count,c("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-5 h-5"},c("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"}))))))}function Y(e){const{options:{project:n}}=e,[_,r]=(o=K,l=J,(i=I(T++,2)).t=o,i.__c||(i.__=[s?s(l):G(void 0,l),function(e){var t=i.t(i.__[0],e);i.__[0]!==t&&(i.__=[t,i.__[1]],i.__c.setState({}))}],i.__c=A),i.__);var o,l,s,i;const{error:a,data:u,meta:f,links:p}=_;return function(e,n){var _,r,o=I(T++,3);!t.__s&&(_=o.__H,r=n,!_||_.length!==r.length||r.some((function(e,t){return e!==_[t]})))&&(o.__=e,o.__H=n,A.__H.__h.push(o))}((()=>{(()=>{__async(this,null,(function*(){const e=yield fetch(`https://${n}.feature.ninja/api/feature-requests`),t=yield e.json();if(e.ok)r({type:W.FEATURE_REQUESTS_LOADED,response:t});else{const t=yield e.text();console.error("Error loading feature requests, response was:",t),r({type:W.HANDLE_ERROR,error:new Error("Oops, something went wrong when loading the feature requests...")})}}))})()}),[n]),c("div",{className:"max-w-4xl mx-auto sm:px-6 lg:px-8"},a&&c("div",{className:"bg-red-400"},a.message),c("div",{className:"py-4 px-4"},c("span",{className:"sr-only"},"Search..."),c("input",{type:"text",className:"shadow-sm focus:ring-green-400 focus:border-green-400 block p-4 w-full border-gray-300 rounded-md ",placeholder:"Search..."})),c("div",{className:"divide-y divide-gray-200 mt-4"},Object.values(u).map((e=>c(X,{key:e.id,featureRequest:e})))),c("nav",{className:"bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6","aria-label":"Pagination"},c("div",{className:"hidden sm:block"},c("p",{className:"text-sm text-gray-700"},"Showing ",c("span",{className:"font-medium"},f.from)," to"," ",c("span",{className:"font-medium"},f.to)," of"," ",c("span",{className:"font-medium"},f.total)," results")),c("div",{className:"flex-1 flex justify-between sm:justify-end"},c("button",{className:"relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-25",disabled:null===p.prev},"Previous"),c("button",{className:"ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-25",disabled:null===p.next},"Next"))))}const Z=document.currentScript;function ee(n){const _=__spreadValues(__spreadValues({},{elementId:"feature-ninja-widget"}),n);let r=document.getElementById(_.elementId);var o,s,i,a,u,f;r||(r=document.createElement("div"),r.id=_.elementId,Z?Z.insertBefore(r,Z):document.body.appendChild(r)),o=c(Y,{options:_}),s=r,t.__&&t.__(o,s),u=(a="function"==typeof i)?null:i&&i.__k||s.__k,f=[],P(s,o=(!a&&i||s).__k=c(p,null,[o]),u||l,l,void 0!==s.ownerSVGElement,!a&&i?[i]:u?null:s.firstChild?e.call(s.childNodes):null,f,!a&&i?i:u?u.__e:s.firstChild,a),S(f,o)}window.featureNinja=ee,module.exports=ee,(function () { 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(`@import url('https://rsms.me/inter/inter.css');
var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,n,t)=>n in e?__defProp(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,__spreadValues=(e,n)=>{for(var t in n||(n={}))__hasOwnProp.call(n,t)&&__defNormalProp(e,t,n[t]);if(__getOwnPropSymbols)for(var t of __getOwnPropSymbols(n))__propIsEnum.call(n,t)&&__defNormalProp(e,t,n[t]);return e},__spreadProps=(e,n)=>__defProps(e,__getOwnPropDescs(n)),__async=(e,n,t)=>new Promise(((_,r)=>{var o=e=>{try{s(t.next(e))}catch(n){r(n)}},l=e=>{try{s(t.throw(e))}catch(n){r(n)}},s=e=>e.done?_(e.value):Promise.resolve(e.value).then(o,l);s((t=t.apply(e,n)).next())}));!function(){"use strict";var e,n,t,_,r,o,l={},s=[],i=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function a(e,n){for(var t in n)e[t]=n[t];return e}function u(e){var n=e.parentNode;n&&n.removeChild(e)}function f(n,t,_){var r,o,l,s={};for(l in t)"key"==l?r=t[l]:"ref"==l?o=t[l]:s[l]=t[l];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):_),"function"==typeof n&&null!=n.defaultProps)for(l in n.defaultProps)void 0===s[l]&&(s[l]=n.defaultProps[l]);return c(n,s,r,o,null)}function c(e,_,r,o,l){var s={type:e,props:_,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++t:l};return null!=n.vnode&&n.vnode(s),s}function p(e){return e.children}function d(e,n){this.props=e,this.context=n}function h(e,n){if(null==n)return e.__?h(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?h(e):null}function m(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return m(e)}}function v(e){(!e.__d&&(e.__d=!0)&&_.push(e)&&!y.__r++||o!==n.debounceRendering)&&((o=n.debounceRendering)||r)(y)}function y(){for(var e;y.__r=_.length;)e=_.sort((function(e,n){return e.__v.__b-n.__v.__b})),_=[],e.some((function(e){var n,t,_,r,o,l;e.__d&&(o=(r=(n=e).__v).__e,(l=n.__P)&&(t=[],(_=a({},r)).__v=r.__v+1,P(l,r,_,n.__n,void 0!==l.ownerSVGElement,null!=r.__h?[o]:null,t,null==o?h(r):o,r.__h),S(t,r),r.__e!=o&&m(r)))}))}function g(e,n,t,_,r,o,i,a,u,f){var d,m,v,y,g,w,k,E=_&&_.__k||s,N=E.length;for(t.__k=[],d=0;d<n.length;d++)if(null!=(y=t.__k[d]=null==(y=n[d])||"boolean"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?c(null,y,null,null,y):Array.isArray(y)?c(p,{children:y},null,null,null):y.__b>0?c(y.type,y.props,y.key,null,y.__v):y)){if(y.__=t,y.__b=t.__b+1,null===(v=E[d])||v&&y.key==v.key&&y.type===v.type)E[d]=void 0;else for(m=0;m<N;m++){if((v=E[m])&&y.key==v.key&&y.type===v.type){E[m]=void 0;break}v=null}P(e,y,v=v||l,r,o,i,a,u,f),g=y.__e,(m=y.ref)&&v.ref!=m&&(k||(k=[]),v.ref&&k.push(v.ref,null,y),k.push(m,y.__c||g,y)),null!=g?(null==w&&(w=g),"function"==typeof y.type&&null!=y.__k&&y.__k===v.__k?y.__d=u=b(y,u,e):u=x(e,y,v,E,g,u),f||"option"!==t.type?"function"==typeof t.type&&(t.__d=u):e.value=""):u&&v.__e==u&&u.parentNode!=e&&(u=h(v))}for(t.__e=w,d=N;d--;)null!=E[d]&&("function"==typeof t.type&&null!=E[d].__e&&E[d].__e==t.__d&&(t.__d=h(_,d+1)),D(E[d],E[d]));if(k)for(d=0;d<k.length;d++)O(k[d],k[++d],k[++d])}function b(e,n,t){var _,r;for(_=0;_<e.__k.length;_++)(r=e.__k[_])&&(r.__=e,n="function"==typeof r.type?b(r,n,t):x(t,r,r,e.__k,r.__e,n));return n}function x(e,n,t,_,r,o){var l,s,i;if(void 0!==n.__d)l=n.__d,n.__d=void 0;else if(null==t||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),l=null;else{for(s=o,i=0;(s=s.nextSibling)&&i<_.length;i+=2)if(s==r)break e;e.insertBefore(r,o),l=o}return void 0!==l?l:r.nextSibling}function w(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||i.test(n)?t:t+"px"}function k(e,n,t,_,r){var o;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(n in _)t&&n in t||w(e.style,n,"");if(t)for(n in t)_&&t[n]===_[n]||w(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])o=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+o]=t,t?_||e.addEventListener(n,o?N:E,o):e.removeEventListener(n,o?N:E,o);else if("dangerouslySetInnerHTML"!==n){if(r)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(l){}"function"==typeof t||(null!=t&&(!1!==t||"a"===n[0]&&"r"===n[1])?e.setAttribute(n,t):e.removeAttribute(n))}}function E(e){this.l[e.type+!1](n.event?n.event(e):e)}function N(e){this.l[e.type+!0](n.event?n.event(e):e)}function P(t,_,r,o,s,i,f,c,m){var v,y,b,x,w,E,N,P,S,O,D,T=_.type;if(void 0!==_.constructor)return null;null!=r.__h&&(m=r.__h,c=_.__e=r.__e,_.__h=null,i=[c]),(v=n.__b)&&v(_);try{e:if("function"==typeof T){if(P=_.props,S=(v=T.contextType)&&o[v.__c],O=v?S?S.props.value:v.__:o,r.__c?N=(y=_.__c=r.__c).__=y.__E:("prototype"in T&&T.prototype.render?_.__c=y=new T(P,O):(_.__c=y=new d(P,O),y.constructor=T,y.render=R),S&&S.sub(y),y.props=P,y.state||(y.state={}),y.context=O,y.__n=o,b=y.__d=!0,y.__h=[]),null==y.__s&&(y.__s=y.state),null!=T.getDerivedStateFromProps&&(y.__s==y.state&&(y.__s=a({},y.__s)),a(y.__s,T.getDerivedStateFromProps(P,y.__s))),x=y.props,w=y.state,b)null==T.getDerivedStateFromProps&&null!=y.componentWillMount&&y.componentWillMount(),null!=y.componentDidMount&&y.__h.push(y.componentDidMount);else{if(null==T.getDerivedStateFromProps&&P!==x&&null!=y.componentWillReceiveProps&&y.componentWillReceiveProps(P,O),!y.__e&&null!=y.shouldComponentUpdate&&!1===y.shouldComponentUpdate(P,y.__s,O)||_.__v===r.__v){y.props=P,y.state=y.__s,_.__v!==r.__v&&(y.__d=!1),y.__v=_,_.__e=r.__e,_.__k=r.__k,_.__k.forEach((function(e){e&&(e.__=_)})),y.__h.length&&f.push(y);break e}null!=y.componentWillUpdate&&y.componentWillUpdate(P,y.__s,O),null!=y.componentDidUpdate&&y.__h.push((function(){y.componentDidUpdate(x,w,E)}))}y.context=O,y.props=P,y.state=y.__s,(v=n.__r)&&v(_),y.__d=!1,y.__v=_,y.__P=t,v=y.render(y.props,y.state,y.context),y.state=y.__s,null!=y.getChildContext&&(o=a(a({},o),y.getChildContext())),b||null==y.getSnapshotBeforeUpdate||(E=y.getSnapshotBeforeUpdate(x,w)),D=null!=v&&v.type===p&&null==v.key?v.props.children:v,g(t,Array.isArray(D)?D:[D],_,r,o,s,i,f,c,m),y.base=_.__e,_.__h=null,y.__h.length&&f.push(y),N&&(y.__E=y.__=null),y.__e=!1}else null==i&&_.__v===r.__v?(_.__k=r.__k,_.__e=r.__e):_.__e=function(n,t,_,r,o,s,i,a){var f,c,p,d=_.props,m=t.props,v=t.type,y=0;if("svg"===v&&(o=!0),null!=s)for(;y<s.length;y++)if((f=s[y])&&(f===n||(v?f.localName==v:3==f.nodeType))){n=f,s[y]=null;break}if(null==n){if(null===v)return document.createTextNode(m);n=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,m.is&&m),s=null,a=!1}if(null===v)d===m||a&&n.data===m||(n.data=m);else{if(s=s&&e.call(n.childNodes),c=(d=_.props||l).dangerouslySetInnerHTML,p=m.dangerouslySetInnerHTML,!a){if(null!=s)for(d={},y=0;y<n.attributes.length;y++)d[n.attributes[y].name]=n.attributes[y].value;(p||c)&&(p&&(c&&p.__html==c.__html||p.__html===n.innerHTML)||(n.innerHTML=p&&p.__html||""))}if(function(e,n,t,_,r){var o;for(o in t)"children"===o||"key"===o||o in n||k(e,o,null,t[o],_);for(o in n)r&&"function"!=typeof n[o]||"children"===o||"key"===o||"value"===o||"checked"===o||t[o]===n[o]||k(e,o,n[o],t[o],_)}(n,m,d,o,a),p)t.__k=[];else if(y=t.props.children,g(n,Array.isArray(y)?y:[y],t,_,r,o&&"foreignObject"!==v,s,i,s?s[0]:_.__k&&h(_,0),a),null!=s)for(y=s.length;y--;)null!=s[y]&&u(s[y]);a||("value"in m&&void 0!==(y=m.value)&&(y!==n.value||"progress"===v&&!y)&&k(n,"value",y,d.value,!1),"checked"in m&&void 0!==(y=m.checked)&&y!==n.checked&&k(n,"checked",y,d.checked,!1))}return n}(r.__e,_,r,o,s,i,f,m);(v=n.diffed)&&v(_)}catch(A){_.__v=null,(m||null!=i)&&(_.__e=c,_.__h=!!m,i[i.indexOf(c)]=null),n.__e(A,_,r)}}function S(e,t){n.__c&&n.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(_){n.__e(_,t.__v)}}))}function O(e,t,_){try{"function"==typeof e?e(t):e.current=t}catch(r){n.__e(r,_)}}function D(e,t,_){var r,o;if(n.unmount&&n.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||O(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(l){n.__e(l,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&D(r[o],t,"function"!=typeof e.type);_||null==e.__e||u(e.__e),e.__e=e.__d=void 0}function R(e,n,t){return this.constructor(e,t)}e=s.slice,n={__e:function(e,n){for(var t,_,r;n=n.__;)if((t=n.__c)&&!t.__)try{if((_=t.constructor)&&null!=_.getDerivedStateFromError&&(t.setState(_.getDerivedStateFromError(e)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(e),r=t.__d),r)return t.__E=t}catch(o){e=o}throw e}},t=0,d.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=a({},this.state),"function"==typeof e&&(e=e(a({},t),this.props)),e&&a(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),v(this))},d.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),v(this))},d.prototype.render=p,_=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,y.__r=0;var T,A,H,L=0,U=[],j=n.__b,C=n.__r,F=n.diffed,M=n.__c,V=n.unmount;function I(e,t){n.__h&&n.__h(A,e,L||t),L=0;var _=A.__H||(A.__H={__:[],__h:[]});return e>=_.__.length&&_.__.push({}),_.__[e]}function q(){U.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(Q),e.__H.__h.forEach(z),e.__H.__h=[]}catch(t){e.__H.__h=[],n.__e(t,e.__v)}})),U=[]}n.__b=function(e){A=null,j&&j(e)},n.__r=function(e){C&&C(e),T=0;var n=(A=e.__c).__H;n&&(n.__h.forEach(Q),n.__h.forEach(z),n.__h=[])},n.diffed=function(e){F&&F(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==U.push(t)&&H===n.requestAnimationFrame||((H=n.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(_),$&&cancelAnimationFrame(n),setTimeout(e)},_=setTimeout(t,100);$&&(n=requestAnimationFrame(t))})(q)),A=void 0},n.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Q),e.__h=e.__h.filter((function(e){return!e.__||z(e)}))}catch(_){t.some((function(e){e.__h&&(e.__h=[])})),t=[],n.__e(_,e.__v)}})),M&&M(e,t)},n.unmount=function(e){V&&V(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(Q)}catch(_){n.__e(_,t.__v)}};var W,B,$="function"==typeof requestAnimationFrame;function Q(e){var n=A;"function"==typeof e.__c&&e.__c(),A=n}function z(e){var n=A;e.__c=e.__(),A=n}function G(e,n){return"function"==typeof n?n(e):n}(B=W||(W={})).UPVOTE="UPVOTE",B.FEATURE_REQUESTS_LOADED="FEATURE_REQUESTS_LOADED",B.HANDLE_ERROR="HANDLE_ERROR";const J={data:{},meta:{from:0,to:0,total:0},links:{prev:null,next:null}},K=(e,n)=>{switch(console.log(n),n.type){case W.UPVOTE:return __spreadProps(__spreadValues({},e),{data:__spreadProps(__spreadValues({},e.data),{[n.id]:__spreadProps(__spreadValues({},e.data[n.id]),{votes:e.data[n.id].votes_count+1})})});case W.FEATURE_REQUESTS_LOADED:return __spreadProps(__spreadValues({},e),{data:n.response.data,meta:n.response.meta,links:n.response.links});case W.HANDLE_ERROR:return __spreadProps(__spreadValues({},e),{error:n.error});default:throw new Error("Unexpected action: "+JSON.stringify(n))}};function X(e){const{featureRequest:n}=e;return f("div",{className:"flex py-6 px-4 sm:px-6 gap-4"},f("div",{className:"flex flex-col w-10 items-center"},f("button",{type:"button",className:"flex flex-col items-center rounded-full text-gray-400 hover:text-green-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-400 text-sm"},f("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-12 w-12 -m-2","aria-hidden":"true"},f("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))),f("div",{className:"text-gray-500"})),f("div",{className:"flex flex-col flex-grow justify-between truncate"},f("div",{className:"text-md text-gray-700 font-semibold truncate"},n.title),f("div",{className:"text-sm text-gray-700 truncate"},n.description),f("div",{className:"flex justify-between mt-2"},f("div",{className:"flex gap-2"},f("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800 "},"boombox")),f("div",{className:"flex text-gray-500 text-sm"},n.votes_count,f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-5 h-5"},f("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"}))))))}function Y(e){const{options:{workspace:t,projects:_}}=e,[r,o]=(l=K,s=J,(a=I(T++,2)).t=l,a.__c||(a.__=[i?i(s):G(void 0,s),function(e){var n=a.t(a.__[0],e);a.__[0]!==n&&(a.__=[n,a.__[1]],a.__c.setState({}))}],a.__c=A),a.__);var l,s,i,a;const{error:u,data:c,meta:p,links:d}=r;return function(e,t){var _,r,o=I(T++,3);!n.__s&&(_=o.__H,r=t,!_||_.length!==r.length||r.some((function(e,n){return e!==_[n]})))&&(o.__=e,o.__H=t,A.__H.__h.push(o))}((()=>{(()=>{__async(this,null,(function*(){const e=yield fetch(`https://api.feature.ninja/workspaces/${t}/feature-requests${_?`?projects=${_.join(",")}`:""}`),n=yield e.json();if(e.ok)o({type:W.FEATURE_REQUESTS_LOADED,response:n});else{const n=yield e.text();console.error("Error loading feature requests, response was:",n),o({type:W.HANDLE_ERROR,error:new Error("Oops, something went wrong when loading the feature requests...")})}}))})()}),[t,_]),f("div",{className:"fn-max-w-4xl fn-mx-auto fn-sm:px-6 fn-lg:px-8"},u&&f("div",{className:"fn-bg-red-400"},u.message),f("div",{className:"fn-py-4 fn-px-4"},f("span",{className:"fn-sr-only"},"Search..."),f("input",{type:"text",className:"fn-shadow-sm fn-focus:ring-green-400 fn-focus:border-green-400 fn-block fn-p-4 fn-w-full fn-border-gray-300 fn-rounded-md ",placeholder:"Search..."})),f("div",{className:"fn-divide-y fn-divide-gray-200 fn-mt-4"},Object.values(c).map((e=>f(X,{key:e.id,featureRequest:e})))),f("nav",{className:"fn-bg-white fn-px-4 fn-py-3 fn-flex fn-items-center fn-justify-between fn-border-t fn-border-gray-200 fn-sm:px-6","aria-label":"Pagination"},f("div",{className:"fn-hidden fn-sm:block"},f("p",{className:"fn-text-sm fn-text-gray-700"},"Showing ",f("span",{className:"fn-font-medium"},p.from)," to"," ",f("span",{className:"fn-font-medium"},p.to)," of"," ",f("span",{className:"fn-font-medium"},p.total)," results")),f("div",{className:"fn-fn-flex-1 fn-fn-flex fn-fn-justify-between fn-fn-sm:justify-end"},f("button",{className:"fn-relative fn-inline-flex fn-items-center fn-px-4 fn-py-2 fn-border fn-border-gray-300 fn-text-sm fn-font-medium fn-rounded-md fn-text-gray-700 fn-bg-white fn-hover:bg-gray-50 fn-disabled:opacity-25",disabled:null===d.prev},"Previous"),f("button",{className:"fn-ml-3 fn-relative fn-inline-flex fn-items-center fn-px-4 fn-py-2 fn-border fn-border-gray-300 fn-text-sm fn-font-medium fn-rounded-md fn-text-gray-700 fn-bg-white fn-hover:bg-gray-50 fn-disabled:opacity-25",disabled:null===d.next},"Next"))))}const Z=document.currentScript;function ee(t){window.addEventListener("DOMContentLoaded",(()=>{const _=__spreadValues(__spreadValues({},{elementId:"feature-ninja-widget"}),t);let r=document.getElementById(_.elementId);var o,s,i,a,u,c;r||(r=document.createElement("div"),r.id=_.elementId,Z?Z.insertBefore(r,Z):document.body.appendChild(r)),o=f(Y,{options:_}),s=r,n.__&&n.__(o,s),u=(a="function"==typeof i)?null:i&&i.__k||s.__k,c=[],P(s,o=(!a&&i||s).__k=f(p,null,[o]),u||l,l,void 0!==s.ownerSVGElement,!a&&i?[i]:u?null:s.firstChild?e.call(s.childNodes):null,c,!a&&i?i:u?u.__e:s.firstChild,a),S(c,o)}))}window.featureNinja=ee,module.exports=ee,(function () { 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(`@import url('https://rsms.me/inter/inter.css');

@@ -532,6 +532,2 @@ /*! tailwindcss v2.2.15 | MIT License | https://tailwindcss.com */

[hidden] {
display: none;
}
*, ::before, ::after{

@@ -542,3 +538,3 @@ --tw-border-opacity: 1;

.sr-only{
.fn-sr-only{
position: absolute;

@@ -555,11 +551,7 @@ width: 1px;

.relative{
.fn-relative{
position: relative;
}
.-m-2{
margin: -0.5rem;
}
.mx-auto{
.fn-mx-auto{
margin-left: auto;

@@ -569,82 +561,35 @@ margin-right: auto;

.mt-2{
margin-top: 0.5rem;
}
.mt-4{
.fn-mt-4{
margin-top: 1rem;
}
.ml-3{
.fn-ml-3{
margin-left: 0.75rem;
}
.block{
.fn-block{
display: block;
}
.flex{
.fn-flex{
display: flex;
}
.inline-flex{
.fn-inline-flex{
display: inline-flex;
}
.table{
display: table;
}
.hidden{
.fn-hidden{
display: none;
}
.h-5{
height: 1.25rem;
}
.h-12{
height: 3rem;
}
.w-5{
width: 1.25rem;
}
.w-10{
width: 2.5rem;
}
.w-12{
width: 3rem;
}
.w-full{
.fn-w-full{
width: 100%;
}
.max-w-4xl{
.fn-max-w-4xl{
max-width: 56rem;
}
.flex-1{
flex: 1 1 0%;
}
.flex-grow{
flex-grow: 1;
}
.transform{
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
transform: translateX(var(--tw-translate-x)) translateY(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));
}
@-webkit-keyframes spin{
@-webkit-keyframes fn-spin{
to{

@@ -655,3 +600,3 @@ transform: rotate(360deg);

@keyframes spin{
@keyframes fn-spin{
to{

@@ -662,3 +607,3 @@ transform: rotate(360deg);

@-webkit-keyframes ping{
@-webkit-keyframes fn-ping{
75%, 100%{

@@ -670,3 +615,3 @@ transform: scale(2);

@keyframes ping{
@keyframes fn-ping{
75%, 100%{

@@ -678,3 +623,3 @@ transform: scale(2);

@-webkit-keyframes pulse{
@-webkit-keyframes fn-pulse{
50%{

@@ -685,3 +630,3 @@ opacity: .5;

@keyframes pulse{
@keyframes fn-pulse{
50%{

@@ -692,3 +637,3 @@ opacity: .5;

@-webkit-keyframes bounce{
@-webkit-keyframes fn-bounce{
0%, 100%{

@@ -707,3 +652,3 @@ transform: translateY(-25%);

@keyframes bounce{
@keyframes fn-bounce{
0%, 100%{

@@ -722,23 +667,11 @@ transform: translateY(-25%);

.flex-col{
flex-direction: column;
}
.items-center{
.fn-items-center{
align-items: center;
}
.justify-between{
.fn-justify-between{
justify-content: space-between;
}
.gap-2{
gap: 0.5rem;
}
.gap-4{
gap: 1rem;
}
.divide-y > :not([hidden]) ~ :not([hidden]){
.fn-divide-y > :not([hidden]) ~ :not([hidden]){
--tw-divide-y-reverse: 0;

@@ -749,3 +682,3 @@ border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));

.divide-gray-200 > :not([hidden]) ~ :not([hidden]){
.fn-divide-gray-200 > :not([hidden]) ~ :not([hidden]){
--tw-divide-opacity: 1;

@@ -755,29 +688,15 @@ border-color: rgba(229, 231, 235, var(--tw-divide-opacity));

.truncate{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rounded{
border-radius: 0.25rem;
}
.rounded-md{
.fn-rounded-md{
border-radius: 0.375rem;
}
.rounded-full{
border-radius: 9999px;
}
.border{
.fn-border{
border-width: 1px;
}
.border-t{
.fn-border-t{
border-top-width: 1px;
}
.border-gray-200{
.fn-border-gray-200{
--tw-border-opacity: 1;

@@ -787,3 +706,3 @@ border-color: rgba(229, 231, 235, var(--tw-border-opacity));

.border-gray-300{
.fn-border-gray-300{
--tw-border-opacity: 1;

@@ -793,8 +712,3 @@ border-color: rgba(209, 213, 219, var(--tw-border-opacity));

.focus\:border-green-400:focus{
--tw-border-opacity: 1;
border-color: rgba(52, 211, 153, var(--tw-border-opacity));
}
.bg-white{
.fn-bg-white{
--tw-bg-opacity: 1;

@@ -804,3 +718,3 @@ background-color: rgba(255, 255, 255, var(--tw-bg-opacity));

.bg-red-400{
.fn-bg-red-400{
--tw-bg-opacity: 1;

@@ -810,22 +724,7 @@ background-color: rgba(248, 113, 113, var(--tw-bg-opacity));

.bg-yellow-100{
--tw-bg-opacity: 1;
background-color: rgba(254, 243, 199, var(--tw-bg-opacity));
}
.hover\:bg-gray-50:hover{
--tw-bg-opacity: 1;
background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
}
.p-4{
.fn-p-4{
padding: 1rem;
}
.px-2{
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.px-4{
.fn-px-4{
padding-left: 1rem;

@@ -835,8 +734,3 @@ padding-right: 1rem;

.py-0{
padding-top: 0px;
padding-bottom: 0px;
}
.py-2{
.fn-py-2{
padding-top: 0.5rem;

@@ -846,3 +740,3 @@ padding-bottom: 0.5rem;

.py-3{
.fn-py-3{
padding-top: 0.75rem;

@@ -852,3 +746,3 @@ padding-bottom: 0.75rem;

.py-4{
.fn-py-4{
padding-top: 1rem;

@@ -858,18 +752,3 @@ padding-bottom: 1rem;

.py-6{
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
.py-0\.5{
padding-top: 0.125rem;
padding-bottom: 0.125rem;
}
.text-xs{
font-size: 0.75rem;
line-height: 1rem;
}
.text-sm{
.fn-text-sm{
font-size: 0.875rem;

@@ -879,35 +758,11 @@ line-height: 1.25rem;

.font-medium{
.fn-font-medium{
font-weight: 500;
}
.font-semibold{
font-weight: 600;
}
.text-gray-400{
.fn-text-gray-700{
--tw-text-opacity: 1;
color: rgba(156, 163, 175, var(--tw-text-opacity));
}
.text-gray-500{
--tw-text-opacity: 1;
color: rgba(107, 114, 128, var(--tw-text-opacity));
}
.text-gray-700{
--tw-text-opacity: 1;
color: rgba(55, 65, 81, var(--tw-text-opacity));
}
.text-yellow-800{
--tw-text-opacity: 1;
color: rgba(146, 64, 14, var(--tw-text-opacity));
}
.hover\:text-green-400:hover{
--tw-text-opacity: 1;
color: rgba(52, 211, 153, var(--tw-text-opacity));
}
*, ::before, ::after{

@@ -917,3 +772,3 @@ --tw-shadow: 0 0 #0000;

.shadow-sm{
.fn-shadow-sm{
--tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

@@ -923,7 +778,2 @@ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);

.focus\:outline-none:focus{
outline: 2px solid transparent;
outline-offset: 2px;
}
*, ::before, ::after{

@@ -938,30 +788,3 @@ --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);

.focus\:ring-2:focus{
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-green-400:focus{
--tw-ring-opacity: 1;
--tw-ring-color: rgba(52, 211, 153, var(--tw-ring-opacity));
}
.focus\:ring-offset-2:focus{
--tw-ring-offset-width: 2px;
}
@media (min-width: 640px){
.sm\:block{
display: block;
}
.sm\:justify-end{
justify-content: flex-end;
}
.sm\:px-6{
padding-left: 1.5rem;
padding-right: 1.5rem;
}
}

@@ -973,6 +796,2 @@

@media (min-width: 1024px){
.lg\:px-8{
padding-left: 2rem;
padding-right: 2rem;
}
}

@@ -979,0 +798,0 @@

544

dist/widget.js

@@ -25,17 +25,17 @@ "use strict";

__propIsEnum = Object.prototype.propertyIsEnumerable,
__defNormalProp = function __defNormalProp(e, t, n) {
return t in e ? __defProp(e, t, {
__defNormalProp = function __defNormalProp(e, n, t) {
return n in e ? __defProp(e, n, {
enumerable: !0,
configurable: !0,
writable: !0,
value: n
}) : e[t] = n;
value: t
}) : e[n] = t;
},
__spreadValues = function __spreadValues(e, t) {
for (var n in t || (t = {})) {
__hasOwnProp.call(t, n) && __defNormalProp(e, n, t[n]);
__spreadValues = function __spreadValues(e, n) {
for (var t in n || (n = {})) {
__hasOwnProp.call(n, t) && __defNormalProp(e, t, n[t]);
}
if (__getOwnPropSymbols) {
var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(t)),
var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(n)),
_step;

@@ -45,4 +45,4 @@

for (_iterator.s(); !(_step = _iterator.n()).done;) {
var n = _step.value;
__propIsEnum.call(t, n) && __defNormalProp(e, n, t[n]);
var t = _step.value;
__propIsEnum.call(n, t) && __defNormalProp(e, t, n[t]);
}

@@ -58,12 +58,12 @@ } catch (err) {

},
__spreadProps = function __spreadProps(e, t) {
return __defProps(e, __getOwnPropDescs(t));
__spreadProps = function __spreadProps(e, n) {
return __defProps(e, __getOwnPropDescs(n));
},
__async = function __async(e, t, n) {
__async = function __async(e, n, t) {
return new Promise(function (_, r) {
var o = function o(e) {
try {
s(n.next(e));
} catch (t) {
r(t);
s(t.next(e));
} catch (n) {
r(n);
}

@@ -73,5 +73,5 @@ },

try {
s(n["throw"](e));
} catch (t) {
r(t);
s(t["throw"](e));
} catch (n) {
r(n);
}

@@ -83,3 +83,3 @@ },

s((n = n.apply(e, t)).next());
s((t = t.apply(e, n)).next());
});

@@ -92,4 +92,4 @@ };

var e,
n,
t,
n,
_,

@@ -102,5 +102,5 @@ r,

function a(e, t) {
for (var n in t) {
e[n] = t[n];
function a(e, n) {
for (var t in n) {
e[t] = n[t];
}

@@ -112,7 +112,7 @@

function u(e) {
var t = e.parentNode;
t && t.removeChild(e);
var n = e.parentNode;
n && n.removeChild(e);
}
function c(t, n, _) {
function f(n, t, _) {
var r,

@@ -123,13 +123,13 @@ o,

for (l in n) {
"key" == l ? r = n[l] : "ref" == l ? o = n[l] : s[l] = n[l];
for (l in t) {
"key" == l ? r = t[l] : "ref" == l ? o = t[l] : s[l] = t[l];
}
if (arguments.length > 2 && (s.children = arguments.length > 3 ? e.call(arguments, 2) : _), "function" == typeof t && null != t.defaultProps) for (l in t.defaultProps) {
void 0 === s[l] && (s[l] = t.defaultProps[l]);
if (arguments.length > 2 && (s.children = arguments.length > 3 ? e.call(arguments, 2) : _), "function" == typeof n && null != n.defaultProps) for (l in n.defaultProps) {
void 0 === s[l] && (s[l] = n.defaultProps[l]);
}
return f(t, s, r, o, null);
return c(n, s, r, o, null);
}
function f(e, _, r, o, l) {
function c(e, _, r, o, l) {
var s = {

@@ -148,5 +148,5 @@ type: e,

constructor: void 0,
__v: null == l ? ++n : l
__v: null == l ? ++t : l
};
return null != t.vnode && t.vnode(s), s;
return null != n.vnode && n.vnode(s), s;
}

@@ -158,11 +158,11 @@

function d(e, t) {
this.props = e, this.context = t;
function d(e, n) {
this.props = e, this.context = n;
}
function h(e, t) {
if (null == t) return e.__ ? h(e.__, e.__.__k.indexOf(e) + 1) : null;
function h(e, n) {
if (null == n) return e.__ ? h(e.__, e.__.__k.indexOf(e) + 1) : null;
for (var n; t < e.__k.length; t++) {
if (null != (n = e.__k[t]) && null != n.__e) return n.__e;
for (var t; n < e.__k.length; n++) {
if (null != (t = e.__k[n]) && null != t.__e) return t.__e;
}

@@ -174,8 +174,8 @@

function m(e) {
var t, n;
var n, t;
if (null != (e = e.__) && null != e.__c) {
for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) {
if (null != (n = e.__k[t]) && null != n.__e) {
e.__e = e.__c.base = n.__e;
for (e.__e = e.__c.base = null, n = 0; n < e.__k.length; n++) {
if (null != (t = e.__k[n]) && null != t.__e) {
e.__e = e.__c.base = t.__e;
break;

@@ -190,3 +190,3 @@ }

function v(e) {
(!e.__d && (e.__d = !0) && _.push(e) && !y.__r++ || o !== t.debounceRendering) && ((o = t.debounceRendering) || r)(y);
(!e.__d && (e.__d = !0) && _.push(e) && !y.__r++ || o !== n.debounceRendering) && ((o = n.debounceRendering) || r)(y);
}

@@ -196,8 +196,8 @@

for (var e; y.__r = _.length;) {
e = _.sort(function (e, t) {
return e.__v.__b - t.__v.__b;
e = _.sort(function (e, n) {
return e.__v.__b - n.__v.__b;
}), _ = [], e.some(function (e) {
var t, n, _, r, o, l;
var n, t, _, r, o, l;
e.__d && (o = (r = (t = e).__v).__e, (l = t.__P) && (n = [], (_ = a({}, r)).__v = r.__v + 1, P(l, r, _, t.__n, void 0 !== l.ownerSVGElement, null != r.__h ? [o] : null, n, null == o ? h(r) : o, r.__h), S(n, r), r.__e != o && m(r)));
e.__d && (o = (r = (n = e).__v).__e, (l = n.__P) && (t = [], (_ = a({}, r)).__v = r.__v + 1, P(l, r, _, n.__n, void 0 !== l.ownerSVGElement, null != r.__h ? [o] : null, t, null == o ? h(r) : o, r.__h), S(t, r), r.__e != o && m(r)));
});

@@ -207,3 +207,3 @@ }

function g(e, t, n, _, r, o, i, a, u, c) {
function g(e, n, t, _, r, o, i, a, u, f) {
var d,

@@ -219,7 +219,7 @@ m,

for (n.__k = [], d = 0; d < t.length; d++) {
if (null != (y = n.__k[d] = null == (y = t[d]) || "boolean" == typeof y ? null : "string" == typeof y || "number" == typeof y || "bigint" == typeof y ? f(null, y, null, null, y) : Array.isArray(y) ? f(p, {
for (t.__k = [], d = 0; d < n.length; d++) {
if (null != (y = t.__k[d] = null == (y = n[d]) || "boolean" == typeof y ? null : "string" == typeof y || "number" == typeof y || "bigint" == typeof y ? c(null, y, null, null, y) : Array.isArray(y) ? c(p, {
children: y
}, null, null, null) : y.__b > 0 ? f(y.type, y.props, y.key, null, y.__v) : y)) {
if (y.__ = n, y.__b = n.__b + 1, null === (v = E[d]) || v && y.key == v.key && y.type === v.type) E[d] = void 0;else for (m = 0; m < N; m++) {
}, null, null, null) : y.__b > 0 ? c(y.type, y.props, y.key, null, y.__v) : y)) {
if (y.__ = t, y.__b = t.__b + 1, null === (v = E[d]) || v && y.key == v.key && y.type === v.type) E[d] = void 0;else for (m = 0; m < N; m++) {
if ((v = E[m]) && y.key == v.key && y.type === v.type) {

@@ -232,8 +232,8 @@ E[m] = void 0;

}
P(e, y, v = v || l, r, o, i, a, u, c), g = y.__e, (m = y.ref) && v.ref != m && (k || (k = []), v.ref && k.push(v.ref, null, y), k.push(m, y.__c || g, y)), null != g ? (null == w && (w = g), "function" == typeof y.type && null != y.__k && y.__k === v.__k ? y.__d = u = b(y, u, e) : u = x(e, y, v, E, g, u), c || "option" !== n.type ? "function" == typeof n.type && (n.__d = u) : e.value = "") : u && v.__e == u && u.parentNode != e && (u = h(v));
P(e, y, v = v || l, r, o, i, a, u, f), g = y.__e, (m = y.ref) && v.ref != m && (k || (k = []), v.ref && k.push(v.ref, null, y), k.push(m, y.__c || g, y)), null != g ? (null == w && (w = g), "function" == typeof y.type && null != y.__k && y.__k === v.__k ? y.__d = u = b(y, u, e) : u = x(e, y, v, E, g, u), f || "option" !== t.type ? "function" == typeof t.type && (t.__d = u) : e.value = "") : u && v.__e == u && u.parentNode != e && (u = h(v));
}
}
for (n.__e = w, d = N; d--;) {
null != E[d] && ("function" == typeof n.type && null != E[d].__e && E[d].__e == n.__d && (n.__d = h(_, d + 1)), R(E[d], E[d]));
for (t.__e = w, d = N; d--;) {
null != E[d] && ("function" == typeof t.type && null != E[d].__e && E[d].__e == t.__d && (t.__d = h(_, d + 1)), D(E[d], E[d]));
}

@@ -246,15 +246,15 @@

function b(e, t, n) {
function b(e, n, t) {
var _, r;
for (_ = 0; _ < e.__k.length; _++) {
(r = e.__k[_]) && (r.__ = e, t = "function" == typeof r.type ? b(r, t, n) : x(n, r, r, e.__k, r.__e, t));
(r = e.__k[_]) && (r.__ = e, n = "function" == typeof r.type ? b(r, n, t) : x(t, r, r, e.__k, r.__e, n));
}
return t;
return n;
}
function x(e, t, n, _, r, o) {
function x(e, n, t, _, r, o) {
var l, s, i;
if (void 0 !== t.__d) l = t.__d, t.__d = void 0;else if (null == n || r != o || null == r.parentNode) e: if (null == o || o.parentNode !== e) e.appendChild(r), l = null;else {
if (void 0 !== n.__d) l = n.__d, n.__d = void 0;else if (null == t || r != o || null == r.parentNode) e: if (null == o || o.parentNode !== e) e.appendChild(r), l = null;else {
for (s = o, i = 0; (s = s.nextSibling) && i < _.length; i += 2) {

@@ -269,24 +269,24 @@ if (s == r) break e;

function w(e, t, n) {
"-" === t[0] ? e.setProperty(t, n) : e[t] = null == n ? "" : "number" != typeof n || i.test(t) ? n : n + "px";
function w(e, n, t) {
"-" === n[0] ? e.setProperty(n, t) : e[n] = null == t ? "" : "number" != typeof t || i.test(n) ? t : t + "px";
}
function k(e, t, n, _, r) {
function k(e, n, t, _, r) {
var o;
e: if ("style" === t) {
if ("string" == typeof n) e.style.cssText = n;else {
if ("string" == typeof _ && (e.style.cssText = _ = ""), _) for (t in _) {
n && t in n || w(e.style, t, "");
e: if ("style" === n) {
if ("string" == typeof t) e.style.cssText = t;else {
if ("string" == typeof _ && (e.style.cssText = _ = ""), _) for (n in _) {
t && n in t || w(e.style, n, "");
}
if (n) for (t in n) {
_ && n[t] === _[t] || w(e.style, t, n[t]);
if (t) for (n in t) {
_ && t[n] === _[n] || w(e.style, n, t[n]);
}
}
} else if ("o" === t[0] && "n" === t[1]) o = t !== (t = t.replace(/Capture$/, "")), t = t.toLowerCase() in e ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + o] = n, n ? _ || e.addEventListener(t, o ? N : E, o) : e.removeEventListener(t, o ? N : E, o);else if ("dangerouslySetInnerHTML" !== t) {
if (r) t = t.replace(/xlink[H:h]/, "h").replace(/sName$/, "s");else if ("href" !== t && "list" !== t && "form" !== t && "tabIndex" !== t && "download" !== t && t in e) try {
e[t] = null == n ? "" : n;
} else if ("o" === n[0] && "n" === n[1]) o = n !== (n = n.replace(/Capture$/, "")), n = n.toLowerCase() in e ? n.toLowerCase().slice(2) : n.slice(2), e.l || (e.l = {}), e.l[n + o] = t, t ? _ || e.addEventListener(n, o ? N : E, o) : e.removeEventListener(n, o ? N : E, o);else if ("dangerouslySetInnerHTML" !== n) {
if (r) n = n.replace(/xlink[H:h]/, "h").replace(/sName$/, "s");else if ("href" !== n && "list" !== n && "form" !== n && "tabIndex" !== n && "download" !== n && n in e) try {
e[n] = null == t ? "" : t;
break e;
} catch (l) {}
"function" == typeof n || (null != n && (!1 !== n || "a" === t[0] && "r" === t[1]) ? e.setAttribute(t, n) : e.removeAttribute(t));
"function" == typeof t || (null != t && (!1 !== t || "a" === n[0] && "r" === n[1]) ? e.setAttribute(n, t) : e.removeAttribute(n));
}

@@ -296,10 +296,10 @@ }

function E(e) {
this.l[e.type + !1](t.event ? t.event(e) : e);
this.l[e.type + !1](n.event ? n.event(e) : e);
}
function N(e) {
this.l[e.type + !0](t.event ? t.event(e) : e);
this.l[e.type + !0](n.event ? n.event(e) : e);
}
function P(n, _, r, o, s, i, c, f, m) {
function P(t, _, r, o, s, i, f, c, m) {
var v,

@@ -315,14 +315,14 @@ y,

O,
R,
D,
T = _.type;
if (void 0 !== _.constructor) return null;
null != r.__h && (m = r.__h, f = _.__e = r.__e, _.__h = null, i = [f]), (v = t.__b) && v(_);
null != r.__h && (m = r.__h, c = _.__e = r.__e, _.__h = null, i = [c]), (v = n.__b) && v(_);
try {
e: if ("function" == typeof T) {
if (P = _.props, S = (v = T.contextType) && o[v.__c], O = v ? S ? S.props.value : v.__ : o, r.__c ? N = (y = _.__c = r.__c).__ = y.__E : ("prototype" in T && T.prototype.render ? _.__c = y = new T(P, O) : (_.__c = y = new d(P, O), y.constructor = T, y.render = D), S && S.sub(y), y.props = P, y.state || (y.state = {}), y.context = O, y.__n = o, b = y.__d = !0, y.__h = []), null == y.__s && (y.__s = y.state), null != T.getDerivedStateFromProps && (y.__s == y.state && (y.__s = a({}, y.__s)), a(y.__s, T.getDerivedStateFromProps(P, y.__s))), x = y.props, w = y.state, b) null == T.getDerivedStateFromProps && null != y.componentWillMount && y.componentWillMount(), null != y.componentDidMount && y.__h.push(y.componentDidMount);else {
if (P = _.props, S = (v = T.contextType) && o[v.__c], O = v ? S ? S.props.value : v.__ : o, r.__c ? N = (y = _.__c = r.__c).__ = y.__E : ("prototype" in T && T.prototype.render ? _.__c = y = new T(P, O) : (_.__c = y = new d(P, O), y.constructor = T, y.render = R), S && S.sub(y), y.props = P, y.state || (y.state = {}), y.context = O, y.__n = o, b = y.__d = !0, y.__h = []), null == y.__s && (y.__s = y.state), null != T.getDerivedStateFromProps && (y.__s == y.state && (y.__s = a({}, y.__s)), a(y.__s, T.getDerivedStateFromProps(P, y.__s))), x = y.props, w = y.state, b) null == T.getDerivedStateFromProps && null != y.componentWillMount && y.componentWillMount(), null != y.componentDidMount && y.__h.push(y.componentDidMount);else {
if (null == T.getDerivedStateFromProps && P !== x && null != y.componentWillReceiveProps && y.componentWillReceiveProps(P, O), !y.__e && null != y.shouldComponentUpdate && !1 === y.shouldComponentUpdate(P, y.__s, O) || _.__v === r.__v) {
y.props = P, y.state = y.__s, _.__v !== r.__v && (y.__d = !1), y.__v = _, _.__e = r.__e, _.__k = r.__k, _.__k.forEach(function (e) {
e && (e.__ = _);
}), y.__h.length && c.push(y);
}), y.__h.length && f.push(y);
break e;

@@ -335,14 +335,14 @@ }

}
y.context = O, y.props = P, y.state = y.__s, (v = t.__r) && v(_), y.__d = !1, y.__v = _, y.__P = n, v = y.render(y.props, y.state, y.context), y.state = y.__s, null != y.getChildContext && (o = a(a({}, o), y.getChildContext())), b || null == y.getSnapshotBeforeUpdate || (E = y.getSnapshotBeforeUpdate(x, w)), R = null != v && v.type === p && null == v.key ? v.props.children : v, g(n, Array.isArray(R) ? R : [R], _, r, o, s, i, c, f, m), y.base = _.__e, _.__h = null, y.__h.length && c.push(y), N && (y.__E = y.__ = null), y.__e = !1;
} else null == i && _.__v === r.__v ? (_.__k = r.__k, _.__e = r.__e) : _.__e = function (t, n, _, r, o, s, i, a) {
var c,
f,
y.context = O, y.props = P, y.state = y.__s, (v = n.__r) && v(_), y.__d = !1, y.__v = _, y.__P = t, v = y.render(y.props, y.state, y.context), y.state = y.__s, null != y.getChildContext && (o = a(a({}, o), y.getChildContext())), b || null == y.getSnapshotBeforeUpdate || (E = y.getSnapshotBeforeUpdate(x, w)), D = null != v && v.type === p && null == v.key ? v.props.children : v, g(t, Array.isArray(D) ? D : [D], _, r, o, s, i, f, c, m), y.base = _.__e, _.__h = null, y.__h.length && f.push(y), N && (y.__E = y.__ = null), y.__e = !1;
} else null == i && _.__v === r.__v ? (_.__k = r.__k, _.__e = r.__e) : _.__e = function (n, t, _, r, o, s, i, a) {
var f,
c,
p,
d = _.props,
m = n.props,
v = n.type,
m = t.props,
v = t.type,
y = 0;
if ("svg" === v && (o = !0), null != s) for (; y < s.length; y++) {
if ((c = s[y]) && (c === t || (v ? c.localName == v : 3 == c.nodeType))) {
t = c, s[y] = null;
if ((f = s[y]) && (f === n || (v ? f.localName == v : 3 == f.nodeType))) {
n = f, s[y] = null;
break;

@@ -352,47 +352,47 @@ }

if (null == t) {
if (null == n) {
if (null === v) return document.createTextNode(m);
t = o ? document.createElementNS("http://www.w3.org/2000/svg", v) : document.createElement(v, m.is && m), s = null, a = !1;
n = o ? document.createElementNS("http://www.w3.org/2000/svg", v) : document.createElement(v, m.is && m), s = null, a = !1;
}
if (null === v) d === m || a && t.data === m || (t.data = m);else {
if (s = s && e.call(t.childNodes), f = (d = _.props || l).dangerouslySetInnerHTML, p = m.dangerouslySetInnerHTML, !a) {
if (null != s) for (d = {}, y = 0; y < t.attributes.length; y++) {
d[t.attributes[y].name] = t.attributes[y].value;
if (null === v) d === m || a && n.data === m || (n.data = m);else {
if (s = s && e.call(n.childNodes), c = (d = _.props || l).dangerouslySetInnerHTML, p = m.dangerouslySetInnerHTML, !a) {
if (null != s) for (d = {}, y = 0; y < n.attributes.length; y++) {
d[n.attributes[y].name] = n.attributes[y].value;
}
(p || f) && (p && (f && p.__html == f.__html || p.__html === t.innerHTML) || (t.innerHTML = p && p.__html || ""));
(p || c) && (p && (c && p.__html == c.__html || p.__html === n.innerHTML) || (n.innerHTML = p && p.__html || ""));
}
if (function (e, t, n, _, r) {
if (function (e, n, t, _, r) {
var o;
for (o in n) {
"children" === o || "key" === o || o in t || k(e, o, null, n[o], _);
for (o in t) {
"children" === o || "key" === o || o in n || k(e, o, null, t[o], _);
}
for (o in t) {
r && "function" != typeof t[o] || "children" === o || "key" === o || "value" === o || "checked" === o || n[o] === t[o] || k(e, o, t[o], n[o], _);
for (o in n) {
r && "function" != typeof n[o] || "children" === o || "key" === o || "value" === o || "checked" === o || t[o] === n[o] || k(e, o, n[o], t[o], _);
}
}(t, m, d, o, a), p) n.__k = [];else if (y = n.props.children, g(t, Array.isArray(y) ? y : [y], n, _, r, o && "foreignObject" !== v, s, i, s ? s[0] : _.__k && h(_, 0), a), null != s) for (y = s.length; y--;) {
}(n, m, d, o, a), p) t.__k = [];else if (y = t.props.children, g(n, Array.isArray(y) ? y : [y], t, _, r, o && "foreignObject" !== v, s, i, s ? s[0] : _.__k && h(_, 0), a), null != s) for (y = s.length; y--;) {
null != s[y] && u(s[y]);
}
a || ("value" in m && void 0 !== (y = m.value) && (y !== t.value || "progress" === v && !y) && k(t, "value", y, d.value, !1), "checked" in m && void 0 !== (y = m.checked) && y !== t.checked && k(t, "checked", y, d.checked, !1));
a || ("value" in m && void 0 !== (y = m.value) && (y !== n.value || "progress" === v && !y) && k(n, "value", y, d.value, !1), "checked" in m && void 0 !== (y = m.checked) && y !== n.checked && k(n, "checked", y, d.checked, !1));
}
return t;
}(r.__e, _, r, o, s, i, c, m);
return n;
}(r.__e, _, r, o, s, i, f, m);
(v = t.diffed) && v(_);
(v = n.diffed) && v(_);
} catch (A) {
_.__v = null, (m || null != i) && (_.__e = f, _.__h = !!m, i[i.indexOf(f)] = null), t.__e(A, _, r);
_.__v = null, (m || null != i) && (_.__e = c, _.__h = !!m, i[i.indexOf(c)] = null), n.__e(A, _, r);
}
}
function S(e, n) {
t.__c && t.__c(n, e), e.some(function (n) {
function S(e, t) {
n.__c && n.__c(t, e), e.some(function (t) {
try {
e = n.__h, n.__h = [], e.some(function (e) {
e.call(n);
e = t.__h, t.__h = [], e.some(function (e) {
e.call(t);
});
} catch (_) {
t.__e(_, n.__v);
n.__e(_, t.__v);
}

@@ -402,18 +402,18 @@ });

function O(e, n, _) {
function O(e, t, _) {
try {
"function" == typeof e ? e(n) : e.current = n;
"function" == typeof e ? e(t) : e.current = t;
} catch (r) {
t.__e(r, _);
n.__e(r, _);
}
}
function R(e, n, _) {
function D(e, t, _) {
var r, o;
if (t.unmount && t.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || O(r, null, n)), null != (r = e.__c)) {
if (n.unmount && n.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || O(r, null, t)), null != (r = e.__c)) {
if (r.componentWillUnmount) try {
r.componentWillUnmount();
} catch (l) {
t.__e(l, n);
n.__e(l, t);
}

@@ -424,3 +424,3 @@ r.base = r.__P = null;

if (r = e.__k) for (o = 0; o < r.length; o++) {
r[o] && R(r[o], n, "function" != typeof e.type);
r[o] && D(r[o], t, "function" != typeof e.type);
}

@@ -430,11 +430,11 @@ _ || null == e.__e || u(e.__e), e.__e = e.__d = void 0;

function D(e, t, n) {
return this.constructor(e, n);
function R(e, n, t) {
return this.constructor(e, t);
}
e = s.slice, t = {
__e: function __e(e, t) {
for (var n, _, r; t = t.__;) {
if ((n = t.__c) && !n.__) try {
if ((_ = n.constructor) && null != _.getDerivedStateFromError && (n.setState(_.getDerivedStateFromError(e)), r = n.__d), null != n.componentDidCatch && (n.componentDidCatch(e), r = n.__d), r) return n.__E = n;
e = s.slice, n = {
__e: function __e(e, n) {
for (var t, _, r; n = n.__;) {
if ((t = n.__c) && !t.__) try {
if ((_ = t.constructor) && null != _.getDerivedStateFromError && (t.setState(_.getDerivedStateFromError(e)), r = t.__d), null != t.componentDidCatch && (t.componentDidCatch(e), r = t.__d), r) return t.__E = t;
} catch (o) {

@@ -447,5 +447,5 @@ e = o;

}
}, n = 0, d.prototype.setState = function (e, t) {
var n;
n = null != this.__s && this.__s !== this.state ? this.__s : this.__s = a({}, this.state), "function" == typeof e && (e = e(a({}, n), this.props)), e && a(n, e), null != e && this.__v && (t && this.__h.push(t), v(this));
}, t = 0, d.prototype.setState = function (e, n) {
var t;
t = null != this.__s && this.__s !== this.state ? this.__s : this.__s = a({}, this.state), "function" == typeof e && (e = e(a({}, t), this.props)), e && a(t, e), null != e && this.__v && (n && this.__h.push(n), v(this));
}, d.prototype.forceUpdate = function (e) {

@@ -457,12 +457,12 @@ this.__v && (this.__e = !0, e && this.__h.push(e), v(this));

H,
U = 0,
L = [],
C = t.__b,
j = t.__r,
F = t.diffed,
M = t.__c,
V = t.unmount;
L = 0,
U = [],
j = n.__b,
C = n.__r,
F = n.diffed,
M = n.__c,
V = n.unmount;
function I(e, n) {
t.__h && t.__h(A, e, U || n), U = 0;
function I(e, t) {
n.__h && n.__h(A, e, L || t), L = 0;

@@ -478,48 +478,48 @@ var _ = A.__H || (A.__H = {

function q() {
L.forEach(function (e) {
U.forEach(function (e) {
if (e.__P) try {
e.__H.__h.forEach($), e.__H.__h.forEach(z), e.__H.__h = [];
} catch (n) {
e.__H.__h = [], t.__e(n, e.__v);
e.__H.__h.forEach(Q), e.__H.__h.forEach(z), e.__H.__h = [];
} catch (t) {
e.__H.__h = [], n.__e(t, e.__v);
}
}), L = [];
}), U = [];
}
t.__b = function (e) {
A = null, C && C(e);
}, t.__r = function (e) {
j && j(e), T = 0;
var t = (A = e.__c).__H;
t && (t.__h.forEach($), t.__h.forEach(z), t.__h = []);
}, t.diffed = function (e) {
n.__b = function (e) {
A = null, j && j(e);
}, n.__r = function (e) {
C && C(e), T = 0;
var n = (A = e.__c).__H;
n && (n.__h.forEach(Q), n.__h.forEach(z), n.__h = []);
}, n.diffed = function (e) {
F && F(e);
var n = e.__c;
n && n.__H && n.__H.__h.length && (1 !== L.push(n) && H === t.requestAnimationFrame || ((H = t.requestAnimationFrame) || function (e) {
var t,
n = function n() {
clearTimeout(_), Q && cancelAnimationFrame(t), setTimeout(e);
var t = e.__c;
t && t.__H && t.__H.__h.length && (1 !== U.push(t) && H === n.requestAnimationFrame || ((H = n.requestAnimationFrame) || function (e) {
var n,
t = function t() {
clearTimeout(_), $ && cancelAnimationFrame(n), setTimeout(e);
},
_ = setTimeout(n, 100);
_ = setTimeout(t, 100);
Q && (t = requestAnimationFrame(n));
$ && (n = requestAnimationFrame(t));
})(q)), A = void 0;
}, t.__c = function (e, n) {
n.some(function (e) {
}, n.__c = function (e, t) {
t.some(function (e) {
try {
e.__h.forEach($), e.__h = e.__h.filter(function (e) {
e.__h.forEach(Q), e.__h = e.__h.filter(function (e) {
return !e.__ || z(e);
});
} catch (_) {
n.some(function (e) {
t.some(function (e) {
e.__h && (e.__h = []);
}), n = [], t.__e(_, e.__v);
}), t = [], n.__e(_, e.__v);
}
}), M && M(e, n);
}, t.unmount = function (e) {
}), M && M(e, t);
}, n.unmount = function (e) {
V && V(e);
var n = e.__c;
if (n && n.__H) try {
n.__H.__.forEach($);
var t = e.__c;
if (t && t.__H) try {
t.__H.__.forEach(Q);
} catch (_) {
t.__e(_, n.__v);
n.__e(_, t.__v);
}

@@ -529,16 +529,16 @@ };

B,
Q = "function" == typeof requestAnimationFrame;
$ = "function" == typeof requestAnimationFrame;
function $(e) {
var t = A;
"function" == typeof e.__c && e.__c(), A = t;
function Q(e) {
var n = A;
"function" == typeof e.__c && e.__c(), A = n;
}
function z(e) {
var t = A;
e.__c = e.__(), A = t;
var n = A;
e.__c = e.__(), A = n;
}
function G(e, t) {
return "function" == typeof t ? t(e) : t;
function G(e, n) {
return "function" == typeof n ? n(e) : n;
}

@@ -560,8 +560,8 @@

},
K = function K(e, t) {
switch (console.log(t), t.type) {
K = function K(e, n) {
switch (console.log(n), n.type) {
case W.UPVOTE:
return __spreadProps(__spreadValues({}, e), {
data: __spreadProps(__spreadValues({}, e.data), _defineProperty({}, t.id, __spreadProps(__spreadValues({}, e.data[t.id]), {
votes: e.data[t.id].votes_count + 1
data: __spreadProps(__spreadValues({}, e.data), _defineProperty({}, n.id, __spreadProps(__spreadValues({}, e.data[n.id]), {
votes: e.data[n.id].votes_count + 1
})))

@@ -572,5 +572,5 @@ });

return __spreadProps(__spreadValues({}, e), {
data: t.response.data,
meta: t.response.meta,
links: t.response.links
data: n.response.data,
meta: n.response.meta,
links: n.response.links
});

@@ -580,7 +580,7 @@

return __spreadProps(__spreadValues({}, e), {
error: t.error
error: n.error
});
default:
throw new Error("Unexpected action: " + JSON.stringify(t));
throw new Error("Unexpected action: " + JSON.stringify(n));
}

@@ -590,11 +590,11 @@ };

function X(e) {
var t = e.featureRequest;
return c("div", {
var n = e.featureRequest;
return f("div", {
className: "flex py-6 px-4 sm:px-6 gap-4"
}, c("div", {
}, f("div", {
className: "flex flex-col w-10 items-center"
}, c("button", {
}, f("button", {
type: "button",
className: "flex flex-col items-center rounded-full text-gray-400 hover:text-green-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-400 text-sm"
}, c("svg", {
}, f("svg", {
xmlns: "http://www.w3.org/2000/svg",

@@ -605,23 +605,23 @@ viewBox: "0 0 20 20",

"aria-hidden": "true"
}, c("path", {
}, f("path", {
fillRule: "evenodd",
d: "M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",
clipRule: "evenodd"
}))), c("div", {
}))), f("div", {
className: "text-gray-500"
})), c("div", {
})), f("div", {
className: "flex flex-col flex-grow justify-between truncate"
}, c("div", {
}, f("div", {
className: "text-md text-gray-700 font-semibold truncate"
}, t.title), c("div", {
}, n.title), f("div", {
className: "text-sm text-gray-700 truncate"
}, t.description), c("div", {
}, n.description), f("div", {
className: "flex justify-between mt-2"
}, c("div", {
}, f("div", {
className: "flex gap-2"
}, c("span", {
}, f("span", {
className: "inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800 "
}, "boombox")), c("div", {
}, "boombox")), f("div", {
className: "flex text-gray-500 text-sm"
}, t.votes_count, c("svg", {
}, n.votes_count, f("svg", {
xmlns: "http://www.w3.org/2000/svg",

@@ -632,3 +632,3 @@ fill: "none",

className: "w-5 h-5"
}, c("path", {
}, f("path", {
strokeLinecap: "round",

@@ -644,17 +644,19 @@ strokeLinejoin: "round",

var n = e.options.project,
_ref = (o = K, l = J, (i = I(T++, 2)).t = o, i.__c || (i.__ = [s ? s(l) : G(void 0, l), function (e) {
var t = i.t(i.__[0], e);
i.__[0] !== t && (i.__ = [t, i.__[1]], i.__c.setState({}));
}], i.__c = A), i.__),
var _e$options = e.options,
t = _e$options.workspace,
_ = _e$options.projects,
_ref = (l = K, s = J, (a = I(T++, 2)).t = l, a.__c || (a.__ = [i ? i(s) : G(void 0, s), function (e) {
var n = a.t(a.__[0], e);
a.__[0] !== n && (a.__ = [n, a.__[1]], a.__c.setState({}));
}], a.__c = A), a.__),
_ref2 = _slicedToArray(_ref, 2),
_ = _ref2[0],
r = _ref2[1];
r = _ref2[0],
o = _ref2[1];
var o, l, s, i;
var a = _.error,
u = _.data,
f = _.meta,
p = _.links;
return function (e, n) {
var l, s, i, a;
var u = r.error,
c = r.data,
p = r.meta,
d = r.links;
return function (e, t) {
var _,

@@ -664,9 +666,9 @@ r,

!t.__s && (_ = o.__H, r = n, !_ || _.length !== r.length || r.some(function (e, t) {
return e !== _[t];
})) && (o.__ = e, o.__H = n, A.__H.__h.push(o));
!n.__s && (_ = o.__H, r = t, !_ || _.length !== r.length || r.some(function (e, n) {
return e !== _[n];
})) && (o.__ = e, o.__H = t, A.__H.__h.push(o));
}(function () {
(function () {
__async(_this, null, /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
var e, t, _t;
var e, n, _n2;

@@ -678,3 +680,3 @@ return regeneratorRuntime.wrap(function _callee$(_context) {

_context.next = 2;
return fetch("https://".concat(n, ".feature.ninja/api/feature-requests"));
return fetch("https://api.feature.ninja/workspaces/".concat(t, "/feature-requests").concat(_ ? "?projects=".concat(_.join(",")) : ""));

@@ -687,3 +689,3 @@ case 2:

case 5:
t = _context.sent;
n = _context.sent;

@@ -695,5 +697,5 @@ if (!e.ok) {

r({
o({
type: W.FEATURE_REQUESTS_LOADED,
response: t
response: n
});

@@ -708,4 +710,4 @@ _context.next = 14;

case 12:
_t = _context.sent;
console.error("Error loading feature requests, response was:", _t), r({
_n2 = _context.sent;
console.error("Error loading feature requests, response was:", _n2), o({
type: W.HANDLE_ERROR,

@@ -723,42 +725,42 @@ error: new Error("Oops, something went wrong when loading the feature requests...")

})();
}, [n]), c("div", {
className: "max-w-4xl mx-auto sm:px-6 lg:px-8"
}, a && c("div", {
className: "bg-red-400"
}, a.message), c("div", {
className: "py-4 px-4"
}, c("span", {
className: "sr-only"
}, "Search..."), c("input", {
}, [t, _]), f("div", {
className: "fn-max-w-4xl fn-mx-auto fn-sm:px-6 fn-lg:px-8"
}, u && f("div", {
className: "fn-bg-red-400"
}, u.message), f("div", {
className: "fn-py-4 fn-px-4"
}, f("span", {
className: "fn-sr-only"
}, "Search..."), f("input", {
type: "text",
className: "shadow-sm focus:ring-green-400 focus:border-green-400 block p-4 w-full border-gray-300 rounded-md ",
className: "fn-shadow-sm fn-focus:ring-green-400 fn-focus:border-green-400 fn-block fn-p-4 fn-w-full fn-border-gray-300 fn-rounded-md ",
placeholder: "Search..."
})), c("div", {
className: "divide-y divide-gray-200 mt-4"
}, Object.values(u).map(function (e) {
return c(X, {
})), f("div", {
className: "fn-divide-y fn-divide-gray-200 fn-mt-4"
}, Object.values(c).map(function (e) {
return f(X, {
key: e.id,
featureRequest: e
});
})), c("nav", {
className: "bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6",
})), f("nav", {
className: "fn-bg-white fn-px-4 fn-py-3 fn-flex fn-items-center fn-justify-between fn-border-t fn-border-gray-200 fn-sm:px-6",
"aria-label": "Pagination"
}, c("div", {
className: "hidden sm:block"
}, c("p", {
className: "text-sm text-gray-700"
}, "Showing ", c("span", {
className: "font-medium"
}, f.from), " to", " ", c("span", {
className: "font-medium"
}, f.to), " of", " ", c("span", {
className: "font-medium"
}, f.total), " results")), c("div", {
className: "flex-1 flex justify-between sm:justify-end"
}, c("button", {
className: "relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-25",
disabled: null === p.prev
}, "Previous"), c("button", {
className: "ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-25",
disabled: null === p.next
}, f("div", {
className: "fn-hidden fn-sm:block"
}, f("p", {
className: "fn-text-sm fn-text-gray-700"
}, "Showing ", f("span", {
className: "fn-font-medium"
}, p.from), " to", " ", f("span", {
className: "fn-font-medium"
}, p.to), " of", " ", f("span", {
className: "fn-font-medium"
}, p.total), " results")), f("div", {
className: "fn-fn-flex-1 fn-fn-flex fn-fn-justify-between fn-fn-sm:justify-end"
}, f("button", {
className: "fn-relative fn-inline-flex fn-items-center fn-px-4 fn-py-2 fn-border fn-border-gray-300 fn-text-sm fn-font-medium fn-rounded-md fn-text-gray-700 fn-bg-white fn-hover:bg-gray-50 fn-disabled:opacity-25",
disabled: null === d.prev
}, "Previous"), f("button", {
className: "fn-ml-3 fn-relative fn-inline-flex fn-items-center fn-px-4 fn-py-2 fn-border fn-border-gray-300 fn-text-sm fn-font-medium fn-rounded-md fn-text-gray-700 fn-bg-white fn-hover:bg-gray-50 fn-disabled:opacity-25",
disabled: null === d.next
}, "Next"))));

@@ -769,12 +771,14 @@ }

function ee(n) {
var _ = __spreadValues(__spreadValues({}, {
elementId: "feature-ninja-widget"
}), n);
function ee(t) {
window.addEventListener("DOMContentLoaded", function () {
var _ = __spreadValues(__spreadValues({}, {
elementId: "feature-ninja-widget"
}), t);
var r = document.getElementById(_.elementId);
var o, s, i, a, u, f;
r || (r = document.createElement("div"), r.id = _.elementId, Z ? Z.insertBefore(r, Z) : document.body.appendChild(r)), o = c(Y, {
options: _
}), s = r, t.__ && t.__(o, s), u = (a = "function" == typeof i) ? null : i && i.__k || s.__k, f = [], P(s, o = (!a && i || s).__k = c(p, null, [o]), u || l, l, void 0 !== s.ownerSVGElement, !a && i ? [i] : u ? null : s.firstChild ? e.call(s.childNodes) : null, f, !a && i ? i : u ? u.__e : s.firstChild, a), S(f, o);
var r = document.getElementById(_.elementId);
var o, s, i, a, u, c;
r || (r = document.createElement("div"), r.id = _.elementId, Z ? Z.insertBefore(r, Z) : document.body.appendChild(r)), o = f(Y, {
options: _
}), s = r, n.__ && n.__(o, s), u = (a = "function" == typeof i) ? null : i && i.__k || s.__k, c = [], P(s, o = (!a && i || s).__k = f(p, null, [o]), u || l, l, void 0 !== s.ownerSVGElement, !a && i ? [i] : u ? null : s.firstChild ? e.call(s.childNodes) : null, c, !a && i ? i : u ? u.__e : s.firstChild, a), S(c, o);
});
}

@@ -816,4 +820,4 @@

;
styleInject("@import url('https://rsms.me/inter/inter.css');\n\n/*! tailwindcss v2.2.15 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n\n/*\nDocument\n========\n*/\n\n/**\nUse a better box model (opinionated).\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\n\n/**\nUse a more readable tab size (opinionated).\n*/\n\nhtml {\n -moz-tab-size: 4;\n -o-tab-size: 4;\n tab-size: 4;\n}\n\n/**\n1. Correct the line height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n*/\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/*\nSections\n========\n*/\n\n/**\nRemove the margin in all browsers.\n*/\n\nbody {\n margin: 0;\n}\n\n/**\nImprove consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n*/\n\nbody {\n font-family:\n\t\tsystem-ui,\n\t\t-apple-system, /* Firefox supports this but not yet system-ui */\n\t\t'Segoe UI',\n\t\tRoboto,\n\t\tHelvetica,\n\t\tArial,\n\t\tsans-serif,\n\t\t'Apple Color Emoji',\n\t\t'Segoe UI Emoji';\n}\n\n/*\nGrouping content\n================\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)\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n}\n\n/*\nText-level semantics\n====================\n*/\n\n/**\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr[title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/**\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n2. Correct the odd 'em' font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family:\n\t\tui-monospace,\n\t\tSFMono-Regular,\n\t\tConsolas,\n\t\t'Liberation Mono',\n\t\tMenlo,\n\t\tmonospace; /* 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/*\nTabular data\n============\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)\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n}\n\n/*\nForms\n=====\n*/\n\n/**\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\nRemove the inheritance of text transform in Edge and Firefox.\n1. Remove the inheritance of text transform in Firefox.\n*/\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\nCorrect the inability to style clickable types in iOS and Safari.\n*/\n\nbutton,\n[type='button'] {\n -webkit-appearance: button;\n}\n\n/**\nRemove the inner border and padding in Firefox.\n*/\n\n/**\nRestore the focus styles unset by the previous rule.\n*/\n\n/**\nRemove the additional ':invalid' styles in Firefox.\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\n*/\n\n/**\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\n*/\n\nlegend {\n padding: 0;\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/**\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n/**\nRemove the inner padding in Chrome and Safari on macOS.\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/*\nInteractive\n===========\n*/\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/**\n * Manually forked from SUIT CSS Base: https://github.com/suitcss/base\n * A thin layer on top of normalize.css that provides a starting point more\n * suitable for web applications.\n */\n\n/**\n * Removes 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\nbutton {\n background-color: transparent;\n background-image: none;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/**\n * Tailwind custom reset styles\n */\n\n/**\n * 1. Use the user's configured sans font-family (with Tailwind's default\n * sans-serif font stack as a fallback) as a sane default.\n * 2. Use Tailwind's default \"normal\" line-height so the user isn't forced\n * to override it to ensure consistency even when using the default theme.\n */\n\nhtml {\n font-family: Inter var, 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\"; /* 1 */\n line-height: 1.5; /* 2 */\n}\n\n/**\n * Inherit font-family and line-height from html so users can set them as\n * a class directly on the html element.\n */\n\nbody {\n font-family: inherit;\n line-height: inherit;\n}\n\n/**\n * 1. Prevent padding and border from affecting element width.\n *\n * We used to set this in the html element and inherit from\n * the parent element for everything else. This caused issues\n * in shadow-dom-enhanced elements like <details> where the content\n * is wrapped by a div with box-sizing set to content-box.\n *\n * https://github.com/mozdevs/cssremedy/issues/4\n *\n *\n * 2. Allow adding a border to an element by just adding a border-width.\n *\n * By default, the way the browser specifies that an element should have no\n * border is by setting it's border-style to none in the user-agent\n * stylesheet.\n *\n * In order to easily add borders to elements by just setting the border-width\n * property, we change the default border-style for all elements to solid, and\n * use border-width to hide them instead. This way our border utilities only\n * need to set the border-width property instead of the entire border\n * shorthand, making our border utilities much more straightforward to compose.\n *\n * 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: currentColor; /* 2 */\n}\n\n/*\n * Ensure horizontal rules are visible by default\n */\n\nhr {\n border-top-width: 1px;\n}\n\n/**\n * Undo the border-style: none reset that Normalize applies to images so that\n * our border-{width} utilities have the expected effect.\n *\n * The Normalize reset is unnecessary for us since we default the border-width\n * to 0 on all elements.\n *\n * https://github.com/tailwindcss/tailwindcss/issues/362\n */\n\nimg {\n border-style: solid;\n}\n\ntextarea {\n resize: vertical;\n}\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput:-ms-input-placeholder, textarea:-ms-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\nbutton {\n cursor: pointer;\n}\n\n/**\n * Override legacy focus reset from Normalize with modern Firefox focus styles.\n *\n * This is actually an improvement over the new defaults in Firefox in our testing,\n * as it triggers the better focus styles even for links, which still use a dotted\n * outline in Firefox by default.\n */\n\ntable {\n border-collapse: collapse;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/**\n * Reset links to optimize for opt-in styling instead of\n * opt-out.\n */\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/**\n * Reset form element properties that are easy to forget to\n * style explicitly so you don't inadvertently introduce\n * styles that deviate from your design system. These styles\n * supplement a partial reset that is already applied by\n * normalize.css.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n}\n\n/**\n * Use the configured 'mono' font family for elements that\n * are expected to be rendered with a monospace font, falling\n * back to the system monospace stack if there is no configured\n * 'mono' font family.\n */\n\npre,\ncode,\nkbd,\nsamp {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n/**\n * 1. Make replaced elements display: block by default as that's\n * the behavior you want almost all of the time. Inspired by\n * CSS Remedy, with svg added as well.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n * \n * 2. Add vertical-align: middle to align replaced elements more\n * sensibly by default when overriding display by adding a\n * utility like inline.\n *\n * This can trigger a poorly considered linting error in some\n * tools but is included by design.\n * \n * https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210\n */\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/**\n * Constrain images and videos to the parent width and preserve\n * their intrinsic aspect ratio.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/**\n * Ensure the default browser behavior of the hidden attribute.\n */\n\n[hidden] {\n display: none;\n}\n\n*, ::before, ::after{\n --tw-border-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-border-opacity));\n}\n\n.sr-only{\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.relative{\n position: relative;\n}\n\n.-m-2{\n margin: -0.5rem;\n}\n\n.mx-auto{\n margin-left: auto;\n margin-right: auto;\n}\n\n.mt-2{\n margin-top: 0.5rem;\n}\n\n.mt-4{\n margin-top: 1rem;\n}\n\n.ml-3{\n margin-left: 0.75rem;\n}\n\n.block{\n display: block;\n}\n\n.flex{\n display: flex;\n}\n\n.inline-flex{\n display: inline-flex;\n}\n\n.table{\n display: table;\n}\n\n.hidden{\n display: none;\n}\n\n.h-5{\n height: 1.25rem;\n}\n\n.h-12{\n height: 3rem;\n}\n\n.w-5{\n width: 1.25rem;\n}\n\n.w-10{\n width: 2.5rem;\n}\n\n.w-12{\n width: 3rem;\n}\n\n.w-full{\n width: 100%;\n}\n\n.max-w-4xl{\n max-width: 56rem;\n}\n\n.flex-1{\n flex: 1 1 0%;\n}\n\n.flex-grow{\n flex-grow: 1;\n}\n\n.transform{\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 transform: translateX(var(--tw-translate-x)) translateY(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\n@-webkit-keyframes spin{\n to{\n transform: rotate(360deg);\n }\n}\n\n@keyframes spin{\n to{\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes ping{\n 75%, 100%{\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@keyframes ping{\n 75%, 100%{\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes pulse{\n 50%{\n opacity: .5;\n }\n}\n\n@keyframes pulse{\n 50%{\n opacity: .5;\n }\n}\n\n@-webkit-keyframes bounce{\n 0%, 100%{\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50%{\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n@keyframes bounce{\n 0%, 100%{\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50%{\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n.flex-col{\n flex-direction: column;\n}\n\n.items-center{\n align-items: center;\n}\n\n.justify-between{\n justify-content: space-between;\n}\n\n.gap-2{\n gap: 0.5rem;\n}\n\n.gap-4{\n gap: 1rem;\n}\n\n.divide-y > :not([hidden]) ~ :not([hidden]){\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n\n.divide-gray-200 > :not([hidden]) ~ :not([hidden]){\n --tw-divide-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-divide-opacity));\n}\n\n.truncate{\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.rounded{\n border-radius: 0.25rem;\n}\n\n.rounded-md{\n border-radius: 0.375rem;\n}\n\n.rounded-full{\n border-radius: 9999px;\n}\n\n.border{\n border-width: 1px;\n}\n\n.border-t{\n border-top-width: 1px;\n}\n\n.border-gray-200{\n --tw-border-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-border-opacity));\n}\n\n.border-gray-300{\n --tw-border-opacity: 1;\n border-color: rgba(209, 213, 219, var(--tw-border-opacity));\n}\n\n.focus:border-green-400:focus{\n --tw-border-opacity: 1;\n border-color: rgba(52, 211, 153, var(--tw-border-opacity));\n}\n\n.bg-white{\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bg-red-400{\n --tw-bg-opacity: 1;\n background-color: rgba(248, 113, 113, var(--tw-bg-opacity));\n}\n\n.bg-yellow-100{\n --tw-bg-opacity: 1;\n background-color: rgba(254, 243, 199, var(--tw-bg-opacity));\n}\n\n.hover:bg-gray-50:hover{\n --tw-bg-opacity: 1;\n background-color: rgba(249, 250, 251, var(--tw-bg-opacity));\n}\n\n.p-4{\n padding: 1rem;\n}\n\n.px-2{\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.px-4{\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n.py-0{\n padding-top: 0px;\n padding-bottom: 0px;\n}\n\n.py-2{\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.py-3{\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.py-4{\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.py-6{\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n}\n\n.py-0.5{\n padding-top: 0.125rem;\n padding-bottom: 0.125rem;\n}\n\n.text-xs{\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.text-sm{\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.font-medium{\n font-weight: 500;\n}\n\n.font-semibold{\n font-weight: 600;\n}\n\n.text-gray-400{\n --tw-text-opacity: 1;\n color: rgba(156, 163, 175, var(--tw-text-opacity));\n}\n\n.text-gray-500{\n --tw-text-opacity: 1;\n color: rgba(107, 114, 128, var(--tw-text-opacity));\n}\n\n.text-gray-700{\n --tw-text-opacity: 1;\n color: rgba(55, 65, 81, var(--tw-text-opacity));\n}\n\n.text-yellow-800{\n --tw-text-opacity: 1;\n color: rgba(146, 64, 14, var(--tw-text-opacity));\n}\n\n.hover:text-green-400:hover{\n --tw-text-opacity: 1;\n color: rgba(52, 211, 153, var(--tw-text-opacity));\n}\n\n*, ::before, ::after{\n --tw-shadow: 0 0 #0000;\n}\n\n.shadow-sm{\n --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus:outline-none:focus{\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n*, ::before, ::after{\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n}\n\n.focus:ring-2:focus{\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus:ring-green-400:focus{\n --tw-ring-opacity: 1;\n --tw-ring-color: rgba(52, 211, 153, var(--tw-ring-opacity));\n}\n\n.focus:ring-offset-2:focus{\n --tw-ring-offset-width: 2px;\n}\n\n@media (min-width: 640px){\n .sm:block{\n display: block;\n }\n\n .sm:justify-end{\n justify-content: flex-end;\n }\n\n .sm:px-6{\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n }\n}\n\n@media (min-width: 768px){\n}\n\n@media (min-width: 1024px){\n .lg:px-8{\n padding-left: 2rem;\n padding-right: 2rem;\n }\n}\n\n@media (min-width: 1280px){\n}\n\n@media (min-width: 1536px){\n}\n");
styleInject("@import url('https://rsms.me/inter/inter.css');\n\n/*! tailwindcss v2.2.15 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n\n/*\nDocument\n========\n*/\n\n/**\nUse a better box model (opinionated).\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\n\n/**\nUse a more readable tab size (opinionated).\n*/\n\nhtml {\n -moz-tab-size: 4;\n -o-tab-size: 4;\n tab-size: 4;\n}\n\n/**\n1. Correct the line height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n*/\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/*\nSections\n========\n*/\n\n/**\nRemove the margin in all browsers.\n*/\n\nbody {\n margin: 0;\n}\n\n/**\nImprove consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n*/\n\nbody {\n font-family:\n\t\tsystem-ui,\n\t\t-apple-system, /* Firefox supports this but not yet system-ui */\n\t\t'Segoe UI',\n\t\tRoboto,\n\t\tHelvetica,\n\t\tArial,\n\t\tsans-serif,\n\t\t'Apple Color Emoji',\n\t\t'Segoe UI Emoji';\n}\n\n/*\nGrouping content\n================\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)\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n}\n\n/*\nText-level semantics\n====================\n*/\n\n/**\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr[title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/**\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n2. Correct the odd 'em' font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family:\n\t\tui-monospace,\n\t\tSFMono-Regular,\n\t\tConsolas,\n\t\t'Liberation Mono',\n\t\tMenlo,\n\t\tmonospace; /* 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/*\nTabular data\n============\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)\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n}\n\n/*\nForms\n=====\n*/\n\n/**\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\nRemove the inheritance of text transform in Edge and Firefox.\n1. Remove the inheritance of text transform in Firefox.\n*/\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\nCorrect the inability to style clickable types in iOS and Safari.\n*/\n\nbutton,\n[type='button'] {\n -webkit-appearance: button;\n}\n\n/**\nRemove the inner border and padding in Firefox.\n*/\n\n/**\nRestore the focus styles unset by the previous rule.\n*/\n\n/**\nRemove the additional ':invalid' styles in Firefox.\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\n*/\n\n/**\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\n*/\n\nlegend {\n padding: 0;\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/**\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n/**\nRemove the inner padding in Chrome and Safari on macOS.\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/*\nInteractive\n===========\n*/\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/**\n * Manually forked from SUIT CSS Base: https://github.com/suitcss/base\n * A thin layer on top of normalize.css that provides a starting point more\n * suitable for web applications.\n */\n\n/**\n * Removes 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\nbutton {\n background-color: transparent;\n background-image: none;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/**\n * Tailwind custom reset styles\n */\n\n/**\n * 1. Use the user's configured sans font-family (with Tailwind's default\n * sans-serif font stack as a fallback) as a sane default.\n * 2. Use Tailwind's default \"normal\" line-height so the user isn't forced\n * to override it to ensure consistency even when using the default theme.\n */\n\nhtml {\n font-family: Inter var, 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\"; /* 1 */\n line-height: 1.5; /* 2 */\n}\n\n/**\n * Inherit font-family and line-height from html so users can set them as\n * a class directly on the html element.\n */\n\nbody {\n font-family: inherit;\n line-height: inherit;\n}\n\n/**\n * 1. Prevent padding and border from affecting element width.\n *\n * We used to set this in the html element and inherit from\n * the parent element for everything else. This caused issues\n * in shadow-dom-enhanced elements like <details> where the content\n * is wrapped by a div with box-sizing set to content-box.\n *\n * https://github.com/mozdevs/cssremedy/issues/4\n *\n *\n * 2. Allow adding a border to an element by just adding a border-width.\n *\n * By default, the way the browser specifies that an element should have no\n * border is by setting it's border-style to none in the user-agent\n * stylesheet.\n *\n * In order to easily add borders to elements by just setting the border-width\n * property, we change the default border-style for all elements to solid, and\n * use border-width to hide them instead. This way our border utilities only\n * need to set the border-width property instead of the entire border\n * shorthand, making our border utilities much more straightforward to compose.\n *\n * 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: currentColor; /* 2 */\n}\n\n/*\n * Ensure horizontal rules are visible by default\n */\n\nhr {\n border-top-width: 1px;\n}\n\n/**\n * Undo the border-style: none reset that Normalize applies to images so that\n * our border-{width} utilities have the expected effect.\n *\n * The Normalize reset is unnecessary for us since we default the border-width\n * to 0 on all elements.\n *\n * https://github.com/tailwindcss/tailwindcss/issues/362\n */\n\nimg {\n border-style: solid;\n}\n\ntextarea {\n resize: vertical;\n}\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput:-ms-input-placeholder, textarea:-ms-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\nbutton {\n cursor: pointer;\n}\n\n/**\n * Override legacy focus reset from Normalize with modern Firefox focus styles.\n *\n * This is actually an improvement over the new defaults in Firefox in our testing,\n * as it triggers the better focus styles even for links, which still use a dotted\n * outline in Firefox by default.\n */\n\ntable {\n border-collapse: collapse;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/**\n * Reset links to optimize for opt-in styling instead of\n * opt-out.\n */\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/**\n * Reset form element properties that are easy to forget to\n * style explicitly so you don't inadvertently introduce\n * styles that deviate from your design system. These styles\n * supplement a partial reset that is already applied by\n * normalize.css.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n}\n\n/**\n * Use the configured 'mono' font family for elements that\n * are expected to be rendered with a monospace font, falling\n * back to the system monospace stack if there is no configured\n * 'mono' font family.\n */\n\npre,\ncode,\nkbd,\nsamp {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n/**\n * 1. Make replaced elements display: block by default as that's\n * the behavior you want almost all of the time. Inspired by\n * CSS Remedy, with svg added as well.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n * \n * 2. Add vertical-align: middle to align replaced elements more\n * sensibly by default when overriding display by adding a\n * utility like inline.\n *\n * This can trigger a poorly considered linting error in some\n * tools but is included by design.\n * \n * https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210\n */\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/**\n * Constrain images and videos to the parent width and preserve\n * their intrinsic aspect ratio.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/**\n * Ensure the default browser behavior of the hidden attribute.\n */\n\n*, ::before, ::after{\n --tw-border-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-border-opacity));\n}\n\n.fn-sr-only{\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.fn-relative{\n position: relative;\n}\n\n.fn-mx-auto{\n margin-left: auto;\n margin-right: auto;\n}\n\n.fn-mt-4{\n margin-top: 1rem;\n}\n\n.fn-ml-3{\n margin-left: 0.75rem;\n}\n\n.fn-block{\n display: block;\n}\n\n.fn-flex{\n display: flex;\n}\n\n.fn-inline-flex{\n display: inline-flex;\n}\n\n.fn-hidden{\n display: none;\n}\n\n.fn-w-full{\n width: 100%;\n}\n\n.fn-max-w-4xl{\n max-width: 56rem;\n}\n\n@-webkit-keyframes fn-spin{\n to{\n transform: rotate(360deg);\n }\n}\n\n@keyframes fn-spin{\n to{\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes fn-ping{\n 75%, 100%{\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@keyframes fn-ping{\n 75%, 100%{\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes fn-pulse{\n 50%{\n opacity: .5;\n }\n}\n\n@keyframes fn-pulse{\n 50%{\n opacity: .5;\n }\n}\n\n@-webkit-keyframes fn-bounce{\n 0%, 100%{\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50%{\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n@keyframes fn-bounce{\n 0%, 100%{\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50%{\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n.fn-items-center{\n align-items: center;\n}\n\n.fn-justify-between{\n justify-content: space-between;\n}\n\n.fn-divide-y > :not([hidden]) ~ :not([hidden]){\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n\n.fn-divide-gray-200 > :not([hidden]) ~ :not([hidden]){\n --tw-divide-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-divide-opacity));\n}\n\n.fn-rounded-md{\n border-radius: 0.375rem;\n}\n\n.fn-border{\n border-width: 1px;\n}\n\n.fn-border-t{\n border-top-width: 1px;\n}\n\n.fn-border-gray-200{\n --tw-border-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-border-opacity));\n}\n\n.fn-border-gray-300{\n --tw-border-opacity: 1;\n border-color: rgba(209, 213, 219, var(--tw-border-opacity));\n}\n\n.fn-bg-white{\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.fn-bg-red-400{\n --tw-bg-opacity: 1;\n background-color: rgba(248, 113, 113, var(--tw-bg-opacity));\n}\n\n.fn-p-4{\n padding: 1rem;\n}\n\n.fn-px-4{\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n.fn-py-2{\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.fn-py-3{\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.fn-py-4{\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.fn-text-sm{\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.fn-font-medium{\n font-weight: 500;\n}\n\n.fn-text-gray-700{\n --tw-text-opacity: 1;\n color: rgba(55, 65, 81, var(--tw-text-opacity));\n}\n\n*, ::before, ::after{\n --tw-shadow: 0 0 #0000;\n}\n\n.fn-shadow-sm{\n --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n*, ::before, ::after{\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n}\n\n@media (min-width: 640px){\n}\n\n@media (min-width: 768px){\n}\n\n@media (min-width: 1024px){\n}\n\n@media (min-width: 1280px){\n}\n\n@media (min-width: 1536px){\n}\n");
}();
}();

@@ -25,17 +25,17 @@ "use strict";

__propIsEnum = Object.prototype.propertyIsEnumerable,
__defNormalProp = function __defNormalProp(e, t, n) {
return t in e ? __defProp(e, t, {
__defNormalProp = function __defNormalProp(e, n, t) {
return n in e ? __defProp(e, n, {
enumerable: !0,
configurable: !0,
writable: !0,
value: n
}) : e[t] = n;
value: t
}) : e[n] = t;
},
__spreadValues = function __spreadValues(e, t) {
for (var n in t || (t = {})) {
__hasOwnProp.call(t, n) && __defNormalProp(e, n, t[n]);
__spreadValues = function __spreadValues(e, n) {
for (var t in n || (n = {})) {
__hasOwnProp.call(n, t) && __defNormalProp(e, t, n[t]);
}
if (__getOwnPropSymbols) {
var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(t)),
var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(n)),
_step;

@@ -45,4 +45,4 @@

for (_iterator.s(); !(_step = _iterator.n()).done;) {
var n = _step.value;
__propIsEnum.call(t, n) && __defNormalProp(e, n, t[n]);
var t = _step.value;
__propIsEnum.call(n, t) && __defNormalProp(e, t, n[t]);
}

@@ -58,12 +58,12 @@ } catch (err) {

},
__spreadProps = function __spreadProps(e, t) {
return __defProps(e, __getOwnPropDescs(t));
__spreadProps = function __spreadProps(e, n) {
return __defProps(e, __getOwnPropDescs(n));
},
__async = function __async(e, t, n) {
__async = function __async(e, n, t) {
return new Promise(function (_, r) {
var o = function o(e) {
try {
s(n.next(e));
} catch (t) {
r(t);
s(t.next(e));
} catch (n) {
r(n);
}

@@ -73,5 +73,5 @@ },

try {
s(n["throw"](e));
} catch (t) {
r(t);
s(t["throw"](e));
} catch (n) {
r(n);
}

@@ -83,3 +83,3 @@ },

s((n = n.apply(e, t)).next());
s((t = t.apply(e, n)).next());
});

@@ -94,4 +94,4 @@ };

var e,
n,
t,
n,
_,

@@ -104,5 +104,5 @@ r,

function a(e, t) {
for (var n in t) {
e[n] = t[n];
function a(e, n) {
for (var t in n) {
e[t] = n[t];
}

@@ -114,7 +114,7 @@

function u(e) {
var t = e.parentNode;
t && t.removeChild(e);
var n = e.parentNode;
n && n.removeChild(e);
}
function c(t, n, _) {
function f(n, t, _) {
var r,

@@ -125,13 +125,13 @@ o,

for (l in n) {
"key" == l ? r = n[l] : "ref" == l ? o = n[l] : s[l] = n[l];
for (l in t) {
"key" == l ? r = t[l] : "ref" == l ? o = t[l] : s[l] = t[l];
}
if (arguments.length > 2 && (s.children = arguments.length > 3 ? e.call(arguments, 2) : _), "function" == typeof t && null != t.defaultProps) for (l in t.defaultProps) {
void 0 === s[l] && (s[l] = t.defaultProps[l]);
if (arguments.length > 2 && (s.children = arguments.length > 3 ? e.call(arguments, 2) : _), "function" == typeof n && null != n.defaultProps) for (l in n.defaultProps) {
void 0 === s[l] && (s[l] = n.defaultProps[l]);
}
return f(t, s, r, o, null);
return c(n, s, r, o, null);
}
function f(e, _, r, o, l) {
function c(e, _, r, o, l) {
var s = {

@@ -150,5 +150,5 @@ type: e,

constructor: void 0,
__v: null == l ? ++n : l
__v: null == l ? ++t : l
};
return null != t.vnode && t.vnode(s), s;
return null != n.vnode && n.vnode(s), s;
}

@@ -160,11 +160,11 @@

function d(e, t) {
this.props = e, this.context = t;
function d(e, n) {
this.props = e, this.context = n;
}
function h(e, t) {
if (null == t) return e.__ ? h(e.__, e.__.__k.indexOf(e) + 1) : null;
function h(e, n) {
if (null == n) return e.__ ? h(e.__, e.__.__k.indexOf(e) + 1) : null;
for (var n; t < e.__k.length; t++) {
if (null != (n = e.__k[t]) && null != n.__e) return n.__e;
for (var t; n < e.__k.length; n++) {
if (null != (t = e.__k[n]) && null != t.__e) return t.__e;
}

@@ -176,8 +176,8 @@

function m(e) {
var t, n;
var n, t;
if (null != (e = e.__) && null != e.__c) {
for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) {
if (null != (n = e.__k[t]) && null != n.__e) {
e.__e = e.__c.base = n.__e;
for (e.__e = e.__c.base = null, n = 0; n < e.__k.length; n++) {
if (null != (t = e.__k[n]) && null != t.__e) {
e.__e = e.__c.base = t.__e;
break;

@@ -192,3 +192,3 @@ }

function v(e) {
(!e.__d && (e.__d = !0) && _.push(e) && !y.__r++ || o !== t.debounceRendering) && ((o = t.debounceRendering) || r)(y);
(!e.__d && (e.__d = !0) && _.push(e) && !y.__r++ || o !== n.debounceRendering) && ((o = n.debounceRendering) || r)(y);
}

@@ -198,8 +198,8 @@

for (var e; y.__r = _.length;) {
e = _.sort(function (e, t) {
return e.__v.__b - t.__v.__b;
e = _.sort(function (e, n) {
return e.__v.__b - n.__v.__b;
}), _ = [], e.some(function (e) {
var t, n, _, r, o, l;
var n, t, _, r, o, l;
e.__d && (o = (r = (t = e).__v).__e, (l = t.__P) && (n = [], (_ = a({}, r)).__v = r.__v + 1, P(l, r, _, t.__n, void 0 !== l.ownerSVGElement, null != r.__h ? [o] : null, n, null == o ? h(r) : o, r.__h), S(n, r), r.__e != o && m(r)));
e.__d && (o = (r = (n = e).__v).__e, (l = n.__P) && (t = [], (_ = a({}, r)).__v = r.__v + 1, P(l, r, _, n.__n, void 0 !== l.ownerSVGElement, null != r.__h ? [o] : null, t, null == o ? h(r) : o, r.__h), S(t, r), r.__e != o && m(r)));
});

@@ -209,3 +209,3 @@ }

function g(e, t, n, _, r, o, i, a, u, c) {
function g(e, n, t, _, r, o, i, a, u, f) {
var d,

@@ -221,7 +221,7 @@ m,

for (n.__k = [], d = 0; d < t.length; d++) {
if (null != (y = n.__k[d] = null == (y = t[d]) || "boolean" == typeof y ? null : "string" == typeof y || "number" == typeof y || "bigint" == typeof y ? f(null, y, null, null, y) : Array.isArray(y) ? f(p, {
for (t.__k = [], d = 0; d < n.length; d++) {
if (null != (y = t.__k[d] = null == (y = n[d]) || "boolean" == typeof y ? null : "string" == typeof y || "number" == typeof y || "bigint" == typeof y ? c(null, y, null, null, y) : Array.isArray(y) ? c(p, {
children: y
}, null, null, null) : y.__b > 0 ? f(y.type, y.props, y.key, null, y.__v) : y)) {
if (y.__ = n, y.__b = n.__b + 1, null === (v = E[d]) || v && y.key == v.key && y.type === v.type) E[d] = void 0;else for (m = 0; m < N; m++) {
}, null, null, null) : y.__b > 0 ? c(y.type, y.props, y.key, null, y.__v) : y)) {
if (y.__ = t, y.__b = t.__b + 1, null === (v = E[d]) || v && y.key == v.key && y.type === v.type) E[d] = void 0;else for (m = 0; m < N; m++) {
if ((v = E[m]) && y.key == v.key && y.type === v.type) {

@@ -234,8 +234,8 @@ E[m] = void 0;

}
P(e, y, v = v || l, r, o, i, a, u, c), g = y.__e, (m = y.ref) && v.ref != m && (k || (k = []), v.ref && k.push(v.ref, null, y), k.push(m, y.__c || g, y)), null != g ? (null == w && (w = g), "function" == typeof y.type && null != y.__k && y.__k === v.__k ? y.__d = u = b(y, u, e) : u = x(e, y, v, E, g, u), c || "option" !== n.type ? "function" == typeof n.type && (n.__d = u) : e.value = "") : u && v.__e == u && u.parentNode != e && (u = h(v));
P(e, y, v = v || l, r, o, i, a, u, f), g = y.__e, (m = y.ref) && v.ref != m && (k || (k = []), v.ref && k.push(v.ref, null, y), k.push(m, y.__c || g, y)), null != g ? (null == w && (w = g), "function" == typeof y.type && null != y.__k && y.__k === v.__k ? y.__d = u = b(y, u, e) : u = x(e, y, v, E, g, u), f || "option" !== t.type ? "function" == typeof t.type && (t.__d = u) : e.value = "") : u && v.__e == u && u.parentNode != e && (u = h(v));
}
}
for (n.__e = w, d = N; d--;) {
null != E[d] && ("function" == typeof n.type && null != E[d].__e && E[d].__e == n.__d && (n.__d = h(_, d + 1)), R(E[d], E[d]));
for (t.__e = w, d = N; d--;) {
null != E[d] && ("function" == typeof t.type && null != E[d].__e && E[d].__e == t.__d && (t.__d = h(_, d + 1)), D(E[d], E[d]));
}

@@ -248,15 +248,15 @@

function b(e, t, n) {
function b(e, n, t) {
var _, r;
for (_ = 0; _ < e.__k.length; _++) {
(r = e.__k[_]) && (r.__ = e, t = "function" == typeof r.type ? b(r, t, n) : x(n, r, r, e.__k, r.__e, t));
(r = e.__k[_]) && (r.__ = e, n = "function" == typeof r.type ? b(r, n, t) : x(t, r, r, e.__k, r.__e, n));
}
return t;
return n;
}
function x(e, t, n, _, r, o) {
function x(e, n, t, _, r, o) {
var l, s, i;
if (void 0 !== t.__d) l = t.__d, t.__d = void 0;else if (null == n || r != o || null == r.parentNode) e: if (null == o || o.parentNode !== e) e.appendChild(r), l = null;else {
if (void 0 !== n.__d) l = n.__d, n.__d = void 0;else if (null == t || r != o || null == r.parentNode) e: if (null == o || o.parentNode !== e) e.appendChild(r), l = null;else {
for (s = o, i = 0; (s = s.nextSibling) && i < _.length; i += 2) {

@@ -271,24 +271,24 @@ if (s == r) break e;

function w(e, t, n) {
"-" === t[0] ? e.setProperty(t, n) : e[t] = null == n ? "" : "number" != typeof n || i.test(t) ? n : n + "px";
function w(e, n, t) {
"-" === n[0] ? e.setProperty(n, t) : e[n] = null == t ? "" : "number" != typeof t || i.test(n) ? t : t + "px";
}
function k(e, t, n, _, r) {
function k(e, n, t, _, r) {
var o;
e: if ("style" === t) {
if ("string" == typeof n) e.style.cssText = n;else {
if ("string" == typeof _ && (e.style.cssText = _ = ""), _) for (t in _) {
n && t in n || w(e.style, t, "");
e: if ("style" === n) {
if ("string" == typeof t) e.style.cssText = t;else {
if ("string" == typeof _ && (e.style.cssText = _ = ""), _) for (n in _) {
t && n in t || w(e.style, n, "");
}
if (n) for (t in n) {
_ && n[t] === _[t] || w(e.style, t, n[t]);
if (t) for (n in t) {
_ && t[n] === _[n] || w(e.style, n, t[n]);
}
}
} else if ("o" === t[0] && "n" === t[1]) o = t !== (t = t.replace(/Capture$/, "")), t = t.toLowerCase() in e ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + o] = n, n ? _ || e.addEventListener(t, o ? N : E, o) : e.removeEventListener(t, o ? N : E, o);else if ("dangerouslySetInnerHTML" !== t) {
if (r) t = t.replace(/xlink[H:h]/, "h").replace(/sName$/, "s");else if ("href" !== t && "list" !== t && "form" !== t && "tabIndex" !== t && "download" !== t && t in e) try {
e[t] = null == n ? "" : n;
} else if ("o" === n[0] && "n" === n[1]) o = n !== (n = n.replace(/Capture$/, "")), n = n.toLowerCase() in e ? n.toLowerCase().slice(2) : n.slice(2), e.l || (e.l = {}), e.l[n + o] = t, t ? _ || e.addEventListener(n, o ? N : E, o) : e.removeEventListener(n, o ? N : E, o);else if ("dangerouslySetInnerHTML" !== n) {
if (r) n = n.replace(/xlink[H:h]/, "h").replace(/sName$/, "s");else if ("href" !== n && "list" !== n && "form" !== n && "tabIndex" !== n && "download" !== n && n in e) try {
e[n] = null == t ? "" : t;
break e;
} catch (l) {}
"function" == typeof n || (null != n && (!1 !== n || "a" === t[0] && "r" === t[1]) ? e.setAttribute(t, n) : e.removeAttribute(t));
"function" == typeof t || (null != t && (!1 !== t || "a" === n[0] && "r" === n[1]) ? e.setAttribute(n, t) : e.removeAttribute(n));
}

@@ -298,10 +298,10 @@ }

function E(e) {
this.l[e.type + !1](t.event ? t.event(e) : e);
this.l[e.type + !1](n.event ? n.event(e) : e);
}
function N(e) {
this.l[e.type + !0](t.event ? t.event(e) : e);
this.l[e.type + !0](n.event ? n.event(e) : e);
}
function P(n, _, r, o, s, i, c, f, m) {
function P(t, _, r, o, s, i, f, c, m) {
var v,

@@ -317,14 +317,14 @@ y,

O,
R,
D,
T = _.type;
if (void 0 !== _.constructor) return null;
null != r.__h && (m = r.__h, f = _.__e = r.__e, _.__h = null, i = [f]), (v = t.__b) && v(_);
null != r.__h && (m = r.__h, c = _.__e = r.__e, _.__h = null, i = [c]), (v = n.__b) && v(_);
try {
e: if ("function" == typeof T) {
if (P = _.props, S = (v = T.contextType) && o[v.__c], O = v ? S ? S.props.value : v.__ : o, r.__c ? N = (y = _.__c = r.__c).__ = y.__E : ("prototype" in T && T.prototype.render ? _.__c = y = new T(P, O) : (_.__c = y = new d(P, O), y.constructor = T, y.render = D), S && S.sub(y), y.props = P, y.state || (y.state = {}), y.context = O, y.__n = o, b = y.__d = !0, y.__h = []), null == y.__s && (y.__s = y.state), null != T.getDerivedStateFromProps && (y.__s == y.state && (y.__s = a({}, y.__s)), a(y.__s, T.getDerivedStateFromProps(P, y.__s))), x = y.props, w = y.state, b) null == T.getDerivedStateFromProps && null != y.componentWillMount && y.componentWillMount(), null != y.componentDidMount && y.__h.push(y.componentDidMount);else {
if (P = _.props, S = (v = T.contextType) && o[v.__c], O = v ? S ? S.props.value : v.__ : o, r.__c ? N = (y = _.__c = r.__c).__ = y.__E : ("prototype" in T && T.prototype.render ? _.__c = y = new T(P, O) : (_.__c = y = new d(P, O), y.constructor = T, y.render = R), S && S.sub(y), y.props = P, y.state || (y.state = {}), y.context = O, y.__n = o, b = y.__d = !0, y.__h = []), null == y.__s && (y.__s = y.state), null != T.getDerivedStateFromProps && (y.__s == y.state && (y.__s = a({}, y.__s)), a(y.__s, T.getDerivedStateFromProps(P, y.__s))), x = y.props, w = y.state, b) null == T.getDerivedStateFromProps && null != y.componentWillMount && y.componentWillMount(), null != y.componentDidMount && y.__h.push(y.componentDidMount);else {
if (null == T.getDerivedStateFromProps && P !== x && null != y.componentWillReceiveProps && y.componentWillReceiveProps(P, O), !y.__e && null != y.shouldComponentUpdate && !1 === y.shouldComponentUpdate(P, y.__s, O) || _.__v === r.__v) {
y.props = P, y.state = y.__s, _.__v !== r.__v && (y.__d = !1), y.__v = _, _.__e = r.__e, _.__k = r.__k, _.__k.forEach(function (e) {
e && (e.__ = _);
}), y.__h.length && c.push(y);
}), y.__h.length && f.push(y);
break e;

@@ -337,14 +337,14 @@ }

}
y.context = O, y.props = P, y.state = y.__s, (v = t.__r) && v(_), y.__d = !1, y.__v = _, y.__P = n, v = y.render(y.props, y.state, y.context), y.state = y.__s, null != y.getChildContext && (o = a(a({}, o), y.getChildContext())), b || null == y.getSnapshotBeforeUpdate || (E = y.getSnapshotBeforeUpdate(x, w)), R = null != v && v.type === p && null == v.key ? v.props.children : v, g(n, Array.isArray(R) ? R : [R], _, r, o, s, i, c, f, m), y.base = _.__e, _.__h = null, y.__h.length && c.push(y), N && (y.__E = y.__ = null), y.__e = !1;
} else null == i && _.__v === r.__v ? (_.__k = r.__k, _.__e = r.__e) : _.__e = function (t, n, _, r, o, s, i, a) {
var c,
f,
y.context = O, y.props = P, y.state = y.__s, (v = n.__r) && v(_), y.__d = !1, y.__v = _, y.__P = t, v = y.render(y.props, y.state, y.context), y.state = y.__s, null != y.getChildContext && (o = a(a({}, o), y.getChildContext())), b || null == y.getSnapshotBeforeUpdate || (E = y.getSnapshotBeforeUpdate(x, w)), D = null != v && v.type === p && null == v.key ? v.props.children : v, g(t, Array.isArray(D) ? D : [D], _, r, o, s, i, f, c, m), y.base = _.__e, _.__h = null, y.__h.length && f.push(y), N && (y.__E = y.__ = null), y.__e = !1;
} else null == i && _.__v === r.__v ? (_.__k = r.__k, _.__e = r.__e) : _.__e = function (n, t, _, r, o, s, i, a) {
var f,
c,
p,
d = _.props,
m = n.props,
v = n.type,
m = t.props,
v = t.type,
y = 0;
if ("svg" === v && (o = !0), null != s) for (; y < s.length; y++) {
if ((c = s[y]) && (c === t || (v ? c.localName == v : 3 == c.nodeType))) {
t = c, s[y] = null;
if ((f = s[y]) && (f === n || (v ? f.localName == v : 3 == f.nodeType))) {
n = f, s[y] = null;
break;

@@ -354,47 +354,47 @@ }

if (null == t) {
if (null == n) {
if (null === v) return document.createTextNode(m);
t = o ? document.createElementNS("http://www.w3.org/2000/svg", v) : document.createElement(v, m.is && m), s = null, a = !1;
n = o ? document.createElementNS("http://www.w3.org/2000/svg", v) : document.createElement(v, m.is && m), s = null, a = !1;
}
if (null === v) d === m || a && t.data === m || (t.data = m);else {
if (s = s && e.call(t.childNodes), f = (d = _.props || l).dangerouslySetInnerHTML, p = m.dangerouslySetInnerHTML, !a) {
if (null != s) for (d = {}, y = 0; y < t.attributes.length; y++) {
d[t.attributes[y].name] = t.attributes[y].value;
if (null === v) d === m || a && n.data === m || (n.data = m);else {
if (s = s && e.call(n.childNodes), c = (d = _.props || l).dangerouslySetInnerHTML, p = m.dangerouslySetInnerHTML, !a) {
if (null != s) for (d = {}, y = 0; y < n.attributes.length; y++) {
d[n.attributes[y].name] = n.attributes[y].value;
}
(p || f) && (p && (f && p.__html == f.__html || p.__html === t.innerHTML) || (t.innerHTML = p && p.__html || ""));
(p || c) && (p && (c && p.__html == c.__html || p.__html === n.innerHTML) || (n.innerHTML = p && p.__html || ""));
}
if (function (e, t, n, _, r) {
if (function (e, n, t, _, r) {
var o;
for (o in n) {
"children" === o || "key" === o || o in t || k(e, o, null, n[o], _);
for (o in t) {
"children" === o || "key" === o || o in n || k(e, o, null, t[o], _);
}
for (o in t) {
r && "function" != typeof t[o] || "children" === o || "key" === o || "value" === o || "checked" === o || n[o] === t[o] || k(e, o, t[o], n[o], _);
for (o in n) {
r && "function" != typeof n[o] || "children" === o || "key" === o || "value" === o || "checked" === o || t[o] === n[o] || k(e, o, n[o], t[o], _);
}
}(t, m, d, o, a), p) n.__k = [];else if (y = n.props.children, g(t, Array.isArray(y) ? y : [y], n, _, r, o && "foreignObject" !== v, s, i, s ? s[0] : _.__k && h(_, 0), a), null != s) for (y = s.length; y--;) {
}(n, m, d, o, a), p) t.__k = [];else if (y = t.props.children, g(n, Array.isArray(y) ? y : [y], t, _, r, o && "foreignObject" !== v, s, i, s ? s[0] : _.__k && h(_, 0), a), null != s) for (y = s.length; y--;) {
null != s[y] && u(s[y]);
}
a || ("value" in m && void 0 !== (y = m.value) && (y !== t.value || "progress" === v && !y) && k(t, "value", y, d.value, !1), "checked" in m && void 0 !== (y = m.checked) && y !== t.checked && k(t, "checked", y, d.checked, !1));
a || ("value" in m && void 0 !== (y = m.value) && (y !== n.value || "progress" === v && !y) && k(n, "value", y, d.value, !1), "checked" in m && void 0 !== (y = m.checked) && y !== n.checked && k(n, "checked", y, d.checked, !1));
}
return t;
}(r.__e, _, r, o, s, i, c, m);
return n;
}(r.__e, _, r, o, s, i, f, m);
(v = t.diffed) && v(_);
(v = n.diffed) && v(_);
} catch (A) {
_.__v = null, (m || null != i) && (_.__e = f, _.__h = !!m, i[i.indexOf(f)] = null), t.__e(A, _, r);
_.__v = null, (m || null != i) && (_.__e = c, _.__h = !!m, i[i.indexOf(c)] = null), n.__e(A, _, r);
}
}
function S(e, n) {
t.__c && t.__c(n, e), e.some(function (n) {
function S(e, t) {
n.__c && n.__c(t, e), e.some(function (t) {
try {
e = n.__h, n.__h = [], e.some(function (e) {
e.call(n);
e = t.__h, t.__h = [], e.some(function (e) {
e.call(t);
});
} catch (_) {
t.__e(_, n.__v);
n.__e(_, t.__v);
}

@@ -404,18 +404,18 @@ });

function O(e, n, _) {
function O(e, t, _) {
try {
"function" == typeof e ? e(n) : e.current = n;
"function" == typeof e ? e(t) : e.current = t;
} catch (r) {
t.__e(r, _);
n.__e(r, _);
}
}
function R(e, n, _) {
function D(e, t, _) {
var r, o;
if (t.unmount && t.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || O(r, null, n)), null != (r = e.__c)) {
if (n.unmount && n.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || O(r, null, t)), null != (r = e.__c)) {
if (r.componentWillUnmount) try {
r.componentWillUnmount();
} catch (l) {
t.__e(l, n);
n.__e(l, t);
}

@@ -426,3 +426,3 @@ r.base = r.__P = null;

if (r = e.__k) for (o = 0; o < r.length; o++) {
r[o] && R(r[o], n, "function" != typeof e.type);
r[o] && D(r[o], t, "function" != typeof e.type);
}

@@ -432,11 +432,11 @@ _ || null == e.__e || u(e.__e), e.__e = e.__d = void 0;

function D(e, t, n) {
return this.constructor(e, n);
function R(e, n, t) {
return this.constructor(e, t);
}
e = s.slice, t = {
__e: function __e(e, t) {
for (var n, _, r; t = t.__;) {
if ((n = t.__c) && !n.__) try {
if ((_ = n.constructor) && null != _.getDerivedStateFromError && (n.setState(_.getDerivedStateFromError(e)), r = n.__d), null != n.componentDidCatch && (n.componentDidCatch(e), r = n.__d), r) return n.__E = n;
e = s.slice, n = {
__e: function __e(e, n) {
for (var t, _, r; n = n.__;) {
if ((t = n.__c) && !t.__) try {
if ((_ = t.constructor) && null != _.getDerivedStateFromError && (t.setState(_.getDerivedStateFromError(e)), r = t.__d), null != t.componentDidCatch && (t.componentDidCatch(e), r = t.__d), r) return t.__E = t;
} catch (o) {

@@ -449,5 +449,5 @@ e = o;

}
}, n = 0, d.prototype.setState = function (e, t) {
var n;
n = null != this.__s && this.__s !== this.state ? this.__s : this.__s = a({}, this.state), "function" == typeof e && (e = e(a({}, n), this.props)), e && a(n, e), null != e && this.__v && (t && this.__h.push(t), v(this));
}, t = 0, d.prototype.setState = function (e, n) {
var t;
t = null != this.__s && this.__s !== this.state ? this.__s : this.__s = a({}, this.state), "function" == typeof e && (e = e(a({}, t), this.props)), e && a(t, e), null != e && this.__v && (n && this.__h.push(n), v(this));
}, d.prototype.forceUpdate = function (e) {

@@ -459,12 +459,12 @@ this.__v && (this.__e = !0, e && this.__h.push(e), v(this));

H,
U = 0,
L = [],
C = t.__b,
j = t.__r,
F = t.diffed,
M = t.__c,
V = t.unmount;
L = 0,
U = [],
j = n.__b,
C = n.__r,
F = n.diffed,
M = n.__c,
V = n.unmount;
function I(e, n) {
t.__h && t.__h(A, e, U || n), U = 0;
function I(e, t) {
n.__h && n.__h(A, e, L || t), L = 0;

@@ -480,48 +480,48 @@ var _ = A.__H || (A.__H = {

function q() {
L.forEach(function (e) {
U.forEach(function (e) {
if (e.__P) try {
e.__H.__h.forEach($), e.__H.__h.forEach(z), e.__H.__h = [];
} catch (n) {
e.__H.__h = [], t.__e(n, e.__v);
e.__H.__h.forEach(Q), e.__H.__h.forEach(z), e.__H.__h = [];
} catch (t) {
e.__H.__h = [], n.__e(t, e.__v);
}
}), L = [];
}), U = [];
}
t.__b = function (e) {
A = null, C && C(e);
}, t.__r = function (e) {
j && j(e), T = 0;
var t = (A = e.__c).__H;
t && (t.__h.forEach($), t.__h.forEach(z), t.__h = []);
}, t.diffed = function (e) {
n.__b = function (e) {
A = null, j && j(e);
}, n.__r = function (e) {
C && C(e), T = 0;
var n = (A = e.__c).__H;
n && (n.__h.forEach(Q), n.__h.forEach(z), n.__h = []);
}, n.diffed = function (e) {
F && F(e);
var n = e.__c;
n && n.__H && n.__H.__h.length && (1 !== L.push(n) && H === t.requestAnimationFrame || ((H = t.requestAnimationFrame) || function (e) {
var t,
n = function n() {
clearTimeout(_), Q && cancelAnimationFrame(t), setTimeout(e);
var t = e.__c;
t && t.__H && t.__H.__h.length && (1 !== U.push(t) && H === n.requestAnimationFrame || ((H = n.requestAnimationFrame) || function (e) {
var n,
t = function t() {
clearTimeout(_), $ && cancelAnimationFrame(n), setTimeout(e);
},
_ = setTimeout(n, 100);
_ = setTimeout(t, 100);
Q && (t = requestAnimationFrame(n));
$ && (n = requestAnimationFrame(t));
})(q)), A = void 0;
}, t.__c = function (e, n) {
n.some(function (e) {
}, n.__c = function (e, t) {
t.some(function (e) {
try {
e.__h.forEach($), e.__h = e.__h.filter(function (e) {
e.__h.forEach(Q), e.__h = e.__h.filter(function (e) {
return !e.__ || z(e);
});
} catch (_) {
n.some(function (e) {
t.some(function (e) {
e.__h && (e.__h = []);
}), n = [], t.__e(_, e.__v);
}), t = [], n.__e(_, e.__v);
}
}), M && M(e, n);
}, t.unmount = function (e) {
}), M && M(e, t);
}, n.unmount = function (e) {
V && V(e);
var n = e.__c;
if (n && n.__H) try {
n.__H.__.forEach($);
var t = e.__c;
if (t && t.__H) try {
t.__H.__.forEach(Q);
} catch (_) {
t.__e(_, n.__v);
n.__e(_, t.__v);
}

@@ -531,16 +531,16 @@ };

B,
Q = "function" == typeof requestAnimationFrame;
$ = "function" == typeof requestAnimationFrame;
function $(e) {
var t = A;
"function" == typeof e.__c && e.__c(), A = t;
function Q(e) {
var n = A;
"function" == typeof e.__c && e.__c(), A = n;
}
function z(e) {
var t = A;
e.__c = e.__(), A = t;
var n = A;
e.__c = e.__(), A = n;
}
function G(e, t) {
return "function" == typeof t ? t(e) : t;
function G(e, n) {
return "function" == typeof n ? n(e) : n;
}

@@ -562,8 +562,8 @@

},
K = function K(e, t) {
switch (console.log(t), t.type) {
K = function K(e, n) {
switch (console.log(n), n.type) {
case W.UPVOTE:
return __spreadProps(__spreadValues({}, e), {
data: __spreadProps(__spreadValues({}, e.data), _defineProperty({}, t.id, __spreadProps(__spreadValues({}, e.data[t.id]), {
votes: e.data[t.id].votes_count + 1
data: __spreadProps(__spreadValues({}, e.data), _defineProperty({}, n.id, __spreadProps(__spreadValues({}, e.data[n.id]), {
votes: e.data[n.id].votes_count + 1
})))

@@ -574,5 +574,5 @@ });

return __spreadProps(__spreadValues({}, e), {
data: t.response.data,
meta: t.response.meta,
links: t.response.links
data: n.response.data,
meta: n.response.meta,
links: n.response.links
});

@@ -582,7 +582,7 @@

return __spreadProps(__spreadValues({}, e), {
error: t.error
error: n.error
});
default:
throw new Error("Unexpected action: " + JSON.stringify(t));
throw new Error("Unexpected action: " + JSON.stringify(n));
}

@@ -592,11 +592,11 @@ };

function X(e) {
var t = e.featureRequest;
return c("div", {
var n = e.featureRequest;
return f("div", {
className: "flex py-6 px-4 sm:px-6 gap-4"
}, c("div", {
}, f("div", {
className: "flex flex-col w-10 items-center"
}, c("button", {
}, f("button", {
type: "button",
className: "flex flex-col items-center rounded-full text-gray-400 hover:text-green-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-400 text-sm"
}, c("svg", {
}, f("svg", {
xmlns: "http://www.w3.org/2000/svg",

@@ -607,23 +607,23 @@ viewBox: "0 0 20 20",

"aria-hidden": "true"
}, c("path", {
}, f("path", {
fillRule: "evenodd",
d: "M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",
clipRule: "evenodd"
}))), c("div", {
}))), f("div", {
className: "text-gray-500"
})), c("div", {
})), f("div", {
className: "flex flex-col flex-grow justify-between truncate"
}, c("div", {
}, f("div", {
className: "text-md text-gray-700 font-semibold truncate"
}, t.title), c("div", {
}, n.title), f("div", {
className: "text-sm text-gray-700 truncate"
}, t.description), c("div", {
}, n.description), f("div", {
className: "flex justify-between mt-2"
}, c("div", {
}, f("div", {
className: "flex gap-2"
}, c("span", {
}, f("span", {
className: "inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800 "
}, "boombox")), c("div", {
}, "boombox")), f("div", {
className: "flex text-gray-500 text-sm"
}, t.votes_count, c("svg", {
}, n.votes_count, f("svg", {
xmlns: "http://www.w3.org/2000/svg",

@@ -634,3 +634,3 @@ fill: "none",

className: "w-5 h-5"
}, c("path", {
}, f("path", {
strokeLinecap: "round",

@@ -646,17 +646,19 @@ strokeLinejoin: "round",

var n = e.options.project,
_ref = (o = K, l = J, (i = I(T++, 2)).t = o, i.__c || (i.__ = [s ? s(l) : G(void 0, l), function (e) {
var t = i.t(i.__[0], e);
i.__[0] !== t && (i.__ = [t, i.__[1]], i.__c.setState({}));
}], i.__c = A), i.__),
var _e$options = e.options,
t = _e$options.workspace,
_ = _e$options.projects,
_ref = (l = K, s = J, (a = I(T++, 2)).t = l, a.__c || (a.__ = [i ? i(s) : G(void 0, s), function (e) {
var n = a.t(a.__[0], e);
a.__[0] !== n && (a.__ = [n, a.__[1]], a.__c.setState({}));
}], a.__c = A), a.__),
_ref2 = _slicedToArray(_ref, 2),
_ = _ref2[0],
r = _ref2[1];
r = _ref2[0],
o = _ref2[1];
var o, l, s, i;
var a = _.error,
u = _.data,
f = _.meta,
p = _.links;
return function (e, n) {
var l, s, i, a;
var u = r.error,
c = r.data,
p = r.meta,
d = r.links;
return function (e, t) {
var _,

@@ -666,9 +668,9 @@ r,

!t.__s && (_ = o.__H, r = n, !_ || _.length !== r.length || r.some(function (e, t) {
return e !== _[t];
})) && (o.__ = e, o.__H = n, A.__H.__h.push(o));
!n.__s && (_ = o.__H, r = t, !_ || _.length !== r.length || r.some(function (e, n) {
return e !== _[n];
})) && (o.__ = e, o.__H = t, A.__H.__h.push(o));
}(function () {
(function () {
__async(_this, null, /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
var e, t, _t;
var e, n, _n2;

@@ -680,3 +682,3 @@ return regeneratorRuntime.wrap(function _callee$(_context) {

_context.next = 2;
return fetch("https://".concat(n, ".feature.ninja/api/feature-requests"));
return fetch("https://api.feature.ninja/workspaces/".concat(t, "/feature-requests").concat(_ ? "?projects=".concat(_.join(",")) : ""));

@@ -689,3 +691,3 @@ case 2:

case 5:
t = _context.sent;
n = _context.sent;

@@ -697,5 +699,5 @@ if (!e.ok) {

r({
o({
type: W.FEATURE_REQUESTS_LOADED,
response: t
response: n
});

@@ -710,4 +712,4 @@ _context.next = 14;

case 12:
_t = _context.sent;
console.error("Error loading feature requests, response was:", _t), r({
_n2 = _context.sent;
console.error("Error loading feature requests, response was:", _n2), o({
type: W.HANDLE_ERROR,

@@ -725,42 +727,42 @@ error: new Error("Oops, something went wrong when loading the feature requests...")

})();
}, [n]), c("div", {
className: "max-w-4xl mx-auto sm:px-6 lg:px-8"
}, a && c("div", {
className: "bg-red-400"
}, a.message), c("div", {
className: "py-4 px-4"
}, c("span", {
className: "sr-only"
}, "Search..."), c("input", {
}, [t, _]), f("div", {
className: "fn-max-w-4xl fn-mx-auto fn-sm:px-6 fn-lg:px-8"
}, u && f("div", {
className: "fn-bg-red-400"
}, u.message), f("div", {
className: "fn-py-4 fn-px-4"
}, f("span", {
className: "fn-sr-only"
}, "Search..."), f("input", {
type: "text",
className: "shadow-sm focus:ring-green-400 focus:border-green-400 block p-4 w-full border-gray-300 rounded-md ",
className: "fn-shadow-sm fn-focus:ring-green-400 fn-focus:border-green-400 fn-block fn-p-4 fn-w-full fn-border-gray-300 fn-rounded-md ",
placeholder: "Search..."
})), c("div", {
className: "divide-y divide-gray-200 mt-4"
}, Object.values(u).map(function (e) {
return c(X, {
})), f("div", {
className: "fn-divide-y fn-divide-gray-200 fn-mt-4"
}, Object.values(c).map(function (e) {
return f(X, {
key: e.id,
featureRequest: e
});
})), c("nav", {
className: "bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6",
})), f("nav", {
className: "fn-bg-white fn-px-4 fn-py-3 fn-flex fn-items-center fn-justify-between fn-border-t fn-border-gray-200 fn-sm:px-6",
"aria-label": "Pagination"
}, c("div", {
className: "hidden sm:block"
}, c("p", {
className: "text-sm text-gray-700"
}, "Showing ", c("span", {
className: "font-medium"
}, f.from), " to", " ", c("span", {
className: "font-medium"
}, f.to), " of", " ", c("span", {
className: "font-medium"
}, f.total), " results")), c("div", {
className: "flex-1 flex justify-between sm:justify-end"
}, c("button", {
className: "relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-25",
disabled: null === p.prev
}, "Previous"), c("button", {
className: "ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-25",
disabled: null === p.next
}, f("div", {
className: "fn-hidden fn-sm:block"
}, f("p", {
className: "fn-text-sm fn-text-gray-700"
}, "Showing ", f("span", {
className: "fn-font-medium"
}, p.from), " to", " ", f("span", {
className: "fn-font-medium"
}, p.to), " of", " ", f("span", {
className: "fn-font-medium"
}, p.total), " results")), f("div", {
className: "fn-fn-flex-1 fn-fn-flex fn-fn-justify-between fn-fn-sm:justify-end"
}, f("button", {
className: "fn-relative fn-inline-flex fn-items-center fn-px-4 fn-py-2 fn-border fn-border-gray-300 fn-text-sm fn-font-medium fn-rounded-md fn-text-gray-700 fn-bg-white fn-hover:bg-gray-50 fn-disabled:opacity-25",
disabled: null === d.prev
}, "Previous"), f("button", {
className: "fn-ml-3 fn-relative fn-inline-flex fn-items-center fn-px-4 fn-py-2 fn-border fn-border-gray-300 fn-text-sm fn-font-medium fn-rounded-md fn-text-gray-700 fn-bg-white fn-hover:bg-gray-50 fn-disabled:opacity-25",
disabled: null === d.next
}, "Next"))));

@@ -771,12 +773,14 @@ }

function ee(n) {
var _ = __spreadValues(__spreadValues({}, {
elementId: "feature-ninja-widget"
}), n);
function ee(t) {
window.addEventListener("DOMContentLoaded", function () {
var _ = __spreadValues(__spreadValues({}, {
elementId: "feature-ninja-widget"
}), t);
var r = document.getElementById(_.elementId);
var o, s, i, a, u, f;
r || (r = document.createElement("div"), r.id = _.elementId, Z ? Z.insertBefore(r, Z) : document.body.appendChild(r)), o = c(Y, {
options: _
}), s = r, t.__ && t.__(o, s), u = (a = "function" == typeof i) ? null : i && i.__k || s.__k, f = [], P(s, o = (!a && i || s).__k = c(p, null, [o]), u || l, l, void 0 !== s.ownerSVGElement, !a && i ? [i] : u ? null : s.firstChild ? e.call(s.childNodes) : null, f, !a && i ? i : u ? u.__e : s.firstChild, a), S(f, o);
var r = document.getElementById(_.elementId);
var o, s, i, a, u, c;
r || (r = document.createElement("div"), r.id = _.elementId, Z ? Z.insertBefore(r, Z) : document.body.appendChild(r)), o = f(Y, {
options: _
}), s = r, n.__ && n.__(o, s), u = (a = "function" == typeof i) ? null : i && i.__k || s.__k, c = [], P(s, o = (!a && i || s).__k = f(p, null, [o]), u || l, l, void 0 !== s.ownerSVGElement, !a && i ? [i] : u ? null : s.firstChild ? e.call(s.childNodes) : null, c, !a && i ? i : u ? u.__e : s.firstChild, a), S(c, o);
});
}

@@ -818,4 +822,4 @@

;
styleInject("@import url('https://rsms.me/inter/inter.css');\n\n/*! tailwindcss v2.2.15 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n\n/*\nDocument\n========\n*/\n\n/**\nUse a better box model (opinionated).\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\n\n/**\nUse a more readable tab size (opinionated).\n*/\n\nhtml {\n -moz-tab-size: 4;\n -o-tab-size: 4;\n tab-size: 4;\n}\n\n/**\n1. Correct the line height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n*/\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/*\nSections\n========\n*/\n\n/**\nRemove the margin in all browsers.\n*/\n\nbody {\n margin: 0;\n}\n\n/**\nImprove consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n*/\n\nbody {\n font-family:\n\t\tsystem-ui,\n\t\t-apple-system, /* Firefox supports this but not yet system-ui */\n\t\t'Segoe UI',\n\t\tRoboto,\n\t\tHelvetica,\n\t\tArial,\n\t\tsans-serif,\n\t\t'Apple Color Emoji',\n\t\t'Segoe UI Emoji';\n}\n\n/*\nGrouping content\n================\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)\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n}\n\n/*\nText-level semantics\n====================\n*/\n\n/**\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr[title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/**\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n2. Correct the odd 'em' font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family:\n\t\tui-monospace,\n\t\tSFMono-Regular,\n\t\tConsolas,\n\t\t'Liberation Mono',\n\t\tMenlo,\n\t\tmonospace; /* 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/*\nTabular data\n============\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)\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n}\n\n/*\nForms\n=====\n*/\n\n/**\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\nRemove the inheritance of text transform in Edge and Firefox.\n1. Remove the inheritance of text transform in Firefox.\n*/\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\nCorrect the inability to style clickable types in iOS and Safari.\n*/\n\nbutton,\n[type='button'] {\n -webkit-appearance: button;\n}\n\n/**\nRemove the inner border and padding in Firefox.\n*/\n\n/**\nRestore the focus styles unset by the previous rule.\n*/\n\n/**\nRemove the additional ':invalid' styles in Firefox.\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\n*/\n\n/**\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\n*/\n\nlegend {\n padding: 0;\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/**\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n/**\nRemove the inner padding in Chrome and Safari on macOS.\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/*\nInteractive\n===========\n*/\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/**\n * Manually forked from SUIT CSS Base: https://github.com/suitcss/base\n * A thin layer on top of normalize.css that provides a starting point more\n * suitable for web applications.\n */\n\n/**\n * Removes 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\nbutton {\n background-color: transparent;\n background-image: none;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/**\n * Tailwind custom reset styles\n */\n\n/**\n * 1. Use the user's configured sans font-family (with Tailwind's default\n * sans-serif font stack as a fallback) as a sane default.\n * 2. Use Tailwind's default \"normal\" line-height so the user isn't forced\n * to override it to ensure consistency even when using the default theme.\n */\n\nhtml {\n font-family: Inter var, 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\"; /* 1 */\n line-height: 1.5; /* 2 */\n}\n\n/**\n * Inherit font-family and line-height from html so users can set them as\n * a class directly on the html element.\n */\n\nbody {\n font-family: inherit;\n line-height: inherit;\n}\n\n/**\n * 1. Prevent padding and border from affecting element width.\n *\n * We used to set this in the html element and inherit from\n * the parent element for everything else. This caused issues\n * in shadow-dom-enhanced elements like <details> where the content\n * is wrapped by a div with box-sizing set to content-box.\n *\n * https://github.com/mozdevs/cssremedy/issues/4\n *\n *\n * 2. Allow adding a border to an element by just adding a border-width.\n *\n * By default, the way the browser specifies that an element should have no\n * border is by setting it's border-style to none in the user-agent\n * stylesheet.\n *\n * In order to easily add borders to elements by just setting the border-width\n * property, we change the default border-style for all elements to solid, and\n * use border-width to hide them instead. This way our border utilities only\n * need to set the border-width property instead of the entire border\n * shorthand, making our border utilities much more straightforward to compose.\n *\n * 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: currentColor; /* 2 */\n}\n\n/*\n * Ensure horizontal rules are visible by default\n */\n\nhr {\n border-top-width: 1px;\n}\n\n/**\n * Undo the border-style: none reset that Normalize applies to images so that\n * our border-{width} utilities have the expected effect.\n *\n * The Normalize reset is unnecessary for us since we default the border-width\n * to 0 on all elements.\n *\n * https://github.com/tailwindcss/tailwindcss/issues/362\n */\n\nimg {\n border-style: solid;\n}\n\ntextarea {\n resize: vertical;\n}\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput:-ms-input-placeholder, textarea:-ms-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\nbutton {\n cursor: pointer;\n}\n\n/**\n * Override legacy focus reset from Normalize with modern Firefox focus styles.\n *\n * This is actually an improvement over the new defaults in Firefox in our testing,\n * as it triggers the better focus styles even for links, which still use a dotted\n * outline in Firefox by default.\n */\n\ntable {\n border-collapse: collapse;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/**\n * Reset links to optimize for opt-in styling instead of\n * opt-out.\n */\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/**\n * Reset form element properties that are easy to forget to\n * style explicitly so you don't inadvertently introduce\n * styles that deviate from your design system. These styles\n * supplement a partial reset that is already applied by\n * normalize.css.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n}\n\n/**\n * Use the configured 'mono' font family for elements that\n * are expected to be rendered with a monospace font, falling\n * back to the system monospace stack if there is no configured\n * 'mono' font family.\n */\n\npre,\ncode,\nkbd,\nsamp {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n/**\n * 1. Make replaced elements display: block by default as that's\n * the behavior you want almost all of the time. Inspired by\n * CSS Remedy, with svg added as well.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n * \n * 2. Add vertical-align: middle to align replaced elements more\n * sensibly by default when overriding display by adding a\n * utility like inline.\n *\n * This can trigger a poorly considered linting error in some\n * tools but is included by design.\n * \n * https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210\n */\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/**\n * Constrain images and videos to the parent width and preserve\n * their intrinsic aspect ratio.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/**\n * Ensure the default browser behavior of the hidden attribute.\n */\n\n[hidden] {\n display: none;\n}\n\n*, ::before, ::after{\n --tw-border-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-border-opacity));\n}\n\n.sr-only{\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.relative{\n position: relative;\n}\n\n.-m-2{\n margin: -0.5rem;\n}\n\n.mx-auto{\n margin-left: auto;\n margin-right: auto;\n}\n\n.mt-2{\n margin-top: 0.5rem;\n}\n\n.mt-4{\n margin-top: 1rem;\n}\n\n.ml-3{\n margin-left: 0.75rem;\n}\n\n.block{\n display: block;\n}\n\n.flex{\n display: flex;\n}\n\n.inline-flex{\n display: inline-flex;\n}\n\n.table{\n display: table;\n}\n\n.hidden{\n display: none;\n}\n\n.h-5{\n height: 1.25rem;\n}\n\n.h-12{\n height: 3rem;\n}\n\n.w-5{\n width: 1.25rem;\n}\n\n.w-10{\n width: 2.5rem;\n}\n\n.w-12{\n width: 3rem;\n}\n\n.w-full{\n width: 100%;\n}\n\n.max-w-4xl{\n max-width: 56rem;\n}\n\n.flex-1{\n flex: 1 1 0%;\n}\n\n.flex-grow{\n flex-grow: 1;\n}\n\n.transform{\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 transform: translateX(var(--tw-translate-x)) translateY(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\n@-webkit-keyframes spin{\n to{\n transform: rotate(360deg);\n }\n}\n\n@keyframes spin{\n to{\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes ping{\n 75%, 100%{\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@keyframes ping{\n 75%, 100%{\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes pulse{\n 50%{\n opacity: .5;\n }\n}\n\n@keyframes pulse{\n 50%{\n opacity: .5;\n }\n}\n\n@-webkit-keyframes bounce{\n 0%, 100%{\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50%{\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n@keyframes bounce{\n 0%, 100%{\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50%{\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n.flex-col{\n flex-direction: column;\n}\n\n.items-center{\n align-items: center;\n}\n\n.justify-between{\n justify-content: space-between;\n}\n\n.gap-2{\n gap: 0.5rem;\n}\n\n.gap-4{\n gap: 1rem;\n}\n\n.divide-y > :not([hidden]) ~ :not([hidden]){\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n\n.divide-gray-200 > :not([hidden]) ~ :not([hidden]){\n --tw-divide-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-divide-opacity));\n}\n\n.truncate{\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.rounded{\n border-radius: 0.25rem;\n}\n\n.rounded-md{\n border-radius: 0.375rem;\n}\n\n.rounded-full{\n border-radius: 9999px;\n}\n\n.border{\n border-width: 1px;\n}\n\n.border-t{\n border-top-width: 1px;\n}\n\n.border-gray-200{\n --tw-border-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-border-opacity));\n}\n\n.border-gray-300{\n --tw-border-opacity: 1;\n border-color: rgba(209, 213, 219, var(--tw-border-opacity));\n}\n\n.focus:border-green-400:focus{\n --tw-border-opacity: 1;\n border-color: rgba(52, 211, 153, var(--tw-border-opacity));\n}\n\n.bg-white{\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bg-red-400{\n --tw-bg-opacity: 1;\n background-color: rgba(248, 113, 113, var(--tw-bg-opacity));\n}\n\n.bg-yellow-100{\n --tw-bg-opacity: 1;\n background-color: rgba(254, 243, 199, var(--tw-bg-opacity));\n}\n\n.hover:bg-gray-50:hover{\n --tw-bg-opacity: 1;\n background-color: rgba(249, 250, 251, var(--tw-bg-opacity));\n}\n\n.p-4{\n padding: 1rem;\n}\n\n.px-2{\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.px-4{\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n.py-0{\n padding-top: 0px;\n padding-bottom: 0px;\n}\n\n.py-2{\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.py-3{\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.py-4{\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.py-6{\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n}\n\n.py-0.5{\n padding-top: 0.125rem;\n padding-bottom: 0.125rem;\n}\n\n.text-xs{\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.text-sm{\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.font-medium{\n font-weight: 500;\n}\n\n.font-semibold{\n font-weight: 600;\n}\n\n.text-gray-400{\n --tw-text-opacity: 1;\n color: rgba(156, 163, 175, var(--tw-text-opacity));\n}\n\n.text-gray-500{\n --tw-text-opacity: 1;\n color: rgba(107, 114, 128, var(--tw-text-opacity));\n}\n\n.text-gray-700{\n --tw-text-opacity: 1;\n color: rgba(55, 65, 81, var(--tw-text-opacity));\n}\n\n.text-yellow-800{\n --tw-text-opacity: 1;\n color: rgba(146, 64, 14, var(--tw-text-opacity));\n}\n\n.hover:text-green-400:hover{\n --tw-text-opacity: 1;\n color: rgba(52, 211, 153, var(--tw-text-opacity));\n}\n\n*, ::before, ::after{\n --tw-shadow: 0 0 #0000;\n}\n\n.shadow-sm{\n --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus:outline-none:focus{\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n*, ::before, ::after{\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n}\n\n.focus:ring-2:focus{\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus:ring-green-400:focus{\n --tw-ring-opacity: 1;\n --tw-ring-color: rgba(52, 211, 153, var(--tw-ring-opacity));\n}\n\n.focus:ring-offset-2:focus{\n --tw-ring-offset-width: 2px;\n}\n\n@media (min-width: 640px){\n .sm:block{\n display: block;\n }\n\n .sm:justify-end{\n justify-content: flex-end;\n }\n\n .sm:px-6{\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n }\n}\n\n@media (min-width: 768px){\n}\n\n@media (min-width: 1024px){\n .lg:px-8{\n padding-left: 2rem;\n padding-right: 2rem;\n }\n}\n\n@media (min-width: 1280px){\n}\n\n@media (min-width: 1536px){\n}\n");
styleInject("@import url('https://rsms.me/inter/inter.css');\n\n/*! tailwindcss v2.2.15 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n\n/*\nDocument\n========\n*/\n\n/**\nUse a better box model (opinionated).\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\n\n/**\nUse a more readable tab size (opinionated).\n*/\n\nhtml {\n -moz-tab-size: 4;\n -o-tab-size: 4;\n tab-size: 4;\n}\n\n/**\n1. Correct the line height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n*/\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/*\nSections\n========\n*/\n\n/**\nRemove the margin in all browsers.\n*/\n\nbody {\n margin: 0;\n}\n\n/**\nImprove consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n*/\n\nbody {\n font-family:\n\t\tsystem-ui,\n\t\t-apple-system, /* Firefox supports this but not yet system-ui */\n\t\t'Segoe UI',\n\t\tRoboto,\n\t\tHelvetica,\n\t\tArial,\n\t\tsans-serif,\n\t\t'Apple Color Emoji',\n\t\t'Segoe UI Emoji';\n}\n\n/*\nGrouping content\n================\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)\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n}\n\n/*\nText-level semantics\n====================\n*/\n\n/**\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr[title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/**\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n2. Correct the odd 'em' font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family:\n\t\tui-monospace,\n\t\tSFMono-Regular,\n\t\tConsolas,\n\t\t'Liberation Mono',\n\t\tMenlo,\n\t\tmonospace; /* 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/*\nTabular data\n============\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)\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n}\n\n/*\nForms\n=====\n*/\n\n/**\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\nRemove the inheritance of text transform in Edge and Firefox.\n1. Remove the inheritance of text transform in Firefox.\n*/\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\nCorrect the inability to style clickable types in iOS and Safari.\n*/\n\nbutton,\n[type='button'] {\n -webkit-appearance: button;\n}\n\n/**\nRemove the inner border and padding in Firefox.\n*/\n\n/**\nRestore the focus styles unset by the previous rule.\n*/\n\n/**\nRemove the additional ':invalid' styles in Firefox.\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\n*/\n\n/**\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\n*/\n\nlegend {\n padding: 0;\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/**\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n/**\nRemove the inner padding in Chrome and Safari on macOS.\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/*\nInteractive\n===========\n*/\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/**\n * Manually forked from SUIT CSS Base: https://github.com/suitcss/base\n * A thin layer on top of normalize.css that provides a starting point more\n * suitable for web applications.\n */\n\n/**\n * Removes 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\nbutton {\n background-color: transparent;\n background-image: none;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/**\n * Tailwind custom reset styles\n */\n\n/**\n * 1. Use the user's configured sans font-family (with Tailwind's default\n * sans-serif font stack as a fallback) as a sane default.\n * 2. Use Tailwind's default \"normal\" line-height so the user isn't forced\n * to override it to ensure consistency even when using the default theme.\n */\n\nhtml {\n font-family: Inter var, 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\"; /* 1 */\n line-height: 1.5; /* 2 */\n}\n\n/**\n * Inherit font-family and line-height from html so users can set them as\n * a class directly on the html element.\n */\n\nbody {\n font-family: inherit;\n line-height: inherit;\n}\n\n/**\n * 1. Prevent padding and border from affecting element width.\n *\n * We used to set this in the html element and inherit from\n * the parent element for everything else. This caused issues\n * in shadow-dom-enhanced elements like <details> where the content\n * is wrapped by a div with box-sizing set to content-box.\n *\n * https://github.com/mozdevs/cssremedy/issues/4\n *\n *\n * 2. Allow adding a border to an element by just adding a border-width.\n *\n * By default, the way the browser specifies that an element should have no\n * border is by setting it's border-style to none in the user-agent\n * stylesheet.\n *\n * In order to easily add borders to elements by just setting the border-width\n * property, we change the default border-style for all elements to solid, and\n * use border-width to hide them instead. This way our border utilities only\n * need to set the border-width property instead of the entire border\n * shorthand, making our border utilities much more straightforward to compose.\n *\n * 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: currentColor; /* 2 */\n}\n\n/*\n * Ensure horizontal rules are visible by default\n */\n\nhr {\n border-top-width: 1px;\n}\n\n/**\n * Undo the border-style: none reset that Normalize applies to images so that\n * our border-{width} utilities have the expected effect.\n *\n * The Normalize reset is unnecessary for us since we default the border-width\n * to 0 on all elements.\n *\n * https://github.com/tailwindcss/tailwindcss/issues/362\n */\n\nimg {\n border-style: solid;\n}\n\ntextarea {\n resize: vertical;\n}\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput:-ms-input-placeholder, textarea:-ms-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\nbutton {\n cursor: pointer;\n}\n\n/**\n * Override legacy focus reset from Normalize with modern Firefox focus styles.\n *\n * This is actually an improvement over the new defaults in Firefox in our testing,\n * as it triggers the better focus styles even for links, which still use a dotted\n * outline in Firefox by default.\n */\n\ntable {\n border-collapse: collapse;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/**\n * Reset links to optimize for opt-in styling instead of\n * opt-out.\n */\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/**\n * Reset form element properties that are easy to forget to\n * style explicitly so you don't inadvertently introduce\n * styles that deviate from your design system. These styles\n * supplement a partial reset that is already applied by\n * normalize.css.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n}\n\n/**\n * Use the configured 'mono' font family for elements that\n * are expected to be rendered with a monospace font, falling\n * back to the system monospace stack if there is no configured\n * 'mono' font family.\n */\n\npre,\ncode,\nkbd,\nsamp {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n/**\n * 1. Make replaced elements display: block by default as that's\n * the behavior you want almost all of the time. Inspired by\n * CSS Remedy, with svg added as well.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n * \n * 2. Add vertical-align: middle to align replaced elements more\n * sensibly by default when overriding display by adding a\n * utility like inline.\n *\n * This can trigger a poorly considered linting error in some\n * tools but is included by design.\n * \n * https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210\n */\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/**\n * Constrain images and videos to the parent width and preserve\n * their intrinsic aspect ratio.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/**\n * Ensure the default browser behavior of the hidden attribute.\n */\n\n*, ::before, ::after{\n --tw-border-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-border-opacity));\n}\n\n.fn-sr-only{\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.fn-relative{\n position: relative;\n}\n\n.fn-mx-auto{\n margin-left: auto;\n margin-right: auto;\n}\n\n.fn-mt-4{\n margin-top: 1rem;\n}\n\n.fn-ml-3{\n margin-left: 0.75rem;\n}\n\n.fn-block{\n display: block;\n}\n\n.fn-flex{\n display: flex;\n}\n\n.fn-inline-flex{\n display: inline-flex;\n}\n\n.fn-hidden{\n display: none;\n}\n\n.fn-w-full{\n width: 100%;\n}\n\n.fn-max-w-4xl{\n max-width: 56rem;\n}\n\n@-webkit-keyframes fn-spin{\n to{\n transform: rotate(360deg);\n }\n}\n\n@keyframes fn-spin{\n to{\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes fn-ping{\n 75%, 100%{\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@keyframes fn-ping{\n 75%, 100%{\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes fn-pulse{\n 50%{\n opacity: .5;\n }\n}\n\n@keyframes fn-pulse{\n 50%{\n opacity: .5;\n }\n}\n\n@-webkit-keyframes fn-bounce{\n 0%, 100%{\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50%{\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n@keyframes fn-bounce{\n 0%, 100%{\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50%{\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n.fn-items-center{\n align-items: center;\n}\n\n.fn-justify-between{\n justify-content: space-between;\n}\n\n.fn-divide-y > :not([hidden]) ~ :not([hidden]){\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n\n.fn-divide-gray-200 > :not([hidden]) ~ :not([hidden]){\n --tw-divide-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-divide-opacity));\n}\n\n.fn-rounded-md{\n border-radius: 0.375rem;\n}\n\n.fn-border{\n border-width: 1px;\n}\n\n.fn-border-t{\n border-top-width: 1px;\n}\n\n.fn-border-gray-200{\n --tw-border-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-border-opacity));\n}\n\n.fn-border-gray-300{\n --tw-border-opacity: 1;\n border-color: rgba(209, 213, 219, var(--tw-border-opacity));\n}\n\n.fn-bg-white{\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.fn-bg-red-400{\n --tw-bg-opacity: 1;\n background-color: rgba(248, 113, 113, var(--tw-bg-opacity));\n}\n\n.fn-p-4{\n padding: 1rem;\n}\n\n.fn-px-4{\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n.fn-py-2{\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.fn-py-3{\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.fn-py-4{\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.fn-text-sm{\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.fn-font-medium{\n font-weight: 500;\n}\n\n.fn-text-gray-700{\n --tw-text-opacity: 1;\n color: rgba(55, 65, 81, var(--tw-text-opacity));\n}\n\n*, ::before, ::after{\n --tw-shadow: 0 0 #0000;\n}\n\n.fn-shadow-sm{\n --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n*, ::before, ::after{\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n}\n\n@media (min-width: 640px){\n}\n\n@media (min-width: 768px){\n}\n\n@media (min-width: 1024px){\n}\n\n@media (min-width: 1280px){\n}\n\n@media (min-width: 1536px){\n}\n");
}();
});
{
"name": "@feature.ninja/widget",
"version": "0.0.17",
"version": "0.0.18",
"description": "Feature Ninja Widget",

@@ -5,0 +5,0 @@ "main": "./dist/widget.umd.js",

@@ -9,4 +9,6 @@ # @feature.ninja/widget

window.featureNinja({
project: 'YOUR_ORGANIZATION_HERE',
workspace: 'feature-ninja',
// the options below are optional
token: 'TOKEN_GOES_HERE',
projects: ['website', 'ios', 'android'],
elementId: 'feature-ninja-widget',

@@ -13,0 +15,0 @@ theme: {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc