@20minutes/tyr 0.1.76 → 0.1.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/css/articlePage-desktop-critical.css +1 -1
  2. package/dist/css/articlePage-desktop-no-critical.css +1 -1
  3. package/dist/css/articlePage-mobile-critical.css +1 -1
  4. package/dist/css/articlePage-mobile-no-critical.css +1 -1
  5. package/dist/css/errorPage-desktop-critical.css +1 -1
  6. package/dist/css/errorPage-desktop-no-critical.css +1 -1
  7. package/dist/css/errorPage-mobile-critical.css +1 -1
  8. package/dist/css/errorPage-mobile-no-critical.css +1 -1
  9. package/dist/css/global.css +1 -1
  10. package/dist/css/horoscopePage-desktop-critical.css +1 -1
  11. package/dist/css/horoscopePage-desktop-no-critical.css +1 -1
  12. package/dist/css/horoscopePage-mobile-critical.css +1 -1
  13. package/dist/css/horoscopePage-mobile-no-critical.css +1 -1
  14. package/dist/css/horoscopehomePage-desktop-critical.css +1 -1
  15. package/dist/css/horoscopehomePage-desktop-no-critical.css +1 -1
  16. package/dist/css/horoscopehomePage-mobile-critical.css +1 -1
  17. package/dist/css/horoscopehomePage-mobile-no-critical.css +1 -1
  18. package/dist/css/searchPage-desktop-critical.css +1 -1
  19. package/dist/css/searchPage-desktop-no-critical.css +1 -1
  20. package/dist/css/searchPage-mobile-critical.css +1 -1
  21. package/dist/css/searchPage-mobile-no-critical.css +1 -1
  22. package/dist/css/tagPage-desktop-critical.css +1 -1
  23. package/dist/css/tagPage-desktop-no-critical.css +1 -1
  24. package/dist/css/tagPage-mobile-critical.css +1 -1
  25. package/dist/css/tagPage-mobile-no-critical.css +1 -1
  26. package/dist/helpers/storage.d.ts +1 -0
  27. package/dist/index.es.js +46305 -46645
  28. package/dist/index.umd.js +239 -256
  29. package/dist/js/atinternet.min.js +1 -1
  30. package/dist/js/cmp.min.js +1 -1
  31. package/dist/js/custom-load-ads.js +0 -2
  32. package/dist/js/datalayer.min.js +1 -1
  33. package/dist/js/main.min.js +78 -1
  34. package/dist/js/react-and-react-dom.min.js +451 -0
  35. package/dist/managers/PageManagerHelper.d.ts +1 -1
  36. package/dist/templates/HtmlTemplate/HtmlTemplate.d.ts +1 -2
  37. package/dist/types/ComponentConfig.d.ts +2 -2
  38. package/package.json +8 -3
  39. package/dist/assets/scripts/concern/appBanner.d.ts +0 -1
  40. package/dist/assets/scripts/concern/breakingNews.d.ts +0 -1
  41. package/dist/assets/scripts/concern/headerMini.d.ts +0 -1
  42. package/dist/assets/scripts/helpers/ajax.d.ts +0 -3
  43. package/dist/assets/scripts/main.d.ts +0 -1
  44. package/dist/assets/scripts/thirdParties/ads/adSlotsKeyValues.d.ts +0 -1
  45. package/dist/assets/scripts/thirdParties/ads/dfpAdSlots.d.ts +0 -4
  46. package/dist/assets/scripts/thirdParties/ads/dfpCall.d.ts +0 -2
  47. package/dist/assets/scripts/thirdParties/ads/dfpConfig.d.ts +0 -1
  48. package/dist/assets/scripts/thirdParties/ads/dfpDatalayerAdapter.d.ts +0 -2
  49. package/dist/assets/scripts/thirdParties/ads/fingerPrint.d.ts +0 -2
  50. package/dist/assets/scripts/thirdParties/ads/index.d.ts +0 -7
  51. package/dist/assets/scripts/thirdParties/ads/placeholderHandler.d.ts +0 -1
  52. package/dist/assets/scripts/thirdParties/atinternet/eventTracking.d.ts +0 -1
  53. package/dist/assets/scripts/thirdParties/atinternet/index.d.ts +0 -2
  54. package/dist/assets/scripts/thirdParties/atinternet/manager.d.ts +0 -10
  55. package/dist/assets/scripts/thirdParties/atinternet/pageTracking.d.ts +0 -3
  56. package/dist/assets/scripts/thirdParties/gcse/index.d.ts +0 -1
  57. package/dist/assets/scripts/thirdParties/lazy.d.ts +0 -4
  58. package/dist/assets/scripts/thirdParties/outbrain/index.d.ts +0 -1
  59. package/dist/helpers/url.d.ts +0 -3
  60. package/dist/js/concern.min.js +0 -18
@@ -1 +1,78 @@
1
- (function(){"use strict";const d=e=>document.cookie.indexOf(e)!==-1,l=e=>{const t=document.cookie.split(";").filter(n=>n.indexOf(e)!==-1)[0];return t?t.split("=")[1]:"{}"},u=e=>{const t=[`${e.name}=`,"expires=Thu, 1 Jan 1970 00:00:01 UTC","path=/"];e.domain&&t.push(`domain=${e.domain}`),document.cookie=t.join("; ")},m=(e,t=100)=>{const n=e.getBoundingClientRect(),i=window.pageYOffset||document.documentElement.scrollTop,o=Math.max(document.documentElement.clientHeight,window.innerHeight||0),V=i+o,x=n.top+i;return V>x-t};var p=(e=>(e[e.article=0]="article",e[e.divers=1]="divers",e[e.horoscope=2]="horoscope",e))(p||{}),g=(e=>(e.UNKNOWN="Non connu",e.SLIDESHOW_COVER="Slideshow cover",e.SLIDESHOW_COVER_LISTING_PAGE="Slideshow listing page",e.SLIDESHOW_PAGE="Slideshow page",e.ARTICLE="article",e.MISC="divers",e.HOME="home",e.LIVE="live",e.SECTION="section",e.TAG="tag",e))(g||{}),h=(e=>(e.MISC="divers",e.HOME="home",e.LOCAL="local",e.PLANET="plan\xE8te",e))(h||{}),v=(e=>(e.PAGETYPE="pageType",e.TAGS="tags",e))(v||{});const f="adDefined",E=()=>{if(d("20min_fp")){const e=l("20min_fp");fetch(`https://securepubads.g.doubleclick.net/user_data_deletion?ppid=${e}&iu=49926454`,{referrerPolicy:"strict-origin-when-cross-origin"}).then(t=>{t.ok&&alert("La demande de suppression a bien \xE9t\xE9 prise en compte")}),u({name:"20min_fp"})}},b=()=>{const e=document.getElementById("delete-fingerprint");e&&e.addEventListener("click",E)};let r=[],a;const w=(e,t)=>{let n=!1;return()=>{n||(e(),n=!0,a=setTimeout(()=>{n=!1},t))}},S=e=>e.event&&m(e.elem,Number(e.distance))?(e.elem.dispatchEvent(new Event(e.event)),e.elem.dataset.lazyLoaded="true",!1):!0,s=()=>{w(()=>{r=r.filter(S),r.length<=0&&(clearTimeout(a),window.removeEventListener("scroll",s))},50)()},y=()=>{r.length<=0||window.addEventListener("scroll",s)},c=e=>{r.push(e),y()},T=()=>{document.addEventListener(f,e=>{const t=e,{elem:n}=t.detail[0];if(n.getAttribute("data-delayed")!=="true")return;const i={elem:n,event:n.getAttribute("id"),distance:n.dataset.distanceVisible};c(i)})},I=()=>{document.querySelectorAll('[data-delayed="true"]:not([data-dfp-name])').forEach(e=>{const t={elem:e,event:e.getAttribute("id"),distance:e.dataset.distanceVisible};c(t)})},L=()=>{T(),I()},O=(e,t,n=()=>{})=>{performance.mark(`20mn:${e}:Start`);const i=document.getElementsByTagName("script")[0],o=document.createElement("script");o.async=!0,o.src=t,o.onload=()=>{n(),performance.mark(`20mn:${e}:End`)},i&&i.parentNode&&i.parentNode.insertBefore(o,i)},A=()=>{var e;!document.querySelector(".gcse-search")||!((e=window.envVariables)!=null&&e.googleSearchCode)||O("googlesearch",`https://cse.google.com/cse.js?cx=${window.envVariables.googleSearchCode}`)},C=()=>{A()},N=e=>{const t={},n=document.createElement("a");return n.href=e,n.search.substring(1).split("&").forEach(i=>{const o=i.split("=");t[o[0]]=decodeURIComponent(o[1])}),t},_=()=>{var e,t;const n=N(window.location.href),i=document.createElement("div");i.className="OUTBRAIN",i.setAttribute("data-widget-id","type|default('AR_1')"),i.setAttribute("data-src","https://www.20minutes.fr"),"advertisingId"in n&&"appVersion"in n&&(i.setAttribute("data-ob-user-id",n.advertisingId),i.setAttribute("data-ob-app-ver",n.appVersion),i.setAttribute("data-ob-installation-key","{{ outbrain_ios_id }}")),(t=(e=document?.currentScript)==null?void 0:e.parentNode)==null||t.insertBefore(i,document.currentScript)},k=()=>{_()};(()=>{b(),L(),C(),k()})()})();
1
+ var TyrBundle=function(qd,zP,q,Ud){"use strict";var Vd=(t=>(t.MOBILE="mobile",t.DESKTOP="desktop",t))(Vd||{});const Qd=(t,r)=>{const i=t==="dark";r.setAttribute("aria-checked",String(i));const a=r.querySelector("span[aria-hidden]");a&&(a.setAttribute("aria-hidden",String(i)),a.innerHTML=i?"on":"off")},Nb=(t=document.querySelector(".js-switch-dark-mode"))=>{const r=localStorage.getItem("theme")||"light";r&&t&&(document.documentElement.dataset.theme=r,Qd(r,t))},Mb=(t=document.querySelector(".js-switch-dark-mode"))=>{t&&t.addEventListener("click",()=>{const r=document.documentElement.dataset.theme,i=!r||r==="light"?"dark":"light";document.documentElement.dataset.theme=i,localStorage.setItem("theme",i),Qd(i,t)})},Db=t=>{var r;const i=t.querySelector(".js-expandButton__label");t.setAttribute("aria-expanded","true"),i.innerHTML="Voir moins",(r=t.previousElementSibling)==null||r.setAttribute("aria-hidden","false")},Fb=t=>{var r;const i=t.querySelector(".js-expandButton__label");t.setAttribute("aria-expanded","false"),i.innerHTML="Voir plus",(r=t.previousElementSibling)==null||r.setAttribute("aria-hidden","true")},Pb=t=>{const r=t.currentTarget;return t.preventDefault(),r.getAttribute("aria-expanded")==="true"?Fb(r):Db(r)},Bb=(t=document.querySelector(".js-expandButton"))=>{t&&document.querySelectorAll(".js-expandButton").forEach(r=>r.addEventListener("click",Pb))},Ab=(t,r)=>{r.stopImmediatePropagation(),r.preventDefault();const i=r.currentTarget,a=document.querySelectorAll(".js-collapse__button"),u=document.querySelectorAll('[role="tabpanel"]'),f=i.getAttribute("aria-controls"),g=Object.values(u).find(y=>y.id===f);if(i.getAttribute("aria-expanded")==="true"){i.setAttribute("aria-expanded","false"),g?.setAttribute("aria-hidden","true");return}a.forEach(y=>{y.setAttribute("aria-expanded","false")}),u.forEach(y=>{y.setAttribute("aria-hidden","true")}),i.setAttribute("aria-expanded","true"),g&&g.removeAttribute("aria-hidden")},Kb=(t=document.querySelector(".js-collapse__button"))=>{t&&document.querySelectorAll(".c-collapse__button").forEach(r=>{r.addEventListener("click",Ab.bind(!1,t))})},Ib=({navigatedList:t,nextBtn:r,prevBtn:i})=>{t&&(t.scrollLeft>0&&(t.scrollLeft+t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible"),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")),t.clientWidth<t.scrollWidth?r.classList.add("o-nav-button--visible"):(i.classList.remove("o-nav-button--visible"),r.classList.remove("o-nav-button--visible")),t.scrollLeft+t.clientWidth===t.scrollWidth&&r.classList.remove("o-nav-button--visible"))},Tb=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.scrollWidth-t.clientWidth>t.clientWidth){let u=t.scrollLeft;switch(a){case"partners":u+=t.clientWidth+32;break;case"rubrics":u+=t.clientWidth-36;break;default:u+=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),i.classList.add("o-nav-button--visible"),u+t.clientWidth>=t.scrollWidth&&r.classList.remove("o-nav-button--visible")}else{const u=t.scrollWidth-t.clientWidth;t.scrollTo({left:u,behavior:"smooth"}),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")}},jb=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.clientWidth<t.scrollLeft){let u=t.scrollLeft;switch(a){case"partners":u-=t.clientWidth+32;break;case"rubrics":u-=t.clientWidth-36;break;default:u-=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),r.classList.add("o-nav-button--visible"),u===0&&i.classList.remove("o-nav-button--visible")}else t.scrollTo({left:0,behavior:"smooth"}),i.classList.remove("o-nav-button--visible"),t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible")},zb=({navigatedList:t,nextBtn:r,prevBtn:i})=>{Ib({navigatedList:t,nextBtn:r,prevBtn:i})},Rb=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),f=r.querySelector(".o-nav-button--previous-button");a&&a.clientWidth<a.scrollWidth&&u?.classList.add("o-nav-button--visible"),u?.addEventListener("click",Tb.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i})),f?.addEventListener("click",jb.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i}))}}},Hb=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),f=r.querySelector(".o-nav-button--previous-button");window.addEventListener("resize",zb.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i}))}}},qb=(t,r)=>{r.preventDefault();const i=r.target,a=t.querySelectorAll('[role="tab"]'),u=t.querySelectorAll('[role="tabpanel"]'),f=i.getAttribute("aria-controls"),g=Object.values(u).find(y=>y.id===f);a.forEach(y=>{y.setAttribute("aria-selected","false")}),u.forEach(y=>{y.setAttribute("aria-hidden","true")}),i.setAttribute("aria-selected","true"),g&&g.removeAttribute("aria-hidden")},$d=t=>t.code==="ArrowLeft"||t.keyCode===39,Yd=t=>t.code==="ArrowRight"||t.keyCode===37,Ub=(t=document.querySelector(".js-tabs"))=>{if(t){const r=t.querySelectorAll('[role="tab"]');r.forEach(a=>{a.addEventListener("click",qb.bind(!1,t))});const i=t.querySelector('[role="tablist"]');if(i&&r.length>0){let a=0;i.addEventListener("keydown",u=>{u instanceof KeyboardEvent&&($d(u)||Yd(u))&&(r[a].setAttribute("tabindex","-1"),$d(u)?(a+=1,a>=r.length&&(a=0)):Yd(u)&&(a-=1,a<0&&(a=r.length-1)),r[a].setAttribute("tabindex","0"),r[a].focus())})}}},Vb=()=>{const t=document.documentElement.scrollTop;let r=document.documentElement.scrollHeight-document.documentElement.clientHeight;const i=document.querySelector(".js-limit-scroll-progress-bar");i&&(r=i.scrollHeight-document.documentElement.clientHeight+(window.pageYOffset+i.getBoundingClientRect().top));const a=Math.round(t/r*100),u=document.querySelector(".c-progress__bar");u&&(u.style.width=`${a}%`,a>=100&&(u.style.width="100%"))},Qb=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",Vb)};var $b=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'],Yb="Tab",Xb="Escape";function mi(t){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=t,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}mi.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=fl('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(r){r.addEventListener("click",this._show)}.bind(this));const t=this.$el;return this._closers=fl("[data-a11y-dialog-hide]",this.$el).filter(function(r){return r.closest('[aria-modal="true"], [data-a11y-dialog]')===t}).concat(fl('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(r){r.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},mi.prototype.show=function(t){return this.shown?this:(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,Xd(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",t),this)},mi.prototype.hide=function(t){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",t),this):this},mi.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(t){t.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(t){t.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},mi.prototype.on=function(t,r){return typeof this._listeners[t]>"u"&&(this._listeners[t]=[]),this._listeners[t].push(r),this},mi.prototype.off=function(t,r){var i=(this._listeners[t]||[]).indexOf(r);return i>-1&&this._listeners[t].splice(i,1),this},mi.prototype._fire=function(t,r){var i=this._listeners[t]||[],a=new CustomEvent(t,{detail:r});this.$el.dispatchEvent(a),i.forEach(function(u){u(this.$el,r)}.bind(this))},mi.prototype._bindKeypress=function(t){const r=document.activeElement;r&&r.closest('[aria-modal="true"]')!==this.$el||(this.shown&&t.key===Xb&&this.$el.getAttribute("role")!=="alertdialog"&&(t.preventDefault(),this.hide(t)),this.shown&&t.key===Yb&&Wb(this.$el,t))},mi.prototype._maintainFocus=function(t){this.shown&&!t.target.closest('[aria-modal="true"]')&&!t.target.closest("[data-a11y-dialog-ignore-focus-trap]")&&Xd(this.$el)};function Zb(t){return Array.prototype.slice.call(t)}function fl(t,r){return Zb((r||document).querySelectorAll(t))}function Xd(t){var r=t.querySelector("[autofocus]")||t;r.focus()}function Jb(t){return fl($b.join(","),t).filter(function(r){return!!(r.offsetWidth||r.offsetHeight||r.getClientRects().length)})}function Wb(t,r){var i=Jb(t),a=i.indexOf(document.activeElement);r.shiftKey&&a===0?(i[i.length-1].focus(),r.preventDefault()):!r.shiftKey&&a===i.length-1&&(i[0].focus(),r.preventDefault())}function Ws(){fl("[data-a11y-dialog]").forEach(function(t){new mi(t)})}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Ws):window.requestAnimationFrame?window.requestAnimationFrame(Ws):window.setTimeout(Ws,16));const Gb=(t=document.querySelector(".js-modal"))=>{t&&new mi(t)},e0=t=>{var r;t.preventDefault();const i=t.currentTarget,a=(r=i.closest(".js-search-toggle"))==null?void 0:r.querySelector(".c-search-form");i.setAttribute("aria-hidden","true"),a?.setAttribute("aria-hidden","false")},t0=(t=document.querySelector(".js-search-toggle"))=>{if(t){const r=t.querySelector(".c-header__search-button");r?.addEventListener("click",e0)}},n0=()=>{const t=document.querySelectorAll(".js-header-link"),r=document.querySelector(".js-sub-menu"),i=document.querySelector(".js-overlay");if(!(!r||!i))for(const a of t)a.addEventListener("mouseenter",()=>{if(window.getComputedStyle(r).getPropertyValue("display")!=="none"){i.classList.remove("u-hidden");return}i.classList.add("u-hidden")}),a.addEventListener("mouseleave",()=>{i.classList.add("u-hidden")})};let uu,Zd=0;const r0=()=>{uu="down",document.body.getBoundingClientRect().top>Zd&&(uu="up"),Zd=document.body.getBoundingClientRect().top;const t=document.querySelector(".c-read-also-banner");t&&(uu==="up"&&(t.classList.remove("c-read-also-banner__scrolldirection--down"),t.style.paddingTop="",t.style.paddingBottom="",t.classList.contains("c-read-also-banner__scrolldirection--up")||t.classList.add("c-read-also-banner__scrolldirection--up")),uu==="down"&&(t.classList.remove("c-read-also-banner__scrolldirection--up"),t.style.paddingTop="0",t.style.paddingBottom="0",t.classList.contains("c-read-also-banner__scrolldirection--down")||t.classList.add("c-read-also-banner__scrolldirection--down")))},i0=(t=document.querySelector(".c-read-also-banner"))=>{t&&window.addEventListener("scroll",r0)},o0=()=>{Nb(),Mb(),Bb(),Ub(),Kb(),Qb(),t0(),Gb(),i0(),window.layout===Vd.DESKTOP&&(Rb(),Hb(),n0())},a0=t=>document.cookie.indexOf(t)!==-1,l0=t=>{const r=document.cookie.split(";").filter(i=>i.indexOf(t)!==-1)[0];return r?r.split("=")[1]:"{}"},u0=t=>{const r=[`${t.name}=`,"expires=Thu, 1 Jan 1970 00:00:01 UTC","path=/"];t.domain&&r.push(`domain=${t.domain}`),document.cookie=r.join("; ")},Gs=function(t){const r=localStorage.getItem(t);return r?JSON.parse(r):void 0};function s0(t){let r=t;const i="\xE3\xE0\xE1\xE4\xE2\u1EBD\xE8\xE9\xEB\xEA\xEC\xED\xEF\xEE\xF5\xF2\xF3\xF6\xF4\xF9\xFA\xFC\xFB\xF1\xE7\xB7/_,:;",a="aaaaaeeeeeiiiiooooouuuunc------";for(let u=0;u<i.length;u+=1)r=t.replace(new RegExp(i.charAt(u),"g"),a.charAt(u));return r}const c0=t=>{let r=t.toLowerCase().replace(/[\s-]+/g,"_");return r=s0(r),r.replace(/[^\w-]+/g,"")},f0=(t,r=100)=>{const i=t.getBoundingClientRect(),a=window.pageYOffset||document.documentElement.scrollTop,u=Math.max(document.documentElement.clientHeight,window.innerHeight||0),f=a+u,g=i.top+a;return f>g-r};var d0=(t=>(t[t.article=0]="article",t[t.divers=1]="divers",t[t.horoscope=2]="horoscope",t))(d0||{}),p0=(t=>(t.UNKNOWN="Non connu",t.SLIDESHOW_COVER="Slideshow cover",t.SLIDESHOW_COVER_LISTING_PAGE="Slideshow listing page",t.SLIDESHOW_PAGE="Slideshow page",t.ARTICLE="article",t.MISC="divers",t.HOME="home",t.LIVE="live",t.SECTION="section",t.TAG="tag",t))(p0||{}),h0=(t=>(t.MISC="divers",t.HOME="home",t.LOCAL="local",t.PLANET="plan\xE8te",t))(h0||{}),m0=(t=>(t.PAGETYPE="pageType",t.TAGS="tags",t))(m0||{});const g0="adDefined",v0=()=>{if(a0("20min_fp")){const t=l0("20min_fp");fetch(`https://securepubads.g.doubleclick.net/user_data_deletion?ppid=${t}&iu=49926454`,{referrerPolicy:"strict-origin-when-cross-origin"}).then(r=>{r.ok&&alert("La demande de suppression a bien \xE9t\xE9 prise en compte")}),u0({name:"20min_fp"})}},y0=()=>{const t=document.getElementById("delete-fingerprint");t&&t.addEventListener("click",v0)};let dl=[],Jd;const b0=(t,r)=>{let i=!1;return()=>{i||(t(),i=!0,Jd=setTimeout(()=>{i=!1},r))}},_0=t=>t.event&&f0(t.elem,Number(t.distance))?(t.elem.dispatchEvent(new Event(t.event)),t.elem.dataset.lazyLoaded="true",!1):!0,Wd=()=>{b0(()=>{dl=dl.filter(_0),dl.length<=0&&(clearTimeout(Jd),window.removeEventListener("scroll",Wd))},50)()},w0=()=>{dl.length<=0||window.addEventListener("scroll",Wd)},Gd=t=>{dl.push(t),w0()},S0=()=>{document.addEventListener(g0,t=>{const r=t,{elem:i}=r.detail[0];if(i.getAttribute("data-delayed")!=="true")return;const a={elem:i,event:i.getAttribute("id"),distance:i.dataset.distanceVisible};Gd(a)})},k0=()=>{document.querySelectorAll('[data-delayed="true"]:not([data-dfp-name])').forEach(t=>{const r={elem:t,event:t.getAttribute("id"),distance:t.dataset.distanceVisible};Gd(r)})},E0=()=>{S0(),k0()},C0=(t,r,i=()=>{})=>{performance.mark(`20mn:${t}:Start`);const a=document.getElementsByTagName("script")[0],u=document.createElement("script");u.async=!0,u.src=r,u.onload=()=>{i(),performance.mark(`20mn:${t}:End`)},a&&a.parentNode&&a.parentNode.insertBefore(u,a)},x0=()=>{var t;!document.querySelector(".gcse-search")||!((t=window.envVariables)!=null&&t.googleSearchCode)||C0("googlesearch",`https://cse.google.com/cse.js?cx=${window.envVariables.googleSearchCode}`)},O0=()=>{x0()},L0=t=>{const r={},i=document.createElement("a");return i.href=t,i.search.substring(1).split("&").forEach(a=>{const u=a.split("=");r[u[0]]=decodeURIComponent(u[1])}),r},N0=()=>{var t,r;const i=L0(window.location.href),a=document.createElement("div");a.className="OUTBRAIN",a.setAttribute("data-widget-id","type|default('AR_1')"),a.setAttribute("data-src","https://www.20minutes.fr"),"advertisingId"in i&&"appVersion"in i&&(a.setAttribute("data-ob-user-id",i.advertisingId),a.setAttribute("data-ob-app-ver",i.appVersion),a.setAttribute("data-ob-installation-key","{{ outbrain_ios_id }}")),(r=(t=document?.currentScript)==null?void 0:t.parentNode)==null||r.insertBefore(a,document.currentScript)},M0=()=>{N0()};var pl=(t=>(t.MOBILE="mobile",t.DESKTOP="desktop",t))(pl||{}),La=(t=>(t.photo="photo",t.podcast="podcast",t.video="video",t))(La||{});const su={asset:{font:{"Oswald-Bold":{value:"fonts/Oswald-Bold",family:"Oswald",weight:"700",style:"normal",extensions:["woff2","woff"]},"SourceSerifPro-Regular":{value:"fonts/SourceSerifPro-Regular",family:"Source Serif Pro",weight:"400",style:"normal",extensions:["woff2","woff"]},"SourceSerifPro-Italic":{value:"fonts/SourceSerifPro-Italic",family:"Source Serif Pro",weight:"400",style:"italic",extensions:["woff2","woff"]},"SourceSerifPro-Bold":{value:"fonts/SourceSerifPro-Bold",family:"Source Serif Pro",weight:"700",style:"normal",extensions:["woff2","woff"]}}},breakpoint:{xs:{value:"0",description:"no minimum width value because we are in mobile-first"},sm:{value:"479",description:"minimum width value for a small devices (tablets)"},md:{value:"767",description:"minimum width value for a medium devices, (desktops)"},lg:{value:"1024",description:"minimum width value for a large devices (wide screen)"}},color:{primary:{ultramarine:{value:"#4742ff"},"ultramarine-light":{value:"#6b72fb"}},secondary:{orange:{value:"#fa9917"},yellow:{value:"#f2e500"},green:{value:"#6cac4b"},purple:{value:"#ae6ba2"},red:{value:"#ff3333"},sponsoring:{value:"#fff5f1"}},greyscale:{black:{value:"#000000"},white:{value:"#ffffff"},"grey-100":{value:"#f7f7f7"},"grey-200":{value:"#dddddd"},"grey-300":{value:"#898a8c"},"grey-400":{value:"#6a6a6a"},"grey-500":{value:"#484848"},"grey-600":{value:"#2f3134"},"grey-700":{value:"#181a1e"},"grey-800":{value:"#0f1116"}},status:{error:{value:"#ff3333"}},rubric:{default:{value:"#000000"},direct:{value:"#f22b36"},sport:{value:"#00b4c0"},entertainment:{value:"#92317e"},planet:{value:"#88be27"},magazine:{value:"#008f8c"},production:{value:"#c5be00"},c2c:{value:"#f7562a"},tempo:{value:"#cc0f53"}}},"font-family":{base:{value:"Arial"},oswald:{value:"'Oswald', sans-serif"},"source-serif-pro":{value:"'Source Serif Pro', serif"}},"font-size":{"xxs-4":{value:"8px"},"xxs-3":{value:"11px"},"xxs-2":{value:"12px"},xxs:{value:"14px"},xs:{value:"16px"},s:{value:"18px"},m:{value:"20px"},l:{value:"22px"},xl:{value:"26px"},xxl:{value:"28px"},"xxl-2":{value:"38px"},"xxl-3":{value:"44px"},"xxl-4":{value:"48px"},"xxl-5":{value:"54px"}},"font-weight":{regular:{value:"400"},bold:{value:"700"}},"line-height":{base:{value:"1.2"},large:{value:"1.5"}},spacing:{0:{value:"0"},"xxs-2":{value:"4px"},xxs:{value:"8px"},xs:{value:"12px"},s:{value:"16px"},m:{value:"24px"},l:{value:"32px"},xl:{value:"40px"},xxl:{value:"64px"},"xxl-2":{value:"120px"}},typography:{heading:{"xxs-2":{description:"use for titles of CardMedium (ad), CardSmall, CardExtraSmall and CardOverview",fontSize:{value:"18px"}},xxs:{description:"use for titles of Tabs, ArticleSummary, footer categories, OverviewBar and RubricCards",fontSize:{value:"20px"}},xs:{description:"use for minified header title",fontSize:{value:"22px"}},s:{description:"use for title of HeaderBanner and CardMostRead and for article subtitle",fontSize:{value:"26px"}},m:{description:"use for title of CardExtraLarge (mobile), CardLarge (mobile), CardMedium, Newsletter, LiveCards and PartnerCards",fontSize:{value:"28px"}},l:{description:"use for pages title (mobile)",fontSize:{value:"38px"}},xl:{description:"use for title of CardLarge (desktop) and CardMostRead",fontSize:{value:"44px"}},xxl:{description:"use for CardExtraLarge title (desktop)",fontSize:{value:"48px"}},"xxl-2":{description:"use for pages title (desktop)",fontSize:{value:"54px"}}},text:{"xxs-3":{description:"use for CardFooter",fontSize:{value:"8px"}},"xxs-2":{description:"use for advanced SocialBar numbers and Checkbox label (mobile)",fontSize:{value:"11px"}},xxs:{description:"use for Label, simple SocialBar numbers, date info in Signature and CardHeader, Checkbox label (desktop), HoroscopeTiles label and footer download buttons label",fontSize:{value:"12px"}},xs:{description:'use for "See more" button, images caption, HoroscopeHomepageContent heading subtitle and Newsletter button label',fontSize:{value:"14px"}},s:{description:"use for InfoBanner, Newsletter description (mobile), footer content, Tag, HoroscopeHomepageContent link and buttons label",fontSize:{value:"16px"}},m:{description:"use for HeaderPage subtitle (mobile), CardExtraLarge summary (mobile), HoroscopeContent, Newsletter description (desktop), input placeholder label in ArticleHeader summary and article quote author name",fontSize:{value:"18px"},lineHeight:{value:"1.5"}},l:{description:"use for ArticleContent and ArticleSummary content",fontSize:{value:"20px"},lineHeight:{value:"1.5"}},xl:{description:"use for HeaderPage subtitle (desktop) and CardExtraLarge summary (desktop)",fontSize:{value:"22px"}},xxl:{description:"use for ArticleHeader lead and article quote",fontSize:{value:"26px"}}}}};[...Object.keys(su.color.primary),...Object.keys(su.color.secondary),...Object.keys(su.color.rubric)];const D0={bg:["background-color"],color:["color"]},F0={align:["align-self"],basis:["flex-basis"],shrink:["flex-shrink"],grow:["flex-grow"]},P0={alignItems:["align-items"],alignContent:["align-content"],justifyContent:["justify-content"],gap:["gap"],gapX:["row-gap"],gapY:["col-gap"],inline:["inline"],direction:["direction"],wrap:["wrap"]},B0={m:["margin"],mt:["margin-top"],mr:["margin-right"],ml:["margin-left"],mb:["margin-bottom"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"]},A0={p:["padding"],pt:["padding-top"],pr:["padding-right"],pl:["padding-left"],pb:["padding-bottom"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"]},ep={...B0,...A0},K0={...ep,...D0},I0={textAlign:["text-align"],weight:["font-weight"],italic:["font-style"],textDecoration:["text-decoration"],textTransform:["text-transform"],fontFamily:["font-family"]};Object.keys(su["font-family"]).filter(t=>!["base"].includes(t));const ec=typeof window<"u"?q.useLayoutEffect:()=>{};var Na=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},tc={},T0={get exports(){return tc},set exports(t){tc=t}};/*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */(function(t){(function(){var r={}.hasOwnProperty;function i(){for(var a=[],u=0;u<arguments.length;u++){var f=arguments[u];if(f){var g=typeof f;if(g==="string"||g==="number")a.push(f);else if(Array.isArray(f)){if(f.length){var y=i.apply(null,f);y&&a.push(y)}}else if(g==="object"){if(f.toString!==Object.prototype.toString&&!f.toString.toString().includes("[native code]")){a.push(f.toString());continue}for(var b in f)r.call(f,b)&&f[b]&&a.push(b)}}}return a.join(" ")}t.exports?(i.default=i,t.exports=i):window.classNames=i})()})(T0);const st=tc;var j0=function(t,r,i,a,u,f,g,y){if(!t){var b;if(r===void 0)b=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var k=[i,a,u,f,g,y],L=0;b=new Error(r.replace(/%s/g,function(){return k[L++]})),b.name="Invariant Violation"}throw b.framesToPop=1,b}},gi=j0,_n={},Jo={};/**
6
+ * @license React
7
+ * react-dom-server-legacy.browser.production.min.js
8
+ *
9
+ * Copyright (c) Facebook, Inc. and its affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */var tp;function z0(){if(tp)return Jo;tp=1;var t=q;function r(p){for(var w="https://reactjs.org/docs/error-decoder.html?invariant="+p,O=1;O<arguments.length;O++)w+="&args[]="+encodeURIComponent(arguments[O]);return"Minified React error #"+p+"; visit "+w+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Object.prototype.hasOwnProperty,a=/^[: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]*$/,u={},f={};function g(p){return i.call(f,p)?!0:i.call(u,p)?!1:a.test(p)?f[p]=!0:(u[p]=!0,!1)}function y(p,w,O,F,$,U,ie){this.acceptsBooleans=w===2||w===3||w===4,this.attributeName=F,this.attributeNamespace=$,this.mustUseProperty=O,this.propertyName=p,this.type=w,this.sanitizeURL=U,this.removeEmptyString=ie}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){b[p]=new y(p,0,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var w=p[0];b[w]=new y(w,1,!1,p[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){b[p]=new y(p,2,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){b[p]=new y(p,2,!1,p,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(p){b[p]=new y(p,3,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){b[p]=new y(p,3,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){b[p]=new y(p,4,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){b[p]=new y(p,6,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){b[p]=new y(p,5,!1,p.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function L(p){return p[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(p){var w=p.replace(k,L);b[w]=new y(w,1,!1,p,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(p){var w=p.replace(k,L);b[w]=new y(w,1,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var w=p.replace(k,L);b[w]=new y(w,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){b[p]=new y(p,1,!1,p.toLowerCase(),null,!1,!1)}),b.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){b[p]=new y(p,1,!1,p.toLowerCase(),null,!0,!0)});var B={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},M=["Webkit","ms","Moz","O"];Object.keys(B).forEach(function(p){M.forEach(function(w){w=w+p.charAt(0).toUpperCase()+p.substring(1),B[w]=B[p]})});var j=/["'&<>]/;function P(p){if(typeof p=="boolean"||typeof p=="number")return""+p;p=""+p;var w=j.exec(p);if(w){var O="",F,$=0;for(F=w.index;F<p.length;F++){switch(p.charCodeAt(F)){case 34:w="&quot;";break;case 38:w="&amp;";break;case 39:w="&#x27;";break;case 60:w="&lt;";break;case 62:w="&gt;";break;default:continue}$!==F&&(O+=p.substring($,F)),$=F+1,O+=w}p=$!==F?O+p.substring($,F):O}return p}var K=/([A-Z])/g,T=/^ms-/,ne=Array.isArray;function J(p,w){return{insertionMode:p,selectedValue:w}}function W(p,w,O){switch(w){case"select":return J(1,O.value!=null?O.value:O.defaultValue);case"svg":return J(2,null);case"math":return J(3,null);case"foreignObject":return J(1,null);case"table":return J(4,null);case"thead":case"tbody":case"tfoot":return J(5,null);case"colgroup":return J(7,null);case"tr":return J(6,null)}return 4<=p.insertionMode||p.insertionMode===0?J(1,null):p}var Z=new Map;function le(p,w,O){if(typeof O!="object")throw Error(r(62));w=!0;for(var F in O)if(i.call(O,F)){var $=O[F];if($!=null&&typeof $!="boolean"&&$!==""){if(F.indexOf("--")===0){var U=P(F);$=P((""+$).trim())}else{U=F;var ie=Z.get(U);ie!==void 0||(ie=P(U.replace(K,"-$1").toLowerCase().replace(T,"-ms-")),Z.set(U,ie)),U=ie,$=typeof $=="number"?$===0||i.call(B,F)?""+$:$+"px":P((""+$).trim())}w?(w=!1,p.push(' style="',U,":",$)):p.push(";",U,":",$)}}w||p.push('"')}function Se(p,w,O,F){switch(O){case"style":le(p,w,F);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<O.length)||O[0]!=="o"&&O[0]!=="O"||O[1]!=="n"&&O[1]!=="N"){if(w=b.hasOwnProperty(O)?b[O]:null,w!==null){switch(typeof F){case"function":case"symbol":return;case"boolean":if(!w.acceptsBooleans)return}switch(O=w.attributeName,w.type){case 3:F&&p.push(" ",O,'=""');break;case 4:F===!0?p.push(" ",O,'=""'):F!==!1&&p.push(" ",O,'="',P(F),'"');break;case 5:isNaN(F)||p.push(" ",O,'="',P(F),'"');break;case 6:!isNaN(F)&&1<=F&&p.push(" ",O,'="',P(F),'"');break;default:w.sanitizeURL&&(F=""+F),p.push(" ",O,'="',P(F),'"')}}else if(g(O)){switch(typeof F){case"function":case"symbol":return;case"boolean":if(w=O.toLowerCase().slice(0,5),w!=="data-"&&w!=="aria-")return}p.push(" ",O,'="',P(F),'"')}}}function _e(p,w,O){if(w!=null){if(O!=null)throw Error(r(60));if(typeof w!="object"||!("__html"in w))throw Error(r(61));w=w.__html,w!=null&&p.push(""+w)}}function Ie(p){var w="";return t.Children.forEach(p,function(O){O!=null&&(w+=O)}),w}function ve(p,w,O,F){p.push(he(O));var $=O=null,U;for(U in w)if(i.call(w,U)){var ie=w[U];if(ie!=null)switch(U){case"children":O=ie;break;case"dangerouslySetInnerHTML":$=ie;break;default:Se(p,F,U,ie)}}return p.push(">"),_e(p,$,O),typeof O=="string"?(p.push(P(O)),null):O}var ke=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,we=new Map;function he(p){var w=we.get(p);if(w===void 0){if(!ke.test(p))throw Error(r(65,p));w="<"+p,we.set(p,w)}return w}function ge(p,w,O,F,$){switch(w){case"select":p.push(he("select"));var U=null,ie=null;for(We in O)if(i.call(O,We)){var me=O[We];if(me!=null)switch(We){case"children":U=me;break;case"dangerouslySetInnerHTML":ie=me;break;case"defaultValue":case"value":break;default:Se(p,F,We,me)}}return p.push(">"),_e(p,ie,U),U;case"option":ie=$.selectedValue,p.push(he("option"));var be=me=null,Ee=null,We=null;for(U in O)if(i.call(O,U)){var wt=O[U];if(wt!=null)switch(U){case"children":me=wt;break;case"selected":Ee=wt;break;case"dangerouslySetInnerHTML":We=wt;break;case"value":be=wt;default:Se(p,F,U,wt)}}if(ie!=null)if(O=be!==null?""+be:Ie(me),ne(ie)){for(F=0;F<ie.length;F++)if(""+ie[F]===O){p.push(' selected=""');break}}else""+ie===O&&p.push(' selected=""');else Ee&&p.push(' selected=""');return p.push(">"),_e(p,We,me),me;case"textarea":p.push(he("textarea")),We=ie=U=null;for(me in O)if(i.call(O,me)&&(be=O[me],be!=null))switch(me){case"children":We=be;break;case"value":U=be;break;case"defaultValue":ie=be;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:Se(p,F,me,be)}if(U===null&&ie!==null&&(U=ie),p.push(">"),We!=null){if(U!=null)throw Error(r(92));if(ne(We)&&1<We.length)throw Error(r(93));U=""+We}return typeof U=="string"&&U[0]===`
14
+ `&&p.push(`
15
+ `),U!==null&&p.push(P(""+U)),null;case"input":p.push(he("input")),be=We=me=U=null;for(ie in O)if(i.call(O,ie)&&(Ee=O[ie],Ee!=null))switch(ie){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"defaultChecked":be=Ee;break;case"defaultValue":me=Ee;break;case"checked":We=Ee;break;case"value":U=Ee;break;default:Se(p,F,ie,Ee)}return We!==null?Se(p,F,"checked",We):be!==null&&Se(p,F,"checked",be),U!==null?Se(p,F,"value",U):me!==null&&Se(p,F,"value",me),p.push("/>"),null;case"menuitem":p.push(he("menuitem"));for(var xt in O)if(i.call(O,xt)&&(U=O[xt],U!=null))switch(xt){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:Se(p,F,xt,U)}return p.push(">"),null;case"title":p.push(he("title")),U=null;for(wt in O)if(i.call(O,wt)&&(ie=O[wt],ie!=null))switch(wt){case"children":U=ie;break;case"dangerouslySetInnerHTML":throw Error(r(434));default:Se(p,F,wt,ie)}return p.push(">"),U;case"listing":case"pre":p.push(he(w)),ie=U=null;for(be in O)if(i.call(O,be)&&(me=O[be],me!=null))switch(be){case"children":U=me;break;case"dangerouslySetInnerHTML":ie=me;break;default:Se(p,F,be,me)}if(p.push(">"),ie!=null){if(U!=null)throw Error(r(60));if(typeof ie!="object"||!("__html"in ie))throw Error(r(61));O=ie.__html,O!=null&&(typeof O=="string"&&0<O.length&&O[0]===`
16
+ `?p.push(`
17
+ `,O):p.push(""+O))}return typeof U=="string"&&U[0]===`
18
+ `&&p.push(`
19
+ `),U;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":p.push(he(w));for(var Wt in O)if(i.call(O,Wt)&&(U=O[Wt],U!=null))switch(Wt){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,w));default:Se(p,F,Wt,U)}return p.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 ve(p,O,w,F);case"html":return $.insertionMode===0&&p.push("<!DOCTYPE html>"),ve(p,O,w,F);default:if(w.indexOf("-")===-1&&typeof O.is!="string")return ve(p,O,w,F);p.push(he(w)),ie=U=null;for(Ee in O)if(i.call(O,Ee)&&(me=O[Ee],me!=null))switch(Ee){case"children":U=me;break;case"dangerouslySetInnerHTML":ie=me;break;case"style":le(p,F,me);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:g(Ee)&&typeof me!="function"&&typeof me!="symbol"&&p.push(" ",Ee,'="',P(me),'"')}return p.push(">"),_e(p,ie,U),U}}function Le(p,w,O){if(p.push('<!--$?--><template id="'),O===null)throw Error(r(395));return p.push(O),p.push('"></template>')}function Te(p,w,O,F){switch(O.insertionMode){case 0:case 1:return p.push('<div hidden id="'),p.push(w.segmentPrefix),w=F.toString(16),p.push(w),p.push('">');case 2:return p.push('<svg aria-hidden="true" style="display:none" id="'),p.push(w.segmentPrefix),w=F.toString(16),p.push(w),p.push('">');case 3:return p.push('<math aria-hidden="true" style="display:none" id="'),p.push(w.segmentPrefix),w=F.toString(16),p.push(w),p.push('">');case 4:return p.push('<table hidden id="'),p.push(w.segmentPrefix),w=F.toString(16),p.push(w),p.push('">');case 5:return p.push('<table hidden><tbody id="'),p.push(w.segmentPrefix),w=F.toString(16),p.push(w),p.push('">');case 6:return p.push('<table hidden><tr id="'),p.push(w.segmentPrefix),w=F.toString(16),p.push(w),p.push('">');case 7:return p.push('<table hidden><colgroup id="'),p.push(w.segmentPrefix),w=F.toString(16),p.push(w),p.push('">');default:throw Error(r(397))}}function De(p,w){switch(w.insertionMode){case 0:case 1:return p.push("</div>");case 2:return p.push("</svg>");case 3:return p.push("</math>");case 4:return p.push("</table>");case 5:return p.push("</tbody></table>");case 6:return p.push("</tr></table>");case 7:return p.push("</colgroup></table>");default:throw Error(r(397))}}var Re=/[<\u2028\u2029]/g;function ue(p){return JSON.stringify(p).replace(Re,function(w){switch(w){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(p,w){return w=w===void 0?"":w,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:w+"P:",segmentPrefix:w+"S:",boundaryPrefix:w+"B:",idPrefix:w,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:p}}function ae(p,w,O,F){return O.generateStaticMarkup?(p.push(P(w)),!1):(w===""?p=F:(F&&p.push("<!-- -->"),p.push(P(w)),p=!0),p)}var Ne=Object.assign,Je=Symbol.for("react.element"),kt=Symbol.for("react.portal"),Nt=Symbol.for("react.fragment"),qe=Symbol.for("react.strict_mode"),je=Symbol.for("react.profiler"),dt=Symbol.for("react.provider"),Bt=Symbol.for("react.context"),At=Symbol.for("react.forward_ref"),Dt=Symbol.for("react.suspense"),Et=Symbol.for("react.suspense_list"),Zt=Symbol.for("react.memo"),$e=Symbol.for("react.lazy"),ut=Symbol.for("react.scope"),lt=Symbol.for("react.debug_trace_mode"),Ft=Symbol.for("react.legacy_hidden"),dn=Symbol.for("react.default_value"),Mt=Symbol.iterator;function Ct(p){if(p==null)return null;if(typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case Nt:return"Fragment";case kt:return"Portal";case je:return"Profiler";case qe:return"StrictMode";case Dt:return"Suspense";case Et:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case Bt:return(p.displayName||"Context")+".Consumer";case dt:return(p._context.displayName||"Context")+".Provider";case At:var w=p.render;return p=p.displayName,p||(p=w.displayName||w.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case Zt:return w=p.displayName||null,w!==null?w:Ct(p.type)||"Memo";case $e:w=p._payload,p=p._init;try{return Ct(p(w))}catch{}}return null}var rt={};function pt(p,w){if(p=p.contextTypes,!p)return rt;var O={},F;for(F in p)O[F]=w[F];return O}var Pt=null;function Pe(p,w){if(p!==w){p.context._currentValue2=p.parentValue,p=p.parent;var O=w.parent;if(p===null){if(O!==null)throw Error(r(401))}else{if(O===null)throw Error(r(401));Pe(p,O)}w.context._currentValue2=w.value}}function nt(p){p.context._currentValue2=p.parentValue,p=p.parent,p!==null&&nt(p)}function Ze(p){var w=p.parent;w!==null&&Ze(w),p.context._currentValue2=p.value}function ht(p,w){if(p.context._currentValue2=p.parentValue,p=p.parent,p===null)throw Error(r(402));p.depth===w.depth?Pe(p,w):ht(p,w)}function Ge(p,w){var O=w.parent;if(O===null)throw Error(r(402));p.depth===O.depth?Pe(p,O):Ge(p,O),w.context._currentValue2=w.value}function wn(p){var w=Pt;w!==p&&(w===null?Ze(p):p===null?nt(w):w.depth===p.depth?Pe(w,p):w.depth>p.depth?ht(w,p):Ge(w,p),Pt=p)}var ct={isMounted:function(){return!1},enqueueSetState:function(p,w){p=p._reactInternals,p.queue!==null&&p.queue.push(w)},enqueueReplaceState:function(p,w){p=p._reactInternals,p.replace=!0,p.queue=[w]},enqueueForceUpdate:function(){}};function Sn(p,w,O,F){var $=p.state!==void 0?p.state:null;p.updater=ct,p.props=O,p.state=$;var U={queue:[],replace:!1};p._reactInternals=U;var ie=w.contextType;if(p.context=typeof ie=="object"&&ie!==null?ie._currentValue2:F,ie=w.getDerivedStateFromProps,typeof ie=="function"&&(ie=ie(O,$),$=ie==null?$:Ne({},$,ie),p.state=$),typeof w.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function"))if(w=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),w!==p.state&&ct.enqueueReplaceState(p,p.state,null),U.queue!==null&&0<U.queue.length)if(w=U.queue,ie=U.replace,U.queue=null,U.replace=!1,ie&&w.length===1)p.state=w[0];else{for(U=ie?w[0]:p.state,$=!0,ie=ie?1:0;ie<w.length;ie++){var me=w[ie];me=typeof me=="function"?me.call(p,U,O,F):me,me!=null&&($?($=!1,U=Ne({},U,me)):Ne(U,me))}p.state=U}else U.queue=null}var Jt={id:1,overflow:""};function cr(p,w,O){var F=p.id;p=p.overflow;var $=32-qn(F)-1;F&=~(1<<$),O+=1;var U=32-qn(w)+$;if(30<U){var ie=$-$%5;return U=(F&(1<<ie)-1).toString(32),F>>=ie,$-=ie,{id:1<<32-qn(w)+$|O<<$|F,overflow:U+p}}return{id:1<<U|O<<$|F,overflow:p}}var qn=Math.clz32?Math.clz32:vi,Gi=Math.log,Kt=Math.LN2;function vi(p){return p>>>=0,p===0?32:31-(Gi(p)/Kt|0)|0}function $t(p,w){return p===w&&(p!==0||1/p===1/w)||p!==p&&w!==w}var yi=typeof Object.is=="function"?Object.is:$t,ln=null,Rt=null,Tn=null,it=null,Un=!1,Vn=!1,Jn=0,kn=null,xr=0;function It(){if(ln===null)throw Error(r(321));return ln}function eo(){if(0<xr)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function Wn(){return it===null?Tn===null?(Un=!1,Tn=it=eo()):(Un=!0,it=Tn):it.next===null?(Un=!1,it=it.next=eo()):(Un=!0,it=it.next),it}function bi(){Rt=ln=null,Vn=!1,Tn=null,xr=0,it=kn=null}function Or(p,w){return typeof w=="function"?w(p):w}function to(p,w,O){if(ln=It(),it=Wn(),Un){var F=it.queue;if(w=F.dispatch,kn!==null&&(O=kn.get(F),O!==void 0)){kn.delete(F),F=it.memoizedState;do F=p(F,O.action),O=O.next;while(O!==null);return it.memoizedState=F,[F,w]}return[it.memoizedState,w]}return p=p===Or?typeof w=="function"?w():w:O!==void 0?O(w):w,it.memoizedState=p,p=it.queue={last:null,dispatch:null},p=p.dispatch=Jr.bind(null,ln,p),[it.memoizedState,p]}function Zr(p,w){if(ln=It(),it=Wn(),w=w===void 0?null:w,it!==null){var O=it.memoizedState;if(O!==null&&w!==null){var F=O[1];e:if(F===null)F=!1;else{for(var $=0;$<F.length&&$<w.length;$++)if(!yi(w[$],F[$])){F=!1;break e}F=!0}if(F)return O[0]}}return p=p(),it.memoizedState=[p,w],p}function Jr(p,w,O){if(25<=xr)throw Error(r(301));if(p===ln)if(Vn=!0,p={action:O,next:null},kn===null&&(kn=new Map),O=kn.get(w),O===void 0)kn.set(w,p);else{for(w=O;w.next!==null;)w=w.next;w.next=p}}function Wr(){throw Error(r(394))}function fr(){}var dr={readContext:function(p){return p._currentValue2},useContext:function(p){return It(),p._currentValue2},useMemo:Zr,useReducer:to,useRef:function(p){ln=It(),it=Wn();var w=it.memoizedState;return w===null?(p={current:p},it.memoizedState=p):w},useState:function(p){return to(Or,p)},useInsertionEffect:fr,useLayoutEffect:function(){},useCallback:function(p,w){return Zr(function(){return p},w)},useImperativeHandle:fr,useEffect:fr,useDebugValue:fr,useDeferredValue:function(p){return It(),p},useTransition:function(){return It(),[!1,Wr]},useId:function(){var p=Rt.treeContext,w=p.overflow;p=p.id,p=(p&~(1<<32-qn(p)-1)).toString(32)+w;var O=Ai;if(O===null)throw Error(r(404));return w=Jn++,p=":"+O.idPrefix+"R"+p,0<w&&(p+="H"+w.toString(32)),p+":"},useMutableSource:function(p,w){return It(),w(p._source)},useSyncExternalStore:function(p,w,O){if(O===void 0)throw Error(r(407));return O()}},Ai=null,no=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Gn(p){return console.error(p),null}function pr(){}function pn(p,w,O,F,$,U,ie,me,be){var Ee=[],We=new Set;return w={destination:null,responseState:w,progressiveChunkSize:F===void 0?12800:F,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:We,pingedTasks:Ee,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:$===void 0?Gn:$,onAllReady:U===void 0?pr:U,onShellReady:ie===void 0?pr:ie,onShellError:me===void 0?pr:me,onFatalError:be===void 0?pr:be},O=Lr(w,0,null,O,!1,!1),O.parentFlushed=!0,p=ot(w,p,null,O,We,rt,null,Jt),Ee.push(p),w}function ot(p,w,O,F,$,U,ie,me){p.allPendingTasks++,O===null?p.pendingRootTasks++:O.pendingTasks++;var be={node:w,ping:function(){var Ee=p.pingedTasks;Ee.push(be),Ee.length===1&&Nn(p)},blockedBoundary:O,blockedSegment:F,abortSet:$,legacyContext:U,context:ie,treeContext:me};return $.add(be),be}function Lr(p,w,O,F,$,U){return{status:0,id:-1,index:w,parentFlushed:!1,chunks:[],children:[],formatContext:F,boundary:O,lastPushedText:$,textEmbedded:U}}function Nr(p,w){if(p=p.onError(w),p!=null&&typeof p!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof p+'" instead');return p}function tt(p,w){var O=p.onShellError;O(w),O=p.onFatalError,O(w),p.destination!==null?(p.status=2,p.destination.destroy(w)):(p.status=1,p.fatalError=w)}function Mr(p,w,O,F,$){for(ln={},Rt=w,Jn=0,p=O(F,$);Vn;)Vn=!1,Jn=0,xr+=1,it=null,p=O(F,$);return bi(),p}function Dr(p,w,O,F){var $=O.render(),U=F.childContextTypes;if(U!=null){var ie=w.legacyContext;if(typeof O.getChildContext!="function")F=ie;else{O=O.getChildContext();for(var me in O)if(!(me in U))throw Error(r(108,Ct(F)||"Unknown",me));F=Ne({},ie,O)}w.legacyContext=F,Tt(p,w,$),w.legacyContext=ie}else Tt(p,w,$)}function Gr(p,w){if(p&&p.defaultProps){w=Ne({},w),p=p.defaultProps;for(var O in p)w[O]===void 0&&(w[O]=p[O]);return w}return w}function gt(p,w,O,F,$){if(typeof O=="function")if(O.prototype&&O.prototype.isReactComponent){$=pt(O,w.legacyContext);var U=O.contextType;U=new O(F,typeof U=="object"&&U!==null?U._currentValue2:$),Sn(U,O,F,$),Dr(p,w,U,O)}else{U=pt(O,w.legacyContext),$=Mr(p,w,O,F,U);var ie=Jn!==0;if(typeof $=="object"&&$!==null&&typeof $.render=="function"&&$.$$typeof===void 0)Sn($,O,F,U),Dr(p,w,$,O);else if(ie){F=w.treeContext,w.treeContext=cr(F,1,0);try{Tt(p,w,$)}finally{w.treeContext=F}}else Tt(p,w,$)}else if(typeof O=="string"){switch($=w.blockedSegment,U=ge($.chunks,O,F,p.responseState,$.formatContext),$.lastPushedText=!1,ie=$.formatContext,$.formatContext=W(ie,O,F),ti(p,w,U),$.formatContext=ie,O){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:$.chunks.push("</",O,">")}$.lastPushedText=!1}else{switch(O){case Ft:case lt:case qe:case je:case Nt:Tt(p,w,F.children);return;case Et:Tt(p,w,F.children);return;case ut:throw Error(r(343));case Dt:e:{O=w.blockedBoundary,$=w.blockedSegment,U=F.fallback,F=F.children,ie=new Set;var me={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ie,errorDigest:null},be=Lr(p,$.chunks.length,me,$.formatContext,!1,!1);$.children.push(be),$.lastPushedText=!1;var Ee=Lr(p,0,null,$.formatContext,!1,!1);Ee.parentFlushed=!0,w.blockedBoundary=me,w.blockedSegment=Ee;try{if(ti(p,w,F),p.responseState.generateStaticMarkup||Ee.lastPushedText&&Ee.textEmbedded&&Ee.chunks.push("<!-- -->"),Ee.status=1,hr(me,Ee),me.pendingTasks===0)break e}catch(We){Ee.status=4,me.forceClientRender=!0,me.errorDigest=Nr(p,We)}finally{w.blockedBoundary=O,w.blockedSegment=$}w=ot(p,U,O,be,ie,w.legacyContext,w.context,w.treeContext),p.pingedTasks.push(w)}return}if(typeof O=="object"&&O!==null)switch(O.$$typeof){case At:if(F=Mr(p,w,O.render,F,$),Jn!==0){O=w.treeContext,w.treeContext=cr(O,1,0);try{Tt(p,w,F)}finally{w.treeContext=O}}else Tt(p,w,F);return;case Zt:O=O.type,F=Gr(O,F),gt(p,w,O,F,$);return;case dt:if($=F.children,O=O._context,F=F.value,U=O._currentValue2,O._currentValue2=F,ie=Pt,Pt=F={parent:ie,depth:ie===null?0:ie.depth+1,context:O,parentValue:U,value:F},w.context=F,Tt(p,w,$),p=Pt,p===null)throw Error(r(403));F=p.parentValue,p.context._currentValue2=F===dn?p.context._defaultValue:F,p=Pt=p.parent,w.context=p;return;case Bt:F=F.children,F=F(O._currentValue2),Tt(p,w,F);return;case $e:$=O._init,O=$(O._payload),F=Gr(O,F),gt(p,w,O,F,void 0);return}throw Error(r(130,O==null?O:typeof O,""))}}function Tt(p,w,O){if(w.node=O,typeof O=="object"&&O!==null){switch(O.$$typeof){case Je:gt(p,w,O.type,O.props,O.ref);return;case kt:throw Error(r(257));case $e:var F=O._init;O=F(O._payload),Tt(p,w,O);return}if(ne(O)){ei(p,w,O);return}if(O===null||typeof O!="object"?F=null:(F=Mt&&O[Mt]||O["@@iterator"],F=typeof F=="function"?F:null),F&&(F=F.call(O))){if(O=F.next(),!O.done){var $=[];do $.push(O.value),O=F.next();while(!O.done);ei(p,w,$)}return}throw p=Object.prototype.toString.call(O),Error(r(31,p==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":p))}typeof O=="string"?(F=w.blockedSegment,F.lastPushedText=ae(w.blockedSegment.chunks,O,p.responseState,F.lastPushedText)):typeof O=="number"&&(F=w.blockedSegment,F.lastPushedText=ae(w.blockedSegment.chunks,""+O,p.responseState,F.lastPushedText))}function ei(p,w,O){for(var F=O.length,$=0;$<F;$++){var U=w.treeContext;w.treeContext=cr(U,F,$);try{ti(p,w,O[$])}finally{w.treeContext=U}}}function ti(p,w,O){var F=w.blockedSegment.formatContext,$=w.legacyContext,U=w.context;try{return Tt(p,w,O)}catch(be){if(bi(),typeof be=="object"&&be!==null&&typeof be.then=="function"){O=be;var ie=w.blockedSegment,me=Lr(p,ie.chunks.length,null,ie.formatContext,ie.lastPushedText,!0);ie.children.push(me),ie.lastPushedText=!1,p=ot(p,w.node,w.blockedBoundary,me,w.abortSet,w.legacyContext,w.context,w.treeContext).ping,O.then(p,p),w.blockedSegment.formatContext=F,w.legacyContext=$,w.context=U,wn(U)}else throw w.blockedSegment.formatContext=F,w.legacyContext=$,w.context=U,wn(U),be}}function Fr(p){var w=p.blockedBoundary;p=p.blockedSegment,p.status=3,Yt(this,w,p)}function Ki(p,w,O){var F=p.blockedBoundary;p.blockedSegment.status=3,F===null?(w.allPendingTasks--,w.status!==2&&(w.status=2,w.destination!==null&&w.destination.push(null))):(F.pendingTasks--,F.forceClientRender||(F.forceClientRender=!0,p=O===void 0?Error(r(432)):O,F.errorDigest=w.onError(p),F.parentFlushed&&w.clientRenderedBoundaries.push(F)),F.fallbackAbortableTasks.forEach(function($){return Ki($,w,O)}),F.fallbackAbortableTasks.clear(),w.allPendingTasks--,w.allPendingTasks===0&&(F=w.onAllReady,F()))}function hr(p,w){if(w.chunks.length===0&&w.children.length===1&&w.children[0].boundary===null){var O=w.children[0];O.id=w.id,O.parentFlushed=!0,O.status===1&&hr(p,O)}else p.completedSegments.push(w)}function Yt(p,w,O){if(w===null){if(O.parentFlushed){if(p.completedRootSegment!==null)throw Error(r(389));p.completedRootSegment=O}p.pendingRootTasks--,p.pendingRootTasks===0&&(p.onShellError=pr,w=p.onShellReady,w())}else w.pendingTasks--,w.forceClientRender||(w.pendingTasks===0?(O.parentFlushed&&O.status===1&&hr(w,O),w.parentFlushed&&p.completedBoundaries.push(w),w.fallbackAbortableTasks.forEach(Fr,p),w.fallbackAbortableTasks.clear()):O.parentFlushed&&O.status===1&&(hr(w,O),w.completedSegments.length===1&&w.parentFlushed&&p.partialBoundaries.push(w)));p.allPendingTasks--,p.allPendingTasks===0&&(p=p.onAllReady,p())}function Nn(p){if(p.status!==2){var w=Pt,O=no.current;no.current=dr;var F=Ai;Ai=p.responseState;try{var $=p.pingedTasks,U;for(U=0;U<$.length;U++){var ie=$[U],me=p,be=ie.blockedSegment;if(be.status===0){wn(ie.context);try{Tt(me,ie,ie.node),me.responseState.generateStaticMarkup||be.lastPushedText&&be.textEmbedded&&be.chunks.push("<!-- -->"),ie.abortSet.delete(ie),be.status=1,Yt(me,ie.blockedBoundary,be)}catch(on){if(bi(),typeof on=="object"&&on!==null&&typeof on.then=="function"){var Ee=ie.ping;on.then(Ee,Ee)}else{ie.abortSet.delete(ie),be.status=4;var We=ie.blockedBoundary,wt=on,xt=Nr(me,wt);if(We===null?tt(me,wt):(We.pendingTasks--,We.forceClientRender||(We.forceClientRender=!0,We.errorDigest=xt,We.parentFlushed&&me.clientRenderedBoundaries.push(We))),me.allPendingTasks--,me.allPendingTasks===0){var Wt=me.onAllReady;Wt()}}}finally{}}}$.splice(0,U),p.destination!==null&&Br(p,p.destination)}catch(on){Nr(p,on),tt(p,on)}finally{Ai=F,no.current=O,O===dr&&wn(w)}}}function Pr(p,w,O){switch(O.parentFlushed=!0,O.status){case 0:var F=O.id=p.nextSegmentId++;return O.lastPushedText=!1,O.textEmbedded=!1,p=p.responseState,w.push('<template id="'),w.push(p.placeholderPrefix),p=F.toString(16),w.push(p),w.push('"></template>');case 1:O.status=2;var $=!0;F=O.chunks;var U=0;O=O.children;for(var ie=0;ie<O.length;ie++){for($=O[ie];U<$.index;U++)w.push(F[U]);$=rn(p,w,$)}for(;U<F.length-1;U++)w.push(F[U]);return U<F.length&&($=w.push(F[U])),$;default:throw Error(r(390))}}function rn(p,w,O){var F=O.boundary;if(F===null)return Pr(p,w,O);if(F.parentFlushed=!0,F.forceClientRender)return p.responseState.generateStaticMarkup||(F=F.errorDigest,w.push("<!--$!-->"),w.push("<template"),F&&(w.push(' data-dgst="'),F=P(F),w.push(F),w.push('"')),w.push("></template>")),Pr(p,w,O),p=p.responseState.generateStaticMarkup?!0:w.push("<!--/$-->"),p;if(0<F.pendingTasks){F.rootSegmentID=p.nextSegmentId++,0<F.completedSegments.length&&p.partialBoundaries.push(F);var $=p.responseState,U=$.nextSuspenseID++;return $=$.boundaryPrefix+U.toString(16),F=F.id=$,Le(w,p.responseState,F),Pr(p,w,O),w.push("<!--/$-->")}if(F.byteSize>p.progressiveChunkSize)return F.rootSegmentID=p.nextSegmentId++,p.completedBoundaries.push(F),Le(w,p.responseState,F.id),Pr(p,w,O),w.push("<!--/$-->");if(p.responseState.generateStaticMarkup||w.push("<!--$-->"),O=F.completedSegments,O.length!==1)throw Error(r(391));return rn(p,w,O[0]),p=p.responseState.generateStaticMarkup?!0:w.push("<!--/$-->"),p}function _i(p,w,O){return Te(w,p.responseState,O.formatContext,O.id),rn(p,w,O),De(w,O.formatContext)}function ro(p,w,O){for(var F=O.completedSegments,$=0;$<F.length;$++)io(p,w,O,F[$]);if(F.length=0,p=p.responseState,F=O.id,O=O.rootSegmentID,w.push(p.startInlineScript),p.sentCompleteBoundaryFunction?w.push('$RC("'):(p.sentCompleteBoundaryFunction=!0,w.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),F===null)throw Error(r(395));return O=O.toString(16),w.push(F),w.push('","'),w.push(p.segmentPrefix),w.push(O),w.push('")<\/script>')}function io(p,w,O,F){if(F.status===2)return!0;var $=F.id;if($===-1){if((F.id=O.rootSegmentID)===-1)throw Error(r(392));return _i(p,w,F)}return _i(p,w,F),p=p.responseState,w.push(p.startInlineScript),p.sentCompleteSegmentFunction?w.push('$RS("'):(p.sentCompleteSegmentFunction=!0,w.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),w.push(p.segmentPrefix),$=$.toString(16),w.push($),w.push('","'),w.push(p.placeholderPrefix),w.push($),w.push('")<\/script>')}function Br(p,w){try{var O=p.completedRootSegment;if(O!==null&&p.pendingRootTasks===0){rn(p,w,O),p.completedRootSegment=null;var F=p.responseState.bootstrapChunks;for(O=0;O<F.length-1;O++)w.push(F[O]);O<F.length&&w.push(F[O])}var $=p.clientRenderedBoundaries,U;for(U=0;U<$.length;U++){var ie=$[U];F=w;var me=p.responseState,be=ie.id,Ee=ie.errorDigest,We=ie.errorMessage,wt=ie.errorComponentStack;if(F.push(me.startInlineScript),me.sentClientRenderFunction?F.push('$RX("'):(me.sentClientRenderFunction=!0,F.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),be===null)throw Error(r(395));if(F.push(be),F.push('"'),Ee||We||wt){F.push(",");var xt=ue(Ee||"");F.push(xt)}if(We||wt){F.push(",");var Wt=ue(We||"");F.push(Wt)}if(wt){F.push(",");var on=ue(wt);F.push(on)}if(!F.push(")<\/script>")){p.destination=null,U++,$.splice(0,U);return}}$.splice(0,U);var gr=p.completedBoundaries;for(U=0;U<gr.length;U++)if(!ro(p,w,gr[U])){p.destination=null,U++,gr.splice(0,U);return}gr.splice(0,U);var hn=p.partialBoundaries;for(U=0;U<hn.length;U++){var jn=hn[U];e:{$=p,ie=w;var mn=jn.completedSegments;for(me=0;me<mn.length;me++)if(!io($,ie,jn,mn[me])){me++,mn.splice(0,me);var er=!1;break e}mn.splice(0,me),er=!0}if(!er){p.destination=null,U++,hn.splice(0,U);return}}hn.splice(0,U);var Mn=p.completedBoundaries;for(U=0;U<Mn.length;U++)if(!ro(p,w,Mn[U])){p.destination=null,U++,Mn.splice(0,U);return}Mn.splice(0,U)}finally{p.allPendingTasks===0&&p.pingedTasks.length===0&&p.clientRenderedBoundaries.length===0&&p.completedBoundaries.length===0&&w.push(null)}}function mr(p,w){try{var O=p.abortableTasks;O.forEach(function(F){return Ki(F,p,w)}),O.clear(),p.destination!==null&&Br(p,p.destination)}catch(F){Nr(p,F),tt(p,F)}}function Ar(){}function Kr(p,w,O,F){var $=!1,U=null,ie="",me={push:function(Ee){return Ee!==null&&(ie+=Ee),!0},destroy:function(Ee){$=!0,U=Ee}},be=!1;if(p=pn(p,fe(O,w?w.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Ar,void 0,function(){be=!0},void 0,void 0),Nn(p),mr(p,F),p.status===1)p.status=2,me.destroy(p.fatalError);else if(p.status!==2&&p.destination===null){p.destination=me;try{Br(p,me)}catch(Ee){Nr(p,Ee),tt(p,Ee)}}if($)throw U;if(!be)throw Error(r(426));return ie}return Jo.renderToNodeStream=function(){throw Error(r(207))},Jo.renderToStaticMarkup=function(p,w){return Kr(p,w,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Jo.renderToStaticNodeStream=function(){throw Error(r(208))},Jo.renderToString=function(p,w){return Kr(p,w,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Jo.version="18.2.0",Jo}var cu={};/**
20
+ * @license React
21
+ * react-dom-server.browser.production.min.js
22
+ *
23
+ * Copyright (c) Facebook, Inc. and its affiliates.
24
+ *
25
+ * This source code is licensed under the MIT license found in the
26
+ * LICENSE file in the root directory of this source tree.
27
+ */var np;function R0(){if(np)return cu;np=1;var t=q;function r(h){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+h,x=1;x<arguments.length;x++)_+="&args[]="+encodeURIComponent(arguments[x]);return"Minified React error #"+h+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=null,a=0;function u(h,_){if(_.length!==0)if(512<_.length)0<a&&(h.enqueue(new Uint8Array(i.buffer,0,a)),i=new Uint8Array(512),a=0),h.enqueue(_);else{var x=i.length-a;x<_.length&&(x===0?h.enqueue(i):(i.set(_.subarray(0,x),a),h.enqueue(i),_=_.subarray(x)),i=new Uint8Array(512),a=0),i.set(_,a),a+=_.length}}function f(h,_){return u(h,_),!0}function g(h){i&&0<a&&(h.enqueue(new Uint8Array(i.buffer,0,a)),i=null,a=0)}var y=new TextEncoder;function b(h){return y.encode(h)}function k(h){return y.encode(h)}function L(h,_){typeof h.error=="function"?h.error(_):h.close()}var B=Object.prototype.hasOwnProperty,M=/^[: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]*$/,j={},P={};function K(h){return B.call(P,h)?!0:B.call(j,h)?!1:M.test(h)?P[h]=!0:(j[h]=!0,!1)}function T(h,_,x,D,Y,V,te){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=D,this.attributeNamespace=Y,this.mustUseProperty=x,this.propertyName=h,this.type=_,this.sanitizeURL=V,this.removeEmptyString=te}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(h){ne[h]=new T(h,0,!1,h,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(h){var _=h[0];ne[_]=new T(_,1,!1,h[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(h){ne[h]=new T(h,2,!1,h.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(h){ne[h]=new T(h,2,!1,h,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(h){ne[h]=new T(h,3,!1,h.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(h){ne[h]=new T(h,3,!0,h,null,!1,!1)}),["capture","download"].forEach(function(h){ne[h]=new T(h,4,!1,h,null,!1,!1)}),["cols","rows","size","span"].forEach(function(h){ne[h]=new T(h,6,!1,h,null,!1,!1)}),["rowSpan","start"].forEach(function(h){ne[h]=new T(h,5,!1,h.toLowerCase(),null,!1,!1)});var J=/[\-:]([a-z])/g;function W(h){return h[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(h){var _=h.replace(J,W);ne[_]=new T(_,1,!1,h,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(h){var _=h.replace(J,W);ne[_]=new T(_,1,!1,h,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(h){var _=h.replace(J,W);ne[_]=new T(_,1,!1,h,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(h){ne[h]=new T(h,1,!1,h.toLowerCase(),null,!1,!1)}),ne.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(h){ne[h]=new T(h,1,!1,h.toLowerCase(),null,!0,!0)});var Z={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},le=["Webkit","ms","Moz","O"];Object.keys(Z).forEach(function(h){le.forEach(function(_){_=_+h.charAt(0).toUpperCase()+h.substring(1),Z[_]=Z[h]})});var Se=/["'&<>]/;function _e(h){if(typeof h=="boolean"||typeof h=="number")return""+h;h=""+h;var _=Se.exec(h);if(_){var x="",D,Y=0;for(D=_.index;D<h.length;D++){switch(h.charCodeAt(D)){case 34:_="&quot;";break;case 38:_="&amp;";break;case 39:_="&#x27;";break;case 60:_="&lt;";break;case 62:_="&gt;";break;default:continue}Y!==D&&(x+=h.substring(Y,D)),Y=D+1,x+=_}h=Y!==D?x+h.substring(Y,D):x}return h}var Ie=/([A-Z])/g,ve=/^ms-/,ke=Array.isArray,we=k("<script>"),he=k("<\/script>"),ge=k('<script src="'),Le=k('<script type="module" src="'),Te=k('" async=""><\/script>'),De=/(<\/|<)(s)(cript)/gi;function Re(h,_,x,D){return""+_+(x==="s"?"\\u0073":"\\u0053")+D}function ue(h,_,x,D,Y){h=h===void 0?"":h,_=_===void 0?we:k('<script nonce="'+_e(_)+'">');var V=[];if(x!==void 0&&V.push(_,b((""+x).replace(De,Re)),he),D!==void 0)for(x=0;x<D.length;x++)V.push(ge,b(_e(D[x])),Te);if(Y!==void 0)for(D=0;D<Y.length;D++)V.push(Le,b(_e(Y[D])),Te);return{bootstrapChunks:V,startInlineScript:_,placeholderPrefix:k(h+"P:"),segmentPrefix:k(h+"S:"),boundaryPrefix:h+"B:",idPrefix:h,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function fe(h,_){return{insertionMode:h,selectedValue:_}}function ae(h){return fe(h==="http://www.w3.org/2000/svg"?2:h==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Ne(h,_,x){switch(_){case"select":return fe(1,x.value!=null?x.value:x.defaultValue);case"svg":return fe(2,null);case"math":return fe(3,null);case"foreignObject":return fe(1,null);case"table":return fe(4,null);case"thead":case"tbody":case"tfoot":return fe(5,null);case"colgroup":return fe(7,null);case"tr":return fe(6,null)}return 4<=h.insertionMode||h.insertionMode===0?fe(1,null):h}var Je=k("<!-- -->");function kt(h,_,x,D){return _===""?D:(D&&h.push(Je),h.push(b(_e(_))),!0)}var Nt=new Map,qe=k(' style="'),je=k(":"),dt=k(";");function Bt(h,_,x){if(typeof x!="object")throw Error(r(62));_=!0;for(var D in x)if(B.call(x,D)){var Y=x[D];if(Y!=null&&typeof Y!="boolean"&&Y!==""){if(D.indexOf("--")===0){var V=b(_e(D));Y=b(_e((""+Y).trim()))}else{V=D;var te=Nt.get(V);te!==void 0||(te=k(_e(V.replace(Ie,"-$1").toLowerCase().replace(ve,"-ms-"))),Nt.set(V,te)),V=te,Y=typeof Y=="number"?Y===0||B.call(Z,D)?b(""+Y):b(Y+"px"):b(_e((""+Y).trim()))}_?(_=!1,h.push(qe,V,je,Y)):h.push(dt,V,je,Y)}}_||h.push(Et)}var At=k(" "),Dt=k('="'),Et=k('"'),Zt=k('=""');function $e(h,_,x,D){switch(x){case"style":Bt(h,_,D);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<x.length)||x[0]!=="o"&&x[0]!=="O"||x[1]!=="n"&&x[1]!=="N"){if(_=ne.hasOwnProperty(x)?ne[x]:null,_!==null){switch(typeof D){case"function":case"symbol":return;case"boolean":if(!_.acceptsBooleans)return}switch(x=b(_.attributeName),_.type){case 3:D&&h.push(At,x,Zt);break;case 4:D===!0?h.push(At,x,Zt):D!==!1&&h.push(At,x,Dt,b(_e(D)),Et);break;case 5:isNaN(D)||h.push(At,x,Dt,b(_e(D)),Et);break;case 6:!isNaN(D)&&1<=D&&h.push(At,x,Dt,b(_e(D)),Et);break;default:_.sanitizeURL&&(D=""+D),h.push(At,x,Dt,b(_e(D)),Et)}}else if(K(x)){switch(typeof D){case"function":case"symbol":return;case"boolean":if(_=x.toLowerCase().slice(0,5),_!=="data-"&&_!=="aria-")return}h.push(At,b(x),Dt,b(_e(D)),Et)}}}var ut=k(">"),lt=k("/>");function Ft(h,_,x){if(_!=null){if(x!=null)throw Error(r(60));if(typeof _!="object"||!("__html"in _))throw Error(r(61));_=_.__html,_!=null&&h.push(b(""+_))}}function dn(h){var _="";return t.Children.forEach(h,function(x){x!=null&&(_+=x)}),_}var Mt=k(' selected=""');function Ct(h,_,x,D){h.push(Pe(x));var Y=x=null,V;for(V in _)if(B.call(_,V)){var te=_[V];if(te!=null)switch(V){case"children":x=te;break;case"dangerouslySetInnerHTML":Y=te;break;default:$e(h,D,V,te)}}return h.push(ut),Ft(h,Y,x),typeof x=="string"?(h.push(b(_e(x))),null):x}var rt=k(`
28
+ `),pt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Pt=new Map;function Pe(h){var _=Pt.get(h);if(_===void 0){if(!pt.test(h))throw Error(r(65,h));_=k("<"+h),Pt.set(h,_)}return _}var nt=k("<!DOCTYPE html>");function Ze(h,_,x,D,Y){switch(_){case"select":h.push(Pe("select"));var V=null,te=null;for(Ue in x)if(B.call(x,Ue)){var pe=x[Ue];if(pe!=null)switch(Ue){case"children":V=pe;break;case"dangerouslySetInnerHTML":te=pe;break;case"defaultValue":case"value":break;default:$e(h,D,Ue,pe)}}return h.push(ut),Ft(h,te,V),V;case"option":te=Y.selectedValue,h.push(Pe("option"));var He=pe=null,Ye=null,Ue=null;for(V in x)if(B.call(x,V)){var Lt=x[V];if(Lt!=null)switch(V){case"children":pe=Lt;break;case"selected":Ye=Lt;break;case"dangerouslySetInnerHTML":Ue=Lt;break;case"value":He=Lt;default:$e(h,D,V,Lt)}}if(te!=null)if(x=He!==null?""+He:dn(pe),ke(te)){for(D=0;D<te.length;D++)if(""+te[D]===x){h.push(Mt);break}}else""+te===x&&h.push(Mt);else Ye&&h.push(Mt);return h.push(ut),Ft(h,Ue,pe),pe;case"textarea":h.push(Pe("textarea")),Ue=te=V=null;for(pe in x)if(B.call(x,pe)&&(He=x[pe],He!=null))switch(pe){case"children":Ue=He;break;case"value":V=He;break;case"defaultValue":te=He;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:$e(h,D,pe,He)}if(V===null&&te!==null&&(V=te),h.push(ut),Ue!=null){if(V!=null)throw Error(r(92));if(ke(Ue)&&1<Ue.length)throw Error(r(93));V=""+Ue}return typeof V=="string"&&V[0]===`
29
+ `&&h.push(rt),V!==null&&h.push(b(_e(""+V))),null;case"input":h.push(Pe("input")),He=Ue=pe=V=null;for(te in x)if(B.call(x,te)&&(Ye=x[te],Ye!=null))switch(te){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"defaultChecked":He=Ye;break;case"defaultValue":pe=Ye;break;case"checked":Ue=Ye;break;case"value":V=Ye;break;default:$e(h,D,te,Ye)}return Ue!==null?$e(h,D,"checked",Ue):He!==null&&$e(h,D,"checked",He),V!==null?$e(h,D,"value",V):pe!==null&&$e(h,D,"value",pe),h.push(lt),null;case"menuitem":h.push(Pe("menuitem"));for(var yn in x)if(B.call(x,yn)&&(V=x[yn],V!=null))switch(yn){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:$e(h,D,yn,V)}return h.push(ut),null;case"title":h.push(Pe("title")),V=null;for(Lt in x)if(B.call(x,Lt)&&(te=x[Lt],te!=null))switch(Lt){case"children":V=te;break;case"dangerouslySetInnerHTML":throw Error(r(434));default:$e(h,D,Lt,te)}return h.push(ut),V;case"listing":case"pre":h.push(Pe(_)),te=V=null;for(He in x)if(B.call(x,He)&&(pe=x[He],pe!=null))switch(He){case"children":V=pe;break;case"dangerouslySetInnerHTML":te=pe;break;default:$e(h,D,He,pe)}if(h.push(ut),te!=null){if(V!=null)throw Error(r(60));if(typeof te!="object"||!("__html"in te))throw Error(r(61));x=te.__html,x!=null&&(typeof x=="string"&&0<x.length&&x[0]===`
30
+ `?h.push(rt,b(x)):h.push(b(""+x)))}return typeof V=="string"&&V[0]===`
31
+ `&&h.push(rt),V;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":h.push(Pe(_));for(var Ut in x)if(B.call(x,Ut)&&(V=x[Ut],V!=null))switch(Ut){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,_));default:$e(h,D,Ut,V)}return h.push(lt),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 Ct(h,x,_,D);case"html":return Y.insertionMode===0&&h.push(nt),Ct(h,x,_,D);default:if(_.indexOf("-")===-1&&typeof x.is!="string")return Ct(h,x,_,D);h.push(Pe(_)),te=V=null;for(Ye in x)if(B.call(x,Ye)&&(pe=x[Ye],pe!=null))switch(Ye){case"children":V=pe;break;case"dangerouslySetInnerHTML":te=pe;break;case"style":Bt(h,D,pe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:K(Ye)&&typeof pe!="function"&&typeof pe!="symbol"&&h.push(At,b(Ye),Dt,b(_e(pe)),Et)}return h.push(ut),Ft(h,te,V),V}}var ht=k("</"),Ge=k(">"),wn=k('<template id="'),ct=k('"></template>'),Sn=k("<!--$-->"),Jt=k('<!--$?--><template id="'),cr=k('"></template>'),qn=k("<!--$!-->"),Gi=k("<!--/$-->"),Kt=k("<template"),vi=k('"'),$t=k(' data-dgst="');k(' data-msg="'),k(' data-stck="');var yi=k("></template>");function ln(h,_,x){if(u(h,Jt),x===null)throw Error(r(395));return u(h,x),f(h,cr)}var Rt=k('<div hidden id="'),Tn=k('">'),it=k("</div>"),Un=k('<svg aria-hidden="true" style="display:none" id="'),Vn=k('">'),Jn=k("</svg>"),kn=k('<math aria-hidden="true" style="display:none" id="'),xr=k('">'),It=k("</math>"),eo=k('<table hidden id="'),Wn=k('">'),bi=k("</table>"),Or=k('<table hidden><tbody id="'),to=k('">'),Zr=k("</tbody></table>"),Jr=k('<table hidden><tr id="'),Wr=k('">'),fr=k("</tr></table>"),dr=k('<table hidden><colgroup id="'),Ai=k('">'),no=k("</colgroup></table>");function Gn(h,_,x,D){switch(x.insertionMode){case 0:case 1:return u(h,Rt),u(h,_.segmentPrefix),u(h,b(D.toString(16))),f(h,Tn);case 2:return u(h,Un),u(h,_.segmentPrefix),u(h,b(D.toString(16))),f(h,Vn);case 3:return u(h,kn),u(h,_.segmentPrefix),u(h,b(D.toString(16))),f(h,xr);case 4:return u(h,eo),u(h,_.segmentPrefix),u(h,b(D.toString(16))),f(h,Wn);case 5:return u(h,Or),u(h,_.segmentPrefix),u(h,b(D.toString(16))),f(h,to);case 6:return u(h,Jr),u(h,_.segmentPrefix),u(h,b(D.toString(16))),f(h,Wr);case 7:return u(h,dr),u(h,_.segmentPrefix),u(h,b(D.toString(16))),f(h,Ai);default:throw Error(r(397))}}function pr(h,_){switch(_.insertionMode){case 0:case 1:return f(h,it);case 2:return f(h,Jn);case 3:return f(h,It);case 4:return f(h,bi);case 5:return f(h,Zr);case 6:return f(h,fr);case 7:return f(h,no);default:throw Error(r(397))}}var pn=k('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ot=k('$RS("'),Lr=k('","'),Nr=k('")<\/script>'),tt=k('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Mr=k('$RC("'),Dr=k('","'),Gr=k('")<\/script>'),gt=k('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Tt=k('$RX("'),ei=k('"'),ti=k(")<\/script>"),Fr=k(","),Ki=/[<\u2028\u2029]/g;function hr(h){return JSON.stringify(h).replace(Ki,function(_){switch(_){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")}})}var Yt=Object.assign,Nn=Symbol.for("react.element"),Pr=Symbol.for("react.portal"),rn=Symbol.for("react.fragment"),_i=Symbol.for("react.strict_mode"),ro=Symbol.for("react.profiler"),io=Symbol.for("react.provider"),Br=Symbol.for("react.context"),mr=Symbol.for("react.forward_ref"),Ar=Symbol.for("react.suspense"),Kr=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),O=Symbol.for("react.scope"),F=Symbol.for("react.debug_trace_mode"),$=Symbol.for("react.legacy_hidden"),U=Symbol.for("react.default_value"),ie=Symbol.iterator;function me(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case rn:return"Fragment";case Pr:return"Portal";case ro:return"Profiler";case _i:return"StrictMode";case Ar:return"Suspense";case Kr:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case Br:return(h.displayName||"Context")+".Consumer";case io:return(h._context.displayName||"Context")+".Provider";case mr:var _=h.render;return h=h.displayName,h||(h=_.displayName||_.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case p:return _=h.displayName||null,_!==null?_:me(h.type)||"Memo";case w:_=h._payload,h=h._init;try{return me(h(_))}catch{}}return null}var be={};function Ee(h,_){if(h=h.contextTypes,!h)return be;var x={},D;for(D in h)x[D]=_[D];return x}var We=null;function wt(h,_){if(h!==_){h.context._currentValue=h.parentValue,h=h.parent;var x=_.parent;if(h===null){if(x!==null)throw Error(r(401))}else{if(x===null)throw Error(r(401));wt(h,x)}_.context._currentValue=_.value}}function xt(h){h.context._currentValue=h.parentValue,h=h.parent,h!==null&&xt(h)}function Wt(h){var _=h.parent;_!==null&&Wt(_),h.context._currentValue=h.value}function on(h,_){if(h.context._currentValue=h.parentValue,h=h.parent,h===null)throw Error(r(402));h.depth===_.depth?wt(h,_):on(h,_)}function gr(h,_){var x=_.parent;if(x===null)throw Error(r(402));h.depth===x.depth?wt(h,x):gr(h,x),_.context._currentValue=_.value}function hn(h){var _=We;_!==h&&(_===null?Wt(h):h===null?xt(_):_.depth===h.depth?wt(_,h):_.depth>h.depth?on(_,h):gr(_,h),We=h)}var jn={isMounted:function(){return!1},enqueueSetState:function(h,_){h=h._reactInternals,h.queue!==null&&h.queue.push(_)},enqueueReplaceState:function(h,_){h=h._reactInternals,h.replace=!0,h.queue=[_]},enqueueForceUpdate:function(){}};function mn(h,_,x,D){var Y=h.state!==void 0?h.state:null;h.updater=jn,h.props=x,h.state=Y;var V={queue:[],replace:!1};h._reactInternals=V;var te=_.contextType;if(h.context=typeof te=="object"&&te!==null?te._currentValue:D,te=_.getDerivedStateFromProps,typeof te=="function"&&(te=te(x,Y),Y=te==null?Y:Yt({},Y,te),h.state=Y),typeof _.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function"))if(_=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),_!==h.state&&jn.enqueueReplaceState(h,h.state,null),V.queue!==null&&0<V.queue.length)if(_=V.queue,te=V.replace,V.queue=null,V.replace=!1,te&&_.length===1)h.state=_[0];else{for(V=te?_[0]:h.state,Y=!0,te=te?1:0;te<_.length;te++){var pe=_[te];pe=typeof pe=="function"?pe.call(h,V,x,D):pe,pe!=null&&(Y?(Y=!1,V=Yt({},V,pe)):Yt(V,pe))}h.state=V}else V.queue=null}var er={id:1,overflow:""};function Mn(h,_,x){var D=h.id;h=h.overflow;var Y=32-zn(D)-1;D&=~(1<<Y),x+=1;var V=32-zn(_)+Y;if(30<V){var te=Y-Y%5;return V=(D&(1<<te)-1).toString(32),D>>=te,Y-=te,{id:1<<32-zn(_)+Y|x<<Y|D,overflow:V+h}}return{id:1<<V|x<<Y|D,overflow:h}}var zn=Math.clz32?Math.clz32:oo,Ir=Math.log,ni=Math.LN2;function oo(h){return h>>>=0,h===0?32:31-(Ir(h)/ni|0)|0}function Tr(h,_){return h===_&&(h!==0||1/h===1/_)||h!==h&&_!==_}var qt=typeof Object.is=="function"?Object.is:Tr,tr=null,ri=null,Ii=null,vt=null,vr=!1,Gt=!1,En=0,gn=null,jr=0;function ii(){if(tr===null)throw Error(r(321));return tr}function ao(){if(0<jr)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function oi(){return vt===null?Ii===null?(vr=!1,Ii=vt=ao()):(vr=!0,vt=Ii):vt.next===null?(vr=!1,vt=vt.next=ao()):(vr=!0,vt=vt.next),vt}function Ti(){ri=tr=null,Gt=!1,Ii=null,jr=0,vt=gn=null}function ca(h,_){return typeof _=="function"?_(h):_}function zr(h,_,x){if(tr=ii(),vt=oi(),vr){var D=vt.queue;if(_=D.dispatch,gn!==null&&(x=gn.get(D),x!==void 0)){gn.delete(D),D=vt.memoizedState;do D=h(D,x.action),x=x.next;while(x!==null);return vt.memoizedState=D,[D,_]}return[vt.memoizedState,_]}return h=h===ca?typeof _=="function"?_():_:x!==void 0?x(_):_,vt.memoizedState=h,h=vt.queue={last:null,dispatch:null},h=h.dispatch=Lo.bind(null,tr,h),[vt.memoizedState,h]}function ji(h,_){if(tr=ii(),vt=oi(),_=_===void 0?null:_,vt!==null){var x=vt.memoizedState;if(x!==null&&_!==null){var D=x[1];e:if(D===null)D=!1;else{for(var Y=0;Y<D.length&&Y<_.length;Y++)if(!qt(_[Y],D[Y])){D=!1;break e}D=!0}if(D)return x[0]}}return h=h(),vt.memoizedState=[h,_],h}function Lo(h,_,x){if(25<=jr)throw Error(r(301));if(h===tr)if(Gt=!0,h={action:x,next:null},gn===null&&(gn=new Map),x=gn.get(_),x===void 0)gn.set(_,h);else{for(_=x;_.next!==null;)_=_.next;_.next=h}}function fa(){throw Error(r(394))}function wi(){}var zi={readContext:function(h){return h._currentValue},useContext:function(h){return ii(),h._currentValue},useMemo:ji,useReducer:zr,useRef:function(h){tr=ii(),vt=oi();var _=vt.memoizedState;return _===null?(h={current:h},vt.memoizedState=h):_},useState:function(h){return zr(ca,h)},useInsertionEffect:wi,useLayoutEffect:function(){},useCallback:function(h,_){return ji(function(){return h},_)},useImperativeHandle:wi,useEffect:wi,useDebugValue:wi,useDeferredValue:function(h){return ii(),h},useTransition:function(){return ii(),[!1,fa]},useId:function(){var h=ri.treeContext,_=h.overflow;h=h.id,h=(h&~(1<<32-zn(h)-1)).toString(32)+_;var x=lo;if(x===null)throw Error(r(404));return _=En++,h=":"+x.idPrefix+"R"+h,0<_&&(h+="H"+_.toString(32)),h+":"},useMutableSource:function(h,_){return ii(),_(h._source)},useSyncExternalStore:function(h,_,x){if(x===void 0)throw Error(r(407));return x()}},lo=null,Cn=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function nr(h){return console.error(h),null}function yr(){}function Ri(h,_,x,D,Y,V,te,pe,He){var Ye=[],Ue=new Set;return _={destination:null,responseState:_,progressiveChunkSize:D===void 0?12800:D,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ue,pingedTasks:Ye,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Y===void 0?nr:Y,onAllReady:V===void 0?yr:V,onShellReady:te===void 0?yr:te,onShellError:pe===void 0?yr:pe,onFatalError:He===void 0?yr:He},x=ft(_,0,null,x,!1,!1),x.parentFlushed=!0,h=uo(_,h,null,x,Ue,be,null,er),Ye.push(h),_}function uo(h,_,x,D,Y,V,te,pe){h.allPendingTasks++,x===null?h.pendingRootTasks++:x.pendingTasks++;var He={node:_,ping:function(){var Ye=h.pingedTasks;Ye.push(He),Ye.length===1&&Ot(h)},blockedBoundary:x,blockedSegment:D,abortSet:Y,legacyContext:V,context:te,treeContext:pe};return Y.add(He),He}function ft(h,_,x,D,Y,V){return{status:0,id:-1,index:_,parentFlushed:!1,chunks:[],children:[],formatContext:D,boundary:x,lastPushedText:Y,textEmbedded:V}}function ai(h,_){if(h=h.onError(_),h!=null&&typeof h!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof h+'" instead');return h}function Rr(h,_){var x=h.onShellError;x(_),x=h.onFatalError,x(_),h.destination!==null?(h.status=2,L(h.destination,_)):(h.status=1,h.fatalError=_)}function Hi(h,_,x,D,Y){for(tr={},ri=_,En=0,h=x(D,Y);Gt;)Gt=!1,En=0,jr+=1,vt=null,h=x(D,Y);return Ti(),h}function Qn(h,_,x,D){var Y=x.render(),V=D.childContextTypes;if(V!=null){var te=_.legacyContext;if(typeof x.getChildContext!="function")D=te;else{x=x.getChildContext();for(var pe in x)if(!(pe in V))throw Error(r(108,me(D)||"Unknown",pe));D=Yt({},te,x)}_.legacyContext=D,Dn(h,_,Y),_.legacyContext=te}else Dn(h,_,Y)}function No(h,_){if(h&&h.defaultProps){_=Yt({},_),h=h.defaultProps;for(var x in h)_[x]===void 0&&(_[x]=h[x]);return _}return _}function Mo(h,_,x,D,Y){if(typeof x=="function")if(x.prototype&&x.prototype.isReactComponent){Y=Ee(x,_.legacyContext);var V=x.contextType;V=new x(D,typeof V=="object"&&V!==null?V._currentValue:Y),mn(V,x,D,Y),Qn(h,_,V,x)}else{V=Ee(x,_.legacyContext),Y=Hi(h,_,x,D,V);var te=En!==0;if(typeof Y=="object"&&Y!==null&&typeof Y.render=="function"&&Y.$$typeof===void 0)mn(Y,x,D,V),Qn(h,_,Y,x);else if(te){D=_.treeContext,_.treeContext=Mn(D,1,0);try{Dn(h,_,Y)}finally{_.treeContext=D}}else Dn(h,_,Y)}else if(typeof x=="string"){switch(Y=_.blockedSegment,V=Ze(Y.chunks,x,D,h.responseState,Y.formatContext),Y.lastPushedText=!1,te=Y.formatContext,Y.formatContext=Ne(te,x,D),en(h,_,V),Y.formatContext=te,x){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Y.chunks.push(ht,b(x),Ge)}Y.lastPushedText=!1}else{switch(x){case $:case F:case _i:case ro:case rn:Dn(h,_,D.children);return;case Kr:Dn(h,_,D.children);return;case O:throw Error(r(343));case Ar:e:{x=_.blockedBoundary,Y=_.blockedSegment,V=D.fallback,D=D.children,te=new Set;var pe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:te,errorDigest:null},He=ft(h,Y.chunks.length,pe,Y.formatContext,!1,!1);Y.children.push(He),Y.lastPushedText=!1;var Ye=ft(h,0,null,Y.formatContext,!1,!1);Ye.parentFlushed=!0,_.blockedBoundary=pe,_.blockedSegment=Ye;try{if(en(h,_,D),Ye.lastPushedText&&Ye.textEmbedded&&Ye.chunks.push(Je),Ye.status=1,Fo(pe,Ye),pe.pendingTasks===0)break e}catch(Ue){Ye.status=4,pe.forceClientRender=!0,pe.errorDigest=ai(h,Ue)}finally{_.blockedBoundary=x,_.blockedSegment=Y}_=uo(h,V,x,He,te,_.legacyContext,_.context,_.treeContext),h.pingedTasks.push(_)}return}if(typeof x=="object"&&x!==null)switch(x.$$typeof){case mr:if(D=Hi(h,_,x.render,D,Y),En!==0){x=_.treeContext,_.treeContext=Mn(x,1,0);try{Dn(h,_,D)}finally{_.treeContext=x}}else Dn(h,_,D);return;case p:x=x.type,D=No(x,D),Mo(h,_,x,D,Y);return;case io:if(Y=D.children,x=x._context,D=D.value,V=x._currentValue,x._currentValue=D,te=We,We=D={parent:te,depth:te===null?0:te.depth+1,context:x,parentValue:V,value:D},_.context=D,Dn(h,_,Y),h=We,h===null)throw Error(r(403));D=h.parentValue,h.context._currentValue=D===U?h.context._defaultValue:D,h=We=h.parent,_.context=h;return;case Br:D=D.children,D=D(x._currentValue),Dn(h,_,D);return;case w:Y=x._init,x=Y(x._payload),D=No(x,D),Mo(h,_,x,D,void 0);return}throw Error(r(130,x==null?x:typeof x,""))}}function Dn(h,_,x){if(_.node=x,typeof x=="object"&&x!==null){switch(x.$$typeof){case Nn:Mo(h,_,x.type,x.props,x.ref);return;case Pr:throw Error(r(257));case w:var D=x._init;x=D(x._payload),Dn(h,_,x);return}if(ke(x)){vn(h,_,x);return}if(x===null||typeof x!="object"?D=null:(D=ie&&x[ie]||x["@@iterator"],D=typeof D=="function"?D:null),D&&(D=D.call(x))){if(x=D.next(),!x.done){var Y=[];do Y.push(x.value),x=D.next();while(!x.done);vn(h,_,Y)}return}throw h=Object.prototype.toString.call(x),Error(r(31,h==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":h))}typeof x=="string"?(D=_.blockedSegment,D.lastPushedText=kt(_.blockedSegment.chunks,x,h.responseState,D.lastPushedText)):typeof x=="number"&&(D=_.blockedSegment,D.lastPushedText=kt(_.blockedSegment.chunks,""+x,h.responseState,D.lastPushedText))}function vn(h,_,x){for(var D=x.length,Y=0;Y<D;Y++){var V=_.treeContext;_.treeContext=Mn(V,D,Y);try{en(h,_,x[Y])}finally{_.treeContext=V}}}function en(h,_,x){var D=_.blockedSegment.formatContext,Y=_.legacyContext,V=_.context;try{return Dn(h,_,x)}catch(He){if(Ti(),typeof He=="object"&&He!==null&&typeof He.then=="function"){x=He;var te=_.blockedSegment,pe=ft(h,te.chunks.length,null,te.formatContext,te.lastPushedText,!0);te.children.push(pe),te.lastPushedText=!1,h=uo(h,_.node,_.blockedBoundary,pe,_.abortSet,_.legacyContext,_.context,_.treeContext).ping,x.then(h,h),_.blockedSegment.formatContext=D,_.legacyContext=Y,_.context=V,hn(V)}else throw _.blockedSegment.formatContext=D,_.legacyContext=Y,_.context=V,hn(V),He}}function Do(h){var _=h.blockedBoundary;h=h.blockedSegment,h.status=3,qa(this,_,h)}function da(h,_,x){var D=h.blockedBoundary;h.blockedSegment.status=3,D===null?(_.allPendingTasks--,_.status!==2&&(_.status=2,_.destination!==null&&_.destination.close())):(D.pendingTasks--,D.forceClientRender||(D.forceClientRender=!0,h=x===void 0?Error(r(432)):x,D.errorDigest=_.onError(h),D.parentFlushed&&_.clientRenderedBoundaries.push(D)),D.fallbackAbortableTasks.forEach(function(Y){return da(Y,_,x)}),D.fallbackAbortableTasks.clear(),_.allPendingTasks--,_.allPendingTasks===0&&(D=_.onAllReady,D()))}function Fo(h,_){if(_.chunks.length===0&&_.children.length===1&&_.children[0].boundary===null){var x=_.children[0];x.id=_.id,x.parentFlushed=!0,x.status===1&&Fo(h,x)}else h.completedSegments.push(_)}function qa(h,_,x){if(_===null){if(x.parentFlushed){if(h.completedRootSegment!==null)throw Error(r(389));h.completedRootSegment=x}h.pendingRootTasks--,h.pendingRootTasks===0&&(h.onShellError=yr,_=h.onShellReady,_())}else _.pendingTasks--,_.forceClientRender||(_.pendingTasks===0?(x.parentFlushed&&x.status===1&&Fo(_,x),_.parentFlushed&&h.completedBoundaries.push(_),_.fallbackAbortableTasks.forEach(Do,h),_.fallbackAbortableTasks.clear()):x.parentFlushed&&x.status===1&&(Fo(_,x),_.completedSegments.length===1&&_.parentFlushed&&h.partialBoundaries.push(_)));h.allPendingTasks--,h.allPendingTasks===0&&(h=h.onAllReady,h())}function Ot(h){if(h.status!==2){var _=We,x=Cn.current;Cn.current=zi;var D=lo;lo=h.responseState;try{var Y=h.pingedTasks,V;for(V=0;V<Y.length;V++){var te=Y[V],pe=h,He=te.blockedSegment;if(He.status===0){hn(te.context);try{Dn(pe,te,te.node),He.lastPushedText&&He.textEmbedded&&He.chunks.push(Je),te.abortSet.delete(te),He.status=1,qa(pe,te.blockedBoundary,He)}catch(St){if(Ti(),typeof St=="object"&&St!==null&&typeof St.then=="function"){var Ye=te.ping;St.then(Ye,Ye)}else{te.abortSet.delete(te),He.status=4;var Ue=te.blockedBoundary,Lt=St,yn=ai(pe,Lt);if(Ue===null?Rr(pe,Lt):(Ue.pendingTasks--,Ue.forceClientRender||(Ue.forceClientRender=!0,Ue.errorDigest=yn,Ue.parentFlushed&&pe.clientRenderedBoundaries.push(Ue))),pe.allPendingTasks--,pe.allPendingTasks===0){var Ut=pe.onAllReady;Ut()}}}finally{}}}Y.splice(0,V),h.destination!==null&&Bo(h,h.destination)}catch(St){ai(h,St),Rr(h,St)}finally{lo=D,Cn.current=x,x===zi&&hn(_)}}}function qi(h,_,x){switch(x.parentFlushed=!0,x.status){case 0:var D=x.id=h.nextSegmentId++;return x.lastPushedText=!1,x.textEmbedded=!1,h=h.responseState,u(_,wn),u(_,h.placeholderPrefix),h=b(D.toString(16)),u(_,h),f(_,ct);case 1:x.status=2;var Y=!0;D=x.chunks;var V=0;x=x.children;for(var te=0;te<x.length;te++){for(Y=x[te];V<Y.index;V++)u(_,D[V]);Y=so(h,_,Y)}for(;V<D.length-1;V++)u(_,D[V]);return V<D.length&&(Y=f(_,D[V])),Y;default:throw Error(r(390))}}function so(h,_,x){var D=x.boundary;if(D===null)return qi(h,_,x);if(D.parentFlushed=!0,D.forceClientRender)D=D.errorDigest,f(_,qn),u(_,Kt),D&&(u(_,$t),u(_,b(_e(D))),u(_,vi)),f(_,yi),qi(h,_,x);else if(0<D.pendingTasks){D.rootSegmentID=h.nextSegmentId++,0<D.completedSegments.length&&h.partialBoundaries.push(D);var Y=h.responseState,V=Y.nextSuspenseID++;Y=k(Y.boundaryPrefix+V.toString(16)),D=D.id=Y,ln(_,h.responseState,D),qi(h,_,x)}else if(D.byteSize>h.progressiveChunkSize)D.rootSegmentID=h.nextSegmentId++,h.completedBoundaries.push(D),ln(_,h.responseState,D.id),qi(h,_,x);else{if(f(_,Sn),x=D.completedSegments,x.length!==1)throw Error(r(391));so(h,_,x[0])}return f(_,Gi)}function Fn(h,_,x){return Gn(_,h.responseState,x.formatContext,x.id),so(h,_,x),pr(_,x.formatContext)}function Po(h,_,x){for(var D=x.completedSegments,Y=0;Y<D.length;Y++)co(h,_,x,D[Y]);if(D.length=0,h=h.responseState,D=x.id,x=x.rootSegmentID,u(_,h.startInlineScript),h.sentCompleteBoundaryFunction?u(_,Mr):(h.sentCompleteBoundaryFunction=!0,u(_,tt)),D===null)throw Error(r(395));return x=b(x.toString(16)),u(_,D),u(_,Dr),u(_,h.segmentPrefix),u(_,x),f(_,Gr)}function co(h,_,x,D){if(D.status===2)return!0;var Y=D.id;if(Y===-1){if((D.id=x.rootSegmentID)===-1)throw Error(r(392));return Fn(h,_,D)}return Fn(h,_,D),h=h.responseState,u(_,h.startInlineScript),h.sentCompleteSegmentFunction?u(_,ot):(h.sentCompleteSegmentFunction=!0,u(_,pn)),u(_,h.segmentPrefix),Y=b(Y.toString(16)),u(_,Y),u(_,Lr),u(_,h.placeholderPrefix),u(_,Y),f(_,Nr)}function Bo(h,_){i=new Uint8Array(512),a=0;try{var x=h.completedRootSegment;if(x!==null&&h.pendingRootTasks===0){so(h,_,x),h.completedRootSegment=null;var D=h.responseState.bootstrapChunks;for(x=0;x<D.length-1;x++)u(_,D[x]);x<D.length&&f(_,D[x])}var Y=h.clientRenderedBoundaries,V;for(V=0;V<Y.length;V++){var te=Y[V];D=_;var pe=h.responseState,He=te.id,Ye=te.errorDigest,Ue=te.errorMessage,Lt=te.errorComponentStack;if(u(D,pe.startInlineScript),pe.sentClientRenderFunction?u(D,Tt):(pe.sentClientRenderFunction=!0,u(D,gt)),He===null)throw Error(r(395));u(D,He),u(D,ei),(Ye||Ue||Lt)&&(u(D,Fr),u(D,b(hr(Ye||"")))),(Ue||Lt)&&(u(D,Fr),u(D,b(hr(Ue||"")))),Lt&&(u(D,Fr),u(D,b(hr(Lt)))),f(D,ti)}Y.splice(0,V);var yn=h.completedBoundaries;for(V=0;V<yn.length;V++)Po(h,_,yn[V]);yn.splice(0,V),g(_),i=new Uint8Array(512),a=0;var Ut=h.partialBoundaries;for(V=0;V<Ut.length;V++){var St=Ut[V];e:{Y=h,te=_;var li=St.completedSegments;for(pe=0;pe<li.length;pe++)if(!co(Y,te,St,li[pe])){pe++,li.splice(0,pe);var pa=!1;break e}li.splice(0,pe),pa=!0}if(!pa){h.destination=null,V++,Ut.splice(0,V);return}}Ut.splice(0,V);var ui=h.completedBoundaries;for(V=0;V<ui.length;V++)Po(h,_,ui[V]);ui.splice(0,V)}finally{g(_),h.allPendingTasks===0&&h.pingedTasks.length===0&&h.clientRenderedBoundaries.length===0&&h.completedBoundaries.length===0&&_.close()}}function Ao(h,_){try{var x=h.abortableTasks;x.forEach(function(D){return da(D,h,_)}),x.clear(),h.destination!==null&&Bo(h,h.destination)}catch(D){ai(h,D),Rr(h,D)}}return cu.renderToReadableStream=function(h,_){return new Promise(function(x,D){var Y,V,te=new Promise(function(Ue,Lt){V=Ue,Y=Lt}),pe=Ri(h,ue(_?_.identifierPrefix:void 0,_?_.nonce:void 0,_?_.bootstrapScriptContent:void 0,_?_.bootstrapScripts:void 0,_?_.bootstrapModules:void 0),ae(_?_.namespaceURI:void 0),_?_.progressiveChunkSize:void 0,_?_.onError:void 0,V,function(){var Ue=new ReadableStream({type:"bytes",pull:function(Lt){if(pe.status===1)pe.status=2,L(Lt,pe.fatalError);else if(pe.status!==2&&pe.destination===null){pe.destination=Lt;try{Bo(pe,Lt)}catch(yn){ai(pe,yn),Rr(pe,yn)}}},cancel:function(){Ao(pe)}},{highWaterMark:0});Ue.allReady=te,x(Ue)},function(Ue){te.catch(function(){}),D(Ue)},Y);if(_&&_.signal){var He=_.signal,Ye=function(){Ao(pe,He.reason),He.removeEventListener("abort",Ye)};He.addEventListener("abort",Ye)}Ot(pe)})},cu.version="18.2.0",cu}var Ma,rp;Ma=z0(),rp=R0(),_n.version=Ma.version,_n.renderToString=Ma.renderToString,_n.renderToStaticMarkup=Ma.renderToStaticMarkup,_n.renderToNodeStream=Ma.renderToNodeStream,_n.renderToStaticNodeStream=Ma.renderToStaticNodeStream,_n.renderToReadableStream=rp.renderToReadableStream;var mt={},H0={get exports(){return mt},set exports(t){mt=t}};(function(t,r){(function(i,a){t.exports=a()})(Na,function(){var i=Array.prototype.slice;function a(l,c){c&&(l.prototype=Object.create(c.prototype)),l.prototype.constructor=l}function u(l){return b(l)?l:$e(l)}a(f,u);function f(l){return k(l)?l:ut(l)}a(g,u);function g(l){return L(l)?l:lt(l)}a(y,u);function y(l){return b(l)&&!B(l)?l:Ft(l)}function b(l){return!!(l&&l[j])}function k(l){return!!(l&&l[P])}function L(l){return!!(l&&l[K])}function B(l){return k(l)||L(l)}function M(l){return!!(l&&l[T])}u.isIterable=b,u.isKeyed=k,u.isIndexed=L,u.isAssociative=B,u.isOrdered=M,u.Keyed=f,u.Indexed=g,u.Set=y;var j="@@__IMMUTABLE_ITERABLE__@@",P="@@__IMMUTABLE_KEYED__@@",K="@@__IMMUTABLE_INDEXED__@@",T="@@__IMMUTABLE_ORDERED__@@",ne="delete",J=5,W=1<<J,Z=W-1,le={},Se={value:!1},_e={value:!1};function Ie(l){return l.value=!1,l}function ve(l){l&&(l.value=!0)}function ke(){}function we(l,c){c=c||0;for(var v=Math.max(0,l.length-c),S=new Array(v),E=0;E<v;E++)S[E]=l[E+c];return S}function he(l){return l.size===void 0&&(l.size=l.__iterate(Le)),l.size}function ge(l,c){if(typeof c!="number"){var v=c>>>0;if(""+v!==c||v===4294967295)return NaN;c=v}return c<0?he(l)+c:c}function Le(){return!0}function Te(l,c,v){return(l===0||v!==void 0&&l<=-v)&&(c===void 0||v!==void 0&&c>=v)}function De(l,c){return ue(l,c,0)}function Re(l,c){return ue(l,c,c)}function ue(l,c,v){return l===void 0?v:l<0?Math.max(0,c+l):c===void 0?l:Math.min(c,l)}var fe=0,ae=1,Ne=2,Je=typeof Symbol=="function"&&Symbol.iterator,kt="@@iterator",Nt=Je||kt;function qe(l){this.next=l}qe.prototype.toString=function(){return"[Iterator]"},qe.KEYS=fe,qe.VALUES=ae,qe.ENTRIES=Ne,qe.prototype.inspect=qe.prototype.toSource=function(){return this.toString()},qe.prototype[Nt]=function(){return this};function je(l,c,v,S){var E=l===0?c:l===1?v:[c,v];return S?S.value=E:S={value:E,done:!1},S}function dt(){return{value:void 0,done:!0}}function Bt(l){return!!Et(l)}function At(l){return l&&typeof l.next=="function"}function Dt(l){var c=Et(l);return c&&c.call(l)}function Et(l){var c=l&&(Je&&l[Je]||l[kt]);if(typeof c=="function")return c}function Zt(l){return l&&typeof l.length=="number"}a($e,u);function $e(l){return l==null?nt():b(l)?l.toSeq():Ge(l)}$e.of=function(){return $e(arguments)},$e.prototype.toSeq=function(){return this},$e.prototype.toString=function(){return this.__toString("Seq {","}")},$e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},$e.prototype.__iterate=function(l,c){return ct(this,l,c,!0)},$e.prototype.__iterator=function(l,c){return Sn(this,l,c,!0)},a(ut,$e);function ut(l){return l==null?nt().toKeyedSeq():b(l)?k(l)?l.toSeq():l.fromEntrySeq():Ze(l)}ut.prototype.toKeyedSeq=function(){return this},a(lt,$e);function lt(l){return l==null?nt():b(l)?k(l)?l.entrySeq():l.toIndexedSeq():ht(l)}lt.of=function(){return lt(arguments)},lt.prototype.toIndexedSeq=function(){return this},lt.prototype.toString=function(){return this.__toString("Seq [","]")},lt.prototype.__iterate=function(l,c){return ct(this,l,c,!1)},lt.prototype.__iterator=function(l,c){return Sn(this,l,c,!1)},a(Ft,$e);function Ft(l){return(l==null?nt():b(l)?k(l)?l.entrySeq():l:ht(l)).toSetSeq()}Ft.of=function(){return Ft(arguments)},Ft.prototype.toSetSeq=function(){return this},$e.isSeq=Pt,$e.Keyed=ut,$e.Set=Ft,$e.Indexed=lt;var dn="@@__IMMUTABLE_SEQ__@@";$e.prototype[dn]=!0,a(Mt,lt);function Mt(l){this._array=l,this.size=l.length}Mt.prototype.get=function(l,c){return this.has(l)?this._array[ge(this,l)]:c},Mt.prototype.__iterate=function(l,c){for(var v=this._array,S=v.length-1,E=0;E<=S;E++)if(l(v[c?S-E:E],E,this)===!1)return E+1;return E},Mt.prototype.__iterator=function(l,c){var v=this._array,S=v.length-1,E=0;return new qe(function(){return E>S?dt():je(l,E,v[c?S-E++:E++])})},a(Ct,ut);function Ct(l){var c=Object.keys(l);this._object=l,this._keys=c,this.size=c.length}Ct.prototype.get=function(l,c){return c!==void 0&&!this.has(l)?c:this._object[l]},Ct.prototype.has=function(l){return this._object.hasOwnProperty(l)},Ct.prototype.__iterate=function(l,c){for(var v=this._object,S=this._keys,E=S.length-1,N=0;N<=E;N++){var I=S[c?E-N:N];if(l(v[I],I,this)===!1)return N+1}return N},Ct.prototype.__iterator=function(l,c){var v=this._object,S=this._keys,E=S.length-1,N=0;return new qe(function(){var I=S[c?E-N:N];return N++>E?dt():je(l,I,v[I])})},Ct.prototype[T]=!0,a(rt,lt);function rt(l){this._iterable=l,this.size=l.length||l.size}rt.prototype.__iterateUncached=function(l,c){if(c)return this.cacheResult().__iterate(l,c);var v=this._iterable,S=Dt(v),E=0;if(At(S))for(var N;!(N=S.next()).done&&l(N.value,E++,this)!==!1;);return E},rt.prototype.__iteratorUncached=function(l,c){if(c)return this.cacheResult().__iterator(l,c);var v=this._iterable,S=Dt(v);if(!At(S))return new qe(dt);var E=0;return new qe(function(){var N=S.next();return N.done?N:je(l,E++,N.value)})},a(pt,lt);function pt(l){this._iterator=l,this._iteratorCache=[]}pt.prototype.__iterateUncached=function(l,c){if(c)return this.cacheResult().__iterate(l,c);for(var v=this._iterator,S=this._iteratorCache,E=0;E<S.length;)if(l(S[E],E++,this)===!1)return E;for(var N;!(N=v.next()).done;){var I=N.value;if(S[E]=I,l(I,E++,this)===!1)break}return E},pt.prototype.__iteratorUncached=function(l,c){if(c)return this.cacheResult().__iterator(l,c);var v=this._iterator,S=this._iteratorCache,E=0;return new qe(function(){if(E>=S.length){var N=v.next();if(N.done)return N;S[E]=N.value}return je(l,E,S[E++])})};function Pt(l){return!!(l&&l[dn])}var Pe;function nt(){return Pe||(Pe=new Mt([]))}function Ze(l){var c=Array.isArray(l)?new Mt(l).fromEntrySeq():At(l)?new pt(l).fromEntrySeq():Bt(l)?new rt(l).fromEntrySeq():typeof l=="object"?new Ct(l):void 0;if(!c)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+l);return c}function ht(l){var c=wn(l);if(!c)throw new TypeError("Expected Array or iterable object of values: "+l);return c}function Ge(l){var c=wn(l)||typeof l=="object"&&new Ct(l);if(!c)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+l);return c}function wn(l){return Zt(l)?new Mt(l):At(l)?new pt(l):Bt(l)?new rt(l):void 0}function ct(l,c,v,S){var E=l._cache;if(E){for(var N=E.length-1,I=0;I<=N;I++){var H=E[v?N-I:I];if(c(H[1],S?H[0]:I,l)===!1)return I+1}return I}return l.__iterateUncached(c,v)}function Sn(l,c,v,S){var E=l._cache;if(E){var N=E.length-1,I=0;return new qe(function(){var H=E[v?N-I:I];return I++>N?dt():je(c,S?H[0]:I-1,H[1])})}return l.__iteratorUncached(c,v)}function Jt(l,c){return c?cr(c,l,"",{"":l}):qn(l)}function cr(l,c,v,S){return Array.isArray(c)?l.call(S,v,lt(c).map(function(E,N){return cr(l,E,N,c)})):Gi(c)?l.call(S,v,ut(c).map(function(E,N){return cr(l,E,N,c)})):c}function qn(l){return Array.isArray(l)?lt(l).map(qn).toList():Gi(l)?ut(l).map(qn).toMap():l}function Gi(l){return l&&(l.constructor===Object||l.constructor===void 0)}function Kt(l,c){if(l===c||l!==l&&c!==c)return!0;if(!l||!c)return!1;if(typeof l.valueOf=="function"&&typeof c.valueOf=="function"){if(l=l.valueOf(),c=c.valueOf(),l===c||l!==l&&c!==c)return!0;if(!l||!c)return!1}return!!(typeof l.equals=="function"&&typeof c.equals=="function"&&l.equals(c))}function vi(l,c){if(l===c)return!0;if(!b(c)||l.size!==void 0&&c.size!==void 0&&l.size!==c.size||l.__hash!==void 0&&c.__hash!==void 0&&l.__hash!==c.__hash||k(l)!==k(c)||L(l)!==L(c)||M(l)!==M(c))return!1;if(l.size===0&&c.size===0)return!0;var v=!B(l);if(M(l)){var S=l.entries();return c.every(function(ee,re){var oe=S.next().value;return oe&&Kt(oe[1],ee)&&(v||Kt(oe[0],re))})&&S.next().done}var E=!1;if(l.size===void 0)if(c.size===void 0)typeof l.cacheResult=="function"&&l.cacheResult();else{E=!0;var N=l;l=c,c=N}var I=!0,H=c.__iterate(function(ee,re){if(v?!l.has(ee):E?!Kt(ee,l.get(re,le)):!Kt(l.get(re,le),ee))return I=!1,!1});return I&&l.size===H}a($t,lt);function $t(l,c){if(!(this instanceof $t))return new $t(l,c);if(this._value=l,this.size=c===void 0?1/0:Math.max(0,c),this.size===0){if(yi)return yi;yi=this}}$t.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},$t.prototype.get=function(l,c){return this.has(l)?this._value:c},$t.prototype.includes=function(l){return Kt(this._value,l)},$t.prototype.slice=function(l,c){var v=this.size;return Te(l,c,v)?this:new $t(this._value,Re(c,v)-De(l,v))},$t.prototype.reverse=function(){return this},$t.prototype.indexOf=function(l){return Kt(this._value,l)?0:-1},$t.prototype.lastIndexOf=function(l){return Kt(this._value,l)?this.size:-1},$t.prototype.__iterate=function(l,c){for(var v=0;v<this.size;v++)if(l(this._value,v,this)===!1)return v+1;return v},$t.prototype.__iterator=function(l,c){var v=this,S=0;return new qe(function(){return S<v.size?je(l,S++,v._value):dt()})},$t.prototype.equals=function(l){return l instanceof $t?Kt(this._value,l._value):vi(l)};var yi;function ln(l,c){if(!l)throw new Error(c)}a(Rt,lt);function Rt(l,c,v){if(!(this instanceof Rt))return new Rt(l,c,v);if(ln(v!==0,"Cannot step a Range by 0"),l=l||0,c===void 0&&(c=1/0),v=v===void 0?1:Math.abs(v),c<l&&(v=-v),this._start=l,this._end=c,this._step=v,this.size=Math.max(0,Math.ceil((c-l)/v-1)+1),this.size===0){if(Tn)return Tn;Tn=this}}Rt.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Rt.prototype.get=function(l,c){return this.has(l)?this._start+ge(this,l)*this._step:c},Rt.prototype.includes=function(l){var c=(l-this._start)/this._step;return c>=0&&c<this.size&&c===Math.floor(c)},Rt.prototype.slice=function(l,c){return Te(l,c,this.size)?this:(l=De(l,this.size),c=Re(c,this.size),c<=l?new Rt(0,0):new Rt(this.get(l,this._end),this.get(c,this._end),this._step))},Rt.prototype.indexOf=function(l){var c=l-this._start;if(c%this._step===0){var v=c/this._step;if(v>=0&&v<this.size)return v}return-1},Rt.prototype.lastIndexOf=function(l){return this.indexOf(l)},Rt.prototype.__iterate=function(l,c){for(var v=this.size-1,S=this._step,E=c?this._start+v*S:this._start,N=0;N<=v;N++){if(l(E,N,this)===!1)return N+1;E+=c?-S:S}return N},Rt.prototype.__iterator=function(l,c){var v=this.size-1,S=this._step,E=c?this._start+v*S:this._start,N=0;return new qe(function(){var I=E;return E+=c?-S:S,N>v?dt():je(l,N++,I)})},Rt.prototype.equals=function(l){return l instanceof Rt?this._start===l._start&&this._end===l._end&&this._step===l._step:vi(this,l)};var Tn;a(it,u);function it(){throw TypeError("Abstract")}a(Un,it);function Un(){}a(Vn,it);function Vn(){}a(Jn,it);function Jn(){}it.Keyed=Un,it.Indexed=Vn,it.Set=Jn;var kn=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(l,c){l=l|0,c=c|0;var v=l&65535,S=c&65535;return v*S+((l>>>16)*S+v*(c>>>16)<<16>>>0)|0};function xr(l){return l>>>1&1073741824|l&3221225471}function It(l){if(l===!1||l===null||l===void 0||typeof l.valueOf=="function"&&(l=l.valueOf(),l===!1||l===null||l===void 0))return 0;if(l===!0)return 1;var c=typeof l;if(c==="number"){var v=l|0;for(v!==l&&(v^=l*4294967295);l>4294967295;)l/=4294967295,v^=l;return xr(v)}if(c==="string")return l.length>Ai?eo(l):Wn(l);if(typeof l.hashCode=="function")return l.hashCode();if(c==="object")return bi(l);if(typeof l.toString=="function")return Wn(l.toString());throw new Error("Value type "+c+" cannot be hashed.")}function eo(l){var c=pr[l];return c===void 0&&(c=Wn(l),Gn===no&&(Gn=0,pr={}),Gn++,pr[l]=c),c}function Wn(l){for(var c=0,v=0;v<l.length;v++)c=31*c+l.charCodeAt(v)|0;return xr(c)}function bi(l){var c;if(Jr&&(c=Wr.get(l),c!==void 0)||(c=l[dr],c!==void 0)||!to&&(c=l.propertyIsEnumerable&&l.propertyIsEnumerable[dr],c!==void 0||(c=Zr(l),c!==void 0)))return c;if(c=++fr,fr&1073741824&&(fr=0),Jr)Wr.set(l,c);else{if(Or!==void 0&&Or(l)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(to)Object.defineProperty(l,dr,{enumerable:!1,configurable:!1,writable:!1,value:c});else if(l.propertyIsEnumerable!==void 0&&l.propertyIsEnumerable===l.constructor.prototype.propertyIsEnumerable)l.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},l.propertyIsEnumerable[dr]=c;else if(l.nodeType!==void 0)l[dr]=c;else throw new Error("Unable to set a non-enumerable property on object.")}return c}var Or=Object.isExtensible,to=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function Zr(l){if(l&&l.nodeType>0)switch(l.nodeType){case 1:return l.uniqueID;case 9:return l.documentElement&&l.documentElement.uniqueID}}var Jr=typeof WeakMap=="function",Wr;Jr&&(Wr=new WeakMap);var fr=0,dr="__immutablehash__";typeof Symbol=="function"&&(dr=Symbol(dr));var Ai=16,no=255,Gn=0,pr={};function pn(l){ln(l!==1/0,"Cannot perform this action with an infinite size.")}a(ot,Un);function ot(l){return l==null?Yt():Lr(l)&&!M(l)?l:Yt().withMutations(function(c){var v=f(l);pn(v.size),v.forEach(function(S,E){return c.set(E,S)})})}ot.prototype.toString=function(){return this.__toString("Map {","}")},ot.prototype.get=function(l,c){return this._root?this._root.get(0,void 0,l,c):c},ot.prototype.set=function(l,c){return Nn(this,l,c)},ot.prototype.setIn=function(l,c){return this.updateIn(l,le,function(){return c})},ot.prototype.remove=function(l){return Nn(this,l,le)},ot.prototype.deleteIn=function(l){return this.updateIn(l,function(){return le})},ot.prototype.update=function(l,c,v){return arguments.length===1?l(this):this.updateIn([l],c,v)},ot.prototype.updateIn=function(l,c,v){v||(v=c,c=void 0);var S=w(this,Dn(l),c,v);return S===le?void 0:S},ot.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Yt()},ot.prototype.merge=function(){return mr(this,void 0,arguments)},ot.prototype.mergeWith=function(l){var c=i.call(arguments,1);return mr(this,l,c)},ot.prototype.mergeIn=function(l){var c=i.call(arguments,1);return this.updateIn(l,Yt(),function(v){return typeof v.merge=="function"?v.merge.apply(v,c):c[c.length-1]})},ot.prototype.mergeDeep=function(){return mr(this,Ar,arguments)},ot.prototype.mergeDeepWith=function(l){var c=i.call(arguments,1);return mr(this,Kr(l),c)},ot.prototype.mergeDeepIn=function(l){var c=i.call(arguments,1);return this.updateIn(l,Yt(),function(v){return typeof v.mergeDeep=="function"?v.mergeDeep.apply(v,c):c[c.length-1]})},ot.prototype.sort=function(l){return qt(nr(this,l))},ot.prototype.sortBy=function(l,c){return qt(nr(this,c,l))},ot.prototype.withMutations=function(l){var c=this.asMutable();return l(c),c.wasAltered()?c.__ensureOwner(this.__ownerID):this},ot.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new ke)},ot.prototype.asImmutable=function(){return this.__ensureOwner()},ot.prototype.wasAltered=function(){return this.__altered},ot.prototype.__iterator=function(l,c){return new ei(this,l,c)},ot.prototype.__iterate=function(l,c){var v=this,S=0;return this._root&&this._root.iterate(function(E){return S++,l(E[1],E[0],v)},c),S},ot.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?Ki(this.size,this._root,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)};function Lr(l){return!!(l&&l[Nr])}ot.isMap=Lr;var Nr="@@__IMMUTABLE_MAP__@@",tt=ot.prototype;tt[Nr]=!0,tt[ne]=tt.remove,tt.removeIn=tt.deleteIn;function Mr(l,c){this.ownerID=l,this.entries=c}Mr.prototype.get=function(l,c,v,S){for(var E=this.entries,N=0,I=E.length;N<I;N++)if(Kt(v,E[N][0]))return E[N][1];return S},Mr.prototype.update=function(l,c,v,S,E,N,I){for(var H=E===le,ee=this.entries,re=0,oe=ee.length;re<oe&&!Kt(S,ee[re][0]);re++);var xe=re<oe;if(xe?ee[re][1]===E:H)return this;if(ve(I),(H||!xe)&&ve(N),!(H&&ee.length===1)){if(!xe&&!H&&ee.length>=ie)return ro(l,ee,S,E);var Ce=l&&l===this.ownerID,Xe=Ce?ee:we(ee);return xe?H?re===oe-1?Xe.pop():Xe[re]=Xe.pop():Xe[re]=[S,E]:Xe.push([S,E]),Ce?(this.entries=Xe,this):new Mr(l,Xe)}};function Dr(l,c,v){this.ownerID=l,this.bitmap=c,this.nodes=v}Dr.prototype.get=function(l,c,v,S){c===void 0&&(c=It(v));var E=1<<((l===0?c:c>>>l)&Z),N=this.bitmap;return N&E?this.nodes[O(N&E-1)].get(l+J,c,v,S):S},Dr.prototype.update=function(l,c,v,S,E,N,I){v===void 0&&(v=It(S));var H=(c===0?v:v>>>c)&Z,ee=1<<H,re=this.bitmap,oe=(re&ee)!==0;if(!oe&&E===le)return this;var xe=O(re&ee-1),Ce=this.nodes,Xe=oe?Ce[xe]:void 0,at=Pr(Xe,l,c+J,v,S,E,N,I);if(at===Xe)return this;if(!oe&&at&&Ce.length>=me)return Br(l,Ce,re,H,at);if(oe&&!at&&Ce.length===2&&rn(Ce[xe^1]))return Ce[xe^1];if(oe&&at&&Ce.length===1&&rn(at))return at;var jt=l&&l===this.ownerID,br=oe?at?re:re^ee:re|ee,Hr=oe?at?F(Ce,xe,at,jt):U(Ce,xe,jt):$(Ce,xe,at,jt);return jt?(this.bitmap=br,this.nodes=Hr,this):new Dr(l,br,Hr)};function Gr(l,c,v){this.ownerID=l,this.count=c,this.nodes=v}Gr.prototype.get=function(l,c,v,S){c===void 0&&(c=It(v));var E=(l===0?c:c>>>l)&Z,N=this.nodes[E];return N?N.get(l+J,c,v,S):S},Gr.prototype.update=function(l,c,v,S,E,N,I){v===void 0&&(v=It(S));var H=(c===0?v:v>>>c)&Z,ee=E===le,re=this.nodes,oe=re[H];if(ee&&!oe)return this;var xe=Pr(oe,l,c+J,v,S,E,N,I);if(xe===oe)return this;var Ce=this.count;if(!oe)Ce++;else if(!xe&&(Ce--,Ce<be))return io(l,re,Ce,H);var Xe=l&&l===this.ownerID,at=F(re,H,xe,Xe);return Xe?(this.count=Ce,this.nodes=at,this):new Gr(l,Ce,at)};function gt(l,c,v){this.ownerID=l,this.keyHash=c,this.entries=v}gt.prototype.get=function(l,c,v,S){for(var E=this.entries,N=0,I=E.length;N<I;N++)if(Kt(v,E[N][0]))return E[N][1];return S},gt.prototype.update=function(l,c,v,S,E,N,I){v===void 0&&(v=It(S));var H=E===le;if(v!==this.keyHash)return H?this:(ve(I),ve(N),_i(this,l,c,v,[S,E]));for(var ee=this.entries,re=0,oe=ee.length;re<oe&&!Kt(S,ee[re][0]);re++);var xe=re<oe;if(xe?ee[re][1]===E:H)return this;if(ve(I),(H||!xe)&&ve(N),H&&oe===2)return new Tt(l,this.keyHash,ee[re^1]);var Ce=l&&l===this.ownerID,Xe=Ce?ee:we(ee);return xe?H?re===oe-1?Xe.pop():Xe[re]=Xe.pop():Xe[re]=[S,E]:Xe.push([S,E]),Ce?(this.entries=Xe,this):new gt(l,this.keyHash,Xe)};function Tt(l,c,v){this.ownerID=l,this.keyHash=c,this.entry=v}Tt.prototype.get=function(l,c,v,S){return Kt(v,this.entry[0])?this.entry[1]:S},Tt.prototype.update=function(l,c,v,S,E,N,I){var H=E===le,ee=Kt(S,this.entry[0]);if(ee?E===this.entry[1]:H)return this;if(ve(I),H){ve(N);return}return ee?l&&l===this.ownerID?(this.entry[1]=E,this):new Tt(l,this.keyHash,[S,E]):(ve(N),_i(this,l,c,It(S),[S,E]))},Mr.prototype.iterate=gt.prototype.iterate=function(l,c){for(var v=this.entries,S=0,E=v.length-1;S<=E;S++)if(l(v[c?E-S:S])===!1)return!1},Dr.prototype.iterate=Gr.prototype.iterate=function(l,c){for(var v=this.nodes,S=0,E=v.length-1;S<=E;S++){var N=v[c?E-S:S];if(N&&N.iterate(l,c)===!1)return!1}},Tt.prototype.iterate=function(l,c){return l(this.entry)},a(ei,qe);function ei(l,c,v){this._type=c,this._reverse=v,this._stack=l._root&&Fr(l._root)}ei.prototype.next=function(){for(var l=this._type,c=this._stack;c;){var v=c.node,S=c.index++,E;if(v.entry){if(S===0)return ti(l,v.entry)}else if(v.entries){if(E=v.entries.length-1,S<=E)return ti(l,v.entries[this._reverse?E-S:S])}else if(E=v.nodes.length-1,S<=E){var N=v.nodes[this._reverse?E-S:S];if(N){if(N.entry)return ti(l,N.entry);c=this._stack=Fr(N,c)}continue}c=this._stack=this._stack.__prev}return dt()};function ti(l,c){return je(l,c[0],c[1])}function Fr(l,c){return{node:l,index:0,__prev:c}}function Ki(l,c,v,S){var E=Object.create(tt);return E.size=l,E._root=c,E.__ownerID=v,E.__hash=S,E.__altered=!1,E}var hr;function Yt(){return hr||(hr=Ki(0))}function Nn(l,c,v){var S,E;if(l._root){var N=Ie(Se),I=Ie(_e);if(S=Pr(l._root,l.__ownerID,0,void 0,c,v,N,I),!I.value)return l;E=l.size+(N.value?v===le?-1:1:0)}else{if(v===le)return l;E=1,S=new Mr(l.__ownerID,[[c,v]])}return l.__ownerID?(l.size=E,l._root=S,l.__hash=void 0,l.__altered=!0,l):S?Ki(E,S):Yt()}function Pr(l,c,v,S,E,N,I,H){return l?l.update(c,v,S,E,N,I,H):N===le?l:(ve(H),ve(I),new Tt(c,S,[E,N]))}function rn(l){return l.constructor===Tt||l.constructor===gt}function _i(l,c,v,S,E){if(l.keyHash===S)return new gt(c,S,[l.entry,E]);var N=(v===0?l.keyHash:l.keyHash>>>v)&Z,I=(v===0?S:S>>>v)&Z,H,ee=N===I?[_i(l,c,v+J,S,E)]:(H=new Tt(c,S,E),N<I?[l,H]:[H,l]);return new Dr(c,1<<N|1<<I,ee)}function ro(l,c,v,S){l||(l=new ke);for(var E=new Tt(l,It(v),[v,S]),N=0;N<c.length;N++){var I=c[N];E=E.update(l,0,void 0,I[0],I[1])}return E}function io(l,c,v,S){for(var E=0,N=0,I=new Array(v),H=0,ee=1,re=c.length;H<re;H++,ee<<=1){var oe=c[H];oe!==void 0&&H!==S&&(E|=ee,I[N++]=oe)}return new Dr(l,E,I)}function Br(l,c,v,S,E){for(var N=0,I=new Array(W),H=0;v!==0;H++,v>>>=1)I[H]=v&1?c[N++]:void 0;return I[S]=E,new Gr(l,N+1,I)}function mr(l,c,v){for(var S=[],E=0;E<v.length;E++){var N=v[E],I=f(N);b(N)||(I=I.map(function(H){return Jt(H)})),S.push(I)}return p(l,c,S)}function Ar(l,c,v){return l&&l.mergeDeep&&b(c)?l.mergeDeep(c):Kt(l,c)?l:c}function Kr(l){return function(c,v,S){if(c&&c.mergeDeepWith&&b(v))return c.mergeDeepWith(l,v);var E=l(c,v,S);return Kt(c,E)?c:E}}function p(l,c,v){return v=v.filter(function(S){return S.size!==0}),v.length===0?l:l.size===0&&!l.__ownerID&&v.length===1?l.constructor(v[0]):l.withMutations(function(S){for(var E=c?function(I,H){S.update(H,le,function(ee){return ee===le?I:c(ee,I,H)})}:function(I,H){S.set(H,I)},N=0;N<v.length;N++)v[N].forEach(E)})}function w(l,c,v,S){var E=l===le,N=c.next();if(N.done){var I=E?v:l,H=S(I);return H===I?l:H}ln(E||l&&l.set,"invalid keyPath");var ee=N.value,re=E?le:l.get(ee,le),oe=w(re,c,v,S);return oe===re?l:oe===le?l.remove(ee):(E?Yt():l).set(ee,oe)}function O(l){return l=l-(l>>1&1431655765),l=(l&858993459)+(l>>2&858993459),l=l+(l>>4)&252645135,l=l+(l>>8),l=l+(l>>16),l&127}function F(l,c,v,S){var E=S?l:we(l);return E[c]=v,E}function $(l,c,v,S){var E=l.length+1;if(S&&c+1===E)return l[c]=v,l;for(var N=new Array(E),I=0,H=0;H<E;H++)H===c?(N[H]=v,I=-1):N[H]=l[H+I];return N}function U(l,c,v){var S=l.length-1;if(v&&c===S)return l.pop(),l;for(var E=new Array(S),N=0,I=0;I<S;I++)I===c&&(N=1),E[I]=l[I+N];return E}var ie=W/4,me=W/2,be=W/4;a(Ee,Vn);function Ee(l){var c=mn();if(l==null)return c;if(We(l))return l;var v=g(l),S=v.size;return S===0?c:(pn(S),S>0&&S<W?hn(0,S,J,null,new Wt(v.toArray())):c.withMutations(function(E){E.setSize(S),v.forEach(function(N,I){return E.set(I,N)})}))}Ee.of=function(){return this(arguments)},Ee.prototype.toString=function(){return this.__toString("List [","]")},Ee.prototype.get=function(l,c){if(l=ge(this,l),l>=0&&l<this.size){l+=this._origin;var v=Ir(this,l);return v&&v.array[l&Z]}return c},Ee.prototype.set=function(l,c){return er(this,l,c)},Ee.prototype.remove=function(l){return this.has(l)?l===0?this.shift():l===this.size-1?this.pop():this.splice(l,1):this},Ee.prototype.insert=function(l,c){return this.splice(l,0,c)},Ee.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=J,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):mn()},Ee.prototype.push=function(){var l=arguments,c=this.size;return this.withMutations(function(v){ni(v,0,c+l.length);for(var S=0;S<l.length;S++)v.set(c+S,l[S])})},Ee.prototype.pop=function(){return ni(this,0,-1)},Ee.prototype.unshift=function(){var l=arguments;return this.withMutations(function(c){ni(c,-l.length);for(var v=0;v<l.length;v++)c.set(v,l[v])})},Ee.prototype.shift=function(){return ni(this,1)},Ee.prototype.merge=function(){return oo(this,void 0,arguments)},Ee.prototype.mergeWith=function(l){var c=i.call(arguments,1);return oo(this,l,c)},Ee.prototype.mergeDeep=function(){return oo(this,Ar,arguments)},Ee.prototype.mergeDeepWith=function(l){var c=i.call(arguments,1);return oo(this,Kr(l),c)},Ee.prototype.setSize=function(l){return ni(this,0,l)},Ee.prototype.slice=function(l,c){var v=this.size;return Te(l,c,v)?this:ni(this,De(l,v),Re(c,v))},Ee.prototype.__iterator=function(l,c){var v=0,S=gr(this,c);return new qe(function(){var E=S();return E===on?dt():je(l,v++,E)})},Ee.prototype.__iterate=function(l,c){for(var v=0,S=gr(this,c),E;(E=S())!==on&&l(E,v++,this)!==!1;);return v},Ee.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?hn(this._origin,this._capacity,this._level,this._root,this._tail,l,this.__hash):(this.__ownerID=l,this)};function We(l){return!!(l&&l[wt])}Ee.isList=We;var wt="@@__IMMUTABLE_LIST__@@",xt=Ee.prototype;xt[wt]=!0,xt[ne]=xt.remove,xt.setIn=tt.setIn,xt.deleteIn=xt.removeIn=tt.removeIn,xt.update=tt.update,xt.updateIn=tt.updateIn,xt.mergeIn=tt.mergeIn,xt.mergeDeepIn=tt.mergeDeepIn,xt.withMutations=tt.withMutations,xt.asMutable=tt.asMutable,xt.asImmutable=tt.asImmutable,xt.wasAltered=tt.wasAltered;function Wt(l,c){this.array=l,this.ownerID=c}Wt.prototype.removeBefore=function(l,c,v){if(v===c?1<<c:this.array.length===0)return this;var S=v>>>c&Z;if(S>=this.array.length)return new Wt([],l);var E=S===0,N;if(c>0){var I=this.array[S];if(N=I&&I.removeBefore(l,c-J,v),N===I&&E)return this}if(E&&!N)return this;var H=zn(this,l);if(!E)for(var ee=0;ee<S;ee++)H.array[ee]=void 0;return N&&(H.array[S]=N),H},Wt.prototype.removeAfter=function(l,c,v){if(v===(c?1<<c:0)||this.array.length===0)return this;var S=v-1>>>c&Z;if(S>=this.array.length)return this;var E;if(c>0){var N=this.array[S];if(E=N&&N.removeAfter(l,c-J,v),E===N&&S===this.array.length-1)return this}var I=zn(this,l);return I.array.splice(S+1),E&&(I.array[S]=E),I};var on={};function gr(l,c){var v=l._origin,S=l._capacity,E=Tr(S),N=l._tail;return I(l._root,l._level,0);function I(re,oe,xe){return oe===0?H(re,xe):ee(re,oe,xe)}function H(re,oe){var xe=oe===E?N&&N.array:re&&re.array,Ce=oe>v?0:v-oe,Xe=S-oe;return Xe>W&&(Xe=W),function(){if(Ce===Xe)return on;var at=c?--Xe:Ce++;return xe&&xe[at]}}function ee(re,oe,xe){var Ce,Xe=re&&re.array,at=xe>v?0:v-xe>>oe,jt=(S-xe>>oe)+1;return jt>W&&(jt=W),function(){do{if(Ce){var br=Ce();if(br!==on)return br;Ce=null}if(at===jt)return on;var Hr=c?--jt:at++;Ce=I(Xe&&Xe[Hr],oe-J,xe+(Hr<<oe))}while(!0)}}}function hn(l,c,v,S,E,N,I){var H=Object.create(xt);return H.size=c-l,H._origin=l,H._capacity=c,H._level=v,H._root=S,H._tail=E,H.__ownerID=N,H.__hash=I,H.__altered=!1,H}var jn;function mn(){return jn||(jn=hn(0,0,J))}function er(l,c,v){if(c=ge(l,c),c!==c)return l;if(c>=l.size||c<0)return l.withMutations(function(I){c<0?ni(I,c).set(0,v):ni(I,0,c+1).set(c,v)});c+=l._origin;var S=l._tail,E=l._root,N=Ie(_e);return c>=Tr(l._capacity)?S=Mn(S,l.__ownerID,0,c,v,N):E=Mn(E,l.__ownerID,l._level,c,v,N),N.value?l.__ownerID?(l._root=E,l._tail=S,l.__hash=void 0,l.__altered=!0,l):hn(l._origin,l._capacity,l._level,E,S):l}function Mn(l,c,v,S,E,N){var I=S>>>v&Z,H=l&&I<l.array.length;if(!H&&E===void 0)return l;var ee;if(v>0){var re=l&&l.array[I],oe=Mn(re,c,v-J,S,E,N);return oe===re?l:(ee=zn(l,c),ee.array[I]=oe,ee)}return H&&l.array[I]===E?l:(ve(N),ee=zn(l,c),E===void 0&&I===ee.array.length-1?ee.array.pop():ee.array[I]=E,ee)}function zn(l,c){return c&&l&&c===l.ownerID?l:new Wt(l?l.array.slice():[],c)}function Ir(l,c){if(c>=Tr(l._capacity))return l._tail;if(c<1<<l._level+J){for(var v=l._root,S=l._level;v&&S>0;)v=v.array[c>>>S&Z],S-=J;return v}}function ni(l,c,v){c!==void 0&&(c=c|0),v!==void 0&&(v=v|0);var S=l.__ownerID||new ke,E=l._origin,N=l._capacity,I=E+c,H=v===void 0?N:v<0?N+v:E+v;if(I===E&&H===N)return l;if(I>=H)return l.clear();for(var ee=l._level,re=l._root,oe=0;I+oe<0;)re=new Wt(re&&re.array.length?[void 0,re]:[],S),ee+=J,oe+=1<<ee;oe&&(I+=oe,E+=oe,H+=oe,N+=oe);for(var xe=Tr(N),Ce=Tr(H);Ce>=1<<ee+J;)re=new Wt(re&&re.array.length?[re]:[],S),ee+=J;var Xe=l._tail,at=Ce<xe?Ir(l,H-1):Ce>xe?new Wt([],S):Xe;if(Xe&&Ce>xe&&I<N&&Xe.array.length){re=zn(re,S);for(var jt=re,br=ee;br>J;br-=J){var Hr=xe>>>br&Z;jt=jt.array[Hr]=zn(jt.array[Hr],S)}jt.array[xe>>>J&Z]=Xe}if(H<N&&(at=at&&at.removeAfter(S,0,H)),I>=Ce)I-=Ce,H-=Ce,ee=J,re=null,at=at&&at.removeBefore(S,0,I);else if(I>E||Ce<xe){for(oe=0;re;){var Ko=I>>>ee&Z;if(Ko!==Ce>>>ee&Z)break;Ko&&(oe+=(1<<ee)*Ko),ee-=J,re=re.array[Ko]}re&&I>E&&(re=re.removeBefore(S,ee,I-oe)),re&&Ce<xe&&(re=re.removeAfter(S,ee,Ce-oe)),oe&&(I-=oe,H-=oe)}return l.__ownerID?(l.size=H-I,l._origin=I,l._capacity=H,l._level=ee,l._root=re,l._tail=at,l.__hash=void 0,l.__altered=!0,l):hn(I,H,ee,re,at)}function oo(l,c,v){for(var S=[],E=0,N=0;N<v.length;N++){var I=v[N],H=g(I);H.size>E&&(E=H.size),b(I)||(H=H.map(function(ee){return Jt(ee)})),S.push(H)}return E>l.size&&(l=l.setSize(E)),p(l,c,S)}function Tr(l){return l<W?0:l-1>>>J<<J}a(qt,ot);function qt(l){return l==null?vt():tr(l)?l:vt().withMutations(function(c){var v=f(l);pn(v.size),v.forEach(function(S,E){return c.set(E,S)})})}qt.of=function(){return this(arguments)},qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},qt.prototype.get=function(l,c){var v=this._map.get(l);return v!==void 0?this._list.get(v)[1]:c},qt.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):vt()},qt.prototype.set=function(l,c){return vr(this,l,c)},qt.prototype.remove=function(l){return vr(this,l,le)},qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},qt.prototype.__iterate=function(l,c){var v=this;return this._list.__iterate(function(S){return S&&l(S[1],S[0],v)},c)},qt.prototype.__iterator=function(l,c){return this._list.fromEntrySeq().__iterator(l,c)},qt.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var c=this._map.__ensureOwner(l),v=this._list.__ensureOwner(l);return l?ri(c,v,l,this.__hash):(this.__ownerID=l,this._map=c,this._list=v,this)};function tr(l){return Lr(l)&&M(l)}qt.isOrderedMap=tr,qt.prototype[T]=!0,qt.prototype[ne]=qt.prototype.remove;function ri(l,c,v,S){var E=Object.create(qt.prototype);return E.size=l?l.size:0,E._map=l,E._list=c,E.__ownerID=v,E.__hash=S,E}var Ii;function vt(){return Ii||(Ii=ri(Yt(),mn()))}function vr(l,c,v){var S=l._map,E=l._list,N=S.get(c),I=N!==void 0,H,ee;if(v===le){if(!I)return l;E.size>=W&&E.size>=S.size*2?(ee=E.filter(function(re,oe){return re!==void 0&&N!==oe}),H=ee.toKeyedSeq().map(function(re){return re[0]}).flip().toMap(),l.__ownerID&&(H.__ownerID=ee.__ownerID=l.__ownerID)):(H=S.remove(c),ee=N===E.size-1?E.pop():E.set(N,void 0))}else if(I){if(v===E.get(N)[1])return l;H=S,ee=E.set(N,[c,v])}else H=S.set(c,E.size),ee=E.set(E.size,[c,v]);return l.__ownerID?(l.size=H.size,l._map=H,l._list=ee,l.__hash=void 0,l):ri(H,ee)}a(Gt,ut);function Gt(l,c){this._iter=l,this._useKeys=c,this.size=l.size}Gt.prototype.get=function(l,c){return this._iter.get(l,c)},Gt.prototype.has=function(l){return this._iter.has(l)},Gt.prototype.valueSeq=function(){return this._iter.valueSeq()},Gt.prototype.reverse=function(){var l=this,c=oi(this,!0);return this._useKeys||(c.valueSeq=function(){return l._iter.toSeq().reverse()}),c},Gt.prototype.map=function(l,c){var v=this,S=ao(this,l,c);return this._useKeys||(S.valueSeq=function(){return v._iter.toSeq().map(l,c)}),S},Gt.prototype.__iterate=function(l,c){var v=this,S;return this._iter.__iterate(this._useKeys?function(E,N){return l(E,N,v)}:(S=c?Rr(this):0,function(E){return l(E,c?--S:S++,v)}),c)},Gt.prototype.__iterator=function(l,c){if(this._useKeys)return this._iter.__iterator(l,c);var v=this._iter.__iterator(ae,c),S=c?Rr(this):0;return new qe(function(){var E=v.next();return E.done?E:je(l,c?--S:S++,E.value,E)})},Gt.prototype[T]=!0,a(En,lt);function En(l){this._iter=l,this.size=l.size}En.prototype.includes=function(l){return this._iter.includes(l)},En.prototype.__iterate=function(l,c){var v=this,S=0;return this._iter.__iterate(function(E){return l(E,S++,v)},c)},En.prototype.__iterator=function(l,c){var v=this._iter.__iterator(ae,c),S=0;return new qe(function(){var E=v.next();return E.done?E:je(l,S++,E.value,E)})},a(gn,Ft);function gn(l){this._iter=l,this.size=l.size}gn.prototype.has=function(l){return this._iter.includes(l)},gn.prototype.__iterate=function(l,c){var v=this;return this._iter.__iterate(function(S){return l(S,S,v)},c)},gn.prototype.__iterator=function(l,c){var v=this._iter.__iterator(ae,c);return new qe(function(){var S=v.next();return S.done?S:je(l,S.value,S.value,S)})},a(jr,ut);function jr(l){this._iter=l,this.size=l.size}jr.prototype.entrySeq=function(){return this._iter.toSeq()},jr.prototype.__iterate=function(l,c){var v=this;return this._iter.__iterate(function(S){if(S){ai(S);var E=b(S);return l(E?S.get(1):S[1],E?S.get(0):S[0],v)}},c)},jr.prototype.__iterator=function(l,c){var v=this._iter.__iterator(ae,c);return new qe(function(){for(;;){var S=v.next();if(S.done)return S;var E=S.value;if(E){ai(E);var N=b(E);return je(l,N?E.get(0):E[0],N?E.get(1):E[1],S)}}})},En.prototype.cacheResult=Gt.prototype.cacheResult=gn.prototype.cacheResult=jr.prototype.cacheResult=No;function ii(l){var c=Qn(l);return c._iter=l,c.size=l.size,c.flip=function(){return l},c.reverse=function(){var v=l.reverse.apply(this);return v.flip=function(){return l.reverse()},v},c.has=function(v){return l.includes(v)},c.includes=function(v){return l.has(v)},c.cacheResult=No,c.__iterateUncached=function(v,S){var E=this;return l.__iterate(function(N,I){return v(I,N,E)!==!1},S)},c.__iteratorUncached=function(v,S){if(v===Ne){var E=l.__iterator(v,S);return new qe(function(){var N=E.next();if(!N.done){var I=N.value[0];N.value[0]=N.value[1],N.value[1]=I}return N})}return l.__iterator(v===ae?fe:ae,S)},c}function ao(l,c,v){var S=Qn(l);return S.size=l.size,S.has=function(E){return l.has(E)},S.get=function(E,N){var I=l.get(E,le);return I===le?N:c.call(v,I,E,l)},S.__iterateUncached=function(E,N){var I=this;return l.__iterate(function(H,ee,re){return E(c.call(v,H,ee,re),ee,I)!==!1},N)},S.__iteratorUncached=function(E,N){var I=l.__iterator(Ne,N);return new qe(function(){var H=I.next();if(H.done)return H;var ee=H.value,re=ee[0];return je(E,re,c.call(v,ee[1],re,l),H)})},S}function oi(l,c){var v=Qn(l);return v._iter=l,v.size=l.size,v.reverse=function(){return l},l.flip&&(v.flip=function(){var S=ii(l);return S.reverse=function(){return l.flip()},S}),v.get=function(S,E){return l.get(c?S:-1-S,E)},v.has=function(S){return l.has(c?S:-1-S)},v.includes=function(S){return l.includes(S)},v.cacheResult=No,v.__iterate=function(S,E){var N=this;return l.__iterate(function(I,H){return S(I,H,N)},!E)},v.__iterator=function(S,E){return l.__iterator(S,!E)},v}function Ti(l,c,v,S){var E=Qn(l);return S&&(E.has=function(N){var I=l.get(N,le);return I!==le&&!!c.call(v,I,N,l)},E.get=function(N,I){var H=l.get(N,le);return H!==le&&c.call(v,H,N,l)?H:I}),E.__iterateUncached=function(N,I){var H=this,ee=0;return l.__iterate(function(re,oe,xe){if(c.call(v,re,oe,xe))return ee++,N(re,S?oe:ee-1,H)},I),ee},E.__iteratorUncached=function(N,I){var H=l.__iterator(Ne,I),ee=0;return new qe(function(){for(;;){var re=H.next();if(re.done)return re;var oe=re.value,xe=oe[0],Ce=oe[1];if(c.call(v,Ce,xe,l))return je(N,S?xe:ee++,Ce,re)}})},E}function ca(l,c,v){var S=ot().asMutable();return l.__iterate(function(E,N){S.update(c.call(v,E,N,l),0,function(I){return I+1})}),S.asImmutable()}function zr(l,c,v){var S=k(l),E=(M(l)?qt():ot()).asMutable();l.__iterate(function(I,H){E.update(c.call(v,I,H,l),function(ee){return ee=ee||[],ee.push(S?[H,I]:I),ee})});var N=Hi(l);return E.map(function(I){return ft(l,N(I))})}function ji(l,c,v,S){var E=l.size;if(c!==void 0&&(c=c|0),v!==void 0&&(v=v|0),Te(c,v,E))return l;var N=De(c,E),I=Re(v,E);if(N!==N||I!==I)return ji(l.toSeq().cacheResult(),c,v,S);var H=I-N,ee;H===H&&(ee=H<0?0:H);var re=Qn(l);return re.size=ee===0?ee:l.size&&ee||void 0,!S&&Pt(l)&&ee>=0&&(re.get=function(oe,xe){return oe=ge(this,oe),oe>=0&&oe<ee?l.get(oe+N,xe):xe}),re.__iterateUncached=function(oe,xe){var Ce=this;if(ee===0)return 0;if(xe)return this.cacheResult().__iterate(oe,xe);var Xe=0,at=!0,jt=0;return l.__iterate(function(br,Hr){if(!(at&&(at=Xe++<N)))return jt++,oe(br,S?Hr:jt-1,Ce)!==!1&&jt!==ee}),jt},re.__iteratorUncached=function(oe,xe){if(ee!==0&&xe)return this.cacheResult().__iterator(oe,xe);var Ce=ee!==0&&l.__iterator(oe,xe),Xe=0,at=0;return new qe(function(){for(;Xe++<N;)Ce.next();if(++at>ee)return dt();var jt=Ce.next();return S||oe===ae?jt:oe===fe?je(oe,at-1,void 0,jt):je(oe,at-1,jt.value[1],jt)})},re}function Lo(l,c,v){var S=Qn(l);return S.__iterateUncached=function(E,N){var I=this;if(N)return this.cacheResult().__iterate(E,N);var H=0;return l.__iterate(function(ee,re,oe){return c.call(v,ee,re,oe)&&++H&&E(ee,re,I)}),H},S.__iteratorUncached=function(E,N){var I=this;if(N)return this.cacheResult().__iterator(E,N);var H=l.__iterator(Ne,N),ee=!0;return new qe(function(){if(!ee)return dt();var re=H.next();if(re.done)return re;var oe=re.value,xe=oe[0],Ce=oe[1];return c.call(v,Ce,xe,I)?E===Ne?re:je(E,xe,Ce,re):(ee=!1,dt())})},S}function fa(l,c,v,S){var E=Qn(l);return E.__iterateUncached=function(N,I){var H=this;if(I)return this.cacheResult().__iterate(N,I);var ee=!0,re=0;return l.__iterate(function(oe,xe,Ce){if(!(ee&&(ee=c.call(v,oe,xe,Ce))))return re++,N(oe,S?xe:re-1,H)}),re},E.__iteratorUncached=function(N,I){var H=this;if(I)return this.cacheResult().__iterator(N,I);var ee=l.__iterator(Ne,I),re=!0,oe=0;return new qe(function(){var xe,Ce,Xe;do{if(xe=ee.next(),xe.done)return S||N===ae?xe:N===fe?je(N,oe++,void 0,xe):je(N,oe++,xe.value[1],xe);var at=xe.value;Ce=at[0],Xe=at[1],re&&(re=c.call(v,Xe,Ce,H))}while(re);return N===Ne?xe:je(N,Ce,Xe,xe)})},E}function wi(l,c){var v=k(l),S=[l].concat(c).map(function(I){return b(I)?v&&(I=f(I)):I=v?Ze(I):ht(Array.isArray(I)?I:[I]),I}).filter(function(I){return I.size!==0});if(S.length===0)return l;if(S.length===1){var E=S[0];if(E===l||v&&k(E)||L(l)&&L(E))return E}var N=new Mt(S);return v?N=N.toKeyedSeq():L(l)||(N=N.toSetSeq()),N=N.flatten(!0),N.size=S.reduce(function(I,H){if(I!==void 0){var ee=H.size;if(ee!==void 0)return I+ee}},0),N}function zi(l,c,v){var S=Qn(l);return S.__iterateUncached=function(E,N){var I=0,H=!1;function ee(re,oe){var xe=this;re.__iterate(function(Ce,Xe){return(!c||oe<c)&&b(Ce)?ee(Ce,oe+1):E(Ce,v?Xe:I++,xe)===!1&&(H=!0),!H},N)}return ee(l,0),I},S.__iteratorUncached=function(E,N){var I=l.__iterator(E,N),H=[],ee=0;return new qe(function(){for(;I;){var re=I.next();if(re.done!==!1){I=H.pop();continue}var oe=re.value;if(E===Ne&&(oe=oe[1]),(!c||H.length<c)&&b(oe))H.push(I),I=oe.__iterator(E,N);else return v?re:je(E,ee++,oe,re)}return dt()})},S}function lo(l,c,v){var S=Hi(l);return l.toSeq().map(function(E,N){return S(c.call(v,E,N,l))}).flatten(!0)}function Cn(l,c){var v=Qn(l);return v.size=l.size&&l.size*2-1,v.__iterateUncached=function(S,E){var N=this,I=0;return l.__iterate(function(H,ee){return(!I||S(c,I++,N)!==!1)&&S(H,I++,N)!==!1},E),I},v.__iteratorUncached=function(S,E){var N=l.__iterator(ae,E),I=0,H;return new qe(function(){return(!H||I%2)&&(H=N.next(),H.done)?H:I%2?je(S,I++,c):je(S,I++,H.value,H)})},v}function nr(l,c,v){c||(c=Mo);var S=k(l),E=0,N=l.toSeq().map(function(I,H){return[H,I,E++,v?v(I,H,l):I]}).toArray();return N.sort(function(I,H){return c(I[3],H[3])||I[2]-H[2]}).forEach(S?function(I,H){N[H].length=2}:function(I,H){N[H]=I[1]}),S?ut(N):L(l)?lt(N):Ft(N)}function yr(l,c,v){if(c||(c=Mo),v){var S=l.toSeq().map(function(E,N){return[E,v(E,N,l)]}).reduce(function(E,N){return Ri(c,E[1],N[1])?N:E});return S&&S[0]}else return l.reduce(function(E,N){return Ri(c,E,N)?N:E})}function Ri(l,c,v){var S=l(v,c);return S===0&&v!==c&&(v==null||v!==v)||S>0}function uo(l,c,v){var S=Qn(l);return S.size=new Mt(v).map(function(E){return E.size}).min(),S.__iterate=function(E,N){for(var I=this.__iterator(ae,N),H,ee=0;!(H=I.next()).done&&E(H.value,ee++,this)!==!1;);return ee},S.__iteratorUncached=function(E,N){var I=v.map(function(re){return re=u(re),Dt(N?re.reverse():re)}),H=0,ee=!1;return new qe(function(){var re;return ee||(re=I.map(function(oe){return oe.next()}),ee=re.some(function(oe){return oe.done})),ee?dt():je(E,H++,c.apply(null,re.map(function(oe){return oe.value})))})},S}function ft(l,c){return Pt(l)?c:l.constructor(c)}function ai(l){if(l!==Object(l))throw new TypeError("Expected [K, V] tuple: "+l)}function Rr(l){return pn(l.size),he(l)}function Hi(l){return k(l)?f:L(l)?g:y}function Qn(l){return Object.create((k(l)?ut:L(l)?lt:Ft).prototype)}function No(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):$e.prototype.cacheResult.call(this)}function Mo(l,c){return l>c?1:l<c?-1:0}function Dn(l){var c=Dt(l);if(!c){if(!Zt(l))throw new TypeError("Expected iterable or array-like: "+l);c=Dt(u(l))}return c}a(vn,Un);function vn(l,c){var v,S=function(N){if(N instanceof S)return N;if(!(this instanceof S))return new S(N);if(!v){v=!0;var I=Object.keys(l);Fo(E,I),E.size=I.length,E._name=c,E._keys=I,E._defaultValues=l}this._map=ot(N)},E=S.prototype=Object.create(en);return E.constructor=S,S}vn.prototype.toString=function(){return this.__toString(da(this)+" {","}")},vn.prototype.has=function(l){return this._defaultValues.hasOwnProperty(l)},vn.prototype.get=function(l,c){if(!this.has(l))return c;var v=this._defaultValues[l];return this._map?this._map.get(l,v):v},vn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var l=this.constructor;return l._empty||(l._empty=Do(this,Yt()))},vn.prototype.set=function(l,c){if(!this.has(l))throw new Error('Cannot set unknown key "'+l+'" on '+da(this));var v=this._map&&this._map.set(l,c);return this.__ownerID||v===this._map?this:Do(this,v)},vn.prototype.remove=function(l){if(!this.has(l))return this;var c=this._map&&this._map.remove(l);return this.__ownerID||c===this._map?this:Do(this,c)},vn.prototype.wasAltered=function(){return this._map.wasAltered()},vn.prototype.__iterator=function(l,c){var v=this;return f(this._defaultValues).map(function(S,E){return v.get(E)}).__iterator(l,c)},vn.prototype.__iterate=function(l,c){var v=this;return f(this._defaultValues).map(function(S,E){return v.get(E)}).__iterate(l,c)},vn.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var c=this._map&&this._map.__ensureOwner(l);return l?Do(this,c,l):(this.__ownerID=l,this._map=c,this)};var en=vn.prototype;en[ne]=en.remove,en.deleteIn=en.removeIn=tt.removeIn,en.merge=tt.merge,en.mergeWith=tt.mergeWith,en.mergeIn=tt.mergeIn,en.mergeDeep=tt.mergeDeep,en.mergeDeepWith=tt.mergeDeepWith,en.mergeDeepIn=tt.mergeDeepIn,en.setIn=tt.setIn,en.update=tt.update,en.updateIn=tt.updateIn,en.withMutations=tt.withMutations,en.asMutable=tt.asMutable,en.asImmutable=tt.asImmutable;function Do(l,c,v){var S=Object.create(Object.getPrototypeOf(l));return S._map=c,S.__ownerID=v,S}function da(l){return l._name||l.constructor.name||"Record"}function Fo(l,c){try{c.forEach(qa.bind(void 0,l))}catch{}}function qa(l,c){Object.defineProperty(l,c,{get:function(){return this.get(c)},set:function(v){ln(this.__ownerID,"Cannot set on an immutable record."),this.set(c,v)}})}a(Ot,Jn);function Ot(l){return l==null?Ao():qi(l)&&!M(l)?l:Ao().withMutations(function(c){var v=y(l);pn(v.size),v.forEach(function(S){return c.add(S)})})}Ot.of=function(){return this(arguments)},Ot.fromKeys=function(l){return this(f(l).keySeq())},Ot.prototype.toString=function(){return this.__toString("Set {","}")},Ot.prototype.has=function(l){return this._map.has(l)},Ot.prototype.add=function(l){return Po(this,this._map.set(l,!0))},Ot.prototype.remove=function(l){return Po(this,this._map.remove(l))},Ot.prototype.clear=function(){return Po(this,this._map.clear())},Ot.prototype.union=function(){var l=i.call(arguments,0);return l=l.filter(function(c){return c.size!==0}),l.length===0?this:this.size===0&&!this.__ownerID&&l.length===1?this.constructor(l[0]):this.withMutations(function(c){for(var v=0;v<l.length;v++)y(l[v]).forEach(function(S){return c.add(S)})})},Ot.prototype.intersect=function(){var l=i.call(arguments,0);if(l.length===0)return this;l=l.map(function(v){return y(v)});var c=this;return this.withMutations(function(v){c.forEach(function(S){l.every(function(E){return E.includes(S)})||v.remove(S)})})},Ot.prototype.subtract=function(){var l=i.call(arguments,0);if(l.length===0)return this;l=l.map(function(v){return y(v)});var c=this;return this.withMutations(function(v){c.forEach(function(S){l.some(function(E){return E.includes(S)})&&v.remove(S)})})},Ot.prototype.merge=function(){return this.union.apply(this,arguments)},Ot.prototype.mergeWith=function(l){var c=i.call(arguments,1);return this.union.apply(this,c)},Ot.prototype.sort=function(l){return h(nr(this,l))},Ot.prototype.sortBy=function(l,c){return h(nr(this,c,l))},Ot.prototype.wasAltered=function(){return this._map.wasAltered()},Ot.prototype.__iterate=function(l,c){var v=this;return this._map.__iterate(function(S,E){return l(E,E,v)},c)},Ot.prototype.__iterator=function(l,c){return this._map.map(function(v,S){return S}).__iterator(l,c)},Ot.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var c=this._map.__ensureOwner(l);return l?this.__make(c,l):(this.__ownerID=l,this._map=c,this)};function qi(l){return!!(l&&l[so])}Ot.isSet=qi;var so="@@__IMMUTABLE_SET__@@",Fn=Ot.prototype;Fn[so]=!0,Fn[ne]=Fn.remove,Fn.mergeDeep=Fn.merge,Fn.mergeDeepWith=Fn.mergeWith,Fn.withMutations=tt.withMutations,Fn.asMutable=tt.asMutable,Fn.asImmutable=tt.asImmutable,Fn.__empty=Ao,Fn.__make=co;function Po(l,c){return l.__ownerID?(l.size=c.size,l._map=c,l):c===l._map?l:c.size===0?l.__empty():l.__make(c)}function co(l,c){var v=Object.create(Fn);return v.size=l?l.size:0,v._map=l,v.__ownerID=c,v}var Bo;function Ao(){return Bo||(Bo=co(Yt()))}a(h,Ot);function h(l){return l==null?V():_(l)?l:V().withMutations(function(c){var v=y(l);pn(v.size),v.forEach(function(S){return c.add(S)})})}h.of=function(){return this(arguments)},h.fromKeys=function(l){return this(f(l).keySeq())},h.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function _(l){return qi(l)&&M(l)}h.isOrderedSet=_;var x=h.prototype;x[T]=!0,x.__empty=V,x.__make=D;function D(l,c){var v=Object.create(x);return v.size=l?l.size:0,v._map=l,v.__ownerID=c,v}var Y;function V(){return Y||(Y=D(vt()))}a(te,Vn);function te(l){return l==null?yn():pe(l)?l:yn().unshiftAll(l)}te.of=function(){return this(arguments)},te.prototype.toString=function(){return this.__toString("Stack [","]")},te.prototype.get=function(l,c){var v=this._head;for(l=ge(this,l);v&&l--;)v=v.next;return v?v.value:c},te.prototype.peek=function(){return this._head&&this._head.value},te.prototype.push=function(){if(arguments.length===0)return this;for(var l=this.size+arguments.length,c=this._head,v=arguments.length-1;v>=0;v--)c={value:arguments[v],next:c};return this.__ownerID?(this.size=l,this._head=c,this.__hash=void 0,this.__altered=!0,this):Ue(l,c)},te.prototype.pushAll=function(l){if(l=g(l),l.size===0)return this;pn(l.size);var c=this.size,v=this._head;return l.reverse().forEach(function(S){c++,v={value:S,next:v}}),this.__ownerID?(this.size=c,this._head=v,this.__hash=void 0,this.__altered=!0,this):Ue(c,v)},te.prototype.pop=function(){return this.slice(1)},te.prototype.unshift=function(){return this.push.apply(this,arguments)},te.prototype.unshiftAll=function(l){return this.pushAll(l)},te.prototype.shift=function(){return this.pop.apply(this,arguments)},te.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):yn()},te.prototype.slice=function(l,c){if(Te(l,c,this.size))return this;var v=De(l,this.size),S=Re(c,this.size);if(S!==this.size)return Vn.prototype.slice.call(this,l,c);for(var E=this.size-v,N=this._head;v--;)N=N.next;return this.__ownerID?(this.size=E,this._head=N,this.__hash=void 0,this.__altered=!0,this):Ue(E,N)},te.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?Ue(this.size,this._head,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)},te.prototype.__iterate=function(l,c){if(c)return this.reverse().__iterate(l);for(var v=0,S=this._head;S&&l(S.value,v++,this)!==!1;)S=S.next;return v},te.prototype.__iterator=function(l,c){if(c)return this.reverse().__iterator(l);var v=0,S=this._head;return new qe(function(){if(S){var E=S.value;return S=S.next,je(l,v++,E)}return dt()})};function pe(l){return!!(l&&l[He])}te.isStack=pe;var He="@@__IMMUTABLE_STACK__@@",Ye=te.prototype;Ye[He]=!0,Ye.withMutations=tt.withMutations,Ye.asMutable=tt.asMutable,Ye.asImmutable=tt.asImmutable,Ye.wasAltered=tt.wasAltered;function Ue(l,c,v,S){var E=Object.create(Ye);return E.size=l,E._head=c,E.__ownerID=v,E.__hash=S,E.__altered=!1,E}var Lt;function yn(){return Lt||(Lt=Ue(0))}function Ut(l,c){var v=function(S){l.prototype[S]=c[S]};return Object.keys(c).forEach(v),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(c).forEach(v),l}u.Iterator=qe,Ut(u,{toArray:function(){pn(this.size);var l=new Array(this.size||0);return this.valueSeq().__iterate(function(c,v){l[v]=c}),l},toIndexedSeq:function(){return new En(this)},toJS:function(){return this.toSeq().map(function(l){return l&&typeof l.toJS=="function"?l.toJS():l}).__toJS()},toJSON:function(){return this.toSeq().map(function(l){return l&&typeof l.toJSON=="function"?l.toJSON():l}).__toJS()},toKeyedSeq:function(){return new Gt(this,!0)},toMap:function(){return ot(this.toKeyedSeq())},toObject:function(){pn(this.size);var l={};return this.__iterate(function(c,v){l[v]=c}),l},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return h(k(this)?this.valueSeq():this)},toSet:function(){return Ot(k(this)?this.valueSeq():this)},toSetSeq:function(){return new gn(this)},toSeq:function(){return L(this)?this.toIndexedSeq():k(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return te(k(this)?this.valueSeq():this)},toList:function(){return Ee(k(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(l,c){return this.size===0?l+c:l+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+c},concat:function(){var l=i.call(arguments,0);return ft(this,wi(this,l))},includes:function(l){return this.some(function(c){return Kt(c,l)})},entries:function(){return this.__iterator(Ne)},every:function(l,c){pn(this.size);var v=!0;return this.__iterate(function(S,E,N){if(!l.call(c,S,E,N))return v=!1,!1}),v},filter:function(l,c){return ft(this,Ti(this,l,c,!0))},find:function(l,c,v){var S=this.findEntry(l,c);return S?S[1]:v},findEntry:function(l,c){var v;return this.__iterate(function(S,E,N){if(l.call(c,S,E,N))return v=[E,S],!1}),v},findLastEntry:function(l,c){return this.toSeq().reverse().findEntry(l,c)},forEach:function(l,c){return pn(this.size),this.__iterate(c?l.bind(c):l)},join:function(l){pn(this.size),l=l!==void 0?""+l:",";var c="",v=!0;return this.__iterate(function(S){v?v=!1:c+=l,c+=S!=null?S.toString():""}),c},keys:function(){return this.__iterator(fe)},map:function(l,c){return ft(this,ao(this,l,c))},reduce:function(l,c,v){pn(this.size);var S,E;return arguments.length<2?E=!0:S=c,this.__iterate(function(N,I,H){E?(E=!1,S=N):S=l.call(v,S,N,I,H)}),S},reduceRight:function(l,c,v){var S=this.toKeyedSeq().reverse();return S.reduce.apply(S,arguments)},reverse:function(){return ft(this,oi(this,!0))},slice:function(l,c){return ft(this,ji(this,l,c,!0))},some:function(l,c){return!this.every(Ua(l),c)},sort:function(l){return ft(this,nr(this,l))},values:function(){return this.__iterator(ae)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(l,c){return he(l?this.toSeq().filter(l,c):this)},countBy:function(l,c){return ca(this,l,c)},equals:function(l){return vi(this,l)},entrySeq:function(){var l=this;if(l._cache)return new Mt(l._cache);var c=l.toSeq().map(ui).toIndexedSeq();return c.fromEntrySeq=function(){return l.toSeq()},c},filterNot:function(l,c){return this.filter(Ua(l),c)},findLast:function(l,c,v){return this.toKeyedSeq().reverse().find(l,c,v)},first:function(){return this.find(Le)},flatMap:function(l,c){return ft(this,lo(this,l,c))},flatten:function(l){return ft(this,zi(this,l,!0))},fromEntrySeq:function(){return new jr(this)},get:function(l,c){return this.find(function(v,S){return Kt(S,l)},void 0,c)},getIn:function(l,c){for(var v=this,S=Dn(l),E;!(E=S.next()).done;){var N=E.value;if(v=v&&v.get?v.get(N,le):le,v===le)return c}return v},groupBy:function(l,c){return zr(this,l,c)},has:function(l){return this.get(l,le)!==le},hasIn:function(l){return this.getIn(l,le)!==le},isSubset:function(l){return l=typeof l.includes=="function"?l:u(l),this.every(function(c){return l.includes(c)})},isSuperset:function(l){return l=typeof l.isSubset=="function"?l:u(l),l.isSubset(this)},keySeq:function(){return this.toSeq().map(pa).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(l){return yr(this,l)},maxBy:function(l,c){return yr(this,c,l)},min:function(l){return yr(this,l?rs(l):Rl)},minBy:function(l,c){return yr(this,c?rs(c):Rl,l)},rest:function(){return this.slice(1)},skip:function(l){return this.slice(Math.max(0,l))},skipLast:function(l){return ft(this,this.toSeq().reverse().skip(l).reverse())},skipWhile:function(l,c){return ft(this,fa(this,l,c,!0))},skipUntil:function(l,c){return this.skipWhile(Ua(l),c)},sortBy:function(l,c){return ft(this,nr(this,c,l))},take:function(l){return this.slice(0,Math.max(0,l))},takeLast:function(l){return ft(this,this.toSeq().reverse().take(l).reverse())},takeWhile:function(l,c){return ft(this,Lo(this,l,c))},takeUntil:function(l,c){return this.takeWhile(Ua(l),c)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ha(this))}});var St=u.prototype;St[j]=!0,St[Nt]=St.values,St.__toJS=St.toArray,St.__toStringMapper=is,St.inspect=St.toSource=function(){return this.toString()},St.chain=St.flatMap,St.contains=St.includes,function(){try{Object.defineProperty(St,"length",{get:function(){if(!u.noLengthWarning){var l;try{throw new Error}catch(c){l=c.stack}if(l.indexOf("_wrapObject")===-1)return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+l),this.size}}})}catch{}}(),Ut(f,{flip:function(){return ft(this,ii(this))},findKey:function(l,c){var v=this.findEntry(l,c);return v&&v[0]},findLastKey:function(l,c){return this.toSeq().reverse().findKey(l,c)},keyOf:function(l){return this.findKey(function(c){return Kt(c,l)})},lastKeyOf:function(l){return this.findLastKey(function(c){return Kt(c,l)})},mapEntries:function(l,c){var v=this,S=0;return ft(this,this.toSeq().map(function(E,N){return l.call(c,[N,E],S++,v)}).fromEntrySeq())},mapKeys:function(l,c){var v=this;return ft(this,this.toSeq().flip().map(function(S,E){return l.call(c,S,E,v)}).flip())}});var li=f.prototype;li[P]=!0,li[Nt]=St.entries,li.__toJS=St.toObject,li.__toStringMapper=function(l,c){return JSON.stringify(c)+": "+is(l)},Ut(g,{toKeyedSeq:function(){return new Gt(this,!1)},filter:function(l,c){return ft(this,Ti(this,l,c,!1))},findIndex:function(l,c){var v=this.findEntry(l,c);return v?v[0]:-1},indexOf:function(l){var c=this.toKeyedSeq().keyOf(l);return c===void 0?-1:c},lastIndexOf:function(l){var c=this.toKeyedSeq().reverse().keyOf(l);return c===void 0?-1:c},reverse:function(){return ft(this,oi(this,!1))},slice:function(l,c){return ft(this,ji(this,l,c,!1))},splice:function(l,c){var v=arguments.length;if(c=Math.max(c|0,0),v===0||v===2&&!c)return this;l=De(l,l<0?this.count():this.size);var S=this.slice(0,l);return ft(this,v===1?S:S.concat(we(arguments,2),this.slice(l+c)))},findLastIndex:function(l,c){var v=this.toKeyedSeq().findLastKey(l,c);return v===void 0?-1:v},first:function(){return this.get(0)},flatten:function(l){return ft(this,zi(this,l,!1))},get:function(l,c){return l=ge(this,l),l<0||this.size===1/0||this.size!==void 0&&l>this.size?c:this.find(function(v,S){return S===l},void 0,c)},has:function(l){return l=ge(this,l),l>=0&&(this.size!==void 0?this.size===1/0||l<this.size:this.indexOf(l)!==-1)},interpose:function(l){return ft(this,Cn(this,l))},interleave:function(){var l=[this].concat(we(arguments)),c=uo(this.toSeq(),lt.of,l),v=c.flatten(!0);return c.size&&(v.size=c.size*l.length),ft(this,v)},last:function(){return this.get(-1)},skipWhile:function(l,c){return ft(this,fa(this,l,c,!1))},zip:function(){var l=[this].concat(we(arguments));return ft(this,uo(this,os,l))},zipWith:function(l){var c=we(arguments);return c[0]=this,ft(this,uo(this,l,c))}}),g.prototype[K]=!0,g.prototype[T]=!0,Ut(y,{get:function(l,c){return this.has(l)?l:c},includes:function(l){return this.has(l)},keySeq:function(){return this.valueSeq()}}),y.prototype.has=St.includes,Ut(ut,f.prototype),Ut(lt,g.prototype),Ut(Ft,y.prototype),Ut(Un,f.prototype),Ut(Vn,g.prototype),Ut(Jn,y.prototype);function pa(l,c){return c}function ui(l,c){return[c,l]}function Ua(l){return function(){return!l.apply(this,arguments)}}function rs(l){return function(){return-l.apply(this,arguments)}}function is(l){return typeof l=="string"?JSON.stringify(l):l}function os(){return we(arguments)}function Rl(l,c){return l<c?1:l>c?-1:0}function ha(l){if(l.size===1/0)return 0;var c=M(l),v=k(l),S=c?1:0,E=l.__iterate(v?c?function(N,I){S=31*S+as(It(N),It(I))|0}:function(N,I){S=S+as(It(N),It(I))|0}:c?function(N){S=31*S+It(N)|0}:function(N){S=S+It(N)|0});return ma(E,S)}function ma(l,c){return c=kn(c,3432918353),c=kn(c<<15|c>>>-15,461845907),c=kn(c<<13|c>>>-13,5),c=(c+3864292196|0)^l,c=kn(c^c>>>16,2246822507),c=kn(c^c>>>13,3266489909),c=xr(c^c>>>16),c}function as(l,c){return l^c+2654435769+(l<<6)+(l>>2)|0}var Va={Iterable:u,Seq:$e,Collection:it,Map:ot,OrderedMap:qt,List:Ee,Stack:te,Set:Ot,OrderedSet:h,Record:vn,Range:Rt,Repeat:$t,is:Kt,fromJS:Jt};return Va})})(H0);var q0=mt,U0=q0.OrderedMap,V0={createFromArray:function(t){return U0(t.map(function(r){return[r.getKey(),r]}))}},hl=V0;function Q0(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var nc=mt,rc=nc.Map,ic=nc.OrderedSet,$0=nc.Record,ip=ic(),op={style:ip,entity:null},Y0=$0(op),oc=function(t){Q0(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.getStyle=function(){return this.get("style")},i.getEntity=function(){return this.get("entity")},i.hasStyle=function(a){return this.getStyle().includes(a)},r.applyStyle=function(a,u){var f=a.set("style",a.getStyle().add(u));return r.create(f)},r.removeStyle=function(a,u){var f=a.set("style",a.getStyle().remove(u));return r.create(f)},r.applyEntity=function(a,u){var f=a.getEntity()===u?a:a.set("entity",u);return r.create(f)},r.create=function(a){if(!a)return ac;var u={style:ip,entity:null},f=rc(u).merge(a),g=lc.get(f);if(g)return g;var y=new r(f);return lc=lc.set(f,y),y},r.fromJS=function(a){var u=a.style,f=a.entity;return new r({style:Array.isArray(u)?ic(u):u,entity:Array.isArray(f)?ic(f):f})},r}(Y0),ac=new oc,lc=rc([[rc(op),ac]]);oc.EMPTY=ac;var Qr=oc;function X0(t,r,i,a){if(t.size){var u=0;t.reduce(function(f,g,y){return r(f,g)||(i(f)&&a(u,y),u=y),g}),i(t.last())&&a(u,t.count())}}var ml=X0;function Z0(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var J0=Qr,ap=ml,gl=mt,lp=gl.List,W0=gl.Map,G0=gl.OrderedSet,e1=gl.Record,t1=gl.Repeat,n1=G0(),r1={key:"",type:"unstyled",text:"",characterList:lp(),depth:0,data:W0()},i1=e1(r1),o1=function(t){if(!t)return t;var r=t.characterList,i=t.text;return i&&!r&&(t.characterList=lp(t1(J0.EMPTY,i.length))),t},a1=function(t){Z0(r,t);function r(a){return t.call(this,o1(a))||this}var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(a){var u=this.getCharacterList().get(a);return u?u.getStyle():n1},i.getEntityAt=function(a){var u=this.getCharacterList().get(a);return u?u.getEntity():null},i.findStyleRanges=function(a,u){ap(this.getCharacterList(),l1,a,u)},i.findEntityRanges=function(a,u){ap(this.getCharacterList(),u1,a,u)},r}(i1);function l1(t,r){return t.getStyle()===r.getStyle()}function u1(t,r){return t.getEntity()===r.getEntity()}var Wo=a1;function s1(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var c1=Qr,up=ml,vl=mt,uc=vl.List,f1=vl.Map,d1=vl.OrderedSet,p1=vl.Record,h1=vl.Repeat,m1=d1(),sp={parent:null,characterList:uc(),data:f1(),depth:0,key:"",text:"",type:"unstyled",children:uc(),prevSibling:null,nextSibling:null},g1=function(t,r){return t.getStyle()===r.getStyle()},v1=function(t,r){return t.getEntity()===r.getEntity()},y1=function(t){if(!t)return t;var r=t.characterList,i=t.text;return i&&!r&&(t.characterList=uc(h1(c1.EMPTY,i.length))),t},b1=function(t){s1(r,t);function r(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sp;return t.call(this,y1(a))||this}var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(a){var u=this.getCharacterList().get(a);return u?u.getStyle():m1},i.getEntityAt=function(a){var u=this.getCharacterList().get(a);return u?u.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(a,u){up(this.getCharacterList(),g1,a,u)},i.findEntityRanges=function(a,u){up(this.getCharacterList(),v1,a,u)},r}(p1(sp)),$r=b1,cp=Qr,_1=mt,w1=_1.Map,S1={add:function(t,r,i){return fp(t,r,i,!0)},remove:function(t,r,i){return fp(t,r,i,!1)}};function fp(t,r,i,a){var u=t.getBlockMap(),f=r.getStartKey(),g=r.getStartOffset(),y=r.getEndKey(),b=r.getEndOffset(),k=u.skipUntil(function(L,B){return B===f}).takeUntil(function(L,B){return B===y}).concat(w1([[y,u.get(y)]])).map(function(L,B){var M,j;f===y?(M=g,j=b):(M=B===f?g:0,j=B===y?b:L.getLength());for(var P=L.getCharacterList(),K;M<j;)K=P.get(M),P=P.set(M,a?cp.applyStyle(K,i):cp.removeStyle(K,i)),M++;return L.set("characterList",P)});return t.merge({blockMap:u.merge(k),selectionBefore:r,selectionAfter:r})}var k1=S1,E1=Qr;function C1(t,r,i,a){for(var u=r,f=t.getCharacterList();u<i;)f=f.set(u,E1.applyEntity(f.get(u),a)),u++;return t.set("characterList",f)}var x1=C1,O1=x1,L1=mt;function N1(t,r,i){var a=t.getBlockMap(),u=r.getStartKey(),f=r.getStartOffset(),g=r.getEndKey(),y=r.getEndOffset(),b=a.skipUntil(function(k,L){return L===u}).takeUntil(function(k,L){return L===g}).toOrderedMap().merge(L1.OrderedMap([[g,a.get(g)]])).map(function(k,L){var B=L===u?f:0,M=L===g?y:k.getLength();return O1(k,B,M,i)});return t.merge({blockMap:a.merge(b),selectionBefore:r,selectionAfter:r})}var M1=N1,D1={getRemovalRange:function(t,r,i,a,u){var f=i.split(" ");f=f.map(function(K,T){if(u==="forward"){if(T>0)return" "+K}else if(T<f.length-1)return K+" ";return K});for(var g=a,y,b,k=null,L=null,B=0;B<f.length;B++){if(b=f[B],y=g+b.length,t<y&&g<r)k!==null||(k=g),L=y;else if(k!==null)break;g=y}var M=a+i.length,j=k===a,P=L===M;return(!j&&P||j&&!P)&&(u==="forward"?L!==M&&L++:k!==a&&k--),{start:k,end:L}}},F1=D1;function P1(t,r){for(var i=arguments.length,a=new Array(i>2?i-2:0),u=2;u<i;u++)a[u-2]=arguments[u];if(!t){var f;if(r===void 0)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=0;f=new Error(r.replace(/%s/g,function(){return String(a[g++])})),f.name="Invariant Violation"}throw f.framesToPop=1,f}}var _t=P1,B1=_t;function A1(t,r){var i=[];return t.findEntityRanges(function(a){return a.getEntity()===r},function(a,u){i.push({start:a,end:u})}),i.length||B1(!1),i}var K1=A1,I1=F1,T1=K1,j1=_t;function z1(t,r,i,a,u){var f=a.getStartOffset(),g=a.getEndOffset(),y=r.getEntityAt(f),b=i.getEntityAt(g-1);if(!y&&!b)return a;var k=a;if(y&&y===b)k=yl(t,r,k,u,y,!0,!0);else if(y&&b){var L=yl(t,r,k,u,y,!1,!0),B=yl(t,i,k,u,b,!1,!1);k=k.merge({anchorOffset:L.getAnchorOffset(),focusOffset:B.getFocusOffset(),isBackward:!1})}else if(y){var M=yl(t,r,k,u,y,!1,!0);k=k.merge({anchorOffset:M.getStartOffset(),isBackward:!1})}else if(b){var j=yl(t,i,k,u,b,!1,!1);k=k.merge({focusOffset:j.getEndOffset(),isBackward:!1})}return k}function yl(t,r,i,a,u,f,g){var y=i.getStartOffset(),b=i.getEndOffset(),k=t.__get(u),L=k.getMutability(),B=g?y:b;if(L==="MUTABLE")return i;var M=T1(r,u).filter(function(K){return B<=K.end&&B>=K.start});M.length!=1&&j1(!1);var j=M[0];if(L==="IMMUTABLE")return i.merge({anchorOffset:j.start,focusOffset:j.end,isBackward:!1});f||(g?b=j.end:y=j.start);var P=I1.getRemovalRange(y,b,r.getText().slice(j.start,j.end),j.start,a);return i.merge({anchorOffset:P.start,focusOffset:P.end,isBackward:!1})}var R1=z1,dp={},H1=Math.pow(2,24);function q1(){for(var t;t===void 0||dp.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*H1).toString(32);return dp[t]=!0,t}var Oi=q1,U1=$r,pp=Oi,V1=mt,hp=V1.OrderedMap,Q1=function(t){var r={},i;return hp(t.withMutations(function(a){a.forEach(function(u,f){var g=u.getKey(),y=u.getNextSiblingKey(),b=u.getPrevSiblingKey(),k=u.getChildKeys(),L=u.getParentKey(),B=pp();if(r[g]=B,y){var M=a.get(y);M?a.setIn([y,"prevSibling"],B):a.setIn([g,"nextSibling"],null)}if(b){var j=a.get(b);j?a.setIn([b,"nextSibling"],B):a.setIn([g,"prevSibling"],null)}if(L&&a.get(L)){var P=a.get(L),K=P.getChildKeys();a.setIn([L,"children"],K.set(K.indexOf(u.getKey()),B))}else a.setIn([g,"parent"],null),i&&(a.setIn([i.getKey(),"nextSibling"],B),a.setIn([g,"prevSibling"],r[i.getKey()])),i=a.get(g);k.forEach(function(T){var ne=a.get(T);ne?a.setIn([T,"parent"],B):a.setIn([g,"children"],u.getChildKeys().filter(function(J){return J!==T}))})})}).toArray().map(function(a){return[r[a.getKey()],a.set("key",r[a.getKey()])]}))},$1=function(t){return hp(t.toArray().map(function(r){var i=pp();return[i,r.set("key",i)]}))},Y1=function(t){var r=t.first()instanceof U1;return r?Q1(t):$1(t)},mp=Y1,X1=Qr,Z1=ml,J1=_t;function W1(t,r){var i=t.getBlockMap(),a=t.getEntityMap(),u={},f=r.getStartKey(),g=r.getStartOffset(),y=i.get(f),b=gp(a,y,g);b!==y&&(u[f]=b);var k=r.getEndKey(),L=r.getEndOffset(),B=i.get(k);f===k&&(B=b);var M=gp(a,B,L);return M!==B&&(u[k]=M),Object.keys(u).length?t.merge({blockMap:i.merge(u),selectionAfter:r}):t.set("selectionAfter",r)}function G1(t,r,i){var a;return Z1(t,function(u,f){return u.getEntity()===f.getEntity()},function(u){return u.getEntity()===r},function(u,f){u<=i&&f>=i&&(a={start:u,end:f})}),typeof a!="object"&&J1(!1),a}function gp(t,r,i){var a=r.getCharacterList(),u=i>0?a.get(i-1):void 0,f=i<a.count()?a.get(i):void 0,g=u?u.getEntity():void 0,y=f?f.getEntity():void 0;if(y&&y===g){var b=t.__get(y);if(b.getMutability()!=="MUTABLE"){for(var k=G1(a,y,i),L=k.start,B=k.end,M;L<B;)M=a.get(L),a=a.set(L,X1.applyEntity(M,null)),L++;return r.set("characterList",a)}}return r}var vp=W1,e_=mp,t_=vp,n_=function(t,r){var i=r.getStartKey(),a=r.getStartOffset(),u=r.getEndKey(),f=r.getEndOffset(),g=t_(t,r),y=g.getBlockMap(),b=y.keySeq(),k=b.indexOf(i),L=b.indexOf(u)+1;return e_(y.slice(k,L).map(function(B,M){var j=B.getText(),P=B.getCharacterList();return i===u?B.merge({text:j.slice(a,f),characterList:P.slice(a,f)}):M===i?B.merge({text:j.slice(a),characterList:P.slice(a)}):M===u?B.merge({text:j.slice(0,f),characterList:P.slice(0,f)}):B}))},fu=n_;function r_(t,r,i){var a=t;if(i===a.count())r.forEach(function(g){a=a.push(g)});else if(i===0)r.reverse().forEach(function(g){a=a.unshift(g)});else{var u=a.slice(0,i),f=a.slice(i);a=u.concat(r,f).toList()}return a}var yp=r_,i_=hl,bp=$r,o_=mt,a_=yp,_p=_t,l_=mp,u_=o_.List,s_=function(t,r,i,a,u,f){var g=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"REPLACE_WITH_NEW_DATA",y=i.get(u),b=y.getText(),k=y.getCharacterList(),L=u,B=f+a.getText().length,M=null;switch(g){case"MERGE_OLD_DATA_TO_NEW_DATA":M=a.getData().merge(y.getData());break;case"REPLACE_WITH_NEW_DATA":M=a.getData();break}var j=y.getType();b&&j==="unstyled"&&(j=a.getType());var P=y.merge({text:b.slice(0,f)+a.getText()+b.slice(f),characterList:a_(k,a.getCharacterList(),f),type:j,data:M});return t.merge({blockMap:i.set(u,P),selectionBefore:r,selectionAfter:r.merge({anchorKey:L,anchorOffset:B,focusKey:L,focusOffset:B,isBackward:!1})})},c_=function(t,r,i){var a=t.getText(),u=t.getCharacterList(),f=a.slice(0,r),g=u.slice(0,r),y=i.first();return t.merge({text:f+y.getText(),characterList:g.concat(y.getCharacterList()),type:f?t.getType():y.getType(),data:y.getData()})},f_=function(t,r,i){var a=t.getText(),u=t.getCharacterList(),f=a.length,g=a.slice(r,f),y=u.slice(r,f),b=i.last();return b.merge({text:b.getText()+g,characterList:b.getCharacterList().concat(y),data:b.getData()})},d_=function(t,r){var i=t.getKey(),a=t,u=[];for(r.get(i)&&u.push(i);a&&a.getNextSiblingKey();){var f=a.getNextSiblingKey();if(!f)break;u.push(f),a=r.get(f)}return u},p_=function(t,r,i,a){return t.withMutations(function(u){var f=i.getKey(),g=a.getKey(),y=i.getNextSiblingKey(),b=i.getParentKey(),k=d_(a,t),L=k[k.length-1];if(u.get(g)?(u.setIn([f,"nextSibling"],g),u.setIn([g,"prevSibling"],f)):(u.setIn([f,"nextSibling"],a.getNextSiblingKey()),u.setIn([a.getNextSiblingKey(),"prevSibling"],f)),u.setIn([L,"nextSibling"],y),y&&u.setIn([y,"prevSibling"],L),k.forEach(function(T){return u.setIn([T,"parent"],b)}),b){var B=t.get(b),M=B.getChildKeys(),j=M.indexOf(f),P=j+1,K=M.toArray();K.splice.apply(K,[P,0].concat(k)),u.setIn([b,"children"],u_(K))}})},h_=function(t,r,i,a,u,f){var g=i.first()instanceof bp,y=[],b=a.size,k=i.get(u),L=a.first(),B=a.last(),M=B.getLength(),j=B.getKey(),P=g&&(!k.getChildKeys().isEmpty()||!L.getChildKeys().isEmpty());i.forEach(function(T,ne){if(ne!==u){y.push(T);return}P?y.push(T):y.push(c_(T,f,a)),a.slice(P?0:1,b-1).forEach(function(J){return y.push(J)}),y.push(f_(T,f,a))});var K=i_.createFromArray(y);return g&&(K=p_(K,i,k,L)),t.merge({blockMap:K,selectionBefore:r,selectionAfter:r.merge({anchorKey:j,anchorOffset:M,focusKey:j,focusOffset:M,isBackward:!1})})},m_=function(t,r,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA";r.isCollapsed()||_p(!1);var u=t.getBlockMap(),f=l_(i),g=r.getStartKey(),y=r.getStartOffset(),b=u.get(g);return b instanceof bp&&(b.getChildKeys().isEmpty()||_p(!1)),f.size===1?s_(t,r,u,f.first(),g,y,a):h_(t,r,u,f,g,y)},g_=m_,v_=mt,y_=yp,b_=_t,__=v_.Repeat;function w_(t,r,i,a){r.isCollapsed()||b_(!1);var u=null;if(i!=null&&(u=i.length),u==null||u===0)return t;var f=t.getBlockMap(),g=r.getStartKey(),y=r.getStartOffset(),b=f.get(g),k=b.getText(),L=b.merge({text:k.slice(0,y)+i+k.slice(y,b.getLength()),characterList:y_(b.getCharacterList(),__(a,u).toList(),y)}),B=y+u;return t.merge({blockMap:f.set(g,L),selectionAfter:r.merge({anchorOffset:B,focusOffset:B})})}var S_=w_,k_=mt,E_=k_.Map;function C_(t,r,i){var a=r.getStartKey(),u=r.getEndKey(),f=t.getBlockMap(),g=f.toSeq().skipUntil(function(y,b){return b===a}).takeUntil(function(y,b){return b===u}).concat(E_([[u,f.get(u)]])).map(i);return t.merge({blockMap:f.merge(g),selectionBefore:r,selectionAfter:r})}var wp=C_,x_=$r,O_=function(t,r){var i=t instanceof x_;if(!i)return null;var a=t.getNextSiblingKey();if(a)return a;var u=t.getParentKey();if(!u)return null;for(var f=r.get(u);f&&!f.getNextSiblingKey();){var g=f.getParentKey();f=g?r.get(g):null}return f?f.getNextSiblingKey():null},Sp=O_,L_=$r,sc=Sp,kp=mt;kp.List;var Ep=kp.Map,or=function(t,r,i){if(t){var a=r.get(t);a&&r.set(t,i(a))}},du=function(t,r){var i=[];if(!t)return i;for(var a=r.get(t);a&&a.getParentKey();){var u=a.getParentKey();u&&i.push(u),a=u?r.get(u):null}return i},N_=function(t,r){var i=[];if(!t)return i;for(var a=sc(t,r);a&&r.get(a);){var u=r.get(a);i.push(a),a=u.getParentKey()?sc(u,r):null}return i},Da=function(t,r,i){if(!t)return null;for(var a=i.get(t.getKey()).getNextSiblingKey();a&&!r.get(a);)a=i.get(a).getNextSiblingKey()||null;return a},Fa=function(t,r,i){if(!t)return null;for(var a=i.get(t.getKey()).getPrevSiblingKey();a&&!r.get(a);)a=i.get(a).getPrevSiblingKey()||null;return a},M_=function(t,r,i,a){return t.withMutations(function(u){if(or(r.getKey(),u,function(k){return k.merge({nextSibling:Da(k,u,a),prevSibling:Fa(k,u,a)})}),or(i.getKey(),u,function(k){return k.merge({nextSibling:Da(k,u,a),prevSibling:Fa(k,u,a)})}),du(r.getKey(),a).forEach(function(k){return or(k,u,function(L){return L.merge({children:L.getChildKeys().filter(function(B){return u.get(B)}),nextSibling:Da(L,u,a),prevSibling:Fa(L,u,a)})})}),or(r.getNextSiblingKey(),u,function(k){return k.merge({prevSibling:r.getPrevSiblingKey()})}),or(r.getPrevSiblingKey(),u,function(k){return k.merge({nextSibling:Da(k,u,a)})}),or(i.getNextSiblingKey(),u,function(k){return k.merge({prevSibling:Fa(k,u,a)})}),or(i.getPrevSiblingKey(),u,function(k){return k.merge({nextSibling:i.getNextSiblingKey()})}),du(i.getKey(),a).forEach(function(k){or(k,u,function(L){return L.merge({children:L.getChildKeys().filter(function(B){return u.get(B)}),nextSibling:Da(L,u,a),prevSibling:Fa(L,u,a)})})}),N_(i,a).forEach(function(k){return or(k,u,function(L){return L.merge({nextSibling:Da(L,u,a),prevSibling:Fa(L,u,a)})})}),t.get(r.getKey())==null&&t.get(i.getKey())!=null&&i.getParentKey()===r.getKey()&&i.getPrevSiblingKey()==null){var f=r.getPrevSiblingKey();or(i.getKey(),u,function(k){return k.merge({prevSibling:f})}),or(f,u,function(k){return k.merge({nextSibling:i.getKey()})});var g=f?t.get(f):null,y=g?g.getParentKey():null;if(r.getChildKeys().forEach(function(k){or(k,u,function(L){return L.merge({parent:y})})}),y!=null){var b=t.get(y);or(y,u,function(k){return k.merge({children:b.getChildKeys().concat(r.getChildKeys())})})}or(r.getChildKeys().find(function(k){var L=t.get(k);return L.getNextSiblingKey()===null}),u,function(k){return k.merge({nextSibling:r.getNextSiblingKey()})})}})},D_=function(t,r){if(r.isCollapsed())return t;var i=t.getBlockMap(),a=r.getStartKey(),u=r.getStartOffset(),f=r.getEndKey(),g=r.getEndOffset(),y=i.get(a),b=i.get(f),k=y instanceof L_,L=[];if(k){var B=b.getChildKeys(),M=du(f,i);b.getNextSiblingKey()&&(L=L.concat(M)),B.isEmpty()||(L=L.concat(M.concat([f]))),L=L.concat(du(sc(b,i),i))}var j;y===b?j=F_(y.getCharacterList(),u,g):j=y.getCharacterList().slice(0,u).concat(b.getCharacterList().slice(g));var P=y.merge({text:y.getText().slice(0,u)+b.getText().slice(g),characterList:j}),K=k&&u===0&&g===0&&b.getParentKey()===a&&b.getPrevSiblingKey()==null,T=K?Ep([[a,null]]):i.toSeq().skipUntil(function(J,W){return W===a}).takeUntil(function(J,W){return W===f}).filter(function(J,W){return L.indexOf(W)===-1}).concat(Ep([[f,null]])).map(function(J,W){return W===a?P:null}),ne=i.merge(T).filter(function(J){return!!J});return k&&y!==b&&(ne=M_(ne,y,b,i)),t.merge({blockMap:ne,selectionBefore:r,selectionAfter:r.merge({anchorKey:a,anchorOffset:u,focusKey:a,focusOffset:u,isBackward:!1})})},F_=function(t,r,i){if(r===0)for(;r<i;)t=t.shift(),r++;else if(i===t.count())for(;i>r;)t=t.pop(),i--;else{var a=t.slice(0,r),u=t.slice(i);t=a.concat(u).toList()}return t},P_=D_,B_=$r,A_=Oi,Cp=mt,xp=_t,K_=wp,I_=Cp.List,T_=Cp.Map,pu=function(t,r,i){if(t){var a=r.get(t);a&&r.set(t,i(a))}},j_=function(t,r,i){return t.withMutations(function(a){var u=r.getKey(),f=i.getKey();pu(r.getParentKey(),a,function(g){var y=g.getChildKeys(),b=y.indexOf(u)+1,k=y.toArray();return k.splice(b,0,f),g.merge({children:I_(k)})}),pu(r.getNextSiblingKey(),a,function(g){return g.merge({prevSibling:f})}),pu(u,a,function(g){return g.merge({nextSibling:f})}),pu(f,a,function(g){return g.merge({prevSibling:u})})})},z_=function(t,r){r.isCollapsed()||xp(!1);var i=r.getAnchorKey(),a=t.getBlockMap(),u=a.get(i),f=u.getText();if(!f){var g=u.getType();if(g==="unordered-list-item"||g==="ordered-list-item")return K_(t,r,function(T){return T.merge({type:"unstyled",depth:0})})}var y=r.getAnchorOffset(),b=u.getCharacterList(),k=A_(),L=u instanceof B_,B=u.merge({text:f.slice(0,y),characterList:b.slice(0,y)}),M=B.merge({key:k,text:f.slice(y),characterList:b.slice(y),data:T_()}),j=a.toSeq().takeUntil(function(T){return T===u}),P=a.toSeq().skipUntil(function(T){return T===u}).rest(),K=j.concat([[i,B],[k,M]],P).toOrderedMap();return L&&(u.getChildKeys().isEmpty()||xp(!1),K=j_(K,B,M)),t.merge({blockMap:K,selectionBefore:r,selectionAfter:r.merge({anchorKey:k,anchorOffset:0,focusKey:k,focusOffset:0,isBackward:!1})})},R_=z_,H_=Qr,Op=k1,q_=M1,U_=R1,V_=fu,Q_=mt,$_=g_,Y_=S_,X_=_t,cc=wp,bl=vp,_l=P_,Z_=R_,J_=Q_.OrderedSet,hu={replaceText:function(t,r,i,a,u){var f=bl(t,r),g=_l(f,r),y=H_.create({style:a||J_(),entity:u||null});return Y_(g,g.getSelectionAfter(),i,y)},insertText:function(t,r,i,a,u){return r.isCollapsed()||X_(!1),hu.replaceText(t,r,i,a,u)},moveText:function(t,r,i){var a=V_(t,r),u=hu.removeRange(t,r,"backward");return hu.replaceWithFragment(u,i,a)},replaceWithFragment:function(t,r,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA",u=bl(t,r),f=_l(u,r);return $_(f,f.getSelectionAfter(),i,a)},removeRange:function(t,r,i){var a,u,f,g;r.getIsBackward()&&(r=r.merge({anchorKey:r.getFocusKey(),anchorOffset:r.getFocusOffset(),focusKey:r.getAnchorKey(),focusOffset:r.getAnchorOffset(),isBackward:!1})),a=r.getAnchorKey(),u=r.getFocusKey(),f=t.getBlockForKey(a),g=t.getBlockForKey(u);var y=r.getStartOffset(),b=r.getEndOffset(),k=f.getEntityAt(y),L=g.getEntityAt(b-1);if(a===u&&k&&k===L){var B=U_(t.getEntityMap(),f,g,r,i);return _l(t,B)}var M=bl(t,r);return _l(M,r)},splitBlock:function(t,r){var i=bl(t,r),a=_l(i,r);return Z_(a,a.getSelectionAfter())},applyInlineStyle:function(t,r,i){return Op.add(t,r,i)},removeInlineStyle:function(t,r,i){return Op.remove(t,r,i)},setBlockType:function(t,r,i){return cc(t,r,function(a){return a.merge({type:i,depth:0})})},setBlockData:function(t,r,i){return cc(t,r,function(a){return a.merge({data:i})})},mergeBlockData:function(t,r,i){return cc(t,r,function(a){return a.merge({data:a.getData().merge(i)})})},applyEntity:function(t,r,i){var a=bl(t,r);return q_(a,r,i)}},ar=hu;function W_(t){return Object.keys(t).map(function(r){return t[r]})}var Lp=W_;function G_(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){ew(t,u,i[u])})}return t}function ew(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function tw(t,r){if(t==null)return{};var i={},a=Object.keys(t),u,f;for(f=0;f<a.length;f++)u=a[f],!(r.indexOf(u)>=0)&&(i[u]=t[u]);return i}var Np=ml,nw=Lp,fc=mt,Pa=fc.List,rw=fc.Repeat,Mp=fc.Record,Dp=function(){return!0},iw={start:null,end:null},dc=Mp(iw),ow={start:null,end:null,decoratorKey:null,leaves:null},pc=Mp(ow),aw={generate:function(t,r,i){var a=r.getLength();if(!a)return Pa.of(new pc({start:0,end:0,decoratorKey:null,leaves:Pa.of(new dc({start:0,end:0}))}));var u=[],f=i?i.getDecorations(r,t):Pa(rw(null,a)),g=r.getCharacterList();return Np(f,Fp,Dp,function(y,b){u.push(new pc({start:y,end:b,decoratorKey:f.get(y),leaves:lw(g.slice(y,b).toList(),y)}))}),Pa(u)},fromJS:function(t){var r=t.leaves,i=tw(t,["leaves"]);return new pc(G_({},i,{leaves:r!=null?Pa(Array.isArray(r)?r:nw(r)).map(function(a){return dc(a)}):null}))}};function lw(t,r){var i=[],a=t.map(function(u){return u.getStyle()}).toList();return Np(a,Fp,Dp,function(u,f){i.push(new dc({start:u+r,end:f+r}))}),Pa(i)}function Fp(t,r){return t===r}var uw=aw;function sw(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var cw=mt,fw=cw.Record,dw=fw({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),pw=function(t){sw(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},r}(dw),Pp=pw;function hw(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var r=Math.random()*16|0,i=t=="x"?r:r&3|8;return i.toString(16)})}var mw=hw;function gw(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){vw(t,u,i[u])})}return t}function vw(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var yw=Pp,bw=mt,_w=_t,hc=mw,ww=bw.Map,Yi=ww(),wl=hc();function Ba(t,r){console.warn("WARNING: "+t+` will be deprecated soon!
32
+ Please use "`+r+'" instead.')}var Li={getLastCreatedEntityKey:function(){return Ba("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),Li.__getLastCreatedEntityKey()},create:function(t,r,i){return Ba("DraftEntity.create","contentState.createEntity"),Li.__create(t,r,i)},add:function(t){return Ba("DraftEntity.add","contentState.addEntity"),Li.__add(t)},get:function(t){return Ba("DraftEntity.get","contentState.getEntity"),Li.__get(t)},__getAll:function(){return Yi},__loadWithEntities:function(t){Yi=t,wl=hc()},mergeData:function(t,r){return Ba("DraftEntity.mergeData","contentState.mergeEntityData"),Li.__mergeData(t,r)},replaceData:function(t,r){return Ba("DraftEntity.replaceData","contentState.replaceEntityData"),Li.__replaceData(t,r)},__getLastCreatedEntityKey:function(){return wl},__create:function(t,r,i){return Li.__add(new yw({type:t,mutability:r,data:i||{}}))},__add:function(t){return wl=hc(),Yi=Yi.set(wl,t),wl},__get:function(t){var r=Yi.get(t);return r||_w(!1),r},__mergeData:function(t,r){var i=Li.__get(t),a=gw({},i.getData(),r),u=i.set("data",a);return Yi=Yi.set(t,u),u},__replaceData:function(t,r){var i=Li.__get(t),a=i.set("data",r);return Yi=Yi.set(t,a),a}},mu=Li;function Sw(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var kw=mt,Ew=kw.Record,Cw={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},xw=Ew(Cw),Ow=function(t){Sw(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(a,u,f){var g=this.getAnchorKey(),y=this.getFocusKey();if(g===y&&g===a){var b=this.getStartOffset(),k=this.getEndOffset();return u<=b&&b<=f||u<=k&&k<=f}if(a!==g&&a!==y)return!1;var L=a===g?this.getAnchorOffset():this.getFocusOffset();return u<=L&&f>=L},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(a){return new r({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:0,isBackward:!1,hasFocus:!1})},r}(xw),gu=Ow,_o=function(t){return typeof window<"u"&&window.__DRAFT_GKX?!!window.__DRAFT_GKX[t]:!1},Lw=new RegExp("\r","g");function Nw(t){return t.replace(Lw,"")}var Bp=Nw;function Ap(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){Mw(t,u,i[u])})}return t}function Mw(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function Dw(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var Fw=hl,Kp=Qr,Pw=Wo,Bw=$r,Ni=mu,vu=gu,Aw=Oi,Kw=Lp,Iw=_o,Sl=mt,Tw=Bp,Ip=Sl.List,jw=Sl.Record,zw=Sl.Repeat,Rw=Sl.Map,Hw=Sl.OrderedMap,qw={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},Uw=jw(qw),Tp=Iw("draft_tree_data_support")?Bw:Pw,Vw=function(t){Dw(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.getEntityMap=function(){return Ni},i.getBlockMap=function(){return this.get("blockMap")},i.getSelectionBefore=function(){return this.get("selectionBefore")},i.getSelectionAfter=function(){return this.get("selectionAfter")},i.getBlockForKey=function(a){var u=this.getBlockMap().get(a);return u},i.getKeyBefore=function(a){return this.getBlockMap().reverse().keySeq().skipUntil(function(u){return u===a}).skip(1).first()},i.getKeyAfter=function(a){return this.getBlockMap().keySeq().skipUntil(function(u){return u===a}).skip(1).first()},i.getBlockAfter=function(a){return this.getBlockMap().skipUntil(function(u,f){return f===a}).skip(1).first()},i.getBlockBefore=function(a){return this.getBlockMap().reverse().skipUntil(function(u,f){return f===a}).skip(1).first()},i.getBlocksAsArray=function(){return this.getBlockMap().toArray()},i.getFirstBlock=function(){return this.getBlockMap().first()},i.getLastBlock=function(){return this.getBlockMap().last()},i.getPlainText=function(a){return this.getBlockMap().map(function(u){return u?u.getText():""}).join(a||`
33
+ `)},i.getLastCreatedEntityKey=function(){return Ni.__getLastCreatedEntityKey()},i.hasText=function(){var a=this.getBlockMap();return a.size>1||escape(a.first().getText()).replace(/%u200B/g,"").length>0},i.createEntity=function(a,u,f){return Ni.__create(a,u,f),this},i.mergeEntityData=function(a,u){return Ni.__mergeData(a,u),this},i.replaceEntityData=function(a,u){return Ni.__replaceData(a,u),this},i.addEntity=function(a){return Ni.__add(a),this},i.getEntity=function(a){return Ni.__get(a)},i.getAllEntities=function(){return Ni.__getAll()},i.loadWithEntities=function(a){return Ni.__loadWithEntities(a)},r.createFromBlockArray=function(a,u){var f=Array.isArray(a)?a:a.contentBlocks,g=Fw.createFromArray(f),y=g.isEmpty()?new vu:vu.createEmpty(g.first().getKey());return new r({blockMap:g,entityMap:u||Ni,selectionBefore:y,selectionAfter:y})},r.createFromText=function(a){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:/\r\n?|\n/g,f=a.split(u),g=f.map(function(y){return y=Tw(y),new Tp({key:Aw(),text:y,type:"unstyled",characterList:Ip(zw(Kp.EMPTY,y.length))})});return r.createFromBlockArray(g)},r.fromJS=function(a){return new r(Ap({},a,{blockMap:Hw(a.blockMap).map(r.createContentBlockFromJS),selectionBefore:new vu(a.selectionBefore),selectionAfter:new vu(a.selectionAfter)}))},r.createContentBlockFromJS=function(a){var u=a.characterList;return new Tp(Ap({},a,{data:Rw(a.data),characterList:u!=null?Ip((Array.isArray(u)?u:Kw(u)).map(function(f){return Kp.fromJS(f)})):void 0}))},r}(Uw),mc=Vw,yu=_t,Qw="NEUTRAL",bu="LTR",jp="RTL",_u=null;function wu(t){return t===bu||t===jp}function zp(t){return wu(t)||yu(!1),t===bu?"ltr":"rtl"}function $w(t,r){return wu(t)||yu(!1),wu(r)||yu(!1),t===r?null:zp(t)}function Rp(t){_u=t}function Yw(){Rp(bu)}function Xw(){return _u||this.initGlobalDir(),_u||yu(!1),_u}var Zw={NEUTRAL:Qw,LTR:bu,RTL:jp,isStrong:wu,getHTMLDir:zp,getHTMLDirIfDifferent:$w,setGlobalDir:Rp,initGlobalDir:Yw,getGlobalDir:Xw},Su=Zw,Xi=Su,Jw=_t,kl={L:"A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u01BA\u01BB\u01BC-\u01BF\u01C0-\u01C3\u01C4-\u0293\u0294\u0295-\u02AF\u02B0-\u02B8\u02BB-\u02C1\u02D0-\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376-\u0377\u037A\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0482\u048A-\u052F\u0531-\u0556\u0559\u055A-\u055F\u0561-\u0587\u0589\u0903\u0904-\u0939\u093B\u093D\u093E-\u0940\u0949-\u094C\u094E-\u094F\u0950\u0958-\u0961\u0964-\u0965\u0966-\u096F\u0970\u0971\u0972-\u0980\u0982-\u0983\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09BE-\u09C0\u09C7-\u09C8\u09CB-\u09CC\u09CE\u09D7\u09DC-\u09DD\u09DF-\u09E1\u09E6-\u09EF\u09F0-\u09F1\u09F4-\u09F9\u09FA\u0A03\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0ABE-\u0AC0\u0AC9\u0ACB-\u0ACC\u0AD0\u0AE0-\u0AE1\u0AE6-\u0AEF\u0AF0\u0B02-\u0B03\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47-\u0B48\u0B4B-\u0B4C\u0B57\u0B5C-\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B70\u0B71\u0B72-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BBF\u0BC1-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BEF\u0BF0-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C59\u0C60-\u0C61\u0C66-\u0C6F\u0C7F\u0C82-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CBE\u0CBF\u0CC0-\u0CC4\u0CC6\u0CC7-\u0CC8\u0CCA-\u0CCB\u0CD5-\u0CD6\u0CDE\u0CE0-\u0CE1\u0CE6-\u0CEF\u0CF1-\u0CF2\u0D02-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D57\u0D60-\u0D61\u0D66-\u0D6F\u0D70-\u0D75\u0D79\u0D7A-\u0D7F\u0D82-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF3\u0DF4\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E46\u0E4F\u0E50-\u0E59\u0E5A-\u0E5B\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F01-\u0F03\u0F04-\u0F12\u0F13\u0F14\u0F15-\u0F17\u0F1A-\u0F1F\u0F20-\u0F29\u0F2A-\u0F33\u0F34\u0F36\u0F38\u0F3E-\u0F3F\u0F40-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FCF\u0FD0-\u0FD4\u0FD5-\u0FD8\u0FD9-\u0FDA\u1000-\u102A\u102B-\u102C\u1031\u1038\u103B-\u103C\u103F\u1040-\u1049\u104A-\u104F\u1050-\u1055\u1056-\u1057\u105A-\u105D\u1061\u1062-\u1064\u1065-\u1066\u1067-\u106D\u106E-\u1070\u1075-\u1081\u1083-\u1084\u1087-\u108C\u108E\u108F\u1090-\u1099\u109A-\u109C\u109E-\u109F\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FB\u10FC\u10FD-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u1368\u1369-\u137C\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166D-\u166E\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EB-\u16ED\u16EE-\u16F0\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1735-\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7-\u17C8\u17D4-\u17D6\u17D7\u17D8-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1842\u1843\u1844-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930-\u1931\u1933-\u1938\u1946-\u194F\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C0\u19C1-\u19C7\u19C8-\u19C9\u19D0-\u19D9\u19DA\u1A00-\u1A16\u1A19-\u1A1A\u1A1E-\u1A1F\u1A20-\u1A54\u1A55\u1A57\u1A61\u1A63-\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AA6\u1AA7\u1AA8-\u1AAD\u1B04\u1B05-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B44\u1B45-\u1B4B\u1B50-\u1B59\u1B5A-\u1B60\u1B61-\u1B6A\u1B74-\u1B7C\u1B82\u1B83-\u1BA0\u1BA1\u1BA6-\u1BA7\u1BAA\u1BAE-\u1BAF\u1BB0-\u1BB9\u1BBA-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2-\u1BF3\u1BFC-\u1BFF\u1C00-\u1C23\u1C24-\u1C2B\u1C34-\u1C35\u1C3B-\u1C3F\u1C40-\u1C49\u1C4D-\u1C4F\u1C50-\u1C59\u1C5A-\u1C77\u1C78-\u1C7D\u1C7E-\u1C7F\u1CC0-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF2-\u1CF3\u1CF5-\u1CF6\u1D00-\u1D2B\u1D2C-\u1D6A\u1D6B-\u1D77\u1D78\u1D79-\u1D9A\u1D9B-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2134\u2135-\u2138\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2182\u2183-\u2184\u2185-\u2188\u2336-\u237A\u2395\u249C-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2C7B\u2C7C-\u2C7D\u2C7E-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005\u3006\u3007\u3021-\u3029\u302E-\u302F\u3031-\u3035\u3038-\u303A\u303B\u303C\u3041-\u3096\u309D-\u309E\u309F\u30A1-\u30FA\u30FC-\u30FE\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u3191\u3192-\u3195\u3196-\u319F\u31A0-\u31BA\u31F0-\u31FF\u3200-\u321C\u3220-\u3229\u322A-\u3247\u3248-\u324F\u3260-\u327B\u327F\u3280-\u3289\u328A-\u32B0\u32C0-\u32CB\u32D0-\u32FE\u3300-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA014\uA015\uA016-\uA48C\uA4D0-\uA4F7\uA4F8-\uA4FD\uA4FE-\uA4FF\uA500-\uA60B\uA60C\uA610-\uA61F\uA620-\uA629\uA62A-\uA62B\uA640-\uA66D\uA66E\uA680-\uA69B\uA69C-\uA69D\uA6A0-\uA6E5\uA6E6-\uA6EF\uA6F2-\uA6F7\uA722-\uA76F\uA770\uA771-\uA787\uA789-\uA78A\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B1\uA7F7\uA7F8-\uA7F9\uA7FA\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA823-\uA824\uA827\uA830-\uA835\uA836-\uA837\uA840-\uA873\uA880-\uA881\uA882-\uA8B3\uA8B4-\uA8C3\uA8CE-\uA8CF\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8F8-\uA8FA\uA8FB\uA900-\uA909\uA90A-\uA925\uA92E-\uA92F\uA930-\uA946\uA952-\uA953\uA95F\uA960-\uA97C\uA983\uA984-\uA9B2\uA9B4-\uA9B5\uA9BA-\uA9BB\uA9BD-\uA9C0\uA9C1-\uA9CD\uA9CF\uA9D0-\uA9D9\uA9DE-\uA9DF\uA9E0-\uA9E4\uA9E6\uA9E7-\uA9EF\uA9F0-\uA9F9\uA9FA-\uA9FE\uAA00-\uAA28\uAA2F-\uAA30\uAA33-\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA5F\uAA60-\uAA6F\uAA70\uAA71-\uAA76\uAA77-\uAA79\uAA7A\uAA7B\uAA7D\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADC\uAADD\uAADE-\uAADF\uAAE0-\uAAEA\uAAEB\uAAEE-\uAAEF\uAAF0-\uAAF1\uAAF2\uAAF3-\uAAF4\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5B\uAB5C-\uAB5F\uAB64-\uAB65\uABC0-\uABE2\uABE3-\uABE4\uABE6-\uABE7\uABE9-\uABEA\uABEB\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uE000-\uF8FF\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFF6F\uFF70\uFF71-\uFF9D\uFF9E-\uFF9F\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",R:"\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05D0-\u05EA\u05EB-\u05EF\u05F0-\u05F2\u05F3-\u05F4\u05F5-\u05FF\u07C0-\u07C9\u07CA-\u07EA\u07F4-\u07F5\u07FA\u07FB-\u07FF\u0800-\u0815\u081A\u0824\u0828\u082E-\u082F\u0830-\u083E\u083F\u0840-\u0858\u085C-\u085D\u085E\u085F-\u089F\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB37\uFB38-\uFB3C\uFB3D\uFB3E\uFB3F\uFB40-\uFB41\uFB42\uFB43-\uFB44\uFB45\uFB46-\uFB4F",AL:"\u0608\u060B\u060D\u061B\u061C\u061D\u061E-\u061F\u0620-\u063F\u0640\u0641-\u064A\u066D\u066E-\u066F\u0671-\u06D3\u06D4\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FD-\u06FE\u06FF\u0700-\u070D\u070E\u070F\u0710\u0712-\u072F\u074B-\u074C\u074D-\u07A5\u07B1\u07B2-\u07BF\u08A0-\u08B2\u08B3-\u08E3\uFB50-\uFBB1\uFBB2-\uFBC1\uFBC2-\uFBD2\uFBD3-\uFD3D\uFD40-\uFD4F\uFD50-\uFD8F\uFD90-\uFD91\uFD92-\uFDC7\uFDC8-\uFDCF\uFDF0-\uFDFB\uFDFC\uFDFE-\uFDFF\uFE70-\uFE74\uFE75\uFE76-\uFEFC\uFEFD-\uFEFE"},Ww=new RegExp("["+kl.L+kl.R+kl.AL+"]"),Gw=new RegExp("["+kl.R+kl.AL+"]");function Hp(t){var r=Ww.exec(t);return r==null?null:r[0]}function qp(t){var r=Hp(t);return r==null?Xi.NEUTRAL:Gw.exec(r)?Xi.RTL:Xi.LTR}function Up(t,r){if(r=r||Xi.NEUTRAL,!t.length)return r;var i=qp(t);return i===Xi.NEUTRAL?r:i}function gc(t,r){return r||(r=Xi.getGlobalDir()),Xi.isStrong(r)||Jw(!1),Up(t,r)}function eS(t,r){return gc(t,r)===Xi.LTR}function tS(t,r){return gc(t,r)===Xi.RTL}var nS={firstStrongChar:Hp,firstStrongCharDir:qp,resolveBlockDir:Up,getDirection:gc,isDirectionLTR:eS,isDirectionRTL:tS},vc=nS;function Vp(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var rS=vc,Qp=Su,iS=_t,oS=function(){function t(i){Vp(this,"_defaultDir",void 0),Vp(this,"_lastDir",void 0),i?Qp.isStrong(i)||iS(!1):i=Qp.getGlobalDir(),this._defaultDir=i,this.reset()}var r=t.prototype;return r.reset=function(){this._lastDir=this._defaultDir},r.getDirection=function(i){return this._lastDir=rS.getDirection(i,this._lastDir),this._lastDir},t}(),aS=oS,lS=function(t){if(t!=null)return t;throw new Error("Got unexpected null or undefined")},lr=lS,uS=aS,$p=mt,sS=lr,cS=$p.OrderedMap,ku,fS={getDirectionMap:function(t,r){ku?ku.reset():ku=new uS;var i=t.getBlockMap(),a=i.valueSeq().map(function(f){return sS(ku).getDirection(f.getText())}),u=cS(i.keySeq().zip(a));return r!=null&&$p.is(r,u)?r:u}},dS=fS;function Yp(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){Xp(t,u,i[u])})}return t}function Xp(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var Eu=uw,El=mc,Cu=dS,yc=gu,Cl=mt,Zp=Cl.OrderedSet,pS=Cl.Record,Go=Cl.Stack,Jp=Cl.OrderedMap,hS=Cl.List,mS={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:Go(),selection:null,treeMap:null,undoStack:Go()},Wp=pS(mS),Gp=function(){r.createEmpty=function(i){return this.createWithText("",i)},r.createWithText=function(i,a){return r.createWithContent(El.createFromText(i),a)},r.createWithContent=function(i,a){if(i.getBlockMap().count()===0)return r.createEmpty(a);var u=i.getBlockMap().first().getKey();return r.create({currentContent:i,undoStack:Go(),redoStack:Go(),decorator:a||null,selection:yc.createEmpty(u)})},r.create=function(i){var a=i.currentContent,u=i.decorator,f=Yp({},i,{treeMap:th(a,u),directionMap:Cu.getDirectionMap(a)});return new r(new Wp(f))},r.fromJS=function(i){return new r(new Wp(Yp({},i,{directionMap:i.directionMap!=null?Jp(i.directionMap):i.directionMap,inlineStyleOverride:i.inlineStyleOverride!=null?Zp(i.inlineStyleOverride):i.inlineStyleOverride,nativelyRenderedContent:i.nativelyRenderedContent!=null?El.fromJS(i.nativelyRenderedContent):i.nativelyRenderedContent,redoStack:i.redoStack!=null?Go(i.redoStack.map(function(a){return El.fromJS(a)})):i.redoStack,selection:i.selection!=null?new yc(i.selection):i.selection,treeMap:i.treeMap!=null?Jp(i.treeMap).map(function(a){return hS(a).map(function(u){return Eu.fromJS(u)})}):i.treeMap,undoStack:i.undoStack!=null?Go(i.undoStack.map(function(a){return El.fromJS(a)})):i.undoStack,currentContent:El.fromJS(i.currentContent)})))},r.set=function(i,a){var u=i.getImmutable().withMutations(function(f){var g=f.get("decorator"),y=g;a.decorator===null?y=null:a.decorator&&(y=a.decorator);var b=a.currentContent||i.getCurrentContent();if(y!==g){var k=f.get("treeMap"),L;y&&g?L=vS(b,b.getBlockMap(),k,y,g):L=th(b,y),f.merge({decorator:y,treeMap:L,nativelyRenderedContent:null});return}var B=i.getCurrentContent();b!==B&&f.set("treeMap",gS(i,b.getBlockMap(),b.getEntityMap(),y)),f.merge(a)});return new r(u)};var t=r.prototype;t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},r.setInlineStyleOverride=function(i,a){return r.set(i,{inlineStyleOverride:a})},t.getCurrentInlineStyle=function(){var i=this.getInlineStyleOverride();if(i!=null)return i;var a=this.getCurrentContent(),u=this.getSelection();return u.isCollapsed()?bS(a,u):_S(a,u)},t.getBlockTree=function(i){return this.getImmutable().getIn(["treeMap",i])},t.isSelectionAtStartOfContent=function(){var i=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(i,0,0)},t.isSelectionAtEndOfContent=function(){var i=this.getCurrentContent(),a=i.getBlockMap(),u=a.last(),f=u.getLength();return this.getSelection().hasEdgeWithin(u.getKey(),f,f)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},r.acceptSelection=function(i,a){return eh(i,a,!1)},r.forceSelection=function(i,a){return a.getHasFocus()||(a=a.set("hasFocus",!0)),eh(i,a,!0)},r.moveSelectionToEnd=function(i){var a=i.getCurrentContent(),u=a.getLastBlock(),f=u.getKey(),g=u.getLength();return r.acceptSelection(i,new yc({anchorKey:f,anchorOffset:g,focusKey:f,focusOffset:g,isBackward:!1}))},r.moveFocusToEnd=function(i){var a=r.moveSelectionToEnd(i);return r.forceSelection(a,a.getSelection())},r.push=function(i,a,u){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(i.getCurrentContent()===a)return i;var g=Cu.getDirectionMap(a,i.getDirectionMap());if(!i.getAllowUndo())return r.set(i,{currentContent:a,directionMap:g,lastChangeType:u,selection:a.getSelectionAfter(),forceSelection:f,inlineStyleOverride:null});var y=i.getSelection(),b=i.getCurrentContent(),k=i.getUndoStack(),L=a;y!==b.getSelectionAfter()||yS(i,u)?(k=k.push(b),L=L.set("selectionBefore",y)):(u==="insert-characters"||u==="backspace-character"||u==="delete-character")&&(L=L.set("selectionBefore",b.getSelectionBefore()));var B=i.getInlineStyleOverride(),M=["adjust-depth","change-block-type","split-block"];M.indexOf(u)===-1&&(B=null);var j={currentContent:L,directionMap:g,undoStack:k,redoStack:Go(),lastChangeType:u,selection:a.getSelectionAfter(),forceSelection:f,inlineStyleOverride:B};return r.set(i,j)},r.undo=function(i){if(!i.getAllowUndo())return i;var a=i.getUndoStack(),u=a.peek();if(!u)return i;var f=i.getCurrentContent(),g=Cu.getDirectionMap(u,i.getDirectionMap());return r.set(i,{currentContent:u,directionMap:g,undoStack:a.shift(),redoStack:i.getRedoStack().push(f),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:f.getSelectionBefore()})},r.redo=function(i){if(!i.getAllowUndo())return i;var a=i.getRedoStack(),u=a.peek();if(!u)return i;var f=i.getCurrentContent(),g=Cu.getDirectionMap(u,i.getDirectionMap());return r.set(i,{currentContent:u,directionMap:g,undoStack:i.getUndoStack().push(f),redoStack:a.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:u.getSelectionAfter()})};function r(i){Xp(this,"_immutable",void 0),this._immutable=i}return t.getImmutable=function(){return this._immutable},r}();function eh(t,r,i){return Gp.set(t,{selection:r,forceSelection:i,nativelyRenderedContent:null,inlineStyleOverride:null})}function th(t,r){return t.getBlockMap().map(function(i){return Eu.generate(t,i,r)}).toOrderedMap()}function gS(t,r,i,a){var u=t.getCurrentContent().set("entityMap",i),f=u.getBlockMap(),g=t.getImmutable().get("treeMap");return g.merge(r.toSeq().filter(function(y,b){return y!==f.get(b)}).map(function(y){return Eu.generate(u,y,a)}))}function vS(t,r,i,a,u){return i.merge(r.toSeq().filter(function(f){return a.getDecorations(f,t)!==u.getDecorations(f,t)}).map(function(f){return Eu.generate(t,f,a)}))}function yS(t,r){var i=t.getLastChangeType();return r!==i||r!=="insert-characters"&&r!=="backspace-character"&&r!=="delete-character"}function bS(t,r){var i=r.getStartKey(),a=r.getStartOffset(),u=t.getBlockForKey(i);return a>0?u.getInlineStyleAt(a-1):u.getLength()?u.getInlineStyleAt(0):nh(t,i)}function _S(t,r){var i=r.getStartKey(),a=r.getStartOffset(),u=t.getBlockForKey(i);return a<u.getLength()?u.getInlineStyleAt(a):a>0?u.getInlineStyleAt(a-1):nh(t,i)}function nh(t,r){var i=t.getBlockMap().reverse().skipUntil(function(a,u){return u===r}).skip(1).skipUntil(function(a,u){return a.getLength()}).first();return i?i.getInlineStyleAt(i.getLength()-1):Zp()}var zt=Gp,wS=$r,SS=Sp,rh=mt,xu=_t,kS=rh.OrderedMap,ES=rh.List,ea=function(t,r,i){if(t){var a=r.get(t);a&&r.set(t,i(a))}},CS=function(t,r,i,a,u){if(!u)return t;var f=a==="after",g=r.getKey(),y=i.getKey(),b=r.getParentKey(),k=r.getNextSiblingKey(),L=r.getPrevSiblingKey(),B=i.getParentKey(),M=f?i.getNextSiblingKey():y,j=f?y:i.getPrevSiblingKey();return t.withMutations(function(P){ea(b,P,function(K){var T=K.getChildKeys();return K.merge({children:T.delete(T.indexOf(g))})}),ea(L,P,function(K){return K.merge({nextSibling:k})}),ea(k,P,function(K){return K.merge({prevSibling:L})}),ea(M,P,function(K){return K.merge({prevSibling:g})}),ea(j,P,function(K){return K.merge({nextSibling:g})}),ea(B,P,function(K){var T=K.getChildKeys(),ne=T.indexOf(y),J=f?ne+1:ne!==0?ne-1:0,W=T.toArray();return W.splice(J,0,g),K.merge({children:ES(W)})}),ea(g,P,function(K){return K.merge({nextSibling:M,prevSibling:j,parent:B})})})},xS=function(t,r,i,a){a==="replace"&&xu(!1);var u=i.getKey(),f=r.getKey();f===u&&xu(!1);var g=t.getBlockMap(),y=r instanceof wS,b=[r],k=g.delete(f);y&&(b=[],k=g.withMutations(function(T){var ne=r.getNextSiblingKey(),J=SS(r,T);T.toSeq().skipUntil(function(W){return W.getKey()===f}).takeWhile(function(W){var Z=W.getKey(),le=Z===f,Se=ne&&Z!==ne,_e=!ne&&W.getParentKey()&&(!J||Z!==J);return!!(le||Se||_e)}).forEach(function(W){b.push(W),T.delete(W.getKey())})}));var L=k.toSeq().takeUntil(function(T){return T===i}),B=k.toSeq().skipUntil(function(T){return T===i}).skip(1),M=b.map(function(T){return[T.getKey(),T]}),j=kS();if(a==="before"){var P=t.getBlockBefore(u);!P||P.getKey()!==r.getKey()||xu(!1),j=L.concat([].concat(M,[[u,i]]),B).toOrderedMap()}else if(a==="after"){var K=t.getBlockAfter(u);!K||K.getKey()!==f||xu(!1),j=L.concat([[u,i]].concat(M),B).toOrderedMap()}return t.merge({blockMap:CS(j,r,i,a,y),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:f,focusKey:f})})},OS=xS;function ih(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){LS(t,u,i[u])})}return t}function LS(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var NS=hl,MS=Qr,DS=Wo,FS=$r,Aa=ar,oh=zt,ah=Oi,PS=_o,lh=mt,Ou=OS,uh=PS("draft_tree_data_support"),sh=uh?FS:DS,BS=lh.List,AS=lh.Repeat,KS={insertAtomicBlock:function(t,r,i){var a=t.getCurrentContent(),u=t.getSelection(),f=Aa.removeRange(a,u,"backward"),g=f.getSelectionAfter(),y=Aa.splitBlock(f,g),b=y.getSelectionAfter(),k=Aa.setBlockType(y,b,"atomic"),L=MS.create({entity:r}),B={key:ah(),type:"atomic",text:i,characterList:BS(AS(L,i.length))},M={key:ah(),type:"unstyled"};uh&&(B=ih({},B,{nextSibling:M.key}),M=ih({},M,{prevSibling:B.key}));var j=[new sh(B),new sh(M)],P=NS.createFromArray(j),K=Aa.replaceWithFragment(k,b,P),T=K.merge({selectionBefore:u,selectionAfter:K.getSelectionAfter().set("hasFocus",!0)});return oh.push(t,T,"insert-fragment")},moveAtomicBlock:function(t,r,i,a){var u=t.getCurrentContent(),f=t.getSelection(),g;if(a==="before"||a==="after"){var y=u.getBlockForKey(a==="before"?i.getStartKey():i.getEndKey());g=Ou(u,r,y,a)}else{var b=Aa.removeRange(u,i,"backward"),k=b.getSelectionAfter(),L=b.getBlockForKey(k.getFocusKey());if(k.getStartOffset()===0)g=Ou(b,r,L,"before");else if(k.getEndOffset()===L.getLength())g=Ou(b,r,L,"after");else{var B=Aa.splitBlock(b,k),M=B.getSelectionAfter(),j=B.getBlockForKey(M.getFocusKey());g=Ou(B,r,j,"before")}}var P=g.merge({selectionBefore:f,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return oh.push(t,P,"move-block")}},IS=KS;function TS(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var jS=mt,zS=jS.List,bc=".",RS=function(){function t(i){TS(this,"_decorators",void 0),this._decorators=i.slice()}var r=t.prototype;return r.getDecorations=function(i,a){var u=Array(i.getText().length).fill(null);return this._decorators.forEach(function(f,g){var y=0,b=f.strategy,k=function(L,B){HS(u,L,B)&&(qS(u,L,B,g+bc+y),y++)};b(i,k,a)}),zS(u)},r.getComponentForKey=function(i){var a=parseInt(i.split(bc)[0],10);return this._decorators[a].component},r.getPropsForKey=function(i){var a=parseInt(i.split(bc)[0],10);return this._decorators[a].props},t}();function HS(t,r,i){for(var a=r;a<i;a++)if(t[a]!=null)return!1;return!0}function qS(t,r,i,a){for(var u=r;u<i;u++)t[u]=a}var US=RS;function VS(t){return typeof t=="object"?Object.keys(t).filter(function(r){return t[r]}).map(ch).join(" "):Array.prototype.map.call(arguments,ch).join(" ")}function ch(t){return t.replace(/\//g,"-")}var ta=VS,_c=q,wc=ta,QS=mt,$S=QS.Map,YS=_c.createElement("ul",{className:wc("public/DraftStyleDefault/ul")}),XS=_c.createElement("ol",{className:wc("public/DraftStyleDefault/ol")}),ZS=_c.createElement("pre",{className:wc("public/DraftStyleDefault/pre")}),JS=$S({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:YS},"ordered-list-item":{element:"li",wrapper:XS},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:ZS},unstyled:{element:"div",aliasedElements:["p"]}}),Sc=JS,fh={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}};/*
34
+ object-assign
35
+ (c) Sindre Sorhus
36
+ @license MIT
37
+ */var dh=Object.getOwnPropertySymbols,WS=Object.prototype.hasOwnProperty,GS=Object.prototype.propertyIsEnumerable;function ek(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function tk(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var r={},i=0;i<10;i++)r["_"+String.fromCharCode(i)]=i;var a=Object.getOwnPropertyNames(r).map(function(f){return r[f]});if(a.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(f){u[f]=f}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var na=tk()?Object.assign:function(t,r){for(var i,a=ek(t),u,f=1;f<arguments.length;f++){i=Object(arguments[f]);for(var g in i)WS.call(i,g)&&(a[g]=i[g]);if(dh){u=dh(i);for(var y=0;y<u.length;y++)GS.call(i,u[y])&&(a[u[y]]=i[u[y]])}}return a},Lu={},nk={get exports(){return Lu},set exports(t){Lu=t}};(function(t,r){(function(i,a){var u="0.7.33",f="",g="?",y="function",b="undefined",k="object",L="string",B="major",M="model",j="name",P="type",K="vendor",T="version",ne="architecture",J="console",W="mobile",Z="tablet",le="smarttv",Se="wearable",_e="embedded",Ie=350,ve="Amazon",ke="Apple",we="ASUS",he="BlackBerry",ge="Browser",Le="Chrome",Te="Edge",De="Firefox",Re="Google",ue="Huawei",fe="LG",ae="Microsoft",Ne="Motorola",Je="Opera",kt="Samsung",Nt="Sharp",qe="Sony",je="Xiaomi",dt="Zebra",Bt="Facebook",At=function(Pe,nt){var Ze={};for(var ht in Pe)nt[ht]&&nt[ht].length%2===0?Ze[ht]=nt[ht].concat(Pe[ht]):Ze[ht]=Pe[ht];return Ze},Dt=function(Pe){for(var nt={},Ze=0;Ze<Pe.length;Ze++)nt[Pe[Ze].toUpperCase()]=Pe[Ze];return nt},Et=function(Pe,nt){return typeof Pe===L?Zt(nt).indexOf(Zt(Pe))!==-1:!1},Zt=function(Pe){return Pe.toLowerCase()},$e=function(Pe){return typeof Pe===L?Pe.replace(/[^\d\.]/g,f).split(".")[0]:a},ut=function(Pe,nt){if(typeof Pe===L)return Pe=Pe.replace(/^\s\s*/,f),typeof nt===b?Pe:Pe.substring(0,Ie)},lt=function(Pe,nt){for(var Ze=0,ht,Ge,wn,ct,Sn,Jt;Ze<nt.length&&!Sn;){var cr=nt[Ze],qn=nt[Ze+1];for(ht=Ge=0;ht<cr.length&&!Sn;)if(Sn=cr[ht++].exec(Pe),Sn)for(wn=0;wn<qn.length;wn++)Jt=Sn[++Ge],ct=qn[wn],typeof ct===k&&ct.length>0?ct.length===2?typeof ct[1]==y?this[ct[0]]=ct[1].call(this,Jt):this[ct[0]]=ct[1]:ct.length===3?typeof ct[1]===y&&!(ct[1].exec&&ct[1].test)?this[ct[0]]=Jt?ct[1].call(this,Jt,ct[2]):a:this[ct[0]]=Jt?Jt.replace(ct[1],ct[2]):a:ct.length===4&&(this[ct[0]]=Jt?ct[3].call(this,Jt.replace(ct[1],ct[2])):a):this[ct]=Jt||a;Ze+=2}},Ft=function(Pe,nt){for(var Ze in nt)if(typeof nt[Ze]===k&&nt[Ze].length>0){for(var ht=0;ht<nt[Ze].length;ht++)if(Et(nt[Ze][ht],Pe))return Ze===g?a:Ze}else if(Et(nt[Ze],Pe))return Ze===g?a:Ze;return Pe},dn={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Mt={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Ct={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[T,[j,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[T,[j,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[j,T],[/opios[\/ ]+([\w\.]+)/i],[T,[j,Je+" Mini"]],[/\bopr\/([\w\.]+)/i],[T,[j,Je]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[j,T],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[T,[j,"UC"+ge]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[T,[j,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[T,[j,"WeChat"]],[/konqueror\/([\w\.]+)/i],[T,[j,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[T,[j,"IE"]],[/yabrowser\/([\w\.]+)/i],[T,[j,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[j,/(.+)/,"$1 Secure "+ge],T],[/\bfocus\/([\w\.]+)/i],[T,[j,De+" Focus"]],[/\bopt\/([\w\.]+)/i],[T,[j,Je+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[T,[j,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[T,[j,"Dolphin"]],[/coast\/([\w\.]+)/i],[T,[j,Je+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[T,[j,"MIUI "+ge]],[/fxios\/([-\w\.]+)/i],[T,[j,De]],[/\bqihu|(qi?ho?o?|360)browser/i],[[j,"360 "+ge]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[j,/(.+)/,"$1 "+ge],T],[/(comodo_dragon)\/([\w\.]+)/i],[[j,/_/g," "],T],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[j,T],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[j],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[j,Bt],T],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[j,T],[/\bgsa\/([\w\.]+) .*safari\//i],[T,[j,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[T,[j,Le+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[j,Le+" WebView"],T],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[T,[j,"Android "+ge]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[j,T],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[T,[j,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[T,j],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[j,[T,Ft,dn]],[/(webkit|khtml)\/([\w\.]+)/i],[j,T],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[j,"Netscape"],T],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[T,[j,De+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[j,T],[/(cobalt)\/([\w\.]+)/i],[j,[T,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[ne,"amd64"]],[/(ia32(?=;))/i],[[ne,Zt]],[/((?:i[346]|x)86)[;\)]/i],[[ne,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[ne,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[ne,"armhf"]],[/windows (ce|mobile); ppc;/i],[[ne,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[ne,/ower/,f,Zt]],[/(sun4\w)[;\)]/i],[[ne,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[ne,Zt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[M,[K,kt],[P,Z]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[M,[K,kt],[P,W]],[/\((ip(?:hone|od)[\w ]*);/i],[M,[K,ke],[P,W]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[M,[K,ke],[P,Z]],[/(macintosh);/i],[M,[K,ke]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[M,[K,ue],[P,Z]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[M,[K,ue],[P,W]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[M,/_/g," "],[K,je],[P,W]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[M,/_/g," "],[K,je],[P,Z]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[M,[K,"OPPO"],[P,W]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[M,[K,"Vivo"],[P,W]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[M,[K,"Realme"],[P,W]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[M,[K,Ne],[P,W]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[M,[K,Ne],[P,Z]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[M,[K,fe],[P,Z]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[M,[K,fe],[P,W]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[M,[K,"Lenovo"],[P,Z]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[M,/_/g," "],[K,"Nokia"],[P,W]],[/(pixel c)\b/i],[M,[K,Re],[P,Z]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[M,[K,Re],[P,W]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[M,[K,qe],[P,W]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[M,"Xperia Tablet"],[K,qe],[P,Z]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[M,[K,"OnePlus"],[P,W]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[M,[K,ve],[P,Z]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[M,/(.+)/g,"Fire Phone $1"],[K,ve],[P,W]],[/(playbook);[-\w\),; ]+(rim)/i],[M,K,[P,Z]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[M,[K,he],[P,W]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[M,[K,we],[P,Z]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[M,[K,we],[P,W]],[/(nexus 9)/i],[M,[K,"HTC"],[P,Z]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[K,[M,/_/g," "],[P,W]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[M,[K,"Acer"],[P,Z]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[M,[K,"Meizu"],[P,W]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[M,[K,Nt],[P,W]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[K,M,[P,W]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[K,M,[P,Z]],[/(surface duo)/i],[M,[K,ae],[P,Z]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[M,[K,"Fairphone"],[P,W]],[/(u304aa)/i],[M,[K,"AT&T"],[P,W]],[/\bsie-(\w*)/i],[M,[K,"Siemens"],[P,W]],[/\b(rct\w+) b/i],[M,[K,"RCA"],[P,Z]],[/\b(venue[\d ]{2,7}) b/i],[M,[K,"Dell"],[P,Z]],[/\b(q(?:mv|ta)\w+) b/i],[M,[K,"Verizon"],[P,Z]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[M,[K,"Barnes & Noble"],[P,Z]],[/\b(tm\d{3}\w+) b/i],[M,[K,"NuVision"],[P,Z]],[/\b(k88) b/i],[M,[K,"ZTE"],[P,Z]],[/\b(nx\d{3}j) b/i],[M,[K,"ZTE"],[P,W]],[/\b(gen\d{3}) b.+49h/i],[M,[K,"Swiss"],[P,W]],[/\b(zur\d{3}) b/i],[M,[K,"Swiss"],[P,Z]],[/\b((zeki)?tb.*\b) b/i],[M,[K,"Zeki"],[P,Z]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[K,"Dragon Touch"],M,[P,Z]],[/\b(ns-?\w{0,9}) b/i],[M,[K,"Insignia"],[P,Z]],[/\b((nxa|next)-?\w{0,9}) b/i],[M,[K,"NextBook"],[P,Z]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[K,"Voice"],M,[P,W]],[/\b(lvtel\-)?(v1[12]) b/i],[[K,"LvTel"],M,[P,W]],[/\b(ph-1) /i],[M,[K,"Essential"],[P,W]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[M,[K,"Envizen"],[P,Z]],[/\b(trio[-\w\. ]+) b/i],[M,[K,"MachSpeed"],[P,Z]],[/\btu_(1491) b/i],[M,[K,"Rotor"],[P,Z]],[/(shield[\w ]+) b/i],[M,[K,"Nvidia"],[P,Z]],[/(sprint) (\w+)/i],[K,M,[P,W]],[/(kin\.[onetw]{3})/i],[[M,/\./g," "],[K,ae],[P,W]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[M,[K,dt],[P,Z]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[M,[K,dt],[P,W]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[K,M,[P,J]],[/droid.+; (shield) bui/i],[M,[K,"Nvidia"],[P,J]],[/(playstation [345portablevi]+)/i],[M,[K,qe],[P,J]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[M,[K,ae],[P,J]],[/smart-tv.+(samsung)/i],[K,[P,le]],[/hbbtv.+maple;(\d+)/i],[[M,/^/,"SmartTV"],[K,kt],[P,le]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[K,fe],[P,le]],[/(apple) ?tv/i],[K,[M,ke+" TV"],[P,le]],[/crkey/i],[[M,Le+"cast"],[K,Re],[P,le]],[/droid.+aft(\w)( bui|\))/i],[M,[K,ve],[P,le]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[M,[K,Nt],[P,le]],[/(bravia[\w ]+)( bui|\))/i],[M,[K,qe],[P,le]],[/(mitv-\w{5}) bui/i],[M,[K,je],[P,le]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[K,ut],[M,ut],[P,le]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[P,le]],[/((pebble))app/i],[K,M,[P,Se]],[/droid.+; (glass) \d/i],[M,[K,Re],[P,Se]],[/droid.+; (wt63?0{2,3})\)/i],[M,[K,dt],[P,Se]],[/(quest( 2)?)/i],[M,[K,Bt],[P,Se]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[K,[P,_e]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[M,[P,W]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[M,[P,Z]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[P,Z]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[P,W]],[/(android[-\w\. ]{0,9});.+buil/i],[M,[K,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[T,[j,Te+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[T,[j,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[j,T],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[T,j]],os:[[/microsoft (windows) (vista|xp)/i],[j,T],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[j,[T,Ft,Mt]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[j,"Windows"],[T,Ft,Mt]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[T,/_/g,"."],[j,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[j,"Mac OS"],[T,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[T,j],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[j,T],[/\(bb(10);/i],[T,[j,he]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[T,[j,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[T,[j,De+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[T,[j,"webOS"]],[/crkey\/([\d\.]+)/i],[T,[j,Le+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[j,"Chromium OS"],T],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[j,T],[/(sunos) ?([\w\.\d]*)/i],[[j,"Solaris"],T],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[j,T]]},rt=function(Pe,nt){if(typeof Pe===k&&(nt=Pe,Pe=a),!(this instanceof rt))return new rt(Pe,nt).getResult();var Ze=Pe||(typeof i!==b&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:f),ht=nt?At(Ct,nt):Ct;return this.getBrowser=function(){var Ge={};return Ge[j]=a,Ge[T]=a,lt.call(Ge,Ze,ht.browser),Ge.major=$e(Ge.version),Ge},this.getCPU=function(){var Ge={};return Ge[ne]=a,lt.call(Ge,Ze,ht.cpu),Ge},this.getDevice=function(){var Ge={};return Ge[K]=a,Ge[M]=a,Ge[P]=a,lt.call(Ge,Ze,ht.device),Ge},this.getEngine=function(){var Ge={};return Ge[j]=a,Ge[T]=a,lt.call(Ge,Ze,ht.engine),Ge},this.getOS=function(){var Ge={};return Ge[j]=a,Ge[T]=a,lt.call(Ge,Ze,ht.os),Ge},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Ze},this.setUA=function(Ge){return Ze=typeof Ge===L&&Ge.length>Ie?ut(Ge,Ie):Ge,this},this.setUA(Ze),this};rt.VERSION=u,rt.BROWSER=Dt([j,T,B]),rt.CPU=Dt([ne]),rt.DEVICE=Dt([M,K,P,J,W,le,Z,Se,_e]),rt.ENGINE=rt.OS=Dt([j,T]),t.exports&&(r=t.exports=rt),r.UAParser=rt;var pt=typeof i!==b&&(i.jQuery||i.Zepto);if(pt&&!pt.ua){var Pt=new rt;pt.ua=Pt.getResult(),pt.ua.get=function(){return Pt.getUA()},pt.ua.set=function(Pe){Pt.setUA(Pe);var nt=Pt.getResult();for(var Ze in nt)pt.ua[Ze]=nt[Ze]}}})(typeof window=="object"?window:Na)})(nk,Lu);var rk=Lu,Yr="Unknown",ik={"Mac OS":"Mac OS X"};function ok(t){return ik[t]||t}function ak(t){if(!t)return{major:"",minor:""};var r=t.split(".");return{major:r[0],minor:r[1]}}var lk=new rk,Xr=lk.getResult(),uk=ak(Xr.browser.version),sk={browserArchitecture:Xr.cpu.architecture||Yr,browserFullVersion:Xr.browser.version||Yr,browserMinorVersion:uk.minor||Yr,browserName:Xr.browser.name||Yr,browserVersion:Xr.browser.major||Yr,deviceName:Xr.device.model||Yr,engineName:Xr.engine.name||Yr,engineVersion:Xr.engine.version||Yr,platformArchitecture:Xr.cpu.architecture||Yr,platformName:ok(Xr.os.name)||Yr,platformVersion:Xr.os.version||Yr,platformFullVersion:Xr.os.version||Yr},ck=sk,Nu=_t,ph=/\./,fk=/\|\|/,dk=/\s+\-\s+/,pk=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,hh=/^(\d*)(.*)/;function hk(t,r){var i=t.split(fk);return i.length>1?i.some(function(a){return wh.contains(a,r)}):(t=i[0].trim(),mk(t,r))}function mk(t,r){var i=t.split(dk);if(i.length>0&&i.length<=2||Nu(!1),i.length===1)return kc(i[0],r);var a=i[0],u=i[1];return yh(a)&&yh(u)||Nu(!1),kc(">="+a,r)&&kc("<="+u,r)}function kc(t,r){if(t=t.trim(),t==="")return!0;var i=r.split(ph),a=vh(t),u=a.modifier,f=a.rangeComponents;switch(u){case"<":return mh(i,f);case"<=":return gk(i,f);case">=":return gh(i,f);case">":return yk(i,f);case"~":case"~>":return bk(i,f);default:return vk(i,f)}}function mh(t,r){return xl(t,r)===-1}function gk(t,r){var i=xl(t,r);return i===-1||i===0}function vk(t,r){return xl(t,r)===0}function gh(t,r){var i=xl(t,r);return i===1||i===0}function yk(t,r){return xl(t,r)===1}function bk(t,r){var i=r.slice(),a=r.slice();a.length>1&&a.pop();var u=a.length-1,f=parseInt(a[u],10);return Ec(f)&&(a[u]=f+1+""),gh(t,i)&&mh(t,a)}function vh(t){var r=t.split(ph),i=r[0].match(pk);return i||Nu(!1),{modifier:i[1],rangeComponents:[i[2]].concat(r.slice(1))}}function Ec(t){return!isNaN(t)&&isFinite(t)}function yh(t){return!vh(t).modifier}function bh(t,r){for(var i=t.length;i<r;i++)t[i]="0"}function _k(t,r){t=t.slice(),r=r.slice(),bh(t,r.length);for(var i=0;i<r.length;i++){var a=r[i].match(/^[x*]$/i);if(a&&(r[i]=t[i]="0",a[0]==="*"&&i===r.length-1))for(var u=i;u<t.length;u++)t[u]="0"}return bh(r,t.length),[t,r]}function wk(t,r){var i=t.match(hh)[1],a=r.match(hh)[1],u=parseInt(i,10),f=parseInt(a,10);return Ec(u)&&Ec(f)&&u!==f?_h(u,f):_h(t,r)}function _h(t,r){return typeof t!=typeof r&&Nu(!1),t>r?1:t<r?-1:0}function xl(t,r){for(var i=_k(t,r),a=i[0],u=i[1],f=0;f<u.length;f++){var g=wk(a[f],u[f]);if(g)return g}return 0}var wh={contains:function(t,r){return hk(t.trim(),r.trim())}},Sk=wh,kk=Object.prototype.hasOwnProperty;function Ek(t,r,i){if(!t)return null;var a={};for(var u in t)kk.call(t,u)&&(a[u]=r.call(i,t[u],u,t));return a}var Ck=Ek;function xk(t){var r={};return function(i){return r.hasOwnProperty(i)||(r[i]=t.call(this,i)),r[i]}}var Ok=xk,Mi=ck,Lk=Sk,Nk=Ck,Mk=Ok;function Ka(t,r,i,a){if(t===i)return!0;if(!i.startsWith(t))return!1;var u=i.slice(t.length);return r?(u=a?a(u):u,Lk.contains(u,r)):!1}function Dk(t){return Mi.platformName==="Windows"?t.replace(/^\s*NT/,""):t}var Fk={isBrowser:function(t){return Ka(Mi.browserName,Mi.browserFullVersion,t)},isBrowserArchitecture:function(t){return Ka(Mi.browserArchitecture,null,t)},isDevice:function(t){return Ka(Mi.deviceName,null,t)},isEngine:function(t){return Ka(Mi.engineName,Mi.engineVersion,t)},isPlatform:function(t){return Ka(Mi.platformName,Mi.platformFullVersion,t,Dk)},isPlatformArchitecture:function(t){return Ka(Mi.platformArchitecture,null,t)}},ur=Nk(Fk,Mk);function Pk(t){return!t||!t.ownerDocument?document:t.ownerDocument}var Mu=Pk;function Bk(t){return!t||!t.ownerDocument?!1:t.nodeType===Node.ELEMENT_NODE}var ra=Bk,Ak=ra;function Sh(t){if(Ak(t)){var r=t,i=r.getAttribute("data-offset-key");if(i)return i;for(var a=0;a<r.childNodes.length;a++){var u=Sh(r.childNodes[a]);if(u)return u}}return null}var kh=Sh,Kk=Mu,Ik=kh;function Tk(t){for(var r=t;r&&r!==Kk(t).documentElement;){var i=Ik(r);if(i!=null)return i;r=r.parentNode}return null}var Du=Tk;function jk(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}var Eh=jk;function Fu(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var zk=ur,Rk=Du,Hk=Eh,qk=mt,Uk=_t,Vk=lr,Ch=qk.Map,Qk={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},xh=zk.isBrowser("IE <= 11"),$k=function(){function t(i){var a=this;Fu(this,"observer",void 0),Fu(this,"container",void 0),Fu(this,"mutations",void 0),Fu(this,"onCharData",void 0),this.container=i,this.mutations=Ch();var u=Hk(i);u.MutationObserver&&!xh?this.observer=new u.MutationObserver(function(f){return a.registerMutations(f)}):this.onCharData=function(f){f.target instanceof Node||Uk(!1),a.registerMutation({type:"characterData",target:f.target})}}var r=t.prototype;return r.start=function(){this.observer?this.observer.observe(this.container,Qk):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},r.stopAndFlushMutations=function(){var i=this.observer;i?(this.registerMutations(i.takeRecords()),i.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var a=this.mutations;return this.mutations=Ch(),a},r.registerMutations=function(i){for(var a=0;a<i.length;a++)this.registerMutation(i[a])},r.getMutationTextContent=function(i){var a=i.type,u=i.target,f=i.removedNodes;if(a==="characterData"){if(u.textContent!=="")return xh?u.textContent.replace(`
38
+ `,""):u.textContent}else if(a==="childList"){if(f&&f.length)return"";if(u.textContent!=="")return u.textContent}return null},r.registerMutation=function(i){var a=this.getMutationTextContent(i);if(a!=null){var u=Vk(Rk(i.target));this.mutations=this.mutations.set(u,a)}},t}(),Yk=$k,Pu="-",Xk={encode:function(t,r,i){return t+Pu+r+Pu+i},decode:function(t){var r=t.split(Pu).reverse(),i=r[0],a=r[1],u=r.slice(2);return{blockKey:u.reverse().join(Pu),decoratorKey:parseInt(a,10),leafKey:parseInt(i,10)}}},Zi=Xk,Bu={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105},Oh={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};function Zk(t){return!t||!t.ownerDocument?!1:t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement}var Ol=Zk,Lh=_t,Jk=Ol;function Wk(t){var r=t.editorContainer;r||Lh(!1),Jk(r.firstChild)||Lh(!1);var i=r.firstChild;return i}var Nh=Wk,Mh=Zi,Gk=lr;function eE(t,r,i,a,u){var f=Gk(t.getSelection());if(!r||!a)return f;var g=Mh.decode(r),y=g.blockKey,b=t.getBlockTree(y),k=b&&b.getIn([g.decoratorKey,"leaves",g.leafKey]),L=Mh.decode(a),B=L.blockKey,M=t.getBlockTree(B),j=M&&M.getIn([L.decoratorKey,"leaves",L.leafKey]);if(!k||!j)return f;var P=k.get("start"),K=j.get("start"),T=k?P+i:null,ne=j?K+u:null,J=f.getAnchorKey()===y&&f.getAnchorOffset()===T&&f.getFocusKey()===B&&f.getFocusOffset()===ne;if(J)return f;var W=!1;if(y===B){var Z=k.get("end"),le=j.get("end");K===P&&le===Z?W=u<i:W=K<P}else{var Se=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(_e){return _e===y||_e===B}).first();W=Se===B}return f.merge({anchorKey:y,anchorOffset:T,focusKey:B,focusOffset:ne,isBackward:W})}var Dh=eE,Ll=Du,Nl=kh,Fh=Dh,Cc=_t,xc=ra,ia=lr;function tE(t,r,i,a,u,f){var g=i.nodeType===Node.TEXT_NODE,y=u.nodeType===Node.TEXT_NODE;if(g&&y)return{selectionState:Fh(t,ia(Ll(i)),a,ia(Ll(u)),f),needsRecovery:!1};var b=null,k=null,L=!0;return g?(b={key:ia(Ll(i)),offset:a},k=Au(r,u,f)):y?(k={key:ia(Ll(u)),offset:f},b=Au(r,i,a)):(b=Au(r,i,a),k=Au(r,u,f),i===u&&a===f&&(L=!!i.firstChild&&i.firstChild.nodeName!=="BR")),{selectionState:Fh(t,b.key,b.offset,k.key,k.offset),needsRecovery:L}}function nE(t){for(;t.firstChild&&(xc(t.firstChild)&&t.firstChild.getAttribute("data-blocks")==="true"||Nl(t.firstChild));)t=t.firstChild;return t}function rE(t){for(;t.lastChild&&(xc(t.lastChild)&&t.lastChild.getAttribute("data-blocks")==="true"||Nl(t.lastChild));)t=t.lastChild;return t}function Au(t,r,i){var a=r,u=Ll(a);if(u!=null||t&&(t===a||t.firstChild===a)||Cc(!1),t===a){a=a.firstChild,xc(a)||Cc(!1);var f=a;a=f,a.getAttribute("data-contents")!=="true"&&Cc(!1),i>0&&(i=a.childNodes.length)}if(i===0){var g=null;if(u!=null)g=u;else{var y=nE(a);g=ia(Nl(y))}return{key:g,offset:0}}var b=a.childNodes[i-1],k=null,L=null;if(!Nl(b))k=ia(u),L=Ph(b);else{var B=rE(b);k=ia(Nl(B)),L=Ph(B)}return{key:k,offset:L}}function Ph(t){var r=t.textContent;return r===`
39
+ `?0:r.length}var Bh=tE,iE=Bh;function oE(t,r){var i=r.ownerDocument.defaultView.getSelection(),a=i.anchorNode,u=i.anchorOffset,f=i.focusNode,g=i.focusOffset,y=i.rangeCount;return y===0||a==null||f==null?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:iE(t,r,a,u,f,g)}var Ah=oE,aE=Oh,Kh=zt,lE=Nh,uE=Ah;function sE(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var r=t.props.editorState,i=r.getSelection();aE.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:new Error().stack}),selectionState:JSON.stringify(i.toJS())})}return}var a=t.props.editorState,u=uE(a,lE(t)),f=u.selectionState;f!==a.getSelection()&&(u.needsRecovery?a=Kh.forceSelection(a,f):a=Kh.acceptSelection(a,f),t.update(a))}var Ih=sE;function cE(t){return t!=null&&t!=""}var Th={notEmptyKey:cE},fE=Th,dE=fE.notEmptyKey;function pE(t,r){var i;if(r.isCollapsed()){var a=r.getAnchorKey(),u=r.getAnchorOffset();return u>0?(i=t.getBlockForKey(a).getEntityAt(u-1),i!==t.getBlockForKey(a).getEntityAt(u)?null:jh(t.getEntityMap(),i)):null}var f=r.getStartKey(),g=r.getStartOffset(),y=t.getBlockForKey(f);return i=g===y.getLength()?null:y.getEntityAt(g),jh(t.getEntityMap(),i)}function jh(t,r){if(dE(r)){var i=t.__get(r);return i.getMutability()==="MUTABLE"?r:null}return null}var Oc=pE,hE=Yk,mE=ar,gE=Zi,Ml=zt,Lc=Bu,vE=ur,yE=Ih,zh=Nh,bE=Ah,_E=Oc,wE=lr,SE=vE.isBrowser("IE"),kE=20,Nc=!1,Ku=!1,Dl=null;function EE(t){Dl||(Dl=new hE(zh(t)),Dl.start())}var Mc={onCompositionStart:function(t){Ku=!0,EE(t)},onCompositionEnd:function(t){Nc=!1,Ku=!1,setTimeout(function(){Nc||Mc.resolveComposition(t)},kE)},onSelect:yE,onKeyDown:function(t,r){if(!Ku){Mc.resolveComposition(t),t._onKeyDown(r);return}(r.which===Lc.RIGHT||r.which===Lc.LEFT)&&r.preventDefault()},onKeyPress:function(t,r){r.which===Lc.RETURN&&r.preventDefault()},resolveComposition:function(t){if(!Ku){var r=wE(Dl).stopAndFlushMutations();Dl=null,Nc=!0;var i=Ml.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),!r.size){t.update(i);return}var a=i.getCurrentContent();r.forEach(function(y,b){var k=gE.decode(b),L=k.blockKey,B=k.decoratorKey,M=k.leafKey,j=i.getBlockTree(L).getIn([B,"leaves",M]),P=j.start,K=j.end,T=i.getSelection().merge({anchorKey:L,focusKey:L,anchorOffset:P,focusOffset:K,isBackward:!1}),ne=_E(a,T),J=a.getBlockForKey(L).getInlineStyleAt(P);a=mE.replaceText(a,T,y,J,ne),i=Ml.set(i,{currentContent:a})});var u=bE(i,zh(t)),f=u.selectionState;t.restoreEditorDOM();var g=SE?Ml.forceSelection(i,f):Ml.acceptSelection(i,f);t.update(Ml.push(g,a,"insert-characters"))}}},CE=Mc,Dc,Rh;function xE(){if(Rh)return Dc;Rh=1;var t=na;function r(){return r=t||function(b){for(var k=1;k<arguments.length;k++){var L=arguments[k];for(var B in L)Object.prototype.hasOwnProperty.call(L,B)&&(b[B]=L[B])}return b},r.apply(this,arguments)}function i(b,k){b.prototype=Object.create(k.prototype),b.prototype.constructor=b,b.__proto__=k}var a=Zi,u=q,f=vc,g=Su,y=function(b){i(k,b);function k(){return b.apply(this,arguments)||this}var L=k.prototype;return L.render=function(){var B=this.props,M=B.block,j=B.children,P=B.contentState,K=B.decorator,T=B.decoratorKey,ne=B.direction,J=B.leafSet,W=B.text,Z=M.getKey(),le=J.get("leaves"),Se=K.getComponentForKey(T),_e=K.getPropsForKey(T),Ie=a.encode(Z,parseInt(T,10),0),ve=W.slice(le.first().get("start"),le.last().get("end")),ke=g.getHTMLDirIfDifferent(f.getDirection(ve),ne);return u.createElement(Se,r({},_e,{contentState:P,decoratedText:ve,dir:ke,key:Ie,entityKey:M.getEntityAt(J.get("start")),offsetKey:Ie}),j)},k}(u.Component);return Dc=y,Dc}function Hh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OE(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function qh(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var Ia=q,LE=ur,NE=_t,ME=ra,Fc=LE.isBrowser("IE <= 11");function DE(t){return Fc?t.textContent===`
40
+ `:t.tagName==="BR"}var FE=function(t){return Fc?Ia.createElement("span",{key:"A","data-text":"true",ref:t},`
41
+ `):Ia.createElement("br",{key:"A","data-text":"true",ref:t})},PE=function(t){return Fc?Ia.createElement("span",{key:"B","data-text":"true",ref:t},`
42
+ `):Ia.createElement("br",{key:"B","data-text":"true",ref:t})},BE=function(t){OE(r,t);function r(a){var u;return u=t.call(this,a)||this,qh(Hh(u),"_forceFlag",void 0),qh(Hh(u),"_node",void 0),u._forceFlag=!1,u}var i=r.prototype;return i.shouldComponentUpdate=function(a){var u=this._node,f=a.children==="";ME(u)||NE(!1);var g=u;return f?!DE(g):g.textContent!==a.children},i.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.render=function(){var a=this;return this.props.children===""?this._forceFlag?FE(function(u){return a._node=u}):PE(function(u){return a._node=u}):Ia.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(u){return a._node=u}},this.props.children)},r}(Ia.Component),AE=BE,KE=ra;function IE(t){return!t||!t.ownerDocument?!1:KE(t)&&t.nodeName==="BR"}var Uh=IE;function TE(t){var r=t?t.ownerDocument||t:document,i=r.defaultView||window;return!!(t&&(typeof i.Node=="function"?t instanceof i.Node:typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.nodeName=="string"))}var jE=TE,zE=jE;function RE(t){return zE(t)&&t.nodeType==3}var HE=RE,Vh=HE;function Qh(t,r){return!t||!r?!1:t===r?!0:Vh(t)?!1:Vh(r)?Qh(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1}var Pc=Qh;function qE(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var $h=qE,Bc=Oh,UE=ur,Yh=Pc,VE=$h,Ac=Mu,QE=_t,Xh=ra,$E=UE.isBrowser("IE");function YE(t,r){if(!t)return"[empty]";var i=Zh(t,r);if(i.nodeType===Node.TEXT_NODE)return i.textContent;Xh(i)||QE(!1);var a=i;return a.outerHTML}function Zh(t,r){var i=r!==void 0?r(t):[];if(t.nodeType===Node.TEXT_NODE){var a=t.textContent.length;return Ac(t).createTextNode("[text "+a+(i.length?" | "+i.join(", "):"")+"]")}var u=t.cloneNode();u.nodeType===1&&i.length&&u.setAttribute("data-labels",i.join(", "));for(var f=t.childNodes,g=0;g<f.length;g++)u.appendChild(Zh(f[g],r));return u}function Kc(t,r){for(var i=t,a=i;i;){if(Xh(i)&&a.hasAttribute("contenteditable"))return YE(i,r);i=i.parentNode,a=i}return"Could not find contentEditable parent of node"}function Jh(t){return t.nodeValue===null?t.childNodes.length:t.nodeValue.length}function XE(t,r,i,a,u){var f=Ac(r);if(Yh(f.documentElement,r)){var g=f.defaultView.getSelection(),y=t.getAnchorKey(),b=t.getAnchorOffset(),k=t.getFocusKey(),L=t.getFocusOffset(),B=t.getIsBackward();if(!g.extend&&B){var M=y,j=b;y=k,b=L,k=M,L=j,B=!1}var P=y===i&&a<=b&&u>=b,K=k===i&&a<=L&&u>=L;if(P&&K){g.removeAllRanges(),Tu(g,r,b-a,t),Iu(g,r,L-a,t);return}if(!B)P&&(g.removeAllRanges(),Tu(g,r,b-a,t)),K&&Iu(g,r,L-a,t);else if(K&&(g.removeAllRanges(),Tu(g,r,L-a,t)),P){var T=g.focusNode,ne=g.focusOffset;g.removeAllRanges(),Tu(g,r,b-a,t),Iu(g,T,ne,t)}}}function Iu(t,r,i,a){var u=VE(),f=t.extend;if(f&&r!=null&&Yh(u,r)){i>Jh(r)&&Bc.logSelectionStateFailure({anonymizedDom:Kc(r),extraParams:JSON.stringify({offset:i}),selectionState:JSON.stringify(a.toJS())});var g=r===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(r,i)}catch(b){throw Bc.logSelectionStateFailure({anonymizedDom:Kc(r,function(k){var L=[];return k===u&&L.push("active element"),k===t.anchorNode&&L.push("selection anchor node"),k===t.focusNode&&L.push("selection focus node"),L}),extraParams:JSON.stringify({activeElementName:u?u.nodeName:null,nodeIsFocus:r===t.focusNode,nodeWasFocus:g,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:b?""+b:null,offset:i},null,2),selectionState:JSON.stringify(a.toJS(),null,2)}),b}}else if(r&&t.rangeCount>0){var y=t.getRangeAt(0);y.setEnd(r,i),t.addRange(y.cloneRange())}}function Tu(t,r,i,a){var u=Ac(r).createRange();if(i>Jh(r)&&Bc.logSelectionStateFailure({anonymizedDom:Kc(r),extraParams:JSON.stringify({offset:i}),selectionState:JSON.stringify(a.toJS())}),u.setStart(r,i),$E)try{t.addRange(u)}catch{}else t.addRange(u)}var ZE={setDraftEditorSelection:XE,addFocusToSelection:Iu},Wh=na;function JE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WE(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function GE(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var eC=AE,Ic=q,ju=_t,tC=Uh,nC=ZE.setDraftEditorSelection,rC=function(t){WE(r,t);function r(){for(var a,u=arguments.length,f=new Array(u),g=0;g<u;g++)f[g]=arguments[g];return a=t.call.apply(t,[this].concat(f))||this,GE(JE(a),"leaf",void 0),a}var i=r.prototype;return i._setSelection=function(){var a=this.props.selection;if(!(a==null||!a.getHasFocus())){var u=this.props,f=u.block,g=u.start,y=u.text,b=f.getKey(),k=g+y.length;if(a.hasEdgeWithin(b,g,k)){var L=this.leaf;L||ju(!1);var B=L.firstChild;B||ju(!1);var M;B.nodeType===Node.TEXT_NODE?M=B:tC(B)?M=L:(M=B.firstChild,M||ju(!1)),nC(a,M,b,g,k)}}},i.shouldComponentUpdate=function(a){var u=this.leaf;u||ju(!1);var f=u.textContent!==a.text||a.styleSet!==this.props.styleSet||a.forceSelection;return f},i.componentDidUpdate=function(){this._setSelection()},i.componentDidMount=function(){this._setSelection()},i.render=function(){var a=this,u=this.props.block,f=this.props.text;f.endsWith(`
43
+ `)&&this.props.isLast&&(f+=`
44
+ `);var g=this.props,y=g.customStyleMap,b=g.customStyleFn,k=g.offsetKey,L=g.styleSet,B=L.reduce(function(j,P){var K={},T=y[P];return T!==void 0&&j.textDecoration!==T.textDecoration&&(K.textDecoration=[j.textDecoration,T.textDecoration].join(" ").trim()),Wh(j,T,K)},{});if(b){var M=b(L,u);B=Wh(B,M)}return Ic.createElement("span",{"data-offset-key":k,ref:function(j){return a.leaf=j},style:B},Ic.createElement(eC,null,f))},r}(Ic.Component),Gh=rC,Tc,em;function iC(){if(em)return Tc;em=1;function t(b,k){b.prototype=Object.create(k.prototype),b.prototype.constructor=b,b.__proto__=k}var r=xE(),i=Gh,a=Zi,u=mt,f=q,g=ta;u.List;var y=function(b){t(k,b);function k(){return b.apply(this,arguments)||this}var L=k.prototype;return L.render=function(){var B=this.props,M=B.block,j=B.contentState,P=B.customStyleFn,K=B.customStyleMap,T=B.decorator,ne=B.direction,J=B.forceSelection,W=B.hasSelection,Z=B.selection,le=B.tree,Se=M.getKey(),_e=M.getText(),Ie=le.size-1,ve=this.props.children||le.map(function(ke,we){var he=ke.get("decoratorKey"),ge=ke.get("leaves"),Le=ge.size-1,Te=ge.map(function(De,Re){var ue=a.encode(Se,we,Re),fe=De.get("start"),ae=De.get("end");return f.createElement(i,{key:ue,offsetKey:ue,block:M,start:fe,selection:W?Z:null,forceSelection:J,text:_e.slice(fe,ae),styleSet:M.getInlineStyleAt(fe),customStyleMap:K,customStyleFn:P,isLast:he===Ie&&Re===Le})}).toArray();return!he||!T?Te:f.createElement(r,{block:M,children:Te,contentState:j,decorator:T,decoratorKey:he,direction:ne,leafSet:ke,text:_e,key:we})}).toArray();return f.createElement("div",{"data-offset-key":a.encode(Se,0,0),className:g({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":ne==="LTR","public/DraftStyleDefault/rtl":ne==="RTL"})},ve)},k}(f.Component);return Tc=y,Tc}function zu(t,r){return!!r&&(t===r.documentElement||t===r.body)}var oC={getTop:function(t){var r=t.ownerDocument;return zu(t,r)?r.body.scrollTop||r.documentElement.scrollTop:t.scrollTop},setTop:function(t,r){var i=t.ownerDocument;zu(t,i)?i.body.scrollTop=i.documentElement.scrollTop=r:t.scrollTop=r},getLeft:function(t){var r=t.ownerDocument;return zu(t,r)?r.body.scrollLeft||r.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,r){var i=t.ownerDocument;zu(t,i)?i.body.scrollLeft=i.documentElement.scrollLeft=r:t.scrollLeft=r}},jc=oC,aC=/-(.)/g;function lC(t){return t.replace(aC,function(r,i){return i.toUpperCase()})}var uC=lC,sC=/([A-Z])/g;function cC(t){return t.replace(sC,"-$1").toLowerCase()}var fC=cC,tm=uC,nm=fC;function Ru(t){return t==null?t:String(t)}function dC(t,r){var i;if(window.getComputedStyle&&(i=window.getComputedStyle(t,null),i))return Ru(i.getPropertyValue(nm(r)));if(document.defaultView&&document.defaultView.getComputedStyle){if(i=document.defaultView.getComputedStyle(t,null),i)return Ru(i.getPropertyValue(nm(r)));if(r==="display")return"none"}return t.currentStyle?Ru(r==="float"?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[tm(r)]):Ru(t.style&&t.style[tm(r)])}var pC=dC,hC=pC;function zc(t,r){var i=rm.get(t,r);return i==="auto"||i==="scroll"}var rm={get:hC,getScrollParent:function(t){if(!t)return null;for(var r=t.ownerDocument;t&&t!==r.body;){if(zc(t,"overflow")||zc(t,"overflowY")||zc(t,"overflowX"))return t;t=t.parentNode}return r.defaultView||r.parentWindow}},Hu=rm,mC=Pc;function gC(t){var r=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!mC(r,t))return{left:0,right:0,top:0,bottom:0};var i=t.getBoundingClientRect();return{left:Math.round(i.left)-r.clientLeft,right:Math.round(i.right)-r.clientLeft,top:Math.round(i.top)-r.clientTop,bottom:Math.round(i.bottom)-r.clientTop}}var vC=gC,yC=vC;function bC(t){var r=yC(t);return{x:r.left,y:r.top,width:r.right-r.left,height:r.bottom-r.top}}var im=bC,_C=typeof navigator<"u"&&navigator.userAgent.indexOf("AppleWebKit")>-1;function wC(t){return t=t||document,t.scrollingElement?t.scrollingElement:!_C&&t.compatMode==="CSS1Compat"?t.documentElement:t.body}var SC=wC;function kC(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}var EC=kC,CC=SC,xC=EC;function OC(t){var r=CC(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=r);var i=xC(t),a=t===r?t.ownerDocument.documentElement:t,u=t.scrollWidth-a.clientWidth,f=t.scrollHeight-a.clientHeight;return i.x=Math.max(0,Math.min(i.x,u)),i.y=Math.max(0,Math.min(i.y,f)),i}var qu=OC;function om(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function am(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function lm(){return{width:window.innerWidth||om(),height:window.innerHeight||am()}}lm.withoutScrollbars=function(){return{width:om(),height:am()}};var um=lm,Rc,sm;function LC(){if(sm)return Rc;sm=1;var t=na;function r(){return r=t||function(ve){for(var ke=1;ke<arguments.length;ke++){var we=arguments[ke];for(var he in we)Object.prototype.hasOwnProperty.call(we,he)&&(ve[he]=we[he])}return ve},r.apply(this,arguments)}function i(ve){if(ve===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve}function a(ve,ke){ve.prototype=Object.create(ke.prototype),ve.prototype.constructor=ve,ve.__proto__=ke}function u(ve){for(var ke=1;ke<arguments.length;ke++){var we=arguments[ke]!=null?arguments[ke]:{},he=Object.keys(we);typeof Object.getOwnPropertySymbols=="function"&&(he=he.concat(Object.getOwnPropertySymbols(we).filter(function(ge){return Object.getOwnPropertyDescriptor(we,ge).enumerable}))),he.forEach(function(ge){f(ve,ge,we[ge])})}return ve}function f(ve,ke,we){return ke in ve?Object.defineProperty(ve,ke,{value:we,enumerable:!0,configurable:!0,writable:!0}):ve[ke]=we,ve}var g=iC(),y=Zi,b=q,k=jc,L=Hu,B=im,M=qu,j=um,P=mt,K=_t,T=Ol,ne=10;P.List;var J=function(ve,ke){return ve.getAnchorKey()===ke||ve.getFocusKey()===ke},W=function(ve,ke){var we=ve.getNextSiblingKey();return we?ke.getBlockForKey(we).getType()===ve.getType():!1},Z=function(ve,ke,we){var he=[],ge=!0,Le=!1,Te=void 0;try{for(var De=we.reverse()[Symbol.iterator](),Re;!(ge=(Re=De.next()).done);ge=!0){var ue=Re.value;if(ue.type!==ke)break;he.push(ue)}}catch(Ne){Le=!0,Te=Ne}finally{try{!ge&&De.return!=null&&De.return()}finally{if(Le)throw Te}}we.splice(we.indexOf(he[0]),he.length+1);var fe=he.reverse(),ae=fe[0].key;return we.push(b.cloneElement(ve,{key:"".concat(ae,"-wrap"),"data-offset-key":y.encode(ae,0,0)},fe)),we},le=function(ve,ke){var we=ke.get(ve.getType())||ke.get("unstyled"),he=we.wrapper,ge=we.element||ke.get("unstyled").element;return{Element:ge,wrapperTemplate:he}},Se=function(ve,ke){var we=ke(ve);if(!we)return{};var he=we.component,ge=we.props,Le=we.editable;return{CustomComponent:he,customProps:ge,customEditable:Le}},_e=function(ve,ke,we,he,ge,Le){var Te={"data-block":!0,"data-editor":ke,"data-offset-key":we,key:ve.getKey(),ref:Le},De=he(ve);return De&&(Te.className=De),ge.customEditable!==void 0&&(Te=u({},Te,{contentEditable:ge.customEditable,suppressContentEditableWarning:!0})),Te},Ie=function(ve){a(ke,ve);function ke(){for(var he,ge=arguments.length,Le=new Array(ge),Te=0;Te<ge;Te++)Le[Te]=arguments[Te];return he=ve.call.apply(ve,[this].concat(Le))||this,f(i(he),"wrapperRef",b.createRef()),he}var we=ke.prototype;return we.shouldComponentUpdate=function(he){var ge=this.props,Le=ge.block,Te=ge.direction,De=ge.tree,Re=!Le.getChildKeys().isEmpty(),ue=Le!==he.block||De!==he.tree||Te!==he.direction||J(he.selection,he.block.getKey())&&he.forceSelection;return Re||ue},we.componentDidMount=function(){var he=this.props.selection,ge=he.getEndKey();if(!(!he.getHasFocus()||ge!==this.props.block.getKey())){var Le=this.wrapperRef.current;if(Le){var Te=L.getScrollParent(Le),De=M(Te),Re;if(Te===window){var ue=B(Le),fe=ue.y+ue.height,ae=j().height;Re=fe-ae,Re>0&&window.scrollTo(De.x,De.y+Re+ne)}else{T(Le)||K(!1);var Ne=Le,Je=Ne.offsetHeight+Ne.offsetTop,kt=Te.offsetHeight+De.y;Re=Je-kt,Re>0&&k.setTop(Te,k.getTop(Te)+Re+ne)}}}},we.render=function(){var he=this,ge=this.props,Le=ge.block,Te=ge.blockRenderMap,De=ge.blockRendererFn,Re=ge.blockStyleFn,ue=ge.contentState,fe=ge.decorator,ae=ge.editorKey,Ne=ge.editorState,Je=ge.customStyleFn,kt=ge.customStyleMap,Nt=ge.direction,qe=ge.forceSelection,je=ge.selection,dt=ge.tree,Bt=null;Le.children.size&&(Bt=Le.children.reduce(function(dn,Mt){var Ct=y.encode(Mt,0,0),rt=ue.getBlockForKey(Mt),pt=Se(rt,De),Pt=pt.CustomComponent||ke,Pe=le(rt,Te),nt=Pe.Element,Ze=Pe.wrapperTemplate,ht=_e(rt,ae,Ct,Re,pt,null),Ge=u({},he.props,{tree:Ne.getBlockTree(Mt),blockProps:pt.customProps,offsetKey:Ct,block:rt});return dn.push(b.createElement(nt,ht,b.createElement(Pt,Ge))),!Ze||W(rt,ue)||Z(Ze,nt,dn),dn},[]));var At=Le.getKey(),Dt=y.encode(At,0,0),Et=Se(Le,De),Zt=Et.CustomComponent,$e=Zt!=null?b.createElement(Zt,r({},this.props,{tree:Ne.getBlockTree(At),blockProps:Et.customProps,offsetKey:Dt,block:Le})):b.createElement(g,{block:Le,children:Bt,contentState:ue,customStyleFn:Je,customStyleMap:kt,decorator:fe,direction:Nt,forceSelection:qe,hasSelection:J(je,At),selection:je,tree:dt});if(Le.getParentKey())return $e;var ut=le(Le,Te),lt=ut.Element,Ft=_e(Le,ae,Dt,Re,Et,this.wrapperRef);return b.createElement(lt,Ft,$e)},ke}(b.Component);return Rc=Ie,Rc}var Hc,cm;function NC(){if(cm)return Hc;cm=1;var t=na;function r(){return r=t||function(b){for(var k=1;k<arguments.length;k++){var L=arguments[k];for(var B in L)Object.prototype.hasOwnProperty.call(L,B)&&(b[B]=L[B])}return b},r.apply(this,arguments)}function i(b,k){b.prototype=Object.create(k.prototype),b.prototype.constructor=b,b.__proto__=k}var a=LC(),u=Zi,f=q,g=lr,y=function(b){i(k,b);function k(){return b.apply(this,arguments)||this}var L=k.prototype;return L.shouldComponentUpdate=function(B){var M=this.props.editorState,j=B.editorState,P=M.getDirectionMap(),K=j.getDirectionMap();if(P!==K)return!0;var T=M.getSelection().getHasFocus(),ne=j.getSelection().getHasFocus();if(T!==ne)return!0;var J=j.getNativelyRenderedContent(),W=M.isInCompositionMode(),Z=j.isInCompositionMode();if(M===j||J!==null&&j.getCurrentContent()===J||W&&Z)return!1;var le=M.getCurrentContent(),Se=j.getCurrentContent(),_e=M.getDecorator(),Ie=j.getDecorator();return W!==Z||le!==Se||_e!==Ie||j.mustForceSelection()},L.render=function(){for(var B=this.props,M=B.blockRenderMap,j=B.blockRendererFn,P=B.blockStyleFn,K=B.customStyleMap,T=B.customStyleFn,ne=B.editorState,J=B.editorKey,W=B.textDirectionality,Z=ne.getCurrentContent(),le=ne.getSelection(),Se=ne.mustForceSelection(),_e=ne.getDecorator(),Ie=g(ne.getDirectionMap()),ve=Z.getBlocksAsArray(),ke=ve[0],we=[],he=ke;he;){var ge=he.getKey(),Le={blockRenderMap:M,blockRendererFn:j,blockStyleFn:P,contentState:Z,customStyleFn:T,customStyleMap:K,decorator:_e,editorKey:J,editorState:ne,forceSelection:Se,selection:le,block:he,direction:W||Ie.get(ge),tree:ne.getBlockTree(ge)},Te=M.get(he.getType())||M.get("unstyled"),De=Te.wrapper;we.push({block:f.createElement(a,r({key:ge},Le)),wrapperTemplate:De,key:ge,offsetKey:u.encode(ge,0,0)});var Re=he.getNextSiblingKey();he=Re?Z.getBlockForKey(Re):null}for(var ue=[],fe=0;fe<we.length;){var ae=we[fe];if(ae.wrapperTemplate){var Ne=[];do Ne.push(we[fe].block),fe++;while(fe<we.length&&we[fe].wrapperTemplate===ae.wrapperTemplate);var Je=f.cloneElement(ae.wrapperTemplate,{key:ae.key+"-wrap","data-offset-key":ae.offsetKey},Ne);ue.push(Je)}else ue.push(ae.block),fe++}return f.createElement("div",{"data-contents":"true"},ue)},k}(f.Component);return Hc=y,Hc}var MC=na;function qc(){return qc=MC||function(t){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},qc.apply(this,arguments)}function DC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FC(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function PC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var BC=Gh,fm=Zi,Uu=q,dm=jc,AC=Hu,KC=vc,IC=Su,TC=ta,jC=im,zC=qu,RC=um,HC=_t,qC=Ol,UC=lr,pm=10,hm=function(t,r){return t.getAnchorKey()===r||t.getFocusKey()===r},VC=function(t){FC(r,t);function r(){for(var a,u=arguments.length,f=new Array(u),g=0;g<u;g++)f[g]=arguments[g];return a=t.call.apply(t,[this].concat(f))||this,PC(DC(a),"_node",void 0),a}var i=r.prototype;return i.shouldComponentUpdate=function(a){return this.props.block!==a.block||this.props.tree!==a.tree||this.props.direction!==a.direction||hm(a.selection,a.block.getKey())&&a.forceSelection},i.componentDidMount=function(){if(!this.props.preventScroll){var a=this.props.selection,u=a.getEndKey();if(!(!a.getHasFocus()||u!==this.props.block.getKey())){var f=this._node;if(f!=null){var g=AC.getScrollParent(f),y=zC(g),b;if(g===window){var k=jC(f),L=k.y+k.height,B=RC().height;b=L-B,b>0&&window.scrollTo(y.x,y.y+b+pm)}else{qC(f)||HC(!1);var M=f.offsetHeight+f.offsetTop,j=g.offsetTop+g.offsetHeight,P=j+y.y;b=M-P,b>0&&dm.setTop(g,dm.getTop(g)+b+pm)}}}}},i._renderChildren=function(){var a=this,u=this.props.block,f=u.getKey(),g=u.getText(),y=this.props.tree.size-1,b=hm(this.props.selection,f);return this.props.tree.map(function(k,L){var B=k.get("leaves");if(B.size===0)return null;var M=B.size-1,j=B.map(function(ve,ke){var we=fm.encode(f,L,ke),he=ve.get("start"),ge=ve.get("end");return Uu.createElement(BC,{key:we,offsetKey:we,block:u,start:he,selection:b?a.props.selection:null,forceSelection:a.props.forceSelection,text:g.slice(he,ge),styleSet:u.getInlineStyleAt(he),customStyleMap:a.props.customStyleMap,customStyleFn:a.props.customStyleFn,isLast:L===y&&ke===M})}).toArray(),P=k.get("decoratorKey");if(P==null||!a.props.decorator)return j;var K=UC(a.props.decorator),T=K.getComponentForKey(P);if(!T)return j;var ne=K.getPropsForKey(P),J=fm.encode(f,L,0),W=B.first().get("start"),Z=B.last().get("end"),le=g.slice(W,Z),Se=u.getEntityAt(k.get("start")),_e=IC.getHTMLDirIfDifferent(KC.getDirection(le),a.props.direction),Ie={contentState:a.props.contentState,decoratedText:le,dir:_e,start:W,end:Z,blockKey:f,entityKey:Se,offsetKey:J};return Uu.createElement(T,qc({},ne,Ie,{key:J}),j)}).toArray()},i.render=function(){var a=this,u=this.props,f=u.direction,g=u.offsetKey,y=TC({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":f==="LTR","public/DraftStyleDefault/rtl":f==="RTL"});return Uu.createElement("div",{"data-offset-key":g,className:y,ref:function(b){return a._node=b}},this._renderChildren())},r}(Uu.Component),mm=VC,Uc,gm;function QC(){if(gm)return Uc;gm=1;function t(r){var i=r||"",a=arguments.length;if(a>1)for(var u=1;u<a;u++){var f=arguments[u];f&&(i=(i?i+" ":"")+f)}return i}return Uc=t,Uc}var Vc,vm;function $C(){if(vm)return Vc;vm=1;var t=na;function r(){return r=t||function(j){for(var P=1;P<arguments.length;P++){var K=arguments[P];for(var T in K)Object.prototype.hasOwnProperty.call(K,T)&&(j[T]=K[T])}return j},r.apply(this,arguments)}function i(j){for(var P=1;P<arguments.length;P++){var K=arguments[P]!=null?arguments[P]:{},T=Object.keys(K);typeof Object.getOwnPropertySymbols=="function"&&(T=T.concat(Object.getOwnPropertySymbols(K).filter(function(ne){return Object.getOwnPropertyDescriptor(K,ne).enumerable}))),T.forEach(function(ne){a(j,ne,K[ne])})}return j}function a(j,P,K){return P in j?Object.defineProperty(j,P,{value:K,enumerable:!0,configurable:!0,writable:!0}):j[P]=K,j}function u(j,P){j.prototype=Object.create(P.prototype),j.prototype.constructor=j,j.__proto__=P}var f=mm,g=Zi,y=q,b=ta,k=QC(),L=lr,B=function(j,P,K,T){return b({"public/DraftStyleDefault/unorderedListItem":j==="unordered-list-item","public/DraftStyleDefault/orderedListItem":j==="ordered-list-item","public/DraftStyleDefault/reset":K,"public/DraftStyleDefault/depth0":P===0,"public/DraftStyleDefault/depth1":P===1,"public/DraftStyleDefault/depth2":P===2,"public/DraftStyleDefault/depth3":P===3,"public/DraftStyleDefault/depth4":P>=4,"public/DraftStyleDefault/listLTR":T==="LTR","public/DraftStyleDefault/listRTL":T==="RTL"})},M=function(j){u(P,j);function P(){return j.apply(this,arguments)||this}var K=P.prototype;return K.shouldComponentUpdate=function(T){var ne=this.props.editorState,J=T.editorState,W=ne.getDirectionMap(),Z=J.getDirectionMap();if(W!==Z)return!0;var le=ne.getSelection().getHasFocus(),Se=J.getSelection().getHasFocus();if(le!==Se)return!0;var _e=J.getNativelyRenderedContent(),Ie=ne.isInCompositionMode(),ve=J.isInCompositionMode();if(ne===J||_e!==null&&J.getCurrentContent()===_e||Ie&&ve)return!1;var ke=ne.getCurrentContent(),we=J.getCurrentContent(),he=ne.getDecorator(),ge=J.getDecorator();return Ie!==ve||ke!==we||he!==ge||J.mustForceSelection()},K.render=function(){for(var T=this.props,ne=T.blockRenderMap,J=T.blockRendererFn,W=T.blockStyleFn,Z=T.customStyleMap,le=T.customStyleFn,Se=T.editorState,_e=T.editorKey,Ie=T.preventScroll,ve=T.textDirectionality,ke=Se.getCurrentContent(),we=Se.getSelection(),he=Se.mustForceSelection(),ge=Se.getDecorator(),Le=L(Se.getDirectionMap()),Te=ke.getBlocksAsArray(),De=[],Re=null,ue=null,fe=0;fe<Te.length;fe++){var ae=Te[fe],Ne=ae.getKey(),Je=ae.getType(),kt=J(ae),Nt=void 0,qe=void 0,je=void 0;kt&&(Nt=kt.component,qe=kt.props,je=kt.editable);var dt=ve||Le.get(Ne),Bt=g.encode(Ne,0,0),At={contentState:ke,block:ae,blockProps:qe,blockStyleFn:W,customStyleMap:Z,customStyleFn:le,decorator:ge,direction:dt,forceSelection:he,offsetKey:Bt,preventScroll:Ie,selection:we,tree:Se.getBlockTree(Ne)},Dt=ne.get(Je)||ne.get("unstyled"),Et=Dt.wrapper,Zt=Dt.element||ne.get("unstyled").element,$e=ae.getDepth(),ut="";if(W&&(ut=W(ae)),Zt==="li"){var lt=ue!==Et||Re===null||$e>Re;ut=k(ut,B(Je,$e,lt,dt))}var Ft=Nt||f,dn={className:ut,"data-block":!0,"data-editor":_e,"data-offset-key":Bt,key:Ne};je!==void 0&&(dn=i({},dn,{contentEditable:je,suppressContentEditableWarning:!0}));var Mt=y.createElement(Zt,dn,y.createElement(Ft,r({},At,{key:Ne})));De.push({block:Mt,wrapperTemplate:Et,key:Ne,offsetKey:Bt}),Et?Re=ae.getDepth():Re=null,ue=Et}for(var Ct=[],rt=0;rt<De.length;){var pt=De[rt];if(pt.wrapperTemplate){var Pt=[];do Pt.push(De[rt].block),rt++;while(rt<De.length&&De[rt].wrapperTemplate===pt.wrapperTemplate);var Pe=y.cloneElement(pt.wrapperTemplate,{key:pt.key+"-wrap","data-offset-key":pt.offsetKey},Pt);Ct.push(Pe)}else Ct.push(pt.block),rt++}return y.createElement("div",{"data-contents":"true"},Ct)},P}(y.Component);return Vc=M,Vc}var YC=_o,XC=YC("draft_tree_data_support"),ZC=XC?NC():$C(),ym={isImage:function(t){return bm(t)[0]==="image"},isJpeg:function(t){var r=bm(t);return ym.isImage(t)&&(r[1]==="jpeg"||r[1]==="pjpeg")}};function bm(t){return t.split("/")}var JC=ym,Vu=_t;function WC(t){var r=t.length;if(!Array.isArray(t)&&(typeof t=="object"||typeof t=="function")||Vu(!1),typeof r!="number"&&Vu(!1),r===0||r-1 in t||Vu(!1),typeof t.callee=="function"&&Vu(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch{}for(var i=Array(r),a=0;a<r;a++)i[a]=t[a];return i}function GC(t){return!!t&&(typeof t=="object"||typeof t=="function")&&"length"in t&&!("setInterval"in t)&&typeof t.nodeType!="number"&&(Array.isArray(t)||"callee"in t||"item"in t)}function ex(t){return GC(t)?Array.isArray(t)?t.slice():WC(t):[t]}var tx=ex;function Qu(t){return function(){return t}}var oa=function(){};oa.thatReturns=Qu,oa.thatReturnsFalse=Qu(!1),oa.thatReturnsTrue=Qu(!0),oa.thatReturnsNull=Qu(null),oa.thatReturnsThis=function(){return this},oa.thatReturnsArgument=function(t){return t};var nx=oa,rx=JC,ix=tx,ox=nx,ax=new RegExp(`\r
45
+ `,"g"),lx=`
46
+ `,ux={"text/rtf":1,"text/html":1};function sx(t){if(t.kind=="file")return t.getAsFile()}var cx=function(){function t(i){this.data=i,this.types=i.types?ix(i.types):[]}var r=t.prototype;return r.isRichText=function(){return this.getHTML()&&this.getText()?!0:this.isImage()?!1:this.types.some(function(i){return ux[i]})},r.getText=function(){var i;return this.data.getData&&(this.types.length?this.types.indexOf("text/plain")!=-1&&(i=this.data.getData("text/plain")):i=this.data.getData("Text")),i?i.replace(ax,lx):null},r.getHTML=function(){if(this.data.getData)if(this.types.length){if(this.types.indexOf("text/html")!=-1)return this.data.getData("text/html")}else return this.data.getData("Text")},r.isLink=function(){return this.types.some(function(i){return i.indexOf("Url")!=-1||i.indexOf("text/uri-list")!=-1||i.indexOf("text/x-moz-url")})},r.getLink=function(){if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var i=this.data.getData("text/x-moz-url").split(`
47
+ `);return i[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null},r.isImage=function(){var i=this.types.some(function(g){return g.indexOf("application/x-moz-file")!=-1});if(i)return!0;for(var a=this.getFiles(),u=0;u<a.length;u++){var f=a[u].type;if(!rx.isImage(f))return!1}return!0},r.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},r.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(sx).filter(ox.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},r.hasFiles=function(){return this.getFiles().length>0},t}(),_m=cx,fx=_t,wm=/\.textClipping$/,dx={"text/plain":!0,"text/html":!0,"text/rtf":!0},px=5e3;function hx(t,r){var i=0,a=[];t.forEach(function(u){mx(u,function(f){i++,f&&a.push(f.slice(0,px)),i==t.length&&r(a.join("\r"))})})}function mx(t,r){if(!Na.FileReader||t.type&&!(t.type in dx)){r("");return}if(t.type===""){var i="";wm.test(t.name)&&(i=t.name.replace(wm,"")),r(i);return}var a=new FileReader;a.onload=function(){var u=a.result;typeof u!="string"&&fx(!1),r(u)},a.onerror=function(){r("")},a.readAsText(t)}var Sm=hx;function gx(t){return t==="handled"||t===!0}var $u=gx,vx=_m,km=ar,Em=zt,yx=Du,bx=Mu,_x=Sm,wx=Dh,Sx=Eh,Cm=$u,Qc=lr;function kx(t,r){var i=null,a=null,u=bx(t.currentTarget);if(typeof u.caretRangeFromPoint=="function"){var f=u.caretRangeFromPoint(t.x,t.y);i=f.startContainer,a=f.startOffset}else if(t.rangeParent)i=t.rangeParent,a=t.rangeOffset;else return null;i=Qc(i),a=Qc(a);var g=Qc(yx(i));return wx(r,g,a,g,a)}var Ex={onDragEnd:function(t){t.exitCurrentMode(),xm(t)},onDrop:function(t,r){var i=new vx(r.nativeEvent.dataTransfer),a=t._latestEditorState,u=kx(r.nativeEvent,a);if(r.preventDefault(),t._dragCount=0,t.exitCurrentMode(),u!=null){var f=i.getFiles();if(f.length>0){if(t.props.handleDroppedFiles&&Cm(t.props.handleDroppedFiles(u,f)))return;_x(f,function(y){y&&t.update(Om(a,u,y))});return}var g=t._internalDrag?"internal":"external";t.props.handleDrop&&Cm(t.props.handleDrop(u,i,g))||(t._internalDrag?t.update(Cx(a,u)):t.update(Om(a,u,i.getText()))),xm(t)}}};function xm(t){t._internalDrag=!1;var r=t.editorContainer;if(r){var i=new MouseEvent("mouseup",{view:Sx(r),bubbles:!0,cancelable:!0});r.dispatchEvent(i)}}function Cx(t,r){var i=km.moveText(t.getCurrentContent(),t.getSelection(),r);return Em.push(t,i,"insert-fragment")}function Om(t,r,i){var a=km.insertText(t.getCurrentContent(),r,i,t.getCurrentInlineStyle());return Em.push(t,a,"insert-fragment")}var xx=Ex;function Ox(t){var r=t.getSelection(),i=r.getAnchorKey(),a=t.getBlockTree(i),u=r.getStartOffset(),f=!1;return a.some(function(g){return u===g.get("start")?(f=!0,!0):u<g.get("end")?g.get("leaves").some(function(y){var b=y.get("start");return u===b?(f=!0,!0):!1}):!1}),f}var Lx=Ox;(function(t,r){if(t.setImmediate)return;var i=1,a={},u=!1,f=t.document,g;function y(J){typeof J!="function"&&(J=new Function(""+J));for(var W=new Array(arguments.length-1),Z=0;Z<W.length;Z++)W[Z]=arguments[Z+1];var le={callback:J,args:W};return a[i]=le,g(i),i++}function b(J){delete a[J]}function k(J){var W=J.callback,Z=J.args;switch(Z.length){case 0:W();break;case 1:W(Z[0]);break;case 2:W(Z[0],Z[1]);break;case 3:W(Z[0],Z[1],Z[2]);break;default:W.apply(r,Z);break}}function L(J){if(u)setTimeout(L,0,J);else{var W=a[J];if(W){u=!0;try{k(W)}finally{b(J),u=!1}}}}function B(){g=function(J){process.nextTick(function(){L(J)})}}function M(){if(t.postMessage&&!t.importScripts){var J=!0,W=t.onmessage;return t.onmessage=function(){J=!1},t.postMessage("","*"),t.onmessage=W,J}}function j(){var J="setImmediate$"+Math.random()+"$",W=function(Z){Z.source===t&&typeof Z.data=="string"&&Z.data.indexOf(J)===0&&L(+Z.data.slice(J.length))};t.addEventListener?t.addEventListener("message",W,!1):t.attachEvent("onmessage",W),g=function(Z){t.postMessage(J+Z,"*")}}function P(){var J=new MessageChannel;J.port1.onmessage=function(W){var Z=W.data;L(Z)},g=function(W){J.port2.postMessage(W)}}function K(){var J=f.documentElement;g=function(W){var Z=f.createElement("script");Z.onreadystatechange=function(){L(W),Z.onreadystatechange=null,J.removeChild(Z),Z=null},J.appendChild(Z)}}function T(){g=function(J){setTimeout(L,0,J)}}var ne=Object.getPrototypeOf&&Object.getPrototypeOf(t);ne=ne&&ne.setTimeout?ne:t,{}.toString.call(t.process)==="[object process]"?B():M()?j():t.MessageChannel?P():f&&"onreadystatechange"in f.createElement("script")?K():T(),ne.setImmediate=y,ne.clearImmediate=b})(typeof self>"u"?Na:self);var Nx=Na.setImmediate,Mx=ar,$c=zt,Dx=ur,Lm=Oc,Fx=$u,Px=Lx,Nm=lr,Bx=Nx,Ax="'",Kx="/",Ix=Dx.isBrowser("Firefox");function Tx(t){return Ix&&(t==Ax||t==Kx)}function Mm(t,r,i,a,u){var f=Mx.replaceText(t.getCurrentContent(),t.getSelection(),r,i,a);return $c.push(t,f,"insert-characters",u)}function jx(t,r){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var i=t._latestEditorState,a=r.data;if(a){if(t.props.handleBeforeInput&&Fx(t.props.handleBeforeInput(a,i,r.timeStamp))){r.preventDefault();return}var u=i.getSelection(),f=u.getStartOffset(),g=u.getAnchorKey();if(!u.isCollapsed()){r.preventDefault(),t.update(Mm(i,a,i.getCurrentInlineStyle(),Lm(i.getCurrentContent(),i.getSelection()),!0));return}var y=Mm(i,a,i.getCurrentInlineStyle(),Lm(i.getCurrentContent(),i.getSelection()),!1),b=!1;if(b||(b=Px(t._latestCommittedEditorState)),!b){var k=i.getBlockTree(g),L=y.getBlockTree(g);b=k.size!==L.size||k.zip(L).some(function(B){var M=B[0],j=B[1],P=M.get("start"),K=P+(P>=f?a.length:0),T=M.get("end"),ne=T+(T>=f?a.length:0),J=j.get("start"),W=j.get("end"),Z=j.get("decoratorKey");return M.get("decoratorKey")!==Z||M.get("leaves").size!==j.get("leaves").size||K!==J||ne!==W||Z!=null&&W-J!==T-P})}if(b||(b=Tx(a)),b||(b=Nm(y.getDirectionMap()).get(g)!==Nm(i.getDirectionMap()).get(g)),b){r.preventDefault(),y=$c.set(y,{forceSelection:!0}),t.update(y);return}y=$c.set(y,{nativelyRenderedContent:y.getCurrentContent()}),t._pendingStateFromBeforeInput=y,Bx(function(){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)})}}var zx=jx,Rx=zt,Dm=Pc,Hx=$h;function qx(t,r){var i=r.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&Hx(i)===i.body){var a=i.defaultView.getSelection(),u=t.editor;a.rangeCount===1&&Dm(u,a.anchorNode)&&Dm(u,a.focusNode)&&a.removeAllRanges()}var f=t._latestEditorState,g=f.getSelection();if(g.getHasFocus()){var y=g.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(r),t.update(Rx.acceptSelection(f,y))}}var Ux=qx,Vx=zt;function Qx(t,r){t.setMode("composite"),t.update(Vx.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(r)}var $x=Qx,Yx=fu;function Xx(t){var r=t.getSelection();return r.isCollapsed()?null:Yx(t.getCurrentContent(),r)}var Fm=Xx,Zx=Fm;function Jx(t,r){var i=t._latestEditorState,a=i.getSelection();if(a.isCollapsed()){r.preventDefault();return}t.setClipboard(Zx(t._latestEditorState))}var Wx=Jx;function Gx(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var r=t;if(!r.ownerDocument.defaultView)return r instanceof Node;if(r instanceof r.ownerDocument.defaultView.Node)return!0}return!1}var eO=Gx,tO=ar,nO=zt,rO=Hu,iO=Fm,oO=qu,aO=eO;function lO(t,r){var i=t._latestEditorState,a=i.getSelection(),u=r.target,f;if(a.isCollapsed()){r.preventDefault();return}if(aO(u)){var g=u;f=oO(rO.getScrollParent(g))}var y=iO(i);t.setClipboard(y),t.setMode("cut"),setTimeout(function(){t.restoreEditorDOM(f),t.exitCurrentMode(),t.update(uO(i))},0)}function uO(t){var r=tO.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return nO.push(t,r,"remove-range")}var sO=lO;function cO(t,r){t.setMode("drag"),r.preventDefault()}var fO=cO;function dO(t){t._internalDrag=!0,t.setMode("drag")}var pO=dO,Pm=zt,hO=ur;function mO(t,r){var i=t._latestEditorState,a=i.getSelection();if(!a.getHasFocus()){var u=a.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(r),hO.isBrowser("Chrome < 60.0.3081.0")?t.update(Pm.forceSelection(i,u)):t.update(Pm.acceptSelection(i,u))}}var gO=mO,vO=_t,Bm=55296,yO=56319,bO=56320,Am=57343,_O=/[\uD800-\uDFFF]/;function Km(t){return Bm<=t&&t<=Am}function wO(t,r){if(0<=r&&r<t.length||vO(!1),r+1===t.length)return!1;var i=t.charCodeAt(r),a=t.charCodeAt(r+1);return Bm<=i&&i<=yO&&bO<=a&&a<=Am}function Yc(t){return _O.test(t)}function Ta(t,r){return 1+Km(t.charCodeAt(r))}function SO(t){if(!Yc(t))return t.length;for(var r=0,i=0;i<t.length;i+=Ta(t,i))r++;return r}function Im(t,r,i){if(r=r||0,i=i===void 0?1/0:i||0,!Yc(t))return t.substr(r,i);var a=t.length;if(a<=0||r>a||i<=0)return"";var u=0;if(r>0){for(;r>0&&u<a;r--)u+=Ta(t,u);if(u>=a)return""}else if(r<0){for(u=a;r<0&&0<u;r++)u-=Ta(t,u-1);u<0&&(u=0)}var f=a;if(i<a)for(f=u;i>0&&f<a;i--)f+=Ta(t,f);return t.substring(u,f)}function kO(t,r,i){r=r||0,i=i===void 0?1/0:i||0,r<0&&(r=0),i<0&&(i=0);var a=Math.abs(i-r);return r=r<i?r:i,Im(t,r,a)}function EO(t){for(var r=[],i=0;i<t.length;i+=Ta(t,i))r.push(t.codePointAt(i));return r}var CO={getCodePoints:EO,getUTF16Length:Ta,hasSurrogateUnit:Yc,isCodeUnitInSurrogateRange:Km,isSurrogatePair:wO,strlen:SO,substring:kO,substr:Im},aa=CO;function xO(t,r){var i=t.getSelection(),a=t.getCurrentContent(),u=i.getStartKey(),f=i.getStartOffset(),g=u,y=0;if(r>f){var b=a.getKeyBefore(u);if(b==null)g=u;else{g=b;var k=a.getBlockForKey(b);y=k.getText().length}}else y=f-r;return i.merge({focusKey:g,focusOffset:y,isBackward:!0})}var Xc=xO,OO=ar,LO=_o,Tm=LO("draft_tree_data_support");function NO(t,r,i){var a=t.getSelection(),u=t.getCurrentContent(),f=a,g=a.getAnchorKey(),y=a.getFocusKey(),b=u.getBlockForKey(g);if(Tm&&i==="forward"&&g!==y)return u;if(a.isCollapsed()){if(i==="forward"){if(t.isSelectionAtEndOfContent())return u;if(Tm){var k=a.getAnchorOffset()===u.getBlockForKey(g).getLength();if(k){var L=u.getBlockForKey(b.nextSibling);if(!L||L.getLength()===0)return u}}}else if(t.isSelectionAtStartOfContent())return u;if(f=r(t),f===a)return u}return OO.removeRange(u,f,i)}var Fl=NO,MO=zt,DO=aa,FO=Xc,PO=Fl;function BO(t){var r=PO(t,function(a){var u=a.getSelection(),f=a.getCurrentContent(),g=u.getAnchorKey(),y=u.getAnchorOffset(),b=f.getBlockForKey(g).getText()[y-1];return FO(a,b?DO.getUTF16Length(b,0):1)},"backward");if(r===t.getCurrentContent())return t;var i=t.getSelection();return MO.push(t,r.set("selectionBefore",i),i.isCollapsed()?"backspace-character":"remove-range")}var jm=BO,AO=ar,KO=Zi,IO=zt,TO=ur,jO=Th,zO=jO.notEmptyKey,RO=Du,HO=jm,qO=lr,UO=TO.isEngine("Gecko"),VO=`
48
+
49
+ `;function QO(t,r){switch(t){case"deleteContentBackward":return HO(r)}return r}function $O(t,r){t._pendingStateFromBeforeInput!==void 0&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var i=t.editor,a=i.ownerDocument.defaultView.getSelection(),u=a.anchorNode,f=a.isCollapsed,g=u?.nodeType!==Node.TEXT_NODE&&u?.nodeType!==Node.ELEMENT_NODE;if(!(u==null||g)){if(u.nodeType===Node.TEXT_NODE&&(u.previousSibling!==null||u.nextSibling!==null)){var y=u.parentNode;if(y==null)return;u.nodeValue=y.textContent;for(var b=y.firstChild;b!=null;b=b.nextSibling)b!==u&&y.removeChild(b)}var k=u.textContent,L=t._latestEditorState,B=qO(RO(u)),M=KO.decode(B),j=M.blockKey,P=M.decoratorKey,K=M.leafKey,T=L.getBlockTree(j).getIn([P,"leaves",K]),ne=T.start,J=T.end,W=L.getCurrentContent(),Z=W.getBlockForKey(j),le=Z.getText().slice(ne,J);if(k.endsWith(VO)&&(k=k.slice(0,-1)),k===le){var Se=r.nativeEvent.inputType;if(Se){var _e=QO(Se,L);if(_e!==L){t.restoreEditorDOM(),t.update(_e);return}}return}var Ie=L.getSelection(),ve=Ie.merge({anchorOffset:ne,focusOffset:J,isBackward:!1}),ke=Z.getEntityAt(ne),we=zO(ke)?W.getEntity(ke):null,he=we!=null?we.getMutability():null,ge=he==="MUTABLE",Le=ge?"spellcheck-change":"apply-entity",Te=AO.replaceText(W,ve,k,Z.getInlineStyleAt(ne),ge?Z.getEntityAt(ne):null),De,Re,ue,fe;if(UO)De=a.anchorOffset,Re=a.focusOffset,ue=ne+Math.min(De,Re),fe=ue+Math.abs(De-Re),De=ue,Re=fe;else{var ae=k.length-le.length;ue=Ie.getStartOffset(),fe=Ie.getEndOffset(),De=f?fe+ae:ue,Re=fe+ae}var Ne=Te.merge({selectionBefore:W.getSelectionAfter(),selectionAfter:Ie.merge({anchorOffset:De,focusOffset:Re})});t.update(IO.push(L,Ne,Le))}}var YO=$O,XO=Bu;function ZO(t){return t.which===XO.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}var JO=ZO,WO=ur,GO=JO,Zc=WO.isPlatform("Mac OS X"),zm={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return Zc&&t.altKey},usesMacOSHeuristics:function(){return Zc},hasCommandModifier:function(t){return Zc?!!t.metaKey&&!t.altKey:zm.isCtrlKeyCommand(t)},isSoftNewlineEvent:GO},Jc=zm,Rm=ar,Hm=zt,eL=fu,tL=lr,Wc=null,nL={cut:function(t){var r=t.getCurrentContent(),i=t.getSelection(),a=null;if(i.isCollapsed()){var u=i.getAnchorKey(),f=r.getBlockForKey(u).getLength();if(f===i.getAnchorOffset()){var g=r.getKeyAfter(u);if(g==null)return t;a=i.set("focusKey",g).set("focusOffset",0)}else a=i.set("focusOffset",f)}else a=i;a=tL(a),Wc=eL(r,a);var y=Rm.removeRange(r,a,"forward");return y===r?t:Hm.push(t,y,"remove-range")},paste:function(t){if(!Wc)return t;var r=Rm.replaceWithFragment(t.getCurrentContent(),t.getSelection(),Wc);return Hm.push(t,r,"insert-fragment")}},rL=nL,iL=ur,oL=_t,aL=iL.isBrowser("Chrome");function lL(t){for(var r=t.cloneRange(),i=[],a=t.endContainer;a!=null;a=a.parentNode){var u=a===t.commonAncestorContainer;u?r.setStart(t.startContainer,t.startOffset):r.setStart(r.endContainer,0);var f=Array.from(r.getClientRects());if(i.push(f),u){var g;return i.reverse(),(g=[]).concat.apply(g,i)}r.setEndBefore(a)}oL(!1)}var uL=aL?lL:function(t){return Array.from(t.getClientRects())},qm=uL,sL=aa,cL=Mu,Um=qm,Gc=_t;function fL(t){var r=getComputedStyle(t),i=cL(t),a=i.createElement("div");a.style.fontFamily=r.fontFamily,a.style.fontSize=r.fontSize,a.style.fontStyle=r.fontStyle,a.style.fontWeight=r.fontWeight,a.style.lineHeight=r.lineHeight,a.style.position="absolute",a.textContent="M";var u=i.body;u||Gc(!1),u.appendChild(a);var f=a.getBoundingClientRect();return u.removeChild(a),f.height}function Vm(t,r){for(var i=1/0,a=1/0,u=-1/0,f=-1/0,g=0;g<t.length;g++){var y=t[g];y.width===0||y.width===1||(i=Math.min(i,y.top),a=Math.min(a,y.bottom),u=Math.max(u,y.top),f=Math.max(f,y.bottom))}return u<=a&&u-i<r&&f-a<r}function dL(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}function pL(t){t.collapsed||Gc(!1),t=t.cloneRange();var r=t.startContainer;r.nodeType!==1&&(r=r.parentNode);var i=fL(r),a=t.endContainer,u=t.endOffset;for(t.setStart(t.startContainer,0);Vm(Um(t),i)&&(a=t.startContainer,u=t.startOffset,a.parentNode||Gc(!1),t.setStartBefore(a),!(a.nodeType===1&&getComputedStyle(a).display!=="inline")););var f=a,g=u-1;do{for(var y=f.nodeValue,b=g;b>=0;b--)if(!(y!=null&&b>0&&sL.isSurrogatePair(y,b-1)))if(t.setStart(f,b),Vm(Um(t),i))a=f,u=b;else break;if(b===-1||f.childNodes.length===0)break;f=f.childNodes[b],g=dL(f)}while(!0);return t.setStart(a,u),t}var hL=pL,mL=zt,gL=hL,vL=Bh,yL=Xc,bL=Fl;function _L(t,r){var i=bL(t,function(a){var u=a.getSelection();if(u.isCollapsed()&&u.getAnchorOffset()===0)return yL(a,1);var f=r.currentTarget.ownerDocument,g=f.defaultView.getSelection(),y=g.getRangeAt(0);return y=gL(y),vL(a,null,y.endContainer,y.endOffset,y.startContainer,y.startOffset).selectionState},"backward");return i===t.getCurrentContent()?t:mL.push(t,i,"remove-range")}var wL=_L,SL=`[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;\u30FB\u3001\u3002\u3008-\u3011\u3014-\u301F\uFF1A-\uFF1F\uFF01-\uFF0F\uFF3B-\uFF40\uFF5B-\uFF65\u2E2E\u061F\u066A-\u066C\u061B\u060C\u060D\uFD3E\uFD3F\u1801\u0964\u104A\u104B\u2010-\u2027\u2030-\u205E\xA1-\xB1\xB4-\xB8\xBA\xBB\xBF]`,kL={getPunctuation:function(){return SL}},EL=kL,CL=EL.getPunctuation(),Qm="['\u2018\u2019]",ja="\\s|(?![_])"+CL,xL="^(?:"+ja+")*(?:"+Qm+"|(?!"+ja+").)*(?:(?!"+ja+").)",OL=new RegExp(xL),LL="(?:(?!"+ja+").)(?:"+Qm+"|(?!"+ja+").)*(?:"+ja+")*$",NL=new RegExp(LL);function $m(t,r){var i=r?NL.exec(t):OL.exec(t);return i?i[0]:t}var ML={getBackward:function(t){return $m(t,!0)},getForward:function(t){return $m(t,!1)}},Ym=ML,DL=Ym,FL=zt,Xm=Xc,PL=Fl;function BL(t){var r=PL(t,function(i){var a=i.getSelection(),u=a.getStartOffset();if(u===0)return Xm(i,1);var f=a.getStartKey(),g=i.getCurrentContent(),y=g.getBlockForKey(f).getText().slice(0,u),b=DL.getBackward(y);return Xm(i,b.length||1)},"backward");return r===t.getCurrentContent()?t:FL.push(t,r,"remove-range")}var AL=BL;function KL(t,r){var i=t.getSelection(),a=i.getStartKey(),u=i.getStartOffset(),f=t.getCurrentContent(),g=a,y,b=f.getBlockForKey(a);return r>b.getText().length-u?(g=f.getKeyAfter(a),y=0):y=u+r,i.merge({focusKey:g,focusOffset:y})}var Zm=KL,IL=Ym,TL=zt,jL=Zm,zL=Fl;function RL(t){var r=zL(t,function(i){var a=i.getSelection(),u=a.getStartOffset(),f=a.getStartKey(),g=i.getCurrentContent(),y=g.getBlockForKey(f).getText().slice(u),b=IL.getForward(y);return jL(i,b.length||1)},"forward");return r===t.getCurrentContent()?t:TL.push(t,r,"remove-range")}var HL=RL,qL=ar,UL=zt;function VL(t){var r=qL.splitBlock(t.getCurrentContent(),t.getSelection());return UL.push(t,r,"split-block")}var QL=VL,$L=zt;function YL(t){var r=t.getSelection(),i=r.getEndKey(),a=t.getCurrentContent(),u=a.getBlockForKey(i).getLength();return $L.set(t,{selection:r.merge({anchorKey:i,anchorOffset:u,focusKey:i,focusOffset:u,isBackward:!1}),forceSelection:!0})}var XL=YL,ZL=zt;function JL(t){var r=t.getSelection(),i=r.getStartKey();return ZL.set(t,{selection:r.merge({anchorKey:i,anchorOffset:0,focusKey:i,focusOffset:0,isBackward:!1}),forceSelection:!0})}var WL=JL,GL=zt,eN=aa,tN=Zm,nN=Fl;function rN(t){var r=nN(t,function(a){var u=a.getSelection(),f=a.getCurrentContent(),g=u.getAnchorKey(),y=u.getAnchorOffset(),b=f.getBlockForKey(g).getText()[y];return tN(a,b?eN.getUTF16Length(b,0):1)},"forward");if(r===t.getCurrentContent())return t;var i=t.getSelection();return GL.push(t,r.set("selectionBefore",i),i.isCollapsed()?"delete-character":"remove-range")}var iN=rN,Jm=ar,Wm=zt,oN=fu;function aN(t){var r=t.getSelection();if(!r.isCollapsed())return t;var i=r.getAnchorOffset();if(i===0)return t;var a=r.getAnchorKey(),u=t.getCurrentContent(),f=u.getBlockForKey(a),g=f.getLength();if(g<=1)return t;var y,b;i===g?(y=r.set("anchorOffset",i-1),b=r):(y=r.set("focusOffset",i+1),b=y.set("anchorOffset",i+1));var k=oN(u,y),L=Jm.removeRange(u,y,"backward"),B=L.getSelectionAfter(),M=B.getAnchorOffset()-1,j=B.merge({anchorOffset:M,focusOffset:M}),P=Jm.replaceWithFragment(L,j,k),K=Wm.push(t,P,"insert-fragment");return Wm.acceptSelection(K,b)}var lN=aN,ef=zt;function uN(t,r,i){var a=ef.undo(r);if(r.getLastChangeType()==="spellcheck-change"){var u=a.getCurrentContent();i(ef.set(a,{nativelyRenderedContent:u}));return}if(t.preventDefault(),!r.getNativelyRenderedContent()){i(a);return}i(ef.set(r,{nativelyRenderedContent:null})),setTimeout(function(){i(a)},0)}var sN=uN,cN=ar,Gm=zt,fN=Jc,Ji=Bu,eg=rL,dN=ur,tg=$u,pN=wL,hN=AL,mN=HL,gN=QL,vN=XL,yN=WL,bN=jm,_N=iN,wN=lN,SN=sN,ng=fN.isOptionKeyCommand,rg=dN.isBrowser("Chrome");function kN(t,r,i){switch(t){case"redo":return Gm.redo(r);case"delete":return _N(r);case"delete-word":return mN(r);case"backspace":return bN(r);case"backspace-word":return hN(r);case"backspace-to-start-of-line":return pN(r,i);case"split-block":return gN(r);case"transpose-characters":return wN(r);case"move-selection-to-start-of-block":return yN(r);case"move-selection-to-end-of-block":return vN(r);case"secondary-cut":return eg.cut(r);case"secondary-paste":return eg.paste(r);default:return r}}function EN(t,r){var i=r.which,a=t._latestEditorState;function u(b){var k=t.props[b];return k?(k(r),!0):!1}switch(i){case Ji.RETURN:if(r.preventDefault(),t.props.handleReturn&&tg(t.props.handleReturn(r,a)))return;break;case Ji.ESC:if(r.preventDefault(),u("onEscape"))return;break;case Ji.TAB:if(u("onTab"))return;break;case Ji.UP:if(u("onUpArrow"))return;break;case Ji.RIGHT:if(u("onRightArrow"))return;break;case Ji.DOWN:if(u("onDownArrow"))return;break;case Ji.LEFT:if(u("onLeftArrow"))return;break;case Ji.SPACE:rg&&ng(r)&&r.preventDefault()}var f=t.props.keyBindingFn(r);if(f==null||f===""){if(i===Ji.SPACE&&rg&&ng(r)){var g=cN.replaceText(a.getCurrentContent(),a.getSelection(),"\xA0");t.update(Gm.push(a,g,"insert-characters"))}return}if(f==="undo"){SN(r,a,t.update);return}if(r.preventDefault(),!(t.props.handleKeyCommand&&tg(t.props.handleKeyCommand(f,a,r.timeStamp)))){var y=kN(f,a,r);y!==a&&t.update(y)}}var CN=EN;function xN(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var ON=function(){function t(i){xN(this,"_uri",void 0),this._uri=i}var r=t.prototype;return r.toString=function(){return this._uri},t}(),LN=ON,NN=ur,MN=_t,DN=NN.isBrowser("IE <= 9");function FN(t){var r,i=null;return!DN&&document.implementation&&document.implementation.createHTMLDocument&&(r=document.implementation.createHTMLDocument("foo"),r.documentElement||MN(!1),r.documentElement.innerHTML=t,i=r.getElementsByTagName("body")[0]),i}var ig=FN,PN=ra;function BN(t){return!t||!t.ownerDocument?!1:PN(t)&&t.nodeName==="A"}var AN=BN,KN=ra;function IN(t){return!t||!t.ownerDocument?!1:KN(t)&&t.nodeName==="IMG"}var TN=IN,la;function tf(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){Kn(t,u,i[u])})}return t}function Kn(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var jN=Qr,zN=Wo,RN=$r,HN=Sc,og=mu,ag=LN,Pl=ta,lg=Oi,qN=ig,ug=_o,nf=mt,wo=nf.List,sg=nf.Map,UN=nf.OrderedSet,cg=AN,VN=Uh,rf=Ol,fg=TN,dg=ug("draft_tree_data_support"),QN="&nbsp;",pg=" ",$N=new RegExp("\r","g"),YN=new RegExp(`
50
+ `,"g"),XN=new RegExp(`^
51
+ `,"g"),ZN=new RegExp(QN,"g"),JN=new RegExp("&#13;?","g"),WN=new RegExp("&#8203;?","g"),GN=["bold","bolder","500","600","700","800","900"],eM=["light","lighter","normal","100","200","300","400"],tM=["className","href","rel","target","title"],nM=["alt","className","height","src","width"],hg=(la={},Kn(la,Pl("public/DraftStyleDefault/depth0"),0),Kn(la,Pl("public/DraftStyleDefault/depth1"),1),Kn(la,Pl("public/DraftStyleDefault/depth2"),2),Kn(la,Pl("public/DraftStyleDefault/depth3"),3),Kn(la,Pl("public/DraftStyleDefault/depth4"),4),la),mg=sg({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),rM=function(t){var r={};return t.mapKeys(function(i,a){var u=[a.element];a.aliasedElements!==void 0&&u.push.apply(u,a.aliasedElements),u.forEach(function(f){r[f]===void 0?r[f]=i:typeof r[f]=="string"?r[f]=[r[f],i]:r[f].push(i)})}),sg(r)},iM=function(t){if(rf(t)){var r=t;if(r.style.fontFamily.includes("monospace"))return"CODE"}return null},oM=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Object.keys(hg).some(function(i){t.classList.contains(i)&&(r=hg[i])}),r},aM=function(t){if(!cg(t))return!1;var r=t;if(!r.href||r.protocol!=="http:"&&r.protocol!=="https:"&&r.protocol!=="mailto:"&&r.protocol!=="tel:")return!1;try{var i=new ag(r.href);return!0}catch{return!1}},lM=function(t){if(!fg(t))return!1;var r=t;return!!(r.attributes.getNamedItem("src")&&r.attributes.getNamedItem("src").value)},uM=function(t,r){if(!rf(t))return r;var i=t,a=i.style.fontWeight,u=i.style.fontStyle,f=i.style.textDecoration;return r.withMutations(function(g){GN.indexOf(a)>=0?g.add("BOLD"):eM.indexOf(a)>=0&&g.remove("BOLD"),u==="italic"?g.add("ITALIC"):u==="normal"&&g.remove("ITALIC"),f==="underline"&&g.add("UNDERLINE"),f==="line-through"&&g.add("STRIKETHROUGH"),f==="none"&&(g.remove("UNDERLINE"),g.remove("STRIKETHROUGH"))})},of=function(t){return t==="ul"||t==="ol"},sM=function(){function t(i,a){Kn(this,"characterList",wo()),Kn(this,"currentBlockType","unstyled"),Kn(this,"currentDepth",0),Kn(this,"currentEntity",null),Kn(this,"currentText",""),Kn(this,"wrapper",null),Kn(this,"blockConfigs",[]),Kn(this,"contentBlocks",[]),Kn(this,"entityMap",og),Kn(this,"blockTypeMap",void 0),Kn(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=i,this.disambiguate=a}var r=t.prototype;return r.clear=function(){this.characterList=wo(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=og,this.wrapper=null,this.contentBlocks=[]},r.addDOMNode=function(i){var a;return this.contentBlocks=[],this.currentDepth=0,(a=this.blockConfigs).push.apply(a,this._toBlockConfigs([i],UN())),this._trimCurrentText(),this.currentText!==""&&this.blockConfigs.push(this._makeBlockConfig()),this},r.getContentBlocks=function(){return this.contentBlocks.length===0&&(dg?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},r._makeBlockConfig=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=i.key||lg(),u=tf({key:a,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:wo(),prevSibling:null,nextSibling:null,childConfigs:[]},i);return this.characterList=wo(),this.currentBlockType="unstyled",this.currentText="",u},r._toBlockConfigs=function(i,a){for(var u=[],f=0;f<i.length;f++){var g=i[f],y=g.nodeName.toLowerCase();if(y==="body"||of(y)){this._trimCurrentText(),this.currentText!==""&&u.push(this._makeBlockConfig());var b=this.currentDepth,k=this.wrapper;of(y)&&(this.wrapper=y,of(k)&&this.currentDepth++),u.push.apply(u,this._toBlockConfigs(Array.from(g.childNodes),a)),this.currentDepth=b,this.wrapper=k;continue}var L=this.blockTypeMap.get(y);if(L!==void 0){this._trimCurrentText(),this.currentText!==""&&u.push(this._makeBlockConfig());var B=this.currentDepth,M=this.wrapper;if(this.wrapper=y==="pre"?"pre":this.wrapper,typeof L!="string"&&(L=this.disambiguate(y,this.wrapper)||L[0]||"unstyled"),!dg&&rf(g)&&(L==="unordered-list-item"||L==="ordered-list-item")){var j=g;this.currentDepth=oM(j,this.currentDepth)}var P=lg(),K=this._toBlockConfigs(Array.from(g.childNodes),a);this._trimCurrentText(),u.push(this._makeBlockConfig({key:P,childConfigs:K,type:L})),this.currentDepth=B,this.wrapper=M;continue}if(y==="#text"){this._addTextNode(g,a);continue}if(y==="br"){this._addBreakNode(g,a);continue}if(lM(g)){this._addImgNode(g,a);continue}if(aM(g)){this._addAnchorNode(g,u,a);continue}var T=a;mg.has(y)&&(T=T.add(mg.get(y))),T=uM(g,T);var ne=iM(g);ne!=null&&(T=T.add(ne)),u.push.apply(u,this._toBlockConfigs(Array.from(g.childNodes),T))}return u},r._appendText=function(i,a){var u;this.currentText+=i;var f=jN.create({style:a,entity:this.currentEntity});this.characterList=(u=this.characterList).push.apply(u,Array(i.length).fill(f))},r._trimCurrentText=function(){var i=this.currentText.length,a=i-this.currentText.trimLeft().length,u=this.currentText.trimRight().length,f=this.characterList.findEntry(function(g){return g.getEntity()!==null});a=f!==void 0?Math.min(a,f[0]):a,f=this.characterList.reverse().findEntry(function(g){return g.getEntity()!==null}),u=f!==void 0?Math.max(u,i-f[0]):u,a>u?(this.currentText="",this.characterList=wo()):(this.currentText=this.currentText.slice(a,u),this.characterList=this.characterList.slice(a,u))},r._addTextNode=function(i,a){var u=i.textContent,f=u.trim();f===""&&this.wrapper!=="pre"&&(u=" "),this.wrapper!=="pre"&&(u=u.replace(XN,""),u=u.replace(YN,pg)),this._appendText(u,a)},r._addBreakNode=function(i,a){VN(i)&&this._appendText(`
52
+ `,a)},r._addImgNode=function(i,a){if(fg(i)){var u=i,f={};nM.forEach(function(g){var y=u.getAttribute(g);y&&(f[g]=y)}),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",f),ug("draftjs_fix_paste_for_img")?u.getAttribute("role")!=="presentation"&&this._appendText("\u{1F4F7}",a):this._appendText("\u{1F4F7}",a),this.currentEntity=null}},r._addAnchorNode=function(i,a,u){if(cg(i)){var f=i,g={};tM.forEach(function(y){var b=f.getAttribute(y);b&&(g[y]=b)}),g.url=new ag(f.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",g||{}),a.push.apply(a,this._toBlockConfigs(Array.from(i.childNodes),u)),this.currentEntity=null}},r._toContentBlocks=function(i){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,u=i.length-1,f=0;f<=u;f++){var g=i[f];g.parent=a,g.prevSibling=f>0?i[f-1].key:null,g.nextSibling=f<u?i[f+1].key:null,g.children=wo(g.childConfigs.map(function(y){return y.key})),this.contentBlocks.push(new RN(tf({},g))),this._toContentBlocks(g.childConfigs,g.key)}},r._hoistContainersInBlockConfigs=function(i){var a=this,u=wo(i).flatMap(function(f){return f.type!=="unstyled"||f.text!==""?[f]:a._hoistContainersInBlockConfigs(f.childConfigs)});return u},r._toFlatContentBlocks=function(i){var a=this,u=this._hoistContainersInBlockConfigs(i);u.forEach(function(f){var g=a._extractTextFromBlockConfigs(f.childConfigs),y=g.text,b=g.characterList;a.contentBlocks.push(new zN(tf({},f,{text:f.text+y,characterList:f.characterList.concat(b)})))})},r._extractTextFromBlockConfigs=function(i){for(var a=i.length-1,u="",f=wo(),g=0;g<=a;g++){var y=i[g];u+=y.text,f=f.concat(y.characterList),u!==""&&y.type!=="unstyled"&&(u+=`
53
+ `,f=f.push(f.last()));var b=this._extractTextFromBlockConfigs(y.childConfigs);u+=b.text,f=f.concat(b.characterList)}return{text:u,characterList:f}},t}(),cM=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qN,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:HN;t=t.trim().replace($N,"").replace(ZN,pg).replace(JN,"").replace(WN,"");var a=r(t);if(!a)return null;var u=rM(i),f=function(g,y){return g==="li"?y==="ol"?"ordered-list-item":"unordered-list-item":null};return new sM(u,f).addDOMNode(a).getContentBlocks()},gg=cM;function fM(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){dM(t,u,i[u])})}return t}function dM(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var pM=Wo,hM=$r,mM=gg,gM=Oi,vM=ig,yM=_o,vg=mt,bM=Bp,_M=vg.List,wM=vg.Repeat,yg=yM("draft_tree_data_support"),SM=yg?hM:pM,kM={processHTML:function(t,r){return mM(t,vM,r)},processText:function(t,r,i){return t.reduce(function(a,u,f){u=bM(u);var g=gM(),y={key:g,type:i,text:u,characterList:_M(wM(r,u.length))};if(yg&&f!==0){var b=f-1,k=a[b]=a[b].merge({nextSibling:g});y=fM({},y,{prevSibling:k.getKey()})}return a.push(new SM(y)),a},[])}},EM=kM;function CM(t,r,i,a){var u=r.getStartKey(),f=r.getEndKey(),g=t.getBlockMap(),y=g.toSeq().skipUntil(function(b,k){return k===u}).takeUntil(function(b,k){return k===f}).concat([[f,g.get(f)]]).map(function(b){var k=b.getDepth()+i;return k=Math.max(0,Math.min(k,a)),b.set("depth",k)});return g=g.merge(y),t.merge({blockMap:g,selectionBefore:r,selectionAfter:r})}var xM=CM,ua=ar,Di=zt,OM=xM,LM=lr,Fi={currentBlockContainsLink:function(t){var r=t.getSelection(),i=t.getCurrentContent(),a=i.getEntityMap();return i.getBlockForKey(r.getAnchorKey()).getCharacterList().slice(r.getStartOffset(),r.getEndOffset()).some(function(u){var f=u.getEntity();return!!f&&a.__get(f).getType()==="LINK"})},getCurrentBlockType:function(t){var r=t.getSelection();return t.getCurrentContent().getBlockForKey(r.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,r,i){switch(r){case"bold":return Fi.toggleInlineStyle(t,"BOLD");case"italic":return Fi.toggleInlineStyle(t,"ITALIC");case"underline":return Fi.toggleInlineStyle(t,"UNDERLINE");case"code":return Fi.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return Fi.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return Fi.onDelete(t);default:return null}},insertSoftNewline:function(t){var r=ua.insertText(t.getCurrentContent(),t.getSelection(),`
54
+ `,t.getCurrentInlineStyle(),null),i=Di.push(t,r,"insert-characters");return Di.forceSelection(i,r.getSelectionAfter())},onBackspace:function(t){var r=t.getSelection();if(!r.isCollapsed()||r.getAnchorOffset()||r.getFocusOffset())return null;var i=t.getCurrentContent(),a=r.getStartKey(),u=i.getBlockBefore(a);if(u&&u.getType()==="atomic"){var f=i.getBlockMap().delete(u.getKey()),g=i.merge({blockMap:f,selectionAfter:r});if(g!==i)return Di.push(t,g,"remove-range")}var y=Fi.tryToRemoveBlockStyle(t);return y?Di.push(t,y,"change-block-type"):null},onDelete:function(t){var r=t.getSelection();if(!r.isCollapsed())return null;var i=t.getCurrentContent(),a=r.getStartKey(),u=i.getBlockForKey(a),f=u.getLength();if(r.getStartOffset()<f)return null;var g=i.getBlockAfter(a);if(!g||g.getType()!=="atomic")return null;var y=r.merge({focusKey:g.getKey(),focusOffset:g.getLength()}),b=ua.removeRange(i,y,"forward");return b!==i?Di.push(t,b,"remove-range"):null},onTab:function(t,r,i){var a=r.getSelection(),u=a.getAnchorKey();if(u!==a.getFocusKey())return r;var f=r.getCurrentContent(),g=f.getBlockForKey(u),y=g.getType();if(y!=="unordered-list-item"&&y!=="ordered-list-item")return r;t.preventDefault();var b=g.getDepth();if(!t.shiftKey&&b===i)return r;var k=OM(f,a,t.shiftKey?-1:1,i);return Di.push(r,k,"adjust-depth")},toggleBlockType:function(t,r){var i=t.getSelection(),a=i.getStartKey(),u=i.getEndKey(),f=t.getCurrentContent(),g=i;if(a!==u&&i.getEndOffset()===0){var y=LM(f.getBlockBefore(u));u=y.getKey(),g=g.merge({anchorKey:a,anchorOffset:i.getStartOffset(),focusKey:u,focusOffset:y.getLength(),isBackward:!1})}var b=f.getBlockMap().skipWhile(function(L,B){return B!==a}).reverse().skipWhile(function(L,B){return B!==u}).some(function(L){return L.getType()==="atomic"});if(b)return t;var k=f.getBlockForKey(a).getType()===r?"unstyled":r;return Di.push(t,ua.setBlockType(f,g,k),"change-block-type")},toggleCode:function(t){var r=t.getSelection(),i=r.getAnchorKey(),a=r.getFocusKey();return r.isCollapsed()||i!==a?Fi.toggleBlockType(t,"code-block"):Fi.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,r){var i=t.getSelection(),a=t.getCurrentInlineStyle();if(i.isCollapsed())return Di.setInlineStyleOverride(t,a.has(r)?a.remove(r):a.add(r));var u=t.getCurrentContent(),f;return a.has(r)?f=ua.removeInlineStyle(u,i,r):f=ua.applyInlineStyle(u,i,r),Di.push(t,f,"change-inline-style")},toggleLink:function(t,r,i){var a=ua.applyEntity(t.getCurrentContent(),r,i);return Di.push(t,a,"apply-entity")},tryToRemoveBlockStyle:function(t){var r=t.getSelection(),i=r.getAnchorOffset();if(r.isCollapsed()&&i===0){var a=r.getAnchorKey(),u=t.getCurrentContent(),f=u.getBlockForKey(a),g=f.getType(),y=u.getBlockBefore(a);if(g==="code-block"&&y&&y.getType()==="code-block"&&y.getLength()!==0)return null;if(g!=="unstyled")return ua.setBlockType(u,r,"unstyled")}return null}},bg=Fi,NM=/\r\n?|\n/g;function MM(t){return t.split(NM)}var DM=MM,af=hl,_g=Qr,FM=_m,wg=ar,lf=EM,Sg=zt,kg=bg,Eg=Oc,PM=Sm,Cg=$u,xg=DM;function BM(t,r){r.preventDefault();var i=new FM(r.clipboardData);if(!i.isRichText()){var a=i.getFiles(),u=i.getText();if(a.length>0){if(t.props.handlePastedFiles&&Cg(t.props.handlePastedFiles(a)))return;PM(a,function(Se){if(Se=Se||u,!!Se){var _e=t._latestEditorState,Ie=xg(Se),ve=_g.create({style:_e.getCurrentInlineStyle(),entity:Eg(_e.getCurrentContent(),_e.getSelection())}),ke=kg.getCurrentBlockType(_e),we=lf.processText(Ie,ve,ke),he=af.createFromArray(we),ge=wg.replaceWithFragment(_e.getCurrentContent(),_e.getSelection(),he);t.update(Sg.push(_e,ge,"insert-fragment"))}});return}}var f=[],g=i.getText(),y=i.getHTML(),b=t._latestEditorState;if(t.props.formatPastedText){var k=t.props.formatPastedText(g,y),L=k.text,B=k.html;g=L,y=B}if(!(t.props.handlePastedText&&Cg(t.props.handlePastedText(g,y,b)))){if(g&&(f=xg(g)),!t.props.stripPastedStyles){var M=t.getClipboard();if(!t.props.formatPastedText&&i.isRichText()&&M){var j;if(((j=y)===null||j===void 0?void 0:j.indexOf(t.getEditorKey()))!==-1||f.length===1&&M.size===1&&M.first().getText()===g){t.update(Yu(t._latestEditorState,M));return}}else if(M&&i.types.includes("com.apple.webarchive")&&!i.types.includes("text/html")&&AM(f,M)){t.update(Yu(t._latestEditorState,M));return}if(y){var P=lf.processHTML(y,t.props.blockRenderMap);if(P){var K=P.contentBlocks,T=P.entityMap;if(K){var ne=af.createFromArray(K);t.update(Yu(t._latestEditorState,ne,T));return}}}t.setClipboard(null)}if(f.length){var J=_g.create({style:b.getCurrentInlineStyle(),entity:Eg(b.getCurrentContent(),b.getSelection())}),W=kg.getCurrentBlockType(b),Z=lf.processText(f,J,W),le=af.createFromArray(Z);t.update(Yu(t._latestEditorState,le))}}}function Yu(t,r,i){var a=wg.replaceWithFragment(t.getCurrentContent(),t.getSelection(),r);return Sg.push(t,a.set("entityMap",i),"insert-fragment")}function AM(t,r){return t.length===r.size&&r.valueSeq().every(function(i,a){return i.getText()===t[a]})}var KM=BM,Og=ur,IM=zx,TM=Ux,jM=$x,zM=Wx,RM=sO,HM=fO,qM=pO,UM=gO,VM=YO,QM=CN,$M=KM,Lg=Ih,YM=Og.isBrowser("Chrome"),XM=Og.isBrowser("Firefox"),Ng=YM||XM?Lg:function(t){},ZM={onBeforeInput:IM,onBlur:TM,onCompositionStart:jM,onCopy:zM,onCut:RM,onDragOver:HM,onDragStart:qM,onFocus:UM,onInput:VM,onKeyDown:QM,onPaste:$M,onSelect:Lg,onMouseUp:Ng,onKeyUp:Ng},JM=ZM,uf={},WM={get exports(){return uf},set exports(t){uf=t}},sr={},sf={},GM={get exports(){return sf},set exports(t){sf=t}},Mg={};/**
55
+ * @license React
56
+ * scheduler.production.min.js
57
+ *
58
+ * Copyright (c) Facebook, Inc. and its affiliates.
59
+ *
60
+ * This source code is licensed under the MIT license found in the
61
+ * LICENSE file in the root directory of this source tree.
62
+ */var Dg;function eD(){return Dg||(Dg=1,function(t){function r(ue,fe){var ae=ue.length;ue.push(fe);e:for(;0<ae;){var Ne=ae-1>>>1,Je=ue[Ne];if(0<u(Je,fe))ue[Ne]=fe,ue[ae]=Je,ae=Ne;else break e}}function i(ue){return ue.length===0?null:ue[0]}function a(ue){if(ue.length===0)return null;var fe=ue[0],ae=ue.pop();if(ae!==fe){ue[0]=ae;e:for(var Ne=0,Je=ue.length,kt=Je>>>1;Ne<kt;){var Nt=2*(Ne+1)-1,qe=ue[Nt],je=Nt+1,dt=ue[je];if(0>u(qe,ae))je<Je&&0>u(dt,qe)?(ue[Ne]=dt,ue[je]=ae,Ne=je):(ue[Ne]=qe,ue[Nt]=ae,Ne=Nt);else if(je<Je&&0>u(dt,ae))ue[Ne]=dt,ue[je]=ae,Ne=je;else break e}}return fe}function u(ue,fe){var ae=ue.sortIndex-fe.sortIndex;return ae!==0?ae:ue.id-fe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var f=performance;t.unstable_now=function(){return f.now()}}else{var g=Date,y=g.now();t.unstable_now=function(){return g.now()-y}}var b=[],k=[],L=1,B=null,M=3,j=!1,P=!1,K=!1,T=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function W(ue){for(var fe=i(k);fe!==null;){if(fe.callback===null)a(k);else if(fe.startTime<=ue)a(k),fe.sortIndex=fe.expirationTime,r(b,fe);else break;fe=i(k)}}function Z(ue){if(K=!1,W(ue),!P)if(i(b)!==null)P=!0,De(le);else{var fe=i(k);fe!==null&&Re(Z,fe.startTime-ue)}}function le(ue,fe){P=!1,K&&(K=!1,ne(Ie),Ie=-1),j=!0;var ae=M;try{for(W(fe),B=i(b);B!==null&&(!(B.expirationTime>fe)||ue&&!we());){var Ne=B.callback;if(typeof Ne=="function"){B.callback=null,M=B.priorityLevel;var Je=Ne(B.expirationTime<=fe);fe=t.unstable_now(),typeof Je=="function"?B.callback=Je:B===i(b)&&a(b),W(fe)}else a(b);B=i(b)}if(B!==null)var kt=!0;else{var Nt=i(k);Nt!==null&&Re(Z,Nt.startTime-fe),kt=!1}return kt}finally{B=null,M=ae,j=!1}}var Se=!1,_e=null,Ie=-1,ve=5,ke=-1;function we(){return!(t.unstable_now()-ke<ve)}function he(){if(_e!==null){var ue=t.unstable_now();ke=ue;var fe=!0;try{fe=_e(!0,ue)}finally{fe?ge():(Se=!1,_e=null)}}else Se=!1}var ge;if(typeof J=="function")ge=function(){J(he)};else if(typeof MessageChannel<"u"){var Le=new MessageChannel,Te=Le.port2;Le.port1.onmessage=he,ge=function(){Te.postMessage(null)}}else ge=function(){T(he,0)};function De(ue){_e=ue,Se||(Se=!0,ge())}function Re(ue,fe){Ie=T(function(){ue(t.unstable_now())},fe)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(ue){ue.callback=null},t.unstable_continueExecution=function(){P||j||(P=!0,De(le))},t.unstable_forceFrameRate=function(ue){0>ue||125<ue?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ve=0<ue?Math.floor(1e3/ue):5},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_getFirstCallbackNode=function(){return i(b)},t.unstable_next=function(ue){switch(M){case 1:case 2:case 3:var fe=3;break;default:fe=M}var ae=M;M=fe;try{return ue()}finally{M=ae}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(ue,fe){switch(ue){case 1:case 2:case 3:case 4:case 5:break;default:ue=3}var ae=M;M=ue;try{return fe()}finally{M=ae}},t.unstable_scheduleCallback=function(ue,fe,ae){var Ne=t.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?Ne+ae:Ne):ae=Ne,ue){case 1:var Je=-1;break;case 2:Je=250;break;case 5:Je=1073741823;break;case 4:Je=1e4;break;default:Je=5e3}return Je=ae+Je,ue={id:L++,callback:fe,priorityLevel:ue,startTime:ae,expirationTime:Je,sortIndex:-1},ae>Ne?(ue.sortIndex=ae,r(k,ue),i(b)===null&&ue===i(k)&&(K?(ne(Ie),Ie=-1):K=!0,Re(Z,ae-Ne))):(ue.sortIndex=Je,r(b,ue),P||j||(P=!0,De(le))),ue},t.unstable_shouldYield=we,t.unstable_wrapCallback=function(ue){var fe=M;return function(){var ae=M;M=fe;try{return ue.apply(this,arguments)}finally{M=ae}}}}(Mg)),Mg}var Fg;function tD(){return Fg||(Fg=1,function(t){t.exports=eD()}(GM)),sf}/**
63
+ * @license React
64
+ * react-dom.production.min.js
65
+ *
66
+ * Copyright (c) Facebook, Inc. and its affiliates.
67
+ *
68
+ * This source code is licensed under the MIT license found in the
69
+ * LICENSE file in the root directory of this source tree.
70
+ */var Pg;function nD(){if(Pg)return sr;Pg=1;var t=q,r=tD();function i(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)n+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,u={};function f(e,n){g(e,n),g(e+"Capture",n)}function g(e,n){for(u[e]=n,e=0;e<n.length;e++)a.add(n[e])}var y=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b=Object.prototype.hasOwnProperty,k=/^[: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]*$/,L={},B={};function M(e){return b.call(B,e)?!0:b.call(L,e)?!1:k.test(e)?B[e]=!0:(L[e]=!0,!1)}function j(e,n,o,s){if(o!==null&&o.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return s?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function P(e,n,o,s){if(n===null||typeof n>"u"||j(e,n,o,s))return!0;if(s)return!1;if(o!==null)switch(o.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function K(e,n,o,s,d,m,C){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=s,this.attributeNamespace=d,this.mustUseProperty=o,this.propertyName=e,this.type=n,this.sanitizeURL=m,this.removeEmptyString=C}var T={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){T[e]=new K(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];T[n]=new K(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){T[e]=new K(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){T[e]=new K(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){T[e]=new K(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){T[e]=new K(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){T[e]=new K(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){T[e]=new K(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){T[e]=new K(e,5,!1,e.toLowerCase(),null,!1,!1)});var ne=/[\-:]([a-z])/g;function J(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(ne,J);T[n]=new K(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(ne,J);T[n]=new K(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(ne,J);T[n]=new K(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){T[e]=new K(e,1,!1,e.toLowerCase(),null,!1,!1)}),T.xlinkHref=new K("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){T[e]=new K(e,1,!1,e.toLowerCase(),null,!0,!0)});function W(e,n,o,s){var d=T.hasOwnProperty(n)?T[n]:null;(d!==null?d.type!==0:s||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(P(n,o,d,s)&&(o=null),s||d===null?M(n)&&(o===null?e.removeAttribute(n):e.setAttribute(n,""+o)):d.mustUseProperty?e[d.propertyName]=o===null?d.type===3?!1:"":o:(n=d.attributeName,s=d.attributeNamespace,o===null?e.removeAttribute(n):(d=d.type,o=d===3||d===4&&o===!0?"":""+o,s?e.setAttributeNS(s,n,o):e.setAttribute(n,o))))}var Z=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,le=Symbol.for("react.element"),Se=Symbol.for("react.portal"),_e=Symbol.for("react.fragment"),Ie=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),we=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),ge=Symbol.for("react.suspense"),Le=Symbol.for("react.suspense_list"),Te=Symbol.for("react.memo"),De=Symbol.for("react.lazy"),Re=Symbol.for("react.offscreen"),ue=Symbol.iterator;function fe(e){return e===null||typeof e!="object"?null:(e=ue&&e[ue]||e["@@iterator"],typeof e=="function"?e:null)}var ae=Object.assign,Ne;function Je(e){if(Ne===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);Ne=n&&n[1]||""}return`
71
+ `+Ne+e}var kt=!1;function Nt(e,n){if(!e||kt)return"";kt=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(G){var s=G}Reflect.construct(e,[],n)}else{try{n.call()}catch(G){s=G}e.call(n.prototype)}else{try{throw Error()}catch(G){s=G}e()}}catch(G){if(G&&s&&typeof G.stack=="string"){for(var d=G.stack.split(`
72
+ `),m=s.stack.split(`
73
+ `),C=d.length-1,A=m.length-1;1<=C&&0<=A&&d[C]!==m[A];)A--;for(;1<=C&&0<=A;C--,A--)if(d[C]!==m[A]){if(C!==1||A!==1)do if(C--,A--,0>A||d[C]!==m[A]){var z=`
74
+ `+d[C].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),z}while(1<=C&&0<=A);break}}}finally{kt=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?Je(e):""}function qe(e){switch(e.tag){case 5:return Je(e.type);case 16:return Je("Lazy");case 13:return Je("Suspense");case 19:return Je("SuspenseList");case 0:case 2:case 15:return e=Nt(e.type,!1),e;case 11:return e=Nt(e.type.render,!1),e;case 1:return e=Nt(e.type,!0),e;default:return""}}function je(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _e:return"Fragment";case Se:return"Portal";case ve:return"Profiler";case Ie:return"StrictMode";case ge:return"Suspense";case Le:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case we:return(e.displayName||"Context")+".Consumer";case ke:return(e._context.displayName||"Context")+".Provider";case he:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Te:return n=e.displayName||null,n!==null?n:je(e.type)||"Memo";case De:n=e._payload,e=e._init;try{return je(e(n))}catch{}}return null}function dt(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return je(n);case 8:return n===Ie?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function Bt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function At(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Dt(e){var n=At(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),s=""+e[n];if(!e.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var d=o.get,m=o.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return d.call(this)},set:function(C){s=""+C,m.call(this,C)}}),Object.defineProperty(e,n,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(C){s=""+C},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Et(e){e._valueTracker||(e._valueTracker=Dt(e))}function Zt(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var o=n.getValue(),s="";return e&&(s=At(e)?e.checked?"true":"false":e.value),e=s,e!==o?(n.setValue(e),!0):!1}function $e(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ut(e,n){var o=n.checked;return ae({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function lt(e,n){var o=n.defaultValue==null?"":n.defaultValue,s=n.checked!=null?n.checked:n.defaultChecked;o=Bt(n.value!=null?n.value:o),e._wrapperState={initialChecked:s,initialValue:o,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Ft(e,n){n=n.checked,n!=null&&W(e,"checked",n,!1)}function dn(e,n){Ft(e,n);var o=Bt(n.value),s=n.type;if(o!=null)s==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(s==="submit"||s==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Ct(e,n.type,o):n.hasOwnProperty("defaultValue")&&Ct(e,n.type,Bt(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Mt(e,n,o){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var s=n.type;if(!(s!=="submit"&&s!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,o||n===e.value||(e.value=n),e.defaultValue=n}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function Ct(e,n,o){(n!=="number"||$e(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var rt=Array.isArray;function pt(e,n,o,s){if(e=e.options,n){n={};for(var d=0;d<o.length;d++)n["$"+o[d]]=!0;for(o=0;o<e.length;o++)d=n.hasOwnProperty("$"+e[o].value),e[o].selected!==d&&(e[o].selected=d),d&&s&&(e[o].defaultSelected=!0)}else{for(o=""+Bt(o),n=null,d=0;d<e.length;d++){if(e[d].value===o){e[d].selected=!0,s&&(e[d].defaultSelected=!0);return}n!==null||e[d].disabled||(n=e[d])}n!==null&&(n.selected=!0)}}function Pt(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(i(91));return ae({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Pe(e,n){var o=n.value;if(o==null){if(o=n.children,n=n.defaultValue,o!=null){if(n!=null)throw Error(i(92));if(rt(o)){if(1<o.length)throw Error(i(93));o=o[0]}n=o}n==null&&(n=""),o=n}e._wrapperState={initialValue:Bt(o)}}function nt(e,n){var o=Bt(n.value),s=Bt(n.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),n.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),s!=null&&(e.defaultValue=""+s)}function Ze(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function ht(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ge(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?ht(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var wn,ct=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,o,s,d){MSApp.execUnsafeLocalFunction(function(){return e(n,o,s,d)})}:e}(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(wn=wn||document.createElement("div"),wn.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=wn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Sn(e,n){if(n){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=n;return}}e.textContent=n}var Jt={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},cr=["Webkit","ms","Moz","O"];Object.keys(Jt).forEach(function(e){cr.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Jt[n]=Jt[e]})});function qn(e,n,o){return n==null||typeof n=="boolean"||n===""?"":o||typeof n!="number"||n===0||Jt.hasOwnProperty(e)&&Jt[e]?(""+n).trim():n+"px"}function Gi(e,n){e=e.style;for(var o in n)if(n.hasOwnProperty(o)){var s=o.indexOf("--")===0,d=qn(o,n[o],s);o==="float"&&(o="cssFloat"),s?e.setProperty(o,d):e[o]=d}}var Kt=ae({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function vi(e,n){if(n){if(Kt[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(i(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(i(61))}if(n.style!=null&&typeof n.style!="object")throw Error(i(62))}}function $t(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var yi=null;function ln(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Rt=null,Tn=null,it=null;function Un(e){if(e=$l(e)){if(typeof Rt!="function")throw Error(i(280));var n=e.stateNode;n&&(n=ps(n),Rt(e.stateNode,e.type,n))}}function Vn(e){Tn?it?it.push(e):it=[e]:Tn=e}function Jn(){if(Tn){var e=Tn,n=it;if(it=Tn=null,Un(e),n)for(e=0;e<n.length;e++)Un(n[e])}}function kn(e,n){return e(n)}function xr(){}var It=!1;function eo(e,n,o){if(It)return e(n,o);It=!0;try{return kn(e,n,o)}finally{It=!1,(Tn!==null||it!==null)&&(xr(),Jn())}}function Wn(e,n){var o=e.stateNode;if(o===null)return null;var s=ps(o);if(s===null)return null;o=s[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(i(231,n,typeof o));return o}var bi=!1;if(y)try{var Or={};Object.defineProperty(Or,"passive",{get:function(){bi=!0}}),window.addEventListener("test",Or,Or),window.removeEventListener("test",Or,Or)}catch{bi=!1}function to(e,n,o,s,d,m,C,A,z){var G=Array.prototype.slice.call(arguments,3);try{n.apply(o,G)}catch(ce){this.onError(ce)}}var Zr=!1,Jr=null,Wr=!1,fr=null,dr={onError:function(e){Zr=!0,Jr=e}};function Ai(e,n,o,s,d,m,C,A,z){Zr=!1,Jr=null,to.apply(dr,arguments)}function no(e,n,o,s,d,m,C,A,z){if(Ai.apply(this,arguments),Zr){if(Zr){var G=Jr;Zr=!1,Jr=null}else throw Error(i(198));Wr||(Wr=!0,fr=G)}}function Gn(e){var n=e,o=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,n.flags&4098&&(o=n.return),e=n.return;while(e)}return n.tag===3?o:null}function pr(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function pn(e){if(Gn(e)!==e)throw Error(i(188))}function ot(e){var n=e.alternate;if(!n){if(n=Gn(e),n===null)throw Error(i(188));return n!==e?null:e}for(var o=e,s=n;;){var d=o.return;if(d===null)break;var m=d.alternate;if(m===null){if(s=d.return,s!==null){o=s;continue}break}if(d.child===m.child){for(m=d.child;m;){if(m===o)return pn(d),e;if(m===s)return pn(d),n;m=m.sibling}throw Error(i(188))}if(o.return!==s.return)o=d,s=m;else{for(var C=!1,A=d.child;A;){if(A===o){C=!0,o=d,s=m;break}if(A===s){C=!0,s=d,o=m;break}A=A.sibling}if(!C){for(A=m.child;A;){if(A===o){C=!0,o=m,s=d;break}if(A===s){C=!0,s=m,o=d;break}A=A.sibling}if(!C)throw Error(i(189))}}if(o.alternate!==s)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:n}function Lr(e){return e=ot(e),e!==null?Nr(e):null}function Nr(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Nr(e);if(n!==null)return n;e=e.sibling}return null}var tt=r.unstable_scheduleCallback,Mr=r.unstable_cancelCallback,Dr=r.unstable_shouldYield,Gr=r.unstable_requestPaint,gt=r.unstable_now,Tt=r.unstable_getCurrentPriorityLevel,ei=r.unstable_ImmediatePriority,ti=r.unstable_UserBlockingPriority,Fr=r.unstable_NormalPriority,Ki=r.unstable_LowPriority,hr=r.unstable_IdlePriority,Yt=null,Nn=null;function Pr(e){if(Nn&&typeof Nn.onCommitFiberRoot=="function")try{Nn.onCommitFiberRoot(Yt,e,void 0,(e.current.flags&128)===128)}catch{}}var rn=Math.clz32?Math.clz32:io,_i=Math.log,ro=Math.LN2;function io(e){return e>>>=0,e===0?32:31-(_i(e)/ro|0)|0}var Br=64,mr=4194304;function Ar(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Kr(e,n){var o=e.pendingLanes;if(o===0)return 0;var s=0,d=e.suspendedLanes,m=e.pingedLanes,C=o&268435455;if(C!==0){var A=C&~d;A!==0?s=Ar(A):(m&=C,m!==0&&(s=Ar(m)))}else C=o&~d,C!==0?s=Ar(C):m!==0&&(s=Ar(m));if(s===0)return 0;if(n!==0&&n!==s&&!(n&d)&&(d=s&-s,m=n&-n,d>=m||d===16&&(m&4194240)!==0))return n;if(s&4&&(s|=o&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=s;0<n;)o=31-rn(n),d=1<<o,s|=e[o],n&=~d;return s}function p(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function w(e,n){for(var o=e.suspendedLanes,s=e.pingedLanes,d=e.expirationTimes,m=e.pendingLanes;0<m;){var C=31-rn(m),A=1<<C,z=d[C];z===-1?(!(A&o)||A&s)&&(d[C]=p(A,n)):z<=n&&(e.expiredLanes|=A),m&=~A}}function O(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function F(){var e=Br;return Br<<=1,!(Br&4194240)&&(Br=64),e}function $(e){for(var n=[],o=0;31>o;o++)n.push(e);return n}function U(e,n,o){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-rn(n),e[n]=o}function ie(e,n){var o=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var s=e.eventTimes;for(e=e.expirationTimes;0<o;){var d=31-rn(o),m=1<<d;n[d]=0,s[d]=-1,e[d]=-1,o&=~m}}function me(e,n){var o=e.entangledLanes|=n;for(e=e.entanglements;o;){var s=31-rn(o),d=1<<s;d&n|e[s]&n&&(e[s]|=n),o&=~d}}var be=0;function Ee(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var We,wt,xt,Wt,on,gr=!1,hn=[],jn=null,mn=null,er=null,Mn=new Map,zn=new Map,Ir=[],ni="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function oo(e,n){switch(e){case"focusin":case"focusout":jn=null;break;case"dragenter":case"dragleave":mn=null;break;case"mouseover":case"mouseout":er=null;break;case"pointerover":case"pointerout":Mn.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":zn.delete(n.pointerId)}}function Tr(e,n,o,s,d,m){return e===null||e.nativeEvent!==m?(e={blockedOn:n,domEventName:o,eventSystemFlags:s,nativeEvent:m,targetContainers:[d]},n!==null&&(n=$l(n),n!==null&&wt(n)),e):(e.eventSystemFlags|=s,n=e.targetContainers,d!==null&&n.indexOf(d)===-1&&n.push(d),e)}function qt(e,n,o,s,d){switch(n){case"focusin":return jn=Tr(jn,e,n,o,s,d),!0;case"dragenter":return mn=Tr(mn,e,n,o,s,d),!0;case"mouseover":return er=Tr(er,e,n,o,s,d),!0;case"pointerover":var m=d.pointerId;return Mn.set(m,Tr(Mn.get(m)||null,e,n,o,s,d)),!0;case"gotpointercapture":return m=d.pointerId,zn.set(m,Tr(zn.get(m)||null,e,n,o,s,d)),!0}return!1}function tr(e){var n=ga(e.target);if(n!==null){var o=Gn(n);if(o!==null){if(n=o.tag,n===13){if(n=pr(o),n!==null){e.blockedOn=n,on(e.priority,function(){xt(o)});return}}else if(n===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ri(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var o=Ti(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var s=new o.constructor(o.type,o);yi=s,o.target.dispatchEvent(s),yi=null}else return n=$l(o),n!==null&&wt(n),e.blockedOn=o,!1;n.shift()}return!0}function Ii(e,n,o){ri(e)&&o.delete(n)}function vt(){gr=!1,jn!==null&&ri(jn)&&(jn=null),mn!==null&&ri(mn)&&(mn=null),er!==null&&ri(er)&&(er=null),Mn.forEach(Ii),zn.forEach(Ii)}function vr(e,n){e.blockedOn===n&&(e.blockedOn=null,gr||(gr=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,vt)))}function Gt(e){function n(d){return vr(d,e)}if(0<hn.length){vr(hn[0],e);for(var o=1;o<hn.length;o++){var s=hn[o];s.blockedOn===e&&(s.blockedOn=null)}}for(jn!==null&&vr(jn,e),mn!==null&&vr(mn,e),er!==null&&vr(er,e),Mn.forEach(n),zn.forEach(n),o=0;o<Ir.length;o++)s=Ir[o],s.blockedOn===e&&(s.blockedOn=null);for(;0<Ir.length&&(o=Ir[0],o.blockedOn===null);)tr(o),o.blockedOn===null&&Ir.shift()}var En=Z.ReactCurrentBatchConfig,gn=!0;function jr(e,n,o,s){var d=be,m=En.transition;En.transition=null;try{be=1,ao(e,n,o,s)}finally{be=d,En.transition=m}}function ii(e,n,o,s){var d=be,m=En.transition;En.transition=null;try{be=4,ao(e,n,o,s)}finally{be=d,En.transition=m}}function ao(e,n,o,s){if(gn){var d=Ti(e,n,o,s);if(d===null)Bf(e,n,s,oi,o),oo(e,s);else if(qt(d,e,n,o,s))s.stopPropagation();else if(oo(e,s),n&4&&-1<ni.indexOf(e)){for(;d!==null;){var m=$l(d);if(m!==null&&We(m),m=Ti(e,n,o,s),m===null&&Bf(e,n,s,oi,o),m===d)break;d=m}d!==null&&s.stopPropagation()}else Bf(e,n,s,null,o)}}var oi=null;function Ti(e,n,o,s){if(oi=null,e=ln(s),e=ga(e),e!==null)if(n=Gn(e),n===null)e=null;else if(o=n.tag,o===13){if(e=pr(n),e!==null)return e;e=null}else if(o===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return oi=e,null}function ca(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Tt()){case ei:return 1;case ti:return 4;case Fr:case Ki:return 16;case hr:return 536870912;default:return 16}default:return 16}}var zr=null,ji=null,Lo=null;function fa(){if(Lo)return Lo;var e,n=ji,o=n.length,s,d="value"in zr?zr.value:zr.textContent,m=d.length;for(e=0;e<o&&n[e]===d[e];e++);var C=o-e;for(s=1;s<=C&&n[o-s]===d[m-s];s++);return Lo=d.slice(e,1<s?1-s:void 0)}function wi(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function zi(){return!0}function lo(){return!1}function Cn(e){function n(o,s,d,m,C){this._reactName=o,this._targetInst=d,this.type=s,this.nativeEvent=m,this.target=C,this.currentTarget=null;for(var A in e)e.hasOwnProperty(A)&&(o=e[A],this[A]=o?o(m):m[A]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?zi:lo,this.isPropagationStopped=lo,this}return ae(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=zi)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=zi)},persist:function(){},isPersistent:zi}),n}var nr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yr=Cn(nr),Ri=ae({},nr,{view:0,detail:0}),uo=Cn(Ri),ft,ai,Rr,Hi=ae({},Ri,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:co,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Rr&&(Rr&&e.type==="mousemove"?(ft=e.screenX-Rr.screenX,ai=e.screenY-Rr.screenY):ai=ft=0,Rr=e),ft)},movementY:function(e){return"movementY"in e?e.movementY:ai}}),Qn=Cn(Hi),No=ae({},Hi,{dataTransfer:0}),Mo=Cn(No),Dn=ae({},Ri,{relatedTarget:0}),vn=Cn(Dn),en=ae({},nr,{animationName:0,elapsedTime:0,pseudoElement:0}),Do=Cn(en),da=ae({},nr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Fo=Cn(da),qa=ae({},nr,{data:0}),Ot=Cn(qa),qi={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},so={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Fn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Po(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=Fn[e])?!!n[e]:!1}function co(){return Po}var Bo=ae({},Ri,{key:function(e){if(e.key){var n=qi[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=wi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?so[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:co,charCode:function(e){return e.type==="keypress"?wi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?wi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ao=Cn(Bo),h=ae({},Hi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_=Cn(h),x=ae({},Ri,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:co}),D=Cn(x),Y=ae({},nr,{propertyName:0,elapsedTime:0,pseudoElement:0}),V=Cn(Y),te=ae({},Hi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),pe=Cn(te),He=[9,13,27,32],Ye=y&&"CompositionEvent"in window,Ue=null;y&&"documentMode"in document&&(Ue=document.documentMode);var Lt=y&&"TextEvent"in window&&!Ue,yn=y&&(!Ye||Ue&&8<Ue&&11>=Ue),Ut=String.fromCharCode(32),St=!1;function li(e,n){switch(e){case"keyup":return He.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ui=!1;function Ua(e,n){switch(e){case"compositionend":return pa(n);case"keypress":return n.which!==32?null:(St=!0,Ut);case"textInput":return e=n.data,e===Ut&&St?null:e;default:return null}}function rs(e,n){if(ui)return e==="compositionend"||!Ye&&li(e,n)?(e=fa(),Lo=ji=zr=null,ui=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return yn&&n.locale!=="ko"?null:n.data;default:return null}}var is={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function os(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!is[e.type]:n==="textarea"}function Rl(e,n,o,s){Vn(s),n=cs(n,"onChange"),0<n.length&&(o=new yr("onChange","change",null,o,s),e.push({event:o,listeners:n}))}var ha=null,ma=null;function as(e){qv(e,0)}function Va(e){var n=Za(e);if(Zt(n))return e}function l(e,n){if(e==="change")return n}var c=!1;if(y){var v;if(y){var S="oninput"in document;if(!S){var E=document.createElement("div");E.setAttribute("oninput","return;"),S=typeof E.oninput=="function"}v=S}else v=!1;c=v&&(!document.documentMode||9<document.documentMode)}function N(){ha&&(ha.detachEvent("onpropertychange",I),ma=ha=null)}function I(e){if(e.propertyName==="value"&&Va(ma)){var n=[];Rl(n,ma,e,ln(e)),eo(as,n)}}function H(e,n,o){e==="focusin"?(N(),ha=n,ma=o,ha.attachEvent("onpropertychange",I)):e==="focusout"&&N()}function ee(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Va(ma)}function re(e,n){if(e==="click")return Va(n)}function oe(e,n){if(e==="input"||e==="change")return Va(n)}function xe(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Ce=typeof Object.is=="function"?Object.is:xe;function Xe(e,n){if(Ce(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var o=Object.keys(e),s=Object.keys(n);if(o.length!==s.length)return!1;for(s=0;s<o.length;s++){var d=o[s];if(!b.call(n,d)||!Ce(e[d],n[d]))return!1}return!0}function at(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function jt(e,n){var o=at(e);e=0;for(var s;o;){if(o.nodeType===3){if(s=e+o.textContent.length,e<=n&&s>=n)return{node:o,offset:n-e};e=s}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=at(o)}}function br(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?br(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Hr(){for(var e=window,n=$e();n instanceof e.HTMLIFrameElement;){try{var o=typeof n.contentWindow.location.href=="string"}catch{o=!1}if(o)e=n.contentWindow;else break;n=$e(e.document)}return n}function Ko(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function $3(e){var n=Hr(),o=e.focusedElem,s=e.selectionRange;if(n!==o&&o&&o.ownerDocument&&br(o.ownerDocument.documentElement,o)){if(s!==null&&Ko(o)){if(n=s.start,e=s.end,e===void 0&&(e=n),"selectionStart"in o)o.selectionStart=n,o.selectionEnd=Math.min(e,o.value.length);else if(e=(n=o.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var d=o.textContent.length,m=Math.min(s.start,d);s=s.end===void 0?m:Math.min(s.end,d),!e.extend&&m>s&&(d=s,s=m,m=d),d=jt(o,m);var C=jt(o,s);d&&C&&(e.rangeCount!==1||e.anchorNode!==d.node||e.anchorOffset!==d.offset||e.focusNode!==C.node||e.focusOffset!==C.offset)&&(n=n.createRange(),n.setStart(d.node,d.offset),e.removeAllRanges(),m>s?(e.addRange(n),e.extend(C.node,C.offset)):(n.setEnd(C.node,C.offset),e.addRange(n)))}}for(n=[],e=o;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<n.length;o++)e=n[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Y3=y&&"documentMode"in document&&11>=document.documentMode,Qa=null,Lf=null,Hl=null,Nf=!1;function Bv(e,n,o){var s=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Nf||Qa==null||Qa!==$e(s)||(s=Qa,"selectionStart"in s&&Ko(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Hl&&Xe(Hl,s)||(Hl=s,s=cs(Lf,"onSelect"),0<s.length&&(n=new yr("onSelect","select",null,n,o),e.push({event:n,listeners:s}),n.target=Qa)))}function ls(e,n){var o={};return o[e.toLowerCase()]=n.toLowerCase(),o["Webkit"+e]="webkit"+n,o["Moz"+e]="moz"+n,o}var $a={animationend:ls("Animation","AnimationEnd"),animationiteration:ls("Animation","AnimationIteration"),animationstart:ls("Animation","AnimationStart"),transitionend:ls("Transition","TransitionEnd")},Mf={},Av={};y&&(Av=document.createElement("div").style,"AnimationEvent"in window||(delete $a.animationend.animation,delete $a.animationiteration.animation,delete $a.animationstart.animation),"TransitionEvent"in window||delete $a.transitionend.transition);function us(e){if(Mf[e])return Mf[e];if(!$a[e])return e;var n=$a[e],o;for(o in n)if(n.hasOwnProperty(o)&&o in Av)return Mf[e]=n[o];return e}var Kv=us("animationend"),Iv=us("animationiteration"),Tv=us("animationstart"),jv=us("transitionend"),zv=new Map,Rv="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Io(e,n){zv.set(e,n),f(n,[e])}for(var Df=0;Df<Rv.length;Df++){var Ff=Rv[Df],X3=Ff.toLowerCase(),Z3=Ff[0].toUpperCase()+Ff.slice(1);Io(X3,"on"+Z3)}Io(Kv,"onAnimationEnd"),Io(Iv,"onAnimationIteration"),Io(Tv,"onAnimationStart"),Io("dblclick","onDoubleClick"),Io("focusin","onFocus"),Io("focusout","onBlur"),Io(jv,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),f("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),f("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),f("onBeforeInput",["compositionend","keypress","textInput","paste"]),f("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ql="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),J3=new Set("cancel close invalid load scroll toggle".split(" ").concat(ql));function Hv(e,n,o){var s=e.type||"unknown-event";e.currentTarget=o,no(s,n,void 0,e),e.currentTarget=null}function qv(e,n){n=(n&4)!==0;for(var o=0;o<e.length;o++){var s=e[o],d=s.event;s=s.listeners;e:{var m=void 0;if(n)for(var C=s.length-1;0<=C;C--){var A=s[C],z=A.instance,G=A.currentTarget;if(A=A.listener,z!==m&&d.isPropagationStopped())break e;Hv(d,A,G),m=z}else for(C=0;C<s.length;C++){if(A=s[C],z=A.instance,G=A.currentTarget,A=A.listener,z!==m&&d.isPropagationStopped())break e;Hv(d,A,G),m=z}}}if(Wr)throw e=fr,Wr=!1,fr=null,e}function Vt(e,n){var o=n[zf];o===void 0&&(o=n[zf]=new Set);var s=e+"__bubble";o.has(s)||(Uv(n,e,2,!1),o.add(s))}function Pf(e,n,o){var s=0;n&&(s|=4),Uv(o,e,s,n)}var ss="_reactListening"+Math.random().toString(36).slice(2);function Ul(e){if(!e[ss]){e[ss]=!0,a.forEach(function(o){o!=="selectionchange"&&(J3.has(o)||Pf(o,!1,e),Pf(o,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[ss]||(n[ss]=!0,Pf("selectionchange",!1,n))}}function Uv(e,n,o,s){switch(ca(n)){case 1:var d=jr;break;case 4:d=ii;break;default:d=ao}o=d.bind(null,n,o,e),d=void 0,!bi||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(d=!0),s?d!==void 0?e.addEventListener(n,o,{capture:!0,passive:d}):e.addEventListener(n,o,!0):d!==void 0?e.addEventListener(n,o,{passive:d}):e.addEventListener(n,o,!1)}function Bf(e,n,o,s,d){var m=s;if(!(n&1)&&!(n&2)&&s!==null)e:for(;;){if(s===null)return;var C=s.tag;if(C===3||C===4){var A=s.stateNode.containerInfo;if(A===d||A.nodeType===8&&A.parentNode===d)break;if(C===4)for(C=s.return;C!==null;){var z=C.tag;if((z===3||z===4)&&(z=C.stateNode.containerInfo,z===d||z.nodeType===8&&z.parentNode===d))return;C=C.return}for(;A!==null;){if(C=ga(A),C===null)return;if(z=C.tag,z===5||z===6){s=m=C;continue e}A=A.parentNode}}s=s.return}eo(function(){var G=m,ce=ln(o),de=[];e:{var se=zv.get(e);if(se!==void 0){var Oe=yr,Fe=e;switch(e){case"keypress":if(wi(o)===0)break e;case"keydown":case"keyup":Oe=Ao;break;case"focusin":Fe="focus",Oe=vn;break;case"focusout":Fe="blur",Oe=vn;break;case"beforeblur":case"afterblur":Oe=vn;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Oe=Qn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Oe=Mo;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Oe=D;break;case Kv:case Iv:case Tv:Oe=Do;break;case jv:Oe=V;break;case"scroll":Oe=uo;break;case"wheel":Oe=pe;break;case"copy":case"cut":case"paste":Oe=Fo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Oe=_}var Be=(n&4)!==0,un=!Be&&e==="scroll",Q=Be?se!==null?se+"Capture":null:se;Be=[];for(var R=G,X;R!==null;){X=R;var ye=X.stateNode;if(X.tag===5&&ye!==null&&(X=ye,Q!==null&&(ye=Wn(R,Q),ye!=null&&Be.push(Vl(R,ye,X)))),un)break;R=R.return}0<Be.length&&(se=new Oe(se,Fe,null,o,ce),de.push({event:se,listeners:Be}))}}if(!(n&7)){e:{if(se=e==="mouseover"||e==="pointerover",Oe=e==="mouseout"||e==="pointerout",se&&o!==yi&&(Fe=o.relatedTarget||o.fromElement)&&(ga(Fe)||Fe[fo]))break e;if((Oe||se)&&(se=ce.window===ce?ce:(se=ce.ownerDocument)?se.defaultView||se.parentWindow:window,Oe?(Fe=o.relatedTarget||o.toElement,Oe=G,Fe=Fe?ga(Fe):null,Fe!==null&&(un=Gn(Fe),Fe!==un||Fe.tag!==5&&Fe.tag!==6)&&(Fe=null)):(Oe=null,Fe=G),Oe!==Fe)){if(Be=Qn,ye="onMouseLeave",Q="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(Be=_,ye="onPointerLeave",Q="onPointerEnter",R="pointer"),un=Oe==null?se:Za(Oe),X=Fe==null?se:Za(Fe),se=new Be(ye,R+"leave",Oe,o,ce),se.target=un,se.relatedTarget=X,ye=null,ga(ce)===G&&(Be=new Be(Q,R+"enter",Fe,o,ce),Be.target=X,Be.relatedTarget=un,ye=Be),un=ye,Oe&&Fe)t:{for(Be=Oe,Q=Fe,R=0,X=Be;X;X=Ya(X))R++;for(X=0,ye=Q;ye;ye=Ya(ye))X++;for(;0<R-X;)Be=Ya(Be),R--;for(;0<X-R;)Q=Ya(Q),X--;for(;R--;){if(Be===Q||Q!==null&&Be===Q.alternate)break t;Be=Ya(Be),Q=Ya(Q)}Be=null}else Be=null;Oe!==null&&Vv(de,se,Oe,Be,!1),Fe!==null&&un!==null&&Vv(de,un,Fe,Be,!0)}}e:{if(se=G?Za(G):window,Oe=se.nodeName&&se.nodeName.toLowerCase(),Oe==="select"||Oe==="input"&&se.type==="file")var Ae=l;else if(os(se))if(c)Ae=oe;else{Ae=ee;var Ve=H}else(Oe=se.nodeName)&&Oe.toLowerCase()==="input"&&(se.type==="checkbox"||se.type==="radio")&&(Ae=re);if(Ae&&(Ae=Ae(e,G))){Rl(de,Ae,o,ce);break e}Ve&&Ve(e,se,G),e==="focusout"&&(Ve=se._wrapperState)&&Ve.controlled&&se.type==="number"&&Ct(se,"number",se.value)}switch(Ve=G?Za(G):window,e){case"focusin":(os(Ve)||Ve.contentEditable==="true")&&(Qa=Ve,Lf=G,Hl=null);break;case"focusout":Hl=Lf=Qa=null;break;case"mousedown":Nf=!0;break;case"contextmenu":case"mouseup":case"dragend":Nf=!1,Bv(de,o,ce);break;case"selectionchange":if(Y3)break;case"keydown":case"keyup":Bv(de,o,ce)}var Qe;if(Ye)e:{switch(e){case"compositionstart":var et="onCompositionStart";break e;case"compositionend":et="onCompositionEnd";break e;case"compositionupdate":et="onCompositionUpdate";break e}et=void 0}else ui?li(e,o)&&(et="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(et="onCompositionStart");et&&(yn&&o.locale!=="ko"&&(ui||et!=="onCompositionStart"?et==="onCompositionEnd"&&ui&&(Qe=fa()):(zr=ce,ji="value"in zr?zr.value:zr.textContent,ui=!0)),Ve=cs(G,et),0<Ve.length&&(et=new Ot(et,e,null,o,ce),de.push({event:et,listeners:Ve}),Qe?et.data=Qe:(Qe=pa(o),Qe!==null&&(et.data=Qe)))),(Qe=Lt?Ua(e,o):rs(e,o))&&(G=cs(G,"onBeforeInput"),0<G.length&&(ce=new Ot("onBeforeInput","beforeinput",null,o,ce),de.push({event:ce,listeners:G}),ce.data=Qe))}qv(de,n)})}function Vl(e,n,o){return{instance:e,listener:n,currentTarget:o}}function cs(e,n){for(var o=n+"Capture",s=[];e!==null;){var d=e,m=d.stateNode;d.tag===5&&m!==null&&(d=m,m=Wn(e,o),m!=null&&s.unshift(Vl(e,m,d)),m=Wn(e,n),m!=null&&s.push(Vl(e,m,d))),e=e.return}return s}function Ya(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Vv(e,n,o,s,d){for(var m=n._reactName,C=[];o!==null&&o!==s;){var A=o,z=A.alternate,G=A.stateNode;if(z!==null&&z===s)break;A.tag===5&&G!==null&&(A=G,d?(z=Wn(o,m),z!=null&&C.unshift(Vl(o,z,A))):d||(z=Wn(o,m),z!=null&&C.push(Vl(o,z,A)))),o=o.return}C.length!==0&&e.push({event:n,listeners:C})}var W3=/\r\n?/g,G3=/\u0000|\uFFFD/g;function Qv(e){return(typeof e=="string"?e:""+e).replace(W3,`
75
+ `).replace(G3,"")}function fs(e,n,o){if(n=Qv(n),Qv(e)!==n&&o)throw Error(i(425))}function ds(){}var Af=null,Kf=null;function If(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Tf=typeof setTimeout=="function"?setTimeout:void 0,eP=typeof clearTimeout=="function"?clearTimeout:void 0,$v=typeof Promise=="function"?Promise:void 0,tP=typeof queueMicrotask=="function"?queueMicrotask:typeof $v<"u"?function(e){return $v.resolve(null).then(e).catch(nP)}:Tf;function nP(e){setTimeout(function(){throw e})}function jf(e,n){var o=n,s=0;do{var d=o.nextSibling;if(e.removeChild(o),d&&d.nodeType===8)if(o=d.data,o==="/$"){if(s===0){e.removeChild(d),Gt(n);return}s--}else o!=="$"&&o!=="$?"&&o!=="$!"||s++;o=d}while(o);Gt(n)}function To(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function Yv(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(n===0)return e;n--}else o==="/$"&&n++}e=e.previousSibling}return null}var Xa=Math.random().toString(36).slice(2),Ui="__reactFiber$"+Xa,Ql="__reactProps$"+Xa,fo="__reactContainer$"+Xa,zf="__reactEvents$"+Xa,rP="__reactListeners$"+Xa,iP="__reactHandles$"+Xa;function ga(e){var n=e[Ui];if(n)return n;for(var o=e.parentNode;o;){if(n=o[fo]||o[Ui]){if(o=n.alternate,n.child!==null||o!==null&&o.child!==null)for(e=Yv(e);e!==null;){if(o=e[Ui])return o;e=Yv(e)}return n}e=o,o=e.parentNode}return null}function $l(e){return e=e[Ui]||e[fo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Za(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function ps(e){return e[Ql]||null}var Rf=[],Ja=-1;function jo(e){return{current:e}}function Qt(e){0>Ja||(e.current=Rf[Ja],Rf[Ja]=null,Ja--)}function Ht(e,n){Ja++,Rf[Ja]=e.current,e.current=n}var zo={},$n=jo(zo),_r=jo(!1),va=zo;function Wa(e,n){var o=e.type.contextTypes;if(!o)return zo;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===n)return s.__reactInternalMemoizedMaskedChildContext;var d={},m;for(m in o)d[m]=n[m];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=d),d}function wr(e){return e=e.childContextTypes,e!=null}function hs(){Qt(_r),Qt($n)}function Xv(e,n,o){if($n.current!==zo)throw Error(i(168));Ht($n,n),Ht(_r,o)}function Zv(e,n,o){var s=e.stateNode;if(n=n.childContextTypes,typeof s.getChildContext!="function")return o;s=s.getChildContext();for(var d in s)if(!(d in n))throw Error(i(108,dt(e)||"Unknown",d));return ae({},o,s)}function ms(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||zo,va=$n.current,Ht($n,e),Ht(_r,_r.current),!0}function Jv(e,n,o){var s=e.stateNode;if(!s)throw Error(i(169));o?(e=Zv(e,n,va),s.__reactInternalMemoizedMergedChildContext=e,Qt(_r),Qt($n),Ht($n,e)):Qt(_r),Ht(_r,o)}var po=null,gs=!1,Hf=!1;function Wv(e){po===null?po=[e]:po.push(e)}function oP(e){gs=!0,Wv(e)}function Ro(){if(!Hf&&po!==null){Hf=!0;var e=0,n=be;try{var o=po;for(be=1;e<o.length;e++){var s=o[e];do s=s(!0);while(s!==null)}po=null,gs=!1}catch(d){throw po!==null&&(po=po.slice(e+1)),tt(ei,Ro),d}finally{be=n,Hf=!1}}return null}var Ga=[],el=0,vs=null,ys=0,si=[],ci=0,ya=null,ho=1,mo="";function ba(e,n){Ga[el++]=ys,Ga[el++]=vs,vs=e,ys=n}function Gv(e,n,o){si[ci++]=ho,si[ci++]=mo,si[ci++]=ya,ya=e;var s=ho;e=mo;var d=32-rn(s)-1;s&=~(1<<d),o+=1;var m=32-rn(n)+d;if(30<m){var C=d-d%5;m=(s&(1<<C)-1).toString(32),s>>=C,d-=C,ho=1<<32-rn(n)+d|o<<d|s,mo=m+e}else ho=1<<m|o<<d|s,mo=e}function qf(e){e.return!==null&&(ba(e,1),Gv(e,1,0))}function Uf(e){for(;e===vs;)vs=Ga[--el],Ga[el]=null,ys=Ga[--el],Ga[el]=null;for(;e===ya;)ya=si[--ci],si[ci]=null,mo=si[--ci],si[ci]=null,ho=si[--ci],si[ci]=null}var qr=null,Ur=null,Xt=!1,Si=null;function ey(e,n){var o=hi(5,null,null,0);o.elementType="DELETED",o.stateNode=n,o.return=e,n=e.deletions,n===null?(e.deletions=[o],e.flags|=16):n.push(o)}function ty(e,n){switch(e.tag){case 5:var o=e.type;return n=n.nodeType!==1||o.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,qr=e,Ur=To(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,qr=e,Ur=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(o=ya!==null?{id:ho,overflow:mo}:null,e.memoizedState={dehydrated:n,treeContext:o,retryLane:1073741824},o=hi(18,null,null,0),o.stateNode=n,o.return=e,e.child=o,qr=e,Ur=null,!0):!1;default:return!1}}function Vf(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Qf(e){if(Xt){var n=Ur;if(n){var o=n;if(!ty(e,n)){if(Vf(e))throw Error(i(418));n=To(o.nextSibling);var s=qr;n&&ty(e,n)?ey(s,o):(e.flags=e.flags&-4097|2,Xt=!1,qr=e)}}else{if(Vf(e))throw Error(i(418));e.flags=e.flags&-4097|2,Xt=!1,qr=e}}}function ny(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;qr=e}function bs(e){if(e!==qr)return!1;if(!Xt)return ny(e),Xt=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!If(e.type,e.memoizedProps)),n&&(n=Ur)){if(Vf(e))throw ry(),Error(i(418));for(;n;)ey(e,n),n=To(n.nextSibling)}if(ny(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(n===0){Ur=To(e.nextSibling);break e}n--}else o!=="$"&&o!=="$!"&&o!=="$?"||n++}e=e.nextSibling}Ur=null}}else Ur=qr?To(e.stateNode.nextSibling):null;return!0}function ry(){for(var e=Ur;e;)e=To(e.nextSibling)}function tl(){Ur=qr=null,Xt=!1}function $f(e){Si===null?Si=[e]:Si.push(e)}var aP=Z.ReactCurrentBatchConfig;function ki(e,n){if(e&&e.defaultProps){n=ae({},n),e=e.defaultProps;for(var o in e)n[o]===void 0&&(n[o]=e[o]);return n}return n}var _s=jo(null),ws=null,nl=null,Yf=null;function Xf(){Yf=nl=ws=null}function Zf(e){var n=_s.current;Qt(_s),e._currentValue=n}function Jf(e,n,o){for(;e!==null;){var s=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,s!==null&&(s.childLanes|=n)):s!==null&&(s.childLanes&n)!==n&&(s.childLanes|=n),e===o)break;e=e.return}}function rl(e,n){ws=e,Yf=nl=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(Sr=!0),e.firstContext=null)}function fi(e){var n=e._currentValue;if(Yf!==e)if(e={context:e,memoizedValue:n,next:null},nl===null){if(ws===null)throw Error(i(308));nl=e,ws.dependencies={lanes:0,firstContext:e}}else nl=nl.next=e;return n}var _a=null;function Wf(e){_a===null?_a=[e]:_a.push(e)}function iy(e,n,o,s){var d=n.interleaved;return d===null?(o.next=o,Wf(n)):(o.next=d.next,d.next=o),n.interleaved=o,go(e,s)}function go(e,n){e.lanes|=n;var o=e.alternate;for(o!==null&&(o.lanes|=n),o=e,e=e.return;e!==null;)e.childLanes|=n,o=e.alternate,o!==null&&(o.childLanes|=n),o=e,e=e.return;return o.tag===3?o.stateNode:null}var Ho=!1;function Gf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oy(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function vo(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function qo(e,n,o){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,yt&2){var d=s.pending;return d===null?n.next=n:(n.next=d.next,d.next=n),s.pending=n,go(e,o)}return d=s.interleaved,d===null?(n.next=n,Wf(s)):(n.next=d.next,d.next=n),s.interleaved=n,go(e,o)}function Ss(e,n,o){if(n=n.updateQueue,n!==null&&(n=n.shared,(o&4194240)!==0)){var s=n.lanes;s&=e.pendingLanes,o|=s,n.lanes=o,me(e,o)}}function ay(e,n){var o=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,o===s)){var d=null,m=null;if(o=o.firstBaseUpdate,o!==null){do{var C={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};m===null?d=m=C:m=m.next=C,o=o.next}while(o!==null);m===null?d=m=n:m=m.next=n}else d=m=n;o={baseState:s.baseState,firstBaseUpdate:d,lastBaseUpdate:m,shared:s.shared,effects:s.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=n:e.next=n,o.lastBaseUpdate=n}function ks(e,n,o,s){var d=e.updateQueue;Ho=!1;var m=d.firstBaseUpdate,C=d.lastBaseUpdate,A=d.shared.pending;if(A!==null){d.shared.pending=null;var z=A,G=z.next;z.next=null,C===null?m=G:C.next=G,C=z;var ce=e.alternate;ce!==null&&(ce=ce.updateQueue,A=ce.lastBaseUpdate,A!==C&&(A===null?ce.firstBaseUpdate=G:A.next=G,ce.lastBaseUpdate=z))}if(m!==null){var de=d.baseState;C=0,ce=G=z=null,A=m;do{var se=A.lane,Oe=A.eventTime;if((s&se)===se){ce!==null&&(ce=ce.next={eventTime:Oe,lane:0,tag:A.tag,payload:A.payload,callback:A.callback,next:null});e:{var Fe=e,Be=A;switch(se=n,Oe=o,Be.tag){case 1:if(Fe=Be.payload,typeof Fe=="function"){de=Fe.call(Oe,de,se);break e}de=Fe;break e;case 3:Fe.flags=Fe.flags&-65537|128;case 0:if(Fe=Be.payload,se=typeof Fe=="function"?Fe.call(Oe,de,se):Fe,se==null)break e;de=ae({},de,se);break e;case 2:Ho=!0}}A.callback!==null&&A.lane!==0&&(e.flags|=64,se=d.effects,se===null?d.effects=[A]:se.push(A))}else Oe={eventTime:Oe,lane:se,tag:A.tag,payload:A.payload,callback:A.callback,next:null},ce===null?(G=ce=Oe,z=de):ce=ce.next=Oe,C|=se;if(A=A.next,A===null){if(A=d.shared.pending,A===null)break;se=A,A=se.next,se.next=null,d.lastBaseUpdate=se,d.shared.pending=null}}while(1);if(ce===null&&(z=de),d.baseState=z,d.firstBaseUpdate=G,d.lastBaseUpdate=ce,n=d.shared.interleaved,n!==null){d=n;do C|=d.lane,d=d.next;while(d!==n)}else m===null&&(d.shared.lanes=0);ka|=C,e.lanes=C,e.memoizedState=de}}function ly(e,n,o){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var s=e[n],d=s.callback;if(d!==null){if(s.callback=null,s=o,typeof d!="function")throw Error(i(191,d));d.call(s)}}}var uy=new t.Component().refs;function ed(e,n,o,s){n=e.memoizedState,o=o(s,n),o=o==null?n:ae({},n,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Es={isMounted:function(e){return(e=e._reactInternals)?Gn(e)===e:!1},enqueueSetState:function(e,n,o){e=e._reactInternals;var s=ir(),d=$o(e),m=vo(s,d);m.payload=n,o!=null&&(m.callback=o),n=qo(e,m,d),n!==null&&(xi(n,e,d,s),Ss(n,e,d))},enqueueReplaceState:function(e,n,o){e=e._reactInternals;var s=ir(),d=$o(e),m=vo(s,d);m.tag=1,m.payload=n,o!=null&&(m.callback=o),n=qo(e,m,d),n!==null&&(xi(n,e,d,s),Ss(n,e,d))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var o=ir(),s=$o(e),d=vo(o,s);d.tag=2,n!=null&&(d.callback=n),n=qo(e,d,s),n!==null&&(xi(n,e,s,o),Ss(n,e,s))}};function sy(e,n,o,s,d,m,C){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,m,C):n.prototype&&n.prototype.isPureReactComponent?!Xe(o,s)||!Xe(d,m):!0}function cy(e,n,o){var s=!1,d=zo,m=n.contextType;return typeof m=="object"&&m!==null?m=fi(m):(d=wr(n)?va:$n.current,s=n.contextTypes,m=(s=s!=null)?Wa(e,d):zo),n=new n(o,m),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Es,e.stateNode=n,n._reactInternals=e,s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=d,e.__reactInternalMemoizedMaskedChildContext=m),n}function fy(e,n,o,s){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(o,s),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(o,s),n.state!==e&&Es.enqueueReplaceState(n,n.state,null)}function td(e,n,o,s){var d=e.stateNode;d.props=o,d.state=e.memoizedState,d.refs=uy,Gf(e);var m=n.contextType;typeof m=="object"&&m!==null?d.context=fi(m):(m=wr(n)?va:$n.current,d.context=Wa(e,m)),d.state=e.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(ed(e,n,m,o),d.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(n=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),n!==d.state&&Es.enqueueReplaceState(d,d.state,null),ks(e,o,d,s),d.state=e.memoizedState),typeof d.componentDidMount=="function"&&(e.flags|=4194308)}function Yl(e,n,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var s=o.stateNode}if(!s)throw Error(i(147,e));var d=s,m=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===m?n.ref:(n=function(C){var A=d.refs;A===uy&&(A=d.refs={}),C===null?delete A[m]:A[m]=C},n._stringRef=m,n)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function Cs(e,n){throw e=Object.prototype.toString.call(n),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function dy(e){var n=e._init;return n(e._payload)}function py(e){function n(Q,R){if(e){var X=Q.deletions;X===null?(Q.deletions=[R],Q.flags|=16):X.push(R)}}function o(Q,R){if(!e)return null;for(;R!==null;)n(Q,R),R=R.sibling;return null}function s(Q,R){for(Q=new Map;R!==null;)R.key!==null?Q.set(R.key,R):Q.set(R.index,R),R=R.sibling;return Q}function d(Q,R){return Q=Xo(Q,R),Q.index=0,Q.sibling=null,Q}function m(Q,R,X){return Q.index=X,e?(X=Q.alternate,X!==null?(X=X.index,X<R?(Q.flags|=2,R):X):(Q.flags|=2,R)):(Q.flags|=1048576,R)}function C(Q){return e&&Q.alternate===null&&(Q.flags|=2),Q}function A(Q,R,X,ye){return R===null||R.tag!==6?(R=Id(X,Q.mode,ye),R.return=Q,R):(R=d(R,X),R.return=Q,R)}function z(Q,R,X,ye){var Ae=X.type;return Ae===_e?ce(Q,R,X.props.children,ye,X.key):R!==null&&(R.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===De&&dy(Ae)===R.type)?(ye=d(R,X.props),ye.ref=Yl(Q,R,X),ye.return=Q,ye):(ye=Us(X.type,X.key,X.props,null,Q.mode,ye),ye.ref=Yl(Q,R,X),ye.return=Q,ye)}function G(Q,R,X,ye){return R===null||R.tag!==4||R.stateNode.containerInfo!==X.containerInfo||R.stateNode.implementation!==X.implementation?(R=Td(X,Q.mode,ye),R.return=Q,R):(R=d(R,X.children||[]),R.return=Q,R)}function ce(Q,R,X,ye,Ae){return R===null||R.tag!==7?(R=Oa(X,Q.mode,ye,Ae),R.return=Q,R):(R=d(R,X),R.return=Q,R)}function de(Q,R,X){if(typeof R=="string"&&R!==""||typeof R=="number")return R=Id(""+R,Q.mode,X),R.return=Q,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case le:return X=Us(R.type,R.key,R.props,null,Q.mode,X),X.ref=Yl(Q,null,R),X.return=Q,X;case Se:return R=Td(R,Q.mode,X),R.return=Q,R;case De:var ye=R._init;return de(Q,ye(R._payload),X)}if(rt(R)||fe(R))return R=Oa(R,Q.mode,X,null),R.return=Q,R;Cs(Q,R)}return null}function se(Q,R,X,ye){var Ae=R!==null?R.key:null;if(typeof X=="string"&&X!==""||typeof X=="number")return Ae!==null?null:A(Q,R,""+X,ye);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case le:return X.key===Ae?z(Q,R,X,ye):null;case Se:return X.key===Ae?G(Q,R,X,ye):null;case De:return Ae=X._init,se(Q,R,Ae(X._payload),ye)}if(rt(X)||fe(X))return Ae!==null?null:ce(Q,R,X,ye,null);Cs(Q,X)}return null}function Oe(Q,R,X,ye,Ae){if(typeof ye=="string"&&ye!==""||typeof ye=="number")return Q=Q.get(X)||null,A(R,Q,""+ye,Ae);if(typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case le:return Q=Q.get(ye.key===null?X:ye.key)||null,z(R,Q,ye,Ae);case Se:return Q=Q.get(ye.key===null?X:ye.key)||null,G(R,Q,ye,Ae);case De:var Ve=ye._init;return Oe(Q,R,X,Ve(ye._payload),Ae)}if(rt(ye)||fe(ye))return Q=Q.get(X)||null,ce(R,Q,ye,Ae,null);Cs(R,ye)}return null}function Fe(Q,R,X,ye){for(var Ae=null,Ve=null,Qe=R,et=R=0,An=null;Qe!==null&&et<X.length;et++){Qe.index>et?(An=Qe,Qe=null):An=Qe.sibling;var bt=se(Q,Qe,X[et],ye);if(bt===null){Qe===null&&(Qe=An);break}e&&Qe&&bt.alternate===null&&n(Q,Qe),R=m(bt,R,et),Ve===null?Ae=bt:Ve.sibling=bt,Ve=bt,Qe=An}if(et===X.length)return o(Q,Qe),Xt&&ba(Q,et),Ae;if(Qe===null){for(;et<X.length;et++)Qe=de(Q,X[et],ye),Qe!==null&&(R=m(Qe,R,et),Ve===null?Ae=Qe:Ve.sibling=Qe,Ve=Qe);return Xt&&ba(Q,et),Ae}for(Qe=s(Q,Qe);et<X.length;et++)An=Oe(Qe,Q,et,X[et],ye),An!==null&&(e&&An.alternate!==null&&Qe.delete(An.key===null?et:An.key),R=m(An,R,et),Ve===null?Ae=An:Ve.sibling=An,Ve=An);return e&&Qe.forEach(function(Zo){return n(Q,Zo)}),Xt&&ba(Q,et),Ae}function Be(Q,R,X,ye){var Ae=fe(X);if(typeof Ae!="function")throw Error(i(150));if(X=Ae.call(X),X==null)throw Error(i(151));for(var Ve=Ae=null,Qe=R,et=R=0,An=null,bt=X.next();Qe!==null&&!bt.done;et++,bt=X.next()){Qe.index>et?(An=Qe,Qe=null):An=Qe.sibling;var Zo=se(Q,Qe,bt.value,ye);if(Zo===null){Qe===null&&(Qe=An);break}e&&Qe&&Zo.alternate===null&&n(Q,Qe),R=m(Zo,R,et),Ve===null?Ae=Zo:Ve.sibling=Zo,Ve=Zo,Qe=An}if(bt.done)return o(Q,Qe),Xt&&ba(Q,et),Ae;if(Qe===null){for(;!bt.done;et++,bt=X.next())bt=de(Q,bt.value,ye),bt!==null&&(R=m(bt,R,et),Ve===null?Ae=bt:Ve.sibling=bt,Ve=bt);return Xt&&ba(Q,et),Ae}for(Qe=s(Q,Qe);!bt.done;et++,bt=X.next())bt=Oe(Qe,Q,et,bt.value,ye),bt!==null&&(e&&bt.alternate!==null&&Qe.delete(bt.key===null?et:bt.key),R=m(bt,R,et),Ve===null?Ae=bt:Ve.sibling=bt,Ve=bt);return e&&Qe.forEach(function(jP){return n(Q,jP)}),Xt&&ba(Q,et),Ae}function un(Q,R,X,ye){if(typeof X=="object"&&X!==null&&X.type===_e&&X.key===null&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case le:e:{for(var Ae=X.key,Ve=R;Ve!==null;){if(Ve.key===Ae){if(Ae=X.type,Ae===_e){if(Ve.tag===7){o(Q,Ve.sibling),R=d(Ve,X.props.children),R.return=Q,Q=R;break e}}else if(Ve.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===De&&dy(Ae)===Ve.type){o(Q,Ve.sibling),R=d(Ve,X.props),R.ref=Yl(Q,Ve,X),R.return=Q,Q=R;break e}o(Q,Ve);break}else n(Q,Ve);Ve=Ve.sibling}X.type===_e?(R=Oa(X.props.children,Q.mode,ye,X.key),R.return=Q,Q=R):(ye=Us(X.type,X.key,X.props,null,Q.mode,ye),ye.ref=Yl(Q,R,X),ye.return=Q,Q=ye)}return C(Q);case Se:e:{for(Ve=X.key;R!==null;){if(R.key===Ve)if(R.tag===4&&R.stateNode.containerInfo===X.containerInfo&&R.stateNode.implementation===X.implementation){o(Q,R.sibling),R=d(R,X.children||[]),R.return=Q,Q=R;break e}else{o(Q,R);break}else n(Q,R);R=R.sibling}R=Td(X,Q.mode,ye),R.return=Q,Q=R}return C(Q);case De:return Ve=X._init,un(Q,R,Ve(X._payload),ye)}if(rt(X))return Fe(Q,R,X,ye);if(fe(X))return Be(Q,R,X,ye);Cs(Q,X)}return typeof X=="string"&&X!==""||typeof X=="number"?(X=""+X,R!==null&&R.tag===6?(o(Q,R.sibling),R=d(R,X),R.return=Q,Q=R):(o(Q,R),R=Id(X,Q.mode,ye),R.return=Q,Q=R),C(Q)):o(Q,R)}return un}var il=py(!0),hy=py(!1),Xl={},Vi=jo(Xl),Zl=jo(Xl),Jl=jo(Xl);function wa(e){if(e===Xl)throw Error(i(174));return e}function nd(e,n){switch(Ht(Jl,n),Ht(Zl,e),Ht(Vi,Xl),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Ge(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Ge(n,e)}Qt(Vi),Ht(Vi,n)}function ol(){Qt(Vi),Qt(Zl),Qt(Jl)}function my(e){wa(Jl.current);var n=wa(Vi.current),o=Ge(n,e.type);n!==o&&(Ht(Zl,e),Ht(Vi,o))}function rd(e){Zl.current===e&&(Qt(Vi),Qt(Zl))}var tn=jo(0);function xs(e){for(var n=e;n!==null;){if(n.tag===13){var o=n.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var id=[];function od(){for(var e=0;e<id.length;e++)id[e]._workInProgressVersionPrimary=null;id.length=0}var Os=Z.ReactCurrentDispatcher,ad=Z.ReactCurrentBatchConfig,Sa=0,nn=null,xn=null,Pn=null,Ls=!1,Wl=!1,Gl=0,lP=0;function Yn(){throw Error(i(321))}function ld(e,n){if(n===null)return!1;for(var o=0;o<n.length&&o<e.length;o++)if(!Ce(e[o],n[o]))return!1;return!0}function ud(e,n,o,s,d,m){if(Sa=m,nn=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Os.current=e===null||e.memoizedState===null?fP:dP,e=o(s,d),Wl){m=0;do{if(Wl=!1,Gl=0,25<=m)throw Error(i(301));m+=1,Pn=xn=null,n.updateQueue=null,Os.current=pP,e=o(s,d)}while(Wl)}if(Os.current=Ds,n=xn!==null&&xn.next!==null,Sa=0,Pn=xn=nn=null,Ls=!1,n)throw Error(i(300));return e}function sd(){var e=Gl!==0;return Gl=0,e}function Qi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pn===null?nn.memoizedState=Pn=e:Pn=Pn.next=e,Pn}function di(){if(xn===null){var e=nn.alternate;e=e!==null?e.memoizedState:null}else e=xn.next;var n=Pn===null?nn.memoizedState:Pn.next;if(n!==null)Pn=n,xn=e;else{if(e===null)throw Error(i(310));xn=e,e={memoizedState:xn.memoizedState,baseState:xn.baseState,baseQueue:xn.baseQueue,queue:xn.queue,next:null},Pn===null?nn.memoizedState=Pn=e:Pn=Pn.next=e}return Pn}function eu(e,n){return typeof n=="function"?n(e):n}function cd(e){var n=di(),o=n.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=xn,d=s.baseQueue,m=o.pending;if(m!==null){if(d!==null){var C=d.next;d.next=m.next,m.next=C}s.baseQueue=d=m,o.pending=null}if(d!==null){m=d.next,s=s.baseState;var A=C=null,z=null,G=m;do{var ce=G.lane;if((Sa&ce)===ce)z!==null&&(z=z.next={lane:0,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null}),s=G.hasEagerState?G.eagerState:e(s,G.action);else{var de={lane:ce,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null};z===null?(A=z=de,C=s):z=z.next=de,nn.lanes|=ce,ka|=ce}G=G.next}while(G!==null&&G!==m);z===null?C=s:z.next=A,Ce(s,n.memoizedState)||(Sr=!0),n.memoizedState=s,n.baseState=C,n.baseQueue=z,o.lastRenderedState=s}if(e=o.interleaved,e!==null){d=e;do m=d.lane,nn.lanes|=m,ka|=m,d=d.next;while(d!==e)}else d===null&&(o.lanes=0);return[n.memoizedState,o.dispatch]}function fd(e){var n=di(),o=n.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var s=o.dispatch,d=o.pending,m=n.memoizedState;if(d!==null){o.pending=null;var C=d=d.next;do m=e(m,C.action),C=C.next;while(C!==d);Ce(m,n.memoizedState)||(Sr=!0),n.memoizedState=m,n.baseQueue===null&&(n.baseState=m),o.lastRenderedState=m}return[m,s]}function gy(){}function vy(e,n){var o=nn,s=di(),d=n(),m=!Ce(s.memoizedState,d);if(m&&(s.memoizedState=d,Sr=!0),s=s.queue,dd(_y.bind(null,o,s,e),[e]),s.getSnapshot!==n||m||Pn!==null&&Pn.memoizedState.tag&1){if(o.flags|=2048,tu(9,by.bind(null,o,s,d,n),void 0,null),Bn===null)throw Error(i(349));Sa&30||yy(o,n,d)}return d}function yy(e,n,o){e.flags|=16384,e={getSnapshot:n,value:o},n=nn.updateQueue,n===null?(n={lastEffect:null,stores:null},nn.updateQueue=n,n.stores=[e]):(o=n.stores,o===null?n.stores=[e]:o.push(e))}function by(e,n,o,s){n.value=o,n.getSnapshot=s,wy(n)&&Sy(e)}function _y(e,n,o){return o(function(){wy(n)&&Sy(e)})}function wy(e){var n=e.getSnapshot;e=e.value;try{var o=n();return!Ce(e,o)}catch{return!0}}function Sy(e){var n=go(e,1);n!==null&&xi(n,e,1,-1)}function ky(e){var n=Qi();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:eu,lastRenderedState:e},n.queue=e,e=e.dispatch=cP.bind(null,nn,e),[n.memoizedState,e]}function tu(e,n,o,s){return e={tag:e,create:n,destroy:o,deps:s,next:null},n=nn.updateQueue,n===null?(n={lastEffect:null,stores:null},nn.updateQueue=n,n.lastEffect=e.next=e):(o=n.lastEffect,o===null?n.lastEffect=e.next=e:(s=o.next,o.next=e,e.next=s,n.lastEffect=e)),e}function Ey(){return di().memoizedState}function Ns(e,n,o,s){var d=Qi();nn.flags|=e,d.memoizedState=tu(1|n,o,void 0,s===void 0?null:s)}function Ms(e,n,o,s){var d=di();s=s===void 0?null:s;var m=void 0;if(xn!==null){var C=xn.memoizedState;if(m=C.destroy,s!==null&&ld(s,C.deps)){d.memoizedState=tu(n,o,m,s);return}}nn.flags|=e,d.memoizedState=tu(1|n,o,m,s)}function Cy(e,n){return Ns(8390656,8,e,n)}function dd(e,n){return Ms(2048,8,e,n)}function xy(e,n){return Ms(4,2,e,n)}function Oy(e,n){return Ms(4,4,e,n)}function Ly(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Ny(e,n,o){return o=o!=null?o.concat([e]):null,Ms(4,4,Ly.bind(null,n,e),o)}function pd(){}function My(e,n){var o=di();n=n===void 0?null:n;var s=o.memoizedState;return s!==null&&n!==null&&ld(n,s[1])?s[0]:(o.memoizedState=[e,n],e)}function Dy(e,n){var o=di();n=n===void 0?null:n;var s=o.memoizedState;return s!==null&&n!==null&&ld(n,s[1])?s[0]:(e=e(),o.memoizedState=[e,n],e)}function Fy(e,n,o){return Sa&21?(Ce(o,n)||(o=F(),nn.lanes|=o,ka|=o,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,Sr=!0),e.memoizedState=o)}function uP(e,n){var o=be;be=o!==0&&4>o?o:4,e(!0);var s=ad.transition;ad.transition={};try{e(!1),n()}finally{be=o,ad.transition=s}}function Py(){return di().memoizedState}function sP(e,n,o){var s=$o(e);if(o={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null},By(e))Ay(n,o);else if(o=iy(e,n,o,s),o!==null){var d=ir();xi(o,e,s,d),Ky(o,n,s)}}function cP(e,n,o){var s=$o(e),d={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null};if(By(e))Ay(n,d);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=n.lastRenderedReducer,m!==null))try{var C=n.lastRenderedState,A=m(C,o);if(d.hasEagerState=!0,d.eagerState=A,Ce(A,C)){var z=n.interleaved;z===null?(d.next=d,Wf(n)):(d.next=z.next,z.next=d),n.interleaved=d;return}}catch{}finally{}o=iy(e,n,d,s),o!==null&&(d=ir(),xi(o,e,s,d),Ky(o,n,s))}}function By(e){var n=e.alternate;return e===nn||n!==null&&n===nn}function Ay(e,n){Wl=Ls=!0;var o=e.pending;o===null?n.next=n:(n.next=o.next,o.next=n),e.pending=n}function Ky(e,n,o){if(o&4194240){var s=n.lanes;s&=e.pendingLanes,o|=s,n.lanes=o,me(e,o)}}var Ds={readContext:fi,useCallback:Yn,useContext:Yn,useEffect:Yn,useImperativeHandle:Yn,useInsertionEffect:Yn,useLayoutEffect:Yn,useMemo:Yn,useReducer:Yn,useRef:Yn,useState:Yn,useDebugValue:Yn,useDeferredValue:Yn,useTransition:Yn,useMutableSource:Yn,useSyncExternalStore:Yn,useId:Yn,unstable_isNewReconciler:!1},fP={readContext:fi,useCallback:function(e,n){return Qi().memoizedState=[e,n===void 0?null:n],e},useContext:fi,useEffect:Cy,useImperativeHandle:function(e,n,o){return o=o!=null?o.concat([e]):null,Ns(4194308,4,Ly.bind(null,n,e),o)},useLayoutEffect:function(e,n){return Ns(4194308,4,e,n)},useInsertionEffect:function(e,n){return Ns(4,2,e,n)},useMemo:function(e,n){var o=Qi();return n=n===void 0?null:n,e=e(),o.memoizedState=[e,n],e},useReducer:function(e,n,o){var s=Qi();return n=o!==void 0?o(n):n,s.memoizedState=s.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},s.queue=e,e=e.dispatch=sP.bind(null,nn,e),[s.memoizedState,e]},useRef:function(e){var n=Qi();return e={current:e},n.memoizedState=e},useState:ky,useDebugValue:pd,useDeferredValue:function(e){return Qi().memoizedState=e},useTransition:function(){var e=ky(!1),n=e[0];return e=uP.bind(null,e[1]),Qi().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,o){var s=nn,d=Qi();if(Xt){if(o===void 0)throw Error(i(407));o=o()}else{if(o=n(),Bn===null)throw Error(i(349));Sa&30||yy(s,n,o)}d.memoizedState=o;var m={value:o,getSnapshot:n};return d.queue=m,Cy(_y.bind(null,s,m,e),[e]),s.flags|=2048,tu(9,by.bind(null,s,m,o,n),void 0,null),o},useId:function(){var e=Qi(),n=Bn.identifierPrefix;if(Xt){var o=mo,s=ho;o=(s&~(1<<32-rn(s)-1)).toString(32)+o,n=":"+n+"R"+o,o=Gl++,0<o&&(n+="H"+o.toString(32)),n+=":"}else o=lP++,n=":"+n+"r"+o.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},dP={readContext:fi,useCallback:My,useContext:fi,useEffect:dd,useImperativeHandle:Ny,useInsertionEffect:xy,useLayoutEffect:Oy,useMemo:Dy,useReducer:cd,useRef:Ey,useState:function(){return cd(eu)},useDebugValue:pd,useDeferredValue:function(e){var n=di();return Fy(n,xn.memoizedState,e)},useTransition:function(){var e=cd(eu)[0],n=di().memoizedState;return[e,n]},useMutableSource:gy,useSyncExternalStore:vy,useId:Py,unstable_isNewReconciler:!1},pP={readContext:fi,useCallback:My,useContext:fi,useEffect:dd,useImperativeHandle:Ny,useInsertionEffect:xy,useLayoutEffect:Oy,useMemo:Dy,useReducer:fd,useRef:Ey,useState:function(){return fd(eu)},useDebugValue:pd,useDeferredValue:function(e){var n=di();return xn===null?n.memoizedState=e:Fy(n,xn.memoizedState,e)},useTransition:function(){var e=fd(eu)[0],n=di().memoizedState;return[e,n]},useMutableSource:gy,useSyncExternalStore:vy,useId:Py,unstable_isNewReconciler:!1};function al(e,n){try{var o="",s=n;do o+=qe(s),s=s.return;while(s);var d=o}catch(m){d=`
76
+ Error generating stack: `+m.message+`
77
+ `+m.stack}return{value:e,source:n,stack:d,digest:null}}function hd(e,n,o){return{value:e,source:null,stack:o??null,digest:n??null}}function md(e,n){try{console.error(n.value)}catch(o){setTimeout(function(){throw o})}}var hP=typeof WeakMap=="function"?WeakMap:Map;function Iy(e,n,o){o=vo(-1,o),o.tag=3,o.payload={element:null};var s=n.value;return o.callback=function(){Ts||(Ts=!0,Nd=s),md(e,n)},o}function Ty(e,n,o){o=vo(-1,o),o.tag=3;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var d=n.value;o.payload=function(){return s(d)},o.callback=function(){md(e,n)}}var m=e.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(o.callback=function(){md(e,n),typeof s!="function"&&(Vo===null?Vo=new Set([this]):Vo.add(this));var C=n.stack;this.componentDidCatch(n.value,{componentStack:C!==null?C:""})}),o}function jy(e,n,o){var s=e.pingCache;if(s===null){s=e.pingCache=new hP;var d=new Set;s.set(n,d)}else d=s.get(n),d===void 0&&(d=new Set,s.set(n,d));d.has(o)||(d.add(o),e=LP.bind(null,e,n,o),n.then(e,e))}function zy(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Ry(e,n,o,s,d){return e.mode&1?(e.flags|=65536,e.lanes=d,e):(e===n?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(n=vo(-1,1),n.tag=2,qo(o,n,1))),o.lanes|=1),e)}var mP=Z.ReactCurrentOwner,Sr=!1;function rr(e,n,o,s){n.child=e===null?hy(n,null,o,s):il(n,e.child,o,s)}function Hy(e,n,o,s,d){o=o.render;var m=n.ref;return rl(n,d),s=ud(e,n,o,s,m,d),o=sd(),e!==null&&!Sr?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,yo(e,n,d)):(Xt&&o&&qf(n),n.flags|=1,rr(e,n,s,d),n.child)}function qy(e,n,o,s,d){if(e===null){var m=o.type;return typeof m=="function"&&!Kd(m)&&m.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(n.tag=15,n.type=m,Uy(e,n,m,s,d)):(e=Us(o.type,null,s,n,n.mode,d),e.ref=n.ref,e.return=n,n.child=e)}if(m=e.child,!(e.lanes&d)){var C=m.memoizedProps;if(o=o.compare,o=o!==null?o:Xe,o(C,s)&&e.ref===n.ref)return yo(e,n,d)}return n.flags|=1,e=Xo(m,s),e.ref=n.ref,e.return=n,n.child=e}function Uy(e,n,o,s,d){if(e!==null){var m=e.memoizedProps;if(Xe(m,s)&&e.ref===n.ref)if(Sr=!1,n.pendingProps=s=m,(e.lanes&d)!==0)e.flags&131072&&(Sr=!0);else return n.lanes=e.lanes,yo(e,n,d)}return gd(e,n,o,s,d)}function Vy(e,n,o){var s=n.pendingProps,d=s.children,m=e!==null?e.memoizedState:null;if(s.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ht(ul,Vr),Vr|=o;else{if(!(o&1073741824))return e=m!==null?m.baseLanes|o:o,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Ht(ul,Vr),Vr|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=m!==null?m.baseLanes:o,Ht(ul,Vr),Vr|=s}else m!==null?(s=m.baseLanes|o,n.memoizedState=null):s=o,Ht(ul,Vr),Vr|=s;return rr(e,n,d,o),n.child}function Qy(e,n){var o=n.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(n.flags|=512,n.flags|=2097152)}function gd(e,n,o,s,d){var m=wr(o)?va:$n.current;return m=Wa(n,m),rl(n,d),o=ud(e,n,o,s,m,d),s=sd(),e!==null&&!Sr?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,yo(e,n,d)):(Xt&&s&&qf(n),n.flags|=1,rr(e,n,o,d),n.child)}function $y(e,n,o,s,d){if(wr(o)){var m=!0;ms(n)}else m=!1;if(rl(n,d),n.stateNode===null)Ps(e,n),cy(n,o,s),td(n,o,s,d),s=!0;else if(e===null){var C=n.stateNode,A=n.memoizedProps;C.props=A;var z=C.context,G=o.contextType;typeof G=="object"&&G!==null?G=fi(G):(G=wr(o)?va:$n.current,G=Wa(n,G));var ce=o.getDerivedStateFromProps,de=typeof ce=="function"||typeof C.getSnapshotBeforeUpdate=="function";de||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(A!==s||z!==G)&&fy(n,C,s,G),Ho=!1;var se=n.memoizedState;C.state=se,ks(n,s,C,d),z=n.memoizedState,A!==s||se!==z||_r.current||Ho?(typeof ce=="function"&&(ed(n,o,ce,s),z=n.memoizedState),(A=Ho||sy(n,o,A,s,se,z,G))?(de||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount()),typeof C.componentDidMount=="function"&&(n.flags|=4194308)):(typeof C.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=s,n.memoizedState=z),C.props=s,C.state=z,C.context=G,s=A):(typeof C.componentDidMount=="function"&&(n.flags|=4194308),s=!1)}else{C=n.stateNode,oy(e,n),A=n.memoizedProps,G=n.type===n.elementType?A:ki(n.type,A),C.props=G,de=n.pendingProps,se=C.context,z=o.contextType,typeof z=="object"&&z!==null?z=fi(z):(z=wr(o)?va:$n.current,z=Wa(n,z));var Oe=o.getDerivedStateFromProps;(ce=typeof Oe=="function"||typeof C.getSnapshotBeforeUpdate=="function")||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(A!==de||se!==z)&&fy(n,C,s,z),Ho=!1,se=n.memoizedState,C.state=se,ks(n,s,C,d);var Fe=n.memoizedState;A!==de||se!==Fe||_r.current||Ho?(typeof Oe=="function"&&(ed(n,o,Oe,s),Fe=n.memoizedState),(G=Ho||sy(n,o,G,s,se,Fe,z)||!1)?(ce||typeof C.UNSAFE_componentWillUpdate!="function"&&typeof C.componentWillUpdate!="function"||(typeof C.componentWillUpdate=="function"&&C.componentWillUpdate(s,Fe,z),typeof C.UNSAFE_componentWillUpdate=="function"&&C.UNSAFE_componentWillUpdate(s,Fe,z)),typeof C.componentDidUpdate=="function"&&(n.flags|=4),typeof C.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof C.componentDidUpdate!="function"||A===e.memoizedProps&&se===e.memoizedState||(n.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||A===e.memoizedProps&&se===e.memoizedState||(n.flags|=1024),n.memoizedProps=s,n.memoizedState=Fe),C.props=s,C.state=Fe,C.context=z,s=G):(typeof C.componentDidUpdate!="function"||A===e.memoizedProps&&se===e.memoizedState||(n.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||A===e.memoizedProps&&se===e.memoizedState||(n.flags|=1024),s=!1)}return vd(e,n,o,s,m,d)}function vd(e,n,o,s,d,m){Qy(e,n);var C=(n.flags&128)!==0;if(!s&&!C)return d&&Jv(n,o,!1),yo(e,n,m);s=n.stateNode,mP.current=n;var A=C&&typeof o.getDerivedStateFromError!="function"?null:s.render();return n.flags|=1,e!==null&&C?(n.child=il(n,e.child,null,m),n.child=il(n,null,A,m)):rr(e,n,A,m),n.memoizedState=s.state,d&&Jv(n,o,!0),n.child}function Yy(e){var n=e.stateNode;n.pendingContext?Xv(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Xv(e,n.context,!1),nd(e,n.containerInfo)}function Xy(e,n,o,s,d){return tl(),$f(d),n.flags|=256,rr(e,n,o,s),n.child}var yd={dehydrated:null,treeContext:null,retryLane:0};function bd(e){return{baseLanes:e,cachePool:null,transitions:null}}function Zy(e,n,o){var s=n.pendingProps,d=tn.current,m=!1,C=(n.flags&128)!==0,A;if((A=C)||(A=e!==null&&e.memoizedState===null?!1:(d&2)!==0),A?(m=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(d|=1),Ht(tn,d&1),e===null)return Qf(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(C=s.children,e=s.fallback,m?(s=n.mode,m=n.child,C={mode:"hidden",children:C},!(s&1)&&m!==null?(m.childLanes=0,m.pendingProps=C):m=Vs(C,s,0,null),e=Oa(e,s,o,null),m.return=n,e.return=n,m.sibling=e,n.child=m,n.child.memoizedState=bd(o),n.memoizedState=yd,e):_d(n,C));if(d=e.memoizedState,d!==null&&(A=d.dehydrated,A!==null))return gP(e,n,C,s,A,d,o);if(m){m=s.fallback,C=n.mode,d=e.child,A=d.sibling;var z={mode:"hidden",children:s.children};return!(C&1)&&n.child!==d?(s=n.child,s.childLanes=0,s.pendingProps=z,n.deletions=null):(s=Xo(d,z),s.subtreeFlags=d.subtreeFlags&14680064),A!==null?m=Xo(A,m):(m=Oa(m,C,o,null),m.flags|=2),m.return=n,s.return=n,s.sibling=m,n.child=s,s=m,m=n.child,C=e.child.memoizedState,C=C===null?bd(o):{baseLanes:C.baseLanes|o,cachePool:null,transitions:C.transitions},m.memoizedState=C,m.childLanes=e.childLanes&~o,n.memoizedState=yd,s}return m=e.child,e=m.sibling,s=Xo(m,{mode:"visible",children:s.children}),!(n.mode&1)&&(s.lanes=o),s.return=n,s.sibling=null,e!==null&&(o=n.deletions,o===null?(n.deletions=[e],n.flags|=16):o.push(e)),n.child=s,n.memoizedState=null,s}function _d(e,n){return n=Vs({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function Fs(e,n,o,s){return s!==null&&$f(s),il(n,e.child,null,o),e=_d(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function gP(e,n,o,s,d,m,C){if(o)return n.flags&256?(n.flags&=-257,s=hd(Error(i(422))),Fs(e,n,C,s)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(m=s.fallback,d=n.mode,s=Vs({mode:"visible",children:s.children},d,0,null),m=Oa(m,d,C,null),m.flags|=2,s.return=n,m.return=n,s.sibling=m,n.child=s,n.mode&1&&il(n,e.child,null,C),n.child.memoizedState=bd(C),n.memoizedState=yd,m);if(!(n.mode&1))return Fs(e,n,C,null);if(d.data==="$!"){if(s=d.nextSibling&&d.nextSibling.dataset,s)var A=s.dgst;return s=A,m=Error(i(419)),s=hd(m,s,void 0),Fs(e,n,C,s)}if(A=(C&e.childLanes)!==0,Sr||A){if(s=Bn,s!==null){switch(C&-C){case 4:d=2;break;case 16:d=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:d=32;break;case 536870912:d=268435456;break;default:d=0}d=d&(s.suspendedLanes|C)?0:d,d!==0&&d!==m.retryLane&&(m.retryLane=d,go(e,d),xi(s,e,d,-1))}return Ad(),s=hd(Error(i(421))),Fs(e,n,C,s)}return d.data==="$?"?(n.flags|=128,n.child=e.child,n=NP.bind(null,e),d._reactRetry=n,null):(e=m.treeContext,Ur=To(d.nextSibling),qr=n,Xt=!0,Si=null,e!==null&&(si[ci++]=ho,si[ci++]=mo,si[ci++]=ya,ho=e.id,mo=e.overflow,ya=n),n=_d(n,s.children),n.flags|=4096,n)}function Jy(e,n,o){e.lanes|=n;var s=e.alternate;s!==null&&(s.lanes|=n),Jf(e.return,n,o)}function wd(e,n,o,s,d){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:s,tail:o,tailMode:d}:(m.isBackwards=n,m.rendering=null,m.renderingStartTime=0,m.last=s,m.tail=o,m.tailMode=d)}function Wy(e,n,o){var s=n.pendingProps,d=s.revealOrder,m=s.tail;if(rr(e,n,s.children,o),s=tn.current,s&2)s=s&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Jy(e,o,n);else if(e.tag===19)Jy(e,o,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}s&=1}if(Ht(tn,s),!(n.mode&1))n.memoizedState=null;else switch(d){case"forwards":for(o=n.child,d=null;o!==null;)e=o.alternate,e!==null&&xs(e)===null&&(d=o),o=o.sibling;o=d,o===null?(d=n.child,n.child=null):(d=o.sibling,o.sibling=null),wd(n,!1,d,o,m);break;case"backwards":for(o=null,d=n.child,n.child=null;d!==null;){if(e=d.alternate,e!==null&&xs(e)===null){n.child=d;break}e=d.sibling,d.sibling=o,o=d,d=e}wd(n,!0,o,null,m);break;case"together":wd(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Ps(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function yo(e,n,o){if(e!==null&&(n.dependencies=e.dependencies),ka|=n.lanes,!(o&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(i(153));if(n.child!==null){for(e=n.child,o=Xo(e,e.pendingProps),n.child=o,o.return=n;e.sibling!==null;)e=e.sibling,o=o.sibling=Xo(e,e.pendingProps),o.return=n;o.sibling=null}return n.child}function vP(e,n,o){switch(n.tag){case 3:Yy(n),tl();break;case 5:my(n);break;case 1:wr(n.type)&&ms(n);break;case 4:nd(n,n.stateNode.containerInfo);break;case 10:var s=n.type._context,d=n.memoizedProps.value;Ht(_s,s._currentValue),s._currentValue=d;break;case 13:if(s=n.memoizedState,s!==null)return s.dehydrated!==null?(Ht(tn,tn.current&1),n.flags|=128,null):o&n.child.childLanes?Zy(e,n,o):(Ht(tn,tn.current&1),e=yo(e,n,o),e!==null?e.sibling:null);Ht(tn,tn.current&1);break;case 19:if(s=(o&n.childLanes)!==0,e.flags&128){if(s)return Wy(e,n,o);n.flags|=128}if(d=n.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Ht(tn,tn.current),s)break;return null;case 22:case 23:return n.lanes=0,Vy(e,n,o)}return yo(e,n,o)}var Gy,Sd,eb,tb;Gy=function(e,n){for(var o=n.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},Sd=function(){},eb=function(e,n,o,s){var d=e.memoizedProps;if(d!==s){e=n.stateNode,wa(Vi.current);var m=null;switch(o){case"input":d=ut(e,d),s=ut(e,s),m=[];break;case"select":d=ae({},d,{value:void 0}),s=ae({},s,{value:void 0}),m=[];break;case"textarea":d=Pt(e,d),s=Pt(e,s),m=[];break;default:typeof d.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=ds)}vi(o,s);var C;o=null;for(G in d)if(!s.hasOwnProperty(G)&&d.hasOwnProperty(G)&&d[G]!=null)if(G==="style"){var A=d[G];for(C in A)A.hasOwnProperty(C)&&(o||(o={}),o[C]="")}else G!=="dangerouslySetInnerHTML"&&G!=="children"&&G!=="suppressContentEditableWarning"&&G!=="suppressHydrationWarning"&&G!=="autoFocus"&&(u.hasOwnProperty(G)?m||(m=[]):(m=m||[]).push(G,null));for(G in s){var z=s[G];if(A=d?.[G],s.hasOwnProperty(G)&&z!==A&&(z!=null||A!=null))if(G==="style")if(A){for(C in A)!A.hasOwnProperty(C)||z&&z.hasOwnProperty(C)||(o||(o={}),o[C]="");for(C in z)z.hasOwnProperty(C)&&A[C]!==z[C]&&(o||(o={}),o[C]=z[C])}else o||(m||(m=[]),m.push(G,o)),o=z;else G==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,A=A?A.__html:void 0,z!=null&&A!==z&&(m=m||[]).push(G,z)):G==="children"?typeof z!="string"&&typeof z!="number"||(m=m||[]).push(G,""+z):G!=="suppressContentEditableWarning"&&G!=="suppressHydrationWarning"&&(u.hasOwnProperty(G)?(z!=null&&G==="onScroll"&&Vt("scroll",e),m||A===z||(m=[])):(m=m||[]).push(G,z))}o&&(m=m||[]).push("style",o);var G=m;(n.updateQueue=G)&&(n.flags|=4)}},tb=function(e,n,o,s){o!==s&&(n.flags|=4)};function nu(e,n){if(!Xt)switch(e.tailMode){case"hidden":n=e.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function Xn(e){var n=e.alternate!==null&&e.alternate.child===e.child,o=0,s=0;if(n)for(var d=e.child;d!==null;)o|=d.lanes|d.childLanes,s|=d.subtreeFlags&14680064,s|=d.flags&14680064,d.return=e,d=d.sibling;else for(d=e.child;d!==null;)o|=d.lanes|d.childLanes,s|=d.subtreeFlags,s|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=s,e.childLanes=o,n}function yP(e,n,o){var s=n.pendingProps;switch(Uf(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xn(n),null;case 1:return wr(n.type)&&hs(),Xn(n),null;case 3:return s=n.stateNode,ol(),Qt(_r),Qt($n),od(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(bs(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Si!==null&&(Fd(Si),Si=null))),Sd(e,n),Xn(n),null;case 5:rd(n);var d=wa(Jl.current);if(o=n.type,e!==null&&n.stateNode!=null)eb(e,n,o,s,d),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!s){if(n.stateNode===null)throw Error(i(166));return Xn(n),null}if(e=wa(Vi.current),bs(n)){s=n.stateNode,o=n.type;var m=n.memoizedProps;switch(s[Ui]=n,s[Ql]=m,e=(n.mode&1)!==0,o){case"dialog":Vt("cancel",s),Vt("close",s);break;case"iframe":case"object":case"embed":Vt("load",s);break;case"video":case"audio":for(d=0;d<ql.length;d++)Vt(ql[d],s);break;case"source":Vt("error",s);break;case"img":case"image":case"link":Vt("error",s),Vt("load",s);break;case"details":Vt("toggle",s);break;case"input":lt(s,m),Vt("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!m.multiple},Vt("invalid",s);break;case"textarea":Pe(s,m),Vt("invalid",s)}vi(o,m),d=null;for(var C in m)if(m.hasOwnProperty(C)){var A=m[C];C==="children"?typeof A=="string"?s.textContent!==A&&(m.suppressHydrationWarning!==!0&&fs(s.textContent,A,e),d=["children",A]):typeof A=="number"&&s.textContent!==""+A&&(m.suppressHydrationWarning!==!0&&fs(s.textContent,A,e),d=["children",""+A]):u.hasOwnProperty(C)&&A!=null&&C==="onScroll"&&Vt("scroll",s)}switch(o){case"input":Et(s),Mt(s,m,!0);break;case"textarea":Et(s),Ze(s);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(s.onclick=ds)}s=d,n.updateQueue=s,s!==null&&(n.flags|=4)}else{C=d.nodeType===9?d:d.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ht(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=C.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=C.createElement(o,{is:s.is}):(e=C.createElement(o),o==="select"&&(C=e,s.multiple?C.multiple=!0:s.size&&(C.size=s.size))):e=C.createElementNS(e,o),e[Ui]=n,e[Ql]=s,Gy(e,n,!1,!1),n.stateNode=e;e:{switch(C=$t(o,s),o){case"dialog":Vt("cancel",e),Vt("close",e),d=s;break;case"iframe":case"object":case"embed":Vt("load",e),d=s;break;case"video":case"audio":for(d=0;d<ql.length;d++)Vt(ql[d],e);d=s;break;case"source":Vt("error",e),d=s;break;case"img":case"image":case"link":Vt("error",e),Vt("load",e),d=s;break;case"details":Vt("toggle",e),d=s;break;case"input":lt(e,s),d=ut(e,s),Vt("invalid",e);break;case"option":d=s;break;case"select":e._wrapperState={wasMultiple:!!s.multiple},d=ae({},s,{value:void 0}),Vt("invalid",e);break;case"textarea":Pe(e,s),d=Pt(e,s),Vt("invalid",e);break;default:d=s}vi(o,d),A=d;for(m in A)if(A.hasOwnProperty(m)){var z=A[m];m==="style"?Gi(e,z):m==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,z!=null&&ct(e,z)):m==="children"?typeof z=="string"?(o!=="textarea"||z!=="")&&Sn(e,z):typeof z=="number"&&Sn(e,""+z):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(u.hasOwnProperty(m)?z!=null&&m==="onScroll"&&Vt("scroll",e):z!=null&&W(e,m,z,C))}switch(o){case"input":Et(e),Mt(e,s,!1);break;case"textarea":Et(e),Ze(e);break;case"option":s.value!=null&&e.setAttribute("value",""+Bt(s.value));break;case"select":e.multiple=!!s.multiple,m=s.value,m!=null?pt(e,!!s.multiple,m,!1):s.defaultValue!=null&&pt(e,!!s.multiple,s.defaultValue,!0);break;default:typeof d.onClick=="function"&&(e.onclick=ds)}switch(o){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}}s&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return Xn(n),null;case 6:if(e&&n.stateNode!=null)tb(e,n,e.memoizedProps,s);else{if(typeof s!="string"&&n.stateNode===null)throw Error(i(166));if(o=wa(Jl.current),wa(Vi.current),bs(n)){if(s=n.stateNode,o=n.memoizedProps,s[Ui]=n,(m=s.nodeValue!==o)&&(e=qr,e!==null))switch(e.tag){case 3:fs(s.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&fs(s.nodeValue,o,(e.mode&1)!==0)}m&&(n.flags|=4)}else s=(o.nodeType===9?o:o.ownerDocument).createTextNode(s),s[Ui]=n,n.stateNode=s}return Xn(n),null;case 13:if(Qt(tn),s=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Xt&&Ur!==null&&n.mode&1&&!(n.flags&128))ry(),tl(),n.flags|=98560,m=!1;else if(m=bs(n),s!==null&&s.dehydrated!==null){if(e===null){if(!m)throw Error(i(318));if(m=n.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(i(317));m[Ui]=n}else tl(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;Xn(n),m=!1}else Si!==null&&(Fd(Si),Si=null),m=!0;if(!m)return n.flags&65536?n:null}return n.flags&128?(n.lanes=o,n):(s=s!==null,s!==(e!==null&&e.memoizedState!==null)&&s&&(n.child.flags|=8192,n.mode&1&&(e===null||tn.current&1?On===0&&(On=3):Ad())),n.updateQueue!==null&&(n.flags|=4),Xn(n),null);case 4:return ol(),Sd(e,n),e===null&&Ul(n.stateNode.containerInfo),Xn(n),null;case 10:return Zf(n.type._context),Xn(n),null;case 17:return wr(n.type)&&hs(),Xn(n),null;case 19:if(Qt(tn),m=n.memoizedState,m===null)return Xn(n),null;if(s=(n.flags&128)!==0,C=m.rendering,C===null)if(s)nu(m,!1);else{if(On!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(C=xs(e),C!==null){for(n.flags|=128,nu(m,!1),s=C.updateQueue,s!==null&&(n.updateQueue=s,n.flags|=4),n.subtreeFlags=0,s=o,o=n.child;o!==null;)m=o,e=s,m.flags&=14680066,C=m.alternate,C===null?(m.childLanes=0,m.lanes=e,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=C.childLanes,m.lanes=C.lanes,m.child=C.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=C.memoizedProps,m.memoizedState=C.memoizedState,m.updateQueue=C.updateQueue,m.type=C.type,e=C.dependencies,m.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return Ht(tn,tn.current&1|2),n.child}e=e.sibling}m.tail!==null&&gt()>sl&&(n.flags|=128,s=!0,nu(m,!1),n.lanes=4194304)}else{if(!s)if(e=xs(C),e!==null){if(n.flags|=128,s=!0,o=e.updateQueue,o!==null&&(n.updateQueue=o,n.flags|=4),nu(m,!0),m.tail===null&&m.tailMode==="hidden"&&!C.alternate&&!Xt)return Xn(n),null}else 2*gt()-m.renderingStartTime>sl&&o!==1073741824&&(n.flags|=128,s=!0,nu(m,!1),n.lanes=4194304);m.isBackwards?(C.sibling=n.child,n.child=C):(o=m.last,o!==null?o.sibling=C:n.child=C,m.last=C)}return m.tail!==null?(n=m.tail,m.rendering=n,m.tail=n.sibling,m.renderingStartTime=gt(),n.sibling=null,o=tn.current,Ht(tn,s?o&1|2:o&1),n):(Xn(n),null);case 22:case 23:return Bd(),s=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(n.flags|=8192),s&&n.mode&1?Vr&1073741824&&(Xn(n),n.subtreeFlags&6&&(n.flags|=8192)):Xn(n),null;case 24:return null;case 25:return null}throw Error(i(156,n.tag))}function bP(e,n){switch(Uf(n),n.tag){case 1:return wr(n.type)&&hs(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return ol(),Qt(_r),Qt($n),od(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return rd(n),null;case 13:if(Qt(tn),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(i(340));tl()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Qt(tn),null;case 4:return ol(),null;case 10:return Zf(n.type._context),null;case 22:case 23:return Bd(),null;case 24:return null;default:return null}}var Bs=!1,Zn=!1,_P=typeof WeakSet=="function"?WeakSet:Set,Me=null;function ll(e,n){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(s){an(e,n,s)}else o.current=null}function nb(e,n,o){try{o()}catch(s){an(e,n,s)}}var rb=!1;function wP(e,n){if(Af=gn,e=Hr(),Ko(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var s=o.getSelection&&o.getSelection();if(s&&s.rangeCount!==0){o=s.anchorNode;var d=s.anchorOffset,m=s.focusNode;s=s.focusOffset;try{o.nodeType,m.nodeType}catch{o=null;break e}var C=0,A=-1,z=-1,G=0,ce=0,de=e,se=null;t:for(;;){for(var Oe;de!==o||d!==0&&de.nodeType!==3||(A=C+d),de!==m||s!==0&&de.nodeType!==3||(z=C+s),de.nodeType===3&&(C+=de.nodeValue.length),(Oe=de.firstChild)!==null;)se=de,de=Oe;for(;;){if(de===e)break t;if(se===o&&++G===d&&(A=C),se===m&&++ce===s&&(z=C),(Oe=de.nextSibling)!==null)break;de=se,se=de.parentNode}de=Oe}o=A===-1||z===-1?null:{start:A,end:z}}else o=null}o=o||{start:0,end:0}}else o=null;for(Kf={focusedElem:e,selectionRange:o},gn=!1,Me=n;Me!==null;)if(n=Me,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,Me=e;else for(;Me!==null;){n=Me;try{var Fe=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(Fe!==null){var Be=Fe.memoizedProps,un=Fe.memoizedState,Q=n.stateNode,R=Q.getSnapshotBeforeUpdate(n.elementType===n.type?Be:ki(n.type,Be),un);Q.__reactInternalSnapshotBeforeUpdate=R}break;case 3:var X=n.stateNode.containerInfo;X.nodeType===1?X.textContent="":X.nodeType===9&&X.documentElement&&X.removeChild(X.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(ye){an(n,n.return,ye)}if(e=n.sibling,e!==null){e.return=n.return,Me=e;break}Me=n.return}return Fe=rb,rb=!1,Fe}function ru(e,n,o){var s=n.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var d=s=s.next;do{if((d.tag&e)===e){var m=d.destroy;d.destroy=void 0,m!==void 0&&nb(n,o,m)}d=d.next}while(d!==s)}}function As(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var s=o.create;o.destroy=s()}o=o.next}while(o!==n)}}function kd(e){var n=e.ref;if(n!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof n=="function"?n(e):n.current=e}}function ib(e){var n=e.alternate;n!==null&&(e.alternate=null,ib(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ui],delete n[Ql],delete n[zf],delete n[rP],delete n[iP])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ob(e){return e.tag===5||e.tag===3||e.tag===4}function ab(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ob(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ed(e,n,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,n?o.nodeType===8?o.parentNode.insertBefore(e,n):o.insertBefore(e,n):(o.nodeType===8?(n=o.parentNode,n.insertBefore(e,o)):(n=o,n.appendChild(e)),o=o._reactRootContainer,o!=null||n.onclick!==null||(n.onclick=ds));else if(s!==4&&(e=e.child,e!==null))for(Ed(e,n,o),e=e.sibling;e!==null;)Ed(e,n,o),e=e.sibling}function Cd(e,n,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,n?o.insertBefore(e,n):o.appendChild(e);else if(s!==4&&(e=e.child,e!==null))for(Cd(e,n,o),e=e.sibling;e!==null;)Cd(e,n,o),e=e.sibling}var Rn=null,Ei=!1;function Uo(e,n,o){for(o=o.child;o!==null;)lb(e,n,o),o=o.sibling}function lb(e,n,o){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(Yt,o)}catch{}switch(o.tag){case 5:Zn||ll(o,n);case 6:var s=Rn,d=Ei;Rn=null,Uo(e,n,o),Rn=s,Ei=d,Rn!==null&&(Ei?(e=Rn,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):Rn.removeChild(o.stateNode));break;case 18:Rn!==null&&(Ei?(e=Rn,o=o.stateNode,e.nodeType===8?jf(e.parentNode,o):e.nodeType===1&&jf(e,o),Gt(e)):jf(Rn,o.stateNode));break;case 4:s=Rn,d=Ei,Rn=o.stateNode.containerInfo,Ei=!0,Uo(e,n,o),Rn=s,Ei=d;break;case 0:case 11:case 14:case 15:if(!Zn&&(s=o.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){d=s=s.next;do{var m=d,C=m.destroy;m=m.tag,C!==void 0&&(m&2||m&4)&&nb(o,n,C),d=d.next}while(d!==s)}Uo(e,n,o);break;case 1:if(!Zn&&(ll(o,n),s=o.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=o.memoizedProps,s.state=o.memoizedState,s.componentWillUnmount()}catch(A){an(o,n,A)}Uo(e,n,o);break;case 21:Uo(e,n,o);break;case 22:o.mode&1?(Zn=(s=Zn)||o.memoizedState!==null,Uo(e,n,o),Zn=s):Uo(e,n,o);break;default:Uo(e,n,o)}}function ub(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new _P),n.forEach(function(s){var d=MP.bind(null,e,s);o.has(s)||(o.add(s),s.then(d,d))})}}function Ci(e,n){var o=n.deletions;if(o!==null)for(var s=0;s<o.length;s++){var d=o[s];try{var m=e,C=n,A=C;e:for(;A!==null;){switch(A.tag){case 5:Rn=A.stateNode,Ei=!1;break e;case 3:Rn=A.stateNode.containerInfo,Ei=!0;break e;case 4:Rn=A.stateNode.containerInfo,Ei=!0;break e}A=A.return}if(Rn===null)throw Error(i(160));lb(m,C,d),Rn=null,Ei=!1;var z=d.alternate;z!==null&&(z.return=null),d.return=null}catch(G){an(d,n,G)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)sb(n,e),n=n.sibling}function sb(e,n){var o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ci(n,e),$i(e),s&4){try{ru(3,e,e.return),As(3,e)}catch(Be){an(e,e.return,Be)}try{ru(5,e,e.return)}catch(Be){an(e,e.return,Be)}}break;case 1:Ci(n,e),$i(e),s&512&&o!==null&&ll(o,o.return);break;case 5:if(Ci(n,e),$i(e),s&512&&o!==null&&ll(o,o.return),e.flags&32){var d=e.stateNode;try{Sn(d,"")}catch(Be){an(e,e.return,Be)}}if(s&4&&(d=e.stateNode,d!=null)){var m=e.memoizedProps,C=o!==null?o.memoizedProps:m,A=e.type,z=e.updateQueue;if(e.updateQueue=null,z!==null)try{A==="input"&&m.type==="radio"&&m.name!=null&&Ft(d,m),$t(A,C);var G=$t(A,m);for(C=0;C<z.length;C+=2){var ce=z[C],de=z[C+1];ce==="style"?Gi(d,de):ce==="dangerouslySetInnerHTML"?ct(d,de):ce==="children"?Sn(d,de):W(d,ce,de,G)}switch(A){case"input":dn(d,m);break;case"textarea":nt(d,m);break;case"select":var se=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!m.multiple;var Oe=m.value;Oe!=null?pt(d,!!m.multiple,Oe,!1):se!==!!m.multiple&&(m.defaultValue!=null?pt(d,!!m.multiple,m.defaultValue,!0):pt(d,!!m.multiple,m.multiple?[]:"",!1))}d[Ql]=m}catch(Be){an(e,e.return,Be)}}break;case 6:if(Ci(n,e),$i(e),s&4){if(e.stateNode===null)throw Error(i(162));d=e.stateNode,m=e.memoizedProps;try{d.nodeValue=m}catch(Be){an(e,e.return,Be)}}break;case 3:if(Ci(n,e),$i(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{Gt(n.containerInfo)}catch(Be){an(e,e.return,Be)}break;case 4:Ci(n,e),$i(e);break;case 13:Ci(n,e),$i(e),d=e.child,d.flags&8192&&(m=d.memoizedState!==null,d.stateNode.isHidden=m,!m||d.alternate!==null&&d.alternate.memoizedState!==null||(Ld=gt())),s&4&&ub(e);break;case 22:if(ce=o!==null&&o.memoizedState!==null,e.mode&1?(Zn=(G=Zn)||ce,Ci(n,e),Zn=G):Ci(n,e),$i(e),s&8192){if(G=e.memoizedState!==null,(e.stateNode.isHidden=G)&&!ce&&e.mode&1)for(Me=e,ce=e.child;ce!==null;){for(de=Me=ce;Me!==null;){switch(se=Me,Oe=se.child,se.tag){case 0:case 11:case 14:case 15:ru(4,se,se.return);break;case 1:ll(se,se.return);var Fe=se.stateNode;if(typeof Fe.componentWillUnmount=="function"){s=se,o=se.return;try{n=s,Fe.props=n.memoizedProps,Fe.state=n.memoizedState,Fe.componentWillUnmount()}catch(Be){an(s,o,Be)}}break;case 5:ll(se,se.return);break;case 22:if(se.memoizedState!==null){db(de);continue}}Oe!==null?(Oe.return=se,Me=Oe):db(de)}ce=ce.sibling}e:for(ce=null,de=e;;){if(de.tag===5){if(ce===null){ce=de;try{d=de.stateNode,G?(m=d.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(A=de.stateNode,z=de.memoizedProps.style,C=z!=null&&z.hasOwnProperty("display")?z.display:null,A.style.display=qn("display",C))}catch(Be){an(e,e.return,Be)}}}else if(de.tag===6){if(ce===null)try{de.stateNode.nodeValue=G?"":de.memoizedProps}catch(Be){an(e,e.return,Be)}}else if((de.tag!==22&&de.tag!==23||de.memoizedState===null||de===e)&&de.child!==null){de.child.return=de,de=de.child;continue}if(de===e)break e;for(;de.sibling===null;){if(de.return===null||de.return===e)break e;ce===de&&(ce=null),de=de.return}ce===de&&(ce=null),de.sibling.return=de.return,de=de.sibling}}break;case 19:Ci(n,e),$i(e),s&4&&ub(e);break;case 21:break;default:Ci(n,e),$i(e)}}function $i(e){var n=e.flags;if(n&2){try{e:{for(var o=e.return;o!==null;){if(ob(o)){var s=o;break e}o=o.return}throw Error(i(160))}switch(s.tag){case 5:var d=s.stateNode;s.flags&32&&(Sn(d,""),s.flags&=-33);var m=ab(e);Cd(e,m,d);break;case 3:case 4:var C=s.stateNode.containerInfo,A=ab(e);Ed(e,A,C);break;default:throw Error(i(161))}}catch(z){an(e,e.return,z)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function SP(e,n,o){Me=e,cb(e)}function cb(e,n,o){for(var s=(e.mode&1)!==0;Me!==null;){var d=Me,m=d.child;if(d.tag===22&&s){var C=d.memoizedState!==null||Bs;if(!C){var A=d.alternate,z=A!==null&&A.memoizedState!==null||Zn;A=Bs;var G=Zn;if(Bs=C,(Zn=z)&&!G)for(Me=d;Me!==null;)C=Me,z=C.child,C.tag===22&&C.memoizedState!==null?pb(d):z!==null?(z.return=C,Me=z):pb(d);for(;m!==null;)Me=m,cb(m),m=m.sibling;Me=d,Bs=A,Zn=G}fb(e)}else d.subtreeFlags&8772&&m!==null?(m.return=d,Me=m):fb(e)}}function fb(e){for(;Me!==null;){var n=Me;if(n.flags&8772){var o=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:Zn||As(5,n);break;case 1:var s=n.stateNode;if(n.flags&4&&!Zn)if(o===null)s.componentDidMount();else{var d=n.elementType===n.type?o.memoizedProps:ki(n.type,o.memoizedProps);s.componentDidUpdate(d,o.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var m=n.updateQueue;m!==null&&ly(n,m,s);break;case 3:var C=n.updateQueue;if(C!==null){if(o=null,n.child!==null)switch(n.child.tag){case 5:o=n.child.stateNode;break;case 1:o=n.child.stateNode}ly(n,C,o)}break;case 5:var A=n.stateNode;if(o===null&&n.flags&4){o=A;var z=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":z.autoFocus&&o.focus();break;case"img":z.src&&(o.src=z.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var G=n.alternate;if(G!==null){var ce=G.memoizedState;if(ce!==null){var de=ce.dehydrated;de!==null&&Gt(de)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Zn||n.flags&512&&kd(n)}catch(se){an(n,n.return,se)}}if(n===e){Me=null;break}if(o=n.sibling,o!==null){o.return=n.return,Me=o;break}Me=n.return}}function db(e){for(;Me!==null;){var n=Me;if(n===e){Me=null;break}var o=n.sibling;if(o!==null){o.return=n.return,Me=o;break}Me=n.return}}function pb(e){for(;Me!==null;){var n=Me;try{switch(n.tag){case 0:case 11:case 15:var o=n.return;try{As(4,n)}catch(z){an(n,o,z)}break;case 1:var s=n.stateNode;if(typeof s.componentDidMount=="function"){var d=n.return;try{s.componentDidMount()}catch(z){an(n,d,z)}}var m=n.return;try{kd(n)}catch(z){an(n,m,z)}break;case 5:var C=n.return;try{kd(n)}catch(z){an(n,C,z)}}}catch(z){an(n,n.return,z)}if(n===e){Me=null;break}var A=n.sibling;if(A!==null){A.return=n.return,Me=A;break}Me=n.return}}var kP=Math.ceil,Ks=Z.ReactCurrentDispatcher,xd=Z.ReactCurrentOwner,pi=Z.ReactCurrentBatchConfig,yt=0,Bn=null,bn=null,Hn=0,Vr=0,ul=jo(0),On=0,iu=null,ka=0,Is=0,Od=0,ou=null,kr=null,Ld=0,sl=1/0,bo=null,Ts=!1,Nd=null,Vo=null,js=!1,Qo=null,zs=0,au=0,Md=null,Rs=-1,Hs=0;function ir(){return yt&6?gt():Rs!==-1?Rs:Rs=gt()}function $o(e){return e.mode&1?yt&2&&Hn!==0?Hn&-Hn:aP.transition!==null?(Hs===0&&(Hs=F()),Hs):(e=be,e!==0||(e=window.event,e=e===void 0?16:ca(e.type)),e):1}function xi(e,n,o,s){if(50<au)throw au=0,Md=null,Error(i(185));U(e,o,s),(!(yt&2)||e!==Bn)&&(e===Bn&&(!(yt&2)&&(Is|=o),On===4&&Yo(e,Hn)),Er(e,s),o===1&&yt===0&&!(n.mode&1)&&(sl=gt()+500,gs&&Ro()))}function Er(e,n){var o=e.callbackNode;w(e,n);var s=Kr(e,e===Bn?Hn:0);if(s===0)o!==null&&Mr(o),e.callbackNode=null,e.callbackPriority=0;else if(n=s&-s,e.callbackPriority!==n){if(o!=null&&Mr(o),n===1)e.tag===0?oP(mb.bind(null,e)):Wv(mb.bind(null,e)),tP(function(){!(yt&6)&&Ro()}),o=null;else{switch(Ee(s)){case 1:o=ei;break;case 4:o=ti;break;case 16:o=Fr;break;case 536870912:o=hr;break;default:o=Fr}o=kb(o,hb.bind(null,e))}e.callbackPriority=n,e.callbackNode=o}}function hb(e,n){if(Rs=-1,Hs=0,yt&6)throw Error(i(327));var o=e.callbackNode;if(cl()&&e.callbackNode!==o)return null;var s=Kr(e,e===Bn?Hn:0);if(s===0)return null;if(s&30||s&e.expiredLanes||n)n=qs(e,s);else{n=s;var d=yt;yt|=2;var m=vb();(Bn!==e||Hn!==n)&&(bo=null,sl=gt()+500,Ca(e,n));do try{xP();break}catch(A){gb(e,A)}while(1);Xf(),Ks.current=m,yt=d,bn!==null?n=0:(Bn=null,Hn=0,n=On)}if(n!==0){if(n===2&&(d=O(e),d!==0&&(s=d,n=Dd(e,d))),n===1)throw o=iu,Ca(e,0),Yo(e,s),Er(e,gt()),o;if(n===6)Yo(e,s);else{if(d=e.current.alternate,!(s&30)&&!EP(d)&&(n=qs(e,s),n===2&&(m=O(e),m!==0&&(s=m,n=Dd(e,m))),n===1))throw o=iu,Ca(e,0),Yo(e,s),Er(e,gt()),o;switch(e.finishedWork=d,e.finishedLanes=s,n){case 0:case 1:throw Error(i(345));case 2:xa(e,kr,bo);break;case 3:if(Yo(e,s),(s&130023424)===s&&(n=Ld+500-gt(),10<n)){if(Kr(e,0)!==0)break;if(d=e.suspendedLanes,(d&s)!==s){ir(),e.pingedLanes|=e.suspendedLanes&d;break}e.timeoutHandle=Tf(xa.bind(null,e,kr,bo),n);break}xa(e,kr,bo);break;case 4:if(Yo(e,s),(s&4194240)===s)break;for(n=e.eventTimes,d=-1;0<s;){var C=31-rn(s);m=1<<C,C=n[C],C>d&&(d=C),s&=~m}if(s=d,s=gt()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*kP(s/1960))-s,10<s){e.timeoutHandle=Tf(xa.bind(null,e,kr,bo),s);break}xa(e,kr,bo);break;case 5:xa(e,kr,bo);break;default:throw Error(i(329))}}}return Er(e,gt()),e.callbackNode===o?hb.bind(null,e):null}function Dd(e,n){var o=ou;return e.current.memoizedState.isDehydrated&&(Ca(e,n).flags|=256),e=qs(e,n),e!==2&&(n=kr,kr=o,n!==null&&Fd(n)),e}function Fd(e){kr===null?kr=e:kr.push.apply(kr,e)}function EP(e){for(var n=e;;){if(n.flags&16384){var o=n.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var s=0;s<o.length;s++){var d=o[s],m=d.getSnapshot;d=d.value;try{if(!Ce(m(),d))return!1}catch{return!1}}}if(o=n.child,n.subtreeFlags&16384&&o!==null)o.return=n,n=o;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Yo(e,n){for(n&=~Od,n&=~Is,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var o=31-rn(n),s=1<<o;e[o]=-1,n&=~s}}function mb(e){if(yt&6)throw Error(i(327));cl();var n=Kr(e,0);if(!(n&1))return Er(e,gt()),null;var o=qs(e,n);if(e.tag!==0&&o===2){var s=O(e);s!==0&&(n=s,o=Dd(e,s))}if(o===1)throw o=iu,Ca(e,0),Yo(e,n),Er(e,gt()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,xa(e,kr,bo),Er(e,gt()),null}function Pd(e,n){var o=yt;yt|=1;try{return e(n)}finally{yt=o,yt===0&&(sl=gt()+500,gs&&Ro())}}function Ea(e){Qo!==null&&Qo.tag===0&&!(yt&6)&&cl();var n=yt;yt|=1;var o=pi.transition,s=be;try{if(pi.transition=null,be=1,e)return e()}finally{be=s,pi.transition=o,yt=n,!(yt&6)&&Ro()}}function Bd(){Vr=ul.current,Qt(ul)}function Ca(e,n){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,eP(o)),bn!==null)for(o=bn.return;o!==null;){var s=o;switch(Uf(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&hs();break;case 3:ol(),Qt(_r),Qt($n),od();break;case 5:rd(s);break;case 4:ol();break;case 13:Qt(tn);break;case 19:Qt(tn);break;case 10:Zf(s.type._context);break;case 22:case 23:Bd()}o=o.return}if(Bn=e,bn=e=Xo(e.current,null),Hn=Vr=n,On=0,iu=null,Od=Is=ka=0,kr=ou=null,_a!==null){for(n=0;n<_a.length;n++)if(o=_a[n],s=o.interleaved,s!==null){o.interleaved=null;var d=s.next,m=o.pending;if(m!==null){var C=m.next;m.next=d,s.next=C}o.pending=s}_a=null}return e}function gb(e,n){do{var o=bn;try{if(Xf(),Os.current=Ds,Ls){for(var s=nn.memoizedState;s!==null;){var d=s.queue;d!==null&&(d.pending=null),s=s.next}Ls=!1}if(Sa=0,Pn=xn=nn=null,Wl=!1,Gl=0,xd.current=null,o===null||o.return===null){On=1,iu=n,bn=null;break}e:{var m=e,C=o.return,A=o,z=n;if(n=Hn,A.flags|=32768,z!==null&&typeof z=="object"&&typeof z.then=="function"){var G=z,ce=A,de=ce.tag;if(!(ce.mode&1)&&(de===0||de===11||de===15)){var se=ce.alternate;se?(ce.updateQueue=se.updateQueue,ce.memoizedState=se.memoizedState,ce.lanes=se.lanes):(ce.updateQueue=null,ce.memoizedState=null)}var Oe=zy(C);if(Oe!==null){Oe.flags&=-257,Ry(Oe,C,A,m,n),Oe.mode&1&&jy(m,G,n),n=Oe,z=G;var Fe=n.updateQueue;if(Fe===null){var Be=new Set;Be.add(z),n.updateQueue=Be}else Fe.add(z);break e}else{if(!(n&1)){jy(m,G,n),Ad();break e}z=Error(i(426))}}else if(Xt&&A.mode&1){var un=zy(C);if(un!==null){!(un.flags&65536)&&(un.flags|=256),Ry(un,C,A,m,n),$f(al(z,A));break e}}m=z=al(z,A),On!==4&&(On=2),ou===null?ou=[m]:ou.push(m),m=C;do{switch(m.tag){case 3:m.flags|=65536,n&=-n,m.lanes|=n;var Q=Iy(m,z,n);ay(m,Q);break e;case 1:A=z;var R=m.type,X=m.stateNode;if(!(m.flags&128)&&(typeof R.getDerivedStateFromError=="function"||X!==null&&typeof X.componentDidCatch=="function"&&(Vo===null||!Vo.has(X)))){m.flags|=65536,n&=-n,m.lanes|=n;var ye=Ty(m,A,n);ay(m,ye);break e}}m=m.return}while(m!==null)}bb(o)}catch(Ae){n=Ae,bn===o&&o!==null&&(bn=o=o.return);continue}break}while(1)}function vb(){var e=Ks.current;return Ks.current=Ds,e===null?Ds:e}function Ad(){(On===0||On===3||On===2)&&(On=4),Bn===null||!(ka&268435455)&&!(Is&268435455)||Yo(Bn,Hn)}function qs(e,n){var o=yt;yt|=2;var s=vb();(Bn!==e||Hn!==n)&&(bo=null,Ca(e,n));do try{CP();break}catch(d){gb(e,d)}while(1);if(Xf(),yt=o,Ks.current=s,bn!==null)throw Error(i(261));return Bn=null,Hn=0,On}function CP(){for(;bn!==null;)yb(bn)}function xP(){for(;bn!==null&&!Dr();)yb(bn)}function yb(e){var n=Sb(e.alternate,e,Vr);e.memoizedProps=e.pendingProps,n===null?bb(e):bn=n,xd.current=null}function bb(e){var n=e;do{var o=n.alternate;if(e=n.return,n.flags&32768){if(o=bP(o,n),o!==null){o.flags&=32767,bn=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{On=6,bn=null;return}}else if(o=yP(o,n,Vr),o!==null){bn=o;return}if(n=n.sibling,n!==null){bn=n;return}bn=n=e}while(n!==null);On===0&&(On=5)}function xa(e,n,o){var s=be,d=pi.transition;try{pi.transition=null,be=1,OP(e,n,o,s)}finally{pi.transition=d,be=s}return null}function OP(e,n,o,s){do cl();while(Qo!==null);if(yt&6)throw Error(i(327));o=e.finishedWork;var d=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var m=o.lanes|o.childLanes;if(ie(e,m),e===Bn&&(bn=Bn=null,Hn=0),!(o.subtreeFlags&2064)&&!(o.flags&2064)||js||(js=!0,kb(Fr,function(){return cl(),null})),m=(o.flags&15990)!==0,o.subtreeFlags&15990||m){m=pi.transition,pi.transition=null;var C=be;be=1;var A=yt;yt|=4,xd.current=null,wP(e,o),sb(o,e),$3(Kf),gn=!!Af,Kf=Af=null,e.current=o,SP(o),Gr(),yt=A,be=C,pi.transition=m}else e.current=o;if(js&&(js=!1,Qo=e,zs=d),m=e.pendingLanes,m===0&&(Vo=null),Pr(o.stateNode),Er(e,gt()),n!==null)for(s=e.onRecoverableError,o=0;o<n.length;o++)d=n[o],s(d.value,{componentStack:d.stack,digest:d.digest});if(Ts)throw Ts=!1,e=Nd,Nd=null,e;return zs&1&&e.tag!==0&&cl(),m=e.pendingLanes,m&1?e===Md?au++:(au=0,Md=e):au=0,Ro(),null}function cl(){if(Qo!==null){var e=Ee(zs),n=pi.transition,o=be;try{if(pi.transition=null,be=16>e?16:e,Qo===null)var s=!1;else{if(e=Qo,Qo=null,zs=0,yt&6)throw Error(i(331));var d=yt;for(yt|=4,Me=e.current;Me!==null;){var m=Me,C=m.child;if(Me.flags&16){var A=m.deletions;if(A!==null){for(var z=0;z<A.length;z++){var G=A[z];for(Me=G;Me!==null;){var ce=Me;switch(ce.tag){case 0:case 11:case 15:ru(8,ce,m)}var de=ce.child;if(de!==null)de.return=ce,Me=de;else for(;Me!==null;){ce=Me;var se=ce.sibling,Oe=ce.return;if(ib(ce),ce===G){Me=null;break}if(se!==null){se.return=Oe,Me=se;break}Me=Oe}}}var Fe=m.alternate;if(Fe!==null){var Be=Fe.child;if(Be!==null){Fe.child=null;do{var un=Be.sibling;Be.sibling=null,Be=un}while(Be!==null)}}Me=m}}if(m.subtreeFlags&2064&&C!==null)C.return=m,Me=C;else e:for(;Me!==null;){if(m=Me,m.flags&2048)switch(m.tag){case 0:case 11:case 15:ru(9,m,m.return)}var Q=m.sibling;if(Q!==null){Q.return=m.return,Me=Q;break e}Me=m.return}}var R=e.current;for(Me=R;Me!==null;){C=Me;var X=C.child;if(C.subtreeFlags&2064&&X!==null)X.return=C,Me=X;else e:for(C=R;Me!==null;){if(A=Me,A.flags&2048)try{switch(A.tag){case 0:case 11:case 15:As(9,A)}}catch(Ae){an(A,A.return,Ae)}if(A===C){Me=null;break e}var ye=A.sibling;if(ye!==null){ye.return=A.return,Me=ye;break e}Me=A.return}}if(yt=d,Ro(),Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(Yt,e)}catch{}s=!0}return s}finally{be=o,pi.transition=n}}return!1}function _b(e,n,o){n=al(o,n),n=Iy(e,n,1),e=qo(e,n,1),n=ir(),e!==null&&(U(e,1,n),Er(e,n))}function an(e,n,o){if(e.tag===3)_b(e,e,o);else for(;n!==null;){if(n.tag===3){_b(n,e,o);break}else if(n.tag===1){var s=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Vo===null||!Vo.has(s))){e=al(o,e),e=Ty(n,e,1),n=qo(n,e,1),e=ir(),n!==null&&(U(n,1,e),Er(n,e));break}}n=n.return}}function LP(e,n,o){var s=e.pingCache;s!==null&&s.delete(n),n=ir(),e.pingedLanes|=e.suspendedLanes&o,Bn===e&&(Hn&o)===o&&(On===4||On===3&&(Hn&130023424)===Hn&&500>gt()-Ld?Ca(e,0):Od|=o),Er(e,n)}function wb(e,n){n===0&&(e.mode&1?(n=mr,mr<<=1,!(mr&130023424)&&(mr=4194304)):n=1);var o=ir();e=go(e,n),e!==null&&(U(e,n,o),Er(e,o))}function NP(e){var n=e.memoizedState,o=0;n!==null&&(o=n.retryLane),wb(e,o)}function MP(e,n){var o=0;switch(e.tag){case 13:var s=e.stateNode,d=e.memoizedState;d!==null&&(o=d.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(i(314))}s!==null&&s.delete(n),wb(e,o)}var Sb;Sb=function(e,n,o){if(e!==null)if(e.memoizedProps!==n.pendingProps||_r.current)Sr=!0;else{if(!(e.lanes&o)&&!(n.flags&128))return Sr=!1,vP(e,n,o);Sr=!!(e.flags&131072)}else Sr=!1,Xt&&n.flags&1048576&&Gv(n,ys,n.index);switch(n.lanes=0,n.tag){case 2:var s=n.type;Ps(e,n),e=n.pendingProps;var d=Wa(n,$n.current);rl(n,o),d=ud(null,n,s,e,d,o);var m=sd();return n.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,wr(s)?(m=!0,ms(n)):m=!1,n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,Gf(n),d.updater=Es,n.stateNode=d,d._reactInternals=n,td(n,s,e,o),n=vd(null,n,s,!0,m,o)):(n.tag=0,Xt&&m&&qf(n),rr(null,n,d,o),n=n.child),n;case 16:s=n.elementType;e:{switch(Ps(e,n),e=n.pendingProps,d=s._init,s=d(s._payload),n.type=s,d=n.tag=FP(s),e=ki(s,e),d){case 0:n=gd(null,n,s,e,o);break e;case 1:n=$y(null,n,s,e,o);break e;case 11:n=Hy(null,n,s,e,o);break e;case 14:n=qy(null,n,s,ki(s.type,e),o);break e}throw Error(i(306,s,""))}return n;case 0:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:ki(s,d),gd(e,n,s,d,o);case 1:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:ki(s,d),$y(e,n,s,d,o);case 3:e:{if(Yy(n),e===null)throw Error(i(387));s=n.pendingProps,m=n.memoizedState,d=m.element,oy(e,n),ks(n,s,null,o);var C=n.memoizedState;if(s=C.element,m.isDehydrated)if(m={element:s,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},n.updateQueue.baseState=m,n.memoizedState=m,n.flags&256){d=al(Error(i(423)),n),n=Xy(e,n,s,o,d);break e}else if(s!==d){d=al(Error(i(424)),n),n=Xy(e,n,s,o,d);break e}else for(Ur=To(n.stateNode.containerInfo.firstChild),qr=n,Xt=!0,Si=null,o=hy(n,null,s,o),n.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(tl(),s===d){n=yo(e,n,o);break e}rr(e,n,s,o)}n=n.child}return n;case 5:return my(n),e===null&&Qf(n),s=n.type,d=n.pendingProps,m=e!==null?e.memoizedProps:null,C=d.children,If(s,d)?C=null:m!==null&&If(s,m)&&(n.flags|=32),Qy(e,n),rr(e,n,C,o),n.child;case 6:return e===null&&Qf(n),null;case 13:return Zy(e,n,o);case 4:return nd(n,n.stateNode.containerInfo),s=n.pendingProps,e===null?n.child=il(n,null,s,o):rr(e,n,s,o),n.child;case 11:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:ki(s,d),Hy(e,n,s,d,o);case 7:return rr(e,n,n.pendingProps,o),n.child;case 8:return rr(e,n,n.pendingProps.children,o),n.child;case 12:return rr(e,n,n.pendingProps.children,o),n.child;case 10:e:{if(s=n.type._context,d=n.pendingProps,m=n.memoizedProps,C=d.value,Ht(_s,s._currentValue),s._currentValue=C,m!==null)if(Ce(m.value,C)){if(m.children===d.children&&!_r.current){n=yo(e,n,o);break e}}else for(m=n.child,m!==null&&(m.return=n);m!==null;){var A=m.dependencies;if(A!==null){C=m.child;for(var z=A.firstContext;z!==null;){if(z.context===s){if(m.tag===1){z=vo(-1,o&-o),z.tag=2;var G=m.updateQueue;if(G!==null){G=G.shared;var ce=G.pending;ce===null?z.next=z:(z.next=ce.next,ce.next=z),G.pending=z}}m.lanes|=o,z=m.alternate,z!==null&&(z.lanes|=o),Jf(m.return,o,n),A.lanes|=o;break}z=z.next}}else if(m.tag===10)C=m.type===n.type?null:m.child;else if(m.tag===18){if(C=m.return,C===null)throw Error(i(341));C.lanes|=o,A=C.alternate,A!==null&&(A.lanes|=o),Jf(C,o,n),C=m.sibling}else C=m.child;if(C!==null)C.return=m;else for(C=m;C!==null;){if(C===n){C=null;break}if(m=C.sibling,m!==null){m.return=C.return,C=m;break}C=C.return}m=C}rr(e,n,d.children,o),n=n.child}return n;case 9:return d=n.type,s=n.pendingProps.children,rl(n,o),d=fi(d),s=s(d),n.flags|=1,rr(e,n,s,o),n.child;case 14:return s=n.type,d=ki(s,n.pendingProps),d=ki(s.type,d),qy(e,n,s,d,o);case 15:return Uy(e,n,n.type,n.pendingProps,o);case 17:return s=n.type,d=n.pendingProps,d=n.elementType===s?d:ki(s,d),Ps(e,n),n.tag=1,wr(s)?(e=!0,ms(n)):e=!1,rl(n,o),cy(n,s,d),td(n,s,d,o),vd(null,n,s,!0,e,o);case 19:return Wy(e,n,o);case 22:return Vy(e,n,o)}throw Error(i(156,n.tag))};function kb(e,n){return tt(e,n)}function DP(e,n,o,s){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function hi(e,n,o,s){return new DP(e,n,o,s)}function Kd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function FP(e){if(typeof e=="function")return Kd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===he)return 11;if(e===Te)return 14}return 2}function Xo(e,n){var o=e.alternate;return o===null?(o=hi(e.tag,n,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=n,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,n=e.dependencies,o.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Us(e,n,o,s,d,m){var C=2;if(s=e,typeof e=="function")Kd(e)&&(C=1);else if(typeof e=="string")C=5;else e:switch(e){case _e:return Oa(o.children,d,m,n);case Ie:C=8,d|=8;break;case ve:return e=hi(12,o,n,d|2),e.elementType=ve,e.lanes=m,e;case ge:return e=hi(13,o,n,d),e.elementType=ge,e.lanes=m,e;case Le:return e=hi(19,o,n,d),e.elementType=Le,e.lanes=m,e;case Re:return Vs(o,d,m,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ke:C=10;break e;case we:C=9;break e;case he:C=11;break e;case Te:C=14;break e;case De:C=16,s=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return n=hi(C,o,n,d),n.elementType=e,n.type=s,n.lanes=m,n}function Oa(e,n,o,s){return e=hi(7,e,s,n),e.lanes=o,e}function Vs(e,n,o,s){return e=hi(22,e,s,n),e.elementType=Re,e.lanes=o,e.stateNode={isHidden:!1},e}function Id(e,n,o){return e=hi(6,e,null,n),e.lanes=o,e}function Td(e,n,o){return n=hi(4,e.children!==null?e.children:[],e.key,n),n.lanes=o,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function PP(e,n,o,s,d){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$(0),this.expirationTimes=$(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$(0),this.identifierPrefix=s,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function jd(e,n,o,s,d,m,C,A,z){return e=new PP(e,n,o,A,z),n===1?(n=1,m===!0&&(n|=8)):n=0,m=hi(3,null,null,n),e.current=m,m.stateNode=e,m.memoizedState={element:s,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gf(m),e}function BP(e,n,o){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Se,key:s==null?null:""+s,children:e,containerInfo:n,implementation:o}}function Eb(e){if(!e)return zo;e=e._reactInternals;e:{if(Gn(e)!==e||e.tag!==1)throw Error(i(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(wr(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(i(171))}if(e.tag===1){var o=e.type;if(wr(o))return Zv(e,o,n)}return n}function Cb(e,n,o,s,d,m,C,A,z){return e=jd(o,s,!0,e,d,m,C,A,z),e.context=Eb(null),o=e.current,s=ir(),d=$o(o),m=vo(s,d),m.callback=n??null,qo(o,m,d),e.current.lanes=d,U(e,d,s),Er(e,s),e}function Qs(e,n,o,s){var d=n.current,m=ir(),C=$o(d);return o=Eb(o),n.context===null?n.context=o:n.pendingContext=o,n=vo(m,C),n.payload={element:e},s=s===void 0?null:s,s!==null&&(n.callback=s),e=qo(d,n,C),e!==null&&(xi(e,d,C,m),Ss(e,d,C)),C}function $s(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function xb(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<n?o:n}}function zd(e,n){xb(e,n),(e=e.alternate)&&xb(e,n)}function AP(){return null}var Ob=typeof reportError=="function"?reportError:function(e){console.error(e)};function Rd(e){this._internalRoot=e}Ys.prototype.render=Rd.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(i(409));Qs(e,n,null,null)},Ys.prototype.unmount=Rd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Ea(function(){Qs(null,e,null,null)}),n[fo]=null}};function Ys(e){this._internalRoot=e}Ys.prototype.unstable_scheduleHydration=function(e){if(e){var n=Wt();e={blockedOn:null,target:e,priority:n};for(var o=0;o<Ir.length&&n!==0&&n<Ir[o].priority;o++);Ir.splice(o,0,e),o===0&&tr(e)}};function Hd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Xs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Lb(){}function KP(e,n,o,s,d){if(d){if(typeof s=="function"){var m=s;s=function(){var G=$s(C);m.call(G)}}var C=Cb(n,s,e,0,null,!1,!1,"",Lb);return e._reactRootContainer=C,e[fo]=C.current,Ul(e.nodeType===8?e.parentNode:e),Ea(),C}for(;d=e.lastChild;)e.removeChild(d);if(typeof s=="function"){var A=s;s=function(){var G=$s(z);A.call(G)}}var z=jd(e,0,!1,null,null,!1,!1,"",Lb);return e._reactRootContainer=z,e[fo]=z.current,Ul(e.nodeType===8?e.parentNode:e),Ea(function(){Qs(n,z,o,s)}),z}function Zs(e,n,o,s,d){var m=o._reactRootContainer;if(m){var C=m;if(typeof d=="function"){var A=d;d=function(){var z=$s(C);A.call(z)}}Qs(n,C,e,d)}else C=KP(o,n,e,d,s);return $s(C)}We=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var o=Ar(n.pendingLanes);o!==0&&(me(n,o|1),Er(n,gt()),!(yt&6)&&(sl=gt()+500,Ro()))}break;case 13:Ea(function(){var s=go(e,1);if(s!==null){var d=ir();xi(s,e,1,d)}}),zd(e,1)}},wt=function(e){if(e.tag===13){var n=go(e,134217728);if(n!==null){var o=ir();xi(n,e,134217728,o)}zd(e,134217728)}},xt=function(e){if(e.tag===13){var n=$o(e),o=go(e,n);if(o!==null){var s=ir();xi(o,e,n,s)}zd(e,n)}},Wt=function(){return be},on=function(e,n){var o=be;try{return be=e,n()}finally{be=o}},Rt=function(e,n,o){switch(n){case"input":if(dn(e,o),n=o.name,o.type==="radio"&&n!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<o.length;n++){var s=o[n];if(s!==e&&s.form===e.form){var d=ps(s);if(!d)throw Error(i(90));Zt(s),dn(s,d)}}}break;case"textarea":nt(e,o);break;case"select":n=o.value,n!=null&&pt(e,!!o.multiple,n,!1)}},kn=Pd,xr=Ea;var IP={usingClientEntryPoint:!1,Events:[$l,Za,ps,Vn,Jn,Pd]},lu={findFiberByHostInstance:ga,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},TP={bundleType:lu.bundleType,version:lu.version,rendererPackageName:lu.rendererPackageName,rendererConfig:lu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Z.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Lr(e),e===null?null:e.stateNode},findFiberByHostInstance:lu.findFiberByHostInstance||AP,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Js=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Js.isDisabled&&Js.supportsFiber)try{Yt=Js.inject(TP),Nn=Js}catch{}}return sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=IP,sr.createPortal=function(e,n){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Hd(n))throw Error(i(200));return BP(e,n,null,o)},sr.createRoot=function(e,n){if(!Hd(e))throw Error(i(299));var o=!1,s="",d=Ob;return n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError)),n=jd(e,1,!1,null,null,o,!1,s,d),e[fo]=n.current,Ul(e.nodeType===8?e.parentNode:e),new Rd(n)},sr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=Lr(n),e=e===null?null:e.stateNode,e},sr.flushSync=function(e){return Ea(e)},sr.hydrate=function(e,n,o){if(!Xs(n))throw Error(i(200));return Zs(null,e,n,!0,o)},sr.hydrateRoot=function(e,n,o){if(!Hd(e))throw Error(i(405));var s=o!=null&&o.hydratedSources||null,d=!1,m="",C=Ob;if(o!=null&&(o.unstable_strictMode===!0&&(d=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onRecoverableError!==void 0&&(C=o.onRecoverableError)),n=Cb(n,null,e,1,o??null,d,!1,m,C),e[fo]=n.current,Ul(e),s)for(e=0;e<s.length;e++)o=s[e],d=o._getVersion,d=d(o._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[o,d]:n.mutableSourceEagerHydrationData.push(o,d);return new Ys(n)},sr.render=function(e,n,o){if(!Xs(n))throw Error(i(200));return Zs(null,e,n,!1,o)},sr.unmountComponentAtNode=function(e){if(!Xs(e))throw Error(i(40));return e._reactRootContainer?(Ea(function(){Zs(null,null,e,!1,function(){e._reactRootContainer=null,e[fo]=null})}),!0):!1},sr.unstable_batchedUpdates=Pd,sr.unstable_renderSubtreeIntoContainer=function(e,n,o,s){if(!Xs(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return Zs(e,n,o,!1,s)},sr.version="18.2.0-next-9e3b772b8-20220608",sr}(function(t){function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}r(),t.exports=nD()})(WM);var rD=uf,iD=rD.unstable_flushControlled,oD=iD;function aD(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var cf=q,Bg=ta,lD=function(t){aD(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.shouldComponentUpdate=function(a){return this.props.text!==a.text||this.props.editorState.getSelection().getHasFocus()!==a.editorState.getSelection().getHasFocus()},i.render=function(){var a=this.props.editorState.getSelection().getHasFocus(),u=Bg({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":a}),f={whiteSpace:"pre-wrap"};return cf.createElement("div",{className:u},cf.createElement("div",{className:Bg("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:f},this.props.text))},r}(cf.Component),uD=lD,Ag=Jc,Bl=Bu,Kg=ur,So=Kg.isPlatform("Mac OS X"),Ig=So&&Kg.isBrowser("Firefox < 29"),ko=Ag.hasCommandModifier,Wi=Ag.isCtrlKeyCommand;function Tg(t){return So&&t.altKey||Wi(t)}function sD(t){return ko(t)?t.shiftKey?"redo":"undo":null}function cD(t){return!So&&t.shiftKey?null:Tg(t)?"delete-word":"delete"}function fD(t){return ko(t)&&So?"backspace-to-start-of-line":Tg(t)?"backspace-word":"backspace"}function dD(t){switch(t.keyCode){case 66:return ko(t)?"bold":null;case 68:return Wi(t)?"delete":null;case 72:return Wi(t)?"backspace":null;case 73:return ko(t)?"italic":null;case 74:return ko(t)?"code":null;case 75:return So&&Wi(t)?"secondary-cut":null;case 77:return Wi(t)?"split-block":null;case 79:return Wi(t)?"split-block":null;case 84:return So&&Wi(t)?"transpose-characters":null;case 85:return ko(t)?"underline":null;case 87:return So&&Wi(t)?"backspace-word":null;case 89:return Wi(t)?So?"secondary-paste":"redo":null;case 90:return sD(t)||null;case Bl.RETURN:return"split-block";case Bl.DELETE:return cD(t);case Bl.BACKSPACE:return fD(t);case Bl.LEFT:return Ig&&ko(t)?"move-selection-to-start-of-block":null;case Bl.RIGHT:return Ig&&ko(t)?"move-selection-to-end-of-block":null;default:return null}}var jg=dD,pD=na;function ff(){return ff=pD||function(t){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},ff.apply(this,arguments)}function df(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){Ke(t,u,i[u])})}return t}function ze(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ke(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function zg(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}var hD=Sc,mD=fh,gD=CE,vD=ZC,yD=xx,bD=JM,Rg=oD,_D=uD,wD=zt,Eo=q,SD=jc,kD=Hu,ED=ur,pf=ta,CD=Oi,xD=jg,OD=qu,LD=_o,Hg=_t,qg=Ol,ND=lr,Ug=ED.isBrowser("IE"),MD=!Ug,Vg={edit:bD,composite:gD,drag:yD,cut:null,render:null},Qg=!1,DD=function(t){zg(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.render=function(){return null},i.componentDidMount=function(){this._update()},i.componentDidUpdate=function(){this._update()},i._update=function(){var a=this.props.editor;a._latestEditorState=this.props.editorState,a._blockSelectEvents=!0},r}(Eo.Component),$g=function(t){zg(r,t);function r(a){var u;return u=t.call(this,a)||this,Ke(ze(u),"_blockSelectEvents",void 0),Ke(ze(u),"_clipboard",void 0),Ke(ze(u),"_handler",void 0),Ke(ze(u),"_dragCount",void 0),Ke(ze(u),"_internalDrag",void 0),Ke(ze(u),"_editorKey",void 0),Ke(ze(u),"_placeholderAccessibilityID",void 0),Ke(ze(u),"_latestEditorState",void 0),Ke(ze(u),"_latestCommittedEditorState",void 0),Ke(ze(u),"_pendingStateFromBeforeInput",void 0),Ke(ze(u),"_onBeforeInput",void 0),Ke(ze(u),"_onBlur",void 0),Ke(ze(u),"_onCharacterData",void 0),Ke(ze(u),"_onCompositionEnd",void 0),Ke(ze(u),"_onCompositionStart",void 0),Ke(ze(u),"_onCopy",void 0),Ke(ze(u),"_onCut",void 0),Ke(ze(u),"_onDragEnd",void 0),Ke(ze(u),"_onDragOver",void 0),Ke(ze(u),"_onDragStart",void 0),Ke(ze(u),"_onDrop",void 0),Ke(ze(u),"_onInput",void 0),Ke(ze(u),"_onFocus",void 0),Ke(ze(u),"_onKeyDown",void 0),Ke(ze(u),"_onKeyPress",void 0),Ke(ze(u),"_onKeyUp",void 0),Ke(ze(u),"_onMouseDown",void 0),Ke(ze(u),"_onMouseUp",void 0),Ke(ze(u),"_onPaste",void 0),Ke(ze(u),"_onSelect",void 0),Ke(ze(u),"editor",void 0),Ke(ze(u),"editorContainer",void 0),Ke(ze(u),"focus",void 0),Ke(ze(u),"blur",void 0),Ke(ze(u),"setMode",void 0),Ke(ze(u),"exitCurrentMode",void 0),Ke(ze(u),"restoreEditorDOM",void 0),Ke(ze(u),"setClipboard",void 0),Ke(ze(u),"getClipboard",void 0),Ke(ze(u),"getEditorKey",void 0),Ke(ze(u),"update",void 0),Ke(ze(u),"onDragEnter",void 0),Ke(ze(u),"onDragLeave",void 0),Ke(ze(u),"_handleEditorContainerRef",function(f){u.editorContainer=f,u.editor=f!==null?f.firstChild:null}),Ke(ze(u),"focus",function(f){var g=u.props.editorState,y=g.getSelection().getHasFocus(),b=u.editor;if(b){var k=kD.getScrollParent(b),L=f||OD(k),B=L.x,M=L.y;qg(b)||Hg(!1),b.focus(),k===window?window.scrollTo(B,M):SD.setTop(k,M),y||u.update(wD.forceSelection(g,g.getSelection()))}}),Ke(ze(u),"blur",function(){var f=u.editor;f&&(qg(f)||Hg(!1),f.blur())}),Ke(ze(u),"setMode",function(f){var g=u.props,y=g.onPaste,b=g.onCut,k=g.onCopy,L=df({},Vg.edit);y&&(L.onPaste=y),b&&(L.onCut=b),k&&(L.onCopy=k);var B=df({},Vg,{edit:L});u._handler=B[f]}),Ke(ze(u),"exitCurrentMode",function(){u.setMode("edit")}),Ke(ze(u),"restoreEditorDOM",function(f){u.setState({contentsKey:u.state.contentsKey+1},function(){u.focus(f)})}),Ke(ze(u),"setClipboard",function(f){u._clipboard=f}),Ke(ze(u),"getClipboard",function(){return u._clipboard}),Ke(ze(u),"update",function(f){u._latestEditorState=f,u.props.onChange(f)}),Ke(ze(u),"onDragEnter",function(){u._dragCount++}),Ke(ze(u),"onDragLeave",function(){u._dragCount--,u._dragCount===0&&u.exitCurrentMode()}),u._blockSelectEvents=!1,u._clipboard=null,u._handler=null,u._dragCount=0,u._editorKey=a.editorKey||CD(),u._placeholderAccessibilityID="placeholder-"+u._editorKey,u._latestEditorState=a.editorState,u._latestCommittedEditorState=a.editorState,u._onBeforeInput=u._buildHandler("onBeforeInput"),u._onBlur=u._buildHandler("onBlur"),u._onCharacterData=u._buildHandler("onCharacterData"),u._onCompositionEnd=u._buildHandler("onCompositionEnd"),u._onCompositionStart=u._buildHandler("onCompositionStart"),u._onCopy=u._buildHandler("onCopy"),u._onCut=u._buildHandler("onCut"),u._onDragEnd=u._buildHandler("onDragEnd"),u._onDragOver=u._buildHandler("onDragOver"),u._onDragStart=u._buildHandler("onDragStart"),u._onDrop=u._buildHandler("onDrop"),u._onInput=u._buildHandler("onInput"),u._onFocus=u._buildHandler("onFocus"),u._onKeyDown=u._buildHandler("onKeyDown"),u._onKeyPress=u._buildHandler("onKeyPress"),u._onKeyUp=u._buildHandler("onKeyUp"),u._onMouseDown=u._buildHandler("onMouseDown"),u._onMouseUp=u._buildHandler("onMouseUp"),u._onPaste=u._buildHandler("onPaste"),u._onSelect=u._buildHandler("onSelect"),u.getEditorKey=function(){return u._editorKey},u.state={contentsKey:0},u}var i=r.prototype;return i._buildHandler=function(a){var u=this;return function(f){if(!u.props.readOnly){var g=u._handler&&u._handler[a];g&&(Rg?Rg(function(){return g(u,f)}):g(u,f))}}},i._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},i._renderPlaceholder=function(){if(this._showPlaceholder()){var a={text:ND(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return Eo.createElement(_D,a)}return null},i._renderARIADescribedBy=function(){var a=this.props.ariaDescribedBy||"",u=this._showPlaceholder()?this._placeholderAccessibilityID:"";return a.replace("{{editor_id_placeholder}}",u)||void 0},i.render=function(){var a=this.props,u=a.blockRenderMap,f=a.blockRendererFn,g=a.blockStyleFn,y=a.customStyleFn,b=a.customStyleMap,k=a.editorState,L=a.preventScroll,B=a.readOnly,M=a.textAlignment,j=a.textDirectionality,P=pf({"DraftEditor/root":!0,"DraftEditor/alignLeft":M==="left","DraftEditor/alignRight":M==="right","DraftEditor/alignCenter":M==="center"}),K={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},T=this.props.role||"textbox",ne=T==="combobox"?!!this.props.ariaExpanded:null,J={blockRenderMap:u,blockRendererFn:f,blockStyleFn:g,customStyleMap:df({},mD,b),customStyleFn:y,editorKey:this._editorKey,editorState:k,preventScroll:L,textDirectionality:j};return Eo.createElement("div",{className:P},this._renderPlaceholder(),Eo.createElement("div",{className:pf("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},Eo.createElement("div",{"aria-activedescendant":B?null:this.props.ariaActiveDescendantID,"aria-autocomplete":B?null:this.props.ariaAutoComplete,"aria-controls":B?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":B?null:ne,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":B?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:pf({notranslate:!B,"public/DraftEditor/content":!0}),contentEditable:!B,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:B?null:T,spellCheck:MD&&this.props.spellCheck,style:K,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},Eo.createElement(DD,{editor:this,editorState:k}),Eo.createElement(vD,ff({},J,{key:"contents"+this.state.contentsKey})))))},i.componentDidMount=function(){this._blockSelectEvents=!1,!Qg&&LD("draft_ods_enabled")&&(Qg=!0),this.setMode("edit"),Ug&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):Na.execCommand("AutoUrlDetect",!1,!1))},i.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},r}(Eo.Component);Ke($g,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:hD,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:xD,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var FD=$g,PD={},BD={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}},Yg=BD,AD=Yg,KD=aa,Xg=KD.strlen;function ID(t,r){var i=[];return t.findEntityRanges(function(a){return!!a.getEntity()},function(a,u){var f=t.getText(),g=t.getEntityAt(a);i.push({offset:Xg(f.slice(0,a)),length:Xg(f.slice(a,u)),key:Number(r[AD.stringify(g)])})}),i}var TD=ID,Zg=aa,jD=ml,zD=function(t,r){return t===r},RD=function(t){return!!t},HD=[];function qD(t,r,i){var a=[],u=r.map(function(f){return f.has(i)}).toList();return jD(u,zD,RD,function(f,g){var y=t.getText();a.push({offset:Zg.strlen(y.slice(0,f)),length:Zg.strlen(y.slice(f,g)),style:i})}),a}function UD(t){var r=t.getCharacterList().map(function(a){return a.getStyle()}).toList(),i=r.flatten().toSet().map(function(a){return qD(t,r,a)});return Array.prototype.concat.apply(HD,i.toJS())}var VD=UD;function QD(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){$D(t,u,i[u])})}return t}function $D(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var YD=Wo,XD=$r,Jg=Yg,ZD=TD,JD=VD,WD=_t,Wg=function(t,r){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:JD(t),entityRanges:ZD(t,r),data:t.getData().toObject()}},GD=function(t,r,i,a){if(t instanceof YD){i.push(Wg(t,r));return}t instanceof XD||WD(!1);var u=t.getParentKey(),f=a[t.getKey()]=QD({},Wg(t,r),{children:[]});if(u){a[u].children.push(f);return}i.push(f)},e2=function(t,r){var i=r.entityMap,a=[],u={},f={},g=0;return t.getBlockMap().forEach(function(y){y.findEntityRanges(function(b){return b.getEntity()!==null},function(b){var k=y.getEntityAt(b),L=Jg.stringify(k);f[L]||(f[L]=k,i[L]="".concat(g),g++)}),GD(y,i,a,u)}),{blocks:a,entityMap:i}},t2=function(t,r){var i=r.blocks,a=r.entityMap,u={};return Object.keys(a).forEach(function(f,g){var y=t.getEntity(Jg.unstringify(f));u[g]={type:y.getType(),mutability:y.getMutability(),data:y.getData()}}),{blocks:i,entityMap:u}},n2=function(t){var r={entityMap:{},blocks:[]};return r=e2(t,r),r=t2(t,r),r},r2=n2;function Al(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){i2(t,u,i[u])})}return t}function i2(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var o2=Oi,Gg=_t,a2=function(t,r){for(var i=[].concat(t).reverse();i.length;){var a=i.pop();r(a);var u=a.children;Array.isArray(u)||Gg(!1),i=i.concat([].concat(u.reverse()))}},ev=function(t){if(!(t&&t.type))return!1;var r=t.type;return r==="unordered-list-item"||r==="ordered-list-item"},l2=function(t){Array.isArray(t.children)&&(t.children=t.children.map(function(r){return r.type===t.type?Al({},r,{depth:(t.depth||0)+1}):r}))},u2={fromRawTreeStateToRawState:function(t){var r=t.blocks,i=[];return Array.isArray(r)||Gg(!1),!Array.isArray(r)||!r.length?t:(a2(r,function(a){var u=Al({},a);ev(a)&&(u.depth=u.depth||0,l2(a),a.children!=null&&a.children.length>0)||(delete u.children,i.push(u))}),t.blocks=i,Al({},t,{blocks:i}))},fromRawStateToRawTreeState:function(t){var r=[],i=[];return t.blocks.forEach(function(a){var u=ev(a),f=a.depth||0,g=Al({},a,{children:[]});if(!u){r.push(g);return}var y=i[0];if(y==null&&f===0)r.push(g);else if(y==null||y.depth<f-1){var b={key:o2(),text:"",depth:f-1,type:a.type,children:[],entityRanges:[],inlineStyleRanges:[]};i.unshift(b),f===1?r.push(b):y?.children.push(b),b.children.push(g)}else if(y.depth===f-1)y.children.push(g);else{for(;y!=null&&y.depth>=f;)i.shift(),y=i[0];f>0?y.children.push(g):r.push(g)}}),Al({},t,{blocks:r})}},s2=u2,c2=Qr,f2=mt,d2=f2.List;function p2(t,r){var i=t.map(function(a,u){var f=r[u];return c2.create({style:a,entity:f})});return d2(i)}var h2=p2,m2=aa,tv=m2.substr;function g2(t,r){var i=Array(t.length).fill(null);return r&&r.forEach(function(a){for(var u=tv(t,0,a.offset).length,f=u+tv(t,a.offset,a.length).length,g=u;g<f;g++)i[g]=a.key}),i}var v2=g2,y2=aa,b2=mt,_2=b2.OrderedSet,nv=y2.substr,w2=_2();function S2(t,r){var i=Array(t.length).fill(w2);return r&&r.forEach(function(a){for(var u=nv(t,0,a.offset).length,f=u+nv(t,a.offset,a.length).length;u<f;)i[u]=i[u].add(a.style),u++}),i}var k2=S2;function Kl(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),a.forEach(function(u){E2(t,u,i[u])})}return t}function E2(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var C2=Wo,rv=$r,x2=mc,O2=mu,iv=s2,ov=gu,L2=h2,N2=v2,M2=k2,av=Oi,D2=_o,hf=mt,mf=_t,lv=D2("draft_tree_data_support"),uv=hf.List,F2=hf.Map,sv=hf.OrderedMap,gf=function(t,r){var i=t.key,a=t.type,u=t.data,f=t.text,g=t.depth,y={text:f,depth:g||0,type:a||"unstyled",key:i||av(),data:F2(u),characterList:P2(t,r)};return y},P2=function(t,r){var i=t.text,a=t.entityRanges,u=t.inlineStyleRanges,f=a||[],g=u||[];return L2(M2(i,g),N2(i,f.filter(function(y){return r.hasOwnProperty(y.key)}).map(function(y){return Kl({},y,{key:r[y.key]})})))},vf=function(t){return Kl({},t,{key:t.key||av()})},cv=function(t,r,i){var a=r.map(function(u){return Kl({},u,{parentRef:i})});return t.concat(a.reverse())},B2=function(t,r){return t.map(vf).reduce(function(i,a,u){Array.isArray(a.children)||mf(!1);var f=a.children.map(vf),g=new rv(Kl({},gf(a,r),{prevSibling:u===0?null:t[u-1].key,nextSibling:u===t.length-1?null:t[u+1].key,children:uv(f.map(function(K){return K.key}))}));i=i.set(g.getKey(),g);for(var y=cv([],f,g);y.length>0;){var b=y.pop(),k=b.parentRef,L=k.getChildKeys(),B=L.indexOf(b.key),M=Array.isArray(b.children);if(!M){M||mf(!1);break}var j=b.children.map(vf),P=new rv(Kl({},gf(b,r),{parent:k.getKey(),children:uv(j.map(function(K){return K.key})),prevSibling:B===0?null:L.get(B-1),nextSibling:B===L.size-1?null:L.get(B+1)}));i=i.set(P.getKey(),P),y=cv(y,j,P)}return i},sv())},A2=function(t,r){return sv(t.map(function(i){var a=new C2(gf(i,r));return[a.getKey(),a]}))},K2=function(t,r){var i=t.blocks.find(function(f){return Array.isArray(f.children)&&f.children.length>0}),a=lv&&!i?iv.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!lv)return A2(i?iv.fromRawTreeStateToRawState(t).blocks:a,r);var u=B2(a,r);return u},I2=function(t){var r=t.entityMap,i={};return Object.keys(r).forEach(function(a){var u=r[a],f=u.type,g=u.mutability,y=u.data;i[a]=O2.__create(f,g,y||{})}),i},T2=function(t){Array.isArray(t.blocks)||mf(!1);var r=I2(t),i=K2(t,r),a=i.isEmpty()?new ov:ov.createEmpty(i.first().getKey());return new x2({blockMap:i,entityMap:r,selectionBefore:a,selectionAfter:a})},j2=T2,z2=qm;function R2(t){var r=z2(t),i=0,a=0,u=0,f=0;if(r.length){if(r.length>1&&r[0].width===0){var g=r[1];i=g.top,a=g.right,u=g.bottom,f=g.left}else{var y=r[0];i=y.top,a=y.right,u=y.bottom,f=y.left}for(var b=1;b<r.length;b++){var k=r[b];k.height!==0&&k.width!==0&&(i=Math.min(i,k.top),a=Math.max(a,k.right),u=Math.max(u,k.bottom),f=Math.min(f,k.left))}}return{top:i,right:a,bottom:u,left:f,width:a-f,height:u-i}}var H2=R2,q2=H2;function U2(t){var r=t.getSelection();if(!r.rangeCount)return null;var i=r.getRangeAt(0),a=q2(i),u=a.top,f=a.right,g=a.bottom,y=a.left;return u===0&&f===0&&g===0&&y===0?null:a}var V2=U2,Q2=IS,$2=hl,Y2=Qr,X2=US,Z2=Wo,J2=mc,W2=Sc,G2=fh,eF=FD,tF=mm,nF=mu,rF=ar,iF=Pp,oF=zt,aF=Jc,lF=PD,uF=bg,sF=gu,cF=r2,fF=j2,dF=Oi,pF=jg,hF=V2,mF=gg,gF={Editor:eF,EditorBlock:tF,EditorState:oF,CompositeDecorator:X2,Entity:nF,EntityInstance:iF,BlockMapBuilder:$2,CharacterMetadata:Y2,ContentBlock:Z2,ContentState:J2,RawDraftContentState:lF,SelectionState:sF,AtomicBlockUtils:Q2,KeyBindingUtil:aF,Modifier:rF,RichUtils:uF,DefaultDraftBlockRenderMap:W2,DefaultDraftInlineStyle:G2,convertFromHTML:mF,convertFromRaw:fF,convertToRaw:cF,genKey:dF,getDefaultKeyBinding:pF,getVisibleSelectionRect:hF},fv=gF;function yf(t,r){(r==null||r>t.length)&&(r=t.length);for(var i=0,a=new Array(r);i<r;i++)a[i]=t[i];return a}function vF(t){if(Array.isArray(t))return yf(t)}function yF(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bF(t,r){if(t){if(typeof t=="string")return yf(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return yf(t,r)}}function _F(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
78
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Co(t){return vF(t)||yF(t)||bF(t)||_F()}function dv(t,r,i,a,u,f){var g=a-i,y=r+i<=t.offset;if(y)return Object.assign({},t,{offset:t.offset+g});var b=r>=t.offset&&r+i<=t.offset+t.length;if(b)return Object.assign({},t,{length:t.length+g});var k=t.offset>=r&&t.offset+t.length<=r+i&&u>0;if(k)return Object.assign({},t,{offset:t.offset+u});var L=t.offset<r&&t.offset+t.length<=r+i&&t.offset+t.length>r&&u>0;if(L)return[Object.assign({},t,{length:r-t.offset}),Object.assign({},t,{offset:r+u,length:t.offset-r+t.length})];var B=t.offset>=r&&t.offset+t.length>r+i&&r+i>t.offset&&f>0;return B?[Object.assign({},t,{offset:t.offset+u,length:r+i-t.offset}),Object.assign({},t,{offset:r+i+u+f,length:t.offset+t.length-(r+i)})]:t}const Xu=function(t,r){return t.offset===r.offset?r.length-t.length:t.offset-r.offset};var pv={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"};const wF=function(t){for(var r=Co(t.text),i=t.entityRanges.sort(Xu),a=t.inlineStyleRanges.sort(Xu),u="",f=function(y){var b=r[y];if(pv[b]!==void 0){var k=pv[b],L=Co(u).length;u+=k;var B=function(M){return dv(M,L,b.length,k.length,0,0)};i=i.map(B),a=a.map(B)}else u+=b},g=0;g<r.length;g++)f(g);return Object.assign({},t,{text:u,inlineStyleRanges:a,entityRanges:i})};function Zu(t){return Zu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Zu(t)}var SF=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function za(t){if(SF.indexOf(t.type)!==-1)return _n.renderToStaticMarkup(t);var r=_n.renderToStaticMarkup(q.cloneElement(t,{},"\r")).split("\r");return gi(r.length>1,"convertToHTML: Element of type ".concat(t.type," must render children")),gi(r.length<3,"convertToHTML: Element of type ".concat(t.type," cannot use carriage return character")),{start:r[0],end:r[1]}}function kF(t){return q.isValidElement(t)&&q.Children.count(t.props.children)>0}function Ju(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(t==null||typeof t=="string")return t;if(q.isValidElement(t)){if(kF(t))return _n.renderToStaticMarkup(t);var i=za(t);if(r!==null&&Zu(i)==="object"){var a=i.start,u=i.end;return a+r+u}return i}if(gi(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),r!==null){var f=t.start,g=t.end;return f+r+g}return t}var hv=function t(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"start";if(q.isValidElement(r)){var a=za(r);if(typeof a=="string")return 0;var u=a[i].length,f=q.Children.toArray(r.props.children)[0];return u+(f&&q.isValidElement(f)?t(f,i):0)}return Zu(r)==="object"&&r[i]?r[i].length:0},mv=function(){var t=arguments.length>1?arguments[1]:void 0;return t};const EF=function(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:mv,a=Co(t.text),u=i;if(i.__isMiddleware&&(u=i(mv)),Object.prototype.hasOwnProperty.call(t,"entityRanges")&&t.entityRanges.length>0){for(var f=t.entityRanges.sort(Xu),g=t.inlineStyleRanges,y=function(k){var L=f[k],B=r[L.key],M=a.slice(L.offset,L.offset+L.length).join(""),j=u(B,M),P=Ju(j,M),K=void 0;P||P===""?K=Co(P):K=M;var T=hv(j,"start"),ne=hv(j,"end"),J=function(Z,le){return le>k||Object.prototype.hasOwnProperty.call(Z,"style")?dv(Z,L.offset,L.length,K.length,T,ne):Z},W=function(Z){return Z.reduce(function(le,Se,_e){var Ie=J(Se,_e);return Array.isArray(Ie)?le.concat(Ie):le.concat([Ie])},[])};f=W(f),g=W(g),a=[].concat(Co(a.slice(0,L.offset)),Co(K),Co(a.slice(L.offset+L.length)))},b=0;b<f.length;b++)y(b);return Object.assign({},t,{text:a.join(""),inlineStyleRanges:g,entityRanges:f})}return t},gv=function(t){return function(r){return typeof t=="function"?t(r):t[r]}},vv=function(t,r){return function(){var i=t.apply(void 0,arguments);return i??r.apply(void 0,arguments)}};function yv(t){switch(t){case"BOLD":return q.createElement("strong",null);case"ITALIC":return q.createElement("em",null);case"UNDERLINE":return q.createElement("u",null);case"CODE":return q.createElement("code",null);default:return{start:"",end:""}}}var bf=function(t,r){return t.filter(function(i){return!r.some(function(a){return a.style===i.style})})},CF=function(t,r){return r.reduceRight(function(i,a){var u=i[i.length-1];return gi(u.style===a.style,"Style ".concat(u.style," to be removed doesn't match expected ").concat(a.style)),i.slice(0,-1)},t)},xF=function(t,r){return r.filter(function(i){return t>=i.offset&&t<i.offset+i.length})},OF=function(t,r){var i=t.offset<=r.offset,a=t.offset+t.length>=r.offset+r.length;return i&&a},LF=function(t,r){var i=r.offset+r.length,a=t.offset+t.length;return i-a},NF=function(t,r){for(var i=0;i<t.length;)if(r.every(OF.bind(null,t[i])))i++;else return t.slice(i);return[]},MF=function(t,r,i){return r+Ju(t(i.style)).start},DF=function(t,r,i){return Ju(t(i.style)).end+r},bv=function(t){return function(r){return t(r)}};bv.__isMiddleware=!0;const FF=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:bv;gi(t!=null,"Expected raw block to be non-null");var i;r.__isMiddleware===!0?i=r(yv):i=vv(gv(r),gv(yv));for(var a="",u=[],f=t.inlineStyleRanges.sort(Xu),g=Co(t.text),y=0;y<g.length;y++){var b=xF(y,f),k=bf(u,b),L=bf(b,u),B=bf(u,k),M=NF(B,L),j=M.concat(L).sort(LF),P=j.reduce(MF.bind(null,i),""),K=k.concat(M).reduce(DF.bind(null,i),"");a+=K+P+g[y],u=CF(u,M.concat(k)),u=u.concat(j),gi(u.length===b.length,"Character ".concat(y,": ").concat(u.length-b.length," styles left on stack that should no longer be there"))}return a=u.reduceRight(function(T,ne){return T+Ju(i(ne.style)).end},a),a},_f=function(t){return function(r){return typeof t=="function"?t(r):t[r.type]}};function PF(t){return q.isValidElement(t)&&q.Children.count(t.props.children)>0}function BF(t){return gi(t!=null,"Expected block HTML value to be non-null"),typeof t=="string"?t:q.isValidElement(t)?PF(t)?_n.renderToStaticMarkup(t):za(t):Object.prototype.hasOwnProperty.call(t,"element")&&q.isValidElement(t.element)?Object.assign({},t,za(t.element)):(gi(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t)}function Ra(t,r){if(gi(t!=null,"Expected block HTML value to be non-null"),typeof t.nest=="function"){var i=za(t.nest(r)),a=i.start,u=i.end;return Object.assign({},t,{nestStart:a,nestEnd:u})}if(q.isValidElement(t.nest)){var f=za(t.nest),g=f.start,y=f.end;return Object.assign({},t,{nestStart:g,nestEnd:y})}return gi(Object.prototype.hasOwnProperty.call(t,"nestStart")&&Object.prototype.hasOwnProperty.call(t,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t}var AF=["1","a","i"];const _v={unstyled:q.createElement("p",null),paragraph:q.createElement("p",null),"header-one":q.createElement("h1",null),"header-two":q.createElement("h2",null),"header-three":q.createElement("h3",null),"header-four":q.createElement("h4",null),"header-five":q.createElement("h5",null),"header-six":q.createElement("h6",null),"code-block":q.createElement("pre",null),blockquote:q.createElement("blockquote",null),"unordered-list-item":{element:q.createElement("li",null),nest:q.createElement("ul",null)},"ordered-list-item":{element:q.createElement("li",null),nest:function(t){var r=AF[t%3];return q.createElement("ol",{type:r})}},media:q.createElement("figure",null),atomic:q.createElement("figure",null)};var KF=function(t,r){return r},wv=function(t){var r=t.styleToHTML,i=r===void 0?{}:r,a=t.blockToHTML,u=a===void 0?{}:a,f=t.entityToHTML,g=f===void 0?KF:f;return function(y){gi(y!=null,"Expected contentState to be non-null");var b;u.__isMiddleware===!0?b=u(_f(_v)):b=vv(_f(u),_f(_v));var k=fv.convertToRaw(y),L=[],B=k.blocks.map(function(M){var j=M.type,P=M.depth,K="",T="",ne=b(M);if(!ne)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(M.type));if(!ne.nest)K=L.reduceRight(function(_e,Ie){return _e+Ra(b(Ie),P).nestEnd},""),L=[];else for(;P+1!==L.length||j!==L[P].type;)if(P+1===L.length){var J=L[P];K+=Ra(b(J),P).nestEnd,T+=Ra(b(M),P).nestStart,L[P]=M}else if(P+1<L.length){var W=L[L.length-1];K+=Ra(b(W),P).nestEnd,L=L.slice(0,-1)}else T+=Ra(b(M),P).nestStart,L.push(M);var Z=FF(EF(wF(M),k.entityMap,g),i),le=BF(b(M)),Se;return typeof le=="string"?Se=le:Se=le.start+Z+le.end,Z.length===0&&Object.prototype.hasOwnProperty.call(le,"empty")&&(q.isValidElement(le.empty)?Se=_n.renderToStaticMarkup(le.empty):Se=le.empty),K+T+Se}).join("");return B=L.reduce(function(M,j){return M+Ra(b(j),j.depth).nestEnd},B),B}};const IF=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return r.length===1&&Object.prototype.hasOwnProperty.call(r[0],"_map")&&r[0].getBlockMap!=null?wv({}).apply(void 0,r):wv.apply(void 0,r)};var wf="/home/travis/build/20minutes/hela/src/components/molecules/Article/ArticleVideo/ArticleVideo.tsx";const TF=({html:t,caption:r=""})=>q.createElement("figure",{className:"c-media",role:"group",__self:void 0,__source:{fileName:wf,lineNumber:10,columnNumber:3}},q.createElement("div",{className:"c-media__content c-media__content--video",dangerouslySetInnerHTML:{__html:t},__self:void 0,__source:{fileName:wf,lineNumber:11,columnNumber:5}}),r&&q.createElement(Cr,{as:"figcaption",size:"xs",mt:"s",color:"grey-300",className:"c-media__caption",__self:void 0,__source:{fileName:wf,lineNumber:18,columnNumber:7}},r)),jF=t=>(t.entityMap===void 0&&(t.entityMap={}),IF({blockToHTML:r=>{switch(r.type){case"blockquote":return _n.renderToStaticMarkup(q.createElement("blockquote",{},r.text));default:return null}},entityToHTML:(r,i)=>{switch(r.type){case"article":return _n.renderToStaticMarkup(q.createElement(p3,{label:"Lire Aussi",title:r.data.articleProps.meta.title,link:r.data.articleProps.meta.canonical,isTargetBlank:r.data.isTargetBlank,isNofollow:r.data.isNofollow,isSponsored:r.data.isSponsored}));case"button":return _n.renderToStaticMarkup(q.createElement(Ef,{children:r.data.buttonProps.label,href:r.data.buttonProps.url,isTargetBlank:r.data.buttonProps.isTargetBlank,isNofollow:r.data.buttonProps.isNofollow,isSponsored:r.data.buttonProps.isSponsored,variant:"primary"}));case"html":return _n.renderToStaticMarkup(q.createElement("div",{dangerouslySetInnerHTML:{__html:r.data.htmlProps.html}}));case"LINK":return _n.renderToStaticMarkup(q.createElement(Ef,{href:r.data.url,target:r.data.isTargetBlank?"_blank":void 0,rel:r.data.isNofollow&&"isNofollow"||r.data.isSponsored&&"isSponsored"||void 0,children:i}));case"image":return _n.renderToStaticMarkup(q.createElement(L3,{type:La.photo,src:r.data.imageProps.src,caption:r.data.imageProps.meta.caption}));case"digiteka":return _n.renderToStaticMarkup(q.createElement(TF,{html:r.data.videoProps.html}));case"iframely":return _n.renderToStaticMarkup(q.createElement(RF,{html:r.data.embedProps.html}));default:return i}}})(fv.convertFromRaw(t)));function Ln(t){return q.forwardRef(t)}var Sv="/home/travis/build/20minutes/hela/src/components/atoms/Button/Button.tsx";const sa=Ln(({as:t="button",variant:r="primary",children:i,iconProps:a,...u},f)=>q.createElement(cn,{...u,as:t,ref:f,alignItems:"center",gap:"xxs",className:st("c-btn",{[`c-btn--${r}`]:r},u?.className),__self:void 0,__source:{fileName:Sv,lineNumber:22,columnNumber:5}},a&&q.createElement(xo,{...a,__self:void 0,__source:{fileName:Sv,lineNumber:30,columnNumber:21}}),i));sa.displayName="Button";var Wu="/home/travis/build/20minutes/hela/src/components/atoms/Divider/Divider.tsx";Ln(({text:t,color:r="black",thickness:i="thin",...a},u)=>{const f=q.createElement(Cv,{bg:r,align:"center",className:st("c-divider__line",{[`c-divider__line--${i}`]:Boolean(i!=="thin")}),__self:void 0,__source:{fileName:Wu,lineNumber:15,columnNumber:7}});return q.createElement(cn,{...a,ref:u,className:st("c-divider",{"c-divider--has-text":Boolean(t)},a?.className),__self:void 0,__source:{fileName:Wu,lineNumber:25,columnNumber:7}},t?q.createElement(q.Fragment,null,f,q.createElement(Cv,{px:"xxs-2",className:"c-divider__text",__self:void 0,__source:{fileName:Wu,lineNumber:37,columnNumber:13}},q.createElement(Cr,{size:"xxs",color:r,textTransform:"uppercase",__self:void 0,__source:{fileName:Wu,lineNumber:38,columnNumber:15}},t)),f):f)});var zF="/home/travis/build/20minutes/hela/src/components/atoms/Embed/Embed.tsx";const RF=({html:t})=>q.createElement("div",{dangerouslySetInnerHTML:{__html:t},__self:void 0,__source:{fileName:zF,lineNumber:8,columnNumber:3}});var Sf="/home/travis/build/20minutes/hela/src/components/atoms/Icon/Icon.tsx";const xo=Ln(({name:t,size:r=28,withBorder:i=!1,isRounded:a=!1,...u},f)=>{const g=Array.isArray(r)?r?.[0]:r,y=Array.isArray(r)?r?.[1]:r;return q.createElement(In,{...u,ref:f,className:st("c-icon",i&&"c-icon--withBorder",a&&"c-icon--isRounded",u?.className),__self:void 0,__source:{fileName:Sf,lineNumber:100,columnNumber:7}},q.createElement("svg",{width:g,height:y,__self:void 0,__source:{fileName:Sf,lineNumber:110,columnNumber:9}},q.createElement("use",{xlinkHref:`#${t}`,__self:void 0,__source:{fileName:Sf,lineNumber:111,columnNumber:11}})))});var HF="/home/travis/build/20minutes/hela/src/components/atoms/Img/Img.tsx";const kv=({src:t="",defaultFormat:r,formats:i,alt:a="",sizes:u,...f})=>{const g=r.split("x"),y=g[0],b=g[1];let k,L=`data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='${y}'%20height='${b}'%3E%3C/svg%3E`;return t&&(L=t.replace(/%format/,r),i!==void 0&&i.length>0&&(k=i.map(B=>`${t.replace(/%format/,B)} ${B.split("x")[0]}w`))),q.createElement(In,{...f,as:"img",width:y,height:b,src:L,srcSet:k&&k.join(", "),sizes:u||void 0,alt:a,className:st("c-img",f?.className),__self:void 0,__source:{fileName:HF,lineNumber:36,columnNumber:5}})};var qF="/home/travis/build/20minutes/hela/src/components/atoms/InlineSeparator/InlineSeparator.tsx";const UF=({size:t,...r})=>q.createElement(Cr,{as:"span",size:t||"s",...r,__self:void 0,__source:{fileName:qF,lineNumber:5,columnNumber:3}},"\u2022");var Oo="/home/travis/build/20minutes/hela/src/components/atoms/Input/Input.tsx";Ln(({id:t,className:r,color:i,required:a,label:u,icon:f,positionIcon:g="left",isIconButton:y=!1,iconButtonProps:b,variant:k,msg:L,msgProps:B,...M},j)=>q.createElement("div",{ref:j,className:"c-input",__self:void 0,__source:{fileName:Oo,lineNumber:39,columnNumber:5}},u&&q.createElement("label",{htmlFor:t,className:"c-input__label",__self:void 0,__source:{fileName:Oo,lineNumber:41,columnNumber:9}},u,a&&q.createElement("abbr",{className:"c-input__label__abbr",title:"(ce champ est obligatoire)",__self:void 0,__source:{fileName:Oo,lineNumber:44,columnNumber:13}},"*")),q.createElement("div",{className:"c-input-container",__self:void 0,__source:{fileName:Oo,lineNumber:50,columnNumber:7}},f&&(y?q.createElement(sa,{className:st("c-input-container__icon",`c-input-container__icon--${g}`),iconProps:{name:f,size:18},variant:"ghost",color:i||"black",...b,__self:void 0,__source:{fileName:Oo,lineNumber:53,columnNumber:13}}):q.createElement(xo,{className:st("c-input-container__icon",`c-input-container__icon--${g}`),name:f,size:18,__self:void 0,__source:{fileName:Oo,lineNumber:67,columnNumber:13}})),q.createElement("input",{id:t,className:st("c-input-container__input",{[`c-input-container__input--has-icon--${g}`]:f,[`c-input-container__input--${k}`]:k},r),required:a,...M,__self:void 0,__source:{fileName:Oo,lineNumber:76,columnNumber:9}})),L&&q.createElement(Cr,{dangerouslySetInnerHTML:{__html:L},role:"alert",...B,__self:void 0,__source:{fileName:Oo,lineNumber:90,columnNumber:15}})));var kf="/home/travis/build/20minutes/hela/src/components/atoms/Label/Label.tsx";const VF=({children:t,bg:r,color:i,hasDot:a=!1,isUppercase:u=!0,size:f,className:g,...y})=>q.createElement(cn,{inline:!0,p:r?"xxs-2":void 0,bg:r,color:i,className:st("c-label",g),alignItems:"center",...y,__self:void 0,__source:{fileName:kf,lineNumber:24,columnNumber:3}},a&&q.createElement(UF,{mr:"xxs-2",size:f||"xxs",__self:void 0,__source:{fileName:kf,lineNumber:33,columnNumber:16}}),q.createElement(Cr,{as:"span",size:f||"xxs",weight:"bold",textTransform:u?"uppercase":void 0,__self:void 0,__source:{fileName:kf,lineNumber:34,columnNumber:5}},t)),QF=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Ev=t=>{if(t.propValue!==void 0){if(typeof t.propValue!="boolean"){const r=QF(typeof t.propValue=="number"?t.propValue.toString():t.propValue);return t.className?`${t.className}-${r}@${t.defaultModifier}`:`${r}@${t.defaultModifier}`}if(!t.className)throw new Error('It is necessary to define the argument "className" !');return`${t.className}@${t.defaultModifier}`}},sn=t=>{if(t.propValue&&["boolean","string","number"].includes(typeof t.propValue)||!t.propValue){const r=Ev({className:t.className,defaultModifier:t.defaultModifier||"xs",propValue:t.propValue});return r?[r]:[]}return Object.entries(t.propValue).reduce((r,[i,a])=>{const u=Ev({className:t.className,defaultModifier:i,propValue:a});return u&&r.push(u),r},[])},Gu=t=>typeof t.props=="object"?Object.keys(t.props).reduce((r,i)=>(t.systemPropNames.includes(i)||(r[i]=t.props[i]),r),{}):{},$F=t=>st(...sn({className:"bg",defaultModifier:"light",propValue:t.bg}),...sn({className:"color",defaultModifier:"light",propValue:t.color})),YF=t=>st(Object.entries(t).filter(([r])=>Object.keys(ep).includes(r)).reduce((r,[i,a])=>(r.push(...sn({className:i,propValue:a})),r),[])),XF=({textAlign:t,weight:r,textTransform:i,textDecoration:a,italic:u,fontFamily:f})=>st(sn({className:"text",propValue:t}),sn({className:"font-weight",propValue:r}),{[`text-transform-${i}`]:Boolean(i),[`text-decoration-${a}`]:Boolean(a),"text-italic":Boolean(u),[`font-${f}`]:Boolean(f)}),ZF=t=>st(YF(t),$F(t)),JF=t=>st(...sn({propValue:t.align,className:"self"})),WF=t=>st(...sn({propValue:t.alignItems,className:"items"}),...sn({propValue:t.alignContent,className:"content"}),...sn({propValue:t.justifyContent,className:"justify"}),...sn({propValue:t.gap,className:"gap"}),...sn({propValue:t.gapX,className:"gap-x"}),...sn({propValue:t.gapY,className:"gap-y"})),GF=({inline:t=!1,direction:r,wrap:i,...a})=>st(...sn({propValue:t,className:t?"inline-flex":"flex"}),...sn({propValue:r,className:"direction"}),...sn({propValue:i}),WF(a)),e3=({basis:t,shrink:r,grow:i,...a})=>st(...sn({propValue:t,className:"basis"}),...sn({propValue:r,className:"shrink"}),...sn({propValue:i,className:"grow"}),JF(a));var t3="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Box/Box.tsx";const In=Ln(({as:t="div",children:r,...i},a)=>q.createElement(t,{...Gu({props:i,systemPropNames:Object.keys(K0)}),ref:a,className:st(ZF(i),i?.className),__self:void 0,__source:{fileName:t3,lineNumber:12,columnNumber:3}},r));In.displayName="Box";var n3="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Flex/Flex.tsx";const cn=Ln(({as:t="div",children:r,...i},a)=>q.createElement(In,{...Gu({props:i,systemPropNames:Object.keys(P0)}),as:t,ref:a,className:st(GF(i),i?.className),__self:void 0,__source:{fileName:n3,lineNumber:13,columnNumber:3}},r));var r3="/home/travis/build/20minutes/hela/src/components/atoms/Layout/Flex/FlexItem/FlexItem.tsx";const Cv=Ln(({as:t="div",children:r,...i},a)=>q.createElement(In,{...Gu({props:i,systemPropNames:Object.keys(F0)}),as:t,ref:a,className:st(e3(i),i?.className),__self:void 0,__source:{fileName:r3,lineNumber:13,columnNumber:5}},r));var i3="/home/travis/build/20minutes/hela/src/components/atoms/Link/Link.tsx";const Ef=Ln(({as:t="a",children:r,color:i,variant:a,...u},f)=>{if(a&&i)throw new Error("You can't use color and variant props together");return q.createElement(In,{...u,as:t,ref:f,color:a?void 0:i||"ultramarine",className:st("c-link",{[`c-btn c-btn--${a}`]:a&&!i},u?.className),__self:void 0,__source:{fileName:i3,lineNumber:18,columnNumber:7}},r)});var o3=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'],a3="Tab",l3="Escape";function Pi(t){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=t,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}Pi.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=Il('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(r){r.addEventListener("click",this._show)}.bind(this));const t=this.$el;return this._closers=Il("[data-a11y-dialog-hide]",this.$el).filter(function(r){return r.closest('[aria-modal="true"], [data-a11y-dialog]')===t}).concat(Il('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(r){r.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},Pi.prototype.show=function(t){return this.shown?this:(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,xv(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",t),this)},Pi.prototype.hide=function(t){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",t),this):this},Pi.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(t){t.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(t){t.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},Pi.prototype.on=function(t,r){return typeof this._listeners[t]>"u"&&(this._listeners[t]=[]),this._listeners[t].push(r),this},Pi.prototype.off=function(t,r){var i=(this._listeners[t]||[]).indexOf(r);return i>-1&&this._listeners[t].splice(i,1),this},Pi.prototype._fire=function(t,r){var i=this._listeners[t]||[],a=new CustomEvent(t,{detail:r});this.$el.dispatchEvent(a),i.forEach(function(u){u(this.$el,r)}.bind(this))},Pi.prototype._bindKeypress=function(t){const r=document.activeElement;r&&r.closest('[aria-modal="true"]')!==this.$el||(this.shown&&t.key===l3&&this.$el.getAttribute("role")!=="alertdialog"&&(t.preventDefault(),this.hide(t)),this.shown&&t.key===a3&&c3(this.$el,t))},Pi.prototype._maintainFocus=function(t){this.shown&&!t.target.closest('[aria-modal="true"]')&&!t.target.closest("[data-a11y-dialog-ignore-focus-trap]")&&xv(this.$el)};function u3(t){return Array.prototype.slice.call(t)}function Il(t,r){return u3((r||document).querySelectorAll(t))}function xv(t){var r=t.querySelector("[autofocus]")||t;r.focus()}function s3(t){return Il(o3.join(","),t).filter(function(r){return!!(r.offsetWidth||r.offsetHeight||r.getClientRects().length)})}function c3(t,r){var i=s3(t),a=i.indexOf(document.activeElement);r.shiftKey&&a===0?(i[i.length-1].focus(),r.preventDefault()):!r.shiftKey&&a===i.length-1&&(i[0].focus(),r.preventDefault())}function Cf(){Il("[data-a11y-dialog]").forEach(function(t){new Pi(t)})}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Cf):window.requestAnimationFrame?window.requestAnimationFrame(Cf):window.setTimeout(Cf,16));var f3="/home/travis/build/20minutes/hela/src/components/atoms/Pipe/Pipe.tsx";function d3(){return q.createElement("div",{className:"c-pipe",__self:this,__source:{fileName:f3,lineNumber:4,columnNumber:10}})}var es="/home/travis/build/20minutes/hela/src/components/atoms/ReadAlso/ReadAlso.tsx";const p3=({title:t,link:r,label:i,isTargetBlank:a,isNofollow:u,isSponsored:f})=>q.createElement("div",{className:"c-read-also",__self:void 0,__source:{fileName:es,lineNumber:21,columnNumber:3}},q.createElement(VF,{color:"grey-600",__self:void 0,__source:{fileName:es,lineNumber:22,columnNumber:5}},i),q.createElement(d3,{__self:void 0,__source:{fileName:es,lineNumber:23,columnNumber:5}}),q.createElement(Ef,{href:r,className:"c-read-also__link",target:a?"_blank":void 0,rel:u&&"isNofollow"||f&&"isSponsored"||void 0,__self:void 0,__source:{fileName:es,lineNumber:24,columnNumber:5}},t)),h3=()=>{const t=document.documentElement.scrollTop;let r=document.documentElement.scrollHeight-document.documentElement.clientHeight;const i=document.querySelector(".js-limit-scroll-progress-bar");i&&(r=i.scrollHeight-document.documentElement.clientHeight+(window.pageYOffset+i.getBoundingClientRect().top));const a=Math.round(t/r*100),u=document.querySelector(".c-progress__bar");u&&(u.style.width=`${a}%`,a>=100&&(u.style.width="100%"))},m3=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",h3)};var Ov="/home/travis/build/20minutes/hela/src/components/atoms/ScrollProgressBar/ScrollProgressBar.tsx";Ln(({variant:t,progressColor:r="ultramarine"},i)=>(ec(()=>{m3()},[]),q.createElement(In,{ref:i,bg:"grey-100",className:st("c-progress",{[`c-progress--${t}`]:t}),__self:void 0,__source:{fileName:Ov,lineNumber:21,columnNumber:7}},q.createElement(In,{className:"c-progress__bar",bg:r,style:{width:"0%"},__self:void 0,__source:{fileName:Ov,lineNumber:26,columnNumber:9}}))));const g3=({navigatedList:t,nextBtn:r,prevBtn:i})=>{t&&(t.scrollLeft>0&&(t.scrollLeft+t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible"),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")),t.clientWidth<t.scrollWidth?r.classList.add("o-nav-button--visible"):(i.classList.remove("o-nav-button--visible"),r.classList.remove("o-nav-button--visible")),t.scrollLeft+t.clientWidth===t.scrollWidth&&r.classList.remove("o-nav-button--visible"))},v3=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.scrollWidth-t.clientWidth>t.clientWidth){let u=t.scrollLeft;switch(a){case"partners":u+=t.clientWidth+32;break;case"rubrics":u+=t.clientWidth-36;break;default:u+=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),i.classList.add("o-nav-button--visible"),u+t.clientWidth>=t.scrollWidth&&r.classList.remove("o-nav-button--visible")}else{const u=t.scrollWidth-t.clientWidth;t.scrollTo({left:u,behavior:"smooth"}),r.classList.remove("o-nav-button--visible"),i.classList.add("o-nav-button--visible")}},y3=({navigatedList:t,nextBtn:r,prevBtn:i,sliderVariant:a})=>{if(t)if(t.clientWidth<t.scrollLeft){let u=t.scrollLeft;switch(a){case"partners":u-=t.clientWidth+32;break;case"rubrics":u-=t.clientWidth-36;break;default:u-=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:u,behavior:"smooth"}),r.classList.add("o-nav-button--visible"),u===0&&i.classList.remove("o-nav-button--visible")}else t.scrollTo({left:0,behavior:"smooth"}),i.classList.remove("o-nav-button--visible"),t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible")},b3=({navigatedList:t,nextBtn:r,prevBtn:i})=>{g3({navigatedList:t,nextBtn:r,prevBtn:i})},_3=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),f=r.querySelector(".o-nav-button--previous-button");a&&a.clientWidth<a.scrollWidth&&u?.classList.add("o-nav-button--visible"),u?.addEventListener("click",v3.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i})),f?.addEventListener("click",y3.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i}))}}},w3=()=>{const t=document.querySelectorAll(".js-navigation-container");for(const r of Array.from(t)){const{sliderVariant:i}=r.dataset;if(r){const a=r.querySelector(".js-navigation-container__list"),u=r.querySelector(".o-nav-button--next-button"),f=r.querySelector(".o-nav-button--previous-button");window.addEventListener("resize",b3.bind(!1,{navigatedList:a,nextBtn:u,prevBtn:f,sliderVariant:i}))}}};var Ha="/home/travis/build/20minutes/hela/src/components/atoms/Slider/Slider.tsx";const S3=t=>{switch(t){case"primary":return{light:"white",dark:"grey-700"};case"secondary":return{light:"grey-100",dark:"grey-700"};default:return}};Ln(({layout:t,children:r,itemsGap:i,buttonsBackground:a,sliderVariant:u="default",...f},g)=>(ec(()=>{t===pl.DESKTOP&&(_3(),w3())},[]),q.createElement(In,{...f,ref:g,className:st("c-slider js-navigation-container",f?.className),"data-slider-variant":u,__self:void 0,__source:{fileName:Ha,lineNumber:40,columnNumber:7}},q.createElement(In,{className:"c-slider__viewport js-navigation-container__list",__self:void 0,__source:{fileName:Ha,lineNumber:46,columnNumber:9}},q.createElement(cn,{className:"c-slider__list",alignItems:"center",gap:i,__self:void 0,__source:{fileName:Ha,lineNumber:47,columnNumber:11}},r)),t===pl.DESKTOP&&q.createElement(In,{className:"c-slider__buttons-container",__self:void 0,__source:{fileName:Ha,lineNumber:52,columnNumber:11}},Array.from(["previous","next"],y=>q.createElement(In,{key:y,bg:a&&S3(a),pr:a&&y==="previous"?"m":void 0,pl:a&&y==="next"?"m":void 0,className:st(`c-slider__button-container c-slider__button-container--${y} o-nav-button o-nav-button--${y}-button`,{"c-slider__button-container--has-background":a},{[`c-slider__button-container--${u}`]:u}),__self:void 0,__source:{fileName:Ha,lineNumber:54,columnNumber:15}},q.createElement(sa,{variant:"round",iconProps:{name:"chevron",size:12},__self:void 0,__source:{fileName:Ha,lineNumber:67,columnNumber:17}})))))));var ts="/home/travis/build/20minutes/hela/src/components/atoms/Switch/Switch.tsx";const k3=Ln(({id:t,className:r,label:i,isChecked:a=!1},u)=>q.createElement("div",{className:"switch",__self:void 0,__source:{fileName:ts,lineNumber:14,columnNumber:5}},q.createElement("label",{htmlFor:t,className:"switch-label",__self:void 0,__source:{fileName:ts,lineNumber:15,columnNumber:7}},i),q.createElement("button",{type:"button",ref:u,id:t,className:st("switch-button",r),role:"switch","aria-checked":a,__self:void 0,__source:{fileName:ts,lineNumber:18,columnNumber:7}},q.createElement("span",{"aria-hidden":a,__self:void 0,__source:{fileName:ts,lineNumber:26,columnNumber:9}},a?"on":"off"))));k3.displayName="Switch";var E3="/home/travis/build/20minutes/hela/src/components/atoms/Tag/Tag.tsx";Ln(({as:t="a",id:r,link:i,variant:a="primary",children:u,...f},g)=>q.createElement(In,{...f,as:t,ref:g,href:i,className:st("c-tags",`c-tags--${a}`,f?.className),"data-id":r,__self:void 0,__source:{fileName:E3,lineNumber:15,columnNumber:5}},u));var C3="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Typography.tsx";const Lv=Ln(({as:t="p",children:r,...i},a)=>q.createElement(In,{...Gu({props:i,systemPropNames:Object.keys(I0)}),as:t,ref:a,className:st(XF(i),i?.className),__self:void 0,__source:{fileName:C3,lineNumber:14,columnNumber:5}},r));var x3="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Heading/Heading.tsx";const xf=Ln(({as:t="h1",size:r,children:i,...a},u)=>q.createElement(Lv,{...a,as:t,ref:u,className:st(sn({className:"heading",propValue:r}),a?.className),__self:void 0,__source:{fileName:x3,lineNumber:15,columnNumber:5}},i));var O3="/home/travis/build/20minutes/hela/src/components/atoms/Typography/Text/Text.tsx";const Cr=Ln(({as:t="p",size:r,children:i,...a},u)=>q.createElement(Lv,{...a,as:t,ref:u,className:st(sn({className:"text",propValue:r}),a?.className),__self:void 0,__source:{fileName:O3,lineNumber:14,columnNumber:3}},i));var Tl="/home/travis/build/20minutes/hela/src/components/molecules/Article/ArticleCover/ArticleCover.tsx";const L3=({type:t=La.photo,src:r,caption:i,isCaptionInside:a=!1,layout:u=pl.MOBILE})=>{let f="320x204",g="100vw";const y=["1444x920","722x460","640x408","320x204"];return u===pl.DESKTOP&&(f="722x460",g="(min-width: 45.125rem) 45.125rem, 100vw"),q.createElement("figure",{className:"c-media",__self:void 0,__source:{fileName:Tl,lineNumber:31,columnNumber:5}},t===La.photo&&q.createElement("div",{className:"c-media__content",__self:void 0,__source:{fileName:Tl,lineNumber:33,columnNumber:9}},q.createElement(kv,{src:r,defaultFormat:f,formats:y,sizes:g,alt:i,__self:void 0,__source:{fileName:Tl,lineNumber:34,columnNumber:11}})),[La.video,La.podcast].includes(t)&&q.createElement("div",{className:"c-media__content c-media__content--video",dangerouslySetInnerHTML:{__html:r},__self:void 0,__source:{fileName:Tl,lineNumber:44,columnNumber:9}}),i&&q.createElement(Cr,{as:"figcaption",size:"xs",mt:a?"0":"s",px:a?"l":"0",pb:a?"l":"0",color:a?"white":"grey-300",className:st("c-media__caption",{"c-media__caption--inside":a}),__self:void 0,__source:{fileName:Tl,lineNumber:52,columnNumber:9}},i))};var N3="/home/travis/build/20minutes/hela/src/components/molecules/Card/Card/Card.tsx";Ln(({as:t="a",link:r,children:i,...a},u)=>q.createElement(cn,{...a,as:t,ref:u,href:r,justifyContent:a?.justifyContent||"between",__self:void 0,__source:{fileName:N3,lineNumber:12,columnNumber:3}},i));const M3=(t,r)=>{r.stopImmediatePropagation(),r.preventDefault();const i=r.currentTarget,a=document.querySelectorAll(".js-collapse__button"),u=document.querySelectorAll('[role="tabpanel"]'),f=i.getAttribute("aria-controls"),g=Object.values(u).find(y=>y.id===f);if(i.getAttribute("aria-expanded")==="true"){i.setAttribute("aria-expanded","false"),g?.setAttribute("aria-hidden","true");return}a.forEach(y=>{y.setAttribute("aria-expanded","false")}),u.forEach(y=>{y.setAttribute("aria-hidden","true")}),i.setAttribute("aria-expanded","true"),g&&g.removeAttribute("aria-hidden")},D3=(t=document.querySelector(".js-collapse__button"))=>{t&&document.querySelectorAll(".c-collapse__button").forEach(r=>{r.addEventListener("click",M3.bind(!1,t))})};var jl="/home/travis/build/20minutes/hela/src/components/molecules/Collapse/Collapse.tsx";Ln(({title:t,index:r,isOpen:i,color:a,bg:u,iconProps:f,btnProps:g,children:y},b)=>{const k=q.useRef(null);return ec(()=>{k.current&&D3(k.current)},[]),q.createElement("div",{className:"c-collapse js-collapse",ref:b,__self:void 0,__source:{fileName:jl,lineNumber:29,columnNumber:7}},q.createElement(In,{...g,ref:k,as:"button",type:"button",id:`c-collapse__button-${r}`,className:st("c-collapse__button js-collapse__button",g?.className),"aria-controls":`c-collapse__content-${r}`,"aria-expanded":i||"false",__self:void 0,__source:{fileName:jl,lineNumber:30,columnNumber:9}},q.createElement(xf,{as:"h5",size:"xxs",color:a||"black",__self:void 0,__source:{fileName:jl,lineNumber:40,columnNumber:11}},t),q.createElement(xo,{...f,name:"chevron",size:16,className:st("c-collapse__icon",f?.className),__self:void 0,__source:{fileName:jl,lineNumber:43,columnNumber:11}})),q.createElement(cn,{direction:"column",p:"m",id:`c-collapse__content-${r}`,"aria-hidden":i?!i:"true","aria-labelledby":`c-collapse__button-${r}`,bg:u||void 0,className:"c-collapse__list",role:"tabpanel",__self:void 0,__source:{fileName:jl,lineNumber:50,columnNumber:9}},y))});var zl="/home/travis/build/20minutes/hela/src/components/molecules/Horoscope/HoroscopeTopicCard/HoroscopeTopicCard.tsx";Ln(({icon:t,title:r,content:i,...a},u)=>q.createElement(In,{...a,ref:u,className:st("c-horoscope-topic-card",a?.className),__self:void 0,__source:{fileName:zl,lineNumber:15,columnNumber:5}},q.createElement(cn,{alignItems:"center",mb:"s",__self:void 0,__source:{fileName:zl,lineNumber:16,columnNumber:7}},q.createElement(xo,{className:"c-horoscope-topic-card__icon",name:t,size:21,__self:void 0,__source:{fileName:zl,lineNumber:17,columnNumber:9}}),q.createElement(xf,{as:"h3",size:"xs",__self:void 0,__source:{fileName:zl,lineNumber:18,columnNumber:9}},r)),q.createElement(Cr,{size:"m",__self:void 0,__source:{fileName:zl,lineNumber:22,columnNumber:7}},i)));var fn="/home/travis/build/20minutes/hela/src/components/molecules/InfoBanner/InfoBanner.tsx";const F3=({cover:t="https://placehold.jp/%format.png",description:r,variant:i="default",title:a,link:u,closeButton:f,...g})=>i==="framed"?typeof r=="string"?null:q.createElement(cn,{...g,className:st("c-info-banner",g?.className),color:"black",bg:"grey-100",p:"s",__self:void 0,__source:{fileName:fn,lineNumber:34,columnNumber:7}},q.createElement(cn,{className:"c-info-banner__container",gap:"s",alignItems:"start",__self:void 0,__source:{fileName:fn,lineNumber:41,columnNumber:9}},q.createElement(cn,{className:"c-info-banner__content",direction:"column",justifyContent:"between",__self:void 0,__source:{fileName:fn,lineNumber:42,columnNumber:11}},q.createElement(Cr,{size:"s",color:"black",dangerouslySetInnerHTML:{__html:jF(r)},__self:void 0,__source:{fileName:fn,lineNumber:43,columnNumber:13}})))):i==="alert"&&typeof r=="string"?q.createElement(cn,{...g,className:st("c-info-banner","c-info-banner--alert",g?.className),alignItems:"center",justifyContent:"center",gap:"s",color:"white",bg:"red",p:"s",__self:void 0,__source:{fileName:fn,lineNumber:59,columnNumber:7}},q.createElement(cn,{className:"c-info-banner__container",gap:"s",alignItems:"start",__self:void 0,__source:{fileName:fn,lineNumber:69,columnNumber:9}},q.createElement(cn,{as:"a",className:"c-info-banner__visual",...u||{},__self:void 0,__source:{fileName:fn,lineNumber:70,columnNumber:11}},q.createElement(kv,{src:t,defaultFormat:"130x82",formats:["130x82"],sizes:"8.125rem",alt:a,className:"c-info-banner__cover",__self:void 0,__source:{fileName:fn,lineNumber:71,columnNumber:13}})),q.createElement(cn,{className:"c-info-banner__content",direction:"column",justifyContent:{xs:"between"},__self:void 0,__source:{fileName:fn,lineNumber:80,columnNumber:11}},q.createElement(Cr,{className:"c-info-banner__title",color:"red",bg:"white",px:"xxs-2",mb:"xxs-2",size:"s",weight:"bold",__self:void 0,__source:{fileName:fn,lineNumber:85,columnNumber:13}},a),q.createElement(Cr,{as:u?"a":void 0,size:"s",color:"white",...u||{},__self:void 0,__source:{fileName:fn,lineNumber:96,columnNumber:13}},r),f&&q.createElement(sa,{...f,variant:"ghost",className:"c-info-banner__close",__self:void 0,__source:{fileName:fn,lineNumber:100,columnNumber:15}},q.createElement(xo,{name:"close",size:12,color:"white",__self:void 0,__source:{fileName:fn,lineNumber:101,columnNumber:17}}))))):q.createElement(cn,{...g,className:st("c-info-banner",g?.className),color:"black",bg:"grey-100",p:"s",__self:void 0,__source:{fileName:fn,lineNumber:111,columnNumber:5}},q.createElement(cn,{className:"c-info-banner__container",gap:"s",alignItems:"start",__self:void 0,__source:{fileName:fn,lineNumber:118,columnNumber:7}},q.createElement(cn,{className:"c-info-banner__content",direction:"column",justifyContent:{xs:"between"},__self:void 0,__source:{fileName:fn,lineNumber:119,columnNumber:9}},q.createElement(xf,{as:"h5",size:"xxs",color:"black",mb:"xs",__self:void 0,__source:{fileName:fn,lineNumber:124,columnNumber:11}},a),q.createElement(Cr,{as:u?"a":void 0,size:"s",color:i==="alert"?"white":"black",...u||{},__self:void 0,__source:{fileName:fn,lineNumber:127,columnNumber:11}},typeof r=="string"?r:""),f&&q.createElement(sa,{...f,variant:"ghost",className:"c-info-banner__close",__self:void 0,__source:{fileName:fn,lineNumber:136,columnNumber:13}},q.createElement(xo,{name:"close",size:12,color:"white",__self:void 0,__source:{fileName:fn,lineNumber:137,columnNumber:15}})))));var Bi="/home/travis/build/20minutes/hela/src/components/molecules/SmartBanner/SmartBanner.tsx";const P3=({installButton:t,closeButton:r})=>q.createElement(cn,{className:"c-smart-banner u-skin-darkBlue",alignItems:"center",gap:"xs",__self:void 0,__source:{fileName:Bi,lineNumber:10,columnNumber:3}},q.createElement(sa,{...r,variant:"ghost",iconProps:{name:"close",size:10},color:"white",p:"0",__self:void 0,__source:{fileName:Bi,lineNumber:11,columnNumber:5}}),q.createElement(xo,{name:"logo",size:35,bg:"white",color:"ultramarine",className:"c-smart-banner__logo",__self:void 0,__source:{fileName:Bi,lineNumber:21,columnNumber:5}}),q.createElement(In,{__self:void 0,__source:{fileName:Bi,lineNumber:22,columnNumber:5}},q.createElement(cn,{__self:void 0,__source:{fileName:Bi,lineNumber:23,columnNumber:7}},q.createElement(Cr,{size:"xxs",weight:"bold",className:"c-smart-banner__title",mb:"xxs-2",__self:void 0,__source:{fileName:Bi,lineNumber:24,columnNumber:9}},"20\xA0Minutes"),q.createElement(cn,{gap:"xxs-2",ml:"xxs-2",alignItems:"start",__self:void 0,__source:{fileName:Bi,lineNumber:27,columnNumber:9}},[0,1,2,3].map(i=>q.createElement(xo,{name:"star",size:11,key:i,__self:void 0,__source:{fileName:Bi,lineNumber:29,columnNumber:13}})))),q.createElement(Cr,{size:"xxs-2",__self:void 0,__source:{fileName:Bi,lineNumber:33,columnNumber:7}},"Retrouvez l\u2019actualit\xE9 sur notre application")),q.createElement(sa,{...t,color:"ultramarine",bg:"white",className:"c-smart-banner__btn",__self:void 0,__source:{fileName:Bi,lineNumber:35,columnNumber:5}},"Installer")),Nv=(t,r,i,a="",u="",f="")=>{var g,y,b;if(!((b=(y=(g=window.ATInternet)==null?void 0:g.Tracker)==null?void 0:y.instances)!=null&&b.length))return;const k={elem:t,name:c0(r),type:i,chapter1:a,chapter2:u,chapter3:f};Object.keys(k).forEach(L=>{k[L]===""&&delete k[L]}),window.ATInternet.Tracker.instances[0].click.send(k)},ns={appBanner:{storageName:"20mnAppBanner"},breakingNews:{containerId:"c-alert-info",storageName:"20mnBreakingNews"},storageDelay:864e5},B3=()=>{const{storageName:t}=ns.appBanner,[r,i]=q.useState(Gs(t)),a=q.useRef(null),u=q.useRef(null),f=q.useMemo(()=>{var g,y;const b=((g=document.getElementById(ns.breakingNews.containerId))==null?void 0:g.children.length)!==0||((y=Gs(ns.breakingNews.storageName))==null?void 0:y.opened);return Boolean(!b&&(!r||r?.opened||r?.time&&r.time+ns.storageDelay<Date.now()))},[r]);return q.useEffect(()=>{f&&i({opened:!0})},[f]),q.useEffect(()=>{r&&localStorage.setItem(t,JSON.stringify(r))},[r]),f?q.createElement(P3,{closeButton:{ref:a,onClick:()=>{a.current&&Nv(a.current,"close-app-banner","action"),i({opened:!1,time:new Date().getTime()})}},installButton:{ref:u,onClick:()=>{u.current&&Nv(u.current,"open-store-app-banner","action"),i({opened:!1,time:new Date().getTime()});const g=navigator?.userAgent||navigator?.platform||"unknown";window.location.href=/iPhone|iPad|iPod/i.test(g)?"https://apps.apple.com/fr/app/20-minutes-news-en-continu/id308834491":"https://play.google.com/store/apps/details?id=com.backelite.vingtminutes&hl=fr"}}}):null};function A3(t,r){const i=r||{};return i.headers=i.headers||new Headers,i.headers.append("Content-Type","application/json"),fetch(t,i).then(a=>{if(a.ok)return a;throw new Error(`Fetch error: ${a.statusText}`)}).then(a=>a.json())}var K3=Object.defineProperty,I3=Object.defineProperties,T3=Object.getOwnPropertyDescriptors,Mv=Object.getOwnPropertySymbols,j3=Object.prototype.hasOwnProperty,z3=Object.prototype.propertyIsEnumerable,Dv=(t,r,i)=>r in t?K3(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,R3=(t,r)=>{for(var i in r||(r={}))j3.call(r,i)&&Dv(t,i,r[i]);if(Mv)for(var i of Mv(r))z3.call(r,i)&&Dv(t,i,r[i]);return t},H3=(t,r)=>I3(t,T3(r));const Of={appBanner:{containerId:"c-app-banner",storageName:"20mnAppBanner"},breakingNews:{storageName:"20mnBreakingNews"},storageDelay:18e4},q3=()=>{var t;const[r,i]=q.useState(Gs(Of.breakingNews.storageName));q.useEffect(()=>{r&&localStorage.setItem(Of.breakingNews.storageName,JSON.stringify(r))},[r]),q.useEffect(()=>{var u;if(r&&!r.opened||r!=null&&r.opened&&r!=null&&r.time&&r.time+Of.storageDelay>new Date().getTime())return;const{apiHost:f,imgHost:g}=document.body.dataset,y=new Headers;(u=window.envVariables)!=null&&u.apiAuthKey&&y.append("auth-key",window.envVariables.apiAuthKey);const b=[`${f}/?id=getBreakingNews&variables=%7B%22brandId%22%3A%22QnJhbmQ6MjBtaW51dGVz%22%7D`,{headers:y}];A3(...b).then(k=>{var L,B,M,j,P,K,T,ne,J,W,Z,le,Se,_e,Ie,ve,ke,we;const he=(K=(P=(j=(M=(B=(L=k?.data)==null?void 0:L.brand)==null?void 0:B.node)==null?void 0:M.home)==null?void 0:j.node)==null?void 0:P.homeBreakingNews)==null?void 0:K.node,ge=(ne=(T=he?.content)==null?void 0:T.editorial_model)==null?void 0:ne.toLowerCase(),Le=(W=(J=he?.content)==null?void 0:J[ge])==null?void 0:W.node;if(!(Le!=null&&Le.title)||!(Le!=null&&Le.url_current))throw new Error("No data found...");let Te;if(he!=null&&he.with_photo&&(_e=(Se=(le=(Z=Le?.medias)==null?void 0:Z[0])==null?void 0:le.photo)==null?void 0:Se.node)!=null&&_e.id){const De=atob(Le.medias[0].photo.node.id).replace("Photo:","");Te=`${g}/${De}/147x96_${(we=(ke=(ve=(Ie=Le?.medias)==null?void 0:Ie.photo)==null?void 0:ve.node)==null?void 0:ke.slug)!=null?we:"media"}`}i({opened:!0,time:new Date().getTime(),data:{description:Le.title,url:Le.url_current,imageUrl:Te}})}).catch(k=>{console.error("20mn> Error while loading the breaking news:",k)})},[]);const a=()=>{i(u=>H3(R3({},u||{}),{opened:!1}))};return r!=null&&r.opened&&r!=null&&r.data?q.createElement(F3,{variant:"alert",title:"ALERTE INFO",description:r.data.description,cover:r.data.imageUrl,link:(t=r?.data)!=null&&t.url?{href:r.data.url}:void 0,closeButton:{onClick:a}}):null},U3=()=>{const t=document.getElementById("c-alert-info");if(t){const r=Ud.createRoot(t);r&&r.render(q.createElement(q3,null))}},V3=()=>{const t=document.getElementById("c-app-banner");if(t){const r=Ud.createRoot(t);r&&r.render(q.createElement(B3,null))}},Fv=t=>{const r=document.documentElement.scrollTop,i=document.querySelector(".c-header"),a="transform .4s ease";i&&(r>i.offsetHeight?(t.style.transform="translateY(0)",t.style.transition=a):(t.style.transform="translateY(-100%)",t.style.transition=a)),window.removeEventListener("scroll",Fv.bind(!1,t))},Q3=()=>{const t=document.querySelector(".c-header-mini");t&&(t.style.transform="translateY(-100%)",window.addEventListener("scroll",Fv.bind(!1,t)))},Pv=()=>{o0(),y0(),E0(),O0(),M0(),U3(),V3(),Q3()};return Pv(),qd.main=Pv,qd}({},null,React,ReactDOM);