elseware-ui 2.9.2 → 2.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/markdown/editor/MarkdownEditor.d.ts +2 -0
- package/build/components/markdown/viewer/MarkdownViewer.d.ts +1 -0
- package/build/data/test/test-data.d.ts +1 -0
- package/build/index.es.js +780 -471
- package/build/index.js +780 -471
- package/build/utils/hooks/useTheme.d.ts +2 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -54,11 +54,11 @@ function styleInject(css, ref) {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
var css_248z$3 = "*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.top-0{top:0}.top-3{top:.75rem}.top-\\[-20px\\]{top:-20px}.top-\\[0\\.7px\\]{top:.7px}.top-\\[10px\\]{top:10px}.top-\\[13px\\]{top:13px}.top-\\[16px\\]{top:16px}.top-\\[2px\\]{top:2px}.top-full{top:100%}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.col-span-5{grid-column:span 5/span 5}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mb-10{margin-bottom:2.5rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-12{height:3rem}.h-16{height:4rem}.h-20{height:5rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[10px\\]{height:10px}.h-\\[130px\\]{height:130px}.h-\\[200px\\]{height:200px}.h-\\[20px\\]{height:20px}.h-\\[300px\\]{height:300px}.h-\\[40px\\]{height:40px}.h-\\[50px\\]{height:50px}.h-\\[60px\\]{height:60px}.h-\\[90px\\]{height:90px}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-screen{max-height:100vh}.min-h-10{min-height:2.5rem}.min-h-3{min-height:.75rem}.min-h-4{min-height:1rem}.min-h-6{min-height:1.5rem}.min-h-8{min-height:2rem}.min-h-\\[50px\\]{min-height:50px}.min-h-screen{min-height:100vh}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\\[160px\\]{width:160px}.w-\\[300px\\]{width:300px}.w-\\[40px\\]{width:40px}.w-\\[60px\\]{width:60px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-10{min-width:2.5rem}.min-w-3{min-width:.75rem}.min-w-4{min-width:1rem}.min-w-5{min-width:1.25rem}.min-w-6{min-width:1.5rem}.min-w-8{min-width:2rem}.min-w-80{min-width:20rem}.min-w-\\[120px\\]{min-width:120px}.min-w-full{min-width:100%}.max-w-\\[500px\\]{max-width:500px}.max-w-md{max-width:28rem}.flex-shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.-translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y:-100%}.translate-x-0{--tw-translate-x:0px}.translate-x-0,.translate-x-8{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-8{--tw-translate-x:2rem}.translate-x-full{--tw-translate-x:100%}.translate-x-full,.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.translate-y-6{--tw-translate-y:1.5rem}.translate-y-6,.translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y:100%}.rotate-180{--tw-rotate:180deg}.rotate-180,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.scale-95,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.snap-y{scroll-snap-type:y var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-\\[2px\\]{gap:2px}.gap-\\[3px\\]{gap:3px}.gap-\\[4px\\]{gap:4px}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-\\[3px\\]{border-width:3px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-b-4{border-bottom-width:4px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\\[\\#0b6b05\\]{--tw-border-opacity:1;border-color:rgb(11 107 5/var(--tw-border-opacity,1))}.border-eui-danger-500{--tw-border-opacity:1;border-color:rgb(220 53 69/var(--tw-border-opacity,1))}.border-eui-dark-300\\/10{border-color:#575c5f1a}.border-eui-dark-300\\/30{border-color:#575c5f4d}.border-eui-dark-400\\/80{border-color:#404547cc}.border-eui-dark-500{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity,1))}.border-eui-dark-500\\/20{border-color:#21252933}.border-eui-dark-500\\/40{border-color:#21252966}.border-eui-dark-500\\/80{border-color:#212529cc}.border-eui-dark-800{--tw-border-opacity:1;border-color:rgb(13 14 16/var(--tw-border-opacity,1))}.border-eui-info-500{--tw-border-opacity:1;border-color:rgb(13 202 240/var(--tw-border-opacity,1))}.border-eui-info-800{--tw-border-opacity:1;border-color:rgb(5 76 96/var(--tw-border-opacity,1))}.border-eui-light-500{--tw-border-opacity:1;border-color:rgb(248 249 250/var(--tw-border-opacity,1))}.border-eui-light-800{--tw-border-opacity:1;border-color:rgb(98 98 99/var(--tw-border-opacity,1))}.border-eui-primary-400{--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.border-eui-primary-500{--tw-border-opacity:1;border-color:rgb(0 4 15/var(--tw-border-opacity,1))}.border-eui-primary-800{--tw-border-opacity:1;border-color:rgb(0 1 6/var(--tw-border-opacity,1))}.border-eui-secondary-500{--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.border-eui-secondary-800{--tw-border-opacity:1;border-color:rgb(16 122 0/var(--tw-border-opacity,1))}.border-eui-secondary-800\\/40{border-color:#107a0066}.border-eui-success-500{--tw-border-opacity:1;border-color:rgb(25 135 84/var(--tw-border-opacity,1))}.border-eui-success-800{--tw-border-opacity:1;border-color:rgb(10 50 31/var(--tw-border-opacity,1))}.border-eui-warning-500{--tw-border-opacity:1;border-color:rgb(255 193 7/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-gray-50{--tw-border-opacity:1;border-color:rgb(249 250 251/var(--tw-border-opacity,1))}.border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.border-gray-700{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.border-gray-700\\/80{border-color:#374151cc}.border-gray-800{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity,1))}.border-gray-800\\/70{border-color:#1f2937b3}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.border-red-800{--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity,1))}.border-slate-700{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.border-transparent{border-color:#0000}.border-yellow-800{--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity,1))}.border-b-eui-secondary-700{--tw-border-opacity:1;border-bottom-color:rgb(20 153 0/var(--tw-border-opacity,1))}.border-b-gray-700\\/50{border-bottom-color:#37415180}.border-b-transparent{border-bottom-color:#0000}.border-l-eui-dark-300{--tw-border-opacity:1;border-left-color:rgb(87 92 95/var(--tw-border-opacity,1))}.border-l-gray-400{--tw-border-opacity:1;border-left-color:rgb(156 163 175/var(--tw-border-opacity,1))}.border-l-gray-600{--tw-border-opacity:1;border-left-color:rgb(75 85 99/var(--tw-border-opacity,1))}.border-t-eui-dark-400\\/40{border-top-color:#40454766}.border-opacity-100{--tw-border-opacity:1}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\\/75{background-color:#000000bf}.bg-eui-dark-300\\/50{background-color:#575c5f80}.bg-eui-dark-500{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity,1))}.bg-eui-dark-500\\/10{background-color:#2125291a}.bg-eui-dark-600\\/20{background-color:#1a1d2033}.bg-eui-dark-900\\/90{background-color:#070708e6}.bg-eui-info-600\\/20{background-color:#0aa0c033}.bg-eui-light-600{--tw-bg-opacity:1;background-color:rgb(198 199 200/var(--tw-bg-opacity,1))}.bg-eui-light-600\\/20{background-color:#c6c7c833}.bg-eui-primary-300\\/10{background-color:#707a931a}.bg-eui-primary-600\\/20{background-color:#00030d33}.bg-eui-secondary-600\\/20{background-color:#17b80033}.bg-eui-success-600\\/20{background-color:#146b4233}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity,1))}.bg-gray-600\\/20{background-color:#4b556333}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.bg-gray-800\\/30{background-color:#1f29374d}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity,1))}.bg-gray-900\\/80{background-color:#111827cc}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity,1))}.bg-green-700\\/20{background-color:#15803d33}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-red-600\\/20{background-color:#dc262633}.bg-slate-900\\/50{background-color:#0f172a80}.bg-slate-900\\/70{background-color:#0f172ab3}.bg-transparent{background-color:initial}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity,1))}.bg-yellow-600\\/20{background-color:#ca8a0433}.bg-opacity-50{--tw-bg-opacity:0.5}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-eui-danger-600{--tw-gradient-from:#af2a37 var(--tw-gradient-from-position);--tw-gradient-to:#af2a3700 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-300\\/20{--tw-gradient-from:#575c5f33 var(--tw-gradient-from-position);--tw-gradient-to:#575c5f00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-500\\/10{--tw-gradient-from:#2125291a var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-600{--tw-gradient-from:#1a1d20 var(--tw-gradient-from-position);--tw-gradient-to:#1a1d2000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-info-600{--tw-gradient-from:#0aa0c0 var(--tw-gradient-from-position);--tw-gradient-to:#0aa0c000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-light-600{--tw-gradient-from:#c6c7c8 var(--tw-gradient-from-position);--tw-gradient-to:#c6c7c800 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-primary-600{--tw-gradient-from:#00030d var(--tw-gradient-from-position);--tw-gradient-to:#00030d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-600{--tw-gradient-from:#17b800 var(--tw-gradient-from-position);--tw-gradient-to:#17b80000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-900\\/10{--tw-gradient-from:#0a5a001a var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-900\\/20{--tw-gradient-from:#0a5a0033 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-success-600{--tw-gradient-from:#146b42 var(--tw-gradient-from-position);--tw-gradient-to:#146b4200 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-warning-600{--tw-gradient-from:#cc9905 var(--tw-gradient-from-position);--tw-gradient-to:#cc990500 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-green-700\\/10{--tw-gradient-from:#15803d1a var(--tw-gradient-from-position);--tw-gradient-to:#15803d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-800\\/70{--tw-gradient-from:#1e293bb3 var(--tw-gradient-from-position);--tw-gradient-to:#1e293b00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-900\\/50{--tw-gradient-from:#0f172a80 var(--tw-gradient-from-position);--tw-gradient-to:#0f172a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-900\\/70{--tw-gradient-from:#0f172ab3 var(--tw-gradient-from-position);--tw-gradient-to:#0f172a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-eui-danger-500{--tw-gradient-to:#dc3545 var(--tw-gradient-to-position)}.to-eui-dark-100\\/10{--tw-gradient-to:#868a8d1a var(--tw-gradient-to-position)}.to-eui-dark-500{--tw-gradient-to:#212529 var(--tw-gradient-to-position)}.to-eui-info-500{--tw-gradient-to:#0dcaf0 var(--tw-gradient-to-position)}.to-eui-light-500{--tw-gradient-to:#f8f9fa var(--tw-gradient-to-position)}.to-eui-primary-500{--tw-gradient-to:#00040f var(--tw-gradient-to-position)}.to-eui-secondary-500{--tw-gradient-to:#4cd900 var(--tw-gradient-to-position)}.to-eui-success-500{--tw-gradient-to:#198754 var(--tw-gradient-to-position)}.to-eui-warning-500{--tw-gradient-to:#ffc107 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to:#0000 var(--tw-gradient-to-position)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-0{padding-left:0}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-\\[60px\\]{padding-top:60px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-poppins{font-family:Poppins,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-\\[10px\\]{font-size:10px}.text-\\[12px\\]{font-size:12px}.text-\\[13\\.5px\\]{font-size:13.5px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[60px\\]{font-size:60px}.text-\\[8px\\]{font-size:8px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-\\[20px\\]{line-height:20px}.leading-\\[25px\\]{line-height:25px}.leading-\\[28px\\]{line-height:28px}.leading-\\[40px\\]{line-height:40px}.leading-\\[50px\\]{line-height:50px}.leading-\\[70px\\]{line-height:70px}.leading-\\[80px\\]{line-height:80px}.leading-\\[90px\\]{line-height:90px}.text-blue-300{--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity,1))}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity,1))}.text-eui-danger-500{--tw-text-opacity:1;color:rgb(220 53 69/var(--tw-text-opacity,1))}.text-eui-dark-100{--tw-text-opacity:1;color:rgb(134 138 141/var(--tw-text-opacity,1))}.text-eui-dark-200{--tw-text-opacity:1;color:rgb(111 115 118/var(--tw-text-opacity,1))}.text-eui-dark-50{--tw-text-opacity:1;color:rgb(158 161 164/var(--tw-text-opacity,1))}.text-eui-dark-500{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity,1))}.text-eui-dark-900{--tw-text-opacity:1;color:rgb(7 7 8/var(--tw-text-opacity,1))}.text-eui-info-500{--tw-text-opacity:1;color:rgb(13 202 240/var(--tw-text-opacity,1))}.text-eui-info-800{--tw-text-opacity:1;color:rgb(5 76 96/var(--tw-text-opacity,1))}.text-eui-light-500{--tw-text-opacity:1;color:rgb(248 249 250/var(--tw-text-opacity,1))}.text-eui-light-800{--tw-text-opacity:1;color:rgb(98 98 99/var(--tw-text-opacity,1))}.text-eui-primary-500{--tw-text-opacity:1;color:rgb(0 4 15/var(--tw-text-opacity,1))}.text-eui-secondary-500{--tw-text-opacity:1;color:rgb(76 217 0/var(--tw-text-opacity,1))}.text-eui-secondary-600{--tw-text-opacity:1;color:rgb(23 184 0/var(--tw-text-opacity,1))}.text-eui-secondary-700{--tw-text-opacity:1;color:rgb(20 153 0/var(--tw-text-opacity,1))}.text-eui-secondary-900{--tw-text-opacity:1;color:rgb(10 90 0/var(--tw-text-opacity,1))}.text-eui-success-500{--tw-text-opacity:1;color:rgb(25 135 84/var(--tw-text-opacity,1))}.text-eui-success-800{--tw-text-opacity:1;color:rgb(10 50 31/var(--tw-text-opacity,1))}.text-eui-warning-500{--tw-text-opacity:1;color:rgb(255 193 7/var(--tw-text-opacity,1))}.text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-50{--tw-text-opacity:1;color:rgb(249 250 251/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity,1))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity,1))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.placeholder-transparent::placeholder{color:#0000}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid #0000;outline-offset:2px}.brightness-100{--tw-brightness:brightness(1)}.brightness-100,.brightness-110{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-110{--tw-brightness:brightness(1.1)}.brightness-125{--tw-brightness:brightness(1.25)}.brightness-125,.brightness-50{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-50{--tw-brightness:brightness(.5)}.brightness-75{--tw-brightness:brightness(.75)}.brightness-75,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale:grayscale(100%)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.duration-75{transition-duration:75ms}.duration-\\[200ms\\]{transition-duration:.2s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-\\[2px\\]:after{content:var(--tw-content);left:2px}.after\\:top-\\[2px\\]:after{content:var(--tw-content);top:2px}.after\\:h-5:after{content:var(--tw-content);height:1.25rem}.after\\:w-5:after{content:var(--tw-content);width:1.25rem}.after\\:rounded-full:after{border-radius:9999px;content:var(--tw-content)}.after\\:border:after{border-width:1px;content:var(--tw-content)}.after\\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.after\\:bg-white:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.after\\:transition-all:after{content:var(--tw-content);transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:content-\\[\\'\\'\\]:after{--tw-content:\"\";content:var(--tw-content)}.checked\\:border-eui-primary-400:checked{--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.checked\\:bg-eui-secondary-700:checked{--tw-bg-opacity:1;background-color:rgb(20 153 0/var(--tw-bg-opacity,1))}.checked\\:text-white:checked{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.checked\\:before\\:absolute:checked:before{content:var(--tw-content);position:absolute}.checked\\:before\\:left-0:checked:before{content:var(--tw-content);left:0}.checked\\:before\\:top-0:checked:before{content:var(--tw-content);top:0}.checked\\:before\\:flex:checked:before{content:var(--tw-content);display:flex}.checked\\:before\\:h-full:checked:before{content:var(--tw-content);height:100%}.checked\\:before\\:w-full:checked:before{content:var(--tw-content);width:100%}.checked\\:before\\:items-center:checked:before{align-items:center;content:var(--tw-content)}.checked\\:before\\:justify-center:checked:before{content:var(--tw-content);justify-content:center}.checked\\:before\\:text-xs:checked:before{content:var(--tw-content);font-size:.75rem;line-height:1rem}.checked\\:before\\:font-bold:checked:before{content:var(--tw-content);font-weight:700}.checked\\:before\\:text-white:checked:before{content:var(--tw-content);--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.checked\\:before\\:content-\\[\\'\\2713\\'\\]:checked:before{--tw-content:\"✓\";content:var(--tw-content)}.placeholder-shown\\:p-3:placeholder-shown{padding:.75rem}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:border-solid:hover{border-style:solid}.hover\\:border-eui-secondary-600:hover{--tw-border-opacity:1;border-color:rgb(23 184 0/var(--tw-border-opacity,1))}.hover\\:border-gray-600:hover{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.hover\\:border-b-eui-secondary-700:hover{--tw-border-opacity:1;border-bottom-color:rgb(20 153 0/var(--tw-border-opacity,1))}.hover\\:bg-eui-dark-400\\/30:hover{background-color:#4045474d}.hover\\:bg-eui-dark-500:hover{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity,1))}.hover\\:bg-eui-dark-500\\/10:hover{background-color:#2125291a}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.hover\\:bg-gray-900\\/80:hover{background-color:#111827cc}.hover\\:from-eui-dark-500\\/20:hover{--tw-gradient-from:#21252933 var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\\:text-eui-secondary-700:hover{--tw-text-opacity:1;color:rgb(20 153 0/var(--tw-text-opacity,1))}.hover\\:text-gray-600:hover{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\\:shadow-\\[\\#167d0f\\]\\/50:hover{--tw-shadow-color:#167d0f80;--tw-shadow:var(--tw-shadow-colored)}.hover\\:brightness-100:hover{--tw-brightness:brightness(1)}.hover\\:brightness-100:hover,.hover\\:brightness-110:hover{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\\:brightness-110:hover{--tw-brightness:brightness(1.1)}.hover\\:brightness-125:hover{--tw-brightness:brightness(1.25);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\\:resize-none:focus{resize:none}.focus\\:border-eui-secondary-500:focus{--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.focus\\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.group:hover .group-hover\\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.peer:checked~.peer-checked\\:bg-eui-secondary-600{--tw-bg-opacity:1;background-color:rgb(23 184 0/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:after\\:translate-x-full:after{content:var(--tw-content);--tw-translate-x:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\\:after\\:border-white:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.peer:placeholder-shown~.peer-placeholder-shown\\:top-3{top:.75rem}.peer:placeholder-shown~.peer-placeholder-shown\\:text-base{font-size:1rem;line-height:1.5rem}.peer:focus~.peer-focus\\:outline-none{outline:2px solid #0000;outline-offset:2px}.dark\\:border-eui-dark-200:is(.dark *){--tw-border-opacity:1;border-color:rgb(111 115 118/var(--tw-border-opacity,1))}.dark\\:border-eui-dark-300\\/50:is(.dark *){border-color:#575c5f80}.dark\\:border-eui-primary-400:is(.dark *){--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-500:is(.dark *){--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-600\\/10:is(.dark *){border-color:#17b8001a}.dark\\:border-eui-secondary-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(16 122 0/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-800\\/40:is(.dark *){border-color:#107a0066}.dark\\:border-eui-secondary-900\\/20:is(.dark *){border-color:#0a5a0033}.dark\\:bg-eui-dark-100:is(.dark *){--tw-bg-opacity:1;background-color:rgb(134 138 141/var(--tw-bg-opacity,1))}.dark\\:bg-eui-primary-300\\/10:is(.dark *){background-color:#707a931a}.dark\\:bg-gray-600:is(.dark *){--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity,1))}.dark\\:bg-gray-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.dark\\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.dark\\:bg-green-700\\/20:is(.dark *){background-color:#15803d33}.dark\\:from-eui-light-400\\/10:is(.dark *){--tw-gradient-from:#fbfbfb1a var(--tw-gradient-from-position);--tw-gradient-to:#fbfbfb00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:from-eui-secondary-900\\/10:is(.dark *){--tw-gradient-from:#0a5a001a var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:from-green-700\\/10:is(.dark *){--tw-gradient-from:#15803d1a var(--tw-gradient-from-position);--tw-gradient-to:#15803d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:to-eui-light-400\\/5:is(.dark *){--tw-gradient-to:#fbfbfb0d var(--tw-gradient-to-position)}.dark\\:text-eui-dark-100:is(.dark *){--tw-text-opacity:1;color:rgb(134 138 141/var(--tw-text-opacity,1))}.dark\\:text-eui-secondary-600:is(.dark *){--tw-text-opacity:1;color:rgb(23 184 0/var(--tw-text-opacity,1))}.dark\\:text-gray-200:is(.dark *){--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.hover\\:dark\\:bg-eui-dark-300\\/50:is(.dark *):hover{background-color:#575c5f80}.hover\\:dark\\:bg-green-700\\/20:is(.dark *):hover{background-color:#15803d33}.hover\\:dark\\:from-eui-secondary-900\\/20:is(.dark *):hover{--tw-gradient-from:#0a5a0033 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}@media (min-width:768px){.md\\:pl-\\[300px\\]{padding-left:300px}}@media (min-width:1024px){.lg\\:px-\\[150px\\]{padding-left:150px;padding-right:150px}}";
|
|
58
|
-
styleInject(css_248z$
|
|
57
|
+
var css_248z$4 = "*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.top-0{top:0}.top-3{top:.75rem}.top-\\[-20px\\]{top:-20px}.top-\\[0\\.7px\\]{top:.7px}.top-\\[10px\\]{top:10px}.top-\\[13px\\]{top:13px}.top-\\[16px\\]{top:16px}.top-\\[2px\\]{top:2px}.top-full{top:100%}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.col-span-5{grid-column:span 5/span 5}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mb-10{margin-bottom:2.5rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-12{height:3rem}.h-16{height:4rem}.h-20{height:5rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[10px\\]{height:10px}.h-\\[130px\\]{height:130px}.h-\\[200px\\]{height:200px}.h-\\[20px\\]{height:20px}.h-\\[300px\\]{height:300px}.h-\\[40px\\]{height:40px}.h-\\[50px\\]{height:50px}.h-\\[60px\\]{height:60px}.h-\\[90px\\]{height:90px}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-screen{max-height:100vh}.min-h-10{min-height:2.5rem}.min-h-3{min-height:.75rem}.min-h-4{min-height:1rem}.min-h-6{min-height:1.5rem}.min-h-8{min-height:2rem}.min-h-\\[50px\\]{min-height:50px}.min-h-screen{min-height:100vh}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\\[160px\\]{width:160px}.w-\\[300px\\]{width:300px}.w-\\[40px\\]{width:40px}.w-\\[60px\\]{width:60px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-10{min-width:2.5rem}.min-w-3{min-width:.75rem}.min-w-4{min-width:1rem}.min-w-5{min-width:1.25rem}.min-w-6{min-width:1.5rem}.min-w-8{min-width:2rem}.min-w-80{min-width:20rem}.min-w-\\[120px\\]{min-width:120px}.min-w-full{min-width:100%}.max-w-\\[500px\\]{max-width:500px}.max-w-md{max-width:28rem}.flex-shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.-translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y:-100%}.translate-x-0{--tw-translate-x:0px}.translate-x-0,.translate-x-8{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-8{--tw-translate-x:2rem}.translate-x-full{--tw-translate-x:100%}.translate-x-full,.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.translate-y-6{--tw-translate-y:1.5rem}.translate-y-6,.translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y:100%}.rotate-180{--tw-rotate:180deg}.rotate-180,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.scale-95,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.snap-y{scroll-snap-type:y var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-\\[2px\\]{gap:2px}.gap-\\[3px\\]{gap:3px}.gap-\\[4px\\]{gap:4px}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-\\[3px\\]{border-width:3px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-b-4{border-bottom-width:4px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\\[\\#0b6b05\\]{--tw-border-opacity:1;border-color:rgb(11 107 5/var(--tw-border-opacity,1))}.border-eui-danger-500{--tw-border-opacity:1;border-color:rgb(220 53 69/var(--tw-border-opacity,1))}.border-eui-dark-300\\/10{border-color:#575c5f1a}.border-eui-dark-300\\/30{border-color:#575c5f4d}.border-eui-dark-400\\/80{border-color:#404547cc}.border-eui-dark-500{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity,1))}.border-eui-dark-500\\/20{border-color:#21252933}.border-eui-dark-500\\/40{border-color:#21252966}.border-eui-dark-500\\/80{border-color:#212529cc}.border-eui-dark-800{--tw-border-opacity:1;border-color:rgb(13 14 16/var(--tw-border-opacity,1))}.border-eui-info-500{--tw-border-opacity:1;border-color:rgb(13 202 240/var(--tw-border-opacity,1))}.border-eui-info-800{--tw-border-opacity:1;border-color:rgb(5 76 96/var(--tw-border-opacity,1))}.border-eui-light-500{--tw-border-opacity:1;border-color:rgb(248 249 250/var(--tw-border-opacity,1))}.border-eui-light-800{--tw-border-opacity:1;border-color:rgb(98 98 99/var(--tw-border-opacity,1))}.border-eui-primary-400{--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.border-eui-primary-500{--tw-border-opacity:1;border-color:rgb(0 4 15/var(--tw-border-opacity,1))}.border-eui-primary-800{--tw-border-opacity:1;border-color:rgb(0 1 6/var(--tw-border-opacity,1))}.border-eui-secondary-500{--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.border-eui-secondary-800{--tw-border-opacity:1;border-color:rgb(16 122 0/var(--tw-border-opacity,1))}.border-eui-secondary-800\\/40{border-color:#107a0066}.border-eui-success-500{--tw-border-opacity:1;border-color:rgb(25 135 84/var(--tw-border-opacity,1))}.border-eui-success-800{--tw-border-opacity:1;border-color:rgb(10 50 31/var(--tw-border-opacity,1))}.border-eui-warning-500{--tw-border-opacity:1;border-color:rgb(255 193 7/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-gray-50{--tw-border-opacity:1;border-color:rgb(249 250 251/var(--tw-border-opacity,1))}.border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.border-gray-700{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.border-gray-700\\/80{border-color:#374151cc}.border-gray-800{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity,1))}.border-gray-800\\/70{border-color:#1f2937b3}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.border-red-800{--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity,1))}.border-slate-700{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.border-transparent{border-color:#0000}.border-yellow-800{--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity,1))}.border-b-eui-secondary-700{--tw-border-opacity:1;border-bottom-color:rgb(20 153 0/var(--tw-border-opacity,1))}.border-b-gray-700\\/50{border-bottom-color:#37415180}.border-b-transparent{border-bottom-color:#0000}.border-l-eui-dark-300{--tw-border-opacity:1;border-left-color:rgb(87 92 95/var(--tw-border-opacity,1))}.border-l-gray-400{--tw-border-opacity:1;border-left-color:rgb(156 163 175/var(--tw-border-opacity,1))}.border-l-gray-600{--tw-border-opacity:1;border-left-color:rgb(75 85 99/var(--tw-border-opacity,1))}.border-t-eui-dark-400\\/40{border-top-color:#40454766}.border-opacity-100{--tw-border-opacity:1}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\\/75{background-color:#000000bf}.bg-eui-dark-300\\/50{background-color:#575c5f80}.bg-eui-dark-500{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity,1))}.bg-eui-dark-500\\/10{background-color:#2125291a}.bg-eui-dark-600\\/20{background-color:#1a1d2033}.bg-eui-dark-900\\/90{background-color:#070708e6}.bg-eui-info-600\\/20{background-color:#0aa0c033}.bg-eui-light-600{--tw-bg-opacity:1;background-color:rgb(198 199 200/var(--tw-bg-opacity,1))}.bg-eui-light-600\\/20{background-color:#c6c7c833}.bg-eui-primary-300\\/10{background-color:#707a931a}.bg-eui-primary-600\\/20{background-color:#00030d33}.bg-eui-secondary-600\\/20{background-color:#17b80033}.bg-eui-success-600\\/20{background-color:#146b4233}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity,1))}.bg-gray-600\\/20{background-color:#4b556333}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.bg-gray-800\\/30{background-color:#1f29374d}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity,1))}.bg-gray-900\\/80{background-color:#111827cc}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity,1))}.bg-green-700\\/20{background-color:#15803d33}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-red-600\\/20{background-color:#dc262633}.bg-slate-900\\/50{background-color:#0f172a80}.bg-slate-900\\/70{background-color:#0f172ab3}.bg-transparent{background-color:initial}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity,1))}.bg-yellow-600\\/20{background-color:#ca8a0433}.bg-opacity-50{--tw-bg-opacity:0.5}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-eui-danger-600{--tw-gradient-from:#af2a37 var(--tw-gradient-from-position);--tw-gradient-to:#af2a3700 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-300\\/20{--tw-gradient-from:#575c5f33 var(--tw-gradient-from-position);--tw-gradient-to:#575c5f00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-500\\/10{--tw-gradient-from:#2125291a var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-600{--tw-gradient-from:#1a1d20 var(--tw-gradient-from-position);--tw-gradient-to:#1a1d2000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-info-600{--tw-gradient-from:#0aa0c0 var(--tw-gradient-from-position);--tw-gradient-to:#0aa0c000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-light-600{--tw-gradient-from:#c6c7c8 var(--tw-gradient-from-position);--tw-gradient-to:#c6c7c800 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-primary-600{--tw-gradient-from:#00030d var(--tw-gradient-from-position);--tw-gradient-to:#00030d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-600{--tw-gradient-from:#17b800 var(--tw-gradient-from-position);--tw-gradient-to:#17b80000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-900\\/10{--tw-gradient-from:#0a5a001a var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-900\\/20{--tw-gradient-from:#0a5a0033 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-success-600{--tw-gradient-from:#146b42 var(--tw-gradient-from-position);--tw-gradient-to:#146b4200 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-warning-600{--tw-gradient-from:#cc9905 var(--tw-gradient-from-position);--tw-gradient-to:#cc990500 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-green-700\\/10{--tw-gradient-from:#15803d1a var(--tw-gradient-from-position);--tw-gradient-to:#15803d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-800\\/70{--tw-gradient-from:#1e293bb3 var(--tw-gradient-from-position);--tw-gradient-to:#1e293b00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-900\\/50{--tw-gradient-from:#0f172a80 var(--tw-gradient-from-position);--tw-gradient-to:#0f172a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-900\\/70{--tw-gradient-from:#0f172ab3 var(--tw-gradient-from-position);--tw-gradient-to:#0f172a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-eui-danger-500{--tw-gradient-to:#dc3545 var(--tw-gradient-to-position)}.to-eui-dark-100\\/10{--tw-gradient-to:#868a8d1a var(--tw-gradient-to-position)}.to-eui-dark-500{--tw-gradient-to:#212529 var(--tw-gradient-to-position)}.to-eui-info-500{--tw-gradient-to:#0dcaf0 var(--tw-gradient-to-position)}.to-eui-light-500{--tw-gradient-to:#f8f9fa var(--tw-gradient-to-position)}.to-eui-primary-500{--tw-gradient-to:#00040f var(--tw-gradient-to-position)}.to-eui-secondary-500{--tw-gradient-to:#4cd900 var(--tw-gradient-to-position)}.to-eui-success-500{--tw-gradient-to:#198754 var(--tw-gradient-to-position)}.to-eui-warning-500{--tw-gradient-to:#ffc107 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to:#0000 var(--tw-gradient-to-position)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-0{padding-left:0}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-\\[60px\\]{padding-top:60px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-poppins{font-family:Poppins,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-\\[10px\\]{font-size:10px}.text-\\[12px\\]{font-size:12px}.text-\\[13\\.5px\\]{font-size:13.5px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[60px\\]{font-size:60px}.text-\\[8px\\]{font-size:8px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-\\[20px\\]{line-height:20px}.leading-\\[25px\\]{line-height:25px}.leading-\\[28px\\]{line-height:28px}.leading-\\[40px\\]{line-height:40px}.leading-\\[50px\\]{line-height:50px}.leading-\\[70px\\]{line-height:70px}.leading-\\[80px\\]{line-height:80px}.leading-\\[90px\\]{line-height:90px}.text-blue-300{--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity,1))}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity,1))}.text-eui-danger-500{--tw-text-opacity:1;color:rgb(220 53 69/var(--tw-text-opacity,1))}.text-eui-dark-100{--tw-text-opacity:1;color:rgb(134 138 141/var(--tw-text-opacity,1))}.text-eui-dark-200{--tw-text-opacity:1;color:rgb(111 115 118/var(--tw-text-opacity,1))}.text-eui-dark-50{--tw-text-opacity:1;color:rgb(158 161 164/var(--tw-text-opacity,1))}.text-eui-dark-500{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity,1))}.text-eui-dark-900{--tw-text-opacity:1;color:rgb(7 7 8/var(--tw-text-opacity,1))}.text-eui-info-500{--tw-text-opacity:1;color:rgb(13 202 240/var(--tw-text-opacity,1))}.text-eui-info-800{--tw-text-opacity:1;color:rgb(5 76 96/var(--tw-text-opacity,1))}.text-eui-light-500{--tw-text-opacity:1;color:rgb(248 249 250/var(--tw-text-opacity,1))}.text-eui-light-800{--tw-text-opacity:1;color:rgb(98 98 99/var(--tw-text-opacity,1))}.text-eui-primary-500{--tw-text-opacity:1;color:rgb(0 4 15/var(--tw-text-opacity,1))}.text-eui-secondary-500{--tw-text-opacity:1;color:rgb(76 217 0/var(--tw-text-opacity,1))}.text-eui-secondary-600{--tw-text-opacity:1;color:rgb(23 184 0/var(--tw-text-opacity,1))}.text-eui-secondary-700{--tw-text-opacity:1;color:rgb(20 153 0/var(--tw-text-opacity,1))}.text-eui-secondary-900{--tw-text-opacity:1;color:rgb(10 90 0/var(--tw-text-opacity,1))}.text-eui-success-500{--tw-text-opacity:1;color:rgb(25 135 84/var(--tw-text-opacity,1))}.text-eui-success-800{--tw-text-opacity:1;color:rgb(10 50 31/var(--tw-text-opacity,1))}.text-eui-warning-500{--tw-text-opacity:1;color:rgb(255 193 7/var(--tw-text-opacity,1))}.text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-50{--tw-text-opacity:1;color:rgb(249 250 251/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity,1))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity,1))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.placeholder-transparent::placeholder{color:#0000}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid #0000;outline-offset:2px}.brightness-100{--tw-brightness:brightness(1)}.brightness-100,.brightness-110{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-110{--tw-brightness:brightness(1.1)}.brightness-125{--tw-brightness:brightness(1.25)}.brightness-125,.brightness-50{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-50{--tw-brightness:brightness(.5)}.brightness-75{--tw-brightness:brightness(.75)}.brightness-75,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale:grayscale(100%)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.duration-75{transition-duration:75ms}.duration-\\[200ms\\]{transition-duration:.2s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-\\[2px\\]:after{content:var(--tw-content);left:2px}.after\\:top-\\[2px\\]:after{content:var(--tw-content);top:2px}.after\\:h-5:after{content:var(--tw-content);height:1.25rem}.after\\:w-5:after{content:var(--tw-content);width:1.25rem}.after\\:rounded-full:after{border-radius:9999px;content:var(--tw-content)}.after\\:border:after{border-width:1px;content:var(--tw-content)}.after\\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.after\\:bg-white:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.after\\:transition-all:after{content:var(--tw-content);transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:content-\\[\\'\\'\\]:after{--tw-content:\"\";content:var(--tw-content)}.checked\\:border-eui-primary-400:checked{--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.checked\\:bg-eui-secondary-700:checked{--tw-bg-opacity:1;background-color:rgb(20 153 0/var(--tw-bg-opacity,1))}.checked\\:text-white:checked{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.checked\\:before\\:absolute:checked:before{content:var(--tw-content);position:absolute}.checked\\:before\\:left-0:checked:before{content:var(--tw-content);left:0}.checked\\:before\\:top-0:checked:before{content:var(--tw-content);top:0}.checked\\:before\\:flex:checked:before{content:var(--tw-content);display:flex}.checked\\:before\\:h-full:checked:before{content:var(--tw-content);height:100%}.checked\\:before\\:w-full:checked:before{content:var(--tw-content);width:100%}.checked\\:before\\:items-center:checked:before{align-items:center;content:var(--tw-content)}.checked\\:before\\:justify-center:checked:before{content:var(--tw-content);justify-content:center}.checked\\:before\\:text-xs:checked:before{content:var(--tw-content);font-size:.75rem;line-height:1rem}.checked\\:before\\:font-bold:checked:before{content:var(--tw-content);font-weight:700}.checked\\:before\\:text-white:checked:before{content:var(--tw-content);--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.checked\\:before\\:content-\\[\\'\\2713\\'\\]:checked:before{--tw-content:\"✓\";content:var(--tw-content)}.placeholder-shown\\:p-3:placeholder-shown{padding:.75rem}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:border-solid:hover{border-style:solid}.hover\\:border-eui-secondary-600:hover{--tw-border-opacity:1;border-color:rgb(23 184 0/var(--tw-border-opacity,1))}.hover\\:border-gray-600:hover{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.hover\\:border-b-eui-secondary-700:hover{--tw-border-opacity:1;border-bottom-color:rgb(20 153 0/var(--tw-border-opacity,1))}.hover\\:bg-eui-dark-400\\/30:hover{background-color:#4045474d}.hover\\:bg-eui-dark-500:hover{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity,1))}.hover\\:bg-eui-dark-500\\/10:hover{background-color:#2125291a}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.hover\\:bg-gray-900\\/80:hover{background-color:#111827cc}.hover\\:from-eui-dark-500\\/20:hover{--tw-gradient-from:#21252933 var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\\:text-eui-secondary-700:hover{--tw-text-opacity:1;color:rgb(20 153 0/var(--tw-text-opacity,1))}.hover\\:text-gray-600:hover{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\\:shadow-\\[\\#167d0f\\]\\/50:hover{--tw-shadow-color:#167d0f80;--tw-shadow:var(--tw-shadow-colored)}.hover\\:brightness-100:hover{--tw-brightness:brightness(1)}.hover\\:brightness-100:hover,.hover\\:brightness-110:hover{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\\:brightness-110:hover{--tw-brightness:brightness(1.1)}.hover\\:brightness-125:hover{--tw-brightness:brightness(1.25);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\\:resize-none:focus{resize:none}.focus\\:border-eui-secondary-500:focus{--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.focus\\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.group:hover .group-hover\\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.peer:checked~.peer-checked\\:bg-eui-secondary-600{--tw-bg-opacity:1;background-color:rgb(23 184 0/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:after\\:translate-x-full:after{content:var(--tw-content);--tw-translate-x:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\\:after\\:border-white:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.peer:placeholder-shown~.peer-placeholder-shown\\:top-3{top:.75rem}.peer:placeholder-shown~.peer-placeholder-shown\\:text-base{font-size:1rem;line-height:1.5rem}.peer:focus~.peer-focus\\:outline-none{outline:2px solid #0000;outline-offset:2px}.dark\\:border-eui-dark-200:is(.dark *){--tw-border-opacity:1;border-color:rgb(111 115 118/var(--tw-border-opacity,1))}.dark\\:border-eui-dark-300\\/50:is(.dark *){border-color:#575c5f80}.dark\\:border-eui-primary-400:is(.dark *){--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-500:is(.dark *){--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-600\\/10:is(.dark *){border-color:#17b8001a}.dark\\:border-eui-secondary-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(16 122 0/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-800\\/40:is(.dark *){border-color:#107a0066}.dark\\:border-eui-secondary-900\\/20:is(.dark *){border-color:#0a5a0033}.dark\\:bg-eui-dark-100:is(.dark *){--tw-bg-opacity:1;background-color:rgb(134 138 141/var(--tw-bg-opacity,1))}.dark\\:bg-eui-primary-300\\/10:is(.dark *){background-color:#707a931a}.dark\\:bg-gray-600:is(.dark *){--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity,1))}.dark\\:bg-gray-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.dark\\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.dark\\:bg-green-700\\/20:is(.dark *){background-color:#15803d33}.dark\\:from-eui-light-400\\/10:is(.dark *){--tw-gradient-from:#fbfbfb1a var(--tw-gradient-from-position);--tw-gradient-to:#fbfbfb00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:from-eui-secondary-900\\/10:is(.dark *){--tw-gradient-from:#0a5a001a var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:from-green-700\\/10:is(.dark *){--tw-gradient-from:#15803d1a var(--tw-gradient-from-position);--tw-gradient-to:#15803d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:to-eui-light-400\\/5:is(.dark *){--tw-gradient-to:#fbfbfb0d var(--tw-gradient-to-position)}.dark\\:text-eui-dark-100:is(.dark *){--tw-text-opacity:1;color:rgb(134 138 141/var(--tw-text-opacity,1))}.dark\\:text-eui-secondary-600:is(.dark *){--tw-text-opacity:1;color:rgb(23 184 0/var(--tw-text-opacity,1))}.dark\\:text-gray-200:is(.dark *){--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.hover\\:dark\\:bg-eui-dark-300\\/50:is(.dark *):hover{background-color:#575c5f80}.hover\\:dark\\:bg-green-700\\/20:is(.dark *):hover{background-color:#15803d33}.hover\\:dark\\:from-eui-secondary-900\\/20:is(.dark *):hover{--tw-gradient-from:#0a5a0033 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}@media (min-width:768px){.md\\:pl-\\[300px\\]{padding-left:300px}}@media (min-width:1024px){.lg\\:px-\\[150px\\]{padding-left:150px;padding-right:150px}}";
|
|
58
|
+
styleInject(css_248z$4);
|
|
59
59
|
|
|
60
|
-
var css_248z$2 = "*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.eui-bg-md{background-color:rgb(198 199 200/var(--tw-bg-opacity,1));color:rgb(64 69 71/var(--tw-text-opacity,1))}.eui-bg-md,.eui-bg-md:is(.dark *){--tw-bg-opacity:1;--tw-text-opacity:1}.eui-bg-md:is(.dark *){background-color:rgb(13 14 16/var(--tw-bg-opacity,1));color:rgb(198 199 200/var(--tw-text-opacity,1))}.eui-bg-sm{background-color:rgb(248 249 250/var(--tw-bg-opacity,1));color:rgb(64 69 71/var(--tw-text-opacity,1))}.eui-bg-sm,.eui-bg-sm:is(.dark *){--tw-bg-opacity:1;--tw-text-opacity:1}.eui-bg-sm:is(.dark *){background-color:rgb(20 22 24/var(--tw-bg-opacity,1));color:rgb(198 199 200/var(--tw-text-opacity,1))}.eui-text-lg{--tw-text-opacity:1;color:rgb(13 14 16/var(--tw-text-opacity,1))}.eui-text-lg:is(.dark *){--tw-text-opacity:1;color:rgb(253 253 253/var(--tw-text-opacity,1))}.eui-text-md{--tw-text-opacity:1;color:rgb(26 29 32/var(--tw-text-opacity,1))}.eui-text-md:is(.dark *){--tw-text-opacity:1;color:rgb(248 249 250/var(--tw-text-opacity,1))}.eui-text-sm{--tw-text-opacity:1;color:rgb(87 92 95/var(--tw-text-opacity,1))}.eui-text-sm:is(.dark *){--tw-text-opacity:1;color:rgb(148 149 150/var(--tw-text-opacity,1))}.eui-shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);--tw-shadow-color:#21252933;--tw-shadow:var(--tw-shadow-colored)}.eui-shadow-lg:is(.dark *){--tw-shadow-color:#107a001a;--tw-shadow:var(--tw-shadow-colored)}.eui-gradient-to-r-md{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#212529cc var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-md:is(.dark *){--tw-gradient-from:#0a5a00cc var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-sm{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#21252980 var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-sm:is(.dark *){--tw-gradient-from:#0a5a0080 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-xs{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#2125294d var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-xs:is(.dark *){--tw-gradient-from:#0a5a004d var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-general-xs{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#2125294d var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-general-xs:is(.dark *){--tw-gradient-from:#4b55634d var(--tw-gradient-from-position);--tw-gradient-to:#4b556300 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-border-md{border-color:#40454780}.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.top-0{top:0}.top-3{top:.75rem}.top-\\[-20px\\]{top:-20px}.top-\\[0\\.7px\\]{top:.7px}.top-\\[10px\\]{top:10px}.top-\\[13px\\]{top:13px}.top-\\[16px\\]{top:16px}.top-\\[2px\\]{top:2px}.top-full{top:100%}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.col-span-5{grid-column:span 5/span 5}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mb-10{margin-bottom:2.5rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-12{height:3rem}.h-16{height:4rem}.h-20{height:5rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[10px\\]{height:10px}.h-\\[130px\\]{height:130px}.h-\\[200px\\]{height:200px}.h-\\[20px\\]{height:20px}.h-\\[300px\\]{height:300px}.h-\\[40px\\]{height:40px}.h-\\[50px\\]{height:50px}.h-\\[60px\\]{height:60px}.h-\\[90px\\]{height:90px}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-screen{max-height:100vh}.min-h-10{min-height:2.5rem}.min-h-3{min-height:.75rem}.min-h-4{min-height:1rem}.min-h-6{min-height:1.5rem}.min-h-8{min-height:2rem}.min-h-\\[50px\\]{min-height:50px}.min-h-screen{min-height:100vh}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\\[160px\\]{width:160px}.w-\\[300px\\]{width:300px}.w-\\[40px\\]{width:40px}.w-\\[60px\\]{width:60px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-10{min-width:2.5rem}.min-w-3{min-width:.75rem}.min-w-4{min-width:1rem}.min-w-5{min-width:1.25rem}.min-w-6{min-width:1.5rem}.min-w-8{min-width:2rem}.min-w-80{min-width:20rem}.min-w-\\[120px\\]{min-width:120px}.min-w-full{min-width:100%}.max-w-\\[500px\\]{max-width:500px}.max-w-md{max-width:28rem}.flex-shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.-translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y:-100%}.translate-x-0{--tw-translate-x:0px}.translate-x-0,.translate-x-8{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-8{--tw-translate-x:2rem}.translate-x-full{--tw-translate-x:100%}.translate-x-full,.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.translate-y-6{--tw-translate-y:1.5rem}.translate-y-6,.translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y:100%}.rotate-180{--tw-rotate:180deg}.rotate-180,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.scale-95,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.snap-y{scroll-snap-type:y var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-\\[2px\\]{gap:2px}.gap-\\[3px\\]{gap:3px}.gap-\\[4px\\]{gap:4px}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-\\[3px\\]{border-width:3px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-b-4{border-bottom-width:4px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\\[\\#0b6b05\\]{--tw-border-opacity:1;border-color:rgb(11 107 5/var(--tw-border-opacity,1))}.border-eui-danger-500{--tw-border-opacity:1;border-color:rgb(220 53 69/var(--tw-border-opacity,1))}.border-eui-dark-300\\/10{border-color:#575c5f1a}.border-eui-dark-300\\/30{border-color:#575c5f4d}.border-eui-dark-400\\/80{border-color:#404547cc}.border-eui-dark-500{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity,1))}.border-eui-dark-500\\/20{border-color:#21252933}.border-eui-dark-500\\/40{border-color:#21252966}.border-eui-dark-500\\/80{border-color:#212529cc}.border-eui-dark-800{--tw-border-opacity:1;border-color:rgb(13 14 16/var(--tw-border-opacity,1))}.border-eui-info-500{--tw-border-opacity:1;border-color:rgb(13 202 240/var(--tw-border-opacity,1))}.border-eui-info-800{--tw-border-opacity:1;border-color:rgb(5 76 96/var(--tw-border-opacity,1))}.border-eui-light-500{--tw-border-opacity:1;border-color:rgb(248 249 250/var(--tw-border-opacity,1))}.border-eui-light-800{--tw-border-opacity:1;border-color:rgb(98 98 99/var(--tw-border-opacity,1))}.border-eui-primary-400{--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.border-eui-primary-500{--tw-border-opacity:1;border-color:rgb(0 4 15/var(--tw-border-opacity,1))}.border-eui-primary-800{--tw-border-opacity:1;border-color:rgb(0 1 6/var(--tw-border-opacity,1))}.border-eui-secondary-500{--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.border-eui-secondary-800{--tw-border-opacity:1;border-color:rgb(16 122 0/var(--tw-border-opacity,1))}.border-eui-secondary-800\\/40{border-color:#107a0066}.border-eui-success-500{--tw-border-opacity:1;border-color:rgb(25 135 84/var(--tw-border-opacity,1))}.border-eui-success-800{--tw-border-opacity:1;border-color:rgb(10 50 31/var(--tw-border-opacity,1))}.border-eui-warning-500{--tw-border-opacity:1;border-color:rgb(255 193 7/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-gray-50{--tw-border-opacity:1;border-color:rgb(249 250 251/var(--tw-border-opacity,1))}.border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.border-gray-700{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.border-gray-700\\/80{border-color:#374151cc}.border-gray-800{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity,1))}.border-gray-800\\/70{border-color:#1f2937b3}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.border-red-800{--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity,1))}.border-slate-700{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.border-transparent{border-color:#0000}.border-yellow-800{--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity,1))}.border-b-eui-secondary-700{--tw-border-opacity:1;border-bottom-color:rgb(20 153 0/var(--tw-border-opacity,1))}.border-b-gray-700\\/50{border-bottom-color:#37415180}.border-b-transparent{border-bottom-color:#0000}.border-l-eui-dark-300{--tw-border-opacity:1;border-left-color:rgb(87 92 95/var(--tw-border-opacity,1))}.border-l-gray-400{--tw-border-opacity:1;border-left-color:rgb(156 163 175/var(--tw-border-opacity,1))}.border-l-gray-600{--tw-border-opacity:1;border-left-color:rgb(75 85 99/var(--tw-border-opacity,1))}.border-t-eui-dark-400\\/40{border-top-color:#40454766}.border-opacity-100{--tw-border-opacity:1}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\\/75{background-color:#000000bf}.bg-eui-dark-300\\/50{background-color:#575c5f80}.bg-eui-dark-500{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity,1))}.bg-eui-dark-500\\/10{background-color:#2125291a}.bg-eui-dark-600\\/20{background-color:#1a1d2033}.bg-eui-dark-900\\/90{background-color:#070708e6}.bg-eui-info-600\\/20{background-color:#0aa0c033}.bg-eui-light-600{--tw-bg-opacity:1;background-color:rgb(198 199 200/var(--tw-bg-opacity,1))}.bg-eui-light-600\\/20{background-color:#c6c7c833}.bg-eui-primary-300\\/10{background-color:#707a931a}.bg-eui-primary-600\\/20{background-color:#00030d33}.bg-eui-secondary-600\\/20{background-color:#17b80033}.bg-eui-success-600\\/20{background-color:#146b4233}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity,1))}.bg-gray-600\\/20{background-color:#4b556333}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.bg-gray-800\\/30{background-color:#1f29374d}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity,1))}.bg-gray-900\\/80{background-color:#111827cc}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity,1))}.bg-green-700\\/20{background-color:#15803d33}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-red-600\\/20{background-color:#dc262633}.bg-slate-900\\/50{background-color:#0f172a80}.bg-slate-900\\/70{background-color:#0f172ab3}.bg-transparent{background-color:initial}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity,1))}.bg-yellow-600\\/20{background-color:#ca8a0433}.bg-opacity-50{--tw-bg-opacity:0.5}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-eui-danger-600{--tw-gradient-from:#af2a37 var(--tw-gradient-from-position);--tw-gradient-to:#af2a3700 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-300\\/20{--tw-gradient-from:#575c5f33 var(--tw-gradient-from-position);--tw-gradient-to:#575c5f00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-500\\/10{--tw-gradient-from:#2125291a var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-600{--tw-gradient-from:#1a1d20 var(--tw-gradient-from-position);--tw-gradient-to:#1a1d2000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-info-600{--tw-gradient-from:#0aa0c0 var(--tw-gradient-from-position);--tw-gradient-to:#0aa0c000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-light-600{--tw-gradient-from:#c6c7c8 var(--tw-gradient-from-position);--tw-gradient-to:#c6c7c800 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-primary-600{--tw-gradient-from:#00030d var(--tw-gradient-from-position);--tw-gradient-to:#00030d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-600{--tw-gradient-from:#17b800 var(--tw-gradient-from-position);--tw-gradient-to:#17b80000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-900\\/10{--tw-gradient-from:#0a5a001a var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-900\\/20{--tw-gradient-from:#0a5a0033 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-success-600{--tw-gradient-from:#146b42 var(--tw-gradient-from-position);--tw-gradient-to:#146b4200 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-warning-600{--tw-gradient-from:#cc9905 var(--tw-gradient-from-position);--tw-gradient-to:#cc990500 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-green-700\\/10{--tw-gradient-from:#15803d1a var(--tw-gradient-from-position);--tw-gradient-to:#15803d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-800\\/70{--tw-gradient-from:#1e293bb3 var(--tw-gradient-from-position);--tw-gradient-to:#1e293b00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-900\\/50{--tw-gradient-from:#0f172a80 var(--tw-gradient-from-position);--tw-gradient-to:#0f172a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-900\\/70{--tw-gradient-from:#0f172ab3 var(--tw-gradient-from-position);--tw-gradient-to:#0f172a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-eui-danger-500{--tw-gradient-to:#dc3545 var(--tw-gradient-to-position)}.to-eui-dark-100\\/10{--tw-gradient-to:#868a8d1a var(--tw-gradient-to-position)}.to-eui-dark-500{--tw-gradient-to:#212529 var(--tw-gradient-to-position)}.to-eui-info-500{--tw-gradient-to:#0dcaf0 var(--tw-gradient-to-position)}.to-eui-light-500{--tw-gradient-to:#f8f9fa var(--tw-gradient-to-position)}.to-eui-primary-500{--tw-gradient-to:#00040f var(--tw-gradient-to-position)}.to-eui-secondary-500{--tw-gradient-to:#4cd900 var(--tw-gradient-to-position)}.to-eui-success-500{--tw-gradient-to:#198754 var(--tw-gradient-to-position)}.to-eui-warning-500{--tw-gradient-to:#ffc107 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to:#0000 var(--tw-gradient-to-position)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-0{padding-left:0}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-\\[60px\\]{padding-top:60px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-poppins{font-family:Poppins,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-\\[10px\\]{font-size:10px}.text-\\[12px\\]{font-size:12px}.text-\\[13\\.5px\\]{font-size:13.5px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[60px\\]{font-size:60px}.text-\\[8px\\]{font-size:8px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-\\[20px\\]{line-height:20px}.leading-\\[25px\\]{line-height:25px}.leading-\\[28px\\]{line-height:28px}.leading-\\[40px\\]{line-height:40px}.leading-\\[50px\\]{line-height:50px}.leading-\\[70px\\]{line-height:70px}.leading-\\[80px\\]{line-height:80px}.leading-\\[90px\\]{line-height:90px}.text-blue-300{--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity,1))}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity,1))}.text-eui-danger-500{--tw-text-opacity:1;color:rgb(220 53 69/var(--tw-text-opacity,1))}.text-eui-dark-100{--tw-text-opacity:1;color:rgb(134 138 141/var(--tw-text-opacity,1))}.text-eui-dark-200{--tw-text-opacity:1;color:rgb(111 115 118/var(--tw-text-opacity,1))}.text-eui-dark-50{--tw-text-opacity:1;color:rgb(158 161 164/var(--tw-text-opacity,1))}.text-eui-dark-500{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity,1))}.text-eui-dark-900{--tw-text-opacity:1;color:rgb(7 7 8/var(--tw-text-opacity,1))}.text-eui-info-500{--tw-text-opacity:1;color:rgb(13 202 240/var(--tw-text-opacity,1))}.text-eui-info-800{--tw-text-opacity:1;color:rgb(5 76 96/var(--tw-text-opacity,1))}.text-eui-light-500{--tw-text-opacity:1;color:rgb(248 249 250/var(--tw-text-opacity,1))}.text-eui-light-800{--tw-text-opacity:1;color:rgb(98 98 99/var(--tw-text-opacity,1))}.text-eui-primary-500{--tw-text-opacity:1;color:rgb(0 4 15/var(--tw-text-opacity,1))}.text-eui-secondary-500{--tw-text-opacity:1;color:rgb(76 217 0/var(--tw-text-opacity,1))}.text-eui-secondary-600{--tw-text-opacity:1;color:rgb(23 184 0/var(--tw-text-opacity,1))}.text-eui-secondary-700{--tw-text-opacity:1;color:rgb(20 153 0/var(--tw-text-opacity,1))}.text-eui-secondary-900{--tw-text-opacity:1;color:rgb(10 90 0/var(--tw-text-opacity,1))}.text-eui-success-500{--tw-text-opacity:1;color:rgb(25 135 84/var(--tw-text-opacity,1))}.text-eui-success-800{--tw-text-opacity:1;color:rgb(10 50 31/var(--tw-text-opacity,1))}.text-eui-warning-500{--tw-text-opacity:1;color:rgb(255 193 7/var(--tw-text-opacity,1))}.text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-50{--tw-text-opacity:1;color:rgb(249 250 251/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity,1))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity,1))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.placeholder-transparent::placeholder{color:#0000}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid #0000;outline-offset:2px}.brightness-100{--tw-brightness:brightness(1)}.brightness-100,.brightness-110{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-110{--tw-brightness:brightness(1.1)}.brightness-125{--tw-brightness:brightness(1.25)}.brightness-125,.brightness-50{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-50{--tw-brightness:brightness(.5)}.brightness-75{--tw-brightness:brightness(.75)}.brightness-75,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale:grayscale(100%)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.duration-75{transition-duration:75ms}.duration-\\[200ms\\]{transition-duration:.2s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.odd\\:eui-bg-sm:nth-child(odd){--tw-bg-opacity:1;background-color:rgb(248 249 250/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(64 69 71/var(--tw-text-opacity,1))}.odd\\:eui-bg-sm:nth-child(odd):is(.dark *){--tw-bg-opacity:1;background-color:rgb(20 22 24/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(198 199 200/var(--tw-text-opacity,1))}.even\\:eui-bg-md:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(198 199 200/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(64 69 71/var(--tw-text-opacity,1))}.even\\:eui-bg-md:nth-child(2n):is(.dark *){--tw-bg-opacity:1;background-color:rgb(13 14 16/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(198 199 200/var(--tw-text-opacity,1))}.hover\\:eui-text-lg:hover{--tw-text-opacity:1;color:rgb(13 14 16/var(--tw-text-opacity,1))}.hover\\:eui-text-lg:hover:is(.dark *){--tw-text-opacity:1;color:rgb(253 253 253/var(--tw-text-opacity,1))}.hover\\:eui-gradient-to-r-md:hover{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#212529cc var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\\:eui-gradient-to-r-md:hover:is(.dark *){--tw-gradient-from:#0a5a00cc var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\\:eui-gradient-to-r-sm:hover{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#21252980 var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\\:eui-gradient-to-r-sm:hover:is(.dark *){--tw-gradient-from:#0a5a0080 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-\\[2px\\]:after{content:var(--tw-content);left:2px}.after\\:top-\\[2px\\]:after{content:var(--tw-content);top:2px}.after\\:h-5:after{content:var(--tw-content);height:1.25rem}.after\\:w-5:after{content:var(--tw-content);width:1.25rem}.after\\:rounded-full:after{border-radius:9999px;content:var(--tw-content)}.after\\:border:after{border-width:1px;content:var(--tw-content)}.after\\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.after\\:bg-white:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.after\\:transition-all:after{content:var(--tw-content);transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:content-\\[\\'\\'\\]:after{--tw-content:\"\";content:var(--tw-content)}.checked\\:border-eui-primary-400:checked{--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.checked\\:bg-eui-secondary-700:checked{--tw-bg-opacity:1;background-color:rgb(20 153 0/var(--tw-bg-opacity,1))}.checked\\:text-white:checked{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.checked\\:before\\:absolute:checked:before{content:var(--tw-content);position:absolute}.checked\\:before\\:left-0:checked:before{content:var(--tw-content);left:0}.checked\\:before\\:top-0:checked:before{content:var(--tw-content);top:0}.checked\\:before\\:flex:checked:before{content:var(--tw-content);display:flex}.checked\\:before\\:h-full:checked:before{content:var(--tw-content);height:100%}.checked\\:before\\:w-full:checked:before{content:var(--tw-content);width:100%}.checked\\:before\\:items-center:checked:before{align-items:center;content:var(--tw-content)}.checked\\:before\\:justify-center:checked:before{content:var(--tw-content);justify-content:center}.checked\\:before\\:text-xs:checked:before{content:var(--tw-content);font-size:.75rem;line-height:1rem}.checked\\:before\\:font-bold:checked:before{content:var(--tw-content);font-weight:700}.checked\\:before\\:text-white:checked:before{content:var(--tw-content);--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.checked\\:before\\:content-\\[\\'\\2713\\'\\]:checked:before{--tw-content:\"✓\";content:var(--tw-content)}.placeholder-shown\\:p-3:placeholder-shown{padding:.75rem}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:border-solid:hover{border-style:solid}.hover\\:border-eui-secondary-600:hover{--tw-border-opacity:1;border-color:rgb(23 184 0/var(--tw-border-opacity,1))}.hover\\:border-gray-600:hover{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.hover\\:border-b-eui-secondary-700:hover{--tw-border-opacity:1;border-bottom-color:rgb(20 153 0/var(--tw-border-opacity,1))}.hover\\:bg-eui-dark-400\\/30:hover{background-color:#4045474d}.hover\\:bg-eui-dark-500:hover{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity,1))}.hover\\:bg-eui-dark-500\\/10:hover{background-color:#2125291a}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.hover\\:bg-gray-900\\/80:hover{background-color:#111827cc}.hover\\:from-eui-dark-500\\/20:hover{--tw-gradient-from:#21252933 var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\\:text-eui-secondary-700:hover{--tw-text-opacity:1;color:rgb(20 153 0/var(--tw-text-opacity,1))}.hover\\:text-gray-600:hover{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\\:shadow-\\[\\#167d0f\\]\\/50:hover{--tw-shadow-color:#167d0f80;--tw-shadow:var(--tw-shadow-colored)}.hover\\:brightness-100:hover{--tw-brightness:brightness(1)}.hover\\:brightness-100:hover,.hover\\:brightness-110:hover{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\\:brightness-110:hover{--tw-brightness:brightness(1.1)}.hover\\:brightness-125:hover{--tw-brightness:brightness(1.25);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\\:resize-none:focus{resize:none}.focus\\:border-eui-secondary-500:focus{--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.focus\\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.group:hover .group-hover\\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.peer:checked~.peer-checked\\:bg-eui-secondary-600{--tw-bg-opacity:1;background-color:rgb(23 184 0/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:after\\:translate-x-full:after{content:var(--tw-content);--tw-translate-x:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\\:after\\:border-white:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.peer:placeholder-shown~.peer-placeholder-shown\\:top-3{top:.75rem}.peer:placeholder-shown~.peer-placeholder-shown\\:text-base{font-size:1rem;line-height:1.5rem}.peer:focus~.peer-focus\\:outline-none{outline:2px solid #0000;outline-offset:2px}.dark\\:border-eui-dark-200:is(.dark *){--tw-border-opacity:1;border-color:rgb(111 115 118/var(--tw-border-opacity,1))}.dark\\:border-eui-dark-300\\/50:is(.dark *){border-color:#575c5f80}.dark\\:border-eui-primary-400:is(.dark *){--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-500:is(.dark *){--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-600\\/10:is(.dark *){border-color:#17b8001a}.dark\\:border-eui-secondary-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(16 122 0/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-800\\/40:is(.dark *){border-color:#107a0066}.dark\\:border-eui-secondary-900\\/20:is(.dark *){border-color:#0a5a0033}.dark\\:bg-eui-dark-100:is(.dark *){--tw-bg-opacity:1;background-color:rgb(134 138 141/var(--tw-bg-opacity,1))}.dark\\:bg-eui-primary-300\\/10:is(.dark *){background-color:#707a931a}.dark\\:bg-gray-600:is(.dark *){--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity,1))}.dark\\:bg-gray-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.dark\\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.dark\\:bg-green-700\\/20:is(.dark *){background-color:#15803d33}.dark\\:from-eui-light-400\\/10:is(.dark *){--tw-gradient-from:#fbfbfb1a var(--tw-gradient-from-position);--tw-gradient-to:#fbfbfb00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:from-eui-secondary-900\\/10:is(.dark *){--tw-gradient-from:#0a5a001a var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:from-green-700\\/10:is(.dark *){--tw-gradient-from:#15803d1a var(--tw-gradient-from-position);--tw-gradient-to:#15803d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:to-eui-light-400\\/5:is(.dark *){--tw-gradient-to:#fbfbfb0d var(--tw-gradient-to-position)}.dark\\:text-eui-dark-100:is(.dark *){--tw-text-opacity:1;color:rgb(134 138 141/var(--tw-text-opacity,1))}.dark\\:text-eui-secondary-600:is(.dark *){--tw-text-opacity:1;color:rgb(23 184 0/var(--tw-text-opacity,1))}.dark\\:text-gray-200:is(.dark *){--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.hover\\:dark\\:bg-eui-dark-300\\/50:is(.dark *):hover{background-color:#575c5f80}.hover\\:dark\\:bg-green-700\\/20:is(.dark *):hover{background-color:#15803d33}.hover\\:dark\\:from-eui-secondary-900\\/20:is(.dark *):hover{--tw-gradient-from:#0a5a0033 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}@media (min-width:768px){.md\\:pl-\\[300px\\]{padding-left:300px}}@media (min-width:1024px){.lg\\:px-\\[150px\\]{padding-left:150px;padding-right:150px}}";
|
|
61
|
-
styleInject(css_248z$
|
|
60
|
+
var css_248z$3 = "*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.eui-bg-md{background-color:rgb(198 199 200/var(--tw-bg-opacity,1));color:rgb(64 69 71/var(--tw-text-opacity,1))}.eui-bg-md,.eui-bg-md:is(.dark *){--tw-bg-opacity:1;--tw-text-opacity:1}.eui-bg-md:is(.dark *){background-color:rgb(13 14 16/var(--tw-bg-opacity,1));color:rgb(198 199 200/var(--tw-text-opacity,1))}.eui-bg-sm{background-color:rgb(248 249 250/var(--tw-bg-opacity,1));color:rgb(64 69 71/var(--tw-text-opacity,1))}.eui-bg-sm,.eui-bg-sm:is(.dark *){--tw-bg-opacity:1;--tw-text-opacity:1}.eui-bg-sm:is(.dark *){background-color:rgb(20 22 24/var(--tw-bg-opacity,1));color:rgb(198 199 200/var(--tw-text-opacity,1))}.eui-text-lg{--tw-text-opacity:1;color:rgb(13 14 16/var(--tw-text-opacity,1))}.eui-text-lg:is(.dark *){--tw-text-opacity:1;color:rgb(253 253 253/var(--tw-text-opacity,1))}.eui-text-md{--tw-text-opacity:1;color:rgb(26 29 32/var(--tw-text-opacity,1))}.eui-text-md:is(.dark *){--tw-text-opacity:1;color:rgb(248 249 250/var(--tw-text-opacity,1))}.eui-text-sm{--tw-text-opacity:1;color:rgb(87 92 95/var(--tw-text-opacity,1))}.eui-text-sm:is(.dark *){--tw-text-opacity:1;color:rgb(148 149 150/var(--tw-text-opacity,1))}.eui-shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);--tw-shadow-color:#21252933;--tw-shadow:var(--tw-shadow-colored)}.eui-shadow-lg:is(.dark *){--tw-shadow-color:#107a001a;--tw-shadow:var(--tw-shadow-colored)}.eui-gradient-to-r-md{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#212529cc var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-md:is(.dark *){--tw-gradient-from:#0a5a00cc var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-sm{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#21252980 var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-sm:is(.dark *){--tw-gradient-from:#0a5a0080 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-xs{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#2125294d var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-xs:is(.dark *){--tw-gradient-from:#0a5a004d var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-general-xs{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#2125294d var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-gradient-to-r-general-xs:is(.dark *){--tw-gradient-from:#4b55634d var(--tw-gradient-from-position);--tw-gradient-to:#4b556300 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.eui-border-md{border-color:#40454780}.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.top-0{top:0}.top-3{top:.75rem}.top-\\[-20px\\]{top:-20px}.top-\\[0\\.7px\\]{top:.7px}.top-\\[10px\\]{top:10px}.top-\\[13px\\]{top:13px}.top-\\[16px\\]{top:16px}.top-\\[2px\\]{top:2px}.top-full{top:100%}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.col-span-5{grid-column:span 5/span 5}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mb-10{margin-bottom:2.5rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-12{height:3rem}.h-16{height:4rem}.h-20{height:5rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[10px\\]{height:10px}.h-\\[130px\\]{height:130px}.h-\\[200px\\]{height:200px}.h-\\[20px\\]{height:20px}.h-\\[300px\\]{height:300px}.h-\\[40px\\]{height:40px}.h-\\[50px\\]{height:50px}.h-\\[60px\\]{height:60px}.h-\\[90px\\]{height:90px}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-screen{max-height:100vh}.min-h-10{min-height:2.5rem}.min-h-3{min-height:.75rem}.min-h-4{min-height:1rem}.min-h-6{min-height:1.5rem}.min-h-8{min-height:2rem}.min-h-\\[50px\\]{min-height:50px}.min-h-screen{min-height:100vh}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\\[160px\\]{width:160px}.w-\\[300px\\]{width:300px}.w-\\[40px\\]{width:40px}.w-\\[60px\\]{width:60px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-10{min-width:2.5rem}.min-w-3{min-width:.75rem}.min-w-4{min-width:1rem}.min-w-5{min-width:1.25rem}.min-w-6{min-width:1.5rem}.min-w-8{min-width:2rem}.min-w-80{min-width:20rem}.min-w-\\[120px\\]{min-width:120px}.min-w-full{min-width:100%}.max-w-\\[500px\\]{max-width:500px}.max-w-md{max-width:28rem}.flex-shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.-translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y:-100%}.translate-x-0{--tw-translate-x:0px}.translate-x-0,.translate-x-8{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-8{--tw-translate-x:2rem}.translate-x-full{--tw-translate-x:100%}.translate-x-full,.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.translate-y-6{--tw-translate-y:1.5rem}.translate-y-6,.translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y:100%}.rotate-180{--tw-rotate:180deg}.rotate-180,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.scale-95,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.snap-y{scroll-snap-type:y var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-\\[2px\\]{gap:2px}.gap-\\[3px\\]{gap:3px}.gap-\\[4px\\]{gap:4px}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-\\[3px\\]{border-width:3px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-b-4{border-bottom-width:4px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\\[\\#0b6b05\\]{--tw-border-opacity:1;border-color:rgb(11 107 5/var(--tw-border-opacity,1))}.border-eui-danger-500{--tw-border-opacity:1;border-color:rgb(220 53 69/var(--tw-border-opacity,1))}.border-eui-dark-300\\/10{border-color:#575c5f1a}.border-eui-dark-300\\/30{border-color:#575c5f4d}.border-eui-dark-400\\/80{border-color:#404547cc}.border-eui-dark-500{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity,1))}.border-eui-dark-500\\/20{border-color:#21252933}.border-eui-dark-500\\/40{border-color:#21252966}.border-eui-dark-500\\/80{border-color:#212529cc}.border-eui-dark-800{--tw-border-opacity:1;border-color:rgb(13 14 16/var(--tw-border-opacity,1))}.border-eui-info-500{--tw-border-opacity:1;border-color:rgb(13 202 240/var(--tw-border-opacity,1))}.border-eui-info-800{--tw-border-opacity:1;border-color:rgb(5 76 96/var(--tw-border-opacity,1))}.border-eui-light-500{--tw-border-opacity:1;border-color:rgb(248 249 250/var(--tw-border-opacity,1))}.border-eui-light-800{--tw-border-opacity:1;border-color:rgb(98 98 99/var(--tw-border-opacity,1))}.border-eui-primary-400{--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.border-eui-primary-500{--tw-border-opacity:1;border-color:rgb(0 4 15/var(--tw-border-opacity,1))}.border-eui-primary-800{--tw-border-opacity:1;border-color:rgb(0 1 6/var(--tw-border-opacity,1))}.border-eui-secondary-500{--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.border-eui-secondary-800{--tw-border-opacity:1;border-color:rgb(16 122 0/var(--tw-border-opacity,1))}.border-eui-secondary-800\\/40{border-color:#107a0066}.border-eui-success-500{--tw-border-opacity:1;border-color:rgb(25 135 84/var(--tw-border-opacity,1))}.border-eui-success-800{--tw-border-opacity:1;border-color:rgb(10 50 31/var(--tw-border-opacity,1))}.border-eui-warning-500{--tw-border-opacity:1;border-color:rgb(255 193 7/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-gray-50{--tw-border-opacity:1;border-color:rgb(249 250 251/var(--tw-border-opacity,1))}.border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.border-gray-700{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.border-gray-700\\/80{border-color:#374151cc}.border-gray-800{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity,1))}.border-gray-800\\/70{border-color:#1f2937b3}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.border-red-800{--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity,1))}.border-slate-700{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.border-transparent{border-color:#0000}.border-yellow-800{--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity,1))}.border-b-eui-secondary-700{--tw-border-opacity:1;border-bottom-color:rgb(20 153 0/var(--tw-border-opacity,1))}.border-b-gray-700\\/50{border-bottom-color:#37415180}.border-b-transparent{border-bottom-color:#0000}.border-l-eui-dark-300{--tw-border-opacity:1;border-left-color:rgb(87 92 95/var(--tw-border-opacity,1))}.border-l-gray-400{--tw-border-opacity:1;border-left-color:rgb(156 163 175/var(--tw-border-opacity,1))}.border-l-gray-600{--tw-border-opacity:1;border-left-color:rgb(75 85 99/var(--tw-border-opacity,1))}.border-t-eui-dark-400\\/40{border-top-color:#40454766}.border-opacity-100{--tw-border-opacity:1}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\\/75{background-color:#000000bf}.bg-eui-dark-300\\/50{background-color:#575c5f80}.bg-eui-dark-500{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity,1))}.bg-eui-dark-500\\/10{background-color:#2125291a}.bg-eui-dark-600\\/20{background-color:#1a1d2033}.bg-eui-dark-900\\/90{background-color:#070708e6}.bg-eui-info-600\\/20{background-color:#0aa0c033}.bg-eui-light-600{--tw-bg-opacity:1;background-color:rgb(198 199 200/var(--tw-bg-opacity,1))}.bg-eui-light-600\\/20{background-color:#c6c7c833}.bg-eui-primary-300\\/10{background-color:#707a931a}.bg-eui-primary-600\\/20{background-color:#00030d33}.bg-eui-secondary-600\\/20{background-color:#17b80033}.bg-eui-success-600\\/20{background-color:#146b4233}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity,1))}.bg-gray-600\\/20{background-color:#4b556333}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.bg-gray-800\\/30{background-color:#1f29374d}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity,1))}.bg-gray-900\\/80{background-color:#111827cc}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity,1))}.bg-green-700\\/20{background-color:#15803d33}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-red-600\\/20{background-color:#dc262633}.bg-slate-900\\/50{background-color:#0f172a80}.bg-slate-900\\/70{background-color:#0f172ab3}.bg-transparent{background-color:initial}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity,1))}.bg-yellow-600\\/20{background-color:#ca8a0433}.bg-opacity-50{--tw-bg-opacity:0.5}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-eui-danger-600{--tw-gradient-from:#af2a37 var(--tw-gradient-from-position);--tw-gradient-to:#af2a3700 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-300\\/20{--tw-gradient-from:#575c5f33 var(--tw-gradient-from-position);--tw-gradient-to:#575c5f00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-500\\/10{--tw-gradient-from:#2125291a var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-600{--tw-gradient-from:#1a1d20 var(--tw-gradient-from-position);--tw-gradient-to:#1a1d2000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-info-600{--tw-gradient-from:#0aa0c0 var(--tw-gradient-from-position);--tw-gradient-to:#0aa0c000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-light-600{--tw-gradient-from:#c6c7c8 var(--tw-gradient-from-position);--tw-gradient-to:#c6c7c800 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-primary-600{--tw-gradient-from:#00030d var(--tw-gradient-from-position);--tw-gradient-to:#00030d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-600{--tw-gradient-from:#17b800 var(--tw-gradient-from-position);--tw-gradient-to:#17b80000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-900\\/10{--tw-gradient-from:#0a5a001a var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-900\\/20{--tw-gradient-from:#0a5a0033 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-success-600{--tw-gradient-from:#146b42 var(--tw-gradient-from-position);--tw-gradient-to:#146b4200 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-warning-600{--tw-gradient-from:#cc9905 var(--tw-gradient-from-position);--tw-gradient-to:#cc990500 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-green-700\\/10{--tw-gradient-from:#15803d1a var(--tw-gradient-from-position);--tw-gradient-to:#15803d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-800\\/70{--tw-gradient-from:#1e293bb3 var(--tw-gradient-from-position);--tw-gradient-to:#1e293b00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-900\\/50{--tw-gradient-from:#0f172a80 var(--tw-gradient-from-position);--tw-gradient-to:#0f172a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-900\\/70{--tw-gradient-from:#0f172ab3 var(--tw-gradient-from-position);--tw-gradient-to:#0f172a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-eui-danger-500{--tw-gradient-to:#dc3545 var(--tw-gradient-to-position)}.to-eui-dark-100\\/10{--tw-gradient-to:#868a8d1a var(--tw-gradient-to-position)}.to-eui-dark-500{--tw-gradient-to:#212529 var(--tw-gradient-to-position)}.to-eui-info-500{--tw-gradient-to:#0dcaf0 var(--tw-gradient-to-position)}.to-eui-light-500{--tw-gradient-to:#f8f9fa var(--tw-gradient-to-position)}.to-eui-primary-500{--tw-gradient-to:#00040f var(--tw-gradient-to-position)}.to-eui-secondary-500{--tw-gradient-to:#4cd900 var(--tw-gradient-to-position)}.to-eui-success-500{--tw-gradient-to:#198754 var(--tw-gradient-to-position)}.to-eui-warning-500{--tw-gradient-to:#ffc107 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to:#0000 var(--tw-gradient-to-position)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-0{padding-left:0}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-\\[60px\\]{padding-top:60px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-poppins{font-family:Poppins,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-\\[10px\\]{font-size:10px}.text-\\[12px\\]{font-size:12px}.text-\\[13\\.5px\\]{font-size:13.5px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[60px\\]{font-size:60px}.text-\\[8px\\]{font-size:8px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-\\[20px\\]{line-height:20px}.leading-\\[25px\\]{line-height:25px}.leading-\\[28px\\]{line-height:28px}.leading-\\[40px\\]{line-height:40px}.leading-\\[50px\\]{line-height:50px}.leading-\\[70px\\]{line-height:70px}.leading-\\[80px\\]{line-height:80px}.leading-\\[90px\\]{line-height:90px}.text-blue-300{--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity,1))}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity,1))}.text-eui-danger-500{--tw-text-opacity:1;color:rgb(220 53 69/var(--tw-text-opacity,1))}.text-eui-dark-100{--tw-text-opacity:1;color:rgb(134 138 141/var(--tw-text-opacity,1))}.text-eui-dark-200{--tw-text-opacity:1;color:rgb(111 115 118/var(--tw-text-opacity,1))}.text-eui-dark-50{--tw-text-opacity:1;color:rgb(158 161 164/var(--tw-text-opacity,1))}.text-eui-dark-500{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity,1))}.text-eui-dark-900{--tw-text-opacity:1;color:rgb(7 7 8/var(--tw-text-opacity,1))}.text-eui-info-500{--tw-text-opacity:1;color:rgb(13 202 240/var(--tw-text-opacity,1))}.text-eui-info-800{--tw-text-opacity:1;color:rgb(5 76 96/var(--tw-text-opacity,1))}.text-eui-light-500{--tw-text-opacity:1;color:rgb(248 249 250/var(--tw-text-opacity,1))}.text-eui-light-800{--tw-text-opacity:1;color:rgb(98 98 99/var(--tw-text-opacity,1))}.text-eui-primary-500{--tw-text-opacity:1;color:rgb(0 4 15/var(--tw-text-opacity,1))}.text-eui-secondary-500{--tw-text-opacity:1;color:rgb(76 217 0/var(--tw-text-opacity,1))}.text-eui-secondary-600{--tw-text-opacity:1;color:rgb(23 184 0/var(--tw-text-opacity,1))}.text-eui-secondary-700{--tw-text-opacity:1;color:rgb(20 153 0/var(--tw-text-opacity,1))}.text-eui-secondary-900{--tw-text-opacity:1;color:rgb(10 90 0/var(--tw-text-opacity,1))}.text-eui-success-500{--tw-text-opacity:1;color:rgb(25 135 84/var(--tw-text-opacity,1))}.text-eui-success-800{--tw-text-opacity:1;color:rgb(10 50 31/var(--tw-text-opacity,1))}.text-eui-warning-500{--tw-text-opacity:1;color:rgb(255 193 7/var(--tw-text-opacity,1))}.text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-50{--tw-text-opacity:1;color:rgb(249 250 251/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity,1))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity,1))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.placeholder-transparent::placeholder{color:#0000}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid #0000;outline-offset:2px}.brightness-100{--tw-brightness:brightness(1)}.brightness-100,.brightness-110{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-110{--tw-brightness:brightness(1.1)}.brightness-125{--tw-brightness:brightness(1.25)}.brightness-125,.brightness-50{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-50{--tw-brightness:brightness(.5)}.brightness-75{--tw-brightness:brightness(.75)}.brightness-75,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale:grayscale(100%)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.duration-75{transition-duration:75ms}.duration-\\[200ms\\]{transition-duration:.2s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.odd\\:eui-bg-sm:nth-child(odd){--tw-bg-opacity:1;background-color:rgb(248 249 250/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(64 69 71/var(--tw-text-opacity,1))}.odd\\:eui-bg-sm:nth-child(odd):is(.dark *){--tw-bg-opacity:1;background-color:rgb(20 22 24/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(198 199 200/var(--tw-text-opacity,1))}.even\\:eui-bg-md:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(198 199 200/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(64 69 71/var(--tw-text-opacity,1))}.even\\:eui-bg-md:nth-child(2n):is(.dark *){--tw-bg-opacity:1;background-color:rgb(13 14 16/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(198 199 200/var(--tw-text-opacity,1))}.hover\\:eui-text-lg:hover{--tw-text-opacity:1;color:rgb(13 14 16/var(--tw-text-opacity,1))}.hover\\:eui-text-lg:hover:is(.dark *){--tw-text-opacity:1;color:rgb(253 253 253/var(--tw-text-opacity,1))}.hover\\:eui-gradient-to-r-md:hover{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#212529cc var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\\:eui-gradient-to-r-md:hover:is(.dark *){--tw-gradient-from:#0a5a00cc var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\\:eui-gradient-to-r-sm:hover{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from:#21252980 var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\\:eui-gradient-to-r-sm:hover:is(.dark *){--tw-gradient-from:#0a5a0080 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-\\[2px\\]:after{content:var(--tw-content);left:2px}.after\\:top-\\[2px\\]:after{content:var(--tw-content);top:2px}.after\\:h-5:after{content:var(--tw-content);height:1.25rem}.after\\:w-5:after{content:var(--tw-content);width:1.25rem}.after\\:rounded-full:after{border-radius:9999px;content:var(--tw-content)}.after\\:border:after{border-width:1px;content:var(--tw-content)}.after\\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.after\\:bg-white:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.after\\:transition-all:after{content:var(--tw-content);transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:content-\\[\\'\\'\\]:after{--tw-content:\"\";content:var(--tw-content)}.checked\\:border-eui-primary-400:checked{--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.checked\\:bg-eui-secondary-700:checked{--tw-bg-opacity:1;background-color:rgb(20 153 0/var(--tw-bg-opacity,1))}.checked\\:text-white:checked{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.checked\\:before\\:absolute:checked:before{content:var(--tw-content);position:absolute}.checked\\:before\\:left-0:checked:before{content:var(--tw-content);left:0}.checked\\:before\\:top-0:checked:before{content:var(--tw-content);top:0}.checked\\:before\\:flex:checked:before{content:var(--tw-content);display:flex}.checked\\:before\\:h-full:checked:before{content:var(--tw-content);height:100%}.checked\\:before\\:w-full:checked:before{content:var(--tw-content);width:100%}.checked\\:before\\:items-center:checked:before{align-items:center;content:var(--tw-content)}.checked\\:before\\:justify-center:checked:before{content:var(--tw-content);justify-content:center}.checked\\:before\\:text-xs:checked:before{content:var(--tw-content);font-size:.75rem;line-height:1rem}.checked\\:before\\:font-bold:checked:before{content:var(--tw-content);font-weight:700}.checked\\:before\\:text-white:checked:before{content:var(--tw-content);--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.checked\\:before\\:content-\\[\\'\\2713\\'\\]:checked:before{--tw-content:\"✓\";content:var(--tw-content)}.placeholder-shown\\:p-3:placeholder-shown{padding:.75rem}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:border-solid:hover{border-style:solid}.hover\\:border-eui-secondary-600:hover{--tw-border-opacity:1;border-color:rgb(23 184 0/var(--tw-border-opacity,1))}.hover\\:border-gray-600:hover{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.hover\\:border-b-eui-secondary-700:hover{--tw-border-opacity:1;border-bottom-color:rgb(20 153 0/var(--tw-border-opacity,1))}.hover\\:bg-eui-dark-400\\/30:hover{background-color:#4045474d}.hover\\:bg-eui-dark-500:hover{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity,1))}.hover\\:bg-eui-dark-500\\/10:hover{background-color:#2125291a}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.hover\\:bg-gray-900\\/80:hover{background-color:#111827cc}.hover\\:from-eui-dark-500\\/20:hover{--tw-gradient-from:#21252933 var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\\:text-eui-secondary-700:hover{--tw-text-opacity:1;color:rgb(20 153 0/var(--tw-text-opacity,1))}.hover\\:text-gray-600:hover{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\\:shadow-\\[\\#167d0f\\]\\/50:hover{--tw-shadow-color:#167d0f80;--tw-shadow:var(--tw-shadow-colored)}.hover\\:brightness-100:hover{--tw-brightness:brightness(1)}.hover\\:brightness-100:hover,.hover\\:brightness-110:hover{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\\:brightness-110:hover{--tw-brightness:brightness(1.1)}.hover\\:brightness-125:hover{--tw-brightness:brightness(1.25);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\\:resize-none:focus{resize:none}.focus\\:border-eui-secondary-500:focus{--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.focus\\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.group:hover .group-hover\\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.peer:checked~.peer-checked\\:bg-eui-secondary-600{--tw-bg-opacity:1;background-color:rgb(23 184 0/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:after\\:translate-x-full:after{content:var(--tw-content);--tw-translate-x:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\\:after\\:border-white:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.peer:placeholder-shown~.peer-placeholder-shown\\:top-3{top:.75rem}.peer:placeholder-shown~.peer-placeholder-shown\\:text-base{font-size:1rem;line-height:1.5rem}.peer:focus~.peer-focus\\:outline-none{outline:2px solid #0000;outline-offset:2px}.dark\\:border-eui-dark-200:is(.dark *){--tw-border-opacity:1;border-color:rgb(111 115 118/var(--tw-border-opacity,1))}.dark\\:border-eui-dark-300\\/50:is(.dark *){border-color:#575c5f80}.dark\\:border-eui-primary-400:is(.dark *){--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-500:is(.dark *){--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-600\\/10:is(.dark *){border-color:#17b8001a}.dark\\:border-eui-secondary-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(16 122 0/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-800\\/40:is(.dark *){border-color:#107a0066}.dark\\:border-eui-secondary-900\\/20:is(.dark *){border-color:#0a5a0033}.dark\\:bg-eui-dark-100:is(.dark *){--tw-bg-opacity:1;background-color:rgb(134 138 141/var(--tw-bg-opacity,1))}.dark\\:bg-eui-primary-300\\/10:is(.dark *){background-color:#707a931a}.dark\\:bg-gray-600:is(.dark *){--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity,1))}.dark\\:bg-gray-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.dark\\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.dark\\:bg-green-700\\/20:is(.dark *){background-color:#15803d33}.dark\\:from-eui-light-400\\/10:is(.dark *){--tw-gradient-from:#fbfbfb1a var(--tw-gradient-from-position);--tw-gradient-to:#fbfbfb00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:from-eui-secondary-900\\/10:is(.dark *){--tw-gradient-from:#0a5a001a var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:from-green-700\\/10:is(.dark *){--tw-gradient-from:#15803d1a var(--tw-gradient-from-position);--tw-gradient-to:#15803d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:to-eui-light-400\\/5:is(.dark *){--tw-gradient-to:#fbfbfb0d var(--tw-gradient-to-position)}.dark\\:text-eui-dark-100:is(.dark *){--tw-text-opacity:1;color:rgb(134 138 141/var(--tw-text-opacity,1))}.dark\\:text-eui-secondary-600:is(.dark *){--tw-text-opacity:1;color:rgb(23 184 0/var(--tw-text-opacity,1))}.dark\\:text-gray-200:is(.dark *){--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.hover\\:dark\\:bg-eui-dark-300\\/50:is(.dark *):hover{background-color:#575c5f80}.hover\\:dark\\:bg-green-700\\/20:is(.dark *):hover{background-color:#15803d33}.hover\\:dark\\:from-eui-secondary-900\\/20:is(.dark *):hover{--tw-gradient-from:#0a5a0033 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}@media (min-width:768px){.md\\:pl-\\[300px\\]{padding-left:300px}}@media (min-width:1024px){.lg\\:px-\\[150px\\]{padding-left:150px;padding-right:150px}}";
|
|
61
|
+
styleInject(css_248z$3);
|
|
62
62
|
|
|
63
63
|
/******************************************************************************
|
|
64
64
|
Copyright (c) Microsoft Corporation.
|
|
@@ -167,8 +167,8 @@ function createCommonjsModule(fn) {
|
|
|
167
167
|
* This source code is licensed under the MIT license found in the
|
|
168
168
|
* LICENSE file in the root directory of this source tree.
|
|
169
169
|
*/
|
|
170
|
-
var k$d=Symbol.for("react.element"),l$8=Symbol.for("react.fragment"),m$b=Object.prototype.hasOwnProperty,n$
|
|
171
|
-
function q$9(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m$b.call(a,b)&&!p$a.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return {$$typeof:k$d,type:c,key:e,ref:h,props:d,_owner:n$
|
|
170
|
+
var k$d=Symbol.for("react.element"),l$8=Symbol.for("react.fragment"),m$b=Object.prototype.hasOwnProperty,n$a=React__default["default"].__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p$a={key:!0,ref:!0,__self:!0,__source:!0};
|
|
171
|
+
function q$9(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m$b.call(a,b)&&!p$a.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return {$$typeof:k$d,type:c,key:e,ref:h,props:d,_owner:n$a.current}}var Fragment$3=l$8;var jsx=q$9;var jsxs=q$9;
|
|
172
172
|
|
|
173
173
|
var reactJsxRuntime_production_min = {
|
|
174
174
|
Fragment: Fragment$3,
|
|
@@ -15311,12 +15311,12 @@ var Image$2 = function (_a) {
|
|
|
15311
15311
|
* This source code is licensed under the MIT license found in the
|
|
15312
15312
|
* LICENSE file in the root directory of this source tree.
|
|
15313
15313
|
*/
|
|
15314
|
-
var b$c="function"===typeof Symbol&&Symbol.for,c$a=b$c?Symbol.for("react.element"):60103,d$9=b$c?Symbol.for("react.portal"):60106,e$5=b$c?Symbol.for("react.fragment"):60107,f$a=b$c?Symbol.for("react.strict_mode"):60108,g$
|
|
15315
|
-
Symbol.for("react.suspense_list"):60120,r$6=b$c?Symbol.for("react.memo"):60115,t$6=b$c?Symbol.for("react.lazy"):60116,v$a=b$c?Symbol.for("react.block"):60121,w$a=b$c?Symbol.for("react.fundamental"):60117,x$d=b$c?Symbol.for("react.responder"):60118,y$
|
|
15316
|
-
function z$8(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$a:switch(a=a.type,a){case l$7:case m$a:case e$5:case g$
|
|
15317
|
-
var Profiler$2=g$
|
|
15318
|
-
var isMemo$2=function(a){return z$8(a)===r$6};var isPortal$2=function(a){return z$8(a)===d$9};var isProfiler$2=function(a){return z$8(a)===g$
|
|
15319
|
-
var isValidElementType$2=function(a){return "string"===typeof a||"function"===typeof a||a===e$5||a===m$a||a===g$
|
|
15314
|
+
var b$c="function"===typeof Symbol&&Symbol.for,c$a=b$c?Symbol.for("react.element"):60103,d$9=b$c?Symbol.for("react.portal"):60106,e$5=b$c?Symbol.for("react.fragment"):60107,f$a=b$c?Symbol.for("react.strict_mode"):60108,g$b=b$c?Symbol.for("react.profiler"):60114,h$a=b$c?Symbol.for("react.provider"):60109,k$c=b$c?Symbol.for("react.context"):60110,l$7=b$c?Symbol.for("react.async_mode"):60111,m$a=b$c?Symbol.for("react.concurrent_mode"):60111,n$9=b$c?Symbol.for("react.forward_ref"):60112,p$9=b$c?Symbol.for("react.suspense"):60113,q$8=b$c?
|
|
15315
|
+
Symbol.for("react.suspense_list"):60120,r$6=b$c?Symbol.for("react.memo"):60115,t$6=b$c?Symbol.for("react.lazy"):60116,v$a=b$c?Symbol.for("react.block"):60121,w$a=b$c?Symbol.for("react.fundamental"):60117,x$d=b$c?Symbol.for("react.responder"):60118,y$a=b$c?Symbol.for("react.scope"):60119;
|
|
15316
|
+
function z$8(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$a:switch(a=a.type,a){case l$7:case m$a:case e$5:case g$b:case f$a:case p$9:return a;default:switch(a=a&&a.$$typeof,a){case k$c:case n$9:case t$6:case r$6:case h$a:return a;default:return u}}case d$9:return u}}}function A$a(a){return z$8(a)===m$a}var AsyncMode=l$7;var ConcurrentMode=m$a;var ContextConsumer$2=k$c;var ContextProvider$2=h$a;var Element$3=c$a;var ForwardRef$2=n$9;var Fragment$2=e$5;var Lazy$2=t$6;var Memo$2=r$6;var Portal$7=d$9;
|
|
15317
|
+
var Profiler$2=g$b;var StrictMode$2=f$a;var Suspense$2=p$9;var isAsyncMode$2=function(a){return A$a(a)||z$8(a)===l$7};var isConcurrentMode$2=A$a;var isContextConsumer$2=function(a){return z$8(a)===k$c};var isContextProvider$2=function(a){return z$8(a)===h$a};var isElement$5=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$a};var isForwardRef$2=function(a){return z$8(a)===n$9};var isFragment$2=function(a){return z$8(a)===e$5};var isLazy$2=function(a){return z$8(a)===t$6};
|
|
15318
|
+
var isMemo$2=function(a){return z$8(a)===r$6};var isPortal$2=function(a){return z$8(a)===d$9};var isProfiler$2=function(a){return z$8(a)===g$b};var isStrictMode$2=function(a){return z$8(a)===f$a};var isSuspense$2=function(a){return z$8(a)===p$9};
|
|
15319
|
+
var isValidElementType$2=function(a){return "string"===typeof a||"function"===typeof a||a===e$5||a===m$a||a===g$b||a===f$a||a===p$9||a===q$8||"object"===typeof a&&null!==a&&(a.$$typeof===t$6||a.$$typeof===r$6||a.$$typeof===h$a||a.$$typeof===k$c||a.$$typeof===n$9||a.$$typeof===w$a||a.$$typeof===x$d||a.$$typeof===y$a||a.$$typeof===v$a)};var typeOf$2=z$8;
|
|
15320
15320
|
|
|
15321
15321
|
var reactIs_production_min$2 = {
|
|
15322
15322
|
AsyncMode: AsyncMode,
|
|
@@ -34148,7 +34148,7 @@ default:return a}}function uc(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=
|
|
|
34148
34148
|
function vc(a,b){switch(a){case 1:case 2:case 4:return b+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 b+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}}
|
|
34149
34149
|
function wc(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes;0<f;){var g=31-oc(f),h=1<<g,k=e[g];if(-1===k){if(0===(h&c)||0!==(h&d))e[g]=vc(h,b);}else k<=b&&(a.expiredLanes|=h);f&=~h;}}function xc(a){a=a.pendingLanes&-1073741825;return 0!==a?a:a&1073741824?1073741824:0}function yc(){var a=rc;rc<<=1;0===(rc&4194240)&&(rc=64);return a}function zc(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}
|
|
34150
34150
|
function Ac(a,b,c){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0);a=a.eventTimes;b=31-oc(b);a[b]=c;}function Bc(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.mutableReadLanes&=b;a.entangledLanes&=b;b=a.entanglements;var d=a.eventTimes;for(a=a.expirationTimes;0<c;){var e=31-oc(c),f=1<<e;b[e]=0;d[e]=-1;a[e]=-1;c&=~f;}}
|
|
34151
|
-
function Cc(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-oc(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e;}}var C$
|
|
34151
|
+
function Cc(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-oc(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e;}}var C$c=0;function Dc(a){a&=-a;return 1<a?4<a?0!==(a&268435455)?16:536870912:4:1}var Ec,Fc,Gc,Hc,Ic,Jc=!1,Kc=[],Lc=null,Mc=null,Nc=null,Oc=new Map,Pc=new Map,Qc=[],Rc="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(" ");
|
|
34152
34152
|
function Sc(a,b){switch(a){case "focusin":case "focusout":Lc=null;break;case "dragenter":case "dragleave":Mc=null;break;case "mouseover":case "mouseout":Nc=null;break;case "pointerover":case "pointerout":Oc.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":Pc.delete(b.pointerId);}}
|
|
34153
34153
|
function Tc(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=Cb(b),null!==b&&Fc(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a}
|
|
34154
34154
|
function Uc(a,b,c,d,e){switch(b){case "focusin":return Lc=Tc(Lc,a,b,c,d,e),!0;case "dragenter":return Mc=Tc(Mc,a,b,c,d,e),!0;case "mouseover":return Nc=Tc(Nc,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;Oc.set(f,Tc(Oc.get(f)||null,a,b,c,d,e));return !0;case "gotpointercapture":return f=e.pointerId,Pc.set(f,Tc(Pc.get(f)||null,a,b,c,d,e)),!0}return !1}
|
|
@@ -34156,7 +34156,7 @@ function Vc(a){var b=Wc(a.target);if(null!==b){var c=Vb(b);if(null!==c)if(b=c.ta
|
|
|
34156
34156
|
function Xc(a){if(null!==a.blockedOn)return !1;for(var b=a.targetContainers;0<b.length;){var c=Yc(a.domEventName,a.eventSystemFlags,b[0],a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);wb=d;c.target.dispatchEvent(d);wb=null;}else return b=Cb(c),null!==b&&Fc(b),a.blockedOn=c,!1;b.shift();}return !0}function Zc(a,b,c){Xc(a)&&c.delete(b);}function $c(){Jc=!1;null!==Lc&&Xc(Lc)&&(Lc=null);null!==Mc&&Xc(Mc)&&(Mc=null);null!==Nc&&Xc(Nc)&&(Nc=null);Oc.forEach(Zc);Pc.forEach(Zc);}
|
|
34157
34157
|
function ad(a,b){a.blockedOn===b&&(a.blockedOn=null,Jc||(Jc=!0,scheduler.unstable_scheduleCallback(scheduler.unstable_NormalPriority,$c)));}
|
|
34158
34158
|
function bd(a){function b(b){return ad(b,a)}if(0<Kc.length){ad(Kc[0],a);for(var c=1;c<Kc.length;c++){var d=Kc[c];d.blockedOn===a&&(d.blockedOn=null);}}null!==Lc&&ad(Lc,a);null!==Mc&&ad(Mc,a);null!==Nc&&ad(Nc,a);Oc.forEach(b);Pc.forEach(b);for(c=0;c<Qc.length;c++)d=Qc[c],d.blockedOn===a&&(d.blockedOn=null);for(;0<Qc.length&&(c=Qc[0],null===c.blockedOn);)Vc(c),null===c.blockedOn&&Qc.shift();}var cd=ua.ReactCurrentBatchConfig,dd=!0;
|
|
34159
|
-
function ed(a,b,c,d){var e=C$
|
|
34159
|
+
function ed(a,b,c,d){var e=C$c,f=cd.transition;cd.transition=null;try{C$c=1,fd(a,b,c,d);}finally{C$c=e,cd.transition=f;}}function gd(a,b,c,d){var e=C$c,f=cd.transition;cd.transition=null;try{C$c=4,fd(a,b,c,d);}finally{C$c=e,cd.transition=f;}}
|
|
34160
34160
|
function fd(a,b,c,d){if(dd){var e=Yc(a,b,c,d);if(null===e)hd(a,b,d,id,c),Sc(a,d);else if(Uc(e,a,b,c,d))d.stopPropagation();else if(Sc(a,d),b&4&&-1<Rc.indexOf(a)){for(;null!==e;){var f=Cb(e);null!==f&&Ec(f);f=Yc(a,b,c,d);null===f&&hd(a,b,d,id,c);if(f===e)break;e=f;}null!==e&&d.stopPropagation();}else hd(a,b,d,null,c);}}var id=null;
|
|
34161
34161
|
function Yc(a,b,c,d){id=null;a=xb(d);a=Wc(a);if(null!==a)if(b=Vb(a),null===b)a=null;else if(c=b.tag,13===c){a=Wb(b);if(null!==a)return a;a=null;}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null;}else b!==a&&(a=null);id=a;return null}
|
|
34162
34162
|
function jd(a){switch(a){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;
|
|
@@ -34207,10 +34207,10 @@ var Ff="function"===typeof setTimeout?setTimeout:void 0,Gf="function"===typeof c
|
|
|
34207
34207
|
function Kf(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);bd(b);return}d--;}else "$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e;}while(c);bd(b);}function Lf(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b)break;if("/$"===b)return null}}return a}
|
|
34208
34208
|
function Mf(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--;}else "/$"===c&&b++;}a=a.previousSibling;}return null}var Nf=Math.random().toString(36).slice(2),Of="__reactFiber$"+Nf,Pf="__reactProps$"+Nf,uf="__reactContainer$"+Nf,of="__reactEvents$"+Nf,Qf="__reactListeners$"+Nf,Rf="__reactHandles$"+Nf;
|
|
34209
34209
|
function Wc(a){var b=a[Of];if(b)return b;for(var c=a.parentNode;c;){if(b=c[uf]||c[Of]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Mf(a);null!==a;){if(c=a[Of])return c;a=Mf(a);}return b}a=c;c=a.parentNode;}return null}function Cb(a){a=a[Of]||a[uf];return !a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function ue$2(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(p$8(33));}function Db(a){return a[Pf]||null}var Sf=[],Tf=-1;function Uf(a){return {current:a}}
|
|
34210
|
-
function E$
|
|
34211
|
-
function Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E$
|
|
34212
|
-
function cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H$8.current;G$6(H$8,a);G$6(Wf,Wf.current);return !0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p$8(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E$
|
|
34213
|
-
function jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C$
|
|
34210
|
+
function E$b(a){0>Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--);}function G$6(a,b){Tf++;Sf[Tf]=a.current;a.current=b;}var Vf={},H$8=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}
|
|
34211
|
+
function Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E$b(Wf);E$b(H$8);}function ag(a,b,c){if(H$8.current!==Vf)throw Error(p$8(168));G$6(H$8,b);G$6(Wf,c);}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p$8(108,Ra(a)||"Unknown",e));return A$9({},c,d)}
|
|
34212
|
+
function cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H$8.current;G$6(H$8,a);G$6(Wf,Wf.current);return !0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p$8(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E$b(Wf),E$b(H$8),G$6(H$8,a)):E$b(Wf);G$6(Wf,c);}var eg=null,fg=!1,gg=!1;function hg(a){null===eg?eg=[a]:eg.push(a);}function ig(a){fg=!0;hg(a);}
|
|
34213
|
+
function jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C$c;try{var c=eg;for(C$c=1;a<c.length;a++){var d=c[a];do d=d(!0);while(null!==d)}eg=null;fg=!1;}catch(e){throw null!==eg&&(eg=eg.slice(a+1)),ac(fc,jg),e;}finally{C$c=b,gg=!1;}}return null}var kg=[],lg=0,mg=null,ng=0,og=[],pg=0,qg=null,rg=1,sg="";function tg(a,b){kg[lg++]=ng;kg[lg++]=mg;mg=a;ng=b;}
|
|
34214
34214
|
function ug(a,b,c){og[pg++]=rg;og[pg++]=sg;og[pg++]=qg;qg=a;var d=rg;a=sg;var e=32-oc(d)-1;d&=~(1<<e);c+=1;var f=32-oc(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;rg=1<<32-oc(b)+e|c<<e|d;sg=f+a;}else rg=1<<f|c<<e|d,sg=a;}function vg(a){null!==a.return&&(tg(a,1),ug(a,1,0));}function wg(a){for(;a===mg;)mg=kg[--lg],kg[lg]=null,ng=kg[--lg],kg[lg]=null;for(;a===qg;)qg=og[--pg],og[pg]=null,sg=og[--pg],og[pg]=null,rg=og[--pg],og[pg]=null;}var xg=null,yg=null,I$9=!1,zg=null;
|
|
34215
34215
|
function Ag(a,b){var c=Bg(5,null,null,0);c.elementType="DELETED";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c);}
|
|
34216
34216
|
function Cg(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,xg=a,yg=Lf(b.firstChild),!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,xg=a,yg=null,!0):!1;case 13:return b=8!==b.nodeType?null:b,null!==b?(c=null!==qg?{id:rg,overflow:sg}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:1073741824},c=Bg(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,xg=a,yg=
|
|
@@ -34229,7 +34229,7 @@ x.key?w:x.key),g=f(x,g,w),null===m?l=x:m.sibling=x,m=x);a&&u.forEach(function(a)
|
|
|
34229
34229
|
m),I$9&&tg(e,w),l;if(null===m){for(;!n.done;w++,n=h.next())n=q(e,n.value,k),null!==n&&(g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);I$9&&tg(e,w);return l}for(m=d(e,m);!n.done;w++,n=h.next())n=y(m,e,w,n.value,k),null!==n&&(a&&null!==n.alternate&&m.delete(null===n.key?w:n.key),g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);a&&m.forEach(function(a){return b(e,a)});I$9&&tg(e,w);return l}function J(a,d,f,h){"object"===typeof f&&null!==f&&f.type===ya&&null===f.key&&(f=f.props.children);if("object"===typeof f&&null!==f){switch(f.$$typeof){case va:a:{for(var k=
|
|
34230
34230
|
f.key,l=d;null!==l;){if(l.key===k){k=f.type;if(k===ya){if(7===l.tag){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}}else if(l.elementType===k||"object"===typeof k&&null!==k&&k.$$typeof===Ha&&Ng(k)===l.type){c(a,l.sibling);d=e(l,f.props);d.ref=Lg(a,l,f);d.return=a;a=d;break a}c(a,l);break}else b(a,l);l=l.sibling;}f.type===ya?(d=Tg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Rg(f.type,f.key,f.props,null,a.mode,h),h.ref=Lg(a,d,f),h.return=a,a=h);}return g(a);case wa:a:{for(l=f.key;null!==
|
|
34231
34231
|
d;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else {c(a,d);break}else b(a,d);d=d.sibling;}d=Sg(f,a.mode,h);d.return=a;a=d;}return g(a);case Ha:return l=f._init,J(a,d,l(f._payload),h)}if(eb(f))return n(a,d,f,h);if(Ka(f))return t(a,d,f,h);Mg(a,f);}return "string"===typeof f&&""!==f||"number"===typeof f?(f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):
|
|
34232
|
-
(c(a,d),d=Qg(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Ug=Og(!0),Vg=Og(!1),Wg=Uf(null),Xg=null,Yg=null,Zg=null;function $g(){Zg=Yg=Xg=null;}function ah(a){var b=Wg.current;E$
|
|
34232
|
+
(c(a,d),d=Qg(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Ug=Og(!0),Vg=Og(!1),Wg=Uf(null),Xg=null,Yg=null,Zg=null;function $g(){Zg=Yg=Xg=null;}function ah(a){var b=Wg.current;E$b(Wg);a._currentValue=b;}function bh(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return;}}
|
|
34233
34233
|
function ch(a,b){Xg=a;Zg=Yg=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(dh=!0),a.firstContext=null);}function eh(a){var b=a._currentValue;if(Zg!==a)if(a={context:a,memoizedValue:b,next:null},null===Yg){if(null===Xg)throw Error(p$8(308));Yg=a;Xg.dependencies={lanes:0,firstContext:a};}else Yg=Yg.next=a;return b}var fh=null;function gh(a){null===fh?fh=[a]:fh.push(a);}
|
|
34234
34234
|
function hh(a,b,c,d){var e=b.interleaved;null===e?(c.next=c,gh(b)):(c.next=e.next,e.next=c);b.interleaved=c;return ih(a,d)}function ih(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);c=a;for(a=a.return;null!==a;)a.childLanes|=b,c=a.alternate,null!==c&&(c.childLanes|=b),c=a,a=a.return;return 3===c.tag?c.stateNode:null}var jh=!1;function kh(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null};}
|
|
34235
34235
|
function lh(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects});}function mh(a,b){return {eventTime:a,lane:b,tag:0,payload:null,callback:null,next:null}}
|
|
@@ -34240,22 +34240,22 @@ function qh(a,b,c,d){var e=a.updateQueue;jh=!1;var f=e.firstBaseUpdate,g=e.lastB
|
|
|
34240
34240
|
next:null});a:{var n=a,t=h;r=b;y=c;switch(t.tag){case 1:n=t.payload;if("function"===typeof n){q=n.call(y,q,r);break a}q=n;break a;case 3:n.flags=n.flags&-65537|128;case 0:n=t.payload;r="function"===typeof n?n.call(y,q,r):n;if(null===r||void 0===r)break a;q=A$9({},q,r);break a;case 2:jh=!0;}}null!==h.callback&&0!==h.lane&&(a.flags|=64,r=e.effects,null===r?e.effects=[h]:r.push(h));}else y={eventTime:y,lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===m?(l=m=y,k=q):m=m.next=y,g|=r;
|
|
34241
34241
|
h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else r=h,h=r.next,r.next=null,e.lastBaseUpdate=r,e.shared.pending=null;}while(1);null===m&&(k=q);e.baseState=k;e.firstBaseUpdate=l;e.lastBaseUpdate=m;b=e.shared.interleaved;if(null!==b){e=b;do g|=e.lane,e=e.next;while(e!==b)}else null===f&&(e.shared.lanes=0);rh|=g;a.lanes=g;a.memoizedState=q;}}
|
|
34242
34242
|
function sh(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=c;if("function"!==typeof e)throw Error(p$8(191,e));e.call(d);}}}var th={},uh=Uf(th),vh=Uf(th),wh=Uf(th);function xh(a){if(a===th)throw Error(p$8(174));return a}
|
|
34243
|
-
function yh(a,b){G$6(wh,b);G$6(vh,a);G$6(uh,th);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:lb(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=lb(b,a);}E$
|
|
34243
|
+
function yh(a,b){G$6(wh,b);G$6(vh,a);G$6(uh,th);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:lb(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=lb(b,a);}E$b(uh);G$6(uh,b);}function zh(){E$b(uh);E$b(vh);E$b(wh);}function Ah(a){xh(wh.current);var b=xh(uh.current);var c=lb(b,a.type);b!==c&&(G$6(vh,a),G$6(uh,c));}function Bh(a){vh.current===a&&(E$b(uh),E$b(vh));}var L$9=Uf(0);
|
|
34244
34244
|
function Ch(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return;}b.sibling.return=b.return;b=b.sibling;}return null}var Dh=[];
|
|
34245
|
-
function Eh(){for(var a=0;a<Dh.length;a++)Dh[a]._workInProgressVersionPrimary=null;Dh.length=0;}var Fh=ua.ReactCurrentDispatcher,Gh=ua.ReactCurrentBatchConfig,Hh=0,M$a=null,N$9=null,O$
|
|
34246
|
-
function Nh(a,b,c,d,e,f){Hh=f;M$a=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;Fh.current=null===a||null===a.memoizedState?Oh:Ph;a=c(d,e);if(Jh){f=0;do{Jh=!1;Kh=0;if(25<=f)throw Error(p$8(301));f+=1;O$
|
|
34247
|
-
function Th(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===O$
|
|
34245
|
+
function Eh(){for(var a=0;a<Dh.length;a++)Dh[a]._workInProgressVersionPrimary=null;Dh.length=0;}var Fh=ua.ReactCurrentDispatcher,Gh=ua.ReactCurrentBatchConfig,Hh=0,M$a=null,N$9=null,O$a=null,Ih=!1,Jh=!1,Kh=0,Lh=0;function P$9(){throw Error(p$8(321));}function Mh(a,b){if(null===b)return !1;for(var c=0;c<b.length&&c<a.length;c++)if(!He$2(a[c],b[c]))return !1;return !0}
|
|
34246
|
+
function Nh(a,b,c,d,e,f){Hh=f;M$a=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;Fh.current=null===a||null===a.memoizedState?Oh:Ph;a=c(d,e);if(Jh){f=0;do{Jh=!1;Kh=0;if(25<=f)throw Error(p$8(301));f+=1;O$a=N$9=null;b.updateQueue=null;Fh.current=Qh;a=c(d,e);}while(Jh)}Fh.current=Rh;b=null!==N$9&&null!==N$9.next;Hh=0;O$a=N$9=M$a=null;Ih=!1;if(b)throw Error(p$8(300));return a}function Sh(){var a=0!==Kh;Kh=0;return a}
|
|
34247
|
+
function Th(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===O$a?M$a.memoizedState=O$a=a:O$a=O$a.next=a;return O$a}function Uh(){if(null===N$9){var a=M$a.alternate;a=null!==a?a.memoizedState:null;}else a=N$9.next;var b=null===O$a?M$a.memoizedState:O$a.next;if(null!==b)O$a=b,N$9=a;else {if(null===a)throw Error(p$8(310));N$9=a;a={memoizedState:N$9.memoizedState,baseState:N$9.baseState,baseQueue:N$9.baseQueue,queue:N$9.queue,next:null};null===O$a?M$a.memoizedState=O$a=a:O$a=O$a.next=a;}return O$a}
|
|
34248
34248
|
function Vh(a,b){return "function"===typeof b?b(a):b}
|
|
34249
34249
|
function Wh(a){var b=Uh(),c=b.queue;if(null===c)throw Error(p$8(311));c.lastRenderedReducer=a;var d=N$9,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g;}d.baseQueue=e=f;c.pending=null;}if(null!==e){f=e.next;d=d.baseState;var h=g=null,k=null,l=f;do{var m=l.lane;if((Hh&m)===m)null!==k&&(k=k.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),d=l.hasEagerState?l.eagerState:a(d,l.action);else {var q={lane:m,action:l.action,hasEagerState:l.hasEagerState,
|
|
34250
34250
|
eagerState:l.eagerState,next:null};null===k?(h=k=q,g=d):k=k.next=q;M$a.lanes|=m;rh|=m;}l=l.next;}while(null!==l&&l!==f);null===k?g=d:k.next=h;He$2(d,b.memoizedState)||(dh=!0);b.memoizedState=d;b.baseState=g;b.baseQueue=k;c.lastRenderedState=d;}a=c.interleaved;if(null!==a){e=a;do f=e.lane,M$a.lanes|=f,rh|=f,e=e.next;while(e!==a)}else null===e&&(c.lanes=0);return [b.memoizedState,c.dispatch]}
|
|
34251
34251
|
function Xh(a){var b=Uh(),c=b.queue;if(null===c)throw Error(p$8(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);He$2(f,b.memoizedState)||(dh=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f;}return [f,d]}function Yh(){}
|
|
34252
|
-
function Zh(a,b){var c=M$a,d=Uh(),e=b(),f=!He$2(d.memoizedState,e);f&&(d.memoizedState=e,dh=!0);d=d.queue;$h(ai$1.bind(null,c,d,a),[a]);if(d.getSnapshot!==b||f||null!==O$
|
|
34252
|
+
function Zh(a,b){var c=M$a,d=Uh(),e=b(),f=!He$2(d.memoizedState,e);f&&(d.memoizedState=e,dh=!0);d=d.queue;$h(ai$1.bind(null,c,d,a),[a]);if(d.getSnapshot!==b||f||null!==O$a&&O$a.memoizedState.tag&1){c.flags|=2048;bi$1(9,ci$1.bind(null,c,d,e,b),void 0,null);if(null===Q$5)throw Error(p$8(349));0!==(Hh&30)||di$1(c,b,e);}return e}function di$1(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=M$a.updateQueue;null===b?(b={lastEffect:null,stores:null},M$a.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a));}
|
|
34253
34253
|
function ci$1(a,b,c,d){b.value=c;b.getSnapshot=d;ei$1(b)&&fi$1(a);}function ai$1(a,b,c){return c(function(){ei$1(b)&&fi$1(a);})}function ei$1(a){var b=a.getSnapshot;a=a.value;try{var c=b();return !He$2(a,c)}catch(d){return !0}}function fi$1(a){var b=ih(a,1);null!==b&&gi$1(b,a,1,-1);}
|
|
34254
34254
|
function hi$1(a){var b=Th();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vh,lastRenderedState:a};b.queue=a;a=a.dispatch=ii$1.bind(null,M$a,a);return [b.memoizedState,a]}
|
|
34255
34255
|
function bi$1(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=M$a.updateQueue;null===b?(b={lastEffect:null,stores:null},M$a.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function ji$1(){return Uh().memoizedState}function ki$1(a,b,c,d){var e=Th();M$a.flags|=a;e.memoizedState=bi$1(1|b,c,void 0,void 0===d?null:d);}
|
|
34256
34256
|
function li$1(a,b,c,d){var e=Uh();d=void 0===d?null:d;var f=void 0;if(null!==N$9){var g=N$9.memoizedState;f=g.destroy;if(null!==d&&Mh(d,g.deps)){e.memoizedState=bi$1(b,c,f,d);return}}M$a.flags|=a;e.memoizedState=bi$1(1|b,c,f,d);}function mi$1(a,b){return ki$1(8390656,8,a,b)}function $h(a,b){return li$1(2048,8,a,b)}function ni$1(a,b){return li$1(4,2,a,b)}function oi$1(a,b){return li$1(4,4,a,b)}
|
|
34257
34257
|
function pi$1(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null);};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null;}}function qi$1(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return li$1(4,4,pi$1.bind(null,b,a),c)}function ri$1(){}function si$1(a,b){var c=Uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Mh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}
|
|
34258
|
-
function ti$1(a,b){var c=Uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Mh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function ui$1(a,b,c){if(0===(Hh&21))return a.baseState&&(a.baseState=!1,dh=!0),a.memoizedState=c;He$2(c,b)||(c=yc(),M$a.lanes|=c,rh|=c,a.baseState=!0);return b}function vi$1(a,b){var c=C$
|
|
34258
|
+
function ti$1(a,b){var c=Uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Mh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function ui$1(a,b,c){if(0===(Hh&21))return a.baseState&&(a.baseState=!1,dh=!0),a.memoizedState=c;He$2(c,b)||(c=yc(),M$a.lanes|=c,rh|=c,a.baseState=!0);return b}function vi$1(a,b){var c=C$c;C$c=0!==c&&4>c?c:4;a(!0);var d=Gh.transition;Gh.transition={};try{a(!1),b();}finally{C$c=c,Gh.transition=d;}}function wi$1(){return Uh().memoizedState}
|
|
34259
34259
|
function xi$1(a,b,c){var d=yi$1(a);c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(zi$1(a))Ai$1(b,c);else if(c=hh(a,b,c,d),null!==c){var e=R$9();gi$1(c,a,d,e);Bi$1(c,b,d);}}
|
|
34260
34260
|
function ii$1(a,b,c){var d=yi$1(a),e={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(zi$1(a))Ai$1(b,e);else {var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He$2(h,g)){var k=b.interleaved;null===k?(e.next=e,gh(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=hh(a,b,e,d);null!==c&&(e=R$9(),gi$1(c,a,d,e),Bi$1(c,b,d));}}
|
|
34261
34261
|
function zi$1(a){var b=a.alternate;return a===M$a||null!==b&&b===M$a}function Ai$1(a,b){Jh=Ih=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b;}function Bi$1(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c);}}
|
|
@@ -34307,7 +34307,7 @@ Bj=function(a,b,c,d){var e=a.memoizedProps;if(e!==d){a=b.stateNode;xh(uh.current
|
|
|
34307
34307
|
c)),c=k;else "dangerouslySetInnerHTML"===l?(k=k?k.__html:void 0,h=h?h.__html:void 0,null!=k&&h!==k&&(f=f||[]).push(l,k)):"children"===l?"string"!==typeof k&&"number"!==typeof k||(f=f||[]).push(l,""+k):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(ea.hasOwnProperty(l)?(null!=k&&"onScroll"===l&&D$9("scroll",a),f||h===k||(f=[])):(f=f||[]).push(l,k));}c&&(f=f||[]).push("style",c);var l=f;if(b.updateQueue=l)b.flags|=4;}};Cj=function(a,b,c,d){c!==d&&(b.flags|=4);};
|
|
34308
34308
|
function Dj(a,b){if(!I$9)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null;}}
|
|
34309
34309
|
function S$6(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)for(var e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&14680064,d|=e.flags&14680064,e.return=a,e=e.sibling;else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags,d|=e.flags,e.return=a,e=e.sibling;a.subtreeFlags|=d;a.childLanes=c;return b}
|
|
34310
|
-
function Ej(a,b,c){var d=b.pendingProps;wg(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return S$6(b),null;case 1:return Zf(b.type)&&$f(),S$6(b),null;case 3:d=b.stateNode;zh();E$
|
|
34310
|
+
function Ej(a,b,c){var d=b.pendingProps;wg(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return S$6(b),null;case 1:return Zf(b.type)&&$f(),S$6(b),null;case 3:d=b.stateNode;zh();E$b(Wf);E$b(H$8);Eh();d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null);if(null===a||null===a.child)Gg(b)?b.flags|=4:null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|=1024,null!==zg&&(Fj(zg),zg=null));Aj(a,b);S$6(b);return null;case 5:Bh(b);var e=xh(wh.current);
|
|
34311
34311
|
c=b.type;if(null!==a&&null!=b.stateNode)Bj(a,b,c,d,e),a.ref!==b.ref&&(b.flags|=512,b.flags|=2097152);else {if(!d){if(null===b.stateNode)throw Error(p$8(166));S$6(b);return null}a=xh(uh.current);if(Gg(b)){d=b.stateNode;c=b.type;var f=b.memoizedProps;d[Of]=b;d[Pf]=f;a=0!==(b.mode&1);switch(c){case "dialog":D$9("cancel",d);D$9("close",d);break;case "iframe":case "object":case "embed":D$9("load",d);break;case "video":case "audio":for(e=0;e<lf.length;e++)D$9(lf[e],d);break;case "source":D$9("error",d);break;case "img":case "image":case "link":D$9("error",
|
|
34312
34312
|
d);D$9("load",d);break;case "details":D$9("toggle",d);break;case "input":Za(d,f);D$9("invalid",d);break;case "select":d._wrapperState={wasMultiple:!!f.multiple};D$9("invalid",d);break;case "textarea":hb(d,f),D$9("invalid",d);}ub(c,f);e=null;for(var g in f)if(f.hasOwnProperty(g)){var h=f[g];"children"===g?"string"===typeof h?d.textContent!==h&&(!0!==f.suppressHydrationWarning&&Af(d.textContent,h,a),e=["children",h]):"number"===typeof h&&d.textContent!==""+h&&(!0!==f.suppressHydrationWarning&&Af(d.textContent,
|
|
34313
34313
|
h,a),e=["children",""+h]):ea.hasOwnProperty(g)&&null!=h&&"onScroll"===g&&D$9("scroll",d);}switch(c){case "input":Va(d);db(d,f,!0);break;case "textarea":Va(d);jb(d);break;case "select":case "option":break;default:"function"===typeof f.onClick&&(d.onclick=Bf);}d=e;b.updateQueue=d;null!==d&&(b.flags|=4);}else {g=9===e.nodeType?e:e.ownerDocument;"http://www.w3.org/1999/xhtml"===a&&(a=kb(c));"http://www.w3.org/1999/xhtml"===a?"script"===c?(a=g.createElement("div"),a.innerHTML="<script>\x3c/script>",a=a.removeChild(a.firstChild)):
|
|
@@ -34315,13 +34315,13 @@ h,a),e=["children",""+h]):ea.hasOwnProperty(g)&&null!=h&&"onScroll"===g&&D$9("sc
|
|
|
34315
34315
|
a);D$9("load",a);e=d;break;case "details":D$9("toggle",a);e=d;break;case "input":Za(a,d);e=Ya(a,d);D$9("invalid",a);break;case "option":e=d;break;case "select":a._wrapperState={wasMultiple:!!d.multiple};e=A$9({},d,{value:void 0});D$9("invalid",a);break;case "textarea":hb(a,d);e=gb(a,d);D$9("invalid",a);break;default:e=d;}ub(c,e);h=e;for(f in h)if(h.hasOwnProperty(f)){var k=h[f];"style"===f?sb(a,k):"dangerouslySetInnerHTML"===f?(k=k?k.__html:void 0,null!=k&&nb(a,k)):"children"===f?"string"===typeof k?("textarea"!==
|
|
34316
34316
|
c||""!==k)&&ob(a,k):"number"===typeof k&&ob(a,""+k):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(ea.hasOwnProperty(f)?null!=k&&"onScroll"===f&&D$9("scroll",a):null!=k&&ta(a,f,k,g));}switch(c){case "input":Va(a);db(a,d,!1);break;case "textarea":Va(a);jb(a);break;case "option":null!=d.value&&a.setAttribute("value",""+Sa(d.value));break;case "select":a.multiple=!!d.multiple;f=d.value;null!=f?fb(a,!!d.multiple,f,!1):null!=d.defaultValue&&fb(a,!!d.multiple,d.defaultValue,
|
|
34317
34317
|
!0);break;default:"function"===typeof e.onClick&&(a.onclick=Bf);}switch(c){case "button":case "input":case "select":case "textarea":d=!!d.autoFocus;break a;case "img":d=!0;break a;default:d=!1;}}d&&(b.flags|=4);}null!==b.ref&&(b.flags|=512,b.flags|=2097152);}S$6(b);return null;case 6:if(a&&null!=b.stateNode)Cj(a,b,a.memoizedProps,d);else {if("string"!==typeof d&&null===b.stateNode)throw Error(p$8(166));c=xh(wh.current);xh(uh.current);if(Gg(b)){d=b.stateNode;c=b.memoizedProps;d[Of]=b;if(f=d.nodeValue!==c)if(a=
|
|
34318
|
-
xg,null!==a)switch(a.tag){case 3:Af(d.nodeValue,c,0!==(a.mode&1));break;case 5:!0!==a.memoizedProps.suppressHydrationWarning&&Af(d.nodeValue,c,0!==(a.mode&1));}f&&(b.flags|=4);}else d=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),d[Of]=b,b.stateNode=d;}S$6(b);return null;case 13:E$
|
|
34318
|
+
xg,null!==a)switch(a.tag){case 3:Af(d.nodeValue,c,0!==(a.mode&1));break;case 5:!0!==a.memoizedProps.suppressHydrationWarning&&Af(d.nodeValue,c,0!==(a.mode&1));}f&&(b.flags|=4);}else d=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),d[Of]=b,b.stateNode=d;}S$6(b);return null;case 13:E$b(L$9);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(I$9&&null!==yg&&0!==(b.mode&1)&&0===(b.flags&128))Hg(),Ig(),b.flags|=98560,f=!1;else if(f=Gg(b),null!==d&&null!==d.dehydrated){if(null===
|
|
34319
34319
|
a){if(!f)throw Error(p$8(318));f=b.memoizedState;f=null!==f?f.dehydrated:null;if(!f)throw Error(p$8(317));f[Of]=b;}else Ig(),0===(b.flags&128)&&(b.memoizedState=null),b.flags|=4;S$6(b);f=!1;}else null!==zg&&(Fj(zg),zg=null),f=!0;if(!f)return b.flags&65536?b:null}if(0!==(b.flags&128))return b.lanes=c,b;d=null!==d;d!==(null!==a&&null!==a.memoizedState)&&d&&(b.child.flags|=8192,0!==(b.mode&1)&&(null===a||0!==(L$9.current&1)?0===T$7&&(T$7=3):tj()));null!==b.updateQueue&&(b.flags|=4);S$6(b);return null;case 4:return zh(),
|
|
34320
|
-
Aj(a,b),null===a&&sf(b.stateNode.containerInfo),S$6(b),null;case 10:return ah(b.type._context),S$6(b),null;case 17:return Zf(b.type)&&$f(),S$6(b),null;case 19:E$
|
|
34320
|
+
Aj(a,b),null===a&&sf(b.stateNode.containerInfo),S$6(b),null;case 10:return ah(b.type._context),S$6(b),null;case 17:return Zf(b.type)&&$f(),S$6(b),null;case 19:E$b(L$9);f=b.memoizedState;if(null===f)return S$6(b),null;d=0!==(b.flags&128);g=f.rendering;if(null===g)if(d)Dj(f,!1);else {if(0!==T$7||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){g=Ch(a);if(null!==g){b.flags|=128;Dj(f,!1);d=g.updateQueue;null!==d&&(b.updateQueue=d,b.flags|=4);b.subtreeFlags=0;d=c;for(c=b.child;null!==c;)f=c,a=d,f.flags&=14680066,
|
|
34321
34321
|
g=f.alternate,null===g?(f.childLanes=0,f.lanes=a,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=g.childLanes,f.lanes=g.lanes,f.child=g.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=g.memoizedProps,f.memoizedState=g.memoizedState,f.updateQueue=g.updateQueue,f.type=g.type,a=g.dependencies,f.dependencies=null===a?null:{lanes:a.lanes,firstContext:a.firstContext}),c=c.sibling;G$6(L$9,L$9.current&1|2);return b.child}a=
|
|
34322
34322
|
a.sibling;}null!==f.tail&&B$7()>Gj&&(b.flags|=128,d=!0,Dj(f,!1),b.lanes=4194304);}else {if(!d)if(a=Ch(g),null!==a){if(b.flags|=128,d=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Dj(f,!0),null===f.tail&&"hidden"===f.tailMode&&!g.alternate&&!I$9)return S$6(b),null}else 2*B$7()-f.renderingStartTime>Gj&&1073741824!==c&&(b.flags|=128,d=!0,Dj(f,!1),b.lanes=4194304);f.isBackwards?(g.sibling=b.child,b.child=g):(c=f.last,null!==c?c.sibling=g:b.child=g,f.last=g);}if(null!==f.tail)return b=f.tail,f.rendering=
|
|
34323
34323
|
b,f.tail=b.sibling,f.renderingStartTime=B$7(),b.sibling=null,c=L$9.current,G$6(L$9,d?c&1|2:c&1),b;S$6(b);return null;case 22:case 23:return Hj(),d=null!==b.memoizedState,null!==a&&null!==a.memoizedState!==d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(fj&1073741824)&&(S$6(b),b.subtreeFlags&6&&(b.flags|=8192)):S$6(b),null;case 24:return null;case 25:return null}throw Error(p$8(156,b.tag));}
|
|
34324
|
-
function Ij(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return zh(),E$
|
|
34324
|
+
function Ij(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return zh(),E$b(Wf),E$b(H$8),Eh(),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 5:return Bh(b),null;case 13:E$b(L$9);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(p$8(340));Ig();}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return E$b(L$9),null;case 4:return zh(),null;case 10:return ah(b.type._context),null;case 22:case 23:return Hj(),
|
|
34325
34325
|
null;case 24:return null;default:return null}}var Jj=!1,U$8=!1,Kj="function"===typeof WeakSet?WeakSet:Set,V$5=null;function Lj(a,b){var c=a.ref;if(null!==c)if("function"===typeof c)try{c(null);}catch(d){W$4(a,b,d);}else c.current=null;}function Mj(a,b,c){try{c();}catch(d){W$4(a,b,d);}}var Nj=!1;
|
|
34326
34326
|
function Oj(a,b){Cf=dd;a=Me$1();if(Ne$1(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType;}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=
|
|
34327
34327
|
q.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y;}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode;}q=y;}c=-1===h||-1===k?null:{start:h,end:k};}else c=null;}c=c||{start:0,end:0};}else c=null;Df={focusedElem:a,selectionRange:c};dd=!1;for(V$5=b;null!==V$5;)if(b=V$5,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V$5=a;else for(;null!==V$5;){b=V$5;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;
|
|
@@ -34348,7 +34348,7 @@ b.child.stateNode;break;case 1:c=b.child.stateNode;}sh(b,g,c);}break;case 5:var
|
|
|
34348
34348
|
default:throw Error(p$8(163));}U$8||b.flags&512&&Rj(b);}catch(r){W$4(b,b.return,r);}}if(b===a){V$5=null;break}c=b.sibling;if(null!==c){c.return=b.return;V$5=c;break}V$5=b.return;}}function gk(a){for(;null!==V$5;){var b=V$5;if(b===a){V$5=null;break}var c=b.sibling;if(null!==c){c.return=b.return;V$5=c;break}V$5=b.return;}}
|
|
34349
34349
|
function jk(a){for(;null!==V$5;){var b=V$5;try{switch(b.tag){case 0:case 11:case 15:var c=b.return;try{Qj(4,b);}catch(k){W$4(b,c,k);}break;case 1:var d=b.stateNode;if("function"===typeof d.componentDidMount){var e=b.return;try{d.componentDidMount();}catch(k){W$4(b,e,k);}}var f=b.return;try{Rj(b);}catch(k){W$4(b,f,k);}break;case 5:var g=b.return;try{Rj(b);}catch(k){W$4(b,g,k);}}}catch(k){W$4(b,b.return,k);}if(b===a){V$5=null;break}var h=b.sibling;if(null!==h){h.return=b.return;V$5=h;break}V$5=b.return;}}
|
|
34350
34350
|
var lk=Math.ceil,mk=ua.ReactCurrentDispatcher,nk=ua.ReactCurrentOwner,ok$2=ua.ReactCurrentBatchConfig,K$6=0,Q$5=null,Y$4=null,Z$3=0,fj=0,ej=Uf(0),T$7=0,pk=null,rh=0,qk=0,rk=0,sk=null,tk=null,fk=0,Gj=Infinity,uk=null,Oi$1=!1,Pi$1=null,Ri$1=null,vk=!1,wk=null,xk=0,yk=0,zk=null,Ak=-1,Bk=0;function R$9(){return 0!==(K$6&6)?B$7():-1!==Ak?Ak:Ak=B$7()}
|
|
34351
|
-
function yi$1(a){if(0===(a.mode&1))return 1;if(0!==(K$6&2)&&0!==Z$3)return Z$3&-Z$3;if(null!==Kg.transition)return 0===Bk&&(Bk=yc()),Bk;a=C$
|
|
34351
|
+
function yi$1(a){if(0===(a.mode&1))return 1;if(0!==(K$6&2)&&0!==Z$3)return Z$3&-Z$3;if(null!==Kg.transition)return 0===Bk&&(Bk=yc()),Bk;a=C$c;if(0!==a)return a;a=window.event;a=void 0===a?16:jd(a.type);return a}function gi$1(a,b,c,d){if(50<yk)throw yk=0,zk=null,Error(p$8(185));Ac(a,c,d);if(0===(K$6&2)||a!==Q$5)a===Q$5&&(0===(K$6&2)&&(qk|=c),4===T$7&&Ck(a,Z$3)),Dk(a,d),1===c&&0===K$6&&0===(b.mode&1)&&(Gj=B$7()+500,fg&&jg());}
|
|
34352
34352
|
function Dk(a,b){var c=a.callbackNode;wc(a,b);var d=uc(a,a===Q$5?Z$3:0);if(0===d)null!==c&&bc(c),a.callbackNode=null,a.callbackPriority=0;else if(b=d&-d,a.callbackPriority!==b){null!=c&&bc(c);if(1===b)0===a.tag?ig(Ek.bind(null,a)):hg(Ek.bind(null,a)),Jf(function(){0===(K$6&6)&&jg();}),c=null;else {switch(Dc(d)){case 1:c=fc;break;case 4:c=gc;break;case 16:c=hc;break;case 536870912:c=jc;break;default:c=hc;}c=Fk(c,Gk.bind(null,a));}a.callbackPriority=b;a.callbackNode=c;}}
|
|
34353
34353
|
function Gk(a,b){Ak=-1;Bk=0;if(0!==(K$6&6))throw Error(p$8(327));var c=a.callbackNode;if(Hk()&&a.callbackNode!==c)return null;var d=uc(a,a===Q$5?Z$3:0);if(0===d)return null;if(0!==(d&30)||0!==(d&a.expiredLanes)||b)b=Ik(a,d);else {b=d;var e=K$6;K$6|=2;var f=Jk();if(Q$5!==a||Z$3!==b)uk=null,Gj=B$7()+500,Kk(a,b);do try{Lk();break}catch(h){Mk(a,h);}while(1);$g();mk.current=f;K$6=e;null!==Y$4?b=0:(Q$5=null,Z$3=0,b=T$7);}if(0!==b){2===b&&(e=xc(a),0!==e&&(d=e,b=Nk(a,e)));if(1===b)throw c=pk,Kk(a,0),Ck(a,d),Dk(a,B$7()),c;if(6===b)Ck(a,d);
|
|
34354
34354
|
else {e=a.current.alternate;if(0===(d&30)&&!Ok(e)&&(b=Ik(a,d),2===b&&(f=xc(a),0!==f&&(d=f,b=Nk(a,f))),1===b))throw c=pk,Kk(a,0),Ck(a,d),Dk(a,B$7()),c;a.finishedWork=e;a.finishedLanes=d;switch(b){case 0:case 1:throw Error(p$8(345));case 2:Pk(a,tk,uk);break;case 3:Ck(a,d);if((d&130023424)===d&&(b=fk+500-B$7(),10<b)){if(0!==uc(a,0))break;e=a.suspendedLanes;if((e&d)!==d){R$9();a.pingedLanes|=a.suspendedLanes&e;break}a.timeoutHandle=Ff(Pk.bind(null,a,tk,uk),b);break}Pk(a,tk,uk);break;case 4:Ck(a,d);if((d&4194240)===
|
|
@@ -34356,19 +34356,19 @@ d)break;b=a.eventTimes;for(e=-1;0<d;){var g=31-oc(d);f=1<<g;g=b[g];g>e&&(e=g);d&
|
|
|
34356
34356
|
function Nk(a,b){var c=sk;a.current.memoizedState.isDehydrated&&(Kk(a,b).flags|=256);a=Ik(a,b);2!==a&&(b=tk,tk=c,null!==b&&Fj(b));return a}function Fj(a){null===tk?tk=a:tk.push.apply(tk,a);}
|
|
34357
34357
|
function Ok(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!He$2(f(),e))return !1}catch(g){return !1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else {if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return !0;b=b.return;}b.sibling.return=b.return;b=b.sibling;}}return !0}
|
|
34358
34358
|
function Ck(a,b){b&=~rk;b&=~qk;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-oc(b),d=1<<c;a[c]=-1;b&=~d;}}function Ek(a){if(0!==(K$6&6))throw Error(p$8(327));Hk();var b=uc(a,0);if(0===(b&1))return Dk(a,B$7()),null;var c=Ik(a,b);if(0!==a.tag&&2===c){var d=xc(a);0!==d&&(b=d,c=Nk(a,d));}if(1===c)throw c=pk,Kk(a,0),Ck(a,b),Dk(a,B$7()),c;if(6===c)throw Error(p$8(345));a.finishedWork=a.current.alternate;a.finishedLanes=b;Pk(a,tk,uk);Dk(a,B$7());return null}
|
|
34359
|
-
function Qk(a,b){var c=K$6;K$6|=1;try{return a(b)}finally{K$6=c,0===K$6&&(Gj=B$7()+500,fg&&jg());}}function Rk(a){null!==wk&&0===wk.tag&&0===(K$6&6)&&Hk();var b=K$6;K$6|=1;var c=ok$2.transition,d=C$
|
|
34360
|
-
function Kk(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Gf(c));if(null!==Y$4)for(c=Y$4.return;null!==c;){var d=c;wg(d);switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&$f();break;case 3:zh();E$
|
|
34359
|
+
function Qk(a,b){var c=K$6;K$6|=1;try{return a(b)}finally{K$6=c,0===K$6&&(Gj=B$7()+500,fg&&jg());}}function Rk(a){null!==wk&&0===wk.tag&&0===(K$6&6)&&Hk();var b=K$6;K$6|=1;var c=ok$2.transition,d=C$c;try{if(ok$2.transition=null,C$c=1,a)return a()}finally{C$c=d,ok$2.transition=c,K$6=b,0===(K$6&6)&&jg();}}function Hj(){fj=ej.current;E$b(ej);}
|
|
34360
|
+
function Kk(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Gf(c));if(null!==Y$4)for(c=Y$4.return;null!==c;){var d=c;wg(d);switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&$f();break;case 3:zh();E$b(Wf);E$b(H$8);Eh();break;case 5:Bh(d);break;case 4:zh();break;case 13:E$b(L$9);break;case 19:E$b(L$9);break;case 10:ah(d.type._context);break;case 22:case 23:Hj();}c=c.return;}Q$5=a;Y$4=a=Pg(a.current,null);Z$3=fj=b;T$7=0;pk=null;rk=qk=rh=0;tk=sk=null;if(null!==fh){for(b=
|
|
34361
34361
|
0;b<fh.length;b++)if(c=fh[b],d=c.interleaved,null!==d){c.interleaved=null;var e=d.next,f=c.pending;if(null!==f){var g=f.next;f.next=e;d.next=g;}c.pending=d;}fh=null;}return a}
|
|
34362
|
-
function Mk(a,b){do{var c=Y$4;try{$g();Fh.current=Rh;if(Ih){for(var d=M$a.memoizedState;null!==d;){var e=d.queue;null!==e&&(e.pending=null);d=d.next;}Ih=!1;}Hh=0;O$
|
|
34362
|
+
function Mk(a,b){do{var c=Y$4;try{$g();Fh.current=Rh;if(Ih){for(var d=M$a.memoizedState;null!==d;){var e=d.queue;null!==e&&(e.pending=null);d=d.next;}Ih=!1;}Hh=0;O$a=N$9=M$a=null;Jh=!1;Kh=0;nk.current=null;if(null===c||null===c.return){T$7=1;pk=b;Y$4=null;break}a:{var f=a,g=c.return,h=c,k=b;b=Z$3;h.flags|=32768;if(null!==k&&"object"===typeof k&&"function"===typeof k.then){var l=k,m=h,q=m.tag;if(0===(m.mode&1)&&(0===q||11===q||15===q)){var r=m.alternate;r?(m.updateQueue=r.updateQueue,m.memoizedState=r.memoizedState,
|
|
34363
34363
|
m.lanes=r.lanes):(m.updateQueue=null,m.memoizedState=null);}var y=Ui$1(g);if(null!==y){y.flags&=-257;Vi$1(y,g,h,f,b);y.mode&1&&Si$1(f,l,b);b=y;k=l;var n=b.updateQueue;if(null===n){var t=new Set;t.add(k);b.updateQueue=t;}else n.add(k);break a}else {if(0===(b&1)){Si$1(f,l,b);tj();break a}k=Error(p$8(426));}}else if(I$9&&h.mode&1){var J=Ui$1(g);if(null!==J){0===(J.flags&65536)&&(J.flags|=256);Vi$1(J,g,h,f,b);Jg(Ji$1(k,h));break a}}f=k=Ji$1(k,h);4!==T$7&&(T$7=2);null===sk?sk=[f]:sk.push(f);f=g;do{switch(f.tag){case 3:f.flags|=65536;
|
|
34364
34364
|
b&=-b;f.lanes|=b;var x=Ni$1(f,k,b);ph(f,x);break a;case 1:h=k;var w=f.type,u=f.stateNode;if(0===(f.flags&128)&&("function"===typeof w.getDerivedStateFromError||null!==u&&"function"===typeof u.componentDidCatch&&(null===Ri$1||!Ri$1.has(u)))){f.flags|=65536;b&=-b;f.lanes|=b;var F=Qi$1(f,h,b);ph(f,F);break a}}f=f.return;}while(null!==f)}Sk(c);}catch(na){b=na;Y$4===c&&null!==c&&(Y$4=c=c.return);continue}break}while(1)}function Jk(){var a=mk.current;mk.current=Rh;return null===a?Rh:a}
|
|
34365
34365
|
function tj(){if(0===T$7||3===T$7||2===T$7)T$7=4;null===Q$5||0===(rh&268435455)&&0===(qk&268435455)||Ck(Q$5,Z$3);}function Ik(a,b){var c=K$6;K$6|=2;var d=Jk();if(Q$5!==a||Z$3!==b)uk=null,Kk(a,b);do try{Tk();break}catch(e){Mk(a,e);}while(1);$g();K$6=c;mk.current=d;if(null!==Y$4)throw Error(p$8(261));Q$5=null;Z$3=0;return T$7}function Tk(){for(;null!==Y$4;)Uk(Y$4);}function Lk(){for(;null!==Y$4&&!cc();)Uk(Y$4);}function Uk(a){var b=Vk(a.alternate,a,fj);a.memoizedProps=a.pendingProps;null===b?Sk(a):Y$4=b;nk.current=null;}
|
|
34366
|
-
function Sk(a){var b=a;do{var c=b.alternate;a=b.return;if(0===(b.flags&32768)){if(c=Ej(c,b,fj),null!==c){Y$4=c;return}}else {c=Ij(c,b);if(null!==c){c.flags&=32767;Y$4=c;return}if(null!==a)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else {T$7=6;Y$4=null;return}}b=b.sibling;if(null!==b){Y$4=b;return}Y$4=b=a;}while(null!==b);0===T$7&&(T$7=5);}function Pk(a,b,c){var d=C$
|
|
34366
|
+
function Sk(a){var b=a;do{var c=b.alternate;a=b.return;if(0===(b.flags&32768)){if(c=Ej(c,b,fj),null!==c){Y$4=c;return}}else {c=Ij(c,b);if(null!==c){c.flags&=32767;Y$4=c;return}if(null!==a)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else {T$7=6;Y$4=null;return}}b=b.sibling;if(null!==b){Y$4=b;return}Y$4=b=a;}while(null!==b);0===T$7&&(T$7=5);}function Pk(a,b,c){var d=C$c,e=ok$2.transition;try{ok$2.transition=null,C$c=1,Wk(a,b,c,d);}finally{ok$2.transition=e,C$c=d;}return null}
|
|
34367
34367
|
function Wk(a,b,c,d){do Hk();while(null!==wk);if(0!==(K$6&6))throw Error(p$8(327));c=a.finishedWork;var e=a.finishedLanes;if(null===c)return null;a.finishedWork=null;a.finishedLanes=0;if(c===a.current)throw Error(p$8(177));a.callbackNode=null;a.callbackPriority=0;var f=c.lanes|c.childLanes;Bc(a,f);a===Q$5&&(Y$4=Q$5=null,Z$3=0);0===(c.subtreeFlags&2064)&&0===(c.flags&2064)||vk||(vk=!0,Fk(hc,function(){Hk();return null}));f=0!==(c.flags&15990);if(0!==(c.subtreeFlags&15990)||f){f=ok$2.transition;ok$2.transition=null;
|
|
34368
|
-
var g=C$
|
|
34369
|
-
function Hk(){if(null!==wk){var a=Dc(xk),b=ok$2.transition,c=C$
|
|
34368
|
+
var g=C$c;C$c=1;var h=K$6;K$6|=4;nk.current=null;Oj(a,c);dk(c,a);Oe$1(Df);dd=!!Cf;Df=Cf=null;a.current=c;hk(c);dc();K$6=h;C$c=g;ok$2.transition=f;}else a.current=c;vk&&(vk=!1,wk=a,xk=e);f=a.pendingLanes;0===f&&(Ri$1=null);mc(c.stateNode);Dk(a,B$7());if(null!==b)for(d=a.onRecoverableError,c=0;c<b.length;c++)e=b[c],d(e.value,{componentStack:e.stack,digest:e.digest});if(Oi$1)throw Oi$1=!1,a=Pi$1,Pi$1=null,a;0!==(xk&1)&&0!==a.tag&&Hk();f=a.pendingLanes;0!==(f&1)?a===zk?yk++:(yk=0,zk=a):yk=0;jg();return null}
|
|
34369
|
+
function Hk(){if(null!==wk){var a=Dc(xk),b=ok$2.transition,c=C$c;try{ok$2.transition=null;C$c=16>a?16:a;if(null===wk)var d=!1;else {a=wk;wk=null;xk=0;if(0!==(K$6&6))throw Error(p$8(331));var e=K$6;K$6|=4;for(V$5=a.current;null!==V$5;){var f=V$5,g=f.child;if(0!==(V$5.flags&16)){var h=f.deletions;if(null!==h){for(var k=0;k<h.length;k++){var l=h[k];for(V$5=l;null!==V$5;){var m=V$5;switch(m.tag){case 0:case 11:case 15:Pj(8,m,f);}var q=m.child;if(null!==q)q.return=m,V$5=q;else for(;null!==V$5;){m=V$5;var r=m.sibling,y=m.return;Sj(m);if(m===
|
|
34370
34370
|
l){V$5=null;break}if(null!==r){r.return=y;V$5=r;break}V$5=y;}}}var n=f.alternate;if(null!==n){var t=n.child;if(null!==t){n.child=null;do{var J=t.sibling;t.sibling=null;t=J;}while(null!==t)}}V$5=f;}}if(0!==(f.subtreeFlags&2064)&&null!==g)g.return=f,V$5=g;else b:for(;null!==V$5;){f=V$5;if(0!==(f.flags&2048))switch(f.tag){case 0:case 11:case 15:Pj(9,f,f.return);}var x=f.sibling;if(null!==x){x.return=f.return;V$5=x;break b}V$5=f.return;}}var w=a.current;for(V$5=w;null!==V$5;){g=V$5;var u=g.child;if(0!==(g.subtreeFlags&2064)&&null!==
|
|
34371
|
-
u)u.return=g,V$5=u;else b:for(g=w;null!==V$5;){h=V$5;if(0!==(h.flags&2048))try{switch(h.tag){case 0:case 11:case 15:Qj(9,h);}}catch(na){W$4(h,h.return,na);}if(h===g){V$5=null;break b}var F=h.sibling;if(null!==F){F.return=h.return;V$5=F;break b}V$5=h.return;}}K$6=e;jg();if(lc&&"function"===typeof lc.onPostCommitFiberRoot)try{lc.onPostCommitFiberRoot(kc,a);}catch(na){}d=!0;}return d}finally{C$
|
|
34371
|
+
u)u.return=g,V$5=u;else b:for(g=w;null!==V$5;){h=V$5;if(0!==(h.flags&2048))try{switch(h.tag){case 0:case 11:case 15:Qj(9,h);}}catch(na){W$4(h,h.return,na);}if(h===g){V$5=null;break b}var F=h.sibling;if(null!==F){F.return=h.return;V$5=F;break b}V$5=h.return;}}K$6=e;jg();if(lc&&"function"===typeof lc.onPostCommitFiberRoot)try{lc.onPostCommitFiberRoot(kc,a);}catch(na){}d=!0;}return d}finally{C$c=c,ok$2.transition=b;}}return !1}function Xk(a,b,c){b=Ji$1(c,b);b=Ni$1(a,b,1);a=nh(a,b,1);b=R$9();null!==a&&(Ac(a,1,b),Dk(a,b));}
|
|
34372
34372
|
function W$4(a,b,c){if(3===a.tag)Xk(a,a,c);else for(;null!==b;){if(3===b.tag){Xk(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Ri$1||!Ri$1.has(d))){a=Ji$1(c,a);a=Qi$1(b,a,1);b=nh(b,a,1);a=R$9();null!==b&&(Ac(b,1,a),Dk(b,a));break}}b=b.return;}}
|
|
34373
34373
|
function Ti$1(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);b=R$9();a.pingedLanes|=a.suspendedLanes&c;Q$5===a&&(Z$3&c)===c&&(4===T$7||3===T$7&&(Z$3&130023424)===Z$3&&500>B$7()-fk?Kk(a,0):rk|=c);Dk(a,b);}function Yk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=R$9();a=ih(a,b);null!==a&&(Ac(a,b,c),Dk(a,c));}function uj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Yk(a,c);}
|
|
34374
34374
|
function bk(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p$8(314));}null!==d&&d.delete(b);Yk(a,c);}var Vk;
|
|
@@ -34396,7 +34396,7 @@ ml.prototype.render=ll$1.prototype.render=function(a){var b=this._internalRoot;i
|
|
|
34396
34396
|
ml.prototype.unstable_scheduleHydration=function(a){if(a){var b=Hc();a={blockedOn:null,target:a,priority:b};for(var c=0;c<Qc.length&&0!==b&&b<Qc[c].priority;c++);Qc.splice(c,0,a);0===c&&Vc(a);}};function nl$1(a){return !(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)}function ol$1(a){return !(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function pl(){}
|
|
34397
34397
|
function ql(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var a=gl(g);f.call(a);};}var g=el$1(b,d,a,0,null,!1,!1,"",pl);a._reactRootContainer=g;a[uf]=g.current;sf(8===a.nodeType?a.parentNode:a);Rk();return g}for(;e=a.lastChild;)a.removeChild(e);if("function"===typeof d){var h=d;d=function(){var a=gl(k);h.call(a);};}var k=bl(a,0,!1,null,null,!1,!1,"",pl);a._reactRootContainer=k;a[uf]=k.current;sf(8===a.nodeType?a.parentNode:a);Rk(function(){fl(b,k,c,d);});return k}
|
|
34398
34398
|
function rl$1(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if("function"===typeof e){var h=e;e=function(){var a=gl(g);h.call(a);};}fl(b,g,a,e);}else g=ql(c,b,a,e,d);return gl(g)}Ec=function(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=tc(b.pendingLanes);0!==c&&(Cc(b,c|1),Dk(b,B$7()),0===(K$6&6)&&(Gj=B$7()+500,jg()));}break;case 13:Rk(function(){var b=ih(a,1);if(null!==b){var c=R$9();gi$1(b,a,1,c);}}),il$1(a,1);}};
|
|
34399
|
-
Fc=function(a){if(13===a.tag){var b=ih(a,134217728);if(null!==b){var c=R$9();gi$1(b,a,134217728,c);}il$1(a,134217728);}};Gc=function(a){if(13===a.tag){var b=yi$1(a),c=ih(a,b);if(null!==c){var d=R$9();gi$1(c,a,b,d);}il$1(a,b);}};Hc=function(){return C$
|
|
34399
|
+
Fc=function(a){if(13===a.tag){var b=ih(a,134217728);if(null!==b){var c=R$9();gi$1(b,a,134217728,c);}il$1(a,134217728);}};Gc=function(a){if(13===a.tag){var b=yi$1(a),c=ih(a,b);if(null!==c){var d=R$9();gi$1(c,a,b,d);}il$1(a,b);}};Hc=function(){return C$c};Ic=function(a,b){var c=C$c;try{return C$c=a,b()}finally{C$c=c;}};
|
|
34400
34400
|
yb=function(a,b,c){switch(b){case "input":bb(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Db(d);if(!e)throw Error(p$8(90));Wa(d);bb(d,e);}}}break;case "textarea":ib(a,c);break;case "select":b=c.value,null!=b&&fb(a,!!c.multiple,b,!1);}};Gb=Qk;Hb=Rk;
|
|
34401
34401
|
var sl$1={usingClientEntryPoint:!1,Events:[Cb,ue$2,Db,Eb,Fb,Qk]},tl$1={findFiberByHostInstance:Wc,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"};
|
|
34402
34402
|
var ul$1={bundleType:tl$1.bundleType,version:tl$1.version,rendererPackageName:tl$1.rendererPackageName,rendererConfig:tl$1.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ua.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Zb(a);return null===a?null:a.stateNode},findFiberByHostInstance:tl$1.findFiberByHostInstance||
|
|
@@ -64369,9 +64369,9 @@ function o$7(){let n=[],r={addEventListener(e,t,s,a){return e.addEventListener(t
|
|
|
64369
64369
|
|
|
64370
64370
|
function p$7(){let[e]=React.useState(o$7);return React.useEffect(()=>()=>e.dispose(),[e]),e}
|
|
64371
64371
|
|
|
64372
|
-
let n$
|
|
64372
|
+
let n$8=(e,t)=>{s$4.isServer?React.useEffect(e,t):React.useLayoutEffect(e,t);};
|
|
64373
64373
|
|
|
64374
|
-
function s$3(e){let r=React.useRef(e);return n$
|
|
64374
|
+
function s$3(e){let r=React.useRef(e);return n$8(()=>{r.current=e;},[e]),r}
|
|
64375
64375
|
|
|
64376
64376
|
let o$6=function(t){let e=s$3(t);return React__default["default"].useCallback((...r)=>e.current(...r),[e])};
|
|
64377
64377
|
|
|
@@ -64379,17 +64379,17 @@ function t$4(...r){return Array.from(new Set(r.flatMap(n=>typeof n=="string"?n.s
|
|
|
64379
64379
|
|
|
64380
64380
|
function u$9(r,n,...a){if(r in n){let e=n[r];return typeof e=="function"?e(...a):e}let t=new Error(`Tried to handle "${r}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,u$9),t}
|
|
64381
64381
|
|
|
64382
|
-
var O$
|
|
64382
|
+
var O$9=(a=>(a[a.None=0]="None",a[a.RenderStrategy=1]="RenderStrategy",a[a.Static=2]="Static",a))(O$9||{}),A$8=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(A$8||{});function L$8(){let n=U$7();return React.useCallback(r=>C$b({mergeRefs:n,...r}),[n])}function C$b({ourProps:n,theirProps:r,slot:e,defaultTag:a,features:s,visible:t=!0,name:l,mergeRefs:i}){i=i!=null?i:$$6;let o=P$8(r,n);if(t)return F$6(o,e,a,l,i);let y=s!=null?s:0;if(y&2){let{static:f=!1,...u}=o;if(f)return F$6(u,e,a,l,i)}if(y&1){let{unmount:f=!0,...u}=o;return u$9(f?0:1,{[0](){return null},[1](){return F$6({...u,hidden:!0,style:{display:"none"}},e,a,l,i)}})}return F$6(o,e,a,l,i)}function F$6(n,r={},e,a,s){let{as:t=e,children:l,refName:i="ref",...o}=h$9(n,["unmount","static"]),y=n.ref!==void 0?{[i]:n.ref}:{},f=typeof l=="function"?l(r):l;"className"in o&&o.className&&typeof o.className=="function"&&(o.className=o.className(r)),o["aria-labelledby"]&&o["aria-labelledby"]===o.id&&(o["aria-labelledby"]=void 0);let u={};if(r){let d=!1,p=[];for(let[c,T]of Object.entries(r))typeof T=="boolean"&&(d=!0),T===!0&&p.push(c.replace(/([A-Z])/g,g=>`-${g.toLowerCase()}`));if(d){u["data-headlessui-state"]=p.join(" ");for(let c of p)u[`data-${c}`]="";}}if(t===React.Fragment&&(Object.keys(m$9(o)).length>0||Object.keys(m$9(u)).length>0))if(!React.isValidElement(f)||Array.isArray(f)&&f.length>1){if(Object.keys(m$9(o)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(m$9(o)).concat(Object.keys(m$9(u))).map(d=>` - ${d}`).join(`
|
|
64383
64383
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(d=>` - ${d}`).join(`
|
|
64384
64384
|
`)].join(`
|
|
64385
64385
|
`))}else {let d=f.props,p=d==null?void 0:d.className,c=typeof p=="function"?(...R)=>t$4(p(...R),o.className):t$4(p,o.className),T=c?{className:c}:{},g=P$8(f.props,m$9(h$9(o,["ref"])));for(let R in u)R in g&&delete u[R];return React.cloneElement(f,Object.assign({},g,u,y,{ref:s(H$7(f),y.ref)},T))}return React.createElement(t,Object.assign({},h$9(o,["ref"]),t!==React.Fragment&&y,t!==React.Fragment&&u),f)}function U$7(){let n=React.useRef([]),r=React.useCallback(e=>{for(let a of n.current)a!=null&&(typeof a=="function"?a(e):a.current=e);},[]);return (...e)=>{if(!e.every(a=>a==null))return n.current=e,r}}function $$6(...n){return n.every(r=>r==null)?void 0:r=>{for(let e of n)e!=null&&(typeof e=="function"?e(r):e.current=r);}}function P$8(...n){if(n.length===0)return {};if(n.length===1)return n[0];let r={},e={};for(let s of n)for(let t in s)t.startsWith("on")&&typeof s[t]=="function"?((e[t])!=null||(e[t]=[]),e[t].push(s[t])):r[t]=s[t];if(r.disabled||r["aria-disabled"])for(let s in e)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(s)&&(e[s]=[t=>{var l;return (l=t==null?void 0:t.preventDefault)==null?void 0:l.call(t)}]);for(let s in e)Object.assign(r,{[s](t,...l){let i=e[s];for(let o of i){if((t instanceof Event||(t==null?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;o(t,...l);}}});return r}function K$5(n){var r;return Object.assign(React.forwardRef(n),{displayName:(r=n.displayName)!=null?r:n.name})}function m$9(n){let r=Object.assign({},n);for(let e in r)r[e]===void 0&&delete r[e];return r}function h$9(n,r=[]){let e=Object.assign({},n);for(let a of r)a in e&&delete e[a];return e}function H$7(n){return React__default["default"].version.split(".")[0]>="19"?n.props.ref:n.ref}
|
|
64386
64386
|
|
|
64387
|
-
let u$8=Symbol();function y$
|
|
64387
|
+
let u$8=Symbol();function y$9(...t){let n=React.useRef(t);React.useEffect(()=>{n.current=t;},[t]);let c=o$6(e=>{for(let o of n.current)o!=null&&(typeof o=="function"?o(e):o.current=e);});return t.every(e=>e==null||(e==null?void 0:e[u$8]))?void 0:c}
|
|
64388
64388
|
|
|
64389
64389
|
function c$9(u=0){let[t,l]=React.useState(u),g=React.useCallback(e=>l(e),[t]),s=React.useCallback(e=>l(a=>a|e),[t]),m=React.useCallback(e=>(t&e)===e,[t]),n=React.useCallback(e=>l(a=>a&~e),[l]),F=React.useCallback(e=>l(a=>a^e),[l]);return {flags:t,setFlag:g,addFlag:s,hasFlag:m,removeFlag:n,toggleFlag:F}}
|
|
64390
64390
|
|
|
64391
64391
|
var T$6,b$b;typeof process!="undefined"&&typeof globalThis!="undefined"&&typeof Element!="undefined"&&((T$6=process==null?void 0:process.env)==null?void 0:T$6["NODE_ENV"])==="test"&&typeof((b$b=Element==null?void 0:Element.prototype)==null?void 0:b$b.getAnimations)=="undefined"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
64392
|
-
`)),[]});var L$7=(r=>(r[r.None=0]="None",r[r.Closed=1]="Closed",r[r.Enter=2]="Enter",r[r.Leave=4]="Leave",r))(L$7||{});function R$8(t){let n={};for(let e in t)t[e]===!0&&(n[`data-${e}`]="");return n}function x$c(t,n,e,i){let[r,o]=React.useState(e),{hasFlag:s,addFlag:a,removeFlag:l}=c$9(t&&r?3:0),u=React.useRef(!1),f=React.useRef(!1),E=p$7();return n$
|
|
64392
|
+
`)),[]});var L$7=(r=>(r[r.None=0]="None",r[r.Closed=1]="Closed",r[r.Enter=2]="Enter",r[r.Leave=4]="Leave",r))(L$7||{});function R$8(t){let n={};for(let e in t)t[e]===!0&&(n[`data-${e}`]="");return n}function x$c(t,n,e,i){let[r,o]=React.useState(e),{hasFlag:s,addFlag:a,removeFlag:l}=c$9(t&&r?3:0),u=React.useRef(!1),f=React.useRef(!1),E=p$7();return n$8(()=>{var d;if(t){if(e&&o(!0),!n){e&&a(3);return}return (d=i==null?void 0:i.start)==null||d.call(i,e),C$a(n,{inFlight:u,prepare(){f.current?f.current=!1:f.current=u.current,u.current=!0,!f.current&&(e?(a(3),l(4)):(a(4),l(2)));},run(){f.current?e?(l(3),a(4)):(l(4),a(3)):e?l(1):a(1);},done(){var p;f.current&&typeof n.getAnimations=="function"&&n.getAnimations().length>0||(u.current=!1,l(7),e||o(!1),(p=i==null?void 0:i.end)==null||p.call(i,e));}})}},[t,e,n,E]),t?[r,{closed:s(1),enter:s(2),leave:s(4),transition:s(2)||s(4)}]:[e,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function C$a(t,{prepare:n,run:e,done:i,inFlight:r}){let o=o$7();return j$4(t,{prepare:n,inFlight:r}),o.nextFrame(()=>{e(),o.requestAnimationFrame(()=>{o.add(M$9(t,i));});}),o.dispose}function M$9(t,n){var o,s;let e=o$7();if(!t)return e.dispose;let i=!1;e.add(()=>{i=!0;});let r=(s=(o=t.getAnimations)==null?void 0:o.call(t).filter(a=>a instanceof CSSTransition))!=null?s:[];return r.length===0?(n(),e.dispose):(Promise.allSettled(r.map(a=>a.finished)).then(()=>{i||n();}),e.dispose)}function j$4(t,{inFlight:n,prepare:e}){if(n!=null&&n.current){e();return}let i=t.style.transition;t.style.transition="none",e(),t.offsetHeight,t.style.transition=i;}
|
|
64393
64393
|
|
|
64394
64394
|
function hasWindow() {
|
|
64395
64395
|
return typeof window !== 'undefined';
|
|
@@ -66794,13 +66794,13 @@ const arrow = (options, deps) => ({
|
|
|
66794
66794
|
options: [options, deps]
|
|
66795
66795
|
});
|
|
66796
66796
|
|
|
66797
|
-
let n$
|
|
66797
|
+
let n$7=React.createContext(null);n$7.displayName="OpenClosedContext";var i$2=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(i$2||{});function u$7(){return React.useContext(n$7)}function c$8({value:o,children:t}){return React__default["default"].createElement(n$7.Provider,{value:o},t)}
|
|
66798
66798
|
|
|
66799
66799
|
function s$2(){let r=typeof document=="undefined";return "useSyncExternalStore"in React__namespace?(o=>o.useSyncExternalStore)(React__namespace)(()=>()=>{},()=>!1,()=>!r):!1}function l$6(){let r=s$2(),[e,n]=React__namespace.useState(s$4.isHandoffComplete);return e&&s$4.isHandoffComplete===!1&&n(!1),React__namespace.useEffect(()=>{e!==!0&&n(!0);},[e]),React__namespace.useEffect(()=>s$4.handoff(),[]),r?!1:e}
|
|
66800
66800
|
|
|
66801
|
-
function f$9(){let e=React.useRef(!1);return n$
|
|
66801
|
+
function f$9(){let e=React.useRef(!1);return n$8(()=>(e.current=!0,()=>{e.current=!1;}),[]),e}
|
|
66802
66802
|
|
|
66803
|
-
function ue$1(e){var t;return !!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:de$1)!==React.Fragment||React__default["default"].Children.count(e.children)===1}let w$9=React.createContext(null);w$9.displayName="TransitionContext";var _e$1=(n=>(n.Visible="visible",n.Hidden="hidden",n))(_e$1||{});function De$1(){let e=React.useContext(w$9);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function He$1(){let e=React.useContext(M$8);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let M$8=React.createContext(null);M$8.displayName="NestingContext";function U$6(e){return "children"in e?U$6(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Te$1(e,t){let n=s$3(e),l=React.useRef([]),S=f$9(),R=p$7(),d=o$6((o,i=A$8.Hidden)=>{let a=l.current.findIndex(({el:s})=>s===o);a!==-1&&(u$9(i,{[A$8.Unmount](){l.current.splice(a,1);},[A$8.Hidden](){l.current[a].state="hidden";}}),R.microTask(()=>{var s;!U$6(l)&&S.current&&((s=n.current)==null||s.call(n));}));}),y=o$6(o=>{let i=l.current.find(({el:a})=>a===o);return i?i.state!=="visible"&&(i.state="visible"):l.current.push({el:o,state:"visible"}),()=>d(o,A$8.Unmount)}),p=React.useRef([]),c=React.useRef(Promise.resolve()),C=React.useRef({enter:[],leave:[]}),h=o$6((o,i,a)=>{p.current.splice(0),t&&(t.chains.current[i]=t.chains.current[i].filter(([s])=>s!==o)),t==null||t.chains.current[i].push([o,new Promise(s=>{p.current.push(s);})]),t==null||t.chains.current[i].push([o,new Promise(s=>{Promise.all(C.current[i].map(([r,f])=>f)).then(()=>s());})]),i==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>a(i)):a(i);}),g=o$6((o,i,a)=>{Promise.all(C.current[i].splice(0).map(([s,r])=>r)).then(()=>{var s;(s=p.current.shift())==null||s();}).then(()=>a(i));});return React.useMemo(()=>({children:l,register:y,unregister:d,onStart:h,onStop:g,wait:c,chains:C}),[y,d,l,h,g,C,c])}let de$1=React.Fragment,fe$1=O$
|
|
66803
|
+
function ue$1(e){var t;return !!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:de$1)!==React.Fragment||React__default["default"].Children.count(e.children)===1}let w$9=React.createContext(null);w$9.displayName="TransitionContext";var _e$1=(n=>(n.Visible="visible",n.Hidden="hidden",n))(_e$1||{});function De$1(){let e=React.useContext(w$9);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function He$1(){let e=React.useContext(M$8);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let M$8=React.createContext(null);M$8.displayName="NestingContext";function U$6(e){return "children"in e?U$6(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Te$1(e,t){let n=s$3(e),l=React.useRef([]),S=f$9(),R=p$7(),d=o$6((o,i=A$8.Hidden)=>{let a=l.current.findIndex(({el:s})=>s===o);a!==-1&&(u$9(i,{[A$8.Unmount](){l.current.splice(a,1);},[A$8.Hidden](){l.current[a].state="hidden";}}),R.microTask(()=>{var s;!U$6(l)&&S.current&&((s=n.current)==null||s.call(n));}));}),y=o$6(o=>{let i=l.current.find(({el:a})=>a===o);return i?i.state!=="visible"&&(i.state="visible"):l.current.push({el:o,state:"visible"}),()=>d(o,A$8.Unmount)}),p=React.useRef([]),c=React.useRef(Promise.resolve()),C=React.useRef({enter:[],leave:[]}),h=o$6((o,i,a)=>{p.current.splice(0),t&&(t.chains.current[i]=t.chains.current[i].filter(([s])=>s!==o)),t==null||t.chains.current[i].push([o,new Promise(s=>{p.current.push(s);})]),t==null||t.chains.current[i].push([o,new Promise(s=>{Promise.all(C.current[i].map(([r,f])=>f)).then(()=>s());})]),i==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>a(i)):a(i);}),g=o$6((o,i,a)=>{Promise.all(C.current[i].splice(0).map(([s,r])=>r)).then(()=>{var s;(s=p.current.shift())==null||s();}).then(()=>a(i));});return React.useMemo(()=>({children:l,register:y,unregister:d,onStart:h,onStop:g,wait:c,chains:C}),[y,d,l,h,g,C,c])}let de$1=React.Fragment,fe$1=O$9.RenderStrategy;function Ae$1(e,t){var ee,te;let{transition:n=!0,beforeEnter:l,afterEnter:S,beforeLeave:R,afterLeave:d,enter:y,enterFrom:p,enterTo:c,entered:C,leave:h,leaveFrom:g,leaveTo:o,...i}=e,[a,s]=React.useState(null),r=React.useRef(null),f=ue$1(e),j=y$9(...f?[r,t,s]:t===null?[]:[t]),H=(ee=i.unmount)==null||ee?A$8.Unmount:A$8.Hidden,{show:u,appear:z,initial:K}=De$1(),[v,G]=React.useState(u?"visible":"hidden"),Q=He$1(),{register:A,unregister:I}=Q;n$8(()=>A(r),[A,r]),n$8(()=>{if(H===A$8.Hidden&&r.current){if(u&&v!=="visible"){G("visible");return}return u$9(v,{["hidden"]:()=>I(r),["visible"]:()=>A(r)})}},[v,r,A,I,u,H]);let B=l$6();n$8(()=>{if(f&&B&&v==="visible"&&r.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[r,v,B,f]);let ce=K&&!z,Y=z&&u&&K,W=React.useRef(!1),L=Te$1(()=>{W.current||(G("hidden"),I(r));},Q),Z=o$6(k=>{W.current=!0;let F=k?"enter":"leave";L.onStart(r,F,_=>{_==="enter"?l==null||l():_==="leave"&&(R==null||R());});}),$=o$6(k=>{let F=k?"enter":"leave";W.current=!1,L.onStop(r,F,_=>{_==="enter"?S==null||S():_==="leave"&&(d==null||d());}),F==="leave"&&!U$6(L)&&(G("hidden"),I(r));});React.useEffect(()=>{f&&n||(Z(u),$(u));},[u,f,n]);let pe=(()=>!(!n||!f||!B||ce))(),[,T]=x$c(pe,a,u,{start:Z,end:$}),Ce=m$9({ref:j,className:((te=t$4(i.className,Y&&y,Y&&p,T.enter&&y,T.enter&&T.closed&&p,T.enter&&!T.closed&&c,T.leave&&h,T.leave&&!T.closed&&g,T.leave&&T.closed&&o,!T.transition&&u&&C))==null?void 0:te.trim())||void 0,...R$8(T)}),N=0;v==="visible"&&(N|=i$2.Open),v==="hidden"&&(N|=i$2.Closed),T.enter&&(N|=i$2.Opening),T.leave&&(N|=i$2.Closing);let he=L$8();return React__default["default"].createElement(M$8.Provider,{value:L},React__default["default"].createElement(c$8,{value:N},he({ourProps:Ce,theirProps:i,defaultTag:de$1,features:fe$1,visible:v==="visible",name:"Transition.Child"})))}function Ie$1(e,t){let{show:n,appear:l=!1,unmount:S=!0,...R}=e,d=React.useRef(null),y=ue$1(e),p=y$9(...y?[d,t]:t===null?[]:[t]);l$6();let c=u$7();if(n===void 0&&c!==null&&(n=(c&i$2.Open)===i$2.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[C,h]=React.useState(n?"visible":"hidden"),g=Te$1(()=>{n||h("hidden");}),[o,i]=React.useState(!0),a=React.useRef([n]);n$8(()=>{o!==!1&&a.current[a.current.length-1]!==n&&(a.current.push(n),i(!1));},[a,n]);let s=React.useMemo(()=>({show:n,appear:l,initial:o}),[n,l,o]);n$8(()=>{n?h("visible"):!U$6(g)&&d.current!==null&&h("hidden");},[n,g]);let r={unmount:S},f=o$6(()=>{var u;o&&i(!1),(u=e.beforeEnter)==null||u.call(e);}),j=o$6(()=>{var u;o&&i(!1),(u=e.beforeLeave)==null||u.call(e);}),H=L$8();return React__default["default"].createElement(M$8.Provider,{value:g},React__default["default"].createElement(w$9.Provider,{value:s},H({ourProps:{...r,as:React.Fragment,children:React__default["default"].createElement(me$1,{ref:p,...r,...R,beforeEnter:f,beforeLeave:j})},theirProps:{},defaultTag:React.Fragment,features:fe$1,visible:C==="visible",name:"Transition"})))}function Le$1(e,t){let n=React.useContext(w$9)!==null,l=u$7()!==null;return React__default["default"].createElement(React__default["default"].Fragment,null,!n&&l?React__default["default"].createElement(X$5,{ref:t,...e}):React__default["default"].createElement(me$1,{ref:t,...e}))}let X$5=K$5(Ie$1),me$1=K$5(Ae$1),Fe$1=K$5(Le$1),ze$1=Object.assign(X$5,{Child:Fe$1,Root:X$5});
|
|
66804
66804
|
|
|
66805
66805
|
function TransitionDropdown(_a) {
|
|
66806
66806
|
var visibility = _a.visibility, children = _a.children;
|
|
@@ -67887,12 +67887,12 @@ function _objectWithoutPropertiesLoose$1(r, e) {
|
|
|
67887
67887
|
* This source code is licensed under the MIT license found in the
|
|
67888
67888
|
* LICENSE file in the root directory of this source tree.
|
|
67889
67889
|
*/
|
|
67890
|
-
var b$a=60103,c$7=60106,d$7=60107,e$4=60108,f$8=60114,g$
|
|
67891
|
-
if("function"===typeof Symbol&&Symbol.for){var x$b=Symbol.for;b$a=x$b("react.element");c$7=x$b("react.portal");d$7=x$b("react.fragment");e$4=x$b("react.strict_mode");f$8=x$b("react.profiler");g$
|
|
67892
|
-
function y$
|
|
67893
|
-
var Suspense$1=I$8;var isAsyncMode$1=function(){return !1};var isConcurrentMode$1=function(){return !1};var isContextConsumer$1=function(a){return y$
|
|
67894
|
-
var isPortal$1=function(a){return y$
|
|
67895
|
-
var typeOf$1=y$
|
|
67890
|
+
var b$a=60103,c$7=60106,d$7=60107,e$4=60108,f$8=60114,g$a=60109,h$8=60110,k$b=60112,l$5=60113,m$8=60120,n$6=60115,p$6=60116,q$7=60121,r$3=60122,u$6=60117,v$8=60129,w$8=60131;
|
|
67891
|
+
if("function"===typeof Symbol&&Symbol.for){var x$b=Symbol.for;b$a=x$b("react.element");c$7=x$b("react.portal");d$7=x$b("react.fragment");e$4=x$b("react.strict_mode");f$8=x$b("react.profiler");g$a=x$b("react.provider");h$8=x$b("react.context");k$b=x$b("react.forward_ref");l$5=x$b("react.suspense");m$8=x$b("react.suspense_list");n$6=x$b("react.memo");p$6=x$b("react.lazy");q$7=x$b("react.block");r$3=x$b("react.server.block");u$6=x$b("react.fundamental");v$8=x$b("react.debug_trace_mode");w$8=x$b("react.legacy_hidden");}
|
|
67892
|
+
function y$8(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b$a:switch(a=a.type,a){case d$7:case f$8:case e$4:case l$5:case m$8:return a;default:switch(a=a&&a.$$typeof,a){case h$8:case k$b:case p$6:case n$6:case g$a:return a;default:return t}}case c$7:return t}}}var z$6=g$a,A$7=b$a,B$6=k$b,C$9=d$7,D$8=p$6,E$a=n$6,F$5=c$7,G$5=f$8,H$6=e$4,I$8=l$5;var ContextConsumer$1=h$8;var ContextProvider$1=z$6;var Element$2=A$7;var ForwardRef$1=B$6;var Fragment$1=C$9;var Lazy$1=D$8;var Memo$1=E$a;var Portal$6=F$5;var Profiler$1=G$5;var StrictMode$1=H$6;
|
|
67893
|
+
var Suspense$1=I$8;var isAsyncMode$1=function(){return !1};var isConcurrentMode$1=function(){return !1};var isContextConsumer$1=function(a){return y$8(a)===h$8};var isContextProvider$1=function(a){return y$8(a)===g$a};var isElement$2=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b$a};var isForwardRef$1=function(a){return y$8(a)===k$b};var isFragment$1=function(a){return y$8(a)===d$7};var isLazy$1=function(a){return y$8(a)===p$6};var isMemo$1=function(a){return y$8(a)===n$6};
|
|
67894
|
+
var isPortal$1=function(a){return y$8(a)===c$7};var isProfiler$1=function(a){return y$8(a)===f$8};var isStrictMode$1=function(a){return y$8(a)===e$4};var isSuspense$1=function(a){return y$8(a)===l$5};var isValidElementType$1=function(a){return "string"===typeof a||"function"===typeof a||a===d$7||a===f$8||a===v$8||a===e$4||a===l$5||a===m$8||a===w$8||"object"===typeof a&&null!==a&&(a.$$typeof===p$6||a.$$typeof===n$6||a.$$typeof===g$a||a.$$typeof===h$8||a.$$typeof===k$b||a.$$typeof===u$6||a.$$typeof===q$7||a[0]===r$3)?!0:!1};
|
|
67895
|
+
var typeOf$1=y$8;
|
|
67896
67896
|
|
|
67897
67897
|
var reactIs_production_min$1 = {
|
|
67898
67898
|
ContextConsumer: ContextConsumer$1,
|
|
@@ -78019,10 +78019,10 @@ var Backdrop = function (_a) {
|
|
|
78019
78019
|
_b)) }, { children: children })));
|
|
78020
78020
|
};
|
|
78021
78021
|
|
|
78022
|
-
const c$6=e=>"number"==typeof e&&!isNaN(e),d$6=e=>"string"==typeof e,u$5=e=>"function"==typeof e,p$5=e=>d$6(e)||u$5(e)?e:null,m$7=e=>React.isValidElement(e)||d$6(e)||u$5(e)||c$6(e);function f$7(e,t,n){void 0===n&&(n=300);const{scrollHeight:o,style:s}=e;requestAnimationFrame(()=>{s.minHeight="initial",s.height=o+"px",s.transition=`all ${n}ms`,requestAnimationFrame(()=>{s.height="0",s.padding="0",s.margin="0",setTimeout(t,n);});});}function g$8(t){let{enter:a,exit:r,appendPosition:i=!1,collapse:l=!0,collapseDuration:c=300}=t;return function(t){let{children:d,position:u,preventExitTransition:p,done:m,nodeRef:g,isIn:y,playToast:v}=t;const h=i?`${a}--${u}`:a,T=i?`${r}--${u}`:r,E=React.useRef(0);return React.useLayoutEffect(()=>{const e=g.current,t=h.split(" "),n=o=>{o.target===g.current&&(v(),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===E.current&&"animationcancel"!==o.type&&e.classList.remove(...t));};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n);},[]),React.useEffect(()=>{const e=g.current,t=()=>{e.removeEventListener("animationend",t),l?f$7(e,m,c):m();};y||(p?t():(E.current=1,e.className+=` ${T}`,e.addEventListener("animationend",t)));},[y]),React__default["default"].createElement(React__default["default"].Fragment,null,d)}}function y$6(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const v$7=new Map;let h$7=[];const T$5=new Set,E$8=e=>T$5.forEach(t=>t(e)),b$9=()=>v$7.size>0;function I$7(e,t){var n;if(t)return !(null==(n=v$7.get(t))||!n.isToastActive(e));let o=!1;return v$7.forEach(t=>{t.isToastActive(e)&&(o=!0);}),o}function _$7(e,t){m$7(e)&&(b$9()||h$7.push({content:e,options:t}),v$7.forEach(n=>{n.buildToast(e,t);}));}function C$7(e,t){v$7.forEach(n=>{null!=t&&null!=t&&t.containerId?(null==t?void 0:t.containerId)===n.id&&n.toggle(e,null==t?void 0:t.id):n.toggle(e,null==t?void 0:t.id);});}function L$6(e){const{subscribe:o,getSnapshot:s,setProps:i}=React.useRef(function(e){const n=e.containerId||1;return {subscribe(o){const s=function(e,n,o){let s=1,r=0,i=[],l=[],f=[],g=n;const v=new Map,h=new Set,T=()=>{f=Array.from(v.values()),h.forEach(e=>e());},E=e=>{l=null==e?[]:l.filter(t=>t!==e),T();},b=e=>{const{toastId:n,onOpen:s,updateId:a,children:r}=e.props,i=null==a;e.staleId&&v.delete(e.staleId),v.set(n,e),l=[...l,e.props.toastId].filter(t=>t!==e.staleId),T(),o(y$6(e,i?"added":"updated")),i&&u$5(s)&&s(React.isValidElement(r)&&r.props);};return {id:e,props:g,observe:e=>(h.add(e),()=>h.delete(e)),toggle:(e,t)=>{v.forEach(n=>{null!=t&&t!==n.props.toastId||u$5(n.toggle)&&n.toggle(e);});},removeToast:E,toasts:v,clearQueue:()=>{r-=i.length,i=[];},buildToast:(n,l)=>{if((t=>{let{containerId:n,toastId:o,updateId:s}=t;const a=n?n!==e:1!==e,r=v.has(o)&&null==s;return a||r})(l))return;const{toastId:f,updateId:h,data:I,staleId:_,delay:C}=l,L=()=>{E(f);},N=null==h;N&&r++;const $={...g,style:g.toastStyle,key:s++,...Object.fromEntries(Object.entries(l).filter(e=>{let[t,n]=e;return null!=n})),toastId:f,updateId:h,data:I,closeToast:L,isIn:!1,className:p$5(l.className||g.toastClassName),bodyClassName:p$5(l.bodyClassName||g.bodyClassName),progressClassName:p$5(l.progressClassName||g.progressClassName),autoClose:!l.isLoading&&(w=l.autoClose,k=g.autoClose,!1===w||c$6(w)&&w>0?w:k),deleteToast(){const e=v.get(f),{onClose:n,children:s}=e.props;u$5(n)&&n(React.isValidElement(s)&&s.props),o(y$6(e,"removed")),v.delete(f),r--,r<0&&(r=0),i.length>0?b(i.shift()):T();}};var w,k;$.closeButton=g.closeButton,!1===l.closeButton||m$7(l.closeButton)?$.closeButton=l.closeButton:!0===l.closeButton&&($.closeButton=!m$7(g.closeButton)||g.closeButton);let P=n;React.isValidElement(n)&&!d$6(n.type)?P=React.cloneElement(n,{closeToast:L,toastProps:$,data:I}):u$5(n)&&(P=n({closeToast:L,toastProps:$,data:I}));const M={content:P,props:$,staleId:_};g.limit&&g.limit>0&&r>g.limit&&N?i.push(M):c$6(C)?setTimeout(()=>{b(M);},C):b(M);},setProps(e){g=e;},setToggle:(e,t)=>{v.get(e).toggle=t;},isToastActive:e=>l.some(t=>t===e),getSnapshot:()=>f}}(n,e,E$8);v$7.set(n,s);const r=s.observe(o);return h$7.forEach(e=>_$7(e.content,e.options)),h$7=[],()=>{r(),v$7.delete(n);}},setProps(e){var t;null==(t=v$7.get(n))||t.setProps(e);},getSnapshot(){var e;return null==(e=v$7.get(n))?void 0:e.getSnapshot()}}}(e)).current;i(e);const l=React.useSyncExternalStore(o,s,s);return {getToastToRender:function(t){if(!l)return [];const n=new Map;return e.newestOnTop&&l.reverse(),l.forEach(e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e);}),Array.from(n,e=>t(e[0],e[1]))},isToastActive:I$7,count:null==l?void 0:l.length}}function N$8(e){const[t,o]=React.useState(!1),[a,r]=React.useState(!1),l=React.useRef(null),c=React.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:d,pauseOnHover:u,closeToast:p,onClick:m,closeOnClick:f}=e;var g,y;function h(){o(!0);}function T(){o(!1);}function E(n){const o=l.current;c.canDrag&&o&&(c.didMove=!0,t&&T(),c.delta="x"===e.draggableDirection?n.clientX-c.start:n.clientY-c.start,c.start!==n.clientX&&(c.canCloseOnClick=!1),o.style.transform=`translate3d(${"x"===e.draggableDirection?`${c.delta}px, var(--y)`:`0, calc(${c.delta}px + var(--y))`},0)`,o.style.opacity=""+(1-Math.abs(c.delta/c.removalDistance)));}function b(){document.removeEventListener("pointermove",E),document.removeEventListener("pointerup",b);const t=l.current;if(c.canDrag&&c.didMove&&t){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance)return r(!0),e.closeToast(),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity");}}null==(y=v$7.get((g={id:e.toastId,containerId:e.containerId,fn:o}).containerId||1))||y.setToggle(g.id,g.fn),React.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||T(),window.addEventListener("focus",h),window.addEventListener("blur",T),()=>{window.removeEventListener("focus",h),window.removeEventListener("blur",T);}},[e.pauseOnFocusLoss]);const I={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){c.didMove=!1,document.addEventListener("pointermove",E),document.addEventListener("pointerup",b);const n=l.current;c.canCloseOnClick=!0,c.canDrag=!0,n.style.transition="none","x"===e.draggableDirection?(c.start=t.clientX,c.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(c.start=t.clientY,c.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100);}},onPointerUp:function(t){const{top:n,bottom:o,left:s,right:a}=l.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=s&&t.clientX<=a&&t.clientY>=n&&t.clientY<=o?T():h();}};return d&&u&&(I.onMouseEnter=T,e.stacked||(I.onMouseLeave=h)),f&&(I.onClick=e=>{m&&m(e),c.canCloseOnClick&&p();}),{playToast:h,pauseToast:T,isRunning:t,preventExitTransition:a,toastRef:l,eventHandlers:I}}function $$5(t){let{delay:n,isRunning:o,closeToast:s,type:a="default",hide:r,className:i,style:c,controlledProgress:d,progress:p,rtl:m,isIn:f,theme:g}=t;const y=r||d&&0===p,v={...c,animationDuration:`${n}ms`,animationPlayState:o?"running":"paused"};d&&(v.transform=`scaleX(${p})`);const h=clsx("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${g}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":m}),T=u$5(i)?i({rtl:m,type:a,defaultClassName:h}):clsx(h,i),E={[d&&p>=1?"onTransitionEnd":"onAnimationEnd"]:d&&p<1?null:()=>{f&&s();}};return React__default["default"].createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":y},React__default["default"].createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${g} Toastify__progress-bar--${a}`}),React__default["default"].createElement("div",{role:"progressbar","aria-hidden":y?"true":"false","aria-label":"notification timer",className:T,style:v,...E}))}let w$7=1;const k$a=()=>""+w$7++;function P$7(e){return e&&(d$6(e.toastId)||c$6(e.toastId))?e.toastId:k$a()}function M$7(e,t){return _$7(e,t),t.toastId}function x$a(e,t){return {...t,type:t&&t.type||e,toastId:P$7(t)}}function A$6(e){return (t,n)=>M$7(t,x$a(e,n))}function B$5(e,t){return M$7(e,x$a("default",t))}B$5.loading=(e,t)=>M$7(e,x$a("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),B$5.promise=function(e,t,n){let o,{pending:s,error:a,success:r}=t;s&&(o=d$6(s)?B$5.loading(s,n):B$5.loading(s.render,{...n,...s}));const i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,s)=>{if(null==t)return void B$5.dismiss(o);const a={type:e,...i,...n,data:s},r=d$6(t)?{render:t}:t;return o?B$5.update(o,{...a,...r}):B$5(r.render,{...a,...r}),s},c=u$5(e)?e():e;return c.then(e=>l("success",r,e)).catch(e=>l("error",a,e)),c},B$5.success=A$6("success"),B$5.info=A$6("info"),B$5.error=A$6("error"),B$5.warning=A$6("warning"),B$5.warn=B$5.warning,B$5.dark=(e,t)=>M$7(e,x$a("default",{theme:"dark",...t})),B$5.dismiss=function(e){!function(e){var t;if(b$9()){if(null==e||d$6(t=e)||c$6(t))v$7.forEach(t=>{t.removeToast(e);});else if(e&&("containerId"in e||"id"in e)){const t=v$7.get(e.containerId);t?t.removeToast(e.id):v$7.forEach(t=>{t.removeToast(e.id);});}}else h$7=h$7.filter(t=>null!=e&&t.options.toastId!==e);}(e);},B$5.clearWaitingQueue=function(e){void 0===e&&(e={}),v$7.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue();});},B$5.isActive=I$7,B$5.update=function(e,t){void 0===t&&(t={});const n=((e,t)=>{var n;let{containerId:o}=t;return null==(n=v$7.get(o||1))?void 0:n.toasts.get(e)})(e,t);if(n){const{props:o,content:s}=n,a={delay:100,...o,...t,toastId:t.toastId||e,updateId:k$a()};a.toastId!==e&&(a.staleId=e);const r=a.render||s;delete a.render,M$7(r,a);}},B$5.done=e=>{B$5.update(e,{progress:1});},B$5.onChange=function(e){return T$5.add(e),()=>{T$5.delete(e);}},B$5.play=e=>C$7(!0,e),B$5.pause=e=>C$7(!1,e);const O$7="undefined"!=typeof window?React.useLayoutEffect:React.useEffect,D$7=t=>{let{theme:n,type:o,isLoading:s,...a}=t;return React__default["default"].createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===n?"currentColor":`var(--toastify-icon-color-${o})`,...a})},z$5={info:function(t){return React__default["default"].createElement(D$7,{...t},React__default["default"].createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return React__default["default"].createElement(D$7,{...t},React__default["default"].createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return React__default["default"].createElement(D$7,{...t},React__default["default"].createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return React__default["default"].createElement(D$7,{...t},React__default["default"].createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return React__default["default"].createElement("div",{className:"Toastify__spinner"})}},R$7=n=>{const{isRunning:o,preventExitTransition:s,toastRef:r,eventHandlers:i,playToast:c}=N$8(n),{closeButton:d,children:p,autoClose:m,onClick:f,type:g,hideProgressBar:y,closeToast:v,transition:h,position:T,className:E,style:b,bodyClassName:I,bodyStyle:_,progressClassName:C,progressStyle:L,updateId:w,role:k,progress:P,rtl:M,toastId:x,deleteToast:A,isIn:B,isLoading:O,closeOnClick:D,theme:R}=n,S=clsx("Toastify__toast",`Toastify__toast-theme--${R}`,`Toastify__toast--${g}`,{"Toastify__toast--rtl":M},{"Toastify__toast--close-on-click":D}),H=u$5(E)?E({rtl:M,position:T,type:g,defaultClassName:S}):clsx(S,E),F=function(e){let{theme:n,type:o,isLoading:s,icon:r}=e,i=null;const l={theme:n,type:o};return !1===r||(u$5(r)?i=r({...l,isLoading:s}):React.isValidElement(r)?i=React.cloneElement(r,l):s?i=z$5.spinner():(e=>e in z$5)(o)&&(i=z$5[o](l))),i}(n),X=!!P||!m,Y={closeToast:v,type:g,theme:R};let q=null;return !1===d||(q=u$5(d)?d(Y):React.isValidElement(d)?React.cloneElement(d,Y):function(t){let{closeToast:n,theme:o,ariaLabel:s="close"}=t;return React__default["default"].createElement("button",{className:`Toastify__close-button Toastify__close-button--${o}`,type:"button",onClick:e=>{e.stopPropagation(),n(e);},"aria-label":s},React__default["default"].createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},React__default["default"].createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(Y)),React__default["default"].createElement(h,{isIn:B,done:A,position:T,preventExitTransition:s,nodeRef:r,playToast:c},React__default["default"].createElement("div",{id:x,onClick:f,"data-in":B,className:H,...i,style:b,ref:r},React__default["default"].createElement("div",{...B&&{role:k},className:u$5(I)?I({type:g}):clsx("Toastify__toast-body",I),style:_},null!=F&&React__default["default"].createElement("div",{className:clsx("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!O})},F),React__default["default"].createElement("div",null,p)),q,React__default["default"].createElement($$5,{...w&&!X?{key:`pb-${w}`}:{},rtl:M,theme:R,delay:m,isRunning:o,isIn:B,closeToast:v,hide:y,type:g,style:L,className:C,controlledProgress:X,progress:P||0})))},S$5=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},H$5=g$8(S$5("bounce",!0));g$8(S$5("slide",!0));g$8(S$5("zoom"));g$8(S$5("flip"));const q$6={position:"top-right",transition:H$5,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Q$4(t){let o={...q$6,...t};const s=t.stacked,[a,r]=React.useState(!0),c=React.useRef(null),{getToastToRender:d,isToastActive:m,count:f}=L$6(o),{className:g,style:y,rtl:v,containerId:h}=o;function T(e){const t=clsx("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":v});return u$5(g)?g({position:e,rtl:v,defaultClassName:t}):clsx(t,p$5(g))}function E(){s&&(r(!0),B$5.play());}return O$7(()=>{if(s){var e;const t=c.current.querySelectorAll('[data-in="true"]'),n=12,s=null==(e=o.position)?void 0:e.includes("top");let r=0,i=0;Array.from(t).reverse().forEach((e,t)=>{const o=e;o.classList.add("Toastify__toast--stacked"),t>0&&(o.dataset.collapsed=`${a}`),o.dataset.pos||(o.dataset.pos=s?"top":"bot");const l=r*(a?.2:1)+(a?0:n*t);o.style.setProperty("--y",`${s?l:-1*l}px`),o.style.setProperty("--g",`${n}`),o.style.setProperty("--s",""+(1-(a?i:0))),r+=o.offsetHeight,i+=.025;});}},[a,f,s]),React__default["default"].createElement("div",{ref:c,className:"Toastify",id:h,onMouseEnter:()=>{s&&(r(!1),B$5.pause());},onMouseLeave:E},d((t,n)=>{const o=n.length?{...y}:{...y,pointerEvents:"none"};return React__default["default"].createElement("div",{className:T(t),style:o,key:`container-${t}`},n.map(t=>{let{content:n,props:o}=t;return React__default["default"].createElement(R$7,{...o,stacked:s,collapseAll:E,isIn:m(o.toastId,o.containerId),style:o.style,key:`toast-${o.key}`},n)}))}))}
|
|
78022
|
+
const c$6=e=>"number"==typeof e&&!isNaN(e),d$6=e=>"string"==typeof e,u$5=e=>"function"==typeof e,p$5=e=>d$6(e)||u$5(e)?e:null,m$7=e=>React.isValidElement(e)||d$6(e)||u$5(e)||c$6(e);function f$7(e,t,n){void 0===n&&(n=300);const{scrollHeight:o,style:s}=e;requestAnimationFrame(()=>{s.minHeight="initial",s.height=o+"px",s.transition=`all ${n}ms`,requestAnimationFrame(()=>{s.height="0",s.padding="0",s.margin="0",setTimeout(t,n);});});}function g$9(t){let{enter:a,exit:r,appendPosition:i=!1,collapse:l=!0,collapseDuration:c=300}=t;return function(t){let{children:d,position:u,preventExitTransition:p,done:m,nodeRef:g,isIn:y,playToast:v}=t;const h=i?`${a}--${u}`:a,T=i?`${r}--${u}`:r,E=React.useRef(0);return React.useLayoutEffect(()=>{const e=g.current,t=h.split(" "),n=o=>{o.target===g.current&&(v(),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===E.current&&"animationcancel"!==o.type&&e.classList.remove(...t));};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n);},[]),React.useEffect(()=>{const e=g.current,t=()=>{e.removeEventListener("animationend",t),l?f$7(e,m,c):m();};y||(p?t():(E.current=1,e.className+=` ${T}`,e.addEventListener("animationend",t)));},[y]),React__default["default"].createElement(React__default["default"].Fragment,null,d)}}function y$7(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const v$7=new Map;let h$7=[];const T$5=new Set,E$9=e=>T$5.forEach(t=>t(e)),b$9=()=>v$7.size>0;function I$7(e,t){var n;if(t)return !(null==(n=v$7.get(t))||!n.isToastActive(e));let o=!1;return v$7.forEach(t=>{t.isToastActive(e)&&(o=!0);}),o}function _$8(e,t){m$7(e)&&(b$9()||h$7.push({content:e,options:t}),v$7.forEach(n=>{n.buildToast(e,t);}));}function C$8(e,t){v$7.forEach(n=>{null!=t&&null!=t&&t.containerId?(null==t?void 0:t.containerId)===n.id&&n.toggle(e,null==t?void 0:t.id):n.toggle(e,null==t?void 0:t.id);});}function L$6(e){const{subscribe:o,getSnapshot:s,setProps:i}=React.useRef(function(e){const n=e.containerId||1;return {subscribe(o){const s=function(e,n,o){let s=1,r=0,i=[],l=[],f=[],g=n;const v=new Map,h=new Set,T=()=>{f=Array.from(v.values()),h.forEach(e=>e());},E=e=>{l=null==e?[]:l.filter(t=>t!==e),T();},b=e=>{const{toastId:n,onOpen:s,updateId:a,children:r}=e.props,i=null==a;e.staleId&&v.delete(e.staleId),v.set(n,e),l=[...l,e.props.toastId].filter(t=>t!==e.staleId),T(),o(y$7(e,i?"added":"updated")),i&&u$5(s)&&s(React.isValidElement(r)&&r.props);};return {id:e,props:g,observe:e=>(h.add(e),()=>h.delete(e)),toggle:(e,t)=>{v.forEach(n=>{null!=t&&t!==n.props.toastId||u$5(n.toggle)&&n.toggle(e);});},removeToast:E,toasts:v,clearQueue:()=>{r-=i.length,i=[];},buildToast:(n,l)=>{if((t=>{let{containerId:n,toastId:o,updateId:s}=t;const a=n?n!==e:1!==e,r=v.has(o)&&null==s;return a||r})(l))return;const{toastId:f,updateId:h,data:I,staleId:_,delay:C}=l,L=()=>{E(f);},N=null==h;N&&r++;const $={...g,style:g.toastStyle,key:s++,...Object.fromEntries(Object.entries(l).filter(e=>{let[t,n]=e;return null!=n})),toastId:f,updateId:h,data:I,closeToast:L,isIn:!1,className:p$5(l.className||g.toastClassName),bodyClassName:p$5(l.bodyClassName||g.bodyClassName),progressClassName:p$5(l.progressClassName||g.progressClassName),autoClose:!l.isLoading&&(w=l.autoClose,k=g.autoClose,!1===w||c$6(w)&&w>0?w:k),deleteToast(){const e=v.get(f),{onClose:n,children:s}=e.props;u$5(n)&&n(React.isValidElement(s)&&s.props),o(y$7(e,"removed")),v.delete(f),r--,r<0&&(r=0),i.length>0?b(i.shift()):T();}};var w,k;$.closeButton=g.closeButton,!1===l.closeButton||m$7(l.closeButton)?$.closeButton=l.closeButton:!0===l.closeButton&&($.closeButton=!m$7(g.closeButton)||g.closeButton);let P=n;React.isValidElement(n)&&!d$6(n.type)?P=React.cloneElement(n,{closeToast:L,toastProps:$,data:I}):u$5(n)&&(P=n({closeToast:L,toastProps:$,data:I}));const M={content:P,props:$,staleId:_};g.limit&&g.limit>0&&r>g.limit&&N?i.push(M):c$6(C)?setTimeout(()=>{b(M);},C):b(M);},setProps(e){g=e;},setToggle:(e,t)=>{v.get(e).toggle=t;},isToastActive:e=>l.some(t=>t===e),getSnapshot:()=>f}}(n,e,E$9);v$7.set(n,s);const r=s.observe(o);return h$7.forEach(e=>_$8(e.content,e.options)),h$7=[],()=>{r(),v$7.delete(n);}},setProps(e){var t;null==(t=v$7.get(n))||t.setProps(e);},getSnapshot(){var e;return null==(e=v$7.get(n))?void 0:e.getSnapshot()}}}(e)).current;i(e);const l=React.useSyncExternalStore(o,s,s);return {getToastToRender:function(t){if(!l)return [];const n=new Map;return e.newestOnTop&&l.reverse(),l.forEach(e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e);}),Array.from(n,e=>t(e[0],e[1]))},isToastActive:I$7,count:null==l?void 0:l.length}}function N$8(e){const[t,o]=React.useState(!1),[a,r]=React.useState(!1),l=React.useRef(null),c=React.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:d,pauseOnHover:u,closeToast:p,onClick:m,closeOnClick:f}=e;var g,y;function h(){o(!0);}function T(){o(!1);}function E(n){const o=l.current;c.canDrag&&o&&(c.didMove=!0,t&&T(),c.delta="x"===e.draggableDirection?n.clientX-c.start:n.clientY-c.start,c.start!==n.clientX&&(c.canCloseOnClick=!1),o.style.transform=`translate3d(${"x"===e.draggableDirection?`${c.delta}px, var(--y)`:`0, calc(${c.delta}px + var(--y))`},0)`,o.style.opacity=""+(1-Math.abs(c.delta/c.removalDistance)));}function b(){document.removeEventListener("pointermove",E),document.removeEventListener("pointerup",b);const t=l.current;if(c.canDrag&&c.didMove&&t){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance)return r(!0),e.closeToast(),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity");}}null==(y=v$7.get((g={id:e.toastId,containerId:e.containerId,fn:o}).containerId||1))||y.setToggle(g.id,g.fn),React.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||T(),window.addEventListener("focus",h),window.addEventListener("blur",T),()=>{window.removeEventListener("focus",h),window.removeEventListener("blur",T);}},[e.pauseOnFocusLoss]);const I={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){c.didMove=!1,document.addEventListener("pointermove",E),document.addEventListener("pointerup",b);const n=l.current;c.canCloseOnClick=!0,c.canDrag=!0,n.style.transition="none","x"===e.draggableDirection?(c.start=t.clientX,c.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(c.start=t.clientY,c.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100);}},onPointerUp:function(t){const{top:n,bottom:o,left:s,right:a}=l.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=s&&t.clientX<=a&&t.clientY>=n&&t.clientY<=o?T():h();}};return d&&u&&(I.onMouseEnter=T,e.stacked||(I.onMouseLeave=h)),f&&(I.onClick=e=>{m&&m(e),c.canCloseOnClick&&p();}),{playToast:h,pauseToast:T,isRunning:t,preventExitTransition:a,toastRef:l,eventHandlers:I}}function $$5(t){let{delay:n,isRunning:o,closeToast:s,type:a="default",hide:r,className:i,style:c,controlledProgress:d,progress:p,rtl:m,isIn:f,theme:g}=t;const y=r||d&&0===p,v={...c,animationDuration:`${n}ms`,animationPlayState:o?"running":"paused"};d&&(v.transform=`scaleX(${p})`);const h=clsx("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${g}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":m}),T=u$5(i)?i({rtl:m,type:a,defaultClassName:h}):clsx(h,i),E={[d&&p>=1?"onTransitionEnd":"onAnimationEnd"]:d&&p<1?null:()=>{f&&s();}};return React__default["default"].createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":y},React__default["default"].createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${g} Toastify__progress-bar--${a}`}),React__default["default"].createElement("div",{role:"progressbar","aria-hidden":y?"true":"false","aria-label":"notification timer",className:T,style:v,...E}))}let w$7=1;const k$a=()=>""+w$7++;function P$7(e){return e&&(d$6(e.toastId)||c$6(e.toastId))?e.toastId:k$a()}function M$7(e,t){return _$8(e,t),t.toastId}function x$a(e,t){return {...t,type:t&&t.type||e,toastId:P$7(t)}}function A$6(e){return (t,n)=>M$7(t,x$a(e,n))}function B$5(e,t){return M$7(e,x$a("default",t))}B$5.loading=(e,t)=>M$7(e,x$a("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),B$5.promise=function(e,t,n){let o,{pending:s,error:a,success:r}=t;s&&(o=d$6(s)?B$5.loading(s,n):B$5.loading(s.render,{...n,...s}));const i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,s)=>{if(null==t)return void B$5.dismiss(o);const a={type:e,...i,...n,data:s},r=d$6(t)?{render:t}:t;return o?B$5.update(o,{...a,...r}):B$5(r.render,{...a,...r}),s},c=u$5(e)?e():e;return c.then(e=>l("success",r,e)).catch(e=>l("error",a,e)),c},B$5.success=A$6("success"),B$5.info=A$6("info"),B$5.error=A$6("error"),B$5.warning=A$6("warning"),B$5.warn=B$5.warning,B$5.dark=(e,t)=>M$7(e,x$a("default",{theme:"dark",...t})),B$5.dismiss=function(e){!function(e){var t;if(b$9()){if(null==e||d$6(t=e)||c$6(t))v$7.forEach(t=>{t.removeToast(e);});else if(e&&("containerId"in e||"id"in e)){const t=v$7.get(e.containerId);t?t.removeToast(e.id):v$7.forEach(t=>{t.removeToast(e.id);});}}else h$7=h$7.filter(t=>null!=e&&t.options.toastId!==e);}(e);},B$5.clearWaitingQueue=function(e){void 0===e&&(e={}),v$7.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue();});},B$5.isActive=I$7,B$5.update=function(e,t){void 0===t&&(t={});const n=((e,t)=>{var n;let{containerId:o}=t;return null==(n=v$7.get(o||1))?void 0:n.toasts.get(e)})(e,t);if(n){const{props:o,content:s}=n,a={delay:100,...o,...t,toastId:t.toastId||e,updateId:k$a()};a.toastId!==e&&(a.staleId=e);const r=a.render||s;delete a.render,M$7(r,a);}},B$5.done=e=>{B$5.update(e,{progress:1});},B$5.onChange=function(e){return T$5.add(e),()=>{T$5.delete(e);}},B$5.play=e=>C$8(!0,e),B$5.pause=e=>C$8(!1,e);const O$8="undefined"!=typeof window?React.useLayoutEffect:React.useEffect,D$7=t=>{let{theme:n,type:o,isLoading:s,...a}=t;return React__default["default"].createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===n?"currentColor":`var(--toastify-icon-color-${o})`,...a})},z$5={info:function(t){return React__default["default"].createElement(D$7,{...t},React__default["default"].createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return React__default["default"].createElement(D$7,{...t},React__default["default"].createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return React__default["default"].createElement(D$7,{...t},React__default["default"].createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return React__default["default"].createElement(D$7,{...t},React__default["default"].createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return React__default["default"].createElement("div",{className:"Toastify__spinner"})}},R$7=n=>{const{isRunning:o,preventExitTransition:s,toastRef:r,eventHandlers:i,playToast:c}=N$8(n),{closeButton:d,children:p,autoClose:m,onClick:f,type:g,hideProgressBar:y,closeToast:v,transition:h,position:T,className:E,style:b,bodyClassName:I,bodyStyle:_,progressClassName:C,progressStyle:L,updateId:w,role:k,progress:P,rtl:M,toastId:x,deleteToast:A,isIn:B,isLoading:O,closeOnClick:D,theme:R}=n,S=clsx("Toastify__toast",`Toastify__toast-theme--${R}`,`Toastify__toast--${g}`,{"Toastify__toast--rtl":M},{"Toastify__toast--close-on-click":D}),H=u$5(E)?E({rtl:M,position:T,type:g,defaultClassName:S}):clsx(S,E),F=function(e){let{theme:n,type:o,isLoading:s,icon:r}=e,i=null;const l={theme:n,type:o};return !1===r||(u$5(r)?i=r({...l,isLoading:s}):React.isValidElement(r)?i=React.cloneElement(r,l):s?i=z$5.spinner():(e=>e in z$5)(o)&&(i=z$5[o](l))),i}(n),X=!!P||!m,Y={closeToast:v,type:g,theme:R};let q=null;return !1===d||(q=u$5(d)?d(Y):React.isValidElement(d)?React.cloneElement(d,Y):function(t){let{closeToast:n,theme:o,ariaLabel:s="close"}=t;return React__default["default"].createElement("button",{className:`Toastify__close-button Toastify__close-button--${o}`,type:"button",onClick:e=>{e.stopPropagation(),n(e);},"aria-label":s},React__default["default"].createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},React__default["default"].createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(Y)),React__default["default"].createElement(h,{isIn:B,done:A,position:T,preventExitTransition:s,nodeRef:r,playToast:c},React__default["default"].createElement("div",{id:x,onClick:f,"data-in":B,className:H,...i,style:b,ref:r},React__default["default"].createElement("div",{...B&&{role:k},className:u$5(I)?I({type:g}):clsx("Toastify__toast-body",I),style:_},null!=F&&React__default["default"].createElement("div",{className:clsx("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!O})},F),React__default["default"].createElement("div",null,p)),q,React__default["default"].createElement($$5,{...w&&!X?{key:`pb-${w}`}:{},rtl:M,theme:R,delay:m,isRunning:o,isIn:B,closeToast:v,hide:y,type:g,style:L,className:C,controlledProgress:X,progress:P||0})))},S$5=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},H$5=g$9(S$5("bounce",!0));g$9(S$5("slide",!0));g$9(S$5("zoom"));g$9(S$5("flip"));const q$6={position:"top-right",transition:H$5,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Q$4(t){let o={...q$6,...t};const s=t.stacked,[a,r]=React.useState(!0),c=React.useRef(null),{getToastToRender:d,isToastActive:m,count:f}=L$6(o),{className:g,style:y,rtl:v,containerId:h}=o;function T(e){const t=clsx("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":v});return u$5(g)?g({position:e,rtl:v,defaultClassName:t}):clsx(t,p$5(g))}function E(){s&&(r(!0),B$5.play());}return O$8(()=>{if(s){var e;const t=c.current.querySelectorAll('[data-in="true"]'),n=12,s=null==(e=o.position)?void 0:e.includes("top");let r=0,i=0;Array.from(t).reverse().forEach((e,t)=>{const o=e;o.classList.add("Toastify__toast--stacked"),t>0&&(o.dataset.collapsed=`${a}`),o.dataset.pos||(o.dataset.pos=s?"top":"bot");const l=r*(a?.2:1)+(a?0:n*t);o.style.setProperty("--y",`${s?l:-1*l}px`),o.style.setProperty("--g",`${n}`),o.style.setProperty("--s",""+(1-(a?i:0))),r+=o.offsetHeight,i+=.025;});}},[a,f,s]),React__default["default"].createElement("div",{ref:c,className:"Toastify",id:h,onMouseEnter:()=>{s&&(r(!1),B$5.pause());},onMouseLeave:E},d((t,n)=>{const o=n.length?{...y}:{...y,pointerEvents:"none"};return React__default["default"].createElement("div",{className:T(t),style:o,key:`container-${t}`},n.map(t=>{let{content:n,props:o}=t;return React__default["default"].createElement(R$7,{...o,stacked:s,collapseAll:E,isIn:m(o.toastId,o.containerId),style:o.style,key:`toast-${o.key}`},n)}))}))}
|
|
78023
78023
|
|
|
78024
|
-
var css_248z$1 = ":root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74c3c;--toastify-color-transparent:#ffffffb3;--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-toast-width:320px;--toastify-toast-offset:16px;--toastify-toast-top:max(var(--toastify-toast-offset),env(safe-area-inset-top));--toastify-toast-right:max(var(--toastify-toast-offset),env(safe-area-inset-right));--toastify-toast-left:max(var(--toastify-toast-offset),env(safe-area-inset-left));--toastify-toast-bottom:max(var(--toastify-toast-offset),env(safe-area-inset-bottom));--toastify-toast-background:#fff;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-toast-bd-radius:6px;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error);--toastify-color-progress-bgo:0.2}.Toastify__toast-container{box-sizing:border-box;color:#fff;padding:4px;position:fixed;-webkit-transform:translateZ(var(--toastify-z-index));width:var(--toastify-toast-width);z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:var(--toastify-toast-left);top:var(--toastify-toast-top)}.Toastify__toast-container--top-center{left:50%;top:var(--toastify-toast-top);transform:translateX(-50%)}.Toastify__toast-container--top-right{right:var(--toastify-toast-right);top:var(--toastify-toast-top)}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translateX(-50%)}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right)}@media only screen and (max-width:480px){.Toastify__toast-container{left:env(safe-area-inset-left);margin:0;padding:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translateX(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translateX(0)}.Toastify__toast-container--rtl{left:auto;right:env(safe-area-inset-right)}}.Toastify__toast{--y:0;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;box-sizing:border-box;cursor:default;direction:ltr;display:flex;font-family:var(--toastify-font-family);justify-content:space-between;margin-bottom:1rem;max-height:var(--toastify-toast-max-height);min-height:var(--toastify-toast-min-height);overflow:hidden;padding:8px;position:relative;touch-action:none;z-index:0}.Toastify__toast--stacked{position:absolute;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s;width:100%}.Toastify__toast--stacked[data-collapsed] .Toastify__close-button,.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{bottom:100%;content:\"\";height:calc(var(--g)*1px);left:0;position:absolute;right:0}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{bottom:0;content:\"\";height:100%;left:0;position:absolute;right:0;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{align-items:center;display:flex;flex:1 1 auto;margin:auto 0;padding:6px}.Toastify__toast-body>div:last-child{flex:1;word-break:break-word}.Toastify__toast-icon{display:flex;flex-shrink:0;margin-inline-end:10px;width:20px}.Toastify--animate{animation-duration:.5s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}@media only screen and (max-width:480px){.Toastify__toast{border-radius:0;margin-bottom:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:var(--toastify-color-info);color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:var(--toastify-color-success);color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:var(--toastify-color-warning);color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:var(--toastify-color-error);color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:var(--toastify-color-transparent)}.Toastify__close-button{align-self:flex-start;background:#0000;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;transition:.3s ease;z-index:1}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{border-bottom-left-radius:var(--toastify-toast-bd-radius);bottom:0;height:100%;left:0;opacity:.7;position:absolute;transform-origin:left;width:100%;z-index:var(--toastify-z-index)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{border-bottom-left-radius:0;border-bottom-right-radius:var(--toastify-toast-bd-radius);left:auto;right:0;transform-origin:right}.Toastify__progress-bar--wrp{border-bottom-left-radius:var(--toastify-toast-bd-radius);bottom:0;height:5px;left:0;position:absolute;width:100%}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{height:100%;opacity:var(--toastify-color-progress-bgo);width:100%}.Toastify__spinner{animation:Toastify__spin .65s linear infinite;border:2px solid;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right-color:var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{animation-timing-function:ease-in;opacity:0;transform:perspective(400px) rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;transform:perspective(400px) rotateX(10deg)}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{opacity:1;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg)}to{opacity:0;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(-110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{animation-duration:.3s;animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{animation-duration:.3s;animation-name:Toastify__slideOutRight;animation-timing-function:ease-in}.Toastify__slide-exit--top-center{animation-duration:.3s;animation-name:Toastify__slideOutUp;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-center{animation-duration:.3s;animation-name:Toastify__slideOutDown;animation-timing-function:ease-in}@keyframes Toastify__spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}";
|
|
78025
|
-
styleInject(css_248z$
|
|
78024
|
+
var css_248z$2 = ":root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74c3c;--toastify-color-transparent:#ffffffb3;--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-toast-width:320px;--toastify-toast-offset:16px;--toastify-toast-top:max(var(--toastify-toast-offset),env(safe-area-inset-top));--toastify-toast-right:max(var(--toastify-toast-offset),env(safe-area-inset-right));--toastify-toast-left:max(var(--toastify-toast-offset),env(safe-area-inset-left));--toastify-toast-bottom:max(var(--toastify-toast-offset),env(safe-area-inset-bottom));--toastify-toast-background:#fff;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-toast-bd-radius:6px;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error);--toastify-color-progress-bgo:0.2}.Toastify__toast-container{box-sizing:border-box;color:#fff;padding:4px;position:fixed;-webkit-transform:translateZ(var(--toastify-z-index));width:var(--toastify-toast-width);z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:var(--toastify-toast-left);top:var(--toastify-toast-top)}.Toastify__toast-container--top-center{left:50%;top:var(--toastify-toast-top);transform:translateX(-50%)}.Toastify__toast-container--top-right{right:var(--toastify-toast-right);top:var(--toastify-toast-top)}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translateX(-50%)}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right)}@media only screen and (max-width:480px){.Toastify__toast-container{left:env(safe-area-inset-left);margin:0;padding:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translateX(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translateX(0)}.Toastify__toast-container--rtl{left:auto;right:env(safe-area-inset-right)}}.Toastify__toast{--y:0;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;box-sizing:border-box;cursor:default;direction:ltr;display:flex;font-family:var(--toastify-font-family);justify-content:space-between;margin-bottom:1rem;max-height:var(--toastify-toast-max-height);min-height:var(--toastify-toast-min-height);overflow:hidden;padding:8px;position:relative;touch-action:none;z-index:0}.Toastify__toast--stacked{position:absolute;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s;width:100%}.Toastify__toast--stacked[data-collapsed] .Toastify__close-button,.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{bottom:100%;content:\"\";height:calc(var(--g)*1px);left:0;position:absolute;right:0}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{bottom:0;content:\"\";height:100%;left:0;position:absolute;right:0;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{align-items:center;display:flex;flex:1 1 auto;margin:auto 0;padding:6px}.Toastify__toast-body>div:last-child{flex:1;word-break:break-word}.Toastify__toast-icon{display:flex;flex-shrink:0;margin-inline-end:10px;width:20px}.Toastify--animate{animation-duration:.5s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}@media only screen and (max-width:480px){.Toastify__toast{border-radius:0;margin-bottom:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:var(--toastify-color-info);color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:var(--toastify-color-success);color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:var(--toastify-color-warning);color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:var(--toastify-color-error);color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:var(--toastify-color-transparent)}.Toastify__close-button{align-self:flex-start;background:#0000;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;transition:.3s ease;z-index:1}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{border-bottom-left-radius:var(--toastify-toast-bd-radius);bottom:0;height:100%;left:0;opacity:.7;position:absolute;transform-origin:left;width:100%;z-index:var(--toastify-z-index)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{border-bottom-left-radius:0;border-bottom-right-radius:var(--toastify-toast-bd-radius);left:auto;right:0;transform-origin:right}.Toastify__progress-bar--wrp{border-bottom-left-radius:var(--toastify-toast-bd-radius);bottom:0;height:5px;left:0;position:absolute;width:100%}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{height:100%;opacity:var(--toastify-color-progress-bgo);width:100%}.Toastify__spinner{animation:Toastify__spin .65s linear infinite;border:2px solid;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right-color:var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{animation-timing-function:ease-in;opacity:0;transform:perspective(400px) rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;transform:perspective(400px) rotateX(10deg)}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{opacity:1;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg)}to{opacity:0;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(-110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{animation-duration:.3s;animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{animation-duration:.3s;animation-name:Toastify__slideOutRight;animation-timing-function:ease-in}.Toastify__slide-exit--top-center{animation-duration:.3s;animation-name:Toastify__slideOutUp;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-center{animation-duration:.3s;animation-name:Toastify__slideOutDown;animation-timing-function:ease-in}@keyframes Toastify__spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}";
|
|
78025
|
+
styleInject(css_248z$2);
|
|
78026
78026
|
|
|
78027
78027
|
function sendToast(data) {
|
|
78028
78028
|
if (data === void 0) { data = { status: "", message: "" }; }
|
|
@@ -78160,8 +78160,8 @@ var MenuItemTitle = function (_a) {
|
|
|
78160
78160
|
_b)) }, { children: jsxRuntime.jsx(MIContext, { icon: icon, name: name, badge: badge }) })));
|
|
78161
78161
|
};
|
|
78162
78162
|
|
|
78163
|
-
var css_248z = ".sidebar_nav_scrollbar::-webkit-scrollbar{width:5px}.sidebar_nav_scrollbar::-webkit-scrollbar-track{background:#002129}.sidebar_nav_scrollbar::-webkit-scrollbar-thumb{background:#009703;border-radius:10px}";
|
|
78164
|
-
styleInject(css_248z);
|
|
78163
|
+
var css_248z$1 = ".sidebar_nav_scrollbar::-webkit-scrollbar{width:5px}.sidebar_nav_scrollbar::-webkit-scrollbar-track{background:#002129}.sidebar_nav_scrollbar::-webkit-scrollbar-thumb{background:#009703;border-radius:10px}";
|
|
78164
|
+
styleInject(css_248z$1);
|
|
78165
78165
|
|
|
78166
78166
|
function Sidebar(_a) {
|
|
78167
78167
|
var data = _a.data;
|
|
@@ -78253,7 +78253,7 @@ var Header = function (_a) {
|
|
|
78253
78253
|
fixed: position === "fixed",
|
|
78254
78254
|
sticky: position === "sticky",
|
|
78255
78255
|
"flex flex-row items-center top-0 w-full h-fit z-50 min-h-[50px]": true,
|
|
78256
|
-
"border-b border-eui-dark-500/40 dark:border-eui-secondary-500 eui-bg-md":
|
|
78256
|
+
"border-b border-eui-dark-500/40 dark:border-eui-secondary-500 eui-bg-md": true
|
|
78257
78257
|
},
|
|
78258
78258
|
_b["".concat(styles)] = styles,
|
|
78259
78259
|
_b)) }, { children: jsxRuntime.jsx("div", __assign$1({ className: "w-full" }, { children: children ? (children) : (jsxRuntime.jsxs("div", __assign$1({ className: "flex flex-row w-full items-center justify-between px-4" }, { children: [jsxRuntime.jsx("div", { children: "Header" }), jsxRuntime.jsx(ThemeSwitch, {})] }))) })) })));
|
|
@@ -78296,6 +78296,9 @@ var Footer = function (_a) {
|
|
|
78296
78296
|
_b)) }, { children: children ? (children) : (jsxRuntime.jsx("div", __assign$1({ className: "px-4 py-3" }, { children: jsxRuntime.jsx("div", { children: "Footer" }) }))) })));
|
|
78297
78297
|
};
|
|
78298
78298
|
|
|
78299
|
+
var css_248z = "*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.top-0{top:0}.top-3{top:.75rem}.top-\\[-20px\\]{top:-20px}.top-\\[0\\.7px\\]{top:.7px}.top-\\[10px\\]{top:10px}.top-\\[13px\\]{top:13px}.top-\\[16px\\]{top:16px}.top-\\[2px\\]{top:2px}.top-full{top:100%}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.col-span-5{grid-column:span 5/span 5}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mb-10{margin-bottom:2.5rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-12{height:3rem}.h-16{height:4rem}.h-20{height:5rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[10px\\]{height:10px}.h-\\[130px\\]{height:130px}.h-\\[200px\\]{height:200px}.h-\\[20px\\]{height:20px}.h-\\[300px\\]{height:300px}.h-\\[40px\\]{height:40px}.h-\\[50px\\]{height:50px}.h-\\[60px\\]{height:60px}.h-\\[90px\\]{height:90px}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-screen{max-height:100vh}.min-h-10{min-height:2.5rem}.min-h-3{min-height:.75rem}.min-h-4{min-height:1rem}.min-h-6{min-height:1.5rem}.min-h-8{min-height:2rem}.min-h-\\[50px\\]{min-height:50px}.min-h-screen{min-height:100vh}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\\[160px\\]{width:160px}.w-\\[300px\\]{width:300px}.w-\\[40px\\]{width:40px}.w-\\[60px\\]{width:60px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-10{min-width:2.5rem}.min-w-3{min-width:.75rem}.min-w-4{min-width:1rem}.min-w-5{min-width:1.25rem}.min-w-6{min-width:1.5rem}.min-w-8{min-width:2rem}.min-w-80{min-width:20rem}.min-w-\\[120px\\]{min-width:120px}.min-w-full{min-width:100%}.max-w-\\[500px\\]{max-width:500px}.max-w-md{max-width:28rem}.flex-shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.-translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y:-100%}.translate-x-0{--tw-translate-x:0px}.translate-x-0,.translate-x-8{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-8{--tw-translate-x:2rem}.translate-x-full{--tw-translate-x:100%}.translate-x-full,.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.translate-y-6{--tw-translate-y:1.5rem}.translate-y-6,.translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y:100%}.rotate-180{--tw-rotate:180deg}.rotate-180,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.scale-95,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.snap-y{scroll-snap-type:y var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-\\[2px\\]{gap:2px}.gap-\\[3px\\]{gap:3px}.gap-\\[4px\\]{gap:4px}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-\\[3px\\]{border-width:3px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-b-4{border-bottom-width:4px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\\[\\#0b6b05\\]{--tw-border-opacity:1;border-color:rgb(11 107 5/var(--tw-border-opacity,1))}.border-eui-danger-500{--tw-border-opacity:1;border-color:rgb(220 53 69/var(--tw-border-opacity,1))}.border-eui-dark-300\\/10{border-color:#575c5f1a}.border-eui-dark-300\\/30{border-color:#575c5f4d}.border-eui-dark-400\\/80{border-color:#404547cc}.border-eui-dark-500{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity,1))}.border-eui-dark-500\\/20{border-color:#21252933}.border-eui-dark-500\\/40{border-color:#21252966}.border-eui-dark-500\\/80{border-color:#212529cc}.border-eui-dark-800{--tw-border-opacity:1;border-color:rgb(13 14 16/var(--tw-border-opacity,1))}.border-eui-info-500{--tw-border-opacity:1;border-color:rgb(13 202 240/var(--tw-border-opacity,1))}.border-eui-info-800{--tw-border-opacity:1;border-color:rgb(5 76 96/var(--tw-border-opacity,1))}.border-eui-light-500{--tw-border-opacity:1;border-color:rgb(248 249 250/var(--tw-border-opacity,1))}.border-eui-light-800{--tw-border-opacity:1;border-color:rgb(98 98 99/var(--tw-border-opacity,1))}.border-eui-primary-400{--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.border-eui-primary-500{--tw-border-opacity:1;border-color:rgb(0 4 15/var(--tw-border-opacity,1))}.border-eui-primary-800{--tw-border-opacity:1;border-color:rgb(0 1 6/var(--tw-border-opacity,1))}.border-eui-secondary-500{--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.border-eui-secondary-800{--tw-border-opacity:1;border-color:rgb(16 122 0/var(--tw-border-opacity,1))}.border-eui-secondary-800\\/40{border-color:#107a0066}.border-eui-success-500{--tw-border-opacity:1;border-color:rgb(25 135 84/var(--tw-border-opacity,1))}.border-eui-success-800{--tw-border-opacity:1;border-color:rgb(10 50 31/var(--tw-border-opacity,1))}.border-eui-warning-500{--tw-border-opacity:1;border-color:rgb(255 193 7/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-gray-50{--tw-border-opacity:1;border-color:rgb(249 250 251/var(--tw-border-opacity,1))}.border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.border-gray-700{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.border-gray-700\\/80{border-color:#374151cc}.border-gray-800{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity,1))}.border-gray-800\\/70{border-color:#1f2937b3}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.border-red-800{--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity,1))}.border-slate-700{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.border-transparent{border-color:#0000}.border-yellow-800{--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity,1))}.border-b-eui-secondary-700{--tw-border-opacity:1;border-bottom-color:rgb(20 153 0/var(--tw-border-opacity,1))}.border-b-gray-700\\/50{border-bottom-color:#37415180}.border-b-transparent{border-bottom-color:#0000}.border-l-eui-dark-300{--tw-border-opacity:1;border-left-color:rgb(87 92 95/var(--tw-border-opacity,1))}.border-l-gray-400{--tw-border-opacity:1;border-left-color:rgb(156 163 175/var(--tw-border-opacity,1))}.border-l-gray-600{--tw-border-opacity:1;border-left-color:rgb(75 85 99/var(--tw-border-opacity,1))}.border-t-eui-dark-400\\/40{border-top-color:#40454766}.border-opacity-100{--tw-border-opacity:1}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\\/75{background-color:#000000bf}.bg-eui-dark-300\\/50{background-color:#575c5f80}.bg-eui-dark-500{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity,1))}.bg-eui-dark-500\\/10{background-color:#2125291a}.bg-eui-dark-600\\/20{background-color:#1a1d2033}.bg-eui-dark-900\\/90{background-color:#070708e6}.bg-eui-info-600\\/20{background-color:#0aa0c033}.bg-eui-light-600{--tw-bg-opacity:1;background-color:rgb(198 199 200/var(--tw-bg-opacity,1))}.bg-eui-light-600\\/20{background-color:#c6c7c833}.bg-eui-primary-300\\/10{background-color:#707a931a}.bg-eui-primary-600\\/20{background-color:#00030d33}.bg-eui-secondary-600\\/20{background-color:#17b80033}.bg-eui-success-600\\/20{background-color:#146b4233}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity,1))}.bg-gray-600\\/20{background-color:#4b556333}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.bg-gray-800\\/30{background-color:#1f29374d}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity,1))}.bg-gray-900\\/80{background-color:#111827cc}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity,1))}.bg-green-700\\/20{background-color:#15803d33}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-red-600\\/20{background-color:#dc262633}.bg-slate-900\\/50{background-color:#0f172a80}.bg-slate-900\\/70{background-color:#0f172ab3}.bg-transparent{background-color:initial}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity,1))}.bg-yellow-600\\/20{background-color:#ca8a0433}.bg-opacity-50{--tw-bg-opacity:0.5}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-eui-danger-600{--tw-gradient-from:#af2a37 var(--tw-gradient-from-position);--tw-gradient-to:#af2a3700 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-300\\/20{--tw-gradient-from:#575c5f33 var(--tw-gradient-from-position);--tw-gradient-to:#575c5f00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-500\\/10{--tw-gradient-from:#2125291a var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-dark-600{--tw-gradient-from:#1a1d20 var(--tw-gradient-from-position);--tw-gradient-to:#1a1d2000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-info-600{--tw-gradient-from:#0aa0c0 var(--tw-gradient-from-position);--tw-gradient-to:#0aa0c000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-light-600{--tw-gradient-from:#c6c7c8 var(--tw-gradient-from-position);--tw-gradient-to:#c6c7c800 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-primary-600{--tw-gradient-from:#00030d var(--tw-gradient-from-position);--tw-gradient-to:#00030d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-600{--tw-gradient-from:#17b800 var(--tw-gradient-from-position);--tw-gradient-to:#17b80000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-900\\/10{--tw-gradient-from:#0a5a001a var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-secondary-900\\/20{--tw-gradient-from:#0a5a0033 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-success-600{--tw-gradient-from:#146b42 var(--tw-gradient-from-position);--tw-gradient-to:#146b4200 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-eui-warning-600{--tw-gradient-from:#cc9905 var(--tw-gradient-from-position);--tw-gradient-to:#cc990500 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-green-700\\/10{--tw-gradient-from:#15803d1a var(--tw-gradient-from-position);--tw-gradient-to:#15803d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-800\\/70{--tw-gradient-from:#1e293bb3 var(--tw-gradient-from-position);--tw-gradient-to:#1e293b00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-900\\/50{--tw-gradient-from:#0f172a80 var(--tw-gradient-from-position);--tw-gradient-to:#0f172a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-900\\/70{--tw-gradient-from:#0f172ab3 var(--tw-gradient-from-position);--tw-gradient-to:#0f172a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-eui-danger-500{--tw-gradient-to:#dc3545 var(--tw-gradient-to-position)}.to-eui-dark-100\\/10{--tw-gradient-to:#868a8d1a var(--tw-gradient-to-position)}.to-eui-dark-500{--tw-gradient-to:#212529 var(--tw-gradient-to-position)}.to-eui-info-500{--tw-gradient-to:#0dcaf0 var(--tw-gradient-to-position)}.to-eui-light-500{--tw-gradient-to:#f8f9fa var(--tw-gradient-to-position)}.to-eui-primary-500{--tw-gradient-to:#00040f var(--tw-gradient-to-position)}.to-eui-secondary-500{--tw-gradient-to:#4cd900 var(--tw-gradient-to-position)}.to-eui-success-500{--tw-gradient-to:#198754 var(--tw-gradient-to-position)}.to-eui-warning-500{--tw-gradient-to:#ffc107 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to:#0000 var(--tw-gradient-to-position)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-0{padding-left:0}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-\\[60px\\]{padding-top:60px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-poppins{font-family:Poppins,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-\\[10px\\]{font-size:10px}.text-\\[12px\\]{font-size:12px}.text-\\[13\\.5px\\]{font-size:13.5px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[60px\\]{font-size:60px}.text-\\[8px\\]{font-size:8px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-\\[20px\\]{line-height:20px}.leading-\\[25px\\]{line-height:25px}.leading-\\[28px\\]{line-height:28px}.leading-\\[40px\\]{line-height:40px}.leading-\\[50px\\]{line-height:50px}.leading-\\[70px\\]{line-height:70px}.leading-\\[80px\\]{line-height:80px}.leading-\\[90px\\]{line-height:90px}.text-blue-300{--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity,1))}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity,1))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity,1))}.text-eui-danger-500{--tw-text-opacity:1;color:rgb(220 53 69/var(--tw-text-opacity,1))}.text-eui-dark-100{--tw-text-opacity:1;color:rgb(134 138 141/var(--tw-text-opacity,1))}.text-eui-dark-200{--tw-text-opacity:1;color:rgb(111 115 118/var(--tw-text-opacity,1))}.text-eui-dark-50{--tw-text-opacity:1;color:rgb(158 161 164/var(--tw-text-opacity,1))}.text-eui-dark-500{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity,1))}.text-eui-dark-900{--tw-text-opacity:1;color:rgb(7 7 8/var(--tw-text-opacity,1))}.text-eui-info-500{--tw-text-opacity:1;color:rgb(13 202 240/var(--tw-text-opacity,1))}.text-eui-info-800{--tw-text-opacity:1;color:rgb(5 76 96/var(--tw-text-opacity,1))}.text-eui-light-500{--tw-text-opacity:1;color:rgb(248 249 250/var(--tw-text-opacity,1))}.text-eui-light-800{--tw-text-opacity:1;color:rgb(98 98 99/var(--tw-text-opacity,1))}.text-eui-primary-500{--tw-text-opacity:1;color:rgb(0 4 15/var(--tw-text-opacity,1))}.text-eui-secondary-500{--tw-text-opacity:1;color:rgb(76 217 0/var(--tw-text-opacity,1))}.text-eui-secondary-600{--tw-text-opacity:1;color:rgb(23 184 0/var(--tw-text-opacity,1))}.text-eui-secondary-700{--tw-text-opacity:1;color:rgb(20 153 0/var(--tw-text-opacity,1))}.text-eui-secondary-900{--tw-text-opacity:1;color:rgb(10 90 0/var(--tw-text-opacity,1))}.text-eui-success-500{--tw-text-opacity:1;color:rgb(25 135 84/var(--tw-text-opacity,1))}.text-eui-success-800{--tw-text-opacity:1;color:rgb(10 50 31/var(--tw-text-opacity,1))}.text-eui-warning-500{--tw-text-opacity:1;color:rgb(255 193 7/var(--tw-text-opacity,1))}.text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-50{--tw-text-opacity:1;color:rgb(249 250 251/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity,1))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity,1))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.placeholder-transparent::placeholder{color:#0000}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid #0000;outline-offset:2px}.brightness-100{--tw-brightness:brightness(1)}.brightness-100,.brightness-110{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-110{--tw-brightness:brightness(1.1)}.brightness-125{--tw-brightness:brightness(1.25)}.brightness-125,.brightness-50{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.brightness-50{--tw-brightness:brightness(.5)}.brightness-75{--tw-brightness:brightness(.75)}.brightness-75,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale:grayscale(100%)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.duration-75{transition-duration:75ms}.duration-\\[200ms\\]{transition-duration:.2s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}:root{--mdxeditor-bg:#fff;--mdxeditor-color:#1a202c;--mdxeditor-toolbar-bg:#f3f4f6;--mdxeditor-toolbar-color:#1a202c;--mdxeditor-border-color:#e5e7eb}.dark{--mdxeditor-bg:#1a202c;--mdxeditor-color:#f8fafc;--mdxeditor-toolbar-bg:#2d3748;--mdxeditor-toolbar-color:#f8fafc;--mdxeditor-border-color:#4b5563}.mdxeditor a{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity,1));text-decoration-line:underline}.mdxeditor a:hover{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.mdxeditor ul{list-style-type:disc}.mdxeditor ol,.mdxeditor ul{list-style-position:inside;margin-left:1rem}.mdxeditor ol{list-style-type:decimal}.mdxeditor li{margin-bottom:.25rem;margin-top:.25rem}.mdxeditor h1{font-size:1.875rem;font-weight:700;line-height:2.25rem;margin-bottom:.5rem;margin-top:1rem}.mdxeditor h2{font-size:1.5rem;line-height:2rem}.mdxeditor h2,.mdxeditor h3{font-weight:600;margin-bottom:.5rem;margin-top:1rem}.mdxeditor h3{font-size:1.25rem;line-height:1.75rem}.mdxeditor h4{font-size:1.125rem;line-height:1.75rem;margin-top:.75rem}.mdxeditor h4,.mdxeditor h5{font-weight:500;margin-bottom:.25rem}.mdxeditor h5{font-size:1rem;line-height:1.5rem;margin-top:.5rem}.mdxeditor h6{font-size:.875rem;font-weight:600;letter-spacing:.025em;line-height:1.25rem;margin-bottom:.25rem;margin-top:.5rem;text-transform:uppercase}.mdxeditor p{font-size:1rem;line-height:1.5rem;margin-bottom:.5rem}.mdxeditor blockquote{border-left-width:4px;--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity,1));font-style:italic;padding-left:1rem;--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.mdxeditor blockquote:is(.dark *){--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1));--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.mdxeditor hr{border-top-width:1px;margin-bottom:1rem;margin-top:1rem;--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.mdxeditor hr:is(.dark *){--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-\\[2px\\]:after{content:var(--tw-content);left:2px}.after\\:top-\\[2px\\]:after{content:var(--tw-content);top:2px}.after\\:h-5:after{content:var(--tw-content);height:1.25rem}.after\\:w-5:after{content:var(--tw-content);width:1.25rem}.after\\:rounded-full:after{border-radius:9999px;content:var(--tw-content)}.after\\:border:after{border-width:1px;content:var(--tw-content)}.after\\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.after\\:bg-white:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.after\\:transition-all:after{content:var(--tw-content);transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:content-\\[\\'\\'\\]:after{--tw-content:\"\";content:var(--tw-content)}.checked\\:border-eui-primary-400:checked{--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.checked\\:bg-eui-secondary-700:checked{--tw-bg-opacity:1;background-color:rgb(20 153 0/var(--tw-bg-opacity,1))}.checked\\:text-white:checked{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.checked\\:before\\:absolute:checked:before{content:var(--tw-content);position:absolute}.checked\\:before\\:left-0:checked:before{content:var(--tw-content);left:0}.checked\\:before\\:top-0:checked:before{content:var(--tw-content);top:0}.checked\\:before\\:flex:checked:before{content:var(--tw-content);display:flex}.checked\\:before\\:h-full:checked:before{content:var(--tw-content);height:100%}.checked\\:before\\:w-full:checked:before{content:var(--tw-content);width:100%}.checked\\:before\\:items-center:checked:before{align-items:center;content:var(--tw-content)}.checked\\:before\\:justify-center:checked:before{content:var(--tw-content);justify-content:center}.checked\\:before\\:text-xs:checked:before{content:var(--tw-content);font-size:.75rem;line-height:1rem}.checked\\:before\\:font-bold:checked:before{content:var(--tw-content);font-weight:700}.checked\\:before\\:text-white:checked:before{content:var(--tw-content);--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.checked\\:before\\:content-\\[\\'\\2713\\'\\]:checked:before{--tw-content:\"✓\";content:var(--tw-content)}.placeholder-shown\\:p-3:placeholder-shown{padding:.75rem}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:border-solid:hover{border-style:solid}.hover\\:border-eui-secondary-600:hover{--tw-border-opacity:1;border-color:rgb(23 184 0/var(--tw-border-opacity,1))}.hover\\:border-gray-600:hover{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.hover\\:border-b-eui-secondary-700:hover{--tw-border-opacity:1;border-bottom-color:rgb(20 153 0/var(--tw-border-opacity,1))}.hover\\:bg-eui-dark-400\\/30:hover{background-color:#4045474d}.hover\\:bg-eui-dark-500:hover{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity,1))}.hover\\:bg-eui-dark-500\\/10:hover{background-color:#2125291a}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity,1))}.hover\\:bg-gray-900\\/80:hover{background-color:#111827cc}.hover\\:from-eui-dark-500\\/20:hover{--tw-gradient-from:#21252933 var(--tw-gradient-from-position);--tw-gradient-to:#21252900 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\\:text-eui-secondary-700:hover{--tw-text-opacity:1;color:rgb(20 153 0/var(--tw-text-opacity,1))}.hover\\:text-gray-600:hover{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\\:shadow-\\[\\#167d0f\\]\\/50:hover{--tw-shadow-color:#167d0f80;--tw-shadow:var(--tw-shadow-colored)}.hover\\:brightness-100:hover{--tw-brightness:brightness(1)}.hover\\:brightness-100:hover,.hover\\:brightness-110:hover{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\\:brightness-110:hover{--tw-brightness:brightness(1.1)}.hover\\:brightness-125:hover{--tw-brightness:brightness(1.25);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\\:resize-none:focus{resize:none}.focus\\:border-eui-secondary-500:focus{--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.focus\\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.group:hover .group-hover\\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.peer:checked~.peer-checked\\:bg-eui-secondary-600{--tw-bg-opacity:1;background-color:rgb(23 184 0/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:after\\:translate-x-full:after{content:var(--tw-content);--tw-translate-x:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\\:after\\:border-white:after{content:var(--tw-content);--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.peer:placeholder-shown~.peer-placeholder-shown\\:top-3{top:.75rem}.peer:placeholder-shown~.peer-placeholder-shown\\:text-base{font-size:1rem;line-height:1.5rem}.peer:focus~.peer-focus\\:outline-none{outline:2px solid #0000;outline-offset:2px}.dark\\:border-eui-dark-200:is(.dark *){--tw-border-opacity:1;border-color:rgb(111 115 118/var(--tw-border-opacity,1))}.dark\\:border-eui-dark-300\\/50:is(.dark *){border-color:#575c5f80}.dark\\:border-eui-primary-400:is(.dark *){--tw-border-opacity:1;border-color:rgb(76 86 115/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-500:is(.dark *){--tw-border-opacity:1;border-color:rgb(76 217 0/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-600\\/10:is(.dark *){border-color:#17b8001a}.dark\\:border-eui-secondary-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(16 122 0/var(--tw-border-opacity,1))}.dark\\:border-eui-secondary-800\\/40:is(.dark *){border-color:#107a0066}.dark\\:border-eui-secondary-900\\/20:is(.dark *){border-color:#0a5a0033}.dark\\:bg-eui-dark-100:is(.dark *){--tw-bg-opacity:1;background-color:rgb(134 138 141/var(--tw-bg-opacity,1))}.dark\\:bg-eui-primary-300\\/10:is(.dark *){background-color:#707a931a}.dark\\:bg-gray-600:is(.dark *){--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity,1))}.dark\\:bg-gray-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.dark\\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.dark\\:bg-green-700\\/20:is(.dark *){background-color:#15803d33}.dark\\:from-eui-light-400\\/10:is(.dark *){--tw-gradient-from:#fbfbfb1a var(--tw-gradient-from-position);--tw-gradient-to:#fbfbfb00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:from-eui-secondary-900\\/10:is(.dark *){--tw-gradient-from:#0a5a001a var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:from-green-700\\/10:is(.dark *){--tw-gradient-from:#15803d1a var(--tw-gradient-from-position);--tw-gradient-to:#15803d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.dark\\:to-eui-light-400\\/5:is(.dark *){--tw-gradient-to:#fbfbfb0d var(--tw-gradient-to-position)}.dark\\:text-eui-dark-100:is(.dark *){--tw-text-opacity:1;color:rgb(134 138 141/var(--tw-text-opacity,1))}.dark\\:text-eui-secondary-600:is(.dark *){--tw-text-opacity:1;color:rgb(23 184 0/var(--tw-text-opacity,1))}.dark\\:text-gray-200:is(.dark *){--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.hover\\:dark\\:bg-eui-dark-300\\/50:is(.dark *):hover{background-color:#575c5f80}.hover\\:dark\\:bg-green-700\\/20:is(.dark *):hover{background-color:#15803d33}.hover\\:dark\\:from-eui-secondary-900\\/20:is(.dark *):hover{--tw-gradient-from:#0a5a0033 var(--tw-gradient-from-position);--tw-gradient-to:#0a5a0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}@media (min-width:768px){.md\\:pl-\\[300px\\]{padding-left:300px}}@media (min-width:1024px){.lg\\:px-\\[150px\\]{padding-left:150px;padding-right:150px}}";
|
|
78300
|
+
styleInject(css_248z);
|
|
78301
|
+
|
|
78299
78302
|
var v$6 = Object.defineProperty;
|
|
78300
78303
|
var P$6 = (s, t, e) => t in s ? v$6(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
|
|
78301
78304
|
var f$6 = (s, t, e) => P$6(s, typeof t != "symbol" ? t + "" : t, e);
|
|
@@ -78315,7 +78318,7 @@ class M$6 {
|
|
|
78315
78318
|
n !== void 0 && (n -= 1, this.map.set(t, n), n === 0 && e());
|
|
78316
78319
|
}
|
|
78317
78320
|
}
|
|
78318
|
-
class C$
|
|
78321
|
+
class C$7 {
|
|
78319
78322
|
constructor() {
|
|
78320
78323
|
f$6(this, "map", /* @__PURE__ */ new Map());
|
|
78321
78324
|
}
|
|
@@ -78334,13 +78337,13 @@ class C$6 {
|
|
|
78334
78337
|
return this.map.delete(t);
|
|
78335
78338
|
}
|
|
78336
78339
|
}
|
|
78337
|
-
function g$
|
|
78340
|
+
function g$8(s, t) {
|
|
78338
78341
|
return t(s), s;
|
|
78339
78342
|
}
|
|
78340
78343
|
function x$9() {
|
|
78341
78344
|
}
|
|
78342
78345
|
const I$6 = "cell";
|
|
78343
|
-
function O$
|
|
78346
|
+
function O$7(s, t) {
|
|
78344
78347
|
return s === t;
|
|
78345
78348
|
}
|
|
78346
78349
|
const k$9 = /* @__PURE__ */ new Map();
|
|
@@ -78351,9 +78354,9 @@ class T$4 {
|
|
|
78351
78354
|
* Those values will not trigger a recomputation cycle, and will overwrite the initial values specified for each cell.
|
|
78352
78355
|
*/
|
|
78353
78356
|
constructor(t = {}) {
|
|
78354
|
-
f$6(this, "subscriptions", new C$
|
|
78357
|
+
f$6(this, "subscriptions", new C$7());
|
|
78355
78358
|
f$6(this, "singletonSubscriptions", /* @__PURE__ */ new Map());
|
|
78356
|
-
f$6(this, "graph", new C$
|
|
78359
|
+
f$6(this, "graph", new C$7());
|
|
78357
78360
|
f$6(this, "state", /* @__PURE__ */ new Map());
|
|
78358
78361
|
f$6(this, "distinctNodes", /* @__PURE__ */ new Map());
|
|
78359
78362
|
f$6(this, "executionMaps", /* @__PURE__ */ new Map());
|
|
@@ -78369,7 +78372,7 @@ class T$4 {
|
|
|
78369
78372
|
* @param node - optional, a reference to a cell. If the cell has not been touched in the realm before, the realm will instantiate a reference to it. If it's registered already, the function will return the reference.
|
|
78370
78373
|
*/
|
|
78371
78374
|
cellInstance(t, e = !0, n = Symbol()) {
|
|
78372
|
-
return this.state.has(n) || this.state.set(n, t), e !== !1 && !this.distinctNodes.has(n) && this.distinctNodes.set(n, e === !0 ? O$
|
|
78375
|
+
return this.state.has(n) || this.state.set(n, t), e !== !1 && !this.distinctNodes.has(n) && this.distinctNodes.set(n, e === !0 ? O$7 : e), n;
|
|
78373
78376
|
}
|
|
78374
78377
|
/**
|
|
78375
78378
|
* Creates or resolves an existing signal instance in the realm. Useful as a joint point when building your own operators.
|
|
@@ -78378,7 +78381,7 @@ class T$4 {
|
|
|
78378
78381
|
* @param node - optional, a reference to a signal. If the signal has not been touched in the realm before, the realm will instantiate a reference to it. If it's registered already, the function will return the reference.
|
|
78379
78382
|
*/
|
|
78380
78383
|
signalInstance(t = !0, e = Symbol()) {
|
|
78381
|
-
return t !== !1 && this.distinctNodes.set(e, t === !0 ? O$
|
|
78384
|
+
return t !== !1 && this.distinctNodes.set(e, t === !0 ? O$7 : t), e;
|
|
78382
78385
|
}
|
|
78383
78386
|
/**
|
|
78384
78387
|
* Subscribes to the values published in the referred node.
|
|
@@ -78519,7 +78522,7 @@ class T$4 {
|
|
|
78519
78522
|
return this.combineOperators(...e)(t);
|
|
78520
78523
|
}
|
|
78521
78524
|
transformer(...t) {
|
|
78522
|
-
return (e) => g$
|
|
78525
|
+
return (e) => g$8(this.signalInstance(), (n) => (this.link(this.pipe(n, ...t), e), n));
|
|
78523
78526
|
}
|
|
78524
78527
|
/**
|
|
78525
78528
|
* Links the output of a node to the input of another node.
|
|
@@ -78535,7 +78538,7 @@ class T$4 {
|
|
|
78535
78538
|
}
|
|
78536
78539
|
// prettier-ignore
|
|
78537
78540
|
combine(...t) {
|
|
78538
|
-
return g$
|
|
78541
|
+
return g$8(this.signalInstance(), (e) => {
|
|
78539
78542
|
this.connect({
|
|
78540
78543
|
map: (n) => (...i) => {
|
|
78541
78544
|
n(i);
|
|
@@ -78547,7 +78550,7 @@ class T$4 {
|
|
|
78547
78550
|
}
|
|
78548
78551
|
// prettier-ignore
|
|
78549
78552
|
combineCells(...t) {
|
|
78550
|
-
return g$
|
|
78553
|
+
return g$8(
|
|
78551
78554
|
this.cellInstance(
|
|
78552
78555
|
t.map((e) => this.getValue(e)),
|
|
78553
78556
|
!0
|
|
@@ -78592,7 +78595,7 @@ class T$4 {
|
|
|
78592
78595
|
*/
|
|
78593
78596
|
register(t) {
|
|
78594
78597
|
const e = k$9.get(t);
|
|
78595
|
-
return e === void 0 || this.definitionRegistry.has(t) ? t : (this.definitionRegistry.add(t), g$
|
|
78598
|
+
return e === void 0 || this.definitionRegistry.has(t) ? t : (this.definitionRegistry.add(t), g$8(
|
|
78596
78599
|
e.type === I$6 ? this.cellInstance(e.initial, e.distinct, t) : this.signalInstance(e.distinct, t),
|
|
78597
78600
|
(n) => {
|
|
78598
78601
|
this.inContext(() => {
|
|
@@ -78634,7 +78637,7 @@ class T$4 {
|
|
|
78634
78637
|
});
|
|
78635
78638
|
}
|
|
78636
78639
|
calculateExecutionMap(t) {
|
|
78637
|
-
const e = [], n = /* @__PURE__ */ new Set(), i = new C$
|
|
78640
|
+
const e = [], n = /* @__PURE__ */ new Set(), i = new C$7(), r = new M$6(), o = new C$7(), l = (a, p = 0) => {
|
|
78638
78641
|
r.increment(a), !n.has(a) && (this.register(a), i.use(a, (c) => {
|
|
78639
78642
|
p = Math.max(...Array.from(c).map((u) => e.indexOf(u))) + 1;
|
|
78640
78643
|
}), this.graph.use(a, (c) => {
|
|
@@ -78667,17 +78670,17 @@ class T$4 {
|
|
|
78667
78670
|
}
|
|
78668
78671
|
}
|
|
78669
78672
|
function $$4(s, t = x$9, e = !0) {
|
|
78670
|
-
return g$
|
|
78673
|
+
return g$8(Symbol(), (n) => {
|
|
78671
78674
|
k$9.set(n, { type: I$6, distinct: e, initial: s, init: t });
|
|
78672
78675
|
});
|
|
78673
78676
|
}
|
|
78674
78677
|
function K$4(s = x$9, t = !1) {
|
|
78675
|
-
return g$
|
|
78678
|
+
return g$8(Symbol(), (e) => {
|
|
78676
78679
|
k$9.set(e, { type: "signal", distinct: t, init: s });
|
|
78677
78680
|
});
|
|
78678
78681
|
}
|
|
78679
78682
|
function q$5(s = x$9) {
|
|
78680
|
-
return g$
|
|
78683
|
+
return g$8(Symbol(), (t) => {
|
|
78681
78684
|
k$9.set(t, { type: "signal", distinct: !1, init: s });
|
|
78682
78685
|
});
|
|
78683
78686
|
}
|
|
@@ -78688,7 +78691,7 @@ function R$6() {
|
|
|
78688
78691
|
throw new Error("useRealm must be used within a RealmContextProvider");
|
|
78689
78692
|
return s;
|
|
78690
78693
|
}
|
|
78691
|
-
function E$
|
|
78694
|
+
function E$8(s) {
|
|
78692
78695
|
const t = R$6();
|
|
78693
78696
|
t.register(s);
|
|
78694
78697
|
const e = React__namespace.useCallback((n) => t.sub(s, n), [t, s]);
|
|
@@ -78700,7 +78703,7 @@ function E$7(s) {
|
|
|
78700
78703
|
}
|
|
78701
78704
|
function X$4(...s) {
|
|
78702
78705
|
const t = R$6();
|
|
78703
|
-
return E$
|
|
78706
|
+
return E$8(t.combineCells.apply(t, s));
|
|
78704
78707
|
}
|
|
78705
78708
|
function A$5(s) {
|
|
78706
78709
|
const t = R$6();
|
|
@@ -78711,7 +78714,7 @@ function A$5(s) {
|
|
|
78711
78714
|
[t, s]
|
|
78712
78715
|
);
|
|
78713
78716
|
}
|
|
78714
|
-
function _$
|
|
78717
|
+
function _$7(s) {
|
|
78715
78718
|
return (t, e) => {
|
|
78716
78719
|
const n = e.signalInstance();
|
|
78717
78720
|
return e.connect({
|
|
@@ -78867,7 +78870,7 @@ function useLexicalComposerContext$1() {
|
|
|
78867
78870
|
return composerContext;
|
|
78868
78871
|
}
|
|
78869
78872
|
|
|
78870
|
-
var modDev$
|
|
78873
|
+
var modDev$q = /*#__PURE__*/Object.freeze({
|
|
78871
78874
|
__proto__: null,
|
|
78872
78875
|
LexicalComposerContext: LexicalComposerContext$1,
|
|
78873
78876
|
createLexicalComposerContext: createLexicalComposerContext$1,
|
|
@@ -78883,7 +78886,7 @@ var modDev$o = /*#__PURE__*/Object.freeze({
|
|
|
78883
78886
|
*/
|
|
78884
78887
|
const r$2=React.createContext(null);function t$3(n,e){let r=null;return null!=n&&(r=n[1]),{getTheme:function(){return null!=e?e:null!=r?r.getTheme():null}}}function o$5(){const n=React.useContext(r$2);return null==n&&function(n,...e){const r=new URL("https://lexical.dev/docs/error"),t=new URLSearchParams;t.append("code",n);for(const n of e)t.append("v",n);throw r.search=t.toString(),Error(`Minified Lexical error #${n}; visit ${r.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(8),n}
|
|
78885
78888
|
|
|
78886
|
-
var modProd$
|
|
78889
|
+
var modProd$q = /*#__PURE__*/Object.freeze({
|
|
78887
78890
|
__proto__: null,
|
|
78888
78891
|
LexicalComposerContext: r$2,
|
|
78889
78892
|
createLexicalComposerContext: t$3,
|
|
@@ -78897,10 +78900,10 @@ var modProd$o = /*#__PURE__*/Object.freeze({
|
|
|
78897
78900
|
* LICENSE file in the root directory of this source tree.
|
|
78898
78901
|
*
|
|
78899
78902
|
*/
|
|
78900
|
-
const mod$
|
|
78901
|
-
const LexicalComposerContext = mod$
|
|
78902
|
-
const createLexicalComposerContext = mod$
|
|
78903
|
-
const useLexicalComposerContext = mod$
|
|
78903
|
+
const mod$q = process.env.NODE_ENV !== 'production' ? modDev$q : modProd$q;
|
|
78904
|
+
const LexicalComposerContext = mod$q.LexicalComposerContext;
|
|
78905
|
+
const createLexicalComposerContext = mod$q.createLexicalComposerContext;
|
|
78906
|
+
const useLexicalComposerContext = mod$q.useLexicalComposerContext;
|
|
78904
78907
|
|
|
78905
78908
|
/**
|
|
78906
78909
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -91749,7 +91752,7 @@ function $getAdjacentSiblingOrParentSiblingCaret$1(startCaret, rootMode = 'root'
|
|
|
91749
91752
|
return nextCaret && [nextCaret, depthDiff];
|
|
91750
91753
|
}
|
|
91751
91754
|
|
|
91752
|
-
var modDev$
|
|
91755
|
+
var modDev$p = /*#__PURE__*/Object.freeze({
|
|
91753
91756
|
__proto__: null,
|
|
91754
91757
|
$addUpdateTag: $addUpdateTag,
|
|
91755
91758
|
$applyNodeReplacement: $applyNodeReplacement$1,
|
|
@@ -91940,9 +91943,9 @@ var modDev$n = /*#__PURE__*/Object.freeze({
|
|
|
91940
91943
|
*
|
|
91941
91944
|
*/
|
|
91942
91945
|
|
|
91943
|
-
function t$2(t,...e){const n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",t);for(const t of e)r.append("v",t);throw n.search=r.toString(),Error(`Minified Lexical error #${t}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const e$3="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,n$4=e$3&&"documentMode"in document?document.documentMode:null,r$1=e$3&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),i$1=e$3&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),s$1=!(!e$3||!("InputEvent"in window)||n$4)&&"getTargetRanges"in new window.InputEvent("input"),o$4=e$3&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),l$4=e$3&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,c$5=e$3&&/Android/.test(navigator.userAgent),a$5=e$3&&/^(?=.*Chrome).*/i.test(navigator.userAgent),u$4=e$3&&c$5&&a$5,f$5=e$3&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!a$5;function d$5(...t){const e=[];for(const n of t)if(n&&"string"==typeof n)for(const[t]of n.matchAll(/\S+/g))e.push(t);return e}const h$6=1,g$6=3,_$5=9,p$4=11,m$6=0,y$5=1,x$8=2,S$4=0,v$5=1,C$5=2,k$8=1,b$8=2,T$3=4,w$6=8,N$7=16,E$6=32,P$5=64,F$4=128,L$5=1792|(112|(3|T$3|w$6)|F$4),A$4=1,O$5=2,M$5=3,I$5=4,D$6=5,z$4=6,B$4=o$4||l$4||f$5?" ":"",W$3="\n\n",K$3=i$1?" ":B$4,R$5="֑-߿יִ-﷽ﹰ-ﻼ",J$3="A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--",j$3=new RegExp("^[^"+J$3+"]*["+R$5+"]"),$$3=new RegExp("^[^"+R$5+"]*["+J$3+"]"),V$3={bold:1,capitalize:1024,code:16,highlight:F$4,italic:2,lowercase:256,strikethrough:T$3,subscript:32,superscript:64,underline:w$6,uppercase:512},U$5={directionless:1,unmergeable:2},q$4={center:O$5,end:z$4,justify:I$5,left:A$4,right:M$5,start:D$6},H$4={[O$5]:"center",[z$4]:"end",[I$5]:"justify",[A$4]:"left",[M$5]:"right",[D$6]:"start"},G$4={normal:0,segmented:2,token:1},Q$3={[S$4]:"normal",[C$5]:"segmented",[v$5]:"token"},X$3="$";function Y$3(t,e,n,r,i,s){let o=t.getFirstChild();for(;null!==o;){const t=o.__key;o.__parent===e&&(di(o)&&Y$3(o,t,n,r,i,s),n.has(t)||s.delete(t),i.push(t)),o=o.getNextSibling();}}const Z$2=100;let tt$2=!1,et$2=0;function nt$2(t){et$2=t.timeStamp;}function rt$2(t,e,n){const r="BR"===t.nodeName,i=e.__lexicalLineBreak;return i&&(t===i||r&&t.previousSibling===i)||r&&void 0!==ns(t,n)}function it$2(t,e,n){const r=Xs(Rs(n));let i=null,s=null;null!==r&&r.anchorNode===t&&(i=r.anchorOffset,s=r.focusOffset);const o=t.nodeValue;null!==o&&ps(e,o,i,s,!1);}function st$2(t,e,n){if(lr(t)){const e=t.anchor.getNode();if(e.is(n)&&t.format!==e.getFormat())return !1}return $i(e)&&n.isAttached()}function ot$1(t,e,n,r){for(let i=t;i&&!po(i);i=Ms(i)){const t=ns(i,e);if(void 0!==t){const e=ts(t,n);if(e)return _i(e)||!eo(i)?void 0:[i,e]}else if(i===r)return [r,ls(n)]}}function lt$2(t,e,n){tt$2=!0;const r=performance.now()-et$2>Z$2;try{ci(t,(()=>{const s=Tr()||function(t){return t.getEditorState().read((()=>{const t=Tr();return null!==t?t.clone():null}))}(t),o=new Map,l=t.getRootElement(),c=t._editorState,a=t._blockCursorElement;let u=!1,f="";for(let n=0;n<e.length;n++){const d=e[n],h=d.type,g=d.target,_=ot$1(g,t,c,l);if(!_)continue;const[p,m]=_;if("characterData"===h)r&&Xn(m)&&$i(g)&&st$2(s,g,m)&&it$2(g,m,t);else if("childList"===h){u=!0;const e=d.addedNodes;for(let n=0;n<e.length;n++){const r=e[n],s=es(r),o=r.parentNode;if(null!=o&&r!==a&&null===s&&!rt$2(r,o,t)){if(i$1){const t=(eo(r)?r.innerText:null)||r.nodeValue;t&&(f+=t);}o.removeChild(r);}}const n=d.removedNodes,r=n.length;if(r>0){let e=0;for(let i=0;i<r;i++){const r=n[i];(rt$2(r,g,t)||a===r)&&(g.appendChild(r),e++);}r!==e&&o.set(p,m);}}}if(o.size>0)for(const[e,n]of o)n.reconcileObservedMutation(e,t);const d=n.takeRecords();if(d.length>0){for(let e=0;e<d.length;e++){const n=d[e],r=n.addedNodes,i=n.target;for(let e=0;e<r.length;e++){const n=r[e],s=n.parentNode;null==s||"BR"!==n.nodeName||rt$2(n,i,t)||s.removeChild(n);}}n.takeRecords();}null!==s&&(u&&cs(s),i$1&&Fs(t)&&s.insertRawText(f));}));}finally{tt$2=!1;}}function ct$1(t){const e=t._observer;if(null!==e){lt$2(t,e.takeRecords(),e);}}function at$1(t){!function(t){0===et$2&&Rs(t).addEventListener("textInput",nt$2,!0);}(t),t._observer=new MutationObserver(((e,n)=>{lt$2(t,e,n);}));}function ut$1(t){return t}class ft$2{constructor(t,e){this.key=t,this.parse=e.parse.bind(e),this.unparse=(e.unparse||ut$1).bind(e),this.isEqual=(e.isEqual||Object.is).bind(e),this.defaultValue=this.parse(void 0);}}function dt$2(t,e){return new ft$2(t,e)}function ht$2(t,e,n){const r=gt$2(t,n,"direct"),i=gt$2(e,n,"direct");return n.isEqual(r,i)?null:[r,i]}function gt$2(t,e,n="latest"){const r=("latest"===n?t.getLatest():t).__state;return r?r.getValue(e):e.defaultValue}function _t$2(t,e,n){let r;if(Vr(),"function"==typeof n){const i=t.getLatest(),s=gt$2(i,e);if(r=n(s),e.isEqual(s,r))return i}else r=n;const i=t.getWritable();return yt$2(i).updateFromKnown(e,r),i}class pt$2{constructor(t,e=new Map,n=void 0,r=new Map,i=void 0){this.node=t,this.sharedConfigMap=e,this.unknownState=n,this.knownState=r;const s=void 0!==i?i:function(t,e,n){let r=n.size;if(e)for(const i in e){const e=t.get(i);e&&n.has(e)||r++;}return r}(e,n,r);this.size=s;}getValue(t){const e=this.knownState.get(t);if(void 0!==e)return e;this.sharedConfigMap.set(t.key,t);let n=t.defaultValue;if(this.unknownState&&t.key in this.unknownState){const e=this.unknownState[t.key];void 0!==e&&(n=t.parse(e)),this.updateFromKnown(t,n);}return n}getInternalState(){return [this.unknownState,this.knownState]}toJSON(){const t={...this.unknownState};for(const[e,n]of this.knownState)e.isEqual(n,e.defaultValue)?delete t[e.key]:t[e.key]=e.unparse(n);return mt$2(t)?{[X$3]:t}:{}}getWritable(t){if(this.node===t)return this;const e=new Map(this.knownState),n=mt$2(r=this.unknownState)&&{...r};var r;if(n)for(const t of e.keys())delete n[t.key];return new pt$2(t,this.sharedConfigMap,mt$2(n),e,this.size)}updateFromKnown(t,e){const n=t.key;this.sharedConfigMap.set(n,t);const{knownState:r,unknownState:i}=this;r.has(t)||i&&n in i||this.size++,r.set(t,e);}updateFromUnknown(t,e){const n=this.sharedConfigMap.get(t);n?this.updateFromKnown(n,n.parse(e)):(this.unknownState=this.unknownState||{},t in this.unknownState||this.size++,this.unknownState[t]=e);}updateFromJSON(t){const{knownState:e}=this;for(const t of e.keys())e.set(t,t.defaultValue);if(this.size=e.size,this.unknownState={},t)for(const[e,n]of Object.entries(t))this.updateFromUnknown(e,n);this.unknownState=mt$2(this.unknownState);}}function mt$2(t){if(t)for(const e in t)return t}function yt$2(t){const e=t.getWritable(),n=e.__state?e.__state.getWritable(e):new pt$2(e);return e.__state=n,n}function xt$2(t,e){const n=t.__mode,r=t.__format,i=t.__style,s=e.__mode,o=e.__format,l=e.__style,c=t.__state,a=e.__state;return (null===n||n===s)&&(null===r||r===o)&&(null===i||i===l)&&(null===t.__state||c===a||function(t,e){if(t===e)return !0;if(t&&e&&t.size!==e.size)return !1;const n=new Set,r=(t,e)=>{for(const[r,i]of t.knownState){if(n.has(r.key))continue;n.add(r.key);const t=e?e.getValue(r):r.defaultValue;if(t!==i&&!r.isEqual(t,i))return !0}return !1},i=(t,e)=>{const{unknownState:r}=t,i=e?e.unknownState:void 0;if(r)for(const[t,e]of Object.entries(r))if(!n.has(t)&&(n.add(t),e!==(i?i[t]:void 0)))return !0;return !1};return !(t&&r(t,e)||e&&r(e,t)||t&&i(t,e)||e&&i(e,t))}(c,a))}function St$2(t,e){const n=t.mergeWithSibling(e),r=Hr()._normalizedNodes;return r.add(t.__key),r.add(e.__key),n}function vt$2(t){let e,n,r=t;if(""!==r.__text||!r.isSimpleText()||r.isUnmergeable()){for(;null!==(e=r.getPreviousSibling())&&Xn(e)&&e.isSimpleText()&&!e.isUnmergeable();){if(""!==e.__text){if(xt$2(e,r)){r=St$2(e,r);break}break}e.remove();}for(;null!==(n=r.getNextSibling())&&Xn(n)&&n.isSimpleText()&&!n.isUnmergeable();){if(""!==n.__text){if(xt$2(r,n)){r=St$2(r,n);break}break}n.remove();}}else r.remove();}function Ct$2(t){return kt$1(t.anchor),kt$1(t.focus),t}function kt$1(t){for(;"element"===t.type;){const e=t.getNode(),n=t.offset;let r,i;if(n===e.getChildrenSize()?(r=e.getChildAtIndex(n-1),i=!0):(r=e.getChildAtIndex(n),i=!1),Xn(r)){t.set(r.__key,i?r.getTextContentSize():0,"text",!0);break}if(!di(r))break;t.set(r.__key,i?r.getChildrenSize():0,"element",!0);}}let bt$1,Tt$2,wt$2,Nt$2,Et$2,Pt$2,Ft$1,Lt$1,At$2,Ot$2,Mt$1="",It$1="",Dt$1=null,zt="",Bt$1="",Wt=!1,Kt=!1,Rt$1=null;function Jt(t,e){const n=Ft$1.get(t);if(null!==e){const n=se(t);n.parentNode===e&&e.removeChild(n);}if(Lt$1.has(t)||Tt$2._keyToDOMMap.delete(t),di(n)){const t=te(n,Ft$1);jt(t,0,t.length-1,null);}void 0!==n&&ws(Ot$2,wt$2,Nt$2,n,"destroyed");}function jt(t,e,n,r){let i=e;for(;i<=n;++i){const e=t[i];void 0!==e&&Jt(e,r);}}function $t(t,e){t.setProperty("text-align",e);}const Vt="40px";function Ut(t,e){const n=bt$1.theme.indent;if("string"==typeof n){const r=t.classList.contains(n);e>0&&!r?t.classList.add(n):e<1&&r&&t.classList.remove(n);}const r=getComputedStyle(t).getPropertyValue("--lexical-indent-base-value")||Vt;t.style.setProperty("padding-inline-start",0===e?"":`calc(${e} * ${r})`);}function qt(t,e){const n=t.style;0===e?$t(n,""):e===A$4?$t(n,"left"):e===O$5?$t(n,"center"):e===M$5?$t(n,"right"):e===I$5?$t(n,"justify"):e===D$6?$t(n,"start"):e===z$4&&$t(n,"end");}function Ht(e,n){const r=Lt$1.get(e);void 0===r&&t$2(60);const i=r.createDOM(bt$1,Tt$2);if(function(t,e,n){const r=n._keyToDOMMap;((function(t,e,n){const r=`__lexicalKey_${e._key}`;t[r]=n;}))(e,n,t),r.set(t,e);}(e,i,Tt$2),Xn(r)?i.setAttribute("data-lexical-text","true"):_i(r)&&i.setAttribute("data-lexical-decorator","true"),di(r)){const t=r.__indent,e=r.__size;if(0!==t&&Ut(i,t),0!==e){const t=e-1;!function(t,e,n,r){const i=It$1;It$1="",Gt(t,n,0,e,n.getDOMSlot(r)),Yt(n,r),It$1=i;}(te(r,Lt$1),t,r,i);}const n=r.__format;0!==n&&qt(i,n),r.isInline()||Xt(null,r,i),As(r)&&(Mt$1+=W$3,Bt$1+=W$3);}else {const t=r.getTextContent();if(_i(r)){const t=r.decorate(Tt$2,bt$1);null!==t&&ne(e,t),i.contentEditable="false";}else Xn(r)&&(r.isDirectionless()||(It$1+=t));Mt$1+=t,Bt$1+=t;}return null!==n&&n.insertChild(i),ws(Ot$2,wt$2,Nt$2,r,"created"),i}function Gt(t,e,n,r,i){const s=Mt$1;Mt$1="";let o=n;for(;o<=r;++o){Ht(t[o],i);const e=Lt$1.get(t[o]);null!==e&&Xn(e)&&(null===Dt$1&&(Dt$1=e.getFormat()),""===zt&&(zt=e.getStyle()));}As(e)&&(Mt$1+=W$3);i.element.__lexicalTextContent=Mt$1,Mt$1=s+Mt$1;}function Qt(t,e){if(t){const n=t.__last;if(n){const t=e.get(n);if(t)return On(t)?"line-break":_i(t)&&t.isInline()?"decorator":null}return "empty"}return null}function Xt(t,e,n){const r=Qt(t,Ft$1),i=Qt(e,Lt$1);r!==i&&e.getDOMSlot(n).setManagedLineBreak(i);}function Yt(t,e){const n=e.__lexicalDirTextContent||"",r=e.__lexicalDir||"";if(n!==It$1||r!==Rt$1){const n=""===It$1,i=n?Rt$1:function(t){if(j$3.test(t))return "rtl";if($$3.test(t))return "ltr";return null}(It$1);if(i!==r){const s=e.classList,o=bt$1.theme;let l=null!==r?o[r]:void 0,c=null!==i?o[i]:void 0;if(void 0!==l){if("string"==typeof l){const t=d$5(l);l=o[r]=t;}s.remove(...l);}if(null===i||n&&"ltr"===i)e.removeAttribute("dir");else {if(void 0!==c){if("string"==typeof c){const t=d$5(c);c=o[i]=t;}void 0!==c&&s.add(...c);}e.dir=i;}if(!Kt){t.getWritable().__dir=i;}}Rt$1=i,e.__lexicalDirTextContent=It$1,e.__lexicalDir=i;}}function Zt(e,n,r){const i=It$1;var s;It$1="",Dt$1=null,zt="",function(e,n,r){const i=Mt$1,s=e.__size,o=n.__size;Mt$1="";const l=r.element;if(1===s&&1===o){const t=e.__first,r=n.__first;if(t===r)ee(t,l);else {const e=se(t),n=Ht(r,null);try{l.replaceChild(n,e);}catch(i){if("object"==typeof i&&null!=i){const s=`${i.toString()} Parent: ${l.tagName}, new child: {tag: ${n.tagName} key: ${r}}, old child: {tag: ${e.tagName}, key: ${t}}.`;throw new Error(s)}throw i}Jt(t,null);}const i=Lt$1.get(r);Xn(i)&&(null===Dt$1&&(Dt$1=i.getFormat()),""===zt&&(zt=i.getStyle()));}else {const i=te(e,Ft$1),c=te(n,Lt$1);if(i.length!==s&&t$2(227),c.length!==o&&t$2(228),0===s)0!==o&&Gt(c,n,0,o-1,r);else if(0===o){if(0!==s){const t=null==r.after&&null==r.before&&null==r.element.__lexicalLineBreak;jt(i,0,s-1,t?null:l),t&&(l.textContent="");}}else !function(t,e,n,r,i,s){const o=r-1,l=i-1;let c,a,u=s.getFirstChild(),f=0,d=0;for(;f<=o&&d<=l;){const t=e[f],r=n[d];if(t===r)u=re(ee(r,s.element)),f++,d++;else {void 0===c&&(c=new Set(e)),void 0===a&&(a=new Set(n));const i=a.has(t),o=c.has(r);if(i)if(o){const t=Os(Tt$2,r);t===u?u=re(ee(r,s.element)):(s.withBefore(u).insertChild(t),ee(r,s.element)),f++,d++;}else Ht(r,s.withBefore(u)),d++;else u=re(se(t)),Jt(t,s.element),f++;}const i=Lt$1.get(r);null!==i&&Xn(i)&&(null===Dt$1&&(Dt$1=i.getFormat()),""===zt&&(zt=i.getStyle()));}const h=f>o,g=d>l;if(h&&!g){const e=n[l+1],r=void 0===e?null:Tt$2.getElementByKey(e);Gt(n,t,d,l,s.withBefore(r));}else g&&!h&&jt(e,f,o,s.element);}(n,i,c,s,o,r);}As(n)&&(Mt$1+=W$3);l.__lexicalTextContent=Mt$1,Mt$1=i+Mt$1;}(e,n,n.getDOMSlot(r)),Yt(n,r),s=n,null==Dt$1||Dt$1===s.__textFormat||Kt||s.setTextFormat(Dt$1),function(t){""===zt||zt===t.__textStyle||Kt||t.setTextStyle(zt);}(n),It$1=i;}function te(e,n){const r=[];let i=e.__first;for(;null!==i;){const e=n.get(i);void 0===e&&t$2(101),r.push(i),i=e.__next;}return r}function ee(e,n){const r=Ft$1.get(e);let i=Lt$1.get(e);void 0!==r&&void 0!==i||t$2(61);const s=Wt||Pt$2.has(e)||Et$2.has(e),o=Os(Tt$2,e);if(r===i&&!s){if(di(r)){const t=o.__lexicalTextContent;void 0!==t&&(Mt$1+=t,Bt$1+=t);const e=o.__lexicalDirTextContent;void 0!==e&&(It$1+=e);}else {const t=r.getTextContent();Xn(r)&&!r.isDirectionless()&&(It$1+=t),Bt$1+=t,Mt$1+=t;}return o}if(r!==i&&s&&ws(Ot$2,wt$2,Nt$2,i,"updated"),i.updateDOM(r,o,bt$1)){const r=Ht(e,null);return null===n&&t$2(62),n.replaceChild(r,o),Jt(e,null),r}if(di(r)&&di(i)){const t=i.__indent;t!==r.__indent&&Ut(o,t);const e=i.__format;e!==r.__format&&qt(o,e),s&&(Zt(r,i,o),mi(i)||i.isInline()||Xt(r,i,o)),As(i)&&(Mt$1+=W$3,Bt$1+=W$3);}else {const t=i.getTextContent();if(_i(i)){const t=i.decorate(Tt$2,bt$1);null!==t&&ne(e,t);}else Xn(i)&&!i.isDirectionless()&&(It$1+=t);Mt$1+=t,Bt$1+=t;}if(!Kt&&mi(i)&&i.__cachedText!==Bt$1){const t=i.getWritable();t.__cachedText=Bt$1,i=t;}return o}function ne(t,e){let n=Tt$2._pendingDecorators;const r=Tt$2._decorators;if(null===n){if(r[t]===e)return;n=is(Tt$2);}n[t]=e;}function re(t){let e=t.nextSibling;return null!==e&&e===Tt$2._blockCursorElement&&(e=e.nextSibling),e}function ie(t,e,n,r,i,s){Mt$1="",Bt$1="",It$1="",Wt=r===x$8,Rt$1=null,Tt$2=n,bt$1=n._config,wt$2=n._nodes,Nt$2=Tt$2._listeners.mutation,Et$2=i,Pt$2=s,Ft$1=t._nodeMap,Lt$1=e._nodeMap,Kt=e._readOnly,At$2=new Map(n._keyToDOMMap);const o=new Map;return Ot$2=o,ee("root",null),Tt$2=void 0,wt$2=void 0,Et$2=void 0,Pt$2=void 0,Ft$1=void 0,Lt$1=void 0,bt$1=void 0,At$2=void 0,Ot$2=void 0,o}function se(e){const n=At$2.get(e);return void 0===n&&t$2(75,e),n}function oe(t){return {}}const le={},ce={},ae={},ue={},fe={},de={},he={},ge={},_e={},pe={},me={},ye={},xe={},Se={},ve={},Ce={},ke={},be={},Te={},we={},Ne={},Ee={},Pe={},Fe={},Le={},Ae={},Oe={},Me={},Ie={},De={},ze={},Be={},We={},Ke={},Re={},Je={},je={},$e={},Ve={},Ue={},qe={},He={},Ge={},Qe={},Xe={},Ye=Object.freeze({}),Ze=30,tn=[["keydown",function(t,e){if(en=t.timeStamp,nn=t.key,e.isComposing())return;const{key:n,shiftKey:s,ctrlKey:o,metaKey:l,altKey:c}=t;if(Ls(e,ve,t))return;if(null==n)return;if(fn&&vs(nn))return ci(e,(()=>{vn(e,dn);})),fn=!1,void(dn="");if(function(t,e,n,r){return ys(t)&&!e&&!r&&!n}(n,o,c,l))Ls(e,Ce,t);else if(function(t,e,n,r,i){return ys(t)&&!r&&!n&&(e||i)}(n,o,s,c,l))Ls(e,ke,t);else if(function(t,e,n,r){return ms(t)&&!e&&!r&&!n}(n,o,c,l))Ls(e,be,t);else if(function(t,e,n,r,i){return ms(t)&&!r&&!n&&(e||i)}(n,o,s,c,l))Ls(e,Te,t);else if(function(t,e,n){return function(t){return "ArrowUp"===t}(t)&&!e&&!n}(n,o,l))Ls(e,we,t);else if(function(t,e,n){return function(t){return "ArrowDown"===t}(t)&&!e&&!n}(n,o,l))Ls(e,Ne,t);else if(function(t,e){return Ss(t)&&e}(n,s))an=!0,Ls(e,Ee,t);else if(function(t){return " "===t}(n))Ls(e,Pe,t);else if(function(t,e){return r$1&&e&&"o"===t.toLowerCase()}(n,o))t.preventDefault(),an=!0,Ls(e,fe,!0);else if(function(t,e){return Ss(t)&&!e}(n,s))an=!1,Ls(e,Ee,t);else if(function(t,e,n,i){if(r$1)return !e&&!n&&(vs(t)||"h"===t.toLowerCase()&&i);if(i||e||n)return !1;return vs(t)}(n,c,l,o))vs(n)?Ls(e,Fe,t):(t.preventDefault(),Ls(e,ue,!0));else if(function(t){return "Escape"===t}(n))Ls(e,Le,t);else if(function(t,e,n,i,s){if(r$1)return !(n||i||s)&&(Cs(t)||"d"===t.toLowerCase()&&e);if(e||i||s)return !1;return Cs(t)}(n,o,s,c,l))Cs(n)?Ls(e,Ae,t):(t.preventDefault(),Ls(e,ue,!1));else if(function(t,e,n){return vs(t)&&(r$1?e:n)}(n,c,o))t.preventDefault(),Ls(e,pe,!0);else if(function(t,e,n){return Cs(t)&&(r$1?e:n)}(n,c,o))t.preventDefault(),Ls(e,pe,!1);else if(function(t,e){return r$1&&e&&vs(t)}(n,l))t.preventDefault(),Ls(e,me,!0);else if(function(t,e){return r$1&&e&&Cs(t)}(n,l))t.preventDefault(),Ls(e,me,!1);else if(function(t,e,n,r){return "b"===t.toLowerCase()&&!e&&xs(n,r)}(n,c,l,o))t.preventDefault(),Ls(e,ye,"bold");else if(function(t,e,n,r){return "u"===t.toLowerCase()&&!e&&xs(n,r)}(n,c,l,o))t.preventDefault(),Ls(e,ye,"underline");else if(function(t,e,n,r){return "i"===t.toLowerCase()&&!e&&xs(n,r)}(n,c,l,o))t.preventDefault(),Ls(e,ye,"italic");else if(function(t,e,n,r){return "Tab"===t&&!e&&!n&&!r}(n,c,o,l))Ls(e,Oe,t);else if(function(t,e,n,r){return "z"===t.toLowerCase()&&!e&&xs(n,r)}(n,s,l,o))t.preventDefault(),Ls(e,xe,void 0);else if(function(t,e,n,i){if(r$1)return "z"===t.toLowerCase()&&n&&e;return "y"===t.toLowerCase()&&i||"z"===t.toLowerCase()&&i&&e}(n,s,l,o))t.preventDefault(),Ls(e,Se,void 0);else {const c=e._editorState._selection;null===c||lr(c)?!i$1&&ks(n,l,o)&&(t.preventDefault(),Ls(e,$e,t)):!function(t,e,n,i){if(e)return !1;if("c"===t.toLowerCase())return r$1?n:i;return !1}(n,s,l,o)?!function(t,e,n,i){if(e)return !1;if("x"===t.toLowerCase())return r$1?n:i;return !1}(n,s,l,o)?ks(n,l,o)&&(t.preventDefault(),Ls(e,$e,t)):(t.preventDefault(),Ls(e,je,t)):(t.preventDefault(),Ls(e,Je,t));}(function(t,e,n,r){return t||e||n||r})(o,s,c,l)&&Ls(e,Xe,t);}],["pointerdown",function(t,e){const n=t.target,r=t.pointerType;no(n)&&"touch"!==r&&0===t.button&&ci(e,(()=>{_i(rs(n))||(cn=!0);}));}],["compositionstart",function(t,e){ci(e,(()=>{const n=Tr();if(lr(n)&&!e.isComposing()){const r=n.anchor,i=n.anchor.getNode();Yi(r.key),(t.timeStamp<en+Ze||"element"===r.type||!n.isCollapsed()||i.getFormat()!==n.format||Xn(i)&&i.getStyle()!==n.style)&&Ls(e,he,K$3);}}));}],["compositionend",function(t,e){i$1?un=!0:l$4||!o$4&&!f$5?ci(e,(()=>{vn(e,t.data);})):(fn=!0,dn=t.data);}],["input",function(t,e){t.stopPropagation(),ci(e,(()=>{const n=Tr(),r=t.data,c=Sn(t);if(null!=r&&lr(n)&&_n(n,c,r,t.timeStamp,!1)){un&&(vn(e,r),un=!1);const c=n.anchor.getNode(),a=Xs(Rs(e));if(null===a)return;const u=n.isBackward(),d=u?n.anchor.offset:n.focus.offset,h=u?n.focus.offset:n.anchor.offset;s$1&&!n.isCollapsed()&&Xn(c)&&null!==a.anchorNode&&c.getTextContent().slice(0,d)+r+c.getTextContent().slice(d+h)===gs(a.anchorNode)||Ls(e,he,r);const g=r.length;i$1&&g>1&&"insertCompositionText"===t.inputType&&!e.isComposing()&&(n.anchor.offset-=g),o$4||l$4||f$5||!e.isComposing()||(en=0,Yi(null));}else {_s(!1,e,null!==r?r:void 0),un&&(vn(e,r||void 0),un=!1);}!function(){Vr();const t=Hr();ct$1(t);}();}),{event:t}),sn=null;}],["click",function(t,e){ci(e,(()=>{const n=Tr(),r=Xs(Rs(e)),i=wr();if(r)if(lr(n)){const e=n.anchor,s=e.getNode();if("element"===e.type&&0===e.offset&&n.isCollapsed()&&!mi(s)&&1===os().getChildrenSize()&&s.getTopLevelElementOrThrow().isEmpty()&&null!==i&&n.is(i))r.removeAllRanges(),n.dirty=!0;else if(3===t.detail&&!n.isCollapsed()){if(s!==n.focus.getNode()){const t=function(t,e){let n=t;for(;n!==os()&&null!=n;){if(e(n))return n;n=n.getParent();}return null}(s,(t=>di(t)&&!t.isInline()));di(t)&&t.select(0);}}}else if("touch"===t.pointerType){const n=r.anchorNode;if(eo(n)||$i(n)){cs(br(i,r,e,t));}}Ls(e,ae,t);}));}],["cut",Ye],["copy",Ye],["dragstart",Ye],["dragover",Ye],["dragend",Ye],["paste",Ye],["focus",Ye],["blur",Ye],["drop",Ye]];s$1&&tn.push(["beforeinput",(e,n)=>function(e,n){const r=e.inputType,s=Sn(e);if("deleteCompositionText"===r||i$1&&Fs(n))return;if("insertCompositionText"===r)return;ci(n,(()=>{const i=Tr();if("deleteContentBackward"===r){if(null===i){const t=wr();if(!lr(t))return;cs(t.clone());}if(lr(i)){const r=i.anchor.key===i.focus.key;if(o=e.timeStamp,"MediaLast"===nn&&o<en+Ze&&n.isComposing()&&r){if(Yi(null),en=0,setTimeout((()=>{ci(n,(()=>{Yi(null);}));}),Ze),lr(i)){const e=i.anchor.getNode();e.markDirty(),Xn(e)||t$2(142),xn(i,e);}}else {Yi(null),e.preventDefault();const t=i.anchor.getNode(),s=t.getTextContent(),o=t.canInsertTextAfter(),l=0===i.anchor.offset&&i.focus.offset===s.length;let c=u$4&&r&&!l&&o;if(c&&i.isCollapsed()&&(c=!_i(Ps(i.anchor,!0))),!c){Ls(n,ue,!0);const t=Tr();u$4&&lr(t)&&t.isCollapsed()&&(hn=t,setTimeout((()=>hn=null)));}}return}}var o;if(!lr(i))return;const c=e.data;null!==sn&&_s(!1,n,sn),i.dirty&&null===sn||!i.isCollapsed()||mi(i.anchor.getNode())||null===s||i.applyDOMRange(s),sn=null;const a=i.anchor,f=i.focus,d=a.getNode(),h=f.getNode();if("insertText"!==r&&"insertTranspose"!==r)switch(e.preventDefault(),r){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":Ls(n,he,e);break;case"insertFromComposition":Yi(null),Ls(n,he,e);break;case"insertLineBreak":Yi(null),Ls(n,fe,!1);break;case"insertParagraph":Yi(null),an&&!l$4?(an=!1,Ls(n,fe,!1)):Ls(n,de,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":Ls(n,ge,e);break;case"deleteByComposition":(function(t,e){return t!==e||di(t)||di(e)||!t.isToken()||!e.isToken()})(d,h)&&Ls(n,_e,e);break;case"deleteByDrag":case"deleteByCut":Ls(n,_e,e);break;case"deleteContent":Ls(n,ue,!1);break;case"deleteWordBackward":Ls(n,pe,!0);break;case"deleteWordForward":Ls(n,pe,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":Ls(n,me,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":Ls(n,me,!1);break;case"formatStrikeThrough":Ls(n,ye,"strikethrough");break;case"formatBold":Ls(n,ye,"bold");break;case"formatItalic":Ls(n,ye,"italic");break;case"formatUnderline":Ls(n,ye,"underline");break;case"historyUndo":Ls(n,xe,void 0);break;case"historyRedo":Ls(n,Se,void 0);}else {if("\n"===c)e.preventDefault(),Ls(n,fe,!1);else if(c===W$3)e.preventDefault(),Ls(n,de,void 0);else if(null==c&&e.dataTransfer){const t=e.dataTransfer.getData("text/plain");e.preventDefault(),i.insertRawText(t);}else null!=c&&_n(i,s,c,e.timeStamp,!0)?(e.preventDefault(),Ls(n,he,c)):sn=c;rn=e.timeStamp;}}));}(e,n)]);let en=0,nn=null,rn=0,sn=null;const on=new WeakMap;let ln=!1,cn=!1,an=!1,un=!1,fn=!1,dn="",hn=null,gn=[0,"",0,"root",0];function _n(t,e,n,r,i){const o=t.anchor,l=t.focus,c=o.getNode(),a=Hr(),u=Xs(Rs(a)),f=null!==u?u.anchorNode:null,d=o.key,h=a.getElementByKey(d),g=n.length;return d!==l.key||!Xn(c)||(!i&&(!s$1||rn<r+50)||c.isDirty()&&g<2||fs(n))&&o.offset!==l.offset&&!c.isComposing()||ji(c)||c.isDirty()&&g>1||(i||!s$1)&&null!==h&&!c.isComposing()&&f!==Ui(h)||null!==u&&null!==e&&(!e.collapsed||e.startContainer!==u.anchorNode||e.startOffset!==u.anchorOffset)||c.getFormat()!==t.format||c.getStyle()!==t.style||function(t,e){if(e.isSegmented())return !0;if(!t.isCollapsed())return !1;const n=t.anchor.offset,r=e.getParentOrThrow(),i=e.isToken();return 0===n?!e.canInsertTextBefore()||!r.canInsertTextBefore()&&!e.isComposing()||i||function(t){const e=t.getPreviousSibling();return (Xn(e)||di(e)&&e.isInline())&&!e.canInsertTextAfter()}(e):n===e.getTextContentSize()&&(!e.canInsertTextAfter()||!r.canInsertTextAfter()&&!e.isComposing()||i)}(t,c)}function pn(t,e){return $i(t)&&null!==t.nodeValue&&0!==e&&e!==t.nodeValue.length}function mn(e,n,r){const{anchorNode:i,anchorOffset:s,focusNode:o,focusOffset:l}=e;ln&&(ln=!1,pn(i,s)&&pn(o,l)&&!hn)||ci(n,(()=>{if(!r)return void cs(null);if(!Wi(n,i,o))return;let c=Tr();if(hn&&lr(c)&&c.isCollapsed()){const t=c.anchor,e=hn.anchor;(t.key===e.key&&t.offset===e.offset+1||1===t.offset&&e.getNode().is(t.getNode().getPreviousSibling()))&&(c=hn.clone(),cs(c));}if(hn=null,lr(c)){const r=c.anchor,i=r.getNode();if(c.isCollapsed()){"Range"===e.type&&e.anchorNode===e.focusNode&&(c.dirty=!0);const s=Rs(n).event,o=s?s.timeStamp:performance.now(),[l,a,u,f,d]=gn,h=os(),g=!1===n.isComposing()&&""===h.getTextContent();if(o<d+200&&r.offset===u&&r.key===f)yn(c,l,a);else if("text"===r.type)Xn(i)||t$2(141),xn(c,i);else if("element"===r.type&&!g){di(i)||t$2(259);const e=r.getNode();e.isEmpty()?function(t,e){const n=e.getTextFormat(),r=e.getTextStyle();yn(t,n,r);}(c,e):yn(c,0,"");}}else {const t=r.key,e=c.focus.key,n=c.getNodes(),i=n.length,o=c.isBackward(),a=o?l:s,u=o?s:l,f=o?e:t,d=o?t:e;let h=L$5,g=!1;for(let t=0;t<i;t++){const e=n[t],r=e.getTextContentSize();if(Xn(e)&&0!==r&&!(0===t&&e.__key===f&&a===r||t===i-1&&e.__key===d&&0===u)&&(g=!0,h&=e.getFormat(),0===h))break}c.format=g?h:0;}}Ls(n,le,void 0);}));}function yn(t,e,n){t.format===e&&t.style===n||(t.format=e,t.style=n,t.dirty=!0);}function xn(t,e){yn(t,e.getFormat(),e.getStyle());}function Sn(t){if(!t.getTargetRanges)return null;const e=t.getTargetRanges();return 0===e.length?null:e[0]}function vn(t,e){const n=t._compositionKey;if(Yi(null),null!==n&&null!=e){if(""===e){const e=ts(n),r=Ui(t.getElementByKey(n));return void(null!==r&&null!==r.nodeValue&&Xn(e)&&ps(e,r.nodeValue,null,null,!0))}if("\n"===e[e.length-1]){const e=Tr();if(lr(e)){const n=e.focus;return e.anchor.set(n.key,n.offset,n.type),void Ls(t,Ee,null)}}}_s(!0,t,e);}function Cn(t){let e=t.__lexicalEventHandles;return void 0===e&&(e=[],t.__lexicalEventHandles=e),e}const kn=new Map;function bn(t){const e=Ys(t.target);if(null===e)return;const n=Ri(e.anchorNode);if(null===n)return;cn&&(cn=!1,ci(n,(()=>{const r=wr(),i=e.anchorNode;if(eo(i)||$i(i)){cs(br(r,e,n,t));}})));const r=ds(n),i=r[r.length-1],s=i._key,o=kn.get(s),l=o||i;l!==n&&mn(e,l,!1),mn(e,n,!0),n!==i?kn.set(s,n):o&&kn.delete(s);}function Tn(t){t._lexicalHandled=!0;}function wn(t){return !0===t._lexicalHandled}function Nn(e){const n=e.ownerDocument,r=on.get(n);void 0===r&&t$2(162);const i=r-1;i>=0||t$2(164),on.set(n,i),0===i&&n.removeEventListener("selectionchange",bn);const s=Ji(e);Ki(s)?(!function(t){if(null!==t._parentEditor){const e=ds(t),n=e[e.length-1]._key;kn.get(n)===t&&kn.delete(n);}else kn.delete(t._key);}(s),e.__lexicalEditor=null):s&&t$2(198);const o=Cn(e);for(let t=0;t<o.length;t++)o[t]();e.__lexicalEventHandles=[];}function En(t,e,n){Vr();const r=t.__key,i=t.getParent();if(null===i)return;const s=function(t){const e=Tr();if(!lr(e)||!di(t))return e;const{anchor:n,focus:r}=e,i=n.getNode(),s=r.getNode();Ws(i,t)&&n.set(t.__key,0,"element");Ws(s,t)&&r.set(t.__key,0,"element");return e}(t);let o=!1;if(lr(s)&&e){const e=s.anchor,n=s.focus;e.key===r&&(Pr(e,t,i,t.getPreviousSibling(),t.getNextSibling()),o=!0),n.key===r&&(Pr(n,t,i,t.getPreviousSibling(),t.getNextSibling()),o=!0);}else ar(s)&&e&&t.isSelected()&&t.selectPrevious();if(lr(s)&&e&&!o){const e=t.getIndexWithinParent();Qi(t),Nr(s,i,e,-1);}else Qi(t);n||$s(i)||i.canBeEmpty()||!i.isEmpty()||En(i,e),e&&mi(i)&&i.isEmpty()&&i.selectEnd();}class Pn{static getType(){t$2(64,this.name);}static clone(e){t$2(65,this.name);}afterCloneFrom(t){this.__parent=t.__parent,this.__next=t.__next,this.__prev=t.__prev,this.__state=t.__state;}constructor(t){this.__type=this.constructor.getType(),this.__parent=null,this.__prev=null,this.__next=null,Object.defineProperty(this,"__state",{configurable:!0,enumerable:!1,value:void 0,writable:!0}),Gi(this,t);}getType(){return this.__type}isInline(){t$2(137,this.constructor.name);}isAttached(){let t=this.__key;for(;null!==t;){if("root"===t)return !0;const e=ts(t);if(null===e)break;t=e.__parent;}return !1}isSelected(t){const e=t||Tr();if(null==e)return !1;const n=e.getNodes().some((t=>t.__key===this.__key));if(Xn(this))return n;if(lr(e)&&"element"===e.anchor.type&&"element"===e.focus.type){if(e.isCollapsed())return !1;const t=this.getParent();if(_i(this)&&this.isInline()&&t){const n=e.isBackward()?e.focus:e.anchor;if(t.is(n.getNode())&&n.offset===t.getChildrenSize()&&this.is(t.getLastChild()))return !1}}return n}getKey(){return this.__key}getIndexWithinParent(){const t=this.getParent();if(null===t)return -1;let e=t.getFirstChild(),n=0;for(;null!==e;){if(this.is(e))return n;n++,e=e.getNextSibling();}return -1}getParent(){const t=this.getLatest().__parent;return null===t?null:ts(t)}getParentOrThrow(){const e=this.getParent();return null===e&&t$2(66,this.__key),e}getTopLevelElement(){let e=this;for(;null!==e;){const n=e.getParent();if($s(n))return di(e)||e===this&&_i(e)||t$2(194),e;e=n;}return null}getTopLevelElementOrThrow(){const e=this.getTopLevelElement();return null===e&&t$2(67,this.__key),e}getParents(){const t=[];let e=this.getParent();for(;null!==e;)t.push(e),e=e.getParent();return t}getParentKeys(){const t=[];let e=this.getParent();for(;null!==e;)t.push(e.__key),e=e.getParent();return t}getPreviousSibling(){const t=this.getLatest().__prev;return null===t?null:ts(t)}getPreviousSiblings(){const t=[],e=this.getParent();if(null===e)return t;let n=e.getFirstChild();for(;null!==n&&!n.is(this);)t.push(n),n=n.getNextSibling();return t}getNextSibling(){const t=this.getLatest().__next;return null===t?null:ts(t)}getNextSiblings(){const t=[];let e=this.getNextSibling();for(;null!==e;)t.push(e),e=e.getNextSibling();return t}getCommonAncestor(t){const e=di(this)?this:this.getParent(),n=di(t)?t:t.getParent(),r=e&&n?Go(e,n):null;return r?r.commonAncestor:null}is(t){return null!=t&&this.__key===t.__key}isBefore(e){const n=Go(this,e);return null!==n&&("descendant"===n.type||("branch"===n.type?-1===Uo(n):("same"!==n.type&&"ancestor"!==n.type&&t$2(279),!1)))}isParentOf(t){const e=Go(this,t);return null!==e&&"ancestor"===e.type}getNodesBetween(e){const n=this.isBefore(e),r=[],i=new Set;let s=this;for(;null!==s;){const o=s.__key;if(i.has(o)||(i.add(o),r.push(s)),s===e)break;const l=di(s)?n?s.getFirstChild():s.getLastChild():null;if(null!==l){s=l;continue}const c=n?s.getNextSibling():s.getPreviousSibling();if(null!==c){s=c;continue}const a=s.getParentOrThrow();if(i.has(a.__key)||r.push(a),a===e)break;let u=null,f=a;do{if(null===f&&t$2(68),u=n?f.getNextSibling():f.getPreviousSibling(),f=f.getParent(),null===f)break;null!==u||i.has(f.__key)||r.push(f);}while(null===u);s=u;}return n||r.reverse(),r}isDirty(){const t=Hr()._dirtyLeaves;return null!==t&&t.has(this.__key)}getLatest(){const e=ts(this.__key);return null===e&&t$2(113),e}getWritable(){Vr();const t=qr(),e=Hr(),n=t._nodeMap,r=this.__key,i=this.getLatest(),s=e._cloneNotNeeded,o=Tr();if(null!==o&&o.setCachedNodes(null),s.has(r))return Xi(i),i;const l=ho(i);return s.add(r),Xi(l),n.set(r,l),l}getTextContent(){return ""}getTextContentSize(){return this.getTextContent().length}createDOM(e,n){t$2(70);}updateDOM(e,n,r){t$2(71);}exportDOM(t){return {element:this.createDOM(t._config,t)}}exportJSON(){const t=this.__state?this.__state.toJSON():void 0;return {type:this.__type,version:1,...t}}static importJSON(e){t$2(18,this.name);}updateFromJSON(t){return function(t,e){const n=t.getWritable();return (e||n.__state)&&yt$2(t).updateFromJSON(e),n}(this,t.$)}static transform(){return null}remove(t){En(this,!0,t);}replace(e,n){Vr();let r=Tr();null!==r&&(r=r.clone()),qs(this,e);const i=this.getLatest(),s=this.__key,o=e.__key,l=e.getWritable(),c=this.getParentOrThrow().getWritable(),a=c.__size;Qi(l);const u=i.getPreviousSibling(),f=i.getNextSibling(),d=i.__prev,h=i.__next,g=i.__parent;if(En(i,!1,!0),null===u)c.__first=o;else {u.getWritable().__next=o;}if(l.__prev=d,null===f)c.__last=o;else {f.getWritable().__prev=o;}if(l.__next=h,l.__parent=g,c.__size=a,n&&(di(this)&&di(l)||t$2(139),this.getChildren().forEach((t=>{l.append(t);}))),lr(r)){cs(r);const t=r.anchor,e=r.focus;t.key===s&&sr(t,l),e.key===s&&sr(e,l);}return Zi()===s&&Yi(o),l}insertAfter(t,e=!0){Vr(),qs(this,t);const n=this.getWritable(),r=t.getWritable(),i=r.getParent(),s=Tr();let o=!1,l=!1;if(null!==i){const e=t.getIndexWithinParent();if(Qi(r),lr(s)){const t=i.__key,n=s.anchor,r=s.focus;o="element"===n.type&&n.key===t&&n.offset===e+1,l="element"===r.type&&r.key===t&&r.offset===e+1;}}const c=this.getNextSibling(),a=this.getParentOrThrow().getWritable(),u=r.__key,f=n.__next;if(null===c)a.__last=u;else {c.getWritable().__prev=u;}if(a.__size++,n.__next=u,r.__next=f,r.__prev=n.__key,r.__parent=n.__parent,e&&lr(s)){const t=this.getIndexWithinParent();Nr(s,a,t+1);const e=a.__key;o&&s.anchor.set(e,t+2,"element"),l&&s.focus.set(e,t+2,"element");}return t}insertBefore(t,e=!0){Vr(),qs(this,t);const n=this.getWritable(),r=t.getWritable(),i=r.__key;Qi(r);const s=this.getPreviousSibling(),o=this.getParentOrThrow().getWritable(),l=n.__prev,c=this.getIndexWithinParent();if(null===s)o.__first=i;else {s.getWritable().__next=i;}o.__size++,n.__prev=i,r.__prev=l,r.__next=n.__key,r.__parent=n.__parent;const a=Tr();if(e&&lr(a)){Nr(a,this.getParentOrThrow(),c);}return t}isParentRequired(){return !1}createParentElementNode(){return Ti()}selectStart(){return this.selectPrevious()}selectEnd(){return this.selectNext(0,0)}selectPrevious(t,e){Vr();const n=this.getPreviousSibling(),r=this.getParentOrThrow();if(null===n)return r.select(0,0);if(di(n))return n.select();if(!Xn(n)){const t=n.getIndexWithinParent()+1;return r.select(t,t)}return n.select(t,e)}selectNext(t,e){Vr();const n=this.getNextSibling(),r=this.getParentOrThrow();if(null===n)return r.select();if(di(n))return n.select(0,0);if(!Xn(n)){const t=n.getIndexWithinParent();return r.select(t,t)}return n.select(t,e)}markDirty(){this.getWritable();}reconcileObservedMutation(t,e){this.markDirty();}}class Fn extends Pn{static getType(){return "linebreak"}static clone(t){return new Fn(t.__key)}constructor(t){super(t);}getTextContent(){return "\n"}createDOM(){return document.createElement("br")}updateDOM(){return !1}isInline(){return !0}static importDOM(){return {br:t=>function(t){const e=t.parentElement;if(null!==e&&so(e)){const n=e.firstChild;if(n===t||n.nextSibling===t&&Mn(n)){const n=e.lastChild;if(n===t||n.previousSibling===t&&Mn(n))return !0}}return !1}(t)||function(t){const e=t.parentElement;if(null!==e&&so(e)){const n=e.firstChild;if(n===t||n.nextSibling===t&&Mn(n))return !1;const r=e.lastChild;if(r===t||r.previousSibling===t&&Mn(r))return !0}return !1}(t)?null:{conversion:Ln,priority:0}}}static importJSON(t){return An().updateFromJSON(t)}}function Ln(t){return {node:An()}}function An(){return Us(new Fn)}function On(t){return t instanceof Fn}function Mn(t){return $i(t)&&/^( |\t|\r?\n)+$/.test(t.textContent||"")}function In(t,e){return 16&e?"code":e&F$4?"mark":32&e?"sub":64&e?"sup":null}function Dn(t,e){return 1&e?"strong":2&e?"em":"span"}function zn(t,e,n,r,i){const s=r.classList;let o=Ts(i,"base");void 0!==o&&s.add(...o),o=Ts(i,"underlineStrikethrough");let l=!1;const c=e&w$6&&e&T$3;void 0!==o&&(n&w$6&&n&T$3?(l=!0,c||s.add(...o)):c&&s.remove(...o));for(const t in V$3){const r=V$3[t];if(o=Ts(i,t),void 0!==o)if(n&r){if(l&&("underline"===t||"strikethrough"===t)){e&r&&s.remove(...o);continue}e&r&&(!c||"underline"!==t)&&"strikethrough"!==t||s.add(...o);}else e&r&&s.remove(...o);}}function Bn(t,e,n){const r=e.firstChild,s=n.isComposing(),o=t+(s?B$4:"");if(null==r)e.textContent=o;else {const t=r.nodeValue;if(t!==o)if(s||i$1){const[e,n,i]=function(t,e){const n=t.length,r=e.length;let i=0,s=0;for(;i<n&&i<r&&t[i]===e[i];)i++;for(;s+i<n&&s+i<r&&t[n-s-1]===e[r-s-1];)s++;return [i,n-i-s,e.slice(i,r-s)]}(t,o);0!==n&&r.deleteData(e,n),r.insertData(e,i);}else r.nodeValue=o;}}function Wn(t,e,n,r,i,s){Bn(i,t,e);const o=s.theme.text;void 0!==o&&zn(0,0,r,t,o);}function Kn(t,e){const n=document.createElement(e);return n.appendChild(t),n}class Rn extends Pn{static getType(){return "text"}static clone(t){return new Rn(t.__text,t.__key)}afterCloneFrom(t){super.afterCloneFrom(t),this.__text=t.__text,this.__format=t.__format,this.__style=t.__style,this.__mode=t.__mode,this.__detail=t.__detail;}constructor(t="",e){super(e),this.__text=t,this.__format=0,this.__style="",this.__mode=0,this.__detail=0;}getFormat(){return this.getLatest().__format}getDetail(){return this.getLatest().__detail}getMode(){const t=this.getLatest();return Q$3[t.__mode]}getStyle(){return this.getLatest().__style}isToken(){return 1===this.getLatest().__mode}isComposing(){return this.__key===Zi()}isSegmented(){return 2===this.getLatest().__mode}isDirectionless(){return !!(1&this.getLatest().__detail)}isUnmergeable(){return !!(2&this.getLatest().__detail)}hasFormat(t){const e=V$3[t];return !!(this.getFormat()&e)}isSimpleText(){return "text"===this.__type&&0===this.__mode}getTextContent(){return this.getLatest().__text}getFormatFlags(t,e){return qi(this.getLatest().__format,t,e)}canHaveFormat(){return !0}isInline(){return !0}createDOM(t,e){const n=this.__format,r=In(0,n),i=Dn(0,n),s=null===r?i:r,o=document.createElement(s);let l=o;this.hasFormat("code")&&o.setAttribute("spellcheck","false"),null!==r&&(l=document.createElement(i),o.appendChild(l));Wn(l,this,0,n,this.__text,t);const c=this.__style;return ""!==c&&(o.style.cssText=c),o}updateDOM(e,n,r){const i=this.__text,s=e.__format,o=this.__format,l=In(0,s),c=In(0,o),a=Dn(0,s),u=Dn(0,o);if((null===l?a:l)!==(null===c?u:c))return !0;if(l===c&&a!==u){const e=n.firstChild;null==e&&t$2(48);const s=document.createElement(u);return Wn(s,this,0,o,i,r),n.replaceChild(s,e),!1}let f=n;null!==c&&null!==l&&(f=n.firstChild,null==f&&t$2(49)),Bn(i,f,this);const d=r.theme.text;void 0!==d&&s!==o&&zn(0,s,o,f,d);const h=e.__style,g=this.__style;return h!==g&&(n.style.cssText=g),!1}static importDOM(){return {"#text":()=>({conversion:Un,priority:0}),b:()=>({conversion:jn,priority:0}),code:()=>({conversion:Gn,priority:0}),em:()=>({conversion:Gn,priority:0}),i:()=>({conversion:Gn,priority:0}),mark:()=>({conversion:Gn,priority:0}),s:()=>({conversion:Gn,priority:0}),span:()=>({conversion:Jn,priority:0}),strong:()=>({conversion:Gn,priority:0}),sub:()=>({conversion:Gn,priority:0}),sup:()=>({conversion:Gn,priority:0}),u:()=>({conversion:Gn,priority:0})}}static importJSON(t){return Qn().updateFromJSON(t)}updateFromJSON(t){return super.updateFromJSON(t).setTextContent(t.text).setFormat(t.format).setDetail(t.detail).setMode(t.mode).setStyle(t.style)}exportDOM(e){let{element:n}=super.exportDOM(e);return eo(n)||t$2(132),n.style.whiteSpace="pre-wrap",this.hasFormat("bold")&&(n=Kn(n,"b")),this.hasFormat("italic")&&(n=Kn(n,"i")),this.hasFormat("strikethrough")&&(n=Kn(n,"s")),this.hasFormat("underline")&&(n=Kn(n,"u")),{element:n}}exportJSON(){return {detail:this.getDetail(),format:this.getFormat(),mode:this.getMode(),style:this.getStyle(),text:this.getTextContent(),...super.exportJSON()}}selectionTransform(t,e){}setFormat(t){const e=this.getWritable();return e.__format="string"==typeof t?V$3[t]:t,e}setDetail(t){const e=this.getWritable();return e.__detail="string"==typeof t?U$5[t]:t,e}setStyle(t){const e=this.getWritable();return e.__style=t,e}toggleFormat(t){const e=qi(this.getFormat(),t,null);return this.setFormat(e)}toggleDirectionless(){const t=this.getWritable();return t.__detail^=1,t}toggleUnmergeable(){const t=this.getWritable();return t.__detail^=2,t}setMode(t){const e=G$4[t];if(this.__mode===e)return this;const n=this.getWritable();return n.__mode=e,n}setTextContent(t){if(this.__text===t)return this;const e=this.getWritable();return e.__text=t,e}select(t,e){Vr();let n=t,r=e;const i=Tr(),s=this.getTextContent(),o=this.__key;if("string"==typeof s){const t=s.length;void 0===n&&(n=t),void 0===r&&(r=t);}else n=0,r=0;if(!lr(i))return Sr(o,n,o,r,"text","text");{const t=Zi();t!==i.anchor.key&&t!==i.focus.key||Yi(o),i.setTextNodeRange(this,n,this,r);}return i}selectStart(){return this.select(0,0)}selectEnd(){const t=this.getTextContentSize();return this.select(t,t)}spliceText(t,e,n,r){const i=this.getWritable(),s=i.__text,o=n.length;let l=t;l<0&&(l=o+l,l<0&&(l=0));const c=Tr();if(r&&lr(c)){const e=t+o;c.setTextNodeRange(i,e,i,e);}const a=s.slice(0,l)+n+s.slice(l+e);return i.__text=a,i}canInsertTextBefore(){return !0}canInsertTextAfter(){return !0}splitText(...t){Vr();const e=this.getLatest(),n=e.getTextContent();if(""===n)return [];const r=e.__key,i=Zi(),s=n.length;t.sort(((t,e)=>t-e)),t.push(s);const o=[],l=t.length;for(let e=0,r=0;e<s&&r<=l;r++){const i=t[r];i>e&&(o.push(n.slice(e,i)),e=i);}const c=o.length;if(1===c)return [e];const a=o[0],u=e.getParent();let f;const d=e.getFormat(),h=e.getStyle(),g=e.__detail;let _=!1,p=null,m=null;const y=Tr();if(lr(y)){const[t,e]=y.isBackward()?[y.focus,y.anchor]:[y.anchor,y.focus];"text"===t.type&&t.key===r&&(p=t),"text"===e.type&&e.key===r&&(m=e);}e.isSegmented()?(f=Qn(a),f.__format=d,f.__style=h,f.__detail=g,_=!0):(f=e.getWritable(),f.__text=a);const x=[f];for(let t=1;t<c;t++){const e=Qn(o[t]);e.__format=d,e.__style=h,e.__detail=g;const n=e.__key;i===r&&Yi(n),x.push(e);}const S=p?p.offset:null,v=m?m.offset:null;let C=0;for(const t of x){if(!p&&!m)break;const e=C+t.getTextContentSize();if(null!==p&&null!==S&&S<=e&&S>=C&&(p.set(t.getKey(),S-C,"text"),S<e&&(p=null)),null!==m&&null!==v&&v<=e&&v>=C){m.set(t.getKey(),v-C,"text");break}C=e;}if(null!==u){!function(t){const e=t.getPreviousSibling(),n=t.getNextSibling();null!==e&&Xi(e);null!==n&&Xi(n);}(this);const t=u.getWritable(),e=this.getIndexWithinParent();_?(t.splice(e,0,x),this.remove()):t.splice(e,1,x),lr(y)&&Nr(y,u,e,c-1);}return x}mergeWithSibling(e){const n=e===this.getPreviousSibling();n||e===this.getNextSibling()||t$2(50);const r=this.__key,i=e.__key,s=this.__text,o=s.length;Zi()===i&&Yi(r);const l=Tr();if(lr(l)){const t=l.anchor,s=l.focus;null!==t&&t.key===i&&Fr(t,n,r,e,o),null!==s&&s.key===i&&Fr(s,n,r,e,o);}const c=e.__text,a=n?c+s:s+c;this.setTextContent(a);const u=this.getWritable();return e.remove(),u}isTextEntity(){return !1}}function Jn(t){return {forChild:Yn(t.style),node:null}}function jn(t){const e=t,n="normal"===e.style.fontWeight;return {forChild:Yn(e.style,n?void 0:"bold"),node:null}}const $n=new WeakMap;function Vn(t){if(!eo(t))return !1;if("PRE"===t.nodeName)return !0;const e=t.style.whiteSpace;return "string"==typeof e&&e.startsWith("pre")}function Un(e){const n=e;null===e.parentElement&&t$2(129);let r=n.textContent||"";if(null!==function(t){let e,n=t.parentNode;const r=[t];for(;null!==n&&void 0===(e=$n.get(n))&&!Vn(n);)r.push(n),n=n.parentNode;const i=void 0===e?n:e;for(let t=0;t<r.length;t++)$n.set(r[t],i);return i}(n)){const t=r.split(/(\r?\n|\t)/),e=[],n=t.length;for(let r=0;r<n;r++){const n=t[r];"\n"===n||"\r\n"===n?e.push(An()):"\t"===n?e.push(tr()):""!==n&&e.push(Qn(n));}return {node:e}}if(r=r.replace(/\r/g,"").replace(/[ \t\n]+/g," "),""===r)return {node:null};if(" "===r[0]){let t=n,e=!0;for(;null!==t&&null!==(t=qn(t,!1));){const n=t.textContent||"";if(n.length>0){/[ \t\n]$/.test(n)&&(r=r.slice(1)),e=!1;break}}e&&(r=r.slice(1));}if(" "===r[r.length-1]){let t=n,e=!0;for(;null!==t&&null!==(t=qn(t,!0));){if((t.textContent||"").replace(/^( |\t|\r?\n)+/,"").length>0){e=!1;break}}e&&(r=r.slice(0,r.length-1));}return ""===r?{node:null}:{node:Qn(r)}}function qn(t,e){let n=t;for(;;){let t;for(;null===(t=e?n.nextSibling:n.previousSibling);){const t=n.parentElement;if(null===t)return null;n=t;}if(n=t,eo(n)){const t=n.style.display;if(""===t&&!io(n)||""!==t&&!t.startsWith("inline"))return null}let r=n;for(;null!==(r=e?n.firstChild:n.lastChild);)n=r;if($i(n))return n;if("BR"===n.nodeName)return null}}const Hn={code:"code",em:"italic",i:"italic",mark:"highlight",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function Gn(t){const e=Hn[t.nodeName.toLowerCase()];return void 0===e?{node:null}:{forChild:Yn(t.style,e),node:null}}function Qn(t=""){return Us(new Rn(t))}function Xn(t){return t instanceof Rn}function Yn(t,e){const n=t.fontWeight,r=t.textDecoration.split(" "),i="700"===n||"bold"===n,s=r.includes("line-through"),o="italic"===t.fontStyle,l=r.includes("underline"),c=t.verticalAlign;return t=>Xn(t)?(i&&!t.hasFormat("bold")&&t.toggleFormat("bold"),s&&!t.hasFormat("strikethrough")&&t.toggleFormat("strikethrough"),o&&!t.hasFormat("italic")&&t.toggleFormat("italic"),l&&!t.hasFormat("underline")&&t.toggleFormat("underline"),"sub"!==c||t.hasFormat("subscript")||t.toggleFormat("subscript"),"super"!==c||t.hasFormat("superscript")||t.toggleFormat("superscript"),e&&!t.hasFormat(e)&&t.toggleFormat(e),t):t}class Zn extends Rn{static getType(){return "tab"}static clone(t){return new Zn(t.__key)}constructor(t){super("\t",t),this.__detail=2;}static importDOM(){return null}createDOM(t){const e=super.createDOM(t),n=Ts(t.theme,"tab");if(void 0!==n){e.classList.add(...n);}return e}static importJSON(t){return tr().updateFromJSON(t)}setTextContent(e){return "\t"!==e&&""!==e&&t$2(126),super.setTextContent(e)}setDetail(e){return 2!==e&&t$2(127),this}setMode(e){return "normal"!==e&&t$2(128),this}canInsertTextBefore(){return !1}canInsertTextAfter(){return !1}}function tr(){return Us(new Zn)}function er(t){return t instanceof Zn}class nr{constructor(t,e,n){this._selection=null,this.key=t,this.offset=e,this.type=n;}is(t){return this.key===t.key&&this.offset===t.offset&&this.type===t.type}isBefore(t){if(this.key===t.key)return this.offset<t.offset;return Vo(sl(Qo(this,"next")),sl(Qo(t,"next")))<0}getNode(){const e=ts(this.key);return null===e&&t$2(20),e}set(t,e,n,r){const i=this._selection,s=this.key;r&&this.key===t&&this.offset===e&&this.type===n||(this.key=t,this.offset=e,this.type=n,$r()||(Zi()===s&&Yi(t),null!==i&&(i.setCachedNodes(null),i.dirty=!0)));}}function rr(t,e,n){return new nr(t,e,n)}function ir(t,e){let n=e.__key,r=t.offset,i="element";if(Xn(e)){i="text";const t=e.getTextContentSize();r>t&&(r=t);}else if(!di(e)){const t=e.getNextSibling();if(Xn(t))n=t.__key,r=0,i="text";else {const t=e.getParent();t&&(n=t.__key,r=e.getIndexWithinParent()+1);}}t.set(n,r,i);}function sr(t,e){if(di(e)){const n=e.getLastDescendant();di(n)||Xn(n)?ir(t,n):ir(t,e);}else ir(t,e);}class or{constructor(t){this._cachedNodes=null,this._nodes=t,this.dirty=!1;}getCachedNodes(){return this._cachedNodes}setCachedNodes(t){this._cachedNodes=t;}is(t){if(!ar(t))return !1;const e=this._nodes,n=t._nodes;return e.size===n.size&&Array.from(e).every((t=>n.has(t)))}isCollapsed(){return !1}isBackward(){return !1}getStartEndPoints(){return null}add(t){this.dirty=!0,this._nodes.add(t),this._cachedNodes=null;}delete(t){this.dirty=!0,this._nodes.delete(t),this._cachedNodes=null;}clear(){this.dirty=!0,this._nodes.clear(),this._cachedNodes=null;}has(t){return this._nodes.has(t)}clone(){return new or(new Set(this._nodes))}extract(){return this.getNodes()}insertRawText(t){}insertText(){}insertNodes(t){const e=this.getNodes(),n=e.length,r=e[n-1];let i;if(Xn(r))i=r.select();else {const t=r.getIndexWithinParent()+1;i=r.getParentOrThrow().select(t,t);}i.insertNodes(t);for(let t=0;t<n;t++)e[t].remove();}getNodes(){const t=this._cachedNodes;if(null!==t)return t;const e=this._nodes,n=[];for(const t of e){const e=ts(t);null!==e&&n.push(e);}return $r()||(this._cachedNodes=n),n}getTextContent(){const t=this.getNodes();let e="";for(let n=0;n<t.length;n++)e+=t[n].getTextContent();return e}}function lr(t){return t instanceof cr}class cr{constructor(t,e,n,r){this.anchor=t,this.focus=e,t._selection=this,e._selection=this,this._cachedNodes=null,this.format=n,this.style=r,this.dirty=!1;}getCachedNodes(){return this._cachedNodes}setCachedNodes(t){this._cachedNodes=t;}is(t){return !!lr(t)&&(this.anchor.is(t.anchor)&&this.focus.is(t.focus)&&this.format===t.format&&this.style===t.style)}isCollapsed(){return this.anchor.is(this.focus)}getNodes(){const t=this._cachedNodes;if(null!==t)return t;const e=function(t){const e=[],[n,r]=t.getTextSlices();n&&e.push(n.caret.origin);const i=new Set,s=new Set;for(const n of t)if(Eo(n)){const{origin:t}=n;0===e.length?i.add(t):(s.add(t),e.push(t));}else {const{origin:t}=n;di(t)&&s.has(t)||e.push(t);}r&&e.push(r.caret.origin);if(No(t.focus)&&di(t.focus.origin)&&null===t.focus.getNodeAtCaret())for(let n=Do(t.focus.origin,"previous");Eo(n)&&i.has(n.origin)&&!n.origin.isEmpty()&&n.origin.is(e[e.length-1]);n=Bo(n))i.delete(n.origin),e.pop();for(;e.length>1;){const t=e[e.length-1];if(!di(t)||s.has(t)||t.isEmpty()||i.has(t))break;e.pop();}if(0===e.length&&t.isCollapsed()){const n=sl(t.anchor),r=sl(t.anchor.getFlipped()),i=t=>To(t)?t.origin:t.getNodeAtCaret(),s=i(n)||i(r)||(t.anchor.getNodeAtCaret()?n.origin:r.origin);e.push(s);}return e}(cl(tl(this),"next"));return $r()||(this._cachedNodes=e),e}setTextNodeRange(t,e,n,r){this.anchor.set(t.__key,e,"text"),this.focus.set(n.__key,r,"text");}getTextContent(){const t=this.getNodes();if(0===t.length)return "";const e=t[0],n=t[t.length-1],r=this.anchor,i=this.focus,s=r.isBefore(i),[o,l]=fr(this);let c="",a=!0;for(let u=0;u<t.length;u++){const f=t[u];if(di(f)&&!f.isInline())a||(c+="\n"),a=!f.isEmpty();else if(a=!1,Xn(f)){let t=f.getTextContent();f===e?f===n?"element"===r.type&&"element"===i.type&&i.offset!==r.offset||(t=o<l?t.slice(o,l):t.slice(l,o)):t=s?t.slice(o):t.slice(l):f===n&&(t=s?t.slice(0,l):t.slice(0,o)),c+=t;}else !_i(f)&&!On(f)||f===n&&this.isCollapsed()||(c+=f.getTextContent());}return c}applyDOMRange(t){const e=Hr(),n=e.getEditorState()._selection,r=yr(t.startContainer,t.startOffset,t.endContainer,t.endOffset,e,n);if(null===r)return;const[i,s]=r;this.anchor.set(i.key,i.offset,i.type,!0),this.focus.set(s.key,s.offset,s.type,!0),Ct$2(this);}clone(){const t=this.anchor,e=this.focus;return new cr(rr(t.key,t.offset,t.type),rr(e.key,e.offset,e.type),this.format,this.style)}toggleFormat(t){this.format=qi(this.format,t,null),this.dirty=!0;}setStyle(t){this.style=t,this.dirty=!0;}hasFormat(t){const e=V$3[t];return !!(this.format&e)}insertRawText(t){const e=t.split(/(\r?\n|\t)/),n=[],r=e.length;for(let t=0;t<r;t++){const r=e[t];"\n"===r||"\r\n"===r?n.push(An()):"\t"===r?n.push(tr()):n.push(Qn(r));}this.insertNodes(n);}insertText(e){const n=this.anchor,r=this.focus,i=this.format,s=this.style;let o=n,l=r;!this.isCollapsed()&&r.isBefore(n)&&(o=r,l=n),"element"===o.type&&function(t,e,n,r){const i=t.getNode(),s=i.getChildAtIndex(t.offset),o=Qn(),l=mi(i)?Ti().append(o):o;o.setFormat(n),o.setStyle(r),null===s?i.append(l):s.insertBefore(l),t.is(e)&&e.set(o.__key,0,"text"),t.set(o.__key,0,"text");}(o,l,i,s),"element"===l.type&&Xo(l,sl(Qo(l,"next")));const c=o.offset;let a=l.offset;const u=this.getNodes(),f=u.length;let d=u[0];Xn(d)||t$2(26);const h=d.getTextContent().length,g=d.getParentOrThrow();let _=u[f-1];if(1===f&&"element"===l.type&&(a=h,l.set(o.key,a,"text")),this.isCollapsed()&&c===h&&(d.isSegmented()||d.isToken()||!d.canInsertTextAfter()||!g.canInsertTextAfter()&&null===d.getNextSibling())){let t=d.getNextSibling();if(Xn(t)&&t.canInsertTextBefore()&&!ji(t)||(t=Qn(),t.setFormat(i),t.setStyle(s),g.canInsertTextAfter()?d.insertAfter(t):g.insertAfter(t)),t.select(0,0),d=t,""!==e)return void this.insertText(e)}else if(this.isCollapsed()&&0===c&&(d.isSegmented()||d.isToken()||!d.canInsertTextBefore()||!g.canInsertTextBefore()&&null===d.getPreviousSibling())){let t=d.getPreviousSibling();if(Xn(t)&&!ji(t)||(t=Qn(),t.setFormat(i),g.canInsertTextBefore()?d.insertBefore(t):g.insertBefore(t)),t.select(),d=t,""!==e)return void this.insertText(e)}else if(d.isSegmented()&&c!==h){const t=Qn(d.getTextContent());t.setFormat(i),d.replace(t),d=t;}else if(!this.isCollapsed()&&""!==e){const t=_.getParent();if(!g.canInsertTextBefore()||!g.canInsertTextAfter()||di(t)&&(!t.canInsertTextBefore()||!t.canInsertTextAfter()))return this.insertText(""),mr(this.anchor,this.focus,null),void this.insertText(e)}if(1===f){if(d.isToken()){const t=Qn(e);return t.select(),void d.replace(t)}const t=d.getFormat(),n=d.getStyle();if(c!==a||t===i&&n===s){if(er(d)){const t=Qn(e);return t.setFormat(i),t.setStyle(s),t.select(),void d.replace(t)}}else {if(""!==d.getTextContent()){const t=Qn(e);if(t.setFormat(i),t.setStyle(s),t.select(),0===c)d.insertBefore(t,!1);else {const[e]=d.splitText(c);e.insertAfter(t,!1);}return void(t.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length))}d.setFormat(i),d.setStyle(s);}const r=a-c;d=d.spliceText(c,r,e,!0),""===d.getTextContent()?d.remove():"text"===this.anchor.type&&(d.isComposing()?this.anchor.offset-=e.length:(this.format=t,this.style=n));}else {const t=new Set([...d.getParentKeys(),..._.getParentKeys()]),n=di(d)?d:d.getParentOrThrow();let r=di(_)?_:_.getParentOrThrow(),i=_;if(!n.is(r)&&r.isInline())do{i=r,r=r.getParentOrThrow();}while(r.isInline());if("text"===l.type&&(0!==a||""===_.getTextContent())||"element"===l.type&&_.getIndexWithinParent()<a)if(Xn(_)&&!_.isToken()&&a!==_.getTextContentSize()){if(_.isSegmented()){const t=Qn(_.getTextContent());_.replace(t),_=t;}mi(l.getNode())||"text"!==l.type||(_=_.spliceText(0,a,"")),t.add(_.__key);}else {const t=_.getParentOrThrow();t.canBeEmpty()||1!==t.getChildrenSize()?_.remove():t.remove();}else t.add(_.__key);const s=r.getChildren(),o=new Set(u),g=n.is(r),p=n.isInline()&&null===d.getNextSibling()?n:d;for(let t=s.length-1;t>=0;t--){const e=s[t];if(e.is(d)||di(e)&&e.isParentOf(d))break;e.isAttached()&&(!o.has(e)||e.is(i)?g||p.insertAfter(e,!1):e.remove());}if(!g){let e=r,n=null;for(;null!==e;){const r=e.getChildren(),i=r.length;(0===i||r[i-1].is(n))&&(t.delete(e.__key),n=e),e=e.getParent();}}if(d.isToken())if(c===h)d.select();else {const t=Qn(e);t.select(),d.replace(t);}else d=d.spliceText(c,h-c,e,!0),""===d.getTextContent()?d.remove():d.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length);for(let e=1;e<f;e++){const n=u[e],r=n.__key;t.has(r)||n.remove();}}}removeText(){const t=Tr()===this;Zo(this,il(tl(this))),t&&Tr()!==this&&cs(this);}formatText(t,e=null){if(this.isCollapsed())return this.toggleFormat(t),void Yi(null);const n=this.getNodes(),r=[];for(const t of n)Xn(t)&&r.push(t);const i=e=>{n.forEach((n=>{if(di(n)){const r=n.getFormatFlags(t,e);n.setTextFormat(r);}}));},s=r.length;if(0===s)return this.toggleFormat(t),Yi(null),void i(e);const o=this.anchor,l=this.focus,c=this.isBackward(),a=c?l:o,u=c?o:l;let f=0,d=r[0],h="element"===a.type?0:a.offset;if("text"===a.type&&h===d.getTextContentSize()&&(f=1,d=r[1],h=0),null==d)return;const g=d.getFormatFlags(t,e);i(g);const _=s-1;let p=r[_];const m="text"===u.type?u.offset:p.getTextContentSize();if(d.is(p)){if(h===m)return;if(ji(d)||0===h&&m===d.getTextContentSize())d.setFormat(g);else {const t=d.splitText(h,m),e=0===h?t[0]:t[1];e.setFormat(g),"text"===a.type&&a.set(e.__key,0,"text"),"text"===u.type&&u.set(e.__key,m-h,"text");}return void(this.format=g)}0===h||ji(d)||([,d]=d.splitText(h),h=0),d.setFormat(g);const y=p.getFormatFlags(t,g);m>0&&(m===p.getTextContentSize()||ji(p)||([p]=p.splitText(m)),p.setFormat(y));for(let e=f+1;e<_;e++){const n=r[e],i=n.getFormatFlags(t,y);n.setFormat(i);}"text"===a.type&&a.set(d.__key,h,"text"),"text"===u.type&&u.set(p.__key,m,"text"),this.format=g|y;}insertNodes(e){if(0===e.length)return;if(this.isCollapsed()||this.removeText(),"root"===this.anchor.key){this.insertParagraph();const n=Tr();return lr(n)||t$2(134),n.insertNodes(e)}const n=(this.isBackward()?this.focus:this.anchor).getNode(),r=lo(n,oo),i=e[e.length-1];if(di(r)&&"__language"in r){if("__language"in e[0])this.insertText(e[0].getTextContent());else {const t=Ir(this);r.splice(t,0,e),i.selectEnd();}return}if(!e.some((t=>(di(t)||_i(t))&&!t.isInline()))){di(r)||t$2(211,n.constructor.name,n.getType());const s=Ir(this);return r.splice(s,0,e),void i.selectEnd()}const s=function(t){const e=Ti();let n=null;for(let r=0;r<t.length;r++){const i=t[r],s=On(i);if(s||_i(i)&&i.isInline()||di(i)&&i.isInline()||Xn(i)||i.isParentRequired()){if(null===n&&(n=i.createParentElementNode(),e.append(n),s))continue;null!==n&&n.append(i);}else e.append(i),n=null;}return e}(e),o=s.getLastDescendant(),l=s.getChildren(),c=!di(r)||!r.isEmpty()?this.insertParagraph():null,a=l[l.length-1];let u=l[0];var f;di(f=u)&&oo(f)&&!f.isEmpty()&&di(r)&&(!r.isEmpty()||r.canMergeWhenEmpty())&&(di(r)||t$2(211,n.constructor.name,n.getType()),r.append(...u.getChildren()),u=l[1]),u&&(null===r&&t$2(212,n.constructor.name,n.getType()),function(e,n,r){const i=n.getParentOrThrow().getLastChild();let s=n;const o=[n];for(;s!==i;)s.getNextSibling()||t$2(140),s=s.getNextSibling(),o.push(s);let l=e;for(const t of o)l=l.insertAfter(t);}(r,u));const d=lo(o,oo);c&&di(d)&&(c.canMergeWhenEmpty()||oo(a))&&(d.append(...c.getChildren()),c.remove()),di(r)&&r.isEmpty()&&r.remove(),o.selectEnd();const h=di(r)?r.getLastChild():null;On(h)&&d!==r&&h.remove();}insertParagraph(){if("root"===this.anchor.key){const t=Ti();return os().splice(this.anchor.offset,0,[t]),t.select(),t}const e=Ir(this),n=lo(this.anchor.getNode(),oo);di(n)||t$2(213);const r=n.getChildAtIndex(e),i=r?[r,...r.getNextSiblings()]:[],s=n.insertNewAfter(this,!1);return s?(s.append(...i),s.selectStart(),s):null}insertLineBreak(t){const e=An();if(this.insertNodes([e]),t){const t=e.getParentOrThrow(),n=e.getIndexWithinParent();t.select(n,n);}}extract(){const t=this.getNodes(),e=t.length,n=e-1,r=this.anchor,i=this.focus;let s=t[0],o=t[n];const[l,c]=fr(this);if(0===e)return [];if(1===e){if(Xn(s)&&!this.isCollapsed()){const t=l>c?c:l,e=l>c?l:c,n=s.splitText(t,e),r=0===t?n[0]:n[1];return null!=r?[r]:[]}return [s]}const a=r.isBefore(i);if(Xn(s)){const e=a?l:c;e===s.getTextContentSize()?t.shift():0!==e&&([,s]=s.splitText(e),t[0]=s);}if(Xn(o)){const e=o.getTextContent().length,r=a?c:l;0===r?t.pop():r!==e&&([o]=o.splitText(r),t[n]=o);}return t}modify(t,e,n){if(zr(this,t,e,n))return;const r="move"===t,i=Hr(),s=Xs(Rs(i));if(!s)return;const o=i._blockCursorElement,l=i._rootElement,c=this.focus.getNode();if(null===l||null===o||!di(c)||c.isInline()||c.canBeEmpty()||Qs(o,i,l),this.dirty){let t=Os(i,this.anchor.key),e=Os(i,this.focus.key);"text"===this.anchor.type&&(t=Ui(t)),"text"===this.focus.type&&(e=Ui(e)),t&&e&&Lr(s,t,this.anchor.offset,e,this.focus.offset);}if(function(t,e,n,r){t.modify(e,n,r);}(s,t,e?"backward":"forward",n),s.rangeCount>0){const t=s.getRangeAt(0),n=this.anchor.getNode(),i=mi(n)?n:js(n);if(this.applyDOMRange(t),this.dirty=!0,!r){const n=this.getNodes(),r=[];let o=!1;for(let t=0;t<n.length;t++){const e=n[t];Ws(e,i)?r.push(e):o=!0;}if(o&&r.length>0)if(e){const t=r[0];di(t)?t.selectStart():t.getParentOrThrow().selectStart();}else {const t=r[r.length-1];di(t)?t.selectEnd():t.getParentOrThrow().selectEnd();}s.anchorNode===t.startContainer&&s.anchorOffset===t.startOffset||function(t){const e=t.focus,n=t.anchor,r=n.key,i=n.offset,s=n.type;n.set(e.key,e.offset,e.type,!0),e.set(r,i,s,!0);}(this);}}"lineboundary"===n&&zr(this,t,e,n,"decorators");}forwardDeletion(t,e,n){if(!n&&("element"===t.type&&di(e)&&t.offset===e.getChildrenSize()||"text"===t.type&&t.offset===e.getTextContentSize())){const t=e.getParent(),n=e.getNextSibling()||(null===t?null:t.getNextSibling());if(di(n)&&n.isShadowRoot())return !0}return !1}deleteCharacter(t){const e=this.isCollapsed();if(this.isCollapsed()){const e=this.anchor;let n=e.getNode();if(this.forwardDeletion(e,n,t))return;const r=Jo(Qo(e,t?"previous":"next"));if(r.getTextSlices().every((t=>null===t||0===t.distance))){let t={type:"initial"};for(const e of r.iterNodeCarets("shadowRoot"))if(Eo(e))if(e.origin.isInline());else {if(e.origin.isShadowRoot()){if("merge-block"===t.type)break;if(di(r.anchor.origin)&&r.anchor.origin.isEmpty()){const t=sl(e);Zo(this,jo(t,t)),r.anchor.origin.remove();}return}"merge-next-block"!==t.type&&"merge-block"!==t.type||(t={block:t.block,caret:e,type:"merge-block"});}else {if("merge-block"===t.type)break;if(No(e)){if(di(e.origin)){if(e.origin.isInline()){if(!e.origin.isParentOf(r.anchor.origin))break}else t={block:e.origin,type:"merge-next-block"};continue}if(_i(e.origin)){if(e.origin.isIsolated());else if("merge-next-block"===t.type&&(e.origin.isKeyboardSelectable()||!e.origin.isInline())&&di(r.anchor.origin)&&r.anchor.origin.isEmpty()){r.anchor.origin.remove();const t=Cr();t.add(e.origin.getKey()),cs(t);}else e.origin.remove();return}break}}if("merge-block"===t.type){const{caret:e,block:n}=t;return Zo(this,jo(!e.origin.isEmpty()&&n.isEmpty()?el(Ao(n,e.direction)):r.anchor,e)),this.removeText()}}const i=this.focus;if(this.modify("extend",t,"character"),this.isCollapsed()){if(t&&0===e.offset&&dr(this,e.getNode()))return}else {const r="text"===i.type?i.getNode():null;if(n="text"===e.type?e.getNode():null,null!==r&&r.isSegmented()){const e=i.offset,s=r.getTextContentSize();if(r.is(n)||t&&e!==s||!t&&0!==e)return void gr(r,t,e)}else if(null!==n&&n.isSegmented()){const i=e.offset,s=n.getTextContentSize();if(n.is(r)||t&&0!==i||!t&&i!==s)return void gr(n,t,i)}!function(t,e){const n=t.anchor,r=t.focus,i=n.getNode(),s=r.getNode();if(i===s&&"text"===n.type&&"text"===r.type){const t=n.offset,s=r.offset,o=t<s,l=o?t:s,c=o?s:t,a=c-1;if(l!==a){(function(t){return !(fs(t)||hr(t))})(i.getTextContent().slice(l,c))&&(e?r.set(r.key,a,r.type):n.set(n.key,a,n.type));}}}(this,t);}}if(this.removeText(),t&&!e&&this.isCollapsed()&&"element"===this.anchor.type&&0===this.anchor.offset){const t=this.anchor.getNode();t.isEmpty()&&mi(t.getParent())&&null===t.getPreviousSibling()&&dr(this,t);}}deleteLine(t){this.isCollapsed()&&this.modify("extend",t,"lineboundary"),this.isCollapsed()?this.deleteCharacter(t):this.removeText();}deleteWord(t){if(this.isCollapsed()){const e=this.anchor,n=e.getNode();if(this.forwardDeletion(e,n,t))return;this.modify("extend",t,"word");}this.removeText();}isBackward(){return this.focus.isBefore(this.anchor)}getStartEndPoints(){return [this.anchor,this.focus]}}function ar(t){return t instanceof or}function ur(t){const e=t.offset;if("text"===t.type)return e;const n=t.getNode();return e===n.getChildrenSize()?n.getTextContent().length:0}function fr(t){const e=t.getStartEndPoints();if(null===e)return [0,0];const[n,r]=e;return "element"===n.type&&"element"===r.type&&n.key===r.key&&n.offset===r.offset?[0,0]:[ur(n),ur(r)]}function dr(t,e){for(let n=e;n;n=n.getParent()){if(di(n)){if(n.collapseAtStart(t))return !0;if($s(n))break}if(n.getPreviousSibling())break}return !1}const hr=(()=>{try{const t=new RegExp("\\p{Emoji}","u"),e=t.test.bind(t);if(e("❤️")&&e("#️⃣")&&e("👍"))return e}catch(t){}return ()=>!1})();function gr(t,e,n){const r=t,i=r.getTextContent().split(/(?=\s)/g),s=i.length;let o=0,l=0;for(let t=0;t<s;t++){const r=t===s-1;if(l=o,o+=i[t].length,e&&o===n||o>n||r){i.splice(t,1),r&&(l=void 0);break}}const c=i.join("").trim();""===c?r.remove():(r.setTextContent(c),r.select(l,l));}function _r(e,n,r,i){let s,o=n;if(eo(e)){let l=!1;const c=e.childNodes,a=c.length,u=i._blockCursorElement;o===a&&(l=!0,o=a-1);let f=c[o],d=!1;if(f===u)f=c[o+1],d=!0;else if(null!==u){const t=u.parentNode;if(e===t){n>Array.prototype.indexOf.call(t.children,u)&&o--;}}if(s=as(f),Xn(s))o=us(s,l);else {let c=as(e);if(null===c)return null;if(di(c)){const a=i.getElementByKey(c.getKey());null===a&&t$2(214);const u=c.getDOMSlot(a);[c,o]=u.resolveChildIndex(c,a,e,n),di(c)||t$2(215),l&&o>=c.getChildrenSize()&&(o=Math.max(0,c.getChildrenSize()-1));let f=c.getChildAtIndex(o);if(di(f)&&function(t,e,n){const r=t.getParent();return null===n||null===r||!r.canBeEmpty()||r!==n.getNode()}(f,0,r)){const t=l?f.getLastDescendant():f.getFirstDescendant();null===t?c=f:(f=t,c=di(f)?f:f.getParentOrThrow()),o=0;}Xn(f)?(s=f,c=null,o=us(f,l)):f!==c&&l&&!d&&(di(c)||t$2(216),o=Math.min(c.getChildrenSize(),o+1));}else {const t=c.getIndexWithinParent();o=0===n&&_i(c)&&as(e)===c?t:t+1,c=c.getParentOrThrow();}if(di(c))return rr(c.__key,o,"element")}}else s=as(e);return Xn(s)?rr(s.__key,o,"text"):null}function pr(t,e,n){const r=t.offset,i=t.getNode();if(0===r){const r=i.getPreviousSibling(),s=i.getParent();if(e){if((n||!e)&&null===r&&di(s)&&s.isInline()){const e=s.getPreviousSibling();Xn(e)&&t.set(e.__key,e.getTextContent().length,"text");}}else di(r)&&!n&&r.isInline()?t.set(r.__key,r.getChildrenSize(),"element"):Xn(r)&&t.set(r.__key,r.getTextContent().length,"text");}else if(r===i.getTextContent().length){const r=i.getNextSibling(),s=i.getParent();if(e&&di(r)&&r.isInline())t.set(r.__key,0,"element");else if((n||e)&&null===r&&di(s)&&s.isInline()&&!s.canInsertTextAfter()){const e=s.getNextSibling();Xn(e)&&t.set(e.__key,0,"text");}}}function mr(t,e,n){if("text"===t.type&&"text"===e.type){const r=t.isBefore(e),i=t.is(e);pr(t,r,i),pr(e,!r,i),i&&e.set(t.key,t.offset,t.type);const s=Hr();if(s.isComposing()&&s._compositionKey!==t.key&&lr(n)){const r=n.anchor,i=n.focus;t.set(r.key,r.offset,r.type,!0),e.set(i.key,i.offset,i.type,!0);}}}function yr(t,e,n,r,i,s){if(null===t||null===n||!Wi(i,t,n))return null;const o=_r(t,e,lr(s)?s.anchor:null,i);if(null===o)return null;const l=_r(n,r,lr(s)?s.focus:null,i);if(null===l)return null;if("element"===o.type&&"element"===l.type){const e=as(t),r=as(n);if(_i(e)&&_i(r))return null}return mr(o,l,s),[o,l]}function xr(t){return di(t)&&!t.isInline()}function Sr(t,e,n,r,i,s){const o=qr(),l=new cr(rr(t,e,i),rr(n,r,s),0,"");return l.dirty=!0,o._selection=l,l}function vr(){const t=rr("root",0,"element"),e=rr("root",0,"element");return new cr(t,e,0,"")}function Cr(){return new or(new Set)}function kr(t,e){return br(null,t,e,null)}function br(t,e,n,r){const i=n._window;if(null===i)return null;const s=r||i.event,o=s?s.type:void 0,l="selectionchange"===o,c=!tt$2&&(l||"beforeinput"===o||"compositionstart"===o||"compositionend"===o||"click"===o&&s&&3===s.detail||"drop"===o||void 0===o);let a,u,f,d;if(lr(t)&&!c)return t.clone();if(null===e)return null;if(a=e.anchorNode,u=e.focusNode,f=e.anchorOffset,d=e.focusOffset,l&&lr(t)&&!Wi(n,a,u))return t.clone();const h=yr(a,f,u,d,n,t);if(null===h)return null;const[g,_]=h;return new cr(g,_,lr(t)?t.format:0,lr(t)?t.style:"")}function Tr(){return qr()._selection}function wr(){return Hr()._editorState._selection}function Nr(t,e,n,r=1){const i=t.anchor,s=t.focus,o=i.getNode(),l=s.getNode();if(!e.is(o)&&!e.is(l))return;const c=e.__key;if(t.isCollapsed()){const e=i.offset;if(n<=e&&r>0||n<e&&r<0){const n=Math.max(0,e+r);i.set(c,n,"element"),s.set(c,n,"element"),Er(t);}}else {const o=t.isBackward(),l=o?s:i,a=l.getNode(),u=o?i:s,f=u.getNode();if(e.is(a)){const t=l.offset;(n<=t&&r>0||n<t&&r<0)&&l.set(c,Math.max(0,t+r),"element");}if(e.is(f)){const t=u.offset;(n<=t&&r>0||n<t&&r<0)&&u.set(c,Math.max(0,t+r),"element");}}Er(t);}function Er(t){const e=t.anchor,n=e.offset,r=t.focus,i=r.offset,s=e.getNode(),o=r.getNode();if(t.isCollapsed()){if(!di(s))return;const t=s.getChildrenSize(),i=n>=t,o=i?s.getChildAtIndex(t-1):s.getChildAtIndex(n);if(Xn(o)){let t=0;i&&(t=o.getTextContentSize()),e.set(o.__key,t,"text"),r.set(o.__key,t,"text");}}else {if(di(s)){const t=s.getChildrenSize(),r=n>=t,i=r?s.getChildAtIndex(t-1):s.getChildAtIndex(n);if(Xn(i)){let t=0;r&&(t=i.getTextContentSize()),e.set(i.__key,t,"text");}}if(di(o)){const t=o.getChildrenSize(),e=i>=t,n=e?o.getChildAtIndex(t-1):o.getChildAtIndex(i);if(Xn(n)){let t=0;e&&(t=n.getTextContentSize()),r.set(n.__key,t,"text");}}}}function Pr(t,e,n,r,i){let s=null,o=0,l=null;null!==r?(s=r.__key,Xn(r)?(o=r.getTextContentSize(),l="text"):di(r)&&(o=r.getChildrenSize(),l="element")):null!==i&&(s=i.__key,Xn(i)?l="text":di(i)&&(l="element")),null!==s&&null!==l?t.set(s,o,l):(o=e.getIndexWithinParent(),-1===o&&(o=n.getChildrenSize()),t.set(n.__key,o,"element"));}function Fr(t,e,n,r,i){"text"===t.type?t.set(n,t.offset+(e?0:i),"text"):t.offset>r.getIndexWithinParent()&&t.set(t.key,t.offset-1,"element");}function Lr(t,e,n,r,i){try{t.setBaseAndExtent(e,n,r,i);}catch(t){}}function Ar(t,e,n,r,i,s,o){const l=r.anchorNode,c=r.focusNode,a=r.anchorOffset,u=r.focusOffset,f=document.activeElement;if(i.has("collaboration")&&f!==s||null!==f&&Bi(f))return;if(!lr(e))return void(null!==t&&Wi(n,l,c)&&r.removeAllRanges());const d=e.anchor,h=e.focus,g=d.key,_=h.key,p=Os(n,g),m=Os(n,_),y=d.offset,x=h.offset,S=e.format,v=e.style,C=e.isCollapsed();let k=p,b=m,T=!1;if("text"===d.type){k=Ui(p);const t=d.getNode();T=t.getFormat()!==S||t.getStyle()!==v;}else lr(t)&&"text"===t.anchor.type&&(T=!0);var w,N,E,P,F;if(("text"===h.type&&(b=Ui(m)),null!==k&&null!==b)&&(C&&(null===t||T||lr(t)&&(t.format!==S||t.style!==v))&&(w=S,N=v,E=y,P=g,F=performance.now(),gn=[w,N,E,P,F]),a!==y||u!==x||l!==k||c!==b||"Range"===r.type&&C||(null!==f&&s.contains(f)||s.focus({preventScroll:!0}),"element"===d.type))){if(Lr(r,k,y,b,x),!i.has("skip-scroll-into-view")&&e.isCollapsed()&&null!==s&&s===document.activeElement){const t=lr(e)&&"element"===e.anchor.type?k.childNodes[y]||null:r.rangeCount>0?r.getRangeAt(0):null;if(null!==t){let e;if(t instanceof Text){const n=document.createRange();n.selectNode(t),e=n.getBoundingClientRect();}else e=t.getBoundingClientRect();!function(t,e,n){const r=Is(n),i=Ks(r);if(null===r||null===i)return;let{top:s,bottom:o}=e,l=0,c=0,a=n;for(;null!==a;){const e=a===r.body;if(e)l=0,c=Rs(t).innerHeight;else {const t=a.getBoundingClientRect();l=t.top,c=t.bottom;}let n=0;if(s<l?n=-(l-s):o>c&&(n=o-c),0!==n)if(e)i.scrollBy(0,n);else {const t=a.scrollTop;a.scrollTop+=n;const e=a.scrollTop-t;s-=e,o-=e;}if(e)break;a=Ms(a);}}(n,e,s);}}ln=!0;}}function Or(t){let e=Tr()||wr();null===e&&(e=os().selectEnd()),e.insertNodes(t);}function Mr(){const t=Tr();return null===t?"":t.getTextContent()}function Ir(e){let n=e;e.isCollapsed()||n.removeText();const r=Tr();lr(r)&&(n=r),lr(n)||t$2(161);const i=n.anchor;let s=i.getNode(),o=i.offset;for(;!oo(s);){const t=s;if([s,o]=Dr(s,o),t.is(s))break}return o}function Dr(t,e){const n=t.getParent();if(!n){const t=Ti();return os().append(t),t.select(),[os(),0]}if(Xn(t)){const r=t.splitText(e);if(0===r.length)return [n,t.getIndexWithinParent()];const i=0===e?0:1;return [n,r[0].getIndexWithinParent()+i]}if(!di(t)||0===e)return [n,t.getIndexWithinParent()];const r=t.getChildAtIndex(e);if(r){const n=new cr(rr(t.__key,e,"element"),rr(t.__key,e,"element"),0,""),i=t.insertNewAfter(n);i&&i.append(r,...r.getNextSiblings());}return [n,t.getIndexWithinParent()+1]}function zr(t,e,n,r,i="decorators-and-blocks"){if("move"===e&&"character"===r&&!t.isCollapsed()){const[e,r]=n===t.isBackward()?[t.focus,t.anchor]:[t.anchor,t.focus];return r.set(e.key,e.offset,e.type),!0}const s=Qo(t.focus,n?"previous":"next"),o="lineboundary"===r,l="move"===e;let c=s,a="decorators-and-blocks"===i;if(!ol(c)){for(const t of c){a=!1;const{origin:e}=t;if(!_i(e)||e.isIsolated()||(c=t,!o||!e.isInline()))break}if(a)for(const t of Jo(s).iterNodeCarets("extend"===e?"shadowRoot":"root")){if(Eo(t))t.origin.isInline()||(c=t);else {if(di(t.origin))continue;_i(t.origin)&&!t.origin.isInline()&&(c=t);}break}}if(c===s)return !1;if(l&&!o&&_i(c.origin)&&c.origin.isKeyboardSelectable()){const t=Cr();return t.add(c.origin.getKey()),cs(t),!0}return c=sl(c),l&&Xo(t.anchor,c),Xo(t.focus,c),a||!o}let Br=null,Wr=null,Kr=!1,Rr=!1,Jr=0;const jr={characterData:!0,childList:!0,subtree:!0};function $r(){return Kr||null!==Br&&Br._readOnly}function Vr(){Kr&&t$2(13);}function Ur(){Jr>99&&t$2(14);}function qr(){return null===Br&&t$2(195,Gr()),Br}function Hr(){return null===Wr&&t$2(196,Gr()),Wr}function Gr(){let t=0;const e=new Set,n=Mi.version;if("undefined"!=typeof window)for(const r of document.querySelectorAll("[contenteditable]")){const i=Ji(r);if(Ki(i))t++;else if(i){let t=String(i.constructor.version||"<0.17.1");t===n&&(t+=" (separately built, likely a bundler configuration issue)"),e.add(t);}}let r=` Detected on the page: ${t} compatible editor(s) with version ${n}`;return e.size&&(r+=` and incompatible editors with versions ${Array.from(e).join(", ")}`),r}function Qr(){return Wr}function Xr(e,n,r){const i=n.__type,s=function(e,n){const r=e._nodes.get(n);void 0===r&&t$2(30,n);return r}(e,i);let o=r.get(i);void 0===o&&(o=Array.from(s.transforms),r.set(i,o));const l=o.length;for(let t=0;t<l&&(o[t](n),n.isAttached());t++);}function Yr(t,e){return void 0!==t&&t.__key!==e&&t.isAttached()}function Zr(t,e){if(!e)return;const n=t._updateTags;let r=e;Array.isArray(e)||(r=[e]);for(const t of r)n.add(t);}function ti(t){return ei(t,Hr()._nodes)}function ei(e,n){const r=e.type,i=n.get(r);void 0===i&&t$2(17,r);const s=i.klass;e.type!==s.getType()&&t$2(18,s.name);const o=s.importJSON(e),l=e.children;if(di(o)&&Array.isArray(l))for(let t=0;t<l.length;t++){const e=ei(l[t],n);o.append(e);}return o}function ni(t,e,n){const r=Br,i=Kr,s=Wr;Br=e,Kr=!0,Wr=t;try{return n()}finally{Br=r,Kr=i,Wr=s;}}function ri(t,e){const n=t._pendingEditorState,r=t._rootElement,i=t._headless||null===r;if(null===n)return;const s=t._editorState,o=s._selection,l=n._selection,c=t._dirtyType!==m$6,a=Br,u=Kr,f=Wr,h=t._updating,g=t._observer;let _=null;if(t._pendingEditorState=null,t._editorState=n,!i&&c&&null!==g){Wr=t,Br=n,Kr=!1,t._updating=!0;try{const e=t._dirtyType,r=t._dirtyElements,i=t._dirtyLeaves;g.disconnect(),_=ie(s,n,t,e,r,i);}catch(e){if(e instanceof Error&&t._onError(e),Rr)throw e;return Ai(t,null,r,n),at$1(t),t._dirtyType=x$8,Rr=!0,ri(t,s),void(Rr=!1)}finally{g.observe(r,jr),t._updating=h,Br=a,Kr=u,Wr=f;}}n._readOnly||(n._readOnly=!0);const p=t._dirtyLeaves,y=t._dirtyElements,S=t._normalizedNodes,v=t._updateTags,C=t._deferred;c&&(t._dirtyType=m$6,t._cloneNotNeeded.clear(),t._dirtyLeaves=new Set,t._dirtyElements=new Map,t._normalizedNodes=new Set,t._updateTags=new Set),function(t,e){const n=t._decorators;let r=t._pendingDecorators||n;const i=e._nodeMap;let s;for(s in r)i.has(s)||(r===n&&(r=is(t)),delete r[s]);}(t,n);const k=i?null:Xs(Rs(t));if(t._editable&&null!==k&&(c||null===l||l.dirty)&&null!==r&&!v.has("skip-dom-selection")){Wr=t,Br=n;try{if(null!==g&&g.disconnect(),c||null===l||l.dirty){const e=t._blockCursorElement;null!==e&&Qs(e,t,r),Ar(o,l,t,k,v,r);}!function(t,e,n){let r=t._blockCursorElement;if(lr(n)&&n.isCollapsed()&&"element"===n.anchor.type&&e.contains(document.activeElement)){const i=n.anchor,s=i.getNode(),o=i.offset;let l=!1,c=null;if(o===s.getChildrenSize()){Gs(s.getChildAtIndex(o-1))&&(l=!0);}else {const e=s.getChildAtIndex(o);if(null!==e&&Gs(e)){const n=e.getPreviousSibling();(null===n||Gs(n))&&(l=!0,c=t.getElementByKey(e.__key));}}if(l){const n=t.getElementByKey(s.__key);return null===r&&(t._blockCursorElement=r=function(t){const e=t.theme,n=document.createElement("div");n.contentEditable="false",n.setAttribute("data-lexical-cursor","true");let r=e.blockCursor;if(void 0!==r){if("string"==typeof r){const t=d$5(r);r=e.blockCursor=t;}void 0!==r&&n.classList.add(...r);}return n}(t._config)),e.style.caretColor="transparent",void(null===c?n.appendChild(r):n.insertBefore(r,c))}}null!==r&&Qs(r,t,e);}(t,r,l);}finally{null!==g&&g.observe(r,jr),Wr=f,Br=a;}}null!==_&&function(t,e,n,r,i){const s=Array.from(t._listeners.mutation),o=s.length;for(let t=0;t<o;t++){const[o,l]=s[t],c=e.get(l);void 0!==c&&o(c,{dirtyLeaves:r,prevEditorState:i,updateTags:n});}}(t,_,v,p,s),lr(l)||null===l||null!==o&&o.is(l)||t.dispatchCommand(le,void 0);const b=t._pendingDecorators;null!==b&&(t._decorators=b,t._pendingDecorators=null,ii("decorator",t,!0,b)),function(t,e,n){const r=ss(e),i=ss(n);r!==i&&ii("textcontent",t,!0,i);}(t,e||s,n),ii("update",t,!0,{dirtyElements:y,dirtyLeaves:p,editorState:n,normalizedNodes:S,prevEditorState:e||s,tags:v}),function(t,e){if(t._deferred=[],0!==e.length){const n=t._updating;t._updating=!0;try{for(let t=0;t<e.length;t++)e[t]();}finally{t._updating=n;}}}(t,C),function(t){const e=t._updates;if(0!==e.length){const n=e.shift();if(n){const[e,r]=n;li(t,e,r);}}}(t);}function ii(t,e,n,...r){const i=e._updating;e._updating=n;try{const n=Array.from(e._listeners[t]);for(let t=0;t<n.length;t++)n[t].apply(null,r);}finally{e._updating=i;}}function si(t,e,n){if(!1===t._updating||Wr!==t){let r=!1;return t.update((()=>{r=si(t,e,n);})),r}const r=ds(t);for(let i=4;i>=0;i--)for(let s=0;s<r.length;s++){const o=r[s]._commands.get(e);if(void 0!==o){const e=o[i];if(void 0!==e){const r=Array.from(e),i=r.length;for(let e=0;e<i;e++)if(!0===r[e](n,t))return !0}}}return !1}function oi(e,n){const r=e._updates;let i=n||!1;for(;0!==r.length;){const n=r.shift();if(n){const[r,s]=n;let o;if(void 0!==s){if(o=s.onUpdate,s.skipTransforms&&(i=!0),s.discrete){const n=e._pendingEditorState;null===n&&t$2(191),n._flushSync=!0;}o&&e._deferred.push(o),Zr(e,s.tag);}r();}}return i}function li(e,n,r){const i=e._updateTags;let s,o=!1,l=!1;void 0!==r&&(s=r.onUpdate,Zr(e,r.tag),o=r.skipTransforms||!1,l=r.discrete||!1),s&&e._deferred.push(s);const c=e._editorState;let a=e._pendingEditorState,u=!1;(null===a||a._readOnly)&&(a=e._pendingEditorState=yi(a||c),u=!0),a._flushSync=l;const f=Br,d=Kr,h=Wr,g=e._updating;Br=a,Kr=!1,e._updating=!0,Wr=e;const _=e._headless||null===e.getRootElement();try{u&&(_?null!==c._selection&&(a._selection=c._selection.clone()):a._selection=function(t,e){const n=t.getEditorState()._selection,r=Xs(Rs(t));return lr(n)||null==n?br(n,r,t,e):n.clone()}(e,r&&r.event||null));const i=e._compositionKey;n(),o=oi(e,o),function(t,e){const n=e.getEditorState()._selection,r=t._selection;if(lr(r)){const t=r.anchor,e=r.focus;let i;if("text"===t.type&&(i=t.getNode(),i.selectionTransform(n,r)),"text"===e.type){const t=e.getNode();i!==t&&t.selectionTransform(n,r);}}}(a,e),e._dirtyType!==m$6&&(o?function(t,e){const n=e._dirtyLeaves,r=t._nodeMap;for(const t of n){const e=r.get(t);Xn(e)&&e.isAttached()&&e.isSimpleText()&&!e.isUnmergeable()&&vt$2(e);}}(a,e):function(t,e){const n=e._dirtyLeaves,r=e._dirtyElements,i=t._nodeMap,s=Zi(),o=new Map;let l=n,c=l.size,a=r,u=a.size;for(;c>0||u>0;){if(c>0){e._dirtyLeaves=new Set;for(const t of l){const r=i.get(t);Xn(r)&&r.isAttached()&&r.isSimpleText()&&!r.isUnmergeable()&&vt$2(r),void 0!==r&&Yr(r,s)&&Xr(e,r,o),n.add(t);}if(l=e._dirtyLeaves,c=l.size,c>0){Jr++;continue}}e._dirtyLeaves=new Set,e._dirtyElements=new Map;for(const t of a){const n=t[0],l=t[1];if("root"!==n&&!l)continue;const c=i.get(n);void 0!==c&&Yr(c,s)&&Xr(e,c,o),r.set(n,l);}l=e._dirtyLeaves,c=l.size,a=e._dirtyElements,u=a.size,Jr++;}e._dirtyLeaves=n,e._dirtyElements=r;}(a,e),oi(e),function(t,e,n,r){const i=t._nodeMap,s=e._nodeMap,o=[];for(const[t]of r){const e=s.get(t);void 0!==e&&(e.isAttached()||(di(e)&&Y$3(e,t,i,s,o,r),i.has(t)||r.delete(t),o.push(t)));}for(const t of o)s.delete(t);for(const t of n){const e=s.get(t);void 0===e||e.isAttached()||(i.has(t)||n.delete(t),s.delete(t));}}(c,a,e._dirtyLeaves,e._dirtyElements));i!==e._compositionKey&&(a._flushSync=!0);const s=a._selection;if(lr(s)){const e=a._nodeMap,n=s.anchor.key,r=s.focus.key;void 0!==e.get(n)&&void 0!==e.get(r)||t$2(19);}else ar(s)&&0===s._nodes.size&&(a._selection=null);}catch(t){return t instanceof Error&&e._onError(t),e._pendingEditorState=c,e._dirtyType=x$8,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),void ri(e)}finally{Br=f,Kr=d,Wr=h,e._updating=g,Jr=0;}const p=e._dirtyType!==m$6||e._deferred.length>0||function(t,e){const n=e.getEditorState()._selection,r=t._selection;if(null!==r){if(r.dirty||!r.is(n))return !0}else if(null!==n)return !0;return !1}(a,e);p?a._flushSync?(a._flushSync=!1,ri(e)):u&&zi((()=>{ri(e);})):(a._flushSync=!1,u&&(i.clear(),e._deferred=[],e._pendingEditorState=null));}function ci(t,e,n){t._updating?Wr===t?e():t._updates.push([e,n]):li(t,e,n);}class ai{constructor(t,e,n){this.element=t,this.before=e||null,this.after=n||null;}withBefore(t){return new ai(this.element,t,this.after)}withAfter(t){return new ai(this.element,this.before,t)}withElement(t){return new ai(t,this.before,this.after)}insertChild(e){const n=this.before||this.getManagedLineBreak();return null!==n&&n.parentElement!==this.element&&t$2(222),this.element.insertBefore(e,n),this}removeChild(e){return e.parentElement!==this.element&&t$2(223),this.element.removeChild(e),this}replaceChild(e,n){return n.parentElement!==this.element&&t$2(224),this.element.replaceChild(e,n),this}getFirstChild(){const t=this.after?this.after.nextSibling:this.element.firstChild;return t===this.before||t===this.getManagedLineBreak()?null:t}getManagedLineBreak(){return this.element.__lexicalLineBreak||null}setManagedLineBreak(t){if(null===t)this.removeManagedLineBreak();else {const e="decorator"===t&&(l$4||o$4);this.insertManagedLineBreak(e);}}removeManagedLineBreak(){const t=this.getManagedLineBreak();if(t){const e=this.element,n="IMG"===t.nodeName?t.nextSibling:null;n&&e.removeChild(n),e.removeChild(t),e.__lexicalLineBreak=void 0;}}insertManagedLineBreak(t){const e=this.getManagedLineBreak();if(e){if(t===("IMG"===e.nodeName))return;this.removeManagedLineBreak();}const n=this.element,r=this.before,i=document.createElement("br");if(n.insertBefore(i,r),t){const t=document.createElement("img");t.setAttribute("data-lexical-linebreak","true"),t.style.cssText="display: inline !important; border: 0px !important; margin: 0px !important;",t.alt="",n.insertBefore(t,i),n.__lexicalLineBreak=t;}else n.__lexicalLineBreak=i;}getFirstChildOffset(){let t=0;for(let e=this.after;null!==e;e=e.previousSibling)t++;return t}resolveChildIndex(t,e,n,r){if(n===this.element){const e=this.getFirstChildOffset();return [t,Math.min(e+t.getChildrenSize(),Math.max(e,r))]}const i=ui(e,n);i.push(r);const s=ui(e,this.element);let o=t.getIndexWithinParent();for(let t=0;t<s.length;t++){const e=i[t],n=s[t];if(void 0===e||e<n)break;if(e>n){o+=1;break}}return [t.getParentOrThrow(),o]}}function ui(e,n){const r=[];let i=n;for(;i!==e&&null!==i;i=n.parentNode){let t=0;for(let e=i.previousSibling;null!==e;e=e.previousSibling)t++;r.push(t);}return i!==e&&t$2(225),r.reverse()}class fi extends Pn{constructor(t){super(t),this.__first=null,this.__last=null,this.__size=0,this.__format=0,this.__style="",this.__indent=0,this.__dir=null,this.__textFormat=0,this.__textStyle="";}afterCloneFrom(t){super.afterCloneFrom(t),this.__first=t.__first,this.__last=t.__last,this.__size=t.__size,this.__indent=t.__indent,this.__format=t.__format,this.__style=t.__style,this.__dir=t.__dir,this.__textFormat=t.__textFormat,this.__textStyle=t.__textStyle;}getFormat(){return this.getLatest().__format}getFormatType(){const t=this.getFormat();return H$4[t]||""}getStyle(){return this.getLatest().__style}getIndent(){return this.getLatest().__indent}getChildren(){const t=[];let e=this.getFirstChild();for(;null!==e;)t.push(e),e=e.getNextSibling();return t}getChildrenKeys(){const t=[];let e=this.getFirstChild();for(;null!==e;)t.push(e.__key),e=e.getNextSibling();return t}getChildrenSize(){return this.getLatest().__size}isEmpty(){return 0===this.getChildrenSize()}isDirty(){const t=Hr()._dirtyElements;return null!==t&&t.has(this.__key)}isLastChild(){const t=this.getLatest(),e=this.getParentOrThrow().getLastChild();return null!==e&&e.is(t)}getAllTextNodes(){const t=[];let e=this.getFirstChild();for(;null!==e;){if(Xn(e)&&t.push(e),di(e)){const n=e.getAllTextNodes();t.push(...n);}e=e.getNextSibling();}return t}getFirstDescendant(){let t=this.getFirstChild();for(;di(t);){const e=t.getFirstChild();if(null===e)break;t=e;}return t}getLastDescendant(){let t=this.getLastChild();for(;di(t);){const e=t.getLastChild();if(null===e)break;t=e;}return t}getDescendantByIndex(t){const e=this.getChildren(),n=e.length;if(t>=n){const t=e[n-1];return di(t)&&t.getLastDescendant()||t||null}const r=e[t];return di(r)&&r.getFirstDescendant()||r||null}getFirstChild(){const t=this.getLatest().__first;return null===t?null:ts(t)}getFirstChildOrThrow(){const e=this.getFirstChild();return null===e&&t$2(45,this.__key),e}getLastChild(){const t=this.getLatest().__last;return null===t?null:ts(t)}getLastChildOrThrow(){const e=this.getLastChild();return null===e&&t$2(96,this.__key),e}getChildAtIndex(t){const e=this.getChildrenSize();let n,r;if(t<e/2){for(n=this.getFirstChild(),r=0;null!==n&&r<=t;){if(r===t)return n;n=n.getNextSibling(),r++;}return null}for(n=this.getLastChild(),r=e-1;null!==n&&r>=t;){if(r===t)return n;n=n.getPreviousSibling(),r--;}return null}getTextContent(){let t="";const e=this.getChildren(),n=e.length;for(let r=0;r<n;r++){const i=e[r];t+=i.getTextContent(),di(i)&&r!==n-1&&!i.isInline()&&(t+=W$3);}return t}getTextContentSize(){let t=0;const e=this.getChildren(),n=e.length;for(let r=0;r<n;r++){const i=e[r];t+=i.getTextContentSize(),di(i)&&r!==n-1&&!i.isInline()&&(t+=W$3.length);}return t}getDirection(){return this.getLatest().__dir}getTextFormat(){return this.getLatest().__textFormat}hasFormat(t){if(""!==t){const e=q$4[t];return !!(this.getFormat()&e)}return !1}hasTextFormat(t){const e=V$3[t];return !!(this.getTextFormat()&e)}getFormatFlags(t,e){return qi(this.getLatest().__textFormat,t,e)}getTextStyle(){return this.getLatest().__textStyle}select(t,e){Vr();const n=Tr();let r=t,i=e;const s=this.getChildrenSize();if(!this.canBeEmpty())if(0===t&&0===e){const t=this.getFirstChild();if(Xn(t)||di(t))return t.select(0,0)}else if(!(void 0!==t&&t!==s||void 0!==e&&e!==s)){const t=this.getLastChild();if(Xn(t)||di(t))return t.select()}void 0===r&&(r=s),void 0===i&&(i=s);const o=this.__key;return lr(n)?(n.anchor.set(o,r,"element"),n.focus.set(o,i,"element"),n.dirty=!0,n):Sr(o,r,o,i,"element","element")}selectStart(){const t=this.getFirstDescendant();return t?t.selectStart():this.select()}selectEnd(){const t=this.getLastDescendant();return t?t.selectEnd():this.select()}clear(){const t=this.getWritable();return this.getChildren().forEach((t=>t.remove())),t}append(...t){return this.splice(this.getChildrenSize(),0,t)}setDirection(t){const e=this.getWritable();return e.__dir=t,e}setFormat(t){return this.getWritable().__format=""!==t?q$4[t]:0,this}setStyle(t){return this.getWritable().__style=t||"",this}setTextFormat(t){const e=this.getWritable();return e.__textFormat=t,e}setTextStyle(t){const e=this.getWritable();return e.__textStyle=t,e}setIndent(t){return this.getWritable().__indent=t,this}splice(e,n,r){const i=r.length,s=this.getChildrenSize(),o=this.getWritable();e+n<=s||t$2(226,String(e),String(n),String(s));const l=o.__key,c=[],a=[],u=this.getChildAtIndex(e+n);let f=null,d=s-n+i;if(0!==e)if(e===s)f=this.getLastChild();else {const t=this.getChildAtIndex(e);null!==t&&(f=t.getPreviousSibling());}if(n>0){let e=null===f?this.getFirstChild():f.getNextSibling();for(let r=0;r<n;r++){null===e&&t$2(100);const n=e.getNextSibling(),r=e.__key;Qi(e.getWritable()),a.push(r),e=n;}}let h=f;for(let e=0;e<i;e++){const n=r[e];null!==h&&n.is(h)&&(f=h=h.getPreviousSibling());const i=n.getWritable();i.__parent===l&&d--,Qi(i);const s=n.__key;if(null===h)o.__first=s,i.__prev=null;else {const t=h.getWritable();t.__next=s,i.__prev=t.__key;}n.__key===l&&t$2(76),i.__parent=l,c.push(s),h=n;}if(e+n===s){if(null!==h){h.getWritable().__next=null,o.__last=h.__key;}}else if(null!==u){const t=u.getWritable();if(null!==h){const e=h.getWritable();t.__prev=h.__key,e.__next=u.__key;}else t.__prev=null;}if(o.__size=d,a.length){const t=Tr();if(lr(t)){const e=new Set(a),n=new Set(c),{anchor:r,focus:i}=t;hi(r,e,n)&&Pr(r,r.getNode(),this,f,u),hi(i,e,n)&&Pr(i,i.getNode(),this,f,u),0!==d||this.canBeEmpty()||$s(this)||this.remove();}}return o}getDOMSlot(t){return new ai(t)}exportDOM(t){const{element:e}=super.exportDOM(t);if(eo(e)){const t=this.getIndent();t>0&&(e.style.paddingInlineStart=40*t+"px");const n=this.getDirection();n&&(e.dir=n);}return {element:e}}exportJSON(){const t={children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),...super.exportJSON()},e=this.getTextFormat(),n=this.getTextStyle();return 0!==e&&(t.textFormat=e),""!==n&&(t.textStyle=n),t}updateFromJSON(t){return super.updateFromJSON(t).setFormat(t.format).setIndent(t.indent).setDirection(t.direction).setTextFormat(t.textFormat||0).setTextStyle(t.textStyle||"")}insertNewAfter(t,e){return null}canIndent(){return !0}collapseAtStart(t){return !1}excludeFromCopy(t){return !1}canReplaceWith(t){return !0}canInsertAfter(t){return !0}canBeEmpty(){return !0}canInsertTextBefore(){return !0}canInsertTextAfter(){return !0}isInline(){return !1}isShadowRoot(){return !1}canMergeWith(t){return !1}extractWithChild(t,e,n){return !1}canMergeWhenEmpty(){return !1}reconcileObservedMutation(t,e){const n=this.getDOMSlot(t);let r=n.getFirstChild();for(let t=this.getFirstChild();t;t=t.getNextSibling()){const i=e.getElementByKey(t.getKey());null!==i&&(null==r?(n.insertChild(i),r=i):r!==i&&n.replaceChild(i,r),r=r.nextSibling);}}}function di(t){return t instanceof fi}function hi(t,e,n){let r=t.getNode();for(;r;){const t=r.__key;if(e.has(t)&&!n.has(t))return !0;r=r.getParent();}return !1}class gi extends Pn{decorate(e,n){t$2(47);}isIsolated(){return !1}isInline(){return !0}isKeyboardSelectable(){return !0}}function _i(t){return t instanceof gi}class pi extends fi{static getType(){return "root"}static clone(){return new pi}constructor(){super("root"),this.__cachedText=null;}getTopLevelElementOrThrow(){t$2(51);}getTextContent(){const t=this.__cachedText;return !$r()&&Hr()._dirtyType!==m$6||null===t?super.getTextContent():t}remove(){t$2(52);}replace(e){t$2(53);}insertBefore(e){t$2(54);}insertAfter(e){t$2(55);}updateDOM(t,e){return !1}append(...e){for(let n=0;n<e.length;n++){const r=e[n];di(r)||_i(r)||t$2(56);}return super.append(...e)}static importJSON(t){return os().updateFromJSON(t)}collapseAtStart(){return !0}}function mi(t){return t instanceof pi}function yi(t){return new vi(new Map(t._nodeMap))}function xi(){return new vi(new Map([["root",new pi]]))}function Si(e){const n=e.exportJSON(),r=e.constructor;if(n.type!==r.getType()&&t$2(130,r.name),di(e)){const i=n.children;Array.isArray(i)||t$2(59,r.name);const s=e.getChildren();for(let t=0;t<s.length;t++){const e=Si(s[t]);i.push(e);}}return n}class vi{constructor(t,e){this._nodeMap=t,this._selection=e||null,this._flushSync=!1,this._readOnly=!1;}isEmpty(){return 1===this._nodeMap.size&&null===this._selection}read(t,e){return ni(e&&e.editor||null,this,t)}clone(t){const e=new vi(this._nodeMap,void 0===t?this._selection:t);return e._readOnly=!0,e}toJSON(){return ni(null,this,(()=>({root:Si(os())})))}}class Ci extends fi{static getType(){return "artificial"}createDOM(t){return document.createElement("div")}}class ki extends fi{static getType(){return "paragraph"}static clone(t){return new ki(t.__key)}createDOM(t){const e=document.createElement("p"),n=Ts(t.theme,"paragraph");if(void 0!==n){e.classList.add(...n);}return e}updateDOM(t,e,n){return !1}static importDOM(){return {p:t=>({conversion:bi,priority:0})}}exportDOM(t){const{element:e}=super.exportDOM(t);if(eo(e)){this.isEmpty()&&e.append(document.createElement("br"));const t=this.getFormatType();e.style.textAlign=t;}return {element:e}}static importJSON(t){return Ti().updateFromJSON(t)}exportJSON(){return {...super.exportJSON(),textFormat:this.getTextFormat(),textStyle:this.getTextStyle()}}insertNewAfter(t,e){const n=Ti();n.setTextFormat(t.format),n.setTextStyle(t.style);const r=this.getDirection();return n.setDirection(r),n.setFormat(this.getFormatType()),n.setStyle(this.getStyle()),this.insertAfter(n,e),n}collapseAtStart(){const t=this.getChildren();if(0===t.length||Xn(t[0])&&""===t[0].getTextContent().trim()){if(null!==this.getNextSibling())return this.selectNext(),this.remove(),!0;if(null!==this.getPreviousSibling())return this.selectPrevious(),this.remove(),!0}return !1}}function bi(t){const e=Ti();return t.style&&(e.setFormat(t.style.textAlign),go(t,e)),{node:e}}function Ti(){return Us(new ki)}function wi(t){return t instanceof ki}const Ni=0,Ei=1,Pi=2,Fi=3,Li=4;function Ai(t,e,n,r){const i=t._keyToDOMMap;i.clear(),t._editorState=xi(),t._pendingEditorState=r,t._compositionKey=null,t._dirtyType=m$6,t._cloneNotNeeded.clear(),t._dirtyLeaves=new Set,t._dirtyElements.clear(),t._normalizedNodes=new Set,t._updateTags=new Set,t._updates=[],t._blockCursorElement=null;const s=t._observer;null!==s&&(s.disconnect(),t._observer=null),null!==e&&(e.textContent=""),null!==n&&(n.textContent="",i.set("root",n));}function Oi(t){const e=t||{},n=Qr(),r=e.theme||{},i=void 0===t?n:e.parentEditor||null,s=e.disableEvents||!1,o=xi(),l=e.namespace||(null!==i?i._config.namespace:hs()),c=e.editorState,a=[pi,Rn,Fn,Zn,ki,Ci,...e.nodes||[]],{onError:u,html:f}=e,d=void 0===e.editable||e.editable;let h;if(void 0===t&&null!==n)h=n._nodes;else {h=new Map;for(let t=0;t<a.length;t++){let e=a[t],n=null,r=null;if("function"!=typeof e){const t=e;e=t.replace,n=t.with,r=t.withKlass||null;}const i=e.getType(),s=e.transform(),o=new Set;null!==s&&o.add(s),h.set(i,{exportDOM:f&&f.export?f.export.get(e):void 0,klass:e,replace:n,replaceWithKlass:r,transforms:o});}}const g=new Mi(o,i,h,{disableEvents:s,namespace:l,theme:r},u||console.error,function(t,e){const n=new Map,r=new Set,i=t=>{Object.keys(t).forEach((e=>{let r=n.get(e);void 0===r&&(r=[],n.set(e,r)),r.push(t[e]);}));};return t.forEach((t=>{const e=t.klass.importDOM;if(null==e||r.has(e))return;r.add(e);const n=e.call(t.klass);null!==n&&i(n);})),e&&i(e),n}(h,f?f.import:void 0),d);return void 0!==c&&(g._pendingEditorState=c,g._dirtyType=x$8),g}class Mi{constructor(t,e,n,r,i,s,o){this._parentEditor=e,this._rootElement=null,this._editorState=t,this._pendingEditorState=null,this._compositionKey=null,this._deferred=[],this._keyToDOMMap=new Map,this._updates=[],this._updating=!1,this._listeners={decorator:new Set,editable:new Set,mutation:new Map,root:new Set,textcontent:new Set,update:new Set},this._commands=new Map,this._config=r,this._nodes=n,this._decorators={},this._pendingDecorators=null,this._dirtyType=m$6,this._cloneNotNeeded=new Set,this._dirtyLeaves=new Set,this._dirtyElements=new Map,this._normalizedNodes=new Set,this._updateTags=new Set,this._observer=null,this._key=hs(),this._onError=i,this._htmlConversions=s,this._editable=o,this._headless=null!==e&&e._headless,this._window=null,this._blockCursorElement=null;}isComposing(){return null!=this._compositionKey}registerUpdateListener(t){const e=this._listeners.update;return e.add(t),()=>{e.delete(t);}}registerEditableListener(t){const e=this._listeners.editable;return e.add(t),()=>{e.delete(t);}}registerDecoratorListener(t){const e=this._listeners.decorator;return e.add(t),()=>{e.delete(t);}}registerTextContentListener(t){const e=this._listeners.textcontent;return e.add(t),()=>{e.delete(t);}}registerRootListener(t){const e=this._listeners.root;return t(this._rootElement,null),e.add(t),()=>{t(null,this._rootElement),e.delete(t);}}registerCommand(e,n,r){void 0===r&&t$2(35);const i=this._commands;i.has(e)||i.set(e,[new Set,new Set,new Set,new Set,new Set]);const s=i.get(e);void 0===s&&t$2(36,String(e));const o=s[r];return o.add(n),()=>{o.delete(n),s.every((t=>0===t.size))&&i.delete(e);}}registerMutationListener(t,e,n){const r=this.resolveRegisteredNodeAfterReplacements(this.getRegisteredNode(t)).klass,i=this._listeners.mutation;i.set(e,r);const s=n&&n.skipInitialization;return void 0!==s&&s||this.initializeMutationListener(e,r),()=>{i.delete(e);}}getRegisteredNode(e){const n=this._nodes.get(e.getType());return void 0===n&&t$2(37,e.name),n}resolveRegisteredNodeAfterReplacements(t){for(;t.replaceWithKlass;)t=this.getRegisteredNode(t.replaceWithKlass);return t}initializeMutationListener(t,e){const n=this._editorState,r=fo(n).get(e.getType());if(!r)return;const i=new Map;for(const t of r.keys())i.set(t,"created");i.size>0&&t(i,{dirtyLeaves:new Set,prevEditorState:n,updateTags:new Set(["registerMutationListener"])});}registerNodeTransformToKlass(t,e){const n=this.getRegisteredNode(t);return n.transforms.add(e),n}registerNodeTransform(t,e){const n=this.registerNodeTransformToKlass(t,e),r=[n],i=n.replaceWithKlass;if(null!=i){const t=this.registerNodeTransformToKlass(i,e);r.push(t);}return function(t,e){const n=fo(t.getEditorState()),r=[];for(const t of e){const e=n.get(t);e&&r.push(e);}if(0===r.length)return;t.update((()=>{for(const t of r)for(const e of t.keys()){const t=ts(e);t&&t.markDirty();}}),null===t._pendingEditorState?{tag:"history-merge"}:void 0);}(this,r.map((t=>t.klass.getType()))),()=>{r.forEach((t=>t.transforms.delete(e)));}}hasNode(t){return this._nodes.has(t.getType())}hasNodes(t){return t.every(this.hasNode.bind(this))}dispatchCommand(t,e){return Ls(this,t,e)}getDecorators(){return this._decorators}getRootElement(){return this._rootElement}getKey(){return this._key}setRootElement(t){const e=this._rootElement;if(t!==e){const n=Ts(this._config.theme,"root"),r=this._pendingEditorState||this._editorState;if(this._rootElement=t,Ai(this,e,t,r),null!==e&&(this._config.disableEvents||Nn(e),null!=n&&e.classList.remove(...n)),null!==t){const e=Ks(t),r=t.style;r.userSelect="text",r.whiteSpace="pre-wrap",r.wordBreak="break-word",t.setAttribute("data-lexical-editor","true"),this._window=e,this._dirtyType=x$8,at$1(this),this._updateTags.add("history-merge"),ri(this),this._config.disableEvents||function(t,e){const n=t.ownerDocument,r=on.get(n);(void 0===r||r<1)&&n.addEventListener("selectionchange",bn),on.set(n,(r||0)+1),t.__lexicalEditor=e;const i=Cn(t);for(let n=0;n<tn.length;n++){const[r,s]=tn[n],o="function"==typeof s?t=>{wn(t)||(Tn(t),(e.isEditable()||"click"===r)&&s(t,e));}:t=>{if(wn(t))return;Tn(t);const n=e.isEditable();switch(r){case"cut":return n&&Ls(e,je,t);case"copy":return Ls(e,Je,t);case"paste":return n&&Ls(e,ge,t);case"dragstart":return n&&Ls(e,We,t);case"dragover":return n&&Ls(e,Ke,t);case"dragend":return n&&Ls(e,Re,t);case"focus":return n&&Ls(e,Ge,t);case"blur":return n&&Ls(e,Qe,t);case"drop":return n&&Ls(e,ze,t)}};t.addEventListener(r,o),i.push((()=>{t.removeEventListener(r,o);}));}}(t,this),null!=n&&t.classList.add(...n);}else this._window=null,this._updateTags.add("history-merge"),ri(this);ii("root",this,!1,t,e);}}getElementByKey(t){return this._keyToDOMMap.get(t)||null}getEditorState(){return this._editorState}setEditorState(e,n){e.isEmpty()&&t$2(38);let r=e;r._readOnly&&(r=yi(e),r._selection=e._selection?e._selection.clone():null),ct$1(this);const i=this._pendingEditorState,s=this._updateTags,o=void 0!==n?n.tag:null;null===i||i.isEmpty()||(null!=o&&s.add(o),ri(this)),this._pendingEditorState=r,this._dirtyType=x$8,this._dirtyElements.set("root",!1),this._compositionKey=null,null!=o&&s.add(o),this._updating||ri(this);}parseEditorState(t,e){return function(t,e,n){const r=xi(),i=Br,s=Kr,o=Wr,l=e._dirtyElements,c=e._dirtyLeaves,a=e._cloneNotNeeded,u=e._dirtyType;e._dirtyElements=new Map,e._dirtyLeaves=new Set,e._cloneNotNeeded=new Set,e._dirtyType=0,Br=r,Kr=!1,Wr=e;try{const i=e._nodes;ei(t.root,i),n&&n(),r._readOnly=!0;}catch(t){t instanceof Error&&e._onError(t);}finally{e._dirtyElements=l,e._dirtyLeaves=c,e._cloneNotNeeded=a,e._dirtyType=u,Br=i,Kr=s,Wr=o;}return r}("string"==typeof t?JSON.parse(t):t,this,e)}read(t){return ri(this),this.getEditorState().read(t,{editor:this})}update(t,e){!function(t,e,n){t._updating?t._updates.push([e,n]):li(t,e,n);}(this,t,e);}focus(t,e={}){const n=this._rootElement;null!==n&&(n.setAttribute("autocapitalize","off"),ci(this,(()=>{const r=Tr(),i=os();null!==r?r.dirty=!0:0!==i.getChildrenSize()&&("rootStart"===e.defaultSelection?i.selectStart():i.selectEnd()),zs("focus"),Bs((()=>{n.removeAttribute("autocapitalize"),t&&t();}));})),null===this._pendingEditorState&&n.removeAttribute("autocapitalize"));}blur(){const t=this._rootElement;null!==t&&t.blur();const e=Xs(this._window);null!==e&&e.removeAllRanges();}isEditable(){return this._editable}setEditable(t){this._editable!==t&&(this._editable=t,ii("editable",this,!0,t));}toJSON(){return {editorState:this._editorState.toJSON()}}}Mi.version="0.27.2+prod.esm";let Ii=1;function Di(){Ii=1;}const zi="function"==typeof queueMicrotask?queueMicrotask:t=>{Promise.resolve().then(t);};function Bi(t){const e=document.activeElement;if(!eo(e))return !1;const n=e.nodeName;return _i(rs(t))&&("INPUT"===n||"TEXTAREA"===n||"true"===e.contentEditable&&null==Ji(e))}function Wi(t,e,n){const r=t.getRootElement();try{return null!==r&&r.contains(e)&&r.contains(n)&&null!==e&&!Bi(e)&&Ri(e)===t}catch(t){return !1}}function Ki(t){return t instanceof Mi}function Ri(t){let e=t;for(;null!=e;){const t=Ji(e);if(Ki(t))return t;e=Ms(e);}return null}function Ji(t){return t?t.__lexicalEditor:null}function ji(t){return t.isToken()||t.isSegmented()}function $i(t){return no(t)&&t.nodeType===g$6}function Vi(t){return no(t)&&t.nodeType===_$5}function Ui(t){let e=t;for(;null!=e;){if($i(e))return e;e=e.firstChild;}return null}function qi(t,e,n){const r=V$3[e];if(null!==n&&(t&r)==(n&r))return t;let i=t^r;return "subscript"===e?i&=~V$3.superscript:"superscript"===e?i&=~V$3.subscript:"lowercase"===e?(i&=~V$3.uppercase,i&=~V$3.capitalize):"uppercase"===e?(i&=~V$3.lowercase,i&=~V$3.capitalize):"capitalize"===e&&(i&=~V$3.lowercase,i&=~V$3.uppercase),i}function Hi(t){return Xn(t)||On(t)||_i(t)}function Gi(t,e){if(null!=e)return void(t.__key=e);Vr(),Ur();const n=Hr(),r=qr(),i=""+Ii++;r._nodeMap.set(i,t),di(t)?n._dirtyElements.set(i,!0):n._dirtyLeaves.add(i),n._cloneNotNeeded.add(i),n._dirtyType=y$5,t.__key=i;}function Qi(t){const e=t.getParent();if(null!==e){const n=t.getWritable(),r=e.getWritable(),i=t.getPreviousSibling(),s=t.getNextSibling();if(null===i)if(null!==s){const t=s.getWritable();r.__first=s.__key,t.__prev=null;}else r.__first=null;else {const t=i.getWritable();if(null!==s){const e=s.getWritable();e.__prev=t.__key,t.__next=e.__key;}else t.__next=null;n.__prev=null;}if(null===s)if(null!==i){const t=i.getWritable();r.__last=i.__key,t.__next=null;}else r.__last=null;else {const t=s.getWritable();if(null!==i){const e=i.getWritable();e.__next=t.__key,t.__prev=e.__key;}else t.__prev=null;n.__next=null;}r.__size--,n.__parent=null;}}function Xi(t){Ur();const e=t.getLatest(),n=e.__parent,r=qr(),i=Hr(),s=r._nodeMap,o=i._dirtyElements;null!==n&&function(t,e,n){let r=t;for(;null!==r;){if(n.has(r))return;const t=e.get(r);if(void 0===t)break;n.set(r,!1),r=t.__parent;}}(n,s,o);const l=e.__key;i._dirtyType=y$5,di(t)?o.set(l,!0):i._dirtyLeaves.add(l);}function Yi(t){Vr();const e=Hr(),n=e._compositionKey;if(t!==n){if(e._compositionKey=t,null!==n){const t=ts(n);null!==t&&t.getWritable();}if(null!==t){const e=ts(t);null!==e&&e.getWritable();}}}function Zi(){if($r())return null;return Hr()._compositionKey}function ts(t,e){const n=(e||qr())._nodeMap.get(t);return void 0===n?null:n}function es(t,e){const n=ns(t,Hr());return void 0!==n?ts(n,e):null}function ns(t,e){return t[`__lexicalKey_${e._key}`]}function rs(t,e){let n=t;for(;null!=n;){const t=es(n,e);if(null!==t)return t;n=Ms(n);}return null}function is(t){const e=t._decorators,n=Object.assign({},e);return t._pendingDecorators=n,n}function ss(t){return t.read((()=>os().getTextContent()))}function os(){return ls(qr())}function ls(t){return t._nodeMap.get("root")}function cs(t){Vr();const e=qr();null!==t&&(t.dirty=!0,t.setCachedNodes(null)),e._selection=t;}function as(t){const e=Hr(),n=function(t,e){let n=t;for(;null!=n;){const t=ns(n,e);if(void 0!==t)return t;n=Ms(n);}return null}(t,e);if(null===n){return t===e.getRootElement()?ts("root"):null}return ts(n)}function us(t,e){return e?t.getTextContentSize():0}function fs(t){return /[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(t)}function ds(t){const e=[];let n=t;for(;null!==n;)e.push(n),n=n._parentEditor;return e}function hs(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,5)}function gs(t){return $i(t)?t.nodeValue:null}function _s(t,e,n){const r=Xs(Rs(e));if(null===r)return;const i=r.anchorNode;let{anchorOffset:s,focusOffset:o}=r;if(null!==i){let e=gs(i);const r=rs(i);if(null!==e&&Xn(r)){if(e===B$4&&n){const t=n.length;e=n,s=t,o=t;}null!==e&&ps(r,e,s,o,t);}}}function ps(t,e,n,r,i){let s=t;if(s.isAttached()&&(i||!s.isDirty())){const c=s.isComposing();let a=e;(c||i)&&e[e.length-1]===B$4&&(a=e.slice(0,-1));const u=s.getTextContent();if(i||a!==u){if(""===a){if(Yi(null),o$4||l$4||f$5)s.remove();else {const t=Hr();setTimeout((()=>{t.update((()=>{s.isAttached()&&s.remove();}));}),20);}return}const e=s.getParent(),i=wr(),u=s.getTextContentSize(),d=Zi(),h=s.getKey();if(s.isToken()||null!==d&&h===d&&!c||lr(i)&&(null!==e&&!e.canInsertTextBefore()&&0===i.anchor.offset||i.anchor.key===t.__key&&0===i.anchor.offset&&!s.canInsertTextBefore()&&!c||i.focus.key===t.__key&&i.focus.offset===u&&!s.canInsertTextAfter()&&!c))return void s.markDirty();const g=Tr();if(!lr(g)||null===n||null===r)return void s.setTextContent(a);if(g.setTextNodeRange(s,n,s,r),s.isSegmented()){const t=Qn(s.getTextContent());s.replace(t),s=t;}s.setTextContent(a);}}}function ms(t){return "ArrowLeft"===t}function ys(t){return "ArrowRight"===t}function xs(t,e){return r$1?t:e}function Ss(t){return "Enter"===t}function vs(t){return "Backspace"===t}function Cs(t){return "Delete"===t}function ks(t,e,n){return "a"===t.toLowerCase()&&xs(e,n)}function bs(t){const e=os();if(lr(t)){const e=t.anchor,n=t.focus,r=e.getNode().getTopLevelElementOrThrow().getParentOrThrow();return e.set(r.getKey(),0,"element"),n.set(r.getKey(),r.getChildrenSize(),"element"),Ct$2(t),t}{const t=e.select(0,e.getChildrenSize());return cs(Ct$2(t)),t}}function Ts(t,e){void 0===t.__lexicalClassNameCache&&(t.__lexicalClassNameCache={});const n=t.__lexicalClassNameCache,r=n[e];if(void 0!==r)return r;const i=t[e];if("string"==typeof i){const t=d$5(i);return n[e]=t,t}return i}function ws(e,n,r,i,s){if(0===r.size)return;const o=i.__type,l=i.__key,c=n.get(o);void 0===c&&t$2(33,o);const a=c.klass;let u=e.get(a);void 0===u&&(u=new Map,e.set(a,u));const f=u.get(l),d="destroyed"===f&&"created"===s;(void 0===f||d)&&u.set(l,d?"updated":s);}function Ns(t){const e=t.getType(),n=qr();if(n._readOnly){const t=fo(n).get(e);return t?Array.from(t.values()):[]}const r=n._nodeMap,i=[];for(const[,n]of r)n instanceof t&&n.__type===e&&n.isAttached()&&i.push(n);return i}function Es(t,e,n){const r=t.getParent();let i=n,s=t;return null!==r&&(e&&0===n?(i=s.getIndexWithinParent(),s=r):e||n!==s.getChildrenSize()||(i=s.getIndexWithinParent()+1,s=r)),s.getChildAtIndex(e?i-1:i)}function Ps(t,e){const n=t.offset;if("element"===t.type){return Es(t.getNode(),e,n)}{const r=t.getNode();if(e&&0===n||!e&&n===r.getTextContentSize()){const t=e?r.getPreviousSibling():r.getNextSibling();return null===t?Es(r.getParentOrThrow(),e,r.getIndexWithinParent()+(e?0:1)):t}}return null}function Fs(t){const e=Rs(t).event,n=e&&e.inputType;return "insertFromPaste"===n||"insertFromPasteAsQuotation"===n}function Ls(t,e,n){return si(t,e,n)}function As(t){return !mi(t)&&!t.isLastChild()&&!t.isInline()}function Os(e,n){const r=e._keyToDOMMap.get(n);return void 0===r&&t$2(75,n),r}function Ms(t){const e=t.assignedSlot||t.parentElement;return ro(e)?e.host:e}function Is(t){return Vi(t)?t:eo(t)?t.ownerDocument:null}function Ds(t){return Hr()._updateTags.has(t)}function zs(t){Vr();Hr()._updateTags.add(t);}function Bs(t){Vr();Hr()._deferred.push(t);}function Ws(t,e){let n=t.getParent();for(;null!==n;){if(n.is(e))return !0;n=n.getParent();}return !1}function Ks(t){const e=Is(t);return e?e.defaultView:null}function Rs(e){const n=e._window;return null===n&&t$2(78),n}function Js(t){return di(t)&&t.isInline()||_i(t)&&t.isInline()}function js(t){let e=t.getParentOrThrow();for(;null!==e;){if($s(e))return e;e=e.getParentOrThrow();}return e}function $s(t){return mi(t)||di(t)&&t.isShadowRoot()}function Vs(t){const e=t.constructor.clone(t);return Gi(e,null),e}function Us(e){const n=Hr(),r=e.constructor.getType(),i=n._nodes.get(r);void 0===i&&t$2(200,e.constructor.name,r);const{replace:s,replaceWithKlass:o}=i;if(null!==s){const n=s(e),i=n.constructor;return null!==o?n instanceof o||t$2(201,o.name,o.getType(),i.name,i.getType(),e.constructor.name,r):n instanceof e.constructor&&i!==e.constructor||t$2(202,i.name,i.getType(),e.constructor.name,r),n.__key===e.__key&&t$2(203,e.constructor.name,r,i.name,i.getType()),n}return e}function qs(e,n){!mi(e.getParent())||di(n)||_i(n)||t$2(99);}function Hs(e){const n=ts(e);return null===n&&t$2(63,e),n}function Gs(t){return (_i(t)||di(t)&&!t.canBeEmpty())&&!t.isInline()}function Qs(t,e,n){n.style.removeProperty("caret-color"),e._blockCursorElement=null;const r=t.parentElement;null!==r&&r.removeChild(t);}function Xs(t){return e$3?(t||window).getSelection():null}function Ys(t){const e=Ks(t);return e?e.getSelection():null}function Zs(e,n){let r=e.getChildAtIndex(n);null==r&&(r=e),$s(e)&&t$2(102);const i=e=>{const n=e.getParentOrThrow(),s=$s(n),o=e!==r||s?Vs(e):e;if(s)return di(e)&&di(o)||t$2(133),e.insertAfter(o),[e,o,o];{const[t,r,s]=i(n),l=e.getNextSiblings();return s.append(o,...l),[t,r,o]}},[s,o]=i(r);return [s,o]}function to(t){return eo(t)&&"A"===t.tagName}function eo(t){return no(t)&&t.nodeType===h$6}function no(t){return "object"==typeof t&&null!==t&&"nodeType"in t&&"number"==typeof t.nodeType}function ro(t){return no(t)&&t.nodeType===p$4}function io(t){const e=new RegExp(/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|mark|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var|#text)$/,"i");return null!==t.nodeName.match(e)}function so(t){const e=new RegExp(/^(address|article|aside|blockquote|canvas|dd|div|dl|dt|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hr|li|main|nav|noscript|ol|p|pre|section|table|td|tfoot|ul|video)$/,"i");return null!==t.nodeName.match(e)}function oo(t){if(_i(t)&&!t.isInline())return !0;if(!di(t)||$s(t))return !1;const e=t.getFirstChild(),n=null===e||On(e)||Xn(e)||e.isInline();return !t.isInline()&&!1!==t.canBeEmpty()&&n}function lo(t,e){let n=t;for(;null!==n&&null!==n.getParent()&&!e(n);)n=n.getParentOrThrow();return e(n)?n:null}function co(){return Hr()}const ao=new WeakMap,uo=new Map;function fo(e){if(!e._readOnly&&e.isEmpty())return uo;e._readOnly||t$2(192);let n=ao.get(e);return n||(n=function(t){const e=new Map;for(const[n,r]of t._nodeMap){const t=r.__type;let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r);}return e}(e),ao.set(e,n)),n}function ho(t){const e=t.constructor.clone(t);return e.afterCloneFrom(t),e}function go(t,e){const n=(parseInt(t.style.paddingInlineStart,10)||0)/40;e.setIndent(n);}function _o(t){t.__lexicalUnmanaged=!0;}function po(t){return !0===t.__lexicalUnmanaged}const mo={next:"previous",previous:"next"};class yo{constructor(t){this.origin=t;}[Symbol.iterator](){return $o({hasNext:No,initial:this.getAdjacentCaret(),map:t=>t,step:t=>t.getAdjacentCaret()})}getAdjacentCaret(){return Ao(this.getNodeAtCaret(),this.direction)}getSiblingCaret(){return Ao(this.origin,this.direction)}remove(){const t=this.getNodeAtCaret();return t&&t.remove(),this}replaceOrInsert(t,e){const n=this.getNodeAtCaret();return t.is(this.origin)||t.is(n)||(null===n?this.insert(t):n.replace(t,e)),this}splice(e,n,r="next"){const i=r===this.direction?n:Array.from(n).reverse();let s=this;const o=this.getParentAtCaret(),l=new Map;for(let t=s.getAdjacentCaret();null!==t&&l.size<e;t=t.getAdjacentCaret()){const e=t.origin.getWritable();l.set(e.getKey(),e);}for(const e of i){if(l.size>0){const n=s.getNodeAtCaret();if(n)if(l.delete(n.getKey()),l.delete(e.getKey()),n.is(e)||s.origin.is(e));else {const t=e.getParent();t&&t.is(o)&&e.remove(),n.replace(e);}else null===n&&t$2(263,Array.from(l).join(" "));}else s.insert(e);s=Ao(e,this.direction);}for(const t of l.values())t.remove();return this}}class xo extends yo{type="child";getLatest(){const t=this.origin.getLatest();return t===this.origin?this:Do(t,this.direction)}getParentCaret(t="root"){return Ao(Co(this.getParentAtCaret(),t),this.direction)}getFlipped(){const t=vo(this.direction);return Ao(this.getNodeAtCaret(),t)||Do(this.origin,t)}getParentAtCaret(){return this.origin}getChildCaret(){return this}isSameNodeCaret(t){return t instanceof xo&&this.direction===t.direction&&this.origin.is(t.origin)}isSamePointCaret(t){return this.isSameNodeCaret(t)}}const So={root:mi,shadowRoot:$s};function vo(t){return mo[t]}function Co(t,e="root"){return So[e](t)?null:t}class ko extends yo{type="sibling";getLatest(){const t=this.origin.getLatest();return t===this.origin?this:Ao(t,this.direction)}getSiblingCaret(){return this}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return di(this.origin)?Do(this.origin,this.direction):null}getParentCaret(t="root"){return Ao(Co(this.getParentAtCaret(),t),this.direction)}getFlipped(){const t=vo(this.direction);return Ao(this.getNodeAtCaret(),t)||Do(this.origin.getParentOrThrow(),t)}isSamePointCaret(t){return t instanceof ko&&this.direction===t.direction&&this.origin.is(t.origin)}isSameNodeCaret(t){return (t instanceof ko||t instanceof bo)&&this.direction===t.direction&&this.origin.is(t.origin)}}class bo extends yo{type="text";constructor(t,e){super(t),this.offset=e;}getLatest(){const t=this.origin.getLatest();return t===this.origin?this:Oo(t,this.direction,this.offset)}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return null}getParentCaret(t="root"){return Ao(Co(this.getParentAtCaret(),t),this.direction)}getFlipped(){return Oo(this.origin,vo(this.direction),this.offset)}isSamePointCaret(t){return t instanceof bo&&this.direction===t.direction&&this.origin.is(t.origin)&&this.offset===t.offset}isSameNodeCaret(t){return (t instanceof ko||t instanceof bo)&&this.direction===t.direction&&this.origin.is(t.origin)}getSiblingCaret(){return Ao(this.origin,this.direction)}}function To(t){return t instanceof bo}function wo(t){return t instanceof yo}function No(t){return t instanceof ko}function Eo(t){return t instanceof xo}const Po={next:class extends bo{direction="next";getNodeAtCaret(){return this.origin.getNextSibling()}insert(t){return this.origin.insertAfter(t),this}},previous:class extends bo{direction="previous";getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(t){return this.origin.insertBefore(t),this}}},Fo={next:class extends ko{direction="next";getNodeAtCaret(){return this.origin.getNextSibling()}insert(t){return this.origin.insertAfter(t),this}},previous:class extends ko{direction="previous";getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(t){return this.origin.insertBefore(t),this}}},Lo={next:class extends xo{direction="next";getNodeAtCaret(){return this.origin.getFirstChild()}insert(t){return this.origin.splice(0,0,[t]),this}},previous:class extends xo{direction="previous";getNodeAtCaret(){return this.origin.getLastChild()}insert(t){return this.origin.splice(this.origin.getChildrenSize(),0,[t]),this}}};function Ao(t,e){return t?new Fo[e](t):null}function Oo(t,e,n){return t?new Po[e](t,Mo(t,n)):null}function Mo(e,n){const r=e.getTextContentSize(),i="next"===n?r:"previous"===n?0:n;return i>=0&&i<=r||t$2(274,String(n),String(r)),i}function Io(t,e){return new Ko(t,e)}function Do(t,e){return di(t)?new Lo[e](t):null}function zo(t){return t&&t.getChildCaret()||t}function Bo(t){return t&&zo(t.getAdjacentCaret())}class Wo{type="node-caret-range";constructor(t,e,n){this.anchor=t,this.focus=e,this.direction=n;}getLatest(){const t=this.anchor.getLatest(),e=this.focus.getLatest();return t===this.anchor&&e===this.focus?this:new Wo(t,e,this.direction)}isCollapsed(){return this.anchor.isSamePointCaret(this.focus)}getTextSlices(){const t=t=>{const e=this[t].getLatest();return To(e)?function(t,e){const{direction:n,origin:r}=t,i=Mo(r,"focus"===e?vo(n):n);return Io(t,i-t.offset)}(e,t):null},e=t("anchor"),n=t("focus");if(e&&n){const{caret:t}=e,{caret:r}=n;if(t.isSameNodeCaret(r))return [Io(t,r.offset-t.offset),null]}return [e,n]}iterNodeCarets(t="root"){const e=To(this.anchor)?this.anchor.getSiblingCaret():this.anchor.getLatest(),n=this.focus.getLatest(),r=To(n),i=e=>e.isSameNodeCaret(n)?null:Bo(e)||e.getParentCaret(t);return $o({hasNext:t=>null!==t&&!(r&&n.isSameNodeCaret(t)),initial:e.isSameNodeCaret(n)?null:i(e),map:t=>t,step:i})}[Symbol.iterator](){return this.iterNodeCarets("root")}}class Ko{type="slice";constructor(t,e){this.caret=t,this.distance=e;}getSliceIndices(){const{distance:t,caret:{offset:e}}=this,n=e+t;return n<e?[n,e]:[e,n]}getTextContent(){const[t,e]=this.getSliceIndices();return this.caret.origin.getTextContent().slice(t,e)}getTextContentSize(){return Math.abs(this.distance)}removeTextSlice(){const{caret:{origin:t,direction:e}}=this,[n,r]=this.getSliceIndices(),i=t.getTextContent();return Oo(t.setTextContent(i.slice(0,n)+i.slice(r)),e,n)}}function Ro(t){return t instanceof Ko}function Jo(t){return jo(t,Ao(os(),t.direction))}function jo(e,n){return e.direction!==n.direction&&t$2(265),new Wo(e,n,e.direction)}function $o(t){const{initial:e,hasNext:n,step:r,map:i}=t;let s=e;return {[Symbol.iterator](){return this},next(){if(!n(s))return {done:!0,value:void 0};const t={done:!1,value:i(s)};return s=r(s),t}}}function Vo(e,n){const r=Go(e.origin,n.origin);switch(null===r&&t$2(275,e.origin.getKey(),n.origin.getKey()),r.type){case"same":{const t="text"===e.type,r="text"===n.type;return t&&r?function(t,e){return Math.sign(t-e)}(e.offset,n.offset):e.type===n.type?0:t?-1:r?1:"child"===e.type?-1:1}case"ancestor":return "child"===e.type?-1:1;case"descendant":return "child"===n.type?1:-1;case"branch":return Uo(r)}}function Uo(t){const{a:e,b:n}=t,r=e.__key,i=n.__key;let s=e,o=n;for(;s&&o;s=s.getNextSibling(),o=o.getNextSibling()){if(s.__key===i)return -1;if(o.__key===r)return 1}return null===s?1:-1}function qo(t,e){return e.is(t)}function Ho(t){return di(t)?[t.getLatest(),null]:[t.getParent(),t.getLatest()]}function Go(e,n){if(e.is(n))return {commonAncestor:e,type:"same"};const r=new Map;for(let[t,n]=Ho(e);t;n=t,t=t.getParent())r.set(t,n);for(let[i,s]=Ho(n);i;s=i,i=i.getParent()){const o=r.get(i);if(void 0!==o)return null===o?(qo(e,i)||t$2(276),{commonAncestor:i,type:"ancestor"}):null===s?(qo(n,i)||t$2(277),{commonAncestor:i,type:"descendant"}):((di(o)||qo(e,o))&&(di(s)||qo(n,s))&&i.is(o.getParent())&&i.is(s.getParent())||t$2(278),{a:o,b:s,commonAncestor:i,type:"branch"})}return null}function Qo(e,n){const{type:r,key:i,offset:s}=e,o=Hs(e.key);return "text"===r?(Xn(o)||t$2(266,o.getType(),i),Oo(o,n,s)):(di(o)||t$2(267,o.getType(),i),al(o,e.offset,n))}function Xo(e,n){const{origin:r,direction:i}=n,s="next"===i;To(n)?e.set(r.getKey(),n.offset,"text"):No(n)?Xn(r)?e.set(r.getKey(),Mo(r,i),"text"):e.set(r.getParentOrThrow().getKey(),r.getIndexWithinParent()+(s?1:0),"element"):(Eo(n)&&di(r)||t$2(268),e.set(r.getKey(),s?0:r.getChildrenSize(),"element"));}function Yo(t){const e=Tr(),n=lr(e)?e:vr();return Zo(n,t),cs(n),n}function Zo(t,e){Xo(t.anchor,e.anchor),Xo(t.focus,e.focus);}function tl(t){const{anchor:e,focus:n}=t,r=Qo(e,"next"),i=Qo(n,"next"),s=Vo(r,i)<=0?"next":"previous";return jo(ll(r,s),ll(i,s))}function el(t){const{direction:e,origin:n}=t,r=Ao(n,vo(e)).getNodeAtCaret();return r?Ao(r,e):Do(n.getParentOrThrow(),e)}function nl(t,e="root"){const n=[t];for(let r=Eo(t)?t.getParentCaret(e):t.getSiblingCaret();null!==r;r=r.getParentCaret(e))n.push(el(r));return n}function rl(t){return !!t&&t.origin.isAttached()}function il(e,n="removeEmptySlices"){if(e.isCollapsed())return e;const r="root",i="next";let s=n;const o=cl(e,i),l=nl(o.anchor,r),c=nl(o.focus.getFlipped(),r),a=new Set,u=[];for(const t of o.iterNodeCarets(r))if(Eo(t))a.add(t.origin.getKey());else if(No(t)){const{origin:e}=t;di(e)&&!a.has(e.getKey())||u.push(e);}for(const t of u)t.remove();for(const t of o.getTextSlices()){if(!t)continue;const{origin:e}=t.caret,n=e.getTextContentSize(),r=el(Ao(e,i)),o=e.getMode();if(Math.abs(t.distance)===n&&"removeEmptySlices"===s||"token"===o&&0!==t.distance)r.remove();else if(0!==t.distance){s="removeEmptySlices";let e=t.removeTextSlice();const n=t.caret.origin;if("segmented"===o){const t=e.origin,n=Qn(t.getTextContent()).setStyle(t.getStyle()).setFormat(t.getFormat());r.replaceOrInsert(n),e=Oo(n,i,e.offset);}n.is(l[0].origin)&&(l[0]=e),n.is(c[0].origin)&&(c[0]=e.getFlipped());}}let f,d;for(const t of l)if(rl(t)){f=sl(t);break}for(const t of c)if(rl(t)){d=sl(t);break}const h=function(t,e,n){if(!t||!e)return null;const r=t.getParentAtCaret(),i=e.getParentAtCaret();if(!r||!i)return null;const s=r.getParents().reverse();s.push(r);const o=i.getParents().reverse();o.push(i);const l=Math.min(s.length,o.length);let c;for(c=0;c<l&&s[c]===o[c];c++);const a=(t,e)=>{let n;for(let r=c;r<t.length;r++){const i=t[r];if($s(i))return;!n&&e(i)&&(n=i);}return n},u=a(s,oo),f=u&&a(o,(t=>n.has(t.getKey())&&oo(t)));return u&&f?[u,f]:null}(f,d,a);if(h){const[t,e]=h;Do(t,"previous").splice(0,e.getChildren()),e.remove();}const g=[f,d,...l,...c].find(rl);if(g){const t=ll(sl(g),e.direction);return jo(t,t)}t$2(269,JSON.stringify(l.map((t=>t.origin.__key))));}function sl(t){const e=function(t){let e=t;for(;Eo(e);){const t=Bo(e);if(!Eo(t))break;e=t;}return e}(t.getLatest()),{direction:n}=e;if(Xn(e.origin))return To(e)?e:Oo(e.origin,n,n);const r=e.getAdjacentCaret();return No(r)&&Xn(r.origin)?Oo(r.origin,n,vo(n)):e}function ol(t){return To(t)&&t.offset!==Mo(t.origin,t.direction)}function ll(t,e){return t.direction===e?t:t.getFlipped()}function cl(t,e){return t.direction===e?t:jo(ll(t.focus,e),ll(t.anchor,e))}function al(t,e,n){let r=Do(t,"next");for(let t=0;t<e;t++){const t=r.getAdjacentCaret();if(null===t)break;r=t;}return ll(r,n)}function ul(t,e="root"){let n=0,r=t,i=Bo(r);for(;null===i;){if(n--,i=r.getParentCaret(e),!i)return null;r=i,i=Bo(r);}return i&&[i,n]}
|
|
91946
|
+
function t$2(t,...e){const n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",t);for(const t of e)r.append("v",t);throw n.search=r.toString(),Error(`Minified Lexical error #${t}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const e$3="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,n$5=e$3&&"documentMode"in document?document.documentMode:null,r$1=e$3&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),i$1=e$3&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),s$1=!(!e$3||!("InputEvent"in window)||n$5)&&"getTargetRanges"in new window.InputEvent("input"),o$4=e$3&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),l$4=e$3&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,c$5=e$3&&/Android/.test(navigator.userAgent),a$5=e$3&&/^(?=.*Chrome).*/i.test(navigator.userAgent),u$4=e$3&&c$5&&a$5,f$5=e$3&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!a$5;function d$5(...t){const e=[];for(const n of t)if(n&&"string"==typeof n)for(const[t]of n.matchAll(/\S+/g))e.push(t);return e}const h$6=1,g$7=3,_$6=9,p$4=11,m$6=0,y$6=1,x$8=2,S$4=0,v$5=1,C$6=2,k$8=1,b$8=2,T$3=4,w$6=8,N$7=16,E$7=32,P$5=64,F$4=128,L$5=1792|(112|(3|T$3|w$6)|F$4),A$4=1,O$6=2,M$5=3,I$5=4,D$6=5,z$4=6,B$4=o$4||l$4||f$5?" ":"",W$3="\n\n",K$3=i$1?" ":B$4,R$5="֑-߿יִ-﷽ﹰ-ﻼ",J$3="A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--",j$3=new RegExp("^[^"+J$3+"]*["+R$5+"]"),$$3=new RegExp("^[^"+R$5+"]*["+J$3+"]"),V$3={bold:1,capitalize:1024,code:16,highlight:F$4,italic:2,lowercase:256,strikethrough:T$3,subscript:32,superscript:64,underline:w$6,uppercase:512},U$5={directionless:1,unmergeable:2},q$4={center:O$6,end:z$4,justify:I$5,left:A$4,right:M$5,start:D$6},H$4={[O$6]:"center",[z$4]:"end",[I$5]:"justify",[A$4]:"left",[M$5]:"right",[D$6]:"start"},G$4={normal:0,segmented:2,token:1},Q$3={[S$4]:"normal",[C$6]:"segmented",[v$5]:"token"},X$3="$";function Y$3(t,e,n,r,i,s){let o=t.getFirstChild();for(;null!==o;){const t=o.__key;o.__parent===e&&(di(o)&&Y$3(o,t,n,r,i,s),n.has(t)||s.delete(t),i.push(t)),o=o.getNextSibling();}}const Z$2=100;let tt$2=!1,et$2=0;function nt$2(t){et$2=t.timeStamp;}function rt$2(t,e,n){const r="BR"===t.nodeName,i=e.__lexicalLineBreak;return i&&(t===i||r&&t.previousSibling===i)||r&&void 0!==ns(t,n)}function it$2(t,e,n){const r=Xs(Rs(n));let i=null,s=null;null!==r&&r.anchorNode===t&&(i=r.anchorOffset,s=r.focusOffset);const o=t.nodeValue;null!==o&&ps(e,o,i,s,!1);}function st$2(t,e,n){if(lr(t)){const e=t.anchor.getNode();if(e.is(n)&&t.format!==e.getFormat())return !1}return $i(e)&&n.isAttached()}function ot$1(t,e,n,r){for(let i=t;i&&!po(i);i=Ms(i)){const t=ns(i,e);if(void 0!==t){const e=ts(t,n);if(e)return _i(e)||!eo(i)?void 0:[i,e]}else if(i===r)return [r,ls(n)]}}function lt$2(t,e,n){tt$2=!0;const r=performance.now()-et$2>Z$2;try{ci(t,(()=>{const s=Tr()||function(t){return t.getEditorState().read((()=>{const t=Tr();return null!==t?t.clone():null}))}(t),o=new Map,l=t.getRootElement(),c=t._editorState,a=t._blockCursorElement;let u=!1,f="";for(let n=0;n<e.length;n++){const d=e[n],h=d.type,g=d.target,_=ot$1(g,t,c,l);if(!_)continue;const[p,m]=_;if("characterData"===h)r&&Xn(m)&&$i(g)&&st$2(s,g,m)&&it$2(g,m,t);else if("childList"===h){u=!0;const e=d.addedNodes;for(let n=0;n<e.length;n++){const r=e[n],s=es(r),o=r.parentNode;if(null!=o&&r!==a&&null===s&&!rt$2(r,o,t)){if(i$1){const t=(eo(r)?r.innerText:null)||r.nodeValue;t&&(f+=t);}o.removeChild(r);}}const n=d.removedNodes,r=n.length;if(r>0){let e=0;for(let i=0;i<r;i++){const r=n[i];(rt$2(r,g,t)||a===r)&&(g.appendChild(r),e++);}r!==e&&o.set(p,m);}}}if(o.size>0)for(const[e,n]of o)n.reconcileObservedMutation(e,t);const d=n.takeRecords();if(d.length>0){for(let e=0;e<d.length;e++){const n=d[e],r=n.addedNodes,i=n.target;for(let e=0;e<r.length;e++){const n=r[e],s=n.parentNode;null==s||"BR"!==n.nodeName||rt$2(n,i,t)||s.removeChild(n);}}n.takeRecords();}null!==s&&(u&&cs(s),i$1&&Fs(t)&&s.insertRawText(f));}));}finally{tt$2=!1;}}function ct$1(t){const e=t._observer;if(null!==e){lt$2(t,e.takeRecords(),e);}}function at$1(t){!function(t){0===et$2&&Rs(t).addEventListener("textInput",nt$2,!0);}(t),t._observer=new MutationObserver(((e,n)=>{lt$2(t,e,n);}));}function ut$1(t){return t}class ft$2{constructor(t,e){this.key=t,this.parse=e.parse.bind(e),this.unparse=(e.unparse||ut$1).bind(e),this.isEqual=(e.isEqual||Object.is).bind(e),this.defaultValue=this.parse(void 0);}}function dt$2(t,e){return new ft$2(t,e)}function ht$2(t,e,n){const r=gt$2(t,n,"direct"),i=gt$2(e,n,"direct");return n.isEqual(r,i)?null:[r,i]}function gt$2(t,e,n="latest"){const r=("latest"===n?t.getLatest():t).__state;return r?r.getValue(e):e.defaultValue}function _t$2(t,e,n){let r;if(Vr(),"function"==typeof n){const i=t.getLatest(),s=gt$2(i,e);if(r=n(s),e.isEqual(s,r))return i}else r=n;const i=t.getWritable();return yt$2(i).updateFromKnown(e,r),i}class pt$2{constructor(t,e=new Map,n=void 0,r=new Map,i=void 0){this.node=t,this.sharedConfigMap=e,this.unknownState=n,this.knownState=r;const s=void 0!==i?i:function(t,e,n){let r=n.size;if(e)for(const i in e){const e=t.get(i);e&&n.has(e)||r++;}return r}(e,n,r);this.size=s;}getValue(t){const e=this.knownState.get(t);if(void 0!==e)return e;this.sharedConfigMap.set(t.key,t);let n=t.defaultValue;if(this.unknownState&&t.key in this.unknownState){const e=this.unknownState[t.key];void 0!==e&&(n=t.parse(e)),this.updateFromKnown(t,n);}return n}getInternalState(){return [this.unknownState,this.knownState]}toJSON(){const t={...this.unknownState};for(const[e,n]of this.knownState)e.isEqual(n,e.defaultValue)?delete t[e.key]:t[e.key]=e.unparse(n);return mt$2(t)?{[X$3]:t}:{}}getWritable(t){if(this.node===t)return this;const e=new Map(this.knownState),n=mt$2(r=this.unknownState)&&{...r};var r;if(n)for(const t of e.keys())delete n[t.key];return new pt$2(t,this.sharedConfigMap,mt$2(n),e,this.size)}updateFromKnown(t,e){const n=t.key;this.sharedConfigMap.set(n,t);const{knownState:r,unknownState:i}=this;r.has(t)||i&&n in i||this.size++,r.set(t,e);}updateFromUnknown(t,e){const n=this.sharedConfigMap.get(t);n?this.updateFromKnown(n,n.parse(e)):(this.unknownState=this.unknownState||{},t in this.unknownState||this.size++,this.unknownState[t]=e);}updateFromJSON(t){const{knownState:e}=this;for(const t of e.keys())e.set(t,t.defaultValue);if(this.size=e.size,this.unknownState={},t)for(const[e,n]of Object.entries(t))this.updateFromUnknown(e,n);this.unknownState=mt$2(this.unknownState);}}function mt$2(t){if(t)for(const e in t)return t}function yt$2(t){const e=t.getWritable(),n=e.__state?e.__state.getWritable(e):new pt$2(e);return e.__state=n,n}function xt$2(t,e){const n=t.__mode,r=t.__format,i=t.__style,s=e.__mode,o=e.__format,l=e.__style,c=t.__state,a=e.__state;return (null===n||n===s)&&(null===r||r===o)&&(null===i||i===l)&&(null===t.__state||c===a||function(t,e){if(t===e)return !0;if(t&&e&&t.size!==e.size)return !1;const n=new Set,r=(t,e)=>{for(const[r,i]of t.knownState){if(n.has(r.key))continue;n.add(r.key);const t=e?e.getValue(r):r.defaultValue;if(t!==i&&!r.isEqual(t,i))return !0}return !1},i=(t,e)=>{const{unknownState:r}=t,i=e?e.unknownState:void 0;if(r)for(const[t,e]of Object.entries(r))if(!n.has(t)&&(n.add(t),e!==(i?i[t]:void 0)))return !0;return !1};return !(t&&r(t,e)||e&&r(e,t)||t&&i(t,e)||e&&i(e,t))}(c,a))}function St$2(t,e){const n=t.mergeWithSibling(e),r=Hr()._normalizedNodes;return r.add(t.__key),r.add(e.__key),n}function vt$2(t){let e,n,r=t;if(""!==r.__text||!r.isSimpleText()||r.isUnmergeable()){for(;null!==(e=r.getPreviousSibling())&&Xn(e)&&e.isSimpleText()&&!e.isUnmergeable();){if(""!==e.__text){if(xt$2(e,r)){r=St$2(e,r);break}break}e.remove();}for(;null!==(n=r.getNextSibling())&&Xn(n)&&n.isSimpleText()&&!n.isUnmergeable();){if(""!==n.__text){if(xt$2(r,n)){r=St$2(r,n);break}break}n.remove();}}else r.remove();}function Ct$2(t){return kt$1(t.anchor),kt$1(t.focus),t}function kt$1(t){for(;"element"===t.type;){const e=t.getNode(),n=t.offset;let r,i;if(n===e.getChildrenSize()?(r=e.getChildAtIndex(n-1),i=!0):(r=e.getChildAtIndex(n),i=!1),Xn(r)){t.set(r.__key,i?r.getTextContentSize():0,"text",!0);break}if(!di(r))break;t.set(r.__key,i?r.getChildrenSize():0,"element",!0);}}let bt$1,Tt$2,wt$2,Nt$2,Et$2,Pt$2,Ft$1,Lt$1,At$2,Ot$2,Mt$1="",It$1="",Dt$1=null,zt="",Bt$1="",Wt=!1,Kt=!1,Rt$1=null;function Jt(t,e){const n=Ft$1.get(t);if(null!==e){const n=se(t);n.parentNode===e&&e.removeChild(n);}if(Lt$1.has(t)||Tt$2._keyToDOMMap.delete(t),di(n)){const t=te(n,Ft$1);jt(t,0,t.length-1,null);}void 0!==n&&ws(Ot$2,wt$2,Nt$2,n,"destroyed");}function jt(t,e,n,r){let i=e;for(;i<=n;++i){const e=t[i];void 0!==e&&Jt(e,r);}}function $t(t,e){t.setProperty("text-align",e);}const Vt="40px";function Ut(t,e){const n=bt$1.theme.indent;if("string"==typeof n){const r=t.classList.contains(n);e>0&&!r?t.classList.add(n):e<1&&r&&t.classList.remove(n);}const r=getComputedStyle(t).getPropertyValue("--lexical-indent-base-value")||Vt;t.style.setProperty("padding-inline-start",0===e?"":`calc(${e} * ${r})`);}function qt(t,e){const n=t.style;0===e?$t(n,""):e===A$4?$t(n,"left"):e===O$6?$t(n,"center"):e===M$5?$t(n,"right"):e===I$5?$t(n,"justify"):e===D$6?$t(n,"start"):e===z$4&&$t(n,"end");}function Ht(e,n){const r=Lt$1.get(e);void 0===r&&t$2(60);const i=r.createDOM(bt$1,Tt$2);if(function(t,e,n){const r=n._keyToDOMMap;((function(t,e,n){const r=`__lexicalKey_${e._key}`;t[r]=n;}))(e,n,t),r.set(t,e);}(e,i,Tt$2),Xn(r)?i.setAttribute("data-lexical-text","true"):_i(r)&&i.setAttribute("data-lexical-decorator","true"),di(r)){const t=r.__indent,e=r.__size;if(0!==t&&Ut(i,t),0!==e){const t=e-1;!function(t,e,n,r){const i=It$1;It$1="",Gt(t,n,0,e,n.getDOMSlot(r)),Yt(n,r),It$1=i;}(te(r,Lt$1),t,r,i);}const n=r.__format;0!==n&&qt(i,n),r.isInline()||Xt(null,r,i),As(r)&&(Mt$1+=W$3,Bt$1+=W$3);}else {const t=r.getTextContent();if(_i(r)){const t=r.decorate(Tt$2,bt$1);null!==t&&ne(e,t),i.contentEditable="false";}else Xn(r)&&(r.isDirectionless()||(It$1+=t));Mt$1+=t,Bt$1+=t;}return null!==n&&n.insertChild(i),ws(Ot$2,wt$2,Nt$2,r,"created"),i}function Gt(t,e,n,r,i){const s=Mt$1;Mt$1="";let o=n;for(;o<=r;++o){Ht(t[o],i);const e=Lt$1.get(t[o]);null!==e&&Xn(e)&&(null===Dt$1&&(Dt$1=e.getFormat()),""===zt&&(zt=e.getStyle()));}As(e)&&(Mt$1+=W$3);i.element.__lexicalTextContent=Mt$1,Mt$1=s+Mt$1;}function Qt(t,e){if(t){const n=t.__last;if(n){const t=e.get(n);if(t)return On(t)?"line-break":_i(t)&&t.isInline()?"decorator":null}return "empty"}return null}function Xt(t,e,n){const r=Qt(t,Ft$1),i=Qt(e,Lt$1);r!==i&&e.getDOMSlot(n).setManagedLineBreak(i);}function Yt(t,e){const n=e.__lexicalDirTextContent||"",r=e.__lexicalDir||"";if(n!==It$1||r!==Rt$1){const n=""===It$1,i=n?Rt$1:function(t){if(j$3.test(t))return "rtl";if($$3.test(t))return "ltr";return null}(It$1);if(i!==r){const s=e.classList,o=bt$1.theme;let l=null!==r?o[r]:void 0,c=null!==i?o[i]:void 0;if(void 0!==l){if("string"==typeof l){const t=d$5(l);l=o[r]=t;}s.remove(...l);}if(null===i||n&&"ltr"===i)e.removeAttribute("dir");else {if(void 0!==c){if("string"==typeof c){const t=d$5(c);c=o[i]=t;}void 0!==c&&s.add(...c);}e.dir=i;}if(!Kt){t.getWritable().__dir=i;}}Rt$1=i,e.__lexicalDirTextContent=It$1,e.__lexicalDir=i;}}function Zt(e,n,r){const i=It$1;var s;It$1="",Dt$1=null,zt="",function(e,n,r){const i=Mt$1,s=e.__size,o=n.__size;Mt$1="";const l=r.element;if(1===s&&1===o){const t=e.__first,r=n.__first;if(t===r)ee(t,l);else {const e=se(t),n=Ht(r,null);try{l.replaceChild(n,e);}catch(i){if("object"==typeof i&&null!=i){const s=`${i.toString()} Parent: ${l.tagName}, new child: {tag: ${n.tagName} key: ${r}}, old child: {tag: ${e.tagName}, key: ${t}}.`;throw new Error(s)}throw i}Jt(t,null);}const i=Lt$1.get(r);Xn(i)&&(null===Dt$1&&(Dt$1=i.getFormat()),""===zt&&(zt=i.getStyle()));}else {const i=te(e,Ft$1),c=te(n,Lt$1);if(i.length!==s&&t$2(227),c.length!==o&&t$2(228),0===s)0!==o&&Gt(c,n,0,o-1,r);else if(0===o){if(0!==s){const t=null==r.after&&null==r.before&&null==r.element.__lexicalLineBreak;jt(i,0,s-1,t?null:l),t&&(l.textContent="");}}else !function(t,e,n,r,i,s){const o=r-1,l=i-1;let c,a,u=s.getFirstChild(),f=0,d=0;for(;f<=o&&d<=l;){const t=e[f],r=n[d];if(t===r)u=re(ee(r,s.element)),f++,d++;else {void 0===c&&(c=new Set(e)),void 0===a&&(a=new Set(n));const i=a.has(t),o=c.has(r);if(i)if(o){const t=Os(Tt$2,r);t===u?u=re(ee(r,s.element)):(s.withBefore(u).insertChild(t),ee(r,s.element)),f++,d++;}else Ht(r,s.withBefore(u)),d++;else u=re(se(t)),Jt(t,s.element),f++;}const i=Lt$1.get(r);null!==i&&Xn(i)&&(null===Dt$1&&(Dt$1=i.getFormat()),""===zt&&(zt=i.getStyle()));}const h=f>o,g=d>l;if(h&&!g){const e=n[l+1],r=void 0===e?null:Tt$2.getElementByKey(e);Gt(n,t,d,l,s.withBefore(r));}else g&&!h&&jt(e,f,o,s.element);}(n,i,c,s,o,r);}As(n)&&(Mt$1+=W$3);l.__lexicalTextContent=Mt$1,Mt$1=i+Mt$1;}(e,n,n.getDOMSlot(r)),Yt(n,r),s=n,null==Dt$1||Dt$1===s.__textFormat||Kt||s.setTextFormat(Dt$1),function(t){""===zt||zt===t.__textStyle||Kt||t.setTextStyle(zt);}(n),It$1=i;}function te(e,n){const r=[];let i=e.__first;for(;null!==i;){const e=n.get(i);void 0===e&&t$2(101),r.push(i),i=e.__next;}return r}function ee(e,n){const r=Ft$1.get(e);let i=Lt$1.get(e);void 0!==r&&void 0!==i||t$2(61);const s=Wt||Pt$2.has(e)||Et$2.has(e),o=Os(Tt$2,e);if(r===i&&!s){if(di(r)){const t=o.__lexicalTextContent;void 0!==t&&(Mt$1+=t,Bt$1+=t);const e=o.__lexicalDirTextContent;void 0!==e&&(It$1+=e);}else {const t=r.getTextContent();Xn(r)&&!r.isDirectionless()&&(It$1+=t),Bt$1+=t,Mt$1+=t;}return o}if(r!==i&&s&&ws(Ot$2,wt$2,Nt$2,i,"updated"),i.updateDOM(r,o,bt$1)){const r=Ht(e,null);return null===n&&t$2(62),n.replaceChild(r,o),Jt(e,null),r}if(di(r)&&di(i)){const t=i.__indent;t!==r.__indent&&Ut(o,t);const e=i.__format;e!==r.__format&&qt(o,e),s&&(Zt(r,i,o),mi(i)||i.isInline()||Xt(r,i,o)),As(i)&&(Mt$1+=W$3,Bt$1+=W$3);}else {const t=i.getTextContent();if(_i(i)){const t=i.decorate(Tt$2,bt$1);null!==t&&ne(e,t);}else Xn(i)&&!i.isDirectionless()&&(It$1+=t);Mt$1+=t,Bt$1+=t;}if(!Kt&&mi(i)&&i.__cachedText!==Bt$1){const t=i.getWritable();t.__cachedText=Bt$1,i=t;}return o}function ne(t,e){let n=Tt$2._pendingDecorators;const r=Tt$2._decorators;if(null===n){if(r[t]===e)return;n=is(Tt$2);}n[t]=e;}function re(t){let e=t.nextSibling;return null!==e&&e===Tt$2._blockCursorElement&&(e=e.nextSibling),e}function ie(t,e,n,r,i,s){Mt$1="",Bt$1="",It$1="",Wt=r===x$8,Rt$1=null,Tt$2=n,bt$1=n._config,wt$2=n._nodes,Nt$2=Tt$2._listeners.mutation,Et$2=i,Pt$2=s,Ft$1=t._nodeMap,Lt$1=e._nodeMap,Kt=e._readOnly,At$2=new Map(n._keyToDOMMap);const o=new Map;return Ot$2=o,ee("root",null),Tt$2=void 0,wt$2=void 0,Et$2=void 0,Pt$2=void 0,Ft$1=void 0,Lt$1=void 0,bt$1=void 0,At$2=void 0,Ot$2=void 0,o}function se(e){const n=At$2.get(e);return void 0===n&&t$2(75,e),n}function oe(t){return {}}const le={},ce={},ae={},ue={},fe={},de={},he={},ge={},_e={},pe={},me={},ye={},xe={},Se={},ve={},Ce={},ke={},be={},Te={},we={},Ne={},Ee={},Pe={},Fe={},Le={},Ae={},Oe={},Me={},Ie={},De={},ze={},Be={},We={},Ke={},Re={},Je={},je={},$e={},Ve={},Ue={},qe={},He={},Ge={},Qe={},Xe={},Ye=Object.freeze({}),Ze=30,tn=[["keydown",function(t,e){if(en=t.timeStamp,nn=t.key,e.isComposing())return;const{key:n,shiftKey:s,ctrlKey:o,metaKey:l,altKey:c}=t;if(Ls(e,ve,t))return;if(null==n)return;if(fn&&vs(nn))return ci(e,(()=>{vn(e,dn);})),fn=!1,void(dn="");if(function(t,e,n,r){return ys(t)&&!e&&!r&&!n}(n,o,c,l))Ls(e,Ce,t);else if(function(t,e,n,r,i){return ys(t)&&!r&&!n&&(e||i)}(n,o,s,c,l))Ls(e,ke,t);else if(function(t,e,n,r){return ms(t)&&!e&&!r&&!n}(n,o,c,l))Ls(e,be,t);else if(function(t,e,n,r,i){return ms(t)&&!r&&!n&&(e||i)}(n,o,s,c,l))Ls(e,Te,t);else if(function(t,e,n){return function(t){return "ArrowUp"===t}(t)&&!e&&!n}(n,o,l))Ls(e,we,t);else if(function(t,e,n){return function(t){return "ArrowDown"===t}(t)&&!e&&!n}(n,o,l))Ls(e,Ne,t);else if(function(t,e){return Ss(t)&&e}(n,s))an=!0,Ls(e,Ee,t);else if(function(t){return " "===t}(n))Ls(e,Pe,t);else if(function(t,e){return r$1&&e&&"o"===t.toLowerCase()}(n,o))t.preventDefault(),an=!0,Ls(e,fe,!0);else if(function(t,e){return Ss(t)&&!e}(n,s))an=!1,Ls(e,Ee,t);else if(function(t,e,n,i){if(r$1)return !e&&!n&&(vs(t)||"h"===t.toLowerCase()&&i);if(i||e||n)return !1;return vs(t)}(n,c,l,o))vs(n)?Ls(e,Fe,t):(t.preventDefault(),Ls(e,ue,!0));else if(function(t){return "Escape"===t}(n))Ls(e,Le,t);else if(function(t,e,n,i,s){if(r$1)return !(n||i||s)&&(Cs(t)||"d"===t.toLowerCase()&&e);if(e||i||s)return !1;return Cs(t)}(n,o,s,c,l))Cs(n)?Ls(e,Ae,t):(t.preventDefault(),Ls(e,ue,!1));else if(function(t,e,n){return vs(t)&&(r$1?e:n)}(n,c,o))t.preventDefault(),Ls(e,pe,!0);else if(function(t,e,n){return Cs(t)&&(r$1?e:n)}(n,c,o))t.preventDefault(),Ls(e,pe,!1);else if(function(t,e){return r$1&&e&&vs(t)}(n,l))t.preventDefault(),Ls(e,me,!0);else if(function(t,e){return r$1&&e&&Cs(t)}(n,l))t.preventDefault(),Ls(e,me,!1);else if(function(t,e,n,r){return "b"===t.toLowerCase()&&!e&&xs(n,r)}(n,c,l,o))t.preventDefault(),Ls(e,ye,"bold");else if(function(t,e,n,r){return "u"===t.toLowerCase()&&!e&&xs(n,r)}(n,c,l,o))t.preventDefault(),Ls(e,ye,"underline");else if(function(t,e,n,r){return "i"===t.toLowerCase()&&!e&&xs(n,r)}(n,c,l,o))t.preventDefault(),Ls(e,ye,"italic");else if(function(t,e,n,r){return "Tab"===t&&!e&&!n&&!r}(n,c,o,l))Ls(e,Oe,t);else if(function(t,e,n,r){return "z"===t.toLowerCase()&&!e&&xs(n,r)}(n,s,l,o))t.preventDefault(),Ls(e,xe,void 0);else if(function(t,e,n,i){if(r$1)return "z"===t.toLowerCase()&&n&&e;return "y"===t.toLowerCase()&&i||"z"===t.toLowerCase()&&i&&e}(n,s,l,o))t.preventDefault(),Ls(e,Se,void 0);else {const c=e._editorState._selection;null===c||lr(c)?!i$1&&ks(n,l,o)&&(t.preventDefault(),Ls(e,$e,t)):!function(t,e,n,i){if(e)return !1;if("c"===t.toLowerCase())return r$1?n:i;return !1}(n,s,l,o)?!function(t,e,n,i){if(e)return !1;if("x"===t.toLowerCase())return r$1?n:i;return !1}(n,s,l,o)?ks(n,l,o)&&(t.preventDefault(),Ls(e,$e,t)):(t.preventDefault(),Ls(e,je,t)):(t.preventDefault(),Ls(e,Je,t));}(function(t,e,n,r){return t||e||n||r})(o,s,c,l)&&Ls(e,Xe,t);}],["pointerdown",function(t,e){const n=t.target,r=t.pointerType;no(n)&&"touch"!==r&&0===t.button&&ci(e,(()=>{_i(rs(n))||(cn=!0);}));}],["compositionstart",function(t,e){ci(e,(()=>{const n=Tr();if(lr(n)&&!e.isComposing()){const r=n.anchor,i=n.anchor.getNode();Yi(r.key),(t.timeStamp<en+Ze||"element"===r.type||!n.isCollapsed()||i.getFormat()!==n.format||Xn(i)&&i.getStyle()!==n.style)&&Ls(e,he,K$3);}}));}],["compositionend",function(t,e){i$1?un=!0:l$4||!o$4&&!f$5?ci(e,(()=>{vn(e,t.data);})):(fn=!0,dn=t.data);}],["input",function(t,e){t.stopPropagation(),ci(e,(()=>{const n=Tr(),r=t.data,c=Sn(t);if(null!=r&&lr(n)&&_n(n,c,r,t.timeStamp,!1)){un&&(vn(e,r),un=!1);const c=n.anchor.getNode(),a=Xs(Rs(e));if(null===a)return;const u=n.isBackward(),d=u?n.anchor.offset:n.focus.offset,h=u?n.focus.offset:n.anchor.offset;s$1&&!n.isCollapsed()&&Xn(c)&&null!==a.anchorNode&&c.getTextContent().slice(0,d)+r+c.getTextContent().slice(d+h)===gs(a.anchorNode)||Ls(e,he,r);const g=r.length;i$1&&g>1&&"insertCompositionText"===t.inputType&&!e.isComposing()&&(n.anchor.offset-=g),o$4||l$4||f$5||!e.isComposing()||(en=0,Yi(null));}else {_s(!1,e,null!==r?r:void 0),un&&(vn(e,r||void 0),un=!1);}!function(){Vr();const t=Hr();ct$1(t);}();}),{event:t}),sn=null;}],["click",function(t,e){ci(e,(()=>{const n=Tr(),r=Xs(Rs(e)),i=wr();if(r)if(lr(n)){const e=n.anchor,s=e.getNode();if("element"===e.type&&0===e.offset&&n.isCollapsed()&&!mi(s)&&1===os().getChildrenSize()&&s.getTopLevelElementOrThrow().isEmpty()&&null!==i&&n.is(i))r.removeAllRanges(),n.dirty=!0;else if(3===t.detail&&!n.isCollapsed()){if(s!==n.focus.getNode()){const t=function(t,e){let n=t;for(;n!==os()&&null!=n;){if(e(n))return n;n=n.getParent();}return null}(s,(t=>di(t)&&!t.isInline()));di(t)&&t.select(0);}}}else if("touch"===t.pointerType){const n=r.anchorNode;if(eo(n)||$i(n)){cs(br(i,r,e,t));}}Ls(e,ae,t);}));}],["cut",Ye],["copy",Ye],["dragstart",Ye],["dragover",Ye],["dragend",Ye],["paste",Ye],["focus",Ye],["blur",Ye],["drop",Ye]];s$1&&tn.push(["beforeinput",(e,n)=>function(e,n){const r=e.inputType,s=Sn(e);if("deleteCompositionText"===r||i$1&&Fs(n))return;if("insertCompositionText"===r)return;ci(n,(()=>{const i=Tr();if("deleteContentBackward"===r){if(null===i){const t=wr();if(!lr(t))return;cs(t.clone());}if(lr(i)){const r=i.anchor.key===i.focus.key;if(o=e.timeStamp,"MediaLast"===nn&&o<en+Ze&&n.isComposing()&&r){if(Yi(null),en=0,setTimeout((()=>{ci(n,(()=>{Yi(null);}));}),Ze),lr(i)){const e=i.anchor.getNode();e.markDirty(),Xn(e)||t$2(142),xn(i,e);}}else {Yi(null),e.preventDefault();const t=i.anchor.getNode(),s=t.getTextContent(),o=t.canInsertTextAfter(),l=0===i.anchor.offset&&i.focus.offset===s.length;let c=u$4&&r&&!l&&o;if(c&&i.isCollapsed()&&(c=!_i(Ps(i.anchor,!0))),!c){Ls(n,ue,!0);const t=Tr();u$4&&lr(t)&&t.isCollapsed()&&(hn=t,setTimeout((()=>hn=null)));}}return}}var o;if(!lr(i))return;const c=e.data;null!==sn&&_s(!1,n,sn),i.dirty&&null===sn||!i.isCollapsed()||mi(i.anchor.getNode())||null===s||i.applyDOMRange(s),sn=null;const a=i.anchor,f=i.focus,d=a.getNode(),h=f.getNode();if("insertText"!==r&&"insertTranspose"!==r)switch(e.preventDefault(),r){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":Ls(n,he,e);break;case"insertFromComposition":Yi(null),Ls(n,he,e);break;case"insertLineBreak":Yi(null),Ls(n,fe,!1);break;case"insertParagraph":Yi(null),an&&!l$4?(an=!1,Ls(n,fe,!1)):Ls(n,de,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":Ls(n,ge,e);break;case"deleteByComposition":(function(t,e){return t!==e||di(t)||di(e)||!t.isToken()||!e.isToken()})(d,h)&&Ls(n,_e,e);break;case"deleteByDrag":case"deleteByCut":Ls(n,_e,e);break;case"deleteContent":Ls(n,ue,!1);break;case"deleteWordBackward":Ls(n,pe,!0);break;case"deleteWordForward":Ls(n,pe,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":Ls(n,me,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":Ls(n,me,!1);break;case"formatStrikeThrough":Ls(n,ye,"strikethrough");break;case"formatBold":Ls(n,ye,"bold");break;case"formatItalic":Ls(n,ye,"italic");break;case"formatUnderline":Ls(n,ye,"underline");break;case"historyUndo":Ls(n,xe,void 0);break;case"historyRedo":Ls(n,Se,void 0);}else {if("\n"===c)e.preventDefault(),Ls(n,fe,!1);else if(c===W$3)e.preventDefault(),Ls(n,de,void 0);else if(null==c&&e.dataTransfer){const t=e.dataTransfer.getData("text/plain");e.preventDefault(),i.insertRawText(t);}else null!=c&&_n(i,s,c,e.timeStamp,!0)?(e.preventDefault(),Ls(n,he,c)):sn=c;rn=e.timeStamp;}}));}(e,n)]);let en=0,nn=null,rn=0,sn=null;const on=new WeakMap;let ln=!1,cn=!1,an=!1,un=!1,fn=!1,dn="",hn=null,gn=[0,"",0,"root",0];function _n(t,e,n,r,i){const o=t.anchor,l=t.focus,c=o.getNode(),a=Hr(),u=Xs(Rs(a)),f=null!==u?u.anchorNode:null,d=o.key,h=a.getElementByKey(d),g=n.length;return d!==l.key||!Xn(c)||(!i&&(!s$1||rn<r+50)||c.isDirty()&&g<2||fs(n))&&o.offset!==l.offset&&!c.isComposing()||ji(c)||c.isDirty()&&g>1||(i||!s$1)&&null!==h&&!c.isComposing()&&f!==Ui(h)||null!==u&&null!==e&&(!e.collapsed||e.startContainer!==u.anchorNode||e.startOffset!==u.anchorOffset)||c.getFormat()!==t.format||c.getStyle()!==t.style||function(t,e){if(e.isSegmented())return !0;if(!t.isCollapsed())return !1;const n=t.anchor.offset,r=e.getParentOrThrow(),i=e.isToken();return 0===n?!e.canInsertTextBefore()||!r.canInsertTextBefore()&&!e.isComposing()||i||function(t){const e=t.getPreviousSibling();return (Xn(e)||di(e)&&e.isInline())&&!e.canInsertTextAfter()}(e):n===e.getTextContentSize()&&(!e.canInsertTextAfter()||!r.canInsertTextAfter()&&!e.isComposing()||i)}(t,c)}function pn(t,e){return $i(t)&&null!==t.nodeValue&&0!==e&&e!==t.nodeValue.length}function mn(e,n,r){const{anchorNode:i,anchorOffset:s,focusNode:o,focusOffset:l}=e;ln&&(ln=!1,pn(i,s)&&pn(o,l)&&!hn)||ci(n,(()=>{if(!r)return void cs(null);if(!Wi(n,i,o))return;let c=Tr();if(hn&&lr(c)&&c.isCollapsed()){const t=c.anchor,e=hn.anchor;(t.key===e.key&&t.offset===e.offset+1||1===t.offset&&e.getNode().is(t.getNode().getPreviousSibling()))&&(c=hn.clone(),cs(c));}if(hn=null,lr(c)){const r=c.anchor,i=r.getNode();if(c.isCollapsed()){"Range"===e.type&&e.anchorNode===e.focusNode&&(c.dirty=!0);const s=Rs(n).event,o=s?s.timeStamp:performance.now(),[l,a,u,f,d]=gn,h=os(),g=!1===n.isComposing()&&""===h.getTextContent();if(o<d+200&&r.offset===u&&r.key===f)yn(c,l,a);else if("text"===r.type)Xn(i)||t$2(141),xn(c,i);else if("element"===r.type&&!g){di(i)||t$2(259);const e=r.getNode();e.isEmpty()?function(t,e){const n=e.getTextFormat(),r=e.getTextStyle();yn(t,n,r);}(c,e):yn(c,0,"");}}else {const t=r.key,e=c.focus.key,n=c.getNodes(),i=n.length,o=c.isBackward(),a=o?l:s,u=o?s:l,f=o?e:t,d=o?t:e;let h=L$5,g=!1;for(let t=0;t<i;t++){const e=n[t],r=e.getTextContentSize();if(Xn(e)&&0!==r&&!(0===t&&e.__key===f&&a===r||t===i-1&&e.__key===d&&0===u)&&(g=!0,h&=e.getFormat(),0===h))break}c.format=g?h:0;}}Ls(n,le,void 0);}));}function yn(t,e,n){t.format===e&&t.style===n||(t.format=e,t.style=n,t.dirty=!0);}function xn(t,e){yn(t,e.getFormat(),e.getStyle());}function Sn(t){if(!t.getTargetRanges)return null;const e=t.getTargetRanges();return 0===e.length?null:e[0]}function vn(t,e){const n=t._compositionKey;if(Yi(null),null!==n&&null!=e){if(""===e){const e=ts(n),r=Ui(t.getElementByKey(n));return void(null!==r&&null!==r.nodeValue&&Xn(e)&&ps(e,r.nodeValue,null,null,!0))}if("\n"===e[e.length-1]){const e=Tr();if(lr(e)){const n=e.focus;return e.anchor.set(n.key,n.offset,n.type),void Ls(t,Ee,null)}}}_s(!0,t,e);}function Cn(t){let e=t.__lexicalEventHandles;return void 0===e&&(e=[],t.__lexicalEventHandles=e),e}const kn=new Map;function bn(t){const e=Ys(t.target);if(null===e)return;const n=Ri(e.anchorNode);if(null===n)return;cn&&(cn=!1,ci(n,(()=>{const r=wr(),i=e.anchorNode;if(eo(i)||$i(i)){cs(br(r,e,n,t));}})));const r=ds(n),i=r[r.length-1],s=i._key,o=kn.get(s),l=o||i;l!==n&&mn(e,l,!1),mn(e,n,!0),n!==i?kn.set(s,n):o&&kn.delete(s);}function Tn(t){t._lexicalHandled=!0;}function wn(t){return !0===t._lexicalHandled}function Nn(e){const n=e.ownerDocument,r=on.get(n);void 0===r&&t$2(162);const i=r-1;i>=0||t$2(164),on.set(n,i),0===i&&n.removeEventListener("selectionchange",bn);const s=Ji(e);Ki(s)?(!function(t){if(null!==t._parentEditor){const e=ds(t),n=e[e.length-1]._key;kn.get(n)===t&&kn.delete(n);}else kn.delete(t._key);}(s),e.__lexicalEditor=null):s&&t$2(198);const o=Cn(e);for(let t=0;t<o.length;t++)o[t]();e.__lexicalEventHandles=[];}function En(t,e,n){Vr();const r=t.__key,i=t.getParent();if(null===i)return;const s=function(t){const e=Tr();if(!lr(e)||!di(t))return e;const{anchor:n,focus:r}=e,i=n.getNode(),s=r.getNode();Ws(i,t)&&n.set(t.__key,0,"element");Ws(s,t)&&r.set(t.__key,0,"element");return e}(t);let o=!1;if(lr(s)&&e){const e=s.anchor,n=s.focus;e.key===r&&(Pr(e,t,i,t.getPreviousSibling(),t.getNextSibling()),o=!0),n.key===r&&(Pr(n,t,i,t.getPreviousSibling(),t.getNextSibling()),o=!0);}else ar(s)&&e&&t.isSelected()&&t.selectPrevious();if(lr(s)&&e&&!o){const e=t.getIndexWithinParent();Qi(t),Nr(s,i,e,-1);}else Qi(t);n||$s(i)||i.canBeEmpty()||!i.isEmpty()||En(i,e),e&&mi(i)&&i.isEmpty()&&i.selectEnd();}class Pn{static getType(){t$2(64,this.name);}static clone(e){t$2(65,this.name);}afterCloneFrom(t){this.__parent=t.__parent,this.__next=t.__next,this.__prev=t.__prev,this.__state=t.__state;}constructor(t){this.__type=this.constructor.getType(),this.__parent=null,this.__prev=null,this.__next=null,Object.defineProperty(this,"__state",{configurable:!0,enumerable:!1,value:void 0,writable:!0}),Gi(this,t);}getType(){return this.__type}isInline(){t$2(137,this.constructor.name);}isAttached(){let t=this.__key;for(;null!==t;){if("root"===t)return !0;const e=ts(t);if(null===e)break;t=e.__parent;}return !1}isSelected(t){const e=t||Tr();if(null==e)return !1;const n=e.getNodes().some((t=>t.__key===this.__key));if(Xn(this))return n;if(lr(e)&&"element"===e.anchor.type&&"element"===e.focus.type){if(e.isCollapsed())return !1;const t=this.getParent();if(_i(this)&&this.isInline()&&t){const n=e.isBackward()?e.focus:e.anchor;if(t.is(n.getNode())&&n.offset===t.getChildrenSize()&&this.is(t.getLastChild()))return !1}}return n}getKey(){return this.__key}getIndexWithinParent(){const t=this.getParent();if(null===t)return -1;let e=t.getFirstChild(),n=0;for(;null!==e;){if(this.is(e))return n;n++,e=e.getNextSibling();}return -1}getParent(){const t=this.getLatest().__parent;return null===t?null:ts(t)}getParentOrThrow(){const e=this.getParent();return null===e&&t$2(66,this.__key),e}getTopLevelElement(){let e=this;for(;null!==e;){const n=e.getParent();if($s(n))return di(e)||e===this&&_i(e)||t$2(194),e;e=n;}return null}getTopLevelElementOrThrow(){const e=this.getTopLevelElement();return null===e&&t$2(67,this.__key),e}getParents(){const t=[];let e=this.getParent();for(;null!==e;)t.push(e),e=e.getParent();return t}getParentKeys(){const t=[];let e=this.getParent();for(;null!==e;)t.push(e.__key),e=e.getParent();return t}getPreviousSibling(){const t=this.getLatest().__prev;return null===t?null:ts(t)}getPreviousSiblings(){const t=[],e=this.getParent();if(null===e)return t;let n=e.getFirstChild();for(;null!==n&&!n.is(this);)t.push(n),n=n.getNextSibling();return t}getNextSibling(){const t=this.getLatest().__next;return null===t?null:ts(t)}getNextSiblings(){const t=[];let e=this.getNextSibling();for(;null!==e;)t.push(e),e=e.getNextSibling();return t}getCommonAncestor(t){const e=di(this)?this:this.getParent(),n=di(t)?t:t.getParent(),r=e&&n?Go(e,n):null;return r?r.commonAncestor:null}is(t){return null!=t&&this.__key===t.__key}isBefore(e){const n=Go(this,e);return null!==n&&("descendant"===n.type||("branch"===n.type?-1===Uo(n):("same"!==n.type&&"ancestor"!==n.type&&t$2(279),!1)))}isParentOf(t){const e=Go(this,t);return null!==e&&"ancestor"===e.type}getNodesBetween(e){const n=this.isBefore(e),r=[],i=new Set;let s=this;for(;null!==s;){const o=s.__key;if(i.has(o)||(i.add(o),r.push(s)),s===e)break;const l=di(s)?n?s.getFirstChild():s.getLastChild():null;if(null!==l){s=l;continue}const c=n?s.getNextSibling():s.getPreviousSibling();if(null!==c){s=c;continue}const a=s.getParentOrThrow();if(i.has(a.__key)||r.push(a),a===e)break;let u=null,f=a;do{if(null===f&&t$2(68),u=n?f.getNextSibling():f.getPreviousSibling(),f=f.getParent(),null===f)break;null!==u||i.has(f.__key)||r.push(f);}while(null===u);s=u;}return n||r.reverse(),r}isDirty(){const t=Hr()._dirtyLeaves;return null!==t&&t.has(this.__key)}getLatest(){const e=ts(this.__key);return null===e&&t$2(113),e}getWritable(){Vr();const t=qr(),e=Hr(),n=t._nodeMap,r=this.__key,i=this.getLatest(),s=e._cloneNotNeeded,o=Tr();if(null!==o&&o.setCachedNodes(null),s.has(r))return Xi(i),i;const l=ho(i);return s.add(r),Xi(l),n.set(r,l),l}getTextContent(){return ""}getTextContentSize(){return this.getTextContent().length}createDOM(e,n){t$2(70);}updateDOM(e,n,r){t$2(71);}exportDOM(t){return {element:this.createDOM(t._config,t)}}exportJSON(){const t=this.__state?this.__state.toJSON():void 0;return {type:this.__type,version:1,...t}}static importJSON(e){t$2(18,this.name);}updateFromJSON(t){return function(t,e){const n=t.getWritable();return (e||n.__state)&&yt$2(t).updateFromJSON(e),n}(this,t.$)}static transform(){return null}remove(t){En(this,!0,t);}replace(e,n){Vr();let r=Tr();null!==r&&(r=r.clone()),qs(this,e);const i=this.getLatest(),s=this.__key,o=e.__key,l=e.getWritable(),c=this.getParentOrThrow().getWritable(),a=c.__size;Qi(l);const u=i.getPreviousSibling(),f=i.getNextSibling(),d=i.__prev,h=i.__next,g=i.__parent;if(En(i,!1,!0),null===u)c.__first=o;else {u.getWritable().__next=o;}if(l.__prev=d,null===f)c.__last=o;else {f.getWritable().__prev=o;}if(l.__next=h,l.__parent=g,c.__size=a,n&&(di(this)&&di(l)||t$2(139),this.getChildren().forEach((t=>{l.append(t);}))),lr(r)){cs(r);const t=r.anchor,e=r.focus;t.key===s&&sr(t,l),e.key===s&&sr(e,l);}return Zi()===s&&Yi(o),l}insertAfter(t,e=!0){Vr(),qs(this,t);const n=this.getWritable(),r=t.getWritable(),i=r.getParent(),s=Tr();let o=!1,l=!1;if(null!==i){const e=t.getIndexWithinParent();if(Qi(r),lr(s)){const t=i.__key,n=s.anchor,r=s.focus;o="element"===n.type&&n.key===t&&n.offset===e+1,l="element"===r.type&&r.key===t&&r.offset===e+1;}}const c=this.getNextSibling(),a=this.getParentOrThrow().getWritable(),u=r.__key,f=n.__next;if(null===c)a.__last=u;else {c.getWritable().__prev=u;}if(a.__size++,n.__next=u,r.__next=f,r.__prev=n.__key,r.__parent=n.__parent,e&&lr(s)){const t=this.getIndexWithinParent();Nr(s,a,t+1);const e=a.__key;o&&s.anchor.set(e,t+2,"element"),l&&s.focus.set(e,t+2,"element");}return t}insertBefore(t,e=!0){Vr(),qs(this,t);const n=this.getWritable(),r=t.getWritable(),i=r.__key;Qi(r);const s=this.getPreviousSibling(),o=this.getParentOrThrow().getWritable(),l=n.__prev,c=this.getIndexWithinParent();if(null===s)o.__first=i;else {s.getWritable().__next=i;}o.__size++,n.__prev=i,r.__prev=l,r.__next=n.__key,r.__parent=n.__parent;const a=Tr();if(e&&lr(a)){Nr(a,this.getParentOrThrow(),c);}return t}isParentRequired(){return !1}createParentElementNode(){return Ti()}selectStart(){return this.selectPrevious()}selectEnd(){return this.selectNext(0,0)}selectPrevious(t,e){Vr();const n=this.getPreviousSibling(),r=this.getParentOrThrow();if(null===n)return r.select(0,0);if(di(n))return n.select();if(!Xn(n)){const t=n.getIndexWithinParent()+1;return r.select(t,t)}return n.select(t,e)}selectNext(t,e){Vr();const n=this.getNextSibling(),r=this.getParentOrThrow();if(null===n)return r.select();if(di(n))return n.select(0,0);if(!Xn(n)){const t=n.getIndexWithinParent();return r.select(t,t)}return n.select(t,e)}markDirty(){this.getWritable();}reconcileObservedMutation(t,e){this.markDirty();}}class Fn extends Pn{static getType(){return "linebreak"}static clone(t){return new Fn(t.__key)}constructor(t){super(t);}getTextContent(){return "\n"}createDOM(){return document.createElement("br")}updateDOM(){return !1}isInline(){return !0}static importDOM(){return {br:t=>function(t){const e=t.parentElement;if(null!==e&&so(e)){const n=e.firstChild;if(n===t||n.nextSibling===t&&Mn(n)){const n=e.lastChild;if(n===t||n.previousSibling===t&&Mn(n))return !0}}return !1}(t)||function(t){const e=t.parentElement;if(null!==e&&so(e)){const n=e.firstChild;if(n===t||n.nextSibling===t&&Mn(n))return !1;const r=e.lastChild;if(r===t||r.previousSibling===t&&Mn(r))return !0}return !1}(t)?null:{conversion:Ln,priority:0}}}static importJSON(t){return An().updateFromJSON(t)}}function Ln(t){return {node:An()}}function An(){return Us(new Fn)}function On(t){return t instanceof Fn}function Mn(t){return $i(t)&&/^( |\t|\r?\n)+$/.test(t.textContent||"")}function In(t,e){return 16&e?"code":e&F$4?"mark":32&e?"sub":64&e?"sup":null}function Dn(t,e){return 1&e?"strong":2&e?"em":"span"}function zn(t,e,n,r,i){const s=r.classList;let o=Ts(i,"base");void 0!==o&&s.add(...o),o=Ts(i,"underlineStrikethrough");let l=!1;const c=e&w$6&&e&T$3;void 0!==o&&(n&w$6&&n&T$3?(l=!0,c||s.add(...o)):c&&s.remove(...o));for(const t in V$3){const r=V$3[t];if(o=Ts(i,t),void 0!==o)if(n&r){if(l&&("underline"===t||"strikethrough"===t)){e&r&&s.remove(...o);continue}e&r&&(!c||"underline"!==t)&&"strikethrough"!==t||s.add(...o);}else e&r&&s.remove(...o);}}function Bn(t,e,n){const r=e.firstChild,s=n.isComposing(),o=t+(s?B$4:"");if(null==r)e.textContent=o;else {const t=r.nodeValue;if(t!==o)if(s||i$1){const[e,n,i]=function(t,e){const n=t.length,r=e.length;let i=0,s=0;for(;i<n&&i<r&&t[i]===e[i];)i++;for(;s+i<n&&s+i<r&&t[n-s-1]===e[r-s-1];)s++;return [i,n-i-s,e.slice(i,r-s)]}(t,o);0!==n&&r.deleteData(e,n),r.insertData(e,i);}else r.nodeValue=o;}}function Wn(t,e,n,r,i,s){Bn(i,t,e);const o=s.theme.text;void 0!==o&&zn(0,0,r,t,o);}function Kn(t,e){const n=document.createElement(e);return n.appendChild(t),n}class Rn extends Pn{static getType(){return "text"}static clone(t){return new Rn(t.__text,t.__key)}afterCloneFrom(t){super.afterCloneFrom(t),this.__text=t.__text,this.__format=t.__format,this.__style=t.__style,this.__mode=t.__mode,this.__detail=t.__detail;}constructor(t="",e){super(e),this.__text=t,this.__format=0,this.__style="",this.__mode=0,this.__detail=0;}getFormat(){return this.getLatest().__format}getDetail(){return this.getLatest().__detail}getMode(){const t=this.getLatest();return Q$3[t.__mode]}getStyle(){return this.getLatest().__style}isToken(){return 1===this.getLatest().__mode}isComposing(){return this.__key===Zi()}isSegmented(){return 2===this.getLatest().__mode}isDirectionless(){return !!(1&this.getLatest().__detail)}isUnmergeable(){return !!(2&this.getLatest().__detail)}hasFormat(t){const e=V$3[t];return !!(this.getFormat()&e)}isSimpleText(){return "text"===this.__type&&0===this.__mode}getTextContent(){return this.getLatest().__text}getFormatFlags(t,e){return qi(this.getLatest().__format,t,e)}canHaveFormat(){return !0}isInline(){return !0}createDOM(t,e){const n=this.__format,r=In(0,n),i=Dn(0,n),s=null===r?i:r,o=document.createElement(s);let l=o;this.hasFormat("code")&&o.setAttribute("spellcheck","false"),null!==r&&(l=document.createElement(i),o.appendChild(l));Wn(l,this,0,n,this.__text,t);const c=this.__style;return ""!==c&&(o.style.cssText=c),o}updateDOM(e,n,r){const i=this.__text,s=e.__format,o=this.__format,l=In(0,s),c=In(0,o),a=Dn(0,s),u=Dn(0,o);if((null===l?a:l)!==(null===c?u:c))return !0;if(l===c&&a!==u){const e=n.firstChild;null==e&&t$2(48);const s=document.createElement(u);return Wn(s,this,0,o,i,r),n.replaceChild(s,e),!1}let f=n;null!==c&&null!==l&&(f=n.firstChild,null==f&&t$2(49)),Bn(i,f,this);const d=r.theme.text;void 0!==d&&s!==o&&zn(0,s,o,f,d);const h=e.__style,g=this.__style;return h!==g&&(n.style.cssText=g),!1}static importDOM(){return {"#text":()=>({conversion:Un,priority:0}),b:()=>({conversion:jn,priority:0}),code:()=>({conversion:Gn,priority:0}),em:()=>({conversion:Gn,priority:0}),i:()=>({conversion:Gn,priority:0}),mark:()=>({conversion:Gn,priority:0}),s:()=>({conversion:Gn,priority:0}),span:()=>({conversion:Jn,priority:0}),strong:()=>({conversion:Gn,priority:0}),sub:()=>({conversion:Gn,priority:0}),sup:()=>({conversion:Gn,priority:0}),u:()=>({conversion:Gn,priority:0})}}static importJSON(t){return Qn().updateFromJSON(t)}updateFromJSON(t){return super.updateFromJSON(t).setTextContent(t.text).setFormat(t.format).setDetail(t.detail).setMode(t.mode).setStyle(t.style)}exportDOM(e){let{element:n}=super.exportDOM(e);return eo(n)||t$2(132),n.style.whiteSpace="pre-wrap",this.hasFormat("bold")&&(n=Kn(n,"b")),this.hasFormat("italic")&&(n=Kn(n,"i")),this.hasFormat("strikethrough")&&(n=Kn(n,"s")),this.hasFormat("underline")&&(n=Kn(n,"u")),{element:n}}exportJSON(){return {detail:this.getDetail(),format:this.getFormat(),mode:this.getMode(),style:this.getStyle(),text:this.getTextContent(),...super.exportJSON()}}selectionTransform(t,e){}setFormat(t){const e=this.getWritable();return e.__format="string"==typeof t?V$3[t]:t,e}setDetail(t){const e=this.getWritable();return e.__detail="string"==typeof t?U$5[t]:t,e}setStyle(t){const e=this.getWritable();return e.__style=t,e}toggleFormat(t){const e=qi(this.getFormat(),t,null);return this.setFormat(e)}toggleDirectionless(){const t=this.getWritable();return t.__detail^=1,t}toggleUnmergeable(){const t=this.getWritable();return t.__detail^=2,t}setMode(t){const e=G$4[t];if(this.__mode===e)return this;const n=this.getWritable();return n.__mode=e,n}setTextContent(t){if(this.__text===t)return this;const e=this.getWritable();return e.__text=t,e}select(t,e){Vr();let n=t,r=e;const i=Tr(),s=this.getTextContent(),o=this.__key;if("string"==typeof s){const t=s.length;void 0===n&&(n=t),void 0===r&&(r=t);}else n=0,r=0;if(!lr(i))return Sr(o,n,o,r,"text","text");{const t=Zi();t!==i.anchor.key&&t!==i.focus.key||Yi(o),i.setTextNodeRange(this,n,this,r);}return i}selectStart(){return this.select(0,0)}selectEnd(){const t=this.getTextContentSize();return this.select(t,t)}spliceText(t,e,n,r){const i=this.getWritable(),s=i.__text,o=n.length;let l=t;l<0&&(l=o+l,l<0&&(l=0));const c=Tr();if(r&&lr(c)){const e=t+o;c.setTextNodeRange(i,e,i,e);}const a=s.slice(0,l)+n+s.slice(l+e);return i.__text=a,i}canInsertTextBefore(){return !0}canInsertTextAfter(){return !0}splitText(...t){Vr();const e=this.getLatest(),n=e.getTextContent();if(""===n)return [];const r=e.__key,i=Zi(),s=n.length;t.sort(((t,e)=>t-e)),t.push(s);const o=[],l=t.length;for(let e=0,r=0;e<s&&r<=l;r++){const i=t[r];i>e&&(o.push(n.slice(e,i)),e=i);}const c=o.length;if(1===c)return [e];const a=o[0],u=e.getParent();let f;const d=e.getFormat(),h=e.getStyle(),g=e.__detail;let _=!1,p=null,m=null;const y=Tr();if(lr(y)){const[t,e]=y.isBackward()?[y.focus,y.anchor]:[y.anchor,y.focus];"text"===t.type&&t.key===r&&(p=t),"text"===e.type&&e.key===r&&(m=e);}e.isSegmented()?(f=Qn(a),f.__format=d,f.__style=h,f.__detail=g,_=!0):(f=e.getWritable(),f.__text=a);const x=[f];for(let t=1;t<c;t++){const e=Qn(o[t]);e.__format=d,e.__style=h,e.__detail=g;const n=e.__key;i===r&&Yi(n),x.push(e);}const S=p?p.offset:null,v=m?m.offset:null;let C=0;for(const t of x){if(!p&&!m)break;const e=C+t.getTextContentSize();if(null!==p&&null!==S&&S<=e&&S>=C&&(p.set(t.getKey(),S-C,"text"),S<e&&(p=null)),null!==m&&null!==v&&v<=e&&v>=C){m.set(t.getKey(),v-C,"text");break}C=e;}if(null!==u){!function(t){const e=t.getPreviousSibling(),n=t.getNextSibling();null!==e&&Xi(e);null!==n&&Xi(n);}(this);const t=u.getWritable(),e=this.getIndexWithinParent();_?(t.splice(e,0,x),this.remove()):t.splice(e,1,x),lr(y)&&Nr(y,u,e,c-1);}return x}mergeWithSibling(e){const n=e===this.getPreviousSibling();n||e===this.getNextSibling()||t$2(50);const r=this.__key,i=e.__key,s=this.__text,o=s.length;Zi()===i&&Yi(r);const l=Tr();if(lr(l)){const t=l.anchor,s=l.focus;null!==t&&t.key===i&&Fr(t,n,r,e,o),null!==s&&s.key===i&&Fr(s,n,r,e,o);}const c=e.__text,a=n?c+s:s+c;this.setTextContent(a);const u=this.getWritable();return e.remove(),u}isTextEntity(){return !1}}function Jn(t){return {forChild:Yn(t.style),node:null}}function jn(t){const e=t,n="normal"===e.style.fontWeight;return {forChild:Yn(e.style,n?void 0:"bold"),node:null}}const $n=new WeakMap;function Vn(t){if(!eo(t))return !1;if("PRE"===t.nodeName)return !0;const e=t.style.whiteSpace;return "string"==typeof e&&e.startsWith("pre")}function Un(e){const n=e;null===e.parentElement&&t$2(129);let r=n.textContent||"";if(null!==function(t){let e,n=t.parentNode;const r=[t];for(;null!==n&&void 0===(e=$n.get(n))&&!Vn(n);)r.push(n),n=n.parentNode;const i=void 0===e?n:e;for(let t=0;t<r.length;t++)$n.set(r[t],i);return i}(n)){const t=r.split(/(\r?\n|\t)/),e=[],n=t.length;for(let r=0;r<n;r++){const n=t[r];"\n"===n||"\r\n"===n?e.push(An()):"\t"===n?e.push(tr()):""!==n&&e.push(Qn(n));}return {node:e}}if(r=r.replace(/\r/g,"").replace(/[ \t\n]+/g," "),""===r)return {node:null};if(" "===r[0]){let t=n,e=!0;for(;null!==t&&null!==(t=qn(t,!1));){const n=t.textContent||"";if(n.length>0){/[ \t\n]$/.test(n)&&(r=r.slice(1)),e=!1;break}}e&&(r=r.slice(1));}if(" "===r[r.length-1]){let t=n,e=!0;for(;null!==t&&null!==(t=qn(t,!0));){if((t.textContent||"").replace(/^( |\t|\r?\n)+/,"").length>0){e=!1;break}}e&&(r=r.slice(0,r.length-1));}return ""===r?{node:null}:{node:Qn(r)}}function qn(t,e){let n=t;for(;;){let t;for(;null===(t=e?n.nextSibling:n.previousSibling);){const t=n.parentElement;if(null===t)return null;n=t;}if(n=t,eo(n)){const t=n.style.display;if(""===t&&!io(n)||""!==t&&!t.startsWith("inline"))return null}let r=n;for(;null!==(r=e?n.firstChild:n.lastChild);)n=r;if($i(n))return n;if("BR"===n.nodeName)return null}}const Hn={code:"code",em:"italic",i:"italic",mark:"highlight",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function Gn(t){const e=Hn[t.nodeName.toLowerCase()];return void 0===e?{node:null}:{forChild:Yn(t.style,e),node:null}}function Qn(t=""){return Us(new Rn(t))}function Xn(t){return t instanceof Rn}function Yn(t,e){const n=t.fontWeight,r=t.textDecoration.split(" "),i="700"===n||"bold"===n,s=r.includes("line-through"),o="italic"===t.fontStyle,l=r.includes("underline"),c=t.verticalAlign;return t=>Xn(t)?(i&&!t.hasFormat("bold")&&t.toggleFormat("bold"),s&&!t.hasFormat("strikethrough")&&t.toggleFormat("strikethrough"),o&&!t.hasFormat("italic")&&t.toggleFormat("italic"),l&&!t.hasFormat("underline")&&t.toggleFormat("underline"),"sub"!==c||t.hasFormat("subscript")||t.toggleFormat("subscript"),"super"!==c||t.hasFormat("superscript")||t.toggleFormat("superscript"),e&&!t.hasFormat(e)&&t.toggleFormat(e),t):t}class Zn extends Rn{static getType(){return "tab"}static clone(t){return new Zn(t.__key)}constructor(t){super("\t",t),this.__detail=2;}static importDOM(){return null}createDOM(t){const e=super.createDOM(t),n=Ts(t.theme,"tab");if(void 0!==n){e.classList.add(...n);}return e}static importJSON(t){return tr().updateFromJSON(t)}setTextContent(e){return "\t"!==e&&""!==e&&t$2(126),super.setTextContent(e)}setDetail(e){return 2!==e&&t$2(127),this}setMode(e){return "normal"!==e&&t$2(128),this}canInsertTextBefore(){return !1}canInsertTextAfter(){return !1}}function tr(){return Us(new Zn)}function er(t){return t instanceof Zn}class nr{constructor(t,e,n){this._selection=null,this.key=t,this.offset=e,this.type=n;}is(t){return this.key===t.key&&this.offset===t.offset&&this.type===t.type}isBefore(t){if(this.key===t.key)return this.offset<t.offset;return Vo(sl(Qo(this,"next")),sl(Qo(t,"next")))<0}getNode(){const e=ts(this.key);return null===e&&t$2(20),e}set(t,e,n,r){const i=this._selection,s=this.key;r&&this.key===t&&this.offset===e&&this.type===n||(this.key=t,this.offset=e,this.type=n,$r()||(Zi()===s&&Yi(t),null!==i&&(i.setCachedNodes(null),i.dirty=!0)));}}function rr(t,e,n){return new nr(t,e,n)}function ir(t,e){let n=e.__key,r=t.offset,i="element";if(Xn(e)){i="text";const t=e.getTextContentSize();r>t&&(r=t);}else if(!di(e)){const t=e.getNextSibling();if(Xn(t))n=t.__key,r=0,i="text";else {const t=e.getParent();t&&(n=t.__key,r=e.getIndexWithinParent()+1);}}t.set(n,r,i);}function sr(t,e){if(di(e)){const n=e.getLastDescendant();di(n)||Xn(n)?ir(t,n):ir(t,e);}else ir(t,e);}class or{constructor(t){this._cachedNodes=null,this._nodes=t,this.dirty=!1;}getCachedNodes(){return this._cachedNodes}setCachedNodes(t){this._cachedNodes=t;}is(t){if(!ar(t))return !1;const e=this._nodes,n=t._nodes;return e.size===n.size&&Array.from(e).every((t=>n.has(t)))}isCollapsed(){return !1}isBackward(){return !1}getStartEndPoints(){return null}add(t){this.dirty=!0,this._nodes.add(t),this._cachedNodes=null;}delete(t){this.dirty=!0,this._nodes.delete(t),this._cachedNodes=null;}clear(){this.dirty=!0,this._nodes.clear(),this._cachedNodes=null;}has(t){return this._nodes.has(t)}clone(){return new or(new Set(this._nodes))}extract(){return this.getNodes()}insertRawText(t){}insertText(){}insertNodes(t){const e=this.getNodes(),n=e.length,r=e[n-1];let i;if(Xn(r))i=r.select();else {const t=r.getIndexWithinParent()+1;i=r.getParentOrThrow().select(t,t);}i.insertNodes(t);for(let t=0;t<n;t++)e[t].remove();}getNodes(){const t=this._cachedNodes;if(null!==t)return t;const e=this._nodes,n=[];for(const t of e){const e=ts(t);null!==e&&n.push(e);}return $r()||(this._cachedNodes=n),n}getTextContent(){const t=this.getNodes();let e="";for(let n=0;n<t.length;n++)e+=t[n].getTextContent();return e}}function lr(t){return t instanceof cr}class cr{constructor(t,e,n,r){this.anchor=t,this.focus=e,t._selection=this,e._selection=this,this._cachedNodes=null,this.format=n,this.style=r,this.dirty=!1;}getCachedNodes(){return this._cachedNodes}setCachedNodes(t){this._cachedNodes=t;}is(t){return !!lr(t)&&(this.anchor.is(t.anchor)&&this.focus.is(t.focus)&&this.format===t.format&&this.style===t.style)}isCollapsed(){return this.anchor.is(this.focus)}getNodes(){const t=this._cachedNodes;if(null!==t)return t;const e=function(t){const e=[],[n,r]=t.getTextSlices();n&&e.push(n.caret.origin);const i=new Set,s=new Set;for(const n of t)if(Eo(n)){const{origin:t}=n;0===e.length?i.add(t):(s.add(t),e.push(t));}else {const{origin:t}=n;di(t)&&s.has(t)||e.push(t);}r&&e.push(r.caret.origin);if(No(t.focus)&&di(t.focus.origin)&&null===t.focus.getNodeAtCaret())for(let n=Do(t.focus.origin,"previous");Eo(n)&&i.has(n.origin)&&!n.origin.isEmpty()&&n.origin.is(e[e.length-1]);n=Bo(n))i.delete(n.origin),e.pop();for(;e.length>1;){const t=e[e.length-1];if(!di(t)||s.has(t)||t.isEmpty()||i.has(t))break;e.pop();}if(0===e.length&&t.isCollapsed()){const n=sl(t.anchor),r=sl(t.anchor.getFlipped()),i=t=>To(t)?t.origin:t.getNodeAtCaret(),s=i(n)||i(r)||(t.anchor.getNodeAtCaret()?n.origin:r.origin);e.push(s);}return e}(cl(tl(this),"next"));return $r()||(this._cachedNodes=e),e}setTextNodeRange(t,e,n,r){this.anchor.set(t.__key,e,"text"),this.focus.set(n.__key,r,"text");}getTextContent(){const t=this.getNodes();if(0===t.length)return "";const e=t[0],n=t[t.length-1],r=this.anchor,i=this.focus,s=r.isBefore(i),[o,l]=fr(this);let c="",a=!0;for(let u=0;u<t.length;u++){const f=t[u];if(di(f)&&!f.isInline())a||(c+="\n"),a=!f.isEmpty();else if(a=!1,Xn(f)){let t=f.getTextContent();f===e?f===n?"element"===r.type&&"element"===i.type&&i.offset!==r.offset||(t=o<l?t.slice(o,l):t.slice(l,o)):t=s?t.slice(o):t.slice(l):f===n&&(t=s?t.slice(0,l):t.slice(0,o)),c+=t;}else !_i(f)&&!On(f)||f===n&&this.isCollapsed()||(c+=f.getTextContent());}return c}applyDOMRange(t){const e=Hr(),n=e.getEditorState()._selection,r=yr(t.startContainer,t.startOffset,t.endContainer,t.endOffset,e,n);if(null===r)return;const[i,s]=r;this.anchor.set(i.key,i.offset,i.type,!0),this.focus.set(s.key,s.offset,s.type,!0),Ct$2(this);}clone(){const t=this.anchor,e=this.focus;return new cr(rr(t.key,t.offset,t.type),rr(e.key,e.offset,e.type),this.format,this.style)}toggleFormat(t){this.format=qi(this.format,t,null),this.dirty=!0;}setStyle(t){this.style=t,this.dirty=!0;}hasFormat(t){const e=V$3[t];return !!(this.format&e)}insertRawText(t){const e=t.split(/(\r?\n|\t)/),n=[],r=e.length;for(let t=0;t<r;t++){const r=e[t];"\n"===r||"\r\n"===r?n.push(An()):"\t"===r?n.push(tr()):n.push(Qn(r));}this.insertNodes(n);}insertText(e){const n=this.anchor,r=this.focus,i=this.format,s=this.style;let o=n,l=r;!this.isCollapsed()&&r.isBefore(n)&&(o=r,l=n),"element"===o.type&&function(t,e,n,r){const i=t.getNode(),s=i.getChildAtIndex(t.offset),o=Qn(),l=mi(i)?Ti().append(o):o;o.setFormat(n),o.setStyle(r),null===s?i.append(l):s.insertBefore(l),t.is(e)&&e.set(o.__key,0,"text"),t.set(o.__key,0,"text");}(o,l,i,s),"element"===l.type&&Xo(l,sl(Qo(l,"next")));const c=o.offset;let a=l.offset;const u=this.getNodes(),f=u.length;let d=u[0];Xn(d)||t$2(26);const h=d.getTextContent().length,g=d.getParentOrThrow();let _=u[f-1];if(1===f&&"element"===l.type&&(a=h,l.set(o.key,a,"text")),this.isCollapsed()&&c===h&&(d.isSegmented()||d.isToken()||!d.canInsertTextAfter()||!g.canInsertTextAfter()&&null===d.getNextSibling())){let t=d.getNextSibling();if(Xn(t)&&t.canInsertTextBefore()&&!ji(t)||(t=Qn(),t.setFormat(i),t.setStyle(s),g.canInsertTextAfter()?d.insertAfter(t):g.insertAfter(t)),t.select(0,0),d=t,""!==e)return void this.insertText(e)}else if(this.isCollapsed()&&0===c&&(d.isSegmented()||d.isToken()||!d.canInsertTextBefore()||!g.canInsertTextBefore()&&null===d.getPreviousSibling())){let t=d.getPreviousSibling();if(Xn(t)&&!ji(t)||(t=Qn(),t.setFormat(i),g.canInsertTextBefore()?d.insertBefore(t):g.insertBefore(t)),t.select(),d=t,""!==e)return void this.insertText(e)}else if(d.isSegmented()&&c!==h){const t=Qn(d.getTextContent());t.setFormat(i),d.replace(t),d=t;}else if(!this.isCollapsed()&&""!==e){const t=_.getParent();if(!g.canInsertTextBefore()||!g.canInsertTextAfter()||di(t)&&(!t.canInsertTextBefore()||!t.canInsertTextAfter()))return this.insertText(""),mr(this.anchor,this.focus,null),void this.insertText(e)}if(1===f){if(d.isToken()){const t=Qn(e);return t.select(),void d.replace(t)}const t=d.getFormat(),n=d.getStyle();if(c!==a||t===i&&n===s){if(er(d)){const t=Qn(e);return t.setFormat(i),t.setStyle(s),t.select(),void d.replace(t)}}else {if(""!==d.getTextContent()){const t=Qn(e);if(t.setFormat(i),t.setStyle(s),t.select(),0===c)d.insertBefore(t,!1);else {const[e]=d.splitText(c);e.insertAfter(t,!1);}return void(t.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length))}d.setFormat(i),d.setStyle(s);}const r=a-c;d=d.spliceText(c,r,e,!0),""===d.getTextContent()?d.remove():"text"===this.anchor.type&&(d.isComposing()?this.anchor.offset-=e.length:(this.format=t,this.style=n));}else {const t=new Set([...d.getParentKeys(),..._.getParentKeys()]),n=di(d)?d:d.getParentOrThrow();let r=di(_)?_:_.getParentOrThrow(),i=_;if(!n.is(r)&&r.isInline())do{i=r,r=r.getParentOrThrow();}while(r.isInline());if("text"===l.type&&(0!==a||""===_.getTextContent())||"element"===l.type&&_.getIndexWithinParent()<a)if(Xn(_)&&!_.isToken()&&a!==_.getTextContentSize()){if(_.isSegmented()){const t=Qn(_.getTextContent());_.replace(t),_=t;}mi(l.getNode())||"text"!==l.type||(_=_.spliceText(0,a,"")),t.add(_.__key);}else {const t=_.getParentOrThrow();t.canBeEmpty()||1!==t.getChildrenSize()?_.remove():t.remove();}else t.add(_.__key);const s=r.getChildren(),o=new Set(u),g=n.is(r),p=n.isInline()&&null===d.getNextSibling()?n:d;for(let t=s.length-1;t>=0;t--){const e=s[t];if(e.is(d)||di(e)&&e.isParentOf(d))break;e.isAttached()&&(!o.has(e)||e.is(i)?g||p.insertAfter(e,!1):e.remove());}if(!g){let e=r,n=null;for(;null!==e;){const r=e.getChildren(),i=r.length;(0===i||r[i-1].is(n))&&(t.delete(e.__key),n=e),e=e.getParent();}}if(d.isToken())if(c===h)d.select();else {const t=Qn(e);t.select(),d.replace(t);}else d=d.spliceText(c,h-c,e,!0),""===d.getTextContent()?d.remove():d.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length);for(let e=1;e<f;e++){const n=u[e],r=n.__key;t.has(r)||n.remove();}}}removeText(){const t=Tr()===this;Zo(this,il(tl(this))),t&&Tr()!==this&&cs(this);}formatText(t,e=null){if(this.isCollapsed())return this.toggleFormat(t),void Yi(null);const n=this.getNodes(),r=[];for(const t of n)Xn(t)&&r.push(t);const i=e=>{n.forEach((n=>{if(di(n)){const r=n.getFormatFlags(t,e);n.setTextFormat(r);}}));},s=r.length;if(0===s)return this.toggleFormat(t),Yi(null),void i(e);const o=this.anchor,l=this.focus,c=this.isBackward(),a=c?l:o,u=c?o:l;let f=0,d=r[0],h="element"===a.type?0:a.offset;if("text"===a.type&&h===d.getTextContentSize()&&(f=1,d=r[1],h=0),null==d)return;const g=d.getFormatFlags(t,e);i(g);const _=s-1;let p=r[_];const m="text"===u.type?u.offset:p.getTextContentSize();if(d.is(p)){if(h===m)return;if(ji(d)||0===h&&m===d.getTextContentSize())d.setFormat(g);else {const t=d.splitText(h,m),e=0===h?t[0]:t[1];e.setFormat(g),"text"===a.type&&a.set(e.__key,0,"text"),"text"===u.type&&u.set(e.__key,m-h,"text");}return void(this.format=g)}0===h||ji(d)||([,d]=d.splitText(h),h=0),d.setFormat(g);const y=p.getFormatFlags(t,g);m>0&&(m===p.getTextContentSize()||ji(p)||([p]=p.splitText(m)),p.setFormat(y));for(let e=f+1;e<_;e++){const n=r[e],i=n.getFormatFlags(t,y);n.setFormat(i);}"text"===a.type&&a.set(d.__key,h,"text"),"text"===u.type&&u.set(p.__key,m,"text"),this.format=g|y;}insertNodes(e){if(0===e.length)return;if(this.isCollapsed()||this.removeText(),"root"===this.anchor.key){this.insertParagraph();const n=Tr();return lr(n)||t$2(134),n.insertNodes(e)}const n=(this.isBackward()?this.focus:this.anchor).getNode(),r=lo(n,oo),i=e[e.length-1];if(di(r)&&"__language"in r){if("__language"in e[0])this.insertText(e[0].getTextContent());else {const t=Ir(this);r.splice(t,0,e),i.selectEnd();}return}if(!e.some((t=>(di(t)||_i(t))&&!t.isInline()))){di(r)||t$2(211,n.constructor.name,n.getType());const s=Ir(this);return r.splice(s,0,e),void i.selectEnd()}const s=function(t){const e=Ti();let n=null;for(let r=0;r<t.length;r++){const i=t[r],s=On(i);if(s||_i(i)&&i.isInline()||di(i)&&i.isInline()||Xn(i)||i.isParentRequired()){if(null===n&&(n=i.createParentElementNode(),e.append(n),s))continue;null!==n&&n.append(i);}else e.append(i),n=null;}return e}(e),o=s.getLastDescendant(),l=s.getChildren(),c=!di(r)||!r.isEmpty()?this.insertParagraph():null,a=l[l.length-1];let u=l[0];var f;di(f=u)&&oo(f)&&!f.isEmpty()&&di(r)&&(!r.isEmpty()||r.canMergeWhenEmpty())&&(di(r)||t$2(211,n.constructor.name,n.getType()),r.append(...u.getChildren()),u=l[1]),u&&(null===r&&t$2(212,n.constructor.name,n.getType()),function(e,n,r){const i=n.getParentOrThrow().getLastChild();let s=n;const o=[n];for(;s!==i;)s.getNextSibling()||t$2(140),s=s.getNextSibling(),o.push(s);let l=e;for(const t of o)l=l.insertAfter(t);}(r,u));const d=lo(o,oo);c&&di(d)&&(c.canMergeWhenEmpty()||oo(a))&&(d.append(...c.getChildren()),c.remove()),di(r)&&r.isEmpty()&&r.remove(),o.selectEnd();const h=di(r)?r.getLastChild():null;On(h)&&d!==r&&h.remove();}insertParagraph(){if("root"===this.anchor.key){const t=Ti();return os().splice(this.anchor.offset,0,[t]),t.select(),t}const e=Ir(this),n=lo(this.anchor.getNode(),oo);di(n)||t$2(213);const r=n.getChildAtIndex(e),i=r?[r,...r.getNextSiblings()]:[],s=n.insertNewAfter(this,!1);return s?(s.append(...i),s.selectStart(),s):null}insertLineBreak(t){const e=An();if(this.insertNodes([e]),t){const t=e.getParentOrThrow(),n=e.getIndexWithinParent();t.select(n,n);}}extract(){const t=this.getNodes(),e=t.length,n=e-1,r=this.anchor,i=this.focus;let s=t[0],o=t[n];const[l,c]=fr(this);if(0===e)return [];if(1===e){if(Xn(s)&&!this.isCollapsed()){const t=l>c?c:l,e=l>c?l:c,n=s.splitText(t,e),r=0===t?n[0]:n[1];return null!=r?[r]:[]}return [s]}const a=r.isBefore(i);if(Xn(s)){const e=a?l:c;e===s.getTextContentSize()?t.shift():0!==e&&([,s]=s.splitText(e),t[0]=s);}if(Xn(o)){const e=o.getTextContent().length,r=a?c:l;0===r?t.pop():r!==e&&([o]=o.splitText(r),t[n]=o);}return t}modify(t,e,n){if(zr(this,t,e,n))return;const r="move"===t,i=Hr(),s=Xs(Rs(i));if(!s)return;const o=i._blockCursorElement,l=i._rootElement,c=this.focus.getNode();if(null===l||null===o||!di(c)||c.isInline()||c.canBeEmpty()||Qs(o,i,l),this.dirty){let t=Os(i,this.anchor.key),e=Os(i,this.focus.key);"text"===this.anchor.type&&(t=Ui(t)),"text"===this.focus.type&&(e=Ui(e)),t&&e&&Lr(s,t,this.anchor.offset,e,this.focus.offset);}if(function(t,e,n,r){t.modify(e,n,r);}(s,t,e?"backward":"forward",n),s.rangeCount>0){const t=s.getRangeAt(0),n=this.anchor.getNode(),i=mi(n)?n:js(n);if(this.applyDOMRange(t),this.dirty=!0,!r){const n=this.getNodes(),r=[];let o=!1;for(let t=0;t<n.length;t++){const e=n[t];Ws(e,i)?r.push(e):o=!0;}if(o&&r.length>0)if(e){const t=r[0];di(t)?t.selectStart():t.getParentOrThrow().selectStart();}else {const t=r[r.length-1];di(t)?t.selectEnd():t.getParentOrThrow().selectEnd();}s.anchorNode===t.startContainer&&s.anchorOffset===t.startOffset||function(t){const e=t.focus,n=t.anchor,r=n.key,i=n.offset,s=n.type;n.set(e.key,e.offset,e.type,!0),e.set(r,i,s,!0);}(this);}}"lineboundary"===n&&zr(this,t,e,n,"decorators");}forwardDeletion(t,e,n){if(!n&&("element"===t.type&&di(e)&&t.offset===e.getChildrenSize()||"text"===t.type&&t.offset===e.getTextContentSize())){const t=e.getParent(),n=e.getNextSibling()||(null===t?null:t.getNextSibling());if(di(n)&&n.isShadowRoot())return !0}return !1}deleteCharacter(t){const e=this.isCollapsed();if(this.isCollapsed()){const e=this.anchor;let n=e.getNode();if(this.forwardDeletion(e,n,t))return;const r=Jo(Qo(e,t?"previous":"next"));if(r.getTextSlices().every((t=>null===t||0===t.distance))){let t={type:"initial"};for(const e of r.iterNodeCarets("shadowRoot"))if(Eo(e))if(e.origin.isInline());else {if(e.origin.isShadowRoot()){if("merge-block"===t.type)break;if(di(r.anchor.origin)&&r.anchor.origin.isEmpty()){const t=sl(e);Zo(this,jo(t,t)),r.anchor.origin.remove();}return}"merge-next-block"!==t.type&&"merge-block"!==t.type||(t={block:t.block,caret:e,type:"merge-block"});}else {if("merge-block"===t.type)break;if(No(e)){if(di(e.origin)){if(e.origin.isInline()){if(!e.origin.isParentOf(r.anchor.origin))break}else t={block:e.origin,type:"merge-next-block"};continue}if(_i(e.origin)){if(e.origin.isIsolated());else if("merge-next-block"===t.type&&(e.origin.isKeyboardSelectable()||!e.origin.isInline())&&di(r.anchor.origin)&&r.anchor.origin.isEmpty()){r.anchor.origin.remove();const t=Cr();t.add(e.origin.getKey()),cs(t);}else e.origin.remove();return}break}}if("merge-block"===t.type){const{caret:e,block:n}=t;return Zo(this,jo(!e.origin.isEmpty()&&n.isEmpty()?el(Ao(n,e.direction)):r.anchor,e)),this.removeText()}}const i=this.focus;if(this.modify("extend",t,"character"),this.isCollapsed()){if(t&&0===e.offset&&dr(this,e.getNode()))return}else {const r="text"===i.type?i.getNode():null;if(n="text"===e.type?e.getNode():null,null!==r&&r.isSegmented()){const e=i.offset,s=r.getTextContentSize();if(r.is(n)||t&&e!==s||!t&&0!==e)return void gr(r,t,e)}else if(null!==n&&n.isSegmented()){const i=e.offset,s=n.getTextContentSize();if(n.is(r)||t&&0!==i||!t&&i!==s)return void gr(n,t,i)}!function(t,e){const n=t.anchor,r=t.focus,i=n.getNode(),s=r.getNode();if(i===s&&"text"===n.type&&"text"===r.type){const t=n.offset,s=r.offset,o=t<s,l=o?t:s,c=o?s:t,a=c-1;if(l!==a){(function(t){return !(fs(t)||hr(t))})(i.getTextContent().slice(l,c))&&(e?r.set(r.key,a,r.type):n.set(n.key,a,n.type));}}}(this,t);}}if(this.removeText(),t&&!e&&this.isCollapsed()&&"element"===this.anchor.type&&0===this.anchor.offset){const t=this.anchor.getNode();t.isEmpty()&&mi(t.getParent())&&null===t.getPreviousSibling()&&dr(this,t);}}deleteLine(t){this.isCollapsed()&&this.modify("extend",t,"lineboundary"),this.isCollapsed()?this.deleteCharacter(t):this.removeText();}deleteWord(t){if(this.isCollapsed()){const e=this.anchor,n=e.getNode();if(this.forwardDeletion(e,n,t))return;this.modify("extend",t,"word");}this.removeText();}isBackward(){return this.focus.isBefore(this.anchor)}getStartEndPoints(){return [this.anchor,this.focus]}}function ar(t){return t instanceof or}function ur(t){const e=t.offset;if("text"===t.type)return e;const n=t.getNode();return e===n.getChildrenSize()?n.getTextContent().length:0}function fr(t){const e=t.getStartEndPoints();if(null===e)return [0,0];const[n,r]=e;return "element"===n.type&&"element"===r.type&&n.key===r.key&&n.offset===r.offset?[0,0]:[ur(n),ur(r)]}function dr(t,e){for(let n=e;n;n=n.getParent()){if(di(n)){if(n.collapseAtStart(t))return !0;if($s(n))break}if(n.getPreviousSibling())break}return !1}const hr=(()=>{try{const t=new RegExp("\\p{Emoji}","u"),e=t.test.bind(t);if(e("❤️")&&e("#️⃣")&&e("👍"))return e}catch(t){}return ()=>!1})();function gr(t,e,n){const r=t,i=r.getTextContent().split(/(?=\s)/g),s=i.length;let o=0,l=0;for(let t=0;t<s;t++){const r=t===s-1;if(l=o,o+=i[t].length,e&&o===n||o>n||r){i.splice(t,1),r&&(l=void 0);break}}const c=i.join("").trim();""===c?r.remove():(r.setTextContent(c),r.select(l,l));}function _r(e,n,r,i){let s,o=n;if(eo(e)){let l=!1;const c=e.childNodes,a=c.length,u=i._blockCursorElement;o===a&&(l=!0,o=a-1);let f=c[o],d=!1;if(f===u)f=c[o+1],d=!0;else if(null!==u){const t=u.parentNode;if(e===t){n>Array.prototype.indexOf.call(t.children,u)&&o--;}}if(s=as(f),Xn(s))o=us(s,l);else {let c=as(e);if(null===c)return null;if(di(c)){const a=i.getElementByKey(c.getKey());null===a&&t$2(214);const u=c.getDOMSlot(a);[c,o]=u.resolveChildIndex(c,a,e,n),di(c)||t$2(215),l&&o>=c.getChildrenSize()&&(o=Math.max(0,c.getChildrenSize()-1));let f=c.getChildAtIndex(o);if(di(f)&&function(t,e,n){const r=t.getParent();return null===n||null===r||!r.canBeEmpty()||r!==n.getNode()}(f,0,r)){const t=l?f.getLastDescendant():f.getFirstDescendant();null===t?c=f:(f=t,c=di(f)?f:f.getParentOrThrow()),o=0;}Xn(f)?(s=f,c=null,o=us(f,l)):f!==c&&l&&!d&&(di(c)||t$2(216),o=Math.min(c.getChildrenSize(),o+1));}else {const t=c.getIndexWithinParent();o=0===n&&_i(c)&&as(e)===c?t:t+1,c=c.getParentOrThrow();}if(di(c))return rr(c.__key,o,"element")}}else s=as(e);return Xn(s)?rr(s.__key,o,"text"):null}function pr(t,e,n){const r=t.offset,i=t.getNode();if(0===r){const r=i.getPreviousSibling(),s=i.getParent();if(e){if((n||!e)&&null===r&&di(s)&&s.isInline()){const e=s.getPreviousSibling();Xn(e)&&t.set(e.__key,e.getTextContent().length,"text");}}else di(r)&&!n&&r.isInline()?t.set(r.__key,r.getChildrenSize(),"element"):Xn(r)&&t.set(r.__key,r.getTextContent().length,"text");}else if(r===i.getTextContent().length){const r=i.getNextSibling(),s=i.getParent();if(e&&di(r)&&r.isInline())t.set(r.__key,0,"element");else if((n||e)&&null===r&&di(s)&&s.isInline()&&!s.canInsertTextAfter()){const e=s.getNextSibling();Xn(e)&&t.set(e.__key,0,"text");}}}function mr(t,e,n){if("text"===t.type&&"text"===e.type){const r=t.isBefore(e),i=t.is(e);pr(t,r,i),pr(e,!r,i),i&&e.set(t.key,t.offset,t.type);const s=Hr();if(s.isComposing()&&s._compositionKey!==t.key&&lr(n)){const r=n.anchor,i=n.focus;t.set(r.key,r.offset,r.type,!0),e.set(i.key,i.offset,i.type,!0);}}}function yr(t,e,n,r,i,s){if(null===t||null===n||!Wi(i,t,n))return null;const o=_r(t,e,lr(s)?s.anchor:null,i);if(null===o)return null;const l=_r(n,r,lr(s)?s.focus:null,i);if(null===l)return null;if("element"===o.type&&"element"===l.type){const e=as(t),r=as(n);if(_i(e)&&_i(r))return null}return mr(o,l,s),[o,l]}function xr(t){return di(t)&&!t.isInline()}function Sr(t,e,n,r,i,s){const o=qr(),l=new cr(rr(t,e,i),rr(n,r,s),0,"");return l.dirty=!0,o._selection=l,l}function vr(){const t=rr("root",0,"element"),e=rr("root",0,"element");return new cr(t,e,0,"")}function Cr(){return new or(new Set)}function kr(t,e){return br(null,t,e,null)}function br(t,e,n,r){const i=n._window;if(null===i)return null;const s=r||i.event,o=s?s.type:void 0,l="selectionchange"===o,c=!tt$2&&(l||"beforeinput"===o||"compositionstart"===o||"compositionend"===o||"click"===o&&s&&3===s.detail||"drop"===o||void 0===o);let a,u,f,d;if(lr(t)&&!c)return t.clone();if(null===e)return null;if(a=e.anchorNode,u=e.focusNode,f=e.anchorOffset,d=e.focusOffset,l&&lr(t)&&!Wi(n,a,u))return t.clone();const h=yr(a,f,u,d,n,t);if(null===h)return null;const[g,_]=h;return new cr(g,_,lr(t)?t.format:0,lr(t)?t.style:"")}function Tr(){return qr()._selection}function wr(){return Hr()._editorState._selection}function Nr(t,e,n,r=1){const i=t.anchor,s=t.focus,o=i.getNode(),l=s.getNode();if(!e.is(o)&&!e.is(l))return;const c=e.__key;if(t.isCollapsed()){const e=i.offset;if(n<=e&&r>0||n<e&&r<0){const n=Math.max(0,e+r);i.set(c,n,"element"),s.set(c,n,"element"),Er(t);}}else {const o=t.isBackward(),l=o?s:i,a=l.getNode(),u=o?i:s,f=u.getNode();if(e.is(a)){const t=l.offset;(n<=t&&r>0||n<t&&r<0)&&l.set(c,Math.max(0,t+r),"element");}if(e.is(f)){const t=u.offset;(n<=t&&r>0||n<t&&r<0)&&u.set(c,Math.max(0,t+r),"element");}}Er(t);}function Er(t){const e=t.anchor,n=e.offset,r=t.focus,i=r.offset,s=e.getNode(),o=r.getNode();if(t.isCollapsed()){if(!di(s))return;const t=s.getChildrenSize(),i=n>=t,o=i?s.getChildAtIndex(t-1):s.getChildAtIndex(n);if(Xn(o)){let t=0;i&&(t=o.getTextContentSize()),e.set(o.__key,t,"text"),r.set(o.__key,t,"text");}}else {if(di(s)){const t=s.getChildrenSize(),r=n>=t,i=r?s.getChildAtIndex(t-1):s.getChildAtIndex(n);if(Xn(i)){let t=0;r&&(t=i.getTextContentSize()),e.set(i.__key,t,"text");}}if(di(o)){const t=o.getChildrenSize(),e=i>=t,n=e?o.getChildAtIndex(t-1):o.getChildAtIndex(i);if(Xn(n)){let t=0;e&&(t=n.getTextContentSize()),r.set(n.__key,t,"text");}}}}function Pr(t,e,n,r,i){let s=null,o=0,l=null;null!==r?(s=r.__key,Xn(r)?(o=r.getTextContentSize(),l="text"):di(r)&&(o=r.getChildrenSize(),l="element")):null!==i&&(s=i.__key,Xn(i)?l="text":di(i)&&(l="element")),null!==s&&null!==l?t.set(s,o,l):(o=e.getIndexWithinParent(),-1===o&&(o=n.getChildrenSize()),t.set(n.__key,o,"element"));}function Fr(t,e,n,r,i){"text"===t.type?t.set(n,t.offset+(e?0:i),"text"):t.offset>r.getIndexWithinParent()&&t.set(t.key,t.offset-1,"element");}function Lr(t,e,n,r,i){try{t.setBaseAndExtent(e,n,r,i);}catch(t){}}function Ar(t,e,n,r,i,s,o){const l=r.anchorNode,c=r.focusNode,a=r.anchorOffset,u=r.focusOffset,f=document.activeElement;if(i.has("collaboration")&&f!==s||null!==f&&Bi(f))return;if(!lr(e))return void(null!==t&&Wi(n,l,c)&&r.removeAllRanges());const d=e.anchor,h=e.focus,g=d.key,_=h.key,p=Os(n,g),m=Os(n,_),y=d.offset,x=h.offset,S=e.format,v=e.style,C=e.isCollapsed();let k=p,b=m,T=!1;if("text"===d.type){k=Ui(p);const t=d.getNode();T=t.getFormat()!==S||t.getStyle()!==v;}else lr(t)&&"text"===t.anchor.type&&(T=!0);var w,N,E,P,F;if(("text"===h.type&&(b=Ui(m)),null!==k&&null!==b)&&(C&&(null===t||T||lr(t)&&(t.format!==S||t.style!==v))&&(w=S,N=v,E=y,P=g,F=performance.now(),gn=[w,N,E,P,F]),a!==y||u!==x||l!==k||c!==b||"Range"===r.type&&C||(null!==f&&s.contains(f)||s.focus({preventScroll:!0}),"element"===d.type))){if(Lr(r,k,y,b,x),!i.has("skip-scroll-into-view")&&e.isCollapsed()&&null!==s&&s===document.activeElement){const t=lr(e)&&"element"===e.anchor.type?k.childNodes[y]||null:r.rangeCount>0?r.getRangeAt(0):null;if(null!==t){let e;if(t instanceof Text){const n=document.createRange();n.selectNode(t),e=n.getBoundingClientRect();}else e=t.getBoundingClientRect();!function(t,e,n){const r=Is(n),i=Ks(r);if(null===r||null===i)return;let{top:s,bottom:o}=e,l=0,c=0,a=n;for(;null!==a;){const e=a===r.body;if(e)l=0,c=Rs(t).innerHeight;else {const t=a.getBoundingClientRect();l=t.top,c=t.bottom;}let n=0;if(s<l?n=-(l-s):o>c&&(n=o-c),0!==n)if(e)i.scrollBy(0,n);else {const t=a.scrollTop;a.scrollTop+=n;const e=a.scrollTop-t;s-=e,o-=e;}if(e)break;a=Ms(a);}}(n,e,s);}}ln=!0;}}function Or(t){let e=Tr()||wr();null===e&&(e=os().selectEnd()),e.insertNodes(t);}function Mr(){const t=Tr();return null===t?"":t.getTextContent()}function Ir(e){let n=e;e.isCollapsed()||n.removeText();const r=Tr();lr(r)&&(n=r),lr(n)||t$2(161);const i=n.anchor;let s=i.getNode(),o=i.offset;for(;!oo(s);){const t=s;if([s,o]=Dr(s,o),t.is(s))break}return o}function Dr(t,e){const n=t.getParent();if(!n){const t=Ti();return os().append(t),t.select(),[os(),0]}if(Xn(t)){const r=t.splitText(e);if(0===r.length)return [n,t.getIndexWithinParent()];const i=0===e?0:1;return [n,r[0].getIndexWithinParent()+i]}if(!di(t)||0===e)return [n,t.getIndexWithinParent()];const r=t.getChildAtIndex(e);if(r){const n=new cr(rr(t.__key,e,"element"),rr(t.__key,e,"element"),0,""),i=t.insertNewAfter(n);i&&i.append(r,...r.getNextSiblings());}return [n,t.getIndexWithinParent()+1]}function zr(t,e,n,r,i="decorators-and-blocks"){if("move"===e&&"character"===r&&!t.isCollapsed()){const[e,r]=n===t.isBackward()?[t.focus,t.anchor]:[t.anchor,t.focus];return r.set(e.key,e.offset,e.type),!0}const s=Qo(t.focus,n?"previous":"next"),o="lineboundary"===r,l="move"===e;let c=s,a="decorators-and-blocks"===i;if(!ol(c)){for(const t of c){a=!1;const{origin:e}=t;if(!_i(e)||e.isIsolated()||(c=t,!o||!e.isInline()))break}if(a)for(const t of Jo(s).iterNodeCarets("extend"===e?"shadowRoot":"root")){if(Eo(t))t.origin.isInline()||(c=t);else {if(di(t.origin))continue;_i(t.origin)&&!t.origin.isInline()&&(c=t);}break}}if(c===s)return !1;if(l&&!o&&_i(c.origin)&&c.origin.isKeyboardSelectable()){const t=Cr();return t.add(c.origin.getKey()),cs(t),!0}return c=sl(c),l&&Xo(t.anchor,c),Xo(t.focus,c),a||!o}let Br=null,Wr=null,Kr=!1,Rr=!1,Jr=0;const jr={characterData:!0,childList:!0,subtree:!0};function $r(){return Kr||null!==Br&&Br._readOnly}function Vr(){Kr&&t$2(13);}function Ur(){Jr>99&&t$2(14);}function qr(){return null===Br&&t$2(195,Gr()),Br}function Hr(){return null===Wr&&t$2(196,Gr()),Wr}function Gr(){let t=0;const e=new Set,n=Mi.version;if("undefined"!=typeof window)for(const r of document.querySelectorAll("[contenteditable]")){const i=Ji(r);if(Ki(i))t++;else if(i){let t=String(i.constructor.version||"<0.17.1");t===n&&(t+=" (separately built, likely a bundler configuration issue)"),e.add(t);}}let r=` Detected on the page: ${t} compatible editor(s) with version ${n}`;return e.size&&(r+=` and incompatible editors with versions ${Array.from(e).join(", ")}`),r}function Qr(){return Wr}function Xr(e,n,r){const i=n.__type,s=function(e,n){const r=e._nodes.get(n);void 0===r&&t$2(30,n);return r}(e,i);let o=r.get(i);void 0===o&&(o=Array.from(s.transforms),r.set(i,o));const l=o.length;for(let t=0;t<l&&(o[t](n),n.isAttached());t++);}function Yr(t,e){return void 0!==t&&t.__key!==e&&t.isAttached()}function Zr(t,e){if(!e)return;const n=t._updateTags;let r=e;Array.isArray(e)||(r=[e]);for(const t of r)n.add(t);}function ti(t){return ei(t,Hr()._nodes)}function ei(e,n){const r=e.type,i=n.get(r);void 0===i&&t$2(17,r);const s=i.klass;e.type!==s.getType()&&t$2(18,s.name);const o=s.importJSON(e),l=e.children;if(di(o)&&Array.isArray(l))for(let t=0;t<l.length;t++){const e=ei(l[t],n);o.append(e);}return o}function ni(t,e,n){const r=Br,i=Kr,s=Wr;Br=e,Kr=!0,Wr=t;try{return n()}finally{Br=r,Kr=i,Wr=s;}}function ri(t,e){const n=t._pendingEditorState,r=t._rootElement,i=t._headless||null===r;if(null===n)return;const s=t._editorState,o=s._selection,l=n._selection,c=t._dirtyType!==m$6,a=Br,u=Kr,f=Wr,h=t._updating,g=t._observer;let _=null;if(t._pendingEditorState=null,t._editorState=n,!i&&c&&null!==g){Wr=t,Br=n,Kr=!1,t._updating=!0;try{const e=t._dirtyType,r=t._dirtyElements,i=t._dirtyLeaves;g.disconnect(),_=ie(s,n,t,e,r,i);}catch(e){if(e instanceof Error&&t._onError(e),Rr)throw e;return Ai(t,null,r,n),at$1(t),t._dirtyType=x$8,Rr=!0,ri(t,s),void(Rr=!1)}finally{g.observe(r,jr),t._updating=h,Br=a,Kr=u,Wr=f;}}n._readOnly||(n._readOnly=!0);const p=t._dirtyLeaves,y=t._dirtyElements,S=t._normalizedNodes,v=t._updateTags,C=t._deferred;c&&(t._dirtyType=m$6,t._cloneNotNeeded.clear(),t._dirtyLeaves=new Set,t._dirtyElements=new Map,t._normalizedNodes=new Set,t._updateTags=new Set),function(t,e){const n=t._decorators;let r=t._pendingDecorators||n;const i=e._nodeMap;let s;for(s in r)i.has(s)||(r===n&&(r=is(t)),delete r[s]);}(t,n);const k=i?null:Xs(Rs(t));if(t._editable&&null!==k&&(c||null===l||l.dirty)&&null!==r&&!v.has("skip-dom-selection")){Wr=t,Br=n;try{if(null!==g&&g.disconnect(),c||null===l||l.dirty){const e=t._blockCursorElement;null!==e&&Qs(e,t,r),Ar(o,l,t,k,v,r);}!function(t,e,n){let r=t._blockCursorElement;if(lr(n)&&n.isCollapsed()&&"element"===n.anchor.type&&e.contains(document.activeElement)){const i=n.anchor,s=i.getNode(),o=i.offset;let l=!1,c=null;if(o===s.getChildrenSize()){Gs(s.getChildAtIndex(o-1))&&(l=!0);}else {const e=s.getChildAtIndex(o);if(null!==e&&Gs(e)){const n=e.getPreviousSibling();(null===n||Gs(n))&&(l=!0,c=t.getElementByKey(e.__key));}}if(l){const n=t.getElementByKey(s.__key);return null===r&&(t._blockCursorElement=r=function(t){const e=t.theme,n=document.createElement("div");n.contentEditable="false",n.setAttribute("data-lexical-cursor","true");let r=e.blockCursor;if(void 0!==r){if("string"==typeof r){const t=d$5(r);r=e.blockCursor=t;}void 0!==r&&n.classList.add(...r);}return n}(t._config)),e.style.caretColor="transparent",void(null===c?n.appendChild(r):n.insertBefore(r,c))}}null!==r&&Qs(r,t,e);}(t,r,l);}finally{null!==g&&g.observe(r,jr),Wr=f,Br=a;}}null!==_&&function(t,e,n,r,i){const s=Array.from(t._listeners.mutation),o=s.length;for(let t=0;t<o;t++){const[o,l]=s[t],c=e.get(l);void 0!==c&&o(c,{dirtyLeaves:r,prevEditorState:i,updateTags:n});}}(t,_,v,p,s),lr(l)||null===l||null!==o&&o.is(l)||t.dispatchCommand(le,void 0);const b=t._pendingDecorators;null!==b&&(t._decorators=b,t._pendingDecorators=null,ii("decorator",t,!0,b)),function(t,e,n){const r=ss(e),i=ss(n);r!==i&&ii("textcontent",t,!0,i);}(t,e||s,n),ii("update",t,!0,{dirtyElements:y,dirtyLeaves:p,editorState:n,normalizedNodes:S,prevEditorState:e||s,tags:v}),function(t,e){if(t._deferred=[],0!==e.length){const n=t._updating;t._updating=!0;try{for(let t=0;t<e.length;t++)e[t]();}finally{t._updating=n;}}}(t,C),function(t){const e=t._updates;if(0!==e.length){const n=e.shift();if(n){const[e,r]=n;li(t,e,r);}}}(t);}function ii(t,e,n,...r){const i=e._updating;e._updating=n;try{const n=Array.from(e._listeners[t]);for(let t=0;t<n.length;t++)n[t].apply(null,r);}finally{e._updating=i;}}function si(t,e,n){if(!1===t._updating||Wr!==t){let r=!1;return t.update((()=>{r=si(t,e,n);})),r}const r=ds(t);for(let i=4;i>=0;i--)for(let s=0;s<r.length;s++){const o=r[s]._commands.get(e);if(void 0!==o){const e=o[i];if(void 0!==e){const r=Array.from(e),i=r.length;for(let e=0;e<i;e++)if(!0===r[e](n,t))return !0}}}return !1}function oi(e,n){const r=e._updates;let i=n||!1;for(;0!==r.length;){const n=r.shift();if(n){const[r,s]=n;let o;if(void 0!==s){if(o=s.onUpdate,s.skipTransforms&&(i=!0),s.discrete){const n=e._pendingEditorState;null===n&&t$2(191),n._flushSync=!0;}o&&e._deferred.push(o),Zr(e,s.tag);}r();}}return i}function li(e,n,r){const i=e._updateTags;let s,o=!1,l=!1;void 0!==r&&(s=r.onUpdate,Zr(e,r.tag),o=r.skipTransforms||!1,l=r.discrete||!1),s&&e._deferred.push(s);const c=e._editorState;let a=e._pendingEditorState,u=!1;(null===a||a._readOnly)&&(a=e._pendingEditorState=yi(a||c),u=!0),a._flushSync=l;const f=Br,d=Kr,h=Wr,g=e._updating;Br=a,Kr=!1,e._updating=!0,Wr=e;const _=e._headless||null===e.getRootElement();try{u&&(_?null!==c._selection&&(a._selection=c._selection.clone()):a._selection=function(t,e){const n=t.getEditorState()._selection,r=Xs(Rs(t));return lr(n)||null==n?br(n,r,t,e):n.clone()}(e,r&&r.event||null));const i=e._compositionKey;n(),o=oi(e,o),function(t,e){const n=e.getEditorState()._selection,r=t._selection;if(lr(r)){const t=r.anchor,e=r.focus;let i;if("text"===t.type&&(i=t.getNode(),i.selectionTransform(n,r)),"text"===e.type){const t=e.getNode();i!==t&&t.selectionTransform(n,r);}}}(a,e),e._dirtyType!==m$6&&(o?function(t,e){const n=e._dirtyLeaves,r=t._nodeMap;for(const t of n){const e=r.get(t);Xn(e)&&e.isAttached()&&e.isSimpleText()&&!e.isUnmergeable()&&vt$2(e);}}(a,e):function(t,e){const n=e._dirtyLeaves,r=e._dirtyElements,i=t._nodeMap,s=Zi(),o=new Map;let l=n,c=l.size,a=r,u=a.size;for(;c>0||u>0;){if(c>0){e._dirtyLeaves=new Set;for(const t of l){const r=i.get(t);Xn(r)&&r.isAttached()&&r.isSimpleText()&&!r.isUnmergeable()&&vt$2(r),void 0!==r&&Yr(r,s)&&Xr(e,r,o),n.add(t);}if(l=e._dirtyLeaves,c=l.size,c>0){Jr++;continue}}e._dirtyLeaves=new Set,e._dirtyElements=new Map;for(const t of a){const n=t[0],l=t[1];if("root"!==n&&!l)continue;const c=i.get(n);void 0!==c&&Yr(c,s)&&Xr(e,c,o),r.set(n,l);}l=e._dirtyLeaves,c=l.size,a=e._dirtyElements,u=a.size,Jr++;}e._dirtyLeaves=n,e._dirtyElements=r;}(a,e),oi(e),function(t,e,n,r){const i=t._nodeMap,s=e._nodeMap,o=[];for(const[t]of r){const e=s.get(t);void 0!==e&&(e.isAttached()||(di(e)&&Y$3(e,t,i,s,o,r),i.has(t)||r.delete(t),o.push(t)));}for(const t of o)s.delete(t);for(const t of n){const e=s.get(t);void 0===e||e.isAttached()||(i.has(t)||n.delete(t),s.delete(t));}}(c,a,e._dirtyLeaves,e._dirtyElements));i!==e._compositionKey&&(a._flushSync=!0);const s=a._selection;if(lr(s)){const e=a._nodeMap,n=s.anchor.key,r=s.focus.key;void 0!==e.get(n)&&void 0!==e.get(r)||t$2(19);}else ar(s)&&0===s._nodes.size&&(a._selection=null);}catch(t){return t instanceof Error&&e._onError(t),e._pendingEditorState=c,e._dirtyType=x$8,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),void ri(e)}finally{Br=f,Kr=d,Wr=h,e._updating=g,Jr=0;}const p=e._dirtyType!==m$6||e._deferred.length>0||function(t,e){const n=e.getEditorState()._selection,r=t._selection;if(null!==r){if(r.dirty||!r.is(n))return !0}else if(null!==n)return !0;return !1}(a,e);p?a._flushSync?(a._flushSync=!1,ri(e)):u&&zi((()=>{ri(e);})):(a._flushSync=!1,u&&(i.clear(),e._deferred=[],e._pendingEditorState=null));}function ci(t,e,n){t._updating?Wr===t?e():t._updates.push([e,n]):li(t,e,n);}class ai{constructor(t,e,n){this.element=t,this.before=e||null,this.after=n||null;}withBefore(t){return new ai(this.element,t,this.after)}withAfter(t){return new ai(this.element,this.before,t)}withElement(t){return new ai(t,this.before,this.after)}insertChild(e){const n=this.before||this.getManagedLineBreak();return null!==n&&n.parentElement!==this.element&&t$2(222),this.element.insertBefore(e,n),this}removeChild(e){return e.parentElement!==this.element&&t$2(223),this.element.removeChild(e),this}replaceChild(e,n){return n.parentElement!==this.element&&t$2(224),this.element.replaceChild(e,n),this}getFirstChild(){const t=this.after?this.after.nextSibling:this.element.firstChild;return t===this.before||t===this.getManagedLineBreak()?null:t}getManagedLineBreak(){return this.element.__lexicalLineBreak||null}setManagedLineBreak(t){if(null===t)this.removeManagedLineBreak();else {const e="decorator"===t&&(l$4||o$4);this.insertManagedLineBreak(e);}}removeManagedLineBreak(){const t=this.getManagedLineBreak();if(t){const e=this.element,n="IMG"===t.nodeName?t.nextSibling:null;n&&e.removeChild(n),e.removeChild(t),e.__lexicalLineBreak=void 0;}}insertManagedLineBreak(t){const e=this.getManagedLineBreak();if(e){if(t===("IMG"===e.nodeName))return;this.removeManagedLineBreak();}const n=this.element,r=this.before,i=document.createElement("br");if(n.insertBefore(i,r),t){const t=document.createElement("img");t.setAttribute("data-lexical-linebreak","true"),t.style.cssText="display: inline !important; border: 0px !important; margin: 0px !important;",t.alt="",n.insertBefore(t,i),n.__lexicalLineBreak=t;}else n.__lexicalLineBreak=i;}getFirstChildOffset(){let t=0;for(let e=this.after;null!==e;e=e.previousSibling)t++;return t}resolveChildIndex(t,e,n,r){if(n===this.element){const e=this.getFirstChildOffset();return [t,Math.min(e+t.getChildrenSize(),Math.max(e,r))]}const i=ui(e,n);i.push(r);const s=ui(e,this.element);let o=t.getIndexWithinParent();for(let t=0;t<s.length;t++){const e=i[t],n=s[t];if(void 0===e||e<n)break;if(e>n){o+=1;break}}return [t.getParentOrThrow(),o]}}function ui(e,n){const r=[];let i=n;for(;i!==e&&null!==i;i=n.parentNode){let t=0;for(let e=i.previousSibling;null!==e;e=e.previousSibling)t++;r.push(t);}return i!==e&&t$2(225),r.reverse()}class fi extends Pn{constructor(t){super(t),this.__first=null,this.__last=null,this.__size=0,this.__format=0,this.__style="",this.__indent=0,this.__dir=null,this.__textFormat=0,this.__textStyle="";}afterCloneFrom(t){super.afterCloneFrom(t),this.__first=t.__first,this.__last=t.__last,this.__size=t.__size,this.__indent=t.__indent,this.__format=t.__format,this.__style=t.__style,this.__dir=t.__dir,this.__textFormat=t.__textFormat,this.__textStyle=t.__textStyle;}getFormat(){return this.getLatest().__format}getFormatType(){const t=this.getFormat();return H$4[t]||""}getStyle(){return this.getLatest().__style}getIndent(){return this.getLatest().__indent}getChildren(){const t=[];let e=this.getFirstChild();for(;null!==e;)t.push(e),e=e.getNextSibling();return t}getChildrenKeys(){const t=[];let e=this.getFirstChild();for(;null!==e;)t.push(e.__key),e=e.getNextSibling();return t}getChildrenSize(){return this.getLatest().__size}isEmpty(){return 0===this.getChildrenSize()}isDirty(){const t=Hr()._dirtyElements;return null!==t&&t.has(this.__key)}isLastChild(){const t=this.getLatest(),e=this.getParentOrThrow().getLastChild();return null!==e&&e.is(t)}getAllTextNodes(){const t=[];let e=this.getFirstChild();for(;null!==e;){if(Xn(e)&&t.push(e),di(e)){const n=e.getAllTextNodes();t.push(...n);}e=e.getNextSibling();}return t}getFirstDescendant(){let t=this.getFirstChild();for(;di(t);){const e=t.getFirstChild();if(null===e)break;t=e;}return t}getLastDescendant(){let t=this.getLastChild();for(;di(t);){const e=t.getLastChild();if(null===e)break;t=e;}return t}getDescendantByIndex(t){const e=this.getChildren(),n=e.length;if(t>=n){const t=e[n-1];return di(t)&&t.getLastDescendant()||t||null}const r=e[t];return di(r)&&r.getFirstDescendant()||r||null}getFirstChild(){const t=this.getLatest().__first;return null===t?null:ts(t)}getFirstChildOrThrow(){const e=this.getFirstChild();return null===e&&t$2(45,this.__key),e}getLastChild(){const t=this.getLatest().__last;return null===t?null:ts(t)}getLastChildOrThrow(){const e=this.getLastChild();return null===e&&t$2(96,this.__key),e}getChildAtIndex(t){const e=this.getChildrenSize();let n,r;if(t<e/2){for(n=this.getFirstChild(),r=0;null!==n&&r<=t;){if(r===t)return n;n=n.getNextSibling(),r++;}return null}for(n=this.getLastChild(),r=e-1;null!==n&&r>=t;){if(r===t)return n;n=n.getPreviousSibling(),r--;}return null}getTextContent(){let t="";const e=this.getChildren(),n=e.length;for(let r=0;r<n;r++){const i=e[r];t+=i.getTextContent(),di(i)&&r!==n-1&&!i.isInline()&&(t+=W$3);}return t}getTextContentSize(){let t=0;const e=this.getChildren(),n=e.length;for(let r=0;r<n;r++){const i=e[r];t+=i.getTextContentSize(),di(i)&&r!==n-1&&!i.isInline()&&(t+=W$3.length);}return t}getDirection(){return this.getLatest().__dir}getTextFormat(){return this.getLatest().__textFormat}hasFormat(t){if(""!==t){const e=q$4[t];return !!(this.getFormat()&e)}return !1}hasTextFormat(t){const e=V$3[t];return !!(this.getTextFormat()&e)}getFormatFlags(t,e){return qi(this.getLatest().__textFormat,t,e)}getTextStyle(){return this.getLatest().__textStyle}select(t,e){Vr();const n=Tr();let r=t,i=e;const s=this.getChildrenSize();if(!this.canBeEmpty())if(0===t&&0===e){const t=this.getFirstChild();if(Xn(t)||di(t))return t.select(0,0)}else if(!(void 0!==t&&t!==s||void 0!==e&&e!==s)){const t=this.getLastChild();if(Xn(t)||di(t))return t.select()}void 0===r&&(r=s),void 0===i&&(i=s);const o=this.__key;return lr(n)?(n.anchor.set(o,r,"element"),n.focus.set(o,i,"element"),n.dirty=!0,n):Sr(o,r,o,i,"element","element")}selectStart(){const t=this.getFirstDescendant();return t?t.selectStart():this.select()}selectEnd(){const t=this.getLastDescendant();return t?t.selectEnd():this.select()}clear(){const t=this.getWritable();return this.getChildren().forEach((t=>t.remove())),t}append(...t){return this.splice(this.getChildrenSize(),0,t)}setDirection(t){const e=this.getWritable();return e.__dir=t,e}setFormat(t){return this.getWritable().__format=""!==t?q$4[t]:0,this}setStyle(t){return this.getWritable().__style=t||"",this}setTextFormat(t){const e=this.getWritable();return e.__textFormat=t,e}setTextStyle(t){const e=this.getWritable();return e.__textStyle=t,e}setIndent(t){return this.getWritable().__indent=t,this}splice(e,n,r){const i=r.length,s=this.getChildrenSize(),o=this.getWritable();e+n<=s||t$2(226,String(e),String(n),String(s));const l=o.__key,c=[],a=[],u=this.getChildAtIndex(e+n);let f=null,d=s-n+i;if(0!==e)if(e===s)f=this.getLastChild();else {const t=this.getChildAtIndex(e);null!==t&&(f=t.getPreviousSibling());}if(n>0){let e=null===f?this.getFirstChild():f.getNextSibling();for(let r=0;r<n;r++){null===e&&t$2(100);const n=e.getNextSibling(),r=e.__key;Qi(e.getWritable()),a.push(r),e=n;}}let h=f;for(let e=0;e<i;e++){const n=r[e];null!==h&&n.is(h)&&(f=h=h.getPreviousSibling());const i=n.getWritable();i.__parent===l&&d--,Qi(i);const s=n.__key;if(null===h)o.__first=s,i.__prev=null;else {const t=h.getWritable();t.__next=s,i.__prev=t.__key;}n.__key===l&&t$2(76),i.__parent=l,c.push(s),h=n;}if(e+n===s){if(null!==h){h.getWritable().__next=null,o.__last=h.__key;}}else if(null!==u){const t=u.getWritable();if(null!==h){const e=h.getWritable();t.__prev=h.__key,e.__next=u.__key;}else t.__prev=null;}if(o.__size=d,a.length){const t=Tr();if(lr(t)){const e=new Set(a),n=new Set(c),{anchor:r,focus:i}=t;hi(r,e,n)&&Pr(r,r.getNode(),this,f,u),hi(i,e,n)&&Pr(i,i.getNode(),this,f,u),0!==d||this.canBeEmpty()||$s(this)||this.remove();}}return o}getDOMSlot(t){return new ai(t)}exportDOM(t){const{element:e}=super.exportDOM(t);if(eo(e)){const t=this.getIndent();t>0&&(e.style.paddingInlineStart=40*t+"px");const n=this.getDirection();n&&(e.dir=n);}return {element:e}}exportJSON(){const t={children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),...super.exportJSON()},e=this.getTextFormat(),n=this.getTextStyle();return 0!==e&&(t.textFormat=e),""!==n&&(t.textStyle=n),t}updateFromJSON(t){return super.updateFromJSON(t).setFormat(t.format).setIndent(t.indent).setDirection(t.direction).setTextFormat(t.textFormat||0).setTextStyle(t.textStyle||"")}insertNewAfter(t,e){return null}canIndent(){return !0}collapseAtStart(t){return !1}excludeFromCopy(t){return !1}canReplaceWith(t){return !0}canInsertAfter(t){return !0}canBeEmpty(){return !0}canInsertTextBefore(){return !0}canInsertTextAfter(){return !0}isInline(){return !1}isShadowRoot(){return !1}canMergeWith(t){return !1}extractWithChild(t,e,n){return !1}canMergeWhenEmpty(){return !1}reconcileObservedMutation(t,e){const n=this.getDOMSlot(t);let r=n.getFirstChild();for(let t=this.getFirstChild();t;t=t.getNextSibling()){const i=e.getElementByKey(t.getKey());null!==i&&(null==r?(n.insertChild(i),r=i):r!==i&&n.replaceChild(i,r),r=r.nextSibling);}}}function di(t){return t instanceof fi}function hi(t,e,n){let r=t.getNode();for(;r;){const t=r.__key;if(e.has(t)&&!n.has(t))return !0;r=r.getParent();}return !1}class gi extends Pn{decorate(e,n){t$2(47);}isIsolated(){return !1}isInline(){return !0}isKeyboardSelectable(){return !0}}function _i(t){return t instanceof gi}class pi extends fi{static getType(){return "root"}static clone(){return new pi}constructor(){super("root"),this.__cachedText=null;}getTopLevelElementOrThrow(){t$2(51);}getTextContent(){const t=this.__cachedText;return !$r()&&Hr()._dirtyType!==m$6||null===t?super.getTextContent():t}remove(){t$2(52);}replace(e){t$2(53);}insertBefore(e){t$2(54);}insertAfter(e){t$2(55);}updateDOM(t,e){return !1}append(...e){for(let n=0;n<e.length;n++){const r=e[n];di(r)||_i(r)||t$2(56);}return super.append(...e)}static importJSON(t){return os().updateFromJSON(t)}collapseAtStart(){return !0}}function mi(t){return t instanceof pi}function yi(t){return new vi(new Map(t._nodeMap))}function xi(){return new vi(new Map([["root",new pi]]))}function Si(e){const n=e.exportJSON(),r=e.constructor;if(n.type!==r.getType()&&t$2(130,r.name),di(e)){const i=n.children;Array.isArray(i)||t$2(59,r.name);const s=e.getChildren();for(let t=0;t<s.length;t++){const e=Si(s[t]);i.push(e);}}return n}class vi{constructor(t,e){this._nodeMap=t,this._selection=e||null,this._flushSync=!1,this._readOnly=!1;}isEmpty(){return 1===this._nodeMap.size&&null===this._selection}read(t,e){return ni(e&&e.editor||null,this,t)}clone(t){const e=new vi(this._nodeMap,void 0===t?this._selection:t);return e._readOnly=!0,e}toJSON(){return ni(null,this,(()=>({root:Si(os())})))}}class Ci extends fi{static getType(){return "artificial"}createDOM(t){return document.createElement("div")}}class ki extends fi{static getType(){return "paragraph"}static clone(t){return new ki(t.__key)}createDOM(t){const e=document.createElement("p"),n=Ts(t.theme,"paragraph");if(void 0!==n){e.classList.add(...n);}return e}updateDOM(t,e,n){return !1}static importDOM(){return {p:t=>({conversion:bi,priority:0})}}exportDOM(t){const{element:e}=super.exportDOM(t);if(eo(e)){this.isEmpty()&&e.append(document.createElement("br"));const t=this.getFormatType();e.style.textAlign=t;}return {element:e}}static importJSON(t){return Ti().updateFromJSON(t)}exportJSON(){return {...super.exportJSON(),textFormat:this.getTextFormat(),textStyle:this.getTextStyle()}}insertNewAfter(t,e){const n=Ti();n.setTextFormat(t.format),n.setTextStyle(t.style);const r=this.getDirection();return n.setDirection(r),n.setFormat(this.getFormatType()),n.setStyle(this.getStyle()),this.insertAfter(n,e),n}collapseAtStart(){const t=this.getChildren();if(0===t.length||Xn(t[0])&&""===t[0].getTextContent().trim()){if(null!==this.getNextSibling())return this.selectNext(),this.remove(),!0;if(null!==this.getPreviousSibling())return this.selectPrevious(),this.remove(),!0}return !1}}function bi(t){const e=Ti();return t.style&&(e.setFormat(t.style.textAlign),go(t,e)),{node:e}}function Ti(){return Us(new ki)}function wi(t){return t instanceof ki}const Ni=0,Ei=1,Pi=2,Fi=3,Li=4;function Ai(t,e,n,r){const i=t._keyToDOMMap;i.clear(),t._editorState=xi(),t._pendingEditorState=r,t._compositionKey=null,t._dirtyType=m$6,t._cloneNotNeeded.clear(),t._dirtyLeaves=new Set,t._dirtyElements.clear(),t._normalizedNodes=new Set,t._updateTags=new Set,t._updates=[],t._blockCursorElement=null;const s=t._observer;null!==s&&(s.disconnect(),t._observer=null),null!==e&&(e.textContent=""),null!==n&&(n.textContent="",i.set("root",n));}function Oi(t){const e=t||{},n=Qr(),r=e.theme||{},i=void 0===t?n:e.parentEditor||null,s=e.disableEvents||!1,o=xi(),l=e.namespace||(null!==i?i._config.namespace:hs()),c=e.editorState,a=[pi,Rn,Fn,Zn,ki,Ci,...e.nodes||[]],{onError:u,html:f}=e,d=void 0===e.editable||e.editable;let h;if(void 0===t&&null!==n)h=n._nodes;else {h=new Map;for(let t=0;t<a.length;t++){let e=a[t],n=null,r=null;if("function"!=typeof e){const t=e;e=t.replace,n=t.with,r=t.withKlass||null;}const i=e.getType(),s=e.transform(),o=new Set;null!==s&&o.add(s),h.set(i,{exportDOM:f&&f.export?f.export.get(e):void 0,klass:e,replace:n,replaceWithKlass:r,transforms:o});}}const g=new Mi(o,i,h,{disableEvents:s,namespace:l,theme:r},u||console.error,function(t,e){const n=new Map,r=new Set,i=t=>{Object.keys(t).forEach((e=>{let r=n.get(e);void 0===r&&(r=[],n.set(e,r)),r.push(t[e]);}));};return t.forEach((t=>{const e=t.klass.importDOM;if(null==e||r.has(e))return;r.add(e);const n=e.call(t.klass);null!==n&&i(n);})),e&&i(e),n}(h,f?f.import:void 0),d);return void 0!==c&&(g._pendingEditorState=c,g._dirtyType=x$8),g}class Mi{constructor(t,e,n,r,i,s,o){this._parentEditor=e,this._rootElement=null,this._editorState=t,this._pendingEditorState=null,this._compositionKey=null,this._deferred=[],this._keyToDOMMap=new Map,this._updates=[],this._updating=!1,this._listeners={decorator:new Set,editable:new Set,mutation:new Map,root:new Set,textcontent:new Set,update:new Set},this._commands=new Map,this._config=r,this._nodes=n,this._decorators={},this._pendingDecorators=null,this._dirtyType=m$6,this._cloneNotNeeded=new Set,this._dirtyLeaves=new Set,this._dirtyElements=new Map,this._normalizedNodes=new Set,this._updateTags=new Set,this._observer=null,this._key=hs(),this._onError=i,this._htmlConversions=s,this._editable=o,this._headless=null!==e&&e._headless,this._window=null,this._blockCursorElement=null;}isComposing(){return null!=this._compositionKey}registerUpdateListener(t){const e=this._listeners.update;return e.add(t),()=>{e.delete(t);}}registerEditableListener(t){const e=this._listeners.editable;return e.add(t),()=>{e.delete(t);}}registerDecoratorListener(t){const e=this._listeners.decorator;return e.add(t),()=>{e.delete(t);}}registerTextContentListener(t){const e=this._listeners.textcontent;return e.add(t),()=>{e.delete(t);}}registerRootListener(t){const e=this._listeners.root;return t(this._rootElement,null),e.add(t),()=>{t(null,this._rootElement),e.delete(t);}}registerCommand(e,n,r){void 0===r&&t$2(35);const i=this._commands;i.has(e)||i.set(e,[new Set,new Set,new Set,new Set,new Set]);const s=i.get(e);void 0===s&&t$2(36,String(e));const o=s[r];return o.add(n),()=>{o.delete(n),s.every((t=>0===t.size))&&i.delete(e);}}registerMutationListener(t,e,n){const r=this.resolveRegisteredNodeAfterReplacements(this.getRegisteredNode(t)).klass,i=this._listeners.mutation;i.set(e,r);const s=n&&n.skipInitialization;return void 0!==s&&s||this.initializeMutationListener(e,r),()=>{i.delete(e);}}getRegisteredNode(e){const n=this._nodes.get(e.getType());return void 0===n&&t$2(37,e.name),n}resolveRegisteredNodeAfterReplacements(t){for(;t.replaceWithKlass;)t=this.getRegisteredNode(t.replaceWithKlass);return t}initializeMutationListener(t,e){const n=this._editorState,r=fo(n).get(e.getType());if(!r)return;const i=new Map;for(const t of r.keys())i.set(t,"created");i.size>0&&t(i,{dirtyLeaves:new Set,prevEditorState:n,updateTags:new Set(["registerMutationListener"])});}registerNodeTransformToKlass(t,e){const n=this.getRegisteredNode(t);return n.transforms.add(e),n}registerNodeTransform(t,e){const n=this.registerNodeTransformToKlass(t,e),r=[n],i=n.replaceWithKlass;if(null!=i){const t=this.registerNodeTransformToKlass(i,e);r.push(t);}return function(t,e){const n=fo(t.getEditorState()),r=[];for(const t of e){const e=n.get(t);e&&r.push(e);}if(0===r.length)return;t.update((()=>{for(const t of r)for(const e of t.keys()){const t=ts(e);t&&t.markDirty();}}),null===t._pendingEditorState?{tag:"history-merge"}:void 0);}(this,r.map((t=>t.klass.getType()))),()=>{r.forEach((t=>t.transforms.delete(e)));}}hasNode(t){return this._nodes.has(t.getType())}hasNodes(t){return t.every(this.hasNode.bind(this))}dispatchCommand(t,e){return Ls(this,t,e)}getDecorators(){return this._decorators}getRootElement(){return this._rootElement}getKey(){return this._key}setRootElement(t){const e=this._rootElement;if(t!==e){const n=Ts(this._config.theme,"root"),r=this._pendingEditorState||this._editorState;if(this._rootElement=t,Ai(this,e,t,r),null!==e&&(this._config.disableEvents||Nn(e),null!=n&&e.classList.remove(...n)),null!==t){const e=Ks(t),r=t.style;r.userSelect="text",r.whiteSpace="pre-wrap",r.wordBreak="break-word",t.setAttribute("data-lexical-editor","true"),this._window=e,this._dirtyType=x$8,at$1(this),this._updateTags.add("history-merge"),ri(this),this._config.disableEvents||function(t,e){const n=t.ownerDocument,r=on.get(n);(void 0===r||r<1)&&n.addEventListener("selectionchange",bn),on.set(n,(r||0)+1),t.__lexicalEditor=e;const i=Cn(t);for(let n=0;n<tn.length;n++){const[r,s]=tn[n],o="function"==typeof s?t=>{wn(t)||(Tn(t),(e.isEditable()||"click"===r)&&s(t,e));}:t=>{if(wn(t))return;Tn(t);const n=e.isEditable();switch(r){case"cut":return n&&Ls(e,je,t);case"copy":return Ls(e,Je,t);case"paste":return n&&Ls(e,ge,t);case"dragstart":return n&&Ls(e,We,t);case"dragover":return n&&Ls(e,Ke,t);case"dragend":return n&&Ls(e,Re,t);case"focus":return n&&Ls(e,Ge,t);case"blur":return n&&Ls(e,Qe,t);case"drop":return n&&Ls(e,ze,t)}};t.addEventListener(r,o),i.push((()=>{t.removeEventListener(r,o);}));}}(t,this),null!=n&&t.classList.add(...n);}else this._window=null,this._updateTags.add("history-merge"),ri(this);ii("root",this,!1,t,e);}}getElementByKey(t){return this._keyToDOMMap.get(t)||null}getEditorState(){return this._editorState}setEditorState(e,n){e.isEmpty()&&t$2(38);let r=e;r._readOnly&&(r=yi(e),r._selection=e._selection?e._selection.clone():null),ct$1(this);const i=this._pendingEditorState,s=this._updateTags,o=void 0!==n?n.tag:null;null===i||i.isEmpty()||(null!=o&&s.add(o),ri(this)),this._pendingEditorState=r,this._dirtyType=x$8,this._dirtyElements.set("root",!1),this._compositionKey=null,null!=o&&s.add(o),this._updating||ri(this);}parseEditorState(t,e){return function(t,e,n){const r=xi(),i=Br,s=Kr,o=Wr,l=e._dirtyElements,c=e._dirtyLeaves,a=e._cloneNotNeeded,u=e._dirtyType;e._dirtyElements=new Map,e._dirtyLeaves=new Set,e._cloneNotNeeded=new Set,e._dirtyType=0,Br=r,Kr=!1,Wr=e;try{const i=e._nodes;ei(t.root,i),n&&n(),r._readOnly=!0;}catch(t){t instanceof Error&&e._onError(t);}finally{e._dirtyElements=l,e._dirtyLeaves=c,e._cloneNotNeeded=a,e._dirtyType=u,Br=i,Kr=s,Wr=o;}return r}("string"==typeof t?JSON.parse(t):t,this,e)}read(t){return ri(this),this.getEditorState().read(t,{editor:this})}update(t,e){!function(t,e,n){t._updating?t._updates.push([e,n]):li(t,e,n);}(this,t,e);}focus(t,e={}){const n=this._rootElement;null!==n&&(n.setAttribute("autocapitalize","off"),ci(this,(()=>{const r=Tr(),i=os();null!==r?r.dirty=!0:0!==i.getChildrenSize()&&("rootStart"===e.defaultSelection?i.selectStart():i.selectEnd()),zs("focus"),Bs((()=>{n.removeAttribute("autocapitalize"),t&&t();}));})),null===this._pendingEditorState&&n.removeAttribute("autocapitalize"));}blur(){const t=this._rootElement;null!==t&&t.blur();const e=Xs(this._window);null!==e&&e.removeAllRanges();}isEditable(){return this._editable}setEditable(t){this._editable!==t&&(this._editable=t,ii("editable",this,!0,t));}toJSON(){return {editorState:this._editorState.toJSON()}}}Mi.version="0.27.2+prod.esm";let Ii=1;function Di(){Ii=1;}const zi="function"==typeof queueMicrotask?queueMicrotask:t=>{Promise.resolve().then(t);};function Bi(t){const e=document.activeElement;if(!eo(e))return !1;const n=e.nodeName;return _i(rs(t))&&("INPUT"===n||"TEXTAREA"===n||"true"===e.contentEditable&&null==Ji(e))}function Wi(t,e,n){const r=t.getRootElement();try{return null!==r&&r.contains(e)&&r.contains(n)&&null!==e&&!Bi(e)&&Ri(e)===t}catch(t){return !1}}function Ki(t){return t instanceof Mi}function Ri(t){let e=t;for(;null!=e;){const t=Ji(e);if(Ki(t))return t;e=Ms(e);}return null}function Ji(t){return t?t.__lexicalEditor:null}function ji(t){return t.isToken()||t.isSegmented()}function $i(t){return no(t)&&t.nodeType===g$7}function Vi(t){return no(t)&&t.nodeType===_$6}function Ui(t){let e=t;for(;null!=e;){if($i(e))return e;e=e.firstChild;}return null}function qi(t,e,n){const r=V$3[e];if(null!==n&&(t&r)==(n&r))return t;let i=t^r;return "subscript"===e?i&=~V$3.superscript:"superscript"===e?i&=~V$3.subscript:"lowercase"===e?(i&=~V$3.uppercase,i&=~V$3.capitalize):"uppercase"===e?(i&=~V$3.lowercase,i&=~V$3.capitalize):"capitalize"===e&&(i&=~V$3.lowercase,i&=~V$3.uppercase),i}function Hi(t){return Xn(t)||On(t)||_i(t)}function Gi(t,e){if(null!=e)return void(t.__key=e);Vr(),Ur();const n=Hr(),r=qr(),i=""+Ii++;r._nodeMap.set(i,t),di(t)?n._dirtyElements.set(i,!0):n._dirtyLeaves.add(i),n._cloneNotNeeded.add(i),n._dirtyType=y$6,t.__key=i;}function Qi(t){const e=t.getParent();if(null!==e){const n=t.getWritable(),r=e.getWritable(),i=t.getPreviousSibling(),s=t.getNextSibling();if(null===i)if(null!==s){const t=s.getWritable();r.__first=s.__key,t.__prev=null;}else r.__first=null;else {const t=i.getWritable();if(null!==s){const e=s.getWritable();e.__prev=t.__key,t.__next=e.__key;}else t.__next=null;n.__prev=null;}if(null===s)if(null!==i){const t=i.getWritable();r.__last=i.__key,t.__next=null;}else r.__last=null;else {const t=s.getWritable();if(null!==i){const e=i.getWritable();e.__next=t.__key,t.__prev=e.__key;}else t.__prev=null;n.__next=null;}r.__size--,n.__parent=null;}}function Xi(t){Ur();const e=t.getLatest(),n=e.__parent,r=qr(),i=Hr(),s=r._nodeMap,o=i._dirtyElements;null!==n&&function(t,e,n){let r=t;for(;null!==r;){if(n.has(r))return;const t=e.get(r);if(void 0===t)break;n.set(r,!1),r=t.__parent;}}(n,s,o);const l=e.__key;i._dirtyType=y$6,di(t)?o.set(l,!0):i._dirtyLeaves.add(l);}function Yi(t){Vr();const e=Hr(),n=e._compositionKey;if(t!==n){if(e._compositionKey=t,null!==n){const t=ts(n);null!==t&&t.getWritable();}if(null!==t){const e=ts(t);null!==e&&e.getWritable();}}}function Zi(){if($r())return null;return Hr()._compositionKey}function ts(t,e){const n=(e||qr())._nodeMap.get(t);return void 0===n?null:n}function es(t,e){const n=ns(t,Hr());return void 0!==n?ts(n,e):null}function ns(t,e){return t[`__lexicalKey_${e._key}`]}function rs(t,e){let n=t;for(;null!=n;){const t=es(n,e);if(null!==t)return t;n=Ms(n);}return null}function is(t){const e=t._decorators,n=Object.assign({},e);return t._pendingDecorators=n,n}function ss(t){return t.read((()=>os().getTextContent()))}function os(){return ls(qr())}function ls(t){return t._nodeMap.get("root")}function cs(t){Vr();const e=qr();null!==t&&(t.dirty=!0,t.setCachedNodes(null)),e._selection=t;}function as(t){const e=Hr(),n=function(t,e){let n=t;for(;null!=n;){const t=ns(n,e);if(void 0!==t)return t;n=Ms(n);}return null}(t,e);if(null===n){return t===e.getRootElement()?ts("root"):null}return ts(n)}function us(t,e){return e?t.getTextContentSize():0}function fs(t){return /[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(t)}function ds(t){const e=[];let n=t;for(;null!==n;)e.push(n),n=n._parentEditor;return e}function hs(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,5)}function gs(t){return $i(t)?t.nodeValue:null}function _s(t,e,n){const r=Xs(Rs(e));if(null===r)return;const i=r.anchorNode;let{anchorOffset:s,focusOffset:o}=r;if(null!==i){let e=gs(i);const r=rs(i);if(null!==e&&Xn(r)){if(e===B$4&&n){const t=n.length;e=n,s=t,o=t;}null!==e&&ps(r,e,s,o,t);}}}function ps(t,e,n,r,i){let s=t;if(s.isAttached()&&(i||!s.isDirty())){const c=s.isComposing();let a=e;(c||i)&&e[e.length-1]===B$4&&(a=e.slice(0,-1));const u=s.getTextContent();if(i||a!==u){if(""===a){if(Yi(null),o$4||l$4||f$5)s.remove();else {const t=Hr();setTimeout((()=>{t.update((()=>{s.isAttached()&&s.remove();}));}),20);}return}const e=s.getParent(),i=wr(),u=s.getTextContentSize(),d=Zi(),h=s.getKey();if(s.isToken()||null!==d&&h===d&&!c||lr(i)&&(null!==e&&!e.canInsertTextBefore()&&0===i.anchor.offset||i.anchor.key===t.__key&&0===i.anchor.offset&&!s.canInsertTextBefore()&&!c||i.focus.key===t.__key&&i.focus.offset===u&&!s.canInsertTextAfter()&&!c))return void s.markDirty();const g=Tr();if(!lr(g)||null===n||null===r)return void s.setTextContent(a);if(g.setTextNodeRange(s,n,s,r),s.isSegmented()){const t=Qn(s.getTextContent());s.replace(t),s=t;}s.setTextContent(a);}}}function ms(t){return "ArrowLeft"===t}function ys(t){return "ArrowRight"===t}function xs(t,e){return r$1?t:e}function Ss(t){return "Enter"===t}function vs(t){return "Backspace"===t}function Cs(t){return "Delete"===t}function ks(t,e,n){return "a"===t.toLowerCase()&&xs(e,n)}function bs(t){const e=os();if(lr(t)){const e=t.anchor,n=t.focus,r=e.getNode().getTopLevelElementOrThrow().getParentOrThrow();return e.set(r.getKey(),0,"element"),n.set(r.getKey(),r.getChildrenSize(),"element"),Ct$2(t),t}{const t=e.select(0,e.getChildrenSize());return cs(Ct$2(t)),t}}function Ts(t,e){void 0===t.__lexicalClassNameCache&&(t.__lexicalClassNameCache={});const n=t.__lexicalClassNameCache,r=n[e];if(void 0!==r)return r;const i=t[e];if("string"==typeof i){const t=d$5(i);return n[e]=t,t}return i}function ws(e,n,r,i,s){if(0===r.size)return;const o=i.__type,l=i.__key,c=n.get(o);void 0===c&&t$2(33,o);const a=c.klass;let u=e.get(a);void 0===u&&(u=new Map,e.set(a,u));const f=u.get(l),d="destroyed"===f&&"created"===s;(void 0===f||d)&&u.set(l,d?"updated":s);}function Ns(t){const e=t.getType(),n=qr();if(n._readOnly){const t=fo(n).get(e);return t?Array.from(t.values()):[]}const r=n._nodeMap,i=[];for(const[,n]of r)n instanceof t&&n.__type===e&&n.isAttached()&&i.push(n);return i}function Es(t,e,n){const r=t.getParent();let i=n,s=t;return null!==r&&(e&&0===n?(i=s.getIndexWithinParent(),s=r):e||n!==s.getChildrenSize()||(i=s.getIndexWithinParent()+1,s=r)),s.getChildAtIndex(e?i-1:i)}function Ps(t,e){const n=t.offset;if("element"===t.type){return Es(t.getNode(),e,n)}{const r=t.getNode();if(e&&0===n||!e&&n===r.getTextContentSize()){const t=e?r.getPreviousSibling():r.getNextSibling();return null===t?Es(r.getParentOrThrow(),e,r.getIndexWithinParent()+(e?0:1)):t}}return null}function Fs(t){const e=Rs(t).event,n=e&&e.inputType;return "insertFromPaste"===n||"insertFromPasteAsQuotation"===n}function Ls(t,e,n){return si(t,e,n)}function As(t){return !mi(t)&&!t.isLastChild()&&!t.isInline()}function Os(e,n){const r=e._keyToDOMMap.get(n);return void 0===r&&t$2(75,n),r}function Ms(t){const e=t.assignedSlot||t.parentElement;return ro(e)?e.host:e}function Is(t){return Vi(t)?t:eo(t)?t.ownerDocument:null}function Ds(t){return Hr()._updateTags.has(t)}function zs(t){Vr();Hr()._updateTags.add(t);}function Bs(t){Vr();Hr()._deferred.push(t);}function Ws(t,e){let n=t.getParent();for(;null!==n;){if(n.is(e))return !0;n=n.getParent();}return !1}function Ks(t){const e=Is(t);return e?e.defaultView:null}function Rs(e){const n=e._window;return null===n&&t$2(78),n}function Js(t){return di(t)&&t.isInline()||_i(t)&&t.isInline()}function js(t){let e=t.getParentOrThrow();for(;null!==e;){if($s(e))return e;e=e.getParentOrThrow();}return e}function $s(t){return mi(t)||di(t)&&t.isShadowRoot()}function Vs(t){const e=t.constructor.clone(t);return Gi(e,null),e}function Us(e){const n=Hr(),r=e.constructor.getType(),i=n._nodes.get(r);void 0===i&&t$2(200,e.constructor.name,r);const{replace:s,replaceWithKlass:o}=i;if(null!==s){const n=s(e),i=n.constructor;return null!==o?n instanceof o||t$2(201,o.name,o.getType(),i.name,i.getType(),e.constructor.name,r):n instanceof e.constructor&&i!==e.constructor||t$2(202,i.name,i.getType(),e.constructor.name,r),n.__key===e.__key&&t$2(203,e.constructor.name,r,i.name,i.getType()),n}return e}function qs(e,n){!mi(e.getParent())||di(n)||_i(n)||t$2(99);}function Hs(e){const n=ts(e);return null===n&&t$2(63,e),n}function Gs(t){return (_i(t)||di(t)&&!t.canBeEmpty())&&!t.isInline()}function Qs(t,e,n){n.style.removeProperty("caret-color"),e._blockCursorElement=null;const r=t.parentElement;null!==r&&r.removeChild(t);}function Xs(t){return e$3?(t||window).getSelection():null}function Ys(t){const e=Ks(t);return e?e.getSelection():null}function Zs(e,n){let r=e.getChildAtIndex(n);null==r&&(r=e),$s(e)&&t$2(102);const i=e=>{const n=e.getParentOrThrow(),s=$s(n),o=e!==r||s?Vs(e):e;if(s)return di(e)&&di(o)||t$2(133),e.insertAfter(o),[e,o,o];{const[t,r,s]=i(n),l=e.getNextSiblings();return s.append(o,...l),[t,r,o]}},[s,o]=i(r);return [s,o]}function to(t){return eo(t)&&"A"===t.tagName}function eo(t){return no(t)&&t.nodeType===h$6}function no(t){return "object"==typeof t&&null!==t&&"nodeType"in t&&"number"==typeof t.nodeType}function ro(t){return no(t)&&t.nodeType===p$4}function io(t){const e=new RegExp(/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|mark|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var|#text)$/,"i");return null!==t.nodeName.match(e)}function so(t){const e=new RegExp(/^(address|article|aside|blockquote|canvas|dd|div|dl|dt|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hr|li|main|nav|noscript|ol|p|pre|section|table|td|tfoot|ul|video)$/,"i");return null!==t.nodeName.match(e)}function oo(t){if(_i(t)&&!t.isInline())return !0;if(!di(t)||$s(t))return !1;const e=t.getFirstChild(),n=null===e||On(e)||Xn(e)||e.isInline();return !t.isInline()&&!1!==t.canBeEmpty()&&n}function lo(t,e){let n=t;for(;null!==n&&null!==n.getParent()&&!e(n);)n=n.getParentOrThrow();return e(n)?n:null}function co(){return Hr()}const ao=new WeakMap,uo=new Map;function fo(e){if(!e._readOnly&&e.isEmpty())return uo;e._readOnly||t$2(192);let n=ao.get(e);return n||(n=function(t){const e=new Map;for(const[n,r]of t._nodeMap){const t=r.__type;let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r);}return e}(e),ao.set(e,n)),n}function ho(t){const e=t.constructor.clone(t);return e.afterCloneFrom(t),e}function go(t,e){const n=(parseInt(t.style.paddingInlineStart,10)||0)/40;e.setIndent(n);}function _o(t){t.__lexicalUnmanaged=!0;}function po(t){return !0===t.__lexicalUnmanaged}const mo={next:"previous",previous:"next"};class yo{constructor(t){this.origin=t;}[Symbol.iterator](){return $o({hasNext:No,initial:this.getAdjacentCaret(),map:t=>t,step:t=>t.getAdjacentCaret()})}getAdjacentCaret(){return Ao(this.getNodeAtCaret(),this.direction)}getSiblingCaret(){return Ao(this.origin,this.direction)}remove(){const t=this.getNodeAtCaret();return t&&t.remove(),this}replaceOrInsert(t,e){const n=this.getNodeAtCaret();return t.is(this.origin)||t.is(n)||(null===n?this.insert(t):n.replace(t,e)),this}splice(e,n,r="next"){const i=r===this.direction?n:Array.from(n).reverse();let s=this;const o=this.getParentAtCaret(),l=new Map;for(let t=s.getAdjacentCaret();null!==t&&l.size<e;t=t.getAdjacentCaret()){const e=t.origin.getWritable();l.set(e.getKey(),e);}for(const e of i){if(l.size>0){const n=s.getNodeAtCaret();if(n)if(l.delete(n.getKey()),l.delete(e.getKey()),n.is(e)||s.origin.is(e));else {const t=e.getParent();t&&t.is(o)&&e.remove(),n.replace(e);}else null===n&&t$2(263,Array.from(l).join(" "));}else s.insert(e);s=Ao(e,this.direction);}for(const t of l.values())t.remove();return this}}class xo extends yo{type="child";getLatest(){const t=this.origin.getLatest();return t===this.origin?this:Do(t,this.direction)}getParentCaret(t="root"){return Ao(Co(this.getParentAtCaret(),t),this.direction)}getFlipped(){const t=vo(this.direction);return Ao(this.getNodeAtCaret(),t)||Do(this.origin,t)}getParentAtCaret(){return this.origin}getChildCaret(){return this}isSameNodeCaret(t){return t instanceof xo&&this.direction===t.direction&&this.origin.is(t.origin)}isSamePointCaret(t){return this.isSameNodeCaret(t)}}const So={root:mi,shadowRoot:$s};function vo(t){return mo[t]}function Co(t,e="root"){return So[e](t)?null:t}class ko extends yo{type="sibling";getLatest(){const t=this.origin.getLatest();return t===this.origin?this:Ao(t,this.direction)}getSiblingCaret(){return this}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return di(this.origin)?Do(this.origin,this.direction):null}getParentCaret(t="root"){return Ao(Co(this.getParentAtCaret(),t),this.direction)}getFlipped(){const t=vo(this.direction);return Ao(this.getNodeAtCaret(),t)||Do(this.origin.getParentOrThrow(),t)}isSamePointCaret(t){return t instanceof ko&&this.direction===t.direction&&this.origin.is(t.origin)}isSameNodeCaret(t){return (t instanceof ko||t instanceof bo)&&this.direction===t.direction&&this.origin.is(t.origin)}}class bo extends yo{type="text";constructor(t,e){super(t),this.offset=e;}getLatest(){const t=this.origin.getLatest();return t===this.origin?this:Oo(t,this.direction,this.offset)}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return null}getParentCaret(t="root"){return Ao(Co(this.getParentAtCaret(),t),this.direction)}getFlipped(){return Oo(this.origin,vo(this.direction),this.offset)}isSamePointCaret(t){return t instanceof bo&&this.direction===t.direction&&this.origin.is(t.origin)&&this.offset===t.offset}isSameNodeCaret(t){return (t instanceof ko||t instanceof bo)&&this.direction===t.direction&&this.origin.is(t.origin)}getSiblingCaret(){return Ao(this.origin,this.direction)}}function To(t){return t instanceof bo}function wo(t){return t instanceof yo}function No(t){return t instanceof ko}function Eo(t){return t instanceof xo}const Po={next:class extends bo{direction="next";getNodeAtCaret(){return this.origin.getNextSibling()}insert(t){return this.origin.insertAfter(t),this}},previous:class extends bo{direction="previous";getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(t){return this.origin.insertBefore(t),this}}},Fo={next:class extends ko{direction="next";getNodeAtCaret(){return this.origin.getNextSibling()}insert(t){return this.origin.insertAfter(t),this}},previous:class extends ko{direction="previous";getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(t){return this.origin.insertBefore(t),this}}},Lo={next:class extends xo{direction="next";getNodeAtCaret(){return this.origin.getFirstChild()}insert(t){return this.origin.splice(0,0,[t]),this}},previous:class extends xo{direction="previous";getNodeAtCaret(){return this.origin.getLastChild()}insert(t){return this.origin.splice(this.origin.getChildrenSize(),0,[t]),this}}};function Ao(t,e){return t?new Fo[e](t):null}function Oo(t,e,n){return t?new Po[e](t,Mo(t,n)):null}function Mo(e,n){const r=e.getTextContentSize(),i="next"===n?r:"previous"===n?0:n;return i>=0&&i<=r||t$2(274,String(n),String(r)),i}function Io(t,e){return new Ko(t,e)}function Do(t,e){return di(t)?new Lo[e](t):null}function zo(t){return t&&t.getChildCaret()||t}function Bo(t){return t&&zo(t.getAdjacentCaret())}class Wo{type="node-caret-range";constructor(t,e,n){this.anchor=t,this.focus=e,this.direction=n;}getLatest(){const t=this.anchor.getLatest(),e=this.focus.getLatest();return t===this.anchor&&e===this.focus?this:new Wo(t,e,this.direction)}isCollapsed(){return this.anchor.isSamePointCaret(this.focus)}getTextSlices(){const t=t=>{const e=this[t].getLatest();return To(e)?function(t,e){const{direction:n,origin:r}=t,i=Mo(r,"focus"===e?vo(n):n);return Io(t,i-t.offset)}(e,t):null},e=t("anchor"),n=t("focus");if(e&&n){const{caret:t}=e,{caret:r}=n;if(t.isSameNodeCaret(r))return [Io(t,r.offset-t.offset),null]}return [e,n]}iterNodeCarets(t="root"){const e=To(this.anchor)?this.anchor.getSiblingCaret():this.anchor.getLatest(),n=this.focus.getLatest(),r=To(n),i=e=>e.isSameNodeCaret(n)?null:Bo(e)||e.getParentCaret(t);return $o({hasNext:t=>null!==t&&!(r&&n.isSameNodeCaret(t)),initial:e.isSameNodeCaret(n)?null:i(e),map:t=>t,step:i})}[Symbol.iterator](){return this.iterNodeCarets("root")}}class Ko{type="slice";constructor(t,e){this.caret=t,this.distance=e;}getSliceIndices(){const{distance:t,caret:{offset:e}}=this,n=e+t;return n<e?[n,e]:[e,n]}getTextContent(){const[t,e]=this.getSliceIndices();return this.caret.origin.getTextContent().slice(t,e)}getTextContentSize(){return Math.abs(this.distance)}removeTextSlice(){const{caret:{origin:t,direction:e}}=this,[n,r]=this.getSliceIndices(),i=t.getTextContent();return Oo(t.setTextContent(i.slice(0,n)+i.slice(r)),e,n)}}function Ro(t){return t instanceof Ko}function Jo(t){return jo(t,Ao(os(),t.direction))}function jo(e,n){return e.direction!==n.direction&&t$2(265),new Wo(e,n,e.direction)}function $o(t){const{initial:e,hasNext:n,step:r,map:i}=t;let s=e;return {[Symbol.iterator](){return this},next(){if(!n(s))return {done:!0,value:void 0};const t={done:!1,value:i(s)};return s=r(s),t}}}function Vo(e,n){const r=Go(e.origin,n.origin);switch(null===r&&t$2(275,e.origin.getKey(),n.origin.getKey()),r.type){case"same":{const t="text"===e.type,r="text"===n.type;return t&&r?function(t,e){return Math.sign(t-e)}(e.offset,n.offset):e.type===n.type?0:t?-1:r?1:"child"===e.type?-1:1}case"ancestor":return "child"===e.type?-1:1;case"descendant":return "child"===n.type?1:-1;case"branch":return Uo(r)}}function Uo(t){const{a:e,b:n}=t,r=e.__key,i=n.__key;let s=e,o=n;for(;s&&o;s=s.getNextSibling(),o=o.getNextSibling()){if(s.__key===i)return -1;if(o.__key===r)return 1}return null===s?1:-1}function qo(t,e){return e.is(t)}function Ho(t){return di(t)?[t.getLatest(),null]:[t.getParent(),t.getLatest()]}function Go(e,n){if(e.is(n))return {commonAncestor:e,type:"same"};const r=new Map;for(let[t,n]=Ho(e);t;n=t,t=t.getParent())r.set(t,n);for(let[i,s]=Ho(n);i;s=i,i=i.getParent()){const o=r.get(i);if(void 0!==o)return null===o?(qo(e,i)||t$2(276),{commonAncestor:i,type:"ancestor"}):null===s?(qo(n,i)||t$2(277),{commonAncestor:i,type:"descendant"}):((di(o)||qo(e,o))&&(di(s)||qo(n,s))&&i.is(o.getParent())&&i.is(s.getParent())||t$2(278),{a:o,b:s,commonAncestor:i,type:"branch"})}return null}function Qo(e,n){const{type:r,key:i,offset:s}=e,o=Hs(e.key);return "text"===r?(Xn(o)||t$2(266,o.getType(),i),Oo(o,n,s)):(di(o)||t$2(267,o.getType(),i),al(o,e.offset,n))}function Xo(e,n){const{origin:r,direction:i}=n,s="next"===i;To(n)?e.set(r.getKey(),n.offset,"text"):No(n)?Xn(r)?e.set(r.getKey(),Mo(r,i),"text"):e.set(r.getParentOrThrow().getKey(),r.getIndexWithinParent()+(s?1:0),"element"):(Eo(n)&&di(r)||t$2(268),e.set(r.getKey(),s?0:r.getChildrenSize(),"element"));}function Yo(t){const e=Tr(),n=lr(e)?e:vr();return Zo(n,t),cs(n),n}function Zo(t,e){Xo(t.anchor,e.anchor),Xo(t.focus,e.focus);}function tl(t){const{anchor:e,focus:n}=t,r=Qo(e,"next"),i=Qo(n,"next"),s=Vo(r,i)<=0?"next":"previous";return jo(ll(r,s),ll(i,s))}function el(t){const{direction:e,origin:n}=t,r=Ao(n,vo(e)).getNodeAtCaret();return r?Ao(r,e):Do(n.getParentOrThrow(),e)}function nl(t,e="root"){const n=[t];for(let r=Eo(t)?t.getParentCaret(e):t.getSiblingCaret();null!==r;r=r.getParentCaret(e))n.push(el(r));return n}function rl(t){return !!t&&t.origin.isAttached()}function il(e,n="removeEmptySlices"){if(e.isCollapsed())return e;const r="root",i="next";let s=n;const o=cl(e,i),l=nl(o.anchor,r),c=nl(o.focus.getFlipped(),r),a=new Set,u=[];for(const t of o.iterNodeCarets(r))if(Eo(t))a.add(t.origin.getKey());else if(No(t)){const{origin:e}=t;di(e)&&!a.has(e.getKey())||u.push(e);}for(const t of u)t.remove();for(const t of o.getTextSlices()){if(!t)continue;const{origin:e}=t.caret,n=e.getTextContentSize(),r=el(Ao(e,i)),o=e.getMode();if(Math.abs(t.distance)===n&&"removeEmptySlices"===s||"token"===o&&0!==t.distance)r.remove();else if(0!==t.distance){s="removeEmptySlices";let e=t.removeTextSlice();const n=t.caret.origin;if("segmented"===o){const t=e.origin,n=Qn(t.getTextContent()).setStyle(t.getStyle()).setFormat(t.getFormat());r.replaceOrInsert(n),e=Oo(n,i,e.offset);}n.is(l[0].origin)&&(l[0]=e),n.is(c[0].origin)&&(c[0]=e.getFlipped());}}let f,d;for(const t of l)if(rl(t)){f=sl(t);break}for(const t of c)if(rl(t)){d=sl(t);break}const h=function(t,e,n){if(!t||!e)return null;const r=t.getParentAtCaret(),i=e.getParentAtCaret();if(!r||!i)return null;const s=r.getParents().reverse();s.push(r);const o=i.getParents().reverse();o.push(i);const l=Math.min(s.length,o.length);let c;for(c=0;c<l&&s[c]===o[c];c++);const a=(t,e)=>{let n;for(let r=c;r<t.length;r++){const i=t[r];if($s(i))return;!n&&e(i)&&(n=i);}return n},u=a(s,oo),f=u&&a(o,(t=>n.has(t.getKey())&&oo(t)));return u&&f?[u,f]:null}(f,d,a);if(h){const[t,e]=h;Do(t,"previous").splice(0,e.getChildren()),e.remove();}const g=[f,d,...l,...c].find(rl);if(g){const t=ll(sl(g),e.direction);return jo(t,t)}t$2(269,JSON.stringify(l.map((t=>t.origin.__key))));}function sl(t){const e=function(t){let e=t;for(;Eo(e);){const t=Bo(e);if(!Eo(t))break;e=t;}return e}(t.getLatest()),{direction:n}=e;if(Xn(e.origin))return To(e)?e:Oo(e.origin,n,n);const r=e.getAdjacentCaret();return No(r)&&Xn(r.origin)?Oo(r.origin,n,vo(n)):e}function ol(t){return To(t)&&t.offset!==Mo(t.origin,t.direction)}function ll(t,e){return t.direction===e?t:t.getFlipped()}function cl(t,e){return t.direction===e?t:jo(ll(t.focus,e),ll(t.anchor,e))}function al(t,e,n){let r=Do(t,"next");for(let t=0;t<e;t++){const t=r.getAdjacentCaret();if(null===t)break;r=t;}return ll(r,n)}function ul(t,e="root"){let n=0,r=t,i=Bo(r);for(;null===i;){if(n--,i=r.getParentCaret(e),!i)return null;r=i,i=Bo(r);}return i&&[i,n]}
|
|
91944
91947
|
|
|
91945
|
-
var modProd$
|
|
91948
|
+
var modProd$p = /*#__PURE__*/Object.freeze({
|
|
91946
91949
|
__proto__: null,
|
|
91947
91950
|
$addUpdateTag: zs,
|
|
91948
91951
|
$applyNodeReplacement: Us,
|
|
@@ -92064,7 +92067,7 @@ var modProd$n = /*#__PURE__*/Object.freeze({
|
|
|
92064
92067
|
IS_HIGHLIGHT: F$4,
|
|
92065
92068
|
IS_ITALIC: b$8,
|
|
92066
92069
|
IS_STRIKETHROUGH: T$3,
|
|
92067
|
-
IS_SUBSCRIPT: E$
|
|
92070
|
+
IS_SUBSCRIPT: E$7,
|
|
92068
92071
|
IS_SUPERSCRIPT: P$5,
|
|
92069
92072
|
IS_UNDERLINE: w$6,
|
|
92070
92073
|
KEY_ARROW_DOWN_COMMAND: Ne,
|
|
@@ -92132,186 +92135,186 @@ var modProd$n = /*#__PURE__*/Object.freeze({
|
|
|
92132
92135
|
* LICENSE file in the root directory of this source tree.
|
|
92133
92136
|
*
|
|
92134
92137
|
*/
|
|
92135
|
-
const mod$
|
|
92136
|
-
mod$
|
|
92137
|
-
const $applyNodeReplacement = mod$
|
|
92138
|
-
const $caretFromPoint = mod$
|
|
92139
|
-
const $caretRangeFromSelection = mod$
|
|
92140
|
-
const $cloneWithProperties = mod$
|
|
92141
|
-
mod$
|
|
92142
|
-
mod$
|
|
92143
|
-
const $createLineBreakNode = mod$
|
|
92144
|
-
const $createNodeSelection = mod$
|
|
92145
|
-
const $createParagraphNode = mod$
|
|
92146
|
-
mod$
|
|
92147
|
-
const $createRangeSelection = mod$
|
|
92148
|
-
mod$
|
|
92149
|
-
const $createTabNode = mod$
|
|
92150
|
-
const $createTextNode = mod$
|
|
92151
|
-
const $extendCaretToRange = mod$
|
|
92152
|
-
const $getAdjacentChildCaret = mod$
|
|
92153
|
-
const $getAdjacentNode = mod$
|
|
92154
|
-
mod$
|
|
92155
|
-
mod$
|
|
92156
|
-
mod$
|
|
92157
|
-
mod$
|
|
92158
|
-
const $getCharacterOffsets = mod$
|
|
92159
|
-
const $getChildCaret = mod$
|
|
92160
|
-
const $getChildCaretAtIndex = mod$
|
|
92161
|
-
const $getChildCaretOrSelf = mod$
|
|
92162
|
-
mod$
|
|
92163
|
-
mod$
|
|
92164
|
-
const $getEditor = mod$
|
|
92165
|
-
const $getNearestNodeFromDOMNode = mod$
|
|
92166
|
-
mod$
|
|
92167
|
-
const $getNodeByKey = mod$
|
|
92168
|
-
mod$
|
|
92169
|
-
const $getPreviousSelection = mod$
|
|
92170
|
-
const $getRoot = mod$
|
|
92171
|
-
const $getSelection = mod$
|
|
92172
|
-
const $getSiblingCaret = mod$
|
|
92173
|
-
const $getState = mod$
|
|
92174
|
-
mod$
|
|
92175
|
-
mod$
|
|
92176
|
-
mod$
|
|
92177
|
-
mod$
|
|
92178
|
-
mod$
|
|
92179
|
-
mod$
|
|
92180
|
-
const $hasAncestor = mod$
|
|
92181
|
-
mod$
|
|
92182
|
-
const $insertNodes = mod$
|
|
92183
|
-
const $isBlockElementNode = mod$
|
|
92184
|
-
const $isChildCaret = mod$
|
|
92185
|
-
const $isDecoratorNode = mod$
|
|
92186
|
-
const $isElementNode = mod$
|
|
92187
|
-
const $isExtendableTextPointCaret = mod$
|
|
92188
|
-
mod$
|
|
92189
|
-
const $isLeafNode = mod$
|
|
92190
|
-
const $isLineBreakNode = mod$
|
|
92191
|
-
mod$
|
|
92192
|
-
const $isNodeSelection = mod$
|
|
92193
|
-
const $isParagraphNode = mod$
|
|
92194
|
-
const $isRangeSelection = mod$
|
|
92195
|
-
const $isRootNode = mod$
|
|
92196
|
-
const $isRootOrShadowRoot = mod$
|
|
92197
|
-
const $isSiblingCaret = mod$
|
|
92198
|
-
mod$
|
|
92199
|
-
const $isTextNode = mod$
|
|
92200
|
-
mod$
|
|
92201
|
-
mod$
|
|
92202
|
-
const $isTokenOrSegmented = mod$
|
|
92203
|
-
mod$
|
|
92204
|
-
const $normalizeCaret = mod$
|
|
92205
|
-
const $normalizeSelection__EXPERIMENTAL = mod$
|
|
92206
|
-
mod$
|
|
92207
|
-
const $parseSerializedNode = mod$
|
|
92208
|
-
mod$
|
|
92209
|
-
const $rewindSiblingCaret = mod$
|
|
92210
|
-
const $selectAll = mod$
|
|
92211
|
-
mod$
|
|
92212
|
-
const $setPointFromCaret = mod$
|
|
92213
|
-
const $setSelection = mod$
|
|
92214
|
-
mod$
|
|
92215
|
-
const $setState = mod$
|
|
92216
|
-
const $splitNode = mod$
|
|
92217
|
-
mod$
|
|
92218
|
-
const ArtificialNode__DO_NOT_USE = mod$
|
|
92219
|
-
const BLUR_COMMAND = mod$
|
|
92220
|
-
const CAN_REDO_COMMAND = mod$
|
|
92221
|
-
const CAN_UNDO_COMMAND = mod$
|
|
92222
|
-
const CLEAR_EDITOR_COMMAND = mod$
|
|
92223
|
-
const CLEAR_HISTORY_COMMAND = mod$
|
|
92224
|
-
const CLICK_COMMAND = mod$
|
|
92225
|
-
const COMMAND_PRIORITY_CRITICAL = mod$
|
|
92226
|
-
const COMMAND_PRIORITY_EDITOR = mod$
|
|
92227
|
-
const COMMAND_PRIORITY_HIGH = mod$
|
|
92228
|
-
const COMMAND_PRIORITY_LOW = mod$
|
|
92229
|
-
mod$
|
|
92230
|
-
const CONTROLLED_TEXT_INSERTION_COMMAND = mod$
|
|
92231
|
-
const COPY_COMMAND = mod$
|
|
92232
|
-
const CUT_COMMAND = mod$
|
|
92233
|
-
const DELETE_CHARACTER_COMMAND = mod$
|
|
92234
|
-
const DELETE_LINE_COMMAND = mod$
|
|
92235
|
-
const DELETE_WORD_COMMAND = mod$
|
|
92236
|
-
mod$
|
|
92237
|
-
const DRAGOVER_COMMAND = mod$
|
|
92238
|
-
const DRAGSTART_COMMAND = mod$
|
|
92239
|
-
const DROP_COMMAND = mod$
|
|
92240
|
-
const DecoratorNode = mod$
|
|
92241
|
-
const ElementNode = mod$
|
|
92242
|
-
const FOCUS_COMMAND = mod$
|
|
92243
|
-
const FORMAT_ELEMENT_COMMAND = mod$
|
|
92244
|
-
const FORMAT_TEXT_COMMAND = mod$
|
|
92245
|
-
const INDENT_CONTENT_COMMAND = mod$
|
|
92246
|
-
const INSERT_LINE_BREAK_COMMAND = mod$
|
|
92247
|
-
const INSERT_PARAGRAPH_COMMAND = mod$
|
|
92248
|
-
const INSERT_TAB_COMMAND = mod$
|
|
92249
|
-
const INTERNAL_$isBlock = mod$
|
|
92250
|
-
mod$
|
|
92251
|
-
mod$
|
|
92252
|
-
mod$
|
|
92253
|
-
mod$
|
|
92254
|
-
mod$
|
|
92255
|
-
mod$
|
|
92256
|
-
mod$
|
|
92257
|
-
mod$
|
|
92258
|
-
mod$
|
|
92259
|
-
const KEY_ARROW_DOWN_COMMAND = mod$
|
|
92260
|
-
const KEY_ARROW_LEFT_COMMAND = mod$
|
|
92261
|
-
const KEY_ARROW_RIGHT_COMMAND = mod$
|
|
92262
|
-
const KEY_ARROW_UP_COMMAND = mod$
|
|
92263
|
-
const KEY_BACKSPACE_COMMAND = mod$
|
|
92264
|
-
const KEY_DELETE_COMMAND = mod$
|
|
92265
|
-
const KEY_DOWN_COMMAND = mod$
|
|
92266
|
-
const KEY_ENTER_COMMAND = mod$
|
|
92267
|
-
const KEY_ESCAPE_COMMAND = mod$
|
|
92268
|
-
const KEY_MODIFIER_COMMAND = mod$
|
|
92269
|
-
const KEY_SPACE_COMMAND = mod$
|
|
92270
|
-
const KEY_TAB_COMMAND = mod$
|
|
92271
|
-
mod$
|
|
92272
|
-
mod$
|
|
92273
|
-
mod$
|
|
92274
|
-
mod$
|
|
92275
|
-
const OUTDENT_CONTENT_COMMAND = mod$
|
|
92276
|
-
const PASTE_COMMAND = mod$
|
|
92277
|
-
const ParagraphNode = mod$
|
|
92278
|
-
const REDO_COMMAND = mod$
|
|
92279
|
-
const REMOVE_TEXT_COMMAND = mod$
|
|
92280
|
-
mod$
|
|
92281
|
-
const SELECTION_CHANGE_COMMAND = mod$
|
|
92282
|
-
const SELECTION_INSERT_CLIPBOARD_NODES_COMMAND = mod$
|
|
92283
|
-
const SELECT_ALL_COMMAND = mod$
|
|
92284
|
-
mod$
|
|
92285
|
-
mod$
|
|
92286
|
-
const TextNode = mod$
|
|
92287
|
-
const UNDO_COMMAND = mod$
|
|
92288
|
-
const createCommand = mod$
|
|
92289
|
-
const createEditor = mod$
|
|
92290
|
-
mod$
|
|
92291
|
-
mod$
|
|
92292
|
-
mod$
|
|
92293
|
-
const getDOMSelection$1 = mod$
|
|
92294
|
-
mod$
|
|
92295
|
-
const getDOMTextNode$1 = mod$
|
|
92296
|
-
mod$
|
|
92297
|
-
const getNearestEditorFromDOMNode = mod$
|
|
92298
|
-
const isBlockDomNode$1 = mod$
|
|
92299
|
-
mod$
|
|
92300
|
-
mod$
|
|
92301
|
-
const isDOMNode = mod$
|
|
92302
|
-
mod$
|
|
92303
|
-
mod$
|
|
92304
|
-
const isDocumentFragment = mod$
|
|
92305
|
-
const isHTMLAnchorElement$1 = mod$
|
|
92306
|
-
const isHTMLElement$2 = mod$
|
|
92307
|
-
const isInlineDomNode = mod$
|
|
92308
|
-
mod$
|
|
92309
|
-
const isSelectionCapturedInDecoratorInput = mod$
|
|
92310
|
-
const isSelectionWithinEditor = mod$
|
|
92311
|
-
const makeStepwiseIterator = mod$
|
|
92312
|
-
mod$
|
|
92313
|
-
mod$
|
|
92314
|
-
const setNodeIndentFromDOM = mod$
|
|
92138
|
+
const mod$p = process.env.NODE_ENV !== 'production' ? modDev$p : modProd$p;
|
|
92139
|
+
mod$p.$addUpdateTag;
|
|
92140
|
+
const $applyNodeReplacement = mod$p.$applyNodeReplacement;
|
|
92141
|
+
const $caretFromPoint = mod$p.$caretFromPoint;
|
|
92142
|
+
const $caretRangeFromSelection = mod$p.$caretRangeFromSelection;
|
|
92143
|
+
const $cloneWithProperties = mod$p.$cloneWithProperties;
|
|
92144
|
+
mod$p.$comparePointCaretNext;
|
|
92145
|
+
mod$p.$copyNode;
|
|
92146
|
+
const $createLineBreakNode = mod$p.$createLineBreakNode;
|
|
92147
|
+
const $createNodeSelection = mod$p.$createNodeSelection;
|
|
92148
|
+
const $createParagraphNode = mod$p.$createParagraphNode;
|
|
92149
|
+
mod$p.$createPoint;
|
|
92150
|
+
const $createRangeSelection = mod$p.$createRangeSelection;
|
|
92151
|
+
mod$p.$createRangeSelectionFromDom;
|
|
92152
|
+
const $createTabNode = mod$p.$createTabNode;
|
|
92153
|
+
const $createTextNode = mod$p.$createTextNode;
|
|
92154
|
+
const $extendCaretToRange = mod$p.$extendCaretToRange;
|
|
92155
|
+
const $getAdjacentChildCaret = mod$p.$getAdjacentChildCaret;
|
|
92156
|
+
const $getAdjacentNode = mod$p.$getAdjacentNode;
|
|
92157
|
+
mod$p.$getAdjacentSiblingOrParentSiblingCaret;
|
|
92158
|
+
mod$p.$getCaretInDirection;
|
|
92159
|
+
mod$p.$getCaretRange;
|
|
92160
|
+
mod$p.$getCaretRangeInDirection;
|
|
92161
|
+
const $getCharacterOffsets = mod$p.$getCharacterOffsets;
|
|
92162
|
+
const $getChildCaret = mod$p.$getChildCaret;
|
|
92163
|
+
const $getChildCaretAtIndex = mod$p.$getChildCaretAtIndex;
|
|
92164
|
+
const $getChildCaretOrSelf = mod$p.$getChildCaretOrSelf;
|
|
92165
|
+
mod$p.$getCommonAncestor;
|
|
92166
|
+
mod$p.$getCommonAncestorResultBranchOrder;
|
|
92167
|
+
const $getEditor = mod$p.$getEditor;
|
|
92168
|
+
const $getNearestNodeFromDOMNode = mod$p.$getNearestNodeFromDOMNode;
|
|
92169
|
+
mod$p.$getNearestRootOrShadowRoot;
|
|
92170
|
+
const $getNodeByKey = mod$p.$getNodeByKey;
|
|
92171
|
+
mod$p.$getNodeByKeyOrThrow;
|
|
92172
|
+
const $getPreviousSelection = mod$p.$getPreviousSelection;
|
|
92173
|
+
const $getRoot = mod$p.$getRoot;
|
|
92174
|
+
const $getSelection = mod$p.$getSelection;
|
|
92175
|
+
const $getSiblingCaret = mod$p.$getSiblingCaret;
|
|
92176
|
+
const $getState = mod$p.$getState;
|
|
92177
|
+
mod$p.$getStateChange;
|
|
92178
|
+
mod$p.$getTextContent;
|
|
92179
|
+
mod$p.$getTextNodeOffset;
|
|
92180
|
+
mod$p.$getTextPointCaret;
|
|
92181
|
+
mod$p.$getTextPointCaretSlice;
|
|
92182
|
+
mod$p.$getWritableNodeState;
|
|
92183
|
+
const $hasAncestor = mod$p.$hasAncestor;
|
|
92184
|
+
mod$p.$hasUpdateTag;
|
|
92185
|
+
const $insertNodes = mod$p.$insertNodes;
|
|
92186
|
+
const $isBlockElementNode = mod$p.$isBlockElementNode;
|
|
92187
|
+
const $isChildCaret = mod$p.$isChildCaret;
|
|
92188
|
+
const $isDecoratorNode = mod$p.$isDecoratorNode;
|
|
92189
|
+
const $isElementNode = mod$p.$isElementNode;
|
|
92190
|
+
const $isExtendableTextPointCaret = mod$p.$isExtendableTextPointCaret;
|
|
92191
|
+
mod$p.$isInlineElementOrDecoratorNode;
|
|
92192
|
+
const $isLeafNode = mod$p.$isLeafNode;
|
|
92193
|
+
const $isLineBreakNode = mod$p.$isLineBreakNode;
|
|
92194
|
+
mod$p.$isNodeCaret;
|
|
92195
|
+
const $isNodeSelection = mod$p.$isNodeSelection;
|
|
92196
|
+
const $isParagraphNode = mod$p.$isParagraphNode;
|
|
92197
|
+
const $isRangeSelection = mod$p.$isRangeSelection;
|
|
92198
|
+
const $isRootNode = mod$p.$isRootNode;
|
|
92199
|
+
const $isRootOrShadowRoot = mod$p.$isRootOrShadowRoot;
|
|
92200
|
+
const $isSiblingCaret = mod$p.$isSiblingCaret;
|
|
92201
|
+
mod$p.$isTabNode;
|
|
92202
|
+
const $isTextNode = mod$p.$isTextNode;
|
|
92203
|
+
mod$p.$isTextPointCaret;
|
|
92204
|
+
mod$p.$isTextPointCaretSlice;
|
|
92205
|
+
const $isTokenOrSegmented = mod$p.$isTokenOrSegmented;
|
|
92206
|
+
mod$p.$nodesOfType;
|
|
92207
|
+
const $normalizeCaret = mod$p.$normalizeCaret;
|
|
92208
|
+
const $normalizeSelection__EXPERIMENTAL = mod$p.$normalizeSelection__EXPERIMENTAL;
|
|
92209
|
+
mod$p.$onUpdate;
|
|
92210
|
+
const $parseSerializedNode = mod$p.$parseSerializedNode;
|
|
92211
|
+
mod$p.$removeTextFromCaretRange;
|
|
92212
|
+
const $rewindSiblingCaret = mod$p.$rewindSiblingCaret;
|
|
92213
|
+
const $selectAll = mod$p.$selectAll;
|
|
92214
|
+
mod$p.$setCompositionKey;
|
|
92215
|
+
const $setPointFromCaret = mod$p.$setPointFromCaret;
|
|
92216
|
+
const $setSelection = mod$p.$setSelection;
|
|
92217
|
+
mod$p.$setSelectionFromCaretRange;
|
|
92218
|
+
const $setState = mod$p.$setState;
|
|
92219
|
+
const $splitNode = mod$p.$splitNode;
|
|
92220
|
+
mod$p.$updateRangeSelectionFromCaretRange;
|
|
92221
|
+
const ArtificialNode__DO_NOT_USE = mod$p.ArtificialNode__DO_NOT_USE;
|
|
92222
|
+
const BLUR_COMMAND = mod$p.BLUR_COMMAND;
|
|
92223
|
+
const CAN_REDO_COMMAND = mod$p.CAN_REDO_COMMAND;
|
|
92224
|
+
const CAN_UNDO_COMMAND = mod$p.CAN_UNDO_COMMAND;
|
|
92225
|
+
const CLEAR_EDITOR_COMMAND = mod$p.CLEAR_EDITOR_COMMAND;
|
|
92226
|
+
const CLEAR_HISTORY_COMMAND = mod$p.CLEAR_HISTORY_COMMAND;
|
|
92227
|
+
const CLICK_COMMAND = mod$p.CLICK_COMMAND;
|
|
92228
|
+
const COMMAND_PRIORITY_CRITICAL = mod$p.COMMAND_PRIORITY_CRITICAL;
|
|
92229
|
+
const COMMAND_PRIORITY_EDITOR = mod$p.COMMAND_PRIORITY_EDITOR;
|
|
92230
|
+
const COMMAND_PRIORITY_HIGH = mod$p.COMMAND_PRIORITY_HIGH;
|
|
92231
|
+
const COMMAND_PRIORITY_LOW = mod$p.COMMAND_PRIORITY_LOW;
|
|
92232
|
+
mod$p.COMMAND_PRIORITY_NORMAL;
|
|
92233
|
+
const CONTROLLED_TEXT_INSERTION_COMMAND = mod$p.CONTROLLED_TEXT_INSERTION_COMMAND;
|
|
92234
|
+
const COPY_COMMAND = mod$p.COPY_COMMAND;
|
|
92235
|
+
const CUT_COMMAND = mod$p.CUT_COMMAND;
|
|
92236
|
+
const DELETE_CHARACTER_COMMAND = mod$p.DELETE_CHARACTER_COMMAND;
|
|
92237
|
+
const DELETE_LINE_COMMAND = mod$p.DELETE_LINE_COMMAND;
|
|
92238
|
+
const DELETE_WORD_COMMAND = mod$p.DELETE_WORD_COMMAND;
|
|
92239
|
+
mod$p.DRAGEND_COMMAND;
|
|
92240
|
+
const DRAGOVER_COMMAND = mod$p.DRAGOVER_COMMAND;
|
|
92241
|
+
const DRAGSTART_COMMAND = mod$p.DRAGSTART_COMMAND;
|
|
92242
|
+
const DROP_COMMAND = mod$p.DROP_COMMAND;
|
|
92243
|
+
const DecoratorNode = mod$p.DecoratorNode;
|
|
92244
|
+
const ElementNode = mod$p.ElementNode;
|
|
92245
|
+
const FOCUS_COMMAND = mod$p.FOCUS_COMMAND;
|
|
92246
|
+
const FORMAT_ELEMENT_COMMAND = mod$p.FORMAT_ELEMENT_COMMAND;
|
|
92247
|
+
const FORMAT_TEXT_COMMAND = mod$p.FORMAT_TEXT_COMMAND;
|
|
92248
|
+
const INDENT_CONTENT_COMMAND = mod$p.INDENT_CONTENT_COMMAND;
|
|
92249
|
+
const INSERT_LINE_BREAK_COMMAND = mod$p.INSERT_LINE_BREAK_COMMAND;
|
|
92250
|
+
const INSERT_PARAGRAPH_COMMAND = mod$p.INSERT_PARAGRAPH_COMMAND;
|
|
92251
|
+
const INSERT_TAB_COMMAND = mod$p.INSERT_TAB_COMMAND;
|
|
92252
|
+
const INTERNAL_$isBlock = mod$p.INTERNAL_$isBlock;
|
|
92253
|
+
mod$p.IS_ALL_FORMATTING;
|
|
92254
|
+
mod$p.IS_BOLD;
|
|
92255
|
+
mod$p.IS_CODE;
|
|
92256
|
+
mod$p.IS_HIGHLIGHT;
|
|
92257
|
+
mod$p.IS_ITALIC;
|
|
92258
|
+
mod$p.IS_STRIKETHROUGH;
|
|
92259
|
+
mod$p.IS_SUBSCRIPT;
|
|
92260
|
+
mod$p.IS_SUPERSCRIPT;
|
|
92261
|
+
mod$p.IS_UNDERLINE;
|
|
92262
|
+
const KEY_ARROW_DOWN_COMMAND = mod$p.KEY_ARROW_DOWN_COMMAND;
|
|
92263
|
+
const KEY_ARROW_LEFT_COMMAND = mod$p.KEY_ARROW_LEFT_COMMAND;
|
|
92264
|
+
const KEY_ARROW_RIGHT_COMMAND = mod$p.KEY_ARROW_RIGHT_COMMAND;
|
|
92265
|
+
const KEY_ARROW_UP_COMMAND = mod$p.KEY_ARROW_UP_COMMAND;
|
|
92266
|
+
const KEY_BACKSPACE_COMMAND = mod$p.KEY_BACKSPACE_COMMAND;
|
|
92267
|
+
const KEY_DELETE_COMMAND = mod$p.KEY_DELETE_COMMAND;
|
|
92268
|
+
const KEY_DOWN_COMMAND = mod$p.KEY_DOWN_COMMAND;
|
|
92269
|
+
const KEY_ENTER_COMMAND = mod$p.KEY_ENTER_COMMAND;
|
|
92270
|
+
const KEY_ESCAPE_COMMAND = mod$p.KEY_ESCAPE_COMMAND;
|
|
92271
|
+
const KEY_MODIFIER_COMMAND = mod$p.KEY_MODIFIER_COMMAND;
|
|
92272
|
+
const KEY_SPACE_COMMAND = mod$p.KEY_SPACE_COMMAND;
|
|
92273
|
+
const KEY_TAB_COMMAND = mod$p.KEY_TAB_COMMAND;
|
|
92274
|
+
mod$p.LineBreakNode;
|
|
92275
|
+
mod$p.MOVE_TO_END;
|
|
92276
|
+
mod$p.MOVE_TO_START;
|
|
92277
|
+
mod$p.NODE_STATE_KEY;
|
|
92278
|
+
const OUTDENT_CONTENT_COMMAND = mod$p.OUTDENT_CONTENT_COMMAND;
|
|
92279
|
+
const PASTE_COMMAND = mod$p.PASTE_COMMAND;
|
|
92280
|
+
const ParagraphNode = mod$p.ParagraphNode;
|
|
92281
|
+
const REDO_COMMAND = mod$p.REDO_COMMAND;
|
|
92282
|
+
const REMOVE_TEXT_COMMAND = mod$p.REMOVE_TEXT_COMMAND;
|
|
92283
|
+
mod$p.RootNode;
|
|
92284
|
+
const SELECTION_CHANGE_COMMAND = mod$p.SELECTION_CHANGE_COMMAND;
|
|
92285
|
+
const SELECTION_INSERT_CLIPBOARD_NODES_COMMAND = mod$p.SELECTION_INSERT_CLIPBOARD_NODES_COMMAND;
|
|
92286
|
+
const SELECT_ALL_COMMAND = mod$p.SELECT_ALL_COMMAND;
|
|
92287
|
+
mod$p.TEXT_TYPE_TO_FORMAT;
|
|
92288
|
+
mod$p.TabNode;
|
|
92289
|
+
const TextNode = mod$p.TextNode;
|
|
92290
|
+
const UNDO_COMMAND = mod$p.UNDO_COMMAND;
|
|
92291
|
+
const createCommand = mod$p.createCommand;
|
|
92292
|
+
const createEditor = mod$p.createEditor;
|
|
92293
|
+
mod$p.createState;
|
|
92294
|
+
mod$p.flipDirection;
|
|
92295
|
+
mod$p.getDOMOwnerDocument;
|
|
92296
|
+
const getDOMSelection$1 = mod$p.getDOMSelection;
|
|
92297
|
+
mod$p.getDOMSelectionFromTarget;
|
|
92298
|
+
const getDOMTextNode$1 = mod$p.getDOMTextNode;
|
|
92299
|
+
mod$p.getEditorPropertyFromDOMNode;
|
|
92300
|
+
const getNearestEditorFromDOMNode = mod$p.getNearestEditorFromDOMNode;
|
|
92301
|
+
const isBlockDomNode$1 = mod$p.isBlockDomNode;
|
|
92302
|
+
mod$p.isCurrentlyReadOnlyMode;
|
|
92303
|
+
mod$p.isDOMDocumentNode;
|
|
92304
|
+
const isDOMNode = mod$p.isDOMNode;
|
|
92305
|
+
mod$p.isDOMTextNode;
|
|
92306
|
+
mod$p.isDOMUnmanaged;
|
|
92307
|
+
const isDocumentFragment = mod$p.isDocumentFragment;
|
|
92308
|
+
const isHTMLAnchorElement$1 = mod$p.isHTMLAnchorElement;
|
|
92309
|
+
const isHTMLElement$2 = mod$p.isHTMLElement;
|
|
92310
|
+
const isInlineDomNode = mod$p.isInlineDomNode;
|
|
92311
|
+
mod$p.isLexicalEditor;
|
|
92312
|
+
const isSelectionCapturedInDecoratorInput = mod$p.isSelectionCapturedInDecoratorInput;
|
|
92313
|
+
const isSelectionWithinEditor = mod$p.isSelectionWithinEditor;
|
|
92314
|
+
const makeStepwiseIterator = mod$p.makeStepwiseIterator;
|
|
92315
|
+
mod$p.resetRandomKey;
|
|
92316
|
+
mod$p.setDOMUnmanaged;
|
|
92317
|
+
const setNodeIndentFromDOM = mod$p.setNodeIndentFromDOM;
|
|
92315
92318
|
|
|
92316
92319
|
/**
|
|
92317
92320
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -93238,7 +93241,7 @@ function $getAncestor$1(node, predicate) {
|
|
|
93238
93241
|
/** @deprecated renamed to {@link $trimTextContentFromAnchor} by @lexical/eslint-plugin rules-of-lexical */
|
|
93239
93242
|
const trimTextContentFromAnchor = $trimTextContentFromAnchor;
|
|
93240
93243
|
|
|
93241
|
-
var modDev$
|
|
93244
|
+
var modDev$o = /*#__PURE__*/Object.freeze({
|
|
93242
93245
|
__proto__: null,
|
|
93243
93246
|
$addNodeStyle: $addNodeStyle$1,
|
|
93244
93247
|
$copyBlockFormatIndent: $copyBlockFormatIndent,
|
|
@@ -93271,9 +93274,9 @@ var modDev$m = /*#__PURE__*/Object.freeze({
|
|
|
93271
93274
|
* LICENSE file in the root directory of this source tree.
|
|
93272
93275
|
*
|
|
93273
93276
|
*/
|
|
93274
|
-
function N$6(e,...t){const n=new URL("https://lexical.dev/docs/error"),o=new URLSearchParams;o.append("code",e);for(const e of t)o.append("v",e);throw n.search=o.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const w$5=new Map;function C$
|
|
93277
|
+
function N$6(e,...t){const n=new URL("https://lexical.dev/docs/error"),o=new URLSearchParams;o.append("code",e);for(const e of t)o.append("v",e);throw n.search=o.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const w$5=new Map;function C$5(e){let t=e;for(;null!=t;){if(t.nodeType===Node.TEXT_NODE)return t;t=t.firstChild;}return null}function P$4(e){const t=e.parentNode;if(null==t)throw new Error("Should never happen");return [t,Array.from(t.childNodes).indexOf(e)]}function k$7(t,n,o,l,r){const s=n.getKey(),i=l.getKey(),c=document.createRange();let f=t.getElementByKey(s),u=t.getElementByKey(i),g=o,a=r;if($isTextNode(n)&&(f=C$5(f)),$isTextNode(l)&&(u=C$5(u)),void 0===n||void 0===l||null===f||null===u)return null;"BR"===f.nodeName&&([f,g]=P$4(f)),"BR"===u.nodeName&&([u,a]=P$4(u));const d=f.firstChild;f===u&&null!=d&&"BR"===d.nodeName&&0===g&&0===a&&(a=1);try{c.setStart(f,g),c.setEnd(u,a);}catch(e){return null}return !c.collapsed||g===a&&s===i||(c.setStart(u,a),c.setEnd(f,g)),c}function E$6(e,t){const n=e.getRootElement();if(null===n)return [];const o=n.getBoundingClientRect(),l=getComputedStyle(n),r=parseFloat(l.paddingLeft)+parseFloat(l.paddingRight),s=Array.from(t.getClientRects());let i,c=s.length;s.sort(((e,t)=>{const n=e.top-t.top;return Math.abs(n)<=3?e.left-t.left:n}));for(let e=0;e<c;e++){const t=s[e],n=i&&i.top<=t.top&&i.top+i.height>t.top&&i.left+i.width>t.left,l=t.width+r===o.width;n||l?(s.splice(e--,1),c--):i=t;}return s}function K$2(e){const t={};if(!e)return t;const n=e.split(";");for(const e of n)if(""!==e){const[n,o]=e.split(/:([^]+)/);n&&o&&(t[n.trim()]=o.trim());}return t}function I$4(e){let t=w$5.get(e);return void 0===t&&(t=K$2(e),w$5.set(e,t)),t}function F$3(e){let t="";for(const n in e)n&&(t+=`${n}: ${e[n]};`);return t}function B$3(e,n){const o=e.getStartEndPoints();if(n.isSelected(e)&&!n.isSegmented()&&!n.isToken()&&null!==o){const[l,r]=o,s=e.isBackward(),i=l.getNode(),c=r.getNode(),f=n.is(i),u=n.is(c);if(f||u){const[o,l]=$getCharacterOffsets(e),r=i.is(c),f=n.is(s?c:i),u=n.is(s?i:c);let g,a=0;if(r)a=o>l?l:o,g=o>l?o:l;else if(f){a=s?l:o,g=void 0;}else if(u){a=0,g=s?o:l;}return n.__text=n.__text.slice(a,g),n}}return n}function b$7(e){if("text"===e.type)return e.offset===e.getNode().getTextContentSize();const t=e.getNode();return $isElementNode(t)||N$6(177),e.offset===t.getChildrenSize()}function O$5(t,c,f){let u=c.getNode(),g=f;if($isElementNode(u)){const e=u.getDescendantByIndex(c.offset);null!==e&&(u=e);}for(;g>0&&null!==u;){if($isElementNode(u)){const e=u.getLastDescendant();null!==e&&(u=e);}let f=u.getPreviousSibling(),a=0;if(null===f){let e=u.getParentOrThrow(),t=e.getPreviousSibling();for(;null===t;){if(e=e.getParent(),null===e){f=null;break}t=e.getPreviousSibling();}null!==e&&(a=e.isInline()?0:2,f=t);}let d=u.getTextContent();""===d&&$isElementNode(u)&&!u.isInline()&&(d="\n\n");const p=d.length;if(!$isTextNode(u)||g>=p){const e=u.getParent();u.remove(),null==e||0!==e.getChildrenSize()||$isRootNode(e)||e.remove(),g-=p+a,u=f;}else {const n=u.getKey(),o=t.getEditorState().read((()=>{const t=$getNodeByKey(n);return $isTextNode(t)&&t.isSimpleText()?t.getTextContent():null})),f=p-g,a=d.slice(0,f);if(null!==o&&o!==d){const e=$getPreviousSelection();let t=u;if(u.isSimpleText())u.setTextContent(o);else {const e=$createTextNode(o);u.replace(e),t=e;}if($isRangeSelection(e)&&e.isCollapsed()){const n=e.anchor.offset;t.select(n,n);}}else if(u.isSimpleText()){const e=c.key===n;let t=c.offset;t<g&&(t=p);const o=e?t-g:0,l=e?t:f;if(e&&0===o){const[e]=u.splitText(o,l);e.remove();}else {const[,e]=u.splitText(o,l);e.remove();}}else {const e=$createTextNode(a);u.replace(e);}g=0;}}}function R$4(e){const t=e.getStyle(),n=K$2(t);w$5.set(t,n);}function z$3(t,o){($isRangeSelection(t)?t.isCollapsed():$isTextNode(t)||$isElementNode(t))||N$6(280);const l=I$4($isRangeSelection(t)?t.style:$isTextNode(t)?t.getStyle():t.getTextStyle()),r=Object.entries(o).reduce(((e,[n,o])=>("function"==typeof o?e[n]=o(l[n],t):null===o?delete e[n]:e[n]=o,e)),{...l}),s=F$3(r);$isRangeSelection(t)||$isTextNode(t)?t.setStyle(s):t.setTextStyle(s),w$5.set(s,r);}function A$3(e,t){if($isRangeSelection(e)&&e.isCollapsed()){z$3(e,t);const o=e.anchor.getNode();$isElementNode(o)&&o.isEmpty()&&z$3(o,t);}L$4((e=>{z$3(e,t);}));}function L$4(t){const n=$getSelection();if(!n)return;const o=new Map;if($isRangeSelection(n))for(const e of $caretRangeFromSelection(n).getTextSlices())e&&o.set(e.caret.origin.getKey(),e.getSliceIndices());const l=n.getNodes();for(const n of l){if(!$isTextNode(n)||!n.canHaveFormat())continue;const[l,s]=(r=n,o.get(r.getKey())||[0,r.getTextContentSize()]);if(s!==l)if($isTokenOrSegmented(n)||0===l&&s===n.getTextContentSize())t(n);else {t(n.splitText(l,s)[0===l?0:1]);}}var r;$isRangeSelection(n)&&"text"===n.anchor.type&&"text"===n.focus.type&&n.anchor.key===n.focus.key&&M$4(n);}function M$4(e){if(e.isBackward()){const{anchor:t,focus:n}=e,{key:o,offset:l,type:r}=t;t.set(n.key,n.offset,n.type),n.set(o,l,r);}}function $$2(e,t){const n=e.getFormatType(),o=e.getIndent();n!==t.getFormatType()&&t.setFormat(n),o!==t.getIndent()&&t.setIndent(o);}function _$5(e,t,o=$$2){if(null===e)return;const l=e.getStartEndPoints(),r=new Map;let s=null;if(l){const[e,t]=l;s=$createRangeSelection(),s.anchor.set(e.key,e.offset,e.type),s.focus.set(t.key,t.offset,t.type);const o=V$2(e.getNode(),INTERNAL_$isBlock),i=V$2(t.getNode(),INTERNAL_$isBlock);$isElementNode(o)&&r.set(o.getKey(),o),$isElementNode(i)&&r.set(i.getKey(),i);}for(const t of e.getNodes())$isElementNode(t)&&INTERNAL_$isBlock(t)&&r.set(t.getKey(),t);for(const[e,n]of r){const l=t();o(n,l),n.replace(l,!0),s&&(e===s.anchor.key&&s.anchor.set(l.getKey(),s.anchor.offset,s.anchor.type),e===s.focus.key&&s.focus.set(l.getKey(),s.focus.offset,s.focus.type));}s&&e.is($getSelection())&&$setSelection(s);}function D$5(e){return e.getNode().isAttached()}function U$4(e){let t=e;for(;null!==t&&!$isRootOrShadowRoot(t);){const e=t.getLatest(),n=t.getParent();0===e.getChildrenSize()&&t.remove(!0),t=n;}}function j$2(e,t,n=null){const o=e.getStartEndPoints(),l=o?o[0]:null,r=e.getNodes(),s=r.length;if(null!==l&&(0===s||1===s&&"element"===l.type&&0===l.getNode().getChildrenSize())){const e="text"===l.type?l.getNode().getParentOrThrow():l.getNode(),o=e.getChildren();let r=t();return r.setFormat(e.getFormatType()),r.setIndent(e.getIndent()),o.forEach((e=>r.append(e))),n&&(r=n.append(r)),void e.replace(r)}let i=null,c=[];for(let o=0;o<s;o++){const l=r[o];$isRootOrShadowRoot(l)?(H$3(e,c,c.length,t,n),c=[],i=l):null===i||null!==i&&$hasAncestor(l,i)?c.push(l):(H$3(e,c,c.length,t,n),c=[l]);}H$3(e,c,c.length,t,n);}function H$3(e,t,o,l,s=null){if(0===t.length)return;const c=t[0],f=new Map,u=[];let g=$isElementNode(c)?c:c.getParentOrThrow();g.isInline()&&(g=g.getParentOrThrow());let a=!1;for(;null!==g;){const e=g.getPreviousSibling();if(null!==e){g=e,a=!0;break}if(g=g.getParentOrThrow(),$isRootOrShadowRoot(g))break}const h=new Set;for(let e=0;e<o;e++){const o=t[e];$isElementNode(o)&&0===o.getChildrenSize()&&h.add(o.getKey());}const m=new Set;for(let e=0;e<o;e++){const o=t[e];let r=o.getParent();if(null!==r&&r.isInline()&&(r=r.getParent()),null!==r&&$isLeafNode(o)&&!m.has(o.getKey())){const e=r.getKey();if(void 0===f.get(e)){const t=l();t.setFormat(r.getFormatType()),t.setIndent(r.getIndent()),u.push(t),f.set(e,t),r.getChildren().forEach((e=>{t.append(e),m.add(e.getKey()),$isElementNode(e)&&e.getChildrenKeys().forEach((e=>m.add(e)));})),U$4(r);}}else if(h.has(o.getKey())){$isElementNode(o)||N$6(179);const e=l();e.setFormat(o.getFormatType()),e.setIndent(o.getIndent()),u.push(e),o.remove(!0);}}if(null!==s)for(let e=0;e<u.length;e++){const t=u[e];s.append(t);}let S=null;if($isRootOrShadowRoot(g))if(a)if(null!==s)g.insertAfter(s);else for(let e=u.length-1;e>=0;e--){const t=u[e];g.insertAfter(t);}else {const e=g.getFirstChild();if($isElementNode(e)&&(g=e),null===e)if(s)g.append(s);else for(let e=0;e<u.length;e++){const t=u[e];g.append(t),S=t;}else if(null!==s)e.insertBefore(s);else for(let t=0;t<u.length;t++){const n=u[t];e.insertBefore(n),S=n;}}else if(s)g.insertAfter(s);else for(let e=u.length-1;e>=0;e--){const t=u[e];g.insertAfter(t),S=t;}const x=$getPreviousSelection();$isRangeSelection(x)&&D$5(x.anchor)&&D$5(x.focus)?$setSelection(x.clone()):null!==S?S.selectEnd():e.dirty=!0;}function W$2(e,t){const o=$caretFromPoint(e.focus,t?"previous":"next");if($isExtendableTextPointCaret(o))return !1;for(const e of $extendCaretToRange(o)){if($isChildCaret(e))return !e.origin.isInline();if(!$isElementNode(e.origin)){if($isDecoratorNode(e.origin))return !0;break}}return !1}function X$2(e,t,n,o){e.modify(t?"extend":"move",n,o);}function q$3(e){const t=e.anchor.getNode();return "rtl"===($isRootNode(t)?t:t.getParentOrThrow()).getDirection()}function G$3(e,t,n){const o=q$3(e);X$2(e,t,n?!o:o,"character");}function J$2(e,t,n){const o=I$4(e.getStyle());return null!==o&&o[t]||n}function Q$2(t,n,o=""){let l=null;const r=t.getNodes(),s=t.anchor,c=t.focus,f=t.isBackward(),u=f?c.offset:s.offset,g=f?c.getNode():s.getNode();if($isRangeSelection(t)&&t.isCollapsed()&&""!==t.style){const e=I$4(t.style);if(null!==e&&n in e)return e[n]}for(let t=0;t<r.length;t++){const s=r[t];if((0===t||0!==u||!s.is(g))&&$isTextNode(s)){const e=J$2(s,n,o);if(null===l)l=e;else if(l!==e){l="";break}}}return null===l?o:l}function V$2(e,t){let n=e;for(;null!==n&&null!==n.getParent()&&!t(n);)n=n.getParentOrThrow();return t(n)?n:null}const Y$2=O$5;
|
|
93275
93278
|
|
|
93276
|
-
var modProd$
|
|
93279
|
+
var modProd$o = /*#__PURE__*/Object.freeze({
|
|
93277
93280
|
__proto__: null,
|
|
93278
93281
|
$addNodeStyle: R$4,
|
|
93279
93282
|
$copyBlockFormatIndent: $$2,
|
|
@@ -93285,13 +93288,13 @@ var modProd$m = /*#__PURE__*/Object.freeze({
|
|
|
93285
93288
|
$moveCaretSelection: X$2,
|
|
93286
93289
|
$moveCharacter: G$3,
|
|
93287
93290
|
$patchStyleText: A$3,
|
|
93288
|
-
$setBlocksType: _$
|
|
93291
|
+
$setBlocksType: _$5,
|
|
93289
93292
|
$shouldOverrideDefaultCharacterSelection: W$2,
|
|
93290
93293
|
$sliceSelectedTextNodeContent: B$3,
|
|
93291
|
-
$trimTextContentFromAnchor: O$
|
|
93294
|
+
$trimTextContentFromAnchor: O$5,
|
|
93292
93295
|
$wrapNodes: j$2,
|
|
93293
93296
|
createDOMRange: k$7,
|
|
93294
|
-
createRectsFromDOMRange: E$
|
|
93297
|
+
createRectsFromDOMRange: E$6,
|
|
93295
93298
|
getCSSFromStyleObject: F$3,
|
|
93296
93299
|
getStyleObjectFromCSS: I$4,
|
|
93297
93300
|
trimTextContentFromAnchor: Y$2,
|
|
@@ -93306,29 +93309,29 @@ var modProd$m = /*#__PURE__*/Object.freeze({
|
|
|
93306
93309
|
* LICENSE file in the root directory of this source tree.
|
|
93307
93310
|
*
|
|
93308
93311
|
*/
|
|
93309
|
-
const mod$
|
|
93310
|
-
const $addNodeStyle = mod$
|
|
93311
|
-
mod$
|
|
93312
|
-
mod$
|
|
93313
|
-
mod$
|
|
93314
|
-
mod$
|
|
93315
|
-
mod$
|
|
93316
|
-
const $isAtNodeEnd = mod$
|
|
93317
|
-
mod$
|
|
93318
|
-
mod$
|
|
93319
|
-
const $moveCharacter = mod$
|
|
93320
|
-
mod$
|
|
93321
|
-
mod$
|
|
93322
|
-
const $setBlocksType = mod$
|
|
93323
|
-
const $shouldOverrideDefaultCharacterSelection = mod$
|
|
93324
|
-
const $sliceSelectedTextNodeContent = mod$
|
|
93325
|
-
mod$
|
|
93326
|
-
mod$
|
|
93327
|
-
mod$
|
|
93328
|
-
const createRectsFromDOMRange = mod$
|
|
93329
|
-
mod$
|
|
93330
|
-
mod$
|
|
93331
|
-
mod$
|
|
93312
|
+
const mod$o = process.env.NODE_ENV !== 'production' ? modDev$o : modProd$o;
|
|
93313
|
+
const $addNodeStyle = mod$o.$addNodeStyle;
|
|
93314
|
+
mod$o.$cloneWithProperties;
|
|
93315
|
+
mod$o.$copyBlockFormatIndent;
|
|
93316
|
+
mod$o.$ensureForwardRangeSelection;
|
|
93317
|
+
mod$o.$forEachSelectedTextNode;
|
|
93318
|
+
mod$o.$getSelectionStyleValueForProperty;
|
|
93319
|
+
const $isAtNodeEnd = mod$o.$isAtNodeEnd;
|
|
93320
|
+
mod$o.$isParentElementRTL;
|
|
93321
|
+
mod$o.$moveCaretSelection;
|
|
93322
|
+
const $moveCharacter = mod$o.$moveCharacter;
|
|
93323
|
+
mod$o.$patchStyleText;
|
|
93324
|
+
mod$o.$selectAll;
|
|
93325
|
+
const $setBlocksType = mod$o.$setBlocksType;
|
|
93326
|
+
const $shouldOverrideDefaultCharacterSelection = mod$o.$shouldOverrideDefaultCharacterSelection;
|
|
93327
|
+
const $sliceSelectedTextNodeContent = mod$o.$sliceSelectedTextNodeContent;
|
|
93328
|
+
mod$o.$trimTextContentFromAnchor;
|
|
93329
|
+
mod$o.$wrapNodes;
|
|
93330
|
+
mod$o.createDOMRange;
|
|
93331
|
+
const createRectsFromDOMRange = mod$o.createRectsFromDOMRange;
|
|
93332
|
+
mod$o.getCSSFromStyleObject;
|
|
93333
|
+
mod$o.getStyleObjectFromCSS;
|
|
93334
|
+
mod$o.trimTextContentFromAnchor;
|
|
93332
93335
|
|
|
93333
93336
|
/**
|
|
93334
93337
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -94429,7 +94432,7 @@ function makeStateWrapper(stateConfig) {
|
|
|
94429
94432
|
};
|
|
94430
94433
|
}
|
|
94431
94434
|
|
|
94432
|
-
var modDev$
|
|
94435
|
+
var modDev$n = /*#__PURE__*/Object.freeze({
|
|
94433
94436
|
__proto__: null,
|
|
94434
94437
|
$descendantsMatching: $descendantsMatching,
|
|
94435
94438
|
$dfs: $dfs,
|
|
@@ -94490,9 +94493,9 @@ var modDev$l = /*#__PURE__*/Object.freeze({
|
|
|
94490
94493
|
* LICENSE file in the root directory of this source tree.
|
|
94491
94494
|
*
|
|
94492
94495
|
*/
|
|
94493
|
-
function L$3(t,...e){const n=new URL("https://lexical.dev/docs/error"),o=new URLSearchParams;o.append("code",t);for(const t of e)o.append("v",t);throw n.search=o.toString(),Error(`Minified Lexical error #${t}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const N$5="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,P$3=N$5&&"documentMode"in document?document.documentMode:null,b$6=N$5&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),T$2=N$5&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),M$3=!(!N$5||!("InputEvent"in window)||P$3)&&"getTargetRanges"in new window.InputEvent("input"),R$3=N$5&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),B$2=N$5&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,_$
|
|
94496
|
+
function L$3(t,...e){const n=new URL("https://lexical.dev/docs/error"),o=new URLSearchParams;o.append("code",t);for(const t of e)o.append("v",t);throw n.search=o.toString(),Error(`Minified Lexical error #${t}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}const N$5="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,P$3=N$5&&"documentMode"in document?document.documentMode:null,b$6=N$5&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),T$2=N$5&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),M$3=!(!N$5||!("InputEvent"in window)||P$3)&&"getTargetRanges"in new window.InputEvent("input"),R$3=N$5&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),B$2=N$5&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,_$4=N$5&&/Android/.test(navigator.userAgent),O$4=N$5&&/^(?=.*Chrome).*/i.test(navigator.userAgent),k$6=N$5&&_$4&&O$4,K$1=N$5&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!O$4;function H$2(...t){const e=[];for(const n of t)if(n&&"string"==typeof n)for(const[t]of n.matchAll(/\S+/g))e.push(t);return e}function $$1(...t){return ()=>{for(let e=t.length-1;e>=0;e--)t[e]();t.length=0;}}function D$4(t){return `${t}px`}const I$3={attributes:!0,characterData:!0,childList:!0,subtree:!0};function j$1(e,n,o){let r=null,i=null,l=null,s=[];const u=document.createElement("div");function c(){null===r&&L$3(182),null===i&&L$3(183);const{left:t,top:l}=i.getBoundingClientRect(),c=createRectsFromDOMRange(e,n);var f,a;u.isConnected||(a=u,(f=i).insertBefore(a,f.firstChild));let d=!1;for(let e=0;e<c.length;e++){const n=c[e],o=s[e]||document.createElement("div"),r=o.style;"absolute"!==r.position&&(r.position="absolute",d=!0);const i=D$4(n.left-t);r.left!==i&&(r.left=i,d=!0);const f=D$4(n.top-l);r.top!==f&&(o.style.top=f,d=!0);const a=D$4(n.width);r.width!==a&&(o.style.width=a,d=!0);const g=D$4(n.height);r.height!==g&&(o.style.height=g,d=!0),o.parentNode!==u&&(u.append(o),d=!0),s[e]=o;}for(;s.length>c.length;)s.pop();d&&o(s);}function f(){i=null,r=null,null!==l&&l.disconnect(),l=null,u.remove();for(const t of s)t.remove();s=[];}u.style.position="relative";const a=e.registerRootListener((function n(){const o=e.getRootElement();if(null===o)return f();const s=o.parentElement;if(!isHTMLElement$2(s))return f();f(),r=o,i=s,l=new MutationObserver((t=>{const o=e.getRootElement(),l=o&&o.parentElement;if(o!==r||l!==i)return n();for(const e of t)if(!u.contains(e.target))return c()})),l.observe(s,I$3),c();}));return ()=>{a(),f();}}function U$3(t,e,n){if("text"!==t.type&&$isElementNode(e)){const o=e.getDOMSlot(n);return [o.element,o.getFirstChildOffset()+t.offset]}return [getDOMTextNode$1(n)||n,t.offset]}function z$2(t,o){let r=null,i=null,l=null,s=null,u=null,c=null,f=()=>{};function a(a){a.read((()=>{const a=$getSelection();if(!$isRangeSelection(a))return r=null,l=null,s=null,c=null,f(),void(f=()=>{});const{anchor:d,focus:g}=a,p=d.getNode(),m=p.getKey(),h=d.offset,v=g.getNode(),y=v.getKey(),w=g.offset,x=t.getElementByKey(m),E=t.getElementByKey(y),S=null===r||x!==i||h!==l||m!==r.getKey(),A=null===s||E!==u||w!==c||y!==s.getKey();if((S||A)&&null!==x&&null!==E){const e=function(t,e,n,o,r,i,l){const s=(t._window?t._window.document:document).createRange();return i.isBefore(n)?(s.setStart(...U$3(r,i,l)),s.setEnd(...U$3(e,n,o))):(s.setStart(...U$3(e,n,o)),s.setEnd(...U$3(r,i,l))),s}(t,d,p,x,g,v,E);f(),f=j$1(t,e,(t=>{if(void 0===o)for(const e of t){const t=e.style;"Highlight"!==t.background&&(t.background="Highlight"),"HighlightText"!==t.color&&(t.color="HighlightText"),t.marginTop!==D$4(-1.5)&&(t.marginTop=D$4(-1.5)),t.paddingTop!==D$4(4)&&(t.paddingTop=D$4(4)),t.paddingBottom!==D$4(0)&&(t.paddingBottom=D$4(0));}else o(t);}));}r=p,i=x,l=h,s=v,u=E,c=w;}));}return a(t.getEditorState()),$$1(t.registerUpdateListener((({editorState:t})=>a(t))),(()=>{f();}))}function F$2(t){let e=null;const n=()=>{const n=getSelection(),o=n&&n.anchorNode,r=t.getRootElement();null!==o&&null!==r&&r.contains(o)?null!==e&&(e(),e=null):null===e&&(e=z$2(t));};return document.addEventListener("selectionchange",n),()=>{null!==e&&e(),document.removeEventListener("selectionchange",n);}}const W$1=M$3,V$1=N$5,G$2=_$4,q$2=k$6,J$1=b$6,Q$1=K$1,X$1=O$4,Y$1=T$2,Z$1=B$2,tt$1=R$3;function et$1(t,...e){const n=H$2(...e);n.length>0&&t.classList.add(...n);}function nt$1(t,...e){const n=H$2(...e);n.length>0&&t.classList.remove(...n);}function ot(t,e){for(const n of e)if(t.type.startsWith(n))return !0;return !1}function rt$1(t,e){const n=t[Symbol.iterator]();return new Promise(((t,o)=>{const r=[],i=()=>{const{done:l,value:s}=n.next();if(l)return t(r);const u=new FileReader;u.addEventListener("error",o),u.addEventListener("load",(()=>{const t=u.result;"string"==typeof t&&r.push({file:s,result:t}),i();})),ot(s,e)?u.readAsDataURL(s):i();};i();}))}function it$1(t,e){return Array.from(ut(t,e))}function lt$1(t){return t?t.getAdjacentCaret():null}function st$1(t,e){return Array.from(gt$1(t,e))}function ut(t,e){return ct("next",t,e)}function ct(t,e,n){const r=$getRoot(),d=e||r,g=$isElementNode(d)?$getChildCaret(d,t):$getSiblingCaret(d,t),p=at(d),m=n?$getAdjacentChildCaret($getChildCaretOrSelf($getSiblingCaret(n,t))):function(t,e){const n=Ot$1($getSiblingCaret(t,e));return n&&n[0]}(d,t);let h=p;return makeStepwiseIterator({hasNext:t=>null!==t,initial:g,map:t=>({depth:h,node:t.origin}),step:t=>{if(t.isSameNodeCaret(m))return null;$isChildCaret(t)&&h++;const e=Ot$1(t);return !e||e[0].isSameNodeCaret(m)?null:(h+=e[1],e[0])}})}function ft$1(t){const e=Ot$1($getSiblingCaret(t,"next"));return e&&[e[0].origin,e[1]]}function at(t){let e=-1;for(let n=t;null!==n;n=n.getParent())e++;return e}function dt$1(t){const e=Ot$1($getChildCaretOrSelf($getSiblingCaret(t,"previous")),"root");return e&&e[0].origin}function gt$1(t,e){return ct("previous",t,e)}function pt$1(t,e){let n=t;for(;null!=n;){if(n instanceof e)return n;n=n.getParent();}return null}function mt$1(t){const e=ht$1(t,(t=>$isElementNode(t)&&!t.isInline()));return $isElementNode(e)||L$3(4,t.__key),e}const ht$1=(t,e)=>{let n=t;for(;n!==$getRoot()&&null!=n;){if(e(n))return n;n=n.getParent();}return null};function vt$1(t,e,n,o){const r=t=>t instanceof e;return t.registerNodeTransform(e,(t=>{const e=(t=>{const e=t.getChildren();for(let t=0;t<e.length;t++){const n=e[t];if(r(n))return null}let n=t,o=t;for(;null!==n;)if(o=n,n=n.getParent(),r(n))return {child:o,parent:n};return null})(t);if(null!==e){const{child:r,parent:i}=e;if(r.is(t)){o(i,t);const e=r.getNextSiblings(),l=e.length;if(i.insertAfter(r),0!==l){const t=n(i);r.insertAfter(t);for(let n=0;n<l;n++)t.append(e[n]);}i.canBeEmpty()||0!==i.getChildrenSize()||i.remove();}}}))}function yt$1(t,e){const n=new Map,o=t._pendingEditorState;for(const[t,o]of e._nodeMap)n.set(t,$cloneWithProperties(o));o&&(o._nodeMap=n),t._dirtyType=2;const r=e._selection;$setSelection(null===r?null:r.clone());}function wt$1(t){const o=$getSelection()||$getPreviousSelection();if($isRangeSelection(o)){const{focus:e}=o,n=e.getNode(),r=e.offset;if($isRootOrShadowRoot(n))$getChildCaretAtIndex(n,r,"next").insert(t),t.selectNext();else {let e,o;$isTextNode(n)?(e=n.getParentOrThrow(),o=n.getIndexWithinParent(),r>0&&(o+=1,n.splitText(r))):(e=n,o=r);const[,i]=$splitNode(e,o);i.insertBefore(t),i.selectStart();}}else {if(null!=o){const e=o.getNodes();e[e.length-1].getTopLevelElementOrThrow().insertAfter(t);}else $getRoot().append(t);const e=$createParagraphNode();t.insertAfter(e),e.select();}return t.getLatest()}function xt$1(t,e){const n=e();return t.replace(n),n.append(t),n}function Et$1(t,e){return null!==t&&Object.getPrototypeOf(t).constructor.name===e.name}function St$1(t,e){const n=[];for(let o=0;o<t.length;o++){const r=e(t[o]);null!==r&&n.push(r);}return n}function At$1(t,e){$getChildCaret(t,"next").insert(e);}let Ct$1=!(Y$1||!V$1)&&void 0;function Lt(t){let e=1;if(function(){if(void 0===Ct$1){const t=document.createElement("div");t.style.cssText="position: absolute; opacity: 0; width: 100px; left: -1000px;",document.body.appendChild(t);const e=t.getBoundingClientRect();t.style.setProperty("zoom","2"),Ct$1=t.getBoundingClientRect().width===e.width,document.body.removeChild(t);}return Ct$1}())for(;t;)e*=Number(window.getComputedStyle(t).getPropertyValue("zoom")),t=t.parentElement;return e}function Nt$1(t){return null!==t._parentEditor}function Pt$1(t,e){return bt(t,e,null)}function bt(t,e,n){let r=!1;for(const i of Rt(t))e(i)?null!==n&&n(i):(r=!0,$isElementNode(i)&&bt(i,e,n||(t=>i.insertAfter(t))),i.remove());return r}function Tt$1(t,e){const n=[],r=Array.from(t).reverse();for(let t=r.pop();void 0!==t;t=r.pop())if(e(t))n.push(t);else if($isElementNode(t))for(const e of Rt(t))r.push(e);return n}function Mt(t){return Bt($getChildCaret(t,"next"))}function Rt(t){return Bt($getChildCaret(t,"previous"))}function Bt(t){return makeStepwiseIterator({hasNext:$isSiblingCaret,initial:t.getAdjacentCaret(),map:t=>t.origin.getLatest(),step:t=>t.getAdjacentCaret()})}function _t$1(t){$rewindSiblingCaret($getSiblingCaret(t,"next")).splice(1,t.getChildren());}function Ot$1(t,e="root"){let n=0,o=t,r=$getAdjacentChildCaret(o);for(;null===r;){if(n--,r=o.getParentCaret(e),!r)return null;o=r,r=$getAdjacentChildCaret(o);}return r&&[r,n]}function kt(t){const e=e=>$getState(e,t),n=(e,n)=>$setState(e,t,n);return {$get:e,$set:n,accessors:[e,n],makeGetterMethod:()=>function(){return e(this)},makeSetterMethod:()=>function(t){return n(this,t)},stateConfig:t}}
|
|
94494
94497
|
|
|
94495
|
-
var modProd$
|
|
94498
|
+
var modProd$n = /*#__PURE__*/Object.freeze({
|
|
94496
94499
|
__proto__: null,
|
|
94497
94500
|
$descendantsMatching: Tt$1,
|
|
94498
94501
|
$dfs: it$1,
|
|
@@ -94553,57 +94556,57 @@ var modProd$l = /*#__PURE__*/Object.freeze({
|
|
|
94553
94556
|
* LICENSE file in the root directory of this source tree.
|
|
94554
94557
|
*
|
|
94555
94558
|
*/
|
|
94556
|
-
const mod$
|
|
94557
|
-
mod$
|
|
94558
|
-
mod$
|
|
94559
|
-
mod$
|
|
94560
|
-
const $filter = mod$
|
|
94561
|
-
const $findMatchingParent = mod$
|
|
94562
|
-
mod$
|
|
94563
|
-
mod$
|
|
94564
|
-
mod$
|
|
94565
|
-
mod$
|
|
94566
|
-
const $getNearestBlockElementAncestorOrThrow = mod$
|
|
94567
|
-
const $getNearestNodeOfType = mod$
|
|
94568
|
-
mod$
|
|
94569
|
-
mod$
|
|
94570
|
-
mod$
|
|
94571
|
-
const $insertNodeToNearestRoot = mod$
|
|
94572
|
-
mod$
|
|
94573
|
-
mod$
|
|
94574
|
-
mod$
|
|
94575
|
-
mod$
|
|
94576
|
-
mod$
|
|
94577
|
-
mod$
|
|
94578
|
-
mod$
|
|
94579
|
-
mod$
|
|
94580
|
-
const $wrapNodeInElement = mod$
|
|
94581
|
-
mod$
|
|
94582
|
-
mod$
|
|
94583
|
-
mod$
|
|
94584
|
-
mod$
|
|
94585
|
-
mod$
|
|
94586
|
-
mod$
|
|
94587
|
-
mod$
|
|
94588
|
-
mod$
|
|
94589
|
-
mod$
|
|
94590
|
-
mod$
|
|
94591
|
-
const addClassNamesToElement = mod$
|
|
94592
|
-
const calculateZoomLevel = mod$
|
|
94593
|
-
const isBlockDomNode = mod$
|
|
94594
|
-
const isHTMLAnchorElement = mod$
|
|
94595
|
-
const isHTMLElement$1 = mod$
|
|
94596
|
-
mod$
|
|
94597
|
-
mod$
|
|
94598
|
-
mod$
|
|
94599
|
-
mod$
|
|
94600
|
-
mod$
|
|
94601
|
-
const mergeRegister = mod$
|
|
94602
|
-
const objectKlassEquals = mod$
|
|
94603
|
-
mod$
|
|
94604
|
-
mod$
|
|
94605
|
-
const removeClassNamesFromElement = mod$
|
|
94606
|
-
mod$
|
|
94559
|
+
const mod$n = process.env.NODE_ENV !== 'production' ? modDev$n : modProd$n;
|
|
94560
|
+
mod$n.$descendantsMatching;
|
|
94561
|
+
mod$n.$dfs;
|
|
94562
|
+
mod$n.$dfsIterator;
|
|
94563
|
+
const $filter = mod$n.$filter;
|
|
94564
|
+
const $findMatchingParent = mod$n.$findMatchingParent;
|
|
94565
|
+
mod$n.$firstToLastIterator;
|
|
94566
|
+
mod$n.$getAdjacentCaret;
|
|
94567
|
+
mod$n.$getAdjacentSiblingOrParentSiblingCaret;
|
|
94568
|
+
mod$n.$getDepth;
|
|
94569
|
+
const $getNearestBlockElementAncestorOrThrow = mod$n.$getNearestBlockElementAncestorOrThrow;
|
|
94570
|
+
const $getNearestNodeOfType = mod$n.$getNearestNodeOfType;
|
|
94571
|
+
mod$n.$getNextRightPreorderNode;
|
|
94572
|
+
mod$n.$getNextSiblingOrParentSibling;
|
|
94573
|
+
mod$n.$insertFirst;
|
|
94574
|
+
const $insertNodeToNearestRoot = mod$n.$insertNodeToNearestRoot;
|
|
94575
|
+
mod$n.$isEditorIsNestedEditor;
|
|
94576
|
+
mod$n.$lastToFirstIterator;
|
|
94577
|
+
mod$n.$restoreEditorState;
|
|
94578
|
+
mod$n.$reverseDfs;
|
|
94579
|
+
mod$n.$reverseDfsIterator;
|
|
94580
|
+
mod$n.$splitNode;
|
|
94581
|
+
mod$n.$unwrapAndFilterDescendants;
|
|
94582
|
+
mod$n.$unwrapNode;
|
|
94583
|
+
const $wrapNodeInElement = mod$n.$wrapNodeInElement;
|
|
94584
|
+
mod$n.CAN_USE_BEFORE_INPUT;
|
|
94585
|
+
mod$n.CAN_USE_DOM;
|
|
94586
|
+
mod$n.IS_ANDROID;
|
|
94587
|
+
mod$n.IS_ANDROID_CHROME;
|
|
94588
|
+
mod$n.IS_APPLE;
|
|
94589
|
+
mod$n.IS_APPLE_WEBKIT;
|
|
94590
|
+
mod$n.IS_CHROME;
|
|
94591
|
+
mod$n.IS_FIREFOX;
|
|
94592
|
+
mod$n.IS_IOS;
|
|
94593
|
+
mod$n.IS_SAFARI;
|
|
94594
|
+
const addClassNamesToElement = mod$n.addClassNamesToElement;
|
|
94595
|
+
const calculateZoomLevel = mod$n.calculateZoomLevel;
|
|
94596
|
+
const isBlockDomNode = mod$n.isBlockDomNode;
|
|
94597
|
+
const isHTMLAnchorElement = mod$n.isHTMLAnchorElement;
|
|
94598
|
+
const isHTMLElement$1 = mod$n.isHTMLElement;
|
|
94599
|
+
mod$n.isInlineDomNode;
|
|
94600
|
+
mod$n.isMimeType;
|
|
94601
|
+
mod$n.makeStateWrapper;
|
|
94602
|
+
mod$n.markSelection;
|
|
94603
|
+
mod$n.mediaFileReader;
|
|
94604
|
+
const mergeRegister = mod$n.mergeRegister;
|
|
94605
|
+
const objectKlassEquals = mod$n.objectKlassEquals;
|
|
94606
|
+
mod$n.positionNodeOnRange;
|
|
94607
|
+
mod$n.registerNestedElementResolver;
|
|
94608
|
+
const removeClassNamesFromElement = mod$n.removeClassNamesFromElement;
|
|
94609
|
+
mod$n.selectionAlwaysOnDisplay;
|
|
94607
94610
|
|
|
94608
94611
|
/**
|
|
94609
94612
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -94897,7 +94900,7 @@ function createEmptyHistoryState$2() {
|
|
|
94897
94900
|
};
|
|
94898
94901
|
}
|
|
94899
94902
|
|
|
94900
|
-
var modDev$
|
|
94903
|
+
var modDev$m = /*#__PURE__*/Object.freeze({
|
|
94901
94904
|
__proto__: null,
|
|
94902
94905
|
createEmptyHistoryState: createEmptyHistoryState$2,
|
|
94903
94906
|
registerHistory: registerHistory$1
|
|
@@ -94910,9 +94913,9 @@ var modDev$k = /*#__PURE__*/Object.freeze({
|
|
|
94910
94913
|
* LICENSE file in the root directory of this source tree.
|
|
94911
94914
|
*
|
|
94912
94915
|
*/
|
|
94913
|
-
const l$3=0,f$4=1,p$3=2,h$5=0,m$5=1,g$
|
|
94916
|
+
const l$3=0,f$4=1,p$3=2,h$5=0,m$5=1,g$6=2,_$3=3,S$3=4;function y$5(t,e,n,r,o){if(null===t||0===n.size&&0===r.size&&!o)return h$5;const i=e._selection,s=t._selection;if(o)return m$5;if(!($isRangeSelection(i)&&$isRangeSelection(s)&&s.isCollapsed()&&i.isCollapsed()))return h$5;const c=function(t,e,n){const r=t._nodeMap,o=[];for(const t of e){const e=r.get(t);void 0!==e&&o.push(e);}for(const[t,e]of n){if(!e)continue;const n=r.get(t);void 0===n||$isRootNode(n)||o.push(n);}return o}(e,n,r);if(0===c.length)return h$5;if(c.length>1){const n=e._nodeMap,r=n.get(i.anchor.key),o=n.get(s.anchor.key);return r&&o&&!t._nodeMap.has(r.__key)&&$isTextNode(r)&&1===r.__text.length&&1===i.anchor.offset?g$6:h$5}const l=c[0],f=t._nodeMap.get(l.__key);if(!$isTextNode(f)||!$isTextNode(l)||f.__mode!==l.__mode)return h$5;const p=f.__text,y=l.__text;if(p===y)return h$5;const k=i.anchor,C=s.anchor;if(k.key!==C.key||"text"!==k.type)return h$5;const x=k.offset,M=C.offset,z=y.length-p.length;return 1===z&&M===x-1?g$6:-1===z&&M===x+1?_$3:-1===z&&M===x?S$3:h$5}function k$5(t,e){let n=Date.now(),r=h$5;return (o,i,s,c,d,m)=>{const g=Date.now();if(m.has("historic"))return r=h$5,n=g,p$3;const _=y$5(o,i,c,d,t.isComposing()),S=(()=>{const S=null===s||s.editor===t,y=m.has("history-push");if(!y&&S&&m.has("history-merge"))return l$3;if(null===o)return f$4;const k=i._selection;if(!(c.size>0||d.size>0))return null!==k?l$3:p$3;if(!1===y&&_!==h$5&&_===r&&g<n+e&&S)return l$3;if(1===c.size){if(function(t,e,n){const r=e._nodeMap.get(t),o=n._nodeMap.get(t),i=e._selection,s=n._selection;return !($isRangeSelection(i)&&$isRangeSelection(s)&&"element"===i.anchor.type&&"element"===i.focus.type&&"text"===s.anchor.type&&"text"===s.focus.type||!$isTextNode(r)||!$isTextNode(o)||r.__parent!==o.__parent)&&JSON.stringify(e.read((()=>r.exportJSON())))===JSON.stringify(n.read((()=>o.exportJSON())))}(Array.from(c)[0],o,i))return l$3}return f$4})();return n=g,r=_,S}}function C$4(t){t.undoStack=[],t.redoStack=[],t.current=null;}function x$7(a,u,d){const l=k$5(a,d),h=mergeRegister(a.registerCommand(UNDO_COMMAND,(()=>(function(t,e){const n=e.redoStack,r=e.undoStack;if(0!==r.length){const o=e.current,i=r.pop();null!==o&&(n.push(o),t.dispatchCommand(CAN_REDO_COMMAND,!0)),0===r.length&&t.dispatchCommand(CAN_UNDO_COMMAND,!1),e.current=i||null,i&&i.editor.setEditorState(i.editorState,{tag:"historic"});}}(a,u),!0)),COMMAND_PRIORITY_EDITOR),a.registerCommand(REDO_COMMAND,(()=>(function(t,e){const n=e.redoStack,r=e.undoStack;if(0!==n.length){const o=e.current;null!==o&&(r.push(o),t.dispatchCommand(CAN_UNDO_COMMAND,!0));const i=n.pop();0===n.length&&t.dispatchCommand(CAN_REDO_COMMAND,!1),e.current=i||null,i&&i.editor.setEditorState(i.editorState,{tag:"historic"});}}(a,u),!0)),COMMAND_PRIORITY_EDITOR),a.registerCommand(CLEAR_EDITOR_COMMAND,(()=>(C$4(u),!1)),COMMAND_PRIORITY_EDITOR),a.registerCommand(CLEAR_HISTORY_COMMAND,(()=>(C$4(u),a.dispatchCommand(CAN_REDO_COMMAND,!1),a.dispatchCommand(CAN_UNDO_COMMAND,!1),!0)),COMMAND_PRIORITY_EDITOR),a.registerUpdateListener((({editorState:t,prevEditorState:e,dirtyLeaves:n,dirtyElements:r,tags:o})=>{const i=u.current,d=u.redoStack,h=u.undoStack,m=null===i?null:i.editorState;if(null!==i&&t===m)return;const g=l(e,t,i,n,r,o);if(g===f$4)0!==d.length&&(u.redoStack=[],a.dispatchCommand(CAN_REDO_COMMAND,!1)),null!==i&&(h.push({...i}),a.dispatchCommand(CAN_UNDO_COMMAND,!0));else if(g===p$3)return;u.current={editor:a,editorState:t};})));return h}function M$2(){return {current:null,redoStack:[],undoStack:[]}}
|
|
94914
94917
|
|
|
94915
|
-
var modProd$
|
|
94918
|
+
var modProd$m = /*#__PURE__*/Object.freeze({
|
|
94916
94919
|
__proto__: null,
|
|
94917
94920
|
createEmptyHistoryState: M$2,
|
|
94918
94921
|
registerHistory: x$7
|
|
@@ -94925,9 +94928,9 @@ var modProd$k = /*#__PURE__*/Object.freeze({
|
|
|
94925
94928
|
* LICENSE file in the root directory of this source tree.
|
|
94926
94929
|
*
|
|
94927
94930
|
*/
|
|
94928
|
-
const mod$
|
|
94929
|
-
const createEmptyHistoryState$1 = mod$
|
|
94930
|
-
const registerHistory = mod$
|
|
94931
|
+
const mod$m = process.env.NODE_ENV !== 'production' ? modDev$m : modProd$m;
|
|
94932
|
+
const createEmptyHistoryState$1 = mod$m.createEmptyHistoryState;
|
|
94933
|
+
const registerHistory = mod$m.registerHistory;
|
|
94931
94934
|
|
|
94932
94935
|
/**
|
|
94933
94936
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -94969,7 +94972,7 @@ function HistoryPlugin$1({
|
|
|
94969
94972
|
return null;
|
|
94970
94973
|
}
|
|
94971
94974
|
|
|
94972
|
-
var modDev$
|
|
94975
|
+
var modDev$l = /*#__PURE__*/Object.freeze({
|
|
94973
94976
|
__proto__: null,
|
|
94974
94977
|
HistoryPlugin: HistoryPlugin$1,
|
|
94975
94978
|
createEmptyHistoryState: createEmptyHistoryState$1
|
|
@@ -94984,7 +94987,7 @@ var modDev$j = /*#__PURE__*/Object.freeze({
|
|
|
94984
94987
|
*/
|
|
94985
94988
|
function a$4({delay:a,externalHistoryState:c}){const[l]=useLexicalComposerContext();return function(t,a,c=1e3){const l=React.useMemo((()=>a||createEmptyHistoryState$1()),[a]);React.useEffect((()=>registerHistory(t,l,c)),[c,t,l]);}(l,c,a),null}
|
|
94986
94989
|
|
|
94987
|
-
var modProd$
|
|
94990
|
+
var modProd$l = /*#__PURE__*/Object.freeze({
|
|
94988
94991
|
__proto__: null,
|
|
94989
94992
|
HistoryPlugin: a$4,
|
|
94990
94993
|
createEmptyHistoryState: createEmptyHistoryState$1
|
|
@@ -94997,9 +95000,9 @@ var modProd$j = /*#__PURE__*/Object.freeze({
|
|
|
94997
95000
|
* LICENSE file in the root directory of this source tree.
|
|
94998
95001
|
*
|
|
94999
95002
|
*/
|
|
95000
|
-
const mod$
|
|
95001
|
-
const HistoryPlugin = mod$
|
|
95002
|
-
const createEmptyHistoryState = mod$
|
|
95003
|
+
const mod$l = process.env.NODE_ENV !== 'production' ? modDev$l : modProd$l;
|
|
95004
|
+
const HistoryPlugin = mod$l.HistoryPlugin;
|
|
95005
|
+
const createEmptyHistoryState = mod$l.createEmptyHistoryState;
|
|
95003
95006
|
|
|
95004
95007
|
/**
|
|
95005
95008
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -95244,7 +95247,7 @@ function isDomNodeBetweenTwoInlineNodes(node) {
|
|
|
95244
95247
|
return isInlineDomNode(node.nextSibling) && isInlineDomNode(node.previousSibling);
|
|
95245
95248
|
}
|
|
95246
95249
|
|
|
95247
|
-
var modDev$
|
|
95250
|
+
var modDev$k = /*#__PURE__*/Object.freeze({
|
|
95248
95251
|
__proto__: null,
|
|
95249
95252
|
$generateHtmlFromNodes: $generateHtmlFromNodes$1,
|
|
95250
95253
|
$generateNodesFromDOM: $generateNodesFromDOM$1
|
|
@@ -95257,9 +95260,9 @@ var modDev$i = /*#__PURE__*/Object.freeze({
|
|
|
95257
95260
|
* LICENSE file in the root directory of this source tree.
|
|
95258
95261
|
*
|
|
95259
95262
|
*/
|
|
95260
|
-
function h$4(e,n){const t=n.body?n.body.childNodes:[];let o=[];const l=[];for(let n=0;n<t.length;n++){const r=t[n];if(!x$6.has(r.nodeName)){const n=y$
|
|
95263
|
+
function h$4(e,n){const t=n.body?n.body.childNodes:[];let o=[];const l=[];for(let n=0;n<t.length;n++){const r=t[n];if(!x$6.has(r.nodeName)){const n=y$4(r,e,l,!1);null!==n&&(o=o.concat(n));}}return function(e){for(const n of e)n.getNextSibling()instanceof ArtificialNode__DO_NOT_USE&&n.insertAfter($createLineBreakNode());for(const n of e){const e=n.getChildren();for(const t of e)n.insertBefore(t);n.remove();}}(l),o}function m$4(e,n){if("undefined"==typeof document||"undefined"==typeof window&&void 0===global.window)throw new Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");const t=document.createElement("div"),l=$getRoot().getChildren();for(let o=0;o<l.length;o++){g$5(e,l[o],t,n);}return t.innerHTML}function g$5(t,o,c,u=null){let f=null===u||o.isSelected(u);const a=$isElementNode(o)&&o.excludeFromCopy("html");let d=o;if(null!==u){let n=$cloneWithProperties(o);n=$isTextNode(n)&&null!==u?$sliceSelectedTextNodeContent(u,n):n,d=n;}const p=$isElementNode(d)?d.getChildren():[],h=t._nodes.get(d.getType());let m;m=h&&void 0!==h.exportDOM?h.exportDOM(t,d):d.exportDOM(t);const{element:x,after:y}=m;if(!x)return !1;const w=document.createDocumentFragment();for(let e=0;e<p.length;e++){const n=p[e],r=g$5(t,n,w,u);!f&&$isElementNode(o)&&r&&o.extractWithChild(n,u,"html")&&(f=!0);}if(f&&!a){if((isHTMLElement$1(x)||isDocumentFragment(x))&&x.append(w),c.append(x),y){const e=y.call(d,x);e&&(isDocumentFragment(x)?x.replaceChildren(e):x.replaceWith(e));}}else c.append(w);return f}const x$6=new Set(["STYLE","SCRIPT"]);function y$4(e,n,o,r,i=new Map,s){let h=[];if(x$6.has(e.nodeName))return h;let m=null;const g=function(e,n){const{nodeName:t}=e,o=n._htmlConversions.get(t.toLowerCase());let l=null;if(void 0!==o)for(const n of o){const t=n(e);null!==t&&(null===l||(l.priority||0)<=(t.priority||0))&&(l=t);}return null!==l?l.conversion:null}(e,n),b=g?g(e):null;let C=null;if(null!==b){C=b.after;const n=b.node;if(m=Array.isArray(n)?n[n.length-1]:n,null!==m){for(const[,e]of i)if(m=e(m,s),!m)break;m&&h.push(...Array.isArray(n)?n:[m]);}null!=b.forChild&&i.set(e.nodeName,b.forChild);}const S=e.childNodes;let v=[];const N=(null==m||!$isRootOrShadowRoot(m))&&(null!=m&&$isBlockElementNode(m)||r);for(let e=0;e<S.length;e++)v.push(...y$4(S[e],n,o,N,new Map(i),m));return null!=C&&(v=C(v)),isBlockDomNode(e)&&(v=w$4(e,v,N?()=>{const e=new ArtificialNode__DO_NOT_USE;return o.push(e),e}:$createParagraphNode)),null==m?v.length>0?h=h.concat(v):isBlockDomNode(e)&&function(e){if(null==e.nextSibling||null==e.previousSibling)return !1;return isInlineDomNode(e.nextSibling)&&isInlineDomNode(e.previousSibling)}(e)&&(h=h.concat($createLineBreakNode())):$isElementNode(m)&&m.append(...v),h}function w$4(e,n,t){const o=e.style.textAlign,l=[];let r=[];for(let e=0;e<n.length;e++){const i=n[e];if($isBlockElementNode(i))o&&!i.getFormat()&&i.setFormat(o),l.push(i);else if(r.push(i),e===n.length-1||e<n.length-1&&$isBlockElementNode(n[e+1])){const e=t();e.setFormat(o),e.append(...r),l.push(e),r=[];}}return l}
|
|
95261
95264
|
|
|
95262
|
-
var modProd$
|
|
95265
|
+
var modProd$k = /*#__PURE__*/Object.freeze({
|
|
95263
95266
|
__proto__: null,
|
|
95264
95267
|
$generateHtmlFromNodes: m$4,
|
|
95265
95268
|
$generateNodesFromDOM: h$4
|
|
@@ -95272,9 +95275,9 @@ var modProd$i = /*#__PURE__*/Object.freeze({
|
|
|
95272
95275
|
* LICENSE file in the root directory of this source tree.
|
|
95273
95276
|
*
|
|
95274
95277
|
*/
|
|
95275
|
-
const mod$
|
|
95276
|
-
const $generateHtmlFromNodes = mod$
|
|
95277
|
-
const $generateNodesFromDOM = mod$
|
|
95278
|
+
const mod$k = process.env.NODE_ENV !== 'production' ? modDev$k : modProd$k;
|
|
95279
|
+
const $generateHtmlFromNodes = mod$k.$generateHtmlFromNodes;
|
|
95280
|
+
const $generateNodesFromDOM = mod$k.$generateNodesFromDOM;
|
|
95278
95281
|
|
|
95279
95282
|
/**
|
|
95280
95283
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -95700,7 +95703,7 @@ function setLexicalClipboardDataTransfer(clipboardData, data) {
|
|
|
95700
95703
|
}
|
|
95701
95704
|
}
|
|
95702
95705
|
|
|
95703
|
-
var modDev$
|
|
95706
|
+
var modDev$j = /*#__PURE__*/Object.freeze({
|
|
95704
95707
|
__proto__: null,
|
|
95705
95708
|
$generateJSONFromSelectedNodes: $generateJSONFromSelectedNodes,
|
|
95706
95709
|
$generateNodesFromSerializedNodes: $generateNodesFromSerializedNodes,
|
|
@@ -95721,20 +95724,20 @@ var modDev$h = /*#__PURE__*/Object.freeze({
|
|
|
95721
95724
|
* LICENSE file in the root directory of this source tree.
|
|
95722
95725
|
*
|
|
95723
95726
|
*/
|
|
95724
|
-
function y$
|
|
95727
|
+
function y$3(t,...e){const n=new URL("https://lexical.dev/docs/error"),o=new URLSearchParams;o.append("code",t);for(const t of e)o.append("v",t);throw n.search=o.toString(),Error(`Minified Lexical error #${t}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function T$1(e,n=$getSelection()){return null==n&&y$3(166),$isRangeSelection(n)&&n.isCollapsed()||0===n.getNodes().length?"":$generateHtmlFromNodes(e,n)}function v$4(t,e=$getSelection()){return null==e&&y$3(166),$isRangeSelection(e)&&e.isCollapsed()||0===e.getNodes().length?null:JSON.stringify(R$2(t,e))}function C$3(t,e){const n=t.getData("text/plain")||t.getData("text/uri-list");null!=n&&e.insertRawText(n);}function D$3(t,n,o){const r=t.getData("application/x-lexical-editor");if(r)try{const t=JSON.parse(r);if(t.namespace===o._config.namespace&&Array.isArray(t.nodes)){return N$4(o,A$2(t.nodes),n)}}catch(t){}const c=t.getData("text/html"),a=t.getData("text/plain");if(c&&a!==c)try{const t=(new DOMParser).parseFromString(function(t){if(window.trustedTypes&&window.trustedTypes.createPolicy){return window.trustedTypes.createPolicy("lexical",{createHTML:t=>t}).createHTML(t)}return t}(c),"text/html");return N$4(o,$generateNodesFromDOM(o,t),n)}catch(t){}const u=a||t.getData("text/uri-list");if(null!=u)if($isRangeSelection(n)){const t=u.split(/(\r?\n|\t)/);""===t[t.length-1]&&t.pop();for(let e=0;e<t.length;e++){const n=$getSelection();if($isRangeSelection(n)){const o=t[e];"\n"===o||"\r\n"===o?n.insertParagraph():"\t"===o?n.insertNodes([$createTabNode()]):n.insertText(o);}}}else n.insertRawText(u);}function N$4(t,e,n){t.dispatchCommand(SELECTION_INSERT_CLIPBOARD_NODES_COMMAND,{nodes:e,selection:n})||n.insertNodes(e);}function S$2(t,e,n,r=[]){let i=null===e||n.isSelected(e);const l=$isElementNode(n)&&n.excludeFromCopy("html");let s=n;if(null!==e){let t=$cloneWithProperties(n);t=$isTextNode(t)&&null!==e?$sliceSelectedTextNodeContent(e,t):t,s=t;}const c=$isElementNode(s)?s.getChildren():[],a=function(t){const e=t.exportJSON(),n=t.constructor;if(e.type!==n.getType()&&y$3(58,n.name),$isElementNode(t)){const t=e.children;Array.isArray(t)||y$3(59,n.name);}return e}(s);if($isTextNode(s)){const t=s.__text;t.length>0?a.text=t:i=!1;}for(let o=0;o<c.length;o++){const r=c[o],l=S$2(t,e,r,a.children);!i&&$isElementNode(n)&&l&&n.extractWithChild(r,e,"clone")&&(i=!0);}if(i&&!l)r.push(a);else if(Array.isArray(a.children))for(let t=0;t<a.children.length;t++){const e=a.children[t];r.push(e);}return i}function R$2(t,e){const n=[],o=$getRoot().getChildren();for(let r=0;r<o.length;r++){S$2(t,e,o[r],n);}return {namespace:t._config.namespace,nodes:n}}function A$2(t){const e=[];for(let o=0;o<t.length;o++){const r=t[o],i=$parseSerializedNode(r);$isTextNode(i)&&$addNodeStyle(i),e.push(i);}return e}let P$2=null;async function _$2(t,e,n){if(null!==P$2)return !1;if(null!==e)return new Promise(((o,r)=>{t.update((()=>{o(E$5(t,e,n));}));}));const o=t.getRootElement(),i=t._window||window,l=window.document,s=getDOMSelection$1(i);if(null===o||null===s)return !1;const c=l.createElement("span");c.style.cssText="position: fixed; top: -1000px;",c.append(l.createTextNode("#")),o.append(c);const a=new Range;return a.setStart(c,0),a.setEnd(c,1),s.removeAllRanges(),s.addRange(a),new Promise(((e,o)=>{const i=t.registerCommand(COPY_COMMAND,(o=>(objectKlassEquals(o,ClipboardEvent)&&(i(),null!==P$2&&(window.clearTimeout(P$2),P$2=null),e(E$5(t,o,n))),!0)),COMMAND_PRIORITY_CRITICAL);P$2=window.setTimeout((()=>{i(),P$2=null,e(!1);}),50),l.execCommand("copy"),c.remove();}))}function E$5(t,e,n){if(void 0===n){const e=getDOMSelection$1(t._window);if(!e)return !1;const o=e.anchorNode,r=e.focusNode;if(null!==o&&null!==r&&!isSelectionWithinEditor(t,o,r))return !1;const i=$getSelection();if(null===i)return !1;n=M$1(i);}e.preventDefault();const o=e.clipboardData;return null!==o&&(O$3(o,n),!0)}const L$2=[["text/html",T$1],["application/x-lexical-editor",v$4]];function M$1(t=$getSelection()){const e={"text/plain":t?t.getTextContent():""};if(t){const n=$getEditor();for(const[o,r]of L$2){const i=r(n,t);null!==i&&(e[o]=i);}}return e}function O$3(t,e){for(const n in e){const o=e[n];void 0!==o&&t.setData(n,o);}}
|
|
95725
95728
|
|
|
95726
|
-
var modProd$
|
|
95729
|
+
var modProd$j = /*#__PURE__*/Object.freeze({
|
|
95727
95730
|
__proto__: null,
|
|
95728
95731
|
$generateJSONFromSelectedNodes: R$2,
|
|
95729
95732
|
$generateNodesFromSerializedNodes: A$2,
|
|
95730
95733
|
$getClipboardDataFromSelection: M$1,
|
|
95731
95734
|
$getHtmlContent: T$1,
|
|
95732
95735
|
$getLexicalContent: v$4,
|
|
95733
|
-
$insertDataTransferForPlainText: C$
|
|
95736
|
+
$insertDataTransferForPlainText: C$3,
|
|
95734
95737
|
$insertDataTransferForRichText: D$3,
|
|
95735
95738
|
$insertGeneratedNodes: N$4,
|
|
95736
|
-
copyToClipboard: _$
|
|
95737
|
-
setLexicalClipboardDataTransfer: O$
|
|
95739
|
+
copyToClipboard: _$2,
|
|
95740
|
+
setLexicalClipboardDataTransfer: O$3
|
|
95738
95741
|
});
|
|
95739
95742
|
|
|
95740
95743
|
/**
|
|
@@ -95744,17 +95747,17 @@ var modProd$h = /*#__PURE__*/Object.freeze({
|
|
|
95744
95747
|
* LICENSE file in the root directory of this source tree.
|
|
95745
95748
|
*
|
|
95746
95749
|
*/
|
|
95747
|
-
const mod$
|
|
95748
|
-
mod$
|
|
95749
|
-
mod$
|
|
95750
|
-
mod$
|
|
95751
|
-
mod$
|
|
95752
|
-
mod$
|
|
95753
|
-
mod$
|
|
95754
|
-
const $insertDataTransferForRichText = mod$
|
|
95755
|
-
mod$
|
|
95756
|
-
const copyToClipboard = mod$
|
|
95757
|
-
mod$
|
|
95750
|
+
const mod$j = process.env.NODE_ENV !== 'production' ? modDev$j : modProd$j;
|
|
95751
|
+
mod$j.$generateJSONFromSelectedNodes;
|
|
95752
|
+
mod$j.$generateNodesFromSerializedNodes;
|
|
95753
|
+
mod$j.$getClipboardDataFromSelection;
|
|
95754
|
+
mod$j.$getHtmlContent;
|
|
95755
|
+
mod$j.$getLexicalContent;
|
|
95756
|
+
mod$j.$insertDataTransferForPlainText;
|
|
95757
|
+
const $insertDataTransferForRichText = mod$j.$insertDataTransferForRichText;
|
|
95758
|
+
mod$j.$insertGeneratedNodes;
|
|
95759
|
+
const copyToClipboard = mod$j.copyToClipboard;
|
|
95760
|
+
mod$j.setLexicalClipboardDataTransfer;
|
|
95758
95761
|
|
|
95759
95762
|
/**
|
|
95760
95763
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -95837,12 +95840,12 @@ const IS_APPLE_WEBKIT = CAN_USE_DOM$4 && /AppleWebKit\/[\d.]+/.test(navigator.us
|
|
|
95837
95840
|
|
|
95838
95841
|
const DRAG_DROP_PASTE = createCommand('DRAG_DROP_PASTE_FILE');
|
|
95839
95842
|
/** @noInheritDoc */
|
|
95840
|
-
class QuoteNode extends ElementNode {
|
|
95843
|
+
class QuoteNode$1 extends ElementNode {
|
|
95841
95844
|
static getType() {
|
|
95842
95845
|
return 'quote';
|
|
95843
95846
|
}
|
|
95844
95847
|
static clone(node) {
|
|
95845
|
-
return new QuoteNode(node.__key);
|
|
95848
|
+
return new QuoteNode$1(node.__key);
|
|
95846
95849
|
}
|
|
95847
95850
|
|
|
95848
95851
|
// View
|
|
@@ -95907,10 +95910,10 @@ class QuoteNode extends ElementNode {
|
|
|
95907
95910
|
}
|
|
95908
95911
|
}
|
|
95909
95912
|
function $createQuoteNode$1() {
|
|
95910
|
-
return $applyNodeReplacement(new QuoteNode());
|
|
95913
|
+
return $applyNodeReplacement(new QuoteNode$1());
|
|
95911
95914
|
}
|
|
95912
|
-
function $isQuoteNode(node) {
|
|
95913
|
-
return node instanceof QuoteNode;
|
|
95915
|
+
function $isQuoteNode$1(node) {
|
|
95916
|
+
return node instanceof QuoteNode$1;
|
|
95914
95917
|
}
|
|
95915
95918
|
/** @noInheritDoc */
|
|
95916
95919
|
class HeadingNode$1 extends ElementNode {
|
|
@@ -96552,15 +96555,15 @@ function registerRichText$1(editor) {
|
|
|
96552
96555
|
return removeListener;
|
|
96553
96556
|
}
|
|
96554
96557
|
|
|
96555
|
-
var modDev$
|
|
96558
|
+
var modDev$i = /*#__PURE__*/Object.freeze({
|
|
96556
96559
|
__proto__: null,
|
|
96557
96560
|
$createHeadingNode: $createHeadingNode$1,
|
|
96558
96561
|
$createQuoteNode: $createQuoteNode$1,
|
|
96559
96562
|
$isHeadingNode: $isHeadingNode$1,
|
|
96560
|
-
$isQuoteNode: $isQuoteNode,
|
|
96563
|
+
$isQuoteNode: $isQuoteNode$1,
|
|
96561
96564
|
DRAG_DROP_PASTE: DRAG_DROP_PASTE,
|
|
96562
96565
|
HeadingNode: HeadingNode$1,
|
|
96563
|
-
QuoteNode: QuoteNode,
|
|
96566
|
+
QuoteNode: QuoteNode$1,
|
|
96564
96567
|
eventFiles: eventFiles,
|
|
96565
96568
|
registerRichText: registerRichText$1
|
|
96566
96569
|
});
|
|
@@ -96574,7 +96577,7 @@ var modDev$g = /*#__PURE__*/Object.freeze({
|
|
|
96574
96577
|
*/
|
|
96575
96578
|
function lt(t,e){if(void 0!==document.caretRangeFromPoint){const n=document.caretRangeFromPoint(t,e);return null===n?null:{node:n.startContainer,offset:n.startOffset}}if("undefined"!==document.caretPositionFromPoint){const n=document.caretPositionFromPoint(t,e);return null===n?null:{node:n.offsetNode,offset:n.offset}}return null}const dt="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,mt=dt&&"documentMode"in document?document.documentMode:null,ft=!(!dt||!("InputEvent"in window)||mt)&&"getTargetRanges"in new window.InputEvent("input"),gt=dt&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),pt=dt&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,ht=dt&&/^(?=.*Chrome).*/i.test(navigator.userAgent),Ct=dt&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!ht,vt=createCommand("DRAG_DROP_PASTE_FILE");class yt extends ElementNode{static getType(){return "quote"}static clone(t){return new yt(t.__key)}createDOM(t){const e=document.createElement("blockquote");return addClassNamesToElement(e,t.theme.quote),e}updateDOM(t,e){return !1}static importDOM(){return {blockquote:t=>({conversion:Ot,priority:0})}}exportDOM(t){const{element:e}=super.exportDOM(t);if(isHTMLElement$1(e)){this.isEmpty()&&e.append(document.createElement("br"));const t=this.getFormatType();e.style.textAlign=t;const n=this.getDirection();n&&(e.dir=n);}return {element:e}}static importJSON(t){return Dt().updateFromJSON(t)}insertNewAfter(t,e){const n=$createParagraphNode(),r=this.getDirection();return n.setDirection(r),this.insertAfter(n,e),n}collapseAtStart(){const t=$createParagraphNode();return this.getChildren().forEach((e=>t.append(e))),this.replace(t),!0}canMergeWhenEmpty(){return !0}}function Dt(){return $applyNodeReplacement(new yt)}function xt(t){return t instanceof yt}class wt extends ElementNode{static getType(){return "heading"}static clone(t){return new wt(t.__tag,t.__key)}constructor(t,e){super(e),this.__tag=t;}getTag(){return this.__tag}setTag(t){const e=this.getWritable();return this.__tag=t,e}createDOM(t){const e=this.__tag,n=document.createElement(e),r=t.theme.heading;if(void 0!==r){const t=r[e];addClassNamesToElement(n,t);}return n}updateDOM(t,e,n){return t.__tag!==this.__tag}static importDOM(){return {h1:t=>({conversion:Et,priority:0}),h2:t=>({conversion:Et,priority:0}),h3:t=>({conversion:Et,priority:0}),h4:t=>({conversion:Et,priority:0}),h5:t=>({conversion:Et,priority:0}),h6:t=>({conversion:Et,priority:0}),p:t=>{const e=t.firstChild;return null!==e&&Nt(e)?{conversion:()=>({node:null}),priority:3}:null},span:t=>Nt(t)?{conversion:t=>({node:Tt("h1")}),priority:3}:null}}exportDOM(t){const{element:e}=super.exportDOM(t);if(isHTMLElement$1(e)){this.isEmpty()&&e.append(document.createElement("br"));const t=this.getFormatType();e.style.textAlign=t;const n=this.getDirection();n&&(e.dir=n);}return {element:e}}static importJSON(t){return Tt(t.tag).updateFromJSON(t)}updateFromJSON(t){return super.updateFromJSON(t).setTag(t.tag)}exportJSON(){return {...super.exportJSON(),tag:this.getTag()}}insertNewAfter(t,e=!0){const n=t?t.anchor.offset:0,r=this.getLastDescendant(),o=!r||t&&t.anchor.key===r.getKey()&&n===r.getTextContentSize()||!t?$createParagraphNode():Tt(this.getTag()),i=this.getDirection();if(o.setDirection(i),this.insertAfter(o,e),0===n&&!this.isEmpty()&&t){const t=$createParagraphNode();t.select(),this.replace(t,!0);}return o}collapseAtStart(){const t=this.isEmpty()?$createParagraphNode():Tt(this.getTag());return this.getChildren().forEach((e=>t.append(e))),this.replace(t),!0}extractWithChild(){return !0}}function Nt(t){return "span"===t.nodeName.toLowerCase()&&"26pt"===t.style.fontSize}function Et(t){const e=t.nodeName.toLowerCase();let n=null;return "h1"!==e&&"h2"!==e&&"h3"!==e&&"h4"!==e&&"h5"!==e&&"h6"!==e||(n=Tt(e),null!==t.style&&(setNodeIndentFromDOM(t,n),n.setFormat(t.style.textAlign))),{node:n}}function Ot(t){const e=Dt();return null!==t.style&&(e.setFormat(t.style.textAlign),setNodeIndentFromDOM(t,e)),{node:e}}function Tt(t="h1"){return $applyNodeReplacement(new wt(t))}function _t(t){return t instanceof wt}function At(t){let e=null;if(objectKlassEquals(t,DragEvent)?e=t.dataTransfer:objectKlassEquals(t,ClipboardEvent)&&(e=t.clipboardData),null===e)return [!1,[],!1];const n=e.types,r=n.includes("Files"),o=n.includes("text/html")||n.includes("text/plain");return [r,Array.from(e.files),o]}function St(t){const e=$getSelection();if(!$isRangeSelection(e))return !1;const n=new Set,r=e.getNodes();for(let e=0;e<r.length;e++){const o=r[e],i=o.getKey();if(n.has(i))continue;const s=$findMatchingParent(o,(t=>$isElementNode(t)&&!t.isInline()));if(null===s)continue;const a=s.getKey();s.canIndent()&&!n.has(a)&&(n.add(a),t(s));}return n.size>0}function Ft(t){const e=$getNearestNodeFromDOMNode(t);return $isDecoratorNode(e)}function It(t){for(const e of ["lowercase","uppercase","capitalize"])t.hasFormat(e)&&t.toggleFormat(e);}function Pt(o){return mergeRegister(o.registerCommand(CLICK_COMMAND,(t=>{const e=$getSelection();return !!$isNodeSelection(e)&&(e.clear(),!0)}),0),o.registerCommand(DELETE_CHARACTER_COMMAND,(t=>{const e=$getSelection();return !!$isRangeSelection(e)&&(e.deleteCharacter(t),!0)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(DELETE_WORD_COMMAND,(t=>{const e=$getSelection();return !!$isRangeSelection(e)&&(e.deleteWord(t),!0)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(DELETE_LINE_COMMAND,(t=>{const e=$getSelection();return !!$isRangeSelection(e)&&(e.deleteLine(t),!0)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(CONTROLLED_TEXT_INSERTION_COMMAND,(e=>{const n=$getSelection();if("string"==typeof e)null!==n&&n.insertText(e);else {if(null===n)return !1;const r=e.dataTransfer;if(null!=r)$insertDataTransferForRichText(r,n,o);else if($isRangeSelection(n)){const t=e.data;return t&&n.insertText(t),!0}}return !0}),COMMAND_PRIORITY_EDITOR),o.registerCommand(REMOVE_TEXT_COMMAND,(()=>{const t=$getSelection();return !!$isRangeSelection(t)&&(t.removeText(),!0)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(FORMAT_TEXT_COMMAND,(t=>{const e=$getSelection();return !!$isRangeSelection(e)&&(e.formatText(t),!0)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(FORMAT_ELEMENT_COMMAND,(t=>{const e=$getSelection();if(!$isRangeSelection(e)&&!$isNodeSelection(e))return !1;const n=e.getNodes();for(const e of n){const n=$findMatchingParent(e,(t=>$isElementNode(t)&&!t.isInline()));null!==n&&n.setFormat(t);}return !0}),COMMAND_PRIORITY_EDITOR),o.registerCommand(INSERT_LINE_BREAK_COMMAND,(t=>{const e=$getSelection();return !!$isRangeSelection(e)&&(e.insertLineBreak(t),!0)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(INSERT_PARAGRAPH_COMMAND,(()=>{const t=$getSelection();return !!$isRangeSelection(t)&&(t.insertParagraph(),!0)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(INSERT_TAB_COMMAND,(()=>($insertNodes([$createTabNode()]),!0)),COMMAND_PRIORITY_EDITOR),o.registerCommand(INDENT_CONTENT_COMMAND,(()=>St((t=>{const e=t.getIndent();t.setIndent(e+1);}))),COMMAND_PRIORITY_EDITOR),o.registerCommand(OUTDENT_CONTENT_COMMAND,(()=>St((t=>{const e=t.getIndent();e>0&&t.setIndent(e-1);}))),COMMAND_PRIORITY_EDITOR),o.registerCommand(KEY_ARROW_UP_COMMAND,(t=>{const e=$getSelection();if($isNodeSelection(e)&&!Ft(t.target)){const t=e.getNodes();if(t.length>0)return t[0].selectPrevious(),!0}else if($isRangeSelection(e)){const n=$getAdjacentNode(e.focus,!0);if(!t.shiftKey&&$isDecoratorNode(n)&&!n.isIsolated()&&!n.isInline())return n.selectPrevious(),t.preventDefault(),!0}return !1}),COMMAND_PRIORITY_EDITOR),o.registerCommand(KEY_ARROW_DOWN_COMMAND,(t=>{const e=$getSelection();if($isNodeSelection(e)){const t=e.getNodes();if(t.length>0)return t[0].selectNext(0,0),!0}else if($isRangeSelection(e)){if(function(t){const e=t.focus;return "root"===e.key&&e.offset===$getRoot().getChildrenSize()}(e))return t.preventDefault(),!0;const n=$getAdjacentNode(e.focus,!1);if(!t.shiftKey&&$isDecoratorNode(n)&&!n.isIsolated()&&!n.isInline())return n.selectNext(),t.preventDefault(),!0}return !1}),COMMAND_PRIORITY_EDITOR),o.registerCommand(KEY_ARROW_LEFT_COMMAND,(t=>{const e=$getSelection();if($isNodeSelection(e)){const n=e.getNodes();if(n.length>0)return t.preventDefault(),n[0].selectPrevious(),!0}if(!$isRangeSelection(e))return !1;if($shouldOverrideDefaultCharacterSelection(e,!0)){const n=t.shiftKey;return t.preventDefault(),$moveCharacter(e,n,!0),!0}return !1}),COMMAND_PRIORITY_EDITOR),o.registerCommand(KEY_ARROW_RIGHT_COMMAND,(t=>{const e=$getSelection();if($isNodeSelection(e)&&!Ft(t.target)){const n=e.getNodes();if(n.length>0)return t.preventDefault(),n[0].selectNext(0,0),!0}if(!$isRangeSelection(e))return !1;const o=t.shiftKey;return !!$shouldOverrideDefaultCharacterSelection(e,!1)&&(t.preventDefault(),$moveCharacter(e,o,!1),!0)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(KEY_BACKSPACE_COMMAND,(t=>{if(Ft(t.target))return !1;const e=$getSelection();if(!$isRangeSelection(e))return !1;const{anchor:n}=e,r=n.getNode();if(e.isCollapsed()&&0===n.offset&&!$isRootNode(r)){if($getNearestBlockElementAncestorOrThrow(r).getIndent()>0)return t.preventDefault(),o.dispatchCommand(OUTDENT_CONTENT_COMMAND,void 0)}return (!pt||"ko-KR"!==navigator.language)&&(t.preventDefault(),o.dispatchCommand(DELETE_CHARACTER_COMMAND,!0))}),COMMAND_PRIORITY_EDITOR),o.registerCommand(KEY_DELETE_COMMAND,(t=>{if(Ft(t.target))return !1;const e=$getSelection();return !!$isRangeSelection(e)&&(t.preventDefault(),o.dispatchCommand(DELETE_CHARACTER_COMMAND,!1))}),COMMAND_PRIORITY_EDITOR),o.registerCommand(KEY_ENTER_COMMAND,(t=>{const e=$getSelection();if(!$isRangeSelection(e))return !1;if(It(e),null!==t){if((pt||gt||Ct)&&ft)return !1;if(t.preventDefault(),t.shiftKey)return o.dispatchCommand(INSERT_LINE_BREAK_COMMAND,!1)}return o.dispatchCommand(INSERT_PARAGRAPH_COMMAND,void 0)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(KEY_ESCAPE_COMMAND,(()=>{const t=$getSelection();return !!$isRangeSelection(t)&&(o.blur(),!0)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(DROP_COMMAND,(t=>{const[,e]=At(t);if(e.length>0){const n=lt(t.clientX,t.clientY);if(null!==n){const{offset:t,node:r}=n,i=$getNearestNodeFromDOMNode(r);if(null!==i){const e=$createRangeSelection();if($isTextNode(i))e.anchor.set(i.getKey(),t,"text"),e.focus.set(i.getKey(),t,"text");else {const t=i.getParentOrThrow().getKey(),n=i.getIndexWithinParent()+1;e.anchor.set(t,n,"element"),e.focus.set(t,n,"element");}const n=$normalizeSelection__EXPERIMENTAL(e);$setSelection(n);}o.dispatchCommand(vt,e);}return t.preventDefault(),!0}const n=$getSelection();return !!$isRangeSelection(n)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(DRAGSTART_COMMAND,(t=>{const[e]=At(t),n=$getSelection();return !(e&&!$isRangeSelection(n))}),COMMAND_PRIORITY_EDITOR),o.registerCommand(DRAGOVER_COMMAND,(t=>{const[e]=At(t),n=$getSelection();if(e&&!$isRangeSelection(n))return !1;const r=lt(t.clientX,t.clientY);if(null!==r){const e=$getNearestNodeFromDOMNode(r.node);$isDecoratorNode(e)&&t.preventDefault();}return !0}),COMMAND_PRIORITY_EDITOR),o.registerCommand(SELECT_ALL_COMMAND,(()=>($selectAll(),!0)),COMMAND_PRIORITY_EDITOR),o.registerCommand(COPY_COMMAND,(t=>(copyToClipboard(o,objectKlassEquals(t,ClipboardEvent)?t:null),!0)),COMMAND_PRIORITY_EDITOR),o.registerCommand(CUT_COMMAND,(t=>(async function(t,n){await copyToClipboard(n,objectKlassEquals(t,ClipboardEvent)?t:null),n.update((()=>{const t=$getSelection();$isRangeSelection(t)?t.removeText():$isNodeSelection(t)&&t.getNodes().forEach((t=>t.remove()));}));}(t,o),!0)),COMMAND_PRIORITY_EDITOR),o.registerCommand(PASTE_COMMAND,(e=>{const[,n,r]=At(e);if(n.length>0&&!r)return o.dispatchCommand(vt,n),!0;if(isDOMNode(e.target)&&isSelectionCapturedInDecoratorInput(e.target))return !1;return null!==$getSelection()&&(function(e,n){e.preventDefault(),n.update((()=>{const r=$getSelection(),o=objectKlassEquals(e,InputEvent)||objectKlassEquals(e,KeyboardEvent)?null:e.clipboardData;null!=o&&null!==r&&$insertDataTransferForRichText(o,r,n);}),{tag:"paste"});}(e,o),!0)}),COMMAND_PRIORITY_EDITOR),o.registerCommand(KEY_SPACE_COMMAND,(t=>{const e=$getSelection();return $isRangeSelection(e)&&It(e),!1}),COMMAND_PRIORITY_EDITOR),o.registerCommand(KEY_TAB_COMMAND,(t=>{const e=$getSelection();return $isRangeSelection(e)&&It(e),!1}),COMMAND_PRIORITY_EDITOR))}
|
|
96576
96579
|
|
|
96577
|
-
var modProd$
|
|
96580
|
+
var modProd$i = /*#__PURE__*/Object.freeze({
|
|
96578
96581
|
__proto__: null,
|
|
96579
96582
|
$createHeadingNode: Tt,
|
|
96580
96583
|
$createQuoteNode: Dt,
|
|
@@ -96594,16 +96597,16 @@ var modProd$g = /*#__PURE__*/Object.freeze({
|
|
|
96594
96597
|
* LICENSE file in the root directory of this source tree.
|
|
96595
96598
|
*
|
|
96596
96599
|
*/
|
|
96597
|
-
const mod$
|
|
96598
|
-
const $createHeadingNode = mod$
|
|
96599
|
-
const $createQuoteNode = mod$
|
|
96600
|
-
const $isHeadingNode = mod$
|
|
96601
|
-
mod$
|
|
96602
|
-
mod$
|
|
96603
|
-
const HeadingNode = mod$
|
|
96604
|
-
mod$
|
|
96605
|
-
mod$
|
|
96606
|
-
const registerRichText = mod$
|
|
96600
|
+
const mod$i = process.env.NODE_ENV !== 'production' ? modDev$i : modProd$i;
|
|
96601
|
+
const $createHeadingNode = mod$i.$createHeadingNode;
|
|
96602
|
+
const $createQuoteNode = mod$i.$createQuoteNode;
|
|
96603
|
+
const $isHeadingNode = mod$i.$isHeadingNode;
|
|
96604
|
+
const $isQuoteNode = mod$i.$isQuoteNode;
|
|
96605
|
+
mod$i.DRAG_DROP_PASTE;
|
|
96606
|
+
const HeadingNode = mod$i.HeadingNode;
|
|
96607
|
+
const QuoteNode = mod$i.QuoteNode;
|
|
96608
|
+
mod$i.eventFiles;
|
|
96609
|
+
const registerRichText = mod$i.registerRichText;
|
|
96607
96610
|
|
|
96608
96611
|
/**
|
|
96609
96612
|
* Like `Array#splice`, but smarter for giant arrays.
|
|
@@ -116806,7 +116809,7 @@ const MdastTextVisitor = {
|
|
|
116806
116809
|
};
|
|
116807
116810
|
|
|
116808
116811
|
const SharedHistoryPlugin = () => {
|
|
116809
|
-
return /* @__PURE__ */ React__default["default"].createElement(HistoryPlugin, { externalHistoryState: E$
|
|
116812
|
+
return /* @__PURE__ */ React__default["default"].createElement(HistoryPlugin, { externalHistoryState: E$8(historyState$) });
|
|
116810
116813
|
};
|
|
116811
116814
|
|
|
116812
116815
|
/**
|
|
@@ -117676,7 +117679,7 @@ const mutableMarkdownSignal$ = K$4((r) => {
|
|
|
117676
117679
|
markdownSignal$,
|
|
117677
117680
|
tt$3(muteChange$),
|
|
117678
117681
|
nt$3(([, muted]) => !muted),
|
|
117679
|
-
_$
|
|
117682
|
+
_$7(([value]) => value)
|
|
117680
117683
|
),
|
|
117681
117684
|
mutableMarkdownSignal$
|
|
117682
117685
|
);
|
|
@@ -118156,7 +118159,7 @@ const corePlugin = realmPlugin({
|
|
|
118156
118159
|
}
|
|
118157
118160
|
});
|
|
118158
118161
|
function useTranslation() {
|
|
118159
|
-
return E$
|
|
118162
|
+
return E$8(translation$);
|
|
118160
118163
|
}
|
|
118161
118164
|
|
|
118162
118165
|
/**
|
|
@@ -118493,7 +118496,7 @@ function registerLexicalTextEntity(editor, getMatch, targetNode, createNode) {
|
|
|
118493
118496
|
return [removePlainTextTransform, removeReverseNodeTransform];
|
|
118494
118497
|
}
|
|
118495
118498
|
|
|
118496
|
-
var modDev$
|
|
118499
|
+
var modDev$h = /*#__PURE__*/Object.freeze({
|
|
118497
118500
|
__proto__: null,
|
|
118498
118501
|
$canShowPlaceholder: $canShowPlaceholder,
|
|
118499
118502
|
$canShowPlaceholderCurry: $canShowPlaceholderCurry$1,
|
|
@@ -118511,12 +118514,12 @@ var modDev$f = /*#__PURE__*/Object.freeze({
|
|
|
118511
118514
|
* LICENSE file in the root directory of this source tree.
|
|
118512
118515
|
*
|
|
118513
118516
|
*/
|
|
118514
|
-
function s(){return $getRoot().getTextContent()}function f$3(t,e=!0){if(t)return !1;let n=s();return e&&(n=n.trim()),""===n}function u$3(t,e){return ()=>f$3(t,e)}function c$4(o){if(!f$3(o,!1))return !1;const l=$getRoot().getChildren(),s=l.length;if(s>1)return !1;for(let t=0;t<s;t++){const o=l[t];if($isDecoratorNode(o))return !1;if($isElementNode(o)){if(!$isParagraphNode(o))return !1;if(0!==o.__indent)return !1;const e=o.getChildren(),n=e.length;for(let r=0;r<n;r++){const n=e[t];if(!$isTextNode(n))return !1}}}return !0}function g$
|
|
118517
|
+
function s(){return $getRoot().getTextContent()}function f$3(t,e=!0){if(t)return !1;let n=s();return e&&(n=n.trim()),""===n}function u$3(t,e){return ()=>f$3(t,e)}function c$4(o){if(!f$3(o,!1))return !1;const l=$getRoot().getChildren(),s=l.length;if(s>1)return !1;for(let t=0;t<s;t++){const o=l[t];if($isDecoratorNode(o))return !1;if($isElementNode(o)){if(!$isParagraphNode(o))return !1;if(0!==o.__indent)return !1;const e=o.getChildren(),n=e.length;for(let r=0;r<n;r++){const n=e[t];if(!$isTextNode(n))return !1}}}return !0}function g$4(t){return ()=>c$4(t)}function a$3(t,e){let r=t.getFirstChild(),o=0;t:for(;null!==r;){if($isElementNode(r)){const t=r.getFirstChild();if(null!==t){r=t;continue}}else if($isTextNode(r)){const t=r.getTextContentSize();if(o+t>e)return {node:r,offset:e-o};o+=t;}const t=r.getNextSibling();if(null!==t){r=t;continue}let l=r.getParent();for(;null!==l;){const t=l.getNextSibling();if(null!==t){r=t;continue t}l=l.getParent();}break}return null}function d$4(t,...e){const n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;r.append("code",t);for(const t of e)r.append("v",t);throw n.search=r.toString(),Error(`Minified Lexical error #${t}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function x$5(t,e,n,r){const s=t=>t instanceof n,f=t=>{const e=$createTextNode(t.getTextContent());e.setFormat(t.getFormat()),t.replace(e);};return [t.registerNodeTransform(TextNode,(t=>{if(!t.isSimpleText())return;let n,o=t.getPreviousSibling(),l=t.getTextContent(),u=t;if($isTextNode(o)){const n=o.getTextContent(),r=e(n+l);if(s(o)){if(null===r||0!==(t=>t.getLatest().__mode)(o))return void f(o);{const e=r.end-n.length;if(e>0){const r=n+l.slice(0,e);if(o.select(),o.setTextContent(r),e===l.length)t.remove();else {const n=l.slice(e);t.setTextContent(n);}return}}}else if(null===r||r.start<n.length)return}let c=0;for(;;){n=e(l);let t,g=null===n?"":l.slice(n.end);if(l=g,""===g){const t=u.getNextSibling();if($isTextNode(t)){g=u.getTextContent()+t.getTextContent();const n=e(g);if(null===n)return void(s(t)?f(t):t.markDirty());if(0!==n.start)return}}if(null===n)return;if(0===n.start&&$isTextNode(o)&&o.isTextEntity()){c+=n.end;continue}0===n.start?[t,u]=u.splitText(n.end):[,t,u]=u.splitText(n.start+c,n.end+c),void 0===t&&d$4(165,"nodeToReplace");const a=r(t);if(a.setFormat(t.getFormat()),t.replace(a),null==u)return;c=0,o=a;}})),t.registerNodeTransform(n,(t=>{const n=t.getTextContent(),r=e(n);if(null===r||0!==r.start)return void f(t);if(n.length>r.end)return void t.splitText(r.end);const o=t.getPreviousSibling();$isTextNode(o)&&o.isTextEntity()&&(f(o),f(t));const l=t.getNextSibling();$isTextNode(l)&&l.isTextEntity()&&(f(l),s(t)&&f(t));}))]}
|
|
118515
118518
|
|
|
118516
|
-
var modProd$
|
|
118519
|
+
var modProd$h = /*#__PURE__*/Object.freeze({
|
|
118517
118520
|
__proto__: null,
|
|
118518
118521
|
$canShowPlaceholder: c$4,
|
|
118519
|
-
$canShowPlaceholderCurry: g$
|
|
118522
|
+
$canShowPlaceholderCurry: g$4,
|
|
118520
118523
|
$findTextIntersectionFromCharacters: a$3,
|
|
118521
118524
|
$isRootTextContentEmpty: f$3,
|
|
118522
118525
|
$isRootTextContentEmptyCurry: u$3,
|
|
@@ -118531,14 +118534,14 @@ var modProd$f = /*#__PURE__*/Object.freeze({
|
|
|
118531
118534
|
* LICENSE file in the root directory of this source tree.
|
|
118532
118535
|
*
|
|
118533
118536
|
*/
|
|
118534
|
-
const mod$
|
|
118535
|
-
mod$
|
|
118536
|
-
const $canShowPlaceholderCurry = mod$
|
|
118537
|
-
mod$
|
|
118538
|
-
mod$
|
|
118539
|
-
mod$
|
|
118540
|
-
mod$
|
|
118541
|
-
mod$
|
|
118537
|
+
const mod$h = process.env.NODE_ENV !== 'production' ? modDev$h : modProd$h;
|
|
118538
|
+
mod$h.$canShowPlaceholder;
|
|
118539
|
+
const $canShowPlaceholderCurry = mod$h.$canShowPlaceholderCurry;
|
|
118540
|
+
mod$h.$findTextIntersectionFromCharacters;
|
|
118541
|
+
mod$h.$isRootTextContentEmpty;
|
|
118542
|
+
mod$h.$isRootTextContentEmptyCurry;
|
|
118543
|
+
mod$h.$rootTextContent;
|
|
118544
|
+
mod$h.registerLexicalTextEntity;
|
|
118542
118545
|
|
|
118543
118546
|
/**
|
|
118544
118547
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -118764,7 +118767,7 @@ function Placeholder$1({
|
|
|
118764
118767
|
});
|
|
118765
118768
|
}
|
|
118766
118769
|
|
|
118767
|
-
var modDev$
|
|
118770
|
+
var modDev$g = /*#__PURE__*/Object.freeze({
|
|
118768
118771
|
__proto__: null,
|
|
118769
118772
|
ContentEditable: ContentEditable$1
|
|
118770
118773
|
});
|
|
@@ -118776,9 +118779,9 @@ var modDev$e = /*#__PURE__*/Object.freeze({
|
|
|
118776
118779
|
* LICENSE file in the root directory of this source tree.
|
|
118777
118780
|
*
|
|
118778
118781
|
*/
|
|
118779
|
-
const m$3="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?React.useLayoutEffect:React.useEffect;function f$2({editor:e,ariaActiveDescendant:t,ariaAutoComplete:i,ariaControls:a,ariaDescribedBy:d,ariaErrorMessage:c,ariaExpanded:s,ariaInvalid:u,ariaLabel:f,ariaLabelledBy:b,ariaMultiline:p,ariaOwns:x,ariaRequired:E,autoCapitalize:v,className:w,id:y,role:C="textbox",spellCheck:g=!0,style:h,tabIndex:L,"data-testid":D,...I},R){const[k,q]=React.useState(e.isEditable()),z=React.useCallback((t=>{t&&t.ownerDocument&&t.ownerDocument.defaultView?e.setRootElement(t):e.setRootElement(null);}),[e]),A=React.useMemo((()=>function(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t);}));}}(R,z)),[z,R]);return m$3((()=>(q(e.isEditable()),e.registerEditableListener((e=>{q(e);})))),[e]),jsxRuntime.jsx("div",{"aria-activedescendant":k?t:void 0,"aria-autocomplete":k?i:"none","aria-controls":k?a:void 0,"aria-describedby":d,...null!=c?{"aria-errormessage":c}:{},"aria-expanded":k&&"combobox"===C?!!s:void 0,...null!=u?{"aria-invalid":u}:{},"aria-label":f,"aria-labelledby":b,"aria-multiline":p,"aria-owns":k?x:void 0,"aria-readonly":!k||void 0,"aria-required":E,autoCapitalize:v,className:w,contentEditable:k,"data-testid":D,id:y,ref:A,role:k?C:void 0,spellCheck:g,style:h,tabIndex:L,...I})}const b$5=React.forwardRef(f$2);function p$2(e){return e.getEditorState().read($canShowPlaceholderCurry(e.isComposing()))}const x$4=React.forwardRef(E$
|
|
118782
|
+
const m$3="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?React.useLayoutEffect:React.useEffect;function f$2({editor:e,ariaActiveDescendant:t,ariaAutoComplete:i,ariaControls:a,ariaDescribedBy:d,ariaErrorMessage:c,ariaExpanded:s,ariaInvalid:u,ariaLabel:f,ariaLabelledBy:b,ariaMultiline:p,ariaOwns:x,ariaRequired:E,autoCapitalize:v,className:w,id:y,role:C="textbox",spellCheck:g=!0,style:h,tabIndex:L,"data-testid":D,...I},R){const[k,q]=React.useState(e.isEditable()),z=React.useCallback((t=>{t&&t.ownerDocument&&t.ownerDocument.defaultView?e.setRootElement(t):e.setRootElement(null);}),[e]),A=React.useMemo((()=>function(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t);}));}}(R,z)),[z,R]);return m$3((()=>(q(e.isEditable()),e.registerEditableListener((e=>{q(e);})))),[e]),jsxRuntime.jsx("div",{"aria-activedescendant":k?t:void 0,"aria-autocomplete":k?i:"none","aria-controls":k?a:void 0,"aria-describedby":d,...null!=c?{"aria-errormessage":c}:{},"aria-expanded":k&&"combobox"===C?!!s:void 0,...null!=u?{"aria-invalid":u}:{},"aria-label":f,"aria-labelledby":b,"aria-multiline":p,"aria-owns":k?x:void 0,"aria-readonly":!k||void 0,"aria-required":E,autoCapitalize:v,className:w,contentEditable:k,"data-testid":D,id:y,ref:A,role:k?C:void 0,spellCheck:g,style:h,tabIndex:L,...I})}const b$5=React.forwardRef(f$2);function p$2(e){return e.getEditorState().read($canShowPlaceholderCurry(e.isComposing()))}const x$4=React.forwardRef(E$4);function E$4(t,i){const{placeholder:a,...r}=t,[n]=useLexicalComposerContext();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(b$5,{editor:n,...r,ref:i}),null!=a&&jsxRuntime.jsx(v$3,{editor:n,content:a})]})}function v$3({content:e,editor:i}){const a=function(e){const[t,i]=React.useState((()=>p$2(e)));return m$3((()=>{function t(){const t=p$2(e);i(t);}return t(),mergeRegister(e.registerUpdateListener((()=>{t();})),e.registerEditableListener((()=>{t();})))}),[e]),t}(i),[n,o]=React.useState(i.isEditable());if(React.useLayoutEffect((()=>(o(i.isEditable()),i.registerEditableListener((e=>{o(e);})))),[i]),!a)return null;let d=null;return "function"==typeof e?d=e(n):null!==e&&(d=e),null===d?null:jsxRuntime.jsx("div",{"aria-hidden":!0,children:d})}
|
|
118780
118783
|
|
|
118781
|
-
var modProd$
|
|
118784
|
+
var modProd$g = /*#__PURE__*/Object.freeze({
|
|
118782
118785
|
__proto__: null,
|
|
118783
118786
|
ContentEditable: x$4
|
|
118784
118787
|
});
|
|
@@ -118790,8 +118793,8 @@ var modProd$e = /*#__PURE__*/Object.freeze({
|
|
|
118790
118793
|
* LICENSE file in the root directory of this source tree.
|
|
118791
118794
|
*
|
|
118792
118795
|
*/
|
|
118793
|
-
const mod$
|
|
118794
|
-
const ContentEditable = mod$
|
|
118796
|
+
const mod$g = process.env.NODE_ENV !== 'production' ? modDev$g : modProd$g;
|
|
118797
|
+
const ContentEditable = mod$g.ContentEditable;
|
|
118795
118798
|
|
|
118796
118799
|
/**
|
|
118797
118800
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -118889,7 +118892,7 @@ function useLexicalEditable$1() {
|
|
|
118889
118892
|
return useLexicalSubscription(subscription);
|
|
118890
118893
|
}
|
|
118891
118894
|
|
|
118892
|
-
var modDev$
|
|
118895
|
+
var modDev$f = /*#__PURE__*/Object.freeze({
|
|
118893
118896
|
__proto__: null,
|
|
118894
118897
|
useLexicalEditable: useLexicalEditable$1
|
|
118895
118898
|
});
|
|
@@ -118903,7 +118906,7 @@ var modDev$d = /*#__PURE__*/Object.freeze({
|
|
|
118903
118906
|
*/
|
|
118904
118907
|
const c$3="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?React.useLayoutEffect:React.useEffect;function u$2(e){return {initialValueFn:()=>e.isEditable(),subscribe:n=>e.registerEditableListener(n)}}function a$2(){return function(n){const[t]=useLexicalComposerContext(),u=React.useMemo((()=>n(t)),[t,n]),[a,l]=React.useState((()=>u.initialValueFn())),d=React.useRef(a);return c$3((()=>{const{initialValueFn:e,subscribe:n}=u,t=e();return d.current!==t&&(d.current=t,l(t)),n((e=>{d.current=e,l(e);}))}),[u,n]),a}(u$2)}
|
|
118905
118908
|
|
|
118906
|
-
var modProd$
|
|
118909
|
+
var modProd$f = /*#__PURE__*/Object.freeze({
|
|
118907
118910
|
__proto__: null,
|
|
118908
118911
|
useLexicalEditable: a$2
|
|
118909
118912
|
});
|
|
@@ -118915,8 +118918,8 @@ var modProd$d = /*#__PURE__*/Object.freeze({
|
|
|
118915
118918
|
* LICENSE file in the root directory of this source tree.
|
|
118916
118919
|
*
|
|
118917
118920
|
*/
|
|
118918
|
-
const mod$
|
|
118919
|
-
const useLexicalEditable = mod$
|
|
118921
|
+
const mod$f = process.env.NODE_ENV !== 'production' ? modDev$f : modProd$f;
|
|
118922
|
+
const useLexicalEditable = mod$f.useLexicalEditable;
|
|
118920
118923
|
|
|
118921
118924
|
/**
|
|
118922
118925
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -119004,7 +119007,7 @@ function registerDragonSupport$1(editor) {
|
|
|
119004
119007
|
};
|
|
119005
119008
|
}
|
|
119006
119009
|
|
|
119007
|
-
var modDev$
|
|
119010
|
+
var modDev$e = /*#__PURE__*/Object.freeze({
|
|
119008
119011
|
__proto__: null,
|
|
119009
119012
|
registerDragonSupport: registerDragonSupport$1
|
|
119010
119013
|
});
|
|
@@ -119018,7 +119021,7 @@ var modDev$c = /*#__PURE__*/Object.freeze({
|
|
|
119018
119021
|
*/
|
|
119019
119022
|
function o$3(o){const i=window.location.origin,a=a=>{if(a.origin!==i)return;const r=o.getRootElement();if(document.activeElement!==r)return;const s=a.data;if("string"==typeof s){let i;try{i=JSON.parse(s);}catch(e){return}if(i&&"nuanria_messaging"===i.protocol&&"request"===i.type){const r=i.payload;if(r&&"makeChanges"===r.functionId){const i=r.args;if(i){const[r,s,c,g,d,f]=i;o.update((()=>{const o=$getSelection();if($isRangeSelection(o)){const e=o.anchor;let t=e.getNode(),i=0,f=0;if($isTextNode(t)&&r>=0&&s>=0&&(i=r,f=r+s,o.setTextNodeRange(t,i,t,f)),i===f&&""===c||(o.insertRawText(c),t=e.getNode()),$isTextNode(t)){i=g,f=g+d;const e=t.getTextContentSize();i=i>e?e:i,f=f>e?e:f,o.setTextNodeRange(t,i,t,f);}a.stopImmediatePropagation();}}));}}}}};return window.addEventListener("message",a,!0),()=>{window.removeEventListener("message",a,!0);}}
|
|
119020
119023
|
|
|
119021
|
-
var modProd$
|
|
119024
|
+
var modProd$e = /*#__PURE__*/Object.freeze({
|
|
119022
119025
|
__proto__: null,
|
|
119023
119026
|
registerDragonSupport: o$3
|
|
119024
119027
|
});
|
|
@@ -119030,8 +119033,8 @@ var modProd$c = /*#__PURE__*/Object.freeze({
|
|
|
119030
119033
|
* LICENSE file in the root directory of this source tree.
|
|
119031
119034
|
*
|
|
119032
119035
|
*/
|
|
119033
|
-
const mod$
|
|
119034
|
-
const registerDragonSupport = mod$
|
|
119036
|
+
const mod$e = process.env.NODE_ENV !== 'production' ? modDev$e : modProd$e;
|
|
119037
|
+
const registerDragonSupport = mod$e.registerDragonSupport;
|
|
119035
119038
|
|
|
119036
119039
|
/**
|
|
119037
119040
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -119200,7 +119203,7 @@ function Placeholder({
|
|
|
119200
119203
|
}
|
|
119201
119204
|
}
|
|
119202
119205
|
|
|
119203
|
-
var modDev$
|
|
119206
|
+
var modDev$d = /*#__PURE__*/Object.freeze({
|
|
119204
119207
|
__proto__: null,
|
|
119205
119208
|
RichTextPlugin: RichTextPlugin$1
|
|
119206
119209
|
});
|
|
@@ -119212,9 +119215,9 @@ var modDev$b = /*#__PURE__*/Object.freeze({
|
|
|
119212
119215
|
* LICENSE file in the root directory of this source tree.
|
|
119213
119216
|
*
|
|
119214
119217
|
*/
|
|
119215
|
-
const g$
|
|
119218
|
+
const g$3="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?React.useLayoutEffect:React.useEffect;function E$3(t){return t.getEditorState().read($canShowPlaceholderCurry(t.isComposing()))}function h$3({contentEditable:e,placeholder:r=null,ErrorBoundary:n}){const[E]=useLexicalComposerContext(),h=function(t,e){const[r,o]=React.useState((()=>t.getDecorators()));return g$3((()=>t.registerDecoratorListener((t=>{reactDom.flushSync((()=>{o(t);}));}))),[t]),React.useEffect((()=>{o(t.getDecorators());}),[t]),React.useMemo((()=>{const o=[],n=Object.keys(r);for(let i=0;i<n.length;i++){const c=n[i],l=jsxRuntime.jsx(e,{onError:e=>t._onError(e),children:jsxRuntime.jsx(React.Suspense,{fallback:null,children:r[c]})}),u=t.getElementByKey(c);null!==u&&o.push(reactDom.createPortal(l,u,c));}return o}),[e,r,t])}(E,n);return function(t){g$3((()=>mergeRegister(registerRichText(t),registerDragonSupport(t))),[t]);}(E),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[e,jsxRuntime.jsx(w$3,{content:r}),h]})}function w$3({content:r}){const[n]=useLexicalComposerContext(),i=function(t){const[e,r]=React.useState((()=>E$3(t)));return g$3((()=>{function e(){const e=E$3(t);r(e);}return e(),mergeRegister(t.registerUpdateListener((()=>{e();})),t.registerEditableListener((()=>{e();})))}),[t]),e}(n),l=useLexicalEditable();return i?"function"==typeof r?r(l):r:null}
|
|
119216
119219
|
|
|
119217
|
-
var modProd$
|
|
119220
|
+
var modProd$d = /*#__PURE__*/Object.freeze({
|
|
119218
119221
|
__proto__: null,
|
|
119219
119222
|
RichTextPlugin: h$3
|
|
119220
119223
|
});
|
|
@@ -119226,8 +119229,8 @@ var modProd$b = /*#__PURE__*/Object.freeze({
|
|
|
119226
119229
|
* LICENSE file in the root directory of this source tree.
|
|
119227
119230
|
*
|
|
119228
119231
|
*/
|
|
119229
|
-
const mod$
|
|
119230
|
-
const RichTextPlugin = mod$
|
|
119232
|
+
const mod$d = process.env.NODE_ENV !== 'production' ? modDev$d : modProd$d;
|
|
119233
|
+
const RichTextPlugin = mod$d.RichTextPlugin;
|
|
119231
119234
|
|
|
119232
119235
|
const editorRoot = "_editorRoot_sects_53";
|
|
119233
119236
|
const editorWrapper = "_editorWrapper_sects_155";
|
|
@@ -119906,7 +119909,7 @@ function LexicalErrorBoundary$1({
|
|
|
119906
119909
|
});
|
|
119907
119910
|
}
|
|
119908
119911
|
|
|
119909
|
-
var modDev$
|
|
119912
|
+
var modDev$c = /*#__PURE__*/Object.freeze({
|
|
119910
119913
|
__proto__: null,
|
|
119911
119914
|
LexicalErrorBoundary: LexicalErrorBoundary$1
|
|
119912
119915
|
});
|
|
@@ -119918,9 +119921,9 @@ var modDev$a = /*#__PURE__*/Object.freeze({
|
|
|
119918
119921
|
* LICENSE file in the root directory of this source tree.
|
|
119919
119922
|
*
|
|
119920
119923
|
*/
|
|
119921
|
-
function t$1(r,e){return t$1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,e){return r.__proto__=e,r},t$1(r,e)}var o$2={error:null},n$
|
|
119924
|
+
function t$1(r,e){return t$1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,e){return r.__proto__=e,r},t$1(r,e)}var o$2={error:null},n$4=function(e){var n,a;function s(){for(var r,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return (r=e.call.apply(e,[this].concat(n))||this).state=o$2,r.resetErrorBoundary=function(){for(var e,t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];null==r.props.onReset||(e=r.props).onReset.apply(e,o),r.reset();},r}a=e,(n=s).prototype=Object.create(a.prototype),n.prototype.constructor=n,t$1(n,a),s.getDerivedStateFromError=function(r){return {error:r}};var i=s.prototype;return i.reset=function(){this.setState(o$2);},i.componentDidCatch=function(r,e){var t,o;null==(t=(o=this.props).onError)||t.call(o,r,e);},i.componentDidUpdate=function(r,e){var t,o,n,a,s=this.state.error,i=this.props.resetKeys;null!==s&&null!==e.error&&(void 0===(n=r.resetKeys)&&(n=[]),void 0===(a=i)&&(a=[]),n.length!==a.length||n.some((function(r,e){return !Object.is(r,a[e])})))&&(null==(t=(o=this.props).onResetKeysChange)||t.call(o,r.resetKeys,i),this.reset());},i.render=function(){var e=this.state.error,t=this.props,o=t.fallbackRender,n=t.FallbackComponent,a=t.fallback;if(null!==e){var s={error:e,resetErrorBoundary:this.resetErrorBoundary};if(React__namespace.isValidElement(a))return a;if("function"==typeof o)return o(s);if(n)return React__namespace.createElement(n,s);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},s}(React__namespace.Component);function a$1({children:r,onError:t}){return jsxRuntime.jsx(n$4,{fallback:jsxRuntime.jsx("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:t,children:r})}
|
|
119922
119925
|
|
|
119923
|
-
var modProd$
|
|
119926
|
+
var modProd$c = /*#__PURE__*/Object.freeze({
|
|
119924
119927
|
__proto__: null,
|
|
119925
119928
|
LexicalErrorBoundary: a$1
|
|
119926
119929
|
});
|
|
@@ -119932,11 +119935,11 @@ var modProd$a = /*#__PURE__*/Object.freeze({
|
|
|
119932
119935
|
* LICENSE file in the root directory of this source tree.
|
|
119933
119936
|
*
|
|
119934
119937
|
*/
|
|
119935
|
-
const mod$
|
|
119936
|
-
const LexicalErrorBoundary = mod$
|
|
119938
|
+
const mod$c = process.env.NODE_ENV !== 'production' ? modDev$c : modProd$c;
|
|
119939
|
+
const LexicalErrorBoundary = mod$c.LexicalErrorBoundary;
|
|
119937
119940
|
|
|
119938
119941
|
const LexicalProvider = ({ children }) => {
|
|
119939
|
-
const rootEditor = E$
|
|
119942
|
+
const rootEditor = E$8(rootEditor$);
|
|
119940
119943
|
const composerContextValue = React__default["default"].useMemo(() => {
|
|
119941
119944
|
return [rootEditor, createLexicalComposerContext(null, lexicalTheme)];
|
|
119942
119945
|
}, [rootEditor]);
|
|
@@ -120243,7 +120246,7 @@ function useLexicalNodeSelection$1(key) {
|
|
|
120243
120246
|
return [isSelected, setSelected, clearSelected];
|
|
120244
120247
|
}
|
|
120245
120248
|
|
|
120246
|
-
var modDev$
|
|
120249
|
+
var modDev$b = /*#__PURE__*/Object.freeze({
|
|
120247
120250
|
__proto__: null,
|
|
120248
120251
|
useLexicalNodeSelection: useLexicalNodeSelection$1
|
|
120249
120252
|
});
|
|
@@ -120257,11 +120260,228 @@ var modDev$9 = /*#__PURE__*/Object.freeze({
|
|
|
120257
120260
|
*/
|
|
120258
120261
|
function d$3(e,t){return e.getEditorState().read((()=>{const e=$getNodeByKey(t);return null!==e&&e.isSelected()}))}function u$1(c){const[u]=useLexicalComposerContext(),[p,s]=React.useState((()=>d$3(u,c)));React.useEffect((()=>{let e=!0;const t=u.registerUpdateListener((()=>{e&&s(d$3(u,c));}));return ()=>{e=!1,t();}}),[u,c]);return [p,React.useCallback((e=>{u.update((()=>{let a=$getSelection();$isNodeSelection(a)||(a=$createNodeSelection(),$setSelection(a)),$isNodeSelection(a)&&(e?a.add(c):a.delete(c));}));}),[u,c]),React.useCallback((()=>{u.update((()=>{const e=$getSelection();$isNodeSelection(e)&&e.clear();}));}),[u])]}
|
|
120259
120262
|
|
|
120260
|
-
var modProd$
|
|
120263
|
+
var modProd$b = /*#__PURE__*/Object.freeze({
|
|
120261
120264
|
__proto__: null,
|
|
120262
120265
|
useLexicalNodeSelection: u$1
|
|
120263
120266
|
});
|
|
120264
120267
|
|
|
120268
|
+
/**
|
|
120269
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
120270
|
+
*
|
|
120271
|
+
* This source code is licensed under the MIT license found in the
|
|
120272
|
+
* LICENSE file in the root directory of this source tree.
|
|
120273
|
+
*
|
|
120274
|
+
*/
|
|
120275
|
+
const mod$b = process.env.NODE_ENV !== 'production' ? modDev$b : modProd$b;
|
|
120276
|
+
const useLexicalNodeSelection = mod$b.useLexicalNodeSelection;
|
|
120277
|
+
|
|
120278
|
+
/**
|
|
120279
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
120280
|
+
*
|
|
120281
|
+
* This source code is licensed under the MIT license found in the
|
|
120282
|
+
* LICENSE file in the root directory of this source tree.
|
|
120283
|
+
*
|
|
120284
|
+
*/
|
|
120285
|
+
|
|
120286
|
+
/**
|
|
120287
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
120288
|
+
*
|
|
120289
|
+
* This source code is licensed under the MIT license found in the
|
|
120290
|
+
* LICENSE file in the root directory of this source tree.
|
|
120291
|
+
*
|
|
120292
|
+
*/
|
|
120293
|
+
|
|
120294
|
+
const INSERT_HORIZONTAL_RULE_COMMAND$1 = createCommand('INSERT_HORIZONTAL_RULE_COMMAND');
|
|
120295
|
+
function HorizontalRuleComponent({
|
|
120296
|
+
nodeKey
|
|
120297
|
+
}) {
|
|
120298
|
+
const [editor] = useLexicalComposerContext();
|
|
120299
|
+
const [isSelected, setSelected, clearSelection] = useLexicalNodeSelection(nodeKey);
|
|
120300
|
+
const $onDelete = React.useCallback(event => {
|
|
120301
|
+
const deleteSelection = $getSelection();
|
|
120302
|
+
if (isSelected && $isNodeSelection(deleteSelection)) {
|
|
120303
|
+
event.preventDefault();
|
|
120304
|
+
deleteSelection.getNodes().forEach(node => {
|
|
120305
|
+
if ($isHorizontalRuleNode$1(node)) {
|
|
120306
|
+
node.remove();
|
|
120307
|
+
}
|
|
120308
|
+
});
|
|
120309
|
+
}
|
|
120310
|
+
return false;
|
|
120311
|
+
}, [isSelected]);
|
|
120312
|
+
React.useEffect(() => {
|
|
120313
|
+
return mergeRegister(editor.registerCommand(CLICK_COMMAND, event => {
|
|
120314
|
+
const hrElem = editor.getElementByKey(nodeKey);
|
|
120315
|
+
if (event.target === hrElem) {
|
|
120316
|
+
if (!event.shiftKey) {
|
|
120317
|
+
clearSelection();
|
|
120318
|
+
}
|
|
120319
|
+
setSelected(!isSelected);
|
|
120320
|
+
return true;
|
|
120321
|
+
}
|
|
120322
|
+
return false;
|
|
120323
|
+
}, COMMAND_PRIORITY_LOW), editor.registerCommand(KEY_DELETE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW), editor.registerCommand(KEY_BACKSPACE_COMMAND, $onDelete, COMMAND_PRIORITY_LOW));
|
|
120324
|
+
}, [clearSelection, editor, isSelected, nodeKey, $onDelete, setSelected]);
|
|
120325
|
+
React.useEffect(() => {
|
|
120326
|
+
const hrElem = editor.getElementByKey(nodeKey);
|
|
120327
|
+
const isSelectedClassName = editor._config.theme.hrSelected ?? 'selected';
|
|
120328
|
+
if (hrElem !== null) {
|
|
120329
|
+
if (isSelected) {
|
|
120330
|
+
addClassNamesToElement(hrElem, isSelectedClassName);
|
|
120331
|
+
} else {
|
|
120332
|
+
removeClassNamesFromElement(hrElem, isSelectedClassName);
|
|
120333
|
+
}
|
|
120334
|
+
}
|
|
120335
|
+
}, [editor, isSelected, nodeKey]);
|
|
120336
|
+
return null;
|
|
120337
|
+
}
|
|
120338
|
+
class HorizontalRuleNode$1 extends DecoratorNode {
|
|
120339
|
+
static getType() {
|
|
120340
|
+
return 'horizontalrule';
|
|
120341
|
+
}
|
|
120342
|
+
static clone(node) {
|
|
120343
|
+
return new HorizontalRuleNode$1(node.__key);
|
|
120344
|
+
}
|
|
120345
|
+
static importJSON(serializedNode) {
|
|
120346
|
+
return $createHorizontalRuleNode$1().updateFromJSON(serializedNode);
|
|
120347
|
+
}
|
|
120348
|
+
static importDOM() {
|
|
120349
|
+
return {
|
|
120350
|
+
hr: () => ({
|
|
120351
|
+
conversion: $convertHorizontalRuleElement,
|
|
120352
|
+
priority: 0
|
|
120353
|
+
})
|
|
120354
|
+
};
|
|
120355
|
+
}
|
|
120356
|
+
exportDOM() {
|
|
120357
|
+
return {
|
|
120358
|
+
element: document.createElement('hr')
|
|
120359
|
+
};
|
|
120360
|
+
}
|
|
120361
|
+
createDOM(config) {
|
|
120362
|
+
const element = document.createElement('hr');
|
|
120363
|
+
addClassNamesToElement(element, config.theme.hr);
|
|
120364
|
+
return element;
|
|
120365
|
+
}
|
|
120366
|
+
getTextContent() {
|
|
120367
|
+
return '\n';
|
|
120368
|
+
}
|
|
120369
|
+
isInline() {
|
|
120370
|
+
return false;
|
|
120371
|
+
}
|
|
120372
|
+
updateDOM() {
|
|
120373
|
+
return false;
|
|
120374
|
+
}
|
|
120375
|
+
decorate() {
|
|
120376
|
+
return /*#__PURE__*/jsxRuntime.jsx(HorizontalRuleComponent, {
|
|
120377
|
+
nodeKey: this.__key
|
|
120378
|
+
});
|
|
120379
|
+
}
|
|
120380
|
+
}
|
|
120381
|
+
function $convertHorizontalRuleElement() {
|
|
120382
|
+
return {
|
|
120383
|
+
node: $createHorizontalRuleNode$1()
|
|
120384
|
+
};
|
|
120385
|
+
}
|
|
120386
|
+
function $createHorizontalRuleNode$1() {
|
|
120387
|
+
return $applyNodeReplacement(new HorizontalRuleNode$1());
|
|
120388
|
+
}
|
|
120389
|
+
function $isHorizontalRuleNode$1(node) {
|
|
120390
|
+
return node instanceof HorizontalRuleNode$1;
|
|
120391
|
+
}
|
|
120392
|
+
|
|
120393
|
+
var modDev$a = /*#__PURE__*/Object.freeze({
|
|
120394
|
+
__proto__: null,
|
|
120395
|
+
$createHorizontalRuleNode: $createHorizontalRuleNode$1,
|
|
120396
|
+
$isHorizontalRuleNode: $isHorizontalRuleNode$1,
|
|
120397
|
+
HorizontalRuleNode: HorizontalRuleNode$1,
|
|
120398
|
+
INSERT_HORIZONTAL_RULE_COMMAND: INSERT_HORIZONTAL_RULE_COMMAND$1
|
|
120399
|
+
});
|
|
120400
|
+
|
|
120401
|
+
/**
|
|
120402
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
120403
|
+
*
|
|
120404
|
+
* This source code is licensed under the MIT license found in the
|
|
120405
|
+
* LICENSE file in the root directory of this source tree.
|
|
120406
|
+
*
|
|
120407
|
+
*/
|
|
120408
|
+
const y$2=createCommand("INSERT_HORIZONTAL_RULE_COMMAND");function g$2({nodeKey:c}){const[i]=useLexicalComposerContext(),[m,h,y]=useLexicalNodeSelection(c),g=React.useCallback((e=>{const t=$getSelection();return m&&$isNodeSelection(t)&&(e.preventDefault(),t.getNodes().forEach((e=>{E$2(e)&&e.remove();}))),!1}),[m]);return React.useEffect((()=>mergeRegister(i.registerCommand(CLICK_COMMAND,(e=>{const t=i.getElementByKey(c);return e.target===t&&(e.shiftKey||y(),h(!m),!0)}),COMMAND_PRIORITY_LOW),i.registerCommand(KEY_DELETE_COMMAND,g,COMMAND_PRIORITY_LOW),i.registerCommand(KEY_BACKSPACE_COMMAND,g,COMMAND_PRIORITY_LOW))),[y,i,m,c,g,h]),React.useEffect((()=>{const e=i.getElementByKey(c),t=i._config.theme.hrSelected??"selected";null!==e&&(m?addClassNamesToElement(e,t):removeClassNamesFromElement(e,t));}),[i,m,c]),null}class O$2 extends DecoratorNode{static getType(){return "horizontalrule"}static clone(e){return new O$2(e.__key)}static importJSON(e){return C$2().updateFromJSON(e)}static importDOM(){return {hr:()=>({conversion:_$1,priority:0})}}exportDOM(){return {element:document.createElement("hr")}}createDOM(e){const t=document.createElement("hr");return addClassNamesToElement(t,e.theme.hr),t}getTextContent(){return "\n"}isInline(){return !1}updateDOM(){return !1}decorate(){return jsxRuntime.jsx(g$2,{nodeKey:this.__key})}}function _$1(){return {node:C$2()}}function C$2(){return $applyNodeReplacement(new O$2)}function E$2(e){return e instanceof O$2}
|
|
120409
|
+
|
|
120410
|
+
var modProd$a = /*#__PURE__*/Object.freeze({
|
|
120411
|
+
__proto__: null,
|
|
120412
|
+
$createHorizontalRuleNode: C$2,
|
|
120413
|
+
$isHorizontalRuleNode: E$2,
|
|
120414
|
+
HorizontalRuleNode: O$2,
|
|
120415
|
+
INSERT_HORIZONTAL_RULE_COMMAND: y$2
|
|
120416
|
+
});
|
|
120417
|
+
|
|
120418
|
+
/**
|
|
120419
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
120420
|
+
*
|
|
120421
|
+
* This source code is licensed under the MIT license found in the
|
|
120422
|
+
* LICENSE file in the root directory of this source tree.
|
|
120423
|
+
*
|
|
120424
|
+
*/
|
|
120425
|
+
const mod$a = process.env.NODE_ENV !== 'production' ? modDev$a : modProd$a;
|
|
120426
|
+
const $createHorizontalRuleNode = mod$a.$createHorizontalRuleNode;
|
|
120427
|
+
const $isHorizontalRuleNode = mod$a.$isHorizontalRuleNode;
|
|
120428
|
+
const HorizontalRuleNode = mod$a.HorizontalRuleNode;
|
|
120429
|
+
const INSERT_HORIZONTAL_RULE_COMMAND = mod$a.INSERT_HORIZONTAL_RULE_COMMAND;
|
|
120430
|
+
|
|
120431
|
+
/**
|
|
120432
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
120433
|
+
*
|
|
120434
|
+
* This source code is licensed under the MIT license found in the
|
|
120435
|
+
* LICENSE file in the root directory of this source tree.
|
|
120436
|
+
*
|
|
120437
|
+
*/
|
|
120438
|
+
|
|
120439
|
+
/**
|
|
120440
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
120441
|
+
*
|
|
120442
|
+
* This source code is licensed under the MIT license found in the
|
|
120443
|
+
* LICENSE file in the root directory of this source tree.
|
|
120444
|
+
*
|
|
120445
|
+
*/
|
|
120446
|
+
|
|
120447
|
+
function HorizontalRulePlugin$1() {
|
|
120448
|
+
const [editor] = useLexicalComposerContext();
|
|
120449
|
+
React.useEffect(() => {
|
|
120450
|
+
return editor.registerCommand(INSERT_HORIZONTAL_RULE_COMMAND, type => {
|
|
120451
|
+
const selection = $getSelection();
|
|
120452
|
+
if (!$isRangeSelection(selection)) {
|
|
120453
|
+
return false;
|
|
120454
|
+
}
|
|
120455
|
+
const focusNode = selection.focus.getNode();
|
|
120456
|
+
if (focusNode !== null) {
|
|
120457
|
+
const horizontalRuleNode = $createHorizontalRuleNode();
|
|
120458
|
+
$insertNodeToNearestRoot(horizontalRuleNode);
|
|
120459
|
+
}
|
|
120460
|
+
return true;
|
|
120461
|
+
}, COMMAND_PRIORITY_EDITOR);
|
|
120462
|
+
}, [editor]);
|
|
120463
|
+
return null;
|
|
120464
|
+
}
|
|
120465
|
+
|
|
120466
|
+
var modDev$9 = /*#__PURE__*/Object.freeze({
|
|
120467
|
+
__proto__: null,
|
|
120468
|
+
HorizontalRulePlugin: HorizontalRulePlugin$1
|
|
120469
|
+
});
|
|
120470
|
+
|
|
120471
|
+
/**
|
|
120472
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
120473
|
+
*
|
|
120474
|
+
* This source code is licensed under the MIT license found in the
|
|
120475
|
+
* LICENSE file in the root directory of this source tree.
|
|
120476
|
+
*
|
|
120477
|
+
*/
|
|
120478
|
+
function n$3(){const[n]=useLexicalComposerContext();return React.useEffect((()=>n.registerCommand(INSERT_HORIZONTAL_RULE_COMMAND,(o=>{const r=$getSelection();if(!$isRangeSelection(r))return !1;if(null!==r.focus.getNode()){const o=$createHorizontalRuleNode();$insertNodeToNearestRoot(o);}return !0}),COMMAND_PRIORITY_EDITOR)),[n]),null}
|
|
120479
|
+
|
|
120480
|
+
var modProd$9 = /*#__PURE__*/Object.freeze({
|
|
120481
|
+
__proto__: null,
|
|
120482
|
+
HorizontalRulePlugin: n$3
|
|
120483
|
+
});
|
|
120484
|
+
|
|
120265
120485
|
/**
|
|
120266
120486
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
120267
120487
|
*
|
|
@@ -120270,7 +120490,38 @@ var modProd$9 = /*#__PURE__*/Object.freeze({
|
|
|
120270
120490
|
*
|
|
120271
120491
|
*/
|
|
120272
120492
|
const mod$9 = process.env.NODE_ENV !== 'production' ? modDev$9 : modProd$9;
|
|
120273
|
-
const
|
|
120493
|
+
const HorizontalRulePlugin = mod$9.HorizontalRulePlugin;
|
|
120494
|
+
|
|
120495
|
+
const LexicalThematicBreakVisitor = {
|
|
120496
|
+
testLexicalNode: $isHorizontalRuleNode,
|
|
120497
|
+
visitLexicalNode({ actions }) {
|
|
120498
|
+
actions.addAndStepInto("thematicBreak");
|
|
120499
|
+
}
|
|
120500
|
+
};
|
|
120501
|
+
|
|
120502
|
+
const MdastThematicBreakVisitor = {
|
|
120503
|
+
testNode: "thematicBreak",
|
|
120504
|
+
visitNode({ actions }) {
|
|
120505
|
+
actions.addAndStepInto($createHorizontalRuleNode());
|
|
120506
|
+
}
|
|
120507
|
+
};
|
|
120508
|
+
|
|
120509
|
+
const insertThematicBreak$ = q$5((r) => {
|
|
120510
|
+
r.sub(r.pipe(insertThematicBreak$, tt$3(activeEditor$)), ([, theEditor]) => {
|
|
120511
|
+
theEditor == null ? void 0 : theEditor.dispatchCommand(INSERT_HORIZONTAL_RULE_COMMAND, void 0);
|
|
120512
|
+
});
|
|
120513
|
+
});
|
|
120514
|
+
const thematicBreakPlugin = realmPlugin({
|
|
120515
|
+
init(realm) {
|
|
120516
|
+
realm.pubIn({
|
|
120517
|
+
[addActivePlugin$]: "thematicBreak",
|
|
120518
|
+
[addImportVisitor$]: MdastThematicBreakVisitor,
|
|
120519
|
+
[addLexicalNode$]: HorizontalRuleNode,
|
|
120520
|
+
[addExportVisitor$]: LexicalThematicBreakVisitor,
|
|
120521
|
+
[addComposerChild$]: HorizontalRulePlugin
|
|
120522
|
+
});
|
|
120523
|
+
}
|
|
120524
|
+
});
|
|
120274
120525
|
|
|
120275
120526
|
/**
|
|
120276
120527
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -128164,7 +128415,7 @@ const insertTable$ = K$4((r) => {
|
|
|
128164
128415
|
r.link(
|
|
128165
128416
|
r.pipe(
|
|
128166
128417
|
insertTable$,
|
|
128167
|
-
_$
|
|
128418
|
+
_$7(({ rows, columns }) => {
|
|
128168
128419
|
return () => $createTableNode(seedTable(rows, columns));
|
|
128169
128420
|
})
|
|
128170
128421
|
),
|
|
@@ -135056,7 +135307,7 @@ const DownshiftAutoCompleteWithSuggestions = ({
|
|
|
135056
135307
|
setValue
|
|
135057
135308
|
}) => {
|
|
135058
135309
|
const [items, setItems] = React__default["default"].useState(suggestions.slice(0, MAX_SUGGESTIONS));
|
|
135059
|
-
const iconComponentFor = E$
|
|
135310
|
+
const iconComponentFor = E$8(iconComponentFor$);
|
|
135060
135311
|
const enableAutoComplete = suggestions.length > 0;
|
|
135061
135312
|
const { isOpen, getToggleButtonProps, getMenuProps, getInputProps, highlightedIndex, getItemProps, selectedItem } = useCombobox({
|
|
135062
135313
|
initialInputValue,
|
|
@@ -136090,7 +136341,7 @@ const openEditImageDialog$ = K$4((r) => {
|
|
|
136090
136341
|
r.link(
|
|
136091
136342
|
r.pipe(
|
|
136092
136343
|
openEditImageDialog$,
|
|
136093
|
-
_$
|
|
136344
|
+
_$7((payload) => ({ type: "editing", ...payload }))
|
|
136094
136345
|
),
|
|
136095
136346
|
imageDialogState$
|
|
136096
136347
|
);
|
|
@@ -136268,6 +136519,33 @@ function getDragSelection(event) {
|
|
|
136268
136519
|
return range;
|
|
136269
136520
|
}
|
|
136270
136521
|
|
|
136522
|
+
const MdastBlockQuoteVisitor = {
|
|
136523
|
+
testNode: "blockquote",
|
|
136524
|
+
visitNode({ actions }) {
|
|
136525
|
+
actions.addAndStepInto($createQuoteNode());
|
|
136526
|
+
}
|
|
136527
|
+
};
|
|
136528
|
+
|
|
136529
|
+
const LexicalQuoteVisitor = {
|
|
136530
|
+
testLexicalNode: $isQuoteNode,
|
|
136531
|
+
visitLexicalNode: ({ lexicalNode, mdastParent, actions }) => {
|
|
136532
|
+
const paragraph = { type: "paragraph", children: [] };
|
|
136533
|
+
actions.appendToParent(mdastParent, { type: "blockquote", children: [paragraph] });
|
|
136534
|
+
actions.visitChildren(lexicalNode, paragraph);
|
|
136535
|
+
}
|
|
136536
|
+
};
|
|
136537
|
+
|
|
136538
|
+
const quotePlugin = realmPlugin({
|
|
136539
|
+
init(realm) {
|
|
136540
|
+
realm.pubIn({
|
|
136541
|
+
[addActivePlugin$]: "quote",
|
|
136542
|
+
[addImportVisitor$]: MdastBlockQuoteVisitor,
|
|
136543
|
+
[addLexicalNode$]: QuoteNode,
|
|
136544
|
+
[addExportVisitor$]: LexicalQuoteVisitor
|
|
136545
|
+
});
|
|
136546
|
+
}
|
|
136547
|
+
});
|
|
136548
|
+
|
|
136271
136549
|
// packages/core/number/src/number.ts
|
|
136272
136550
|
function clamp(value, [min, max]) {
|
|
136273
136551
|
return Math.min(max, Math.max(min, value));
|
|
@@ -137916,7 +138194,7 @@ var Content2 = TooltipContent;
|
|
|
137916
138194
|
var Arrow2 = TooltipArrow;
|
|
137917
138195
|
|
|
137918
138196
|
const TooltipWrap = React__default["default"].forwardRef(({ title, children }, ref) => {
|
|
137919
|
-
const editorRootElementRef = E$
|
|
138197
|
+
const editorRootElementRef = E$8(editorRootElementRef$);
|
|
137920
138198
|
return /* @__PURE__ */ React__default["default"].createElement(Provider, { delayDuration: 100 }, /* @__PURE__ */ React__default["default"].createElement(Root3, null, /* @__PURE__ */ React__default["default"].createElement(Trigger, { ref, asChild: true }, /* @__PURE__ */ React__default["default"].createElement("span", { className: styles.tooltipTrigger }, children)), /* @__PURE__ */ React__default["default"].createElement(Portal, { container: editorRootElementRef == null ? void 0 : editorRootElementRef.current }, /* @__PURE__ */ React__default["default"].createElement(Content2, { className: classnames(styles.tooltipContent), sideOffset: 10 }, title))));
|
|
137921
138199
|
});
|
|
137922
138200
|
|
|
@@ -137943,7 +138221,7 @@ const SelectContent = ({
|
|
|
137943
138221
|
children,
|
|
137944
138222
|
className = styles.selectContainer
|
|
137945
138223
|
}) => {
|
|
137946
|
-
const editorRootElementRef = E$
|
|
138224
|
+
const editorRootElementRef = E$8(editorRootElementRef$);
|
|
137947
138225
|
return /* @__PURE__ */ React__default["default"].createElement(Portal$1, { container: editorRootElementRef == null ? void 0 : editorRootElementRef.current }, /* @__PURE__ */ React__default["default"].createElement(
|
|
137948
138226
|
Content2$1,
|
|
137949
138227
|
{
|
|
@@ -138271,7 +138549,7 @@ const linkDialogState$ = $$4({ type: "inactive" }, (r) => {
|
|
|
138271
138549
|
r.pipe(
|
|
138272
138550
|
switchFromPreviewToLinkEdit$,
|
|
138273
138551
|
tt$3(linkDialogState$),
|
|
138274
|
-
_$
|
|
138552
|
+
_$7(([, state]) => {
|
|
138275
138553
|
if (state.type === "preview") {
|
|
138276
138554
|
return {
|
|
138277
138555
|
type: "edit",
|
|
@@ -138333,7 +138611,7 @@ const linkDialogState$ = $$4({ type: "inactive" }, (r) => {
|
|
|
138333
138611
|
r.pipe(
|
|
138334
138612
|
cancelLinkEdit$,
|
|
138335
138613
|
tt$3(linkDialogState$, activeEditor$),
|
|
138336
|
-
_$
|
|
138614
|
+
_$7(([, state, editor]) => {
|
|
138337
138615
|
if (state.type === "edit") {
|
|
138338
138616
|
editor == null ? void 0 : editor.focus();
|
|
138339
138617
|
if (state.initialUrl === "") {
|
|
@@ -138359,7 +138637,7 @@ const linkDialogState$ = $$4({ type: "inactive" }, (r) => {
|
|
|
138359
138637
|
r.pipe(
|
|
138360
138638
|
r.combine(currentSelection$, onWindowChange$),
|
|
138361
138639
|
tt$3(activeEditor$, linkDialogState$, readOnly$),
|
|
138362
|
-
_$
|
|
138640
|
+
_$7(([[selection], activeEditor, _, readOnly]) => {
|
|
138363
138641
|
if ($isRangeSelection(selection) && activeEditor && !readOnly) {
|
|
138364
138642
|
const node = getLinkNodeInSelection(selection);
|
|
138365
138643
|
if (node) {
|
|
@@ -138583,8 +138861,8 @@ const toolbarPlugin = realmPlugin({
|
|
|
138583
138861
|
|
|
138584
138862
|
const BlockTypeSelect = () => {
|
|
138585
138863
|
const convertSelectionToNode = A$5(convertSelectionToNode$);
|
|
138586
|
-
const currentBlockType = E$
|
|
138587
|
-
const activePlugins = E$
|
|
138864
|
+
const currentBlockType = E$8(currentBlockType$);
|
|
138865
|
+
const activePlugins = E$8(activePlugins$);
|
|
138588
138866
|
const hasQuote = activePlugins.includes("quote");
|
|
138589
138867
|
const hasHeadings = activePlugins.includes("headings");
|
|
138590
138868
|
const t = useTranslation();
|
|
@@ -138598,7 +138876,7 @@ const BlockTypeSelect = () => {
|
|
|
138598
138876
|
items.push({ label: t("toolbar.blockTypes.quote", "Quote"), value: "quote" });
|
|
138599
138877
|
}
|
|
138600
138878
|
if (hasHeadings) {
|
|
138601
|
-
const allowedHeadingLevels = E$
|
|
138879
|
+
const allowedHeadingLevels = E$8(allowedHeadingLevels$);
|
|
138602
138880
|
items.push(
|
|
138603
138881
|
...allowedHeadingLevels.map(
|
|
138604
138882
|
(n) => ({ label: t("toolbar.blockTypes.heading", "Heading {{level}}", { level: n }), value: `h${n}` })
|
|
@@ -138717,7 +138995,7 @@ const StrikeThroughSupSubToggles = ({ options }) => {
|
|
|
138717
138995
|
|
|
138718
138996
|
const CreateLink = () => {
|
|
138719
138997
|
const openLinkDialog = A$5(openLinkEditDialog$);
|
|
138720
|
-
const iconComponentFor = E$
|
|
138998
|
+
const iconComponentFor = E$8(iconComponentFor$);
|
|
138721
138999
|
const t = useTranslation();
|
|
138722
139000
|
return /* @__PURE__ */ React__default["default"].createElement(
|
|
138723
139001
|
ButtonWithTooltip,
|
|
@@ -138754,7 +139032,7 @@ const disableInsertTableButton$ = $$4(false, (r) => {
|
|
|
138754
139032
|
r.link(
|
|
138755
139033
|
r.pipe(
|
|
138756
139034
|
activeEditor$,
|
|
138757
|
-
_$
|
|
139035
|
+
_$7((editor) => {
|
|
138758
139036
|
var _a, _b;
|
|
138759
139037
|
return ["td", "th"].includes(((_b = (_a = editor == null ? void 0 : editor.getRootElement()) == null ? void 0 : _a.parentNode) == null ? void 0 : _b.nodeName.toLowerCase()) ?? "");
|
|
138760
139038
|
})
|
|
@@ -138763,10 +139041,10 @@ const disableInsertTableButton$ = $$4(false, (r) => {
|
|
|
138763
139041
|
);
|
|
138764
139042
|
});
|
|
138765
139043
|
const InsertTable = () => {
|
|
138766
|
-
const iconComponentFor = E$
|
|
139044
|
+
const iconComponentFor = E$8(iconComponentFor$);
|
|
138767
139045
|
const insertTable = A$5(insertTable$);
|
|
138768
139046
|
const t = useTranslation();
|
|
138769
|
-
const isDisabled = E$
|
|
139047
|
+
const isDisabled = E$8(disableInsertTableButton$);
|
|
138770
139048
|
return /* @__PURE__ */ React__default["default"].createElement(
|
|
138771
139049
|
ButtonWithTooltip,
|
|
138772
139050
|
{
|
|
@@ -138780,6 +139058,22 @@ const InsertTable = () => {
|
|
|
138780
139058
|
);
|
|
138781
139059
|
};
|
|
138782
139060
|
|
|
139061
|
+
const InsertThematicBreak = () => {
|
|
139062
|
+
const insertThematicBreak = A$5(insertThematicBreak$);
|
|
139063
|
+
const iconComponentFor = E$8(iconComponentFor$);
|
|
139064
|
+
const t = useTranslation();
|
|
139065
|
+
return /* @__PURE__ */ React__default["default"].createElement(
|
|
139066
|
+
ButtonWithTooltip,
|
|
139067
|
+
{
|
|
139068
|
+
title: t("toolbar.thematicBreak", "Insert thematic break"),
|
|
139069
|
+
onClick: () => {
|
|
139070
|
+
insertThematicBreak();
|
|
139071
|
+
}
|
|
139072
|
+
},
|
|
139073
|
+
iconComponentFor("horizontal_rule")
|
|
139074
|
+
);
|
|
139075
|
+
};
|
|
139076
|
+
|
|
138783
139077
|
const ICON_NAME_MAP = {
|
|
138784
139078
|
bullet: "format_list_bulleted",
|
|
138785
139079
|
number: "format_list_numbered",
|
|
@@ -138852,30 +139146,45 @@ const UndoRedo = () => {
|
|
|
138852
139146
|
);
|
|
138853
139147
|
};
|
|
138854
139148
|
|
|
139149
|
+
// useTheme.ts
|
|
139150
|
+
var useTheme = function () {
|
|
139151
|
+
var context = React.useContext(ThemeContext);
|
|
139152
|
+
if (!context) {
|
|
139153
|
+
throw new Error("useTheme must be used within a ThemeProvider");
|
|
139154
|
+
}
|
|
139155
|
+
return context;
|
|
139156
|
+
};
|
|
139157
|
+
|
|
138855
139158
|
function MarkdownEditor(_a) {
|
|
138856
139159
|
var value = _a.value, onChange = _a.onChange;
|
|
138857
|
-
|
|
138858
|
-
|
|
138859
|
-
|
|
138860
|
-
|
|
138861
|
-
|
|
138862
|
-
|
|
138863
|
-
|
|
138864
|
-
|
|
138865
|
-
|
|
138866
|
-
|
|
138867
|
-
|
|
139160
|
+
var theme = useTheme().theme;
|
|
139161
|
+
return (jsxRuntime.jsx(MDXEditor, { className: theme === "dark" ? "dark" : "", markdown: value, onChange: onChange, plugins: [
|
|
139162
|
+
headingsPlugin(),
|
|
139163
|
+
linkPlugin(),
|
|
139164
|
+
listsPlugin(),
|
|
139165
|
+
imagePlugin(),
|
|
139166
|
+
tablePlugin(),
|
|
139167
|
+
linkDialogPlugin({}),
|
|
139168
|
+
thematicBreakPlugin(),
|
|
139169
|
+
quotePlugin(),
|
|
139170
|
+
toolbarPlugin({
|
|
139171
|
+
toolbarContents: function () { return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(UndoRedo, {}), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(BlockTypeSelect, {}), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(BoldItalicUnderlineToggles, {}), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(StrikeThroughSupSubToggles, {}), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(ListsToggle, {}), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(CreateLink, {}), jsxRuntime.jsx(InsertImage, {}), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(InsertTable, {}), jsxRuntime.jsx(InsertThematicBreak, {})] })); },
|
|
139172
|
+
}),
|
|
139173
|
+
] }));
|
|
138868
139174
|
}
|
|
138869
139175
|
|
|
138870
139176
|
function MarkdownViewer(_a) {
|
|
138871
139177
|
var value = _a.value;
|
|
138872
|
-
|
|
139178
|
+
var theme = useTheme().theme;
|
|
139179
|
+
return (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(MDXEditor, { className: theme === "dark" ? "dark" : "", markdown: value, readOnly: true, plugins: [
|
|
138873
139180
|
headingsPlugin(),
|
|
138874
139181
|
linkPlugin(),
|
|
138875
139182
|
listsPlugin(),
|
|
138876
139183
|
imagePlugin(),
|
|
138877
139184
|
tablePlugin(),
|
|
138878
139185
|
linkDialogPlugin({}),
|
|
139186
|
+
thematicBreakPlugin(),
|
|
139187
|
+
quotePlugin(),
|
|
138879
139188
|
] }) }));
|
|
138880
139189
|
}
|
|
138881
139190
|
|