PageSourceSearch

https://www.caards.me/static/js/0.9a790689.chunk.js

js caards.me collected 2026-09-24 15:05:34 UTC 79,700 bytes, 1 lines download raw bytes

1(this.webpackJsonpfrontend=this.webpackJsonpfrontend||[]).push([[0],{164:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},165:function(e,t,n){"use strict";var r=n(76);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},166:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},167:function(e,t,n){"use strict";(function(t){var r=n(76),o=n(244),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u={adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n(169)),e}(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(i)})),e.exports=u}).call(this,n(168))},168:function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,s=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=u(p);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function b(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new v(e,t)),1!==s.length||l||u(d)},v.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=b,o.addListener=b,o.once=b,o.off=b,o.removeListener=b,o.removeAllListeners=b,o.emit=b,o.prependListener=b,o.prependOnceListener=b,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},169:function(e,t,n){"use strict";var r=n(76),o=n(245),i=n(247),a=n(165),u=n(248),c=n(251),s=n(252),l=n(170);e.exports=function(e){return new Promise((function(t,n){var f=e.data,p=e.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(v+":"+b)}var m=u(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),a(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:e,request:d};o(t,n,i),d=null}},d.onabort=function(){d&&(n(l("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(l("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var h=(e.withCredentials||s(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;h&&(p[e.xsrfHeaderName]=h)}if("setRequestHeader"in d&&r.forEach(p,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(y){if("json"!==e.responseType)throw y}"function"===typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),n(e),d=null)})),f||(f=null),d.send(f)}))}},170:function(e,t,n){"use strict";var r=n(246);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},171:function(e,t,n){"use strict";var r=n(76);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],u=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function s(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(i,s),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(void 0,t[o])}
vendor: 4,209 bytes, line 1
1)),r.forEach(u,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var l=o.concat(i).concat(a).concat(u),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return r.forEach(f,s),n}},172:function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},238:function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(P){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new I(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=C(a,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=l(e,t,n);if("normal"===c.type){if(r=n.done?v:p,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=v,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(P){return{type:"throw",arg:P}}}e.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",v="completed",b={};function m(){}function h(){}function y(){}var g={};g[i]=function(){return this};var O=Object.getPrototypeOf,x=O&&O(O(R([])));x&&x!==n&&r.call(x,i)&&(g=x);var S=y.prototype=m.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function n(o,i,a,u){var c=l(e[o],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"===typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function C(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method))return b;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,b;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function R(e){if(e){var n=e[i];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:T}}function T(){return{value:t,done:!0}}return h.prototype=S.constructor=y,y.constructor=h,h.displayName=c(y,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},w(j.prototype),j.prototype[a]=function(){return this},e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Prom
1ise);var a=new j(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(S),c(S,u,"Generator"),S[i]=function(){return this},S.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=R,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:R(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},239:function(e,t,n){"use strict";var r=n(76),o=n(164),i=n(240),a=n(171);function u(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=u(n(167));c.Axios=i,c.create=function(e){return u(a(c.defaults,e))},c.Cancel=n(172),c.CancelToken=n(253),c.isCancel=n(166),c.all=function(e){return Promise.all(e)},c.spread=n(254),c.isAxiosError=n(255),e.exports=c,e.exports.default=c},240:function(e,t,n){"use strict";var r=n(76),o=n(165),i=n(241),a=n(242),u=n(171);function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=u(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(u(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(u(r||{},{method:e,url:t,data:n}))}})),e.exports=c},241:function(e,t,n){"use strict";var r=n(76);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},242:function(e,t,n){"use strict";var r=n(76),o=n(243),i=n(166),a=n(167);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},243:function(e,t,n){"use strict";var r=n(76);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},244:function(e,t,n){"use strict";var r=n(76);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},245:function(e,t,n){"use strict";var r=n(170);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},246:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},247:function(e,t,n){"use strict";var r=n(76);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},248:function(e,t,n){"use strict";var r=n(249),o=n(250);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},249:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},250:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},251:function(e,t,n){"use strict";var r=n(76),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},252:function(e,t,n){"use strict";var r=n(76);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},253:function(e,t,n){"use strict";var r=n(172);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},254:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},255:function(e,t,n){"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},61:function(e,t,n){e.exports=n(238)},62:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(s){return void n(s)}u.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,c,"next",e)}function c(e){r(a,o,i,u,c,"throw",e)}u(void 0)}))}}n.d(t,"a",(function(){return o}
1))},63:function(e,t,n){e.exports=n(239)},70:function(e,t,n){"use strict";n.d(t,"a",(function(){return fe})),n.d(t,"b",(function(){return He})),n.d(t,"c",(function(){return Bt}));var r,o,i,a=n(0),u=n.n(a),c=n(22);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"===typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){if(e in t){for(var n=t[e],r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return"function"===typeof n?n.apply(void 0,o):n}var a=new Error('Tried to handle "'+e+'" but there is no handler defined. Only defined handlers are: '+Object.keys(t).map((function(e){return'"'+e+'"'})).join(", ")+".");throw Error.captureStackTrace&&Error.captureStackTrace(a,d),a}function v(e){var t=e.props,n=e.slot,i=e.defaultTag,a=e.features,u=e.visible,c=void 0===u||u,f=e.name;if(c)return b(t,n,i,f);var p=null!=a?a:r.None;if(p&r.Static){var v=t.static,m=void 0!==v&&v,h=l(t,["static"]);if(m)return b(h,n,i,f)}if(p&r.RenderStrategy){var y,g=t.unmount,O=void 0===g||g,x=l(t,["unmount"]);return d(O?o.Unmount:o.Hidden,((y={})[o.Unmount]=function(){return null},y[o.Hidden]=function(){return b(s({},x,{hidden:!0,style:{display:"none"}}),n,i,f)},y))}return b(t,n,i,f)}function b(e,t,n,r){var o;void 0===t&&(t={});var i=h(e,["unmount","static"]),u=i.as,c=void 0===u?n:u,s=i.children,f=i.refName,d=void 0===f?"ref":f,v=l(i,["as","children","refName"]),b=void 0!==e.ref?((o={})[d]=e.ref,o):{},m="function"===typeof s?s(t):s;if(v.className&&"function"===typeof v.className&&(v.className=v.className(t)),c===a.Fragment&&Object.keys(v).length>0){if(!Object(a.isValidElement)(m)||Array.isArray(m)&&m.length>1)throw new Error(['Passing props on "Fragment"!',"","The current component <"+r+' /> is rendering a "Fragment".',"However we need to passthrough the following props:",Object.keys(v).map((function(e){return"  - "+e})).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((function(e){return"  - "+e})).join("\n")].join("\n"));return Object(a.cloneElement)(m,Object.assign({},function(e,t,n){for(var r,o=Object.assign({},e),i=function(){var n,i=r.value;void 0!==e[i]&&void 0!==t[i]&&Object.assign(o,((n={})[i]=function(n){n.defaultPrevented||e[i](n),n.defaultPrevented||t[i](n)},n))},a=p(n);!(r=a()).done;)i();return o}(function(e){var t=Object.assign({},e);for(var n in t)void 0===t[n]&&delete t[n];return t}(h(v,["ref"])),m.props,["onClick"]),b))}return Object(a.createElement)(c,Object.assign({},h(v,["ref"]),c!==a.Fragment&&b),m)}function m(e){var t;return Object.assign(Object(a.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function h(e,t){void 0===t&&(t=[]);for(var n,r=Object.assign({},e),o=p(t);!(n=o()).done;){var i=n.value;i in r&&delete r[i]}return r}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Object(a.useRef)(t);return Object(a.useEffect)((function(){r.current=t}),[t]),Object(a.useCallback)((function(e){for(var t,n=p(r.current);!(t=n()).done;){var o=t.value;null!=o&&("function"===typeof o?o(e):o.current=e)}}),[r])}function g(e){for(var t,n,r=e.parentElement,o=null;r&&!(r instanceof HTMLFieldSetElement);)r instanceof HTMLLegendElement&&(o=r),r=r.parentElement;var i=null!=(t=""===(null==(n=r)?void 0:n.getAttribute("disabled")))&&t;return(!i||!function(e){if(!e)return!1;var t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(o))&&i}!function(e){e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static"}(r||(r={})),function(e){e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden"}(o||(o={})),function(e){e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab"}(i||(i={}));var O="undefined"!==typeof window?a.useLayoutEffect:a.useEffect,x={serverHandoffComplete:!1};function S(){var e=Object(a.useState)(x.serverHandoffComplete),t=e[0],n=e[1];return Object(a.useEffect)((function(){!0!==t&&n(!0)}),[t]),Object(a.useEffect)((function(){!1===x.serverHandoffComplete&&(x.serverHandoffComplete=!0)}),[]),t}var w=0;function j(){return++w}function C(){var e=S(),t=Object(a.useState)(e?j:null),n=t[0],r=t[1];return O((function(){null===n&&r(j())}),[n]),null!=n?""+n:void 0}var E,k,I,R,T,P=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((function(e){return e+":not([tabindex='-1'])"})).join(",");function L(e){return void 0===e&&(e=document.body),null==e?[]:Array.from(e.querySelectorAll(P))}function F(e,t){var n;return void 0===t&&(t=R.Strict),e!==document.body&&d(t,((n={})[R.Strict]=function(){return e.matches(P)},n[R.Loose]=function(){for(var t=e;null!==t;){if(t.matches(P))return!0;t=t.parentElement}return!1},n))}function D(e,t){var n=Array.isArray(e)?e:L(e),r=document.activeElement,o=function(){if(t&(E.First|E.Next))return I.Next;if(t&(E.Previous|E.Last))return I.Previous;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")}(),i=function(){if(t&E.First)return 0;if(t&E.Previous)return Math.max(0,n.indexOf(r))-1;if(t&E.Next)return Math.max(0,n.indexOf(r))+1;if(t&E.Last)return n.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")}(),a=t&E.NoScroll?{preventScroll:!0}:{},u=0,c=n.length,s=void 0;do{var l;if(u>=c||u+c<=0)return k.Error;var f=i+u;if(t&E.WrapAround)f=(f+c)%c;else{if(f<0)return k.Underflow;
1if(f>=c)return k.Overflow}null==(l=s=n[f])||l.focus(a),u+=o}while(s!==document.activeElement);return s.hasAttribute("tabindex")||s.setAttribute("tabindex","0"),k.Success}function A(e,t,n){var r=Object(a.useRef)(t);r.current=t,Object(a.useEffect)((function(){function t(e){r.current.call(window,e)}return window.addEventListener(e,t,n),function(){return window.removeEventListener(e,t,n)}}),[e,n])}function N(){var e=Object(a.useRef)(!1);return Object(a.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),e}!function(e){e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll"}(E||(E={})),function(e){e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow"}(k||(k={})),function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"}(I||(I={})),function(e){e[e.Strict=0]="Strict",e[e.Loose=1]="Loose"}(R||(R={})),function(e){e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All"}(T||(T={}));var M=Object(a.createContext)(!1);function U(){var e=Object(a.useContext)(M),t=Object(a.useContext)(_),n=Object(a.useState)((function(){if(!e&&null!==t)return null;if("undefined"===typeof window)return null;var n=document.getElementById("headlessui-portal-root");if(n)return n;var r=document.createElement("div");return r.setAttribute("id","headlessui-portal-root"),document.body.appendChild(r)})),r=n[0],o=n[1];return Object(a.useEffect)((function(){e||null!==t&&o(t.current)}),[t,o,e]),r}var B=a.Fragment;function G(e){var t=e,n=U(),r=Object(a.useState)((function(){return"undefined"===typeof window?null:document.createElement("div")}))[0],o=S();return O((function(){if(n&&r)return n.appendChild(r),function(){var e;n&&(r&&(n.removeChild(r),n.childNodes.length<=0&&(null==(e=n.parentElement)||e.removeChild(n))))}}),[n,r]),o&&n&&r?Object(c.createPortal)(v({props:t,defaultTag:B,name:"Portal"}),r):null}var H=a.Fragment,_=Object(a.createContext)(null);G.Group=function(e){var t=e.target,n=l(e,["target"]);return u.a.createElement(_.Provider,{value:t},v({props:n,defaultTag:H,name:"Popover.Group"}))};var V=Object(a.createContext)(null);function q(){var e=Object(a.useContext)(V);if(null===e){var t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,q),t}return e}function K(){var e=Object(a.useState)([]),t=e[0],n=e[1];return[t.length>0?t.join(" "):void 0,Object(a.useMemo)((function(){return function(e){var t=Object(a.useCallback)((function(e){return n((function(t){return[].concat(t,[e])})),function(){return n((function(t){var n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))}}),[]),r=Object(a.useMemo)((function(){return{register:t,slot:e.slot,name:e.name,props:e.props}}),[t,e.slot,e.name,e.props]);return u.a.createElement(V.Provider,{value:r},e.children)}}),[n])]}function Q(e){var t=q(),n="headlessui-description-"+C();O((function(){return t.register(n)}),[n,t.register]);var r=e,o=s({},t.props,{id:n});return v({props:s({},r,o),slot:t.slot||{},defaultTag:"p",name:t.name||"Description"})}var W,z=Object(a.createContext)(null);function J(){return Object(a.useContext)(z)}function X(e){var t=e.value,n=e.children;return u.a.createElement(z.Provider,{value:t},n)}z.displayName="OpenClosedContext",function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(W||(W={}));var Y,$,Z,ee,te=Object(a.createContext)((function(){}));te.displayName="StackContext",function(e){e[e.Add=0]="Add",e[e.Remove=1]="Remove"}(Y||(Y={})),function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(Z||(Z={})),function(e){e[e.SetTitleId=0]="SetTitleId"}(ee||(ee={}));($={})[ee.SetTitleId]=function(e,t){return e.titleId===t.id?e:s({},e,{titleId:t.id})};var ne=Object(a.createContext)(null);ne.displayName="DialogContext";r.RenderStrategy,r.Static;var re,oe,ie;!function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(oe||(oe={})),function(e){e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.SetButtonId=1]="SetButtonId",e[e.SetPanelId=2]="SetPanelId",e[e.LinkPanel=3]="LinkPanel",e[e.UnlinkPanel=4]="UnlinkPanel"}(ie||(ie={}));var ae=((re={})[ie.ToggleDisclosure]=function(e){var t;return s({},e,{disclosureState:d(e.disclosureState,(t={},t[oe.Open]=oe.Closed,t[oe.Closed]=oe.Open,t))})},re[ie.LinkPanel]=function(e){return!0===e.linkedPanel?e:s({},e,{linkedPanel:!0})},re[ie.UnlinkPanel]=function(e){return!1===e.linkedPanel?e:s({},e,{linkedPanel:!1})},re[ie.SetButtonId]=function(e,t){return e.buttonId===t.buttonId?e:s({},e,{buttonId:t.buttonId})},re[ie.SetPanelId]=function(e,t){return e.panelId===t.panelId?e:s({},e,{panelId:t.panelId})},re),ue=Object(a.createContext)(null);function ce(e){var t=Object(a.useContext)(ue);if(null===t){var n=new Error("<"+e+" /> is missing a parent <"+fe.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,ce),n}return t}function se(e,t){return d(t.type,ae,e,t)}ue.displayName="DisclosureContext";var le=a.Fragment;function fe(e){var t,n=e.defaultOpen,r=void 0!==n&&n,o=l(e,["defaultOpen"]),i="headlessui-disclosure-button-"+C(),c="headlessui-disclosure-panel-"+C(),s=Object(a.useReducer)(se,{disclosureState:r?oe.Open:oe.Closed,linkedPanel:!1,buttonId:i,panelId:c}),f=s[0].disclosureState,p=s[1];Object(a.useEffect)((function(){return p({type:ie.SetButtonId,buttonId:i})}),[i,p]),Object(a.useEffect)((function(){return p({type:ie.SetPanelId,panelId:c})}),[c,p]);var b=Object(a.useMemo)((function(){return{open:f===oe.Open}}),[f]);return u.a.createElement(ue.Provider,{value:s},u.a.createElement(X,{value:d(f,(t={},t[oe.Open]=W.Open,t[oe.Closed]=W.Closed,t))},v({props:o,slot:b,defaultTag:le,name:"Disclosure"})))}var pe=m((function e(t,n){var r=ce([fe.name,e.name].join(".")),o=r[0],u=r[1],c=y(n),l=Object(a.useCallback)((function(e){switch(e.key){case i.Space:case i.Enter:e.preventDefault(),e.stopPropagation(),u({type:ie.ToggleDisclosure})}}),[u]),f=Object(a.useCallback)((function(e){switch(e.key){case i.Space:e.preventDefault()}}),[]),p=Object(a.useCallback)((function(e){g(e.currentTarget)||t.disabled||u({type:ie.ToggleDisclosure})}),[u,t.disabled]),d=Object(a.useMemo)((function(){return{open:o.disclosureState===oe.Open}}),[o]);return v({props:s({},t,{ref:c,id:o.buttonId,type:"button","aria-expanded":o.disclosureState===oe.Open||void 0,"aria-controls":o.linkedPanel?o.panelId:void 0,onKeyDown:l,onKeyUp:f,onClick:p}),slot:d,defaultTag:"button",name:"Disclosure.Button"})}
1)),de=r.RenderStrategy|r.Static,ve=m((function e(t,n){var r=ce([fe.name,e.name].join(".")),o=r[0],i=r[1],u=y(n,(function(){o.linkedPanel||i({type:ie.LinkPanel})})),c=J(),l=null!==c?c===W.Open:o.disclosureState===oe.Open;Object(a.useEffect)((function(){return function(){return i({type:ie.UnlinkPanel})}}),[i]),Object(a.useEffect)((function(){var e;o.disclosureState!==oe.Closed||null!=(e=t.unmount)&&!e||i({type:ie.UnlinkPanel})}),[o.disclosureState,t.unmount,i]);var f=Object(a.useMemo)((function(){return{open:o.disclosureState===oe.Open}}),[o]),p={ref:u,id:o.panelId};return v({props:s({},t,p),slot:f,defaultTag:"div",features:de,visible:l,name:"Disclosure.Panel"})}));fe.Button=pe,fe.Panel=ve;var be,me,he,ye;function ge(){var e=[],t={requestAnimationFrame:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){var e=requestAnimationFrame.apply(void 0,arguments);t.add((function(){return cancelAnimationFrame(e)}))})),nextFrame:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.requestAnimationFrame((function(){t.requestAnimationFrame.apply(t,n)}))},setTimeout:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){var e=setTimeout.apply(void 0,arguments);t.add((function(){return clearTimeout(e)}))})),add:function(t){e.push(t)},dispose:function(){for(var t,n=p(e.splice(0));!(t=n()).done;){var r=t.value;r()}}};return t}function Oe(){var e=Object(a.useState)(ge)[0];return Object(a.useEffect)((function(){return function(){return e.dispose()}}),[e]),e}function xe(e,t){var n=Object(a.useState)(e),r=n[0],o=n[1],i=Object(a.useRef)(e);return O((function(){i.current=e}),[e]),O((function(){return o(i.current)}),[i,o].concat(t)),r}function Se(e,t){var n=t.resolveItems();if(n.length<=0)return null;var r=t.resolveActiveIndex(),o=null!=r?r:-1,i=function(){switch(e.focus){case be.First:return n.findIndex((function(e){return!t.resolveDisabled(e)}));case be.Previous:var r=n.slice().reverse().findIndex((function(e,n,r){return!(-1!==o&&r.length-n-1>=o)&&!t.resolveDisabled(e)}));return-1===r?r:n.length-1-r;case be.Next:return n.findIndex((function(e,n){return!(n<=o)&&!t.resolveDisabled(e)}));case be.Last:var i=n.slice().reverse().findIndex((function(e){return!t.resolveDisabled(e)}));return-1===i?i:n.length-1-i;case be.Specific:return n.findIndex((function(n){return t.resolveId(n)===e.id}));case be.Nothing:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}();return-1===i?r:i}!function(e){e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing"}(be||(be={})),function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(he||(he={})),function(e){e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.SetDisabled=2]="SetDisabled",e[e.GoToOption=3]="GoToOption",e[e.Search=4]="Search",e[e.ClearSearch=5]="ClearSearch",e[e.RegisterOption=6]="RegisterOption",e[e.UnregisterOption=7]="UnregisterOption"}(ye||(ye={}));var we=((me={})[ye.CloseListbox]=function(e){return e.disabled||e.listboxState===he.Closed?e:s({},e,{activeOptionIndex:null,listboxState:he.Closed})},me[ye.OpenListbox]=function(e){return e.disabled||e.listboxState===he.Open?e:s({},e,{listboxState:he.Open})},me[ye.SetDisabled]=function(e,t){return e.disabled===t.disabled?e:s({},e,{disabled:t.disabled})},me[ye.GoToOption]=function(e,t){if(e.disabled)return e;if(e.listboxState===he.Closed)return e;var n=Se(t,{resolveItems:function(){return e.options},resolveActiveIndex:function(){return e.activeOptionIndex},resolveId:function(e){return e.id},resolveDisabled:function(e){return e.dataRef.current.disabled}});return""===e.searchQuery&&e.activeOptionIndex===n?e:s({},e,{searchQuery:"",activeOptionIndex:n})},me[ye.Search]=function(e,t){if(e.disabled)return e;if(e.listboxState===he.Closed)return e;var n=e.searchQuery+t.value.toLowerCase(),r=e.options.findIndex((function(e){var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(n))}));return-1===r||r===e.activeOptionIndex?s({},e,{searchQuery:n}):s({},e,{searchQuery:n,activeOptionIndex:r})},me[ye.ClearSearch]=function(e){return e.disabled||e.listboxState===he.Closed||""===e.searchQuery?e:s({},e,{searchQuery:""})},me[ye.RegisterOption]=function(e,t){return s({},e,{options:[].concat(e.options,[{id:t.id,dataRef:t.dataRef}
1])})},me[ye.UnregisterOption]=function(e,t){var n=e.options.slice(),r=null!==e.activeOptionIndex?n[e.activeOptionIndex]:null,o=n.findIndex((function(e){return e.id===t.id}));return-1!==o&&n.splice(o,1),s({},e,{options:n,activeOptionIndex:o===e.activeOptionIndex||null===r?null:n.indexOf(r)})},me),je=Object(a.createContext)(null);function Ce(e){var t=Object(a.useContext)(je);if(null===t){var n=new Error("<"+e+" /> is missing a parent <"+Ie.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,Ce),n}return t}function Ee(e,t){return d(t.type,we,e,t)}je.displayName="ListboxContext";var ke=a.Fragment;function Ie(e){var t,n=e.value,r=e.onChange,o=e.disabled,i=void 0!==o&&o,c=l(e,["value","onChange","disabled"]),s=Object(a.useReducer)(Ee,{listboxState:he.Closed,propsRef:{current:{value:n,onChange:r}},labelRef:Object(a.createRef)(),buttonRef:Object(a.createRef)(),optionsRef:Object(a.createRef)(),disabled:i,options:[],searchQuery:"",activeOptionIndex:null}),f=s[0],p=f.listboxState,b=f.propsRef,m=f.optionsRef,h=f.buttonRef,y=s[1];O((function(){b.current.value=n}),[n,b]),O((function(){b.current.onChange=r}),[r,b]),O((function(){return y({type:ye.SetDisabled,disabled:i})}),[i]),A("mousedown",(function(e){var t,n,r,o=e.target;p===he.Open&&((null==(t=h.current)?void 0:t.contains(o))||(null==(n=m.current)?void 0:n.contains(o))||(y({type:ye.CloseListbox}),F(o,R.Loose)||(e.preventDefault(),null==(r=h.current)||r.focus())))}));var g=Object(a.useMemo)((function(){return{open:p===he.Open,disabled:i}}),[p,i]);return u.a.createElement(je.Provider,{value:s},u.a.createElement(X,{value:d(p,(t={},t[he.Open]=W.Open,t[he.Closed]=W.Closed,t))},v({props:c,slot:g,defaultTag:ke,name:"Listbox"})))}var Re=m((function e(t,n){var r,o=Ce([Ie.name,e.name].join(".")),u=o[0],c=o[1],l=y(u.buttonRef,n),f="headlessui-listbox-button-"+C(),p=Oe(),d=Object(a.useCallback)((function(e){switch(e.key){case i.Space:case i.Enter:case i.ArrowDown:e.preventDefault(),c({type:ye.OpenListbox}),p.nextFrame((function(){u.propsRef.current.value||c({type:ye.GoToOption,focus:be.First})}));break;case i.ArrowUp:e.preventDefault(),c({type:ye.OpenListbox}),p.nextFrame((function(){u.propsRef.current.value||c({type:ye.GoToOption,focus:be.Last})}))}}),[c,u,p]),b=Object(a.useCallback)((function(e){switch(e.key){case i.Space:e.preventDefault()}}),[]),m=Object(a.useCallback)((function(e){if(g(e.currentTarget))return e.preventDefault();u.listboxState===he.Open?(c({type:ye.CloseListbox}),p.nextFrame((function(){var e;return null==(e=u.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1))):(e.preventDefault(),c({type:ye.OpenListbox}))}),[c,p,u]),h=xe((function(){if(u.labelRef.current)return[u.labelRef.current.id,f].join(" ")}),[u.labelRef.current,f]),O=Object(a.useMemo)((function(){return{open:u.listboxState===he.Open,disabled:u.disabled}}),[u]);return v({props:s({},t,{ref:l,id:f,type:"button","aria-haspopup":!0,"aria-controls":null==(r=u.optionsRef.current)?void 0:r.id,"aria-expanded":u.listboxState===he.Open||void 0,"aria-labelledby":h,disabled:u.disabled,onKeyDown:d,onKeyUp:b,onClick:m}),slot:O,defaultTag:"button",name:"Listbox.Button"})}));var Te,Pe,Le,Fe=r.RenderStrategy|r.Static,De=m((function e(t,n){var r,o=Ce([Ie.name,e.name].join(".")),u=o[0],c=o[1],l=y(u.optionsRef,n),f="headlessui-listbox-options-"+C(),p=Oe(),d=Oe(),b=J(),m=null!==b?b===W.Open:u.listboxState===he.Open;O((function(){var e=u.optionsRef.current;e&&u.listboxState===he.Open&&e!==document.activeElement&&e.focus({preventScroll:!0})}),[u.listboxState,u.optionsRef]);var h=Object(a.useCallback)((function(e){switch(d.dispose(),e.key){case i.Space:if(""!==u.searchQuery)return e.preventDefault(),e.stopPropagation(),c({type:ye.Search,value:e.key});case i.Enter:if(e.preventDefault(),e.stopPropagation(),c({type:ye.CloseListbox}),null!==u.activeOptionIndex){var t=u.options[u.activeOptionIndex].dataRef;u.propsRef.current.onChange(t.current.value)}ge().nextFrame((function(){var e;return null==(e=u.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1));break;case i.ArrowDown:return e.preventDefault(),e.stopPropagation(),c({type:ye.GoToOption,focus:be.Next});case i.ArrowUp:return e.preventDefault(),e.stopPropagation(),c({type:ye.GoToOption,focus:be.Previous});case i.Home:case i.PageUp:return e.preventDefault(),e.stopPropagation(),c({type:ye.GoToOption,focus:be.First});case i.End:case i.PageDown:return e.preventDefault(),e.stopPropagation(),c({type:ye.GoToOption,focus:be.Last});case i.Escape:return e.preventDefault(),e.stopPropagation(),c({type:ye.CloseListbox}),p.nextFrame((function(){var e;return null==(e=u.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));case i.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(c({type:ye.Search,value:e.key}),d.setTimeout((function(){return c({type:ye.ClearSearch})}),350))}}),[p,c,d,u]),g=xe((function(){var e,t,n;return null!=(e=null==(t=u.labelRef.current)?void 0:t.id)?e:null==(n=u.buttonRef.current)?void 0:n.id}),[u.labelRef.current,u.buttonRef.current]),x=Object(a.useMemo)((function(){return{open:u.listboxState===he.Open}}),[u]);return v({props:s({},t,{"aria-activedescendant":null===u.activeOptionIndex||null==(r=u.options[u.activeOptionIndex])?void 0:r.id,"aria-labelledby":g,id:f,onKeyDown:h,role:"listbox",tabIndex:0,ref:l}),slot:x,defaultTag:"ul",features:Fe,visible:m,name:"Listbox.Options"})}));function Ae(e){var t=e.container,n=e.accept,r=e.walk,o=e.enabled,i=void 0===o||o,u=Object(a.useRef)(n),c=Object(a.useRef)(r);Object(a.useEffect)((function(){u.current=n,c.current=r}),[n,r]),O((function(){if(t&&i)for(var e=u.current,n=c.current,r=Object.assign((function(t){return e(t)}),{acceptNode:e}),o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,r,!1);o.nextNode();)n(o.currentNode)}),[t,i,u,c])}Ie.Button=Re,Ie.Label=function e(t){var n=Ce([Ie.name,e.name].join("."))[0],r="headlessui-listbox-label-"+C(),o=Object(a.useCallback)((function(){var e;return null==(e=n.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),[n.buttonRef]),i=Object(a.useMemo)((function(){return{open:n.listboxState===he.Open,disabled:n.disabled}}),[n]);return v({props:s({},t,{ref:n.labelRef,id:r,onClick:o}),slot:i,defaultTag:"label",name:"Listbox.Label"})},Ie.Options=De,Ie.Option=function e(t){var n=t.disabled,r=void 0!==n&&n,o=t.value,i=l(t,["disabled","value"]),u=Ce([Ie.name,e.name].join(".")),c=u[0],f=u[1],p="headlessui-listbox-option-"+C(),d=null!==c.activeOptionIndex&&c.options[c.activeOptionIndex].id===p,b=c.propsRef.current.value===o,m=Object(a.useRef)({disabled:r,value:o});O((function(){m.current.disabled=r}),[m,r]),O((function(){m.current.value=o}),[m,o]),O((function(){var e,t;m.current.textValue=null==(e=document.getElementById(p))||null==(t=e.textContent)?void 0:t.toLowerCase()}),[m,p]);var h=Object(a.useCallback)((function(){return c.propsRef.current.onChange(o)}),[c.propsRef,o]);O((function(){return f({type:ye.RegisterOption,id:p,dataRef:m}),function(){return f({type:ye.UnregisterOption,id:p})}}),[m,p]),O((function(){var e;c.listboxState===he.Open&&b&&(f({type:ye.GoToOption,focus:be.Specific,id:p}),null==(e=document.getElementById(p))||null==e.focus||e.focus())}),[c.listboxState]),O((function(){if(c.listboxState===he.Open&&d){var e=ge();return e.nextFrame((function(){var e;return null==(e=document.getElementById(p))||null==e.scrollIntoView?void 0:e.scrollIntoView({block:"nearest"})})),e.dispose}}),[p,d,c.listboxState]);var y=Object(a.useCallback)((function(e){if(r)return e.preventDefault();h(),f({type:ye.CloseListbox}),ge().nextFrame((function(){var e;return null==(e=c.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1))}),[f,c.buttonRef,r,h]),g=Object(a.useCallback)((function(){if(r)return f({type:ye.GoToOption,focus:be.Nothing});f({type:ye.GoToOption,focus:be.Specific,id:p})}),[r,p,f]),x=Object(a.useCallback)((function(){r||d||f({type:ye.GoToOption,focus:be.Specific,id:p})}),[r,d,p,f]),S=Object(a.useCallback)((function(){r||d&&f({type:ye.GoToOption,focus:be.Nothing})}),[r,d,f]),w=Object(a.useMemo)((function(){return{active:d,selected:b,disabled:r}}),[d,b,r]);return v({props:s({},i,{id:p,role:"option",tabIndex:-1,"aria-disabled":!0===r||void 0,"aria-selected":!0===b||void 0,onClick:y,onFocus:g,onPointerMove:x,onMouseMove:x,onPointerLeave:S,onMouseLeave:S}),slot:w,defaultTag:"li",name:"Listbox.Option"})},function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(Pe||(Pe={})),function(e){e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem"}(Le||(Le={}));var Ne=((Te={})[Le.CloseMenu]=function(e){return e.menuState===Pe.Closed?e:s({},e,{activeItemIndex:null,menuState:Pe.Closed})},Te[Le.OpenMenu]=function(e){return e.menuState===Pe.Open?e:s({},e,{menuState:Pe.Open})},Te[Le.GoToItem]=function(e,t){var n=Se(t,{resolveItems:function(){return e.items},resolveActiveIndex:function(){return e.activeItemIndex},resolveId:function(e){return e.id},resolveDisabled:function(e){return e.dataRef.current.disabled}});return""===e.searchQuery&&e.activeItemIndex===n?e:s({},e,{searchQuery:"",activeItemIndex:n})},Te[Le.Search]=function(e,t){var n=e.searchQuery+t.value.toLowerCase(),r=e.items.findIndex((function(e){var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(n))&&!e.dataRef.current.disabled}));return-1===r||r===e.activeItemIndex?s({},e,{searchQuery:n}):s({},e,{searchQuery:n,activeItemIndex:r})},Te[Le.ClearSearch]=function(e){return""===e.searchQuery?e:s({},e,{searchQuery:""})},Te[Le.RegisterItem]=function(e,t){return s({},e,{items:[].concat(e.items,[{id:t.id,dataRef:t.dataRef}])})},Te[Le.UnregisterItem]=function(e,t){var n=e.items.slice(),r=null!==e.activeItemIndex?n[e.activeItemIndex]:null,o=n.findIndex((function(e){return e.id===t.id}));return-1!==o&&n.splice(o,1),s({},e,{items:n,activeItemIndex:o===e.activeItemIndex||null===r?null:n.indexOf(r)})},Te),Me=Object(a.createContext)(null);function Ue(e){var t=Object(a.useContext)(Me);if(null===t){var n=new Error("<"+e+" /> is missing a parent <"+He.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,Ue),n}return t}function Be(e,t){return d(t.type,Ne,e,t)}Me.displayName="MenuContext";var Ge=a.Fragment;function He(e){var t,n=Object(a.useReducer)(Be,{menuState:Pe.Closed,buttonRef:Object(a.createRef)(),itemsRef:Object(a.createRef)(),items:[],searchQuery:"",activeItemIndex:null}),r=n[0],o=r.menuState,i=r.itemsRef,c=r.buttonRef,s=n[1];A("mousedown",(function(e){var t,n,r,a=e.target;o===Pe.Open&&((null==(t=c.current)?void 0:t.contains(a))||(null==(n=i.current)?void 0:n.contains(a))||(s({type:Le.CloseMenu}),F(a,R.Loose)||(e.preventDefault(),null==(r=c.current)||r.focus())))}));var l=Object(a.useMemo)((function(){return{open:o===Pe.Open}}),[o]);return u.a.createElement(Me.Provider,{value:n},u.a.createElement(X,{value:d(o,(t={},t[Pe.Open]=W.Open,t[Pe.Closed]=W.Closed,t))},v({props:e,slot:l,defaultTag:Ge,name:"Menu"})))}var _e,Ve,qe,Ke=m((function e(t,n){var r,o=Ue([He.name,e.name].join(".")),u=o[0],c=o[1],l=y(u.buttonRef,n),f="headlessui-menu-button-"+C(),p=Oe(),d=Object(a.useCallback)((function(e){switch(e.key){case i.Space:case i.Enter:case i.ArrowDown:e.preventDefault(),e.stopPropagation(),c({type:Le.OpenMenu}),p.nextFrame((function(){return c({type:Le.GoToItem,focus:be.First})}));break;case i.ArrowUp:e.preventDefault(),e.stopPropagation(),c({type:Le.OpenMenu}),p.nextFrame((function(){return c({type:Le.GoToItem,focus:be.Last})}))}}),[c,p]),b=Object(a.useCallback)((function(e){switch(e.key){case i.Space:e.preventDefault()}}),[]),m=Object(a.useCallback)((function(e){if(g(e.currentTarget))return e.preventDefault();t.disabled||(u.menuState===Pe.Open?(c({type:Le.CloseMenu}),p.nextFrame((function(){var e;return null==(e=u.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1))):(e.preventDefault(),e.stopPropagation(),c({type:Le.OpenMenu})))}),[c,p,u,t.disabled]),h=Object(a.useMemo)((function(){return{open:u.menuState===Pe.Open}}),[u]);return v({props:s({},t,{ref:l,id:f,type:"button","aria-haspopup":!0,"aria-controls":null==(r=u.itemsRef.current)?void 0:r.id,"aria-expanded":u.menuState===Pe.Open||void 0,onKeyDown:d,onKeyUp:b,onClick:m}),slot:h,defaultTag:"button",name:"Menu.Button"})})),Qe=r.RenderStrategy|r.Static,We=m((function e(t,n){var r,o,u=Ue([He.name,e.name].join(".")),c=u[0],l=u[1],f=y(c.itemsRef,n),p="headlessui-menu-items-"+C(),d=Oe(),b=J(),m=null!==b?b===W.Open:c.menuState===Pe.Open;Object(a.useEffect)((function(){var e=c.itemsRef.current;e&&c.menuState===Pe.Open&&e!==document.activeElement&&e.focus({preventScroll:!0})}),[c.menuState,c.itemsRef]),Ae({container:c.itemsRef.current,enabled:c.menuState===Pe.Open,accept:function(e){return"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk:function(e){e.setAttribute("role","none")}});var h=Object(a.useCallback)((function(e){switch(d.dispose(),e.key){case i.Space:if(""!==c.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:Le.Search,value:e.key});case i.Enter:if(e.preventDefault(),e.stopPropagation(),l({type:Le.CloseMenu}),null!==c.activeItemIndex){var t,n=c.items[c.activeItemIndex].id;null==(t=document.getElementById(n))||t.click()}ge().nextFrame((function(){var e;return null==(e=c.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1));break;case i.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:Le.GoToItem,focus:be.Next});case i.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:Le.GoToItem,focus:be.Previous});case i.Home:case i.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:Le.GoToItem,focus:be.First});case i.End:case i.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:Le.GoToItem,focus:be.Last});case i.Escape:e.preventDefault(),e.stopPropagation(),l({type:Le.CloseMenu}),ge().nextFrame((function(){var e;return null==(e=c.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case i.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(l({type:Le.Search,value:e.key}),d.setTimeout((function(){return l({type:Le.ClearSearch})}),350))}}),[l,d,c]),g=Object(a.useCallback)((function(e){switch(e.key){case i.Space:e.preventDefault()}}),[]),O=Object(a.useMemo)((function(){return{open:c.menuState===Pe.Open}}),[c]);return v({props:s({},t,{"aria-activedescendant":null===c.activeItemIndex||null==(r=c.items[c.activeItemIndex])?void 0:r.id,"aria-labelledby":null==(o=c.buttonRef.current)?void 0:o.id,id:p,onKeyDown:h,onKeyUp:g,role:"menu",tabIndex:0,ref:f}),slot:O,defaultTag:"div",features:Qe,visible:m,name:"Menu.Items"})})),ze=a.Fragment;He.Button=Ke,He.Items=We,He.Item=function e(t){var n=t.disabled,r=void 0!==n&&n,o=t.onClick,i=l(t,["disabled","onClick"]),u=Ue([He.name,e.name].join(".")),c=u[0],f=u[1],p="headlessui-menu-item-"+C(),d=null!==c.activeItemIndex&&c.items[c.activeItemIndex].id===p;O((function(){if(c.menuState===Pe.Open&&d){var e=ge();return e.nextFrame((function(){var e;return null==(e=document.getElementById(p))||null==e.scrollIntoView?void 0:e.scrollIntoView({block:"nearest"})})),e.dispose}}),[p,d,c.menuState]);var b=Object(a.useRef)({disabled:r});O((function(){b.current.disabled=r}),[b,r]),O((function(){var e,t;b.current.textValue=null==(e=document.getElementById(p))||null==(t=e.textContent)?void 0:t.toLowerCase()}),[b,p]),O((function(){return f({type:Le.RegisterItem,id:p,dataRef:b}),function(){return f({type:Le.UnregisterItem,id:p})}}),[b,p]);var m=Object(a.useCallback)((function(e){return r?e.preventDefault():(f({type:Le.CloseMenu}),ge().nextFrame((function(){var e;return null==(e=c.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1)),o?o(e):void 0)}),[f,c.buttonRef,r,o]),h=Object(a.useCallback)((function(){if(r)return f({type:Le.GoToItem,focus:be.Nothing});f({type:Le.GoToItem,focus:be.Specific,id:p})}),[r,p,f]),y=Object(a.useCallback)((function(){r||d||f({type:Le.GoToItem,focus:be.Specific,id:p})}),[r,d,p,f]),g=Object(a.useCallback)((function(){r||d&&f({type:Le.GoToItem,focus:be.Nothing})}),[r,d,f]),x=Object(a.useMemo)((function(){return{active:d,disabled:r}}),[d,r]);return v({props:s({},i,{id:p,role:"menuitem",tabIndex:-1,"aria-disabled":!0===r||void 0,onClick:m,onFocus:h,onPointerMove:y,onMouseMove:y,onPointerLeave:g,onMouseLeave:g}),slot:x,defaultTag:ze,name:"Menu.Item"})},function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(Ve||(Ve={})),function(e){e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId"}(qe||(qe={}));var Je=((_e={})[qe.TogglePopover]=function(e){var t;return s({},e,{popoverState:d(e.popoverState,(t={},t[Ve.Open]=Ve.Closed,t[Ve.Closed]=Ve.Open,t))})},_e[qe.ClosePopover]=function(e){return e.popoverState===Ve.Closed?e:s({},e,{popoverState:Ve.Closed})},_e[qe.SetButton]=function(e,t){return e.button===t.button?e:s({},e,{button:t.button})},_e[qe.SetButtonId]=function(e,t){return e.buttonId===t.buttonId?e:s({},e,{buttonId:t.buttonId})},_e[qe.SetPanel]=function(e,t){return e.panel===t.panel?e:s({},e,{panel:t.panel})},_e[qe.SetPanelId]=function(e,t){return e.panelId===t.panelId?e:s({},e,{panelId:t.panelId})},_e),Xe=Object(a.createContext)(null);function Ye(e){var t=Object(a.useContext)(Xe);if(null===t){var n=new Error("<"+e+" /> is missing a parent <"+nt.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,Ye),n}return t}Xe.displayName="PopoverContext";var $e=Object(a.createContext)(null);function Ze(){return Object(a.useContext)($e)}$e.displayName="PopoverGroupContext";var et=Object(a.createContext)(null);function tt(e,t){return d(t.type,Je,e,t)}et.displayName="PopoverPanelContext";function nt(e){var t,n="headlessui-popover-button-"+C(),r="headlessui-popover-panel-"+C(),o=Object(a.useReducer)(tt,{popoverState:Ve.Closed,button:null,buttonId:n,panel:null,panelId:r}),i=o[0],c=i.popoverState,s=i.button,l=i.panel,f=o[1];Object(a.useEffect)((function(){return f({type:qe.SetButtonId,buttonId:n})}),[n,f]),Object(a.useEffect)((function(){return f({type:qe.SetPanelId,panelId:r})}),[r,f]);var p=Object(a.useMemo)((function(){return{buttonId:n,panelId:r,close:function(){return f({type:qe.ClosePopover})}}}),[n,r,f]),b=Ze(),m=null==b?void 0:b.registerPopover,h=Object(a.useCallback)((function(){var e;return null!=(e=null==b?void 0:b.isFocusWithinPopoverGroup())?e:(null==s?void 0:s.contains(document.activeElement))||(null==l?void 0:l.contains(document.activeElement))}),[b,s,l]);Object(a.useEffect)((function(){return null==m?void 0:m(p)}),[m,p]),A("focus",(function(){c===Ve.Open&&(h()||s&&l&&f({type:qe.ClosePopover}))}),!0),A("mousedown",(function(e){var t=e.target;c===Ve.Open&&((null==s?void 0:s.contains(t))||(null==l?void 0:l.contains(t))||(f({type:qe.ClosePopover}),F(t,R.Loose)||(e.preventDefault(),null==s||s.focus())))}));var y=Object(a.useMemo)((function(){return{open:c===Ve.Open}}),[c]);return u.a.createElement(Xe.Provider,{value:o},u.a.createElement(X,{value:d(c,(t={},t[Ve.Open]=W.Open,t[Ve.Closed]=W.Closed,t))},v({props:e,slot:y,defaultTag:"div",name:"Popover"})))}var rt=m((function e(t,n){var r=Ye([nt.name,e.name].join(".")),o=r[0],u=r[1],c=Object(a.useRef)(null),l=Ze(),f=null==l?void 0:l.closeOthers,p=Object(a.useContext)(et),d=null!==p&&p===o.panelId,b=y(c,n,d?null:function(e){return u({type:qe.SetButton,button:e})}),m=Object(a.useRef)(null),h=Object(a.useRef)("undefined"===typeof window?null:document.activeElement);A("focus",(function(){h.current=m.current,m.current=document.activeElement}),!0);var O=Object(a.useCallback)((function(e){var t;if(d){if(o.popoverState===Ve.Closed)return;switch(e.key){case i.Space:case i.Enter:e.preventDefault(),e.stopPropagation(),u({type:qe.ClosePopover}
1),null==(t=o.button)||t.focus()}}else switch(e.key){case i.Space:case i.Enter:e.preventDefault(),e.stopPropagation(),o.popoverState===Ve.Closed&&(null==f||f(o.buttonId)),u({type:qe.TogglePopover});break;case i.Escape:if(o.popoverState!==Ve.Open)return null==f?void 0:f(o.buttonId);if(!c.current)return;if(!c.current.contains(document.activeElement))return;u({type:qe.ClosePopover});break;case i.Tab:if(o.popoverState!==Ve.Open)return;if(!o.panel)return;if(!o.button)return;if(e.shiftKey){var n;if(!h.current)return;if(null==(n=o.button)?void 0:n.contains(h.current))return;if(o.panel.contains(h.current))return;var r=L(),a=r.indexOf(h.current);if(r.indexOf(o.button)>a)return;e.preventDefault(),e.stopPropagation(),D(o.panel,E.Last)}else e.preventDefault(),e.stopPropagation(),D(o.panel,E.First)}}),[u,o.popoverState,o.buttonId,o.button,o.panel,c,f,d]),x=Object(a.useCallback)((function(e){var t;if(!d&&(e.key===i.Space&&e.preventDefault(),o.popoverState===Ve.Open&&o.panel&&o.button))switch(e.key){case i.Tab:if(!h.current)return;if(null==(t=o.button)?void 0:t.contains(h.current))return;if(o.panel.contains(h.current))return;var n=L(),r=n.indexOf(h.current);if(n.indexOf(o.button)>r)return;e.preventDefault(),e.stopPropagation(),D(o.panel,E.Last)}}),[o.popoverState,o.panel,o.button,d]),S=Object(a.useCallback)((function(e){var n,r;g(e.currentTarget)||(t.disabled||(d?(u({type:qe.ClosePopover}),null==(n=o.button)||n.focus()):(o.popoverState===Ve.Closed&&(null==f||f(o.buttonId)),null==(r=o.button)||r.focus(),u({type:qe.TogglePopover}))))}),[u,o.button,o.popoverState,o.buttonId,t.disabled,f,d]),w=Object(a.useMemo)((function(){return{open:o.popoverState===Ve.Open}}),[o]);return v({props:s({},t,d?{type:"button",onKeyDown:O,onClick:S}:{ref:b,id:o.buttonId,type:"button","aria-expanded":o.popoverState===Ve.Open||void 0,"aria-controls":o.panel?o.panelId:void 0,onKeyDown:O,onKeyUp:x,onClick:S}),slot:w,defaultTag:"button",name:"Popover.Button"})})),ot=r.RenderStrategy|r.Static,it=m((function e(t,n){var r=Ye([nt.name,e.name].join(".")),o=r[0].popoverState,i=r[1],u=y(n),c="headlessui-popover-overlay-"+C(),l=J(),f=null!==l?l===W.Open:o===Ve.Open,p=Object(a.useCallback)((function(e){if(g(e.currentTarget))return e.preventDefault();i({type:qe.ClosePopover})}),[i]),d=Object(a.useMemo)((function(){return{open:o===Ve.Open}}),[o]);return v({props:s({},t,{ref:u,id:c,"aria-hidden":!0,onClick:p}),slot:d,defaultTag:"div",features:ot,visible:f,name:"Popover.Overlay"})})),at=r.RenderStrategy|r.Static,ut=m((function e(t,n){var r=t.focus,o=void 0!==r&&r,c=l(t,["focus"]),f=Ye([nt.name,e.name].join(".")),p=f[0],d=f[1],b=Object(a.useRef)(null),m=y(b,n,(function(e){d({type:qe.SetPanel,panel:e})})),h=J(),g=null!==h?h===W.Open:p.popoverState===Ve.Open,O=Object(a.useCallback)((function(e){var t;switch(e.key){case i.Escape:if(p.popoverState!==Ve.Open)return;if(!b.current)return;if(!b.current.contains(document.activeElement))return;e.preventDefault(),d({type:qe.ClosePopover}),null==(t=p.button)||t.focus()}}),[p,b,d]);Object(a.useEffect)((function(){return function(){return d({type:qe.SetPanel,panel:null})}}),[d]),Object(a.useEffect)((function(){var e;p.popoverState!==Ve.Closed||null!=(e=t.unmount)&&!e||d({type:qe.SetPanel,panel:null})}),[p.popoverState,t.unmount,d]),Object(a.useEffect)((function(){if(o&&p.popoverState===Ve.Open&&b.current){var e=document.activeElement;b.current.contains(e)||D(b.current,E.First)}}),[o,b,p.popoverState]),A("keydown",(function(e){if(p.popoverState===Ve.Open&&b.current&&e.key===i.Tab&&document.activeElement&&b.current&&b.current.contains(document.activeElement)){e.preventDefault();var t,n=D(b.current,e.shiftKey?E.Previous:E.Next);if(n===k.Underflow)return null==(t=p.button)?void 0:t.focus();if(n===k.Overflow){if(!p.button)return;var r=L(),o=r.indexOf(p.button);D(r.splice(o+1).filter((function(e){var t;return!(null==(t=b.current)?void 0:t.contains(e))})),E.First)===k.Error&&D(document.body,E.First)}}})),A("focus",(function(){var e;o&&p.popoverState===Ve.Open&&b.current&&((null==(e=b.current)?void 0:e.contains(document.activeElement))||d({type:qe.ClosePopover}))}),!0);var x=Object(a.useMemo)((function(){return{open:p.popoverState===Ve.Open}}),[p]),S={ref:m,id:p.panelId,onKeyDown:O};return u.a.createElement(et.Provider,{value:p.panelId},v({props:s({},c,S),slot:x,defaultTag:"div",features:at,visible:g,name:"Popover.Panel"}))}));nt.Button=rt,nt.Overlay=it,nt.Panel=ut,nt.Group=function(e){var t=Object(a.useRef)(null),n=Object(a.useState)([]),r=n[0],o=n[1],i=Object(a.useCallback)((function(e){o((function(t){var n=t.indexOf(e);if(-1!==n){var r=t.slice();return r.splice(n,1),r}return t}))}),[o]),c=Object(a.useCallback)((function(e){return o((function(t){return[].concat(t,[e])})),function(){return i(e)}}),[o,i]),l=Object(a.useCallback)((function(){var e,n=document.activeElement;return!!(null==(e=t.current)?void 0:e.contains(n))||r.some((function(e){var t,r;return(null==(t=document.getElementById(e.buttonId))?void 0:t.contains(n))||(null==(r=document.getElementById(e.panelId))?void 0:r.contains(n))}))}),[t,r]),f=Object(a.useCallback)((function(e){for(var t,n=p(r);!(t=n()).done;){var o=t.value;o.buttonId!==e&&o.close()}}),[r]),d=Object(a.useMemo)((function(){return{registerPopover:c,unregisterPopover:i,isFocusWithinPopoverGroup:l,closeOthers:f}}),[c,i,l,f]),b=Object(a.useMemo)((function(){return{}}),[]),m={ref:t},h=e;return u.a.createElement($e.Provider,{value:d},v({props:s({},h,m),slot:b,defaultTag:"div",name:"Popover.Group"}))};var ct=Object(a.createContext)(null);function st(){var e=Object(a.useContext)(ct);if(null===e){var t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,st),t}return e}function lt(){var e=Object(a.useState)([]),t=e[0],n=e[1];return[t.length>0?t.join(" "):void 0,Object(a.useMemo)((function(){return function(e){var t=Object(a.useCallback)((function(e){return n((function(t){return[].concat(t,[e])})),function(){return n((function(t){var n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))}}),[]),r=Object(a.useMemo)((function(){return{register:t,slot:e.slot,name:e.name,props:e.props}}),[t,e.slot,e.name,e.props]);return u.a.createElement(ct.Provider,{value:r},e.children)}}),[n])]}var ft,pt;function dt(e){var t=e.passive,n=void 0!==t&&t,r=l(e,["passive"]),o=st(),i="headlessui-label-"+C();O((function(){return o.register(i)}),[i,o.register]);var a=s({},o.props,{id:i}),u=s({},r,a);return n&&delete u.onClick,v({props:u,slot:o.slot||{},defaultTag:"label",name:o.name||"Label"})}!function(e){e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption"}(pt||(pt={}));var vt=((ft={})[pt.RegisterOption]=function(e,t){return s({},e,{options:[].concat(e.options,[{id:t.id,element:t.element,propsRef:t.propsRef}
1])})},ft[pt.UnregisterOption]=function(e,t){var n=e.options.slice(),r=e.options.findIndex((function(e){return e.id===t.id}));return-1===r?e:(n.splice(r,1),s({},e,{options:n}))},ft),bt=Object(a.createContext)(null);function mt(e){var t=Object(a.useContext)(bt);if(null===t){var n=new Error("<"+e+" /> is missing a parent <"+gt.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,mt),n}return t}function ht(e,t){return d(t.type,vt,e,t)}bt.displayName="RadioGroupContext";var yt;function gt(e){var t=e.value,n=e.onChange,r=e.disabled,o=void 0!==r&&r,c=l(e,["value","onChange","disabled"]),f=Object(a.useReducer)(ht,{options:[]}),p=f[0].options,d=f[1],b=lt(),m=b[0],h=b[1],y=K(),g=y[0],O=y[1],x="headlessui-radiogroup-"+C(),S=Object(a.useRef)(null),w=Object(a.useMemo)((function(){return p.find((function(e){return!e.propsRef.current.disabled}))}),[p]),j=Object(a.useMemo)((function(){return p.some((function(e){return e.propsRef.current.value===t}))}),[p,t]),I=Object(a.useCallback)((function(e){var r;if(o)return!1;if(e===t)return!1;var i=null==(r=p.find((function(t){return t.propsRef.current.value===e})))?void 0:r.propsRef.current;return!(null==i?void 0:i.disabled)&&(n(e),!0)}),[n,t,o,p]);Ae({container:S.current,accept:function(e){return"radio"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk:function(e){e.setAttribute("role","none")}});var R=Object(a.useCallback)((function(e){if(S.current){var t=p.filter((function(e){return!1===e.propsRef.current.disabled})).map((function(e){return e.element.current}));switch(e.key){case i.ArrowLeft:case i.ArrowUp:if(e.preventDefault(),e.stopPropagation(),D(t,E.Previous|E.WrapAround)===k.Success){var n=p.find((function(e){return e.element.current===document.activeElement}));n&&I(n.propsRef.current.value)}break;case i.ArrowRight:case i.ArrowDown:if(e.preventDefault(),e.stopPropagation(),D(t,E.Next|E.WrapAround)===k.Success){var r=p.find((function(e){return e.element.current===document.activeElement}));r&&I(r.propsRef.current.value)}break;case i.Space:e.preventDefault(),e.stopPropagation();var o=p.find((function(e){return e.element.current===document.activeElement}));o&&I(o.propsRef.current.value)}}}),[S,p,I]),T=Object(a.useCallback)((function(e){return d(s({type:pt.RegisterOption},e)),function(){return d({type:pt.UnregisterOption,id:e.id})}}),[d]),P=Object(a.useMemo)((function(){return{registerOption:T,firstOption:w,containsCheckedOption:j,change:I,disabled:o,value:t}}),[T,w,j,I,o,t]),L={ref:S,id:x,role:"radiogroup","aria-labelledby":m,"aria-describedby":g,onKeyDown:R};return u.a.createElement(O,{name:"RadioGroup.Description"},u.a.createElement(h,{name:"RadioGroup.Label"},u.a.createElement(bt.Provider,{value:P},v({props:s({},c,L),defaultTag:"div",name:"RadioGroup"}))))}!function(e){e[e.Empty=1]="Empty",e[e.Active=2]="Active"}(yt||(yt={}));gt.Option=function e(t){var n=Object(a.useRef)(null),r="headlessui-radiogroup-option-"+C(),o=lt(),i=o[0],c=o[1],f=K(),p=f[0],d=f[1],b=function(e){void 0===e&&(e=0);var t=Object(a.useState)(e),n=t[0],r=t[1];return{addFlag:Object(a.useCallback)((function(e){return r((function(t){return t|e}))}),[r]),hasFlag:Object(a.useCallback)((function(e){return Boolean(n&e)}),[n]),removeFlag:Object(a.useCallback)((function(e){return r((function(t){return t&~e}))}),[r]),toggleFlag:Object(a.useCallback)((function(e){return r((function(t){return t^e}))}),[r])}}(yt.Empty),m=b.addFlag,h=b.removeFlag,y=b.hasFlag,g=t.value,x=t.disabled,S=void 0!==x&&x,w=l(t,["value","disabled"]),j=Object(a.useRef)({value:g,disabled:S});O((function(){j.current.value=g}),[g,j]),O((function(){j.current.disabled=S}),[S,j]);var E=mt([gt.name,e.name].join(".")),k=E.registerOption,I=E.disabled,R=E.change,T=E.firstOption,P=E.containsCheckedOption,L=E.value;O((function(){return k({id:r,element:n,propsRef:j})}),[r,k,n,t]);var F=Object(a.useCallback)((function(){var e;R(g)&&(m(yt.Active),null==(e=n.current)||e.focus())}),[m,R,g]),D=Object(a.useCallback)((function(){return m(yt.Active)}),[m]),A=Object(a.useCallback)((function(){return h(yt.Active)}),[h]),N=(null==T?void 0:T.id)===r,M=I||S,U=L===g,B={ref:n,id:r,role:"radio","aria-checked":U?"true":"false","aria-labelledby":i,"aria-describedby":p,tabIndex:M?-1:U||!P&&N?0:-1,onClick:M?void 0:F,onFocus:M?void 0:D,onBlur:M?void 0:A},G=Object(a.useMemo)((function(){return{checked:U,disabled:M,active:y(yt.Active)}}),[U,M,y]);return u.a.createElement(d,{name:"RadioGroup.Description"},u.a.createElement(c,{name:"RadioGroup.Label"},v({props:s({},w,B),slot:G,defaultTag:"div",name:"RadioGroup.Option"})))},gt.Label=dt,gt.Description=Q;var Ot=Object(a.createContext)(null);Ot.displayName="GroupContext";var xt=a.Fragment;var St;
1function wt(e){var t=e.checked,n=e.onChange,r=l(e,["checked","onChange"]),o="headlessui-switch-"+C(),u=Object(a.useContext)(Ot),c=Object(a.useCallback)((function(){return n(!t)}),[n,t]),f=Object(a.useCallback)((function(e){if(g(e.currentTarget))return e.preventDefault();e.preventDefault(),c()}),[c]),p=Object(a.useCallback)((function(e){e.key!==i.Tab&&e.preventDefault(),e.key===i.Space&&c()}),[c]),d=Object(a.useCallback)((function(e){return e.preventDefault()}),[]),b=Object(a.useMemo)((function(){return{checked:t}}),[t]),m={id:o,ref:null===u?void 0:u.setSwitch,role:"switch",tabIndex:0,"aria-checked":t,"aria-labelledby":null==u?void 0:u.labelledby,"aria-describedby":null==u?void 0:u.describedby,onClick:f,onKeyUp:p,onKeyPress:d};return"button"===r.as&&Object.assign(m,{type:"button"}),v({props:s({},r,m),slot:b,defaultTag:"button",name:"Switch"})}function jt(){var e=Object(a.useRef)(!0);return Object(a.useEffect)((function(){e.current=!1}),[]),e.current}function Ct(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e&&r.length>0&&(t=e.classList).add.apply(t,r)}function Et(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e&&r.length>0&&(t=e.classList).remove.apply(t,r)}function kt(e,t,n,r,o){var i=ge(),a=void 0!==o?function(e){var t={called:!1};return function(){if(!t.called)return t.called=!0,e.apply(void 0,arguments)}}(o):function(){};return Ct.apply(void 0,[e].concat(t,n)),i.nextFrame((function(){Et.apply(void 0,[e].concat(n)),Ct.apply(void 0,[e].concat(r)),i.add(function(e,t){var n=ge();if(!e)return n.dispose;var r=getComputedStyle(e),o=[r.transitionDuration,r.transitionDelay].map((function(e){var t=e.split(",").filter(Boolean).map((function(e){return e.includes("ms")?parseFloat(e):1e3*parseFloat(e)})).sort((function(e,t){return t-e}))[0];return void 0===t?0:t})),i=o[0],a=o[1];return 0!==i?n.setTimeout((function(){t(St.Finished)}),i+a):t(St.Finished),n.add((function(){return t(St.Cancelled)})),n.dispose}(e,(function(n){return Et.apply(void 0,[e].concat(r,t)),a(n)})))})),i.add((function(){return Et.apply(void 0,[e].concat(t,n,r))})),i.add((function(){return a(St.Cancelled)})),i.dispose}function It(e){return void 0===e&&(e=""),Object(a.useMemo)((function(){return e.split(" ").filter((function(e){return e.trim().length>1}))}),[e])}wt.Group=function(e){var t=Object(a.useState)(null),n=t[0],r=t[1],o=lt(),i=o[0],c=o[1],s=K(),l=s[0],f=s[1],p=Object(a.useMemo)((function(){return{switch:n,setSwitch:r,labelledby:i,describedby:l}}),[n,r,i,l]);return u.a.createElement(f,{name:"Switch.Description"},u.a.createElement(c,{name:"Switch.Label",props:{onClick:function(){n&&(n.click(),n.focus({preventScroll:!0}))}}},u.a.createElement(Ot.Provider,{value:p},v({props:e,defaultTag:xt,name:"Switch.Group"}))))},wt.Label=dt,wt.Description=Q,function(e){e.Finished="finished",e.Cancelled="cancelled"}(St||(St={}));var Rt,Tt=Object(a.createContext)(null);Tt.displayName="TransitionContext",function(e){e.Visible="visible",e.Hidden="hidden"}(Rt||(Rt={}));var Pt=Object(a.createContext)(null);function Lt(e){return"children"in e?Lt(e.children):e.current.filter((function(e){return e.state===Rt.Visible})).length>0}function Ft(e){var t=Object(a.useRef)(e),n=Object(a.useRef)([]),r=N();Object(a.useEffect)((function(){t.current=e}),[e]);var i=Object(a.useCallback)((function(e,i){var a;void 0===i&&(i=o.Hidden);var u=n.current.findIndex((function(t){return t.id===e}));-1!==u&&(d(i,((a={})[o.Unmount]=function(){n.current.splice(u,1)},a[o.Hidden]=function(){n.current[u].state=Rt.Hidden},a)),!Lt(n)&&r.current&&(null==t.current||t.current()))}),[t,r,n]),u=Object(a.useCallback)((function(e){var t=n.current.find((function(t){return t.id===e}));return t?t.state!==Rt.Visible&&(t.state=Rt.Visible):n.current.push({id:e,state:Rt.Visible}),function(){return i(e,o.Unmount)}}),[n,i]);return Object(a.useMemo)((function(){return{children:n,register:u,unregister:i}}),[u,i,n])}function Dt(){}Pt.displayName="NestingContext";var At=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Nt(e){for(var t,n={},r=p(At);!(t=r()).done;){var o,i=t.value;n[i]=null!=(o=e[i])?o:Dt}return n}var Mt=r.RenderStrategy;function Ut(e){var t,n=e.beforeEnter,r=e.afterEnter,i=e.beforeLeave,c=e.afterLeave,f=e.enter,p=e.enterFrom,b=e.enterTo,m=e.leave,h=e.leaveFrom,y=e.leaveTo,g=l(e,["beforeEnter","afterEnter","beforeLeave","afterLeave","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo"]),x=Object(a.useRef)(null),w=Object(a.useState)(Rt.Visible),j=w[0],E=w[1],k=g.unmount?o.Unmount:o.Hidden,I=function(){var e=Object(a.useContext)(Tt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),R=I.show,T=I.appear,P=function(){var e=Object(a.useContext)(Pt);
1if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),L=P.register,F=P.unregister,D=jt(),A=C(),N=Object(a.useRef)(!1),M=Ft((function(){N.current||(E(Rt.Hidden),F(A),q.current.afterLeave())}));O((function(){if(A)return L(A)}),[L,A]),O((function(){var e;k===o.Hidden&&A&&(R&&j!==Rt.Visible?E(Rt.Visible):d(j,((e={})[Rt.Hidden]=function(){return F(A)},e[Rt.Visible]=function(){return L(A)},e)))}),[j,A,L,F,R,k]);var U=It(f),B=It(p),G=It(b),H=It(m),_=It(h),V=It(y),q=function(e){var t=Object(a.useRef)(Nt(e));return Object(a.useEffect)((function(){t.current=Nt(e)}),[e]),t}({beforeEnter:n,afterEnter:r,beforeLeave:i,afterLeave:c}),K=S();Object(a.useEffect)((function(){if(K&&j===Rt.Visible&&null===x.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[x,j,K]);var Q=D&&!T;O((function(){var e=x.current;if(e&&!Q)return N.current=!0,R&&q.current.beforeEnter(),R||q.current.beforeLeave(),R?kt(e,U,B,G,(function(e){N.current=!1,e===St.Finished&&q.current.afterEnter()})):kt(e,H,_,V,(function(e){N.current=!1,e===St.Finished&&(Lt(M)||(E(Rt.Hidden),F(A),q.current.afterLeave()))}))}),[q,A,N,F,M,x,Q,R,U,B,G,H,_,V]);var z={ref:x},J=g;return u.a.createElement(Pt.Provider,{value:M},u.a.createElement(X,{value:d(j,(t={},t[Rt.Visible]=W.Open,t[Rt.Hidden]=W.Closed,t))},v({props:s({},J,z),defaultTag:"div",features:Mt,visible:j===Rt.Visible,name:"Transition.Child"})))}function Bt(e){var t,n=e.show,r=e.appear,o=void 0!==r&&r,i=e.unmount,c=l(e,["show","appear","unmount"]),f=J();void 0===n&&null!==f&&(n=d(f,((t={})[W.Open]=!0,t[W.Closed]=!1,t)));if(![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");var p=Object(a.useState)(n?Rt.Visible:Rt.Hidden),b=p[0],m=p[1],h=Ft((function(){m(Rt.Hidden)})),y=jt(),g=Object(a.useMemo)((function(){return{show:n,appear:o||!y}}),[n,o,y]);Object(a.useEffect)((function(){n?m(Rt.Visible):Lt(h)||m(Rt.Hidden)}),[n,h]);var O={unmount:i};return u.a.createElement(Pt.Provider,{value:h},u.a.createElement(Tt.Provider,{value:g},v({props:s({},O,{as:a.Fragment,children:u.a.createElement(Ut,Object.assign({},O,c))}),defaultTag:a.Fragment,features:Mt,visible:b===Rt.Visible,name:"Transition"})))}Bt.Child=Ut,Bt.Root=Bt},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n(0);var o=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"}))};var i=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}))}},76:function(e,t,n){"use strict";var r=n(164),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function u(e){return null!==e&&"object"===typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function s(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:u,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:s,isStream:function(e){return u(e)&&s(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}
vendor: 431 bytes, line 1
1,forEach:l,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.