UNPKG

react-layout-print

Version:

A React component to print, preview, and export complex web page layouts to PDF, JPEG, and SVG. Ideal for HTML to PDF conversions.

63 lines (61 loc) 289 kB
(function(Be,Ea){typeof exports=="object"&&typeof module<"u"?module.exports=Ea(require("react"),require("jspdf"),require("html-to-image"),require("react-modal"),require("react-spinners"),require("react-iframe")):typeof define=="function"&&define.amd?define(["react","jspdf","html-to-image","react-modal","react-spinners","react-iframe"],Ea):(Be=typeof globalThis<"u"?globalThis:Be||self,Be.ReactLayoutPrint=Ea(Be.React,Be.jsPDF,Be.htmlToImage,Be.Modal,Be.reactSpinners,Be.Iframe))})(this,(function(Be,Ea,bi,fl,gs,$s){"use strict";function Ns(O){return O&&O.__esModule&&Object.prototype.hasOwnProperty.call(O,"default")?O.default:O}var Si={exports:{}},Ca={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ms;function Vs(){if(ms)return Ca;ms=1;var O=Be,C=Symbol.for("react.element"),W=Symbol.for("react.fragment"),N=Object.prototype.hasOwnProperty,h=O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,$={key:!0,ref:!0,__self:!0,__source:!0};function ve(G,b,k){var re,P={},K=null,Ae=null;k!==void 0&&(K=""+k),b.key!==void 0&&(K=""+b.key),b.ref!==void 0&&(Ae=b.ref);for(re in b)N.call(b,re)&&!$.hasOwnProperty(re)&&(P[re]=b[re]);if(G&&G.defaultProps)for(re in b=G.defaultProps,b)P[re]===void 0&&(P[re]=b[re]);return{$$typeof:C,type:G,key:K,ref:Ae,props:P,_owner:h.current}}return Ca.Fragment=W,Ca.jsx=ve,Ca.jsxs=ve,Ca}var Ra={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ys;function Ys(){return ys||(ys=1,process.env.NODE_ENV!=="production"&&(function(){var O=Be,C=Symbol.for("react.element"),W=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),ve=Symbol.for("react.provider"),G=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),Ae=Symbol.for("react.offscreen"),Se=Symbol.iterator,ke="@@iterator";function z(y){if(y===null||typeof y!="object")return null;var D=Se&&y[Se]||y[ke];return typeof D=="function"?D:null}var I=O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function ce(y){{for(var D=arguments.length,V=new Array(D>1?D-1:0),ee=1;ee<D;ee++)V[ee-1]=arguments[ee];De("error",y,V)}}function De(y,D,V){{var ee=I.ReactDebugCurrentFrame,he=ee.getStackAddendum();he!==""&&(D+="%s",V=V.concat([he]));var we=V.map(function(me){return String(me)});we.unshift("Warning: "+D),Function.prototype.apply.call(console[y],console,we)}}var be=!1,L=!1,Ee=!1,ge=!1,lt=!1,Ce;Ce=Symbol.for("react.module.reference");function st(y){return!!(typeof y=="string"||typeof y=="function"||y===N||y===$||lt||y===h||y===k||y===re||ge||y===Ae||be||L||Ee||typeof y=="object"&&y!==null&&(y.$$typeof===K||y.$$typeof===P||y.$$typeof===ve||y.$$typeof===G||y.$$typeof===b||y.$$typeof===Ce||y.getModuleId!==void 0))}function nt(y,D,V){var ee=y.displayName;if(ee)return ee;var he=D.displayName||D.name||"";return he!==""?V+"("+he+")":V}function He(y){return y.displayName||"Context"}function Ze(y){if(y==null)return null;if(typeof y.tag=="number"&&ce("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case N:return"Fragment";case W:return"Portal";case $:return"Profiler";case h:return"StrictMode";case k:return"Suspense";case re:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case G:var D=y;return He(D)+".Consumer";case ve:var V=y;return He(V._context)+".Provider";case b:return nt(y,y.render,"ForwardRef");case P:var ee=y.displayName||null;return ee!==null?ee:Ze(y.type)||"Memo";case K:{var he=y,we=he._payload,me=he._init;try{return Ze(me(we))}catch{return null}}}return null}var Le=Object.assign,ct=0,tt,it,ot,fe,A,j,J;function ae(){}ae.__reactDisabledLog=!0;function Q(){{if(ct===0){tt=console.log,it=console.info,ot=console.warn,fe=console.error,A=console.group,j=console.groupCollapsed,J=console.groupEnd;var y={configurable:!0,enumerable:!0,value:ae,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}ct++}}function Z(){{if(ct--,ct===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Le({},y,{value:tt}),info:Le({},y,{value:it}),warn:Le({},y,{value:ot}),error:Le({},y,{value:fe}),group:Le({},y,{value:A}),groupCollapsed:Le({},y,{value:j}),groupEnd:Le({},y,{value:J})})}ct<0&&ce("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var X=I.ReactCurrentDispatcher,ne;function oe(y,D,V){{if(ne===void 0)try{throw Error()}catch(he){var ee=he.stack.trim().match(/\n( *(at )?)/);ne=ee&&ee[1]||""}return` `+ne+y}}var ie=!1,le;{var Te=typeof WeakMap=="function"?WeakMap:Map;le=new Te}function H(y,D){if(!y||ie)return"";{var V=le.get(y);if(V!==void 0)return V}var ee;ie=!0;var he=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var we;we=X.current,X.current=null,Q();try{if(D){var me=function(){throw Error()};if(Object.defineProperty(me.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(me,[])}catch(Ge){ee=Ge}Reflect.construct(y,[],me)}else{try{me.call()}catch(Ge){ee=Ge}y.call(me.prototype)}}else{try{throw Error()}catch(Ge){ee=Ge}y()}}catch(Ge){if(Ge&&ee&&typeof Ge.stack=="string"){for(var pe=Ge.stack.split(` `),Ye=ee.stack.split(` `),Ie=pe.length-1,je=Ye.length-1;Ie>=1&&je>=0&&pe[Ie]!==Ye[je];)je--;for(;Ie>=1&&je>=0;Ie--,je--)if(pe[Ie]!==Ye[je]){if(Ie!==1||je!==1)do if(Ie--,je--,je<0||pe[Ie]!==Ye[je]){var ze=` `+pe[Ie].replace(" at new "," at ");return y.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",y.displayName)),typeof y=="function"&&le.set(y,ze),ze}while(Ie>=1&&je>=0);break}}}finally{ie=!1,X.current=we,Z(),Error.prepareStackTrace=he}var Ut=y?y.displayName||y.name:"",At=Ut?oe(Ut):"";return typeof y=="function"&&le.set(y,At),At}function Re(y,D,V){return H(y,!1)}function Ve(y){var D=y.prototype;return!!(D&&D.isReactComponent)}function ft(y,D,V){if(y==null)return"";if(typeof y=="function")return H(y,Ve(y));if(typeof y=="string")return oe(y);switch(y){case k:return oe("Suspense");case re:return oe("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case b:return Re(y.render);case P:return ft(y.type,D,V);case K:{var ee=y,he=ee._payload,we=ee._init;try{return ft(we(he),D,V)}catch{}}}return""}var Tt=Object.prototype.hasOwnProperty,kr={},mt=I.ReactDebugCurrentFrame;function It(y){if(y){var D=y._owner,V=ft(y.type,y._source,D?D.type:null);mt.setExtraStackFrame(V)}else mt.setExtraStackFrame(null)}function tr(y,D,V,ee,he){{var we=Function.call.bind(Tt);for(var me in y)if(we(y,me)){var pe=void 0;try{if(typeof y[me]!="function"){var Ye=Error((ee||"React class")+": "+V+" type `"+me+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[me]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ye.name="Invariant Violation",Ye}pe=y[me](D,me,ee,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ie){pe=Ie}pe&&!(pe instanceof Error)&&(It(he),ce("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ee||"React class",V,me,typeof pe),It(null)),pe instanceof Error&&!(pe.message in kr)&&(kr[pe.message]=!0,It(he),ce("Failed %s type: %s",V,pe.message),It(null))}}}var Hr=Array.isArray;function vt(y){return Hr(y)}function ut(y){{var D=typeof Symbol=="function"&&Symbol.toStringTag,V=D&&y[Symbol.toStringTag]||y.constructor.name||"Object";return V}}function rt(y){try{return lr(y),!1}catch{return!0}}function lr(y){return""+y}function sr(y){if(rt(y))return ce("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ut(y)),lr(y)}var ur=I.ReactCurrentOwner,Ke={key:!0,ref:!0,__self:!0,__source:!0},cr,Tr;function zr(y){if(Tt.call(y,"ref")){var D=Object.getOwnPropertyDescriptor(y,"ref").get;if(D&&D.isReactWarning)return!1}return y.ref!==void 0}function Er(y){if(Tt.call(y,"key")){var D=Object.getOwnPropertyDescriptor(y,"key").get;if(D&&D.isReactWarning)return!1}return y.key!==void 0}function fr(y,D){typeof y.ref=="string"&&ur.current}function en(y,D){{var V=function(){cr||(cr=!0,ce("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",D))};V.isReactWarning=!0,Object.defineProperty(y,"key",{get:V,configurable:!0})}}function Cr(y,D){{var V=function(){Tr||(Tr=!0,ce("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",D))};V.isReactWarning=!0,Object.defineProperty(y,"ref",{get:V,configurable:!0})}}var Jt=function(y,D,V,ee,he,we,me){var pe={$$typeof:C,type:y,key:D,ref:V,props:me,_owner:we};return pe._store={},Object.defineProperty(pe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(pe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.defineProperty(pe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:he}),Object.freeze&&(Object.freeze(pe.props),Object.freeze(pe)),pe};function Rr(y,D,V,ee,he){{var we,me={},pe=null,Ye=null;V!==void 0&&(sr(V),pe=""+V),Er(D)&&(sr(D.key),pe=""+D.key),zr(D)&&(Ye=D.ref,fr(D,he));for(we in D)Tt.call(D,we)&&!Ke.hasOwnProperty(we)&&(me[we]=D[we]);if(y&&y.defaultProps){var Ie=y.defaultProps;for(we in Ie)me[we]===void 0&&(me[we]=Ie[we])}if(pe||Ye){var je=typeof y=="function"?y.displayName||y.name||"Unknown":y;pe&&en(me,je),Ye&&Cr(me,je)}return Jt(y,pe,Ye,he,ee,ur.current,me)}}var dr=I.ReactCurrentOwner,dt=I.ReactDebugCurrentFrame;function pt(y){if(y){var D=y._owner,V=ft(y.type,y._source,D?D.type:null);dt.setExtraStackFrame(V)}else dt.setExtraStackFrame(null)}var _t;_t=!1;function Pe(y){return typeof y=="object"&&y!==null&&y.$$typeof===C}function Bt(){{if(dr.current){var y=Ze(dr.current.type);if(y)return` Check the render method of \``+y+"`."}return""}}function pr(y){return""}var Zt={};function Ft(y){{var D=Bt();if(!D){var V=typeof y=="string"?y:y.displayName||y.name;V&&(D=` Check the top-level render call using <`+V+">.")}return D}}function rr(y,D){{if(!y._store||y._store.validated||y.key!=null)return;y._store.validated=!0;var V=Ft(D);if(Zt[V])return;Zt[V]=!0;var ee="";y&&y._owner&&y._owner!==dr.current&&(ee=" It was passed a child from "+Ze(y._owner.type)+"."),pt(y),ce('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',V,ee),pt(null)}}function Ot(y,D){{if(typeof y!="object")return;if(vt(y))for(var V=0;V<y.length;V++){var ee=y[V];Pe(ee)&&rr(ee,D)}else if(Pe(y))y._store&&(y._store.validated=!0);else if(y){var he=z(y);if(typeof he=="function"&&he!==y.entries)for(var we=he.call(y),me;!(me=we.next()).done;)Pe(me.value)&&rr(me.value,D)}}}function at(y){{var D=y.type;if(D==null||typeof D=="string")return;var V;if(typeof D=="function")V=D.propTypes;else if(typeof D=="object"&&(D.$$typeof===b||D.$$typeof===P))V=D.propTypes;else return;if(V){var ee=Ze(D);tr(V,y.props,"prop",ee,y)}else if(D.PropTypes!==void 0&&!_t){_t=!0;var he=Ze(D);ce("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof D.getDefaultProps=="function"&&!D.getDefaultProps.isReactClassApproved&&ce("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Pr(y){{for(var D=Object.keys(y.props),V=0;V<D.length;V++){var ee=D[V];if(ee!=="children"&&ee!=="key"){pt(y),ce("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ee),pt(null);break}}y.ref!==null&&(pt(y),ce("Invalid attribute `ref` supplied to `React.Fragment`."),pt(null))}}var hr={};function Ir(y,D,V,ee,he,we){{var me=st(y);if(!me){var pe="";(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(pe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ye=pr();Ye?pe+=Ye:pe+=Bt();var Ie;y===null?Ie="null":vt(y)?Ie="array":y!==void 0&&y.$$typeof===C?(Ie="<"+(Ze(y.type)||"Unknown")+" />",pe=" Did you accidentally export a JSX literal instead of a component?"):Ie=typeof y,ce("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ie,pe)}var je=Rr(y,D,V,he,we);if(je==null)return je;if(me){var ze=D.children;if(ze!==void 0)if(ee)if(vt(ze)){for(var Ut=0;Ut<ze.length;Ut++)Ot(ze[Ut],y);Object.freeze&&Object.freeze(ze)}else ce("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ot(ze,y)}if(Tt.call(D,"key")){var At=Ze(y),Ge=Object.keys(D).filter(function(Mt){return Mt!=="key"}),Xe=Ge.length>0?"{key: someKey, "+Ge.join(": ..., ")+": ...}":"{key: someKey}";if(!hr[At+Xe]){var Dt=Ge.length>0?"{"+Ge.join(": ..., ")+": ...}":"{}";ce(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`,Xe,At,Dt,At),hr[At+Xe]=!0}}return y===N?Pr(je):at(je),je}}function qe(y,D,V){return Ir(y,D,V,!0)}function _r(y,D,V){return Ir(y,D,V,!1)}var tn=_r,rn=qe;Ra.Fragment=N,Ra.jsx=tn,Ra.jsxs=rn})()),Ra}var bs;function Gs(){return bs||(bs=1,process.env.NODE_ENV==="production"?Si.exports=Vs():Si.exports=Ys()),Si.exports}var Oe=Gs(),xi={exports:{}},wi={exports:{}},Ue={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Ss;function Xs(){if(Ss)return Ue;Ss=1;var O=typeof Symbol=="function"&&Symbol.for,C=O?Symbol.for("react.element"):60103,W=O?Symbol.for("react.portal"):60106,N=O?Symbol.for("react.fragment"):60107,h=O?Symbol.for("react.strict_mode"):60108,$=O?Symbol.for("react.profiler"):60114,ve=O?Symbol.for("react.provider"):60109,G=O?Symbol.for("react.context"):60110,b=O?Symbol.for("react.async_mode"):60111,k=O?Symbol.for("react.concurrent_mode"):60111,re=O?Symbol.for("react.forward_ref"):60112,P=O?Symbol.for("react.suspense"):60113,K=O?Symbol.for("react.suspense_list"):60120,Ae=O?Symbol.for("react.memo"):60115,Se=O?Symbol.for("react.lazy"):60116,ke=O?Symbol.for("react.block"):60121,z=O?Symbol.for("react.fundamental"):60117,I=O?Symbol.for("react.responder"):60118,ce=O?Symbol.for("react.scope"):60119;function De(L){if(typeof L=="object"&&L!==null){var Ee=L.$$typeof;switch(Ee){case C:switch(L=L.type,L){case b:case k:case N:case $:case h:case P:return L;default:switch(L=L&&L.$$typeof,L){case G:case re:case Se:case Ae:case ve:return L;default:return Ee}}case W:return Ee}}}function be(L){return De(L)===k}return Ue.AsyncMode=b,Ue.ConcurrentMode=k,Ue.ContextConsumer=G,Ue.ContextProvider=ve,Ue.Element=C,Ue.ForwardRef=re,Ue.Fragment=N,Ue.Lazy=Se,Ue.Memo=Ae,Ue.Portal=W,Ue.Profiler=$,Ue.StrictMode=h,Ue.Suspense=P,Ue.isAsyncMode=function(L){return be(L)||De(L)===b},Ue.isConcurrentMode=be,Ue.isContextConsumer=function(L){return De(L)===G},Ue.isContextProvider=function(L){return De(L)===ve},Ue.isElement=function(L){return typeof L=="object"&&L!==null&&L.$$typeof===C},Ue.isForwardRef=function(L){return De(L)===re},Ue.isFragment=function(L){return De(L)===N},Ue.isLazy=function(L){return De(L)===Se},Ue.isMemo=function(L){return De(L)===Ae},Ue.isPortal=function(L){return De(L)===W},Ue.isProfiler=function(L){return De(L)===$},Ue.isStrictMode=function(L){return De(L)===h},Ue.isSuspense=function(L){return De(L)===P},Ue.isValidElementType=function(L){return typeof L=="string"||typeof L=="function"||L===N||L===k||L===$||L===h||L===P||L===K||typeof L=="object"&&L!==null&&(L.$$typeof===Se||L.$$typeof===Ae||L.$$typeof===ve||L.$$typeof===G||L.$$typeof===re||L.$$typeof===z||L.$$typeof===I||L.$$typeof===ce||L.$$typeof===ke)},Ue.typeOf=De,Ue}var We={};/** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var xs;function Js(){return xs||(xs=1,process.env.NODE_ENV!=="production"&&(function(){var O=typeof Symbol=="function"&&Symbol.for,C=O?Symbol.for("react.element"):60103,W=O?Symbol.for("react.portal"):60106,N=O?Symbol.for("react.fragment"):60107,h=O?Symbol.for("react.strict_mode"):60108,$=O?Symbol.for("react.profiler"):60114,ve=O?Symbol.for("react.provider"):60109,G=O?Symbol.for("react.context"):60110,b=O?Symbol.for("react.async_mode"):60111,k=O?Symbol.for("react.concurrent_mode"):60111,re=O?Symbol.for("react.forward_ref"):60112,P=O?Symbol.for("react.suspense"):60113,K=O?Symbol.for("react.suspense_list"):60120,Ae=O?Symbol.for("react.memo"):60115,Se=O?Symbol.for("react.lazy"):60116,ke=O?Symbol.for("react.block"):60121,z=O?Symbol.for("react.fundamental"):60117,I=O?Symbol.for("react.responder"):60118,ce=O?Symbol.for("react.scope"):60119;function De(H){return typeof H=="string"||typeof H=="function"||H===N||H===k||H===$||H===h||H===P||H===K||typeof H=="object"&&H!==null&&(H.$$typeof===Se||H.$$typeof===Ae||H.$$typeof===ve||H.$$typeof===G||H.$$typeof===re||H.$$typeof===z||H.$$typeof===I||H.$$typeof===ce||H.$$typeof===ke)}function be(H){if(typeof H=="object"&&H!==null){var Re=H.$$typeof;switch(Re){case C:var Ve=H.type;switch(Ve){case b:case k:case N:case $:case h:case P:return Ve;default:var ft=Ve&&Ve.$$typeof;switch(ft){case G:case re:case Se:case Ae:case ve:return ft;default:return Re}}case W:return Re}}}var L=b,Ee=k,ge=G,lt=ve,Ce=C,st=re,nt=N,He=Se,Ze=Ae,Le=W,ct=$,tt=h,it=P,ot=!1;function fe(H){return ot||(ot=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),A(H)||be(H)===b}function A(H){return be(H)===k}function j(H){return be(H)===G}function J(H){return be(H)===ve}function ae(H){return typeof H=="object"&&H!==null&&H.$$typeof===C}function Q(H){return be(H)===re}function Z(H){return be(H)===N}function X(H){return be(H)===Se}function ne(H){return be(H)===Ae}function oe(H){return be(H)===W}function ie(H){return be(H)===$}function le(H){return be(H)===h}function Te(H){return be(H)===P}We.AsyncMode=L,We.ConcurrentMode=Ee,We.ContextConsumer=ge,We.ContextProvider=lt,We.Element=Ce,We.ForwardRef=st,We.Fragment=nt,We.Lazy=He,We.Memo=Ze,We.Portal=Le,We.Profiler=ct,We.StrictMode=tt,We.Suspense=it,We.isAsyncMode=fe,We.isConcurrentMode=A,We.isContextConsumer=j,We.isContextProvider=J,We.isElement=ae,We.isForwardRef=Q,We.isFragment=Z,We.isLazy=X,We.isMemo=ne,We.isPortal=oe,We.isProfiler=ie,We.isStrictMode=le,We.isSuspense=Te,We.isValidElementType=De,We.typeOf=be})()),We}var ws;function ks(){return ws||(ws=1,process.env.NODE_ENV==="production"?wi.exports=Xs():wi.exports=Js()),wi.exports}/* object-assign (c) Sindre Sorhus @license MIT */var dl,Ts;function Zs(){if(Ts)return dl;Ts=1;var O=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;function N($){if($==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object($)}function h(){try{if(!Object.assign)return!1;var $=new String("abc");if($[5]="de",Object.getOwnPropertyNames($)[0]==="5")return!1;for(var ve={},G=0;G<10;G++)ve["_"+String.fromCharCode(G)]=G;var b=Object.getOwnPropertyNames(ve).map(function(re){return ve[re]});if(b.join("")!=="0123456789")return!1;var k={};return"abcdefghijklmnopqrst".split("").forEach(function(re){k[re]=re}),Object.keys(Object.assign({},k)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return dl=h()?Object.assign:function($,ve){for(var G,b=N($),k,re=1;re<arguments.length;re++){G=Object(arguments[re]);for(var P in G)C.call(G,P)&&(b[P]=G[P]);if(O){k=O(G);for(var K=0;K<k.length;K++)W.call(G,k[K])&&(b[k[K]]=G[k[K]])}}return b},dl}var pl,Es;function hl(){if(Es)return pl;Es=1;var O="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return pl=O,pl}var vl,Cs;function Rs(){return Cs||(Cs=1,vl=Function.call.bind(Object.prototype.hasOwnProperty)),vl}var gl,Ps;function Qs(){if(Ps)return gl;Ps=1;var O=function(){};if(process.env.NODE_ENV!=="production"){var C=hl(),W={},N=Rs();O=function($){var ve="Warning: "+$;typeof console<"u"&&console.error(ve);try{throw new Error(ve)}catch{}}}function h($,ve,G,b,k){if(process.env.NODE_ENV!=="production"){for(var re in $)if(N($,re)){var P;try{if(typeof $[re]!="function"){var K=Error((b||"React class")+": "+G+" type `"+re+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof $[re]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw K.name="Invariant Violation",K}P=$[re](ve,re,b,G,null,C)}catch(Se){P=Se}if(P&&!(P instanceof Error)&&O((b||"React class")+": type specification of "+G+" `"+re+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof P+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),P instanceof Error&&!(P.message in W)){W[P.message]=!0;var Ae=k?k():"";O("Failed "+G+" type: "+P.message+(Ae??""))}}}}return h.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(W={})},gl=h,gl}var ml,Is;function Ks(){if(Is)return ml;Is=1;var O=ks(),C=Zs(),W=hl(),N=Rs(),h=Qs(),$=function(){};process.env.NODE_ENV!=="production"&&($=function(G){var b="Warning: "+G;typeof console<"u"&&console.error(b);try{throw new Error(b)}catch{}});function ve(){return null}return ml=function(G,b){var k=typeof Symbol=="function"&&Symbol.iterator,re="@@iterator";function P(A){var j=A&&(k&&A[k]||A[re]);if(typeof j=="function")return j}var K="<<anonymous>>",Ae={array:I("array"),bigint:I("bigint"),bool:I("boolean"),func:I("function"),number:I("number"),object:I("object"),string:I("string"),symbol:I("symbol"),any:ce(),arrayOf:De,element:be(),elementType:L(),instanceOf:Ee,node:st(),objectOf:lt,oneOf:ge,oneOfType:Ce,shape:He,exact:Ze};function Se(A,j){return A===j?A!==0||1/A===1/j:A!==A&&j!==j}function ke(A,j){this.message=A,this.data=j&&typeof j=="object"?j:{},this.stack=""}ke.prototype=Error.prototype;function z(A){if(process.env.NODE_ENV!=="production")var j={},J=0;function ae(Z,X,ne,oe,ie,le,Te){if(oe=oe||K,le=le||ne,Te!==W){if(b){var H=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 H.name="Invariant Violation",H}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Re=oe+":"+ne;!j[Re]&&J<3&&($("You are manually calling a React.PropTypes validation function for the `"+le+"` prop on `"+oe+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),j[Re]=!0,J++)}}return X[ne]==null?Z?X[ne]===null?new ke("The "+ie+" `"+le+"` is marked as required "+("in `"+oe+"`, but its value is `null`.")):new ke("The "+ie+" `"+le+"` is marked as required in "+("`"+oe+"`, but its value is `undefined`.")):null:A(X,ne,oe,ie,le)}var Q=ae.bind(null,!1);return Q.isRequired=ae.bind(null,!0),Q}function I(A){function j(J,ae,Q,Z,X,ne){var oe=J[ae],ie=tt(oe);if(ie!==A){var le=it(oe);return new ke("Invalid "+Z+" `"+X+"` of type "+("`"+le+"` supplied to `"+Q+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return z(j)}function ce(){return z(ve)}function De(A){function j(J,ae,Q,Z,X){if(typeof A!="function")return new ke("Property `"+X+"` of component `"+Q+"` has invalid PropType notation inside arrayOf.");var ne=J[ae];if(!Array.isArray(ne)){var oe=tt(ne);return new ke("Invalid "+Z+" `"+X+"` of type "+("`"+oe+"` supplied to `"+Q+"`, expected an array."))}for(var ie=0;ie<ne.length;ie++){var le=A(ne,ie,Q,Z,X+"["+ie+"]",W);if(le instanceof Error)return le}return null}return z(j)}function be(){function A(j,J,ae,Q,Z){var X=j[J];if(!G(X)){var ne=tt(X);return new ke("Invalid "+Q+" `"+Z+"` of type "+("`"+ne+"` supplied to `"+ae+"`, expected a single ReactElement."))}return null}return z(A)}function L(){function A(j,J,ae,Q,Z){var X=j[J];if(!O.isValidElementType(X)){var ne=tt(X);return new ke("Invalid "+Q+" `"+Z+"` of type "+("`"+ne+"` supplied to `"+ae+"`, expected a single ReactElement type."))}return null}return z(A)}function Ee(A){function j(J,ae,Q,Z,X){if(!(J[ae]instanceof A)){var ne=A.name||K,oe=fe(J[ae]);return new ke("Invalid "+Z+" `"+X+"` of type "+("`"+oe+"` supplied to `"+Q+"`, expected ")+("instance of `"+ne+"`."))}return null}return z(j)}function ge(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&(arguments.length>1?$("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):$("Invalid argument supplied to oneOf, expected an array.")),ve;function j(J,ae,Q,Z,X){for(var ne=J[ae],oe=0;oe<A.length;oe++)if(Se(ne,A[oe]))return null;var ie=JSON.stringify(A,function(Te,H){var Re=it(H);return Re==="symbol"?String(H):H});return new ke("Invalid "+Z+" `"+X+"` of value `"+String(ne)+"` "+("supplied to `"+Q+"`, expected one of "+ie+"."))}return z(j)}function lt(A){function j(J,ae,Q,Z,X){if(typeof A!="function")return new ke("Property `"+X+"` of component `"+Q+"` has invalid PropType notation inside objectOf.");var ne=J[ae],oe=tt(ne);if(oe!=="object")return new ke("Invalid "+Z+" `"+X+"` of type "+("`"+oe+"` supplied to `"+Q+"`, expected an object."));for(var ie in ne)if(N(ne,ie)){var le=A(ne,ie,Q,Z,X+"."+ie,W);if(le instanceof Error)return le}return null}return z(j)}function Ce(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&$("Invalid argument supplied to oneOfType, expected an instance of array."),ve;for(var j=0;j<A.length;j++){var J=A[j];if(typeof J!="function")return $("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ot(J)+" at index "+j+"."),ve}function ae(Q,Z,X,ne,oe){for(var ie=[],le=0;le<A.length;le++){var Te=A[le],H=Te(Q,Z,X,ne,oe,W);if(H==null)return null;H.data&&N(H.data,"expectedType")&&ie.push(H.data.expectedType)}var Re=ie.length>0?", expected one of type ["+ie.join(", ")+"]":"";return new ke("Invalid "+ne+" `"+oe+"` supplied to "+("`"+X+"`"+Re+"."))}return z(ae)}function st(){function A(j,J,ae,Q,Z){return Le(j[J])?null:new ke("Invalid "+Q+" `"+Z+"` supplied to "+("`"+ae+"`, expected a ReactNode."))}return z(A)}function nt(A,j,J,ae,Q){return new ke((A||"React class")+": "+j+" type `"+J+"."+ae+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Q+"`.")}function He(A){function j(J,ae,Q,Z,X){var ne=J[ae],oe=tt(ne);if(oe!=="object")return new ke("Invalid "+Z+" `"+X+"` of type `"+oe+"` "+("supplied to `"+Q+"`, expected `object`."));for(var ie in A){var le=A[ie];if(typeof le!="function")return nt(Q,Z,X,ie,it(le));var Te=le(ne,ie,Q,Z,X+"."+ie,W);if(Te)return Te}return null}return z(j)}function Ze(A){function j(J,ae,Q,Z,X){var ne=J[ae],oe=tt(ne);if(oe!=="object")return new ke("Invalid "+Z+" `"+X+"` of type `"+oe+"` "+("supplied to `"+Q+"`, expected `object`."));var ie=C({},J[ae],A);for(var le in ie){var Te=A[le];if(N(A,le)&&typeof Te!="function")return nt(Q,Z,X,le,it(Te));if(!Te)return new ke("Invalid "+Z+" `"+X+"` key `"+le+"` supplied to `"+Q+"`.\nBad object: "+JSON.stringify(J[ae],null," ")+` Valid keys: `+JSON.stringify(Object.keys(A),null," "));var H=Te(ne,le,Q,Z,X+"."+le,W);if(H)return H}return null}return z(j)}function Le(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(Le);if(A===null||G(A))return!0;var j=P(A);if(j){var J=j.call(A),ae;if(j!==A.entries){for(;!(ae=J.next()).done;)if(!Le(ae.value))return!1}else for(;!(ae=J.next()).done;){var Q=ae.value;if(Q&&!Le(Q[1]))return!1}}else return!1;return!0;default:return!1}}function ct(A,j){return A==="symbol"?!0:j?j["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&j instanceof Symbol:!1}function tt(A){var j=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":ct(j,A)?"symbol":j}function it(A){if(typeof A>"u"||A===null)return""+A;var j=tt(A);if(j==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return j}function ot(A){var j=it(A);switch(j){case"array":case"object":return"an "+j;case"boolean":case"date":case"regexp":return"a "+j;default:return j}}function fe(A){return!A.constructor||!A.constructor.name?K:A.constructor.name}return Ae.checkPropTypes=h,Ae.resetWarningCache=h.resetWarningCache,Ae.PropTypes=Ae,Ae},ml}var yl,_s;function qs(){if(_s)return yl;_s=1;var O=hl();function C(){}function W(){}return W.resetWarningCache=C,yl=function(){function N(ve,G,b,k,re,P){if(P!==O){var K=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 K.name="Invariant Violation",K}}N.isRequired=N;function h(){return N}var $={array:N,bigint:N,bool:N,func:N,number:N,object:N,string:N,symbol:N,any:N,arrayOf:h,element:N,elementType:N,instanceOf:h,node:N,objectOf:h,oneOf:h,oneOfType:h,shape:h,exact:h,checkPropTypes:W,resetWarningCache:C};return $.PropTypes=$,$},yl}var Fs;function eu(){if(Fs)return xi.exports;if(Fs=1,process.env.NODE_ENV!=="production"){var O=ks(),C=!0;xi.exports=Ks()(O.isElement,C)}else xi.exports=qs()();return xi.exports}var tu=eu();const kt=Ns(tu);var Os={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},As=Be.createContext&&Be.createContext(Os),bn=function(){return bn=Object.assign||function(O){for(var C,W=1,N=arguments.length;W<N;W++){C=arguments[W];for(var h in C)Object.prototype.hasOwnProperty.call(C,h)&&(O[h]=C[h])}return O},bn.apply(this,arguments)},ru=function(O,C){var W={};for(var N in O)Object.prototype.hasOwnProperty.call(O,N)&&C.indexOf(N)<0&&(W[N]=O[N]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,N=Object.getOwnPropertySymbols(O);h<N.length;h++)C.indexOf(N[h])<0&&Object.prototype.propertyIsEnumerable.call(O,N[h])&&(W[N[h]]=O[N[h]]);return W};function Ds(O){return O&&O.map(function(C,W){return Be.createElement(C.tag,bn({key:W},C.attr),Ds(C.child))})}function bl(O){return function(C){return Be.createElement(nu,bn({attr:bn({},O.attr)},C),Ds(O.child))}}function nu(O){var C=function(W){var N=O.attr,h=O.size,$=O.title,ve=ru(O,["attr","size","title"]),G=h||W.size||"1em",b;return W.className&&(b=W.className),O.className&&(b=(b?b+" ":"")+O.className),Be.createElement("svg",bn({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},W.attr,N,ve,{className:b,style:bn(bn({color:O.color||W.color},W.style),O.style),height:G,width:G,xmlns:"http://www.w3.org/2000/svg"}),$&&Be.createElement("title",null,$),O.children)};return As!==void 0?Be.createElement(As.Consumer,null,function(W){return C(W)}):C(Os)}function ou(O){return bl({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M448 192V77.25c0-8.49-3.37-16.62-9.37-22.63L393.37 9.37c-6-6-14.14-9.37-22.63-9.37H96C78.33 0 64 14.33 64 32v160c-35.35 0-64 28.65-64 64v112c0 8.84 7.16 16 16 16h48v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h48c8.84 0 16-7.16 16-16V256c0-35.35-28.65-64-64-64zm-64 256H128v-96h256v96zm0-224H128V64h192v48c0 8.84 7.16 16 16 16h48v96zm48 72c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"}}]})(O)}function Ms(O){return bl({attr:{viewBox:"0 0 1024 1024",fill:"currentColor",fillRule:"evenodd"},child:[{tag:"path",attr:{d:"M799.855 166.312c.023.007.043.018.084.059l57.69 57.69c.041.041.052.06.059.084a.118.118 0 0 1 0 .069c-.007.023-.018.042-.059.083L569.926 512l287.703 287.703c.041.04.052.06.059.083a.118.118 0 0 1 0 .07c-.007.022-.018.042-.059.083l-57.69 57.69c-.041.041-.06.052-.084.059a.118.118 0 0 1-.069 0c-.023-.007-.042-.018-.083-.059L512 569.926 224.297 857.629c-.04.041-.06.052-.083.059a.118.118 0 0 1-.07 0c-.022-.007-.042-.018-.083-.059l-57.69-57.69c-.041-.041-.052-.06-.059-.084a.118.118 0 0 1 0-.069c.007-.023.018-.042.059-.083L454.073 512 166.371 224.297c-.041-.04-.052-.06-.059-.083a.118.118 0 0 1 0-.07c.007-.022.018-.042.059-.083l57.69-57.69c.041-.041.06-.052.084-.059a.118.118 0 0 1 .069 0c.023.007.042.018.083.059L512 454.073l287.703-287.702c.04-.041.06-.052.083-.059a.118.118 0 0 1 .07 0Z"}}]})(O)}function au(O){return bl({attr:{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M11.625 16.5a1.875 1.875 0 100-3.75 1.875 1.875 0 000 3.75z"}},{tag:"path",attr:{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 013.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 013.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 01-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875zm6 16.5c.66 0 1.277-.19 1.797-.518l1.048 1.048a.75.75 0 001.06-1.06l-1.047-1.048A3.375 3.375 0 1011.625 18z",clipRule:"evenodd"}},{tag:"path",attr:{d:"M14.25 5.25a5.23 5.23 0 00-1.279-3.434 9.768 9.768 0 016.963 6.963A5.23 5.23 0 0016.5 7.5h-1.875a.375.375 0 01-.375-.375V5.25z"}}]})(O)}var Sn={},Yn={};/** * @license React * react-dom-server-legacy.browser.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var js;function iu(){if(js)return Yn;js=1;var O=Be;function C(a){for(var u="https://reactjs.org/docs/error-decoder.html?invariant="+a,p=1;p<arguments.length;p++)u+="&args[]="+encodeURIComponent(arguments[p]);return"Minified React error #"+a+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var W=Object.prototype.hasOwnProperty,N=/^[: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]*$/,h={},$={};function ve(a){return W.call($,a)?!0:W.call(h,a)?!1:N.test(a)?$[a]=!0:(h[a]=!0,!1)}function G(a,u,p,g,T,S,R){this.acceptsBooleans=u===2||u===3||u===4,this.attributeName=g,this.attributeNamespace=T,this.mustUseProperty=p,this.propertyName=a,this.type=u,this.sanitizeURL=S,this.removeEmptyString=R}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){b[a]=new G(a,0,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var u=a[0];b[u]=new G(u,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){b[a]=new G(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){b[a]=new G(a,2,!1,a,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(a){b[a]=new G(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){b[a]=new G(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){b[a]=new G(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){b[a]=new G(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){b[a]=new G(a,5,!1,a.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function re(a){return a[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(a){var u=a.replace(k,re);b[u]=new G(u,1,!1,a,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var u=a.replace(k,re);b[u]=new G(u,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var u=a.replace(k,re);b[u]=new G(u,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){b[a]=new G(a,1,!1,a.toLowerCase(),null,!1,!1)}),b.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){b[a]=new G(a,1,!1,a.toLowerCase(),null,!0,!0)});var P={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},K=["Webkit","ms","Moz","O"];Object.keys(P).forEach(function(a){K.forEach(function(u){u=u+a.charAt(0).toUpperCase()+a.substring(1),P[u]=P[a]})});var Ae=/["'&<>]/;function Se(a){if(typeof a=="boolean"||typeof a=="number")return""+a;a=""+a;var u=Ae.exec(a);if(u){var p="",g,T=0;for(g=u.index;g<a.length;g++){switch(a.charCodeAt(g)){case 34:u="&quot;";break;case 38:u="&amp;";break;case 39:u="&#x27;";break;case 60:u="&lt;";break;case 62:u="&gt;";break;default:continue}T!==g&&(p+=a.substring(T,g)),T=g+1,p+=u}a=T!==g?p+a.substring(T,g):p}return a}var ke=/([A-Z])/g,z=/^ms-/,I=Array.isArray;function ce(a,u){return{insertionMode:a,selectedValue:u}}function De(a,u,p){switch(u){case"select":return ce(1,p.value!=null?p.value:p.defaultValue);case"svg":return ce(2,null);case"math":return ce(3,null);case"foreignObject":return ce(1,null);case"table":return ce(4,null);case"thead":case"tbody":case"tfoot":return ce(5,null);case"colgroup":return ce(7,null);case"tr":return ce(6,null)}return 4<=a.insertionMode||a.insertionMode===0?ce(1,null):a}var be=new Map;function L(a,u,p){if(typeof p!="object")throw Error(C(62));u=!0;for(var g in p)if(W.call(p,g)){var T=p[g];if(T!=null&&typeof T!="boolean"&&T!==""){if(g.indexOf("--")===0){var S=Se(g);T=Se((""+T).trim())}else{S=g;var R=be.get(S);R!==void 0||(R=Se(S.replace(ke,"-$1").toLowerCase().replace(z,"-ms-")),be.set(S,R)),S=R,T=typeof T=="number"?T===0||W.call(P,g)?""+T:T+"px":Se((""+T).trim())}u?(u=!1,a.push(' style="',S,":",T)):a.push(";",S,":",T)}}u||a.push('"')}function Ee(a,u,p,g){switch(p){case"style":L(a,u,g);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<p.length)||p[0]!=="o"&&p[0]!=="O"||p[1]!=="n"&&p[1]!=="N"){if(u=b.hasOwnProperty(p)?b[p]:null,u!==null){switch(typeof g){case"function":case"symbol":return;case"boolean":if(!u.acceptsBooleans)return}switch(p=u.attributeName,u.type){case 3:g&&a.push(" ",p,'=""');break;case 4:g===!0?a.push(" ",p,'=""'):g!==!1&&a.push(" ",p,'="',Se(g),'"');break;case 5:isNaN(g)||a.push(" ",p,'="',Se(g),'"');break;case 6:!isNaN(g)&&1<=g&&a.push(" ",p,'="',Se(g),'"');break;default:u.sanitizeURL&&(g=""+g),a.push(" ",p,'="',Se(g),'"')}}else if(ve(p)){switch(typeof g){case"function":case"symbol":return;case"boolean":if(u=p.toLowerCase().slice(0,5),u!=="data-"&&u!=="aria-")return}a.push(" ",p,'="',Se(g),'"')}}}function ge(a,u,p){if(u!=null){if(p!=null)throw Error(C(60));if(typeof u!="object"||!("__html"in u))throw Error(C(61));u=u.__html,u!=null&&a.push(""+u)}}function lt(a){var u="";return O.Children.forEach(a,function(p){p!=null&&(u+=p)}),u}function Ce(a,u,p,g){a.push(He(p));var T=p=null,S;for(S in u)if(W.call(u,S)){var R=u[S];if(R!=null)switch(S){case"children":p=R;break;case"dangerouslySetInnerHTML":T=R;break;default:Ee(a,g,S,R)}}return a.push(">"),ge(a,T,p),typeof p=="string"?(a.push(Se(p)),null):p}var st=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,nt=new Map;function He(a){var u=nt.get(a);if(u===void 0){if(!st.test(a))throw Error(C(65,a));u="<"+a,nt.set(a,u)}return u}function Ze(a,u,p,g,T){switch(u){case"select":a.push(He("select"));var S=null,R=null;for(te in p)if(W.call(p,te)){var B=p[te];if(B!=null)switch(te){case"children":S=B;break;case"dangerouslySetInnerHTML":R=B;break;case"defaultValue":case"value":break;default:Ee(a,g,te,B)}}return a.push(">"),ge(a,R,S),S;case"option":R=T.selectedValue,a.push(He("option"));var q=B=null,se=null,te=null;for(S in p)if(W.call(p,S)){var _e=p[S];if(_e!=null)switch(S){case"children":B=_e;break;case"selected":se=_e;break;case"dangerouslySetInnerHTML":te=_e;break;case"value":q=_e;default:Ee(a,g,S,_e)}}if(R!=null)if(p=q!==null?""+q:lt(B),I(R)){for(g=0;g<R.length;g++)if(""+R[g]===p){a.push(' selected=""');break}}else""+R===p&&a.push(' selected=""');else se&&a.push(' selected=""');return a.push(">"),ge(a,te,B),B;case"textarea":a.push(He("textarea")),te=R=S=null;for(B in p)if(W.call(p,B)&&(q=p[B],q!=null))switch(B){case"children":te=q;break;case"value":S=q;break;case"defaultValue":R=q;break;case"dangerouslySetInnerHTML":throw Error(C(91));default:Ee(a,g,B,q)}if(S===null&&R!==null&&(S=R),a.push(">"),te!=null){if(S!=null)throw Error(C(92));if(I(te)&&1<te.length)throw Error(C(93));S=""+te}return typeof S=="string"&&S[0]===` `&&a.push(` `),S!==null&&a.push(Se(""+S)),null;case"input":a.push(He("input")),q=te=B=S=null;for(R in p)if(W.call(p,R)&&(se=p[R],se!=null))switch(R){case"children":case"dangerouslySetInnerHTML":throw Error(C(399,"input"));case"defaultChecked":q=se;break;case"defaultValue":B=se;break;case"checked":te=se;break;case"value":S=se;break;default:Ee(a,g,R,se)}return te!==null?Ee(a,g,"checked",te):q!==null&&Ee(a,g,"checked",q),S!==null?Ee(a,g,"value",S):B!==null&&Ee(a,g,"value",B),a.push("/>"),null;case"menuitem":a.push(He("menuitem"));for(var St in p)if(W.call(p,St)&&(S=p[St],S!=null))switch(St){case"children":case"dangerouslySetInnerHTML":throw Error(C(400));default:Ee(a,g,St,S)}return a.push(">"),null;case"title":a.push(He("title")),S=null;for(_e in p)if(W.call(p,_e)&&(R=p[_e],R!=null))switch(_e){case"children":S=R;break;case"dangerouslySetInnerHTML":throw Error(C(434));default:Ee(a,g,_e,R)}return a.push(">"),S;case"listing":case"pre":a.push(He(u)),R=S=null;for(q in p)if(W.call(p,q)&&(B=p[q],B!=null))switch(q){case"children":S=B;break;case"dangerouslySetInnerHTML":R=B;break;default:Ee(a,g,q,B)}if(a.push(">"),R!=null){if(S!=null)throw Error(C(60));if(typeof R!="object"||!("__html"in R))throw Error(C(61));p=R.__html,p!=null&&(typeof p=="string"&&0<p.length&&p[0]===` `?a.push(` `,p):a.push(""+p))}return typeof S=="string"&&S[0]===` `&&a.push(` `),S;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":a.push(He(u));for(var xt in p)if(W.call(p,xt)&&(S=p[xt],S!=null))switch(xt){case"children":case"dangerouslySetInnerHTML":throw Error(C(399,u));default:Ee(a,g,xt,S)}return a.push("/>"),null;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 Ce(a,p,u,g);case"html":return T.insertionMode===0&&a.push("<!DOCTYPE html>"),Ce(a,p,u,g);default:if(u.indexOf("-")===-1&&typeof p.is!="string")return Ce(a,p,u,g);a.push(He(u)),R=S=null;for(se in p)if(W.call(p,se)&&(B=p[se],B!=null))switch(se){case"children":S=B;break;case"dangerouslySetInnerHTML":R=B;break;case"style":L(a,g,B);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ve(se)&&typeof B!="function"&&typeof B!="symbol"&&a.push(" ",se,'="',Se(B),'"')}return a.push(">"),ge(a,R,S),S}}function Le(a,u,p){if(a.push('<!--$?--><template id="'),p===null)throw Error(C(395));return a.push(p),a.push('"></template>')}function ct(a,u,p,g){switch(p.insertionMode){case 0:case 1:return a.push('<div hidden id="'),a.push(u.segmentPrefix),u=g.toString(16),a.push(u),a.push('">');case 2:return a.push('<svg aria-hidden="true" style="display:none" id="'),a.push(u.segmentPrefix),u=g.toString(16),a.push(u),a.push('">');case 3:return a.push('<math aria-hidden="true" style="display:none" id="'),a.push(u.segmentPrefix),u=g.toString(16),a.push(u),a.push('">');case 4:return a.push('<table hidden id="'),a.push(u.segmentPrefix),u=g.toString(16),a.push(u),a.push('">');case 5:return a.push('<table hidden><tbody id="'),a.push(u.segmentPrefix),u=g.toString(16),a.push(u),a.push('">');case 6:return a.push('<table hidden><tr id="'),a.push(u.segmentPrefix),u=g.toString(16),a.push(u),a.push('">');case 7:return a.push('<table hidden><colgroup id="'),a.push(u.segmentPrefix),u=g.toString(16),a.push(u),a.push('">');default:throw Error(C(397))}}function tt(a,u){switch(u.insertionMode){case 0:case 1:return a.push("</div>");case 2:return a.push("</svg>");case 3:return a.push("</math>");case 4:return a.push("</table>");case 5:return a.push("</tbody></table>");case 6:return a.push("</tr></table>");case 7:return a.push("</colgroup></table>");default:throw Error(C(397))}}var it=/[<\u2028\u2029]/g;function ot(a){return JSON.stringify(a).replace(it,function(u){switch(u){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function fe(a,u){return u=u===void 0?"":u,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:u+"P:",segmentPrefix:u+"S:",boundaryPrefix:u+"B:",idPrefix:u,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:a}}function A(a,u,p,g){return p.generateStaticMarkup?(a.push(Se(u)),!1):(u===""?a=g:(g&&a.push("<!-- -->"),a.push(Se(u)),a=!0),a)}var j=Object.assign,J=Symbol.for("react.element"),ae=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),ne=Symbol.for("react.provider"),oe=Symbol.for("react.context"),ie=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),Ve=Symbol.for("react.scope"),ft=Symbol.for("react.debug_trace_mode"),Tt=Symbol.for("react.legacy_hidden"),kr=Symbol.for("react.default_value"),mt=Symbol.iterator;function It(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case Q:return"Fragment";case ae:return"Portal";case X:return"Profiler";case Z:return"StrictMode";case le:return"Suspense";case Te:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case oe:return(a.displayName||"Context")+".Consumer";case ne:return(a._context.displayName||"Context")+".Provider";case ie:var u=a.render;return a=a.displayName,a||(a=u.displayName||u.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case H:return u=a.displayName||null,u!==null?u:It(a.type)||"Memo";case Re:u=a._payload,a=a._init;try{return It(a(u))}catch{}}return null}var tr={};function Hr(a,u){if(a=a.contextTypes,!a)return tr;var p={},g;for(g in a)p[g]=u[g];return p}var vt=null;function ut(a,u){if(a!==u){a.context._currentValue2=a.parentValue,a=a.parent;var p=u.parent;if(a===null){if(p!==null)throw Error(C(401))}else{if(p===null)t