datocms-plugin-dall-e-asset-source 0.1.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -3
- package/dist/assets/index-CBbvMt07.js +110 -0
- package/dist/assets/index-Crg5AR1Y.css +1 -0
- package/dist/index.html +2 -2
- package/package.json +25 -21
- package/dist/assets/index-BMppw81n.js +0 -621
- package/dist/assets/index-DeQIxsk0.css +0 -1
- package/docs/demo.mp4 +0 -0
|
@@ -1,621 +0,0 @@
|
|
|
1
|
-
function Sy(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const a=Object.getOwnPropertyDescriptor(r,i);a&&Object.defineProperty(e,i,a.get?a:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var On=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Gm={exports:{}},Do={},Km={exports:{}},ee={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Xi=Symbol.for("react.element"),by=Symbol.for("react.portal"),Oy=Symbol.for("react.fragment"),wy=Symbol.for("react.strict_mode"),Ey=Symbol.for("react.profiler"),Py=Symbol.for("react.provider"),Cy=Symbol.for("react.context"),xy=Symbol.for("react.forward_ref"),_y=Symbol.for("react.suspense"),Ay=Symbol.for("react.memo"),ky=Symbol.for("react.lazy"),Gf=Symbol.iterator;function Ry(e){return e===null||typeof e!="object"?null:(e=Gf&&e[Gf]||e["@@iterator"],typeof e=="function"?e:null)}var Qm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Xm=Object.assign,Jm={};function Yr(e,t,n){this.props=e,this.context=t,this.refs=Jm,this.updater=n||Qm}Yr.prototype.isReactComponent={};Yr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Yr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zm(){}Zm.prototype=Yr.prototype;function gc(e,t,n){this.props=e,this.context=t,this.refs=Jm,this.updater=n||Qm}var yc=gc.prototype=new Zm;yc.constructor=gc;Xm(yc,Yr.prototype);yc.isPureReactComponent=!0;var Kf=Array.isArray,eh=Object.prototype.hasOwnProperty,Sc={current:null},th={key:!0,ref:!0,__self:!0,__source:!0};function nh(e,t,n){var r,i={},a=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)eh.call(t,r)&&!th.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:Xi,type:e,key:a,ref:o,props:i,_owner:Sc.current}}function Fy(e,t){return{$$typeof:Xi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function bc(e){return typeof e=="object"&&e!==null&&e.$$typeof===Xi}function Iy(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Qf=/\/+/g;function xs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Iy(""+e.key):t.toString(36)}function La(e,t,n,r,i){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(a){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Xi:case by:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+xs(o,0):r,Kf(i)?(n="",e!=null&&(n=e.replace(Qf,"$&/")+"/"),La(i,t,n,"",function(u){return u})):i!=null&&(bc(i)&&(i=Fy(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(Qf,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Kf(e))for(var s=0;s<e.length;s++){a=e[s];var l=r+xs(a,s);o+=La(a,t,n,l,i)}else if(l=Ry(e),typeof l=="function")for(e=l.call(e),s=0;!(a=e.next()).done;)a=a.value,l=r+xs(a,s++),o+=La(a,t,n,l,i);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function sa(e,t,n){if(e==null)return e;var r=[],i=0;return La(e,r,"","",function(a){return t.call(n,a,i++)}),r}function Ty(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Qe={current:null},Ma={transition:null},Ly={ReactCurrentDispatcher:Qe,ReactCurrentBatchConfig:Ma,ReactCurrentOwner:Sc};function rh(){throw Error("act(...) is not supported in production builds of React.")}ee.Children={map:sa,forEach:function(e,t,n){sa(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return sa(e,function(){t++}),t},toArray:function(e){return sa(e,function(t){return t})||[]},only:function(e){if(!bc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ee.Component=Yr;ee.Fragment=Oy;ee.Profiler=Ey;ee.PureComponent=gc;ee.StrictMode=wy;ee.Suspense=_y;ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ly;ee.act=rh;ee.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Xm({},e.props),i=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=Sc.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)eh.call(t,l)&&!th.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:Xi,type:e.type,key:i,ref:a,props:r,_owner:o}};ee.createContext=function(e){return e={$$typeof:Cy,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Py,_context:e},e.Consumer=e};ee.createElement=nh;ee.createFactory=function(e){var t=nh.bind(null,e);return t.type=e,t};ee.createRef=function(){return{current:null}};ee.forwardRef=function(e){return{$$typeof:xy,render:e}};ee.isValidElement=bc;ee.lazy=function(e){return{$$typeof:ky,_payload:{_status:-1,_result:e},_init:Ty}};ee.memo=function(e,t){return{$$typeof:Ay,type:e,compare:t===void 0?null:t}};ee.startTransition=function(e){var t=Ma.transition;Ma.transition={};try{e()}finally{Ma.transition=t}};ee.unstable_act=rh;ee.useCallback=function(e,t){return Qe.current.useCallback(e,t)};ee.useContext=function(e){return Qe.current.useContext(e)};ee.useDebugValue=function(){};ee.useDeferredValue=function(e){return Qe.current.useDeferredValue(e)};ee.useEffect=function(e,t){return Qe.current.useEffect(e,t)};ee.useId=function(){return Qe.current.useId()};ee.useImperativeHandle=function(e,t,n){return Qe.current.useImperativeHandle(e,t,n)};ee.useInsertionEffect=function(e,t){return Qe.current.useInsertionEffect(e,t)};ee.useLayoutEffect=function(e,t){return Qe.current.useLayoutEffect(e,t)};ee.useMemo=function(e,t){return Qe.current.useMemo(e,t)};ee.useReducer=function(e,t,n){return Qe.current.useReducer(e,t,n)};ee.useRef=function(e){return Qe.current.useRef(e)};ee.useState=function(e){return Qe.current.useState(e)};ee.useSyncExternalStore=function(e,t,n){return Qe.current.useSyncExternalStore(e,t,n)};ee.useTransition=function(){return Qe.current.useTransition()};ee.version="18.3.1";Km.exports=ee;var x=Km.exports;const X=Vo(x),Xf=Sy({__proto__:null,default:X},[x]);/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.production.min.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var My=x,Ny=Symbol.for("react.element"),jy=Symbol.for("react.fragment"),Vy=Object.prototype.hasOwnProperty,Dy=My.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,zy={key:!0,ref:!0,__self:!0,__source:!0};function ih(e,t,n){var r,i={},a=null,o=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)Vy.call(t,r)&&!zy.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Ny,type:e,key:a,ref:o,props:i,_owner:Dy.current}}Do.Fragment=jy;Do.jsx=ih;Do.jsxs=ih;Gm.exports=Do;var Z=Gm.exports,Ml={exports:{}},Ae={};Object.defineProperty(Ae,"__esModule",{value:!0});Ae.DATA_CLONE_ERROR=Ae.MESSAGE=Ae.REJECTED=Ae.FULFILLED=Ae.REPLY=Ae.CALL=Ae.HANDSHAKE_REPLY=Ae.HANDSHAKE=void 0;const $y="handshake";Ae.HANDSHAKE=$y;const Uy="handshake-reply";Ae.HANDSHAKE_REPLY=Uy;const By="call";Ae.CALL=By;const Hy="reply";Ae.REPLY=Hy;const qy="fulfilled";Ae.FULFILLED=qy;const Wy="rejected";Ae.REJECTED=Wy;const Yy="message";Ae.MESSAGE=Yy;const Gy="DataCloneError";Ae.DATA_CLONE_ERROR=Gy;var kt={};Object.defineProperty(kt,"__esModule",{value:!0});kt.ERR_NO_IFRAME_SRC=kt.ERR_NOT_IN_IFRAME=kt.ERR_CONNECTION_TIMEOUT=kt.ERR_CONNECTION_DESTROYED=void 0;const Ky="ConnectionDestroyed";kt.ERR_CONNECTION_DESTROYED=Ky;const Qy="ConnectionTimeout";kt.ERR_CONNECTION_TIMEOUT=Qy;const Xy="NotInIframe";kt.ERR_NOT_IN_IFRAME=Xy;const Jy="NoIframeSrc";kt.ERR_NO_IFRAME_SRC=Jy;var Nl={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=()=>{const r=[];let i=!1;return{destroy(){i=!0,r.forEach(a=>{a()})},onDestroy(a){i?a():r.push(a)}}};t.default=n,e.exports=t.default})(Nl,Nl.exports);var Zy=Nl.exports,jl={exports:{}},Zn={};Object.defineProperty(Zn,"__esModule",{value:!0});Zn.deserializeError=Zn.serializeError=void 0;const e1=e=>{let t=e.name,n=e.message,r=e.stack;return{name:t,message:n,stack:r}};Zn.serializeError=e1;const t1=e=>{const t=new Error;return Object.keys(e).forEach(n=>t[n]=e[n]),t};Zn.deserializeError=t1;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=Ae,r=Zn,i=(a,o,s)=>{const l=a.localName,u=a.local,f=a.remote,c=a.originForSending,d=a.originForReceiving;let m=!1;s(`${l}: Connecting call receiver`);const g=v=>{if(v.source!==f||v.data.penpal!==n.CALL)return;if(v.origin!==d){s(`${l} received message from origin ${v.origin} which did not match expected origin ${d}`);return}const S=v.data,p=S.methodName,h=S.args,y=S.id;s(`${l}: Received ${p}() call`);const b=w=>P=>{if(s(`${l}: Sending ${p}() reply`),m){s(`${l}: Unable to send ${p}() reply due to destroyed connection`);return}const E={penpal:n.REPLY,id:y,resolution:w,returnValue:P};w===n.REJECTED&&P instanceof Error&&(E.returnValue=(0,r.serializeError)(P),E.returnValueIsError=!0);try{f.postMessage(E,c)}catch(C){throw C.name===n.DATA_CLONE_ERROR&&f.postMessage({penpal:n.REPLY,id:y,resolution:n.REJECTED,returnValue:(0,r.serializeError)(C),returnValueIsError:!0},c),C}};new Promise(w=>w(o[p].apply(o,h))).then(b(n.FULFILLED),b(n.REJECTED))};return u.addEventListener(n.MESSAGE,g),()=>{m=!0,u.removeEventListener(n.MESSAGE,g)}};t.default=i,e.exports=t.default})(jl,jl.exports);var n1=jl.exports,Vl={exports:{}},Dl={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let n=0;var r=()=>++n;t.default=r,e.exports=t.default})(Dl,Dl.exports);var r1=Dl.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=Ae,r=kt,i=o(r1),a=Zn;function o(l){return l&&l.__esModule?l:{default:l}}var s=(l,u,f,c,d)=>{const m=u.localName,g=u.local,v=u.remote,S=u.originForSending,p=u.originForReceiving;let h=!1;d(`${m}: Connecting call sender`);const y=b=>function(){for(var w=arguments.length,P=new Array(w),E=0;E<w;E++)P[E]=arguments[E];d(`${m}: Sending ${b}() call`);let C;try{v.closed&&(C=!0)}catch{C=!0}if(C&&c(),h){const A=new Error(`Unable to send ${b}() call due to destroyed connection`);throw A.code=r.ERR_CONNECTION_DESTROYED,A}return new Promise((A,L)=>{const Y=(0,i.default)(),G=K=>{if(K.source!==v||K.data.penpal!==n.REPLY||K.data.id!==Y)return;if(K.origin!==p){d(`${m} received message from origin ${K.origin} which did not match expected origin ${p}`);return}d(`${m}: Received ${b}() reply`),g.removeEventListener(n.MESSAGE,G);let U=K.data.returnValue;K.data.returnValueIsError&&(U=(0,a.deserializeError)(U)),(K.data.resolution===n.FULFILLED?A:L)(U)};g.addEventListener(n.MESSAGE,G),v.postMessage({penpal:n.CALL,id:Y,methodName:b,args:P},S)})};return f.reduce((b,w)=>(b[w]=y(w),b),l),()=>{h=!0}};t.default=s,e.exports=t.default})(Vl,Vl.exports);var i1=Vl.exports,zl={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r=>function(){if(r){for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];console.log("[Penpal]",...a)}};t.default=n,e.exports=t.default})(zl,zl.exports);var a1=zl.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=Ae,r=kt,i=l(Zy),a=l(n1),o=l(i1),s=l(a1);function l(f){return f&&f.__esModule?f:{default:f}}var u=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=c.parentOrigin,m=d===void 0?"*":d,g=c.methods,v=g===void 0?{}:g,S=c.timeout,p=c.debug;const h=(0,s.default)(p);if(window===window.top){const A=new Error("connectToParent() must be called within an iframe");throw A.code=r.ERR_NOT_IN_IFRAME,A}const y=(0,i.default)(),b=y.destroy,w=y.onDestroy,P=window,E=P.parent;return{promise:new Promise((A,L)=>{let Y;S!==void 0&&(Y=setTimeout(()=>{const K=new Error(`Connection to parent timed out after ${S}ms`);K.code=r.ERR_CONNECTION_TIMEOUT,L(K),b()},S));const G=K=>{try{clearTimeout()}catch{return}if(K.source!==E||K.data.penpal!==n.HANDSHAKE_REPLY)return;if(m!=="*"&&m!==K.origin){h(`Child received handshake reply from origin ${K.origin} which did not match expected origin ${m}`);return}h("Child: Received handshake reply"),P.removeEventListener(n.MESSAGE,G);const U={localName:"Child",local:P,remote:E,originForSending:K.origin==="null"?"*":K.origin,originForReceiving:K.origin},te={},W=(0,a.default)(U,v,h);w(W);const Pe=(0,o.default)(te,U,K.data.methodNames,b,h);w(Pe),clearTimeout(Y),A(te)};P.addEventListener(n.MESSAGE,G),w(()=>{P.removeEventListener(n.MESSAGE,G);const K=new Error("Connection destroyed");K.code=r.ERR_CONNECTION_DESTROYED,L(K)}),h("Child: Sending handshake"),E.postMessage({penpal:n.HANDSHAKE,methodNames:Object.keys(v)},m)}),destroy:b}};t.default=u,e.exports=t.default})(Ml,Ml.exports);var o1=Ml.exports;const s1=Vo(o1);function ln(e){return function(t,n){return n.mode===e}}var l1=ln("onBoot"),u1=ln("renderPage"),c1=ln("renderConfigScreen"),f1=ln("renderModal"),d1=ln("renderItemFormSidebarPanel"),p1=ln("renderItemFormOutlet"),m1=ln("renderFieldExtension"),h1=ln("renderManualFieldExtensionConfigScreen"),v1=ln("renderAssetSource"),ae=function(){return ae=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},ae.apply(this,arguments)},g1=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(f){try{u(r.next(f))}catch(c){o(c)}}function l(f){try{u(r.throw(f))}catch(c){o(c)}}function u(f){f.done?a(f.value):i(f.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},y1=function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(f){return l([u,f])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1],a=u;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(u);break}a[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(f){u=[6,f],i=0}finally{r=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Jf=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))};function _s(e){return function(t,n){if(!e)return{};for(var r={},i=0,a=t;i<a.length;i++){var o=a[i],s=n.itemTypes[o.relationships.item_type.data.id];r[o.id]=e(o,ae(ae({},n),{itemType:s}))}return r}}function S1(){for(var e=document.querySelectorAll("body *"),t=0,n=0;n<e.length;n++)t=Math.max(e[n].scrollHeight,t);return t}var Bn=function(e){var t=null,n=function(l){var u=l===void 0?Math.max(document.body.offsetHeight,document.documentElement.offsetHeight,S1()):l;u!==t&&(e.setHeight(u),t=u)},r=!1,i=null,a=function(){return n()},o=function(){n(),!r&&(r=!0,i=new MutationObserver(a),i.observe(window.document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),window.addEventListener("resize",a))},s=function(){r&&(r=!1,i&&i.disconnect(),window.removeEventListener("resize",a))};return{updateHeight:n,startAutoResizer:o,stopAutoResizer:s}};function b1(e){return e===void 0&&(e={}),g1(this,void 0,void 0,function(){var t,n,r,i,a,o,s,l,u,f,c,d,m,w,g,w,v,w,S,w,p,w,h,w,y,w,b,w;return y1(this,function(P){switch(P.label){case 0:return t=e.assetSources,n=e.mainNavigationTabs,r=e.settingsAreaSidebarItemGroups,i=e.contentAreaSidebarItems,a=e.manualFieldExtensions,o=e.itemFormSidebarPanels,s=e.itemFormOutlets,l=null,u=null,f=s1({methods:{sdkVersion:function(){return"0.2.0"},implementedHooks:function(){return Object.fromEntries(Object.entries(e).map(function(E){var C=E[0],A=E[1];return typeof A=="function"?[C,!0]:[C,A]}))},assetSources:t,mainNavigationTabs:n,settingsAreaSidebarItemGroups:r,contentAreaSidebarItems:i,manualFieldExtensions:a,itemFormSidebarPanels:o,itemFormOutlets:s,overrideFieldExtensions:_s(e.overrideFieldExtensions),customMarksForStructuredTextField:_s(e.customMarksForStructuredTextField),customBlockStylesForStructuredTextField:_s(e.customBlockStylesForStructuredTextField),onChange:function(E){l&&l(E)},callMethodMergingBootCtx:function(E,C,A){return u?u(E,C,A):null}}}),[4,f.promise];case 1:return c=P.sent(),[4,c.getSettings()];case 2:return d=P.sent(),l1(c,d)&&(m=d,l=function(E){m=E},u=function(E,C,A){var L;if(E in e)return(L=e)[E].apply(L,Jf(Jf([],C,!1),[ae(ae(ae({},c),m),A)],!1))},e.onBoot&&e.onBoot(ae(ae({},c),m))),u1(c,d)&&(w=function(E){e.renderPage&&e.renderPage(E.pageId,ae(ae({},c),E))},l=w,w(d)),c1(c,d)&&(g=Bn(c),w=function(E){e.renderConfigScreen&&e.renderConfigScreen(ae(ae(ae({},c),E),g))},l=w,w(d)),f1(c,d)&&(v=Bn(c),w=function(E){e.renderModal&&e.renderModal(E.modalId,ae(ae(ae({},c),E),v))},l=w,w(d)),v1(c,d)&&(S=Bn(c),w=function(E){e.renderAssetSource&&e.renderAssetSource(E.assetSourceId,ae(ae(ae({},c),E),S))},l=w,w(d)),d1(c,d)&&(p=Bn(c),w=function(E){e.renderItemFormSidebarPanel&&e.renderItemFormSidebarPanel(E.sidebarPaneId,ae(ae(ae({},c),E),p))},l=w,w(d)),p1(c,d)&&(h=Bn(c),w=function(E){e.renderItemFormOutlet&&e.renderItemFormOutlet(E.itemFormOutletId,ae(ae(ae({},c),E),h))},l=w,w(d)),m1(c,d)&&(y=Bn(c),w=function(E){e.renderFieldExtension&&e.renderFieldExtension(E.fieldExtensionId,ae(ae(ae({},c),E),y))},l=w,w(d)),h1(c,d)&&(b=Bn(c),w=function(E){e.renderManualFieldExtensionConfigScreen&&e.renderManualFieldExtensionConfigScreen(E.fieldExtensionId,ae(ae(ae({},c),E),b))},l=w,w(d)),[2]}})})}var ah={exports:{}},pt={},oh={exports:{}},sh={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.min.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/(function(e){function t(T,z){var D=T.length;T.push(z);e:for(;0<D;){var N=D-1>>>1,O=T[N];if(0<i(O,z))T[N]=z,T[D]=O,D=N;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var z=T[0],D=T.pop();if(D!==z){T[0]=D;e:for(var N=0,O=T.length,_=O>>>1;N<_;){var k=2*(N+1)-1,I=T[k],j=k+1,q=T[j];if(0>i(I,D))j<O&&0>i(q,I)?(T[N]=q,T[j]=D,N=j):(T[N]=I,T[k]=D,N=k);else if(j<O&&0>i(q,D))T[N]=q,T[j]=D,N=j;else break e}}return z}function i(T,z){var D=T.sortIndex-z.sortIndex;return D!==0?D:T.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],f=1,c=null,d=3,m=!1,g=!1,v=!1,S=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(T){for(var z=n(u);z!==null;){if(z.callback===null)r(u);else if(z.startTime<=T)r(u),z.sortIndex=z.expirationTime,t(l,z);else break;z=n(u)}}function b(T){if(v=!1,y(T),!g)if(n(l)!==null)g=!0,W(w);else{var z=n(u);z!==null&&Pe(b,z.startTime-T)}}function w(T,z){g=!1,v&&(v=!1,p(C),C=-1),m=!0;var D=d;try{for(y(z),c=n(l);c!==null&&(!(c.expirationTime>z)||T&&!Y());){var N=c.callback;if(typeof N=="function"){c.callback=null,d=c.priorityLevel;var O=N(c.expirationTime<=z);z=e.unstable_now(),typeof O=="function"?c.callback=O:c===n(l)&&r(l),y(z)}else r(l);c=n(l)}if(c!==null)var _=!0;else{var k=n(u);k!==null&&Pe(b,k.startTime-z),_=!1}return _}finally{c=null,d=D,m=!1}}var P=!1,E=null,C=-1,A=5,L=-1;function Y(){return!(e.unstable_now()-L<A)}function G(){if(E!==null){var T=e.unstable_now();L=T;var z=!0;try{z=E(!0,T)}finally{z?K():(P=!1,E=null)}}else P=!1}var K;if(typeof h=="function")K=function(){h(G)};else if(typeof MessageChannel<"u"){var U=new MessageChannel,te=U.port2;U.port1.onmessage=G,K=function(){te.postMessage(null)}}else K=function(){S(G,0)};function W(T){E=T,P||(P=!0,K())}function Pe(T,z){C=S(function(){T(e.unstable_now())},z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){g||m||(g=!0,W(w))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(T){switch(d){case 1:case 2:case 3:var z=3;break;default:z=d}var D=d;d=z;try{return T()}finally{d=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,z){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var D=d;d=T;try{return z()}finally{d=D}},e.unstable_scheduleCallback=function(T,z,D){var N=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?N+D:N):D=N,T){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=D+O,T={id:f++,callback:z,priorityLevel:T,startTime:D,expirationTime:O,sortIndex:-1},D>N?(T.sortIndex=D,t(u,T),n(l)===null&&T===n(u)&&(v?(p(C),C=-1):v=!0,Pe(b,D-N))):(T.sortIndex=O,t(l,T),g||m||(g=!0,W(w))),T},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(T){var z=d;return function(){var D=d;d=z;try{return T.apply(this,arguments)}finally{d=D}}}})(sh);oh.exports=sh;var O1=oh.exports;/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.min.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the MIT license found in the
|
|
32
|
-
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var w1=x,dt=O1;function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var lh=new Set,ki={};function lr(e,t){Vr(e,t),Vr(e+"Capture",t)}function Vr(e,t){for(ki[e]=t,e=0;e<t.length;e++)lh.add(t[e])}var Zt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$l=Object.prototype.hasOwnProperty,E1=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Zf={},ed={};function P1(e){return $l.call(ed,e)?!0:$l.call(Zf,e)?!1:E1.test(e)?ed[e]=!0:(Zf[e]=!0,!1)}function C1(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function x1(e,t,n,r){if(t===null||typeof t>"u"||C1(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Xe(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var $e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$e[e]=new Xe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$e[t]=new Xe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$e[e]=new Xe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$e[e]=new Xe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$e[e]=new Xe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$e[e]=new Xe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$e[e]=new Xe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$e[e]=new Xe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$e[e]=new Xe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Oc=/[\-:]([a-z])/g;function wc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Oc,wc);$e[t]=new Xe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Oc,wc);$e[t]=new Xe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Oc,wc);$e[t]=new Xe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$e[e]=new Xe(e,1,!1,e.toLowerCase(),null,!1,!1)});$e.xlinkHref=new Xe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$e[e]=new Xe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ec(e,t,n,r){var i=$e.hasOwnProperty(t)?$e[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(x1(t,n,i,r)&&(n=null),r||i===null?P1(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var un=w1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,la=Symbol.for("react.element"),hr=Symbol.for("react.portal"),vr=Symbol.for("react.fragment"),Pc=Symbol.for("react.strict_mode"),Ul=Symbol.for("react.profiler"),uh=Symbol.for("react.provider"),ch=Symbol.for("react.context"),Cc=Symbol.for("react.forward_ref"),Bl=Symbol.for("react.suspense"),Hl=Symbol.for("react.suspense_list"),xc=Symbol.for("react.memo"),gn=Symbol.for("react.lazy"),fh=Symbol.for("react.offscreen"),td=Symbol.iterator;function ei(e){return e===null||typeof e!="object"?null:(e=td&&e[td]||e["@@iterator"],typeof e=="function"?e:null)}var Se=Object.assign,As;function fi(e){if(As===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);As=t&&t[1]||""}return`
|
|
34
|
-
`+As+e}var ks=!1;function Rs(e,t){if(!e||ks)return"";ks=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
|
|
35
|
-
`),a=r.stack.split(`
|
|
36
|
-
`),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==a[s]){var l=`
|
|
37
|
-
`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{ks=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?fi(e):""}function _1(e){switch(e.tag){case 5:return fi(e.type);case 16:return fi("Lazy");case 13:return fi("Suspense");case 19:return fi("SuspenseList");case 0:case 2:case 15:return e=Rs(e.type,!1),e;case 11:return e=Rs(e.type.render,!1),e;case 1:return e=Rs(e.type,!0),e;default:return""}}function ql(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case vr:return"Fragment";case hr:return"Portal";case Ul:return"Profiler";case Pc:return"StrictMode";case Bl:return"Suspense";case Hl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ch:return(e.displayName||"Context")+".Consumer";case uh:return(e._context.displayName||"Context")+".Provider";case Cc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xc:return t=e.displayName||null,t!==null?t:ql(e.type)||"Memo";case gn:t=e._payload,e=e._init;try{return ql(e(t))}catch{}}return null}function A1(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ql(t);case 8:return t===Pc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function In(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function k1(e){var t=dh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ua(e){e._valueTracker||(e._valueTracker=k1(e))}function ph(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=dh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function eo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wl(e,t){var n=t.checked;return Se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function nd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=In(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function mh(e,t){t=t.checked,t!=null&&Ec(e,"checked",t,!1)}function Yl(e,t){mh(e,t);var n=In(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Gl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Gl(e,t.type,In(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function rd(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Gl(e,t,n){(t!=="number"||eo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var di=Array.isArray;function Rr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+In(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Kl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(F(91));return Se({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function id(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(F(92));if(di(n)){if(1<n.length)throw Error(F(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:In(n)}}function hh(e,t){var n=In(t.value),r=In(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ad(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function vh(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ql(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?vh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ca,gh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ca=ca||document.createElement("div"),ca.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ca.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ri(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var gi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},R1=["Webkit","ms","Moz","O"];Object.keys(gi).forEach(function(e){R1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),gi[t]=gi[e]})});function yh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||gi.hasOwnProperty(e)&&gi[e]?(""+t).trim():t+"px"}function Sh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=yh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var F1=Se({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Xl(e,t){if(t){if(F1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function Jl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Zl=null;function _c(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var eu=null,Fr=null,Ir=null;function od(e){if(e=ea(e)){if(typeof eu!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Ho(t),eu(e.stateNode,e.type,t))}}function bh(e){Fr?Ir?Ir.push(e):Ir=[e]:Fr=e}function Oh(){if(Fr){var e=Fr,t=Ir;if(Ir=Fr=null,od(e),t)for(e=0;e<t.length;e++)od(t[e])}}function wh(e,t){return e(t)}function Eh(){}var Fs=!1;function Ph(e,t,n){if(Fs)return e(t,n);Fs=!0;try{return wh(e,t,n)}finally{Fs=!1,(Fr!==null||Ir!==null)&&(Eh(),Oh())}}function Fi(e,t){var n=e.stateNode;if(n===null)return null;var r=Ho(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(F(231,t,typeof n));return n}var tu=!1;if(Zt)try{var ti={};Object.defineProperty(ti,"passive",{get:function(){tu=!0}}),window.addEventListener("test",ti,ti),window.removeEventListener("test",ti,ti)}catch{tu=!1}function I1(e,t,n,r,i,a,o,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var yi=!1,to=null,no=!1,nu=null,T1={onError:function(e){yi=!0,to=e}};function L1(e,t,n,r,i,a,o,s,l){yi=!1,to=null,I1.apply(T1,arguments)}function M1(e,t,n,r,i,a,o,s,l){if(L1.apply(this,arguments),yi){if(yi){var u=to;yi=!1,to=null}else throw Error(F(198));no||(no=!0,nu=u)}}function ur(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ch(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function sd(e){if(ur(e)!==e)throw Error(F(188))}function N1(e){var t=e.alternate;if(!t){if(t=ur(e),t===null)throw Error(F(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return sd(i),e;if(a===r)return sd(i),t;a=a.sibling}throw Error(F(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o)throw Error(F(189))}}if(n.alternate!==r)throw Error(F(190))}if(n.tag!==3)throw Error(F(188));return n.stateNode.current===n?e:t}function xh(e){return e=N1(e),e!==null?_h(e):null}function _h(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=_h(e);if(t!==null)return t;e=e.sibling}return null}var Ah=dt.unstable_scheduleCallback,ld=dt.unstable_cancelCallback,j1=dt.unstable_shouldYield,V1=dt.unstable_requestPaint,Ce=dt.unstable_now,D1=dt.unstable_getCurrentPriorityLevel,Ac=dt.unstable_ImmediatePriority,kh=dt.unstable_UserBlockingPriority,ro=dt.unstable_NormalPriority,z1=dt.unstable_LowPriority,Rh=dt.unstable_IdlePriority,zo=null,Bt=null;function $1(e){if(Bt&&typeof Bt.onCommitFiberRoot=="function")try{Bt.onCommitFiberRoot(zo,e,void 0,(e.current.flags&128)===128)}catch{}}var Rt=Math.clz32?Math.clz32:H1,U1=Math.log,B1=Math.LN2;function H1(e){return e>>>=0,e===0?32:31-(U1(e)/B1|0)|0}var fa=64,da=4194304;function pi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function io(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=pi(s):(a&=o,a!==0&&(r=pi(a)))}else o=n&~i,o!==0?r=pi(o):a!==0&&(r=pi(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Rt(t),i=1<<n,r|=e[n],t&=~i;return r}function q1(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function W1(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-Rt(a),s=1<<o,l=i[o];l===-1?(!(s&n)||s&r)&&(i[o]=q1(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}function ru(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Fh(){var e=fa;return fa<<=1,!(fa&4194240)&&(fa=64),e}function Is(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ji(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Rt(t),e[t]=n}function Y1(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Rt(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function kc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Rt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var le=0;function Ih(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Th,Rc,Lh,Mh,Nh,iu=!1,pa=[],Pn=null,Cn=null,xn=null,Ii=new Map,Ti=new Map,Sn=[],G1="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ud(e,t){switch(e){case"focusin":case"focusout":Pn=null;break;case"dragenter":case"dragleave":Cn=null;break;case"mouseover":case"mouseout":xn=null;break;case"pointerover":case"pointerout":Ii.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ti.delete(t.pointerId)}}function ni(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=ea(t),t!==null&&Rc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function K1(e,t,n,r,i){switch(t){case"focusin":return Pn=ni(Pn,e,t,n,r,i),!0;case"dragenter":return Cn=ni(Cn,e,t,n,r,i),!0;case"mouseover":return xn=ni(xn,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Ii.set(a,ni(Ii.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Ti.set(a,ni(Ti.get(a)||null,e,t,n,r,i)),!0}return!1}function jh(e){var t=Yn(e.target);if(t!==null){var n=ur(t);if(n!==null){if(t=n.tag,t===13){if(t=Ch(n),t!==null){e.blockedOn=t,Nh(e.priority,function(){Lh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Na(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=au(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Zl=r,n.target.dispatchEvent(r),Zl=null}else return t=ea(n),t!==null&&Rc(t),e.blockedOn=n,!1;t.shift()}return!0}function cd(e,t,n){Na(e)&&n.delete(t)}function Q1(){iu=!1,Pn!==null&&Na(Pn)&&(Pn=null),Cn!==null&&Na(Cn)&&(Cn=null),xn!==null&&Na(xn)&&(xn=null),Ii.forEach(cd),Ti.forEach(cd)}function ri(e,t){e.blockedOn===t&&(e.blockedOn=null,iu||(iu=!0,dt.unstable_scheduleCallback(dt.unstable_NormalPriority,Q1)))}function Li(e){function t(i){return ri(i,e)}if(0<pa.length){ri(pa[0],e);for(var n=1;n<pa.length;n++){var r=pa[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Pn!==null&&ri(Pn,e),Cn!==null&&ri(Cn,e),xn!==null&&ri(xn,e),Ii.forEach(t),Ti.forEach(t),n=0;n<Sn.length;n++)r=Sn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Sn.length&&(n=Sn[0],n.blockedOn===null);)jh(n),n.blockedOn===null&&Sn.shift()}var Tr=un.ReactCurrentBatchConfig,ao=!0;function X1(e,t,n,r){var i=le,a=Tr.transition;Tr.transition=null;try{le=1,Fc(e,t,n,r)}finally{le=i,Tr.transition=a}}function J1(e,t,n,r){var i=le,a=Tr.transition;Tr.transition=null;try{le=4,Fc(e,t,n,r)}finally{le=i,Tr.transition=a}}function Fc(e,t,n,r){if(ao){var i=au(e,t,n,r);if(i===null)Us(e,t,r,oo,n),ud(e,r);else if(K1(i,e,t,n,r))r.stopPropagation();else if(ud(e,r),t&4&&-1<G1.indexOf(e)){for(;i!==null;){var a=ea(i);if(a!==null&&Th(a),a=au(e,t,n,r),a===null&&Us(e,t,r,oo,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Us(e,t,r,null,n)}}var oo=null;function au(e,t,n,r){if(oo=null,e=_c(r),e=Yn(e),e!==null)if(t=ur(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ch(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return oo=e,null}function Vh(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(D1()){case Ac:return 1;case kh:return 4;case ro:case z1:return 16;case Rh:return 536870912;default:return 16}default:return 16}}var wn=null,Ic=null,ja=null;function Dh(){if(ja)return ja;var e,t=Ic,n=t.length,r,i="value"in wn?wn.value:wn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return ja=i.slice(e,1<r?1-r:void 0)}function Va(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ma(){return!0}function fd(){return!1}function mt(e){function t(n,r,i,a,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(a):a[s]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?ma:fd,this.isPropagationStopped=fd,this}return Se(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ma)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ma)},persist:function(){},isPersistent:ma}),t}var Gr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tc=mt(Gr),Zi=Se({},Gr,{view:0,detail:0}),Z1=mt(Zi),Ts,Ls,ii,$o=Se({},Zi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Lc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ii&&(ii&&e.type==="mousemove"?(Ts=e.screenX-ii.screenX,Ls=e.screenY-ii.screenY):Ls=Ts=0,ii=e),Ts)},movementY:function(e){return"movementY"in e?e.movementY:Ls}}),dd=mt($o),eS=Se({},$o,{dataTransfer:0}),tS=mt(eS),nS=Se({},Zi,{relatedTarget:0}),Ms=mt(nS),rS=Se({},Gr,{animationName:0,elapsedTime:0,pseudoElement:0}),iS=mt(rS),aS=Se({},Gr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),oS=mt(aS),sS=Se({},Gr,{data:0}),pd=mt(sS),lS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uS={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},cS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=cS[e])?!!t[e]:!1}function Lc(){return fS}var dS=Se({},Zi,{key:function(e){if(e.key){var t=lS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Va(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?uS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Lc,charCode:function(e){return e.type==="keypress"?Va(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Va(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),pS=mt(dS),mS=Se({},$o,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),md=mt(mS),hS=Se({},Zi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Lc}),vS=mt(hS),gS=Se({},Gr,{propertyName:0,elapsedTime:0,pseudoElement:0}),yS=mt(gS),SS=Se({},$o,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),bS=mt(SS),OS=[9,13,27,32],Mc=Zt&&"CompositionEvent"in window,Si=null;Zt&&"documentMode"in document&&(Si=document.documentMode);var wS=Zt&&"TextEvent"in window&&!Si,zh=Zt&&(!Mc||Si&&8<Si&&11>=Si),hd=" ",vd=!1;function $h(e,t){switch(e){case"keyup":return OS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Uh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gr=!1;function ES(e,t){switch(e){case"compositionend":return Uh(t);case"keypress":return t.which!==32?null:(vd=!0,hd);case"textInput":return e=t.data,e===hd&&vd?null:e;default:return null}}function PS(e,t){if(gr)return e==="compositionend"||!Mc&&$h(e,t)?(e=Dh(),ja=Ic=wn=null,gr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zh&&t.locale!=="ko"?null:t.data;default:return null}}var CS={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function gd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!CS[e.type]:t==="textarea"}function Bh(e,t,n,r){bh(r),t=so(t,"onChange"),0<t.length&&(n=new Tc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var bi=null,Mi=null;function xS(e){ev(e,0)}function Uo(e){var t=br(e);if(ph(t))return e}function _S(e,t){if(e==="change")return t}var Hh=!1;if(Zt){var Ns;if(Zt){var js="oninput"in document;if(!js){var yd=document.createElement("div");yd.setAttribute("oninput","return;"),js=typeof yd.oninput=="function"}Ns=js}else Ns=!1;Hh=Ns&&(!document.documentMode||9<document.documentMode)}function Sd(){bi&&(bi.detachEvent("onpropertychange",qh),Mi=bi=null)}function qh(e){if(e.propertyName==="value"&&Uo(Mi)){var t=[];Bh(t,Mi,e,_c(e)),Ph(xS,t)}}function AS(e,t,n){e==="focusin"?(Sd(),bi=t,Mi=n,bi.attachEvent("onpropertychange",qh)):e==="focusout"&&Sd()}function kS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Uo(Mi)}function RS(e,t){if(e==="click")return Uo(t)}function FS(e,t){if(e==="input"||e==="change")return Uo(t)}function IS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var It=typeof Object.is=="function"?Object.is:IS;function Ni(e,t){if(It(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!$l.call(t,i)||!It(e[i],t[i]))return!1}return!0}function bd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Od(e,t){var n=bd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=bd(n)}}function Wh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Wh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yh(){for(var e=window,t=eo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=eo(e.document)}return t}function Nc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function TS(e){var t=Yh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Wh(n.ownerDocument.documentElement,n)){if(r!==null&&Nc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Od(n,a);var o=Od(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var LS=Zt&&"documentMode"in document&&11>=document.documentMode,yr=null,ou=null,Oi=null,su=!1;function wd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;su||yr==null||yr!==eo(r)||(r=yr,"selectionStart"in r&&Nc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Oi&&Ni(Oi,r)||(Oi=r,r=so(ou,"onSelect"),0<r.length&&(t=new Tc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}function ha(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:ha("Animation","AnimationEnd"),animationiteration:ha("Animation","AnimationIteration"),animationstart:ha("Animation","AnimationStart"),transitionend:ha("Transition","TransitionEnd")},Vs={},Gh={};Zt&&(Gh=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);function Bo(e){if(Vs[e])return Vs[e];if(!Sr[e])return e;var t=Sr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Gh)return Vs[e]=t[n];return e}var Kh=Bo("animationend"),Qh=Bo("animationiteration"),Xh=Bo("animationstart"),Jh=Bo("transitionend"),Zh=new Map,Ed="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function jn(e,t){Zh.set(e,t),lr(t,[e])}for(var Ds=0;Ds<Ed.length;Ds++){var zs=Ed[Ds],MS=zs.toLowerCase(),NS=zs[0].toUpperCase()+zs.slice(1);jn(MS,"on"+NS)}jn(Kh,"onAnimationEnd");jn(Qh,"onAnimationIteration");jn(Xh,"onAnimationStart");jn("dblclick","onDoubleClick");jn("focusin","onFocus");jn("focusout","onBlur");jn(Jh,"onTransitionEnd");Vr("onMouseEnter",["mouseout","mouseover"]);Vr("onMouseLeave",["mouseout","mouseover"]);Vr("onPointerEnter",["pointerout","pointerover"]);Vr("onPointerLeave",["pointerout","pointerover"]);lr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));lr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));lr("onBeforeInput",["compositionend","keypress","textInput","paste"]);lr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));lr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));lr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jS=new Set("cancel close invalid load scroll toggle".split(" ").concat(mi));function Pd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,M1(r,t,void 0,e),e.currentTarget=null}function ev(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;Pd(i,s,u),a=l}else for(o=0;o<r.length;o++){if(s=r[o],l=s.instance,u=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;Pd(i,s,u),a=l}}}if(no)throw e=nu,no=!1,nu=null,e}function de(e,t){var n=t[du];n===void 0&&(n=t[du]=new Set);var r=e+"__bubble";n.has(r)||(tv(t,e,2,!1),n.add(r))}function $s(e,t,n){var r=0;t&&(r|=4),tv(n,e,r,t)}var va="_reactListening"+Math.random().toString(36).slice(2);function ji(e){if(!e[va]){e[va]=!0,lh.forEach(function(n){n!=="selectionchange"&&(jS.has(n)||$s(n,!1,e),$s(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[va]||(t[va]=!0,$s("selectionchange",!1,t))}}function tv(e,t,n,r){switch(Vh(t)){case 1:var i=X1;break;case 4:i=J1;break;default:i=Fc}n=i.bind(null,t,n,e),i=void 0,!tu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Us(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;s!==null;){if(o=Yn(s),o===null)return;if(l=o.tag,l===5||l===6){r=a=o;continue e}s=s.parentNode}}r=r.return}Ph(function(){var u=a,f=_c(n),c=[];e:{var d=Zh.get(e);if(d!==void 0){var m=Tc,g=e;switch(e){case"keypress":if(Va(n)===0)break e;case"keydown":case"keyup":m=pS;break;case"focusin":g="focus",m=Ms;break;case"focusout":g="blur",m=Ms;break;case"beforeblur":case"afterblur":m=Ms;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=dd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=tS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=vS;break;case Kh:case Qh:case Xh:m=iS;break;case Jh:m=yS;break;case"scroll":m=Z1;break;case"wheel":m=bS;break;case"copy":case"cut":case"paste":m=oS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=md}var v=(t&4)!==0,S=!v&&e==="scroll",p=v?d!==null?d+"Capture":null:d;v=[];for(var h=u,y;h!==null;){y=h;var b=y.stateNode;if(y.tag===5&&b!==null&&(y=b,p!==null&&(b=Fi(h,p),b!=null&&v.push(Vi(h,b,y)))),S)break;h=h.return}0<v.length&&(d=new m(d,g,null,n,f),c.push({event:d,listeners:v}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",d&&n!==Zl&&(g=n.relatedTarget||n.fromElement)&&(Yn(g)||g[en]))break e;if((m||d)&&(d=f.window===f?f:(d=f.ownerDocument)?d.defaultView||d.parentWindow:window,m?(g=n.relatedTarget||n.toElement,m=u,g=g?Yn(g):null,g!==null&&(S=ur(g),g!==S||g.tag!==5&&g.tag!==6)&&(g=null)):(m=null,g=u),m!==g)){if(v=dd,b="onMouseLeave",p="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(v=md,b="onPointerLeave",p="onPointerEnter",h="pointer"),S=m==null?d:br(m),y=g==null?d:br(g),d=new v(b,h+"leave",m,n,f),d.target=S,d.relatedTarget=y,b=null,Yn(f)===u&&(v=new v(p,h+"enter",g,n,f),v.target=y,v.relatedTarget=S,b=v),S=b,m&&g)t:{for(v=m,p=g,h=0,y=v;y;y=fr(y))h++;for(y=0,b=p;b;b=fr(b))y++;for(;0<h-y;)v=fr(v),h--;for(;0<y-h;)p=fr(p),y--;for(;h--;){if(v===p||p!==null&&v===p.alternate)break t;v=fr(v),p=fr(p)}v=null}else v=null;m!==null&&Cd(c,d,m,v,!1),g!==null&&S!==null&&Cd(c,S,g,v,!0)}}e:{if(d=u?br(u):window,m=d.nodeName&&d.nodeName.toLowerCase(),m==="select"||m==="input"&&d.type==="file")var w=_S;else if(gd(d))if(Hh)w=FS;else{w=kS;var P=AS}else(m=d.nodeName)&&m.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(w=RS);if(w&&(w=w(e,u))){Bh(c,w,n,f);break e}P&&P(e,d,u),e==="focusout"&&(P=d._wrapperState)&&P.controlled&&d.type==="number"&&Gl(d,"number",d.value)}switch(P=u?br(u):window,e){case"focusin":(gd(P)||P.contentEditable==="true")&&(yr=P,ou=u,Oi=null);break;case"focusout":Oi=ou=yr=null;break;case"mousedown":su=!0;break;case"contextmenu":case"mouseup":case"dragend":su=!1,wd(c,n,f);break;case"selectionchange":if(LS)break;case"keydown":case"keyup":wd(c,n,f)}var E;if(Mc)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else gr?$h(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(zh&&n.locale!=="ko"&&(gr||C!=="onCompositionStart"?C==="onCompositionEnd"&&gr&&(E=Dh()):(wn=f,Ic="value"in wn?wn.value:wn.textContent,gr=!0)),P=so(u,C),0<P.length&&(C=new pd(C,e,null,n,f),c.push({event:C,listeners:P}),E?C.data=E:(E=Uh(n),E!==null&&(C.data=E)))),(E=wS?ES(e,n):PS(e,n))&&(u=so(u,"onBeforeInput"),0<u.length&&(f=new pd("onBeforeInput","beforeinput",null,n,f),c.push({event:f,listeners:u}),f.data=E))}ev(c,t)})}function Vi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function so(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=Fi(e,n),a!=null&&r.unshift(Vi(e,a,i)),a=Fi(e,t),a!=null&&r.push(Vi(e,a,i))),e=e.return}return r}function fr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Cd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&u!==null&&(s=u,i?(l=Fi(n,a),l!=null&&o.unshift(Vi(n,l,s))):i||(l=Fi(n,a),l!=null&&o.push(Vi(n,l,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var VS=/\r\n?/g,DS=/\u0000|\uFFFD/g;function xd(e){return(typeof e=="string"?e:""+e).replace(VS,`
|
|
38
|
-
`).replace(DS,"")}function ga(e,t,n){if(t=xd(t),xd(e)!==t&&n)throw Error(F(425))}function lo(){}var lu=null,uu=null;function cu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var fu=typeof setTimeout=="function"?setTimeout:void 0,zS=typeof clearTimeout=="function"?clearTimeout:void 0,_d=typeof Promise=="function"?Promise:void 0,$S=typeof queueMicrotask=="function"?queueMicrotask:typeof _d<"u"?function(e){return _d.resolve(null).then(e).catch(US)}:fu;function US(e){setTimeout(function(){throw e})}function Bs(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Li(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Li(t)}function _n(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Ad(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Kr=Math.random().toString(36).slice(2),zt="__reactFiber$"+Kr,Di="__reactProps$"+Kr,en="__reactContainer$"+Kr,du="__reactEvents$"+Kr,BS="__reactListeners$"+Kr,HS="__reactHandles$"+Kr;function Yn(e){var t=e[zt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[en]||n[zt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ad(e);e!==null;){if(n=e[zt])return n;e=Ad(e)}return t}e=n,n=e.parentNode}return null}function ea(e){return e=e[zt]||e[en],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function br(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(F(33))}function Ho(e){return e[Di]||null}var pu=[],Or=-1;function Vn(e){return{current:e}}function pe(e){0>Or||(e.current=pu[Or],pu[Or]=null,Or--)}function fe(e,t){Or++,pu[Or]=e.current,e.current=t}var Tn={},We=Vn(Tn),tt=Vn(!1),er=Tn;function Dr(e,t){var n=e.type.contextTypes;if(!n)return Tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function nt(e){return e=e.childContextTypes,e!=null}function uo(){pe(tt),pe(We)}function kd(e,t,n){if(We.current!==Tn)throw Error(F(168));fe(We,t),fe(tt,n)}function nv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(F(108,A1(e)||"Unknown",i));return Se({},n,r)}function co(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tn,er=We.current,fe(We,e),fe(tt,tt.current),!0}function Rd(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=nv(e,t,er),r.__reactInternalMemoizedMergedChildContext=e,pe(tt),pe(We),fe(We,e)):pe(tt),fe(tt,n)}var Gt=null,qo=!1,Hs=!1;function rv(e){Gt===null?Gt=[e]:Gt.push(e)}function qS(e){qo=!0,rv(e)}function Dn(){if(!Hs&&Gt!==null){Hs=!0;var e=0,t=le;try{var n=Gt;for(le=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Gt=null,qo=!1}catch(i){throw Gt!==null&&(Gt=Gt.slice(e+1)),Ah(Ac,Dn),i}finally{le=t,Hs=!1}}return null}var wr=[],Er=0,fo=null,po=0,yt=[],St=0,tr=null,Kt=1,Qt="";function qn(e,t){wr[Er++]=po,wr[Er++]=fo,fo=e,po=t}function iv(e,t,n){yt[St++]=Kt,yt[St++]=Qt,yt[St++]=tr,tr=e;var r=Kt;e=Qt;var i=32-Rt(r)-1;r&=~(1<<i),n+=1;var a=32-Rt(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Kt=1<<32-Rt(t)+i|n<<i|r,Qt=a+e}else Kt=1<<a|n<<i|r,Qt=e}function jc(e){e.return!==null&&(qn(e,1),iv(e,1,0))}function Vc(e){for(;e===fo;)fo=wr[--Er],wr[Er]=null,po=wr[--Er],wr[Er]=null;for(;e===tr;)tr=yt[--St],yt[St]=null,Qt=yt[--St],yt[St]=null,Kt=yt[--St],yt[St]=null}var ct=null,ut=null,ve=!1,At=null;function av(e,t){var n=bt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Fd(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ct=e,ut=_n(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ct=e,ut=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=tr!==null?{id:Kt,overflow:Qt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=bt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ct=e,ut=null,!0):!1;default:return!1}}function mu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function hu(e){if(ve){var t=ut;if(t){var n=t;if(!Fd(e,t)){if(mu(e))throw Error(F(418));t=_n(n.nextSibling);var r=ct;t&&Fd(e,t)?av(r,n):(e.flags=e.flags&-4097|2,ve=!1,ct=e)}}else{if(mu(e))throw Error(F(418));e.flags=e.flags&-4097|2,ve=!1,ct=e}}}function Id(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ct=e}function ya(e){if(e!==ct)return!1;if(!ve)return Id(e),ve=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!cu(e.type,e.memoizedProps)),t&&(t=ut)){if(mu(e))throw ov(),Error(F(418));for(;t;)av(e,t),t=_n(t.nextSibling)}if(Id(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(F(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ut=_n(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ut=null}}else ut=ct?_n(e.stateNode.nextSibling):null;return!0}function ov(){for(var e=ut;e;)e=_n(e.nextSibling)}function zr(){ut=ct=null,ve=!1}function Dc(e){At===null?At=[e]:At.push(e)}var WS=un.ReactCurrentBatchConfig;function ai(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(F(309));var r=n.stateNode}if(!r)throw Error(F(147,e));var i=r,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(o){var s=i.refs;o===null?delete s[a]:s[a]=o},t._stringRef=a,t)}if(typeof e!="string")throw Error(F(284));if(!n._owner)throw Error(F(290,e))}return e}function Sa(e,t){throw e=Object.prototype.toString.call(t),Error(F(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Td(e){var t=e._init;return t(e._payload)}function sv(e){function t(p,h){if(e){var y=p.deletions;y===null?(p.deletions=[h],p.flags|=16):y.push(h)}}function n(p,h){if(!e)return null;for(;h!==null;)t(p,h),h=h.sibling;return null}function r(p,h){for(p=new Map;h!==null;)h.key!==null?p.set(h.key,h):p.set(h.index,h),h=h.sibling;return p}function i(p,h){return p=Fn(p,h),p.index=0,p.sibling=null,p}function a(p,h,y){return p.index=y,e?(y=p.alternate,y!==null?(y=y.index,y<h?(p.flags|=2,h):y):(p.flags|=2,h)):(p.flags|=1048576,h)}function o(p){return e&&p.alternate===null&&(p.flags|=2),p}function s(p,h,y,b){return h===null||h.tag!==6?(h=Xs(y,p.mode,b),h.return=p,h):(h=i(h,y),h.return=p,h)}function l(p,h,y,b){var w=y.type;return w===vr?f(p,h,y.props.children,b,y.key):h!==null&&(h.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===gn&&Td(w)===h.type)?(b=i(h,y.props),b.ref=ai(p,h,y),b.return=p,b):(b=qa(y.type,y.key,y.props,null,p.mode,b),b.ref=ai(p,h,y),b.return=p,b)}function u(p,h,y,b){return h===null||h.tag!==4||h.stateNode.containerInfo!==y.containerInfo||h.stateNode.implementation!==y.implementation?(h=Js(y,p.mode,b),h.return=p,h):(h=i(h,y.children||[]),h.return=p,h)}function f(p,h,y,b,w){return h===null||h.tag!==7?(h=Jn(y,p.mode,b,w),h.return=p,h):(h=i(h,y),h.return=p,h)}function c(p,h,y){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Xs(""+h,p.mode,y),h.return=p,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case la:return y=qa(h.type,h.key,h.props,null,p.mode,y),y.ref=ai(p,null,h),y.return=p,y;case hr:return h=Js(h,p.mode,y),h.return=p,h;case gn:var b=h._init;return c(p,b(h._payload),y)}if(di(h)||ei(h))return h=Jn(h,p.mode,y,null),h.return=p,h;Sa(p,h)}return null}function d(p,h,y,b){var w=h!==null?h.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return w!==null?null:s(p,h,""+y,b);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case la:return y.key===w?l(p,h,y,b):null;case hr:return y.key===w?u(p,h,y,b):null;case gn:return w=y._init,d(p,h,w(y._payload),b)}if(di(y)||ei(y))return w!==null?null:f(p,h,y,b,null);Sa(p,y)}return null}function m(p,h,y,b,w){if(typeof b=="string"&&b!==""||typeof b=="number")return p=p.get(y)||null,s(h,p,""+b,w);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case la:return p=p.get(b.key===null?y:b.key)||null,l(h,p,b,w);case hr:return p=p.get(b.key===null?y:b.key)||null,u(h,p,b,w);case gn:var P=b._init;return m(p,h,y,P(b._payload),w)}if(di(b)||ei(b))return p=p.get(y)||null,f(h,p,b,w,null);Sa(h,b)}return null}function g(p,h,y,b){for(var w=null,P=null,E=h,C=h=0,A=null;E!==null&&C<y.length;C++){E.index>C?(A=E,E=null):A=E.sibling;var L=d(p,E,y[C],b);if(L===null){E===null&&(E=A);break}e&&E&&L.alternate===null&&t(p,E),h=a(L,h,C),P===null?w=L:P.sibling=L,P=L,E=A}if(C===y.length)return n(p,E),ve&&qn(p,C),w;if(E===null){for(;C<y.length;C++)E=c(p,y[C],b),E!==null&&(h=a(E,h,C),P===null?w=E:P.sibling=E,P=E);return ve&&qn(p,C),w}for(E=r(p,E);C<y.length;C++)A=m(E,p,C,y[C],b),A!==null&&(e&&A.alternate!==null&&E.delete(A.key===null?C:A.key),h=a(A,h,C),P===null?w=A:P.sibling=A,P=A);return e&&E.forEach(function(Y){return t(p,Y)}),ve&&qn(p,C),w}function v(p,h,y,b){var w=ei(y);if(typeof w!="function")throw Error(F(150));if(y=w.call(y),y==null)throw Error(F(151));for(var P=w=null,E=h,C=h=0,A=null,L=y.next();E!==null&&!L.done;C++,L=y.next()){E.index>C?(A=E,E=null):A=E.sibling;var Y=d(p,E,L.value,b);if(Y===null){E===null&&(E=A);break}e&&E&&Y.alternate===null&&t(p,E),h=a(Y,h,C),P===null?w=Y:P.sibling=Y,P=Y,E=A}if(L.done)return n(p,E),ve&&qn(p,C),w;if(E===null){for(;!L.done;C++,L=y.next())L=c(p,L.value,b),L!==null&&(h=a(L,h,C),P===null?w=L:P.sibling=L,P=L);return ve&&qn(p,C),w}for(E=r(p,E);!L.done;C++,L=y.next())L=m(E,p,C,L.value,b),L!==null&&(e&&L.alternate!==null&&E.delete(L.key===null?C:L.key),h=a(L,h,C),P===null?w=L:P.sibling=L,P=L);return e&&E.forEach(function(G){return t(p,G)}),ve&&qn(p,C),w}function S(p,h,y,b){if(typeof y=="object"&&y!==null&&y.type===vr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case la:e:{for(var w=y.key,P=h;P!==null;){if(P.key===w){if(w=y.type,w===vr){if(P.tag===7){n(p,P.sibling),h=i(P,y.props.children),h.return=p,p=h;break e}}else if(P.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===gn&&Td(w)===P.type){n(p,P.sibling),h=i(P,y.props),h.ref=ai(p,P,y),h.return=p,p=h;break e}n(p,P);break}else t(p,P);P=P.sibling}y.type===vr?(h=Jn(y.props.children,p.mode,b,y.key),h.return=p,p=h):(b=qa(y.type,y.key,y.props,null,p.mode,b),b.ref=ai(p,h,y),b.return=p,p=b)}return o(p);case hr:e:{for(P=y.key;h!==null;){if(h.key===P)if(h.tag===4&&h.stateNode.containerInfo===y.containerInfo&&h.stateNode.implementation===y.implementation){n(p,h.sibling),h=i(h,y.children||[]),h.return=p,p=h;break e}else{n(p,h);break}else t(p,h);h=h.sibling}h=Js(y,p.mode,b),h.return=p,p=h}return o(p);case gn:return P=y._init,S(p,h,P(y._payload),b)}if(di(y))return g(p,h,y,b);if(ei(y))return v(p,h,y,b);Sa(p,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,h!==null&&h.tag===6?(n(p,h.sibling),h=i(h,y),h.return=p,p=h):(n(p,h),h=Xs(y,p.mode,b),h.return=p,p=h),o(p)):n(p,h)}return S}var $r=sv(!0),lv=sv(!1),mo=Vn(null),ho=null,Pr=null,zc=null;function $c(){zc=Pr=ho=null}function Uc(e){var t=mo.current;pe(mo),e._currentValue=t}function vu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Lr(e,t){ho=e,zc=Pr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(et=!0),e.firstContext=null)}function wt(e){var t=e._currentValue;if(zc!==e)if(e={context:e,memoizedValue:t,next:null},Pr===null){if(ho===null)throw Error(F(308));Pr=e,ho.dependencies={lanes:0,firstContext:e}}else Pr=Pr.next=e;return t}var Gn=null;function Bc(e){Gn===null?Gn=[e]:Gn.push(e)}function uv(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Bc(t)):(n.next=i.next,i.next=n),t.interleaved=n,tn(e,r)}function tn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var yn=!1;function Hc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function cv(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Xt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function An(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,re&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,tn(e,n)}return i=r.interleaved,i===null?(t.next=t,Bc(r)):(t.next=i.next,i.next=t),r.interleaved=t,tn(e,n)}function Da(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kc(e,n)}}function Ld(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function vo(e,t,n,r){var i=e.updateQueue;yn=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,u=l.next;l.next=null,o===null?a=u:o.next=u,o=l;var f=e.alternate;f!==null&&(f=f.updateQueue,s=f.lastBaseUpdate,s!==o&&(s===null?f.firstBaseUpdate=u:s.next=u,f.lastBaseUpdate=l))}if(a!==null){var c=i.baseState;o=0,f=u=l=null,s=a;do{var d=s.lane,m=s.eventTime;if((r&d)===d){f!==null&&(f=f.next={eventTime:m,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,v=s;switch(d=t,m=n,v.tag){case 1:if(g=v.payload,typeof g=="function"){c=g.call(m,c,d);break e}c=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=v.payload,d=typeof g=="function"?g.call(m,c,d):g,d==null)break e;c=Se({},c,d);break e;case 2:yn=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[s]:d.push(s))}else m={eventTime:m,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},f===null?(u=f=m,l=c):f=f.next=m,o|=d;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;d=s,s=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(f===null&&(l=c),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);rr|=o,e.lanes=o,e.memoizedState=c}}function Md(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(F(191,i));i.call(r)}}}var ta={},Ht=Vn(ta),zi=Vn(ta),$i=Vn(ta);function Kn(e){if(e===ta)throw Error(F(174));return e}function qc(e,t){switch(fe($i,t),fe(zi,e),fe(Ht,ta),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ql(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ql(t,e)}pe(Ht),fe(Ht,t)}function Ur(){pe(Ht),pe(zi),pe($i)}function fv(e){Kn($i.current);var t=Kn(Ht.current),n=Ql(t,e.type);t!==n&&(fe(zi,e),fe(Ht,n))}function Wc(e){zi.current===e&&(pe(Ht),pe(zi))}var ge=Vn(0);function go(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var qs=[];function Yc(){for(var e=0;e<qs.length;e++)qs[e]._workInProgressVersionPrimary=null;qs.length=0}var za=un.ReactCurrentDispatcher,Ws=un.ReactCurrentBatchConfig,nr=0,ye=null,Ie=null,Le=null,yo=!1,wi=!1,Ui=0,YS=0;function Ue(){throw Error(F(321))}function Gc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!It(e[n],t[n]))return!1;return!0}function Kc(e,t,n,r,i,a){if(nr=a,ye=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,za.current=e===null||e.memoizedState===null?XS:JS,e=n(r,i),wi){a=0;do{if(wi=!1,Ui=0,25<=a)throw Error(F(301));a+=1,Le=Ie=null,t.updateQueue=null,za.current=ZS,e=n(r,i)}while(wi)}if(za.current=So,t=Ie!==null&&Ie.next!==null,nr=0,Le=Ie=ye=null,yo=!1,t)throw Error(F(300));return e}function Qc(){var e=Ui!==0;return Ui=0,e}function Mt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Le===null?ye.memoizedState=Le=e:Le=Le.next=e,Le}function Et(){if(Ie===null){var e=ye.alternate;e=e!==null?e.memoizedState:null}else e=Ie.next;var t=Le===null?ye.memoizedState:Le.next;if(t!==null)Le=t,Ie=e;else{if(e===null)throw Error(F(310));Ie=e,e={memoizedState:Ie.memoizedState,baseState:Ie.baseState,baseQueue:Ie.baseQueue,queue:Ie.queue,next:null},Le===null?ye.memoizedState=Le=e:Le=Le.next=e}return Le}function Bi(e,t){return typeof t=="function"?t(e):t}function Ys(e){var t=Et(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=Ie,i=r.baseQueue,a=n.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}r.baseQueue=i=a,n.pending=null}if(i!==null){a=i.next,r=r.baseState;var s=o=null,l=null,u=a;do{var f=u.lane;if((nr&f)===f)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var c={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=c,o=r):l=l.next=c,ye.lanes|=f,rr|=f}u=u.next}while(u!==null&&u!==a);l===null?o=r:l.next=s,It(r,t.memoizedState)||(et=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do a=i.lane,ye.lanes|=a,rr|=a,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Gs(e){var t=Et(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);It(a,t.memoizedState)||(et=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function dv(){}function pv(e,t){var n=ye,r=Et(),i=t(),a=!It(r.memoizedState,i);if(a&&(r.memoizedState=i,et=!0),r=r.queue,Xc(vv.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||Le!==null&&Le.memoizedState.tag&1){if(n.flags|=2048,Hi(9,hv.bind(null,n,r,i,t),void 0,null),Me===null)throw Error(F(349));nr&30||mv(n,t,i)}return i}function mv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ye.updateQueue,t===null?(t={lastEffect:null,stores:null},ye.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function hv(e,t,n,r){t.value=n,t.getSnapshot=r,gv(t)&&yv(e)}function vv(e,t,n){return n(function(){gv(t)&&yv(e)})}function gv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!It(e,n)}catch{return!0}}function yv(e){var t=tn(e,1);t!==null&&Ft(t,e,1,-1)}function Nd(e){var t=Mt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Bi,lastRenderedState:e},t.queue=e,e=e.dispatch=QS.bind(null,ye,e),[t.memoizedState,e]}function Hi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ye.updateQueue,t===null?(t={lastEffect:null,stores:null},ye.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Sv(){return Et().memoizedState}function $a(e,t,n,r){var i=Mt();ye.flags|=e,i.memoizedState=Hi(1|t,n,void 0,r===void 0?null:r)}function Wo(e,t,n,r){var i=Et();r=r===void 0?null:r;var a=void 0;if(Ie!==null){var o=Ie.memoizedState;if(a=o.destroy,r!==null&&Gc(r,o.deps)){i.memoizedState=Hi(t,n,a,r);return}}ye.flags|=e,i.memoizedState=Hi(1|t,n,a,r)}function jd(e,t){return $a(8390656,8,e,t)}function Xc(e,t){return Wo(2048,8,e,t)}function bv(e,t){return Wo(4,2,e,t)}function Ov(e,t){return Wo(4,4,e,t)}function wv(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ev(e,t,n){return n=n!=null?n.concat([e]):null,Wo(4,4,wv.bind(null,t,e),n)}function Jc(){}function Pv(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Gc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cv(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Gc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function xv(e,t,n){return nr&21?(It(n,t)||(n=Fh(),ye.lanes|=n,rr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,et=!0),e.memoizedState=n)}function GS(e,t){var n=le;le=n!==0&&4>n?n:4,e(!0);var r=Ws.transition;Ws.transition={};try{e(!1),t()}finally{le=n,Ws.transition=r}}function _v(){return Et().memoizedState}function KS(e,t,n){var r=Rn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Av(e))kv(t,n);else if(n=uv(e,t,n,r),n!==null){var i=Ke();Ft(n,e,r,i),Rv(n,t,r)}}function QS(e,t,n){var r=Rn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Av(e))kv(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,It(s,o)){var l=t.interleaved;l===null?(i.next=i,Bc(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=uv(e,t,i,r),n!==null&&(i=Ke(),Ft(n,e,r,i),Rv(n,t,r))}}function Av(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function kv(e,t){wi=yo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Rv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kc(e,n)}}var So={readContext:wt,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useInsertionEffect:Ue,useLayoutEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useMutableSource:Ue,useSyncExternalStore:Ue,useId:Ue,unstable_isNewReconciler:!1},XS={readContext:wt,useCallback:function(e,t){return Mt().memoizedState=[e,t===void 0?null:t],e},useContext:wt,useEffect:jd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$a(4194308,4,wv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $a(4194308,4,e,t)},useInsertionEffect:function(e,t){return $a(4,2,e,t)},useMemo:function(e,t){var n=Mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Mt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=KS.bind(null,ye,e),[r.memoizedState,e]},useRef:function(e){var t=Mt();return e={current:e},t.memoizedState=e},useState:Nd,useDebugValue:Jc,useDeferredValue:function(e){return Mt().memoizedState=e},useTransition:function(){var e=Nd(!1),t=e[0];return e=GS.bind(null,e[1]),Mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ye,i=Mt();if(ve){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),Me===null)throw Error(F(349));nr&30||mv(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,jd(vv.bind(null,r,a,e),[e]),r.flags|=2048,Hi(9,hv.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Mt(),t=Me.identifierPrefix;if(ve){var n=Qt,r=Kt;n=(r&~(1<<32-Rt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ui++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=YS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},JS={readContext:wt,useCallback:Pv,useContext:wt,useEffect:Xc,useImperativeHandle:Ev,useInsertionEffect:bv,useLayoutEffect:Ov,useMemo:Cv,useReducer:Ys,useRef:Sv,useState:function(){return Ys(Bi)},useDebugValue:Jc,useDeferredValue:function(e){var t=Et();return xv(t,Ie.memoizedState,e)},useTransition:function(){var e=Ys(Bi)[0],t=Et().memoizedState;return[e,t]},useMutableSource:dv,useSyncExternalStore:pv,useId:_v,unstable_isNewReconciler:!1},ZS={readContext:wt,useCallback:Pv,useContext:wt,useEffect:Xc,useImperativeHandle:Ev,useInsertionEffect:bv,useLayoutEffect:Ov,useMemo:Cv,useReducer:Gs,useRef:Sv,useState:function(){return Gs(Bi)},useDebugValue:Jc,useDeferredValue:function(e){var t=Et();return Ie===null?t.memoizedState=e:xv(t,Ie.memoizedState,e)},useTransition:function(){var e=Gs(Bi)[0],t=Et().memoizedState;return[e,t]},useMutableSource:dv,useSyncExternalStore:pv,useId:_v,unstable_isNewReconciler:!1};function xt(e,t){if(e&&e.defaultProps){t=Se({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function gu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Se({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Yo={isMounted:function(e){return(e=e._reactInternals)?ur(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ke(),i=Rn(e),a=Xt(r,i);a.payload=t,n!=null&&(a.callback=n),t=An(e,a,i),t!==null&&(Ft(t,e,i,r),Da(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ke(),i=Rn(e),a=Xt(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=An(e,a,i),t!==null&&(Ft(t,e,i,r),Da(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ke(),r=Rn(e),i=Xt(n,r);i.tag=2,t!=null&&(i.callback=t),t=An(e,i,r),t!==null&&(Ft(t,e,r,n),Da(t,e,r))}};function Vd(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Ni(n,r)||!Ni(i,a):!0}function Fv(e,t,n){var r=!1,i=Tn,a=t.contextType;return typeof a=="object"&&a!==null?a=wt(a):(i=nt(t)?er:We.current,r=t.contextTypes,a=(r=r!=null)?Dr(e,i):Tn),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Yo,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Dd(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Yo.enqueueReplaceState(t,t.state,null)}function yu(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Hc(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=wt(a):(a=nt(t)?er:We.current,i.context=Dr(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(gu(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Yo.enqueueReplaceState(i,i.state,null),vo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Br(e,t){try{var n="",r=t;do n+=_1(r),r=r.return;while(r);var i=n}catch(a){i=`
|
|
39
|
-
Error generating stack: `+a.message+`
|
|
40
|
-
`+a.stack}return{value:e,source:t,stack:i,digest:null}}function Ks(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Su(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var eb=typeof WeakMap=="function"?WeakMap:Map;function Iv(e,t,n){n=Xt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Oo||(Oo=!0,ku=r),Su(e,t)},n}function Tv(e,t,n){n=Xt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Su(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){Su(e,t),typeof r!="function"&&(kn===null?kn=new Set([this]):kn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function zd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new eb;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=mb.bind(null,e,t,n),t.then(e,e))}function $d(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Ud(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Xt(-1,1),t.tag=2,An(n,t,1))),n.lanes|=1),e)}var tb=un.ReactCurrentOwner,et=!1;function Ge(e,t,n,r){t.child=e===null?lv(t,null,n,r):$r(t,e.child,n,r)}function Bd(e,t,n,r,i){n=n.render;var a=t.ref;return Lr(t,i),r=Kc(e,t,n,r,a,i),n=Qc(),e!==null&&!et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,nn(e,t,i)):(ve&&n&&jc(t),t.flags|=1,Ge(e,t,r,i),t.child)}function Hd(e,t,n,r,i){if(e===null){var a=n.type;return typeof a=="function"&&!sf(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Lv(e,t,a,r,i)):(e=qa(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var o=a.memoizedProps;if(n=n.compare,n=n!==null?n:Ni,n(o,r)&&e.ref===t.ref)return nn(e,t,i)}return t.flags|=1,e=Fn(a,r),e.ref=t.ref,e.return=t,t.child=e}function Lv(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Ni(a,r)&&e.ref===t.ref)if(et=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(et=!0);else return t.lanes=e.lanes,nn(e,t,i)}return bu(e,t,n,r,i)}function Mv(e,t,n){var r=t.pendingProps,i=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},fe(xr,lt),lt|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,fe(xr,lt),lt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,fe(xr,lt),lt|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,fe(xr,lt),lt|=r;return Ge(e,t,i,n),t.child}function Nv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function bu(e,t,n,r,i){var a=nt(n)?er:We.current;return a=Dr(t,a),Lr(t,i),n=Kc(e,t,n,r,a,i),r=Qc(),e!==null&&!et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,nn(e,t,i)):(ve&&r&&jc(t),t.flags|=1,Ge(e,t,n,i),t.child)}function qd(e,t,n,r,i){if(nt(n)){var a=!0;co(t)}else a=!1;if(Lr(t,i),t.stateNode===null)Ua(e,t),Fv(t,n,r),yu(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=wt(u):(u=nt(n)?er:We.current,u=Dr(t,u));var f=n.getDerivedStateFromProps,c=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function";c||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||l!==u)&&Dd(t,o,r,u),yn=!1;var d=t.memoizedState;o.state=d,vo(t,r,o,i),l=t.memoizedState,s!==r||d!==l||tt.current||yn?(typeof f=="function"&&(gu(t,n,f,r),l=t.memoizedState),(s=yn||Vd(t,n,s,r,d,l,u))?(c||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,cv(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:xt(t.type,s),o.props=u,c=t.pendingProps,d=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=wt(l):(l=nt(n)?er:We.current,l=Dr(t,l));var m=n.getDerivedStateFromProps;(f=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==c||d!==l)&&Dd(t,o,r,l),yn=!1,d=t.memoizedState,o.state=d,vo(t,r,o,i);var g=t.memoizedState;s!==c||d!==g||tt.current||yn?(typeof m=="function"&&(gu(t,n,m,r),g=t.memoizedState),(u=yn||Vd(t,n,u,r,d,g,l)||!1)?(f||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,g,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,g,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),o.props=r,o.state=g,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ou(e,t,n,r,a,i)}function Ou(e,t,n,r,i,a){Nv(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&Rd(t,n,!1),nn(e,t,a);r=t.stateNode,tb.current=t;var s=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=$r(t,e.child,null,a),t.child=$r(t,null,s,a)):Ge(e,t,s,a),t.memoizedState=r.state,i&&Rd(t,n,!0),t.child}function jv(e){var t=e.stateNode;t.pendingContext?kd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&kd(e,t.context,!1),qc(e,t.containerInfo)}function Wd(e,t,n,r,i){return zr(),Dc(i),t.flags|=256,Ge(e,t,n,r),t.child}var wu={dehydrated:null,treeContext:null,retryLane:0};function Eu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Vv(e,t,n){var r=t.pendingProps,i=ge.current,a=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),fe(ge,i&1),e===null)return hu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:"hidden",children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=Qo(o,r,0,null),e=Jn(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Eu(n),t.memoizedState=wu,e):Zc(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return nb(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Fn(i,l),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?a=Fn(s,a):(a=Jn(a,o,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?Eu(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=wu,r}return a=e.child,e=a.sibling,r=Fn(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Zc(e,t){return t=Qo({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ba(e,t,n,r){return r!==null&&Dc(r),$r(t,e.child,null,n),e=Zc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function nb(e,t,n,r,i,a,o){if(n)return t.flags&256?(t.flags&=-257,r=Ks(Error(F(422))),ba(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Qo({mode:"visible",children:r.children},i,0,null),a=Jn(a,i,o,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&$r(t,e.child,null,o),t.child.memoizedState=Eu(o),t.memoizedState=wu,a);if(!(t.mode&1))return ba(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,a=Error(F(419)),r=Ks(a,r,void 0),ba(e,t,o,r)}if(s=(o&e.childLanes)!==0,et||s){if(r=Me,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,tn(e,i),Ft(r,e,i,-1))}return of(),r=Ks(Error(F(421))),ba(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=hb.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ut=_n(i.nextSibling),ct=t,ve=!0,At=null,e!==null&&(yt[St++]=Kt,yt[St++]=Qt,yt[St++]=tr,Kt=e.id,Qt=e.overflow,tr=t),t=Zc(t,r.children),t.flags|=4096,t)}function Yd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),vu(e.return,t,n)}function Qs(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function Dv(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Ge(e,t,r.children,n),r=ge.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Yd(e,n,t);else if(e.tag===19)Yd(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(fe(ge,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&go(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Qs(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&go(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Qs(t,!0,n,null,a);break;case"together":Qs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ua(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function nn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),rr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(F(153));if(t.child!==null){for(e=t.child,n=Fn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Fn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function rb(e,t,n){switch(t.tag){case 3:jv(t),zr();break;case 5:fv(t);break;case 1:nt(t.type)&&co(t);break;case 4:qc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;fe(mo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(fe(ge,ge.current&1),t.flags|=128,null):n&t.child.childLanes?Vv(e,t,n):(fe(ge,ge.current&1),e=nn(e,t,n),e!==null?e.sibling:null);fe(ge,ge.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Dv(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),fe(ge,ge.current),r)break;return null;case 22:case 23:return t.lanes=0,Mv(e,t,n)}return nn(e,t,n)}var zv,Pu,$v,Uv;zv=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Pu=function(){};$v=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Kn(Ht.current);var a=null;switch(n){case"input":i=Wl(e,i),r=Wl(e,r),a=[];break;case"select":i=Se({},i,{value:void 0}),r=Se({},r,{value:void 0}),a=[];break;case"textarea":i=Kl(e,i),r=Kl(e,r),a=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=lo)}Xl(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ki.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var l=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(o in s)!s.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&s[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(a||(a=[]),a.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(a=a||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ki.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&de("scroll",e),a||s===l||(a=[])):(a=a||[]).push(u,l))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};Uv=function(e,t,n,r){n!==r&&(t.flags|=4)};function oi(e,t){if(!ve)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Be(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ib(e,t,n){var r=t.pendingProps;switch(Vc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Be(t),null;case 1:return nt(t.type)&&uo(),Be(t),null;case 3:return r=t.stateNode,Ur(),pe(tt),pe(We),Yc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ya(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,At!==null&&(Iu(At),At=null))),Pu(e,t),Be(t),null;case 5:Wc(t);var i=Kn($i.current);if(n=t.type,e!==null&&t.stateNode!=null)$v(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(F(166));return Be(t),null}if(e=Kn(Ht.current),ya(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[zt]=t,r[Di]=a,e=(t.mode&1)!==0,n){case"dialog":de("cancel",r),de("close",r);break;case"iframe":case"object":case"embed":de("load",r);break;case"video":case"audio":for(i=0;i<mi.length;i++)de(mi[i],r);break;case"source":de("error",r);break;case"img":case"image":case"link":de("error",r),de("load",r);break;case"details":de("toggle",r);break;case"input":nd(r,a),de("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},de("invalid",r);break;case"textarea":id(r,a),de("invalid",r)}Xl(n,a),i=null;for(var o in a)if(a.hasOwnProperty(o)){var s=a[o];o==="children"?typeof s=="string"?r.textContent!==s&&(a.suppressHydrationWarning!==!0&&ga(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&ga(r.textContent,s,e),i=["children",""+s]):ki.hasOwnProperty(o)&&s!=null&&o==="onScroll"&&de("scroll",r)}switch(n){case"input":ua(r),rd(r,a,!0);break;case"textarea":ua(r),ad(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=lo)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=vh(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[zt]=t,e[Di]=r,zv(e,t,!1,!1),t.stateNode=e;e:{switch(o=Jl(n,r),n){case"dialog":de("cancel",e),de("close",e),i=r;break;case"iframe":case"object":case"embed":de("load",e),i=r;break;case"video":case"audio":for(i=0;i<mi.length;i++)de(mi[i],e);i=r;break;case"source":de("error",e),i=r;break;case"img":case"image":case"link":de("error",e),de("load",e),i=r;break;case"details":de("toggle",e),i=r;break;case"input":nd(e,r),i=Wl(e,r),de("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Se({},r,{value:void 0}),de("invalid",e);break;case"textarea":id(e,r),i=Kl(e,r),de("invalid",e);break;default:i=r}Xl(n,i),s=i;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="style"?Sh(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&gh(e,l)):a==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Ri(e,l):typeof l=="number"&&Ri(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(ki.hasOwnProperty(a)?l!=null&&a==="onScroll"&&de("scroll",e):l!=null&&Ec(e,a,l,o))}switch(n){case"input":ua(e),rd(e,r,!1);break;case"textarea":ua(e),ad(e);break;case"option":r.value!=null&&e.setAttribute("value",""+In(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?Rr(e,!!r.multiple,a,!1):r.defaultValue!=null&&Rr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=lo)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Be(t),null;case 6:if(e&&t.stateNode!=null)Uv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(F(166));if(n=Kn($i.current),Kn(Ht.current),ya(t)){if(r=t.stateNode,n=t.memoizedProps,r[zt]=t,(a=r.nodeValue!==n)&&(e=ct,e!==null))switch(e.tag){case 3:ga(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ga(r.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[zt]=t,t.stateNode=r}return Be(t),null;case 13:if(pe(ge),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ve&&ut!==null&&t.mode&1&&!(t.flags&128))ov(),zr(),t.flags|=98560,a=!1;else if(a=ya(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(F(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(F(317));a[zt]=t}else zr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Be(t),a=!1}else At!==null&&(Iu(At),At=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ge.current&1?Te===0&&(Te=3):of())),t.updateQueue!==null&&(t.flags|=4),Be(t),null);case 4:return Ur(),Pu(e,t),e===null&&ji(t.stateNode.containerInfo),Be(t),null;case 10:return Uc(t.type._context),Be(t),null;case 17:return nt(t.type)&&uo(),Be(t),null;case 19:if(pe(ge),a=t.memoizedState,a===null)return Be(t),null;if(r=(t.flags&128)!==0,o=a.rendering,o===null)if(r)oi(a,!1);else{if(Te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=go(e),o!==null){for(t.flags|=128,oi(a,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=14680066,o=a.alternate,o===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,e=o.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return fe(ge,ge.current&1|2),t.child}e=e.sibling}a.tail!==null&&Ce()>Hr&&(t.flags|=128,r=!0,oi(a,!1),t.lanes=4194304)}else{if(!r)if(e=go(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),oi(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!ve)return Be(t),null}else 2*Ce()-a.renderingStartTime>Hr&&n!==1073741824&&(t.flags|=128,r=!0,oi(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(n=a.last,n!==null?n.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ce(),t.sibling=null,n=ge.current,fe(ge,r?n&1|2:n&1),t):(Be(t),null);case 22:case 23:return af(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?lt&1073741824&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function ab(e,t){switch(Vc(t),t.tag){case 1:return nt(t.type)&&uo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ur(),pe(tt),pe(We),Yc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Wc(t),null;case 13:if(pe(ge),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));zr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return pe(ge),null;case 4:return Ur(),null;case 10:return Uc(t.type._context),null;case 22:case 23:return af(),null;case 24:return null;default:return null}}var Oa=!1,qe=!1,ob=typeof WeakSet=="function"?WeakSet:Set,V=null;function Cr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){we(e,t,r)}else n.current=null}function Cu(e,t,n){try{n()}catch(r){we(e,t,r)}}var Gd=!1;function sb(e,t){if(lu=ao,e=Yh(),Nc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,u=0,f=0,c=e,d=null;t:for(;;){for(var m;c!==n||i!==0&&c.nodeType!==3||(s=o+i),c!==a||r!==0&&c.nodeType!==3||(l=o+r),c.nodeType===3&&(o+=c.nodeValue.length),(m=c.firstChild)!==null;)d=c,c=m;for(;;){if(c===e)break t;if(d===n&&++u===i&&(s=o),d===a&&++f===r&&(l=o),(m=c.nextSibling)!==null)break;c=d,d=c.parentNode}c=m}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(uu={focusedElem:e,selectionRange:n},ao=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var v=g.memoizedProps,S=g.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?v:xt(t.type,v),S);p.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(b){we(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return g=Gd,Gd=!1,g}function Ei(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Cu(t,n,a)}i=i.next}while(i!==r)}}function Go(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function xu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Bv(e){var t=e.alternate;t!==null&&(e.alternate=null,Bv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zt],delete t[Di],delete t[du],delete t[BS],delete t[HS])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Hv(e){return e.tag===5||e.tag===3||e.tag===4}function Kd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Hv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function _u(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=lo));else if(r!==4&&(e=e.child,e!==null))for(_u(e,t,n),e=e.sibling;e!==null;)_u(e,t,n),e=e.sibling}function Au(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Au(e,t,n),e=e.sibling;e!==null;)Au(e,t,n),e=e.sibling}var je=null,_t=!1;function mn(e,t,n){for(n=n.child;n!==null;)qv(e,t,n),n=n.sibling}function qv(e,t,n){if(Bt&&typeof Bt.onCommitFiberUnmount=="function")try{Bt.onCommitFiberUnmount(zo,n)}catch{}switch(n.tag){case 5:qe||Cr(n,t);case 6:var r=je,i=_t;je=null,mn(e,t,n),je=r,_t=i,je!==null&&(_t?(e=je,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):je.removeChild(n.stateNode));break;case 18:je!==null&&(_t?(e=je,n=n.stateNode,e.nodeType===8?Bs(e.parentNode,n):e.nodeType===1&&Bs(e,n),Li(e)):Bs(je,n.stateNode));break;case 4:r=je,i=_t,je=n.stateNode.containerInfo,_t=!0,mn(e,t,n),je=r,_t=i;break;case 0:case 11:case 14:case 15:if(!qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Cu(n,t,o),i=i.next}while(i!==r)}mn(e,t,n);break;case 1:if(!qe&&(Cr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){we(n,t,s)}mn(e,t,n);break;case 21:mn(e,t,n);break;case 22:n.mode&1?(qe=(r=qe)||n.memoizedState!==null,mn(e,t,n),qe=r):mn(e,t,n);break;default:mn(e,t,n)}}function Qd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ob),t.forEach(function(r){var i=vb.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ct(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,o=t,s=o;e:for(;s!==null;){switch(s.tag){case 5:je=s.stateNode,_t=!1;break e;case 3:je=s.stateNode.containerInfo,_t=!0;break e;case 4:je=s.stateNode.containerInfo,_t=!0;break e}s=s.return}if(je===null)throw Error(F(160));qv(a,o,i),je=null,_t=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){we(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Wv(t,e),t=t.sibling}function Wv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ct(t,e),Lt(e),r&4){try{Ei(3,e,e.return),Go(3,e)}catch(v){we(e,e.return,v)}try{Ei(5,e,e.return)}catch(v){we(e,e.return,v)}}break;case 1:Ct(t,e),Lt(e),r&512&&n!==null&&Cr(n,n.return);break;case 5:if(Ct(t,e),Lt(e),r&512&&n!==null&&Cr(n,n.return),e.flags&32){var i=e.stateNode;try{Ri(i,"")}catch(v){we(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var a=e.memoizedProps,o=n!==null?n.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&a.type==="radio"&&a.name!=null&&mh(i,a),Jl(s,o);var u=Jl(s,a);for(o=0;o<l.length;o+=2){var f=l[o],c=l[o+1];f==="style"?Sh(i,c):f==="dangerouslySetInnerHTML"?gh(i,c):f==="children"?Ri(i,c):Ec(i,f,c,u)}switch(s){case"input":Yl(i,a);break;case"textarea":hh(i,a);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var m=a.value;m!=null?Rr(i,!!a.multiple,m,!1):d!==!!a.multiple&&(a.defaultValue!=null?Rr(i,!!a.multiple,a.defaultValue,!0):Rr(i,!!a.multiple,a.multiple?[]:"",!1))}i[Di]=a}catch(v){we(e,e.return,v)}}break;case 6:if(Ct(t,e),Lt(e),r&4){if(e.stateNode===null)throw Error(F(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(v){we(e,e.return,v)}}break;case 3:if(Ct(t,e),Lt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Li(t.containerInfo)}catch(v){we(e,e.return,v)}break;case 4:Ct(t,e),Lt(e);break;case 13:Ct(t,e),Lt(e),i=e.child,i.flags&8192&&(a=i.memoizedState!==null,i.stateNode.isHidden=a,!a||i.alternate!==null&&i.alternate.memoizedState!==null||(nf=Ce())),r&4&&Qd(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(qe=(u=qe)||f,Ct(t,e),qe=u):Ct(t,e),Lt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(V=e,f=e.child;f!==null;){for(c=V=f;V!==null;){switch(d=V,m=d.child,d.tag){case 0:case 11:case 14:case 15:Ei(4,d,d.return);break;case 1:Cr(d,d.return);var g=d.stateNode;if(typeof g.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(v){we(r,n,v)}}break;case 5:Cr(d,d.return);break;case 22:if(d.memoizedState!==null){Jd(c);continue}}m!==null?(m.return=d,V=m):Jd(c)}f=f.sibling}e:for(f=null,c=e;;){if(c.tag===5){if(f===null){f=c;try{i=c.stateNode,u?(a=i.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(s=c.stateNode,l=c.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=yh("display",o))}catch(v){we(e,e.return,v)}}}else if(c.tag===6){if(f===null)try{c.stateNode.nodeValue=u?"":c.memoizedProps}catch(v){we(e,e.return,v)}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===e)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break e;for(;c.sibling===null;){if(c.return===null||c.return===e)break e;f===c&&(f=null),c=c.return}f===c&&(f=null),c.sibling.return=c.return,c=c.sibling}}break;case 19:Ct(t,e),Lt(e),r&4&&Qd(e);break;case 21:break;default:Ct(t,e),Lt(e)}}function Lt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Hv(n)){var r=n;break e}n=n.return}throw Error(F(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ri(i,""),r.flags&=-33);var a=Kd(e);Au(e,a,i);break;case 3:case 4:var o=r.stateNode.containerInfo,s=Kd(e);_u(e,s,o);break;default:throw Error(F(161))}}catch(l){we(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function lb(e,t,n){V=e,Yv(e)}function Yv(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var i=V,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Oa;if(!o){var s=i.alternate,l=s!==null&&s.memoizedState!==null||qe;s=Oa;var u=qe;if(Oa=o,(qe=l)&&!u)for(V=i;V!==null;)o=V,l=o.child,o.tag===22&&o.memoizedState!==null?Zd(i):l!==null?(l.return=o,V=l):Zd(i);for(;a!==null;)V=a,Yv(a),a=a.sibling;V=i,Oa=s,qe=u}Xd(e)}else i.subtreeFlags&8772&&a!==null?(a.return=i,V=a):Xd(e)}}function Xd(e){for(;V!==null;){var t=V;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:qe||Go(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!qe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:xt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&Md(t,a,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Md(t,o,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var c=f.dehydrated;c!==null&&Li(c)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(F(163))}qe||t.flags&512&&xu(t)}catch(d){we(t,t.return,d)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function Jd(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function Zd(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Go(4,t)}catch(l){we(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){we(t,i,l)}}var a=t.return;try{xu(t)}catch(l){we(t,a,l)}break;case 5:var o=t.return;try{xu(t)}catch(l){we(t,o,l)}}}catch(l){we(t,t.return,l)}if(t===e){V=null;break}var s=t.sibling;if(s!==null){s.return=t.return,V=s;break}V=t.return}}var ub=Math.ceil,bo=un.ReactCurrentDispatcher,ef=un.ReactCurrentOwner,Ot=un.ReactCurrentBatchConfig,re=0,Me=null,Re=null,ze=0,lt=0,xr=Vn(0),Te=0,qi=null,rr=0,Ko=0,tf=0,Pi=null,Ze=null,nf=0,Hr=1/0,Yt=null,Oo=!1,ku=null,kn=null,wa=!1,En=null,wo=0,Ci=0,Ru=null,Ba=-1,Ha=0;function Ke(){return re&6?Ce():Ba!==-1?Ba:Ba=Ce()}function Rn(e){return e.mode&1?re&2&&ze!==0?ze&-ze:WS.transition!==null?(Ha===0&&(Ha=Fh()),Ha):(e=le,e!==0||(e=window.event,e=e===void 0?16:Vh(e.type)),e):1}function Ft(e,t,n,r){if(50<Ci)throw Ci=0,Ru=null,Error(F(185));Ji(e,n,r),(!(re&2)||e!==Me)&&(e===Me&&(!(re&2)&&(Ko|=n),Te===4&&bn(e,ze)),rt(e,r),n===1&&re===0&&!(t.mode&1)&&(Hr=Ce()+500,qo&&Dn()))}function rt(e,t){var n=e.callbackNode;W1(e,t);var r=io(e,e===Me?ze:0);if(r===0)n!==null&&ld(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ld(n),t===1)e.tag===0?qS(ep.bind(null,e)):rv(ep.bind(null,e)),$S(function(){!(re&6)&&Dn()}),n=null;else{switch(Ih(r)){case 1:n=Ac;break;case 4:n=kh;break;case 16:n=ro;break;case 536870912:n=Rh;break;default:n=ro}n=tg(n,Gv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Gv(e,t){if(Ba=-1,Ha=0,re&6)throw Error(F(327));var n=e.callbackNode;if(Mr()&&e.callbackNode!==n)return null;var r=io(e,e===Me?ze:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Eo(e,r);else{t=r;var i=re;re|=2;var a=Qv();(Me!==e||ze!==t)&&(Yt=null,Hr=Ce()+500,Xn(e,t));do try{db();break}catch(s){Kv(e,s)}while(!0);$c(),bo.current=a,re=i,Re!==null?t=0:(Me=null,ze=0,t=Te)}if(t!==0){if(t===2&&(i=ru(e),i!==0&&(r=i,t=Fu(e,i))),t===1)throw n=qi,Xn(e,0),bn(e,r),rt(e,Ce()),n;if(t===6)bn(e,r);else{if(i=e.current.alternate,!(r&30)&&!cb(i)&&(t=Eo(e,r),t===2&&(a=ru(e),a!==0&&(r=a,t=Fu(e,a))),t===1))throw n=qi,Xn(e,0),bn(e,r),rt(e,Ce()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(F(345));case 2:Wn(e,Ze,Yt);break;case 3:if(bn(e,r),(r&130023424)===r&&(t=nf+500-Ce(),10<t)){if(io(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ke(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=fu(Wn.bind(null,e,Ze,Yt),t);break}Wn(e,Ze,Yt);break;case 4:if(bn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-Rt(r);a=1<<o,o=t[o],o>i&&(i=o),r&=~a}if(r=i,r=Ce()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ub(r/1960))-r,10<r){e.timeoutHandle=fu(Wn.bind(null,e,Ze,Yt),r);break}Wn(e,Ze,Yt);break;case 5:Wn(e,Ze,Yt);break;default:throw Error(F(329))}}}return rt(e,Ce()),e.callbackNode===n?Gv.bind(null,e):null}function Fu(e,t){var n=Pi;return e.current.memoizedState.isDehydrated&&(Xn(e,t).flags|=256),e=Eo(e,t),e!==2&&(t=Ze,Ze=n,t!==null&&Iu(t)),e}function Iu(e){Ze===null?Ze=e:Ze.push.apply(Ze,e)}function cb(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!It(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function bn(e,t){for(t&=~tf,t&=~Ko,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Rt(t),r=1<<n;e[n]=-1,t&=~r}}function ep(e){if(re&6)throw Error(F(327));Mr();var t=io(e,0);if(!(t&1))return rt(e,Ce()),null;var n=Eo(e,t);if(e.tag!==0&&n===2){var r=ru(e);r!==0&&(t=r,n=Fu(e,r))}if(n===1)throw n=qi,Xn(e,0),bn(e,t),rt(e,Ce()),n;if(n===6)throw Error(F(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Wn(e,Ze,Yt),rt(e,Ce()),null}function rf(e,t){var n=re;re|=1;try{return e(t)}finally{re=n,re===0&&(Hr=Ce()+500,qo&&Dn())}}function ir(e){En!==null&&En.tag===0&&!(re&6)&&Mr();var t=re;re|=1;var n=Ot.transition,r=le;try{if(Ot.transition=null,le=1,e)return e()}finally{le=r,Ot.transition=n,re=t,!(re&6)&&Dn()}}function af(){lt=xr.current,pe(xr)}function Xn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,zS(n)),Re!==null)for(n=Re.return;n!==null;){var r=n;switch(Vc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&uo();break;case 3:Ur(),pe(tt),pe(We),Yc();break;case 5:Wc(r);break;case 4:Ur();break;case 13:pe(ge);break;case 19:pe(ge);break;case 10:Uc(r.type._context);break;case 22:case 23:af()}n=n.return}if(Me=e,Re=e=Fn(e.current,null),ze=lt=t,Te=0,qi=null,tf=Ko=rr=0,Ze=Pi=null,Gn!==null){for(t=0;t<Gn.length;t++)if(n=Gn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}Gn=null}return e}function Kv(e,t){do{var n=Re;try{if($c(),za.current=So,yo){for(var r=ye.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}yo=!1}if(nr=0,Le=Ie=ye=null,wi=!1,Ui=0,ef.current=null,n===null||n.return===null){Te=1,qi=t,Re=null;break}e:{var a=e,o=n.return,s=n,l=t;if(t=ze,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,f=s,c=f.tag;if(!(f.mode&1)&&(c===0||c===11||c===15)){var d=f.alternate;d?(f.updateQueue=d.updateQueue,f.memoizedState=d.memoizedState,f.lanes=d.lanes):(f.updateQueue=null,f.memoizedState=null)}var m=$d(o);if(m!==null){m.flags&=-257,Ud(m,o,s,a,t),m.mode&1&&zd(a,u,t),t=m,l=u;var g=t.updateQueue;if(g===null){var v=new Set;v.add(l),t.updateQueue=v}else g.add(l);break e}else{if(!(t&1)){zd(a,u,t),of();break e}l=Error(F(426))}}else if(ve&&s.mode&1){var S=$d(o);if(S!==null){!(S.flags&65536)&&(S.flags|=256),Ud(S,o,s,a,t),Dc(Br(l,s));break e}}a=l=Br(l,s),Te!==4&&(Te=2),Pi===null?Pi=[a]:Pi.push(a),a=o;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var p=Iv(a,l,t);Ld(a,p);break e;case 1:s=l;var h=a.type,y=a.stateNode;if(!(a.flags&128)&&(typeof h.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(kn===null||!kn.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var b=Tv(a,s,t);Ld(a,b);break e}}a=a.return}while(a!==null)}Jv(n)}catch(w){t=w,Re===n&&n!==null&&(Re=n=n.return);continue}break}while(!0)}function Qv(){var e=bo.current;return bo.current=So,e===null?So:e}function of(){(Te===0||Te===3||Te===2)&&(Te=4),Me===null||!(rr&268435455)&&!(Ko&268435455)||bn(Me,ze)}function Eo(e,t){var n=re;re|=2;var r=Qv();(Me!==e||ze!==t)&&(Yt=null,Xn(e,t));do try{fb();break}catch(i){Kv(e,i)}while(!0);if($c(),re=n,bo.current=r,Re!==null)throw Error(F(261));return Me=null,ze=0,Te}function fb(){for(;Re!==null;)Xv(Re)}function db(){for(;Re!==null&&!j1();)Xv(Re)}function Xv(e){var t=eg(e.alternate,e,lt);e.memoizedProps=e.pendingProps,t===null?Jv(e):Re=t,ef.current=null}function Jv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=ab(n,t),n!==null){n.flags&=32767,Re=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Te=6,Re=null;return}}else if(n=ib(n,t,lt),n!==null){Re=n;return}if(t=t.sibling,t!==null){Re=t;return}Re=t=e}while(t!==null);Te===0&&(Te=5)}function Wn(e,t,n){var r=le,i=Ot.transition;try{Ot.transition=null,le=1,pb(e,t,n,r)}finally{Ot.transition=i,le=r}return null}function pb(e,t,n,r){do Mr();while(En!==null);if(re&6)throw Error(F(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(F(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(Y1(e,a),e===Me&&(Re=Me=null,ze=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||wa||(wa=!0,tg(ro,function(){return Mr(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=Ot.transition,Ot.transition=null;var o=le;le=1;var s=re;re|=4,ef.current=null,sb(e,n),Wv(n,e),TS(uu),ao=!!lu,uu=lu=null,e.current=n,lb(n),V1(),re=s,le=o,Ot.transition=a}else e.current=n;if(wa&&(wa=!1,En=e,wo=i),a=e.pendingLanes,a===0&&(kn=null),$1(n.stateNode),rt(e,Ce()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Oo)throw Oo=!1,e=ku,ku=null,e;return wo&1&&e.tag!==0&&Mr(),a=e.pendingLanes,a&1?e===Ru?Ci++:(Ci=0,Ru=e):Ci=0,Dn(),null}function Mr(){if(En!==null){var e=Ih(wo),t=Ot.transition,n=le;try{if(Ot.transition=null,le=16>e?16:e,En===null)var r=!1;else{if(e=En,En=null,wo=0,re&6)throw Error(F(331));var i=re;for(re|=4,V=e.current;V!==null;){var a=V,o=a.child;if(V.flags&16){var s=a.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(V=u;V!==null;){var f=V;switch(f.tag){case 0:case 11:case 15:Ei(8,f,a)}var c=f.child;if(c!==null)c.return=f,V=c;else for(;V!==null;){f=V;var d=f.sibling,m=f.return;if(Bv(f),f===u){V=null;break}if(d!==null){d.return=m,V=d;break}V=m}}}var g=a.alternate;if(g!==null){var v=g.child;if(v!==null){g.child=null;do{var S=v.sibling;v.sibling=null,v=S}while(v!==null)}}V=a}}if(a.subtreeFlags&2064&&o!==null)o.return=a,V=o;else e:for(;V!==null;){if(a=V,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Ei(9,a,a.return)}var p=a.sibling;if(p!==null){p.return=a.return,V=p;break e}V=a.return}}var h=e.current;for(V=h;V!==null;){o=V;var y=o.child;if(o.subtreeFlags&2064&&y!==null)y.return=o,V=y;else e:for(o=h;V!==null;){if(s=V,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:Go(9,s)}}catch(w){we(s,s.return,w)}if(s===o){V=null;break e}var b=s.sibling;if(b!==null){b.return=s.return,V=b;break e}V=s.return}}if(re=i,Dn(),Bt&&typeof Bt.onPostCommitFiberRoot=="function")try{Bt.onPostCommitFiberRoot(zo,e)}catch{}r=!0}return r}finally{le=n,Ot.transition=t}}return!1}function tp(e,t,n){t=Br(n,t),t=Iv(e,t,1),e=An(e,t,1),t=Ke(),e!==null&&(Ji(e,1,t),rt(e,t))}function we(e,t,n){if(e.tag===3)tp(e,e,n);else for(;t!==null;){if(t.tag===3){tp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(kn===null||!kn.has(r))){e=Br(n,e),e=Tv(t,e,1),t=An(t,e,1),e=Ke(),t!==null&&(Ji(t,1,e),rt(t,e));break}}t=t.return}}function mb(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ke(),e.pingedLanes|=e.suspendedLanes&n,Me===e&&(ze&n)===n&&(Te===4||Te===3&&(ze&130023424)===ze&&500>Ce()-nf?Xn(e,0):tf|=n),rt(e,t)}function Zv(e,t){t===0&&(e.mode&1?(t=da,da<<=1,!(da&130023424)&&(da=4194304)):t=1);var n=Ke();e=tn(e,t),e!==null&&(Ji(e,t,n),rt(e,n))}function hb(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zv(e,n)}function vb(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),Zv(e,n)}var eg;eg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||tt.current)et=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return et=!1,rb(e,t,n);et=!!(e.flags&131072)}else et=!1,ve&&t.flags&1048576&&iv(t,po,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ua(e,t),e=t.pendingProps;var i=Dr(t,We.current);Lr(t,n),i=Kc(null,t,r,e,i,n);var a=Qc();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,nt(r)?(a=!0,co(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Hc(t),i.updater=Yo,t.stateNode=i,i._reactInternals=t,yu(t,r,e,n),t=Ou(null,t,r,!0,a,n)):(t.tag=0,ve&&a&&jc(t),Ge(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ua(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=yb(r),e=xt(r,e),i){case 0:t=bu(null,t,r,e,n);break e;case 1:t=qd(null,t,r,e,n);break e;case 11:t=Bd(null,t,r,e,n);break e;case 14:t=Hd(null,t,r,xt(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),bu(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),qd(e,t,r,i,n);case 3:e:{if(jv(t),e===null)throw Error(F(387));r=t.pendingProps,a=t.memoizedState,i=a.element,cv(e,t),vo(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=Br(Error(F(423)),t),t=Wd(e,t,r,n,i);break e}else if(r!==i){i=Br(Error(F(424)),t),t=Wd(e,t,r,n,i);break e}else for(ut=_n(t.stateNode.containerInfo.firstChild),ct=t,ve=!0,At=null,n=lv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(zr(),r===i){t=nn(e,t,n);break e}Ge(e,t,r,n)}t=t.child}return t;case 5:return fv(t),e===null&&hu(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,cu(r,i)?o=null:a!==null&&cu(r,a)&&(t.flags|=32),Nv(e,t),Ge(e,t,o,n),t.child;case 6:return e===null&&hu(t),null;case 13:return Vv(e,t,n);case 4:return qc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=$r(t,null,r,n):Ge(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),Bd(e,t,r,i,n);case 7:return Ge(e,t,t.pendingProps,n),t.child;case 8:return Ge(e,t,t.pendingProps.children,n),t.child;case 12:return Ge(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,fe(mo,r._currentValue),r._currentValue=o,a!==null)if(It(a.value,o)){if(a.children===i.children&&!tt.current){t=nn(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=Xt(-1,n&-n),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?l.next=l:(l.next=f.next,f.next=l),u.pending=l}}a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),vu(a.return,n,t),s.lanes|=n;break}l=l.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(F(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),vu(o,n,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}Ge(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Lr(t,n),i=wt(i),r=r(i),t.flags|=1,Ge(e,t,r,n),t.child;case 14:return r=t.type,i=xt(r,t.pendingProps),i=xt(r.type,i),Hd(e,t,r,i,n);case 15:return Lv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),Ua(e,t),t.tag=1,nt(r)?(e=!0,co(t)):e=!1,Lr(t,n),Fv(t,r,i),yu(t,r,i,n),Ou(null,t,r,!0,e,n);case 19:return Dv(e,t,n);case 22:return Mv(e,t,n)}throw Error(F(156,t.tag))};function tg(e,t){return Ah(e,t)}function gb(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bt(e,t,n,r){return new gb(e,t,n,r)}function sf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yb(e){if(typeof e=="function")return sf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Cc)return 11;if(e===xc)return 14}return 2}function Fn(e,t){var n=e.alternate;return n===null?(n=bt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qa(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")sf(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case vr:return Jn(n.children,i,a,t);case Pc:o=8,i|=8;break;case Ul:return e=bt(12,n,t,i|2),e.elementType=Ul,e.lanes=a,e;case Bl:return e=bt(13,n,t,i),e.elementType=Bl,e.lanes=a,e;case Hl:return e=bt(19,n,t,i),e.elementType=Hl,e.lanes=a,e;case fh:return Qo(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uh:o=10;break e;case ch:o=9;break e;case Cc:o=11;break e;case xc:o=14;break e;case gn:o=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=bt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function Jn(e,t,n,r){return e=bt(7,e,r,t),e.lanes=n,e}function Qo(e,t,n,r){return e=bt(22,e,r,t),e.elementType=fh,e.lanes=n,e.stateNode={isHidden:!1},e}function Xs(e,t,n){return e=bt(6,e,null,t),e.lanes=n,e}function Js(e,t,n){return t=bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Sb(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Is(0),this.expirationTimes=Is(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Is(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function lf(e,t,n,r,i,a,o,s,l){return e=new Sb(e,t,n,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=bt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hc(a),e}function bb(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:hr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function ng(e){if(!e)return Tn;e=e._reactInternals;e:{if(ur(e)!==e||e.tag!==1)throw Error(F(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(nt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(F(171))}if(e.tag===1){var n=e.type;if(nt(n))return nv(e,n,t)}return t}function rg(e,t,n,r,i,a,o,s,l){return e=lf(n,r,!0,e,i,a,o,s,l),e.context=ng(null),n=e.current,r=Ke(),i=Rn(n),a=Xt(r,i),a.callback=t??null,An(n,a,i),e.current.lanes=i,Ji(e,i,r),rt(e,r),e}function Xo(e,t,n,r){var i=t.current,a=Ke(),o=Rn(i);return n=ng(n),t.context===null?t.context=n:t.pendingContext=n,t=Xt(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=An(i,t,o),e!==null&&(Ft(e,i,o,a),Da(e,i,o)),o}function Po(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function np(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function uf(e,t){np(e,t),(e=e.alternate)&&np(e,t)}function Ob(){return null}var ig=typeof reportError=="function"?reportError:function(e){console.error(e)};function cf(e){this._internalRoot=e}Jo.prototype.render=cf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(F(409));Xo(e,t,null,null)};Jo.prototype.unmount=cf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ir(function(){Xo(null,e,null,null)}),t[en]=null}};function Jo(e){this._internalRoot=e}Jo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Mh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sn.length&&t!==0&&t<Sn[n].priority;n++);Sn.splice(n,0,e),n===0&&jh(e)}};function ff(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Zo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function rp(){}function wb(e,t,n,r,i){if(i){if(typeof r=="function"){var a=r;r=function(){var u=Po(o);a.call(u)}}var o=rg(t,r,e,0,null,!1,!1,"",rp);return e._reactRootContainer=o,e[en]=o.current,ji(e.nodeType===8?e.parentNode:e),ir(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var s=r;r=function(){var u=Po(l);s.call(u)}}var l=lf(e,0,!1,null,null,!1,!1,"",rp);return e._reactRootContainer=l,e[en]=l.current,ji(e.nodeType===8?e.parentNode:e),ir(function(){Xo(t,l,n,r)}),l}function es(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i=="function"){var s=i;i=function(){var l=Po(o);s.call(l)}}Xo(t,o,e,i)}else o=wb(n,t,e,i,r);return Po(o)}Th=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=pi(t.pendingLanes);n!==0&&(kc(t,n|1),rt(t,Ce()),!(re&6)&&(Hr=Ce()+500,Dn()))}break;case 13:ir(function(){var r=tn(e,1);if(r!==null){var i=Ke();Ft(r,e,1,i)}}),uf(e,1)}};Rc=function(e){if(e.tag===13){var t=tn(e,134217728);if(t!==null){var n=Ke();Ft(t,e,134217728,n)}uf(e,134217728)}};Lh=function(e){if(e.tag===13){var t=Rn(e),n=tn(e,t);if(n!==null){var r=Ke();Ft(n,e,t,r)}uf(e,t)}};Mh=function(){return le};Nh=function(e,t){var n=le;try{return le=e,t()}finally{le=n}};eu=function(e,t,n){switch(t){case"input":if(Yl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Ho(r);if(!i)throw Error(F(90));ph(r),Yl(r,i)}}}break;case"textarea":hh(e,n);break;case"select":t=n.value,t!=null&&Rr(e,!!n.multiple,t,!1)}};wh=rf;Eh=ir;var Eb={usingClientEntryPoint:!1,Events:[ea,br,Ho,bh,Oh,rf]},si={findFiberByHostInstance:Yn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Pb={bundleType:si.bundleType,version:si.version,rendererPackageName:si.rendererPackageName,rendererConfig:si.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:un.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=xh(e),e===null?null:e.stateNode},findFiberByHostInstance:si.findFiberByHostInstance||Ob,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ea=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ea.isDisabled&&Ea.supportsFiber)try{zo=Ea.inject(Pb),Bt=Ea}catch{}}pt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Eb;pt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ff(t))throw Error(F(200));return bb(e,t,null,n)};pt.createRoot=function(e,t){if(!ff(e))throw Error(F(299));var n=!1,r="",i=ig;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=lf(e,1,!1,null,null,n,!1,r,i),e[en]=t.current,ji(e.nodeType===8?e.parentNode:e),new cf(t)};pt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(F(188)):(e=Object.keys(e).join(","),Error(F(268,e)));return e=xh(t),e=e===null?null:e.stateNode,e};pt.flushSync=function(e){return ir(e)};pt.hydrate=function(e,t,n){if(!Zo(t))throw Error(F(200));return es(null,e,t,!0,n)};pt.hydrateRoot=function(e,t,n){if(!ff(e))throw Error(F(405));var r=n!=null&&n.hydratedSources||null,i=!1,a="",o=ig;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=rg(t,null,e,1,n??null,i,!1,a,o),e[en]=t.current,ji(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Jo(t)};pt.render=function(e,t,n){if(!Zo(t))throw Error(F(200));return es(null,e,t,!1,n)};pt.unmountComponentAtNode=function(e){if(!Zo(e))throw Error(F(40));return e._reactRootContainer?(ir(function(){es(null,null,e,!1,function(){e._reactRootContainer=null,e[en]=null})}),!0):!1};pt.unstable_batchedUpdates=rf;pt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zo(n))throw Error(F(200));if(e==null||e._reactInternals===void 0)throw Error(F(38));return es(e,t,n,!1,r)};pt.version="18.3.1-next-f1338f8080-20240426";function ag(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ag)}catch(e){console.error(e)}}ag(),ah.exports=pt;var og=ah.exports,sg,ip=og;sg=ip.createRoot,ip.hydrateRoot;const Cb=document.getElementById("root"),xb=sg(Cb);function ap(e){xb.render(Z.jsx(x.StrictMode,{children:e}))}var lg={exports:{}};/*!
|
|
41
|
-
Copyright (c) 2018 Jed Watson.
|
|
42
|
-
Licensed under the MIT License (MIT), see
|
|
43
|
-
http://jedwatson.github.io/classnames
|
|
44
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",o=0;o<arguments.length;o++){var s=arguments[o];s&&(a=i(a,r(s)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var s in a)t.call(a,s)&&a[s]&&(o=i(o,s));return o}function i(a,o){return o?a?a+" "+o:a+o:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(lg);var _b=lg.exports;const rn=Vo(_b),Ab="_button_474wk_1",kb="_disabled_474wk_30",Rb="_fullWidth_474wk_118",Fb="_button__leftIcon_474wk_124",Ib="_button__rightIcon_474wk_125",Hn={button:Ab,disabled:kb,"buttonType-muted":"_buttonType-muted_474wk_34","buttonType-primary":"_buttonType-primary_474wk_50","buttonType-negative":"_buttonType-negative_474wk_71","buttonSize-xxs":"_buttonSize-xxs_474wk_88","buttonSize-xs":"_buttonSize-xs_474wk_93","buttonSize-s":"_buttonSize-s_474wk_98","buttonSize-m":"_buttonSize-m_474wk_103","buttonSize-l":"_buttonSize-l_474wk_108","buttonSize-xl":"_buttonSize-xl_474wk_113",fullWidth:Rb,button__leftIcon:Fb,button__rightIcon:Ib};function ug(e){var t,n=e.children,r=e.className,i=e.disabled,a=e.buttonType,o=a===void 0?"muted":a,s=e.buttonSize,l=s===void 0?"m":s,u=e.fullWidth,f=e.onClick,c=e.style,d=e.leftIcon,m=e.rightIcon,g=e.type,v=g===void 0?"button":g;return X.createElement("button",{type:v,className:rn(Hn.button,Hn["buttonType-".concat(o)],Hn["buttonSize-".concat(l)],(t={},t[Hn.disabled]=i,t[Hn.fullWidth]=u,t),r),disabled:i,onClick:f,style:c},d&&X.createElement("span",{className:Hn.button__leftIcon},d),n&&X.createElement("span",null,n),m&&X.createElement("span",{className:Hn.button__rightIcon},m))}const Tb="_themeVariables_ovgoa_1",Lb="_canvas_ovgoa_68",op={themeVariables:Tb,canvas:Lb};var Co=function(){return Co=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Co.apply(this,arguments)};function sp(e){return e!=e.toLowerCase()&&(e=e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()})),e}function Mb(e){return Object.entries(e.theme).reduce(function(t,n){var r,i,a=n[0],o=n[1];return Co(Co({},t),(r={},r["--".concat(sp(a))]=o,r["--".concat(sp("".concat(a,"RgbComponents")))]=((i=o.match(/rgb\((\d+, \d+, \d+)\)/))===null||i===void 0?void 0:i[1])||void 0,r))},{padding:e.bodyPadding.map(function(t){return"".concat(t,"px")}).join(" ")})}var cg=x.createContext(null);function fg(){var e=x.useContext(cg);if(!e)throw new Error("useCtx requires <Canvas />!");return e}function dg(e){var t=e.ctx,n=e.children,r=e.noAutoResizer,i=t.mode;return x.useEffect(function(){if(i!=="renderPage"&&!r){var a=t;return a.startAutoResizer(),function(){a.stopAutoResizer()}}},[i,r]),X.createElement(cg.Provider,{value:t},X.createElement("div",{className:rn(op.themeVariables,op.canvas),style:Mb(t)},n))}const Nb="_fieldError_qi0xk_1",jb={fieldError:Nb};function Vb(e){var t=e.children;return X.createElement("div",{className:jb.fieldError},t)}const Db="_FieldGroup_uz9ju_1",zb="_FieldGroup__item_uz9ju_5",lp={FieldGroup:Db,FieldGroup__item:zb};var Tu=function(){return Tu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Tu.apply(this,arguments)},$b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function Ub(e){var t=e.children,n=e.className,r=$b(e,["children","className"]),i=rn(lp.FieldGroup,n);return X.createElement("div",Tu({},r,{className:i}),X.Children.map(t,function(a){return X.createElement("div",{className:lp.FieldGroup__item},a)}))}const Bb="_fieldHint_1avon_1",Hb={fieldHint:Bb};function qb(e){var t=e.children;return X.createElement("div",{className:Hb.fieldHint},t)}const Wb="_Form_5qspp_1",Yb="_Form__item_5qspp_5",Zs={Form:Wb,Form__item:Yb,"Form__item--default":"_Form__item--default_5qspp_13","Form__item--condensed":"_Form__item--condensed_5qspp_17"};var Lu=function(){return Lu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Lu.apply(this,arguments)},Gb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},Kb=function(e){var t=e.children,n=e.className,r=e.onSubmit,i=e.spacing,a=i===void 0?"default":i,o=Gb(e,["children","className","onSubmit","spacing"]),s=rn(Zs.Form,n),l=rn(Zs.Form__item,Zs["Form__item--".concat(a)]),u=x.useCallback(function(f){f.preventDefault(),r&&r(f)},[r]);return X.createElement("form",Lu({className:s,onSubmit:u},o),x.Children.map(t,function(f){return f?X.createElement("div",{className:l},f):null}))},Mu=function(){return Mu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Mu.apply(this,arguments)};function Qb(e){var t=e.id,n=e.label,r=e.hint,i=e.error,a=e.required,o=e.formLabelProps,s=e.children;return X.createElement(X.Fragment,null,X.createElement(nO,Mu({},o,{htmlFor:t,required:a,error:!!i}),n),s,i&&X.createElement(Vb,null,i),r&&X.createElement(qb,null,r))}const Xb="_formLabel_tcjrv_1",Jb="_formLabel__code_tcjrv_8",Zb="_formLabel__label_tcjrv_18",eO="_formLabel__required_tcjrv_30",li={formLabel:Xb,formLabel__code:Jb,"formLabel--error":"_formLabel--error_tcjrv_14",formLabel__label:Zb,formLabel__required:eO};var Nu=function(){return Nu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Nu.apply(this,arguments)},tO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},nO=function(e){var t,n=e.children,r=e.className,i=e.htmlFor,a=e.code,o=e.required,s=o===void 0?!1:o,l=e.error,u=l===void 0?!1:l,f=tO(e,["children","className","htmlFor","code","required","error"]),c=rn(li.formLabel,r,(t={},t[li["formLabel--error"]]=u,t));return X.createElement("label",Nu({className:c,htmlFor:i},f),X.createElement("span",{className:li.formLabel__label},n,s&&X.createElement("span",{className:li.formLabel__required},"*")),a&&X.createElement("span",{className:li.formLabel__code},a))};function ar(e){"@babel/helpers - typeof";return ar=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ar(e)}function rO(e,t){if(ar(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ar(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function pg(e){var t=rO(e,"string");return ar(t)=="symbol"?t:t+""}function hi(e,t,n){return(t=pg(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function up(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function H(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?up(Object(n),!0).forEach(function(r){hi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):up(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function iO(e){if(Array.isArray(e))return e}function aO(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function ju(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function mg(e,t){if(e){if(typeof e=="string")return ju(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ju(e,t):void 0}}function oO(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
45
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jt(e,t){return iO(e)||aO(e,t)||mg(e,t)||oO()}function na(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function cn(e,t){if(e==null)return{};var n,r,i=na(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var sO=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function lO(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,a=e.defaultValue,o=a===void 0?null:a,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,f=e.onInputChange,c=e.onMenuClose,d=e.onMenuOpen,m=e.value,g=cn(e,sO),v=x.useState(s!==void 0?s:n),S=Jt(v,2),p=S[0],h=S[1],y=x.useState(l!==void 0?l:i),b=Jt(y,2),w=b[0],P=b[1],E=x.useState(m!==void 0?m:o),C=Jt(E,2),A=C[0],L=C[1],Y=x.useCallback(function(T,z){typeof u=="function"&&u(T,z),L(T)},[u]),G=x.useCallback(function(T,z){var D;typeof f=="function"&&(D=f(T,z)),h(D!==void 0?D:T)},[f]),K=x.useCallback(function(){typeof d=="function"&&d(),P(!0)},[d]),U=x.useCallback(function(){typeof c=="function"&&c(),P(!1)},[c]),te=s!==void 0?s:p,W=l!==void 0?l:w,Pe=m!==void 0?m:A;return H(H({},g),{},{inputValue:te,menuIsOpen:W,onChange:Y,onInputChange:G,onMenuClose:U,onMenuOpen:K,value:Pe})}function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M.apply(null,arguments)}function uO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pg(r.key),r)}}function cO(e,t,n){return t&&cp(e.prototype,t),n&&cp(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Vu(e,t){return Vu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Vu(e,t)}function fO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vu(e,t)}function xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},xo(e)}function hg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(hg=function(){return!!e})()}function dO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pO(e,t){if(t&&(ar(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return dO(e)}function mO(e){var t=hg();return function(){var n,r=xo(e);if(t){var i=xo(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return pO(this,n)}}function hO(e){if(Array.isArray(e))return ju(e)}function vO(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gO(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
46
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function df(e){return hO(e)||vO(e)||mg(e)||gO()}var yO=!1;function SO(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function bO(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var OO=function(){function e(n){var r=this;this._insertTag=function(i){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,a),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!yO:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(bO(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=SO(i);try{a.insertRule(r,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),He="-ms-",_o="-moz-",oe="-webkit-",vg="comm",pf="rule",mf="decl",wO="@import",gg="@keyframes",EO="@layer",PO=Math.abs,ts=String.fromCharCode,CO=Object.assign;function xO(e,t){return De(e,0)^45?(((t<<2^De(e,0))<<2^De(e,1))<<2^De(e,2))<<2^De(e,3):0}function yg(e){return e.trim()}function _O(e,t){return(e=t.exec(e))?e[0]:e}function se(e,t,n){return e.replace(t,n)}function Du(e,t){return e.indexOf(t)}function De(e,t){return e.charCodeAt(t)|0}function Wi(e,t,n){return e.slice(t,n)}function jt(e){return e.length}function hf(e){return e.length}function Pa(e,t){return t.push(e),e}function AO(e,t){return e.map(t).join("")}var ns=1,qr=1,Sg=0,it=0,ke=0,Qr="";function rs(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:ns,column:qr,length:o,return:""}}function ui(e,t){return CO(rs("",null,null,"",null,null,0),e,{length:-e.length},t)}function kO(){return ke}function RO(){return ke=it>0?De(Qr,--it):0,qr--,ke===10&&(qr=1,ns--),ke}function ft(){return ke=it<Sg?De(Qr,it++):0,qr++,ke===10&&(qr=1,ns++),ke}function qt(){return De(Qr,it)}function Wa(){return it}function ra(e,t){return Wi(Qr,e,t)}function Yi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bg(e){return ns=qr=1,Sg=jt(Qr=e),it=0,[]}function Og(e){return Qr="",e}function Ya(e){return yg(ra(it-1,zu(e===91?e+2:e===40?e+1:e)))}function FO(e){for(;(ke=qt())&&ke<33;)ft();return Yi(e)>2||Yi(ke)>3?"":" "}function IO(e,t){for(;--t&&ft()&&!(ke<48||ke>102||ke>57&&ke<65||ke>70&&ke<97););return ra(e,Wa()+(t<6&&qt()==32&&ft()==32))}function zu(e){for(;ft();)switch(ke){case e:return it;case 34:case 39:e!==34&&e!==39&&zu(ke);break;case 40:e===41&&zu(e);break;case 92:ft();break}return it}function TO(e,t){for(;ft()&&e+ke!==57;)if(e+ke===84&&qt()===47)break;return"/*"+ra(t,it-1)+"*"+ts(e===47?e:ft())}function LO(e){for(;!Yi(qt());)ft();return ra(e,it)}function MO(e){return Og(Ga("",null,null,null,[""],e=bg(e),0,[0],e))}function Ga(e,t,n,r,i,a,o,s,l){for(var u=0,f=0,c=o,d=0,m=0,g=0,v=1,S=1,p=1,h=0,y="",b=i,w=a,P=r,E=y;S;)switch(g=h,h=ft()){case 40:if(g!=108&&De(E,c-1)==58){Du(E+=se(Ya(h),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:E+=Ya(h);break;case 9:case 10:case 13:case 32:E+=FO(g);break;case 92:E+=IO(Wa()-1,7);continue;case 47:switch(qt()){case 42:case 47:Pa(NO(TO(ft(),Wa()),t,n),l);break;default:E+="/"}break;case 123*v:s[u++]=jt(E)*p;case 125*v:case 59:case 0:switch(h){case 0:case 125:S=0;case 59+f:p==-1&&(E=se(E,/\f/g,"")),m>0&&jt(E)-c&&Pa(m>32?dp(E+";",r,n,c-1):dp(se(E," ","")+";",r,n,c-2),l);break;case 59:E+=";";default:if(Pa(P=fp(E,t,n,u,f,i,s,y,b=[],w=[],c),a),h===123)if(f===0)Ga(E,t,P,P,b,a,c,s,w);else switch(d===99&&De(E,3)===110?100:d){case 100:case 108:case 109:case 115:Ga(e,P,P,r&&Pa(fp(e,P,P,0,0,i,s,y,i,b=[],c),w),i,w,c,s,r?b:w);break;default:Ga(E,P,P,P,[""],w,0,s,w)}}u=f=m=0,v=p=1,y=E="",c=o;break;case 58:c=1+jt(E),m=g;default:if(v<1){if(h==123)--v;else if(h==125&&v++==0&&RO()==125)continue}switch(E+=ts(h),h*v){case 38:p=f>0?1:(E+="\f",-1);break;case 44:s[u++]=(jt(E)-1)*p,p=1;break;case 64:qt()===45&&(E+=Ya(ft())),d=qt(),f=c=jt(y=E+=LO(Wa())),h++;break;case 45:g===45&&jt(E)==2&&(v=0)}}return a}function fp(e,t,n,r,i,a,o,s,l,u,f){for(var c=i-1,d=i===0?a:[""],m=hf(d),g=0,v=0,S=0;g<r;++g)for(var p=0,h=Wi(e,c+1,c=PO(v=o[g])),y=e;p<m;++p)(y=yg(v>0?d[p]+" "+h:se(h,/&\f/g,d[p])))&&(l[S++]=y);return rs(e,t,n,i===0?pf:s,l,u,f)}function NO(e,t,n){return rs(e,t,n,vg,ts(kO()),Wi(e,2,-2),0)}function dp(e,t,n,r){return rs(e,t,n,mf,Wi(e,0,r),Wi(e,r+1,-1),r)}function Nr(e,t){for(var n="",r=hf(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function jO(e,t,n,r){switch(e.type){case EO:if(e.children.length)break;case wO:case mf:return e.return=e.return||e.value;case vg:return"";case gg:return e.return=e.value+"{"+Nr(e.children,r)+"}";case pf:e.value=e.props.join(",")}return jt(n=Nr(e.children,r))?e.return=e.value+"{"+n+"}":""}function VO(e){var t=hf(e);return function(n,r,i,a){for(var o="",s=0;s<t;s++)o+=e[s](n,r,i,a)||"";return o}}function DO(e){return function(t){t.root||(t=t.return)&&e(t)}}function zO(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var $O=function(t,n,r){for(var i=0,a=0;i=a,a=qt(),i===38&&a===12&&(n[r]=1),!Yi(a);)ft();return ra(t,it)},UO=function(t,n){var r=-1,i=44;do switch(Yi(i)){case 0:i===38&&qt()===12&&(n[r]=1),t[r]+=$O(it-1,n,r);break;case 2:t[r]+=Ya(i);break;case 4:if(i===44){t[++r]=qt()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=ts(i)}while(i=ft());return t},BO=function(t,n){return Og(UO(bg(t),n))},pp=new WeakMap,HO=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!pp.get(r))&&!i){pp.set(t,!0);for(var a=[],o=BO(n,a),s=r.props,l=0,u=0;l<o.length;l++)for(var f=0;f<s.length;f++,u++)t.props[u]=a[l]?o[l].replace(/&\f/g,s[f]):s[f]+" "+o[l]}}},qO=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function wg(e,t){switch(xO(e,t)){case 5103:return oe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return oe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+e+_o+e+He+e+e;case 6828:case 4268:return oe+e+He+e+e;case 6165:return oe+e+He+"flex-"+e+e;case 5187:return oe+e+se(e,/(\w+).+(:[^]+)/,oe+"box-$1$2"+He+"flex-$1$2")+e;case 5443:return oe+e+He+"flex-item-"+se(e,/flex-|-self/,"")+e;case 4675:return oe+e+He+"flex-line-pack"+se(e,/align-content|flex-|-self/,"")+e;case 5548:return oe+e+He+se(e,"shrink","negative")+e;case 5292:return oe+e+He+se(e,"basis","preferred-size")+e;case 6060:return oe+"box-"+se(e,"-grow","")+oe+e+He+se(e,"grow","positive")+e;case 4554:return oe+se(e,/([^-])(transform)/g,"$1"+oe+"$2")+e;case 6187:return se(se(se(e,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),e,"")+e;case 5495:case 3959:return se(e,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return se(se(e,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+He+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+e+e;case 4095:case 3583:case 4068:case 2532:return se(e,/(.+)-inline(.+)/,oe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(jt(e)-1-t>6)switch(De(e,t+1)){case 109:if(De(e,t+4)!==45)break;case 102:return se(e,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+_o+(De(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Du(e,"stretch")?wg(se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(De(e,t+1)!==115)break;case 6444:switch(De(e,jt(e)-3-(~Du(e,"!important")&&10))){case 107:return se(e,":",":"+oe)+e;case 101:return se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+oe+(De(e,14)===45?"inline-":"")+"box$3$1"+oe+"$2$3$1"+He+"$2box$3")+e}break;case 5936:switch(De(e,t+11)){case 114:return oe+e+He+se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return oe+e+He+se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return oe+e+He+se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return oe+e+He+e+e}return e}var WO=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case mf:t.return=wg(t.value,t.length);break;case gg:return Nr([ui(t,{value:se(t.value,"@","@"+oe)})],i);case pf:if(t.length)return AO(t.props,function(a){switch(_O(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Nr([ui(t,{props:[se(a,/:(read-\w+)/,":"+_o+"$1")]})],i);case"::placeholder":return Nr([ui(t,{props:[se(a,/:(plac\w+)/,":"+oe+"input-$1")]}),ui(t,{props:[se(a,/:(plac\w+)/,":"+_o+"$1")]}),ui(t,{props:[se(a,/:(plac\w+)/,He+"input-$1")]})],i)}return""})}},YO=[WO],GO=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var S=v.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=t.stylisPlugins||YO,a={},o,s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var S=v.getAttribute("data-emotion").split(" "),p=1;p<S.length;p++)a[S[p]]=!0;s.push(v)});var l,u=[HO,qO];{var f,c=[jO,DO(function(v){f.insert(v)})],d=VO(u.concat(i,c)),m=function(S){return Nr(MO(S),d)};l=function(S,p,h,y){f=h,m(S?S+"{"+p.styles+"}":p.styles),y&&(g.inserted[p.name]=!0)}}var g={key:n,sheet:new OO({key:n,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:l};return g.sheet.hydrate(s),g},Eg={exports:{}},ue={};/** @license React v16.13.1
|
|
47
|
-
* react-is.production.min.js
|
|
48
|
-
*
|
|
49
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
50
|
-
*
|
|
51
|
-
* This source code is licensed under the MIT license found in the
|
|
52
|
-
* LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/var Ne=typeof Symbol=="function"&&Symbol.for,vf=Ne?Symbol.for("react.element"):60103,gf=Ne?Symbol.for("react.portal"):60106,is=Ne?Symbol.for("react.fragment"):60107,as=Ne?Symbol.for("react.strict_mode"):60108,os=Ne?Symbol.for("react.profiler"):60114,ss=Ne?Symbol.for("react.provider"):60109,ls=Ne?Symbol.for("react.context"):60110,yf=Ne?Symbol.for("react.async_mode"):60111,us=Ne?Symbol.for("react.concurrent_mode"):60111,cs=Ne?Symbol.for("react.forward_ref"):60112,fs=Ne?Symbol.for("react.suspense"):60113,KO=Ne?Symbol.for("react.suspense_list"):60120,ds=Ne?Symbol.for("react.memo"):60115,ps=Ne?Symbol.for("react.lazy"):60116,QO=Ne?Symbol.for("react.block"):60121,XO=Ne?Symbol.for("react.fundamental"):60117,JO=Ne?Symbol.for("react.responder"):60118,ZO=Ne?Symbol.for("react.scope"):60119;function ht(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case vf:switch(e=e.type,e){case yf:case us:case is:case os:case as:case fs:return e;default:switch(e=e&&e.$$typeof,e){case ls:case cs:case ps:case ds:case ss:return e;default:return t}}case gf:return t}}}function Pg(e){return ht(e)===us}ue.AsyncMode=yf;ue.ConcurrentMode=us;ue.ContextConsumer=ls;ue.ContextProvider=ss;ue.Element=vf;ue.ForwardRef=cs;ue.Fragment=is;ue.Lazy=ps;ue.Memo=ds;ue.Portal=gf;ue.Profiler=os;ue.StrictMode=as;ue.Suspense=fs;ue.isAsyncMode=function(e){return Pg(e)||ht(e)===yf};ue.isConcurrentMode=Pg;ue.isContextConsumer=function(e){return ht(e)===ls};ue.isContextProvider=function(e){return ht(e)===ss};ue.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===vf};ue.isForwardRef=function(e){return ht(e)===cs};ue.isFragment=function(e){return ht(e)===is};ue.isLazy=function(e){return ht(e)===ps};ue.isMemo=function(e){return ht(e)===ds};ue.isPortal=function(e){return ht(e)===gf};ue.isProfiler=function(e){return ht(e)===os};ue.isStrictMode=function(e){return ht(e)===as};ue.isSuspense=function(e){return ht(e)===fs};ue.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===is||e===us||e===os||e===as||e===fs||e===KO||typeof e=="object"&&e!==null&&(e.$$typeof===ps||e.$$typeof===ds||e.$$typeof===ss||e.$$typeof===ls||e.$$typeof===cs||e.$$typeof===XO||e.$$typeof===JO||e.$$typeof===ZO||e.$$typeof===QO)};ue.typeOf=ht;Eg.exports=ue;var ew=Eg.exports,Cg=ew,tw={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},nw={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},xg={};xg[Cg.ForwardRef]=tw;xg[Cg.Memo]=nw;var rw=!0;function iw(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var _g=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||rw===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},aw=function(t,n,r){_g(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function ow(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var sw={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},lw=!1,uw=/[A-Z]|^ms/g,cw=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ag=function(t){return t.charCodeAt(1)===45},mp=function(t){return t!=null&&typeof t!="boolean"},el=zO(function(e){return Ag(e)?e:e.replace(uw,"-$&").toLowerCase()}),hp=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(cw,function(r,i,a){return Vt={name:i,styles:a,next:Vt},i})}return sw[t]!==1&&!Ag(t)&&typeof n=="number"&&n!==0?n+"px":n},fw="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Gi(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Vt={name:i.name,styles:i.styles,next:Vt},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Vt={name:o.name,styles:o.styles,next:Vt},o=o.next;var s=a.styles+";";return s}return dw(e,t,n)}case"function":{if(e!==void 0){var l=Vt,u=n(e);return Vt=l,Gi(e,t,u)}break}}var f=n;return f}function dw(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Gi(e,t,n[i])+";";else for(var a in n){var o=n[a];if(typeof o!="object"){var s=o;mp(s)&&(r+=el(a)+":"+hp(a,s)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&lw)throw new Error(fw);if(Array.isArray(o)&&typeof o[0]=="string"&&t==null)for(var l=0;l<o.length;l++)mp(o[l])&&(r+=el(a)+":"+hp(a,o[l])+";");else{var u=Gi(e,t,o);switch(a){case"animation":case"animationName":{r+=el(a)+":"+u+";";break}default:r+=a+"{"+u+"}"}}}}return r}var vp=/label:\s*([^\s;{]+)\s*(;|$)/g,Vt;function kg(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";Vt=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,i+=Gi(n,t,a);else{var o=a;i+=o[0]}for(var s=1;s<e.length;s++)if(i+=Gi(n,t,e[s]),r){var l=a;i+=l[s]}vp.lastIndex=0;for(var u="",f;(f=vp.exec(i))!==null;)u+="-"+f[1];var c=ow(i)+u;return{name:c,styles:i,next:Vt}}var pw=function(t){return t()},mw=Xf.useInsertionEffect?Xf.useInsertionEffect:!1,hw=mw||pw,vw=!1,Rg=x.createContext(typeof HTMLElement<"u"?GO({key:"css"}):null);Rg.Provider;var gw=function(t){return x.forwardRef(function(n,r){var i=x.useContext(Rg);return t(n,i,r)})},yw=x.createContext({}),Sf={}.hasOwnProperty,$u="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Sw=function(t,n){var r={};for(var i in n)Sf.call(n,i)&&(r[i]=n[i]);return r[$u]=t,r},bw=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return _g(n,r,i),hw(function(){return aw(n,r,i)}),null},Ow=gw(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[$u],a=[r],o="";typeof e.className=="string"?o=iw(t.registered,a,e.className):e.className!=null&&(o=e.className+" ");var s=kg(a,void 0,x.useContext(yw));o+=t.key+"-"+s.name;var l={};for(var u in e)Sf.call(e,u)&&u!=="css"&&u!==$u&&!vw&&(l[u]=e[u]);return l.className=o,n&&(l.ref=n),x.createElement(x.Fragment,null,x.createElement(bw,{cache:t,serialized:s,isStringTag:typeof i=="string"}),x.createElement(i,l))}),ww=Ow,B=function(t,n){var r=arguments;if(n==null||!Sf.call(n,"css"))return x.createElement.apply(void 0,r);var i=r.length,a=new Array(i);a[0]=ww,a[1]=Sw(t,n);for(var o=2;o<i;o++)a[o]=r[o];return x.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(B||(B={}));function bf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return kg(t)}function Ew(){var e=bf.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Pw(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Cw=Math.min,xw=Math.max,Ao=Math.round,Ca=Math.floor,ko=e=>({x:e,y:e});function _w(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ms(){return typeof window<"u"}function Fg(e){return Tg(e)?(e.nodeName||"").toLowerCase():"#document"}function an(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ig(e){var t;return(t=(Tg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Tg(e){return ms()?e instanceof Node||e instanceof an(e).Node:!1}function Aw(e){return ms()?e instanceof Element||e instanceof an(e).Element:!1}function Of(e){return ms()?e instanceof HTMLElement||e instanceof an(e).HTMLElement:!1}function gp(e){return!ms()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof an(e).ShadowRoot}function Lg(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=wf(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function kw(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Rw(e){return["html","body","#document"].includes(Fg(e))}function wf(e){return an(e).getComputedStyle(e)}function Fw(e){if(Fg(e)==="html")return e;const t=e.assignedSlot||e.parentNode||gp(e)&&e.host||Ig(e);return gp(t)?t.host:t}function Mg(e){const t=Fw(e);return Rw(t)?e.ownerDocument?e.ownerDocument.body:e.body:Of(t)&&Lg(t)?t:Mg(t)}function Ro(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Mg(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=an(i);if(a){const s=Uu(o);return t.concat(o,o.visualViewport||[],Lg(i)?i:[],s&&n?Ro(s):[])}return t.concat(i,Ro(i,[],n))}function Uu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Iw(e){const t=wf(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Of(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Ao(n)!==a||Ao(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Ef(e){return Aw(e)?e:e.contextElement}function yp(e){const t=Ef(e);if(!Of(t))return ko(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Iw(t);let o=(a?Ao(n.width):n.width)/r,s=(a?Ao(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const Tw=ko(0);function Lw(e){const t=an(e);return!kw()||!t.visualViewport?Tw:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Mw(e,t,n){return!1}function Sp(e,t,n,r){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),a=Ef(e);let o=ko(1);t&&(o=yp(e));const s=Mw()?Lw(a):ko(0);let l=(i.left+s.x)/o.x,u=(i.top+s.y)/o.y,f=i.width/o.x,c=i.height/o.y;if(a){const d=an(a),m=r;let g=d,v=Uu(g);for(;v&&r&&m!==g;){const S=yp(v),p=v.getBoundingClientRect(),h=wf(v),y=p.left+(v.clientLeft+parseFloat(h.paddingLeft))*S.x,b=p.top+(v.clientTop+parseFloat(h.paddingTop))*S.y;l*=S.x,u*=S.y,f*=S.x,c*=S.y,l+=y,u+=b,g=an(v),v=Uu(g)}}return _w({width:f,height:c,x:l,y:u})}function Nw(e,t){let n=null,r;const i=Ig(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function o(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const{left:u,top:f,width:c,height:d}=e.getBoundingClientRect();if(s||t(),!c||!d)return;const m=Ca(f),g=Ca(i.clientWidth-(u+c)),v=Ca(i.clientHeight-(f+d)),S=Ca(u),h={rootMargin:-m+"px "+-g+"px "+-v+"px "+-S+"px",threshold:xw(0,Cw(1,l))||1};let y=!0;function b(w){const P=w[0].intersectionRatio;if(P!==l){if(!y)return o();P?o(!1,P):r=setTimeout(()=>{o(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(b,{...h,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,h)}n.observe(e)}return o(!0),a}function jw(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Ef(e),f=i||a?[...u?Ro(u):[],...Ro(t)]:[];f.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),a&&p.addEventListener("resize",n)});const c=u&&s?Nw(u,n):null;let d=-1,m=null;o&&(m=new ResizeObserver(p=>{let[h]=p;h&&h.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=m)==null||y.observe(t)})),n()}),u&&!l&&m.observe(u),m.observe(t));let g,v=l?Sp(e):null;l&&S();function S(){const p=Sp(e);v&&(p.x!==v.x||p.y!==v.y||p.width!==v.width||p.height!==v.height)&&n(),v=p,g=requestAnimationFrame(S)}return n(),()=>{var p;f.forEach(h=>{i&&h.removeEventListener("scroll",n),a&&h.removeEventListener("resize",n)}),c==null||c(),(p=m)==null||p.disconnect(),m=null,l&&cancelAnimationFrame(g)}}var Bu=x.useLayoutEffect,Vw=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Fo=function(){};function Dw(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function zw(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=[].concat(r);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&a.push("".concat(Dw(e,o)));return a.filter(function(s){return s}).map(function(s){return String(s).trim()}).join(" ")}var bp=function(t){return Kw(t)?t.filter(Boolean):ar(t)==="object"&&t!==null?[t]:[]},Ng=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=cn(t,Vw);return H({},n)},Ee=function(t,n,r){var i=t.cx,a=t.getStyles,o=t.getClassNames,s=t.className;return{css:a(n,t),className:i(r??{},o(n,t),s)}};function hs(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function $w(e){return hs(e)?window.innerHeight:e.clientHeight}function jg(e){return hs(e)?window.pageYOffset:e.scrollTop}function Io(e,t){if(hs(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Uw(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function Bw(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function xa(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Fo,i=jg(e),a=t-i,o=10,s=0;function l(){s+=o;var u=Bw(s,i,a,n);Io(e,u),s<n?window.requestAnimationFrame(l):r(e)}l()}function Op(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Io(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Io(e,Math.max(t.offsetTop-i,0))}function Hw(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function wp(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function qw(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Vg=!1,Ww={get passive(){return Vg=!0}},_a=typeof window<"u"?window:{};_a.addEventListener&&_a.removeEventListener&&(_a.addEventListener("p",Fo,Ww),_a.removeEventListener("p",Fo,!1));var Yw=Vg;function Gw(e){return e!=null}function Kw(e){return Array.isArray(e)}function Aa(e,t,n){return e?t:n}var Qw=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=Object.entries(t).filter(function(o){var s=Jt(o,1),l=s[0];return!r.includes(l)});return a.reduce(function(o,s){var l=Jt(s,2),u=l[0],f=l[1];return o[u]=f,o},{})},Xw=["children","innerProps"],Jw=["children","innerProps"];function Zw(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,o=e.isFixedPosition,s=e.controlHeight,l=Uw(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var f=l.getBoundingClientRect(),c=f.height,d=n.getBoundingClientRect(),m=d.bottom,g=d.height,v=d.top,S=n.offsetParent.getBoundingClientRect(),p=S.top,h=o?window.innerHeight:$w(l),y=jg(l),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),P=p-w,E=h-v,C=P+y,A=c-y-v,L=m-h+y+b,Y=y+v-w,G=160;switch(i){case"auto":case"bottom":if(E>=g)return{placement:"bottom",maxHeight:t};if(A>=g&&!o)return a&&xa(l,L,G),{placement:"bottom",maxHeight:t};if(!o&&A>=r||o&&E>=r){a&&xa(l,L,G);var K=o?E-b:A-b;return{placement:"bottom",maxHeight:K}}if(i==="auto"||o){var U=t,te=o?P:C;return te>=r&&(U=Math.min(te-b-s,t)),{placement:"top",maxHeight:U}}if(i==="bottom")return a&&Io(l,L),{placement:"bottom",maxHeight:t};break;case"top":if(P>=g)return{placement:"top",maxHeight:t};if(C>=g&&!o)return a&&xa(l,Y,G),{placement:"top",maxHeight:t};if(!o&&C>=r||o&&P>=r){var W=t;return(!o&&C>=r||o&&P>=r)&&(W=o?P-w:C-w),a&&xa(l,Y,G),{placement:"top",maxHeight:W}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return u}function eE(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Dg=function(t){return t==="auto"?"bottom":t},tE=function(t,n){var r,i=t.placement,a=t.theme,o=a.borderRadius,s=a.spacing,l=a.colors;return H((r={label:"menu"},hi(r,eE(i),"100%"),hi(r,"position","absolute"),hi(r,"width","100%"),hi(r,"zIndex",1),r),n?{}:{backgroundColor:l.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},zg=x.createContext(null),nE=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,a=t.menuPlacement,o=t.menuPosition,s=t.menuShouldScrollIntoView,l=t.theme,u=x.useContext(zg)||{},f=u.setPortalPlacement,c=x.useRef(null),d=x.useState(i),m=Jt(d,2),g=m[0],v=m[1],S=x.useState(null),p=Jt(S,2),h=p[0],y=p[1],b=l.spacing.controlHeight;return Bu(function(){var w=c.current;if(w){var P=o==="fixed",E=s&&!P,C=Zw({maxHeight:i,menuEl:w,minHeight:r,placement:a,shouldScroll:E,isFixedPosition:P,controlHeight:b});v(C.maxHeight),y(C.placement),f==null||f(C.placement)}},[i,a,o,s,r,f,b]),n({ref:c,placerProps:H(H({},t),{},{placement:h||Dg(a),maxHeight:g})})},rE=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return B("div",M({},Ee(t,"menu",{menu:!0}),{ref:r},i),n)},iE=rE,aE=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return H({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},oE=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,a=t.isMulti;return B("div",M({},Ee(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},r),n)},$g=function(t,n){var r=t.theme,i=r.spacing.baseUnit,a=r.colors;return H({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},sE=$g,lE=$g,uE=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,a=cn(t,Xw);return B("div",M({},Ee(H(H({},a),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},cE=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,a=cn(t,Jw);return B("div",M({},Ee(H(H({},a),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},fE=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},dE=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,a=t.innerProps,o=t.menuPlacement,s=t.menuPosition,l=x.useRef(null),u=x.useRef(null),f=x.useState(Dg(o)),c=Jt(f,2),d=c[0],m=c[1],g=x.useMemo(function(){return{setPortalPlacement:m}},[]),v=x.useState(null),S=Jt(v,2),p=S[0],h=S[1],y=x.useCallback(function(){if(i){var E=Hw(i),C=s==="fixed"?0:window.pageYOffset,A=E[d]+C;(A!==(p==null?void 0:p.offset)||E.left!==(p==null?void 0:p.rect.left)||E.width!==(p==null?void 0:p.rect.width))&&h({offset:A,rect:E})}},[i,s,d,p==null?void 0:p.offset,p==null?void 0:p.rect.left,p==null?void 0:p.rect.width]);Bu(function(){y()},[y]);var b=x.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),i&&l.current&&(u.current=jw(i,l.current,y,{elementResize:"ResizeObserver"in window}))},[i,y]);Bu(function(){b()},[b]);var w=x.useCallback(function(E){l.current=E,b()},[b]);if(!n&&s!=="fixed"||!p)return null;var P=B("div",M({ref:w},Ee(H(H({},t),{},{offset:p.offset,position:s,rect:p.rect}),"menuPortal",{"menu-portal":!0}),a),r);return B(zg.Provider,{value:g},n?og.createPortal(P,n):P)},pE=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},mE=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,a=t.isRtl;return B("div",M({},Ee(t,"container",{"--is-disabled":i,"--is-rtl":a}),r),n)},hE=function(t,n){var r=t.theme.spacing,i=t.isMulti,a=t.hasValue,o=t.selectProps.controlShouldRenderValue;return H({alignItems:"center",display:i&&a&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},vE=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,a=t.hasValue;return B("div",M({},Ee(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),r),n)},gE=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},yE=function(t){var n=t.children,r=t.innerProps;return B("div",M({},Ee(t,"indicatorsContainer",{indicators:!0}),r),n)},Ep,SE=["size"],bE=["innerProps","isRtl","size"],OE={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Ug=function(t){var n=t.size,r=cn(t,SE);return B("svg",M({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:OE},r))},Pf=function(t){return B(Ug,M({size:20},t),B("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Bg=function(t){return B(Ug,M({size:20},t),B("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Hg=function(t,n){var r=t.isFocused,i=t.theme,a=i.spacing.baseUnit,o=i.colors;return H({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?o.neutral60:o.neutral20,padding:a*2,":hover":{color:r?o.neutral80:o.neutral40}})},wE=Hg,EE=function(t){var n=t.children,r=t.innerProps;return B("div",M({},Ee(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||B(Bg,null))},PE=Hg,CE=function(t){var n=t.children,r=t.innerProps;return B("div",M({},Ee(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||B(Pf,null))},xE=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing.baseUnit,o=i.colors;return H({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?o.neutral10:o.neutral20,marginBottom:a*2,marginTop:a*2})},_E=function(t){var n=t.innerProps;return B("span",M({},n,Ee(t,"indicatorSeparator",{"indicator-separator":!0})))},AE=Ew(Ep||(Ep=Pw([`
|
|
54
|
-
0%, 80%, 100% { opacity: 0; }
|
|
55
|
-
40% { opacity: 1; }
|
|
56
|
-
`]))),kE=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,o=a.colors,s=a.spacing.baseUnit;return H({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?o.neutral60:o.neutral20,padding:s*2})},tl=function(t){var n=t.delay,r=t.offset;return B("span",{css:bf({animation:"".concat(AE," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},RE=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,a=i===void 0?4:i,o=cn(t,bE);return B("div",M({},Ee(H(H({},o),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),B(tl,{delay:0,offset:r}),B(tl,{delay:160,offset:!0}),B(tl,{delay:320,offset:!r}))},FE=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,o=a.colors,s=a.borderRadius,l=a.spacing;return H({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:i?o.primary:o.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},IE=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,o=t.innerProps,s=t.menuIsOpen;return B("div",M({ref:a},Ee(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":s}),o,{"aria-disabled":r||void 0}),n)},TE=IE,LE=["data"],ME=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},NE=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,o=t.Heading,s=t.headingProps,l=t.innerProps,u=t.label,f=t.theme,c=t.selectProps;return B("div",M({},Ee(t,"group",{group:!0}),l),B(o,M({},s,{selectProps:c,theme:f,getStyles:i,getClassNames:a,cx:r}),u),B("div",null,n))},jE=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return H({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},VE=function(t){var n=Ng(t);n.data;var r=cn(n,LE);return B("div",M({},Ee(t,"groupHeading",{"group-heading":!0}),r))},DE=NE,zE=["innerRef","isDisabled","isHidden","inputClassName"],$E=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,o=a.spacing,s=a.colors;return H(H({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},UE),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:s.neutral80})},qg={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},UE={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":H({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},qg)},BE=function(t){return H({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},qg)},HE=function(t){var n=t.cx,r=t.value,i=Ng(t),a=i.innerRef,o=i.isDisabled,s=i.isHidden,l=i.inputClassName,u=cn(i,zE);return B("div",M({},Ee(t,"input",{"input-container":!0}),{"data-value":r||""}),B("input",M({className:n({input:!0},l),ref:a,style:BE(s),disabled:o},u)))},qE=HE,WE=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors;return H({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},YE=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,o=t.cropWithEllipsis;return H({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},GE=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors,s=t.isFocused;return H({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:s?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},Wg=function(t){var n=t.children,r=t.innerProps;return B("div",r,n)},KE=Wg,QE=Wg;function XE(e){var t=e.children,n=e.innerProps;return B("div",M({role:"button"},n),t||B(Pf,{size:14}))}var JE=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,o=t.isDisabled,s=t.removeProps,l=t.selectProps,u=r.Container,f=r.Label,c=r.Remove;return B(u,{data:i,innerProps:H(H({},Ee(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),a),selectProps:l},B(f,{data:i,innerProps:H({},Ee(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},n),B(c,{data:i,innerProps:H(H({},Ee(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},s),selectProps:l}))},ZE=JE,e2=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.theme,s=o.spacing,l=o.colors;return H({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?l.primary:i?l.primary25:"transparent",color:r?l.neutral20:a?l.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?l.primary:l.primary50}})},t2=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.innerRef,s=t.innerProps;return B("div",M({},Ee(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:o,"aria-disabled":r},s),n)},n2=t2,r2=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return H({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},i2=function(t){var n=t.children,r=t.innerProps;return B("div",M({},Ee(t,"placeholder",{placeholder:!0}),r),n)},a2=i2,o2=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,o=i.colors;return H({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?o.neutral40:o.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},s2=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return B("div",M({},Ee(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},l2=s2,u2={ClearIndicator:CE,Control:TE,DropdownIndicator:EE,DownChevron:Bg,CrossIcon:Pf,Group:DE,GroupHeading:VE,IndicatorsContainer:yE,IndicatorSeparator:_E,Input:qE,LoadingIndicator:RE,Menu:iE,MenuList:oE,MenuPortal:dE,LoadingMessage:cE,NoOptionsMessage:uE,MultiValue:ZE,MultiValueContainer:KE,MultiValueLabel:QE,MultiValueRemove:XE,Option:n2,Placeholder:a2,SelectContainer:mE,SingleValue:l2,ValueContainer:vE},c2=function(t){return H(H({},u2),t.components)},Pp=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function f2(e,t){return!!(e===t||Pp(e)&&Pp(t))}function d2(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!f2(e[n],t[n]))return!1;return!0}function p2(e,t){t===void 0&&(t=d2);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var o=e.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return r.clear=function(){n=null},r}var m2={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},h2=function(t){return B("span",M({css:m2},t))},Cp=h2,v2={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,a=t.context,o=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return o?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,o=a===void 0?"":a,s=t.selectValue,l=t.isDisabled,u=t.isSelected,f=t.isAppleDevice,c=function(v,S){return v&&v.length?"".concat(v.indexOf(S)+1," of ").concat(v.length):""};if(n==="value"&&s)return"value ".concat(o," focused, ").concat(c(s,r),".");if(n==="menu"&&f){var d=l?" disabled":"",m="".concat(u?" selected":"").concat(d);return"".concat(o).concat(m,", ").concat(c(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},g2=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,o=t.isFocused,s=t.selectValue,l=t.selectProps,u=t.id,f=t.isAppleDevice,c=l.ariaLiveMessages,d=l.getOptionLabel,m=l.inputValue,g=l.isMulti,v=l.isOptionDisabled,S=l.isSearchable,p=l.menuIsOpen,h=l.options,y=l.screenReaderStatus,b=l.tabSelectsValue,w=l.isLoading,P=l["aria-label"],E=l["aria-live"],C=x.useMemo(function(){return H(H({},v2),c||{})},[c]),A=x.useMemo(function(){var te="";if(n&&C.onChange){var W=n.option,Pe=n.options,T=n.removedValue,z=n.removedValues,D=n.value,N=function(Q){return Array.isArray(Q)?null:Q},O=T||W||N(D),_=O?d(O):"",k=Pe||z||void 0,I=k?k.map(d):[],j=H({isDisabled:O&&v(O,s),label:_,labels:I},n);te=C.onChange(j)}return te},[n,C,v,s,d]),L=x.useMemo(function(){var te="",W=r||i,Pe=!!(r&&s&&s.includes(r));if(W&&C.onFocus){var T={focused:W,label:d(W),isDisabled:v(W,s),isSelected:Pe,options:a,context:W===r?"menu":"value",selectValue:s,isAppleDevice:f};te=C.onFocus(T)}return te},[r,i,d,v,C,a,s,f]),Y=x.useMemo(function(){var te="";if(p&&h.length&&!w&&C.onFilter){var W=y({count:a.length});te=C.onFilter({inputValue:m,resultsMessage:W})}return te},[a,m,p,C,h,y,w]),G=(n==null?void 0:n.action)==="initial-input-focus",K=x.useMemo(function(){var te="";if(C.guidance){var W=i?"value":p?"menu":"input";te=C.guidance({"aria-label":P,context:W,isDisabled:r&&v(r,s),isMulti:g,isSearchable:S,tabSelectsValue:b,isInitialFocus:G})}return te},[P,r,i,g,v,S,p,C,s,b,G]),U=B(x.Fragment,null,B("span",{id:"aria-selection"},A),B("span",{id:"aria-focused"},L),B("span",{id:"aria-results"},Y),B("span",{id:"aria-guidance"},K));return B(x.Fragment,null,B(Cp,{id:u},G&&U),B(Cp,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!G&&U))},y2=g2,Hu=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],S2=new RegExp("["+Hu.map(function(e){return e.letters}).join("")+"]","g"),Yg={};for(var nl=0;nl<Hu.length;nl++)for(var rl=Hu[nl],il=0;il<rl.letters.length;il++)Yg[rl.letters[il]]=rl.base;var Gg=function(t){return t.replace(S2,function(n){return Yg[n]})},b2=p2(Gg),xp=function(t){return t.replace(/^\s+|\s+$/g,"")},O2=function(t){return"".concat(t.label," ").concat(t.value)},w2=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=H({ignoreCase:!0,ignoreAccents:!0,stringify:O2,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,o=i.ignoreAccents,s=i.stringify,l=i.trim,u=i.matchFrom,f=l?xp(r):r,c=l?xp(s(n)):s(n);return a&&(f=f.toLowerCase(),c=c.toLowerCase()),o&&(f=b2(f),c=Gg(c)),u==="start"?c.substr(0,f.length)===f:c.indexOf(f)>-1}},E2=["innerRef"];function P2(e){var t=e.innerRef,n=cn(e,E2),r=Qw(n,"onExited","in","enter","exit","appear");return B("input",M({ref:t},r,{css:bf({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var C2=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function x2(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,o=x.useRef(!1),s=x.useRef(!1),l=x.useRef(0),u=x.useRef(null),f=x.useCallback(function(S,p){if(u.current!==null){var h=u.current,y=h.scrollTop,b=h.scrollHeight,w=h.clientHeight,P=u.current,E=p>0,C=b-w-y,A=!1;C>p&&o.current&&(r&&r(S),o.current=!1),E&&s.current&&(a&&a(S),s.current=!1),E&&p>C?(n&&!o.current&&n(S),P.scrollTop=b,A=!0,o.current=!0):!E&&-p>y&&(i&&!s.current&&i(S),P.scrollTop=0,A=!0,s.current=!0),A&&C2(S)}},[n,r,i,a]),c=x.useCallback(function(S){f(S,S.deltaY)},[f]),d=x.useCallback(function(S){l.current=S.changedTouches[0].clientY},[]),m=x.useCallback(function(S){var p=l.current-S.changedTouches[0].clientY;f(S,p)},[f]),g=x.useCallback(function(S){if(S){var p=Yw?{passive:!1}:!1;S.addEventListener("wheel",c,p),S.addEventListener("touchstart",d,p),S.addEventListener("touchmove",m,p)}},[m,d,c]),v=x.useCallback(function(S){S&&(S.removeEventListener("wheel",c,!1),S.removeEventListener("touchstart",d,!1),S.removeEventListener("touchmove",m,!1))},[m,d,c]);return x.useEffect(function(){if(t){var S=u.current;return g(S),function(){v(S)}}},[t,g,v]),function(S){u.current=S}}var _p=["boxSizing","height","overflow","paddingRight","position"],Ap={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function kp(e){e.cancelable&&e.preventDefault()}function Rp(e){e.stopPropagation()}function Fp(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ip(){return"ontouchstart"in window||navigator.maxTouchPoints}var Tp=!!(typeof window<"u"&&window.document&&window.document.createElement),ci=0,dr={capture:!1,passive:!1};function _2(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=x.useRef({}),a=x.useRef(null),o=x.useCallback(function(l){if(Tp){var u=document.body,f=u&&u.style;if(r&&_p.forEach(function(g){var v=f&&f[g];i.current[g]=v}),r&&ci<1){var c=parseInt(i.current.paddingRight,10)||0,d=document.body?document.body.clientWidth:0,m=window.innerWidth-d+c||0;Object.keys(Ap).forEach(function(g){var v=Ap[g];f&&(f[g]=v)}),f&&(f.paddingRight="".concat(m,"px"))}u&&Ip()&&(u.addEventListener("touchmove",kp,dr),l&&(l.addEventListener("touchstart",Fp,dr),l.addEventListener("touchmove",Rp,dr))),ci+=1}},[r]),s=x.useCallback(function(l){if(Tp){var u=document.body,f=u&&u.style;ci=Math.max(ci-1,0),r&&ci<1&&_p.forEach(function(c){var d=i.current[c];f&&(f[c]=d)}),u&&Ip()&&(u.removeEventListener("touchmove",kp,dr),l&&(l.removeEventListener("touchstart",Fp,dr),l.removeEventListener("touchmove",Rp,dr)))}},[r]);return x.useEffect(function(){if(t){var l=a.current;return o(l),function(){s(l)}}},[t,o,s]),function(l){a.current=l}}var A2=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},k2={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function R2(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,o=e.onBottomLeave,s=e.onTopArrive,l=e.onTopLeave,u=x2({isEnabled:i,onBottomArrive:a,onBottomLeave:o,onTopArrive:s,onTopLeave:l}),f=_2({isEnabled:n}),c=function(m){u(m),f(m)};return B(x.Fragment,null,n&&B("div",{onClick:A2,css:k2}),t(c))}var F2={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},I2=function(t){var n=t.name,r=t.onFocus;return B("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:F2,value:"",onChange:function(){}})},T2=I2;function Cf(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function L2(){return Cf(/^iPhone/i)}function Kg(){return Cf(/^Mac/i)}function M2(){return Cf(/^iPad/i)||Kg()&&navigator.maxTouchPoints>1}function N2(){return L2()||M2()}function j2(){return Kg()||N2()}var V2=function(t){return t.label},D2=function(t){return t.label},z2=function(t){return t.value},$2=function(t){return!!t.isDisabled},U2={clearIndicator:PE,container:pE,control:FE,dropdownIndicator:wE,group:ME,groupHeading:jE,indicatorsContainer:gE,indicatorSeparator:xE,input:$E,loadingIndicator:kE,loadingMessage:lE,menu:tE,menuList:aE,menuPortal:fE,multiValue:WE,multiValueLabel:YE,multiValueRemove:GE,noOptionsMessage:sE,option:e2,placeholder:r2,singleValue:o2,valueContainer:hE},B2={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},H2=4,Qg=4,q2=38,W2=Qg*2,Y2={baseUnit:Qg,controlHeight:q2,menuGutter:W2},al={borderRadius:H2,colors:B2,spacing:Y2},G2={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:wp(),captureMenuScroll:!wp(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:w2(),formatGroupLabel:V2,getOptionLabel:D2,getOptionValue:z2,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:$2,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!qw(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Lp(e,t,n,r){var i=Zg(e,t,n),a=e0(e,t,n),o=Jg(e,t),s=To(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:o,value:s,index:r}}function Ka(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(o,s){return Lp(e,o,t,s)}).filter(function(o){return Np(e,o)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=Lp(e,n,t,r);return Np(e,a)?a:void 0}).filter(Gw)}function Xg(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,df(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function Mp(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,df(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function K2(e,t){return Xg(Ka(e,t))}function Np(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,o=t.label,s=t.value;return(!n0(e)||!a)&&t0(e,{label:o,value:s,data:i},r)}function Q2(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function X2(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var ol=function(t,n){var r,i=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},Jg=function(t,n){return t.getOptionLabel(n)},To=function(t,n){return t.getOptionValue(n)};function Zg(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function e0(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=To(e,t);return n.some(function(i){return To(e,i)===r})}function t0(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var n0=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},J2=1,r0=function(e){fO(n,e);var t=mO(n);function n(r){var i;if(uO(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=j2(),i.controlRef=null,i.getControlRef=function(l){i.controlRef=l},i.focusedOptionRef=null,i.getFocusedOptionRef=function(l){i.focusedOptionRef=l},i.menuListRef=null,i.getMenuListRef=function(l){i.menuListRef=l},i.inputRef=null,i.getInputRef=function(l){i.inputRef=l},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(l,u){var f=i.props,c=f.onChange,d=f.name;u.name=d,i.ariaOnChange(l,u),c(l,u)},i.setValue=function(l,u,f){var c=i.props,d=c.closeMenuOnSelect,m=c.isMulti,g=c.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:g}),d&&(i.setState({inputIsHiddenAfterUpdate:!m}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(l,{action:u,option:f})},i.selectOption=function(l){var u=i.props,f=u.blurInputOnSelect,c=u.isMulti,d=u.name,m=i.state.selectValue,g=c&&i.isOptionSelected(l,m),v=i.isOptionDisabled(l,m);if(g){var S=i.getOptionValue(l);i.setValue(m.filter(function(p){return i.getOptionValue(p)!==S}),"deselect-option",l)}else if(!v)c?i.setValue([].concat(df(m),[l]),"select-option",l):i.setValue(l,"select-option");else{i.ariaOnChange(l,{action:"select-option",option:l,name:d});return}f&&i.blurInput()},i.removeValue=function(l){var u=i.props.isMulti,f=i.state.selectValue,c=i.getOptionValue(l),d=f.filter(function(g){return i.getOptionValue(g)!==c}),m=Aa(u,d,d[0]||null);i.onChange(m,{action:"remove-value",removedValue:l}),i.focusInput()},i.clearValue=function(){var l=i.state.selectValue;i.onChange(Aa(i.props.isMulti,[],null),{action:"clear",removedValues:l})},i.popValue=function(){var l=i.props.isMulti,u=i.state.selectValue,f=u[u.length-1],c=u.slice(0,u.length-1),d=Aa(l,c,c[0]||null);f&&i.onChange(d,{action:"pop-value",removedValue:f})},i.getFocusedOptionId=function(l){return ol(i.state.focusableOptionsWithIds,l)},i.getFocusableOptionsWithIds=function(){return Mp(Ka(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var l=arguments.length,u=new Array(l),f=0;f<l;f++)u[f]=arguments[f];return zw.apply(void 0,[i.props.classNamePrefix].concat(u))},i.getOptionLabel=function(l){return Jg(i.props,l)},i.getOptionValue=function(l){return To(i.props,l)},i.getStyles=function(l,u){var f=i.props.unstyled,c=U2[l](u,f);c.boxSizing="border-box";var d=i.props.styles[l];return d?d(c,u):c},i.getClassNames=function(l,u){var f,c;return(f=(c=i.props.classNames)[l])===null||f===void 0?void 0:f.call(c,u)},i.getElementId=function(l){return"".concat(i.state.instancePrefix,"-").concat(l)},i.getComponents=function(){return c2(i.props)},i.buildCategorizedOptions=function(){return Ka(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Xg(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(l,u){i.setState({ariaSelection:H({value:l},u)})},i.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(l){i.blockOptionHover=!1},i.onControlMouseDown=function(l){if(!l.defaultPrevented){var u=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&i.onMenuClose():u&&i.openMenu("first"):(u&&(i.openAfterFocus=!0),i.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},i.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!i.props.isDisabled){var u=i.props,f=u.isMulti,c=u.menuIsOpen;i.focusInput(),c?(i.setState({inputIsHiddenAfterUpdate:!f}),i.onMenuClose()):i.openMenu("first"),l.preventDefault()}},i.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(i.clearValue(),l.preventDefault(),i.openAfterFocus=!1,l.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(l){typeof i.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&hs(l.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(l)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(l){var u=l.touches,f=u&&u.item(0);f&&(i.initialTouchX=f.clientX,i.initialTouchY=f.clientY,i.userIsDragging=!1)},i.onTouchMove=function(l){var u=l.touches,f=u&&u.item(0);if(f){var c=Math.abs(f.clientX-i.initialTouchX),d=Math.abs(f.clientY-i.initialTouchY),m=5;i.userIsDragging=c>m||d>m}},i.onTouchEnd=function(l){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(l.target)&&i.menuListRef&&!i.menuListRef.contains(l.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(l){i.userIsDragging||i.onControlMouseDown(l)},i.onClearIndicatorTouchEnd=function(l){i.userIsDragging||i.onClearIndicatorMouseDown(l)},i.onDropdownIndicatorTouchEnd=function(l){i.userIsDragging||i.onDropdownIndicatorMouseDown(l)},i.handleInputChange=function(l){var u=i.props.inputValue,f=l.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(f,{action:"input-change",prevInputValue:u}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(l){i.props.onFocus&&i.props.onFocus(l),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(l){var u=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(l),i.onInputChange("",{action:"input-blur",prevInputValue:u}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(l){if(!(i.blockOptionHover||i.state.focusedOption===l)){var u=i.getFocusableOptions(),f=u.indexOf(l);i.setState({focusedOption:l,focusedOptionId:f>-1?i.getFocusedOptionId(l):null})}},i.shouldHideSelectedOptions=function(){return n0(i.props)},i.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),i.focus()},i.onKeyDown=function(l){var u=i.props,f=u.isMulti,c=u.backspaceRemovesValue,d=u.escapeClearsValue,m=u.inputValue,g=u.isClearable,v=u.isDisabled,S=u.menuIsOpen,p=u.onKeyDown,h=u.tabSelectsValue,y=u.openMenuOnFocus,b=i.state,w=b.focusedOption,P=b.focusedValue,E=b.selectValue;if(!v&&!(typeof p=="function"&&(p(l),l.defaultPrevented))){switch(i.blockOptionHover=!0,l.key){case"ArrowLeft":if(!f||m)return;i.focusValue("previous");break;case"ArrowRight":if(!f||m)return;i.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(P)i.removeValue(P);else{if(!c)return;f?i.popValue():g&&i.clearValue()}break;case"Tab":if(i.isComposing||l.shiftKey||!S||!h||!w||y&&i.isOptionSelected(w,E))return;i.selectOption(w);break;case"Enter":if(l.keyCode===229)break;if(S){if(!w||i.isComposing)return;i.selectOption(w);break}return;case"Escape":S?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:m}),i.onMenuClose()):g&&d&&i.clearValue();break;case" ":if(m)return;if(!S){i.openMenu("first");break}if(!w)return;i.selectOption(w);break;case"ArrowUp":S?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":S?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!S)return;i.focusOption("pageup");break;case"PageDown":if(!S)return;i.focusOption("pagedown");break;case"Home":if(!S)return;i.focusOption("first");break;case"End":if(!S)return;i.focusOption("last");break;default:return}l.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++J2),i.state.selectValue=bp(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),o=i.buildFocusableOptions(),s=o.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=o[s],i.state.focusedOptionId=ol(a,o[s])}return i}return cO(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Op(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var a=this.props,o=a.isDisabled,s=a.menuIsOpen,l=this.state.isFocused;(l&&!o&&i.isDisabled||l&&s&&!i.menuIsOpen)&&this.focusInput(),l&&o&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!o&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Op(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,o=this.state,s=o.selectValue,l=o.isFocused,u=this.buildFocusableOptions(),f=i==="first"?0:u.length-1;if(!this.props.isMulti){var c=u.indexOf(s[0]);c>-1&&(f=c)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[f],focusedOptionId:this.getFocusedOptionId(u[f])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,o=a.selectValue,s=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=o.indexOf(s);s||(l=-1);var u=o.length-1,f=-1;if(o.length){switch(i){case"previous":l===0?f=0:l===-1?f=u:f=l-1;break;case"next":l>-1&&l<u&&(f=l+1);break}this.setState({inputIsHidden:f!==-1,focusedValue:o[f]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,o=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var l=0,u=s.indexOf(o);o||(u=-1),i==="up"?l=u>0?u-1:s.length-1:i==="down"?l=(u+1)%s.length:i==="pageup"?(l=u-a,l<0&&(l=0)):i==="pagedown"?(l=u+a,l>s.length-1&&(l=s.length-1)):i==="last"&&(l=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[l],focusedValue:null,focusedOptionId:this.getFocusedOptionId(s[l])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(al):H(H({},al),this.props.theme):al}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,o=this.getStyles,s=this.getClassNames,l=this.getValue,u=this.selectOption,f=this.setValue,c=this.props,d=c.isMulti,m=c.isRtl,g=c.options,v=this.hasValue();return{clearValue:i,cx:a,getStyles:o,getClassNames:s,getValue:l,hasValue:v,isMulti:d,isRtl:m,options:g,selectOption:u,selectProps:c,setValue:f,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,o=i.isMulti;return a===void 0?o:a}},{key:"isOptionDisabled",value:function(i,a){return Zg(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return e0(this.props,i,a)}},{key:"filterOption",value:function(i,a){return t0(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:o,selectValue:s})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,o=i.isSearchable,s=i.inputId,l=i.inputValue,u=i.tabIndex,f=i.form,c=i.menuIsOpen,d=i.required,m=this.getComponents(),g=m.Input,v=this.state,S=v.inputIsHidden,p=v.ariaSelection,h=this.commonProps,y=s||this.getElementId("input"),b=H(H(H({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":d,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(p==null?void 0:p.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?x.createElement(g,M({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:a,isHidden:S,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:f,type:"text",value:l},b)):x.createElement(P2,M({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Fo,onFocus:this.onInputFocus,disabled:a,tabIndex:u,inputMode:"none",form:f,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),o=a.MultiValue,s=a.MultiValueContainer,l=a.MultiValueLabel,u=a.MultiValueRemove,f=a.SingleValue,c=a.Placeholder,d=this.commonProps,m=this.props,g=m.controlShouldRenderValue,v=m.isDisabled,S=m.isMulti,p=m.inputValue,h=m.placeholder,y=this.state,b=y.selectValue,w=y.focusedValue,P=y.isFocused;if(!this.hasValue()||!g)return p?null:x.createElement(c,M({},d,{key:"placeholder",isDisabled:v,isFocused:P,innerProps:{id:this.getElementId("placeholder")}}),h);if(S)return b.map(function(C,A){var L=C===w,Y="".concat(i.getOptionLabel(C),"-").concat(i.getOptionValue(C));return x.createElement(o,M({},d,{components:{Container:s,Label:l,Remove:u},isFocused:L,isDisabled:v,key:Y,index:A,removeProps:{onClick:function(){return i.removeValue(C)},onTouchEnd:function(){return i.removeValue(C)},onMouseDown:function(K){K.preventDefault()}},data:C}),i.formatOptionLabel(C,"value"))});if(p)return null;var E=b[0];return x.createElement(f,M({},d,{data:E,isDisabled:v}),this.formatOptionLabel(E,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,o=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,f=this.state.isFocused;if(!this.isClearable()||!a||l||!this.hasValue()||u)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return x.createElement(a,M({},o,{innerProps:c,isFocused:f}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,o=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,f=this.state.isFocused;if(!a||!u)return null;var c={"aria-hidden":"true"};return x.createElement(a,M({},o,{innerProps:c,isDisabled:l,isFocused:f}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,o=i.IndicatorSeparator;if(!a||!o)return null;var s=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return x.createElement(o,M({},s,{isDisabled:l,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var o=this.commonProps,s=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return x.createElement(a,M({},o,{innerProps:u,isDisabled:s,isFocused:l}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),o=a.Group,s=a.GroupHeading,l=a.Menu,u=a.MenuList,f=a.MenuPortal,c=a.LoadingMessage,d=a.NoOptionsMessage,m=a.Option,g=this.commonProps,v=this.state.focusedOption,S=this.props,p=S.captureMenuScroll,h=S.inputValue,y=S.isLoading,b=S.loadingMessage,w=S.minMenuHeight,P=S.maxMenuHeight,E=S.menuIsOpen,C=S.menuPlacement,A=S.menuPosition,L=S.menuPortalTarget,Y=S.menuShouldBlockScroll,G=S.menuShouldScrollIntoView,K=S.noOptionsMessage,U=S.onMenuScrollToTop,te=S.onMenuScrollToBottom;if(!E)return null;var W=function(_,k){var I=_.type,j=_.data,q=_.isDisabled,Q=_.isSelected,ne=_.label,ie=_.value,be=v===j,Fe=q?void 0:function(){return i.onOptionHover(j)},ot=q?void 0:function(){return i.selectOption(j)},Pt="".concat(i.getElementId("option"),"-").concat(k),xe={id:Pt,onClick:ot,onMouseMove:Fe,onMouseOver:Fe,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:Q};return x.createElement(m,M({},g,{innerProps:xe,data:j,isDisabled:q,isSelected:Q,key:Pt,label:ne,type:I,value:ie,isFocused:be,innerRef:be?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(_.data,"menu"))},Pe;if(this.hasOptions())Pe=this.getCategorizedOptions().map(function(O){if(O.type==="group"){var _=O.data,k=O.options,I=O.index,j="".concat(i.getElementId("group"),"-").concat(I),q="".concat(j,"-heading");return x.createElement(o,M({},g,{key:j,data:_,options:k,Heading:s,headingProps:{id:q,data:O.data},label:i.formatGroupLabel(O.data)}),O.options.map(function(Q){return W(Q,"".concat(I,"-").concat(Q.index))}))}else if(O.type==="option")return W(O,"".concat(O.index))});else if(y){var T=b({inputValue:h});if(T===null)return null;Pe=x.createElement(c,g,T)}else{var z=K({inputValue:h});if(z===null)return null;Pe=x.createElement(d,g,z)}var D={minMenuHeight:w,maxMenuHeight:P,menuPlacement:C,menuPosition:A,menuShouldScrollIntoView:G},N=x.createElement(nE,M({},g,D),function(O){var _=O.ref,k=O.placerProps,I=k.placement,j=k.maxHeight;return x.createElement(l,M({},g,D,{innerRef:_,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:y,placement:I}),x.createElement(R2,{captureEnabled:p,onTopArrive:U,onBottomArrive:te,lockEnabled:Y},function(q){return x.createElement(u,M({},g,{innerRef:function(ne){i.getMenuListRef(ne),q(ne)},innerProps:{role:"listbox","aria-multiselectable":g.isMulti,id:i.getElementId("listbox")},isLoading:y,maxHeight:j,focusedOption:v}),Pe)}))});return L||A==="fixed"?x.createElement(f,M({},g,{appendTo:L,controlElement:this.controlRef,menuPlacement:C,menuPosition:A}),N):N}},{key:"renderFormField",value:function(){var i=this,a=this.props,o=a.delimiter,s=a.isDisabled,l=a.isMulti,u=a.name,f=a.required,c=this.state.selectValue;if(f&&!this.hasValue()&&!s)return x.createElement(T2,{name:u,onFocus:this.onValueInputFocus});if(!(!u||s))if(l)if(o){var d=c.map(function(v){return i.getOptionValue(v)}).join(o);return x.createElement("input",{name:u,type:"hidden",value:d})}else{var m=c.length>0?c.map(function(v,S){return x.createElement("input",{key:"i-".concat(S),name:u,type:"hidden",value:i.getOptionValue(v)})}):x.createElement("input",{name:u,type:"hidden",value:""});return x.createElement("div",null,m)}else{var g=c[0]?this.getOptionValue(c[0]):"";return x.createElement("input",{name:u,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,o=a.ariaSelection,s=a.focusedOption,l=a.focusedValue,u=a.isFocused,f=a.selectValue,c=this.getFocusableOptions();return x.createElement(y2,M({},i,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:s,focusedValue:l,isFocused:u,selectValue:f,focusableOptions:c,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,o=i.IndicatorsContainer,s=i.SelectContainer,l=i.ValueContainer,u=this.props,f=u.className,c=u.id,d=u.isDisabled,m=u.menuIsOpen,g=this.state.isFocused,v=this.commonProps=this.getCommonProps();return x.createElement(s,M({},v,{className:f,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:d,isFocused:g}),this.renderLiveRegion(),x.createElement(a,M({},v,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:d,isFocused:g,menuIsOpen:m}),x.createElement(l,M({},v,{isDisabled:d}),this.renderPlaceholderOrValue(),this.renderInput()),x.createElement(o,M({},v,{isDisabled:d}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var o=a.prevProps,s=a.clearFocusValueOnUpdate,l=a.inputIsHiddenAfterUpdate,u=a.ariaSelection,f=a.isFocused,c=a.prevWasFocused,d=a.instancePrefix,m=i.options,g=i.value,v=i.menuIsOpen,S=i.inputValue,p=i.isMulti,h=bp(g),y={};if(o&&(g!==o.value||m!==o.options||v!==o.menuIsOpen||S!==o.inputValue)){var b=v?K2(i,h):[],w=v?Mp(Ka(i,h),"".concat(d,"-option")):[],P=s?Q2(a,h):null,E=X2(a,b),C=ol(w,E);y={selectValue:h,focusedOption:E,focusedOptionId:C,focusableOptionsWithIds:w,focusedValue:P,clearFocusValueOnUpdate:!1}}var A=l!=null&&i!==o?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},L=u,Y=f&&c;return f&&!Y&&(L={value:Aa(p,h,h[0]||null),options:h,action:"initial-input-focus"},Y=!c),(u==null?void 0:u.action)==="initial-input-focus"&&(L=null),H(H(H({},y),A),{},{prevProps:i,ariaSelection:L,prevWasFocused:Y})}}]),n}(x.Component);r0.defaultProps=G2;var Z2=x.forwardRef(function(e,t){var n=lO(e);return x.createElement(r0,M({ref:t},n))}),eP=Z2,ce=function(){return ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},ce.apply(this,arguments)},tP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},nP=function(e){return ce(ce({},e),{borderRadius:0,colors:ce(ce({},e.colors),{primary25:"var(--semi-transparent-accent-color)",neutral10:"var(--border-color)",neutral20:"var(--border-color)",primary:"var(--accent-color)",neutral30:"var(--darker-border-color)"})})},rP=function(e,t){return x.useMemo(function(){return{placeholder:function(n){return ce(ce({},n),{color:"var(--placeholder-body-color)"})},container:function(n){return ce(ce({},n),{fontSize:"inherit"})},control:function(n,r){var i=r.isFocused,a=n;return a=ce(ce({},a),{minHeight:40}),i?ce(ce({},a),{borderColor:t?"var(--alert-color)":"var(--accent-color)",backgroundColor:e?"var(--disabled-color)":"white",boxShadow:"0 0 0 3px ".concat(t?"rgba(var(--alert-color-rgb-components), 0.2)":"var(--semi-transparent-accent-color)"),"&:hover":{borderColor:t?"var(--alert-color)":"var(--accent-color)"}}):ce(ce({},a),{borderColor:t?"var(--alert-color)":"var(--border-color)",backgroundColor:e?"var(--disabled-color)":"white","&:hover":{borderColor:t?"var(--alert-color)":"var(--darker-border-color)"}})},multiValueRemove:function(n){return ce(ce({},n),{cursor:"pointer"})},menu:function(n){return ce(ce({},n),{zIndex:1e3,minWidth:250})},input:function(n){var r=ce(ce({},n),{boxShadow:"none","input:focus":{boxShadow:"none"}});return r},multiValue:function(n){return ce(ce({},n),{zIndex:100,backgroundColor:"var(--light-color)",userSelect:"none"})},multiValueLabel:function(n){return ce(ce({},n),{fontSize:"inherit",padding:3})}}},[e,t])};function jp(e){var t=e.isDisabled,n=e.error,r=tP(e,["isDisabled","error"]),i=rP(t,n);return X.createElement(eP,ce({},r,{isDisabled:t,theme:nP,styles:i}))}const iP="_Spinner__bar_oumod_13",aP="_Spinner__spin_oumod_1",sl={"Spinner--inline":"_Spinner--inline_oumod_1","Spinner--centered":"_Spinner--centered_oumod_7",Spinner__bar:iP,Spinner__spin:aP};var Lo=function(){return Lo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Lo.apply(this,arguments)};function oP(e){for(var t,n=e.size,r=n===void 0?32:n,i=e.placement,a=i===void 0?"inline":i,o=e.style,s=o===void 0?{}:o,l=[],u=0;u<12;u+=1){var f={};f.animationDelay="".concat((u-12)/10,"s"),f.transform="rotate(".concat(u*30,"deg) translate(146%)"),l.push(X.createElement("div",{style:f,className:sl.Spinner__bar,key:u}))}var c={width:r*.5,height:r*.5};return a==="inline"&&(c.marginLeft=r*.5,c.transform="translateY(33%)"),X.createElement("div",{className:rn((t={},t[sl["Spinner--inline"]]=a==="inline",t[sl["Spinner--centered"]]=a==="centered",t)),style:Lo(Lo({},s),c)},l)}var qu=function(){return qu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},qu.apply(this,arguments)};function sP(e){var t=e.id,n=e.name,r=e.label,i=e.hint,a=e.error,o=e.required,s=e.placeholder,l=e.formLabelProps,u=e.value,f=e.onChange,c=e.textInputProps;return X.createElement(Qb,{formLabelProps:l,id:t,required:o,error:a,hint:i,label:r},X.createElement(i0,qu({},c,{id:t,name:n,value:u,placeholder:s,onChange:f,error:!!a})))}const lP="_TextInput_x2oj2_1",ka={TextInput:lP,"TextInput--monospaced":"_TextInput--monospaced_x2oj2_30","TextInput--disabled":"_TextInput--disabled_x2oj2_35","TextInput--error":"_TextInput--error_x2oj2_41"};var Wu=function(){return Wu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Wu.apply(this,arguments)},uP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},i0=function(e){var t,n=e.className,r=e.disabled,i=r===void 0?!1:r,a=e.error,o=e.id,s=e.inputRef,l=e.maxLength,u=e.name,f=e.labelText,c=e.onBlur,d=e.onChange,m=e.placeholder,g=e.required,v=g===void 0?!1:g,S=e.type,p=e.value,h=e.monospaced,y=uP(e,["className","disabled","error","id","inputRef","maxLength","name","labelText","onBlur","onChange","placeholder","required","type","value","monospaced"]),b=x.useCallback(function(P){d&&d(P.target.value,P)},[d]),w=rn(ka.TextInput,n,(t={},t[ka["TextInput--disabled"]]=i,t[ka["TextInput--error"]]=a,t[ka["TextInput--monospaced"]]=h,t));return X.createElement("input",Wu({className:w,"aria-label":f,id:o,name:u,required:v,placeholder:m,maxLength:l,disabled:i,onBlur:c,onChange:b,value:p,type:S,ref:s},y))},Yu="__reactLayoutHandler",a0=function(){if(typeof document>"u")return!1;var e=document.body.appendChild(document.createElement("div")),t=new ResizeObserver(function(){});try{return t.observe(e,{box:"border-box"}),t.unobserve(e),!0}catch{return!1}finally{document.body.removeChild(e)}}(),Ra=null;function cP(){if(Ra)return Ra;if(!(typeof ResizeObserver>"u"))return Ra=new ResizeObserver(function(e){e.forEach(function(t){var n=t.target,r=n[Yu];if(typeof r=="function"){if(a0&&t.borderBoxSize){var i=t.borderBoxSize[0]||t.borderBoxSize;r(function(o){return o.width===i.inlineSize&&o.height===i.blockSize?o:new DOMRect(0,0,i.inlineSize,i.blockSize)});return}var a=t.target.getBoundingClientRect();r(function(o){return o.width===a.width&&o.height===a.height?o:new DOMRect(0,0,a.width,a.height)})}})}),Ra}function fP(e){var t=cP(),n=X.useState(new DOMRect),r=n[0],i=n[1];return X.useLayoutEffect(function(){var a=e.current;return a&&(a[Yu]=i),a&&t&&(typeof a[Yu]=="function"?t.observe(a,a0?{box:"border-box"}:void 0):t.unobserve(a)),function(){a!=null&&t!=null&&t.unobserve(a)}},[e,t]),r}var dP=46,pP=/\\(\\)?/g,mP=RegExp(`[^.[\\]]+|\\[(?:([^"'][^[]*)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))`,"g"),hP=function(t){var n=[];return t.charCodeAt(0)===dP&&n.push(""),t.replace(mP,function(r,i,a,o){var s=r;a?s=o.replace(pP,"$1"):i&&(s=i.trim()),n.push(s)}),n},Fa={},vP=/[.[\]]+/,o0=function(t){if(t==null||!t.length)return[];if(typeof t!="string")throw new Error("toPath() expects a string");return Fa[t]==null&&(t.endsWith("[]")?Fa[t]=t.split(vP).filter(Boolean):Fa[t]=hP(t)),Fa[t]},he=function(t,n){for(var r=o0(n),i=t,a=0;a<r.length;a++){var o=r[a];if(i==null||typeof i!="object"||Array.isArray(i)&&isNaN(o))return;i=i[o]}return i};function gP(e){var t=yP(e,"string");return typeof t=="symbol"?t:String(t)}function yP(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var SP=function e(t,n,r,i,a){if(n>=r.length)return i;var o=r[n];if(isNaN(o)){var s;if(t==null){var l,u=e(void 0,n+1,r,i,a);return u===void 0?void 0:(l={},l[o]=u,l)}if(Array.isArray(t))throw new Error("Cannot set a non-numeric property on an array");var f=e(t[o],n+1,r,i,a);if(f===void 0){var c=Object.keys(t).length;if(t[o]===void 0&&c===0)return;if(t[o]!==void 0&&c<=1)return!isNaN(r[n-1])&&!a?{}:void 0;t[o];var d=na(t,[o].map(gP));return d}return M({},t,(s={},s[o]=f,s))}var m=Number(o);if(t==null){var g=e(void 0,n+1,r,i,a);if(g===void 0)return;var v=[];return v[m]=g,v}if(!Array.isArray(t))throw new Error("Cannot set a numeric property on an object");var S=t[m],p=e(S,n+1,r,i,a),h=[].concat(t);if(a&&p===void 0){if(h.splice(m,1),h.length===0)return}else h[m]=p;return h},gt=function(t,n,r,i){if(i===void 0&&(i=!1),t==null)throw new Error("Cannot call setIn() with "+String(t)+" state");if(n==null)throw new Error("Cannot call setIn() with "+String(n)+" key");return SP(t,0,o0(n),r,i)},Vp="FINAL_FORM/form-error",xi="FINAL_FORM/array-error";function Dp(e,t){var n=e.errors,r=e.initialValues,i=e.lastSubmittedValues,a=e.submitErrors,o=e.submitFailed,s=e.submitSucceeded,l=e.submitting,u=e.values,f=t.active,c=t.blur,d=t.change,m=t.data,g=t.focus,v=t.modified,S=t.modifiedSinceLastSubmit,p=t.name,h=t.touched,y=t.validating,b=t.visited,w=he(u,p),P=he(n,p);P&&P[xi]&&(P=P[xi]);var E=a&&he(a,p),C=r&&he(r,p),A=t.isEqual(C,w),L=!!(i&&!t.isEqual(he(i,p),w)),Y=!P&&!E;return{active:f,blur:c,change:d,data:m,dirty:!A,dirtySinceLastSubmit:L,error:P,focus:g,initial:C,invalid:!Y,length:Array.isArray(w)?w.length:void 0,modified:v,modifiedSinceLastSubmit:S,name:p,pristine:A,submitError:E,submitFailed:o,submitSucceeded:s,submitting:l,touched:h,valid:Y,value:w,visited:b,validating:y}}var s0=["active","data","dirty","dirtySinceLastSubmit","error","initial","invalid","length","modified","modifiedSinceLastSubmit","pristine","submitError","submitFailed","submitSucceeded","submitting","touched","valid","value","visited","validating"],Nt=function(t,n){if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var r=Object.keys(t),i=Object.keys(n);if(r.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(n),o=0;o<r.length;o++){var s=r[o];if(!a(s)||t[s]!==n[s])return!1}return!0};function l0(e,t,n,r,i,a){var o=!1;return i.forEach(function(s){r[s]&&(e[s]=t[s],(!n||(~a.indexOf(s)?!Nt(t[s],n[s]):t[s]!==n[s]))&&(o=!0))}),o}var bP=["data"],OP=function(t,n,r,i){var a={blur:t.blur,change:t.change,focus:t.focus,name:t.name},o=l0(a,t,n,r,s0,bP)||!n;return o||i?a:void 0},u0=["active","dirty","dirtyFields","dirtyFieldsSinceLastSubmit","dirtySinceLastSubmit","error","errors","hasSubmitErrors","hasValidationErrors","initialValues","invalid","modified","modifiedSinceLastSubmit","pristine","submitting","submitError","submitErrors","submitFailed","submitSucceeded","touched","valid","validating","values","visited"],wP=["touched","visited"];function zp(e,t,n,r){var i={},a=l0(i,e,t,n,u0,wP)||!t;return a||r?i:void 0}var $p=function(t){var n,r;return function(){for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return(!n||a.length!==n.length||a.some(function(s,l){return!Nt(n[l],s)}))&&(n=a,r=t.apply(void 0,a)),r}},ll=function(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"},EP="4.20.10",PP=function(t,n){return t===n},_r=function e(t){return Object.keys(t).some(function(n){var r=t[n];return r&&typeof r=="object"&&!(r instanceof Error)?e(r):typeof r<"u"})};function CP(e){var t=e.active,n=e.dirtySinceLastSubmit,r=e.modifiedSinceLastSubmit,i=e.error,a=e.errors,o=e.initialValues,s=e.pristine,l=e.submitting,u=e.submitFailed,f=e.submitSucceeded,c=e.submitError,d=e.submitErrors,m=e.valid,g=e.validating,v=e.values;return{active:t,dirty:!s,dirtySinceLastSubmit:n,modifiedSinceLastSubmit:r,error:i,errors:a,hasSubmitErrors:!!(c||d&&_r(d)),hasValidationErrors:!!(i||_r(a)),invalid:!m,initialValues:o,pristine:s,submitting:l,submitFailed:u,submitSucceeded:f,submitError:c,submitErrors:d,valid:m,validating:g>0,values:v}}function c0(e,t,n,r,i,a){var o=i(n,r,t,a);return o?(e(o),!0):!1}function Up(e,t,n,r,i){var a=e.entries;Object.keys(a).forEach(function(o){var s=a[Number(o)];if(s){var l=s.subscription,u=s.subscriber,f=s.notified;c0(u,l,t,n,r,i||!f)&&(s.notified=!0)}})}function xP(e){if(!e)throw new Error("No config specified");var t=e.debug,n=e.destroyOnUnregister,r=e.keepDirtyOnReinitialize,i=e.initialValues,a=e.mutators,o=e.onSubmit,s=e.validate,l=e.validateOnBlur;if(!o)throw new Error("No onSubmit function specified");var u={subscribers:{index:0,entries:{}},fieldSubscribers:{},fields:{},formState:{asyncErrors:{},dirtySinceLastSubmit:!1,modifiedSinceLastSubmit:!1,errors:{},initialValues:i&&M({},i),invalid:!1,pristine:!0,submitting:!1,submitFailed:!1,submitSucceeded:!1,resetWhileSubmitting:!1,valid:!0,validating:0,values:i?M({},i):{}},lastFormState:void 0},f=0,c=!1,d=!1,m=!1,g=0,v={},S=function(O){return function(_){return delete v[O],_}},p=function(O,_,k){var I=he(O.formState.values,_),j=k(I);O.formState.values=gt(O.formState.values,_,j)||{}},h=function(O,_,k){if(O.fields[_]){var I,j;O.fields=M({},O.fields,(I={},I[k]=M({},O.fields[_],{name:k,blur:function(){return D.blur(k)},change:function(ne){return D.change(k,ne)},focus:function(){return D.focus(k)},lastFieldState:void 0}),I)),delete O.fields[_],O.fieldSubscribers=M({},O.fieldSubscribers,(j={},j[k]=O.fieldSubscribers[_],j)),delete O.fieldSubscribers[_];var q=he(O.formState.values,_);O.formState.values=gt(O.formState.values,_,void 0)||{},O.formState.values=gt(O.formState.values,k,q),delete O.lastFormState}},y=function(O){return function(){if(a){for(var _={formState:u.formState,fields:u.fields,fieldSubscribers:u.fieldSubscribers,lastFormState:u.lastFormState},k=arguments.length,I=new Array(k),j=0;j<k;j++)I[j]=arguments[j];var q=a[O](I,_,{changeValue:p,getIn:he,renameField:h,resetFieldState:D.resetFieldState,setIn:gt,shallowEqual:Nt});return u.formState=_.formState,u.fields=_.fields,u.fieldSubscribers=_.fieldSubscribers,u.lastFormState=_.lastFormState,C(void 0,function(){A(),W()}),q}}},b=a?Object.keys(a).reduce(function(N,O){return N[O]=y(O),N},{}):{},w=function(O){var _=[];if(s){var k=s(M({},u.formState.values));ll(k)?_.push(k.then(function(I){return O(I,!0)})):O(k,!1)}return _},P=function(O){return Object.keys(O.validators).reduce(function(_,k){var I=O.validators[Number(k)]();return I&&_.push(I),_},[])},E=function(O,_){var k=[],I=P(O);if(I.length){var j;I.forEach(function(q){var Q=q(he(u.formState.values,O.name),u.formState.values,q.length===0||q.length===3?Dp(u.formState,u.fields[O.name]):void 0);if(Q&&ll(Q)){O.validating=!0;var ne=Q.then(function(ie){u.fields[O.name]&&(u.fields[O.name].validating=!1,_(ie))});k.push(ne)}else j||(j=Q)}),_(j)}return k},C=function(O,_){if(c){d=!0,_();return}var k=u.fields,I=u.formState,j=M({},k),q=Object.keys(j);if(!s&&!q.some(function(dn){return P(j[dn]).length})){_();return}var Q=!1;if(O){var ne=j[O];if(ne){var ie=ne.validateFields;ie&&(Q=!0,q=ie.length?ie.concat(O):[O])}}var be={},Fe={},ot={},Pt=[].concat(w(function(dn,$n){$n?Fe=dn||{}:be=dn||{}}),q.reduce(function(dn,$n){return dn.concat(E(k[$n],function(Tt){ot[$n]=Tt}))},[])),xe=Pt.length>0,_e=++g,cr=Promise.all(Pt).then(S(_e));xe&&(v[_e]=cr);var qf=function($n){var Tt=M({},Q?I.errors:{},be,$n?Fe:I.asyncErrors),Yf=function(Un){q.forEach(function(pn){if(k[pn]){var Zr=he(be,pn),vy=he(Tt,pn),gy=P(j[pn]).length,yy=ot[pn];Un(pn,gy&&yy||s&&Zr||(!Zr&&!Q?vy:void 0))}})};Yf(function(Jr,Un){Tt=gt(Tt,Jr,Un)||{}}),Yf(function(Jr,Un){if(Un&&Un[xi]){var pn=he(Tt,Jr),Zr=[].concat(pn);Zr[xi]=Un[xi],Tt=gt(Tt,Jr,Zr)}}),Nt(I.errors,Tt)||(I.errors=Tt),$n&&(I.asyncErrors=Fe),I.error=be[Vp]};if(xe&&(u.formState.validating++,_()),qf(!1),_(),xe){var Wf=function(){u.formState.validating--,_(),u.formState.validating===0&&u.lastFormState.validating&&W()};cr.then(function(){g>_e||qf(!0)}).then(Wf,Wf)}},A=function(O){if(!f){var _=u.fields,k=u.fieldSubscribers,I=u.formState,j=M({},_),q=function(ne){var ie=j[ne],be=Dp(I,ie),Fe=ie.lastFieldState;ie.lastFieldState=be;var ot=k[ne];ot&&Up(ot,be,Fe,OP,Fe===void 0)};O?q(O):Object.keys(j).forEach(q)}},L=function(){Object.keys(u.fields).forEach(function(O){u.fields[O].touched=!0})},Y=function(){return!!(u.formState.error||_r(u.formState.errors))},G=function(){var O=u.fields,_=u.formState,k=u.lastFormState,I=M({},O),j=Object.keys(I),q=!1,Q=j.reduce(function(xe,_e){var cr=!I[_e].isEqual(he(_.values,_e),he(_.initialValues||{},_e));return cr&&(q=!0,xe[_e]=!0),xe},{}),ne=j.reduce(function(xe,_e){var cr=_.lastSubmittedValues||{};return I[_e].isEqual(he(_.values,_e),he(cr,_e))||(xe[_e]=!0),xe},{});_.pristine=!q,_.dirtySinceLastSubmit=!!(_.lastSubmittedValues&&Object.values(ne).some(function(xe){return xe})),_.modifiedSinceLastSubmit=!!(_.lastSubmittedValues&&Object.keys(I).some(function(xe){return I[xe].modifiedSinceLastSubmit})),_.valid=!_.error&&!_.submitError&&!_r(_.errors)&&!(_.submitErrors&&_r(_.submitErrors));var ie=CP(_),be=j.reduce(function(xe,_e){return xe.modified[_e]=I[_e].modified,xe.touched[_e]=I[_e].touched,xe.visited[_e]=I[_e].visited,xe},{modified:{},touched:{},visited:{}}),Fe=be.modified,ot=be.touched,Pt=be.visited;return ie.dirtyFields=k&&Nt(k.dirtyFields,Q)?k.dirtyFields:Q,ie.dirtyFieldsSinceLastSubmit=k&&Nt(k.dirtyFieldsSinceLastSubmit,ne)?k.dirtyFieldsSinceLastSubmit:ne,ie.modified=k&&Nt(k.modified,Fe)?k.modified:Fe,ie.touched=k&&Nt(k.touched,ot)?k.touched:ot,ie.visited=k&&Nt(k.visited,Pt)?k.visited:Pt,k&&Nt(k,ie)?k:ie},K=function(){return t&&!0&&t(G(),Object.keys(u.fields).reduce(function(O,_){return O[_]=u.fields[_],O},{}))},U=!1,te=!1,W=function N(){if(U)te=!0;else{if(U=!0,K(),!f&&!(c&&m)){var O=u.lastFormState,_=G();_!==O&&(u.lastFormState=_,Up(u.subscribers,_,O,zp))}U=!1,te&&(te=!1,N())}},Pe=function(){return Object.keys(u.fields).some(function(O){return u.fields[O].beforeSubmit&&u.fields[O].beforeSubmit()===!1})},T=function(){return Object.keys(u.fields).forEach(function(O){return u.fields[O].afterSubmit&&u.fields[O].afterSubmit()})},z=function(){return Object.keys(u.fields).forEach(function(O){return u.fields[O].modifiedSinceLastSubmit=!1})};C(void 0,function(){W()});var D={batch:function(O){f++,O(),f--,A(),W()},blur:function(O){var _=u.fields,k=u.formState,I=_[O];I&&(delete k.active,_[O]=M({},I,{active:!1,touched:!0}),l?C(O,function(){A(),W()}):(A(),W()))},change:function(O,_){var k=u.fields,I=u.formState;if(he(I.values,O)!==_){p(u,O,function(){return _});var j=k[O];j&&(k[O]=M({},j,{modified:!0,modifiedSinceLastSubmit:!!I.lastSubmittedValues})),l?(A(),W()):C(O,function(){A(),W()})}},get destroyOnUnregister(){return!!n},set destroyOnUnregister(N){n=N},focus:function(O){var _=u.fields[O];_&&!_.active&&(u.formState.active=O,_.active=!0,_.visited=!0,A(),W())},mutators:b,getFieldState:function(O){var _=u.fields[O];return _&&_.lastFieldState},getRegisteredFields:function(){return Object.keys(u.fields)},getState:function(){return G()},initialize:function(O){var _=u.fields,k=u.formState,I=M({},_),j=typeof O=="function"?O(k.values):O;r||(k.values=j);var q=r?Object.keys(I).reduce(function(Q,ne){var ie=I[ne],be=ie.isEqual(he(k.values,ne),he(k.initialValues||{},ne));return be||(Q[ne]=he(k.values,ne)),Q},{}):{};k.initialValues=j,k.values=j,Object.keys(q).forEach(function(Q){k.values=gt(k.values,Q,q[Q])||{}}),C(void 0,function(){A(),W()})},isValidationPaused:function(){return c},pauseValidation:function(O){O===void 0&&(O=!0),c=!0,m=O},registerField:function(O,_,k,I){k===void 0&&(k={}),u.fieldSubscribers[O]||(u.fieldSubscribers[O]={index:0,entries:{}});var j=u.fieldSubscribers[O].index++;u.fieldSubscribers[O].entries[j]={subscriber:$p(_),subscription:k,notified:!1};var q=u.fields[O]||{active:!1,afterSubmit:I&&I.afterSubmit,beforeSubmit:I&&I.beforeSubmit,data:I&&I.data||{},isEqual:I&&I.isEqual||PP,lastFieldState:void 0,modified:!1,modifiedSinceLastSubmit:!1,name:O,touched:!1,valid:!0,validateFields:I&&I.validateFields,validators:{},validating:!1,visited:!1};q.blur=q.blur||function(){return D.blur(O)},q.change=q.change||function(Fe){return D.change(O,Fe)},q.focus=q.focus||function(){return D.focus(O)},u.fields[O]=q;var Q=!1,ne=I&&I.silent,ie=function(){ne&&u.fields[O]?A(O):(W(),A())};if(I){Q=!!(I.getValidator&&I.getValidator()),I.getValidator&&(u.fields[O].validators[j]=I.getValidator);var be=he(u.formState.values,O)===void 0;I.initialValue!==void 0&&(be||he(u.formState.values,O)===he(u.formState.initialValues,O))&&(u.formState.initialValues=gt(u.formState.initialValues||{},O,I.initialValue),u.formState.values=gt(u.formState.values,O,I.initialValue),C(void 0,ie)),I.defaultValue!==void 0&&I.initialValue===void 0&&he(u.formState.initialValues,O)===void 0&&be&&(u.formState.values=gt(u.formState.values,O,I.defaultValue))}return Q?C(void 0,ie):ie(),function(){var Fe=!1;u.fields[O]&&(Fe=!!(u.fields[O].validators[j]&&u.fields[O].validators[j]()),delete u.fields[O].validators[j]);var ot=!!u.fieldSubscribers[O];ot&&delete u.fieldSubscribers[O].entries[j];var Pt=ot&&!Object.keys(u.fieldSubscribers[O].entries).length;Pt&&(delete u.fieldSubscribers[O],delete u.fields[O],Fe&&(u.formState.errors=gt(u.formState.errors,O,void 0)||{}),n&&(u.formState.values=gt(u.formState.values,O,void 0,!0)||{})),ne||(Fe?C(void 0,function(){W(),A()}):Pt&&W())}},reset:function(O){O===void 0&&(O=u.formState.initialValues),u.formState.submitting&&(u.formState.resetWhileSubmitting=!0),u.formState.submitFailed=!1,u.formState.submitSucceeded=!1,delete u.formState.submitError,delete u.formState.submitErrors,delete u.formState.lastSubmittedValues,D.initialize(O||{})},resetFieldState:function(O){u.fields[O]=M({},u.fields[O],{active:!1,lastFieldState:void 0,modified:!1,touched:!1,valid:!0,validating:!1,visited:!1}),C(void 0,function(){A(),W()})},restart:function(O){O===void 0&&(O=u.formState.initialValues),D.batch(function(){for(var _ in u.fields)D.resetFieldState(_),u.fields[_]=M({},u.fields[_],{active:!1,lastFieldState:void 0,modified:!1,modifiedSinceLastSubmit:!1,touched:!1,valid:!0,validating:!1,visited:!1});D.reset(O)})},resumeValidation:function(){c=!1,m=!1,d&&C(void 0,function(){A(),W()}),d=!1},setConfig:function(O,_){switch(O){case"debug":t=_;break;case"destroyOnUnregister":n=_;break;case"initialValues":D.initialize(_);break;case"keepDirtyOnReinitialize":r=_;break;case"mutators":a=_,_?(Object.keys(b).forEach(function(k){k in _||delete b[k]}),Object.keys(_).forEach(function(k){b[k]=y(k)})):Object.keys(b).forEach(function(k){delete b[k]});break;case"onSubmit":o=_;break;case"validate":s=_,C(void 0,function(){A(),W()});break;case"validateOnBlur":l=_;break;default:throw new Error("Unrecognised option "+O)}},submit:function(){var O=u.formState;if(!O.submitting){if(delete O.submitErrors,delete O.submitError,O.lastSubmittedValues=M({},O.values),Y()){L(),z(),u.formState.submitFailed=!0,W(),A();return}var _=Object.keys(v);if(_.length){Promise.all(_.map(function(ne){return v[Number(ne)]})).then(D.submit,console.error);return}var k=Pe();if(!k){var I,j=!1,q=function(ie){O.submitting=!1;var be=O.resetWhileSubmitting;return be&&(O.resetWhileSubmitting=!1),ie&&_r(ie)?(O.submitFailed=!0,O.submitSucceeded=!1,O.submitErrors=ie,O.submitError=ie[Vp],L()):(be||(O.submitFailed=!1,O.submitSucceeded=!0),T()),W(),A(),j=!0,I&&I(ie),ie};O.submitting=!0,O.submitFailed=!1,O.submitSucceeded=!1,O.lastSubmittedValues=M({},O.values),z();var Q=o(O.values,D,q);if(!j){if(Q&&ll(Q))return W(),A(),Q.then(q,function(ne){throw q(),ne});if(o.length>=3)return W(),A(),new Promise(function(ne){I=ne});q(Q)}}}},subscribe:function(O,_){if(!O)throw new Error("No callback given.");if(!_)throw new Error("No subscription provided. What values do you want to listen to?");var k=$p(O),I=u.subscribers,j=I.index++;I.entries[j]={subscriber:k,subscription:_,notified:!1};var q=G();return c0(k,_,q,q,zp,!0),function(){delete I.entries[j]}}};return D}var _P=["render","children","component"];function f0(e,t,n){var r=e.render,i=e.children,a=e.component,o=na(e,_P);if(a)return x.createElement(a,Object.assign(t,o,{children:i,render:r}));if(r)return r(i===void 0?Object.assign(t,o):Object.assign(t,o,{children:i}));if(typeof i!="function")throw new Error("Must specify either a render prop, a render function as children, or a component prop to "+n);return i(Object.assign(t,o))}function hn(e,t,n){n===void 0&&(n=function(a,o){return a===o});var r=X.useRef(e);X.useEffect(function(){n(e,r.current)||(t(),r.current=e)})}function AP(e){var t=X.useRef();return t.current||(t.current=e()),t.current}var Bp=function(t,n){if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var r=Object.keys(t),i=Object.keys(n);if(r.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(n),o=0;o<r.length;o++){var s=r[o];if(!a(s)||t[s]!==n[s])return!1}return!0},kP=function(t){return!!(t&&typeof t.stopPropagation=="function")},d0=x.createContext();function p0(e){var t=X.useRef(e);return X.useEffect(function(){t.current=e}),t}var RP="6.5.8",m0=function(t,n,r){r.forEach(function(i){Object.defineProperty(t,i,{get:function(){return n[i]},enumerable:!0})})},FP=function(t,n){return m0(t,n,["active","dirty","dirtyFields","dirtySinceLastSubmit","dirtyFieldsSinceLastSubmit","error","errors","hasSubmitErrors","hasValidationErrors","initialValues","invalid","modified","modifiedSinceLastSubmit","pristine","submitError","submitErrors","submitFailed","submitSucceeded","submitting","touched","valid","validating","values","visited"])},IP=function(t,n){return m0(t,n,["active","data","dirty","dirtySinceLastSubmit","error","initial","invalid","length","modified","modifiedSinceLastSubmit","pristine","submitError","submitFailed","submitSucceeded","submitting","touched","valid","validating","visited"])},TP=["debug","decorators","destroyOnUnregister","form","initialValues","initialValuesEqual","keepDirtyOnReinitialize","mutators","onSubmit","subscription","validate","validateOnBlur"],LP={"final-form":EP,"react-final-form":RP},MP=u0.reduce(function(e,t){return e[t]=!0,e},{});function NP(e){var t=e.debug,n=e.decorators,r=n===void 0?[]:n,i=e.destroyOnUnregister,a=e.form,o=e.initialValues,s=e.initialValuesEqual,l=e.keepDirtyOnReinitialize,u=e.mutators,f=e.onSubmit,c=e.subscription,d=c===void 0?MP:c,m=e.validate,g=e.validateOnBlur,v=na(e,TP),S={debug:t,destroyOnUnregister:i,initialValues:o,keepDirtyOnReinitialize:l,mutators:u,onSubmit:f,validate:m,validateOnBlur:g},p=AP(function(){var C=a||xP(S);return C.pauseValidation(),C}),h=x.useState(function(){var C={};return p.subscribe(function(A){C=A},d)(),C}),y=h[0],b=h[1],w=p0(y);x.useEffect(function(){p.isValidationPaused()&&p.resumeValidation();var C=[p.subscribe(function(A){Bp(A,w.current)||b(A)},d)].concat(r?r.map(function(A){return A(p)}):[]);return function(){p.pauseValidation(),C.reverse().forEach(function(A){return A()})}},r),hn(t,function(){p.setConfig("debug",t)}),hn(i,function(){p.destroyOnUnregister=!!i}),hn(l,function(){p.setConfig("keepDirtyOnReinitialize",l)}),hn(o,function(){p.setConfig("initialValues",o)},s||Bp),hn(u,function(){p.setConfig("mutators",u)}),hn(f,function(){p.setConfig("onSubmit",f)}),hn(m,function(){p.setConfig("validate",m)}),hn(g,function(){p.setConfig("validateOnBlur",g)});var P=function(A){return A&&(typeof A.preventDefault=="function"&&A.preventDefault(),typeof A.stopPropagation=="function"&&A.stopPropagation()),p.submit()},E={form:M({},p,{reset:function(A){kP(A)?p.reset():p.reset(A)}}),handleSubmit:P};return FP(E,y),x.createElement(d0.Provider,{value:p},f0(M({},v,{__versions:LP}),E,"ReactFinalForm"))}function jP(e){var t=x.useContext(d0);if(!t)throw new Error(e+" must be used inside of a <Form> component");return t}var VP=typeof window<"u"&&window.navigator&&window.navigator.product&&window.navigator.product==="ReactNative",DP=function(t){var n=[];if(t)for(var r=0;r<t.length;r++){var i=t[r];i.selected&&n.push(i.value)}return n},zP=function(t,n,r,i){if(!i&&t.nativeEvent&&t.nativeEvent.text!==void 0||i&&t.nativeEvent)return t.nativeEvent.text;var a=t,o=a.target,s=o.type,l=o.value,u=o.checked;switch(s){case"checkbox":if(r!==void 0){if(u)return Array.isArray(n)?n.concat(r):[r];if(!Array.isArray(n))return n;var f=n.indexOf(r);return f<0?n:n.slice(0,f).concat(n.slice(f+1))}else return!!u;case"select-multiple":return DP(t.target.options);default:return l}};function ul(e){var t=x.useRef(e);return x.useEffect(function(){t.current=e}),x.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.current.apply(null,r)},[])}var $P=s0.reduce(function(e,t){return e[t]=!0,e},{}),cl=function(t,n){return t===void 0?"":t},UP=function(t,n){return t===""?void 0:t},BP=function(t,n){return t===n};function HP(e,t){t===void 0&&(t={});var n=t,r=n.afterSubmit,i=n.allowNull,a=n.component,o=n.data,s=n.defaultValue,l=n.format,u=l===void 0?cl:l,f=n.formatOnBlur,c=n.initialValue,d=n.multiple,m=n.parse,g=m===void 0?UP:m,v=n.subscription,S=v===void 0?$P:v,p=n.type,h=n.validateFields,y=n.value,b=jP("useField"),w=p0(t),P=function(te,W){return b.registerField(e,te,S,{afterSubmit:r,beforeSubmit:function(){var T=w.current,z=T.beforeSubmit,D=T.formatOnBlur,N=T.format,O=N===void 0?cl:N;if(D){var _=b.getFieldState(e),k=_.value,I=O(k,e);I!==k&&b.change(e,I)}return z&&z()},data:o,defaultValue:s,getValidator:function(){return w.current.validate},initialValue:c,isEqual:function(T,z){return(w.current.isEqual||BP)(T,z)},silent:W,validateFields:h})},E=x.useRef(!0),C=x.useState(function(){var U={},te=b.destroyOnUnregister;return b.destroyOnUnregister=!1,P(function(W){U=W},!0)(),b.destroyOnUnregister=te,U}),A=C[0],L=C[1];x.useEffect(function(){return P(function(U){E.current?E.current=!1:L(U)},!1)},[e,o,s,c]);var Y={};IP(Y,A);var G={name:e,get value(){var U=A.value;return f?a==="input"&&(U=cl(U)):U=u(U,e),U===null&&!i&&(U=""),p==="checkbox"||p==="radio"?y:a==="select"&&d?U||[]:U},get checked(){var U=A.value;if(p==="checkbox")return U=u(U,e),y===void 0?!!U:!!(Array.isArray(U)&&~U.indexOf(y));if(p==="radio")return u(U,e)===y},onBlur:ul(function(U){if(A.blur(),f){var te=b.getFieldState(A.name);A.change(u(te.value,A.name))}}),onChange:ul(function(U){var te=U&&U.target?zP(U,A.value,y,VP):U;A.change(g(te,e))}),onFocus:ul(function(U){return A.focus()})};d&&(G.multiple=d),p!==void 0&&(G.type=p);var K={input:G,meta:Y};return K}var qP=["afterSubmit","allowNull","beforeSubmit","children","component","data","defaultValue","format","formatOnBlur","initialValue","isEqual","multiple","name","parse","subscription","type","validate","validateFields","value"],WP=x.forwardRef(function(t,n){var r=t.afterSubmit,i=t.allowNull,a=t.beforeSubmit,o=t.children,s=t.component,l=t.data,u=t.defaultValue,f=t.format,c=t.formatOnBlur,d=t.initialValue,m=t.isEqual,g=t.multiple,v=t.name,S=t.parse,p=t.subscription,h=t.type,y=t.validate,b=t.validateFields,w=t.value,P=na(t,qP),E=HP(v,{afterSubmit:r,allowNull:i,beforeSubmit:a,children:o,component:s,data:l,defaultValue:u,format:f,formatOnBlur:c,initialValue:d,isEqual:m,multiple:g,parse:S,subscription:p,type:h,validate:y,validateFields:b,value:w});if(typeof o=="function")return o(M({},E,P));if(typeof s=="string")return x.createElement(s,M({},E.input,{children:o,ref:n},P));if(!v)throw new Error("prop name cannot be undefined in <Field> component");return f0(M({children:o,component:s,ref:n},P),E,"Field("+v+")")});const YP="_search_l313b_1",GP="_searchFirstRow_l313b_5",KP="_searchSecondRow_l313b_11",QP="_searchFilter_l313b_15",XP="_searchFilterLabel_l313b_21",JP="_search__input_l313b_26",ZP="_container_l313b_31",eC="_imageRequest_l313b_36",tC="_imageRequestPrompt_l313b_47",nC="_imageRequestMasonry_l313b_53",rC="_imageRequestMasonryLoading_l313b_61",iC="_footer_l313b_65",Je={search:YP,searchFirstRow:GP,searchSecondRow:KP,searchFilter:QP,searchFilterLabel:XP,search__input:JP,container:ZP,imageRequest:eC,imageRequestPrompt:tC,imageRequestMasonry:nC,imageRequestMasonryLoading:rC,footer:iC};function aC({ctx:e}){return Z.jsx(dg,{ctx:e,children:Z.jsx("div",{className:Je.inspector,children:Z.jsx(NP,{initialValues:e.plugin.attributes.parameters,validate:t=>"apiKey"in t&&t.apiKey?{}:{apiKey:"This field is required!"},onSubmit:async t=>{await e.updatePluginParameters(t),e.notice("Settings updated successfully!")},children:({handleSubmit:t,submitting:n,dirty:r})=>Z.jsxs(Kb,{onSubmit:t,children:[Z.jsx(Ub,{children:Z.jsx(WP,{name:"apiKey",children:({input:i,meta:{error:a}})=>Z.jsx(sP,{id:"apiKey",label:"OpenAI API key",placeholder:"sk-.......",hint:Z.jsxs(Z.Fragment,{children:["Please insert your OpenAI API key (it starts with"," ",Z.jsx("code",{children:"sk-"}),"). You can generate it"," ",Z.jsx("a",{href:"https://beta.openai.com/docs/quickstart/add-your-api-key",target:"_blank",rel:"noreferrer",children:"from here"}),"."]}),required:!0,error:a,...i})})}),Z.jsx(ug,{type:"submit",fullWidth:!0,buttonSize:"l",buttonType:"primary",disabled:n||!r,children:"Save settings"})]})})})})}/*!
|
|
57
|
-
* Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com
|
|
58
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
59
|
-
* Copyright 2024 Fonticons, Inc.
|
|
60
|
-
*/function oC(e,t,n){return(t=lC(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Hp(Object(n),!0).forEach(function(r){oC(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function sC(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function lC(e){var t=sC(e,"string");return typeof t=="symbol"?t:t+""}const qp=()=>{};let xf={},h0={},v0=null,g0={mark:qp,measure:qp};try{typeof window<"u"&&(xf=window),typeof document<"u"&&(h0=document),typeof MutationObserver<"u"&&(v0=MutationObserver),typeof performance<"u"&&(g0=performance)}catch{}const{userAgent:Wp=""}=xf.navigator||{},Ln=xf,me=h0,Yp=v0,Ia=g0;Ln.document;const fn=!!me.documentElement&&!!me.head&&typeof me.addEventListener=="function"&&typeof me.createElement=="function",y0=~Wp.indexOf("MSIE")||~Wp.indexOf("Trident/");var uC=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,cC=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,S0={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},fC={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},b0=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ye="classic",vs="duotone",dC="sharp",pC="sharp-duotone",O0=[Ye,vs,dC,pC],mC={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},hC={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},vC=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),gC={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},yC=["fak","fa-kit","fakd","fa-kit-duotone"],Gp={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},SC=["kit"],bC={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},OC=["fak","fakd"],wC={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},Kp={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Ta={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},EC=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],PC=["fak","fa-kit","fakd","fa-kit-duotone"],CC={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},xC={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},_C={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Gu={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},AC=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Ku=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...EC,...AC],kC=["solid","regular","light","thin","duotone","brands"],w0=[1,2,3,4,5,6,7,8,9,10],RC=w0.concat([11,12,13,14,15,16,17,18,19,20]),FC=[...Object.keys(_C),...kC,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ta.GROUP,Ta.SWAP_OPACITY,Ta.PRIMARY,Ta.SECONDARY].concat(w0.map(e=>"".concat(e,"x"))).concat(RC.map(e=>"w-".concat(e))),IC={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const on="___FONT_AWESOME___",Qu=16,E0="fa",P0="svg-inline--fa",or="data-fa-i2svg",Xu="data-fa-pseudo-element",TC="data-fa-pseudo-element-pending",_f="data-prefix",Af="data-icon",Qp="fontawesome-i2svg",LC="async",MC=["HTML","HEAD","STYLE","SCRIPT"],C0=(()=>{try{return!0}catch{return!1}})();function ia(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[Ye]}})}const x0=R({},S0);x0[Ye]=R(R(R(R({},{"fa-duotone":"duotone"}),S0[Ye]),Gp.kit),Gp["kit-duotone"]);const NC=ia(x0),Ju=R({},gC);Ju[Ye]=R(R(R(R({},{duotone:"fad"}),Ju[Ye]),Kp.kit),Kp["kit-duotone"]);const Xp=ia(Ju),Zu=R({},Gu);Zu[Ye]=R(R({},Zu[Ye]),wC.kit);const kf=ia(Zu),ec=R({},xC);ec[Ye]=R(R({},ec[Ye]),bC.kit);ia(ec);const jC=uC,_0="fa-layers-text",VC=cC,DC=R({},mC);ia(DC);const zC=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],fl=fC,$C=[...SC,...FC],_i=Ln.FontAwesomeConfig||{};function UC(e){var t=me.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function BC(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}me&&typeof me.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,r]=t;const i=BC(UC(n));i!=null&&(_i[r]=i)});const A0={styleDefault:"solid",familyDefault:Ye,cssPrefix:E0,replacementClass:P0,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};_i.familyPrefix&&(_i.cssPrefix=_i.familyPrefix);const Wr=R(R({},A0),_i);Wr.autoReplaceSvg||(Wr.observeMutations=!1);const $={};Object.keys(A0).forEach(e=>{Object.defineProperty($,e,{enumerable:!0,set:function(t){Wr[e]=t,Ai.forEach(n=>n($))},get:function(){return Wr[e]}})});Object.defineProperty($,"familyPrefix",{enumerable:!0,set:function(e){Wr.cssPrefix=e,Ai.forEach(t=>t($))},get:function(){return Wr.cssPrefix}});Ln.FontAwesomeConfig=$;const Ai=[];function HC(e){return Ai.push(e),()=>{Ai.splice(Ai.indexOf(e),1)}}const vn=Qu,$t={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function qC(e){if(!e||!fn)return;const t=me.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=me.head.childNodes;let r=null;for(let i=n.length-1;i>-1;i--){const a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}return me.head.insertBefore(t,r),e}const WC="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ki(){let e=12,t="";for(;e-- >0;)t+=WC[Math.random()*62|0];return t}function Xr(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Rf(e){return e.classList?Xr(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function k0(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function YC(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(k0(e[n]),'" '),"").trim()}function gs(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function Ff(e){return e.size!==$t.size||e.x!==$t.x||e.y!==$t.y||e.rotate!==$t.rotate||e.flipX||e.flipY}function GC(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(a," ").concat(o," ").concat(s)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:u}}function KC(e){let{transform:t,width:n=Qu,height:r=Qu,startCentered:i=!1}=e,a="";return i&&y0?a+="translate(".concat(t.x/vn-n/2,"em, ").concat(t.y/vn-r/2,"em) "):i?a+="translate(calc(-50% + ".concat(t.x/vn,"em), calc(-50% + ").concat(t.y/vn,"em)) "):a+="translate(".concat(t.x/vn,"em, ").concat(t.y/vn,"em) "),a+="scale(".concat(t.size/vn*(t.flipX?-1:1),", ").concat(t.size/vn*(t.flipY?-1:1),") "),a+="rotate(".concat(t.rotate,"deg) "),a}var QC=`:root, :host {
|
|
61
|
-
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|
62
|
-
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
|
|
63
|
-
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
|
|
64
|
-
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
|
|
65
|
-
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
|
66
|
-
--fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
|
|
67
|
-
--fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
|
|
68
|
-
--fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
|
|
69
|
-
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
|
70
|
-
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
|
|
71
|
-
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
|
|
72
|
-
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
|
|
73
|
-
--fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
|
|
74
|
-
--fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
75
|
-
--fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
76
|
-
--fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
77
|
-
--fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
81
|
-
overflow: visible;
|
|
82
|
-
box-sizing: content-box;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.svg-inline--fa {
|
|
86
|
-
display: var(--fa-display, inline-block);
|
|
87
|
-
height: 1em;
|
|
88
|
-
overflow: visible;
|
|
89
|
-
vertical-align: -0.125em;
|
|
90
|
-
}
|
|
91
|
-
.svg-inline--fa.fa-2xs {
|
|
92
|
-
vertical-align: 0.1em;
|
|
93
|
-
}
|
|
94
|
-
.svg-inline--fa.fa-xs {
|
|
95
|
-
vertical-align: 0em;
|
|
96
|
-
}
|
|
97
|
-
.svg-inline--fa.fa-sm {
|
|
98
|
-
vertical-align: -0.0714285705em;
|
|
99
|
-
}
|
|
100
|
-
.svg-inline--fa.fa-lg {
|
|
101
|
-
vertical-align: -0.2em;
|
|
102
|
-
}
|
|
103
|
-
.svg-inline--fa.fa-xl {
|
|
104
|
-
vertical-align: -0.25em;
|
|
105
|
-
}
|
|
106
|
-
.svg-inline--fa.fa-2xl {
|
|
107
|
-
vertical-align: -0.3125em;
|
|
108
|
-
}
|
|
109
|
-
.svg-inline--fa.fa-pull-left {
|
|
110
|
-
margin-right: var(--fa-pull-margin, 0.3em);
|
|
111
|
-
width: auto;
|
|
112
|
-
}
|
|
113
|
-
.svg-inline--fa.fa-pull-right {
|
|
114
|
-
margin-left: var(--fa-pull-margin, 0.3em);
|
|
115
|
-
width: auto;
|
|
116
|
-
}
|
|
117
|
-
.svg-inline--fa.fa-li {
|
|
118
|
-
width: var(--fa-li-width, 2em);
|
|
119
|
-
top: 0.25em;
|
|
120
|
-
}
|
|
121
|
-
.svg-inline--fa.fa-fw {
|
|
122
|
-
width: var(--fa-fw-width, 1.25em);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.fa-layers svg.svg-inline--fa {
|
|
126
|
-
bottom: 0;
|
|
127
|
-
left: 0;
|
|
128
|
-
margin: auto;
|
|
129
|
-
position: absolute;
|
|
130
|
-
right: 0;
|
|
131
|
-
top: 0;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.fa-layers-counter, .fa-layers-text {
|
|
135
|
-
display: inline-block;
|
|
136
|
-
position: absolute;
|
|
137
|
-
text-align: center;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.fa-layers {
|
|
141
|
-
display: inline-block;
|
|
142
|
-
height: 1em;
|
|
143
|
-
position: relative;
|
|
144
|
-
text-align: center;
|
|
145
|
-
vertical-align: -0.125em;
|
|
146
|
-
width: 1em;
|
|
147
|
-
}
|
|
148
|
-
.fa-layers svg.svg-inline--fa {
|
|
149
|
-
transform-origin: center center;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.fa-layers-text {
|
|
153
|
-
left: 50%;
|
|
154
|
-
top: 50%;
|
|
155
|
-
transform: translate(-50%, -50%);
|
|
156
|
-
transform-origin: center center;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.fa-layers-counter {
|
|
160
|
-
background-color: var(--fa-counter-background-color, #ff253a);
|
|
161
|
-
border-radius: var(--fa-counter-border-radius, 1em);
|
|
162
|
-
box-sizing: border-box;
|
|
163
|
-
color: var(--fa-inverse, #fff);
|
|
164
|
-
line-height: var(--fa-counter-line-height, 1);
|
|
165
|
-
max-width: var(--fa-counter-max-width, 5em);
|
|
166
|
-
min-width: var(--fa-counter-min-width, 1.5em);
|
|
167
|
-
overflow: hidden;
|
|
168
|
-
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
169
|
-
right: var(--fa-right, 0);
|
|
170
|
-
text-overflow: ellipsis;
|
|
171
|
-
top: var(--fa-top, 0);
|
|
172
|
-
transform: scale(var(--fa-counter-scale, 0.25));
|
|
173
|
-
transform-origin: top right;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.fa-layers-bottom-right {
|
|
177
|
-
bottom: var(--fa-bottom, 0);
|
|
178
|
-
right: var(--fa-right, 0);
|
|
179
|
-
top: auto;
|
|
180
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
181
|
-
transform-origin: bottom right;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.fa-layers-bottom-left {
|
|
185
|
-
bottom: var(--fa-bottom, 0);
|
|
186
|
-
left: var(--fa-left, 0);
|
|
187
|
-
right: auto;
|
|
188
|
-
top: auto;
|
|
189
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
190
|
-
transform-origin: bottom left;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.fa-layers-top-right {
|
|
194
|
-
top: var(--fa-top, 0);
|
|
195
|
-
right: var(--fa-right, 0);
|
|
196
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
197
|
-
transform-origin: top right;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.fa-layers-top-left {
|
|
201
|
-
left: var(--fa-left, 0);
|
|
202
|
-
right: auto;
|
|
203
|
-
top: var(--fa-top, 0);
|
|
204
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
205
|
-
transform-origin: top left;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.fa-1x {
|
|
209
|
-
font-size: 1em;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.fa-2x {
|
|
213
|
-
font-size: 2em;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.fa-3x {
|
|
217
|
-
font-size: 3em;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.fa-4x {
|
|
221
|
-
font-size: 4em;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.fa-5x {
|
|
225
|
-
font-size: 5em;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.fa-6x {
|
|
229
|
-
font-size: 6em;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.fa-7x {
|
|
233
|
-
font-size: 7em;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.fa-8x {
|
|
237
|
-
font-size: 8em;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.fa-9x {
|
|
241
|
-
font-size: 9em;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.fa-10x {
|
|
245
|
-
font-size: 10em;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.fa-2xs {
|
|
249
|
-
font-size: 0.625em;
|
|
250
|
-
line-height: 0.1em;
|
|
251
|
-
vertical-align: 0.225em;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.fa-xs {
|
|
255
|
-
font-size: 0.75em;
|
|
256
|
-
line-height: 0.0833333337em;
|
|
257
|
-
vertical-align: 0.125em;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.fa-sm {
|
|
261
|
-
font-size: 0.875em;
|
|
262
|
-
line-height: 0.0714285718em;
|
|
263
|
-
vertical-align: 0.0535714295em;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.fa-lg {
|
|
267
|
-
font-size: 1.25em;
|
|
268
|
-
line-height: 0.05em;
|
|
269
|
-
vertical-align: -0.075em;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.fa-xl {
|
|
273
|
-
font-size: 1.5em;
|
|
274
|
-
line-height: 0.0416666682em;
|
|
275
|
-
vertical-align: -0.125em;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.fa-2xl {
|
|
279
|
-
font-size: 2em;
|
|
280
|
-
line-height: 0.03125em;
|
|
281
|
-
vertical-align: -0.1875em;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.fa-fw {
|
|
285
|
-
text-align: center;
|
|
286
|
-
width: 1.25em;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.fa-ul {
|
|
290
|
-
list-style-type: none;
|
|
291
|
-
margin-left: var(--fa-li-margin, 2.5em);
|
|
292
|
-
padding-left: 0;
|
|
293
|
-
}
|
|
294
|
-
.fa-ul > li {
|
|
295
|
-
position: relative;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.fa-li {
|
|
299
|
-
left: calc(-1 * var(--fa-li-width, 2em));
|
|
300
|
-
position: absolute;
|
|
301
|
-
text-align: center;
|
|
302
|
-
width: var(--fa-li-width, 2em);
|
|
303
|
-
line-height: inherit;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.fa-border {
|
|
307
|
-
border-color: var(--fa-border-color, #eee);
|
|
308
|
-
border-radius: var(--fa-border-radius, 0.1em);
|
|
309
|
-
border-style: var(--fa-border-style, solid);
|
|
310
|
-
border-width: var(--fa-border-width, 0.08em);
|
|
311
|
-
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.fa-pull-left {
|
|
315
|
-
float: left;
|
|
316
|
-
margin-right: var(--fa-pull-margin, 0.3em);
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.fa-pull-right {
|
|
320
|
-
float: right;
|
|
321
|
-
margin-left: var(--fa-pull-margin, 0.3em);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.fa-beat {
|
|
325
|
-
animation-name: fa-beat;
|
|
326
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
327
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
328
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
329
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
330
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.fa-bounce {
|
|
334
|
-
animation-name: fa-bounce;
|
|
335
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
336
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
337
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
338
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
339
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.fa-fade {
|
|
343
|
-
animation-name: fa-fade;
|
|
344
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
345
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
346
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
347
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
348
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
.fa-beat-fade {
|
|
352
|
-
animation-name: fa-beat-fade;
|
|
353
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
354
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
355
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
356
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
357
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.fa-flip {
|
|
361
|
-
animation-name: fa-flip;
|
|
362
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
363
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
364
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
365
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
366
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.fa-shake {
|
|
370
|
-
animation-name: fa-shake;
|
|
371
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
372
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
373
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
374
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
375
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.fa-spin {
|
|
379
|
-
animation-name: fa-spin;
|
|
380
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
381
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
382
|
-
animation-duration: var(--fa-animation-duration, 2s);
|
|
383
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
384
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
.fa-spin-reverse {
|
|
388
|
-
--fa-animation-direction: reverse;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.fa-pulse,
|
|
392
|
-
.fa-spin-pulse {
|
|
393
|
-
animation-name: fa-spin;
|
|
394
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
395
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
396
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
397
|
-
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
@media (prefers-reduced-motion: reduce) {
|
|
401
|
-
.fa-beat,
|
|
402
|
-
.fa-bounce,
|
|
403
|
-
.fa-fade,
|
|
404
|
-
.fa-beat-fade,
|
|
405
|
-
.fa-flip,
|
|
406
|
-
.fa-pulse,
|
|
407
|
-
.fa-shake,
|
|
408
|
-
.fa-spin,
|
|
409
|
-
.fa-spin-pulse {
|
|
410
|
-
animation-delay: -1ms;
|
|
411
|
-
animation-duration: 1ms;
|
|
412
|
-
animation-iteration-count: 1;
|
|
413
|
-
transition-delay: 0s;
|
|
414
|
-
transition-duration: 0s;
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
@keyframes fa-beat {
|
|
418
|
-
0%, 90% {
|
|
419
|
-
transform: scale(1);
|
|
420
|
-
}
|
|
421
|
-
45% {
|
|
422
|
-
transform: scale(var(--fa-beat-scale, 1.25));
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
@keyframes fa-bounce {
|
|
426
|
-
0% {
|
|
427
|
-
transform: scale(1, 1) translateY(0);
|
|
428
|
-
}
|
|
429
|
-
10% {
|
|
430
|
-
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
431
|
-
}
|
|
432
|
-
30% {
|
|
433
|
-
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
434
|
-
}
|
|
435
|
-
50% {
|
|
436
|
-
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
437
|
-
}
|
|
438
|
-
57% {
|
|
439
|
-
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
440
|
-
}
|
|
441
|
-
64% {
|
|
442
|
-
transform: scale(1, 1) translateY(0);
|
|
443
|
-
}
|
|
444
|
-
100% {
|
|
445
|
-
transform: scale(1, 1) translateY(0);
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
@keyframes fa-fade {
|
|
449
|
-
50% {
|
|
450
|
-
opacity: var(--fa-fade-opacity, 0.4);
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
@keyframes fa-beat-fade {
|
|
454
|
-
0%, 100% {
|
|
455
|
-
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
456
|
-
transform: scale(1);
|
|
457
|
-
}
|
|
458
|
-
50% {
|
|
459
|
-
opacity: 1;
|
|
460
|
-
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
@keyframes fa-flip {
|
|
464
|
-
50% {
|
|
465
|
-
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
@keyframes fa-shake {
|
|
469
|
-
0% {
|
|
470
|
-
transform: rotate(-15deg);
|
|
471
|
-
}
|
|
472
|
-
4% {
|
|
473
|
-
transform: rotate(15deg);
|
|
474
|
-
}
|
|
475
|
-
8%, 24% {
|
|
476
|
-
transform: rotate(-18deg);
|
|
477
|
-
}
|
|
478
|
-
12%, 28% {
|
|
479
|
-
transform: rotate(18deg);
|
|
480
|
-
}
|
|
481
|
-
16% {
|
|
482
|
-
transform: rotate(-22deg);
|
|
483
|
-
}
|
|
484
|
-
20% {
|
|
485
|
-
transform: rotate(22deg);
|
|
486
|
-
}
|
|
487
|
-
32% {
|
|
488
|
-
transform: rotate(-12deg);
|
|
489
|
-
}
|
|
490
|
-
36% {
|
|
491
|
-
transform: rotate(12deg);
|
|
492
|
-
}
|
|
493
|
-
40%, 100% {
|
|
494
|
-
transform: rotate(0deg);
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
@keyframes fa-spin {
|
|
498
|
-
0% {
|
|
499
|
-
transform: rotate(0deg);
|
|
500
|
-
}
|
|
501
|
-
100% {
|
|
502
|
-
transform: rotate(360deg);
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
.fa-rotate-90 {
|
|
506
|
-
transform: rotate(90deg);
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
.fa-rotate-180 {
|
|
510
|
-
transform: rotate(180deg);
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.fa-rotate-270 {
|
|
514
|
-
transform: rotate(270deg);
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
.fa-flip-horizontal {
|
|
518
|
-
transform: scale(-1, 1);
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
.fa-flip-vertical {
|
|
522
|
-
transform: scale(1, -1);
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
.fa-flip-both,
|
|
526
|
-
.fa-flip-horizontal.fa-flip-vertical {
|
|
527
|
-
transform: scale(-1, -1);
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
.fa-rotate-by {
|
|
531
|
-
transform: rotate(var(--fa-rotate-angle, 0));
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
.fa-stack {
|
|
535
|
-
display: inline-block;
|
|
536
|
-
vertical-align: middle;
|
|
537
|
-
height: 2em;
|
|
538
|
-
position: relative;
|
|
539
|
-
width: 2.5em;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
.fa-stack-1x,
|
|
543
|
-
.fa-stack-2x {
|
|
544
|
-
bottom: 0;
|
|
545
|
-
left: 0;
|
|
546
|
-
margin: auto;
|
|
547
|
-
position: absolute;
|
|
548
|
-
right: 0;
|
|
549
|
-
top: 0;
|
|
550
|
-
z-index: var(--fa-stack-z-index, auto);
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.svg-inline--fa.fa-stack-1x {
|
|
554
|
-
height: 1em;
|
|
555
|
-
width: 1.25em;
|
|
556
|
-
}
|
|
557
|
-
.svg-inline--fa.fa-stack-2x {
|
|
558
|
-
height: 2em;
|
|
559
|
-
width: 2.5em;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
.fa-inverse {
|
|
563
|
-
color: var(--fa-inverse, #fff);
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
.sr-only,
|
|
567
|
-
.fa-sr-only {
|
|
568
|
-
position: absolute;
|
|
569
|
-
width: 1px;
|
|
570
|
-
height: 1px;
|
|
571
|
-
padding: 0;
|
|
572
|
-
margin: -1px;
|
|
573
|
-
overflow: hidden;
|
|
574
|
-
clip: rect(0, 0, 0, 0);
|
|
575
|
-
white-space: nowrap;
|
|
576
|
-
border-width: 0;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.sr-only-focusable:not(:focus),
|
|
580
|
-
.fa-sr-only-focusable:not(:focus) {
|
|
581
|
-
position: absolute;
|
|
582
|
-
width: 1px;
|
|
583
|
-
height: 1px;
|
|
584
|
-
padding: 0;
|
|
585
|
-
margin: -1px;
|
|
586
|
-
overflow: hidden;
|
|
587
|
-
clip: rect(0, 0, 0, 0);
|
|
588
|
-
white-space: nowrap;
|
|
589
|
-
border-width: 0;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
.svg-inline--fa .fa-primary {
|
|
593
|
-
fill: var(--fa-primary-color, currentColor);
|
|
594
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
.svg-inline--fa .fa-secondary {
|
|
598
|
-
fill: var(--fa-secondary-color, currentColor);
|
|
599
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
603
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
607
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
.svg-inline--fa mask .fa-primary,
|
|
611
|
-
.svg-inline--fa mask .fa-secondary {
|
|
612
|
-
fill: black;
|
|
613
|
-
}`;function R0(){const e=E0,t=P0,n=$.cssPrefix,r=$.replacementClass;let i=QC;if(n!==e||r!==t){const a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(s,".".concat(r))}return i}let Jp=!1;function dl(){$.autoAddCss&&!Jp&&(qC(R0()),Jp=!0)}var XC={mixout(){return{dom:{css:R0,insertCss:dl}}},hooks(){return{beforeDOMElementCreation(){dl()},beforeI2svg(){dl()}}}};const sn=Ln||{};sn[on]||(sn[on]={});sn[on].styles||(sn[on].styles={});sn[on].hooks||(sn[on].hooks={});sn[on].shims||(sn[on].shims=[]);var Ut=sn[on];const F0=[],I0=function(){me.removeEventListener("DOMContentLoaded",I0),Mo=1,F0.map(e=>e())};let Mo=!1;fn&&(Mo=(me.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(me.readyState),Mo||me.addEventListener("DOMContentLoaded",I0));function JC(e){fn&&(Mo?setTimeout(e,0):F0.push(e))}function aa(e){const{tag:t,attributes:n={},children:r=[]}=e;return typeof e=="string"?k0(e):"<".concat(t," ").concat(YC(n),">").concat(r.map(aa).join(""),"</").concat(t,">")}function Zp(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var pl=function(t,n,r,i){var a=Object.keys(t),o=a.length,s=n,l,u,f;for(r===void 0?(l=1,f=t[a[0]]):(l=0,f=r);l<o;l++)u=a[l],f=s(f,t[u],u,t);return f};function ZC(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const a=e.charCodeAt(n++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}function tc(e){const t=ZC(e);return t.length===1?t[0].toString(16):null}function ex(e,t){const n=e.length;let r=e.charCodeAt(t),i;return r>=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function em(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function nc(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:r=!1}=n,i=em(t);typeof Ut.hooks.addPack=="function"&&!r?Ut.hooks.addPack(e,em(t)):Ut.styles[e]=R(R({},Ut.styles[e]||{}),i),e==="fas"&&nc("fa",t)}const{styles:Qi,shims:tx}=Ut,T0=Object.keys(kf),nx=T0.reduce((e,t)=>(e[t]=Object.keys(kf[t]),e),{});let If=null,L0={},M0={},N0={},j0={},V0={};function rx(e){return~$C.indexOf(e)}function ix(e,t){const n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!rx(i)?i:null}const D0=()=>{const e=r=>pl(Qi,(i,a,o)=>(i[o]=pl(a,r,{}),i),{});L0=e((r,i,a)=>(i[3]&&(r[i[3]]=a),i[2]&&i[2].filter(s=>typeof s=="number").forEach(s=>{r[s.toString(16)]=a}),r)),M0=e((r,i,a)=>(r[a]=a,i[2]&&i[2].filter(s=>typeof s=="string").forEach(s=>{r[s]=a}),r)),V0=e((r,i,a)=>{const o=i[2];return r[a]=a,o.forEach(s=>{r[s]=a}),r});const t="far"in Qi||$.autoFetchSvg,n=pl(tx,(r,i)=>{const a=i[0];let o=i[1];const s=i[2];return o==="far"&&!t&&(o="fas"),typeof a=="string"&&(r.names[a]={prefix:o,iconName:s}),typeof a=="number"&&(r.unicodes[a.toString(16)]={prefix:o,iconName:s}),r},{names:{},unicodes:{}});N0=n.names,j0=n.unicodes,If=ys($.styleDefault,{family:$.familyDefault})};HC(e=>{If=ys(e.styleDefault,{family:$.familyDefault})});D0();function Tf(e,t){return(L0[e]||{})[t]}function ax(e,t){return(M0[e]||{})[t]}function Qn(e,t){return(V0[e]||{})[t]}function z0(e){return N0[e]||{prefix:null,iconName:null}}function ox(e){const t=j0[e],n=Tf("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Mn(){return If}const $0=()=>({prefix:null,iconName:null,rest:[]});function sx(e){let t=Ye;const n=T0.reduce((r,i)=>(r[i]="".concat($.cssPrefix,"-").concat(i),r),{});return O0.forEach(r=>{(e.includes(n[r])||e.some(i=>nx[r].includes(i)))&&(t=r)}),t}function ys(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=Ye}=t,r=NC[n][e];if(n===vs&&!e)return"fad";const i=Xp[n][e]||Xp[n][r],a=e in Ut.styles?e:null;return i||a||null}function lx(e){let t=[],n=null;return e.forEach(r=>{const i=ix($.cssPrefix,r);i?n=i:r&&t.push(r)}),{iconName:n,rest:t}}function tm(e){return e.sort().filter((t,n,r)=>r.indexOf(t)===n)}function Ss(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t;let r=null;const i=Ku.concat(PC),a=tm(e.filter(c=>i.includes(c))),o=tm(e.filter(c=>!Ku.includes(c))),s=a.filter(c=>(r=c,!b0.includes(c))),[l=null]=s,u=sx(a),f=R(R({},lx(o)),{},{prefix:ys(l,{family:u})});return R(R(R({},f),dx({values:e,family:u,styles:Qi,config:$,canonical:f,givenPrefix:r})),ux(n,r,f))}function ux(e,t,n){let{prefix:r,iconName:i}=n;if(e||!r||!i)return{prefix:r,iconName:i};const a=t==="fa"?z0(i):{},o=Qn(r,i);return i=a.iconName||o||i,r=a.prefix||r,r==="far"&&!Qi.far&&Qi.fas&&!$.autoFetchSvg&&(r="fas"),{prefix:r,iconName:i}}const cx=O0.filter(e=>e!==Ye||e!==vs),fx=Object.keys(Gu).filter(e=>e!==Ye).map(e=>Object.keys(Gu[e])).flat();function dx(e){const{values:t,family:n,canonical:r,givenPrefix:i="",styles:a={},config:o={}}=e,s=n===vs,l=t.includes("fa-duotone")||t.includes("fad"),u=o.familyDefault==="duotone",f=r.prefix==="fad"||r.prefix==="fa-duotone";if(!s&&(l||u||f)&&(r.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab"),!r.prefix&&cx.includes(n)&&(Object.keys(a).find(d=>fx.includes(d))||o.autoFetchSvg)){const d=vC.get(n).defaultShortPrefixId;r.prefix=d,r.iconName=Qn(r.prefix,r.iconName)||r.iconName}return(r.prefix==="fa"||i==="fa")&&(r.prefix=Mn()||"fas"),r}class px{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach(a=>{this.definitions[a]=R(R({},this.definitions[a]||{}),i[a]),nc(a,i[a]);const o=kf[Ye][a];o&&nc(o,i[a]),D0()})}reset(){this.definitions={}}_pullDefinitions(t,n){const r=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(r).map(i=>{const{prefix:a,iconName:o,icon:s}=r[i],l=s[2];t[a]||(t[a]={}),l.length>0&&l.forEach(u=>{typeof u=="string"&&(t[a][u]=s)}),t[a][o]=s}),t}}let nm=[],Ar={};const jr={},mx=Object.keys(jr);function hx(e,t){let{mixoutsTo:n}=t;return nm=e,Ar={},Object.keys(jr).forEach(r=>{mx.indexOf(r)===-1&&delete jr[r]}),nm.forEach(r=>{const i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(a=>{typeof i[a]=="function"&&(n[a]=i[a]),typeof i[a]=="object"&&Object.keys(i[a]).forEach(o=>{n[a]||(n[a]={}),n[a][o]=i[a][o]})}),r.hooks){const a=r.hooks();Object.keys(a).forEach(o=>{Ar[o]||(Ar[o]=[]),Ar[o].push(a[o])})}r.provides&&r.provides(jr)}),n}function rc(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return(Ar[e]||[]).forEach(o=>{t=o.apply(null,[t,...r])}),t}function sr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Ar[e]||[]).forEach(a=>{a.apply(null,n)})}function Nn(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return jr[e]?jr[e].apply(null,t):void 0}function ic(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||Mn();if(t)return t=Qn(n,t)||t,Zp(U0.definitions,n,t)||Zp(Ut.styles,n,t)}const U0=new px,vx=()=>{$.autoReplaceSvg=!1,$.observeMutations=!1,sr("noAuto")},gx={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return fn?(sr("beforeI2svg",e),Nn("pseudoElements2svg",e),Nn("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;$.autoReplaceSvg===!1&&($.autoReplaceSvg=!0),$.observeMutations=!0,JC(()=>{Sx({autoReplaceSvgRoot:t}),sr("watch",e)})}},yx={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Qn(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=ys(e[0]);return{prefix:n,iconName:Qn(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat($.cssPrefix,"-"))>-1||e.match(jC))){const t=Ss(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Mn(),iconName:Qn(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=Mn();return{prefix:t,iconName:Qn(t,e)||e}}}},vt={noAuto:vx,config:$,dom:gx,parse:yx,library:U0,findIconDefinition:ic,toHtml:aa},Sx=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=me}=e;(Object.keys(Ut.styles).length>0||$.autoFetchSvg)&&fn&&$.autoReplaceSvg&&vt.dom.i2svg({node:t})};function bs(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(n=>aa(n))}}),Object.defineProperty(e,"node",{get:function(){if(!fn)return;const n=me.createElement("div");return n.innerHTML=e.html,n.children}}),e}function bx(e){let{children:t,main:n,mask:r,attributes:i,styles:a,transform:o}=e;if(Ff(o)&&n.found&&!r.found){const{width:s,height:l}=n,u={x:s/l/2,y:.5};i.style=gs(R(R({},a),{},{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function Ox(e){let{prefix:t,iconName:n,children:r,attributes:i,symbol:a}=e;const o=a===!0?"".concat(t,"-").concat($.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:R(R({},i),{},{id:o}),children:r}]}]}function Lf(e){const{icons:{main:t,mask:n},prefix:r,iconName:i,transform:a,symbol:o,title:s,maskId:l,titleId:u,extra:f,watchable:c=!1}=e,{width:d,height:m}=n.found?n:t,g=OC.includes(r),v=[$.replacementClass,i?"".concat($.cssPrefix,"-").concat(i):""].filter(w=>f.classes.indexOf(w)===-1).filter(w=>w!==""||!!w).concat(f.classes).join(" ");let S={children:[],attributes:R(R({},f.attributes),{},{"data-prefix":r,"data-icon":i,class:v,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(d," ").concat(m)})};const p=g&&!~f.classes.indexOf("fa-fw")?{width:"".concat(d/m*16*.0625,"em")}:{};c&&(S.attributes[or]=""),s&&(S.children.push({tag:"title",attributes:{id:S.attributes["aria-labelledby"]||"title-".concat(u||Ki())},children:[s]}),delete S.attributes.title);const h=R(R({},S),{},{prefix:r,iconName:i,main:t,mask:n,maskId:l,transform:a,symbol:o,styles:R(R({},p),f.styles)}),{children:y,attributes:b}=n.found&&t.found?Nn("generateAbstractMask",h)||{children:[],attributes:{}}:Nn("generateAbstractIcon",h)||{children:[],attributes:{}};return h.children=y,h.attributes=b,o?Ox(h):bx(h)}function rm(e){const{content:t,width:n,height:r,transform:i,title:a,extra:o,watchable:s=!1}=e,l=R(R(R({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});s&&(l[or]="");const u=R({},o.styles);Ff(i)&&(u.transform=KC({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);const f=gs(u);f.length>0&&(l.style=f);const c=[];return c.push({tag:"span",attributes:l,children:[t]}),a&&c.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),c}function wx(e){const{content:t,title:n,extra:r}=e,i=R(R(R({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=gs(r.styles);a.length>0&&(i.style=a);const o=[];return o.push({tag:"span",attributes:i,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}const{styles:ml}=Ut;function ac(e){const t=e[0],n=e[1],[r]=e.slice(4);let i=null;return Array.isArray(r)?i={tag:"g",attributes:{class:"".concat($.cssPrefix,"-").concat(fl.GROUP)},children:[{tag:"path",attributes:{class:"".concat($.cssPrefix,"-").concat(fl.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat($.cssPrefix,"-").concat(fl.PRIMARY),fill:"currentColor",d:r[1]}}]}:i={tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:i}}const Ex={found:!1,width:512,height:512};function Px(e,t){!C0&&!$.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function oc(e,t){let n=t;return t==="fa"&&$.styleDefault!==null&&(t=Mn()),new Promise((r,i)=>{if(n==="fa"){const a=z0(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&ml[t]&&ml[t][e]){const a=ml[t][e];return r(ac(a))}Px(e,t),r(R(R({},Ex),{},{icon:$.showMissingIcons&&e?Nn("missingIconAbstract")||{}:{}}))})}const im=()=>{},sc=$.measurePerformance&&Ia&&Ia.mark&&Ia.measure?Ia:{mark:im,measure:im},vi='FA "6.7.1"',Cx=e=>(sc.mark("".concat(vi," ").concat(e," begins")),()=>B0(e)),B0=e=>{sc.mark("".concat(vi," ").concat(e," ends")),sc.measure("".concat(vi," ").concat(e),"".concat(vi," ").concat(e," begins"),"".concat(vi," ").concat(e," ends"))};var Mf={begin:Cx,end:B0};const Qa=()=>{};function am(e){return typeof(e.getAttribute?e.getAttribute(or):null)=="string"}function xx(e){const t=e.getAttribute?e.getAttribute(_f):null,n=e.getAttribute?e.getAttribute(Af):null;return t&&n}function _x(e){return e&&e.classList&&e.classList.contains&&e.classList.contains($.replacementClass)}function Ax(){return $.autoReplaceSvg===!0?Xa.replace:Xa[$.autoReplaceSvg]||Xa.replace}function kx(e){return me.createElementNS("http://www.w3.org/2000/svg",e)}function Rx(e){return me.createElement(e)}function H0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?kx:Rx}=t;if(typeof e=="string")return me.createTextNode(e);const r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(a){r.setAttribute(a,e.attributes[a])}),(e.children||[]).forEach(function(a){r.appendChild(H0(a,{ceFn:n}))}),r}function Fx(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Xa={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(H0(n),t)}),t.getAttribute(or)===null&&$.keepOriginalSource){let n=me.createComment(Fx(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~Rf(t).indexOf($.replacementClass))return Xa.replace(e);const r=new RegExp("".concat($.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const a=n[0].attributes.class.split(" ").reduce((o,s)=>(s===$.replacementClass||s.match(r)?o.toSvg.push(s):o.toNode.push(s),o),{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",a.toNode.join(" "))}const i=n.map(a=>aa(a)).join(`
|
|
614
|
-
`);t.setAttribute(or,""),t.innerHTML=i}};function om(e){e()}function q0(e,t){const n=typeof t=="function"?t:Qa;if(e.length===0)n();else{let r=om;$.mutateApproach===LC&&(r=Ln.requestAnimationFrame||om),r(()=>{const i=Ax(),a=Mf.begin("mutate");e.map(i),a(),n()})}}let Nf=!1;function W0(){Nf=!0}function lc(){Nf=!1}let No=null;function sm(e){if(!Yp||!$.observeMutations)return;const{treeCallback:t=Qa,nodeCallback:n=Qa,pseudoElementsCallback:r=Qa,observeMutationsRoot:i=me}=e;No=new Yp(a=>{if(Nf)return;const o=Mn();Xr(a).forEach(s=>{if(s.type==="childList"&&s.addedNodes.length>0&&!am(s.addedNodes[0])&&($.searchPseudoElements&&r(s.target),t(s.target)),s.type==="attributes"&&s.target.parentNode&&$.searchPseudoElements&&r(s.target.parentNode),s.type==="attributes"&&am(s.target)&&~zC.indexOf(s.attributeName))if(s.attributeName==="class"&&xx(s.target)){const{prefix:l,iconName:u}=Ss(Rf(s.target));s.target.setAttribute(_f,l||o),u&&s.target.setAttribute(Af,u)}else _x(s.target)&&n(s.target)})}),fn&&No.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Ix(){No&&No.disconnect()}function Tx(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce((r,i)=>{const a=i.split(":"),o=a[0],s=a.slice(1);return o&&s.length>0&&(r[o]=s.join(":").trim()),r},{})),n}function Lx(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"";let i=Ss(Rf(e));return i.prefix||(i.prefix=Mn()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=ax(i.prefix,e.innerText)||Tf(i.prefix,tc(e.innerText))),!i.iconName&&$.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function Mx(e){const t=Xr(e.attributes).reduce((i,a)=>(i.name!=="class"&&i.name!=="style"&&(i[a.name]=a.value),i),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return $.autoA11y&&(n?t["aria-labelledby"]="".concat($.replacementClass,"-title-").concat(r||Ki()):(t["aria-hidden"]="true",t.focusable="false")),t}function Nx(){return{iconName:null,title:null,titleId:null,prefix:null,transform:$t,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function lm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:i}=Lx(e),a=Mx(e),o=rc("parseNodeAttributes",{},e);let s=t.styleParser?Tx(e):[];return R({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:$t,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:s,attributes:a}},o)}const{styles:jx}=Ut;function Y0(e){const t=$.autoReplaceSvg==="nest"?lm(e,{styleParser:!1}):lm(e);return~t.extra.classes.indexOf(_0)?Nn("generateLayersText",e,t):Nn("generateSvgReplacementMutation",e,t)}function Vx(){return[...yC,...Ku]}function um(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!fn)return Promise.resolve();const n=me.documentElement.classList,r=f=>n.add("".concat(Qp,"-").concat(f)),i=f=>n.remove("".concat(Qp,"-").concat(f)),a=$.autoFetchSvg?Vx():b0.concat(Object.keys(jx));a.includes("fa")||a.push("fa");const o=[".".concat(_0,":not([").concat(or,"])")].concat(a.map(f=>".".concat(f,":not([").concat(or,"])"))).join(", ");if(o.length===0)return Promise.resolve();let s=[];try{s=Xr(e.querySelectorAll(o))}catch{}if(s.length>0)r("pending"),i("complete");else return Promise.resolve();const l=Mf.begin("onTree"),u=s.reduce((f,c)=>{try{const d=Y0(c);d&&f.push(d)}catch(d){C0||d.name==="MissingIcon"&&console.error(d)}return f},[]);return new Promise((f,c)=>{Promise.all(u).then(d=>{q0(d,()=>{r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),f()})}).catch(d=>{l(),c(d)})})}function Dx(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Y0(e).then(n=>{n&&q0([n],t)})}function zx(e){return function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=(t||{}).icon?t:ic(t||{});let{mask:i}=n;return i&&(i=(i||{}).icon?i:ic(i||{})),e(r,R(R({},n),{},{mask:i}))}}const $x=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=$t,symbol:r=!1,mask:i=null,maskId:a=null,title:o=null,titleId:s=null,classes:l=[],attributes:u={},styles:f={}}=t;if(!e)return;const{prefix:c,iconName:d,icon:m}=e;return bs(R({type:"icon"},e),()=>(sr("beforeDOMElementCreation",{iconDefinition:e,params:t}),$.autoA11y&&(o?u["aria-labelledby"]="".concat($.replacementClass,"-title-").concat(s||Ki()):(u["aria-hidden"]="true",u.focusable="false")),Lf({icons:{main:ac(m),mask:i?ac(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:c,iconName:d,transform:R(R({},$t),n),symbol:r,title:o,maskId:a,titleId:s,extra:{attributes:u,styles:f,classes:l}})))};var Ux={mixout(){return{icon:zx($x)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=um,e.nodeCallback=Dx,e}}},provides(e){e.i2svg=function(t){const{node:n=me,callback:r=()=>{}}=t;return um(n,r)},e.generateSvgReplacementMutation=function(t,n){const{iconName:r,title:i,titleId:a,prefix:o,transform:s,symbol:l,mask:u,maskId:f,extra:c}=n;return new Promise((d,m)=>{Promise.all([oc(r,o),u.iconName?oc(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(g=>{let[v,S]=g;d([t,Lf({icons:{main:v,mask:S},prefix:o,iconName:r,transform:s,symbol:l,maskId:f,title:i,titleId:a,extra:c,watchable:!0})])}).catch(m)})},e.generateAbstractIcon=function(t){let{children:n,attributes:r,main:i,transform:a,styles:o}=t;const s=gs(o);s.length>0&&(r.style=s);let l;return Ff(a)&&(l=Nn("generateAbstractTransformGrouping",{main:i,transform:a,containerWidth:i.width,iconWidth:i.width})),n.push(l||i.icon),{children:n,attributes:r}}}},Bx={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:n=[]}=t;return bs({type:"layer"},()=>{sr("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e(i=>{Array.isArray(i)?i.map(a=>{r=r.concat(a.abstract)}):r=r.concat(i.abstract)}),[{tag:"span",attributes:{class:["".concat($.cssPrefix,"-layers"),...n].join(" ")},children:r}]})}}}},Hx={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:n=null,classes:r=[],attributes:i={},styles:a={}}=t;return bs({type:"counter",content:e},()=>(sr("beforeDOMElementCreation",{content:e,params:t}),wx({content:e.toString(),title:n,extra:{attributes:i,styles:a,classes:["".concat($.cssPrefix,"-layers-counter"),...r]}})))}}}},qx={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=$t,title:r=null,classes:i=[],attributes:a={},styles:o={}}=t;return bs({type:"text",content:e},()=>(sr("beforeDOMElementCreation",{content:e,params:t}),rm({content:e,transform:R(R({},$t),n),title:r,extra:{attributes:a,styles:o,classes:["".concat($.cssPrefix,"-layers-text"),...i]}})))}}},provides(e){e.generateLayersText=function(t,n){const{title:r,transform:i,extra:a}=n;let o=null,s=null;if(y0){const l=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();o=u.width/l,s=u.height/l}return $.autoA11y&&!r&&(a.attributes["aria-hidden"]="true"),Promise.resolve([t,rm({content:t.innerHTML,width:o,height:s,transform:i,title:r,extra:a,watchable:!0})])}}};const Wx=new RegExp('"',"ug"),cm=[1105920,1112319],fm=R(R(R(R({},{FontAwesome:{normal:"fas",400:"fas"}}),hC),IC),CC),uc=Object.keys(fm).reduce((e,t)=>(e[t.toLowerCase()]=fm[t],e),{}),Yx=Object.keys(uc).reduce((e,t)=>{const n=uc[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e},{});function Gx(e){const t=e.replace(Wx,""),n=ex(t,0),r=n>=cm[0]&&n<=cm[1],i=t.length===2?t[0]===t[1]:!1;return{value:tc(i?t[0]:t),isSecondary:r||i}}function Kx(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(uc[n]||{})[i]||Yx[n]}function dm(e,t){const n="".concat(TC).concat(t.replace(":","-"));return new Promise((r,i)=>{if(e.getAttribute(n)!==null)return r();const o=Xr(e.children).filter(d=>d.getAttribute(Xu)===t)[0],s=Ln.getComputedStyle(e,t),l=s.getPropertyValue("font-family"),u=l.match(VC),f=s.getPropertyValue("font-weight"),c=s.getPropertyValue("content");if(o&&!u)return e.removeChild(o),r();if(u&&c!=="none"&&c!==""){const d=s.getPropertyValue("content");let m=Kx(l,f);const{value:g,isSecondary:v}=Gx(d),S=u[0].startsWith("FontAwesome");let p=Tf(m,g),h=p;if(S){const y=ox(g);y.iconName&&y.prefix&&(p=y.iconName,m=y.prefix)}if(p&&!v&&(!o||o.getAttribute(_f)!==m||o.getAttribute(Af)!==h)){e.setAttribute(n,h),o&&e.removeChild(o);const y=Nx(),{extra:b}=y;b.attributes[Xu]=t,oc(p,m).then(w=>{const P=Lf(R(R({},y),{},{icons:{main:w,mask:$0()},prefix:m,iconName:h,extra:b,watchable:!0})),E=me.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(E,e.firstChild):e.appendChild(E),E.outerHTML=P.map(C=>aa(C)).join(`
|
|
615
|
-
`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function Qx(e){return Promise.all([dm(e,"::before"),dm(e,"::after")])}function Xx(e){return e.parentNode!==document.head&&!~MC.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Xu)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function pm(e){if(fn)return new Promise((t,n)=>{const r=Xr(e.querySelectorAll("*")).filter(Xx).map(Qx),i=Mf.begin("searchPseudoElements");W0(),Promise.all(r).then(()=>{i(),lc(),t()}).catch(()=>{i(),lc(),n()})})}var Jx={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=pm,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:n=me}=t;$.searchPseudoElements&&pm(n)}}};let mm=!1;var Zx={mixout(){return{dom:{unwatch(){W0(),mm=!0}}}},hooks(){return{bootstrap(){sm(rc("mutationObserverCallbacks",{}))},noAuto(){Ix()},watch(e){const{observeMutationsRoot:t}=e;mm?lc():sm(rc("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const hm=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((n,r)=>{const i=r.toLowerCase().split("-"),a=i[0];let o=i.slice(1).join("-");if(a&&o==="h")return n.flipX=!0,n;if(a&&o==="v")return n.flipY=!0,n;if(o=parseFloat(o),isNaN(o))return n;switch(a){case"grow":n.size=n.size+o;break;case"shrink":n.size=n.size-o;break;case"left":n.x=n.x-o;break;case"right":n.x=n.x+o;break;case"up":n.y=n.y-o;break;case"down":n.y=n.y+o;break;case"rotate":n.rotate=n.rotate+o;break}return n},t)};var e_={mixout(){return{parse:{transform:e=>hm(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=hm(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:n,transform:r,containerWidth:i,iconWidth:a}=t;const o={transform:"translate(".concat(i/2," 256)")},s="translate(".concat(r.x*32,", ").concat(r.y*32,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),u="rotate(".concat(r.rotate," 0 0)"),f={transform:"".concat(s," ").concat(l," ").concat(u)},c={transform:"translate(".concat(a/2*-1," -256)")},d={outer:o,inner:f,path:c};return{tag:"g",attributes:R({},d.outer),children:[{tag:"g",attributes:R({},d.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:R(R({},n.icon.attributes),d.path)}]}]}}}};const hl={x:0,y:0,width:"100%",height:"100%"};function vm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function t_(e){return e.tag==="g"?e.children:[e]}var n_={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?Ss(n.split(" ").map(i=>i.trim())):$0();return r.prefix||(r.prefix=Mn()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:n,attributes:r,main:i,mask:a,maskId:o,transform:s}=t;const{width:l,icon:u}=i,{width:f,icon:c}=a,d=GC({transform:s,containerWidth:f,iconWidth:l}),m={tag:"rect",attributes:R(R({},hl),{},{fill:"white"})},g=u.children?{children:u.children.map(vm)}:{},v={tag:"g",attributes:R({},d.inner),children:[vm(R({tag:u.tag,attributes:R(R({},u.attributes),d.path)},g))]},S={tag:"g",attributes:R({},d.outer),children:[v]},p="mask-".concat(o||Ki()),h="clip-".concat(o||Ki()),y={tag:"mask",attributes:R(R({},hl),{},{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,S]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:h},children:t_(c)},y]};return n.push(b,{tag:"rect",attributes:R({fill:"currentColor","clip-path":"url(#".concat(h,")"),mask:"url(#".concat(p,")")},hl)}),{children:n,attributes:r}}}},r_={provides(e){let t=!1;Ln.matchMedia&&(t=Ln.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const n=[],r={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:R(R({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const a=R(R({},i),{},{attributeName:"opacity"}),o={tag:"circle",attributes:R(R({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:R(R({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:R(R({},a),{},{values:"1;0;1;1;0;1;"})}),n.push(o),n.push({tag:"path",attributes:R(R({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:R(R({},a),{},{values:"1;0;0;0;0;1;"})}]}),t||n.push({tag:"path",attributes:R(R({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:R(R({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},i_={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=n===null?!1:n===""?!0:n;return e.symbol=r,e}}}},a_=[XC,Ux,Bx,Hx,qx,Jx,Zx,e_,n_,r_,i_];hx(a_,{mixoutsTo:vt});vt.noAuto;vt.config;vt.library;vt.dom;const cc=vt.parse;vt.findIconDefinition;vt.toHtml;const o_=vt.icon;vt.layer;vt.text;vt.counter;var G0={exports:{}},s_="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",l_=s_,u_=l_;function K0(){}function Q0(){}Q0.resetWarningCache=K0;var c_=function(){function e(r,i,a,o,s,l){if(l!==u_){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Q0,resetWarningCache:K0};return n.PropTypes=n,n};G0.exports=c_();var f_=G0.exports;const J=Vo(f_);function gm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Dt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?gm(Object(n),!0).forEach(function(r){kr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gm(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function jo(e){"@babel/helpers - typeof";return jo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jo(e)}function kr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d_(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function p_(e,t){if(e==null)return{};var n=d_(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fc(e){return m_(e)||h_(e)||v_(e)||g_()}function m_(e){if(Array.isArray(e))return dc(e)}function h_(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function v_(e,t){if(e){if(typeof e=="string")return dc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dc(e,t)}}function dc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g_(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
616
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y_(e){var t,n=e.beat,r=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,s=e.flash,l=e.spin,u=e.spinPulse,f=e.spinReverse,c=e.pulse,d=e.fixedWidth,m=e.inverse,g=e.border,v=e.listItem,S=e.flip,p=e.size,h=e.rotation,y=e.pull,b=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":f,"fa-spin-pulse":u,"fa-pulse":c,"fa-fw":d,"fa-inverse":m,"fa-border":g,"fa-li":v,"fa-flip":S===!0,"fa-flip-horizontal":S==="horizontal"||S==="both","fa-flip-vertical":S==="vertical"||S==="both"},kr(t,"fa-".concat(p),typeof p<"u"&&p!==null),kr(t,"fa-rotate-".concat(h),typeof h<"u"&&h!==null&&h!==0),kr(t,"fa-pull-".concat(y),typeof y<"u"&&y!==null),kr(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(b).map(function(w){return b[w]?w:null}).filter(function(w){return w})}function S_(e){return e=e-0,e===e}function X0(e){return S_(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var b_=["style"];function O_(e){return e.charAt(0).toUpperCase()+e.slice(1)}function w_(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=X0(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[O_(i)]=a:t[i]=a,t},{})}function J0(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return J0(e,l)}),i=Object.keys(t.attributes||{}).reduce(function(l,u){var f=t.attributes[u];switch(u){case"class":l.attrs.className=f,delete t.attributes.class;break;case"style":l.attrs.style=w_(f);break;default:u.indexOf("aria-")===0||u.indexOf("data-")===0?l.attrs[u.toLowerCase()]=f:l.attrs[X0(u)]=f}return l},{attrs:{}}),a=n.style,o=a===void 0?{}:a,s=p_(n,b_);return i.attrs.style=Dt(Dt({},i.attrs.style),o),e.apply(void 0,[t.tag,Dt(Dt({},i.attrs),s)].concat(fc(r)))}var Z0=!1;try{Z0=!0}catch{}function E_(){if(!Z0&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function ym(e){if(e&&jo(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(cc.icon)return cc.icon(e);if(e===null)return null;if(e&&jo(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function vl(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?kr({},e,t):{}}var Sm={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},jf=X.forwardRef(function(e,t){var n=Dt(Dt({},Sm),e),r=n.icon,i=n.mask,a=n.symbol,o=n.className,s=n.title,l=n.titleId,u=n.maskId,f=ym(r),c=vl("classes",[].concat(fc(y_(n)),fc((o||"").split(" ")))),d=vl("transform",typeof n.transform=="string"?cc.transform(n.transform):n.transform),m=vl("mask",ym(i)),g=o_(f,Dt(Dt(Dt(Dt({},c),d),m),{},{symbol:a,title:s,titleId:l,maskId:u}));if(!g)return E_("Could not find icon",f),null;var v=g.abstract,S={ref:t};return Object.keys(n).forEach(function(p){Sm.hasOwnProperty(p)||(S[p]=n[p])}),P_(v[0],S)});jf.displayName="FontAwesomeIcon";jf.propTypes={beat:J.bool,border:J.bool,beatFade:J.bool,bounce:J.bool,className:J.string,fade:J.bool,flash:J.bool,mask:J.oneOfType([J.object,J.array,J.string]),maskId:J.string,fixedWidth:J.bool,inverse:J.bool,flip:J.oneOf([!0,!1,"horizontal","vertical","both"]),icon:J.oneOfType([J.object,J.array,J.string]),listItem:J.bool,pull:J.oneOf(["right","left"]),pulse:J.bool,rotation:J.oneOf([0,90,180,270]),shake:J.bool,size:J.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:J.bool,spinPulse:J.bool,spinReverse:J.bool,symbol:J.oneOfType([J.bool,J.string]),title:J.string,titleId:J.string,transform:J.oneOfType([J.string,J.object]),swapOpacity:J.bool};var P_=J0.bind(null,X.createElement);/*!
|
|
617
|
-
* Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com
|
|
618
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
619
|
-
* Copyright 2024 Fonticons, Inc.
|
|
620
|
-
*/const C_={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},x_=C_;var pc={},ey={},Vf={exports:{}},ty=function(t,n){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(n,i)}},__=ty,zn=Object.prototype.toString;function Df(e){return Array.isArray(e)}function mc(e){return typeof e>"u"}function A_(e){return e!==null&&!mc(e)&&e.constructor!==null&&!mc(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function ny(e){return zn.call(e)==="[object ArrayBuffer]"}function k_(e){return zn.call(e)==="[object FormData]"}function R_(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ny(e.buffer),t}function F_(e){return typeof e=="string"}function I_(e){return typeof e=="number"}function ry(e){return e!==null&&typeof e=="object"}function Ja(e){if(zn.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function T_(e){return zn.call(e)==="[object Date]"}function L_(e){return zn.call(e)==="[object File]"}function M_(e){return zn.call(e)==="[object Blob]"}function iy(e){return zn.call(e)==="[object Function]"}function N_(e){return ry(e)&&iy(e.pipe)}function j_(e){return zn.call(e)==="[object URLSearchParams]"}function V_(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function D_(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function zf(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Df(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function hc(){var e={};function t(i,a){Ja(e[a])&&Ja(i)?e[a]=hc(e[a],i):Ja(i)?e[a]=hc({},i):Df(i)?e[a]=i.slice():e[a]=i}for(var n=0,r=arguments.length;n<r;n++)zf(arguments[n],t);return e}function z_(e,t,n){return zf(t,function(i,a){n&&typeof i=="function"?e[a]=__(i,n):e[a]=i}),e}function $_(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var at={isArray:Df,isArrayBuffer:ny,isBuffer:A_,isFormData:k_,isArrayBufferView:R_,isString:F_,isNumber:I_,isObject:ry,isPlainObject:Ja,isUndefined:mc,isDate:T_,isFile:L_,isBlob:M_,isFunction:iy,isStream:N_,isURLSearchParams:j_,isStandardBrowserEnv:D_,forEach:zf,merge:hc,extend:z_,trim:V_,stripBOM:$_},pr=at;function bm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var ay=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(pr.isURLSearchParams(n))i=n.toString();else{var a=[];pr.forEach(n,function(l,u){l===null||typeof l>"u"||(pr.isArray(l)?u=u+"[]":l=[l],pr.forEach(l,function(c){pr.isDate(c)?c=c.toISOString():pr.isObject(c)&&(c=JSON.stringify(c)),a.push(bm(u)+"="+bm(c))}))}),i=a.join("&")}if(i){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},U_=at;function Os(){this.handlers=[]}Os.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};Os.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Os.prototype.forEach=function(t){U_.forEach(this.handlers,function(r){r!==null&&t(r)})};var B_=Os,H_=at,q_=function(t,n){H_.forEach(t,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[a])})},oy=function(t,n,r,i,a){return t.config=n,r&&(t.code=r),t.request=i,t.response=a,t.isAxiosError=!0,t.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,status:this.response&&this.response.status?this.response.status:null}},t},sy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},gl,Om;function ly(){if(Om)return gl;Om=1;var e=oy;return gl=function(n,r,i,a,o){var s=new Error(n);return e(s,r,i,a,o)},gl}var yl,wm;function W_(){if(wm)return yl;wm=1;var e=ly();return yl=function(n,r,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?n(i):r(e("Request failed with status code "+i.status,i.config,null,i.request,i))},yl}var Sl,Em;function Y_(){if(Em)return Sl;Em=1;var e=at;return Sl=e.isStandardBrowserEnv()?function(){return{write:function(r,i,a,o,s,l){var u=[];u.push(r+"="+encodeURIComponent(i)),e.isNumber(a)&&u.push("expires="+new Date(a).toGMTString()),e.isString(o)&&u.push("path="+o),e.isString(s)&&u.push("domain="+s),l===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Sl}var bl,Pm;function G_(){return Pm||(Pm=1,bl=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}),bl}var Ol,Cm;function K_(){return Cm||(Cm=1,Ol=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}),Ol}var wl,xm;function Q_(){if(xm)return wl;xm=1;var e=G_(),t=K_();return wl=function(r,i){return r&&!e(i)?t(r,i):i},wl}var El,_m;function X_(){if(_m)return El;_m=1;var e=at,t=["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"];return El=function(r){var i={},a,o,s;return r&&e.forEach(r.split(`
|
|
621
|
-
`),function(u){if(s=u.indexOf(":"),a=e.trim(u.substr(0,s)).toLowerCase(),o=e.trim(u.substr(s+1)),a){if(i[a]&&t.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([o]):i[a]=i[a]?i[a]+", "+o:o}}),i},El}var Pl,Am;function J_(){if(Am)return Pl;Am=1;var e=at;return Pl=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function a(o){var s=o;return n&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=a(window.location.href),function(s){var l=e.isString(s)?a(s):s;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),Pl}var Cl,km;function ws(){if(km)return Cl;km=1;function e(t){this.message=t}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,Cl=e,Cl}var xl,Rm;function Fm(){if(Rm)return xl;Rm=1;var e=at,t=W_(),n=Y_(),r=ay,i=Q_(),a=X_(),o=J_(),s=ly(),l=sy,u=ws();return xl=function(c){return new Promise(function(m,g){var v=c.data,S=c.headers,p=c.responseType,h;function y(){c.cancelToken&&c.cancelToken.unsubscribe(h),c.signal&&c.signal.removeEventListener("abort",h)}e.isFormData(v)&&delete S["Content-Type"];var b=new XMLHttpRequest;if(c.auth){var w=c.auth.username||"",P=c.auth.password?unescape(encodeURIComponent(c.auth.password)):"";S.Authorization="Basic "+btoa(w+":"+P)}var E=i(c.baseURL,c.url);b.open(c.method.toUpperCase(),r(E,c.params,c.paramsSerializer),!0),b.timeout=c.timeout;function C(){if(b){var L="getAllResponseHeaders"in b?a(b.getAllResponseHeaders()):null,Y=!p||p==="text"||p==="json"?b.responseText:b.response,G={data:Y,status:b.status,statusText:b.statusText,headers:L,config:c,request:b};t(function(U){m(U),y()},function(U){g(U),y()},G),b=null}}if("onloadend"in b?b.onloadend=C:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(C)},b.onabort=function(){b&&(g(s("Request aborted",c,"ECONNABORTED",b)),b=null)},b.onerror=function(){g(s("Network Error",c,null,b)),b=null},b.ontimeout=function(){var Y=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",G=c.transitional||l;c.timeoutErrorMessage&&(Y=c.timeoutErrorMessage),g(s(Y,c,G.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},e.isStandardBrowserEnv()){var A=(c.withCredentials||o(E))&&c.xsrfCookieName?n.read(c.xsrfCookieName):void 0;A&&(S[c.xsrfHeaderName]=A)}"setRequestHeader"in b&&e.forEach(S,function(Y,G){typeof v>"u"&&G.toLowerCase()==="content-type"?delete S[G]:b.setRequestHeader(G,Y)}),e.isUndefined(c.withCredentials)||(b.withCredentials=!!c.withCredentials),p&&p!=="json"&&(b.responseType=c.responseType),typeof c.onDownloadProgress=="function"&&b.addEventListener("progress",c.onDownloadProgress),typeof c.onUploadProgress=="function"&&b.upload&&b.upload.addEventListener("progress",c.onUploadProgress),(c.cancelToken||c.signal)&&(h=function(L){b&&(g(!L||L&&L.type?new u("canceled"):L),b.abort(),b=null)},c.cancelToken&&c.cancelToken.subscribe(h),c.signal&&(c.signal.aborted?h():c.signal.addEventListener("abort",h))),v||(v=null),b.send(v)})},xl}var Ve=at,Im=q_,Z_=oy,eA=sy,tA={"Content-Type":"application/x-www-form-urlencoded"};function Tm(e,t){!Ve.isUndefined(e)&&Ve.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function nA(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Fm()),e}function rA(e,t,n){if(Ve.isString(e))try{return(t||JSON.parse)(e),Ve.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}var Es={transitional:eA,adapter:nA(),transformRequest:[function(t,n){return Im(n,"Accept"),Im(n,"Content-Type"),Ve.isFormData(t)||Ve.isArrayBuffer(t)||Ve.isBuffer(t)||Ve.isStream(t)||Ve.isFile(t)||Ve.isBlob(t)?t:Ve.isArrayBufferView(t)?t.buffer:Ve.isURLSearchParams(t)?(Tm(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):Ve.isObject(t)||n&&n["Content-Type"]==="application/json"?(Tm(n,"application/json"),rA(t)):t}],transformResponse:[function(t){var n=this.transitional||Es.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&Ve.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?Z_(o,this,"E_JSON_PARSE"):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Ve.forEach(["delete","get","head"],function(t){Es.headers[t]={}});Ve.forEach(["post","put","patch"],function(t){Es.headers[t]=Ve.merge(tA)});var $f=Es,iA=at,aA=$f,oA=function(t,n,r){var i=this||aA;return iA.forEach(r,function(o){t=o.call(i,t,n)}),t},_l,Lm;function uy(){return Lm||(Lm=1,_l=function(t){return!!(t&&t.__CANCEL__)}),_l}var Mm=at,Al=oA,sA=uy(),lA=$f,uA=ws();function kl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new uA("canceled")}var cA=function(t){kl(t),t.headers=t.headers||{},t.data=Al.call(t,t.data,t.headers,t.transformRequest),t.headers=Mm.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Mm.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||lA.adapter;return n(t).then(function(i){return kl(t),i.data=Al.call(t,i.data,i.headers,t.transformResponse),i},function(i){return sA(i)||(kl(t),i&&i.response&&(i.response.data=Al.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},st=at,cy=function(t,n){n=n||{};var r={};function i(f,c){return st.isPlainObject(f)&&st.isPlainObject(c)?st.merge(f,c):st.isPlainObject(c)?st.merge({},c):st.isArray(c)?c.slice():c}function a(f){if(st.isUndefined(n[f])){if(!st.isUndefined(t[f]))return i(void 0,t[f])}else return i(t[f],n[f])}function o(f){if(!st.isUndefined(n[f]))return i(void 0,n[f])}function s(f){if(st.isUndefined(n[f])){if(!st.isUndefined(t[f]))return i(void 0,t[f])}else return i(void 0,n[f])}function l(f){if(f in n)return i(t[f],n[f]);if(f in t)return i(void 0,t[f])}var u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return st.forEach(Object.keys(t).concat(Object.keys(n)),function(c){var d=u[c]||a,m=d(c);st.isUndefined(m)&&d!==l||(r[c]=m)}),r},Rl,Nm;function fy(){return Nm||(Nm=1,Rl={version:"0.26.1"}),Rl}var fA=fy().version,Uf={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Uf[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var jm={};Uf.transitional=function(t,n,r){function i(a,o){return"[Axios v"+fA+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return function(a,o,s){if(t===!1)throw new Error(i(o," has been removed"+(n?" in "+n:"")));return n&&!jm[o]&&(jm[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,s):!0}};function dA(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],o=t[a];if(o){var s=e[a],l=s===void 0||o(s,a,e);if(l!==!0)throw new TypeError("option "+a+" must be "+l);continue}if(n!==!0)throw Error("Unknown option "+a)}}var pA={assertOptions:dA,validators:Uf},dy=at,mA=ay,Vm=B_,Dm=cA,Ps=cy,py=pA,mr=py.validators;function oa(e){this.defaults=e,this.interceptors={request:new Vm,response:new Vm}}oa.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ps(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&py.assertOptions(r,{silentJSONParsing:mr.transitional(mr.boolean),forcedJSONParsing:mr.transitional(mr.boolean),clarifyTimeoutError:mr.transitional(mr.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(a=a&&m.synchronous,i.unshift(m.fulfilled,m.rejected))});var o=[];this.interceptors.response.forEach(function(m){o.push(m.fulfilled,m.rejected)});var s;if(!a){var l=[Dm,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),s=Promise.resolve(n);l.length;)s=s.then(l.shift(),l.shift());return s}for(var u=n;i.length;){var f=i.shift(),c=i.shift();try{u=f(u)}catch(d){c(d);break}}try{s=Dm(u)}catch(d){return Promise.reject(d)}for(;o.length;)s=s.then(o.shift(),o.shift());return s};oa.prototype.getUri=function(t){return t=Ps(this.defaults,t),mA(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};dy.forEach(["delete","get","head","options"],function(t){oa.prototype[t]=function(n,r){return this.request(Ps(r||{},{method:t,url:n,data:(r||{}).data}))}});dy.forEach(["post","put","patch"],function(t){oa.prototype[t]=function(n,r,i){return this.request(Ps(i||{},{method:t,url:n,data:r}))}});var hA=oa,Fl,zm;function vA(){if(zm)return Fl;zm=1;var e=ws();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(o){r=o});var i=this;this.promise.then(function(a){if(i._listeners){var o,s=i._listeners.length;for(o=0;o<s;o++)i._listeners[o](a);i._listeners=null}}),this.promise.then=function(a){var o,s=new Promise(function(l){i.subscribe(l),o=l}).then(a);return s.cancel=function(){i.unsubscribe(o)},s},n(function(o){i.reason||(i.reason=new e(o),r(i.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]},t.prototype.unsubscribe=function(r){if(this._listeners){var i=this._listeners.indexOf(r);i!==-1&&this._listeners.splice(i,1)}},t.source=function(){var r,i=new t(function(o){r=o});return{token:i,cancel:r}},Fl=t,Fl}var Il,$m;function gA(){return $m||($m=1,Il=function(t){return function(r){return t.apply(null,r)}}),Il}var Tl,Um;function yA(){if(Um)return Tl;Um=1;var e=at;return Tl=function(n){return e.isObject(n)&&n.isAxiosError===!0},Tl}var Bm=at,SA=ty,Za=hA,bA=cy,OA=$f;function my(e){var t=new Za(e),n=SA(Za.prototype.request,t);return Bm.extend(n,Za.prototype,t),Bm.extend(n,t),n.create=function(i){return my(bA(e,i))},n}var Wt=my(OA);Wt.Axios=Za;Wt.Cancel=ws();Wt.CancelToken=vA();Wt.isCancel=uy();Wt.VERSION=fy().version;Wt.all=function(t){return Promise.all(t)};Wt.spread=gA();Wt.isAxiosError=yA();Vf.exports=Wt;Vf.exports.default=Wt;var wA=Vf.exports,hy=wA,Oe={},Bf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RequiredError=e.BaseAPI=e.COLLECTION_FORMATS=e.BASE_PATH=void 0;const t=hy;e.BASE_PATH="https://api.openai.com/v1".replace(/\/+$/,""),e.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:" ",pipes:"|"};class n{constructor(a,o=e.BASE_PATH,s=t.default){this.basePath=o,this.axios=s,a&&(this.configuration=a,this.basePath=a.basePath||this.basePath)}}e.BaseAPI=n;class r extends Error{constructor(a,o){super(o),this.field=a,this.name="RequiredError"}}e.RequiredError=r})(Bf);var Hf=On&&On.__awaiter||function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(f){try{u(r.next(f))}catch(c){o(c)}}function l(f){try{u(r.throw(f))}catch(c){o(c)}}function u(f){f.done?a(f.value):i(f.value).then(s,l)}u((r=r.apply(e,t||[])).next())})};Object.defineProperty(Oe,"__esModule",{value:!0});Oe.createRequestFunction=Oe.toPathString=Oe.serializeDataIfNeeded=Oe.setSearchParams=Oe.setOAuthToObject=Oe.setBearerAuthToObject=Oe.setBasicAuthToObject=Oe.setApiKeyToObject=Oe.assertParamExists=Oe.DUMMY_BASE_URL=void 0;const EA=Bf;Oe.DUMMY_BASE_URL="https://example.com";Oe.assertParamExists=function(e,t,n){if(n==null)throw new EA.RequiredError(t,`Required parameter ${t} was null or undefined when calling ${e}.`)};Oe.setApiKeyToObject=function(e,t,n){return Hf(this,void 0,void 0,function*(){if(n&&n.apiKey){const r=typeof n.apiKey=="function"?yield n.apiKey(t):yield n.apiKey;e[t]=r}})};Oe.setBasicAuthToObject=function(e,t){t&&(t.username||t.password)&&(e.auth={username:t.username,password:t.password})};Oe.setBearerAuthToObject=function(e,t){return Hf(this,void 0,void 0,function*(){if(t&&t.accessToken){const n=typeof t.accessToken=="function"?yield t.accessToken():yield t.accessToken;e.Authorization="Bearer "+n}})};Oe.setOAuthToObject=function(e,t,n,r){return Hf(this,void 0,void 0,function*(){if(r&&r.accessToken){const i=typeof r.accessToken=="function"?yield r.accessToken(t,n):yield r.accessToken;e.Authorization="Bearer "+i}})};function vc(e,t,n=""){t!=null&&(typeof t=="object"?Array.isArray(t)?t.forEach(r=>vc(e,r,n)):Object.keys(t).forEach(r=>vc(e,t[r],`${n}${n!==""?".":""}${r}`)):e.has(n)?e.append(n,t):e.set(n,t))}Oe.setSearchParams=function(e,...t){const n=new URLSearchParams(e.search);vc(n,t),e.search=n.toString()};Oe.serializeDataIfNeeded=function(e,t,n){const r=typeof e!="string";return(r&&n&&n.isJsonMime?n.isJsonMime(t.headers["Content-Type"]):r)?JSON.stringify(e!==void 0?e:{}):e||""};Oe.toPathString=function(e){return e.pathname+e.search+e.hash};Oe.createRequestFunction=function(e,t,n,r){return(i=t,a=n)=>{const o=Object.assign(Object.assign({},e.options),{url:((r==null?void 0:r.basePath)||a)+e.url});return i.request(o)}};(function(e){var t=On&&On.__awaiter||function(o,s,l,u){function f(c){return c instanceof l?c:new l(function(d){d(c)})}return new(l||(l=Promise))(function(c,d){function m(S){try{v(u.next(S))}catch(p){d(p)}}function g(S){try{v(u.throw(S))}catch(p){d(p)}}function v(S){S.done?c(S.value):f(S.value).then(m,g)}v((u=u.apply(o,s||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.OpenAIApi=e.OpenAIApiFactory=e.OpenAIApiFp=e.OpenAIApiAxiosParamCreator=e.CreateImageRequestResponseFormatEnum=e.CreateImageRequestSizeEnum=e.ChatCompletionResponseMessageRoleEnum=e.ChatCompletionRequestMessageRoleEnum=void 0;const n=hy,r=Oe,i=Bf;e.ChatCompletionRequestMessageRoleEnum={System:"system",User:"user",Assistant:"assistant",Function:"function"},e.ChatCompletionResponseMessageRoleEnum={System:"system",User:"user",Assistant:"assistant",Function:"function"},e.CreateImageRequestSizeEnum={_256x256:"256x256",_512x512:"512x512",_1024x1024:"1024x1024"},e.CreateImageRequestResponseFormatEnum={Url:"url",B64Json:"b64_json"},e.OpenAIApiAxiosParamCreator=function(o){return{cancelFineTune:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("cancelFineTune","fineTuneId",s);const u="/fine-tunes/{fine_tune_id}/cancel".replace("{fine_tune_id}",encodeURIComponent(String(s))),f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"POST"},c),l),m={},g={};r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),{url:r.toPathString(f),options:d}}),createAnswer:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createAnswer","createAnswerRequest",s);const u="/answers",f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"POST"},c),l),m={},g={};m["Content-Type"]="application/json",r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),d.data=r.serializeDataIfNeeded(s,d,o),{url:r.toPathString(f),options:d}}),createChatCompletion:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createChatCompletion","createChatCompletionRequest",s);const u="/chat/completions",f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"POST"},c),l),m={},g={};m["Content-Type"]="application/json",r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),d.data=r.serializeDataIfNeeded(s,d,o),{url:r.toPathString(f),options:d}}),createClassification:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createClassification","createClassificationRequest",s);const u="/classifications",f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"POST"},c),l),m={},g={};m["Content-Type"]="application/json",r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),d.data=r.serializeDataIfNeeded(s,d,o),{url:r.toPathString(f),options:d}}),createCompletion:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createCompletion","createCompletionRequest",s);const u="/completions",f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"POST"},c),l),m={},g={};m["Content-Type"]="application/json",r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),d.data=r.serializeDataIfNeeded(s,d,o),{url:r.toPathString(f),options:d}}),createEdit:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createEdit","createEditRequest",s);const u="/edits",f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"POST"},c),l),m={},g={};m["Content-Type"]="application/json",r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),d.data=r.serializeDataIfNeeded(s,d,o),{url:r.toPathString(f),options:d}}),createEmbedding:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createEmbedding","createEmbeddingRequest",s);const u="/embeddings",f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"POST"},c),l),m={},g={};m["Content-Type"]="application/json",r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),d.data=r.serializeDataIfNeeded(s,d,o),{url:r.toPathString(f),options:d}}),createFile:(s,l,u={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createFile","file",s),r.assertParamExists("createFile","purpose",l);const f="/files",c=new URL(f,r.DUMMY_BASE_URL);let d;o&&(d=o.baseOptions);const m=Object.assign(Object.assign({method:"POST"},d),u),g={},v={},S=new(o&&o.formDataCtor||FormData);s!==void 0&&S.append("file",s),l!==void 0&&S.append("purpose",l),g["Content-Type"]="multipart/form-data",r.setSearchParams(c,v);let p=d&&d.headers?d.headers:{};return m.headers=Object.assign(Object.assign(Object.assign(Object.assign({},g),S.getHeaders()),p),u.headers),m.data=S,{url:r.toPathString(c),options:m}}),createFineTune:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createFineTune","createFineTuneRequest",s);const u="/fine-tunes",f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"POST"},c),l),m={},g={};m["Content-Type"]="application/json",r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),d.data=r.serializeDataIfNeeded(s,d,o),{url:r.toPathString(f),options:d}}),createImage:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createImage","createImageRequest",s);const u="/images/generations",f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"POST"},c),l),m={},g={};m["Content-Type"]="application/json",r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),d.data=r.serializeDataIfNeeded(s,d,o),{url:r.toPathString(f),options:d}}),createImageEdit:(s,l,u,f,c,d,m,g={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createImageEdit","image",s),r.assertParamExists("createImageEdit","prompt",l);const v="/images/edits",S=new URL(v,r.DUMMY_BASE_URL);let p;o&&(p=o.baseOptions);const h=Object.assign(Object.assign({method:"POST"},p),g),y={},b={},w=new(o&&o.formDataCtor||FormData);s!==void 0&&w.append("image",s),u!==void 0&&w.append("mask",u),l!==void 0&&w.append("prompt",l),f!==void 0&&w.append("n",f),c!==void 0&&w.append("size",c),d!==void 0&&w.append("response_format",d),m!==void 0&&w.append("user",m),y["Content-Type"]="multipart/form-data",r.setSearchParams(S,b);let P=p&&p.headers?p.headers:{};return h.headers=Object.assign(Object.assign(Object.assign(Object.assign({},y),w.getHeaders()),P),g.headers),h.data=w,{url:r.toPathString(S),options:h}}),createImageVariation:(s,l,u,f,c,d={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createImageVariation","image",s);const m="/images/variations",g=new URL(m,r.DUMMY_BASE_URL);let v;o&&(v=o.baseOptions);const S=Object.assign(Object.assign({method:"POST"},v),d),p={},h={},y=new(o&&o.formDataCtor||FormData);s!==void 0&&y.append("image",s),l!==void 0&&y.append("n",l),u!==void 0&&y.append("size",u),f!==void 0&&y.append("response_format",f),c!==void 0&&y.append("user",c),p["Content-Type"]="multipart/form-data",r.setSearchParams(g,h);let b=v&&v.headers?v.headers:{};return S.headers=Object.assign(Object.assign(Object.assign(Object.assign({},p),y.getHeaders()),b),d.headers),S.data=y,{url:r.toPathString(g),options:S}}),createModeration:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createModeration","createModerationRequest",s);const u="/moderations",f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"POST"},c),l),m={},g={};m["Content-Type"]="application/json",r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),d.data=r.serializeDataIfNeeded(s,d,o),{url:r.toPathString(f),options:d}}),createSearch:(s,l,u={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createSearch","engineId",s),r.assertParamExists("createSearch","createSearchRequest",l);const f="/engines/{engine_id}/search".replace("{engine_id}",encodeURIComponent(String(s))),c=new URL(f,r.DUMMY_BASE_URL);let d;o&&(d=o.baseOptions);const m=Object.assign(Object.assign({method:"POST"},d),u),g={},v={};g["Content-Type"]="application/json",r.setSearchParams(c,v);let S=d&&d.headers?d.headers:{};return m.headers=Object.assign(Object.assign(Object.assign({},g),S),u.headers),m.data=r.serializeDataIfNeeded(l,m,o),{url:r.toPathString(c),options:m}}),createTranscription:(s,l,u,f,c,d,m={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createTranscription","file",s),r.assertParamExists("createTranscription","model",l);const g="/audio/transcriptions",v=new URL(g,r.DUMMY_BASE_URL);let S;o&&(S=o.baseOptions);const p=Object.assign(Object.assign({method:"POST"},S),m),h={},y={},b=new(o&&o.formDataCtor||FormData);s!==void 0&&b.append("file",s),l!==void 0&&b.append("model",l),u!==void 0&&b.append("prompt",u),f!==void 0&&b.append("response_format",f),c!==void 0&&b.append("temperature",c),d!==void 0&&b.append("language",d),h["Content-Type"]="multipart/form-data",r.setSearchParams(v,y);let w=S&&S.headers?S.headers:{};return p.headers=Object.assign(Object.assign(Object.assign(Object.assign({},h),b.getHeaders()),w),m.headers),p.data=b,{url:r.toPathString(v),options:p}}),createTranslation:(s,l,u,f,c,d={})=>t(this,void 0,void 0,function*(){r.assertParamExists("createTranslation","file",s),r.assertParamExists("createTranslation","model",l);const m="/audio/translations",g=new URL(m,r.DUMMY_BASE_URL);let v;o&&(v=o.baseOptions);const S=Object.assign(Object.assign({method:"POST"},v),d),p={},h={},y=new(o&&o.formDataCtor||FormData);s!==void 0&&y.append("file",s),l!==void 0&&y.append("model",l),u!==void 0&&y.append("prompt",u),f!==void 0&&y.append("response_format",f),c!==void 0&&y.append("temperature",c),p["Content-Type"]="multipart/form-data",r.setSearchParams(g,h);let b=v&&v.headers?v.headers:{};return S.headers=Object.assign(Object.assign(Object.assign(Object.assign({},p),y.getHeaders()),b),d.headers),S.data=y,{url:r.toPathString(g),options:S}}),deleteFile:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("deleteFile","fileId",s);const u="/files/{file_id}".replace("{file_id}",encodeURIComponent(String(s))),f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"DELETE"},c),l),m={},g={};r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),{url:r.toPathString(f),options:d}}),deleteModel:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("deleteModel","model",s);const u="/models/{model}".replace("{model}",encodeURIComponent(String(s))),f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"DELETE"},c),l),m={},g={};r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),{url:r.toPathString(f),options:d}}),downloadFile:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("downloadFile","fileId",s);const u="/files/{file_id}/content".replace("{file_id}",encodeURIComponent(String(s))),f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"GET"},c),l),m={},g={};r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),{url:r.toPathString(f),options:d}}),listEngines:(s={})=>t(this,void 0,void 0,function*(){const l="/engines",u=new URL(l,r.DUMMY_BASE_URL);let f;o&&(f=o.baseOptions);const c=Object.assign(Object.assign({method:"GET"},f),s),d={},m={};r.setSearchParams(u,m);let g=f&&f.headers?f.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},d),g),s.headers),{url:r.toPathString(u),options:c}}),listFiles:(s={})=>t(this,void 0,void 0,function*(){const l="/files",u=new URL(l,r.DUMMY_BASE_URL);let f;o&&(f=o.baseOptions);const c=Object.assign(Object.assign({method:"GET"},f),s),d={},m={};r.setSearchParams(u,m);let g=f&&f.headers?f.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},d),g),s.headers),{url:r.toPathString(u),options:c}}),listFineTuneEvents:(s,l,u={})=>t(this,void 0,void 0,function*(){r.assertParamExists("listFineTuneEvents","fineTuneId",s);const f="/fine-tunes/{fine_tune_id}/events".replace("{fine_tune_id}",encodeURIComponent(String(s))),c=new URL(f,r.DUMMY_BASE_URL);let d;o&&(d=o.baseOptions);const m=Object.assign(Object.assign({method:"GET"},d),u),g={},v={};l!==void 0&&(v.stream=l),r.setSearchParams(c,v);let S=d&&d.headers?d.headers:{};return m.headers=Object.assign(Object.assign(Object.assign({},g),S),u.headers),{url:r.toPathString(c),options:m}}),listFineTunes:(s={})=>t(this,void 0,void 0,function*(){const l="/fine-tunes",u=new URL(l,r.DUMMY_BASE_URL);let f;o&&(f=o.baseOptions);const c=Object.assign(Object.assign({method:"GET"},f),s),d={},m={};r.setSearchParams(u,m);let g=f&&f.headers?f.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},d),g),s.headers),{url:r.toPathString(u),options:c}}),listModels:(s={})=>t(this,void 0,void 0,function*(){const l="/models",u=new URL(l,r.DUMMY_BASE_URL);let f;o&&(f=o.baseOptions);const c=Object.assign(Object.assign({method:"GET"},f),s),d={},m={};r.setSearchParams(u,m);let g=f&&f.headers?f.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},d),g),s.headers),{url:r.toPathString(u),options:c}}),retrieveEngine:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("retrieveEngine","engineId",s);const u="/engines/{engine_id}".replace("{engine_id}",encodeURIComponent(String(s))),f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"GET"},c),l),m={},g={};r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),{url:r.toPathString(f),options:d}}),retrieveFile:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("retrieveFile","fileId",s);const u="/files/{file_id}".replace("{file_id}",encodeURIComponent(String(s))),f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"GET"},c),l),m={},g={};r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),{url:r.toPathString(f),options:d}}),retrieveFineTune:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("retrieveFineTune","fineTuneId",s);const u="/fine-tunes/{fine_tune_id}".replace("{fine_tune_id}",encodeURIComponent(String(s))),f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"GET"},c),l),m={},g={};r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),{url:r.toPathString(f),options:d}}),retrieveModel:(s,l={})=>t(this,void 0,void 0,function*(){r.assertParamExists("retrieveModel","model",s);const u="/models/{model}".replace("{model}",encodeURIComponent(String(s))),f=new URL(u,r.DUMMY_BASE_URL);let c;o&&(c=o.baseOptions);const d=Object.assign(Object.assign({method:"GET"},c),l),m={},g={};r.setSearchParams(f,g);let v=c&&c.headers?c.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},m),v),l.headers),{url:r.toPathString(f),options:d}})}},e.OpenAIApiFp=function(o){const s=e.OpenAIApiAxiosParamCreator(o);return{cancelFineTune(l,u){return t(this,void 0,void 0,function*(){const f=yield s.cancelFineTune(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},createAnswer(l,u){return t(this,void 0,void 0,function*(){const f=yield s.createAnswer(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},createChatCompletion(l,u){return t(this,void 0,void 0,function*(){const f=yield s.createChatCompletion(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},createClassification(l,u){return t(this,void 0,void 0,function*(){const f=yield s.createClassification(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},createCompletion(l,u){return t(this,void 0,void 0,function*(){const f=yield s.createCompletion(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},createEdit(l,u){return t(this,void 0,void 0,function*(){const f=yield s.createEdit(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},createEmbedding(l,u){return t(this,void 0,void 0,function*(){const f=yield s.createEmbedding(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},createFile(l,u,f){return t(this,void 0,void 0,function*(){const c=yield s.createFile(l,u,f);return r.createRequestFunction(c,n.default,i.BASE_PATH,o)})},createFineTune(l,u){return t(this,void 0,void 0,function*(){const f=yield s.createFineTune(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},createImage(l,u){return t(this,void 0,void 0,function*(){const f=yield s.createImage(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},createImageEdit(l,u,f,c,d,m,g,v){return t(this,void 0,void 0,function*(){const S=yield s.createImageEdit(l,u,f,c,d,m,g,v);return r.createRequestFunction(S,n.default,i.BASE_PATH,o)})},createImageVariation(l,u,f,c,d,m){return t(this,void 0,void 0,function*(){const g=yield s.createImageVariation(l,u,f,c,d,m);return r.createRequestFunction(g,n.default,i.BASE_PATH,o)})},createModeration(l,u){return t(this,void 0,void 0,function*(){const f=yield s.createModeration(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},createSearch(l,u,f){return t(this,void 0,void 0,function*(){const c=yield s.createSearch(l,u,f);return r.createRequestFunction(c,n.default,i.BASE_PATH,o)})},createTranscription(l,u,f,c,d,m,g){return t(this,void 0,void 0,function*(){const v=yield s.createTranscription(l,u,f,c,d,m,g);return r.createRequestFunction(v,n.default,i.BASE_PATH,o)})},createTranslation(l,u,f,c,d,m){return t(this,void 0,void 0,function*(){const g=yield s.createTranslation(l,u,f,c,d,m);return r.createRequestFunction(g,n.default,i.BASE_PATH,o)})},deleteFile(l,u){return t(this,void 0,void 0,function*(){const f=yield s.deleteFile(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},deleteModel(l,u){return t(this,void 0,void 0,function*(){const f=yield s.deleteModel(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},downloadFile(l,u){return t(this,void 0,void 0,function*(){const f=yield s.downloadFile(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},listEngines(l){return t(this,void 0,void 0,function*(){const u=yield s.listEngines(l);return r.createRequestFunction(u,n.default,i.BASE_PATH,o)})},listFiles(l){return t(this,void 0,void 0,function*(){const u=yield s.listFiles(l);return r.createRequestFunction(u,n.default,i.BASE_PATH,o)})},listFineTuneEvents(l,u,f){return t(this,void 0,void 0,function*(){const c=yield s.listFineTuneEvents(l,u,f);return r.createRequestFunction(c,n.default,i.BASE_PATH,o)})},listFineTunes(l){return t(this,void 0,void 0,function*(){const u=yield s.listFineTunes(l);return r.createRequestFunction(u,n.default,i.BASE_PATH,o)})},listModels(l){return t(this,void 0,void 0,function*(){const u=yield s.listModels(l);return r.createRequestFunction(u,n.default,i.BASE_PATH,o)})},retrieveEngine(l,u){return t(this,void 0,void 0,function*(){const f=yield s.retrieveEngine(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},retrieveFile(l,u){return t(this,void 0,void 0,function*(){const f=yield s.retrieveFile(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},retrieveFineTune(l,u){return t(this,void 0,void 0,function*(){const f=yield s.retrieveFineTune(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})},retrieveModel(l,u){return t(this,void 0,void 0,function*(){const f=yield s.retrieveModel(l,u);return r.createRequestFunction(f,n.default,i.BASE_PATH,o)})}}},e.OpenAIApiFactory=function(o,s,l){const u=e.OpenAIApiFp(o);return{cancelFineTune(f,c){return u.cancelFineTune(f,c).then(d=>d(l,s))},createAnswer(f,c){return u.createAnswer(f,c).then(d=>d(l,s))},createChatCompletion(f,c){return u.createChatCompletion(f,c).then(d=>d(l,s))},createClassification(f,c){return u.createClassification(f,c).then(d=>d(l,s))},createCompletion(f,c){return u.createCompletion(f,c).then(d=>d(l,s))},createEdit(f,c){return u.createEdit(f,c).then(d=>d(l,s))},createEmbedding(f,c){return u.createEmbedding(f,c).then(d=>d(l,s))},createFile(f,c,d){return u.createFile(f,c,d).then(m=>m(l,s))},createFineTune(f,c){return u.createFineTune(f,c).then(d=>d(l,s))},createImage(f,c){return u.createImage(f,c).then(d=>d(l,s))},createImageEdit(f,c,d,m,g,v,S,p){return u.createImageEdit(f,c,d,m,g,v,S,p).then(h=>h(l,s))},createImageVariation(f,c,d,m,g,v){return u.createImageVariation(f,c,d,m,g,v).then(S=>S(l,s))},createModeration(f,c){return u.createModeration(f,c).then(d=>d(l,s))},createSearch(f,c,d){return u.createSearch(f,c,d).then(m=>m(l,s))},createTranscription(f,c,d,m,g,v,S){return u.createTranscription(f,c,d,m,g,v,S).then(p=>p(l,s))},createTranslation(f,c,d,m,g,v){return u.createTranslation(f,c,d,m,g,v).then(S=>S(l,s))},deleteFile(f,c){return u.deleteFile(f,c).then(d=>d(l,s))},deleteModel(f,c){return u.deleteModel(f,c).then(d=>d(l,s))},downloadFile(f,c){return u.downloadFile(f,c).then(d=>d(l,s))},listEngines(f){return u.listEngines(f).then(c=>c(l,s))},listFiles(f){return u.listFiles(f).then(c=>c(l,s))},listFineTuneEvents(f,c,d){return u.listFineTuneEvents(f,c,d).then(m=>m(l,s))},listFineTunes(f){return u.listFineTunes(f).then(c=>c(l,s))},listModels(f){return u.listModels(f).then(c=>c(l,s))},retrieveEngine(f,c){return u.retrieveEngine(f,c).then(d=>d(l,s))},retrieveFile(f,c){return u.retrieveFile(f,c).then(d=>d(l,s))},retrieveFineTune(f,c){return u.retrieveFineTune(f,c).then(d=>d(l,s))},retrieveModel(f,c){return u.retrieveModel(f,c).then(d=>d(l,s))}}};class a extends i.BaseAPI{cancelFineTune(s,l){return e.OpenAIApiFp(this.configuration).cancelFineTune(s,l).then(u=>u(this.axios,this.basePath))}createAnswer(s,l){return e.OpenAIApiFp(this.configuration).createAnswer(s,l).then(u=>u(this.axios,this.basePath))}createChatCompletion(s,l){return e.OpenAIApiFp(this.configuration).createChatCompletion(s,l).then(u=>u(this.axios,this.basePath))}createClassification(s,l){return e.OpenAIApiFp(this.configuration).createClassification(s,l).then(u=>u(this.axios,this.basePath))}createCompletion(s,l){return e.OpenAIApiFp(this.configuration).createCompletion(s,l).then(u=>u(this.axios,this.basePath))}createEdit(s,l){return e.OpenAIApiFp(this.configuration).createEdit(s,l).then(u=>u(this.axios,this.basePath))}createEmbedding(s,l){return e.OpenAIApiFp(this.configuration).createEmbedding(s,l).then(u=>u(this.axios,this.basePath))}createFile(s,l,u){return e.OpenAIApiFp(this.configuration).createFile(s,l,u).then(f=>f(this.axios,this.basePath))}createFineTune(s,l){return e.OpenAIApiFp(this.configuration).createFineTune(s,l).then(u=>u(this.axios,this.basePath))}createImage(s,l){return e.OpenAIApiFp(this.configuration).createImage(s,l).then(u=>u(this.axios,this.basePath))}createImageEdit(s,l,u,f,c,d,m,g){return e.OpenAIApiFp(this.configuration).createImageEdit(s,l,u,f,c,d,m,g).then(v=>v(this.axios,this.basePath))}createImageVariation(s,l,u,f,c,d){return e.OpenAIApiFp(this.configuration).createImageVariation(s,l,u,f,c,d).then(m=>m(this.axios,this.basePath))}createModeration(s,l){return e.OpenAIApiFp(this.configuration).createModeration(s,l).then(u=>u(this.axios,this.basePath))}createSearch(s,l,u){return e.OpenAIApiFp(this.configuration).createSearch(s,l,u).then(f=>f(this.axios,this.basePath))}createTranscription(s,l,u,f,c,d,m){return e.OpenAIApiFp(this.configuration).createTranscription(s,l,u,f,c,d,m).then(g=>g(this.axios,this.basePath))}createTranslation(s,l,u,f,c,d){return e.OpenAIApiFp(this.configuration).createTranslation(s,l,u,f,c,d).then(m=>m(this.axios,this.basePath))}deleteFile(s,l){return e.OpenAIApiFp(this.configuration).deleteFile(s,l).then(u=>u(this.axios,this.basePath))}deleteModel(s,l){return e.OpenAIApiFp(this.configuration).deleteModel(s,l).then(u=>u(this.axios,this.basePath))}downloadFile(s,l){return e.OpenAIApiFp(this.configuration).downloadFile(s,l).then(u=>u(this.axios,this.basePath))}listEngines(s){return e.OpenAIApiFp(this.configuration).listEngines(s).then(l=>l(this.axios,this.basePath))}listFiles(s){return e.OpenAIApiFp(this.configuration).listFiles(s).then(l=>l(this.axios,this.basePath))}listFineTuneEvents(s,l,u){return e.OpenAIApiFp(this.configuration).listFineTuneEvents(s,l,u).then(f=>f(this.axios,this.basePath))}listFineTunes(s){return e.OpenAIApiFp(this.configuration).listFineTunes(s).then(l=>l(this.axios,this.basePath))}listModels(s){return e.OpenAIApiFp(this.configuration).listModels(s).then(l=>l(this.axios,this.basePath))}retrieveEngine(s,l){return e.OpenAIApiFp(this.configuration).retrieveEngine(s,l).then(u=>u(this.axios,this.basePath))}retrieveFile(s,l){return e.OpenAIApiFp(this.configuration).retrieveFile(s,l).then(u=>u(this.axios,this.basePath))}retrieveFineTune(s,l){return e.OpenAIApiFp(this.configuration).retrieveFineTune(s,l).then(u=>u(this.axios,this.basePath))}retrieveModel(s,l){return e.OpenAIApiFp(this.configuration).retrieveModel(s,l).then(u=>u(this.axios,this.basePath))}}e.OpenAIApi=a})(ey);var Cs={};const PA="openai",CA="3.3.0",xA="Node.js library for the OpenAI API",_A={type:"git",url:"git@github.com:openai/openai-node.git"},AA=["openai","open","ai","gpt-3","gpt3"],kA="OpenAI",RA="MIT",FA="./dist/index.js",IA="./dist/index.d.ts",TA={build:"tsc --outDir dist/"},LA={axios:"^0.26.0","form-data":"^4.0.0"},MA={"@types/node":"^12.11.5",typescript:"^3.6.4"},NA={name:PA,version:CA,description:xA,repository:_A,keywords:AA,author:kA,license:RA,main:FA,types:IA,scripts:TA,dependencies:LA,devDependencies:MA};var Ll,Hm;function jA(){return Hm||(Hm=1,Ll=typeof self=="object"?self.FormData:window.FormData),Ll}Object.defineProperty(Cs,"__esModule",{value:!0});Cs.Configuration=void 0;const VA=NA;class DA{constructor(t={}){this.apiKey=t.apiKey,this.organization=t.organization,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.baseOptions=t.baseOptions,this.formDataCtor=t.formDataCtor,this.baseOptions||(this.baseOptions={}),this.baseOptions.headers=Object.assign({"User-Agent":`OpenAI/NodeJS/${VA.version}`,Authorization:`Bearer ${this.apiKey}`},this.baseOptions.headers),this.organization&&(this.baseOptions.headers["OpenAI-Organization"]=this.organization),this.formDataCtor||(this.formDataCtor=jA())}isJsonMime(t){const n=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return t!==null&&(n.test(t)||t.toLowerCase()==="application/json-patch+json")}}Cs.Configuration=DA;(function(e){var t=On&&On.__createBinding||(Object.create?function(r,i,a,o){o===void 0&&(o=a),Object.defineProperty(r,o,{enumerable:!0,get:function(){return i[a]}})}:function(r,i,a,o){o===void 0&&(o=a),r[o]=i[a]}),n=On&&On.__exportStar||function(r,i){for(var a in r)a!=="default"&&!i.hasOwnProperty(a)&&t(i,r,a)};Object.defineProperty(e,"__esModule",{value:!0}),n(ey,e),n(Cs,e)})(pc);const zA="_image_zdgqr_1",qm={image:zA},$A=({image:e,onClick:t})=>{const n=fg();return Z.jsx("div",{className:qm.cell,onClick:t,children:Z.jsx("img",{className:qm.image,src:`data:image/png;base64,${e.b64_json}`,alt:"",onLoad:()=>{n.updateHeight()}})})},Wm=[{value:"256x256",label:"256x256 px"},{value:"512x512",label:"512x512 px"},{value:"1024x1024",label:"1024x1024 px"}],Ym=[{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"},{value:8,label:"8"},{value:9,label:"9"},{value:10,label:"10"}],UA=()=>{const e=fg(),[t,n]=x.useState(""),[r,i]=x.useState([]),[a,o]=x.useState(1),[s,l]=x.useState("512x512"),[u,f]=x.useState(!1),c=x.useCallback(async S=>{e.select({resource:{base64:`data:image/png;base64,${S.b64_json}`,filename:`${t.substring(0,30)}.png`},notes:`Generated via DALL-E using prompt: "${t}"`,tags:["dall-e"],default_field_metadata:e.site.attributes.locales.reduce((p,h)=>h.startsWith("en")?{...p,[h]:{alt:t,title:null,custom_data:{}}}:{...p,[h]:{alt:null,title:null,custom_data:{}}},{})})},[t,e]),d=x.useCallback(async()=>{f(!0);const{apiKey:S}=e.plugin.attributes.parameters;S||e.alert("Please provide a valid OpenAI API key in plugin settings!");const h=await new pc.OpenAIApi(new pc.Configuration({apiKey:e.plugin.attributes.parameters.apiKey})).createImage({prompt:t,n:a,size:s,response_format:"b64_json"});return f(!1),{images:h.data.data,prompt:t,size:parseInt(s.split("x")[0])}},[s,a,t,f,e]),m=x.useCallback(async S=>{S&&S.preventDefault();try{const p=await d();i(h=>[p,...h])}catch(p){e.alert("Something went wrong!"),console.error("DALL-E plugin",p)}},[i,d,e]),g=x.useRef(null),v=fP(g);return Z.jsxs("div",{ref:g,children:[Z.jsxs("form",{className:Je.search,onSubmit:m,children:[Z.jsxs("div",{className:Je.searchFirstRow,children:[Z.jsx(i0,{value:t,placeholder:'Start with a detailed description, like "High quality photo of a monkey astronaut..."',onChange:S=>n(S),className:Je.search__input}),Z.jsx(ug,{type:"submit",buttonSize:"s",buttonType:"primary",disabled:u,leftIcon:Z.jsx(jf,{icon:x_}),children:"Generate"})]}),Z.jsxs("div",{className:Je.searchFirstRow,children:[Z.jsxs("div",{className:Je.searchFilter,children:[Z.jsx("div",{className:Je.searchFilterLabel,children:"Image size"}),Z.jsx(jp,{options:Wm,value:Wm.find(S=>S.value===s),isClearable:!1,onChange:S=>{l((S==null?void 0:S.value)||"512x512")}})]}),Z.jsxs("div",{className:Je.searchFilter,children:[Z.jsx("div",{className:Je.searchFilterLabel,children:"Number of variants to generate"}),Z.jsx(jp,{options:Ym,value:Ym.find(S=>S.value===a),onChange:S=>{o((S==null?void 0:S.value)||1)}})]})]})]}),Z.jsxs("div",{className:Je.container,children:[u&&Z.jsx(oP,{size:50,placement:"centered"}),r.map(S=>Z.jsxs("div",{className:Je.imageRequest,children:[Z.jsxs("div",{className:Je.imageRequestPrompt,children:['"',S.prompt,'"']}),Z.jsx("div",{className:rn(Je.imageRequestMasonry,{[Je.imageRequestMasonryLoading]:u}),style:{"--columns":Math.round(v.width/Math.min(512,S.size))},children:S.images.map(p=>Z.jsx($A,{image:p,onClick:c.bind(null,p)},p.url))})]},S.prompt))]})]})};b1({renderConfigScreen(e){return ap(Z.jsx(aC,{ctx:e}))},assetSources(){return[{id:"dall-e",name:"DALL-E",icon:{type:"svg",viewBox:"0 0 51 51",content:'<path d="M47.21,20.92a12.65,12.65,0,0,0-1.09-10.38A12.78,12.78,0,0,0,32.36,4.41,12.82,12.82,0,0,0,10.64,9a12.65,12.65,0,0,0-8.45,6.13,12.78,12.78,0,0,0,1.57,15A12.64,12.64,0,0,0,4.84,40.51a12.79,12.79,0,0,0,13.77,6.13,12.65,12.65,0,0,0,9.53,4.25A12.8,12.8,0,0,0,40.34,42a12.66,12.66,0,0,0,8.45-6.13A12.8,12.8,0,0,0,47.21,20.92ZM28.14,47.57a9.46,9.46,0,0,1-6.08-2.2l.3-.17,10.1-5.83a1.68,1.68,0,0,0,.83-1.44V23.69l4.27,2.47a.15.15,0,0,1,.08.11v11.8A9.52,9.52,0,0,1,28.14,47.57ZM7.72,38.85a9.45,9.45,0,0,1-1.13-6.37l.3.18L17,38.49a1.63,1.63,0,0,0,1.65,0L31,31.37V36.3a.17.17,0,0,1-.07.13L20.7,42.33A9.51,9.51,0,0,1,7.72,38.85Zm-2.66-22a9.48,9.48,0,0,1,5-4.17v12a1.62,1.62,0,0,0,.82,1.43L23.17,33.2,18.9,35.67a.16.16,0,0,1-.15,0L8.54,29.78A9.52,9.52,0,0,1,5.06,16.8ZM40.14,25,27.81,17.84l4.26-2.46a.16.16,0,0,1,.15,0l10.21,5.9A9.5,9.5,0,0,1,41,38.41v-12A1.67,1.67,0,0,0,40.14,25Zm4.25-6.39-.3-.18L34,12.55a1.64,1.64,0,0,0-1.66,0L20,19.67V14.74a.14.14,0,0,1,.06-.13L30.27,8.72a9.51,9.51,0,0,1,14.12,9.85ZM17.67,27.35,13.4,24.89a.17.17,0,0,1-.08-.12V13a9.51,9.51,0,0,1,15.59-7.3l-.3.17-10.1,5.83a1.68,1.68,0,0,0-.83,1.44Zm2.32-5,5.5-3.17L31,22.35v6.34l-5.49,3.17L20,28.69Z"></path>'},modal:{width:2e3}}]},renderAssetSource(e,t){ap(Z.jsx(dg,{ctx:t,children:Z.jsx(UA,{})}))}});
|