react-chrono-extra
Version:
A Modern Timeline component for React
1 lines • 121 kB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactChrono={},e.jsxRuntime,e.React,e.ReactDOM)}(this,(function(e,t,n,r){"use strict";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var o={exports:{}};!function(e,t){e.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",l="week",c="month",u="quarter",d="year",f="date",h="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),o=n-i<0,a=t.clone().add(r+(o?-1:1),c);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:s,D:f,h:a,m:o,s:i,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",w={};w[b]=g;var x=function(e){return e instanceof $},C=function e(t,n,r){var i;if(!t)return b;if("string"==typeof t){var o=t.toLowerCase();w[o]&&(i=o),n&&(w[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;w[s]=t,i=s}return!r&&i&&(b=i),i||!r&&b},S=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new $(n)},k=y;k.l=C,k.i=x,k.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var $=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e)}var v=g.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return S(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<S(e)},v.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!k.u(t)||t,u=k.p(e),h=function(e,t){var i=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},p=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case d:return r?h(1,0):h(31,11);case c:return r?h(1,g):h(0,g+1);case l:var b=this.$locale().weekStart||0,w=(p<b?p+7:p)-b;return h(r?v-w:v+(6-w),g);case s:case f:return m(y+"Hours",0);case a:return m(y+"Minutes",1);case o:return m(y+"Seconds",2);case i:return m(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,l=k.p(e),u="set"+(this.$u?"UTC":""),h=(n={},n[s]=u+"Date",n[f]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[o]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],m=l===s?this.$D+(t-this.$W):t;if(l===c||l===d){var p=this.clone().set(f,1);p.$d[h](m),p.init(),this.$d=p.set(f,Math.min(this.$D,p.daysInMonth())).$d}else h&&this.$d[h](m);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[k.p(e)]()},v.add=function(r,u){var f,h=this;r=Number(r);var m=k.p(u),p=function(e){var t=S(h);return k.w(t.date(t.date()+Math.round(e*r)),h)};if(m===c)return this.set(c,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return p(1);if(m===l)return p(7);var g=(f={},f[o]=t,f[a]=n,f[i]=e,f)[m]||1,v=this.$d.getTime()+r*g;return k.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=k.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},f=function(e){return k.s(o%12||12,e,"0")},m=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(p,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return s+1;case"MM":return k.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return k.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return m(o,a,!0);case"A":return m(o,a,!1);case"m":return String(a);case"mm":return k.s(a,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,f,h){var m,p=this,g=k.p(f),v=S(r),y=(v.utcOffset()-this.utcOffset())*t,b=this-v,w=function(){return k.m(p,v)};switch(g){case d:m=w()/12;break;case c:m=w();break;case u:m=w()/3;break;case l:m=(b-y)/6048e5;break;case s:m=(b-y)/864e5;break;case a:m=b/n;break;case o:m=b/t;break;case i:m=b/e;break;default:m=b}return h?m:k.a(m)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return w[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),j=$.prototype;return S.prototype=j,[["$ms",r],["$s",i],["$m",o],["$H",a],["$W",s],["$M",c],["$y",d],["$D",f]].forEach((function(e){j[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,$,S),e.$i=!0),S},S.locale=C,S.isDayjs=x,S.unix=function(e){return S(1e3*e)},S.en=w[b],S.Ls=w,S.p={},S}()}(o);var a=i(o.exports);!function(){function e(e){var t=!0,n=!1,r=null,i={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function o(e){return!!(e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList)}function a(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!i[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}function s(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function l(e){e.hasAttribute("data-focus-visible-added")&&(e.classList.remove("focus-visible"),e.removeAttribute("data-focus-visible-added"))}function c(n){n.metaKey||n.altKey||n.ctrlKey||(o(e.activeElement)&&s(e.activeElement),t=!0)}function u(e){t=!1}function d(e){o(e.target)&&(t||a(e.target))&&s(e.target)}function f(e){o(e.target)&&(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(r),r=window.setTimeout((function(){n=!1}),100),l(e.target))}function h(e){"hidden"===document.visibilityState&&(n&&(t=!0),m())}function m(){document.addEventListener("mousemove",g),document.addEventListener("mousedown",g),document.addEventListener("mouseup",g),document.addEventListener("pointermove",g),document.addEventListener("pointerdown",g),document.addEventListener("pointerup",g),document.addEventListener("touchmove",g),document.addEventListener("touchstart",g),document.addEventListener("touchend",g)}function p(){document.removeEventListener("mousemove",g),document.removeEventListener("mousedown",g),document.removeEventListener("mouseup",g),document.removeEventListener("pointermove",g),document.removeEventListener("pointerdown",g),document.removeEventListener("pointerup",g),document.removeEventListener("touchmove",g),document.removeEventListener("touchstart",g),document.removeEventListener("touchend",g)}function g(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,p())}document.addEventListener("keydown",c,!0),document.addEventListener("mousedown",u,!0),document.addEventListener("pointerdown",u,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("visibilitychange",h,!0),m(),e.addEventListener("focus",d,!0),e.addEventListener("blur",f,!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}"undefined"!=typeof document&&e(document)}();var s={cardBgColor:"#ffffff",cardDetailsBackGround:"#ffffff",cardDetailsColor:"#000",cardMediaBgColor:"#f5f5f5",cardSubtitleColor:"#000",cardTitleColor:"#007FFF",detailsColor:"#000",iconBackgroundColor:"#007FFF",nestedCardBgColor:"#f5f5f5",nestedCardDetailsBackGround:"#f5f5f5",nestedCardDetailsColor:"#000",nestedCardSubtitleColor:"#000",nestedCardTitleColor:"#000",primary:"#007FFF",secondary:"#ffdf00",titleColor:"#007FFF",titleColorActive:"#007FFF"},l={cardBgColor:"#191919",cardDetailsBackGround:"#191919",cardDetailsColor:"#ffff0f",cardMediaBgColor:"#2f2f2f",cardSubtitleColor:"#ffffff",cardTitleColor:"#007FFF",detailsColor:"#ffffff",iconBackgroundColor:"#007FFF",nestedCardBgColor:"#333333",nestedCardDetailsBackGround:"#333333",nestedCardDetailsColor:"#ffffff",nestedCardSubtitleColor:"#ffffff",nestedCardTitleColor:"#ffffff",primary:"#007FFF",secondary:"#ffdf00",titleColor:"#007FFF",titleColorActive:"#007FFF"},c=function(e,t){return`rgba(${parseInt(e.slice(1,3),16)}, ${parseInt(e.slice(3,5),16)}, ${parseInt(e.slice(5,7),16)}, ${t})`},u=function(e){return"HORIZONTAL"===e||"VERTICAL"===e?"reveal":"VERTICAL_ALTERNATING"===e?"slide_from_sides":"reveal"},d=n.createContext({}),f=function(e){var r=e.cardHeight;void 0===r&&(r=200);var i=e.cardLess;void 0===i&&(i=!1);var o=e.flipLayout,a=e.items;void 0===a&&(a=[]);var c=e.theme,f=e.buttonTexts,h=e.classNames,m=e.mode;void 0===m&&(m="VERTICAL_ALTERNATING");var p=e.fontSizes,g=e.textOverlay,v=e.darkMode,y=e.slideShow,b=e.onThemeChange,w=e.mediaSettings,x=e.mediaHeight;void 0===x&&(x=200);var C=e.contentDetailsHeight;void 0===C&&(C=10);var S=n.useState(v),k=S[0],$=S[1],j=n.useMemo((function(){return Math.max(C||0+x||0,r)}),[]),N=n.useMemo((function(){var e=Math.round(.75*j);return C>j?Math.min(C,e):Math.max(C,e)}),[j]),T=n.useCallback((function(){$(!k),null==b||b()}),[k]),A=n.useMemo((function(){return Object.assign({},{borderLessCards:!1,cardHeight:j,cardLess:!1,disableAutoScrollOnClick:!1,disableClickOnCircle:!1,disableTimelinePoint:!1,enableBreakPoint:!0,enableDarkToggle:!1,focusActiveItemOnLoad:!1,lineWidth:3,mediaHeight:200,nestedCardHeight:150,scrollable:{scrollbar:!1},showAllCardsHorizontal:!1,showProgressOnSlideshow:y,slideItemDuration:2e3,slideShowType:u(m),textOverlay:!1,timelinePointDimension:16,timelinePointShape:"circle",titleDateFormat:"MMM DD, YYYY",uniqueId:"react-chrono",useReadMore:!0,verticalBreakPoint:1028},Object.assign({},e,{activeItemIndex:o?(null==a?void 0:a.length)-1:0,buttonTexts:Object.assign({},{dark:"Switch to Dark Mode",first:"Go to First",last:"Go to Last",light:"Switch to Light Mode",next:"Next",play:"Play Slideshow",previous:"Previous",stop:"Stop Slideshow"},f),cardHeight:i?r||80:r,classNames:Object.assign({},{card:"rc-card",cardMedia:"rc-card-media",cardSubTitle:"rc-card-subtitle",cardText:"rc-card-text",cardTitle:"rc-card-title",controls:"rc-controls",title:"rc-title"},h),contentDetailsHeight:N,darkMode:k,fontSizes:Object.assign({},{cardSubtitle:"0.85rem",cardText:"1rem",cardTitle:"1rem",title:"1rem"},p),mediaSettings:Object.assign({},{align:"VERTICAL"!==m||g?"center":"left",imageFit:"cover"},w),theme:Object.assign({},(t=k,t?l:s),c),toggleDarkMode:T}));var t}),[N,j,k,T]),E=e.children;return t.jsx(d.Provider,{value:Object.assign({},A,{darkMode:k,toggleDarkMode:T}),children:E})},h={exports:{}};!function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=arguments,r=[],i=0;i<arguments.length;i++){var o=e[i];if(o){var a=typeof o;if("string"===a||"number"===a)r.push(o);else if(Array.isArray(o)){if(o.length){var s=n.apply(null,o);s&&r.push(s)}}else if("object"===a){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){r.push(o.toString());continue}for(var l in o)t.call(o,l)&&o[l]&&r.push(l)}}}return r.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}(h);var m,p=i(h.exports),g=function(e,t,r){void 0===r&&(r=!0);var i=n.useState(!1),o=i[0],a=i[1];return n.useEffect((function(){if(r){var t=window.matchMedia(e),n=function(){return a(t.matches)};return t.matches!==o&&a(t.matches),t.addEventListener("change",n),function(){t.removeEventListener("change",n)}}}),[e,r]),n.useEffect((function(){o&&t&&t()}),[o,t]),o},v=function(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-chevron-left",children:t.jsx("polyline",{points:"15 18 9 12 15 6"})})},y=function(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-chevron-right",children:t.jsx("polyline",{points:"9 18 15 12 9 6"})})},b=function(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-maximize-2",children:t.jsx("path",{d:"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7"})})},w=function(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("path",{d:"M4 14h6v6M20 10h-6V4M14 10l7-7M3 21l7-7"})})},x=function(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("path",{d:"M5 12h14"})})},C=function(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",viewBox:"0 0 24 24",children:t.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})})},S=function(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("path",{d:"M12 5v14M5 12h14"})})},k=function(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",viewBox:"0 0 24 24",children:[t.jsx("circle",{cx:12,cy:12,r:10}),t.jsx("path",{d:"M9 9h6v6H9z"})]})},$=function(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-sun",children:[t.jsx("circle",{cx:12,cy:12,r:5}),t.jsx("path",{d:"M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"})]})},j=function(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-chevrons-left",children:[t.jsx("polyline",{points:"11 17 6 12 11 7"}),t.jsx("polyline",{points:"18 17 13 12 18 7"})]})},N=function(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-chevrons-right",children:[t.jsx("polyline",{points:"13 17 18 12 13 7"}),t.jsx("polyline",{points:"6 17 11 12 6 7"})]})},T=function(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t.jsx("polygon",{points:"5 3 19 12 5 21 5 3"})})},A={exports:{}},E={};var M,I={};"production"===process.env.NODE_ENV?A.exports=function(){if(m)return E;m=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case o:case i:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case s:case c:case h:case f:case a:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),E.ContextConsumer=s,E.ContextProvider=a,E.Element=t,E.ForwardRef=c,E.Fragment=r,E.Lazy=h,E.Memo=f,E.Portal=n,E.Profiler=o,E.StrictMode=i,E.Suspense=u,E.SuspenseList=d,E.isAsyncMode=function(){return!1},E.isConcurrentMode=function(){return!1},E.isContextConsumer=function(e){return g(e)===s},E.isContextProvider=function(e){return g(e)===a},E.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},E.isForwardRef=function(e){return g(e)===c},E.isFragment=function(e){return g(e)===r},E.isLazy=function(e){return g(e)===h},E.isMemo=function(e){return g(e)===f},E.isPortal=function(e){return g(e)===n},E.isProfiler=function(e){return g(e)===o},E.isStrictMode=function(e){return g(e)===i},E.isSuspense=function(e){return g(e)===u},E.isSuspenseList=function(e){return g(e)===d},E.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===o||t===i||t===u||t===d||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===f||t.$$typeof===a||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},E.typeOf=g,E}():A.exports=(M||(M=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function p(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var p=e.type;switch(p){case r:case o:case i:case u:case d:return p;default:var g=p&&p.$$typeof;switch(g){case l:case s:case c:case h:case f:case a:return g;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var g=s,v=a,y=t,b=c,w=r,x=h,C=f,S=n,k=o,$=i,j=u,N=d,T=!1,A=!1;I.ContextConsumer=g,I.ContextProvider=v,I.Element=y,I.ForwardRef=b,I.Fragment=w,I.Lazy=x,I.Memo=C,I.Portal=S,I.Profiler=k,I.StrictMode=$,I.Suspense=j,I.SuspenseList=N,I.isAsyncMode=function(e){return T||(T=!0),!1},I.isConcurrentMode=function(e){return A||(A=!0),!1},I.isContextConsumer=function(e){return p(e)===s},I.isContextProvider=function(e){return p(e)===a},I.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},I.isForwardRef=function(e){return p(e)===c},I.isFragment=function(e){return p(e)===r},I.isLazy=function(e){return p(e)===h},I.isMemo=function(e){return p(e)===f},I.isPortal=function(e){return p(e)===n},I.isProfiler=function(e){return p(e)===o},I.isStrictMode=function(e){return p(e)===i},I.isSuspense=function(e){return p(e)===u},I.isSuspenseList=function(e){return p(e)===d},I.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===o||t===i||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===f||t.$$typeof===a||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},I.typeOf=p}()),I);var O=A.exports;function L(e){function t(e,r,l,c,f){for(var h,m,p,g,w,C=0,S=0,k=0,$=0,j=0,I=0,L=p=h=0,D=0,P=0,_=0,z=0,H=l.length,F=H-1,W="",B="",V="",G="";D<H;){if(m=l.charCodeAt(D),D===F&&0!==S+$+k+C&&(0!==S&&(m=47===S?10:47),$=k=C=0,H++,F++),0===S+$+k+C){if(D===F&&(0<P&&(W=W.replace(d,"")),0<W.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:W+=l.charAt(D)}m=59}switch(m){case 123:for(h=(W=W.trim()).charCodeAt(0),p=1,z=++D;D<H;){switch(m=l.charCodeAt(D)){case 123:p++;break;case 125:p--;break;case 47:switch(m=l.charCodeAt(D+1)){case 42:case 47:e:{for(L=D+1;L<F;++L)switch(l.charCodeAt(L)){case 47:if(42===m&&42===l.charCodeAt(L-1)&&D+2!==L){D=L+1;break e}break;case 10:if(47===m){D=L+1;break e}}D=L}}break;case 91:m++;case 40:m++;case 34:case 39:for(;D++<F&&l.charCodeAt(D)!==m;);}if(0===p)break;D++}if(p=l.substring(z,D),0===h&&(h=(W=W.replace(u,"").trim()).charCodeAt(0)),64===h){switch(0<P&&(W=W.replace(d,"")),m=W.charCodeAt(1)){case 100:case 109:case 115:case 45:P=r;break;default:P=M}if(z=(p=t(r,P,p,m,f+1)).length,0<O&&(w=s(3,p,P=n(M,W,_),r,T,N,z,m,f,c),W=P.join(""),void 0!==w&&0===(z=(p=w.trim()).length)&&(m=0,p="")),0<z)switch(m){case 115:W=W.replace(x,a);case 100:case 109:case 45:p=W+"{"+p+"}";break;case 107:p=(W=W.replace(v,"$1 $2"))+"{"+p+"}",p=1===E||2===E&&o("@"+p,3)?"@-webkit-"+p+"@"+p:"@"+p;break;default:p=W+p,112===c&&(B+=p,p="")}else p=""}else p=t(r,n(r,W,_),p,c,f+1);V+=p,p=_=P=L=h=0,W="",m=l.charCodeAt(++D);break;case 125:case 59:if(1<(z=(W=(0<P?W.replace(d,""):W).trim()).length))switch(0===L&&(45===(h=W.charCodeAt(0))||96<h&&123>h)&&(z=(W=W.replace(" ",":")).length),0<O&&void 0!==(w=s(1,W,r,e,T,N,B.length,c,f,c))&&0===(z=(W=w.trim()).length)&&(W="\0\0"),h=W.charCodeAt(0),m=W.charCodeAt(1),h){case 0:break;case 64:if(105===m||99===m){G+=W+l.charAt(D);break}default:58!==W.charCodeAt(z-1)&&(B+=i(W,h,m,W.charCodeAt(2)))}_=P=L=h=0,W="",m=l.charCodeAt(++D)}}switch(m){case 13:case 10:47===S?S=0:0===1+h&&107!==c&&0<W.length&&(P=1,W+="\0"),0<O*R&&s(0,W,r,e,T,N,B.length,c,f,c),N=1,T++;break;case 59:case 125:if(0===S+$+k+C){N++;break}default:switch(N++,g=l.charAt(D),m){case 9:case 32:if(0===$+C+S)switch(j){case 44:case 58:case 9:case 32:g="";break;default:32!==m&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===$+S+C&&(P=_=1,g="\f"+g);break;case 108:if(0===$+S+C+A&&0<L)switch(D-L){case 2:112===j&&58===l.charCodeAt(D-3)&&(A=j);case 8:111===I&&(A=I)}break;case 58:0===$+S+C&&(L=D);break;case 44:0===S+k+$+C&&(P=1,g+="\r");break;case 34:case 39:0===S&&($=$===m?0:0===$?m:$);break;case 91:0===$+S+k&&C++;break;case 93:0===$+S+k&&C--;break;case 41:0===$+S+C&&k--;break;case 40:if(0===$+S+C){if(0===h)if(2*j+3*I==533);else h=1;k++}break;case 64:0===S+k+$+C+L+p&&(p=1);break;case 42:case 47:if(!(0<$+C+k))switch(S){case 0:switch(2*m+3*l.charCodeAt(D+1)){case 235:S=47;break;case 220:z=D,S=42}break;case 42:47===m&&42===j&&z+2!==D&&(33===l.charCodeAt(z+2)&&(B+=l.substring(z,D+1)),g="",S=0)}}0===S&&(W+=g)}I=j,j=m,D++}if(0<(z=B.length)){if(P=r,0<O&&(void 0!==(w=s(2,B,P,e,T,N,z,c,f,c))&&0===(B=w).length))return G+B+V;if(B=P.join(",")+"{"+B+"}",0!=E*A){switch(2!==E||o(B,2)||(A=0),A){case 111:B=B.replace(b,":-moz-$1")+B;break;case 112:B=B.replace(y,"::-webkit-input-$1")+B.replace(y,"::-moz-$1")+B.replace(y,":-ms-input-$1")+B}A=0}}return G+B+V}function n(e,t,n){var i=t.trim().split(p);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[l++]=r(e[c]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===E||2===E&&o(l,1)?"-webkit-"+l+l:l}if(0===E||2===E&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(j,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return h.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(w,"tb");break;case 232:l=a.replace(w,"tb-rl");break;case 220:l=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===$.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),L(2!==t?r:r.replace(k,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(C," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,l,u){for(var d,f=0,h=t;f<O;++f)switch(d=I[f].call(c,e,h,n,r,i,o,a,s,l,u)){case void 0:case!1:case!0:case null:break;default:h=d}if(h!==t)return h}function l(e){return void 0!==(e=e.prefix)&&(L=null,e?"function"!=typeof e?E=1:(E=2,L=e):E=0),l}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<O){var i=s(-1,n,r,r,T,N,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(M,r,n,0,0);return 0<O&&(void 0!==(i=s(-2,o,r,r,T,N,o.length,0,0,0))&&(o=i)),"",A=0,N=T=1,o}var u=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,h=/zoo|gra/,m=/([,: ])(transform)/g,p=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,$=/stretch|:\s*\w+\-(?:conte|avail)/,j=/([^-])(image-set\()/,N=1,T=1,A=0,E=1,M=[],I=[],O=0,L=null,R=0;return c.use=function e(t){switch(t){case void 0:case null:O=I.length=0;break;default:if("function"==typeof t)I[O++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else R=0|!!t}return e},c.set=l,void 0!==e&&l(e),c}var R={animationIterationCount: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,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};function D(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var P,_=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,z=D((function(e){return _.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),H={exports:{}},F={};var W,B={};"production"===process.env.NODE_ENV?H.exports=function(){if(P)return F;P=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case l:case c:case r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case h:case a:return e;default:return f}}case n:return f}}}function w(e){return b(e)===c}return F.AsyncMode=l,F.ConcurrentMode=c,F.ContextConsumer=s,F.ContextProvider=a,F.Element=t,F.ForwardRef=u,F.Fragment=r,F.Lazy=m,F.Memo=h,F.Portal=n,F.Profiler=o,F.StrictMode=i,F.Suspense=d,F.isAsyncMode=function(e){return w(e)||b(e)===l},F.isConcurrentMode=w,F.isContextConsumer=function(e){return b(e)===s},F.isContextProvider=function(e){return b(e)===a},F.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},F.isForwardRef=function(e){return b(e)===u},F.isFragment=function(e){return b(e)===r},F.isLazy=function(e){return b(e)===m},F.isMemo=function(e){return b(e)===h},F.isPortal=function(e){return b(e)===n},F.isProfiler=function(e){return b(e)===o},F.isStrictMode=function(e){return b(e)===i},F.isSuspense=function(e){return b(e)===d},F.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===v||e.$$typeof===y||e.$$typeof===p)},F.typeOf=b,F}():H.exports=(W||(W=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var p=e.type;switch(p){case l:case c:case r:case o:case i:case d:return p;default:var g=p&&p.$$typeof;switch(g){case s:case u:case m:case h:case a:return g;default:return f}}case n:return f}}}var w=l,x=c,C=s,S=a,k=t,$=u,j=r,N=m,T=h,A=n,E=o,M=i,I=d,O=!1;function L(e){return b(e)===c}B.AsyncMode=w,B.ConcurrentMode=x,B.ContextConsumer=C,B.ContextProvider=S,B.Element=k,B.ForwardRef=$,B.Fragment=j,B.Lazy=N,B.Memo=T,B.Portal=A,B.Profiler=E,B.StrictMode=M,B.Suspense=I,B.isAsyncMode=function(e){return O||(O=!0),L(e)||b(e)===l},B.isConcurrentMode=L,B.isContextConsumer=function(e){return b(e)===s},B.isContextProvider=function(e){return b(e)===a},B.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},B.isForwardRef=function(e){return b(e)===u},B.isFragment=function(e){return b(e)===r},B.isLazy=function(e){return b(e)===m},B.isMemo=function(e){return b(e)===h},B.isPortal=function(e){return b(e)===n},B.isProfiler=function(e){return b(e)===o},B.isStrictMode=function(e){return b(e)===i},B.isSuspense=function(e){return b(e)===d},B.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===v||e.$$typeof===y||e.$$typeof===p)},B.typeOf=b}()),B);var V=H.exports,G={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Y={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},q={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},U={};function Z(e){return V.isMemo(e)?q:U[e.$$typeof]||G}U[V.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},U[V.Memo]=q;var X=Object.defineProperty,K=Object.getOwnPropertyNames,J=Object.getOwnPropertySymbols,Q=Object.getOwnPropertyDescriptor,ee=Object.getPrototypeOf,te=Object.prototype;var ne=function e(t,n,r){if("string"!=typeof n){if(te){var i=ee(n);i&&i!==te&&e(t,i,r)}var o=K(n);J&&(o=o.concat(J(n)));for(var a=Z(t),s=Z(n),l=0;l<o.length;++l){var c=o[l];if(!(Y[c]||r&&r[c]||s&&s[c]||a&&a[c])){var u=Q(n,c);try{X(t,c,u)}catch(e){}}}}return t},re=i(ne);function ie(){return(ie=Object.assign||function(e){for(var t=arguments,n=1;n<arguments.length;n++){var r=t[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(this,arguments)}var oe=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},ae=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!O.typeOf(e)},se=Object.freeze([]),le=Object.freeze({});function ce(e){return"function"==typeof e}function ue(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function de(e){return e&&"string"==typeof e.styledComponentId}var fe="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",he="undefined"!=typeof window&&"HTMLElement"in window,me=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&(void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV)),pe="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function ge(){for(var e=arguments,t=arguments.length<=0?void 0:arguments[0],n=[],r=1,i=arguments.length;r<i;r+=1)n.push(r<0||e.length<=r?void 0:e[r]);return n.forEach((function(e){t=t.replace(/%[a-z]/,e)})),t}function ve(e){for(var t=arguments,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=t[i];throw"production"===process.env.NODE_ENV?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):"")):new Error(ge.apply(void 0,[pe[e]].concat(r)).trim())}var ye=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&ve(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),be=new Map,we=new Map,xe=1,Ce=function(e){if(be.has(e))return be.get(e);for(;we.has(xe);)xe++;var t=xe++;return"production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&ve(16,""+t),be.set(e,t),we.set(t,e),t},Se=function(e){return we.get(e)},ke=function(e,t){t>=xe&&(xe=t+1),be.set(e,t),we.set(t,e)},$e="style["+fe+'][data-styled-version="5.3.10"]',je=new RegExp("^"+fe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Ne=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},Te=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(je);if(s){var l=0|parseInt(s[1],10),c=s[2];0!==l&&(ke(c,l),Ne(e,c,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},Ae=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(fe))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(fe,"active"),r.setAttribute("data-styled-version","5.3.10");var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},Ee=function(){function e(e){var t=this.element=Ae(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}ve(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),Me=function(){function e(e){var t=this.element=Ae(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ie=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Oe=he,Le={isServer:!he,useCSSOMInjection:!me},Re=function(){function e(e,t,n){void 0===e&&(e=le),void 0===t&&(t={}),this.options=ie({},Le,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&he&&Oe&&(Oe=!1,function(e){for(var t=document.querySelectorAll($e),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(fe)&&(Te(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return Ce(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(ie({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1