@wistia/vhs 2.12.0 → 2.13.0-beta.caab29ce.6b3bd18
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/dist/index.cjs.js +372 -372
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.esm.js +356 -356
- package/dist/index.esm.js.map +4 -4
- package/dist/src/components/Icon/iconMap.d.ts +3 -1
- package/dist/src/components/Icon/iconMap.d.ts.map +1 -1
- package/dist/src/components/Icon/icons/ChannelIcon.d.ts.map +1 -1
- package/dist/src/components/Icon/icons/HomeIcon.d.ts +4 -0
- package/dist/src/components/Icon/icons/HomeIcon.d.ts.map +1 -0
- package/dist/src/components/Icon/icons/SettingsIcon.d.ts +4 -0
- package/dist/src/components/Icon/icons/SettingsIcon.d.ts.map +1 -0
- package/dist/src/components/Icon/icons/TagIcon.d.ts +4 -0
- package/dist/src/components/Icon/icons/TagIcon.d.ts.map +1 -0
- package/dist/src/components/Icon/icons/index.d.ts +3 -1
- package/dist/src/components/Icon/icons/index.d.ts.map +1 -1
- package/dist/src/components/MenuButton/MenuButton.d.ts +2 -2
- package/dist/src/components/MenuButton/MenuButton.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/components/Icon/icons/CustomizeIcon.d.ts +0 -4
- package/dist/src/components/Icon/icons/CustomizeIcon.d.ts.map +0 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license VHS v2.
|
|
3
|
+
* @license VHS v2.13.0-beta.caab29ce.6b3bd18
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2023, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
7
7
|
* This source code is unlicensed, all rights reserved.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
"use strict";var tC=Object.create;var Cs=Object.defineProperty;var rC=Object.getOwnPropertyDescriptor;var nC=Object.getOwnPropertyNames;var oC=Object.getPrototypeOf,aC=Object.prototype.hasOwnProperty;var iC=(e,t)=>()=>(e&&(t=e(e=0)),t);var xe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wo=(e,t)=>{for(var r in t)Cs(e,r,{get:t[r],enumerable:!0})},Bd=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of nC(t))!aC.call(e,o)&&o!==r&&Cs(e,o,{get:()=>t[o],enumerable:!(n=rC(t,o))||n.enumerable});return e};var z=(e,t,r)=>(r=e!=null?tC(oC(e)):{},Bd(t||!e||!e.__esModule?Cs(r,"default",{value:e,enumerable:!0}):r,e)),sC=e=>Bd(Cs({},"__esModule",{value:!0}),e);var f,i=iC(()=>{"use strict";f=z(require("react"))});var Nd=xe((eZ,kd)=>{"use strict";i();kd.exports=LC;var Ld="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",Id="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",PC=new RegExp("^[^"+Id+"]*["+Ld+"]"),RC=new RegExp("^[^"+Ld+"]*["+Id+"]");function LC(e){return e=String(e||""),PC.test(e)?"rtl":RC.test(e)?"ltr":"neutral"}});var ws=xe((rZ,$d)=>{i();function IC(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}$d.exports=IC});var Hd=xe((oZ,Zd)=>{i();var kC=typeof window=="object"&&window&&window.Object===Object&&window;Zd.exports=kC});var Kl=xe((iZ,zd)=>{i();var NC=Hd(),$C=typeof self=="object"&&self&&self.Object===Object&&self,ZC=NC||$C||Function("return this")();zd.exports=ZC});var jd=xe((uZ,Vd)=>{i();var HC=Kl(),zC=function(){return HC.Date.now()};Vd.exports=zC});var Ud=xe((cZ,Wd)=>{i();var VC=/\s/;function jC(e){for(var t=e.length;t--&&VC.test(e.charAt(t)););return t}Wd.exports=jC});var Kd=xe((pZ,_d)=>{i();var WC=Ud(),UC=/^\s+/;function _C(e){return e&&e.slice(0,WC(e)+1).replace(UC,"")}_d.exports=_C});var Gl=xe((mZ,Gd)=>{i();var KC=Kl(),GC=KC.Symbol;Gd.exports=GC});var Jd=xe((gZ,Yd)=>{i();var qd=Gl(),Xd=Object.prototype,qC=Xd.hasOwnProperty,XC=Xd.toString,ti=qd?qd.toStringTag:void 0;function YC(e){var t=qC.call(e,ti),r=e[ti];try{e[ti]=void 0;var n=!0}catch{}var o=XC.call(e);return n&&(t?e[ti]=r:delete e[ti]),o}Yd.exports=YC});var e5=xe((bZ,Qd)=>{i();var JC=Object.prototype,QC=JC.toString;function ey(e){return QC.call(e)}Qd.exports=ey});var o5=xe((yZ,n5)=>{i();var t5=Gl(),ty=Jd(),ry=e5(),ny="[object Null]",oy="[object Undefined]",r5=t5?t5.toStringTag:void 0;function ay(e){return e==null?e===void 0?oy:ny:r5&&r5 in Object(e)?ty(e):ry(e)}n5.exports=ay});var i5=xe((xZ,a5)=>{i();function iy(e){return e!=null&&typeof e=="object"}a5.exports=iy});var u5=xe((wZ,s5)=>{i();var sy=o5(),uy=i5(),ly="[object Symbol]";function cy(e){return typeof e=="symbol"||uy(e)&&sy(e)==ly}s5.exports=cy});var p5=xe((TZ,f5)=>{i();var fy=Kd(),l5=ws(),py=u5(),c5=0/0,dy=/^[-+]0x[0-9a-f]+$/i,my=/^0b[01]+$/i,hy=/^0o[0-7]+$/i,gy=parseInt;function vy(e){if(typeof e=="number")return e;if(py(e))return c5;if(l5(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=l5(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=fy(e);var r=my.test(e);return r||hy.test(e)?gy(e.slice(2),r?2:8):dy.test(e)?c5:+e}f5.exports=vy});var Xl=xe((BZ,m5)=>{i();var by=ws(),ql=jd(),d5=p5(),Cy="Expected a function",yy=Math.max,Dy=Math.min;function xy(e,t,r){var n,o,a,s,u,l,c=0,d=!1,h=!1,m=!0;if(typeof e!="function")throw new TypeError(Cy);t=d5(t)||0,by(r)&&(d=!!r.leading,h="maxWait"in r,a=h?yy(d5(r.maxWait)||0,t):a,m="trailing"in r?!!r.trailing:m);function b(D){var T=n,j=o;return n=o=void 0,c=D,s=e.apply(j,T),s}function v(D){return c=D,u=setTimeout(y,t),d?b(D):s}function p(D){var T=D-l,j=D-c,I=t-T;return h?Dy(I,a-j):I}function C(D){var T=D-l,j=D-c;return l===void 0||T>=t||T<0||h&&j>=a}function y(){var D=ql();if(C(D))return E(D);u=setTimeout(y,p(D))}function E(D){return u=void 0,m&&n?b(D):(n=o=void 0,s)}function B(){u!==void 0&&clearTimeout(u),c=0,n=l=o=u=void 0}function A(){return u===void 0?s:E(ql())}function L(){var D=ql(),T=C(D);if(n=arguments,o=this,l=D,T){if(u===void 0)return v(l);if(h)return clearTimeout(u),u=setTimeout(y,t),b(l)}return u===void 0&&(u=setTimeout(y,t)),s}return L.cancel=B,L.flush=A,L}m5.exports=xy});var g5=xe((MZ,h5)=>{i();var Ey=Xl(),wy=ws(),Sy="Expected a function";function Ty(e,t,r){var n=!0,o=!0;if(typeof e!="function")throw new TypeError(Sy);return wy(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Ey(e,t,{leading:n,maxWait:t,trailing:o})}h5.exports=Ty});var Rm=xe(nr=>{"use strict";i();Object.defineProperty(nr,"__esModule",{value:!0});var cE=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),Mc={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},fE={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:cE?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},Fm={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(li=1;li<20;li++)Fm["f"+li]=111+li;var li;function zs(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return Mm(s,t)}),o=function(u){return n.some(function(l){return Om(l,u)})},a=r==null?o:o(r);return a}function pE(e,t){return zs(e,t)}function dE(e,t){return zs(e,{byKey:!0},t)}function Mm(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in Mc)n[Mc[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var d=o[Symbol.iterator](),h;!(u=(h=d.next()).done);u=!0){var m=h.value,b=m.endsWith("?")&&m.length>1;b&&(m=m.slice(0,-1));var v=Oc(m),p=Mc[v];(a===1||!p)&&(r?n.key=v:n.which=Pm(m)),p&&(n[p]=b?null:!0)}}catch(C){l=!0,c=C}finally{try{!u&&d.return&&d.return()}finally{if(l)throw c}}return n}function Om(e,t){for(var r in e){var n=e[r],o=void 0;if(n!=null&&(r==="key"&&t.key!=null?o=t.key.toLowerCase():r==="which"?o=n===91&&t.which===93?91:t.which:o=t[r],!(o==null&&n===!1)&&o!==n))return!1}return!0}function Pm(e){e=Oc(e);var t=Fm[e]||e.toUpperCase().charCodeAt(0);return t}function Oc(e){return e=e.toLowerCase(),e=fE[e]||e,e}nr.default=zs;nr.isHotkey=zs;nr.isCodeHotkey=pE;nr.isKeyHotkey=dE;nr.parseHotkey=Mm;nr.compareHotkey=Om;nr.toKeyCode=Pm;nr.toKeyName=Oc});var w3=xe(or=>{"use strict";i();Object.defineProperty(or,"__esModule",{value:!0});var Rw=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),Xc={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},y3={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:Rw?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},Yc={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(mi=1;mi<20;mi++)Yc["f"+mi]=111+mi;var mi;function Js(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return D3(s,t)}),o=function(u){return n.some(function(l){return x3(l,u)})},a=r==null?o:o(r);return a}function Lw(e,t){return Js(e,t)}function Iw(e,t){return Js(e,{byKey:!0},t)}function D3(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in Xc)n[Xc[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var d=o[Symbol.iterator](),h;!(u=(h=d.next()).done);u=!0){var m=h.value,b=m.endsWith("?")&&m.length>1;b&&(m=m.slice(0,-1));var v=Jc(m),p=Xc[v];if(m.length>1&&!p&&!y3[m]&&!Yc[v])throw new TypeError('Unknown modifier: "'+m+'"');(a===1||!p)&&(r?n.key=v:n.which=E3(m)),p&&(n[p]=b?null:!0)}}catch(C){l=!0,c=C}finally{try{!u&&d.return&&d.return()}finally{if(l)throw c}}return n}function x3(e,t){for(var r in e){var n=e[r],o=void 0;if(n!=null&&(r==="key"&&t.key!=null?o=t.key.toLowerCase():r==="which"?o=n===91&&t.which===93?91:t.which:o=t[r],!(o==null&&n===!1)&&o!==n))return!1}return!0}function E3(e){e=Jc(e);var t=Yc[e]||e.toUpperCase().charCodeAt(0);return t}function Jc(e){return e=e.toLowerCase(),e=y3[e]||e,e}or.default=Js;or.isHotkey=Js;or.isCodeHotkey=Lw;or.isKeyHotkey=Iw;or.parseHotkey=D3;or.compareHotkey=x3;or.toKeyCode=E3;or.toKeyName=Jc});var P3=xe((_z,O3)=>{"use strict";i();var Yw=/["'&<>]/;O3.exports=Jw;function Jw(e){var t=""+e,r=Yw.exec(t);if(!r)return t;var n,o="",a=0,s=0;for(a=r.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;default:continue}s!==a&&(o+=t.substring(s,a)),s=a+1,o+=n}return s!==a?o+t.substring(s,a):o}});var W4=xe((KU,H0)=>{i();var j4=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);j4?($0=new Uint8Array(16),H0.exports=function(){return j4($0),$0}):(Z0=new Array(16),H0.exports=function(){for(var t=0,r;t<16;t++)t&3||(r=Math.random()*4294967296),Z0[t]=r>>>((t&3)<<3)&255;return Z0});var $0,Z0});var K4=xe((qU,_4)=>{i();var U4=[];for(Ai=0;Ai<256;++Ai)U4[Ai]=(Ai+256).toString(16).substr(1);var Ai;function XT(e,t){var r=t||0,n=U4;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join("")}_4.exports=XT});var q4=xe((YU,G4)=>{i();var YT=W4(),JT=K4();function QT(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e==="binary"?new Array(16):null,e=null),e=e||{};var o=e.random||(e.rng||YT)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t)for(var a=0;a<16;++a)t[n+a]=o[a];return t||JT(o)}G4.exports=QT});var n7=xe((m_,r7)=>{i();r7.exports={breakpoint:{xs:"0em",sm:"37.5em",md:"56.5625em",lg:"77.5em",xl:"90em"},color:{brandBlue100:"#e2effd",brandBlue200:"#bed8fb",brandBlue300:"#87abff",brandBlue400:"#5387fa",brandBlue500:"#1e64f0",brandBlue600:"#174bd2",brandBlue700:"#0f33a6",brandBlue800:"#09217d",purple100:"#f5f3ff",purple200:"#e6dffe",purple300:"#cfbfff",purple400:"#b89fff",purple500:"#a07eff",purple600:"#815fe0",purple700:"#6446af",purple800:"#462d8c",green100:"#e6f9f3",green200:"#bfefe0",green300:"#81e0c1",green400:"#41d0a3",green500:"#00c185",green600:"#00966e",green700:"#047063",green800:"#025050",blue100:"#e9f5ff",blue200:"#c7e7ff",blue300:"#91ceff",blue400:"#58b7fe",blue500:"#229fff",blue600:"#1b7fde",blue700:"#165fac",blue800:"#0d407a",pink100:"#ffedf5",pink200:"#ffd2e6",pink300:"#ffa2cb",pink400:"#ff74b4",pink500:"#fa50a0",pink600:"#d63180",pink700:"#aa1460",pink800:"#7d084d",red100:"#ffecec",red200:"#ffcaca",red300:"#ff9a9a",red400:"#ff6962",red500:"#fa4040",red600:"#d63727",red700:"#aa0d15",red800:"#860011",yellow100:"#fff8e6",yellow200:"#ffefc8",yellow300:"#ffdf96",yellow400:"#ffce5a",yellow500:"#fabe1f",yellow600:"#dc9601",yellow700:"#be7200",yellow800:"#b45101",grey100:"#f8f8f9",grey200:"#ebebed",grey300:"#dedee1",grey400:"#c4c4c8",grey500:"#a3a3aa",grey600:"#7b7b87",grey700:"#62626c",grey800:"#4a4a51",grey900:"#37373c",grey1000:"#1f1f22",grey1100:"#0b0d0e"},duration:{productive:{fast:"70ms",moderate:"110ms",slow:"150ms"},expressive:{fast:"240ms",moderate:"400ms",slow:"700ms"}},easing:{standard:{productive:"cubic-bezier(0.2, 0, 0.38, 0.9)",expressive:"cubic-bezier(0.4, 0.14, 0.3, 1)"},entrance:{productive:"cubic-bezier(0, 0, 0.38, 0.9)",expressive:"cubic-bezier(0, 0, 0.3, 1)"},exit:{productive:"cubic-bezier(0.2, 0, 1, 0.9)",expressive:"cubic-bezier(0.4, 0.14, 1, 1)"}},font:{family:{default:"Inter, Helvetica, Arial, sans-serif",monospace:'"IBM Plex Mono", Consolas, Monaco, monospace'},weight:{thin:100,extraLight:200,light:300,regular:400,medium:500,semiBold:600,bold:700,extraBold:800},size:{default:"16px",small:"14px"}},shadow:{elevation1:"0 2px 4px rgba(0, 0, 0, 0.1)",elevation2:"0 0 64px 0 rgba(0, 0, 0, 0.08)"},spacing:{space01:"4px",space02:"8px",space03:"12px",space04:"16px",space05:"24px",space06:"32px",space07:"48px",space08:"64px",space09:"80px",space10:"96px",space11:"120px"}}});var a7=xe((g_,o7)=>{i();var oA=n7();o7.exports={designTokens:oA}});var Bh=xe((Zte,Ah)=>{"use strict";i();var Sh=Array.isArray,Th=Object.keys,sB=Object.prototype.hasOwnProperty,uB=typeof Element<"u";function j2(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=Sh(e),n=Sh(t),o,a,s;if(r&&n){if(a=e.length,a!=t.length)return!1;for(o=a;o--!==0;)if(!j2(e[o],t[o]))return!1;return!0}if(r!=n)return!1;var u=e instanceof Date,l=t instanceof Date;if(u!=l)return!1;if(u&&l)return e.getTime()==t.getTime();var c=e instanceof RegExp,d=t instanceof RegExp;if(c!=d)return!1;if(c&&d)return e.toString()==t.toString();var h=Th(e);if(a=h.length,a!==Th(t).length)return!1;for(o=a;o--!==0;)if(!sB.call(t,h[o]))return!1;if(uB&&e instanceof Element&&t instanceof Element)return e===t;for(o=a;o--!==0;)if(s=h[o],!(s==="_owner"&&e.$$typeof)&&!j2(e[s],t[s]))return!1;return!0}return e!==e&&t!==t}Ah.exports=function(t,r){try{return j2(t,r)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||n.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}});var d9=xe(Ee=>{"use strict";i();var Ke=typeof Symbol=="function"&&Symbol.for,J2=Ke?Symbol.for("react.element"):60103,Q2=Ke?Symbol.for("react.portal"):60106,G1=Ke?Symbol.for("react.fragment"):60107,q1=Ke?Symbol.for("react.strict_mode"):60108,X1=Ke?Symbol.for("react.profiler"):60114,Y1=Ke?Symbol.for("react.provider"):60109,J1=Ke?Symbol.for("react.context"):60110,ep=Ke?Symbol.for("react.async_mode"):60111,Q1=Ke?Symbol.for("react.concurrent_mode"):60111,eu=Ke?Symbol.for("react.forward_ref"):60112,tu=Ke?Symbol.for("react.suspense"):60113,AP=Ke?Symbol.for("react.suspense_list"):60120,ru=Ke?Symbol.for("react.memo"):60115,nu=Ke?Symbol.for("react.lazy"):60116,BP=Ke?Symbol.for("react.block"):60121,FP=Ke?Symbol.for("react.fundamental"):60117,MP=Ke?Symbol.for("react.responder"):60118,OP=Ke?Symbol.for("react.scope"):60119;function Bt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case J2:switch(e=e.type,e){case ep:case Q1:case G1:case X1:case q1:case tu:return e;default:switch(e=e&&e.$$typeof,e){case J1:case eu:case nu:case ru:case Y1:return e;default:return t}}case Q2:return t}}}function p9(e){return Bt(e)===Q1}Ee.AsyncMode=ep;Ee.ConcurrentMode=Q1;Ee.ContextConsumer=J1;Ee.ContextProvider=Y1;Ee.Element=J2;Ee.ForwardRef=eu;Ee.Fragment=G1;Ee.Lazy=nu;Ee.Memo=ru;Ee.Portal=Q2;Ee.Profiler=X1;Ee.StrictMode=q1;Ee.Suspense=tu;Ee.isAsyncMode=function(e){return p9(e)||Bt(e)===ep};Ee.isConcurrentMode=p9;Ee.isContextConsumer=function(e){return Bt(e)===J1};Ee.isContextProvider=function(e){return Bt(e)===Y1};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===J2};Ee.isForwardRef=function(e){return Bt(e)===eu};Ee.isFragment=function(e){return Bt(e)===G1};Ee.isLazy=function(e){return Bt(e)===nu};Ee.isMemo=function(e){return Bt(e)===ru};Ee.isPortal=function(e){return Bt(e)===Q2};Ee.isProfiler=function(e){return Bt(e)===X1};Ee.isStrictMode=function(e){return Bt(e)===q1};Ee.isSuspense=function(e){return Bt(e)===tu};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===G1||e===Q1||e===X1||e===q1||e===tu||e===AP||typeof e=="object"&&e!==null&&(e.$$typeof===nu||e.$$typeof===ru||e.$$typeof===Y1||e.$$typeof===J1||e.$$typeof===eu||e.$$typeof===FP||e.$$typeof===MP||e.$$typeof===OP||e.$$typeof===BP)};Ee.typeOf=Bt});var h9=xe((Tue,m9)=>{"use strict";i();m9.exports=d9()});var x9=xe((Bue,D9)=>{"use strict";i();var tp=h9(),PP={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},RP={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},LP={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},C9={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},rp={};rp[tp.ForwardRef]=LP;rp[tp.Memo]=C9;function g9(e){return tp.isMemo(e)?C9:rp[e.$$typeof]||PP}var IP=Object.defineProperty,kP=Object.getOwnPropertyNames,v9=Object.getOwnPropertySymbols,NP=Object.getOwnPropertyDescriptor,$P=Object.getPrototypeOf,b9=Object.prototype;function y9(e,t,r){if(typeof t!="string"){if(b9){var n=$P(t);n&&n!==b9&&y9(e,n,r)}var o=kP(t);v9&&(o=o.concat(v9(t)));for(var a=g9(e),s=g9(t),u=0;u<o.length;++u){var l=o[u];if(!RP[l]&&!(r&&r[l])&&!(s&&s[l])&&!(a&&a[l])){var c=NP(t,l);try{IP(e,l,c)}catch{}}}}return e}D9.exports=y9});var Cp=xe((Yi,ma)=>{i();var oR=200,bp="__lodash_hash_undefined__",du=1,V9=2,j9=9007199254740991,iu="[object Arguments]",fp="[object Array]",aR="[object AsyncFunction]",W9="[object Boolean]",U9="[object Date]",_9="[object Error]",K9="[object Function]",iR="[object GeneratorFunction]",su="[object Map]",G9="[object Number]",sR="[object Null]",da="[object Object]",O9="[object Promise]",uR="[object Proxy]",q9="[object RegExp]",uu="[object Set]",X9="[object String]",lR="[object Symbol]",cR="[object Undefined]",pp="[object WeakMap]",Y9="[object ArrayBuffer]",lu="[object DataView]",fR="[object Float32Array]",pR="[object Float64Array]",dR="[object Int8Array]",mR="[object Int16Array]",hR="[object Int32Array]",gR="[object Uint8Array]",vR="[object Uint8ClampedArray]",bR="[object Uint16Array]",CR="[object Uint32Array]",yR=/[\\^$.*+?()[\]{}|]/g,DR=/^\[object .+?Constructor\]$/,xR=/^(?:0|[1-9]\d*)$/,Me={};Me[fR]=Me[pR]=Me[dR]=Me[mR]=Me[hR]=Me[gR]=Me[vR]=Me[bR]=Me[CR]=!0;Me[iu]=Me[fp]=Me[Y9]=Me[W9]=Me[lu]=Me[U9]=Me[_9]=Me[K9]=Me[su]=Me[G9]=Me[da]=Me[q9]=Me[uu]=Me[X9]=Me[pp]=!1;var J9=typeof window=="object"&&window&&window.Object===Object&&window,ER=typeof self=="object"&&self&&self.Object===Object&&self,Ir=J9||ER||Function("return this")(),Q9=typeof Yi=="object"&&Yi&&!Yi.nodeType&&Yi,P9=Q9&&typeof ma=="object"&&ma&&!ma.nodeType&&ma,eg=P9&&P9.exports===Q9,up=eg&&J9.process,R9=function(){try{return up&&up.binding&&up.binding("util")}catch{}}(),L9=R9&&R9.isTypedArray;function wR(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[o++]=s)}return a}function SR(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function TR(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function AR(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function BR(e){return function(t){return e(t)}}function FR(e,t){return e.has(t)}function MR(e,t){return e?.[t]}function OR(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}function PR(e,t){return function(r){return e(t(r))}}function RR(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var LR=Array.prototype,IR=Function.prototype,mu=Object.prototype,lp=Ir["__core-js_shared__"],tg=IR.toString,dr=mu.hasOwnProperty,I9=function(){var e=/[^.]+$/.exec(lp&&lp.keys&&lp.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),rg=mu.toString,kR=RegExp("^"+tg.call(dr).replace(yR,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k9=eg?Ir.Buffer:void 0,cu=Ir.Symbol,N9=Ir.Uint8Array,ng=mu.propertyIsEnumerable,NR=LR.splice,uo=cu?cu.toStringTag:void 0,$9=Object.getOwnPropertySymbols,$R=k9?k9.isBuffer:void 0,ZR=PR(Object.keys,Object),dp=ha(Ir,"DataView"),Ji=ha(Ir,"Map"),mp=ha(Ir,"Promise"),hp=ha(Ir,"Set"),gp=ha(Ir,"WeakMap"),Qi=ha(Object,"create"),HR=fo(dp),zR=fo(Ji),VR=fo(mp),jR=fo(hp),WR=fo(gp),Z9=cu?cu.prototype:void 0,cp=Z9?Z9.valueOf:void 0;function lo(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function UR(){this.__data__=Qi?Qi(null):{},this.size=0}function _R(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function KR(e){var t=this.__data__;if(Qi){var r=t[e];return r===bp?void 0:r}return dr.call(t,e)?t[e]:void 0}function GR(e){var t=this.__data__;return Qi?t[e]!==void 0:dr.call(t,e)}function qR(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Qi&&t===void 0?bp:t,this}lo.prototype.clear=UR;lo.prototype.delete=_R;lo.prototype.get=KR;lo.prototype.has=GR;lo.prototype.set=qR;function kr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function XR(){this.__data__=[],this.size=0}function YR(e){var t=this.__data__,r=hu(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():NR.call(t,r,1),--this.size,!0}function JR(e){var t=this.__data__,r=hu(t,e);return r<0?void 0:t[r][1]}function QR(e){return hu(this.__data__,e)>-1}function eL(e,t){var r=this.__data__,n=hu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}kr.prototype.clear=XR;kr.prototype.delete=YR;kr.prototype.get=JR;kr.prototype.has=QR;kr.prototype.set=eL;function co(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function tL(){this.size=0,this.__data__={hash:new lo,map:new(Ji||kr),string:new lo}}function rL(e){var t=gu(this,e).delete(e);return this.size-=t?1:0,t}function nL(e){return gu(this,e).get(e)}function oL(e){return gu(this,e).has(e)}function aL(e,t){var r=gu(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}co.prototype.clear=tL;co.prototype.delete=rL;co.prototype.get=nL;co.prototype.has=oL;co.prototype.set=aL;function fu(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new co;++t<r;)this.add(e[t])}function iL(e){return this.__data__.set(e,bp),this}function sL(e){return this.__data__.has(e)}fu.prototype.add=fu.prototype.push=iL;fu.prototype.has=sL;function yn(e){var t=this.__data__=new kr(e);this.size=t.size}function uL(){this.__data__=new kr,this.size=0}function lL(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function cL(e){return this.__data__.get(e)}function fL(e){return this.__data__.has(e)}function pL(e,t){var r=this.__data__;if(r instanceof kr){var n=r.__data__;if(!Ji||n.length<oR-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new co(n)}return r.set(e,t),this.size=r.size,this}yn.prototype.clear=uL;yn.prototype.delete=lL;yn.prototype.get=cL;yn.prototype.has=fL;yn.prototype.set=pL;function dL(e,t){var r=pu(e),n=!r&&BL(e),o=!r&&!n&&vp(e),a=!r&&!n&&!o&&cg(e),s=r||n||o||a,u=s?AR(e.length,String):[],l=u.length;for(var c in e)(t||dr.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||EL(c,l)))&&u.push(c);return u}function hu(e,t){for(var r=e.length;r--;)if(ig(e[r][0],t))return r;return-1}function mL(e,t,r){var n=t(e);return pu(e)?n:SR(n,r(e))}function ts(e){return e==null?e===void 0?cR:sR:uo&&uo in Object(e)?DL(e):AL(e)}function H9(e){return es(e)&&ts(e)==iu}function og(e,t,r,n,o){return e===t?!0:e==null||t==null||!es(e)&&!es(t)?e!==e&&t!==t:hL(e,t,r,n,og,o)}function hL(e,t,r,n,o,a){var s=pu(e),u=pu(t),l=s?fp:Cn(e),c=u?fp:Cn(t);l=l==iu?da:l,c=c==iu?da:c;var d=l==da,h=c==da,m=l==c;if(m&&vp(e)){if(!vp(t))return!1;s=!0,d=!1}if(m&&!d)return a||(a=new yn),s||cg(e)?ag(e,t,r,n,o,a):CL(e,t,l,r,n,o,a);if(!(r&du)){var b=d&&dr.call(e,"__wrapped__"),v=h&&dr.call(t,"__wrapped__");if(b||v){var p=b?e.value():e,C=v?t.value():t;return a||(a=new yn),o(p,C,r,n,a)}}return m?(a||(a=new yn),yL(e,t,r,n,o,a)):!1}function gL(e){if(!lg(e)||SL(e))return!1;var t=sg(e)?kR:DR;return t.test(fo(e))}function vL(e){return es(e)&&ug(e.length)&&!!Me[ts(e)]}function bL(e){if(!TL(e))return ZR(e);var t=[];for(var r in Object(e))dr.call(e,r)&&r!="constructor"&&t.push(r);return t}function ag(e,t,r,n,o,a){var s=r&du,u=e.length,l=t.length;if(u!=l&&!(s&&l>u))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var d=-1,h=!0,m=r&V9?new fu:void 0;for(a.set(e,t),a.set(t,e);++d<u;){var b=e[d],v=t[d];if(n)var p=s?n(v,b,d,t,e,a):n(b,v,d,e,t,a);if(p!==void 0){if(p)continue;h=!1;break}if(m){if(!TR(t,function(C,y){if(!FR(m,y)&&(b===C||o(b,C,r,n,a)))return m.push(y)})){h=!1;break}}else if(!(b===v||o(b,v,r,n,a))){h=!1;break}}return a.delete(e),a.delete(t),h}function CL(e,t,r,n,o,a,s){switch(r){case lu:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Y9:return!(e.byteLength!=t.byteLength||!a(new N9(e),new N9(t)));case W9:case U9:case G9:return ig(+e,+t);case _9:return e.name==t.name&&e.message==t.message;case q9:case X9:return e==t+"";case su:var u=OR;case uu:var l=n&du;if(u||(u=RR),e.size!=t.size&&!l)return!1;var c=s.get(e);if(c)return c==t;n|=V9,s.set(e,t);var d=ag(u(e),u(t),n,o,a,s);return s.delete(e),d;case lR:if(cp)return cp.call(e)==cp.call(t)}return!1}function yL(e,t,r,n,o,a){var s=r&du,u=z9(e),l=u.length,c=z9(t),d=c.length;if(l!=d&&!s)return!1;for(var h=l;h--;){var m=u[h];if(!(s?m in t:dr.call(t,m)))return!1}var b=a.get(e);if(b&&a.get(t))return b==t;var v=!0;a.set(e,t),a.set(t,e);for(var p=s;++h<l;){m=u[h];var C=e[m],y=t[m];if(n)var E=s?n(y,C,m,t,e,a):n(C,y,m,e,t,a);if(!(E===void 0?C===y||o(C,y,r,n,a):E)){v=!1;break}p||(p=m=="constructor")}if(v&&!p){var B=e.constructor,A=t.constructor;B!=A&&"constructor"in e&&"constructor"in t&&!(typeof B=="function"&&B instanceof B&&typeof A=="function"&&A instanceof A)&&(v=!1)}return a.delete(e),a.delete(t),v}function z9(e){return mL(e,OL,xL)}function gu(e,t){var r=e.__data__;return wL(t)?r[typeof t=="string"?"string":"hash"]:r.map}function ha(e,t){var r=MR(e,t);return gL(r)?r:void 0}function DL(e){var t=dr.call(e,uo),r=e[uo];try{e[uo]=void 0;var n=!0}catch{}var o=rg.call(e);return n&&(t?e[uo]=r:delete e[uo]),o}var xL=$9?function(e){return e==null?[]:(e=Object(e),wR($9(e),function(t){return ng.call(e,t)}))}:PL,Cn=ts;(dp&&Cn(new dp(new ArrayBuffer(1)))!=lu||Ji&&Cn(new Ji)!=su||mp&&Cn(mp.resolve())!=O9||hp&&Cn(new hp)!=uu||gp&&Cn(new gp)!=pp)&&(Cn=function(e){var t=ts(e),r=t==da?e.constructor:void 0,n=r?fo(r):"";if(n)switch(n){case HR:return lu;case zR:return su;case VR:return O9;case jR:return uu;case WR:return pp}return t});function EL(e,t){return t=t??j9,!!t&&(typeof e=="number"||xR.test(e))&&e>-1&&e%1==0&&e<t}function wL(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function SL(e){return!!I9&&I9 in e}function TL(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||mu;return e===r}function AL(e){return rg.call(e)}function fo(e){if(e!=null){try{return tg.call(e)}catch{}try{return e+""}catch{}}return""}function ig(e,t){return e===t||e!==e&&t!==t}var BL=H9(function(){return arguments}())?H9:function(e){return es(e)&&dr.call(e,"callee")&&!ng.call(e,"callee")},pu=Array.isArray;function FL(e){return e!=null&&ug(e.length)&&!sg(e)}var vp=$R||RL;function ML(e,t){return og(e,t)}function sg(e){if(!lg(e))return!1;var t=ts(e);return t==K9||t==iR||t==aR||t==uR}function ug(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=j9}function lg(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function es(e){return e!=null&&typeof e=="object"}var cg=L9?BR(L9):vL;function OL(e){return FL(e)?dL(e):bL(e)}function PL(){return[]}function RL(){return!1}ma.exports=ML});var S$={};wo(S$,{ActionModal:()=>Cu,Backdrop:()=>$t,BackgroundImage:()=>yu,Banner:()=>po,Box:()=>wu,Breakline:()=>Su,Button:()=>Ve,ButtonGroup:()=>hr,ButtonLink:()=>Fu,Checkbox:()=>Da,CheckboxGroup:()=>Ta,ClickArea:()=>Td,CloseButton:()=>Nu,CollapsibleGroup:()=>Zu,Divider:()=>Aa,Ellipsis:()=>bu,FileSelect:()=>Hu,Form:()=>Vu,FormButtons:()=>Wu,FormField:()=>ol,FormFieldError:()=>Ea,FormGlobalError:()=>Fa,FullScreenModal:()=>al,Icon:()=>Le,IconButton:()=>sr,Image:()=>il,Input:()=>Tn,KeyboardShortcut:()=>Sd,Label:()=>xa,LabelDescription:()=>wa,Link:()=>Ca,LinkButton:()=>sl,List:()=>Na,ListItem:()=>An,MediaObject:()=>cl,MenuButton:()=>pl,Modal:()=>jb,ModalBase:()=>xn,ModalBody:()=>Ub,ModalCloseButton:()=>Kb,ModalFooter:()=>_b,ModalHeader:()=>Wb,Paper:()=>Wp,ProgressBar:()=>dl,Radio:()=>Ra,RadioGroup:()=>La,RangeSelector:()=>Bl,RangeSelectorCalendar:()=>Wa,RangeSelectorInput:()=>Ka,RichTextEditor:()=>Uo,ScreenReaderOnly:()=>zo,Select:()=>zr,Slider:()=>md,Switch:()=>Ol,Text:()=>En,Toast:()=>Yo,Tooltip:()=>Wo,Truncate:()=>jo,VHSProvider:()=>ch,WistiaLogo:()=>Pl,copyToClipboard:()=>_o,datetimeHelpers:()=>Vl,ellipsisFlexParentStyle:()=>Dp,ellipsisStyle:()=>Nt,mq:()=>Re,objectHelpers:()=>_l,rteDeserializeHTML:()=>$o,rteFormatTypes:()=>ze,rteSerializeToHTML:()=>en,screenReaderOnlyStyle:()=>Un,stringHelpers:()=>Wl,useBoolean:()=>$i,useClipboard:()=>$2,useElementObserver:()=>Zi,useEvent:()=>Hi,useForceUpdate:()=>Z2,useFormikContext:()=>Lr,useIsHovered:()=>dh,useKey:()=>Qo,useKeyPress:()=>zi,useKeyPressOnce:()=>Vi,useLocalStorage:()=>z2,useMergedRefs:()=>eo,useMq:()=>Ui,useOnClickOutside:()=>to,usePreviousValue:()=>ro,useTheme:()=>Kt,useThemeColor:()=>ke,useToast:()=>no,useWindowSize:()=>Wi});module.exports=sC(S$);i();var Vl={};wo(Vl,{buildTimeDuration:()=>xs,dateOnlyISOString:()=>dC,dateOnlyString:()=>fC,dateOnlyStringForSentence:()=>bC,dateOnlyStringNumeric:()=>pC,dateTimeRounded:()=>EC,dateTimeString:()=>Hl,dateTimeStringForSentence:()=>vC,dateTimeToDate:()=>zl,dateTimeToISO:()=>Pd,dateToDateTime:()=>Od,dateUTCOffset:()=>yC,dayOfWeekString:()=>hC,isDate:()=>er,mediaDurationString:()=>DC,millisecondsToDurationISOString:()=>wC,monthDayStringNumeric:()=>mC,sessionDurationString:()=>xC,timeAgoString:()=>CC,timeOnlyString:()=>gC});i();i();var uC=e=>e===null;var rt=e=>e===void 0,ee=e=>!rt(e),se=e=>uC(e)||rt(e),M=e=>!se(e),dt=e=>typeof e=="string",lC=e=>dt(e)&&e==="",pe=e=>dt(e)&&!lC(e);var So=e=>M(e)&&typeof e=="object"&&e instanceof Array;var $l=e=>M(e)&&typeof e=="function",ys=e=>M(e)&&typeof e=="boolean";i();i();function Ds(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}i();i();i();function Rn(e){"@babel/helpers - typeof";return Rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rn(e)}i();function oe(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function ne(e){oe(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Rn(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ft(e){oe(1,arguments);var t=ne(e);return t.setHours(0,0,0,0),t}var cC=864e5;function Ja(e,t){oe(2,arguments);var r=Ft(e),n=Ft(t),o=r.getTime()-Ds(r),a=n.getTime()-Ds(n);return Math.round((o-a)/cC)}var Md=1e3,Zl=60,ei=60,Fd=30,Mt=["en-US"],Dr=Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC",Qa=e=>e.toString().padStart(2,"0"),er=e=>e instanceof Date,xr=e=>!er(e)||e.getTime()===0,fC=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{return new Intl.DateTimeFormat(Mt,{dateStyle:"medium",timeZone:t}).format(e)}catch(r){return console.error(r),""}},pC=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{return new Intl.DateTimeFormat(Mt,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},dC=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{let o=new Intl.DateTimeFormat(Mt,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).formatToParts(e).reduce((a,s)=>(a[s.type]=s.value,a),{});return`${o.year}-${o.month}-${o.day}`}catch(r){return console.error(r),""}},mC=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{return new Intl.DateTimeFormat(Mt,{month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},hC=(e,{timeZone:t=Dr}={})=>{if(e===null)return"";try{return new Intl.DateTimeFormat(Mt,{weekday:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},gC=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{return new Intl.DateTimeFormat(Mt,{timeStyle:"short",timeZone:t}).format(e)}catch(r){return console.error(r),""}},Hl=(e,{timeZone:t=Dr}={})=>{if(se(e))return"";let r=new Date(e);if(xr(r))return"";try{return new Intl.DateTimeFormat(Mt,{dateStyle:"medium",timeStyle:"short",timeZone:t}).format(r)}catch(n){return console.error(n),""}},vC=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{let{year:r,month:n,day:o,hour:a,minute:s,dayPeriod:u}=new Intl.DateTimeFormat(Mt,{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",timeZone:t}).formatToParts(e).reduce((l,c)=>(c.type!=="literal"&&(l[c.type]=c.value),l),{});return`${n} ${o}, ${r}, ${a}:${s} ${u}`}catch(r){return console.error(r),""}},bC=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{return new Intl.DateTimeFormat(Mt,{dateStyle:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},CC=(e,{nowAnchor:t=new Date}={})=>{if(xr(e))return"";let r=(t.valueOf()-e.valueOf())/(Zl*Md),n=Math.round(r),o=Ja(t,e);return r<0?Hl(e):r<1?"< 1 minute ago":n<2?"1 minute ago":n<=ei?`${n} minutes ago`:o===0?`Today, ${Intl.DateTimeFormat(Mt,{timeStyle:"short"}).format(e)}`:o===1?`Yesterday, ${Intl.DateTimeFormat(Mt,{timeStyle:"short"}).format(e)}`:e.getFullYear()===t.getFullYear()?Intl.DateTimeFormat(Mt,{day:"numeric",month:"short",hour:"numeric",minute:"2-digit"}).format(e):Hl(e)},yC=e=>{let t=e.getTimezoneOffset()/ei*-1,r=Math.round(t),n=(t-r)*ei,o=r>=0?"+":"",a=`${r}`.padStart(2,"0"),s=`${n}`.padStart(2,"0");return`${o}${a}:${s}`},xs=e=>{let t=Math.floor(e/Md),r=Math.floor(t/Zl),n=Math.floor(r/ei),o=t-r*Zl,a=r-n*ei;return{seconds:o,minutes:a,hours:n}},DC=e=>{let{hours:t,minutes:r,seconds:n}=xs(e);return t<1?`${r}:${Qa(n)}`:`${t}:${Qa(r)}:${Qa(n)}`},xC=e=>{let{hours:t,minutes:r,seconds:n}=xs(e);return`${t}:${Qa(r)}:${Qa(n)}`},Od=e=>er(e)?{year:e.getFullYear(),month:e.getMonth(),dayOfMonth:e.getDate(),hours:e.getHours(),minutes:e.getMinutes()}:null,zl=e=>{let{year:t,month:r,dayOfMonth:n,hours:o,minutes:a}=e??{};return t!==void 0&&r!==void 0&&n!==void 0?new Date(t,r,n,o??0,a??0):null},Pd=e=>zl(e)?.toISOString()??null,EC=(e,t=!0)=>{let r=e.getMinutes()<=Fd,n=r?e.getHours():e.getHours()+1,o=r?Fd:0,a={...Od(e),hours:n,minutes:o};return t?Pd(a):zl(a)},wC=e=>{let{seconds:t,minutes:r,hours:n}=xs(e),o="PT";return n&&(o+=`${n}H`),r&&(o+=`${r}M`),t&&(o+=`${t}S`),t||r||n||(o+="0S"),o};var Wl={};wo(Wl,{camelCase:()=>MC,coerceToBoolean:()=>Kr,coerceToString:()=>Ot,isHttpUrl:()=>OC,isString:()=>jl,isUrl:()=>To,lowerFirst:()=>BC,removeNewlines:()=>SC,stripExtension:()=>TC,truncate:()=>AC,upperFirst:()=>FC});i();var jl=e=>typeof e=="string"||e instanceof String,SC=e=>e.replace(/\n/g,""),TC=e=>(e||"").replace(/\.[^/.]{1,4}$/,""),AC=(e,t)=>e.length<=t?e:`${e.slice(0,t-3)}...`,BC=(e="")=>(e[0]?.toLowerCase()??"")+e.slice(1),FC=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1),MC=(e="")=>e.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g,(t,r)=>+t==0?"":r===0?t.toLowerCase():t.toUpperCase()),Ot=e=>e==null?"":String(e),Kr=e=>e==="true"||e==="false"?e==="true":!!e,To=e=>{let t=/^(?:\w+:)?\/\/(\S+)$/,r=/^localhost[:?\d]*(?:[^:?\d]\S*)?$/,n=/^[^\s.]+\.\S{2,}$/;if(!jl(e))return!1;let o=t.exec(e);if(!o)return!1;let a=o[1];return a===void 0||!a?!1:r.test(a)||n.test(a)},OC=e=>{if(!jl(e))return!1;try{let t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}};var _l={};wo(_l,{deepFreeze:()=>Rd,isObject:()=>Ln,merge:()=>Es,selectKeys:()=>Ul});i();var Ul=(e,t)=>t.reduce((r,n)=>(Object.hasOwn(e,n)&&(r[n]=e[n]),r),{}),Ln=e=>e!=null&&(Object.getPrototypeOf(e)===null||e.constructor===Object),Rd=e=>(Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{Object.hasOwn(e,t)&&(typeof e!="function"||t!=="caller"&&t!=="callee"&&t!=="arguments")&&e[t]!==null&&(typeof e[t]=="object"||typeof e[t]=="function")&&!Object.isFrozen(e[t])&&Rd(e[t])}),e),Es=(e,...t)=>{if(!t.length)return e;let r={...e};return t.forEach(n=>{Ln(n)&&Object.keys(n).forEach(o=>{Ln(n[o])?r[o]===null||r[o]===void 0?r[o]={...n[o]}:r[o]=Es(r[o],n[o]):r[o]=n[o]})}),r};i();i();var un=require("react"),k0=z(require("styled-components"));i();var zc=z(Nd()),Km=z(Xl()),Gm=z(g5()),O=z(require("react"));i();i();function v5(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function b5(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function Yl(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return b5(r.overflowY,t)||b5(r.overflowX,t)||function(n){var o=function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}}(n);return!!o&&(o.clientHeight<n.scrollHeight||o.clientWidth<n.scrollWidth)}(e)}return!1}function Ss(e,t,r,n,o,a,s,u){return a<e&&s>t||a>e&&s<t?0:a<=e&&u<=r||s>=t&&u>=r?a-e-n:s>t&&u<r||a<e&&u>r?s-t+o:0}var Jl=function(e,t){var r=window,n=t.scrollMode,o=t.block,a=t.inline,s=t.boundary,u=t.skipOverflowHiddenElements,l=typeof s=="function"?s:function(be){return be!==s};if(!v5(e))throw new TypeError("Invalid target");for(var c,d,h=document.scrollingElement||document.documentElement,m=[],b=e;v5(b)&&l(b);){if((b=(d=(c=b).parentElement)==null?c.getRootNode().host||null:d)===h){m.push(b);break}b!=null&&b===document.body&&Yl(b)&&!Yl(document.documentElement)||b!=null&&Yl(b,u)&&m.push(b)}for(var v=r.visualViewport?r.visualViewport.width:innerWidth,p=r.visualViewport?r.visualViewport.height:innerHeight,C=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,E=e.getBoundingClientRect(),B=E.height,A=E.width,L=E.top,D=E.right,T=E.bottom,j=E.left,I=o==="start"||o==="nearest"?L:o==="end"?T:L+B/2,K=a==="center"?j+A/2:a==="end"?D:j,X=[],N=0;N<m.length;N++){var $=m[N],Z=$.getBoundingClientRect(),W=Z.height,le=Z.width,me=Z.top,De=Z.right,ae=Z.bottom,de=Z.left;if(n==="if-needed"&&L>=0&&j>=0&&T<=p&&D<=v&&L>=me&&T<=ae&&j>=de&&D<=De)return X;var we=getComputedStyle($),he=parseInt(we.borderLeftWidth,10),qe=parseInt(we.borderTopWidth,10),w=parseInt(we.borderRightWidth,10),V=parseInt(we.borderBottomWidth,10),k=0,_=0,ue="offsetWidth"in $?$.offsetWidth-$.clientWidth-he-w:0,te="offsetHeight"in $?$.offsetHeight-$.clientHeight-qe-V:0,fe="offsetWidth"in $?$.offsetWidth===0?0:le/$.offsetWidth:0,ve="offsetHeight"in $?$.offsetHeight===0?0:W/$.offsetHeight:0;if(h===$)k=o==="start"?I:o==="end"?I-p:o==="nearest"?Ss(y,y+p,p,qe,V,y+I,y+I+B,B):I-p/2,_=a==="start"?K:a==="center"?K-v/2:a==="end"?K-v:Ss(C,C+v,v,he,w,C+K,C+K+A,A),k=Math.max(0,k+y),_=Math.max(0,_+C);else{k=o==="start"?I-me-qe:o==="end"?I-ae+V+te:o==="nearest"?Ss(me,ae,W,qe,V+te,I,I+B,B):I-(me+W/2)+te/2,_=a==="start"?K-de-he:a==="center"?K-(de+le/2)+ue/2:a==="end"?K-De+w+ue:Ss(de,De,le,he,w+ue,K,K+A,A);var Ce=$.scrollLeft,Se=$.scrollTop;I+=Se-(k=Math.max(0,Math.min(Se+k/ve,$.scrollHeight-W/ve+te))),K+=Ce-(_=Math.max(0,Math.min(Ce+_/fe,$.scrollWidth-le/fe+ue)))}X.push({el:$,top:k,left:_})}return X};function C5(e){return e===Object(e)&&Object.keys(e).length!==0}function Ay(e,t){t===void 0&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(n){var o=n.el,a=n.top,s=n.left;o.scroll&&r?o.scroll({top:a,left:s,behavior:t}):(o.scrollTop=a,o.scrollLeft=s)})}function By(e){return e===!1?{block:"end",inline:"nearest"}:C5(e)?e:{block:"start",inline:"nearest"}}function Fy(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(C5(t)&&typeof t.behavior=="function")return t.behavior(r?Jl(e,t):[]);if(r){var n=By(t);return Ay(Jl(e,n),n.behavior)}}var y5=Fy;i();i();function D5(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ze(e){var t,r;return D5(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(D5(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}i();function jt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(!1)var o,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Gr(e){return!!e&&!!e[wt]}function kn(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var o=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return o===Object||typeof o=="function"&&Function.toString.call(o)===Ny}(e)||Array.isArray(e)||!!e[F5]||!!(!((t=e.constructor)===null||t===void 0)&&t[F5])||uc(e)||lc(e))}function ni(e,t,r){r===void 0&&(r=!1),Ao(e)===0?(r?Object.keys:mc)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function Ao(e){var t=e[wt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:uc(e)?2:lc(e)?3:0}function nc(e,t){return Ao(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function My(e,t){return Ao(e)===2?e.get(t):e[t]}function M5(e,t,r){var n=Ao(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Oy(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function uc(e){return Iy&&e instanceof Map}function lc(e){return ky&&e instanceof Set}function In(e){return e.o||e.t}function cc(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=$y(e);delete t[wt];for(var r=mc(t),n=0;n<r.length;n++){var o=r[n],a=t[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function fc(e,t){return t===void 0&&(t=!1),pc(e)||Gr(e)||!kn(e)||(Ao(e)>1&&(e.set=e.add=e.clear=e.delete=Py),Object.freeze(e),t&&ni(e,function(r,n){return fc(n,!0)},!0)),e}function Py(){jt(2)}function pc(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function tr(e){var t=Zy[e];return t||jt(18,e),t}function x5(){return oi}function Ql(e,t){t&&(tr("Patches"),e.u=[],e.s=[],e.v=t)}function Ts(e){oc(e),e.p.forEach(Ry),e.p=null}function oc(e){e===oi&&(oi=e.l)}function E5(e){return oi={p:[],l:oi,h:e,m:!0,_:0}}function Ry(e){var t=e[wt];t.i===0||t.i===1?t.j():t.g=!0}function ec(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||tr("ES5").S(t,e,n),n?(r[wt].P&&(Ts(t),jt(4)),kn(e)&&(e=As(t,e),t.l||Bs(t,e)),t.u&&tr("Patches").M(r[wt].t,e,t.u,t.s)):e=As(t,r,[]),Ts(t),t.u&&t.v(t.u,t.s),e!==O5?e:void 0}function As(e,t,r){if(pc(t))return t;var n=t[wt];if(!n)return ni(t,function(u,l){return w5(e,n,t,u,l,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Bs(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=cc(n.k):n.o,a=o,s=!1;n.i===3&&(a=new Set(o),o.clear(),s=!0),ni(a,function(u,l){return w5(e,n,o,u,l,r,s)}),Bs(e,o,!1),r&&e.u&&tr("Patches").N(n,r,e.u,e.s)}return n.o}function w5(e,t,r,n,o,a,s){if(Gr(o)){var u=As(e,o,a&&t&&t.i!==3&&!nc(t.R,n)?a.concat(n):void 0);if(M5(r,n,u),!Gr(u))return;e.m=!1}else s&&r.add(o);if(kn(o)&&!pc(o)){if(!e.h.D&&e._<1)return;As(e,o),t&&t.A.l||Bs(e,o)}}function Bs(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&fc(t,r)}function tc(e,t){var r=e[wt];return(r?In(r):e)[t]}function S5(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function ac(e){e.P||(e.P=!0,e.l&&ac(e.l))}function rc(e){e.o||(e.o=cc(e.t))}function ic(e,t,r){var n=uc(t)?tr("MapSet").F(t,r):lc(t)?tr("MapSet").T(t,r):e.O?function(o,a){var s=Array.isArray(o),u={i:s?1:0,A:a?a.A:x5(),P:!1,I:!1,R:{},l:a,t:o,k:null,o:null,j:null,C:!1},l=u,c=sc;s&&(l=[u],c=ri);var d=Proxy.revocable(l,c),h=d.revoke,m=d.proxy;return u.k=m,u.j=h,m}(t,r):tr("ES5").J(t,r);return(r?r.A:x5()).p.push(n),n}function Ly(e){return Gr(e)||jt(22,e),function t(r){if(!kn(r))return r;var n,o=r[wt],a=Ao(r);if(o){if(!o.P&&(o.i<4||!tr("ES5").K(o)))return o.t;o.I=!0,n=T5(r,a),o.I=!1}else n=T5(r,a);return ni(n,function(s,u){o&&My(o.t,s)===u||M5(n,s,t(u))}),a===3?new Set(n):n}(e)}function T5(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return cc(e)}var A5,oi,dc=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Iy=typeof Map<"u",ky=typeof Set<"u",B5=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",O5=dc?Symbol.for("immer-nothing"):((A5={})["immer-nothing"]=!0,A5),F5=dc?Symbol.for("immer-draftable"):"__$immer_draftable",wt=dc?Symbol.for("immer-state"):"__$immer_state";var Ny=""+Object.prototype.constructor,mc=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,$y=Object.getOwnPropertyDescriptors||function(e){var t={};return mc(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Zy={},sc={get:function(e,t){if(t===wt)return e;var r=In(e);if(!nc(r,t))return function(o,a,s){var u,l=S5(a,s);return l?"value"in l?l.value:(u=l.get)===null||u===void 0?void 0:u.call(o.k):void 0}(e,r,t);var n=r[t];return e.I||!kn(n)?n:n===tc(e.t,t)?(rc(e),e.o[t]=ic(e.A.h,n,e)):n},has:function(e,t){return t in In(e)},ownKeys:function(e){return Reflect.ownKeys(In(e))},set:function(e,t,r){var n=S5(In(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var o=tc(In(e),t),a=o?.[wt];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Oy(r,o)&&(r!==void 0||nc(e.t,t)))return!0;rc(e),ac(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return tc(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,rc(e),ac(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=In(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){jt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){jt(12)}},ri={};ni(sc,function(e,t){ri[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),ri.deleteProperty=function(e,t){return ri.set.call(this,e,t,void 0)},ri.set=function(e,t,r){return sc.set.call(this,e[0],t,r,e[0])};var Hy=function(){function e(r){var n=this;this.O=B5,this.D=!0,this.produce=function(o,a,s){if(typeof o=="function"&&typeof a!="function"){var u=a;a=o;var l=n;return function(p){var C=this;p===void 0&&(p=u);for(var y=arguments.length,E=Array(y>1?y-1:0),B=1;B<y;B++)E[B-1]=arguments[B];return l.produce(p,function(A){var L;return(L=a).call.apply(L,[C,A].concat(E))})}}var c;if(typeof a!="function"&&jt(6),s!==void 0&&typeof s!="function"&&jt(7),kn(o)){var d=E5(n),h=ic(n,o,void 0),m=!0;try{c=a(h),m=!1}finally{m?Ts(d):oc(d)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(p){return Ql(d,s),ec(p,d)},function(p){throw Ts(d),p}):(Ql(d,s),ec(c,d))}if(!o||typeof o!="object"){if((c=a(o))===void 0&&(c=o),c===O5&&(c=void 0),n.D&&fc(c,!0),s){var b=[],v=[];tr("Patches").M(o,c,b,v),s(b,v)}return c}jt(21,o)},this.produceWithPatches=function(o,a){if(typeof o=="function")return function(c){for(var d=arguments.length,h=Array(d>1?d-1:0),m=1;m<d;m++)h[m-1]=arguments[m];return n.produceWithPatches(c,function(b){return o.apply(void 0,[b].concat(h))})};var s,u,l=n.produce(o,a,function(c,d){s=c,u=d});return typeof Promise<"u"&&l instanceof Promise?l.then(function(c){return[c,s,u]}):[l,s,u]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){kn(r)||jt(8),Gr(r)&&(r=Ly(r));var n=E5(this),o=ic(this,r,void 0);return o[wt].C=!0,oc(n),o},t.finishDraft=function(r,n){var o=r&&r[wt],a=o.A;return Ql(a,n),ec(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!B5&&jt(20),this.O=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var a=n[o];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}o>-1&&(n=n.slice(o+1));var s=tr("Patches").$;return Gr(r)?s(r,n):this.produce(r,function(u){return s(u,n)})},e}(),St=new Hy,Fs=St.produce,ZZ=St.produceWithPatches.bind(St),HZ=St.setAutoFreeze.bind(St),zZ=St.setUseProxies.bind(St),VZ=St.applyPatches.bind(St),hc=St.createDraft.bind(St),gc=St.finishDraft.bind(St);var zy={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=x.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},Vy={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=ce.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},jy={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=F.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},Os=new WeakMap,Ps=new WeakMap,ii=new WeakMap,lm=new WeakMap,P5=new WeakMap,R5=new WeakMap,L5=new WeakMap,x={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=x.levels(e,t);return r?n=n.slice(1):n=n.slice(0,-1),n},common(e,t){for(var r=[],n=0;n<e.length&&n<t.length;n++){var o=e[n],a=t[n];if(o!==a)break;r.push(o)}return r},compare(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return 0},endsAfter(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),a=e[r],s=t[r];return x.equals(n,o)&&a>s},endsAt(e,t){var r=e.length,n=e.slice(0,r),o=t.slice(0,r);return x.equals(n,o)},endsBefore(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),a=e[r],s=t[r];return x.equals(n,o)&&a<s},equals(e,t){return e.length===t.length&&e.every((r,n)=>r===t[n])},hasPrevious(e){return e[e.length-1]>0},isAfter(e,t){return x.compare(e,t)===1},isAncestor(e,t){return e.length<t.length&&x.compare(e,t)===0},isBefore(e,t){return x.compare(e,t)===-1},isChild(e,t){return e.length===t.length+1&&x.compare(e,t)===0},isCommon(e,t){return e.length<=t.length&&x.compare(e,t)===0},isDescendant(e,t){return e.length>t.length&&x.compare(e,t)===0},isParent(e,t){return e.length+1===t.length&&x.compare(e,t)===0},isPath(e){return Array.isArray(e)&&(e.length===0||typeof e[0]=="number")},isSibling(e,t){if(e.length!==t.length)return!1;var r=e.slice(0,-1),n=t.slice(0,-1),o=e[e.length-1],a=t[t.length-1];return o!==a&&x.equals(r,n)},levels(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=[],o=0;o<=e.length;o++)n.push(e.slice(0,o));return r&&n.reverse(),n},next(e){if(e.length===0)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(e){if(e.length===0)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(e.length===0)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!x.isAncestor(t,e)&&!x.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e)return null;var n=[...e],{affinity:o="forward"}=r;if(e.length===0)return n;switch(t.type){case"insert_node":{var{path:a}=t;(x.equals(a,n)||x.endsBefore(a,n)||x.isAncestor(a,n))&&(n[a.length-1]+=1);break}case"remove_node":{var{path:s}=t;if(x.equals(s,n)||x.isAncestor(s,n))return null;x.endsBefore(s,n)&&(n[s.length-1]-=1);break}case"merge_node":{var{path:u,position:l}=t;x.equals(u,n)||x.endsBefore(u,n)?n[u.length-1]-=1:x.isAncestor(u,n)&&(n[u.length-1]-=1,n[u.length]+=l);break}case"split_node":{var{path:c,position:d}=t;if(x.equals(c,n)){if(o==="forward")n[n.length-1]+=1;else if(o!=="backward")return null}else x.endsBefore(c,n)?n[c.length-1]+=1:x.isAncestor(c,n)&&e[c.length]>=d&&(n[c.length-1]+=1,n[c.length]-=d);break}case"move_node":{var{path:h,newPath:m}=t;if(x.equals(h,m))return n;if(x.isAncestor(h,n)||x.equals(h,n)){var b=m.slice();return x.endsBefore(h,m)&&h.length<m.length&&(b[h.length-1]-=1),b.concat(n.slice(h.length))}else x.isSibling(h,m)&&(x.isAncestor(m,n)||x.equals(m,n))?x.endsBefore(h,n)?n[h.length-1]-=1:n[h.length-1]+=1:x.endsBefore(m,n)||x.equals(m,n)||x.isAncestor(m,n)?(x.endsBefore(h,n)&&(n[h.length-1]-=1),n[m.length-1]+=1):x.endsBefore(h,n)&&(x.equals(m,n)&&(n[m.length-1]+=1),n[h.length-1]-=1);break}}return n}};function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ai(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?I5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Wy=(e,t,r)=>{switch(r.type){case"insert_node":{var{path:n,node:o}=r,a=H.parent(e,n),s=n[n.length-1];if(s>a.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(n,"] because the destination is past the end of the node."));if(a.children.splice(s,0,o),t)for(var[u,l]of F.points(t))t[l]=ce.transform(u,r);break}case"insert_text":{var{path:c,offset:d,text:h}=r;if(h.length===0)break;var m=H.leaf(e,c),b=m.text.slice(0,d),v=m.text.slice(d);if(m.text=b+h+v,t)for(var[p,C]of F.points(t))t[C]=ce.transform(p,r);break}case"merge_node":{var{path:y}=r,E=H.get(e,y),B=x.previous(y),A=H.get(e,B),L=H.parent(e,y),D=y[y.length-1];if(G.isText(E)&&G.isText(A))A.text+=E.text;else if(!G.isText(E)&&!G.isText(A))A.children.push(...E.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(y,"] to nodes of different interfaces: ").concat(_e.stringify(E)," ").concat(_e.stringify(A)));if(L.children.splice(D,1),t)for(var[T,j]of F.points(t))t[j]=ce.transform(T,r);break}case"move_node":{var{path:I,newPath:K}=r;if(x.isAncestor(I,K))throw new Error("Cannot move a path [".concat(I,"] to new path [").concat(K,"] because the destination is inside itself."));var X=H.get(e,I),N=H.parent(e,I),$=I[I.length-1];N.children.splice($,1);var Z=x.transform(I,r),W=H.get(e,x.parent(Z)),le=Z[Z.length-1];if(W.children.splice(le,0,X),t)for(var[me,De]of F.points(t))t[De]=ce.transform(me,r);break}case"remove_node":{var{path:ae}=r,de=ae[ae.length-1],we=H.parent(e,ae);if(we.children.splice(de,1),t)for(var[he,qe]of F.points(t)){var w=ce.transform(he,r);if(t!=null&&w!=null)t[qe]=w;else{var V=void 0,k=void 0;for(var[_,ue]of H.texts(e))if(x.compare(ue,ae)===-1)V=[_,ue];else{k=[_,ue];break}var te=!1;V&&k&&(x.equals(k[1],ae)?te=!x.hasPrevious(k[1]):te=x.common(V[1],ae).length<x.common(k[1],ae).length),V&&!te?(he.path=V[1],he.offset=V[0].text.length):k?(he.path=k[1],he.offset=0):t=null}}break}case"remove_text":{var{path:fe,offset:ve,text:Ce}=r;if(Ce.length===0)break;var Se=H.leaf(e,fe),be=Se.text.slice(0,ve),Ue=Se.text.slice(ve+Ce.length);if(Se.text=be+Ue,t)for(var[Xe,$e]of F.points(t))t[$e]=ce.transform(Xe,r);break}case"set_node":{var{path:ft,properties:at,newProperties:Ye}=r;if(ft.length===0)throw new Error("Cannot set properties on the root node!");var pt=H.get(e,ft);for(var S in Ye){if(S==="children"||S==="text")throw new Error('Cannot set the "'.concat(S,'" property of nodes!'));var q=Ye[S];q==null?delete pt[S]:pt[S]=q}for(var Q in at)Ye.hasOwnProperty(Q)||delete pt[Q];break}case"set_selection":{var{newProperties:Y}=r;if(Y==null)t=Y;else{if(t==null){if(!F.isRange(Y))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(_e.stringify(Y)," when there is no current selection."));t=ai({},Y)}for(var re in Y){var ge=Y[re];if(ge==null){if(re==="anchor"||re==="focus")throw new Error('Cannot remove the "'.concat(re,'" selection property'));delete t[re]}else t[re]=ge}}break}case"split_node":{var{path:ye,position:Je,properties:_r}=r;if(ye.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(ye,"] because the root node cannot be split."));var Vt=H.get(e,ye),kl=H.parent(e,ye),Ad=ye[ye.length-1],Eo;if(G.isText(Vt)){var Nl=Vt.text.slice(0,Je),Xb=Vt.text.slice(Je);Vt.text=Nl,Eo=ai(ai({},_r),{},{text:Xb})}else{var Yb=Vt.children.slice(0,Je),Jb=Vt.children.slice(Je);Vt.children=Yb,Eo=ai(ai({},_r),{},{children:Jb})}if(kl.children.splice(Ad+1,0,Eo),t)for(var[Qb,eC]of F.points(t))t[eC]=ce.transform(Qb,r);break}}return t},Uy={transform(e,t){e.children=hc(e.children);var r=e.selection&&hc(e.selection);try{r=Wy(e,r,t)}finally{e.children=gc(e.children),r?e.selection=Gr(r)?gc(r):r:e.selection=null}}},_y={insertNodes(e,t,r){e.insertNodes(t,r)},liftNodes(e,t){e.liftNodes(t)},mergeNodes(e,t){e.mergeNodes(t)},moveNodes(e,t){e.moveNodes(t)},removeNodes(e,t){e.removeNodes(t)},setNodes(e,t,r){e.setNodes(t,r)},splitNodes(e,t){e.splitNodes(t)},unsetNodes(e,t,r){e.unsetNodes(t,r)},unwrapNodes(e,t){e.unwrapNodes(t)},wrapNodes(e,t,r){e.wrapNodes(t,r)}},Ky={collapse(e,t){e.collapse(t)},deselect(e){e.deselect()},move(e,t){e.move(t)},select(e,t){e.select(t)},setPoint(e,t,r){e.setPoint(t,r)},setSelection(e,t){e.setSelection(t)}},cm=(e,t)=>{for(var r in e){var n=e[r],o=t[r];if(Ze(n)&&Ze(o)){if(!cm(n,o))return!1}else if(Array.isArray(n)&&Array.isArray(o)){if(n.length!==o.length)return!1;for(var a=0;a<n.length;a++)if(n[a]!==o[a])return!1}else if(n!==o)return!1}for(var s in t)if(e[s]===void 0&&t[s]!==void 0)return!1;return!0};function Gy(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Sr(e,t){if(e==null)return{};var r=Gy(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var qy=["anchor","focus"];function k5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Xy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?k5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var F={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,{anchor:n,focus:o}=e;return F.isBackward(e)===r?[n,o]:[o,n]},end(e){var[,t]=F.edges(e);return t},equals(e,t){return ce.equals(e.anchor,t.anchor)&&ce.equals(e.focus,t.focus)},includes(e,t){if(F.isRange(t)){if(F.includes(e,t.anchor)||F.includes(e,t.focus))return!0;var[r,n]=F.edges(e),[o,a]=F.edges(t);return ce.isBefore(r,o)&&ce.isAfter(n,a)}var[s,u]=F.edges(e),l=!1,c=!1;return ce.isPoint(t)?(l=ce.compare(t,s)>=0,c=ce.compare(t,u)<=0):(l=x.compare(t,s.path)>=0,c=x.compare(t,u.path)<=0),l&&c},intersection(e,t){var r=Sr(e,qy),[n,o]=F.edges(e),[a,s]=F.edges(t),u=ce.isBefore(n,a)?a:n,l=ce.isBefore(o,s)?o:s;return ce.isBefore(l,u)?null:Xy({anchor:u,focus:l},r)},isBackward(e){var{anchor:t,focus:r}=e;return ce.isAfter(t,r)},isCollapsed(e){var{anchor:t,focus:r}=e;return ce.equals(t,r)},isExpanded(e){return!F.isCollapsed(e)},isForward(e){return!F.isBackward(e)},isRange(e){return Ze(e)&&ce.isPoint(e.anchor)&&ce.isPoint(e.focus)},*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=F.edges(e);return t},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Fs(e,n=>{if(n===null)return null;var{affinity:o="inward"}=r,a,s;if(o==="inward"){var u=F.isCollapsed(n);F.isForward(n)?(a="forward",s=u?a:"backward"):(a="backward",s=u?a:"forward")}else o==="outward"?F.isForward(n)?(a="backward",s="forward"):(a="forward",s="backward"):(a=o,s=o);var l=ce.transform(n.anchor,t,{affinity:a}),c=ce.transform(n.focus,t,{affinity:s});if(!l||!c)return null;n.anchor=l,n.focus=c})}},N5=e=>Ze(e)&&H.isNodeList(e.children)&&!g.isEditor(e),U={isAncestor(e){return Ze(e)&&H.isNodeList(e.children)},isElement:N5,isElementList(e){return Array.isArray(e)&&e.every(t=>U.isElement(t))},isElementProps(e){return e.children!==void 0},isElementType:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return N5(t)&&t[n]===r},matches(e,t){for(var r in t)if(r!=="children"&&e[r]!==t[r])return!1;return!0}},Yy=["children"],Jy=["text"],$5=new WeakMap,H={ancestor(e,t){var r=H.get(e,t);if(G.isText(r))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(_e.stringify(r)));return r},*ancestors(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of x.ancestors(t,r)){var o=H.ancestor(e,n),a=[o,n];yield a}},child(e,t){if(G.isText(e))throw new Error("Cannot get the child of a text node: ".concat(_e.stringify(e)));var r=e.children[t];if(r==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(_e.stringify(e)));return r},*children(e,t){for(var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:n=!1}=r,o=H.ancestor(e,t),{children:a}=o,s=n?a.length-1:0;n?s>=0:s<a.length;){var u=H.child(o,s),l=t.concat(s);yield[u,l],s=n?s-1:s+1}},common(e,t,r){var n=x.common(t,r),o=H.get(e,n);return[o,n]},descendant(e,t){var r=H.get(e,t);if(g.isEditor(r))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(_e.stringify(r)));return r},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of H.nodes(e,t))n.length!==0&&(yield[r,n])},*elements(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of H.nodes(e,t))U.isElement(r)&&(yield[r,n])},extractProps(e){if(U.isAncestor(e)){var t=Sr(e,Yy);return t}else{var t=Sr(e,Jy);return t}},first(e,t){for(var r=t.slice(),n=H.get(e,r);n&&!(G.isText(n)||n.children.length===0);)n=n.children[0],r.push(0);return[n,r]},fragment(e,t){if(G.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(_e.stringify(e)));var r=Fs({children:e.children},n=>{var[o,a]=F.edges(t),s=H.nodes(n,{reverse:!0,pass:m=>{var[,b]=m;return!F.includes(t,b)}});for(var[,u]of s){if(!F.includes(t,u)){var l=H.parent(n,u),c=u[u.length-1];l.children.splice(c,1)}if(x.equals(u,a.path)){var d=H.leaf(n,u);d.text=d.text.slice(0,a.offset)}if(x.equals(u,o.path)){var h=H.leaf(n,u);h.text=h.text.slice(o.offset)}}g.isEditor(n)&&(n.selection=null)});return r.children},get(e,t){for(var r=e,n=0;n<t.length;n++){var o=t[n];if(G.isText(r)||!r.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(_e.stringify(e)));r=r.children[o]}return r},has(e,t){for(var r=e,n=0;n<t.length;n++){var o=t[n];if(G.isText(r)||!r.children[o])return!1;r=r.children[o]}return!0},isNode(e){return G.isText(e)||U.isElement(e)||g.isEditor(e)},isNodeList(e){if(!Array.isArray(e))return!1;var t=$5.get(e);if(t!==void 0)return t;var r=e.every(n=>H.isNode(n));return $5.set(e,r),r},last(e,t){for(var r=t.slice(),n=H.get(e,r);n&&!(G.isText(n)||n.children.length===0);){var o=n.children.length-1;n=n.children[o],r.push(o)}return[n,r]},leaf(e,t){var r=H.get(e,t);if(!G.isText(r))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(_e.stringify(r)));return r},*levels(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of x.levels(t,r)){var o=H.get(e,n);yield[o,n]}},matches(e,t){return U.isElement(e)&&U.isElementProps(t)&&U.matches(e,t)||G.isText(e)&&G.isTextProps(t)&&G.matches(e,t)},*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:r,reverse:n=!1}=t,{from:o=[],to:a}=t,s=new Set,u=[],l=e;!(a&&(n?x.isBefore(u,a):x.isAfter(u,a)));){if(s.has(l)||(yield[l,u]),!s.has(l)&&!G.isText(l)&&l.children.length!==0&&(r==null||r([l,u])===!1)){s.add(l);var c=n?l.children.length-1:0;x.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),l=H.get(e,u);continue}if(u.length===0)break;if(!n){var d=x.next(u);if(H.has(e,d)){u=d,l=H.get(e,u);continue}}if(n&&u[u.length-1]!==0){var h=x.previous(u);u=h,l=H.get(e,u);continue}u=x.parent(u),l=H.get(e,u),s.add(l)}},parent(e,t){var r=x.parent(t),n=H.get(e,r);if(G.isText(n))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return n},string(e){return G.isText(e)?e.text:e.children.map(H.string).join("")},*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of H.nodes(e,t))G.isText(r)&&(yield[r,n])}};function Z5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Z5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Z5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var wr={isNodeOperation(e){return wr.isOperation(e)&&e.type.endsWith("_node")},isOperation(e){if(!Ze(e))return!1;switch(e.type){case"insert_node":return x.isPath(e.path)&&H.isNode(e.node);case"insert_text":return typeof e.offset=="number"&&typeof e.text=="string"&&x.isPath(e.path);case"merge_node":return typeof e.position=="number"&&x.isPath(e.path)&&Ze(e.properties);case"move_node":return x.isPath(e.path)&&x.isPath(e.newPath);case"remove_node":return x.isPath(e.path)&&H.isNode(e.node);case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&x.isPath(e.path);case"set_node":return x.isPath(e.path)&&Ze(e.properties)&&Ze(e.newProperties);case"set_selection":return e.properties===null&&F.isRange(e.newProperties)||e.newProperties===null&&F.isRange(e.properties)||Ze(e.properties)&&Ze(e.newProperties);case"split_node":return x.isPath(e.path)&&typeof e.position=="number"&&Ze(e.properties);default:return!1}},isOperationList(e){return Array.isArray(e)&&e.every(t=>wr.isOperation(t))},isSelectionOperation(e){return wr.isOperation(e)&&e.type.endsWith("_selection")},isTextOperation(e){return wr.isOperation(e)&&e.type.endsWith("_text")},inverse(e){switch(e.type){case"insert_node":return Oe(Oe({},e),{},{type:"remove_node"});case"insert_text":return Oe(Oe({},e),{},{type:"remove_text"});case"merge_node":return Oe(Oe({},e),{},{type:"split_node",path:x.previous(e.path)});case"move_node":{var{newPath:t,path:r}=e;if(x.equals(t,r))return e;if(x.isSibling(r,t))return Oe(Oe({},e),{},{path:t,newPath:r});var n=x.transform(r,e),o=x.transform(x.next(r),e);return Oe(Oe({},e),{},{path:n,newPath:o})}case"remove_node":return Oe(Oe({},e),{},{type:"insert_node"});case"remove_text":return Oe(Oe({},e),{},{type:"insert_text"});case"set_node":{var{properties:a,newProperties:s}=e;return Oe(Oe({},e),{},{properties:s,newProperties:a})}case"set_selection":{var{properties:u,newProperties:l}=e;return u==null?Oe(Oe({},e),{},{properties:l,newProperties:null}):l==null?Oe(Oe({},e),{},{properties:null,newProperties:u}):Oe(Oe({},e),{},{properties:l,newProperties:u})}case"split_node":return Oe(Oe({},e),{},{type:"merge_node",path:x.next(e.path)})}}},H5=new WeakMap,Qy=e=>{var t=H5.get(e);if(t!==void 0)return t;if(!Ze(e))return!1;var r=typeof e.addMark=="function"&&typeof e.apply=="function"&&typeof e.deleteFragment=="function"&&typeof e.insertBreak=="function"&&typeof e.insertSoftBreak=="function"&&typeof e.insertFragment=="function"&&typeof e.insertNode=="function"&&typeof e.insertText=="function"&&typeof e.isElementReadOnly=="function"&&typeof e.isInline=="function"&&typeof e.isSelectable=="function"&&typeof e.isVoid=="function"&&typeof e.normalizeNode=="function"&&typeof e.onChange=="function"&&typeof e.removeMark=="function"&&typeof e.getDirtyPaths=="function"&&(e.marks===null||Ze(e.marks))&&(e.selection===null||F.isRange(e.selection))&&H.isNodeList(e.children)&&wr.isOperationList(e.operations);return H5.set(e,r),r},g={above(e,t){return e.above(t)},addMark(e,t,r){e.addMark(t,r)},after(e,t,r){return e.after(t,r)},before(e,t,r){return e.before(t,r)},deleteBackward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:r="character"}=t;e.deleteBackward(r)},deleteForward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:r="character"}=t;e.deleteForward(r)},deleteFragment(e,t){e.deleteFragment(t)},edges(e,t){return e.edges(t)},elementReadOnly(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.elementReadOnly(t)},end(e,t){return e.end(t)},first(e,t){return e.first(t)},fragment(e,t){return e.fragment(t)},hasBlocks(e,t){return e.hasBlocks(t)},hasInlines(e,t){return e.hasInlines(t)},hasPath(e,t){return e.hasPath(t)},hasTexts(e,t){return e.hasTexts(t)},insertBreak(e){e.insertBreak()},insertFragment(e,t,r){e.insertFragment(t,r)},insertNode(e,t){e.insertNode(t)},insertSoftBreak(e){e.insertSoftBreak()},insertText(e,t){e.insertText(t)},isBlock(e,t){return e.isBlock(t)},isEdge(e,t,r){return e.isEdge(t,r)},isEditor(e){return Qy(e)},isElementReadOnly(e,t){return e.isElementReadOnly(t)},isEmpty(e,t){return e.isEmpty(t)},isEnd(e,t,r){return e.isEnd(t,r)},isInline(e,t){return e.isInline(t)},isNormalizing(e){return e.isNormalizing()},isSelectable(e,t){return e.isSelectable(t)},isStart(e,t,r){return e.isStart(t,r)},isVoid(e,t){return e.isVoid(t)},last(e,t){return e.last(t)},leaf(e,t,r){return e.leaf(t,r)},levels(e,t){return e.levels(t)},marks(e){return e.getMarks()},next(e,t){return e.next(t)},node(e,t,r){return e.node(t,r)},nodes(e,t){return e.nodes(t)},normalize(e,t){e.normalize(t)},parent(e,t,r){return e.parent(t,r)},path(e,t,r){return e.path(t,r)},pathRef(e,t,r){return e.pathRef(t,r)},pathRefs(e){return e.pathRefs()},point(e,t,r){return e.point(t,r)},pointRef(e,t,r){return e.pointRef(t,r)},pointRefs(e){return e.pointRefs()},positions(e,t){return e.positions(t)},previous(e,t){return e.previous(t)},range(e,t,r){return e.range(t,r)},rangeRef(e,t,r){return e.rangeRef(t,r)},rangeRefs(e){return e.rangeRefs()},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){e.setNormalizing(t)},start(e,t){return e.start(t)},string(e,t,r){return e.string(t,r)},unhangRange(e,t,r){return e.unhangRange(t,r)},void(e,t){return e.void(t)},withoutNormalizing(e,t){e.withoutNormalizing(t)}};var eD={isSpan(e){return Array.isArray(e)&&e.length===2&&e.every(x.isPath)}};function z5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function V5(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?z5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ce={compare(e,t){var r=x.compare(e.path,t.path);return r===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:r},isAfter(e,t){return ce.compare(e,t)===1},isBefore(e,t){return ce.compare(e,t)===-1},equals(e,t){return e.offset===t.offset&&x.equals(e.path,t.path)},isPoint(e){return Ze(e)&&typeof e.offset=="number"&&x.isPath(e.path)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Fs(e,n=>{if(n===null)return null;var{affinity:o="forward"}=r,{path:a,offset:s}=n;switch(t.type){case"insert_node":case"move_node":{n.path=x.transform(a,t,r);break}case"insert_text":{x.equals(t.path,a)&&(t.offset<s||t.offset===s&&o==="forward")&&(n.offset+=t.text.length);break}case"merge_node":{x.equals(t.path,a)&&(n.offset+=t.position),n.path=x.transform(a,t,r);break}case"remove_text":{x.equals(t.path,a)&&t.offset<=s&&(n.offset-=Math.min(s-t.offset,t.text.length));break}case"remove_node":{if(x.equals(t.path,a)||x.isAncestor(t.path,a))return null;n.path=x.transform(a,t,r);break}case"split_node":{if(x.equals(t.path,a)){if(t.position===s&&o==null)return null;(t.position<s||t.position===s&&o==="forward")&&(n.offset-=t.position,n.path=x.transform(a,t,V5(V5({},r),{},{affinity:"forward"})))}else n.path=x.transform(a,t,r);break}}})}},j5=void 0,_e={setScrubber(e){j5=e},stringify(e){return JSON.stringify(e,j5)}},tD=["text"],rD=["anchor","focus"];function W5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Er(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?W5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var G={equals(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:n=!1}=r;function o(a){var s=Sr(a,tD);return s}return cm(n?o(e):e,n?o(t):t)},isText(e){return Ze(e)&&typeof e.text=="string"},isTextList(e){return Array.isArray(e)&&e.every(t=>G.isText(t))},isTextProps(e){return e.text!==void 0},matches(e,t){for(var r in t)if(r!=="text"&&(!e.hasOwnProperty(r)||e[r]!==t[r]))return!1;return!0},decorations(e,t){var r=[Er({},e)];for(var n of t){var o=Sr(n,rD),[a,s]=F.edges(n),u=[],l=0,c=a.offset,d=s.offset;for(var h of r){var{length:m}=h.text,b=l;if(l+=m,c<=b&&l<=d){Object.assign(h,o),u.push(h);continue}if(c!==d&&(c===l||d===b)||c>l||d<b||d===b&&b!==0){u.push(h);continue}var v=h,p=void 0,C=void 0;if(d<l){var y=d-b;C=Er(Er({},v),{},{text:v.text.slice(y)}),v=Er(Er({},v),{},{text:v.text.slice(0,y)})}if(c>b){var E=c-b;p=Er(Er({},v),{},{text:v.text.slice(0,E)}),v=Er(Er({},v),{},{text:v.text.slice(E)})}Object.assign(v,o),p&&u.push(p),u.push(v),C&&u.push(C)}r=u}return r}},vc=e=>e.selection?e.selection:e.children.length>0?g.end(e,[]):[0],Fo=(e,t)=>{var[r]=g.node(e,t);return n=>n===r},bc=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=!r,o=r?uD(t):t,a=ie.None,s=ie.None,u=0,l=null,c=null;for(var d of o){var h=d.codePointAt(0);if(!h)break;var m=yD(d,h);if([a,s]=n?[s,m]:[m,a],Bo(a,ie.ZWJ)&&Bo(s,ie.ExtPict)&&(n?l=U5(t.substring(0,u)):l=U5(t.substring(0,t.length-u)),!l)||Bo(a,ie.RI)&&Bo(s,ie.RI)&&(c!==null?c=!c:n?c=!0:c=SD(t.substring(0,t.length-u)),!c)||a!==ie.None&&s!==ie.None&&xD(a,s))break;u+=d.length}return u||1},nD=/\s/,oD=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,aD=/['\u2018\u2019]/,iD=function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=0,o=!1;t.length>0;){var a=bc(t,r),[s,u]=Cc(t,a,r);if(sD(s,u,r))o=!0,n+=a;else if(!o)n+=a;else break;t=u}return n},Cc=(e,t,r)=>{if(r){var n=e.length-t;return[e.slice(n,e.length),e.slice(0,n)]}return[e.slice(0,t),e.slice(t)]},sD=function e(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(nD.test(t))return!1;if(aD.test(t)){var o=bc(r,n),[a,s]=Cc(r,o,n);if(e(a,s,n))return!0}return!oD.test(t)},uD=function*(t){for(var r=t.length-1,n=0;n<t.length;n++){var o=t.charAt(r-n);if(cD(o.charCodeAt(0))){var a=t.charAt(r-n-1);if(lD(a.charCodeAt(0))){yield a+o,n++;continue}}yield o}},lD=e=>e>=55296&&e<=56319,cD=e=>e>=56320&&e<=57343,ie;(function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"})(ie||(ie={}));var fD=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,pD=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,dD=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,mD=/^[\u1100-\u115F\uA960-\uA97C]$/,hD=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,gD=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,vD=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,bD=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,CD=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,yD=(e,t)=>{var r=ie.Any;return e.search(fD)!==-1&&(r|=ie.Extend),t===8205&&(r|=ie.ZWJ),t>=127462&&t<=127487&&(r|=ie.RI),e.search(pD)!==-1&&(r|=ie.Prepend),e.search(dD)!==-1&&(r|=ie.SpacingMark),e.search(mD)!==-1&&(r|=ie.L),e.search(hD)!==-1&&(r|=ie.V),e.search(gD)!==-1&&(r|=ie.T),e.search(vD)!==-1&&(r|=ie.LV),e.search(bD)!==-1&&(r|=ie.LVT),e.search(CD)!==-1&&(r|=ie.ExtPict),r};function Bo(e,t){return(e&t)!==0}var DD=[[ie.L,ie.L|ie.V|ie.LV|ie.LVT],[ie.LV|ie.V,ie.V|ie.T],[ie.LVT|ie.T,ie.T],[ie.Any,ie.Extend|ie.ZWJ],[ie.Any,ie.SpacingMark],[ie.Prepend,ie.Any],[ie.ZWJ,ie.ExtPict],[ie.RI,ie.RI]];function xD(e,t){return DD.findIndex(r=>Bo(e,r[0])&&Bo(t,r[1]))===-1}var ED=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,U5=e=>e.search(ED)!==-1,wD=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,SD=e=>{var t=e.match(wD);if(t===null)return!1;var r=t[0].length/2;return r%2===1},TD={delete(e,t){e.delete(t)},insertFragment(e,t,r){e.insertFragment(t,r)},insertText(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g.withoutNormalizing(e,()=>{var{voids:n=!1}=r,{at:o=vc(e)}=r;if(x.isPath(o)&&(o=g.range(e,o)),F.isRange(o))if(F.isCollapsed(o))o=o.anchor;else{var a=F.end(o);if(!n&&g.void(e,{at:a}))return;var s=F.start(o),u=g.pointRef(e,s),l=g.pointRef(e,a);P.delete(e,{at:o,voids:n});var c=u.unref(),d=l.unref();o=c||d,P.setSelection(e,{anchor:o,focus:o})}if(!(!n&&g.void(e,{at:o})||g.elementReadOnly(e,{at:o}))){var{path:h,offset:m}=o;t.length>0&&e.apply({type:"insert_text",path:h,offset:m,text:t})}})}};function _5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ms(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var P=Ms(Ms(Ms(Ms({},Uy),_y),Ky),TD),AD=(e,t)=>{for(var r of g.pathRefs(e))zy.transform(r,t);for(var n of g.pointRefs(e))Vy.transform(n,t);for(var o of g.rangeRefs(e))jy.transform(o,t);var a=Os.get(e)||[],s=Ps.get(e)||new Set,u,l,c=v=>{if(v){var p=v.join(",");l.has(p)||(l.add(p),u.push(v))}};if(x.operationCanTransformPath(t)){u=[],l=new Set;for(var d of a){var h=x.transform(d,t);c(h)}}else u=a,l=s;var m=e.getDirtyPaths(t);for(var b of m)c(b);Os.set(e,u),Ps.set(e,l),P.transform(e,t),e.operations.push(t),g.normalize(e,{operation:t}),t.type==="set_selection"&&(e.marks=null),ii.get(e)||(ii.set(e,!0),Promise.resolve().then(()=>{ii.set(e,!1),e.onChange({operation:t}),e.operations=[]}))},BD=(e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":{var{path:r}=t;return x.levels(r)}case"insert_node":{var{node:n,path:o}=t,a=x.levels(o),s=G.isText(n)?[]:Array.from(H.nodes(n),K=>{var[,X]=K;return o.concat(X)});return[...a,...s]}case"merge_node":{var{path:u}=t,l=x.ancestors(u),c=x.previous(u);return[...l,c]}case"move_node":{var{path:d,newPath:h}=t;if(x.equals(d,h))return[];var m=[],b=[];for(var v of x.ancestors(d)){var p=x.transform(v,t);m.push(p)}for(var C of x.ancestors(h)){var y=x.transform(C,t);b.push(y)}var E=b[b.length-1],B=h[h.length-1],A=E.concat(B);return[...m,...b,A]}case"remove_node":{var{path:L}=t,D=x.ancestors(L);return[...D]}case"split_node":{var{path:T}=t,j=x.levels(T),I=x.next(T);return[...j,I]}default:return[]}},FD=e=>{var{selection:t}=e;return t?H.fragment(e,t):[]},MD=(e,t)=>{var[r,n]=t;if(!G.isText(r)){if(U.isElement(r)&&r.children.length===0){var o={text:""};P.insertNodes(e,o,{at:n.concat(0),voids:!0});return}for(var a=g.isEditor(r)?!1:U.isElement(r)&&(e.isInline(r)||r.children.length===0||G.isText(r.children[0])||e.isInline(r.children[0])),s=0,u=0;u<r.children.length;u++,s++){var l=H.get(e,n);if(!G.isText(l)){var c=l.children[s],d=l.children[s-1],h=u===r.children.length-1,m=G.isText(c)||U.isElement(c)&&e.isInline(c);if(m!==a)P.removeNodes(e,{at:n.concat(s),voids:!0}),s--;else if(U.isElement(c)){if(e.isInline(c)){if(d==null||!G.isText(d)){var b={text:""};P.insertNodes(e,b,{at:n.concat(s),voids:!0}),s++}else if(h){var v={text:""};P.insertNodes(e,v,{at:n.concat(s+1),voids:!0}),s++}}}else d!=null&&G.isText(d)&&(G.equals(c,d,{loose:!0})?(P.mergeNodes(e,{at:n.concat(s),voids:!0}),s--):d.text===""?(P.removeNodes(e,{at:n.concat(s-1),voids:!0}),s--):c.text===""&&(P.removeNodes(e,{at:n.concat(s),voids:!0}),s--))}}}},OD=(e,t)=>{var{iteration:r,initialDirtyPathsLength:n}=t,o=n*42;if(r>o)throw new Error("Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0},PD=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:o="lowest",at:a=t.selection,match:s}=r;if(a){var u=g.path(t,a),l=o==="lowest";for(var[c,d]of g.levels(t,{at:u,voids:n,match:s,reverse:l}))if(!G.isText(c)){if(F.isRange(a)){if(x.isAncestor(d,a.anchor.path)&&x.isAncestor(d,a.focus.path))return[c,d]}else if(!x.equals(u,d))return[c,d]}}};function K5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function G5(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?K5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):K5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var RD=(e,t,r)=>{var{selection:n}=e;if(n){var o=(h,m)=>{if(!G.isText(h))return!1;var[b,v]=g.parent(e,m);return!e.isVoid(b)||e.markableVoid(b)},a=F.isExpanded(n),s=!1;if(!a){var[u,l]=g.node(e,n);if(u&&o(u,l)){var[c]=g.parent(e,l);s=c&&e.markableVoid(c)}}if(a||s)P.setNodes(e,{[t]:r},{match:o,split:!0,voids:!0});else{var d=G5(G5({},g.marks(e)||{}),{},{[t]:r});e.marks=d,ii.get(e)||e.onChange()}}};function q5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function X5(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?q5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):q5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var LD=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=g.point(t,r,{edge:"end"}),a=g.end(t,[]),s={anchor:o,focus:a},{distance:u=1}=n,l=0,c;for(var d of g.positions(t,X5(X5({},n),{},{at:s}))){if(l>u)break;l!==0&&(c=d),l++}return c};function Y5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function J5(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Y5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ID=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=g.start(t,[]),a=g.point(t,r,{edge:"start"}),s={anchor:o,focus:a},{distance:u=1}=n,l=0,c;for(var d of g.positions(t,J5(J5({},n),{},{at:s,reverse:!0}))){if(l>u)break;l!==0&&(c=d),l++}return c},kD=(e,t)=>{var{selection:r}=e;r&&F.isCollapsed(r)&&P.delete(e,{unit:t,reverse:!0})},ND=(e,t)=>{var{selection:r}=e;r&&F.isCollapsed(r)&&P.delete(e,{unit:t})},$D=function(t){var{direction:r="forward"}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t;n&&F.isExpanded(n)&&P.delete(t,{reverse:r==="backward"})},ZD=(e,t)=>[g.start(e,t),g.end(e,t)];function Q5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function em(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Q5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var HD=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g.above(t,em(em({},r),{},{match:n=>U.isElement(n)&&g.isElementReadOnly(t,n)}))},zD=(e,t)=>g.point(e,t,{edge:"end"}),VD=(e,t)=>{var r=g.path(e,t,{edge:"start"});return g.node(e,r)},jD=(e,t)=>{var r=g.range(e,t);return H.fragment(e,r)};function tm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function rm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tm(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var WD=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g.above(t,rm(rm({},r),{},{match:n=>U.isElement(n)&&g.isVoid(t,n)}))},UD=(e,t)=>t.children.some(r=>U.isElement(r)&&g.isBlock(e,r)),_D=(e,t)=>t.children.some(r=>G.isText(r)||g.isInline(e,r)),KD=(e,t)=>H.has(e,t),GD=(e,t)=>t.children.every(r=>G.isText(r)),qD=e=>{P.splitNodes(e,{always:!0})},XD=(e,t,r)=>{P.insertNodes(e,t,r)},YD=e=>{P.splitNodes(e,{always:!0})};function nm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function JD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?nm(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var QD=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o,marks:a}=t;if(o){if(a){var s=JD({text:r},a);P.insertNodes(t,s,{at:n.at,voids:n.voids})}else P.insertText(t,r,n);t.marks=null}},ex=(e,t)=>!e.isInline(t),tx=(e,t,r)=>g.isStart(e,t,r)||g.isEnd(e,t,r),rx=(e,t)=>{var{children:r}=t,[n]=r;return r.length===0||r.length===1&&G.isText(n)&&n.text===""&&!e.isVoid(t)},nx=(e,t,r)=>{var n=g.end(e,r);return ce.equals(t,n)},ox=e=>{var t=lm.get(e);return t===void 0?!0:t},ax=(e,t,r)=>{if(t.offset!==0)return!1;var n=g.start(e,r);return ce.equals(t,n)},ix=(e,t)=>{var r=g.path(e,t,{edge:"end"});return g.node(e,r)},sx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=g.path(t,r,n),a=H.leaf(t,o);return[a,o]};function*ux(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,reverse:n=!1,voids:o=!1}=t,{match:a}=t;if(a==null&&(a=()=>!0),!!r){var s=[],u=g.path(e,r);for(var[l,c]of H.levels(e,u))if(a(l,c)&&(s.push([l,c]),!o&&U.isElement(l)&&g.isVoid(e,l)))break;n&&s.reverse(),yield*s}}var lx=["text"],cx=["text"],fx=function(t){var{marks:r,selection:n}=t;if(!n)return null;if(r)return r;if(F.isExpanded(n)){var[o]=g.nodes(t,{match:G.isText});if(o){var[a]=o,s=Sr(a,lx);return s}else return{}}var{anchor:u}=n,{path:l}=u,[c]=g.leaf(t,l);if(u.offset===0){var d=g.previous(t,{at:l,match:G.isText}),h=g.above(t,{match:y=>U.isElement(y)&&g.isVoid(t,y)&&t.markableVoid(y)});if(!h){var m=g.above(t,{match:y=>U.isElement(y)&&g.isBlock(t,y)});if(d&&m){var[b,v]=d,[,p]=m;x.isAncestor(p,v)&&(c=b)}}}var C=Sr(c,cx);return C},px=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var u=g.after(t,s,{voids:o});if(u){var[,l]=g.last(t,[]),c=[u.path,l];if(x.isPath(s)&&s.length===0)throw new Error("Cannot get the next node from the root node!");if(a==null)if(x.isPath(s)){var[d]=g.parent(t,s);a=m=>d.children.includes(m)}else a=()=>!0;var[h]=g.nodes(t,{at:c,match:a,mode:n,voids:o});return h}}},dx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=g.path(t,r,n),a=H.get(t,o);return[a,o]};function*mx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,mode:n="all",universal:o=!1,reverse:a=!1,voids:s=!1,ignoreNonSelectable:u=!1}=t,{match:l}=t;if(l||(l=()=>!0),!!r){var c,d;if(eD.isSpan(r))c=r[0],d=r[1];else{var h=g.path(e,r,{edge:"start"}),m=g.path(e,r,{edge:"end"});c=a?m:h,d=a?h:m}var b=H.nodes(e,{reverse:a,from:c,to:d,pass:A=>{var[L]=A;return U.isElement(L)?!!(!s&&(g.isVoid(e,L)||g.isElementReadOnly(e,L))||u&&!g.isSelectable(e,L)):!1}}),v=[],p;for(var[C,y]of b)if(!(u&&U.isElement(C)&&!g.isSelectable(e,C))){var E=p&&x.compare(y,p[1])===0;if(!(n==="highest"&&E)){if(!l(C,y)){if(o&&!E&&G.isText(C))return;continue}if(n==="lowest"&&E){p=[C,y];continue}var B=n==="lowest"?p:[C,y];B&&(o?v.push(B):yield B),p=[C,y]}}n==="lowest"&&p&&(o?v.push(p):yield p),o&&(yield*v)}}var hx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1,operation:o}=r,a=d=>Os.get(d)||[],s=d=>Ps.get(d)||new Set,u=d=>{var h=a(d).pop(),m=h.join(",");return s(d).delete(m),h};if(g.isNormalizing(t)){if(n){var l=Array.from(H.nodes(t),d=>{var[,h]=d;return h}),c=new Set(l.map(d=>d.join(",")));Os.set(t,l),Ps.set(t,c)}a(t).length!==0&&g.withoutNormalizing(t,()=>{for(var d of a(t))if(H.has(t,d)){var h=g.node(t,d),[m,b]=h;U.isElement(m)&&m.children.length===0&&t.normalizeNode(h,{operation:o})}for(var v=a(t),p=v.length,C=0;v.length!==0;){if(!t.shouldNormalize({dirtyPaths:v,iteration:C,initialDirtyPathsLength:p,operation:o}))return;var y=u(t);if(H.has(t,y)){var E=g.node(t,y);t.normalizeNode(E,{operation:o})}C++,v=a(t)}})}},gx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=g.path(t,r,n),a=x.parent(o),s=g.node(t,a);return s},vx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=g.pathRefs(t);return l.delete(a),a.current=null,u}},s=g.pathRefs(t);return s.add(a),a},bx=e=>{var t=P5.get(e);return t||(t=new Set,P5.set(e,t)),t},Cx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:o,edge:a}=n;if(x.isPath(r)){if(a==="start"){var[,s]=H.first(t,r);r=s}else if(a==="end"){var[,u]=H.last(t,r);r=u}}return F.isRange(r)&&(a==="start"?r=F.start(r):a==="end"?r=F.end(r):r=x.common(r.anchor.path,r.focus.path)),ce.isPoint(r)&&(r=r.path),o!=null&&(r=r.slice(0,o)),r},yx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=g.pointRefs(t);return l.delete(a),a.current=null,u}},s=g.pointRefs(t);return s.add(a),a},Dx=e=>{var t=R5.get(e);return t||(t=new Set,R5.set(e,t)),t},xx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:o="start"}=n;if(x.isPath(r)){var a;if(o==="end"){var[,s]=H.last(t,r);a=s}else{var[,u]=H.first(t,r);a=u}var l=H.get(t,a);if(!G.isText(l))throw new Error("Cannot get the ".concat(o," point in the node at path [").concat(r,"] because it has no ").concat(o," text node."));return{path:a,offset:o==="end"?l.text.length:0}}if(F.isRange(r)){var[c,d]=F.edges(r);return o==="start"?c:d}return r};function*Ex(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,unit:n="offset",reverse:o=!1,voids:a=!1,ignoreNonSelectable:s=!1}=t;if(!r)return;var u=g.range(e,r),[l,c]=F.edges(u),d=o?c:l,h=!1,m="",b=0,v=0,p=0;for(var[C,y]of g.nodes(e,{at:r,reverse:o,voids:a,ignoreNonSelectable:s})){if(U.isElement(C)){if(!a&&(e.isVoid(C)||e.isElementReadOnly(C))){yield g.start(e,y);continue}if(e.isInline(C))continue;if(g.hasInlines(e,C)){var E=x.isAncestor(y,c.path)?c:g.end(e,y),B=x.isAncestor(y,l.path)?l:g.start(e,y);m=g.string(e,{anchor:B,focus:E},{voids:a}),h=!0}}if(G.isText(C)){var A=x.equals(y,d.path);for(A?(v=o?d.offset:C.text.length-d.offset,p=d.offset):(v=C.text.length,p=o?v:0),(A||h||n==="offset")&&(yield{path:y,offset:p},h=!1);;){if(b===0){if(m==="")break;b=L(m,n,o),m=Cc(m,b,o)[1]}if(p=o?p-b:p+b,v=v-b,v<0){b=-v;break}b=0,yield{path:y,offset:p}}}}function L(D,T,j){return T==="character"?bc(D,j):T==="word"?iD(D,j):T==="line"||T==="block"?D.length:1}}var wx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var u=g.before(t,s,{voids:o});if(u){var[,l]=g.first(t,[]),c=[u.path,l];if(x.isPath(s)&&s.length===0)throw new Error("Cannot get the previous node from the root node!");if(a==null)if(x.isPath(s)){var[d]=g.parent(t,s);a=m=>d.children.includes(m)}else a=()=>!0;var[h]=g.nodes(t,{reverse:!0,at:c,match:a,mode:n,voids:o});return h}}},Sx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=g.rangeRefs(t);return l.delete(a),a.current=null,u}},s=g.rangeRefs(t);return s.add(a),a},Tx=e=>{var t=L5.get(e);return t||(t=new Set,L5.set(e,t)),t},Ax=(e,t,r)=>{if(F.isRange(t)&&!r)return t;var n=g.start(e,t),o=g.end(e,r||t);return{anchor:n,focus:o}};function om(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Bx(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?om(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):om(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Fx=(e,t)=>{var{selection:r}=e;if(r){var n=(d,h)=>{if(!G.isText(d))return!1;var[m,b]=g.parent(e,h);return!e.isVoid(m)||e.markableVoid(m)},o=F.isExpanded(r),a=!1;if(!o){var[s,u]=g.node(e,r);if(s&&n(s,u)){var[l]=g.parent(e,u);a=l&&e.markableVoid(l)}}if(o||a)P.unsetNodes(e,t,{match:n,split:!0,voids:!0});else{var c=Bx({},g.marks(e)||{});delete c[t],e.marks=c,ii.get(e)||e.onChange()}}},Mx=(e,t)=>{lm.set(e,t)},Ox=(e,t)=>g.point(e,t,{edge:"start"}),Px=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,a=g.range(t,r),[s,u]=F.edges(a),l="";for(var[c,d]of g.nodes(t,{at:a,match:G.isText,voids:o})){var h=c.text;x.equals(d,u.path)&&(h=h.slice(0,u.offset)),x.equals(d,s.path)&&(h=h.slice(s.offset)),l+=h}return l},Rx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,[a,s]=F.edges(r);if(a.offset!==0||s.offset!==0||F.isCollapsed(r)||x.hasPrevious(s.path))return r;var u=g.above(t,{at:s,match:v=>U.isElement(v)&&g.isBlock(t,v),voids:o}),l=u?u[1]:[],c=g.start(t,a),d={anchor:c,focus:s},h=!0;for(var[m,b]of g.nodes(t,{at:d,match:G.isText,reverse:!0,voids:o})){if(h){h=!1;continue}if(m.text!==""||x.isBefore(b,l)){s={path:b,offset:m.text.length};break}}return{anchor:a,focus:s}},Lx=(e,t)=>{var r=g.isNormalizing(e);g.setNormalizing(e,!1);try{t()}finally{g.setNormalizing(e,r)}g.normalize(e)},Ix=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var n,o,{reverse:a=!1,unit:s="character",distance:u=1,voids:l=!1}=r,{at:c=t.selection,hanging:d=!1}=r;if(c){var h=!1;if(F.isRange(c)&&F.isCollapsed(c)&&(h=!0,c=c.anchor),ce.isPoint(c)){var m=g.void(t,{at:c,mode:"highest"});if(!l&&m){var[,b]=m;c=b}else{var v={unit:s,distance:u},p=a?g.before(t,c,v)||g.start(t,[]):g.after(t,c,v)||g.end(t,[]);c={anchor:c,focus:p},d=!0}}if(x.isPath(c)){P.removeNodes(t,{at:c,voids:l});return}if(!F.isCollapsed(c)){if(!d){var[,C]=F.edges(c),y=g.end(t,[]);ce.equals(C,y)||(c=g.unhangRange(t,c,{voids:l}))}var[E,B]=F.edges(c),A=g.above(t,{match:be=>U.isElement(be)&&g.isBlock(t,be),at:E,voids:l}),L=g.above(t,{match:be=>U.isElement(be)&&g.isBlock(t,be),at:B,voids:l}),D=A&&L&&!x.equals(A[1],L[1]),T=x.equals(E.path,B.path),j=l?null:(n=g.void(t,{at:E,mode:"highest"}))!==null&&n!==void 0?n:g.elementReadOnly(t,{at:E,mode:"highest"}),I=l?null:(o=g.void(t,{at:B,mode:"highest"}))!==null&&o!==void 0?o:g.elementReadOnly(t,{at:B,mode:"highest"});if(j){var K=g.before(t,E);K&&A&&x.isAncestor(A[1],K.path)&&(E=K)}if(I){var X=g.after(t,B);X&&L&&x.isAncestor(L[1],X.path)&&(B=X)}var N=[],$;for(var Z of g.nodes(t,{at:c,voids:l})){var[W,le]=Z;$&&x.compare(le,$)===0||(!l&&U.isElement(W)&&(g.isVoid(t,W)||g.isElementReadOnly(t,W))||!x.isCommon(le,E.path)&&!x.isCommon(le,B.path))&&(N.push(Z),$=le)}var me=Array.from(N,be=>{var[,Ue]=be;return g.pathRef(t,Ue)}),De=g.pointRef(t,E),ae=g.pointRef(t,B),de="";if(!T&&!j){var we=De.current,[he]=g.leaf(t,we),{path:qe}=we,{offset:w}=E,V=he.text.slice(w);V.length>0&&(t.apply({type:"remove_text",path:qe,offset:w,text:V}),de=V)}if(me.reverse().map(be=>be.unref()).filter(be=>be!==null).forEach(be=>P.removeNodes(t,{at:be,voids:l})),!I){var k=ae.current,[_]=g.leaf(t,k),{path:ue}=k,te=T?E.offset:0,fe=_.text.slice(te,B.offset);fe.length>0&&(t.apply({type:"remove_text",path:ue,offset:te,text:fe}),de=fe)}!T&&D&&ae.current&&De.current&&P.mergeNodes(t,{at:ae.current,hanging:!0,voids:l}),h&&a&&s==="character"&&de.length>1&&de.match(/[\u0E00-\u0E7F]+/)&&P.insertText(t,de.slice(0,de.length-u));var ve=De.unref(),Ce=ae.unref(),Se=a?ve||Ce:Ce||ve;r.at==null&&Se&&P.select(t,Se)}}})},kx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1}=n,{at:s=vc(t)}=n;if(r.length){if(F.isRange(s))if(o||(s=g.unhangRange(t,s,{voids:a})),F.isCollapsed(s))s=s.anchor;else{var[,u]=F.edges(s);if(!a&&g.void(t,{at:u}))return;var l=g.pointRef(t,u);P.delete(t,{at:s}),s=l.unref()}else x.isPath(s)&&(s=g.start(t,s));if(!(!a&&g.void(t,{at:s}))){var c=g.above(t,{at:s,match:w=>U.isElement(w)&&g.isInline(t,w),mode:"highest",voids:a});if(c){var[,d]=c;if(g.isEnd(t,s,d)){var h=g.after(t,d);s=h}else if(g.isStart(t,s,d)){var m=g.before(t,d);s=m}}var b=g.above(t,{match:w=>U.isElement(w)&&g.isBlock(t,w),at:s,voids:a}),[,v]=b,p=g.isStart(t,s,v),C=g.isEnd(t,s,v),y=p&&C,E=!p||p&&C,B=!C,[,A]=H.first({children:r},[]),[,L]=H.last({children:r},[]),D=[],T=w=>{var[V,k]=w,_=k.length===0;return _?!1:y?!0:!(E&&x.isAncestor(k,A)&&U.isElement(V)&&!t.isVoid(V)&&!t.isInline(V)||B&&x.isAncestor(k,L)&&U.isElement(V)&&!t.isVoid(V)&&!t.isInline(V))};for(var j of H.nodes({children:r},{pass:T}))T(j)&&D.push(j);var I=[],K=[],X=[],N=!0,$=!1;for(var[Z]of D)U.isElement(Z)&&!t.isInline(Z)?(N=!1,$=!0,K.push(Z)):N?I.push(Z):X.push(Z);var[W]=g.nodes(t,{at:s,match:w=>G.isText(w)||g.isInline(t,w),mode:"highest",voids:a}),[,le]=W,me=g.isStart(t,s,le),De=g.isEnd(t,s,le),ae=g.pathRef(t,C&&!X.length?x.next(v):v),de=g.pathRef(t,De?x.next(le):le);P.splitNodes(t,{at:s,match:w=>$?U.isElement(w)&&g.isBlock(t,w):G.isText(w)||g.isInline(t,w),mode:$?"lowest":"highest",always:$&&(!p||I.length>0)&&(!C||X.length>0),voids:a});var we=g.pathRef(t,!me||me&&De?x.next(le):le);if(P.insertNodes(t,I,{at:we.current,match:w=>G.isText(w)||g.isInline(t,w),mode:"highest",voids:a}),y&&!I.length&&K.length&&!X.length&&P.delete(t,{at:v,voids:a}),P.insertNodes(t,K,{at:ae.current,match:w=>U.isElement(w)&&g.isBlock(t,w),mode:"lowest",voids:a}),P.insertNodes(t,X,{at:de.current,match:w=>G.isText(w)||g.isInline(t,w),mode:"highest",voids:a}),!n.at){var he;if(X.length>0&&de.current?he=x.previous(de.current):K.length>0&&ae.current?he=x.previous(ae.current):we.current&&(he=x.previous(we.current)),he){var qe=g.end(t,he);P.select(t,qe)}}we.unref(),ae.unref(),de.unref()}}})},Nx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:n="anchor"}=r,{selection:o}=t;if(o){if(n==="anchor")P.select(t,o.anchor);else if(n==="focus")P.select(t,o.focus);else if(n==="start"){var[a]=F.edges(o);P.select(t,a)}else if(n==="end"){var[,s]=F.edges(o);P.select(t,s)}}else return},$x=e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},Zx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t,{distance:o=1,unit:a="character",reverse:s=!1}=r,{edge:u=null}=r;if(n){u==="start"&&(u=F.isBackward(n)?"focus":"anchor"),u==="end"&&(u=F.isBackward(n)?"anchor":"focus");var{anchor:l,focus:c}=n,d={distance:o,unit:a,ignoreNonSelectable:!0},h={};if(u==null||u==="anchor"){var m=s?g.before(t,l,d):g.after(t,l,d);m&&(h.anchor=m)}if(u==null||u==="focus"){var b=s?g.before(t,c,d):g.after(t,c,d);b&&(h.focus=b)}P.setSelection(t,h)}},Hx=(e,t)=>{var{selection:r}=e;if(t=g.range(e,t),r){P.setSelection(e,t);return}if(!F.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(_e.stringify(t)));e.apply({type:"set_selection",properties:r,newProperties:t})};function am(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function im(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?am(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):am(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var zx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o}=t,{edge:a="both"}=n;if(o){a==="start"&&(a=F.isBackward(o)?"focus":"anchor"),a==="end"&&(a=F.isBackward(o)?"anchor":"focus");var{anchor:s,focus:u}=o,l=a==="anchor"?s:u;P.setSelection(t,{[a==="anchor"?"anchor":"focus"]:im(im({},l),r)})}},Vx=(e,t)=>{var{selection:r}=e,n={},o={};if(r){for(var a in t)(a==="anchor"&&t.anchor!=null&&!ce.equals(t.anchor,r.anchor)||a==="focus"&&t.focus!=null&&!ce.equals(t.focus,r.focus)||a!=="anchor"&&a!=="focus"&&t[a]!==r[a])&&(n[a]=r[a],o[a]=t[a]);Object.keys(n).length>0&&e.apply({type:"set_selection",properties:n,newProperties:o})}},jx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1,mode:s="lowest"}=n,{at:u,match:l,select:c}=n;if(H.isNode(r)&&(r=[r]),r.length!==0){var[d]=r;if(u||(u=vc(t),c=!0),c==null&&(c=!1),F.isRange(u))if(o||(u=g.unhangRange(t,u,{voids:a})),F.isCollapsed(u))u=u.anchor;else{var[,h]=F.edges(u),m=g.pointRef(t,h);P.delete(t,{at:u}),u=m.unref()}if(ce.isPoint(u)){l==null&&(G.isText(d)?l=T=>G.isText(T):t.isInline(d)?l=T=>G.isText(T)||g.isInline(t,T):l=T=>U.isElement(T)&&g.isBlock(t,T));var[b]=g.nodes(t,{at:u.path,match:l,mode:s,voids:a});if(b){var[,v]=b,p=g.pathRef(t,v),C=g.isEnd(t,u,v);P.splitNodes(t,{at:u,match:l,mode:s,voids:a});var y=p.unref();u=C?x.next(y):y}else return}var E=x.parent(u),B=u[u.length-1];if(!(!a&&g.void(t,{at:E}))){for(var A of r){var L=E.concat(B);B++,t.apply({type:"insert_node",path:L,node:A}),u=x.next(u)}if(u=x.previous(u),c){var D=g.end(t,u);D&&P.select(t,D)}}}})},Wx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var{at:n=t.selection,mode:o="lowest",voids:a=!1}=r,{match:s}=r;if(s==null&&(s=x.isPath(n)?Fo(t,n):A=>U.isElement(A)&&g.isBlock(t,A)),!!n){var u=g.nodes(t,{at:n,match:s,mode:o,voids:a}),l=Array.from(u,A=>{var[,L]=A;return g.pathRef(t,L)});for(var c of l){var d=c.unref();if(d.length<2)throw new Error("Cannot lift node at a path [".concat(d,"] because it has a depth of less than `2`."));var h=g.node(t,x.parent(d)),[m,b]=h,v=d[d.length-1],{length:p}=m.children;if(p===1){var C=x.next(b);P.moveNodes(t,{at:d,to:C,voids:a}),P.removeNodes(t,{at:b,voids:a})}else if(v===0)P.moveNodes(t,{at:d,to:b,voids:a});else if(v===p-1){var y=x.next(b);P.moveNodes(t,{at:d,to:y,voids:a})}else{var E=x.next(d),B=x.next(b);P.splitNodes(t,{at:E,voids:a}),P.moveNodes(t,{at:d,to:B,voids:a})}}}})},Ux=["text"],_x=["children"],fm=(e,t)=>{if(U.isElement(t)){var r=t;return g.isVoid(e,t)?!0:r.children.length===1?fm(e,r.children[0]):!1}else return!g.isEditor(t)},Kx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var{match:n,at:o=t.selection}=r,{hanging:a=!1,voids:s=!1,mode:u="lowest"}=r;if(o){if(n==null)if(x.isPath(o)){var[l]=g.parent(t,o);n=K=>l.children.includes(K)}else n=K=>U.isElement(K)&&g.isBlock(t,K);if(!a&&F.isRange(o)&&(o=g.unhangRange(t,o,{voids:s})),F.isRange(o))if(F.isCollapsed(o))o=o.anchor;else{var[,c]=F.edges(o),d=g.pointRef(t,c);P.delete(t,{at:o}),o=d.unref(),r.at==null&&P.select(t,o)}var[h]=g.nodes(t,{at:o,match:n,voids:s,mode:u}),m=g.previous(t,{at:o,match:n,voids:s,mode:u});if(!(!h||!m)){var[b,v]=h,[p,C]=m;if(!(v.length===0||C.length===0)){var y=x.next(C),E=x.common(v,C),B=x.isSibling(v,C),A=Array.from(g.levels(t,{at:v}),K=>{var[X]=K;return X}).slice(E.length).slice(0,-1),L=g.above(t,{at:v,mode:"highest",match:K=>A.includes(K)&&fm(t,K)}),D=L&&g.pathRef(t,L[1]),T,j;if(G.isText(b)&&G.isText(p)){var I=Sr(b,Ux);j=p.text.length,T=I}else if(U.isElement(b)&&U.isElement(p)){var I=Sr(b,_x);j=p.children.length,T=I}else throw new Error("Cannot merge the node at path [".concat(v,"] with the previous sibling because it is not the same kind: ").concat(_e.stringify(b)," ").concat(_e.stringify(p)));B||P.moveNodes(t,{at:v,to:y,voids:s}),D&&P.removeNodes(t,{at:D.current,voids:s}),U.isElement(p)&&g.isEmpty(t,p)||G.isText(p)&&p.text===""&&C[C.length-1]!==0?P.removeNodes(t,{at:C,voids:s}):t.apply({type:"merge_node",path:y,position:j,properties:T}),D&&D.unref()}}}})},Gx=(e,t)=>{g.withoutNormalizing(e,()=>{var{to:r,at:n=e.selection,mode:o="lowest",voids:a=!1}=t,{match:s}=t;if(n){s==null&&(s=x.isPath(n)?Fo(e,n):b=>U.isElement(b)&&g.isBlock(e,b));var u=g.pathRef(e,r),l=g.nodes(e,{at:n,match:s,mode:o,voids:a}),c=Array.from(l,b=>{var[,v]=b;return g.pathRef(e,v)});for(var d of c){var h=d.unref(),m=u.current;h.length!==0&&e.apply({type:"move_node",path:h,newPath:m}),u.current&&x.isSibling(m,h)&&x.isAfter(m,h)&&(u.current=x.next(u.current))}u.unref()}})},qx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var{hanging:n=!1,voids:o=!1,mode:a="lowest"}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=x.isPath(s)?Fo(t,s):b=>U.isElement(b)&&g.isBlock(t,b)),!n&&F.isRange(s)&&(s=g.unhangRange(t,s,{voids:o}));var l=g.nodes(t,{at:s,match:u,mode:a,voids:o}),c=Array.from(l,b=>{var[,v]=b;return g.pathRef(t,v)});for(var d of c){var h=d.unref();if(h){var[m]=g.node(t,h);t.apply({type:"remove_node",path:h,node:m})}}}})},Xx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g.withoutNormalizing(t,()=>{var{match:o,at:a=t.selection,compare:s,merge:u}=n,{hanging:l=!1,mode:c="lowest",split:d=!1,voids:h=!1}=n;if(a){if(o==null&&(o=x.isPath(a)?Fo(t,a):j=>U.isElement(j)&&g.isBlock(t,j)),!l&&F.isRange(a)&&(a=g.unhangRange(t,a,{voids:h})),d&&F.isRange(a)){if(F.isCollapsed(a)&&g.leaf(t,a.anchor)[0].text.length>0)return;var m=g.rangeRef(t,a,{affinity:"inward"}),[b,v]=F.edges(a),p=c==="lowest"?"lowest":"highest",C=g.isEnd(t,v,v.path);P.splitNodes(t,{at:v,match:o,mode:p,voids:h,always:!C});var y=g.isStart(t,b,b.path);P.splitNodes(t,{at:b,match:o,mode:p,voids:h,always:!y}),a=m.unref(),n.at==null&&P.select(t,a)}s||(s=(j,I)=>j!==I);for(var[E,B]of g.nodes(t,{at:a,match:o,mode:c,voids:h})){var A={},L={};if(B.length!==0){var D=!1;for(var T in r)T==="children"||T==="text"||s(r[T],E[T])&&(D=!0,E.hasOwnProperty(T)&&(A[T]=E[T]),u?r[T]!=null&&(L[T]=u(E[T],r[T])):r[T]!=null&&(L[T]=r[T]));D&&t.apply({type:"set_node",path:B,properties:A,newProperties:L})}}}})},Yx=(e,t)=>{if(F.isCollapsed(t))return t.anchor;var[,r]=F.edges(t),n=g.pointRef(e,r);return P.delete(e,{at:t}),n.unref()},Jx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection,height:u=0,always:l=!1}=r;if(a==null&&(a=ae=>U.isElement(ae)&&g.isBlock(t,ae)),F.isRange(s)&&(s=Yx(t,s)),x.isPath(s)){var c=s,d=g.point(t,c),[h]=g.parent(t,c);a=ae=>ae===h,u=d.path.length-c.length+1,s=d,l=!0}if(s){var m=g.pointRef(t,s,{affinity:"backward"}),b;try{var[v]=g.nodes(t,{at:s,match:a,mode:n,voids:o});if(!v)return;var p=g.void(t,{at:s,mode:"highest"}),C=0;if(!o&&p){var[y,E]=p;if(U.isElement(y)&&t.isInline(y)){var B=g.after(t,E);if(!B){var A={text:""},L=x.next(E);P.insertNodes(t,A,{at:L,voids:o}),B=g.point(t,L)}s=B,l=!0}var D=s.path.length-E.length;u=D+1,l=!0}b=g.pointRef(t,s);var T=s.path.length-u,[,j]=v,I=s.path.slice(0,T),K=u===0?s.offset:s.path[T]+C;for(var[X,N]of g.levels(t,{at:I,reverse:!0,voids:o})){var $=!1;if(N.length<j.length||N.length===0||!o&&U.isElement(X)&&g.isVoid(t,X))break;var Z=m.current,W=g.isEnd(t,Z,N);if(l||!m||!g.isEdge(t,Z,N)){$=!0;var le=H.extractProps(X);t.apply({type:"split_node",path:N,position:K,properties:le})}K=N[N.length-1]+($||W?1:0)}if(r.at==null){var me=b.current||g.end(t,[]);P.select(t,me)}}finally{var De;m.unref(),(De=b)===null||De===void 0||De.unref()}}})},Qx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(r)||(r=[r]);var o={};for(var a of r)o[a]=null;P.setNodes(t,o,n)},eE=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var{mode:n="lowest",split:o=!1,voids:a=!1}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=x.isPath(s)?Fo(t,s):b=>U.isElement(b)&&g.isBlock(t,b)),x.isPath(s)&&(s=g.range(t,s));var l=F.isRange(s)?g.rangeRef(t,s):null,c=g.nodes(t,{at:s,match:u,mode:n,voids:a}),d=Array.from(c,b=>{var[,v]=b;return g.pathRef(t,v)}).reverse(),h=function(v){var p=v.unref(),[C]=g.node(t,p),y=g.range(t,p);o&&l&&(y=F.intersection(l.current,y)),P.liftNodes(t,{at:y,match:E=>U.isAncestor(C)&&C.children.includes(E),voids:a})};for(var m of d)h(m);l&&l.unref()}})};function sm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function um(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?sm(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var tE=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g.withoutNormalizing(t,()=>{var{mode:o="lowest",split:a=!1,voids:s=!1}=n,{match:u,at:l=t.selection}=n;if(l){if(u==null&&(x.isPath(l)?u=Fo(t,l):t.isInline(r)?u=y=>U.isElement(y)&&g.isInline(t,y)||G.isText(y):u=y=>U.isElement(y)&&g.isBlock(t,y)),a&&F.isRange(l)){var[c,d]=F.edges(l),h=g.rangeRef(t,l,{affinity:"inward"});P.splitNodes(t,{at:d,match:u,voids:s}),P.splitNodes(t,{at:c,match:u,voids:s}),l=h.unref(),n.at==null&&P.select(t,l)}var m=Array.from(g.nodes(t,{at:l,match:t.isInline(r)?y=>U.isElement(y)&&g.isBlock(t,y):y=>g.isEditor(y),mode:"lowest",voids:s}));for(var[,b]of m){var v=F.isRange(l)?F.intersection(l,g.range(t,b)):l;if(v){var p=Array.from(g.nodes(t,{at:v,match:u,mode:o,voids:s}));if(p.length>0){var C=function(){var[y]=p,E=p[p.length-1],[,B]=y,[,A]=E;if(B.length===0&&A.length===0)return"continue";var L=x.equals(B,A)?x.parent(B):x.common(B,A),D=g.range(t,B,A),T=g.node(t,L),[j]=T,I=L.length+1,K=x.next(A.slice(0,I)),X=um(um({},r),{},{children:[]});P.insertNodes(t,X,{at:K,voids:s}),P.moveNodes(t,{at:D,match:N=>U.isAncestor(j)&&j.children.includes(N),to:K.concat(0),voids:s})}();if(C==="continue")continue}}}}})},Rs=()=>{var e={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AD(e,...n)},addMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return RD(e,...n)},deleteBackward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kD(e,...n)},deleteForward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ND(e,...n)},deleteFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $D(e,...n)},getFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return FD(e,...n)},insertBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return qD(e,...n)},insertSoftBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return YD(e,...n)},insertFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kx(e,...n)},insertNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return XD(e,...n)},insertText:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return QD(e,...n)},normalizeNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return MD(e,...n)},removeMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Fx(e,...n)},getDirtyPaths:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return BD(e,...n)},shouldNormalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return OD(e,...n)},above:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return PD(e,...n)},after:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LD(e,...n)},before:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ID(e,...n)},collapse:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Nx(e,...n)},delete:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Ix(e,...n)},deselect:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $x(e,...n)},edges:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ZD(e,...n)},elementReadOnly:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return HD(e,...n)},end:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zD(e,...n)},first:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VD(e,...n)},fragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jD(e,...n)},getMarks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return fx(e,...n)},hasBlocks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return UD(e,...n)},hasInlines:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return _D(e,...n)},hasPath:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return KD(e,...n)},hasTexts:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return GD(e,...n)},insertNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jx(e,...n)},isBlock:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ex(e,...n)},isEdge:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return tx(e,...n)},isEmpty:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return rx(e,...n)},isEnd:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return nx(e,...n)},isNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ox(e,...n)},isStart:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ax(e,...n)},last:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ix(e,...n)},leaf:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return sx(e,...n)},levels:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ux(e,...n)},liftNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Wx(e,...n)},mergeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Kx(e,...n)},move:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Zx(e,...n)},moveNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Gx(e,...n)},next:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return px(e,...n)},node:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return dx(e,...n)},nodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return mx(e,...n)},normalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hx(e,...n)},parent:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return gx(e,...n)},path:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Cx(e,...n)},pathRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return vx(e,...n)},pathRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bx(e,...n)},point:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xx(e,...n)},pointRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yx(e,...n)},pointRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Dx(e,...n)},positions:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Ex(e,...n)},previous:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wx(e,...n)},range:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Ax(e,...n)},rangeRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Sx(e,...n)},rangeRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Tx(e,...n)},removeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return qx(e,...n)},select:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Hx(e,...n)},setNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Xx(e,...n)},setNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Mx(e,...n)},setPoint:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zx(e,...n)},setSelection:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Vx(e,...n)},splitNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Jx(e,...n)},start:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Ox(e,...n)},string:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Px(e,...n)},unhangRange:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Rx(e,...n)},unsetNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Qx(e,...n)},unwrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return eE(e,...n)},void:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return WD(e,...n)},withoutNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Lx(e,...n)},wrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return tE(e,...n)}};return e};i();i();i();i();i();i();i();var Pt=[];var pm=function(){return Pt.some(function(e){return e.activeTargets.length>0})};i();var dm=function(){return Pt.some(function(e){return e.skippedTargets.length>0})};i();var mm="ResizeObserver loop completed with undelivered notifications.",hm=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:mm}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=mm),window.dispatchEvent(e)};i();i();i();i();var Nn;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Nn||(Nn={}));i();i();var Wt=function(e){return Object.freeze(e)};var yc=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,Wt(this)}return e}();i();var Dc=function(){function e(t,r,n,o){return this.x=t,this.y=r,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Wt(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,a=t.right,s=t.bottom,u=t.left,l=t.width,c=t.height;return{x:r,y:n,top:o,right:a,bottom:s,left:u,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}();i();var si=function(e){return e instanceof SVGElement&&"getBBox"in e},Ls=function(e){if(si(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,a=o.offsetWidth,s=o.offsetHeight;return!(a||s||e.getClientRects().length)},xc=function(e){var t;if(e instanceof Element)return!0;var r=(t=e?.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},gm=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1};i();var $n=typeof window<"u"?window:{};var Is=new WeakMap,vm=/auto|scroll/,rE=/^tb|vertical/,nE=/msie|trident/i.test($n.navigator&&$n.navigator.userAgent),rr=function(e){return parseFloat(e||"0")},Mo=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new yc((r?t:e)||0,(r?e:t)||0)},bm=Wt({devicePixelContentBoxSize:Mo(),borderBoxSize:Mo(),contentBoxSize:Mo(),contentRect:new Dc(0,0,0,0)}),Ec=function(e,t){if(t===void 0&&(t=!1),Is.has(e)&&!t)return Is.get(e);if(Ls(e))return Is.set(e,bm),bm;var r=getComputedStyle(e),n=si(e)&&e.ownerSVGElement&&e.getBBox(),o=!nE&&r.boxSizing==="border-box",a=rE.test(r.writingMode||""),s=!n&&vm.test(r.overflowY||""),u=!n&&vm.test(r.overflowX||""),l=n?0:rr(r.paddingTop),c=n?0:rr(r.paddingRight),d=n?0:rr(r.paddingBottom),h=n?0:rr(r.paddingLeft),m=n?0:rr(r.borderTopWidth),b=n?0:rr(r.borderRightWidth),v=n?0:rr(r.borderBottomWidth),p=n?0:rr(r.borderLeftWidth),C=h+c,y=l+d,E=p+b,B=m+v,A=u?e.offsetHeight-B-e.clientHeight:0,L=s?e.offsetWidth-E-e.clientWidth:0,D=o?C+E:0,T=o?y+B:0,j=n?n.width:rr(r.width)-D-L,I=n?n.height:rr(r.height)-T-A,K=j+C+L+E,X=I+y+A+B,N=Wt({devicePixelContentBoxSize:Mo(Math.round(j*devicePixelRatio),Math.round(I*devicePixelRatio),a),borderBoxSize:Mo(K,X,a),contentBoxSize:Mo(j,I,a),contentRect:new Dc(h,l,j,I)});return Is.set(e,N),N},ks=function(e,t,r){var n=Ec(e,r),o=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case Nn.DEVICE_PIXEL_CONTENT_BOX:return s;case Nn.BORDER_BOX:return o;default:return a}};var wc=function(){function e(t){var r=Ec(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=Wt([r.borderBoxSize]),this.contentBoxSize=Wt([r.contentBoxSize]),this.devicePixelContentBoxSize=Wt([r.devicePixelContentBoxSize])}return e}();i();var Ns=function(e){if(Ls(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t};var Cm=function(){var e=1/0,t=[];Pt.forEach(function(s){if(s.activeTargets.length!==0){var u=[];s.activeTargets.forEach(function(c){var d=new wc(c.target),h=Ns(c.target);u.push(d),c.lastReportedSize=ks(c.target,c.observedBox),h<e&&(e=h)}),t.push(function(){s.callback.call(s.observer,u,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var o=n[r];o()}return e};i();var Sc=function(e){Pt.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(o){o.isActive()&&(Ns(o.target)>e?r.activeTargets.push(o):r.skippedTargets.push(o))})})};var ym=function(){var e=0;for(Sc(e);pm();)e=Cm(),Sc(e);return dm()&&hm(),e>0};i();i();var Tc,Dm=[],oE=function(){return Dm.splice(0).forEach(function(e){return e()})},xm=function(e){if(!Tc){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return oE()}).observe(r,n),Tc=function(){r.textContent="".concat(t?t--:t++)}}Dm.push(e),Tc()};var Em=function(e){xm(function(){requestAnimationFrame(e)})};var $s=0,aE=function(){return!!$s},iE=250,sE={attributes:!0,characterData:!0,childList:!0,subtree:!0},wm=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Sm=function(e){return e===void 0&&(e=0),Date.now()+e},Ac=!1,uE=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=iE),!Ac){Ac=!0;var n=Sm(t);Em(function(){var o=!1;try{o=ym()}finally{if(Ac=!1,t=n-Sm(),!aE())return;o?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,sE)};document.body?r():$n.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),wm.forEach(function(r){return $n.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),wm.forEach(function(r){return $n.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),Zs=new uE,Bc=function(e){!$s&&e>0&&Zs.start(),$s+=e,!$s&&Zs.stop()};i();var lE=function(e){return!si(e)&&!gm(e)&&getComputedStyle(e).display==="inline"},Tm=function(){function e(t,r){this.target=t,this.observedBox=r||Nn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=ks(this.target,this.observedBox,!0);return lE(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}();i();var Am=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}();var Hs=new WeakMap,Bm=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},ui=function(){function e(){}return e.connect=function(t,r){var n=new Am(t,r);Hs.set(t,n)},e.observe=function(t,r,n){var o=Hs.get(t),a=o.observationTargets.length===0;Bm(o.observationTargets,r)<0&&(a&&Pt.push(o),o.observationTargets.push(new Tm(r,n&&n.box)),Bc(1),Zs.schedule())},e.unobserve=function(t,r){var n=Hs.get(t),o=Bm(n.observationTargets,r),a=n.observationTargets.length===1;o>=0&&(a&&Pt.splice(Pt.indexOf(n),1),n.observationTargets.splice(o,1),Bc(-1))},e.disconnect=function(t){var r=this,n=Hs.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}();var Fc=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ui.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!xc(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ui.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!xc(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ui.unobserve(this,t)},e.prototype.disconnect=function(){ui.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();var Ws=z(Rm()),qm=z(require("react-dom"));function qs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mE(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Po(e,t){if(e==null)return{};var r=mE(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Vc=(0,O.createContext)(null),Qr=()=>{var e=(0,O.useContext)(Vc);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},Xm=parseInt(O.default.version.split(".")[0],10),hE=typeof navigator<"u"&&typeof window<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Lm=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),Tt=typeof navigator<"u"&&/Android/.test(navigator.userAgent),Ks=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),ci=typeof navigator<"u"&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),gE=typeof navigator<"u"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),Ym=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent),vE=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),bE=Tt&&typeof navigator<"u"&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),CE=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),yE=typeof navigator<"u"&&/.*UCBrowser/.test(navigator.userAgent),DE=typeof navigator<"u"&&/.*Wechat/.test(navigator.userAgent),Us=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",qr=(!vE||!bE)&&!gE&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",jc=new WeakMap,Wc=new WeakMap,Jm=new WeakMap,_s=new WeakMap,Rc=new WeakMap,pi=new WeakMap,zn=new WeakMap,Lc=new WeakMap,Xs=new WeakMap,Ic=new WeakMap,Zn=new WeakMap,Hn=new WeakMap,fi=new WeakMap,kc=new WeakMap,Uc=new WeakMap,Ut=new WeakMap,Tr=new WeakMap,mt=new WeakMap,Xr=new WeakMap,Yr=new WeakMap,Qm=new WeakMap,Ro=Symbol("placeholder"),e3=Symbol("mark-placeholder"),xE=globalThis.Text,_c=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,EE=e=>Jr(e)&&e.nodeType===8,Rt=e=>Jr(e)&&e.nodeType===1,Jr=e=>{var t=_c(e);return!!t&&e instanceof t.Node},Nc=e=>{var t=e&&e.anchorNode&&_c(e.anchorNode);return!!t&&e instanceof t.Selection},t3=e=>Jr(e)&&e.nodeType===3,wE=e=>e.clipboardData&&e.clipboardData.getData("text/plain")!==""&&e.clipboardData.types.length===1,SE=e=>{var[t,r]=e;if(Rt(t)&&t.childNodes.length){var n=r===t.childNodes.length,o=n?r-1:r;for([t,o]=r3(t,o,n?"backward":"forward"),n=o<r;Rt(t)&&t.childNodes.length;){var a=n?t.childNodes.length-1:0;t=AE(t,a,n?"backward":"forward")}r=n&&t.textContent!=null?t.textContent.length:0}return[t,r]},TE=e=>{for(var t=e&&e.parentNode;t;){if(t.toString()==="[object ShadowRoot]")return!0;t=t.parentNode}return!1},r3=(e,t,r)=>{for(var{childNodes:n}=e,o=n[t],a=t,s=!1,u=!1;(EE(o)||Rt(o)&&o.childNodes.length===0||Rt(o)&&o.getAttribute("contenteditable")==="false")&&!(s&&u);){if(a>=n.length){s=!0,a=t-1,r="backward";continue}if(a<0){u=!0,a=t+1,r="forward";continue}o=n[a],t=a,a+=r==="forward"?1:-1}return[o,t]},AE=(e,t,r)=>{var[n]=r3(e,t,r);return n},n3=e=>{var t="";if(t3(e)&&e.nodeValue)return e.nodeValue;if(Rt(e)){for(var r of Array.from(e.childNodes))t+=n3(r);var n=getComputedStyle(e).getPropertyValue("display");(n==="block"||n==="list"||e.tagName==="BR")&&(t+=`
|
|
11
|
-
`)}return t},
|
|
10
|
+
"use strict";var ab=Object.create;var b1=Object.defineProperty;var ib=Object.getOwnPropertyDescriptor;var sb=Object.getOwnPropertyNames;var ub=Object.getPrototypeOf,lb=Object.prototype.hasOwnProperty;var cb=(e,t)=>()=>(e&&(t=e(e=0)),t);var xe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wo=(e,t)=>{for(var r in t)b1(e,r,{get:t[r],enumerable:!0})},Md=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of sb(t))!lb.call(e,o)&&o!==r&&b1(e,o,{get:()=>t[o],enumerable:!(n=ib(t,o))||n.enumerable});return e};var z=(e,t,r)=>(r=e!=null?ab(ub(e)):{},Md(t||!e||!e.__esModule?b1(r,"default",{value:e,enumerable:!0}):r,e)),fb=e=>Md(b1({},"__esModule",{value:!0}),e);var f,i=cb(()=>{"use strict";f=z(require("react"))});var Zd=xe((oZ,$d)=>{"use strict";i();$d.exports=$b;var kd="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",Nd="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",kb=new RegExp("^[^"+Nd+"]*["+kd+"]"),Nb=new RegExp("^[^"+kd+"]*["+Nd+"]");function $b(e){return e=String(e||""),kb.test(e)?"rtl":Nb.test(e)?"ltr":"neutral"}});var w1=xe((iZ,Hd)=>{i();function Zb(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Hd.exports=Zb});var Vd=xe((uZ,zd)=>{i();var Hb=typeof window=="object"&&window&&window.Object===Object&&window;zd.exports=Hb});var Kl=xe((cZ,jd)=>{i();var zb=Vd(),Vb=typeof self=="object"&&self&&self.Object===Object&&self,jb=zb||Vb||Function("return this")();jd.exports=jb});var Ud=xe((pZ,Wd)=>{i();var Wb=Kl(),Ub=function(){return Wb.Date.now()};Wd.exports=Ub});var Kd=xe((mZ,_d)=>{i();var _b=/\s/;function Kb(e){for(var t=e.length;t--&&_b.test(e.charAt(t)););return t}_d.exports=Kb});var qd=xe((gZ,Gd)=>{i();var Gb=Kd(),qb=/^\s+/;function Xb(e){return e&&e.slice(0,Gb(e)+1).replace(qb,"")}Gd.exports=Xb});var Gl=xe((CZ,Xd)=>{i();var Yb=Kl(),Jb=Yb.Symbol;Xd.exports=Jb});var e5=xe((yZ,Qd)=>{i();var Yd=Gl(),Jd=Object.prototype,Qb=Jd.hasOwnProperty,ey=Jd.toString,ti=Yd?Yd.toStringTag:void 0;function ty(e){var t=Qb.call(e,ti),r=e[ti];try{e[ti]=void 0;var n=!0}catch{}var o=ey.call(e);return n&&(t?e[ti]=r:delete e[ti]),o}Qd.exports=ty});var r5=xe((xZ,t5)=>{i();var ry=Object.prototype,ny=ry.toString;function oy(e){return ny.call(e)}t5.exports=oy});var i5=xe((wZ,a5)=>{i();var n5=Gl(),ay=e5(),iy=r5(),sy="[object Null]",uy="[object Undefined]",o5=n5?n5.toStringTag:void 0;function ly(e){return e==null?e===void 0?uy:sy:o5&&o5 in Object(e)?ay(e):iy(e)}a5.exports=ly});var u5=xe((TZ,s5)=>{i();function cy(e){return e!=null&&typeof e=="object"}s5.exports=cy});var c5=xe((BZ,l5)=>{i();var fy=i5(),py=u5(),dy="[object Symbol]";function my(e){return typeof e=="symbol"||py(e)&&fy(e)==dy}l5.exports=my});var m5=xe((MZ,d5)=>{i();var hy=qd(),f5=w1(),gy=c5(),p5=0/0,vy=/^[-+]0x[0-9a-f]+$/i,Cy=/^0b[01]+$/i,by=/^0o[0-7]+$/i,yy=parseInt;function Dy(e){if(typeof e=="number")return e;if(gy(e))return p5;if(f5(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=f5(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=hy(e);var r=Cy.test(e);return r||by.test(e)?yy(e.slice(2),r?2:8):vy.test(e)?p5:+e}d5.exports=Dy});var Xl=xe((PZ,g5)=>{i();var xy=w1(),ql=Ud(),h5=m5(),Ey="Expected a function",wy=Math.max,Sy=Math.min;function Ty(e,t,r){var n,o,a,s,u,l,c=0,d=!1,h=!1,m=!0;if(typeof e!="function")throw new TypeError(Ey);t=h5(t)||0,xy(r)&&(d=!!r.leading,h="maxWait"in r,a=h?wy(h5(r.maxWait)||0,t):a,m="trailing"in r?!!r.trailing:m);function C(D){var T=n,V=o;return n=o=void 0,c=D,s=e.apply(V,T),s}function v(D){return c=D,u=setTimeout(y,t),d?C(D):s}function p(D){var T=D-l,V=D-c,L=t-T;return h?Sy(L,a-V):L}function b(D){var T=D-l,V=D-c;return l===void 0||T>=t||T<0||h&&V>=a}function y(){var D=ql();if(b(D))return E(D);u=setTimeout(y,p(D))}function E(D){return u=void 0,m&&n?C(D):(n=o=void 0,s)}function B(){u!==void 0&&clearTimeout(u),c=0,n=l=o=u=void 0}function A(){return u===void 0?s:E(ql())}function I(){var D=ql(),T=b(D);if(n=arguments,o=this,l=D,T){if(u===void 0)return v(l);if(h)return clearTimeout(u),u=setTimeout(y,t),C(l)}return u===void 0&&(u=setTimeout(y,t)),s}return I.cancel=B,I.flush=A,I}g5.exports=Ty});var C5=xe((IZ,v5)=>{i();var Ay=Xl(),By=w1(),Fy="Expected a function";function My(e,t,r){var n=!0,o=!0;if(typeof e!="function")throw new TypeError(Fy);return By(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Ay(e,t,{leading:n,maxWait:t,trailing:o})}v5.exports=My});var Lm=xe(nr=>{"use strict";i();Object.defineProperty(nr,"__esModule",{value:!0});var mE=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),Mc={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},hE={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:mE?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},Om={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(li=1;li<20;li++)Om["f"+li]=111+li;var li;function z1(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return Pm(s,t)}),o=function(u){return n.some(function(l){return Rm(l,u)})},a=r==null?o:o(r);return a}function gE(e,t){return z1(e,t)}function vE(e,t){return z1(e,{byKey:!0},t)}function Pm(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in Mc)n[Mc[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var d=o[Symbol.iterator](),h;!(u=(h=d.next()).done);u=!0){var m=h.value,C=m.endsWith("?")&&m.length>1;C&&(m=m.slice(0,-1));var v=Oc(m),p=Mc[v];(a===1||!p)&&(r?n.key=v:n.which=Im(m)),p&&(n[p]=C?null:!0)}}catch(b){l=!0,c=b}finally{try{!u&&d.return&&d.return()}finally{if(l)throw c}}return n}function Rm(e,t){for(var r in e){var n=e[r],o=void 0;if(n!=null&&(r==="key"&&t.key!=null?o=t.key.toLowerCase():r==="which"?o=n===91&&t.which===93?91:t.which:o=t[r],!(o==null&&n===!1)&&o!==n))return!1}return!0}function Im(e){e=Oc(e);var t=Om[e]||e.toUpperCase().charCodeAt(0);return t}function Oc(e){return e=e.toLowerCase(),e=hE[e]||e,e}nr.default=z1;nr.isHotkey=z1;nr.isCodeHotkey=gE;nr.isKeyHotkey=vE;nr.parseHotkey=Pm;nr.compareHotkey=Rm;nr.toKeyCode=Im;nr.toKeyName=Oc});var T3=xe(or=>{"use strict";i();Object.defineProperty(or,"__esModule",{value:!0});var Nw=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),Xc={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},x3={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:Nw?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},Yc={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(mi=1;mi<20;mi++)Yc["f"+mi]=111+mi;var mi;function J1(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return E3(s,t)}),o=function(u){return n.some(function(l){return w3(l,u)})},a=r==null?o:o(r);return a}function $w(e,t){return J1(e,t)}function Zw(e,t){return J1(e,{byKey:!0},t)}function E3(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in Xc)n[Xc[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var d=o[Symbol.iterator](),h;!(u=(h=d.next()).done);u=!0){var m=h.value,C=m.endsWith("?")&&m.length>1;C&&(m=m.slice(0,-1));var v=Jc(m),p=Xc[v];if(m.length>1&&!p&&!x3[m]&&!Yc[v])throw new TypeError('Unknown modifier: "'+m+'"');(a===1||!p)&&(r?n.key=v:n.which=S3(m)),p&&(n[p]=C?null:!0)}}catch(b){l=!0,c=b}finally{try{!u&&d.return&&d.return()}finally{if(l)throw c}}return n}function w3(e,t){for(var r in e){var n=e[r],o=void 0;if(n!=null&&(r==="key"&&t.key!=null?o=t.key.toLowerCase():r==="which"?o=n===91&&t.which===93?91:t.which:o=t[r],!(o==null&&n===!1)&&o!==n))return!1}return!0}function S3(e){e=Jc(e);var t=Yc[e]||e.toUpperCase().charCodeAt(0);return t}function Jc(e){return e=e.toLowerCase(),e=x3[e]||e,e}or.default=J1;or.isHotkey=J1;or.isCodeHotkey=$w;or.isKeyHotkey=Zw;or.parseHotkey=E3;or.compareHotkey=w3;or.toKeyCode=S3;or.toKeyName=Jc});var I3=xe((Xz,R3)=>{"use strict";i();var tS=/["'&<>]/;R3.exports=rS;function rS(e){var t=""+e,r=tS.exec(t);if(!r)return t;var n,o="",a=0,s=0;for(a=r.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;default:continue}s!==a&&(o+=t.substring(s,a)),s=a+1,o+=n}return s!==a?o+t.substring(s,a):o}});var _4=xe((YU,H0)=>{i();var U4=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);U4?($0=new Uint8Array(16),H0.exports=function(){return U4($0),$0}):(Z0=new Array(16),H0.exports=function(){for(var t=0,r;t<16;t++)t&3||(r=Math.random()*4294967296),Z0[t]=r>>>((t&3)<<3)&255;return Z0});var $0,Z0});var q4=xe((QU,G4)=>{i();var K4=[];for(Ai=0;Ai<256;++Ai)K4[Ai]=(Ai+256).toString(16).substr(1);var Ai;function eA(e,t){var r=t||0,n=K4;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join("")}G4.exports=eA});var Y4=xe((t_,X4)=>{i();var tA=_4(),rA=q4();function nA(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e==="binary"?new Array(16):null,e=null),e=e||{};var o=e.random||(e.rng||tA)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t)for(var a=0;a<16;++a)t[n+a]=o[a];return t||rA(o)}X4.exports=nA});var a7=xe((C_,o7)=>{i();o7.exports={breakpoint:{xs:"0em",sm:"37.5em",md:"56.5625em",lg:"77.5em",xl:"90em"},color:{brandBlue100:"#e2effd",brandBlue200:"#bed8fb",brandBlue300:"#87abff",brandBlue400:"#5387fa",brandBlue500:"#1e64f0",brandBlue600:"#174bd2",brandBlue700:"#0f33a6",brandBlue800:"#09217d",purple100:"#f5f3ff",purple200:"#e6dffe",purple300:"#cfbfff",purple400:"#b89fff",purple500:"#a07eff",purple600:"#815fe0",purple700:"#6446af",purple800:"#462d8c",green100:"#e6f9f3",green200:"#bfefe0",green300:"#81e0c1",green400:"#41d0a3",green500:"#00c185",green600:"#00966e",green700:"#047063",green800:"#025050",blue100:"#e9f5ff",blue200:"#c7e7ff",blue300:"#91ceff",blue400:"#58b7fe",blue500:"#229fff",blue600:"#1b7fde",blue700:"#165fac",blue800:"#0d407a",pink100:"#ffedf5",pink200:"#ffd2e6",pink300:"#ffa2cb",pink400:"#ff74b4",pink500:"#fa50a0",pink600:"#d63180",pink700:"#aa1460",pink800:"#7d084d",red100:"#ffecec",red200:"#ffcaca",red300:"#ff9a9a",red400:"#ff6962",red500:"#fa4040",red600:"#d63727",red700:"#aa0d15",red800:"#860011",yellow100:"#fff8e6",yellow200:"#ffefc8",yellow300:"#ffdf96",yellow400:"#ffce5a",yellow500:"#fabe1f",yellow600:"#dc9601",yellow700:"#be7200",yellow800:"#b45101",grey100:"#f8f8f9",grey200:"#ebebed",grey300:"#dedee1",grey400:"#c4c4c8",grey500:"#a3a3aa",grey600:"#7b7b87",grey700:"#62626c",grey800:"#4a4a51",grey900:"#37373c",grey1000:"#1f1f22",grey1100:"#0b0d0e"},duration:{productive:{fast:"70ms",moderate:"110ms",slow:"150ms"},expressive:{fast:"240ms",moderate:"400ms",slow:"700ms"}},easing:{standard:{productive:"cubic-bezier(0.2, 0, 0.38, 0.9)",expressive:"cubic-bezier(0.4, 0.14, 0.3, 1)"},entrance:{productive:"cubic-bezier(0, 0, 0.38, 0.9)",expressive:"cubic-bezier(0, 0, 0.3, 1)"},exit:{productive:"cubic-bezier(0.2, 0, 1, 0.9)",expressive:"cubic-bezier(0.4, 0.14, 1, 1)"}},font:{family:{default:"Inter, Helvetica, Arial, sans-serif",monospace:'"IBM Plex Mono", Consolas, Monaco, monospace'},weight:{thin:100,extraLight:200,light:300,regular:400,medium:500,semiBold:600,bold:700,extraBold:800},size:{default:"16px",small:"14px"}},shadow:{elevation1:"0 2px 4px rgba(0, 0, 0, 0.1)",elevation2:"0 0 64px 0 rgba(0, 0, 0, 0.08)"},spacing:{space01:"4px",space02:"8px",space03:"12px",space04:"16px",space05:"24px",space06:"32px",space07:"48px",space08:"64px",space09:"80px",space10:"96px",space11:"120px"}}});var s7=xe((y_,i7)=>{i();var uA=a7();i7.exports={designTokens:uA}});var P6=xe((qte,O6)=>{"use strict";i();var F6=Array.isArray,M6=Object.keys,fB=Object.prototype.hasOwnProperty,pB=typeof Element<"u";function Uf(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=F6(e),n=F6(t),o,a,s;if(r&&n){if(a=e.length,a!=t.length)return!1;for(o=a;o--!==0;)if(!Uf(e[o],t[o]))return!1;return!0}if(r!=n)return!1;var u=e instanceof Date,l=t instanceof Date;if(u!=l)return!1;if(u&&l)return e.getTime()==t.getTime();var c=e instanceof RegExp,d=t instanceof RegExp;if(c!=d)return!1;if(c&&d)return e.toString()==t.toString();var h=M6(e);if(a=h.length,a!==M6(t).length)return!1;for(o=a;o--!==0;)if(!fB.call(t,h[o]))return!1;if(pB&&e instanceof Element&&t instanceof Element)return e===t;for(o=a;o--!==0;)if(s=h[o],!(s==="_owner"&&e.$$typeof)&&!Uf(e[s],t[s]))return!1;return!0}return e!==e&&t!==t}O6.exports=function(t,r){try{return Uf(t,r)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||n.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}});var vh=xe(Ee=>{"use strict";i();var Ke=typeof Symbol=="function"&&Symbol.for,ep=Ke?Symbol.for("react.element"):60103,tp=Ke?Symbol.for("react.portal"):60106,Gs=Ke?Symbol.for("react.fragment"):60107,qs=Ke?Symbol.for("react.strict_mode"):60108,Xs=Ke?Symbol.for("react.profiler"):60114,Ys=Ke?Symbol.for("react.provider"):60109,Js=Ke?Symbol.for("react.context"):60110,rp=Ke?Symbol.for("react.async_mode"):60111,Qs=Ke?Symbol.for("react.concurrent_mode"):60111,eu=Ke?Symbol.for("react.forward_ref"):60112,tu=Ke?Symbol.for("react.suspense"):60113,OP=Ke?Symbol.for("react.suspense_list"):60120,ru=Ke?Symbol.for("react.memo"):60115,nu=Ke?Symbol.for("react.lazy"):60116,PP=Ke?Symbol.for("react.block"):60121,RP=Ke?Symbol.for("react.fundamental"):60117,IP=Ke?Symbol.for("react.responder"):60118,LP=Ke?Symbol.for("react.scope"):60119;function Bt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ep:switch(e=e.type,e){case rp:case Qs:case Gs:case Xs:case qs:case tu:return e;default:switch(e=e&&e.$$typeof,e){case Js:case eu:case nu:case ru:case Ys:return e;default:return t}}case tp:return t}}}function gh(e){return Bt(e)===Qs}Ee.AsyncMode=rp;Ee.ConcurrentMode=Qs;Ee.ContextConsumer=Js;Ee.ContextProvider=Ys;Ee.Element=ep;Ee.ForwardRef=eu;Ee.Fragment=Gs;Ee.Lazy=nu;Ee.Memo=ru;Ee.Portal=tp;Ee.Profiler=Xs;Ee.StrictMode=qs;Ee.Suspense=tu;Ee.isAsyncMode=function(e){return gh(e)||Bt(e)===rp};Ee.isConcurrentMode=gh;Ee.isContextConsumer=function(e){return Bt(e)===Js};Ee.isContextProvider=function(e){return Bt(e)===Ys};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ep};Ee.isForwardRef=function(e){return Bt(e)===eu};Ee.isFragment=function(e){return Bt(e)===Gs};Ee.isLazy=function(e){return Bt(e)===nu};Ee.isMemo=function(e){return Bt(e)===ru};Ee.isPortal=function(e){return Bt(e)===tp};Ee.isProfiler=function(e){return Bt(e)===Xs};Ee.isStrictMode=function(e){return Bt(e)===qs};Ee.isSuspense=function(e){return Bt(e)===tu};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Gs||e===Qs||e===Xs||e===qs||e===tu||e===OP||typeof e=="object"&&e!==null&&(e.$$typeof===nu||e.$$typeof===ru||e.$$typeof===Ys||e.$$typeof===Js||e.$$typeof===eu||e.$$typeof===RP||e.$$typeof===IP||e.$$typeof===LP||e.$$typeof===PP)};Ee.typeOf=Bt});var bh=xe((kue,Ch)=>{"use strict";i();Ch.exports=vh()});var Th=xe(($ue,Sh)=>{"use strict";i();var np=bh(),kP={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},NP={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},$P={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Eh={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},op={};op[np.ForwardRef]=$P;op[np.Memo]=Eh;function yh(e){return np.isMemo(e)?Eh:op[e.$$typeof]||kP}var ZP=Object.defineProperty,HP=Object.getOwnPropertyNames,Dh=Object.getOwnPropertySymbols,zP=Object.getOwnPropertyDescriptor,VP=Object.getPrototypeOf,xh=Object.prototype;function wh(e,t,r){if(typeof t!="string"){if(xh){var n=VP(t);n&&n!==xh&&wh(e,n,r)}var o=HP(t);Dh&&(o=o.concat(Dh(t)));for(var a=yh(e),s=yh(t),u=0;u<o.length;++u){var l=o[u];if(!NP[l]&&!(r&&r[l])&&!(s&&s[l])&&!(a&&a[l])){var c=zP(t,l);try{ZP(e,l,c)}catch{}}}}return e}Sh.exports=wh});var Dp=xe((Yi,ma)=>{i();var uR=200,yp="__lodash_hash_undefined__",du=1,_h=2,Kh=9007199254740991,iu="[object Arguments]",dp="[object Array]",lR="[object AsyncFunction]",Gh="[object Boolean]",qh="[object Date]",Xh="[object Error]",Yh="[object Function]",cR="[object GeneratorFunction]",su="[object Map]",Jh="[object Number]",fR="[object Null]",da="[object Object]",Lh="[object Promise]",pR="[object Proxy]",Qh="[object RegExp]",uu="[object Set]",eg="[object String]",dR="[object Symbol]",mR="[object Undefined]",mp="[object WeakMap]",tg="[object ArrayBuffer]",lu="[object DataView]",hR="[object Float32Array]",gR="[object Float64Array]",vR="[object Int8Array]",CR="[object Int16Array]",bR="[object Int32Array]",yR="[object Uint8Array]",DR="[object Uint8ClampedArray]",xR="[object Uint16Array]",ER="[object Uint32Array]",wR=/[\\^$.*+?()[\]{}|]/g,SR=/^\[object .+?Constructor\]$/,TR=/^(?:0|[1-9]\d*)$/,Me={};Me[hR]=Me[gR]=Me[vR]=Me[CR]=Me[bR]=Me[yR]=Me[DR]=Me[xR]=Me[ER]=!0;Me[iu]=Me[dp]=Me[tg]=Me[Gh]=Me[lu]=Me[qh]=Me[Xh]=Me[Yh]=Me[su]=Me[Jh]=Me[da]=Me[Qh]=Me[uu]=Me[eg]=Me[mp]=!1;var rg=typeof window=="object"&&window&&window.Object===Object&&window,AR=typeof self=="object"&&self&&self.Object===Object&&self,Lr=rg||AR||Function("return this")(),ng=typeof Yi=="object"&&Yi&&!Yi.nodeType&&Yi,kh=ng&&typeof ma=="object"&&ma&&!ma.nodeType&&ma,og=kh&&kh.exports===ng,cp=og&&rg.process,Nh=function(){try{return cp&&cp.binding&&cp.binding("util")}catch{}}(),$h=Nh&&Nh.isTypedArray;function BR(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[o++]=s)}return a}function FR(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function MR(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function OR(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function PR(e){return function(t){return e(t)}}function RR(e,t){return e.has(t)}function IR(e,t){return e?.[t]}function LR(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}function kR(e,t){return function(r){return e(t(r))}}function NR(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var $R=Array.prototype,ZR=Function.prototype,mu=Object.prototype,fp=Lr["__core-js_shared__"],ag=ZR.toString,dr=mu.hasOwnProperty,Zh=function(){var e=/[^.]+$/.exec(fp&&fp.keys&&fp.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ig=mu.toString,HR=RegExp("^"+ag.call(dr).replace(wR,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Hh=og?Lr.Buffer:void 0,cu=Lr.Symbol,zh=Lr.Uint8Array,sg=mu.propertyIsEnumerable,zR=$R.splice,uo=cu?cu.toStringTag:void 0,Vh=Object.getOwnPropertySymbols,VR=Hh?Hh.isBuffer:void 0,jR=kR(Object.keys,Object),hp=ha(Lr,"DataView"),Ji=ha(Lr,"Map"),gp=ha(Lr,"Promise"),vp=ha(Lr,"Set"),Cp=ha(Lr,"WeakMap"),Qi=ha(Object,"create"),WR=fo(hp),UR=fo(Ji),_R=fo(gp),KR=fo(vp),GR=fo(Cp),jh=cu?cu.prototype:void 0,pp=jh?jh.valueOf:void 0;function lo(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function qR(){this.__data__=Qi?Qi(null):{},this.size=0}function XR(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function YR(e){var t=this.__data__;if(Qi){var r=t[e];return r===yp?void 0:r}return dr.call(t,e)?t[e]:void 0}function JR(e){var t=this.__data__;return Qi?t[e]!==void 0:dr.call(t,e)}function QR(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Qi&&t===void 0?yp:t,this}lo.prototype.clear=qR;lo.prototype.delete=XR;lo.prototype.get=YR;lo.prototype.has=JR;lo.prototype.set=QR;function kr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eI(){this.__data__=[],this.size=0}function tI(e){var t=this.__data__,r=hu(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():zR.call(t,r,1),--this.size,!0}function rI(e){var t=this.__data__,r=hu(t,e);return r<0?void 0:t[r][1]}function nI(e){return hu(this.__data__,e)>-1}function oI(e,t){var r=this.__data__,n=hu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}kr.prototype.clear=eI;kr.prototype.delete=tI;kr.prototype.get=rI;kr.prototype.has=nI;kr.prototype.set=oI;function co(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function aI(){this.size=0,this.__data__={hash:new lo,map:new(Ji||kr),string:new lo}}function iI(e){var t=gu(this,e).delete(e);return this.size-=t?1:0,t}function sI(e){return gu(this,e).get(e)}function uI(e){return gu(this,e).has(e)}function lI(e,t){var r=gu(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}co.prototype.clear=aI;co.prototype.delete=iI;co.prototype.get=sI;co.prototype.has=uI;co.prototype.set=lI;function fu(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new co;++t<r;)this.add(e[t])}function cI(e){return this.__data__.set(e,yp),this}function fI(e){return this.__data__.has(e)}fu.prototype.add=fu.prototype.push=cI;fu.prototype.has=fI;function yn(e){var t=this.__data__=new kr(e);this.size=t.size}function pI(){this.__data__=new kr,this.size=0}function dI(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function mI(e){return this.__data__.get(e)}function hI(e){return this.__data__.has(e)}function gI(e,t){var r=this.__data__;if(r instanceof kr){var n=r.__data__;if(!Ji||n.length<uR-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new co(n)}return r.set(e,t),this.size=r.size,this}yn.prototype.clear=pI;yn.prototype.delete=dI;yn.prototype.get=mI;yn.prototype.has=hI;yn.prototype.set=gI;function vI(e,t){var r=pu(e),n=!r&&PI(e),o=!r&&!n&&bp(e),a=!r&&!n&&!o&&mg(e),s=r||n||o||a,u=s?OR(e.length,String):[],l=u.length;for(var c in e)(t||dr.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||AI(c,l)))&&u.push(c);return u}function hu(e,t){for(var r=e.length;r--;)if(cg(e[r][0],t))return r;return-1}function CI(e,t,r){var n=t(e);return pu(e)?n:FR(n,r(e))}function t1(e){return e==null?e===void 0?mR:fR:uo&&uo in Object(e)?SI(e):OI(e)}function Wh(e){return e1(e)&&t1(e)==iu}function ug(e,t,r,n,o){return e===t?!0:e==null||t==null||!e1(e)&&!e1(t)?e!==e&&t!==t:bI(e,t,r,n,ug,o)}function bI(e,t,r,n,o,a){var s=pu(e),u=pu(t),l=s?dp:bn(e),c=u?dp:bn(t);l=l==iu?da:l,c=c==iu?da:c;var d=l==da,h=c==da,m=l==c;if(m&&bp(e)){if(!bp(t))return!1;s=!0,d=!1}if(m&&!d)return a||(a=new yn),s||mg(e)?lg(e,t,r,n,o,a):EI(e,t,l,r,n,o,a);if(!(r&du)){var C=d&&dr.call(e,"__wrapped__"),v=h&&dr.call(t,"__wrapped__");if(C||v){var p=C?e.value():e,b=v?t.value():t;return a||(a=new yn),o(p,b,r,n,a)}}return m?(a||(a=new yn),wI(e,t,r,n,o,a)):!1}function yI(e){if(!dg(e)||FI(e))return!1;var t=fg(e)?HR:SR;return t.test(fo(e))}function DI(e){return e1(e)&&pg(e.length)&&!!Me[t1(e)]}function xI(e){if(!MI(e))return jR(e);var t=[];for(var r in Object(e))dr.call(e,r)&&r!="constructor"&&t.push(r);return t}function lg(e,t,r,n,o,a){var s=r&du,u=e.length,l=t.length;if(u!=l&&!(s&&l>u))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var d=-1,h=!0,m=r&_h?new fu:void 0;for(a.set(e,t),a.set(t,e);++d<u;){var C=e[d],v=t[d];if(n)var p=s?n(v,C,d,t,e,a):n(C,v,d,e,t,a);if(p!==void 0){if(p)continue;h=!1;break}if(m){if(!MR(t,function(b,y){if(!RR(m,y)&&(C===b||o(C,b,r,n,a)))return m.push(y)})){h=!1;break}}else if(!(C===v||o(C,v,r,n,a))){h=!1;break}}return a.delete(e),a.delete(t),h}function EI(e,t,r,n,o,a,s){switch(r){case lu:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case tg:return!(e.byteLength!=t.byteLength||!a(new zh(e),new zh(t)));case Gh:case qh:case Jh:return cg(+e,+t);case Xh:return e.name==t.name&&e.message==t.message;case Qh:case eg:return e==t+"";case su:var u=LR;case uu:var l=n&du;if(u||(u=NR),e.size!=t.size&&!l)return!1;var c=s.get(e);if(c)return c==t;n|=_h,s.set(e,t);var d=lg(u(e),u(t),n,o,a,s);return s.delete(e),d;case dR:if(pp)return pp.call(e)==pp.call(t)}return!1}function wI(e,t,r,n,o,a){var s=r&du,u=Uh(e),l=u.length,c=Uh(t),d=c.length;if(l!=d&&!s)return!1;for(var h=l;h--;){var m=u[h];if(!(s?m in t:dr.call(t,m)))return!1}var C=a.get(e);if(C&&a.get(t))return C==t;var v=!0;a.set(e,t),a.set(t,e);for(var p=s;++h<l;){m=u[h];var b=e[m],y=t[m];if(n)var E=s?n(y,b,m,t,e,a):n(b,y,m,e,t,a);if(!(E===void 0?b===y||o(b,y,r,n,a):E)){v=!1;break}p||(p=m=="constructor")}if(v&&!p){var B=e.constructor,A=t.constructor;B!=A&&"constructor"in e&&"constructor"in t&&!(typeof B=="function"&&B instanceof B&&typeof A=="function"&&A instanceof A)&&(v=!1)}return a.delete(e),a.delete(t),v}function Uh(e){return CI(e,LI,TI)}function gu(e,t){var r=e.__data__;return BI(t)?r[typeof t=="string"?"string":"hash"]:r.map}function ha(e,t){var r=IR(e,t);return yI(r)?r:void 0}function SI(e){var t=dr.call(e,uo),r=e[uo];try{e[uo]=void 0;var n=!0}catch{}var o=ig.call(e);return n&&(t?e[uo]=r:delete e[uo]),o}var TI=Vh?function(e){return e==null?[]:(e=Object(e),BR(Vh(e),function(t){return sg.call(e,t)}))}:kI,bn=t1;(hp&&bn(new hp(new ArrayBuffer(1)))!=lu||Ji&&bn(new Ji)!=su||gp&&bn(gp.resolve())!=Lh||vp&&bn(new vp)!=uu||Cp&&bn(new Cp)!=mp)&&(bn=function(e){var t=t1(e),r=t==da?e.constructor:void 0,n=r?fo(r):"";if(n)switch(n){case WR:return lu;case UR:return su;case _R:return Lh;case KR:return uu;case GR:return mp}return t});function AI(e,t){return t=t??Kh,!!t&&(typeof e=="number"||TR.test(e))&&e>-1&&e%1==0&&e<t}function BI(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function FI(e){return!!Zh&&Zh in e}function MI(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||mu;return e===r}function OI(e){return ig.call(e)}function fo(e){if(e!=null){try{return ag.call(e)}catch{}try{return e+""}catch{}}return""}function cg(e,t){return e===t||e!==e&&t!==t}var PI=Wh(function(){return arguments}())?Wh:function(e){return e1(e)&&dr.call(e,"callee")&&!sg.call(e,"callee")},pu=Array.isArray;function RI(e){return e!=null&&pg(e.length)&&!fg(e)}var bp=VR||NI;function II(e,t){return ug(e,t)}function fg(e){if(!dg(e))return!1;var t=t1(e);return t==Yh||t==cR||t==lR||t==pR}function pg(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Kh}function dg(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function e1(e){return e!=null&&typeof e=="object"}var mg=$h?PR($h):DI;function LI(e){return RI(e)?vI(e):xI(e)}function kI(){return[]}function NI(){return!1}ma.exports=II});var F$={};wo(F$,{ActionModal:()=>bu,Backdrop:()=>$t,BackgroundImage:()=>yu,Banner:()=>po,Box:()=>wu,Breakline:()=>Su,Button:()=>Ve,ButtonGroup:()=>hr,ButtonLink:()=>Fu,Checkbox:()=>Da,CheckboxGroup:()=>Ta,ClickArea:()=>Bd,CloseButton:()=>Nu,CollapsibleGroup:()=>Zu,Divider:()=>Aa,Ellipsis:()=>Cu,FileSelect:()=>Hu,Form:()=>Vu,FormButtons:()=>Wu,FormField:()=>ol,FormFieldError:()=>Ea,FormGlobalError:()=>Fa,FullScreenModal:()=>al,Icon:()=>Ie,IconButton:()=>sr,Image:()=>il,Input:()=>Tn,KeyboardShortcut:()=>Ad,Label:()=>xa,LabelDescription:()=>wa,Link:()=>ba,LinkButton:()=>sl,List:()=>Na,ListItem:()=>An,MediaObject:()=>cl,MenuButton:()=>pl,Modal:()=>KC,ModalBase:()=>xn,ModalBody:()=>qC,ModalCloseButton:()=>YC,ModalFooter:()=>XC,ModalHeader:()=>GC,Paper:()=>_p,ProgressBar:()=>dl,Radio:()=>Ra,RadioGroup:()=>Ia,RangeSelector:()=>Bl,RangeSelectorCalendar:()=>Wa,RangeSelectorInput:()=>Ka,RichTextEditor:()=>Uo,ScreenReaderOnly:()=>zo,Select:()=>zr,Slider:()=>gd,Switch:()=>Ol,Text:()=>En,Toast:()=>Yo,Tooltip:()=>Wo,Truncate:()=>jo,VHSProvider:()=>m6,WistiaLogo:()=>Pl,copyToClipboard:()=>_o,datetimeHelpers:()=>Vl,ellipsisFlexParentStyle:()=>Ep,ellipsisStyle:()=>Nt,mq:()=>Re,objectHelpers:()=>_l,rteDeserializeHTML:()=>$o,rteFormatTypes:()=>ze,rteSerializeToHTML:()=>en,screenReaderOnlyStyle:()=>Un,stringHelpers:()=>Wl,useBoolean:()=>$i,useClipboard:()=>Hf,useElementObserver:()=>Zi,useEvent:()=>Hi,useForceUpdate:()=>zf,useFormikContext:()=>Ir,useIsHovered:()=>v6,useKey:()=>Qo,useKeyPress:()=>zi,useKeyPressOnce:()=>Vi,useLocalStorage:()=>jf,useMergedRefs:()=>eo,useMq:()=>Ui,useOnClickOutside:()=>to,usePreviousValue:()=>ro,useTheme:()=>Kt,useThemeColor:()=>ke,useToast:()=>no,useWindowSize:()=>Wi});module.exports=fb(F$);i();var Vl={};wo(Vl,{buildTimeDuration:()=>x1,dateOnlyISOString:()=>vb,dateOnlyString:()=>hb,dateOnlyStringForSentence:()=>xb,dateOnlyStringNumeric:()=>gb,dateTimeRounded:()=>Ab,dateTimeString:()=>Hl,dateTimeStringForSentence:()=>Db,dateTimeToDate:()=>zl,dateTimeToISO:()=>Id,dateToDateTime:()=>Rd,dateUTCOffset:()=>wb,dayOfWeekString:()=>bb,isDate:()=>er,mediaDurationString:()=>Sb,millisecondsToDurationISOString:()=>Bb,monthDayStringNumeric:()=>Cb,sessionDurationString:()=>Tb,timeAgoString:()=>Eb,timeOnlyString:()=>yb});i();i();var pb=e=>e===null;var rt=e=>e===void 0,ee=e=>!rt(e),se=e=>pb(e)||rt(e),M=e=>!se(e),dt=e=>typeof e=="string",db=e=>dt(e)&&e==="",pe=e=>dt(e)&&!db(e);var So=e=>M(e)&&typeof e=="object"&&e instanceof Array;var $l=e=>M(e)&&typeof e=="function",y1=e=>M(e)&&typeof e=="boolean";i();i();function D1(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}i();i();i();function Rn(e){"@babel/helpers - typeof";return Rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rn(e)}i();function oe(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function ne(e){oe(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Rn(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ft(e){oe(1,arguments);var t=ne(e);return t.setHours(0,0,0,0),t}var mb=864e5;function Ja(e,t){oe(2,arguments);var r=Ft(e),n=Ft(t),o=r.getTime()-D1(r),a=n.getTime()-D1(n);return Math.round((o-a)/mb)}var Pd=1e3,Zl=60,ei=60,Od=30,Mt=["en-US"],Dr=Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC",Qa=e=>e.toString().padStart(2,"0"),er=e=>e instanceof Date,xr=e=>!er(e)||e.getTime()===0,hb=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{return new Intl.DateTimeFormat(Mt,{dateStyle:"medium",timeZone:t}).format(e)}catch(r){return console.error(r),""}},gb=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{return new Intl.DateTimeFormat(Mt,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},vb=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{let o=new Intl.DateTimeFormat(Mt,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).formatToParts(e).reduce((a,s)=>(a[s.type]=s.value,a),{});return`${o.year}-${o.month}-${o.day}`}catch(r){return console.error(r),""}},Cb=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{return new Intl.DateTimeFormat(Mt,{month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},bb=(e,{timeZone:t=Dr}={})=>{if(e===null)return"";try{return new Intl.DateTimeFormat(Mt,{weekday:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},yb=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{return new Intl.DateTimeFormat(Mt,{timeStyle:"short",timeZone:t}).format(e)}catch(r){return console.error(r),""}},Hl=(e,{timeZone:t=Dr}={})=>{if(se(e))return"";let r=new Date(e);if(xr(r))return"";try{return new Intl.DateTimeFormat(Mt,{dateStyle:"medium",timeStyle:"short",timeZone:t}).format(r)}catch(n){return console.error(n),""}},Db=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{let{year:r,month:n,day:o,hour:a,minute:s,dayPeriod:u}=new Intl.DateTimeFormat(Mt,{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",timeZone:t}).formatToParts(e).reduce((l,c)=>(c.type!=="literal"&&(l[c.type]=c.value),l),{});return`${n} ${o}, ${r}, ${a}:${s} ${u}`}catch(r){return console.error(r),""}},xb=(e,{timeZone:t=Dr}={})=>{if(!er(e)||xr(e))return"";try{return new Intl.DateTimeFormat(Mt,{dateStyle:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},Eb=(e,{nowAnchor:t=new Date}={})=>{if(xr(e))return"";let r=(t.valueOf()-e.valueOf())/(Zl*Pd),n=Math.round(r),o=Ja(t,e);return r<0?Hl(e):r<1?"< 1 minute ago":n<2?"1 minute ago":n<=ei?`${n} minutes ago`:o===0?`Today, ${Intl.DateTimeFormat(Mt,{timeStyle:"short"}).format(e)}`:o===1?`Yesterday, ${Intl.DateTimeFormat(Mt,{timeStyle:"short"}).format(e)}`:e.getFullYear()===t.getFullYear()?Intl.DateTimeFormat(Mt,{day:"numeric",month:"short",hour:"numeric",minute:"2-digit"}).format(e):Hl(e)},wb=e=>{let t=e.getTimezoneOffset()/ei*-1,r=Math.round(t),n=(t-r)*ei,o=r>=0?"+":"",a=`${r}`.padStart(2,"0"),s=`${n}`.padStart(2,"0");return`${o}${a}:${s}`},x1=e=>{let t=Math.floor(e/Pd),r=Math.floor(t/Zl),n=Math.floor(r/ei),o=t-r*Zl,a=r-n*ei;return{seconds:o,minutes:a,hours:n}},Sb=e=>{let{hours:t,minutes:r,seconds:n}=x1(e);return t<1?`${r}:${Qa(n)}`:`${t}:${Qa(r)}:${Qa(n)}`},Tb=e=>{let{hours:t,minutes:r,seconds:n}=x1(e);return`${t}:${Qa(r)}:${Qa(n)}`},Rd=e=>er(e)?{year:e.getFullYear(),month:e.getMonth(),dayOfMonth:e.getDate(),hours:e.getHours(),minutes:e.getMinutes()}:null,zl=e=>{let{year:t,month:r,dayOfMonth:n,hours:o,minutes:a}=e??{};return t!==void 0&&r!==void 0&&n!==void 0?new Date(t,r,n,o??0,a??0):null},Id=e=>zl(e)?.toISOString()??null,Ab=(e,t=!0)=>{let r=e.getMinutes()<=Od,n=r?e.getHours():e.getHours()+1,o=r?Od:0,a={...Rd(e),hours:n,minutes:o};return t?Id(a):zl(a)},Bb=e=>{let{seconds:t,minutes:r,hours:n}=x1(e),o="PT";return n&&(o+=`${n}H`),r&&(o+=`${r}M`),t&&(o+=`${t}S`),t||r||n||(o+="0S"),o};var Wl={};wo(Wl,{camelCase:()=>Ib,coerceToBoolean:()=>Kr,coerceToString:()=>Ot,isHttpUrl:()=>Lb,isString:()=>jl,isUrl:()=>To,lowerFirst:()=>Pb,removeNewlines:()=>Fb,stripExtension:()=>Mb,truncate:()=>Ob,upperFirst:()=>Rb});i();var jl=e=>typeof e=="string"||e instanceof String,Fb=e=>e.replace(/\n/g,""),Mb=e=>(e||"").replace(/\.[^/.]{1,4}$/,""),Ob=(e,t)=>e.length<=t?e:`${e.slice(0,t-3)}...`,Pb=(e="")=>(e[0]?.toLowerCase()??"")+e.slice(1),Rb=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1),Ib=(e="")=>e.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g,(t,r)=>+t==0?"":r===0?t.toLowerCase():t.toUpperCase()),Ot=e=>e==null?"":String(e),Kr=e=>e==="true"||e==="false"?e==="true":!!e,To=e=>{let t=/^(?:\w+:)?\/\/(\S+)$/,r=/^localhost[:?\d]*(?:[^:?\d]\S*)?$/,n=/^[^\s.]+\.\S{2,}$/;if(!jl(e))return!1;let o=t.exec(e);if(!o)return!1;let a=o[1];return a===void 0||!a?!1:r.test(a)||n.test(a)},Lb=e=>{if(!jl(e))return!1;try{let t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}};var _l={};wo(_l,{deepFreeze:()=>Ld,isObject:()=>In,merge:()=>E1,selectKeys:()=>Ul});i();var Ul=(e,t)=>t.reduce((r,n)=>(Object.hasOwn(e,n)&&(r[n]=e[n]),r),{}),In=e=>e!=null&&(Object.getPrototypeOf(e)===null||e.constructor===Object),Ld=e=>(Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{Object.hasOwn(e,t)&&(typeof e!="function"||t!=="caller"&&t!=="callee"&&t!=="arguments")&&e[t]!==null&&(typeof e[t]=="object"||typeof e[t]=="function")&&!Object.isFrozen(e[t])&&Ld(e[t])}),e),E1=(e,...t)=>{if(!t.length)return e;let r={...e};return t.forEach(n=>{In(n)&&Object.keys(n).forEach(o=>{In(n[o])?r[o]===null||r[o]===void 0?r[o]={...n[o]}:r[o]=E1(r[o],n[o]):r[o]=n[o]})}),r};i();i();var un=require("react"),k0=z(require("styled-components"));i();var zc=z(Zd()),qm=z(Xl()),Xm=z(C5()),O=z(require("react"));i();i();function b5(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function y5(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function Yl(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return y5(r.overflowY,t)||y5(r.overflowX,t)||function(n){var o=function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}}(n);return!!o&&(o.clientHeight<n.scrollHeight||o.clientWidth<n.scrollWidth)}(e)}return!1}function S1(e,t,r,n,o,a,s,u){return a<e&&s>t||a>e&&s<t?0:a<=e&&u<=r||s>=t&&u>=r?a-e-n:s>t&&u<r||a<e&&u>r?s-t+o:0}var Jl=function(e,t){var r=window,n=t.scrollMode,o=t.block,a=t.inline,s=t.boundary,u=t.skipOverflowHiddenElements,l=typeof s=="function"?s:function(Ce){return Ce!==s};if(!b5(e))throw new TypeError("Invalid target");for(var c,d,h=document.scrollingElement||document.documentElement,m=[],C=e;b5(C)&&l(C);){if((C=(d=(c=C).parentElement)==null?c.getRootNode().host||null:d)===h){m.push(C);break}C!=null&&C===document.body&&Yl(C)&&!Yl(document.documentElement)||C!=null&&Yl(C,u)&&m.push(C)}for(var v=r.visualViewport?r.visualViewport.width:innerWidth,p=r.visualViewport?r.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,E=e.getBoundingClientRect(),B=E.height,A=E.width,I=E.top,D=E.right,T=E.bottom,V=E.left,L=o==="start"||o==="nearest"?I:o==="end"?T:I+B/2,K=a==="center"?V+A/2:a==="end"?D:V,X=[],N=0;N<m.length;N++){var $=m[N],Z=$.getBoundingClientRect(),W=Z.height,le=Z.width,me=Z.top,De=Z.right,ae=Z.bottom,de=Z.left;if(n==="if-needed"&&I>=0&&V>=0&&T<=p&&D<=v&&I>=me&&T<=ae&&V>=de&&D<=De)return X;var we=getComputedStyle($),he=parseInt(we.borderLeftWidth,10),qe=parseInt(we.borderTopWidth,10),w=parseInt(we.borderRightWidth,10),j=parseInt(we.borderBottomWidth,10),k=0,_=0,ue="offsetWidth"in $?$.offsetWidth-$.clientWidth-he-w:0,te="offsetHeight"in $?$.offsetHeight-$.clientHeight-qe-j:0,fe="offsetWidth"in $?$.offsetWidth===0?0:le/$.offsetWidth:0,ve="offsetHeight"in $?$.offsetHeight===0?0:W/$.offsetHeight:0;if(h===$)k=o==="start"?L:o==="end"?L-p:o==="nearest"?S1(y,y+p,p,qe,j,y+L,y+L+B,B):L-p/2,_=a==="start"?K:a==="center"?K-v/2:a==="end"?K-v:S1(b,b+v,v,he,w,b+K,b+K+A,A),k=Math.max(0,k+y),_=Math.max(0,_+b);else{k=o==="start"?L-me-qe:o==="end"?L-ae+j+te:o==="nearest"?S1(me,ae,W,qe,j+te,L,L+B,B):L-(me+W/2)+te/2,_=a==="start"?K-de-he:a==="center"?K-(de+le/2)+ue/2:a==="end"?K-De+w+ue:S1(de,De,le,he,w+ue,K,K+A,A);var be=$.scrollLeft,Se=$.scrollTop;L+=Se-(k=Math.max(0,Math.min(Se+k/ve,$.scrollHeight-W/ve+te))),K+=be-(_=Math.max(0,Math.min(be+_/fe,$.scrollWidth-le/fe+ue)))}X.push({el:$,top:k,left:_})}return X};function D5(e){return e===Object(e)&&Object.keys(e).length!==0}function Oy(e,t){t===void 0&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(n){var o=n.el,a=n.top,s=n.left;o.scroll&&r?o.scroll({top:a,left:s,behavior:t}):(o.scrollTop=a,o.scrollLeft=s)})}function Py(e){return e===!1?{block:"end",inline:"nearest"}:D5(e)?e:{block:"start",inline:"nearest"}}function Ry(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(D5(t)&&typeof t.behavior=="function")return t.behavior(r?Jl(e,t):[]);if(r){var n=Py(t);return Oy(Jl(e,n),n.behavior)}}var x5=Ry;i();i();function E5(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ze(e){var t,r;return E5(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(E5(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}i();function jt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(!1)var o,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Gr(e){return!!e&&!!e[wt]}function kn(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var o=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return o===Object||typeof o=="function"&&Function.toString.call(o)===zy}(e)||Array.isArray(e)||!!e[O5]||!!(!((t=e.constructor)===null||t===void 0)&&t[O5])||uc(e)||lc(e))}function ni(e,t,r){r===void 0&&(r=!1),Ao(e)===0?(r?Object.keys:mc)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function Ao(e){var t=e[wt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:uc(e)?2:lc(e)?3:0}function nc(e,t){return Ao(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Iy(e,t){return Ao(e)===2?e.get(t):e[t]}function P5(e,t,r){var n=Ao(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Ly(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function uc(e){return Zy&&e instanceof Map}function lc(e){return Hy&&e instanceof Set}function Ln(e){return e.o||e.t}function cc(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Vy(e);delete t[wt];for(var r=mc(t),n=0;n<r.length;n++){var o=r[n],a=t[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function fc(e,t){return t===void 0&&(t=!1),pc(e)||Gr(e)||!kn(e)||(Ao(e)>1&&(e.set=e.add=e.clear=e.delete=ky),Object.freeze(e),t&&ni(e,function(r,n){return fc(n,!0)},!0)),e}function ky(){jt(2)}function pc(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function tr(e){var t=jy[e];return t||jt(18,e),t}function w5(){return oi}function Ql(e,t){t&&(tr("Patches"),e.u=[],e.s=[],e.v=t)}function T1(e){oc(e),e.p.forEach(Ny),e.p=null}function oc(e){e===oi&&(oi=e.l)}function S5(e){return oi={p:[],l:oi,h:e,m:!0,_:0}}function Ny(e){var t=e[wt];t.i===0||t.i===1?t.j():t.g=!0}function ec(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||tr("ES5").S(t,e,n),n?(r[wt].P&&(T1(t),jt(4)),kn(e)&&(e=A1(t,e),t.l||B1(t,e)),t.u&&tr("Patches").M(r[wt].t,e,t.u,t.s)):e=A1(t,r,[]),T1(t),t.u&&t.v(t.u,t.s),e!==R5?e:void 0}function A1(e,t,r){if(pc(t))return t;var n=t[wt];if(!n)return ni(t,function(u,l){return T5(e,n,t,u,l,r)},!0),t;if(n.A!==e)return t;if(!n.P)return B1(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=cc(n.k):n.o,a=o,s=!1;n.i===3&&(a=new Set(o),o.clear(),s=!0),ni(a,function(u,l){return T5(e,n,o,u,l,r,s)}),B1(e,o,!1),r&&e.u&&tr("Patches").N(n,r,e.u,e.s)}return n.o}function T5(e,t,r,n,o,a,s){if(Gr(o)){var u=A1(e,o,a&&t&&t.i!==3&&!nc(t.R,n)?a.concat(n):void 0);if(P5(r,n,u),!Gr(u))return;e.m=!1}else s&&r.add(o);if(kn(o)&&!pc(o)){if(!e.h.D&&e._<1)return;A1(e,o),t&&t.A.l||B1(e,o)}}function B1(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&fc(t,r)}function tc(e,t){var r=e[wt];return(r?Ln(r):e)[t]}function A5(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function ac(e){e.P||(e.P=!0,e.l&&ac(e.l))}function rc(e){e.o||(e.o=cc(e.t))}function ic(e,t,r){var n=uc(t)?tr("MapSet").F(t,r):lc(t)?tr("MapSet").T(t,r):e.O?function(o,a){var s=Array.isArray(o),u={i:s?1:0,A:a?a.A:w5(),P:!1,I:!1,R:{},l:a,t:o,k:null,o:null,j:null,C:!1},l=u,c=sc;s&&(l=[u],c=ri);var d=Proxy.revocable(l,c),h=d.revoke,m=d.proxy;return u.k=m,u.j=h,m}(t,r):tr("ES5").J(t,r);return(r?r.A:w5()).p.push(n),n}function $y(e){return Gr(e)||jt(22,e),function t(r){if(!kn(r))return r;var n,o=r[wt],a=Ao(r);if(o){if(!o.P&&(o.i<4||!tr("ES5").K(o)))return o.t;o.I=!0,n=B5(r,a),o.I=!1}else n=B5(r,a);return ni(n,function(s,u){o&&Iy(o.t,s)===u||P5(n,s,t(u))}),a===3?new Set(n):n}(e)}function B5(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return cc(e)}var F5,oi,dc=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Zy=typeof Map<"u",Hy=typeof Set<"u",M5=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",R5=dc?Symbol.for("immer-nothing"):((F5={})["immer-nothing"]=!0,F5),O5=dc?Symbol.for("immer-draftable"):"__$immer_draftable",wt=dc?Symbol.for("immer-state"):"__$immer_state";var zy=""+Object.prototype.constructor,mc=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Vy=Object.getOwnPropertyDescriptors||function(e){var t={};return mc(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},jy={},sc={get:function(e,t){if(t===wt)return e;var r=Ln(e);if(!nc(r,t))return function(o,a,s){var u,l=A5(a,s);return l?"value"in l?l.value:(u=l.get)===null||u===void 0?void 0:u.call(o.k):void 0}(e,r,t);var n=r[t];return e.I||!kn(n)?n:n===tc(e.t,t)?(rc(e),e.o[t]=ic(e.A.h,n,e)):n},has:function(e,t){return t in Ln(e)},ownKeys:function(e){return Reflect.ownKeys(Ln(e))},set:function(e,t,r){var n=A5(Ln(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var o=tc(Ln(e),t),a=o?.[wt];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Ly(r,o)&&(r!==void 0||nc(e.t,t)))return!0;rc(e),ac(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return tc(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,rc(e),ac(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Ln(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){jt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){jt(12)}},ri={};ni(sc,function(e,t){ri[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),ri.deleteProperty=function(e,t){return ri.set.call(this,e,t,void 0)},ri.set=function(e,t,r){return sc.set.call(this,e[0],t,r,e[0])};var Wy=function(){function e(r){var n=this;this.O=M5,this.D=!0,this.produce=function(o,a,s){if(typeof o=="function"&&typeof a!="function"){var u=a;a=o;var l=n;return function(p){var b=this;p===void 0&&(p=u);for(var y=arguments.length,E=Array(y>1?y-1:0),B=1;B<y;B++)E[B-1]=arguments[B];return l.produce(p,function(A){var I;return(I=a).call.apply(I,[b,A].concat(E))})}}var c;if(typeof a!="function"&&jt(6),s!==void 0&&typeof s!="function"&&jt(7),kn(o)){var d=S5(n),h=ic(n,o,void 0),m=!0;try{c=a(h),m=!1}finally{m?T1(d):oc(d)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(p){return Ql(d,s),ec(p,d)},function(p){throw T1(d),p}):(Ql(d,s),ec(c,d))}if(!o||typeof o!="object"){if((c=a(o))===void 0&&(c=o),c===R5&&(c=void 0),n.D&&fc(c,!0),s){var C=[],v=[];tr("Patches").M(o,c,C,v),s(C,v)}return c}jt(21,o)},this.produceWithPatches=function(o,a){if(typeof o=="function")return function(c){for(var d=arguments.length,h=Array(d>1?d-1:0),m=1;m<d;m++)h[m-1]=arguments[m];return n.produceWithPatches(c,function(C){return o.apply(void 0,[C].concat(h))})};var s,u,l=n.produce(o,a,function(c,d){s=c,u=d});return typeof Promise<"u"&&l instanceof Promise?l.then(function(c){return[c,s,u]}):[l,s,u]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){kn(r)||jt(8),Gr(r)&&(r=$y(r));var n=S5(this),o=ic(this,r,void 0);return o[wt].C=!0,oc(n),o},t.finishDraft=function(r,n){var o=r&&r[wt],a=o.A;return Ql(a,n),ec(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!M5&&jt(20),this.O=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var a=n[o];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}o>-1&&(n=n.slice(o+1));var s=tr("Patches").$;return Gr(r)?s(r,n):this.produce(r,function(u){return s(u,n)})},e}(),St=new Wy,F1=St.produce,jZ=St.produceWithPatches.bind(St),WZ=St.setAutoFreeze.bind(St),UZ=St.setUseProxies.bind(St),_Z=St.applyPatches.bind(St),hc=St.createDraft.bind(St),gc=St.finishDraft.bind(St);var Uy={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=x.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},_y={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=ce.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},Ky={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=F.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},O1=new WeakMap,P1=new WeakMap,ii=new WeakMap,fm=new WeakMap,I5=new WeakMap,L5=new WeakMap,k5=new WeakMap,x={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=x.levels(e,t);return r?n=n.slice(1):n=n.slice(0,-1),n},common(e,t){for(var r=[],n=0;n<e.length&&n<t.length;n++){var o=e[n],a=t[n];if(o!==a)break;r.push(o)}return r},compare(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return 0},endsAfter(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),a=e[r],s=t[r];return x.equals(n,o)&&a>s},endsAt(e,t){var r=e.length,n=e.slice(0,r),o=t.slice(0,r);return x.equals(n,o)},endsBefore(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),a=e[r],s=t[r];return x.equals(n,o)&&a<s},equals(e,t){return e.length===t.length&&e.every((r,n)=>r===t[n])},hasPrevious(e){return e[e.length-1]>0},isAfter(e,t){return x.compare(e,t)===1},isAncestor(e,t){return e.length<t.length&&x.compare(e,t)===0},isBefore(e,t){return x.compare(e,t)===-1},isChild(e,t){return e.length===t.length+1&&x.compare(e,t)===0},isCommon(e,t){return e.length<=t.length&&x.compare(e,t)===0},isDescendant(e,t){return e.length>t.length&&x.compare(e,t)===0},isParent(e,t){return e.length+1===t.length&&x.compare(e,t)===0},isPath(e){return Array.isArray(e)&&(e.length===0||typeof e[0]=="number")},isSibling(e,t){if(e.length!==t.length)return!1;var r=e.slice(0,-1),n=t.slice(0,-1),o=e[e.length-1],a=t[t.length-1];return o!==a&&x.equals(r,n)},levels(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=[],o=0;o<=e.length;o++)n.push(e.slice(0,o));return r&&n.reverse(),n},next(e){if(e.length===0)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(e){if(e.length===0)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(e.length===0)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!x.isAncestor(t,e)&&!x.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e)return null;var n=[...e],{affinity:o="forward"}=r;if(e.length===0)return n;switch(t.type){case"insert_node":{var{path:a}=t;(x.equals(a,n)||x.endsBefore(a,n)||x.isAncestor(a,n))&&(n[a.length-1]+=1);break}case"remove_node":{var{path:s}=t;if(x.equals(s,n)||x.isAncestor(s,n))return null;x.endsBefore(s,n)&&(n[s.length-1]-=1);break}case"merge_node":{var{path:u,position:l}=t;x.equals(u,n)||x.endsBefore(u,n)?n[u.length-1]-=1:x.isAncestor(u,n)&&(n[u.length-1]-=1,n[u.length]+=l);break}case"split_node":{var{path:c,position:d}=t;if(x.equals(c,n)){if(o==="forward")n[n.length-1]+=1;else if(o!=="backward")return null}else x.endsBefore(c,n)?n[c.length-1]+=1:x.isAncestor(c,n)&&e[c.length]>=d&&(n[c.length-1]+=1,n[c.length]-=d);break}case"move_node":{var{path:h,newPath:m}=t;if(x.equals(h,m))return n;if(x.isAncestor(h,n)||x.equals(h,n)){var C=m.slice();return x.endsBefore(h,m)&&h.length<m.length&&(C[h.length-1]-=1),C.concat(n.slice(h.length))}else x.isSibling(h,m)&&(x.isAncestor(m,n)||x.equals(m,n))?x.endsBefore(h,n)?n[h.length-1]-=1:n[h.length-1]+=1:x.endsBefore(m,n)||x.equals(m,n)||x.isAncestor(m,n)?(x.endsBefore(h,n)&&(n[h.length-1]-=1),n[m.length-1]+=1):x.endsBefore(h,n)&&(x.equals(m,n)&&(n[m.length-1]+=1),n[h.length-1]-=1);break}}return n}};function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ai(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?N5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Gy=(e,t,r)=>{switch(r.type){case"insert_node":{var{path:n,node:o}=r,a=H.parent(e,n),s=n[n.length-1];if(s>a.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(n,"] because the destination is past the end of the node."));if(a.children.splice(s,0,o),t)for(var[u,l]of F.points(t))t[l]=ce.transform(u,r);break}case"insert_text":{var{path:c,offset:d,text:h}=r;if(h.length===0)break;var m=H.leaf(e,c),C=m.text.slice(0,d),v=m.text.slice(d);if(m.text=C+h+v,t)for(var[p,b]of F.points(t))t[b]=ce.transform(p,r);break}case"merge_node":{var{path:y}=r,E=H.get(e,y),B=x.previous(y),A=H.get(e,B),I=H.parent(e,y),D=y[y.length-1];if(G.isText(E)&&G.isText(A))A.text+=E.text;else if(!G.isText(E)&&!G.isText(A))A.children.push(...E.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(y,"] to nodes of different interfaces: ").concat(_e.stringify(E)," ").concat(_e.stringify(A)));if(I.children.splice(D,1),t)for(var[T,V]of F.points(t))t[V]=ce.transform(T,r);break}case"move_node":{var{path:L,newPath:K}=r;if(x.isAncestor(L,K))throw new Error("Cannot move a path [".concat(L,"] to new path [").concat(K,"] because the destination is inside itself."));var X=H.get(e,L),N=H.parent(e,L),$=L[L.length-1];N.children.splice($,1);var Z=x.transform(L,r),W=H.get(e,x.parent(Z)),le=Z[Z.length-1];if(W.children.splice(le,0,X),t)for(var[me,De]of F.points(t))t[De]=ce.transform(me,r);break}case"remove_node":{var{path:ae}=r,de=ae[ae.length-1],we=H.parent(e,ae);if(we.children.splice(de,1),t)for(var[he,qe]of F.points(t)){var w=ce.transform(he,r);if(t!=null&&w!=null)t[qe]=w;else{var j=void 0,k=void 0;for(var[_,ue]of H.texts(e))if(x.compare(ue,ae)===-1)j=[_,ue];else{k=[_,ue];break}var te=!1;j&&k&&(x.equals(k[1],ae)?te=!x.hasPrevious(k[1]):te=x.common(j[1],ae).length<x.common(k[1],ae).length),j&&!te?(he.path=j[1],he.offset=j[0].text.length):k?(he.path=k[1],he.offset=0):t=null}}break}case"remove_text":{var{path:fe,offset:ve,text:be}=r;if(be.length===0)break;var Se=H.leaf(e,fe),Ce=Se.text.slice(0,ve),Ue=Se.text.slice(ve+be.length);if(Se.text=Ce+Ue,t)for(var[Xe,$e]of F.points(t))t[$e]=ce.transform(Xe,r);break}case"set_node":{var{path:ft,properties:at,newProperties:Ye}=r;if(ft.length===0)throw new Error("Cannot set properties on the root node!");var pt=H.get(e,ft);for(var S in Ye){if(S==="children"||S==="text")throw new Error('Cannot set the "'.concat(S,'" property of nodes!'));var q=Ye[S];q==null?delete pt[S]:pt[S]=q}for(var Q in at)Ye.hasOwnProperty(Q)||delete pt[Q];break}case"set_selection":{var{newProperties:Y}=r;if(Y==null)t=Y;else{if(t==null){if(!F.isRange(Y))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(_e.stringify(Y)," when there is no current selection."));t=ai({},Y)}for(var re in Y){var ge=Y[re];if(ge==null){if(re==="anchor"||re==="focus")throw new Error('Cannot remove the "'.concat(re,'" selection property'));delete t[re]}else t[re]=ge}}break}case"split_node":{var{path:ye,position:Je,properties:_r}=r;if(ye.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(ye,"] because the root node cannot be split."));var Vt=H.get(e,ye),kl=H.parent(e,ye),Fd=ye[ye.length-1],Eo;if(G.isText(Vt)){var Nl=Vt.text.slice(0,Je),eb=Vt.text.slice(Je);Vt.text=Nl,Eo=ai(ai({},_r),{},{text:eb})}else{var tb=Vt.children.slice(0,Je),rb=Vt.children.slice(Je);Vt.children=tb,Eo=ai(ai({},_r),{},{children:rb})}if(kl.children.splice(Fd+1,0,Eo),t)for(var[nb,ob]of F.points(t))t[ob]=ce.transform(nb,r);break}}return t},qy={transform(e,t){e.children=hc(e.children);var r=e.selection&&hc(e.selection);try{r=Gy(e,r,t)}finally{e.children=gc(e.children),r?e.selection=Gr(r)?gc(r):r:e.selection=null}}},Xy={insertNodes(e,t,r){e.insertNodes(t,r)},liftNodes(e,t){e.liftNodes(t)},mergeNodes(e,t){e.mergeNodes(t)},moveNodes(e,t){e.moveNodes(t)},removeNodes(e,t){e.removeNodes(t)},setNodes(e,t,r){e.setNodes(t,r)},splitNodes(e,t){e.splitNodes(t)},unsetNodes(e,t,r){e.unsetNodes(t,r)},unwrapNodes(e,t){e.unwrapNodes(t)},wrapNodes(e,t,r){e.wrapNodes(t,r)}},Yy={collapse(e,t){e.collapse(t)},deselect(e){e.deselect()},move(e,t){e.move(t)},select(e,t){e.select(t)},setPoint(e,t,r){e.setPoint(t,r)},setSelection(e,t){e.setSelection(t)}},pm=(e,t)=>{for(var r in e){var n=e[r],o=t[r];if(Ze(n)&&Ze(o)){if(!pm(n,o))return!1}else if(Array.isArray(n)&&Array.isArray(o)){if(n.length!==o.length)return!1;for(var a=0;a<n.length;a++)if(n[a]!==o[a])return!1}else if(n!==o)return!1}for(var s in t)if(e[s]===void 0&&t[s]!==void 0)return!1;return!0};function Jy(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Sr(e,t){if(e==null)return{};var r=Jy(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Qy=["anchor","focus"];function $5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function eD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var F={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,{anchor:n,focus:o}=e;return F.isBackward(e)===r?[n,o]:[o,n]},end(e){var[,t]=F.edges(e);return t},equals(e,t){return ce.equals(e.anchor,t.anchor)&&ce.equals(e.focus,t.focus)},includes(e,t){if(F.isRange(t)){if(F.includes(e,t.anchor)||F.includes(e,t.focus))return!0;var[r,n]=F.edges(e),[o,a]=F.edges(t);return ce.isBefore(r,o)&&ce.isAfter(n,a)}var[s,u]=F.edges(e),l=!1,c=!1;return ce.isPoint(t)?(l=ce.compare(t,s)>=0,c=ce.compare(t,u)<=0):(l=x.compare(t,s.path)>=0,c=x.compare(t,u.path)<=0),l&&c},intersection(e,t){var r=Sr(e,Qy),[n,o]=F.edges(e),[a,s]=F.edges(t),u=ce.isBefore(n,a)?a:n,l=ce.isBefore(o,s)?o:s;return ce.isBefore(l,u)?null:eD({anchor:u,focus:l},r)},isBackward(e){var{anchor:t,focus:r}=e;return ce.isAfter(t,r)},isCollapsed(e){var{anchor:t,focus:r}=e;return ce.equals(t,r)},isExpanded(e){return!F.isCollapsed(e)},isForward(e){return!F.isBackward(e)},isRange(e){return Ze(e)&&ce.isPoint(e.anchor)&&ce.isPoint(e.focus)},*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=F.edges(e);return t},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return F1(e,n=>{if(n===null)return null;var{affinity:o="inward"}=r,a,s;if(o==="inward"){var u=F.isCollapsed(n);F.isForward(n)?(a="forward",s=u?a:"backward"):(a="backward",s=u?a:"forward")}else o==="outward"?F.isForward(n)?(a="backward",s="forward"):(a="forward",s="backward"):(a=o,s=o);var l=ce.transform(n.anchor,t,{affinity:a}),c=ce.transform(n.focus,t,{affinity:s});if(!l||!c)return null;n.anchor=l,n.focus=c})}},Z5=e=>Ze(e)&&H.isNodeList(e.children)&&!g.isEditor(e),U={isAncestor(e){return Ze(e)&&H.isNodeList(e.children)},isElement:Z5,isElementList(e){return Array.isArray(e)&&e.every(t=>U.isElement(t))},isElementProps(e){return e.children!==void 0},isElementType:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return Z5(t)&&t[n]===r},matches(e,t){for(var r in t)if(r!=="children"&&e[r]!==t[r])return!1;return!0}},tD=["children"],rD=["text"],H5=new WeakMap,H={ancestor(e,t){var r=H.get(e,t);if(G.isText(r))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(_e.stringify(r)));return r},*ancestors(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of x.ancestors(t,r)){var o=H.ancestor(e,n),a=[o,n];yield a}},child(e,t){if(G.isText(e))throw new Error("Cannot get the child of a text node: ".concat(_e.stringify(e)));var r=e.children[t];if(r==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(_e.stringify(e)));return r},*children(e,t){for(var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:n=!1}=r,o=H.ancestor(e,t),{children:a}=o,s=n?a.length-1:0;n?s>=0:s<a.length;){var u=H.child(o,s),l=t.concat(s);yield[u,l],s=n?s-1:s+1}},common(e,t,r){var n=x.common(t,r),o=H.get(e,n);return[o,n]},descendant(e,t){var r=H.get(e,t);if(g.isEditor(r))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(_e.stringify(r)));return r},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of H.nodes(e,t))n.length!==0&&(yield[r,n])},*elements(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of H.nodes(e,t))U.isElement(r)&&(yield[r,n])},extractProps(e){if(U.isAncestor(e)){var t=Sr(e,tD);return t}else{var t=Sr(e,rD);return t}},first(e,t){for(var r=t.slice(),n=H.get(e,r);n&&!(G.isText(n)||n.children.length===0);)n=n.children[0],r.push(0);return[n,r]},fragment(e,t){if(G.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(_e.stringify(e)));var r=F1({children:e.children},n=>{var[o,a]=F.edges(t),s=H.nodes(n,{reverse:!0,pass:m=>{var[,C]=m;return!F.includes(t,C)}});for(var[,u]of s){if(!F.includes(t,u)){var l=H.parent(n,u),c=u[u.length-1];l.children.splice(c,1)}if(x.equals(u,a.path)){var d=H.leaf(n,u);d.text=d.text.slice(0,a.offset)}if(x.equals(u,o.path)){var h=H.leaf(n,u);h.text=h.text.slice(o.offset)}}g.isEditor(n)&&(n.selection=null)});return r.children},get(e,t){for(var r=e,n=0;n<t.length;n++){var o=t[n];if(G.isText(r)||!r.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(_e.stringify(e)));r=r.children[o]}return r},has(e,t){for(var r=e,n=0;n<t.length;n++){var o=t[n];if(G.isText(r)||!r.children[o])return!1;r=r.children[o]}return!0},isNode(e){return G.isText(e)||U.isElement(e)||g.isEditor(e)},isNodeList(e){if(!Array.isArray(e))return!1;var t=H5.get(e);if(t!==void 0)return t;var r=e.every(n=>H.isNode(n));return H5.set(e,r),r},last(e,t){for(var r=t.slice(),n=H.get(e,r);n&&!(G.isText(n)||n.children.length===0);){var o=n.children.length-1;n=n.children[o],r.push(o)}return[n,r]},leaf(e,t){var r=H.get(e,t);if(!G.isText(r))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(_e.stringify(r)));return r},*levels(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of x.levels(t,r)){var o=H.get(e,n);yield[o,n]}},matches(e,t){return U.isElement(e)&&U.isElementProps(t)&&U.matches(e,t)||G.isText(e)&&G.isTextProps(t)&&G.matches(e,t)},*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:r,reverse:n=!1}=t,{from:o=[],to:a}=t,s=new Set,u=[],l=e;!(a&&(n?x.isBefore(u,a):x.isAfter(u,a)));){if(s.has(l)||(yield[l,u]),!s.has(l)&&!G.isText(l)&&l.children.length!==0&&(r==null||r([l,u])===!1)){s.add(l);var c=n?l.children.length-1:0;x.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),l=H.get(e,u);continue}if(u.length===0)break;if(!n){var d=x.next(u);if(H.has(e,d)){u=d,l=H.get(e,u);continue}}if(n&&u[u.length-1]!==0){var h=x.previous(u);u=h,l=H.get(e,u);continue}u=x.parent(u),l=H.get(e,u),s.add(l)}},parent(e,t){var r=x.parent(t),n=H.get(e,r);if(G.isText(n))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return n},string(e){return G.isText(e)?e.text:e.children.map(H.string).join("")},*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of H.nodes(e,t))G.isText(r)&&(yield[r,n])}};function z5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?z5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var wr={isNodeOperation(e){return wr.isOperation(e)&&e.type.endsWith("_node")},isOperation(e){if(!Ze(e))return!1;switch(e.type){case"insert_node":return x.isPath(e.path)&&H.isNode(e.node);case"insert_text":return typeof e.offset=="number"&&typeof e.text=="string"&&x.isPath(e.path);case"merge_node":return typeof e.position=="number"&&x.isPath(e.path)&&Ze(e.properties);case"move_node":return x.isPath(e.path)&&x.isPath(e.newPath);case"remove_node":return x.isPath(e.path)&&H.isNode(e.node);case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&x.isPath(e.path);case"set_node":return x.isPath(e.path)&&Ze(e.properties)&&Ze(e.newProperties);case"set_selection":return e.properties===null&&F.isRange(e.newProperties)||e.newProperties===null&&F.isRange(e.properties)||Ze(e.properties)&&Ze(e.newProperties);case"split_node":return x.isPath(e.path)&&typeof e.position=="number"&&Ze(e.properties);default:return!1}},isOperationList(e){return Array.isArray(e)&&e.every(t=>wr.isOperation(t))},isSelectionOperation(e){return wr.isOperation(e)&&e.type.endsWith("_selection")},isTextOperation(e){return wr.isOperation(e)&&e.type.endsWith("_text")},inverse(e){switch(e.type){case"insert_node":return Oe(Oe({},e),{},{type:"remove_node"});case"insert_text":return Oe(Oe({},e),{},{type:"remove_text"});case"merge_node":return Oe(Oe({},e),{},{type:"split_node",path:x.previous(e.path)});case"move_node":{var{newPath:t,path:r}=e;if(x.equals(t,r))return e;if(x.isSibling(r,t))return Oe(Oe({},e),{},{path:t,newPath:r});var n=x.transform(r,e),o=x.transform(x.next(r),e);return Oe(Oe({},e),{},{path:n,newPath:o})}case"remove_node":return Oe(Oe({},e),{},{type:"insert_node"});case"remove_text":return Oe(Oe({},e),{},{type:"insert_text"});case"set_node":{var{properties:a,newProperties:s}=e;return Oe(Oe({},e),{},{properties:s,newProperties:a})}case"set_selection":{var{properties:u,newProperties:l}=e;return u==null?Oe(Oe({},e),{},{properties:l,newProperties:null}):l==null?Oe(Oe({},e),{},{properties:null,newProperties:u}):Oe(Oe({},e),{},{properties:l,newProperties:u})}case"split_node":return Oe(Oe({},e),{},{type:"merge_node",path:x.next(e.path)})}}},V5=new WeakMap,nD=e=>{var t=V5.get(e);if(t!==void 0)return t;if(!Ze(e))return!1;var r=typeof e.addMark=="function"&&typeof e.apply=="function"&&typeof e.deleteFragment=="function"&&typeof e.insertBreak=="function"&&typeof e.insertSoftBreak=="function"&&typeof e.insertFragment=="function"&&typeof e.insertNode=="function"&&typeof e.insertText=="function"&&typeof e.isElementReadOnly=="function"&&typeof e.isInline=="function"&&typeof e.isSelectable=="function"&&typeof e.isVoid=="function"&&typeof e.normalizeNode=="function"&&typeof e.onChange=="function"&&typeof e.removeMark=="function"&&typeof e.getDirtyPaths=="function"&&(e.marks===null||Ze(e.marks))&&(e.selection===null||F.isRange(e.selection))&&H.isNodeList(e.children)&&wr.isOperationList(e.operations);return V5.set(e,r),r},g={above(e,t){return e.above(t)},addMark(e,t,r){e.addMark(t,r)},after(e,t,r){return e.after(t,r)},before(e,t,r){return e.before(t,r)},deleteBackward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:r="character"}=t;e.deleteBackward(r)},deleteForward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:r="character"}=t;e.deleteForward(r)},deleteFragment(e,t){e.deleteFragment(t)},edges(e,t){return e.edges(t)},elementReadOnly(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.elementReadOnly(t)},end(e,t){return e.end(t)},first(e,t){return e.first(t)},fragment(e,t){return e.fragment(t)},hasBlocks(e,t){return e.hasBlocks(t)},hasInlines(e,t){return e.hasInlines(t)},hasPath(e,t){return e.hasPath(t)},hasTexts(e,t){return e.hasTexts(t)},insertBreak(e){e.insertBreak()},insertFragment(e,t,r){e.insertFragment(t,r)},insertNode(e,t){e.insertNode(t)},insertSoftBreak(e){e.insertSoftBreak()},insertText(e,t){e.insertText(t)},isBlock(e,t){return e.isBlock(t)},isEdge(e,t,r){return e.isEdge(t,r)},isEditor(e){return nD(e)},isElementReadOnly(e,t){return e.isElementReadOnly(t)},isEmpty(e,t){return e.isEmpty(t)},isEnd(e,t,r){return e.isEnd(t,r)},isInline(e,t){return e.isInline(t)},isNormalizing(e){return e.isNormalizing()},isSelectable(e,t){return e.isSelectable(t)},isStart(e,t,r){return e.isStart(t,r)},isVoid(e,t){return e.isVoid(t)},last(e,t){return e.last(t)},leaf(e,t,r){return e.leaf(t,r)},levels(e,t){return e.levels(t)},marks(e){return e.getMarks()},next(e,t){return e.next(t)},node(e,t,r){return e.node(t,r)},nodes(e,t){return e.nodes(t)},normalize(e,t){e.normalize(t)},parent(e,t,r){return e.parent(t,r)},path(e,t,r){return e.path(t,r)},pathRef(e,t,r){return e.pathRef(t,r)},pathRefs(e){return e.pathRefs()},point(e,t,r){return e.point(t,r)},pointRef(e,t,r){return e.pointRef(t,r)},pointRefs(e){return e.pointRefs()},positions(e,t){return e.positions(t)},previous(e,t){return e.previous(t)},range(e,t,r){return e.range(t,r)},rangeRef(e,t,r){return e.rangeRef(t,r)},rangeRefs(e){return e.rangeRefs()},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){e.setNormalizing(t)},start(e,t){return e.start(t)},string(e,t,r){return e.string(t,r)},unhangRange(e,t,r){return e.unhangRange(t,r)},void(e,t){return e.void(t)},withoutNormalizing(e,t){e.withoutNormalizing(t)}};var oD={isSpan(e){return Array.isArray(e)&&e.length===2&&e.every(x.isPath)}};function j5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function W5(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?j5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ce={compare(e,t){var r=x.compare(e.path,t.path);return r===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:r},isAfter(e,t){return ce.compare(e,t)===1},isBefore(e,t){return ce.compare(e,t)===-1},equals(e,t){return e.offset===t.offset&&x.equals(e.path,t.path)},isPoint(e){return Ze(e)&&typeof e.offset=="number"&&x.isPath(e.path)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return F1(e,n=>{if(n===null)return null;var{affinity:o="forward"}=r,{path:a,offset:s}=n;switch(t.type){case"insert_node":case"move_node":{n.path=x.transform(a,t,r);break}case"insert_text":{x.equals(t.path,a)&&(t.offset<s||t.offset===s&&o==="forward")&&(n.offset+=t.text.length);break}case"merge_node":{x.equals(t.path,a)&&(n.offset+=t.position),n.path=x.transform(a,t,r);break}case"remove_text":{x.equals(t.path,a)&&t.offset<=s&&(n.offset-=Math.min(s-t.offset,t.text.length));break}case"remove_node":{if(x.equals(t.path,a)||x.isAncestor(t.path,a))return null;n.path=x.transform(a,t,r);break}case"split_node":{if(x.equals(t.path,a)){if(t.position===s&&o==null)return null;(t.position<s||t.position===s&&o==="forward")&&(n.offset-=t.position,n.path=x.transform(a,t,W5(W5({},r),{},{affinity:"forward"})))}else n.path=x.transform(a,t,r);break}}})}},U5=void 0,_e={setScrubber(e){U5=e},stringify(e){return JSON.stringify(e,U5)}},aD=["text"],iD=["anchor","focus"];function _5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Er(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var G={equals(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:n=!1}=r;function o(a){var s=Sr(a,aD);return s}return pm(n?o(e):e,n?o(t):t)},isText(e){return Ze(e)&&typeof e.text=="string"},isTextList(e){return Array.isArray(e)&&e.every(t=>G.isText(t))},isTextProps(e){return e.text!==void 0},matches(e,t){for(var r in t)if(r!=="text"&&(!e.hasOwnProperty(r)||e[r]!==t[r]))return!1;return!0},decorations(e,t){var r=[Er({},e)];for(var n of t){var o=Sr(n,iD),[a,s]=F.edges(n),u=[],l=0,c=a.offset,d=s.offset;for(var h of r){var{length:m}=h.text,C=l;if(l+=m,c<=C&&l<=d){Object.assign(h,o),u.push(h);continue}if(c!==d&&(c===l||d===C)||c>l||d<C||d===C&&C!==0){u.push(h);continue}var v=h,p=void 0,b=void 0;if(d<l){var y=d-C;b=Er(Er({},v),{},{text:v.text.slice(y)}),v=Er(Er({},v),{},{text:v.text.slice(0,y)})}if(c>C){var E=c-C;p=Er(Er({},v),{},{text:v.text.slice(0,E)}),v=Er(Er({},v),{},{text:v.text.slice(E)})}Object.assign(v,o),p&&u.push(p),u.push(v),b&&u.push(b)}r=u}return r}},vc=e=>e.selection?e.selection:e.children.length>0?g.end(e,[]):[0],Fo=(e,t)=>{var[r]=g.node(e,t);return n=>n===r},Cc=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=!r,o=r?pD(t):t,a=ie.None,s=ie.None,u=0,l=null,c=null;for(var d of o){var h=d.codePointAt(0);if(!h)break;var m=wD(d,h);if([a,s]=n?[s,m]:[m,a],Bo(a,ie.ZWJ)&&Bo(s,ie.ExtPict)&&(n?l=K5(t.substring(0,u)):l=K5(t.substring(0,t.length-u)),!l)||Bo(a,ie.RI)&&Bo(s,ie.RI)&&(c!==null?c=!c:n?c=!0:c=FD(t.substring(0,t.length-u)),!c)||a!==ie.None&&s!==ie.None&&TD(a,s))break;u+=d.length}return u||1},sD=/\s/,uD=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,lD=/['\u2018\u2019]/,cD=function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=0,o=!1;t.length>0;){var a=Cc(t,r),[s,u]=bc(t,a,r);if(fD(s,u,r))o=!0,n+=a;else if(!o)n+=a;else break;t=u}return n},bc=(e,t,r)=>{if(r){var n=e.length-t;return[e.slice(n,e.length),e.slice(0,n)]}return[e.slice(0,t),e.slice(t)]},fD=function e(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(sD.test(t))return!1;if(lD.test(t)){var o=Cc(r,n),[a,s]=bc(r,o,n);if(e(a,s,n))return!0}return!uD.test(t)},pD=function*(t){for(var r=t.length-1,n=0;n<t.length;n++){var o=t.charAt(r-n);if(mD(o.charCodeAt(0))){var a=t.charAt(r-n-1);if(dD(a.charCodeAt(0))){yield a+o,n++;continue}}yield o}},dD=e=>e>=55296&&e<=56319,mD=e=>e>=56320&&e<=57343,ie;(function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"})(ie||(ie={}));var hD=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,gD=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,vD=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,CD=/^[\u1100-\u115F\uA960-\uA97C]$/,bD=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,yD=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,DD=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,xD=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,ED=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,wD=(e,t)=>{var r=ie.Any;return e.search(hD)!==-1&&(r|=ie.Extend),t===8205&&(r|=ie.ZWJ),t>=127462&&t<=127487&&(r|=ie.RI),e.search(gD)!==-1&&(r|=ie.Prepend),e.search(vD)!==-1&&(r|=ie.SpacingMark),e.search(CD)!==-1&&(r|=ie.L),e.search(bD)!==-1&&(r|=ie.V),e.search(yD)!==-1&&(r|=ie.T),e.search(DD)!==-1&&(r|=ie.LV),e.search(xD)!==-1&&(r|=ie.LVT),e.search(ED)!==-1&&(r|=ie.ExtPict),r};function Bo(e,t){return(e&t)!==0}var SD=[[ie.L,ie.L|ie.V|ie.LV|ie.LVT],[ie.LV|ie.V,ie.V|ie.T],[ie.LVT|ie.T,ie.T],[ie.Any,ie.Extend|ie.ZWJ],[ie.Any,ie.SpacingMark],[ie.Prepend,ie.Any],[ie.ZWJ,ie.ExtPict],[ie.RI,ie.RI]];function TD(e,t){return SD.findIndex(r=>Bo(e,r[0])&&Bo(t,r[1]))===-1}var AD=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,K5=e=>e.search(AD)!==-1,BD=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,FD=e=>{var t=e.match(BD);if(t===null)return!1;var r=t[0].length/2;return r%2===1},MD={delete(e,t){e.delete(t)},insertFragment(e,t,r){e.insertFragment(t,r)},insertText(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g.withoutNormalizing(e,()=>{var{voids:n=!1}=r,{at:o=vc(e)}=r;if(x.isPath(o)&&(o=g.range(e,o)),F.isRange(o))if(F.isCollapsed(o))o=o.anchor;else{var a=F.end(o);if(!n&&g.void(e,{at:a}))return;var s=F.start(o),u=g.pointRef(e,s),l=g.pointRef(e,a);P.delete(e,{at:o,voids:n});var c=u.unref(),d=l.unref();o=c||d,P.setSelection(e,{anchor:o,focus:o})}if(!(!n&&g.void(e,{at:o})||g.elementReadOnly(e,{at:o}))){var{path:h,offset:m}=o;t.length>0&&e.apply({type:"insert_text",path:h,offset:m,text:t})}})}};function G5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function M1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?G5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var P=M1(M1(M1(M1({},qy),Xy),Yy),MD),OD=(e,t)=>{for(var r of g.pathRefs(e))Uy.transform(r,t);for(var n of g.pointRefs(e))_y.transform(n,t);for(var o of g.rangeRefs(e))Ky.transform(o,t);var a=O1.get(e)||[],s=P1.get(e)||new Set,u,l,c=v=>{if(v){var p=v.join(",");l.has(p)||(l.add(p),u.push(v))}};if(x.operationCanTransformPath(t)){u=[],l=new Set;for(var d of a){var h=x.transform(d,t);c(h)}}else u=a,l=s;var m=e.getDirtyPaths(t);for(var C of m)c(C);O1.set(e,u),P1.set(e,l),P.transform(e,t),e.operations.push(t),g.normalize(e,{operation:t}),t.type==="set_selection"&&(e.marks=null),ii.get(e)||(ii.set(e,!0),Promise.resolve().then(()=>{ii.set(e,!1),e.onChange({operation:t}),e.operations=[]}))},PD=(e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":{var{path:r}=t;return x.levels(r)}case"insert_node":{var{node:n,path:o}=t,a=x.levels(o),s=G.isText(n)?[]:Array.from(H.nodes(n),K=>{var[,X]=K;return o.concat(X)});return[...a,...s]}case"merge_node":{var{path:u}=t,l=x.ancestors(u),c=x.previous(u);return[...l,c]}case"move_node":{var{path:d,newPath:h}=t;if(x.equals(d,h))return[];var m=[],C=[];for(var v of x.ancestors(d)){var p=x.transform(v,t);m.push(p)}for(var b of x.ancestors(h)){var y=x.transform(b,t);C.push(y)}var E=C[C.length-1],B=h[h.length-1],A=E.concat(B);return[...m,...C,A]}case"remove_node":{var{path:I}=t,D=x.ancestors(I);return[...D]}case"split_node":{var{path:T}=t,V=x.levels(T),L=x.next(T);return[...V,L]}default:return[]}},RD=e=>{var{selection:t}=e;return t?H.fragment(e,t):[]},ID=(e,t)=>{var[r,n]=t;if(!G.isText(r)){if(U.isElement(r)&&r.children.length===0){var o={text:""};P.insertNodes(e,o,{at:n.concat(0),voids:!0});return}for(var a=g.isEditor(r)?!1:U.isElement(r)&&(e.isInline(r)||r.children.length===0||G.isText(r.children[0])||e.isInline(r.children[0])),s=0,u=0;u<r.children.length;u++,s++){var l=H.get(e,n);if(!G.isText(l)){var c=l.children[s],d=l.children[s-1],h=u===r.children.length-1,m=G.isText(c)||U.isElement(c)&&e.isInline(c);if(m!==a)P.removeNodes(e,{at:n.concat(s),voids:!0}),s--;else if(U.isElement(c)){if(e.isInline(c)){if(d==null||!G.isText(d)){var C={text:""};P.insertNodes(e,C,{at:n.concat(s),voids:!0}),s++}else if(h){var v={text:""};P.insertNodes(e,v,{at:n.concat(s+1),voids:!0}),s++}}}else d!=null&&G.isText(d)&&(G.equals(c,d,{loose:!0})?(P.mergeNodes(e,{at:n.concat(s),voids:!0}),s--):d.text===""?(P.removeNodes(e,{at:n.concat(s-1),voids:!0}),s--):c.text===""&&(P.removeNodes(e,{at:n.concat(s),voids:!0}),s--))}}}},LD=(e,t)=>{var{iteration:r,initialDirtyPathsLength:n}=t,o=n*42;if(r>o)throw new Error("Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0},kD=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:o="lowest",at:a=t.selection,match:s}=r;if(a){var u=g.path(t,a),l=o==="lowest";for(var[c,d]of g.levels(t,{at:u,voids:n,match:s,reverse:l}))if(!G.isText(c)){if(F.isRange(a)){if(x.isAncestor(d,a.anchor.path)&&x.isAncestor(d,a.focus.path))return[c,d]}else if(!x.equals(u,d))return[c,d]}}};function q5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function X5(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?q5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):q5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ND=(e,t,r)=>{var{selection:n}=e;if(n){var o=(h,m)=>{if(!G.isText(h))return!1;var[C,v]=g.parent(e,m);return!e.isVoid(C)||e.markableVoid(C)},a=F.isExpanded(n),s=!1;if(!a){var[u,l]=g.node(e,n);if(u&&o(u,l)){var[c]=g.parent(e,l);s=c&&e.markableVoid(c)}}if(a||s)P.setNodes(e,{[t]:r},{match:o,split:!0,voids:!0});else{var d=X5(X5({},g.marks(e)||{}),{},{[t]:r});e.marks=d,ii.get(e)||e.onChange()}}};function Y5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function J5(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Y5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var $D=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=g.point(t,r,{edge:"end"}),a=g.end(t,[]),s={anchor:o,focus:a},{distance:u=1}=n,l=0,c;for(var d of g.positions(t,J5(J5({},n),{},{at:s}))){if(l>u)break;l!==0&&(c=d),l++}return c};function Q5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function em(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Q5(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ZD=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=g.start(t,[]),a=g.point(t,r,{edge:"start"}),s={anchor:o,focus:a},{distance:u=1}=n,l=0,c;for(var d of g.positions(t,em(em({},n),{},{at:s,reverse:!0}))){if(l>u)break;l!==0&&(c=d),l++}return c},HD=(e,t)=>{var{selection:r}=e;r&&F.isCollapsed(r)&&P.delete(e,{unit:t,reverse:!0})},zD=(e,t)=>{var{selection:r}=e;r&&F.isCollapsed(r)&&P.delete(e,{unit:t})},VD=function(t){var{direction:r="forward"}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t;n&&F.isExpanded(n)&&P.delete(t,{reverse:r==="backward"})},jD=(e,t)=>[g.start(e,t),g.end(e,t)];function tm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function rm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tm(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var WD=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g.above(t,rm(rm({},r),{},{match:n=>U.isElement(n)&&g.isElementReadOnly(t,n)}))},UD=(e,t)=>g.point(e,t,{edge:"end"}),_D=(e,t)=>{var r=g.path(e,t,{edge:"start"});return g.node(e,r)},KD=(e,t)=>{var r=g.range(e,t);return H.fragment(e,r)};function nm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function om(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?nm(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var GD=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g.above(t,om(om({},r),{},{match:n=>U.isElement(n)&&g.isVoid(t,n)}))},qD=(e,t)=>t.children.some(r=>U.isElement(r)&&g.isBlock(e,r)),XD=(e,t)=>t.children.some(r=>G.isText(r)||g.isInline(e,r)),YD=(e,t)=>H.has(e,t),JD=(e,t)=>t.children.every(r=>G.isText(r)),QD=e=>{P.splitNodes(e,{always:!0})},ex=(e,t,r)=>{P.insertNodes(e,t,r)},tx=e=>{P.splitNodes(e,{always:!0})};function am(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function rx(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?am(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):am(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var nx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o,marks:a}=t;if(o){if(a){var s=rx({text:r},a);P.insertNodes(t,s,{at:n.at,voids:n.voids})}else P.insertText(t,r,n);t.marks=null}},ox=(e,t)=>!e.isInline(t),ax=(e,t,r)=>g.isStart(e,t,r)||g.isEnd(e,t,r),ix=(e,t)=>{var{children:r}=t,[n]=r;return r.length===0||r.length===1&&G.isText(n)&&n.text===""&&!e.isVoid(t)},sx=(e,t,r)=>{var n=g.end(e,r);return ce.equals(t,n)},ux=e=>{var t=fm.get(e);return t===void 0?!0:t},lx=(e,t,r)=>{if(t.offset!==0)return!1;var n=g.start(e,r);return ce.equals(t,n)},cx=(e,t)=>{var r=g.path(e,t,{edge:"end"});return g.node(e,r)},fx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=g.path(t,r,n),a=H.leaf(t,o);return[a,o]};function*px(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,reverse:n=!1,voids:o=!1}=t,{match:a}=t;if(a==null&&(a=()=>!0),!!r){var s=[],u=g.path(e,r);for(var[l,c]of H.levels(e,u))if(a(l,c)&&(s.push([l,c]),!o&&U.isElement(l)&&g.isVoid(e,l)))break;n&&s.reverse(),yield*s}}var dx=["text"],mx=["text"],hx=function(t){var{marks:r,selection:n}=t;if(!n)return null;if(r)return r;if(F.isExpanded(n)){var[o]=g.nodes(t,{match:G.isText});if(o){var[a]=o,s=Sr(a,dx);return s}else return{}}var{anchor:u}=n,{path:l}=u,[c]=g.leaf(t,l);if(u.offset===0){var d=g.previous(t,{at:l,match:G.isText}),h=g.above(t,{match:y=>U.isElement(y)&&g.isVoid(t,y)&&t.markableVoid(y)});if(!h){var m=g.above(t,{match:y=>U.isElement(y)&&g.isBlock(t,y)});if(d&&m){var[C,v]=d,[,p]=m;x.isAncestor(p,v)&&(c=C)}}}var b=Sr(c,mx);return b},gx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var u=g.after(t,s,{voids:o});if(u){var[,l]=g.last(t,[]),c=[u.path,l];if(x.isPath(s)&&s.length===0)throw new Error("Cannot get the next node from the root node!");if(a==null)if(x.isPath(s)){var[d]=g.parent(t,s);a=m=>d.children.includes(m)}else a=()=>!0;var[h]=g.nodes(t,{at:c,match:a,mode:n,voids:o});return h}}},vx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=g.path(t,r,n),a=H.get(t,o);return[a,o]};function*Cx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,mode:n="all",universal:o=!1,reverse:a=!1,voids:s=!1,ignoreNonSelectable:u=!1}=t,{match:l}=t;if(l||(l=()=>!0),!!r){var c,d;if(oD.isSpan(r))c=r[0],d=r[1];else{var h=g.path(e,r,{edge:"start"}),m=g.path(e,r,{edge:"end"});c=a?m:h,d=a?h:m}var C=H.nodes(e,{reverse:a,from:c,to:d,pass:A=>{var[I]=A;return U.isElement(I)?!!(!s&&(g.isVoid(e,I)||g.isElementReadOnly(e,I))||u&&!g.isSelectable(e,I)):!1}}),v=[],p;for(var[b,y]of C)if(!(u&&U.isElement(b)&&!g.isSelectable(e,b))){var E=p&&x.compare(y,p[1])===0;if(!(n==="highest"&&E)){if(!l(b,y)){if(o&&!E&&G.isText(b))return;continue}if(n==="lowest"&&E){p=[b,y];continue}var B=n==="lowest"?p:[b,y];B&&(o?v.push(B):yield B),p=[b,y]}}n==="lowest"&&p&&(o?v.push(p):yield p),o&&(yield*v)}}var bx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1,operation:o}=r,a=d=>O1.get(d)||[],s=d=>P1.get(d)||new Set,u=d=>{var h=a(d).pop(),m=h.join(",");return s(d).delete(m),h};if(g.isNormalizing(t)){if(n){var l=Array.from(H.nodes(t),d=>{var[,h]=d;return h}),c=new Set(l.map(d=>d.join(",")));O1.set(t,l),P1.set(t,c)}a(t).length!==0&&g.withoutNormalizing(t,()=>{for(var d of a(t))if(H.has(t,d)){var h=g.node(t,d),[m,C]=h;U.isElement(m)&&m.children.length===0&&t.normalizeNode(h,{operation:o})}for(var v=a(t),p=v.length,b=0;v.length!==0;){if(!t.shouldNormalize({dirtyPaths:v,iteration:b,initialDirtyPathsLength:p,operation:o}))return;var y=u(t);if(H.has(t,y)){var E=g.node(t,y);t.normalizeNode(E,{operation:o})}b++,v=a(t)}})}},yx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=g.path(t,r,n),a=x.parent(o),s=g.node(t,a);return s},Dx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=g.pathRefs(t);return l.delete(a),a.current=null,u}},s=g.pathRefs(t);return s.add(a),a},xx=e=>{var t=I5.get(e);return t||(t=new Set,I5.set(e,t)),t},Ex=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:o,edge:a}=n;if(x.isPath(r)){if(a==="start"){var[,s]=H.first(t,r);r=s}else if(a==="end"){var[,u]=H.last(t,r);r=u}}return F.isRange(r)&&(a==="start"?r=F.start(r):a==="end"?r=F.end(r):r=x.common(r.anchor.path,r.focus.path)),ce.isPoint(r)&&(r=r.path),o!=null&&(r=r.slice(0,o)),r},wx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=g.pointRefs(t);return l.delete(a),a.current=null,u}},s=g.pointRefs(t);return s.add(a),a},Sx=e=>{var t=L5.get(e);return t||(t=new Set,L5.set(e,t)),t},Tx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:o="start"}=n;if(x.isPath(r)){var a;if(o==="end"){var[,s]=H.last(t,r);a=s}else{var[,u]=H.first(t,r);a=u}var l=H.get(t,a);if(!G.isText(l))throw new Error("Cannot get the ".concat(o," point in the node at path [").concat(r,"] because it has no ").concat(o," text node."));return{path:a,offset:o==="end"?l.text.length:0}}if(F.isRange(r)){var[c,d]=F.edges(r);return o==="start"?c:d}return r};function*Ax(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,unit:n="offset",reverse:o=!1,voids:a=!1,ignoreNonSelectable:s=!1}=t;if(!r)return;var u=g.range(e,r),[l,c]=F.edges(u),d=o?c:l,h=!1,m="",C=0,v=0,p=0;for(var[b,y]of g.nodes(e,{at:r,reverse:o,voids:a,ignoreNonSelectable:s})){if(U.isElement(b)){if(!a&&(e.isVoid(b)||e.isElementReadOnly(b))){yield g.start(e,y);continue}if(e.isInline(b))continue;if(g.hasInlines(e,b)){var E=x.isAncestor(y,c.path)?c:g.end(e,y),B=x.isAncestor(y,l.path)?l:g.start(e,y);m=g.string(e,{anchor:B,focus:E},{voids:a}),h=!0}}if(G.isText(b)){var A=x.equals(y,d.path);for(A?(v=o?d.offset:b.text.length-d.offset,p=d.offset):(v=b.text.length,p=o?v:0),(A||h||n==="offset")&&(yield{path:y,offset:p},h=!1);;){if(C===0){if(m==="")break;C=I(m,n,o),m=bc(m,C,o)[1]}if(p=o?p-C:p+C,v=v-C,v<0){C=-v;break}C=0,yield{path:y,offset:p}}}}function I(D,T,V){return T==="character"?Cc(D,V):T==="word"?cD(D,V):T==="line"||T==="block"?D.length:1}}var Bx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var u=g.before(t,s,{voids:o});if(u){var[,l]=g.first(t,[]),c=[u.path,l];if(x.isPath(s)&&s.length===0)throw new Error("Cannot get the previous node from the root node!");if(a==null)if(x.isPath(s)){var[d]=g.parent(t,s);a=m=>d.children.includes(m)}else a=()=>!0;var[h]=g.nodes(t,{reverse:!0,at:c,match:a,mode:n,voids:o});return h}}},Fx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=g.rangeRefs(t);return l.delete(a),a.current=null,u}},s=g.rangeRefs(t);return s.add(a),a},Mx=e=>{var t=k5.get(e);return t||(t=new Set,k5.set(e,t)),t},Ox=(e,t,r)=>{if(F.isRange(t)&&!r)return t;var n=g.start(e,t),o=g.end(e,r||t);return{anchor:n,focus:o}};function im(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Px(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?im(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):im(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Rx=(e,t)=>{var{selection:r}=e;if(r){var n=(d,h)=>{if(!G.isText(d))return!1;var[m,C]=g.parent(e,h);return!e.isVoid(m)||e.markableVoid(m)},o=F.isExpanded(r),a=!1;if(!o){var[s,u]=g.node(e,r);if(s&&n(s,u)){var[l]=g.parent(e,u);a=l&&e.markableVoid(l)}}if(o||a)P.unsetNodes(e,t,{match:n,split:!0,voids:!0});else{var c=Px({},g.marks(e)||{});delete c[t],e.marks=c,ii.get(e)||e.onChange()}}},Ix=(e,t)=>{fm.set(e,t)},Lx=(e,t)=>g.point(e,t,{edge:"start"}),kx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,a=g.range(t,r),[s,u]=F.edges(a),l="";for(var[c,d]of g.nodes(t,{at:a,match:G.isText,voids:o})){var h=c.text;x.equals(d,u.path)&&(h=h.slice(0,u.offset)),x.equals(d,s.path)&&(h=h.slice(s.offset)),l+=h}return l},Nx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,[a,s]=F.edges(r);if(a.offset!==0||s.offset!==0||F.isCollapsed(r)||x.hasPrevious(s.path))return r;var u=g.above(t,{at:s,match:v=>U.isElement(v)&&g.isBlock(t,v),voids:o}),l=u?u[1]:[],c=g.start(t,a),d={anchor:c,focus:s},h=!0;for(var[m,C]of g.nodes(t,{at:d,match:G.isText,reverse:!0,voids:o})){if(h){h=!1;continue}if(m.text!==""||x.isBefore(C,l)){s={path:C,offset:m.text.length};break}}return{anchor:a,focus:s}},$x=(e,t)=>{var r=g.isNormalizing(e);g.setNormalizing(e,!1);try{t()}finally{g.setNormalizing(e,r)}g.normalize(e)},Zx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var n,o,{reverse:a=!1,unit:s="character",distance:u=1,voids:l=!1}=r,{at:c=t.selection,hanging:d=!1}=r;if(c){var h=!1;if(F.isRange(c)&&F.isCollapsed(c)&&(h=!0,c=c.anchor),ce.isPoint(c)){var m=g.void(t,{at:c,mode:"highest"});if(!l&&m){var[,C]=m;c=C}else{var v={unit:s,distance:u},p=a?g.before(t,c,v)||g.start(t,[]):g.after(t,c,v)||g.end(t,[]);c={anchor:c,focus:p},d=!0}}if(x.isPath(c)){P.removeNodes(t,{at:c,voids:l});return}if(!F.isCollapsed(c)){if(!d){var[,b]=F.edges(c),y=g.end(t,[]);ce.equals(b,y)||(c=g.unhangRange(t,c,{voids:l}))}var[E,B]=F.edges(c),A=g.above(t,{match:Ce=>U.isElement(Ce)&&g.isBlock(t,Ce),at:E,voids:l}),I=g.above(t,{match:Ce=>U.isElement(Ce)&&g.isBlock(t,Ce),at:B,voids:l}),D=A&&I&&!x.equals(A[1],I[1]),T=x.equals(E.path,B.path),V=l?null:(n=g.void(t,{at:E,mode:"highest"}))!==null&&n!==void 0?n:g.elementReadOnly(t,{at:E,mode:"highest"}),L=l?null:(o=g.void(t,{at:B,mode:"highest"}))!==null&&o!==void 0?o:g.elementReadOnly(t,{at:B,mode:"highest"});if(V){var K=g.before(t,E);K&&A&&x.isAncestor(A[1],K.path)&&(E=K)}if(L){var X=g.after(t,B);X&&I&&x.isAncestor(I[1],X.path)&&(B=X)}var N=[],$;for(var Z of g.nodes(t,{at:c,voids:l})){var[W,le]=Z;$&&x.compare(le,$)===0||(!l&&U.isElement(W)&&(g.isVoid(t,W)||g.isElementReadOnly(t,W))||!x.isCommon(le,E.path)&&!x.isCommon(le,B.path))&&(N.push(Z),$=le)}var me=Array.from(N,Ce=>{var[,Ue]=Ce;return g.pathRef(t,Ue)}),De=g.pointRef(t,E),ae=g.pointRef(t,B),de="";if(!T&&!V){var we=De.current,[he]=g.leaf(t,we),{path:qe}=we,{offset:w}=E,j=he.text.slice(w);j.length>0&&(t.apply({type:"remove_text",path:qe,offset:w,text:j}),de=j)}if(me.reverse().map(Ce=>Ce.unref()).filter(Ce=>Ce!==null).forEach(Ce=>P.removeNodes(t,{at:Ce,voids:l})),!L){var k=ae.current,[_]=g.leaf(t,k),{path:ue}=k,te=T?E.offset:0,fe=_.text.slice(te,B.offset);fe.length>0&&(t.apply({type:"remove_text",path:ue,offset:te,text:fe}),de=fe)}!T&&D&&ae.current&&De.current&&P.mergeNodes(t,{at:ae.current,hanging:!0,voids:l}),h&&a&&s==="character"&&de.length>1&&de.match(/[\u0E00-\u0E7F]+/)&&P.insertText(t,de.slice(0,de.length-u));var ve=De.unref(),be=ae.unref(),Se=a?ve||be:be||ve;r.at==null&&Se&&P.select(t,Se)}}})},Hx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1}=n,{at:s=vc(t)}=n;if(r.length){if(F.isRange(s))if(o||(s=g.unhangRange(t,s,{voids:a})),F.isCollapsed(s))s=s.anchor;else{var[,u]=F.edges(s);if(!a&&g.void(t,{at:u}))return;var l=g.pointRef(t,u);P.delete(t,{at:s}),s=l.unref()}else x.isPath(s)&&(s=g.start(t,s));if(!(!a&&g.void(t,{at:s}))){var c=g.above(t,{at:s,match:w=>U.isElement(w)&&g.isInline(t,w),mode:"highest",voids:a});if(c){var[,d]=c;if(g.isEnd(t,s,d)){var h=g.after(t,d);s=h}else if(g.isStart(t,s,d)){var m=g.before(t,d);s=m}}var C=g.above(t,{match:w=>U.isElement(w)&&g.isBlock(t,w),at:s,voids:a}),[,v]=C,p=g.isStart(t,s,v),b=g.isEnd(t,s,v),y=p&&b,E=!p||p&&b,B=!b,[,A]=H.first({children:r},[]),[,I]=H.last({children:r},[]),D=[],T=w=>{var[j,k]=w,_=k.length===0;return _?!1:y?!0:!(E&&x.isAncestor(k,A)&&U.isElement(j)&&!t.isVoid(j)&&!t.isInline(j)||B&&x.isAncestor(k,I)&&U.isElement(j)&&!t.isVoid(j)&&!t.isInline(j))};for(var V of H.nodes({children:r},{pass:T}))T(V)&&D.push(V);var L=[],K=[],X=[],N=!0,$=!1;for(var[Z]of D)U.isElement(Z)&&!t.isInline(Z)?(N=!1,$=!0,K.push(Z)):N?L.push(Z):X.push(Z);var[W]=g.nodes(t,{at:s,match:w=>G.isText(w)||g.isInline(t,w),mode:"highest",voids:a}),[,le]=W,me=g.isStart(t,s,le),De=g.isEnd(t,s,le),ae=g.pathRef(t,b&&!X.length?x.next(v):v),de=g.pathRef(t,De?x.next(le):le);P.splitNodes(t,{at:s,match:w=>$?U.isElement(w)&&g.isBlock(t,w):G.isText(w)||g.isInline(t,w),mode:$?"lowest":"highest",always:$&&(!p||L.length>0)&&(!b||X.length>0),voids:a});var we=g.pathRef(t,!me||me&&De?x.next(le):le);if(P.insertNodes(t,L,{at:we.current,match:w=>G.isText(w)||g.isInline(t,w),mode:"highest",voids:a}),y&&!L.length&&K.length&&!X.length&&P.delete(t,{at:v,voids:a}),P.insertNodes(t,K,{at:ae.current,match:w=>U.isElement(w)&&g.isBlock(t,w),mode:"lowest",voids:a}),P.insertNodes(t,X,{at:de.current,match:w=>G.isText(w)||g.isInline(t,w),mode:"highest",voids:a}),!n.at){var he;if(X.length>0&&de.current?he=x.previous(de.current):K.length>0&&ae.current?he=x.previous(ae.current):we.current&&(he=x.previous(we.current)),he){var qe=g.end(t,he);P.select(t,qe)}}we.unref(),ae.unref(),de.unref()}}})},zx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:n="anchor"}=r,{selection:o}=t;if(o){if(n==="anchor")P.select(t,o.anchor);else if(n==="focus")P.select(t,o.focus);else if(n==="start"){var[a]=F.edges(o);P.select(t,a)}else if(n==="end"){var[,s]=F.edges(o);P.select(t,s)}}else return},Vx=e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},jx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t,{distance:o=1,unit:a="character",reverse:s=!1}=r,{edge:u=null}=r;if(n){u==="start"&&(u=F.isBackward(n)?"focus":"anchor"),u==="end"&&(u=F.isBackward(n)?"anchor":"focus");var{anchor:l,focus:c}=n,d={distance:o,unit:a,ignoreNonSelectable:!0},h={};if(u==null||u==="anchor"){var m=s?g.before(t,l,d):g.after(t,l,d);m&&(h.anchor=m)}if(u==null||u==="focus"){var C=s?g.before(t,c,d):g.after(t,c,d);C&&(h.focus=C)}P.setSelection(t,h)}},Wx=(e,t)=>{var{selection:r}=e;if(t=g.range(e,t),r){P.setSelection(e,t);return}if(!F.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(_e.stringify(t)));e.apply({type:"set_selection",properties:r,newProperties:t})};function sm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function um(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?sm(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Ux=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o}=t,{edge:a="both"}=n;if(o){a==="start"&&(a=F.isBackward(o)?"focus":"anchor"),a==="end"&&(a=F.isBackward(o)?"anchor":"focus");var{anchor:s,focus:u}=o,l=a==="anchor"?s:u;P.setSelection(t,{[a==="anchor"?"anchor":"focus"]:um(um({},l),r)})}},_x=(e,t)=>{var{selection:r}=e,n={},o={};if(r){for(var a in t)(a==="anchor"&&t.anchor!=null&&!ce.equals(t.anchor,r.anchor)||a==="focus"&&t.focus!=null&&!ce.equals(t.focus,r.focus)||a!=="anchor"&&a!=="focus"&&t[a]!==r[a])&&(n[a]=r[a],o[a]=t[a]);Object.keys(n).length>0&&e.apply({type:"set_selection",properties:n,newProperties:o})}},Kx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1,mode:s="lowest"}=n,{at:u,match:l,select:c}=n;if(H.isNode(r)&&(r=[r]),r.length!==0){var[d]=r;if(u||(u=vc(t),c=!0),c==null&&(c=!1),F.isRange(u))if(o||(u=g.unhangRange(t,u,{voids:a})),F.isCollapsed(u))u=u.anchor;else{var[,h]=F.edges(u),m=g.pointRef(t,h);P.delete(t,{at:u}),u=m.unref()}if(ce.isPoint(u)){l==null&&(G.isText(d)?l=T=>G.isText(T):t.isInline(d)?l=T=>G.isText(T)||g.isInline(t,T):l=T=>U.isElement(T)&&g.isBlock(t,T));var[C]=g.nodes(t,{at:u.path,match:l,mode:s,voids:a});if(C){var[,v]=C,p=g.pathRef(t,v),b=g.isEnd(t,u,v);P.splitNodes(t,{at:u,match:l,mode:s,voids:a});var y=p.unref();u=b?x.next(y):y}else return}var E=x.parent(u),B=u[u.length-1];if(!(!a&&g.void(t,{at:E}))){for(var A of r){var I=E.concat(B);B++,t.apply({type:"insert_node",path:I,node:A}),u=x.next(u)}if(u=x.previous(u),c){var D=g.end(t,u);D&&P.select(t,D)}}}})},Gx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var{at:n=t.selection,mode:o="lowest",voids:a=!1}=r,{match:s}=r;if(s==null&&(s=x.isPath(n)?Fo(t,n):A=>U.isElement(A)&&g.isBlock(t,A)),!!n){var u=g.nodes(t,{at:n,match:s,mode:o,voids:a}),l=Array.from(u,A=>{var[,I]=A;return g.pathRef(t,I)});for(var c of l){var d=c.unref();if(d.length<2)throw new Error("Cannot lift node at a path [".concat(d,"] because it has a depth of less than `2`."));var h=g.node(t,x.parent(d)),[m,C]=h,v=d[d.length-1],{length:p}=m.children;if(p===1){var b=x.next(C);P.moveNodes(t,{at:d,to:b,voids:a}),P.removeNodes(t,{at:C,voids:a})}else if(v===0)P.moveNodes(t,{at:d,to:C,voids:a});else if(v===p-1){var y=x.next(C);P.moveNodes(t,{at:d,to:y,voids:a})}else{var E=x.next(d),B=x.next(C);P.splitNodes(t,{at:E,voids:a}),P.moveNodes(t,{at:d,to:B,voids:a})}}}})},qx=["text"],Xx=["children"],dm=(e,t)=>{if(U.isElement(t)){var r=t;return g.isVoid(e,t)?!0:r.children.length===1?dm(e,r.children[0]):!1}else return!g.isEditor(t)},Yx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var{match:n,at:o=t.selection}=r,{hanging:a=!1,voids:s=!1,mode:u="lowest"}=r;if(o){if(n==null)if(x.isPath(o)){var[l]=g.parent(t,o);n=K=>l.children.includes(K)}else n=K=>U.isElement(K)&&g.isBlock(t,K);if(!a&&F.isRange(o)&&(o=g.unhangRange(t,o,{voids:s})),F.isRange(o))if(F.isCollapsed(o))o=o.anchor;else{var[,c]=F.edges(o),d=g.pointRef(t,c);P.delete(t,{at:o}),o=d.unref(),r.at==null&&P.select(t,o)}var[h]=g.nodes(t,{at:o,match:n,voids:s,mode:u}),m=g.previous(t,{at:o,match:n,voids:s,mode:u});if(!(!h||!m)){var[C,v]=h,[p,b]=m;if(!(v.length===0||b.length===0)){var y=x.next(b),E=x.common(v,b),B=x.isSibling(v,b),A=Array.from(g.levels(t,{at:v}),K=>{var[X]=K;return X}).slice(E.length).slice(0,-1),I=g.above(t,{at:v,mode:"highest",match:K=>A.includes(K)&&dm(t,K)}),D=I&&g.pathRef(t,I[1]),T,V;if(G.isText(C)&&G.isText(p)){var L=Sr(C,qx);V=p.text.length,T=L}else if(U.isElement(C)&&U.isElement(p)){var L=Sr(C,Xx);V=p.children.length,T=L}else throw new Error("Cannot merge the node at path [".concat(v,"] with the previous sibling because it is not the same kind: ").concat(_e.stringify(C)," ").concat(_e.stringify(p)));B||P.moveNodes(t,{at:v,to:y,voids:s}),D&&P.removeNodes(t,{at:D.current,voids:s}),U.isElement(p)&&g.isEmpty(t,p)||G.isText(p)&&p.text===""&&b[b.length-1]!==0?P.removeNodes(t,{at:b,voids:s}):t.apply({type:"merge_node",path:y,position:V,properties:T}),D&&D.unref()}}}})},Jx=(e,t)=>{g.withoutNormalizing(e,()=>{var{to:r,at:n=e.selection,mode:o="lowest",voids:a=!1}=t,{match:s}=t;if(n){s==null&&(s=x.isPath(n)?Fo(e,n):C=>U.isElement(C)&&g.isBlock(e,C));var u=g.pathRef(e,r),l=g.nodes(e,{at:n,match:s,mode:o,voids:a}),c=Array.from(l,C=>{var[,v]=C;return g.pathRef(e,v)});for(var d of c){var h=d.unref(),m=u.current;h.length!==0&&e.apply({type:"move_node",path:h,newPath:m}),u.current&&x.isSibling(m,h)&&x.isAfter(m,h)&&(u.current=x.next(u.current))}u.unref()}})},Qx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var{hanging:n=!1,voids:o=!1,mode:a="lowest"}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=x.isPath(s)?Fo(t,s):C=>U.isElement(C)&&g.isBlock(t,C)),!n&&F.isRange(s)&&(s=g.unhangRange(t,s,{voids:o}));var l=g.nodes(t,{at:s,match:u,mode:a,voids:o}),c=Array.from(l,C=>{var[,v]=C;return g.pathRef(t,v)});for(var d of c){var h=d.unref();if(h){var[m]=g.node(t,h);t.apply({type:"remove_node",path:h,node:m})}}}})},eE=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g.withoutNormalizing(t,()=>{var{match:o,at:a=t.selection,compare:s,merge:u}=n,{hanging:l=!1,mode:c="lowest",split:d=!1,voids:h=!1}=n;if(a){if(o==null&&(o=x.isPath(a)?Fo(t,a):V=>U.isElement(V)&&g.isBlock(t,V)),!l&&F.isRange(a)&&(a=g.unhangRange(t,a,{voids:h})),d&&F.isRange(a)){if(F.isCollapsed(a)&&g.leaf(t,a.anchor)[0].text.length>0)return;var m=g.rangeRef(t,a,{affinity:"inward"}),[C,v]=F.edges(a),p=c==="lowest"?"lowest":"highest",b=g.isEnd(t,v,v.path);P.splitNodes(t,{at:v,match:o,mode:p,voids:h,always:!b});var y=g.isStart(t,C,C.path);P.splitNodes(t,{at:C,match:o,mode:p,voids:h,always:!y}),a=m.unref(),n.at==null&&P.select(t,a)}s||(s=(V,L)=>V!==L);for(var[E,B]of g.nodes(t,{at:a,match:o,mode:c,voids:h})){var A={},I={};if(B.length!==0){var D=!1;for(var T in r)T==="children"||T==="text"||s(r[T],E[T])&&(D=!0,E.hasOwnProperty(T)&&(A[T]=E[T]),u?r[T]!=null&&(I[T]=u(E[T],r[T])):r[T]!=null&&(I[T]=r[T]));D&&t.apply({type:"set_node",path:B,properties:A,newProperties:I})}}}})},tE=(e,t)=>{if(F.isCollapsed(t))return t.anchor;var[,r]=F.edges(t),n=g.pointRef(e,r);return P.delete(e,{at:t}),n.unref()},rE=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection,height:u=0,always:l=!1}=r;if(a==null&&(a=ae=>U.isElement(ae)&&g.isBlock(t,ae)),F.isRange(s)&&(s=tE(t,s)),x.isPath(s)){var c=s,d=g.point(t,c),[h]=g.parent(t,c);a=ae=>ae===h,u=d.path.length-c.length+1,s=d,l=!0}if(s){var m=g.pointRef(t,s,{affinity:"backward"}),C;try{var[v]=g.nodes(t,{at:s,match:a,mode:n,voids:o});if(!v)return;var p=g.void(t,{at:s,mode:"highest"}),b=0;if(!o&&p){var[y,E]=p;if(U.isElement(y)&&t.isInline(y)){var B=g.after(t,E);if(!B){var A={text:""},I=x.next(E);P.insertNodes(t,A,{at:I,voids:o}),B=g.point(t,I)}s=B,l=!0}var D=s.path.length-E.length;u=D+1,l=!0}C=g.pointRef(t,s);var T=s.path.length-u,[,V]=v,L=s.path.slice(0,T),K=u===0?s.offset:s.path[T]+b;for(var[X,N]of g.levels(t,{at:L,reverse:!0,voids:o})){var $=!1;if(N.length<V.length||N.length===0||!o&&U.isElement(X)&&g.isVoid(t,X))break;var Z=m.current,W=g.isEnd(t,Z,N);if(l||!m||!g.isEdge(t,Z,N)){$=!0;var le=H.extractProps(X);t.apply({type:"split_node",path:N,position:K,properties:le})}K=N[N.length-1]+($||W?1:0)}if(r.at==null){var me=C.current||g.end(t,[]);P.select(t,me)}}finally{var De;m.unref(),(De=C)===null||De===void 0||De.unref()}}})},nE=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(r)||(r=[r]);var o={};for(var a of r)o[a]=null;P.setNodes(t,o,n)},oE=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g.withoutNormalizing(t,()=>{var{mode:n="lowest",split:o=!1,voids:a=!1}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=x.isPath(s)?Fo(t,s):C=>U.isElement(C)&&g.isBlock(t,C)),x.isPath(s)&&(s=g.range(t,s));var l=F.isRange(s)?g.rangeRef(t,s):null,c=g.nodes(t,{at:s,match:u,mode:n,voids:a}),d=Array.from(c,C=>{var[,v]=C;return g.pathRef(t,v)}).reverse(),h=function(v){var p=v.unref(),[b]=g.node(t,p),y=g.range(t,p);o&&l&&(y=F.intersection(l.current,y)),P.liftNodes(t,{at:y,match:E=>U.isAncestor(b)&&b.children.includes(E),voids:a})};for(var m of d)h(m);l&&l.unref()}})};function lm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function cm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lm(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var aE=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g.withoutNormalizing(t,()=>{var{mode:o="lowest",split:a=!1,voids:s=!1}=n,{match:u,at:l=t.selection}=n;if(l){if(u==null&&(x.isPath(l)?u=Fo(t,l):t.isInline(r)?u=y=>U.isElement(y)&&g.isInline(t,y)||G.isText(y):u=y=>U.isElement(y)&&g.isBlock(t,y)),a&&F.isRange(l)){var[c,d]=F.edges(l),h=g.rangeRef(t,l,{affinity:"inward"});P.splitNodes(t,{at:d,match:u,voids:s}),P.splitNodes(t,{at:c,match:u,voids:s}),l=h.unref(),n.at==null&&P.select(t,l)}var m=Array.from(g.nodes(t,{at:l,match:t.isInline(r)?y=>U.isElement(y)&&g.isBlock(t,y):y=>g.isEditor(y),mode:"lowest",voids:s}));for(var[,C]of m){var v=F.isRange(l)?F.intersection(l,g.range(t,C)):l;if(v){var p=Array.from(g.nodes(t,{at:v,match:u,mode:o,voids:s}));if(p.length>0){var b=function(){var[y]=p,E=p[p.length-1],[,B]=y,[,A]=E;if(B.length===0&&A.length===0)return"continue";var I=x.equals(B,A)?x.parent(B):x.common(B,A),D=g.range(t,B,A),T=g.node(t,I),[V]=T,L=I.length+1,K=x.next(A.slice(0,L)),X=cm(cm({},r),{},{children:[]});P.insertNodes(t,X,{at:K,voids:s}),P.moveNodes(t,{at:D,match:N=>U.isAncestor(V)&&V.children.includes(N),to:K.concat(0),voids:s})}();if(b==="continue")continue}}}}})},R1=()=>{var e={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return OD(e,...n)},addMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ND(e,...n)},deleteBackward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return HD(e,...n)},deleteForward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zD(e,...n)},deleteFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VD(e,...n)},getFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return RD(e,...n)},insertBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return QD(e,...n)},insertSoftBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return tx(e,...n)},insertFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Hx(e,...n)},insertNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ex(e,...n)},insertText:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return nx(e,...n)},normalizeNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ID(e,...n)},removeMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Rx(e,...n)},getDirtyPaths:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return PD(e,...n)},shouldNormalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LD(e,...n)},above:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kD(e,...n)},after:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $D(e,...n)},before:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ZD(e,...n)},collapse:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zx(e,...n)},delete:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Zx(e,...n)},deselect:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Vx(e,...n)},edges:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jD(e,...n)},elementReadOnly:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return WD(e,...n)},end:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return UD(e,...n)},first:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return _D(e,...n)},fragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return KD(e,...n)},getMarks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hx(e,...n)},hasBlocks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return qD(e,...n)},hasInlines:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return XD(e,...n)},hasPath:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return YD(e,...n)},hasTexts:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return JD(e,...n)},insertNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Kx(e,...n)},isBlock:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ox(e,...n)},isEdge:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ax(e,...n)},isEmpty:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ix(e,...n)},isEnd:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return sx(e,...n)},isNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ux(e,...n)},isStart:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return lx(e,...n)},last:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return cx(e,...n)},leaf:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return fx(e,...n)},levels:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return px(e,...n)},liftNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Gx(e,...n)},mergeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Yx(e,...n)},move:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jx(e,...n)},moveNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Jx(e,...n)},next:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return gx(e,...n)},node:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return vx(e,...n)},nodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Cx(e,...n)},normalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bx(e,...n)},parent:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yx(e,...n)},path:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Ex(e,...n)},pathRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Dx(e,...n)},pathRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xx(e,...n)},point:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Tx(e,...n)},pointRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wx(e,...n)},pointRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Sx(e,...n)},positions:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Ax(e,...n)},previous:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Bx(e,...n)},range:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Ox(e,...n)},rangeRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Fx(e,...n)},rangeRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Mx(e,...n)},removeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Qx(e,...n)},select:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Wx(e,...n)},setNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return eE(e,...n)},setNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Ix(e,...n)},setPoint:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Ux(e,...n)},setSelection:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return _x(e,...n)},splitNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return rE(e,...n)},start:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Lx(e,...n)},string:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kx(e,...n)},unhangRange:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Nx(e,...n)},unsetNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return nE(e,...n)},unwrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return oE(e,...n)},void:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return GD(e,...n)},withoutNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $x(e,...n)},wrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return aE(e,...n)}};return e};i();i();i();i();i();i();i();var Pt=[];var mm=function(){return Pt.some(function(e){return e.activeTargets.length>0})};i();var hm=function(){return Pt.some(function(e){return e.skippedTargets.length>0})};i();var gm="ResizeObserver loop completed with undelivered notifications.",vm=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:gm}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=gm),window.dispatchEvent(e)};i();i();i();i();var Nn;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Nn||(Nn={}));i();i();var Wt=function(e){return Object.freeze(e)};var yc=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,Wt(this)}return e}();i();var Dc=function(){function e(t,r,n,o){return this.x=t,this.y=r,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Wt(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,a=t.right,s=t.bottom,u=t.left,l=t.width,c=t.height;return{x:r,y:n,top:o,right:a,bottom:s,left:u,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}();i();var si=function(e){return e instanceof SVGElement&&"getBBox"in e},I1=function(e){if(si(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,a=o.offsetWidth,s=o.offsetHeight;return!(a||s||e.getClientRects().length)},xc=function(e){var t;if(e instanceof Element)return!0;var r=(t=e?.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},Cm=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1};i();var $n=typeof window<"u"?window:{};var L1=new WeakMap,bm=/auto|scroll/,iE=/^tb|vertical/,sE=/msie|trident/i.test($n.navigator&&$n.navigator.userAgent),rr=function(e){return parseFloat(e||"0")},Mo=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new yc((r?t:e)||0,(r?e:t)||0)},ym=Wt({devicePixelContentBoxSize:Mo(),borderBoxSize:Mo(),contentBoxSize:Mo(),contentRect:new Dc(0,0,0,0)}),Ec=function(e,t){if(t===void 0&&(t=!1),L1.has(e)&&!t)return L1.get(e);if(I1(e))return L1.set(e,ym),ym;var r=getComputedStyle(e),n=si(e)&&e.ownerSVGElement&&e.getBBox(),o=!sE&&r.boxSizing==="border-box",a=iE.test(r.writingMode||""),s=!n&&bm.test(r.overflowY||""),u=!n&&bm.test(r.overflowX||""),l=n?0:rr(r.paddingTop),c=n?0:rr(r.paddingRight),d=n?0:rr(r.paddingBottom),h=n?0:rr(r.paddingLeft),m=n?0:rr(r.borderTopWidth),C=n?0:rr(r.borderRightWidth),v=n?0:rr(r.borderBottomWidth),p=n?0:rr(r.borderLeftWidth),b=h+c,y=l+d,E=p+C,B=m+v,A=u?e.offsetHeight-B-e.clientHeight:0,I=s?e.offsetWidth-E-e.clientWidth:0,D=o?b+E:0,T=o?y+B:0,V=n?n.width:rr(r.width)-D-I,L=n?n.height:rr(r.height)-T-A,K=V+b+I+E,X=L+y+A+B,N=Wt({devicePixelContentBoxSize:Mo(Math.round(V*devicePixelRatio),Math.round(L*devicePixelRatio),a),borderBoxSize:Mo(K,X,a),contentBoxSize:Mo(V,L,a),contentRect:new Dc(h,l,V,L)});return L1.set(e,N),N},k1=function(e,t,r){var n=Ec(e,r),o=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case Nn.DEVICE_PIXEL_CONTENT_BOX:return s;case Nn.BORDER_BOX:return o;default:return a}};var wc=function(){function e(t){var r=Ec(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=Wt([r.borderBoxSize]),this.contentBoxSize=Wt([r.contentBoxSize]),this.devicePixelContentBoxSize=Wt([r.devicePixelContentBoxSize])}return e}();i();var N1=function(e){if(I1(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t};var Dm=function(){var e=1/0,t=[];Pt.forEach(function(s){if(s.activeTargets.length!==0){var u=[];s.activeTargets.forEach(function(c){var d=new wc(c.target),h=N1(c.target);u.push(d),c.lastReportedSize=k1(c.target,c.observedBox),h<e&&(e=h)}),t.push(function(){s.callback.call(s.observer,u,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var o=n[r];o()}return e};i();var Sc=function(e){Pt.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(o){o.isActive()&&(N1(o.target)>e?r.activeTargets.push(o):r.skippedTargets.push(o))})})};var xm=function(){var e=0;for(Sc(e);mm();)e=Dm(),Sc(e);return hm()&&vm(),e>0};i();i();var Tc,Em=[],uE=function(){return Em.splice(0).forEach(function(e){return e()})},wm=function(e){if(!Tc){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return uE()}).observe(r,n),Tc=function(){r.textContent="".concat(t?t--:t++)}}Em.push(e),Tc()};var Sm=function(e){wm(function(){requestAnimationFrame(e)})};var $1=0,lE=function(){return!!$1},cE=250,fE={attributes:!0,characterData:!0,childList:!0,subtree:!0},Tm=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Am=function(e){return e===void 0&&(e=0),Date.now()+e},Ac=!1,pE=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=cE),!Ac){Ac=!0;var n=Am(t);Sm(function(){var o=!1;try{o=xm()}finally{if(Ac=!1,t=n-Am(),!lE())return;o?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,fE)};document.body?r():$n.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Tm.forEach(function(r){return $n.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Tm.forEach(function(r){return $n.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),Z1=new pE,Bc=function(e){!$1&&e>0&&Z1.start(),$1+=e,!$1&&Z1.stop()};i();var dE=function(e){return!si(e)&&!Cm(e)&&getComputedStyle(e).display==="inline"},Bm=function(){function e(t,r){this.target=t,this.observedBox=r||Nn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=k1(this.target,this.observedBox,!0);return dE(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}();i();var Fm=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}();var H1=new WeakMap,Mm=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},ui=function(){function e(){}return e.connect=function(t,r){var n=new Fm(t,r);H1.set(t,n)},e.observe=function(t,r,n){var o=H1.get(t),a=o.observationTargets.length===0;Mm(o.observationTargets,r)<0&&(a&&Pt.push(o),o.observationTargets.push(new Bm(r,n&&n.box)),Bc(1),Z1.schedule())},e.unobserve=function(t,r){var n=H1.get(t),o=Mm(n.observationTargets,r),a=n.observationTargets.length===1;o>=0&&(a&&Pt.splice(Pt.indexOf(n),1),n.observationTargets.splice(o,1),Bc(-1))},e.disconnect=function(t){var r=this,n=H1.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}();var Fc=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ui.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!xc(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ui.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!xc(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ui.unobserve(this,t)},e.prototype.disconnect=function(){ui.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();var W1=z(Lm()),Ym=z(require("react-dom"));function q1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CE(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Po(e,t){if(e==null)return{};var r=CE(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Vc=(0,O.createContext)(null),Qr=()=>{var e=(0,O.useContext)(Vc);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},Jm=parseInt(O.default.version.split(".")[0],10),bE=typeof navigator<"u"&&typeof window<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,km=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),Tt=typeof navigator<"u"&&/Android/.test(navigator.userAgent),K1=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),ci=typeof navigator<"u"&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),yE=typeof navigator<"u"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),Qm=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent),DE=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),xE=Tt&&typeof navigator<"u"&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),EE=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),wE=typeof navigator<"u"&&/.*UCBrowser/.test(navigator.userAgent),SE=typeof navigator<"u"&&/.*Wechat/.test(navigator.userAgent),U1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",qr=(!DE||!xE)&&!yE&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",jc=new WeakMap,Wc=new WeakMap,e3=new WeakMap,_1=new WeakMap,Rc=new WeakMap,pi=new WeakMap,zn=new WeakMap,Ic=new WeakMap,X1=new WeakMap,Lc=new WeakMap,Zn=new WeakMap,Hn=new WeakMap,fi=new WeakMap,kc=new WeakMap,Uc=new WeakMap,Ut=new WeakMap,Tr=new WeakMap,mt=new WeakMap,Xr=new WeakMap,Yr=new WeakMap,t3=new WeakMap,Ro=Symbol("placeholder"),r3=Symbol("mark-placeholder"),TE=globalThis.Text,_c=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,AE=e=>Jr(e)&&e.nodeType===8,Rt=e=>Jr(e)&&e.nodeType===1,Jr=e=>{var t=_c(e);return!!t&&e instanceof t.Node},Nc=e=>{var t=e&&e.anchorNode&&_c(e.anchorNode);return!!t&&e instanceof t.Selection},n3=e=>Jr(e)&&e.nodeType===3,BE=e=>e.clipboardData&&e.clipboardData.getData("text/plain")!==""&&e.clipboardData.types.length===1,FE=e=>{var[t,r]=e;if(Rt(t)&&t.childNodes.length){var n=r===t.childNodes.length,o=n?r-1:r;for([t,o]=o3(t,o,n?"backward":"forward"),n=o<r;Rt(t)&&t.childNodes.length;){var a=n?t.childNodes.length-1:0;t=OE(t,a,n?"backward":"forward")}r=n&&t.textContent!=null?t.textContent.length:0}return[t,r]},ME=e=>{for(var t=e&&e.parentNode;t;){if(t.toString()==="[object ShadowRoot]")return!0;t=t.parentNode}return!1},o3=(e,t,r)=>{for(var{childNodes:n}=e,o=n[t],a=t,s=!1,u=!1;(AE(o)||Rt(o)&&o.childNodes.length===0||Rt(o)&&o.getAttribute("contenteditable")==="false")&&!(s&&u);){if(a>=n.length){s=!0,a=t-1,r="backward";continue}if(a<0){u=!0,a=t+1,r="forward";continue}o=n[a],t=a,a+=r==="forward"?1:-1}return[o,t]},OE=(e,t,r)=>{var[n]=o3(e,t,r);return n},a3=e=>{var t="";if(n3(e)&&e.nodeValue)return e.nodeValue;if(Rt(e)){for(var r of Array.from(e.childNodes))t+=a3(r);var n=getComputedStyle(e).getPropertyValue("display");(n==="block"||n==="list"||e.tagName==="BR")&&(t+=`
|
|
11
|
+
`)}return t},PE=/data-slate-fragment="(.+?)"/m,RE=e=>{var t=e.getData("text/html"),[,r]=t.match(PE)||[];return r},Kc=(e,t,r)=>{var{target:n}=t;if(Rt(n)&&n.matches('[contentEditable="false"]'))return!1;var{document:o}=R.getWindow(e);if(o.contains(n))return R.hasDOMNode(e,n,{editable:!0});var a=r.find(s=>{var{addedNodes:u,removedNodes:l}=s;for(var c of u)if(c===n||c.contains(n))return!0;for(var d of l)if(d===n||d.contains(n))return!0});return!a||a===t?!1:Kc(e,a,r)},IE=0,$c=class{constructor(){this.id="".concat(IE++)}},R={androidPendingDiffs:e=>mt.get(e),androidScheduleFlush:e=>{var t;(t=Uc.get(e))===null||t===void 0||t()},blur:e=>{var t=R.toDOMNode(e,e),r=R.findDocumentOrShadowRoot(e);Zn.set(e,!1),r.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,r=R.findDocumentOrShadowRoot(e),n=r.getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&P.deselect(e)},findDocumentOrShadowRoot:e=>{var t=R.toDOMNode(e,e),r=t.getRootNode();return(r instanceof Document||r instanceof ShadowRoot)&&r.getSelection!=null?r:t.ownerDocument},findEventRange:(e,t)=>{"nativeEvent"in t&&(t=t.nativeEvent);var{clientX:r,clientY:n,target:o}=t;if(r==null||n==null)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var a=R.toSlateNode(e,t.target),s=R.findPath(e,a);if(U.isElement(a)&&g.isVoid(e,a)){var u=o.getBoundingClientRect(),l=e.isInline(a)?r-u.left<u.left+u.width-r:n-u.top<u.top+u.height-n,c=g.point(e,s,{edge:l?"start":"end"}),d=l?g.before(e,c):g.after(e,c);if(d){var h=g.range(e,d);return h}}var m,{document:C}=R.getWindow(e);if(C.caretRangeFromPoint)m=C.caretRangeFromPoint(r,n);else{var v=C.caretPositionFromPoint(r,n);v&&(m=C.createRange(),m.setStart(v.offsetNode,v.offset),m.setEnd(v.offsetNode,v.offset))}if(!m)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var p=R.toSlateRange(e,m,{exactMatch:!1,suppressThrow:!1});return p},findKey:(e,t)=>{var r=Ic.get(t);return r||(r=new $c,Ic.set(t,r)),r},findPath:(e,t)=>{for(var r=[],n=t;;){var o=Wc.get(n);if(o==null){if(g.isEditor(n))return r;break}var a=jc.get(n);if(a==null)break;r.unshift(a),n=o}throw new Error("Unable to find the path for Slate node: ".concat(_e.stringify(t)))},focus:e=>{var t=R.toDOMNode(e,e),r=R.findDocumentOrShadowRoot(e);Zn.set(e,!0),r.activeElement!==t&&t.focus({preventScroll:!0})},getWindow:e=>{var t=e3.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},hasDOMNode:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{editable:o=!1}=n,a=R.toDOMNode(t,t),s;try{s=Rt(r)?r:r.parentElement}catch(u){if(!u.message.includes('Permission denied to access property "nodeType"'))throw u}return s?s.closest("[data-slate-editor]")===a&&(!o||s.isContentEditable?!0:typeof s.isContentEditable=="boolean"&&s.closest('[contenteditable="false"]')===a||!!s.getAttribute("data-slate-zero-width")):!1},hasEditableTarget:(e,t)=>Jr(t)&&R.hasDOMNode(e,t,{editable:!0}),hasRange:(e,t)=>{var{anchor:r,focus:n}=t;return g.hasPath(e,r.path)&&g.hasPath(e,n.path)},hasSelectableTarget:(e,t)=>R.hasEditableTarget(e,t)||R.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>Jr(t)&&R.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!Hn.get(e),isFocused:e=>!!Zn.get(e),isReadOnly:e=>!!Lc.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(Lc.get(e))return!1;var r=R.hasTarget(e,t)&&R.toSlateNode(e,t);return U.isElement(r)&&g.isVoid(e,r)},setFragmentData:(e,t,r)=>e.setFragmentData(t,r),toDOMNode:(e,t)=>{var r=X1.get(e),n=g.isEditor(t)?_1.get(e):r?.get(R.findKey(e,t));if(!n)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(_e.stringify(t)));return n},toDOMPoint:(e,t)=>{var[r]=g.node(e,t.path),n=R.toDOMNode(e,r),o;g.void(e,{at:t})&&(t={path:t.path,offset:0});for(var a="[data-slate-string], [data-slate-zero-width]",s=Array.from(n.querySelectorAll(a)),u=0,l=0;l<s.length;l++){var c=s[l],d=c.childNodes[0];if(!(d==null||d.textContent==null)){var{length:h}=d.textContent,m=c.getAttribute("data-slate-length"),C=m==null?h:parseInt(m,10),v=u+C,p=s[l+1];if(t.offset===v&&p!==null&&p!==void 0&&p.hasAttribute("data-slate-mark-placeholder")){var b,y=p.childNodes[0];o=[y instanceof TE?y:p,(b=p.textContent)!==null&&b!==void 0&&b.startsWith("\uFEFF")?1:0];break}if(t.offset<=v){var E=Math.min(h,Math.max(0,t.offset-u));o=[d,E];break}u=v}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(_e.stringify(t)));return o},toDOMRange:(e,t)=>{var{anchor:r,focus:n}=t,o=F.isBackward(t),a=R.toDOMPoint(e,r),s=F.isCollapsed(t)?a:R.toDOMPoint(e,n),u=R.getWindow(e),l=u.document.createRange(),[c,d]=o?s:a,[h,m]=o?a:s,C=Rt(c)?c:c.parentElement,v=!!C.getAttribute("data-slate-zero-width"),p=Rt(h)?h:h.parentElement,b=!!p.getAttribute("data-slate-zero-width");return l.setStart(c,v?1:d),l.setEnd(h,b?1:m),l},toSlateNode:(e,t)=>{var r=Rt(t)?t:t.parentElement;r&&!r.hasAttribute("data-slate-node")&&(r=r.closest("[data-slate-node]"));var n=r?pi.get(r):null;if(!n)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(r));return n},toSlatePoint:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,[a,s]=n?t:FE(t),u=a.parentNode,l=null,c=0;if(u){var d,h,m=R.toDOMNode(e,e),C=u.closest('[data-slate-void="true"]'),v=C&&m.contains(C)?C:null,p=u.closest("[data-slate-leaf]"),b=null;if(p){if(l=p.closest('[data-slate-node="text"]'),l){var y=R.getWindow(e),E=y.document.createRange();E.setStart(l,0),E.setEnd(a,s);var B=E.cloneContents(),A=[...Array.prototype.slice.call(B.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(B.querySelectorAll("[contenteditable=false]"))];A.forEach(Z=>{if(Tt&&!n&&Z.hasAttribute("data-slate-zero-width")&&Z.textContent.length>0&&Z.textContext!=="\uFEFF"){Z.textContent.startsWith("\uFEFF")&&(Z.textContent=Z.textContent.slice(1));return}Z.parentNode.removeChild(Z)}),c=B.textContent.length,b=l}}else if(v){for(var I=v.querySelectorAll("[data-slate-leaf]"),D=0;D<I.length;D++){var T=I[D];if(R.hasDOMNode(e,T)){p=T;break}}p?(l=p.closest('[data-slate-node="text"]'),b=p,c=b.textContent.length,b.querySelectorAll("[data-slate-zero-width]").forEach(Z=>{c-=Z.textContent.length})):c=1}b&&c===b.textContent.length&&Tt&&b.getAttribute("data-slate-zero-width")==="z"&&(d=b.textContent)!==null&&d!==void 0&&d.startsWith("\uFEFF")&&(u.hasAttribute("data-slate-zero-width")||K1&&(h=b.textContent)!==null&&h!==void 0&&h.endsWith(`
|
|
12
12
|
|
|
13
|
-
`))&&c--}if(Tt&&!l&&!n){var j=u.hasAttribute("data-slate-node")?u:u.closest("[data-slate-node]");if(j&&R.hasDOMNode(e,j,{editable:!0})){var I=R.toSlateNode(e,j),{path:K,offset:X}=g.start(e,R.findPath(e,I));return j.querySelector("[data-slate-leaf]")||(X=s),{path:K,offset:X}}}if(!l){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var N=R.toSlateNode(e,l),$=R.findPath(e,N);return{path:$,offset:c}},toSlateRange:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,a=Nc(t)?t.anchorNode:t.startContainer,s,u,l,c,d;if(a&&(Nc(t)?(s=t.anchorNode,u=t.anchorOffset,l=t.focusNode,c=t.focusOffset,Ym&&TE(s)?d=t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:d=t.isCollapsed):(s=t.startContainer,u=t.startOffset,l=t.endContainer,c=t.endOffset,d=t.collapsed)),s==null||l==null||u==null||c==null)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));if("getAttribute"in l&&l.getAttribute("contenteditable")==="false"&&l.getAttribute("data-slate-void")!=="true"){var h;l=s,c=((h=s.textContent)===null||h===void 0?void 0:h.length)||0}var m=R.toSlatePoint(e,[s,u],{exactMatch:n,suppressThrow:o});if(!m)return null;var b=d?m:R.toSlatePoint(e,[l,c],{exactMatch:n,suppressThrow:o});if(!b)return null;if(Ks&&!d&&s!==l){var v=g.isEnd(e,m,m.path),p=g.isStart(e,b,b.path);if(v){var C=g.after(e,m);m=C||m}if(p){var y=g.before(e,b);b=y||b}}var E={anchor:m,focus:b};return F.isExpanded(E)&&F.isForward(E)&&Rt(l)&&g.void(e,{at:E.focus,mode:"highest"})&&(E=g.unhangRange(e,E,{voids:!0})),E}};function OE(e,t){var{path:r,diff:n}=t;if(!g.hasPath(e,r))return!1;var o=H.get(e,r);if(!G.isText(o))return!1;if(n.start!==o.text.length||n.text.length===0)return o.text.slice(n.start,n.start+n.text.length)===n.text;var a=x.next(r);if(!g.hasPath(e,a))return!1;var s=H.get(e,a);return G.isText(s)&&s.text.startsWith(n.text)}function o3(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.reduce((o,a)=>o.slice(0,a.start)+a.text+o.slice(a.end),e)}function PE(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++)if(e.charAt(n)!==t.charAt(n))return n;return r}function RE(e,t,r){for(var n=Math.min(e.length,t.length,r),o=0;o<n;o++)if(e.charAt(e.length-o-1)!==t.charAt(t.length-o-1))return o;return n}function a3(e,t){var{start:r,end:n,text:o}=t,a=e.slice(r,n),s=PE(a,o),u=Math.min(a.length-s,o.length-s),l=RE(a,o,u),c={start:r+s,end:n-l,text:o.slice(s,o.length-l)};return c.start===c.end&&c.text.length===0?null:c}function LE(e,t,r){var n=Math.min(t.start,r.start),o=Math.max(0,Math.min(t.start+t.text.length,r.end)-r.start),a=o3(e,t,r),s=Math.max(r.start+r.text.length,t.start+t.text.length+(t.start+t.text.length>r.start?r.text.length:0)-o),u=a.slice(n,s),l=Math.max(t.end,r.end-t.text.length+(t.end-t.start));return a3(e,{start:n,end:l,text:u})}function IE(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}function Zc(e,t){var{path:r,offset:n}=t;if(!g.hasPath(e,r))return null;var o=H.get(e,r);if(!G.isText(o))return null;var a=g.above(e,{match:u=>U.isElement(u)&&g.isBlock(e,u),at:r});if(!a)return null;for(;n>o.text.length;){var s=g.next(e,{at:r,match:G.isText});if(!s||!x.isDescendant(s[1],a[1]))return null;n-=o.text.length,o=s[0],r=s[1]}return{path:r,offset:n}}function Im(e,t){var r=Zc(e,t.anchor);if(!r)return null;if(F.isCollapsed(t))return{anchor:r,focus:r};var n=Zc(e,t.focus);return n?{anchor:r,focus:n}:null}function Hc(e,t,r){var n=mt.get(e),o=n?.find(d=>{var{path:h}=d;return x.equals(h,t.path)});if(!o||t.offset<=o.diff.start)return ce.transform(t,r,{affinity:"backward"});var{diff:a}=o;if(t.offset<=a.start+a.text.length){var s={path:t.path,offset:a.start},u=ce.transform(s,r,{affinity:"backward"});return u?{path:u.path,offset:u.offset+t.offset-a.start}:null}var l={path:t.path,offset:t.offset-a.text.length+a.end-a.start},c=ce.transform(l,r,{affinity:"backward"});return c?r.type==="split_node"&&x.equals(r.path,t.path)&&l.offset<r.position&&a.start<r.position?c:{path:c.path,offset:c.offset+a.text.length-a.end+a.start}:null}function km(e,t,r){var n=Hc(e,t.anchor,r);if(!n)return null;if(F.isCollapsed(t))return{anchor:n,focus:n};var o=Hc(e,t.focus,r);return o?{anchor:n,focus:o}:null}function kE(e,t){var{path:r,diff:n,id:o}=e;switch(t.type){case"insert_text":return!x.equals(t.path,r)||t.offset>=n.end?e:t.offset<=n.start?{diff:{start:t.text.length+n.start,end:t.text.length+n.end,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end+t.text.length,text:n.text},id:o,path:r};case"remove_text":return!x.equals(t.path,r)||t.offset>=n.end?e:t.offset+t.text.length<=n.start?{diff:{start:n.start-t.text.length,end:n.end-t.text.length,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end-t.text.length,text:n.text},id:o,path:r};case"split_node":return!x.equals(t.path,r)||t.position>=n.end?{diff:n,id:o,path:x.transform(r,t,{affinity:"backward"})}:t.position>n.start?{diff:{start:n.start,end:Math.min(t.position,n.end),text:n.text},id:o,path:r}:{diff:{start:n.start-t.position,end:n.end-t.position,text:n.text},id:o,path:x.transform(r,t,{affinity:"forward"})};case"merge_node":return x.equals(t.path,r)?{diff:{start:n.start+t.position,end:n.end+t.position,text:n.text},id:o,path:x.transform(r,t)}:{diff:n,id:o,path:x.transform(r,t)}}var a=x.transform(r,t);return a?{diff:n,path:a,id:o}:null}function Nm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Vs(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Nm(Object(r),!0).forEach(function(n){qs(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var NE=25,$E=200,ZE=function(){},HE=e=>e?.constructor.name==="DataTransfer";function zE(e){var{editor:t,scheduleOnDOMSelectionChange:r,onDOMSelectionChange:n}=e,o=!1,a=null,s=null,u=null,l=0,c=!1,d=()=>{var N=Yr.get(t);if(Yr.delete(t),N){var{selection:$}=t,Z=Im(t,N);Z&&(!$||!F.equals(Z,$))&&P.select(t,Z)}},h=()=>{var N=Xr.get(t);if(Xr.delete(t),!!N){if(N.at){var $=ce.isPoint(N.at)?Zc(t,N.at):Im(t,N.at);if(!$)return;var Z=g.range(t,$);(!t.selection||!F.equals(t.selection,Z))&&P.select(t,$)}N.run()}},m=()=>{if(s&&(clearTimeout(s),s=null),u&&(clearTimeout(u),u=null),!A()&&!B()){d();return}o||(o=!0,setTimeout(()=>o=!1)),B()&&(o="action");var N=t.selection&&g.rangeRef(t,t.selection,{affinity:"forward"});Tr.set(t,t.marks),ZE("flush",Xr.get(t),mt.get(t));for(var $=A(),Z;Z=(W=mt.get(t))===null||W===void 0?void 0:W[0];){var W,le,me=Ut.get(t);me!==void 0&&(Ut.delete(t),t.marks=me),me&&c===!1&&(c=null);var De=IE(Z);(!t.selection||!F.equals(t.selection,De))&&P.select(t,De),Z.diff.text?g.insertText(t,Z.diff.text):g.deleteFragment(t),mt.set(t,(le=mt.get(t))===null||le===void 0?void 0:le.filter(we=>{var{id:he}=we;return he!==Z.id})),OE(t,Z)||($=!1,Xr.delete(t),Tr.delete(t),o="action",Yr.delete(t),r.cancel(),n.cancel(),N?.unref())}var ae=N?.unref();if(ae&&!Yr.get(t)&&(!t.selection||!F.equals(ae,t.selection))&&P.select(t,ae),B()){h();return}$&&r(),r.flush(),n.flush(),d();var de=Tr.get(t);Tr.delete(t),de!==void 0&&(t.marks=de,t.onChange())},b=N=>{a&&clearTimeout(a),a=setTimeout(()=>{Hn.set(t,!1),m()},NE)},v=N=>{Hn.set(t,!0),a&&(clearTimeout(a),a=null)},p=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Z=Rc.get(t);if(Z){if(A()||$){Z.style.display="none";return}Z.style.removeProperty("display")}},C=(N,$)=>{var Z,W=(Z=mt.get(t))!==null&&Z!==void 0?Z:[];mt.set(t,W);var le=H.leaf(t,N),me=W.findIndex(de=>x.equals(de.path,N));if(me<0){var De=a3(le.text,$);De&&W.push({path:N,diff:$,id:l++}),p();return}var ae=LE(le.text,W[me].diff,$);if(!ae){W.splice(me,1),p();return}W[me]=Vs(Vs({},W[me]),{},{diff:ae})},y=function($){var{at:Z}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c=!1,Yr.delete(t),r.cancel(),n.cancel(),B()&&m(),Xr.set(t,{at:Z,run:$}),u=setTimeout(m)},E=N=>{var $;s&&(clearTimeout(s),s=null);var{inputType:Z}=N,W=null,le=N.dataTransfer||N.data||void 0;c!==!1&&Z!=="insertText"&&Z!=="insertCompositionText"&&(c=!1);var[me]=N.getTargetRanges();me&&(W=R.toSlateRange(t,me,{exactMatch:!1,suppressThrow:!0}));var De=R.getWindow(t),ae=De.getSelection();if(!W&&ae&&(me=ae,W=R.toSlateRange(t,ae,{exactMatch:!1,suppressThrow:!0})),W=($=W)!==null&&$!==void 0?$:t.selection,!!W){var de=!0;if(Z.startsWith("delete")){if(F.isExpanded(W)){var[we,he]=F.edges(W),qe=H.leaf(t,we.path);if(qe.text.length===we.offset&&he.offset===0){var w=g.next(t,{at:we.path,match:G.isText});w&&x.equals(w[1],he.path)&&(W={anchor:he,focus:he})}}var V=Z.endsWith("Backward")?"backward":"forward",[k,_]=F.edges(W),[ue,te]=g.leaf(t,k.path),fe={text:"",start:k.offset,end:_.offset},ve=mt.get(t),Ce=ve?.find(ye=>x.equals(ye.path,te)),Se=Ce?[Ce.diff,fe]:[fe],be=o3(ue.text,...Se);if(be.length===0&&(de=!1),F.isExpanded(W)){if(de&&x.equals(W.anchor.path,W.focus.path)){var Ue={path:W.anchor.path,offset:k.offset},Xe=g.range(t,Ue,Ue);return T(Xe),C(W.anchor.path,{text:"",end:_.offset,start:k.offset})}return y(()=>g.deleteFragment(t,{direction:V}),{at:W})}}switch(Z){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return y(()=>g.deleteFragment(t),{at:W});case"deleteContent":case"deleteContentForward":{var{anchor:$e}=W;if(de&&F.isCollapsed(W)){var ft=H.leaf(t,$e.path);if($e.offset<ft.text.length)return C($e.path,{text:"",start:$e.offset,end:$e.offset+1})}return y(()=>g.deleteForward(t),{at:W})}case"deleteContentBackward":{var at,{anchor:Ye}=W,pt=Nc(me)?me.isCollapsed:!!((at=me)!==null&&at!==void 0&&at.collapsed);return de&&pt&&F.isCollapsed(W)&&Ye.offset>0?C(Ye.path,{text:"",start:Ye.offset-1,end:Ye.offset}):y(()=>g.deleteBackward(t),{at:W})}case"deleteEntireSoftLine":return y(()=>{g.deleteBackward(t,{unit:"line"}),g.deleteForward(t,{unit:"line"})},{at:W});case"deleteHardLineBackward":return y(()=>g.deleteBackward(t,{unit:"block"}),{at:W});case"deleteSoftLineBackward":return y(()=>g.deleteBackward(t,{unit:"line"}),{at:W});case"deleteHardLineForward":return y(()=>g.deleteForward(t,{unit:"block"}),{at:W});case"deleteSoftLineForward":return y(()=>g.deleteForward(t,{unit:"line"}),{at:W});case"deleteWordBackward":return y(()=>g.deleteBackward(t,{unit:"word"}),{at:W});case"deleteWordForward":return y(()=>g.deleteForward(t,{unit:"word"}),{at:W});case"insertLineBreak":return y(()=>g.insertSoftBreak(t),{at:W});case"insertParagraph":return y(()=>g.insertBreak(t),{at:W});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{if(HE(le))return y(()=>R.insertData(t,le),{at:W});var S=le??"";if(Ut.get(t)&&(S=S.replace("\uFEFF","")),Z==="insertText"&&/.*\n.*\n$/.test(S)&&(S=S.slice(0,-1)),S.includes(`
|
|
13
|
+
`))&&c--}if(Tt&&!l&&!n){var V=u.hasAttribute("data-slate-node")?u:u.closest("[data-slate-node]");if(V&&R.hasDOMNode(e,V,{editable:!0})){var L=R.toSlateNode(e,V),{path:K,offset:X}=g.start(e,R.findPath(e,L));return V.querySelector("[data-slate-leaf]")||(X=s),{path:K,offset:X}}}if(!l){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var N=R.toSlateNode(e,l),$=R.findPath(e,N);return{path:$,offset:c}},toSlateRange:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,a=Nc(t)?t.anchorNode:t.startContainer,s,u,l,c,d;if(a&&(Nc(t)?(s=t.anchorNode,u=t.anchorOffset,l=t.focusNode,c=t.focusOffset,Qm&&ME(s)?d=t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:d=t.isCollapsed):(s=t.startContainer,u=t.startOffset,l=t.endContainer,c=t.endOffset,d=t.collapsed)),s==null||l==null||u==null||c==null)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));if("getAttribute"in l&&l.getAttribute("contenteditable")==="false"&&l.getAttribute("data-slate-void")!=="true"){var h;l=s,c=((h=s.textContent)===null||h===void 0?void 0:h.length)||0}var m=R.toSlatePoint(e,[s,u],{exactMatch:n,suppressThrow:o});if(!m)return null;var C=d?m:R.toSlatePoint(e,[l,c],{exactMatch:n,suppressThrow:o});if(!C)return null;if(K1&&!d&&s!==l){var v=g.isEnd(e,m,m.path),p=g.isStart(e,C,C.path);if(v){var b=g.after(e,m);m=b||m}if(p){var y=g.before(e,C);C=y||C}}var E={anchor:m,focus:C};return F.isExpanded(E)&&F.isForward(E)&&Rt(l)&&g.void(e,{at:E.focus,mode:"highest"})&&(E=g.unhangRange(e,E,{voids:!0})),E}};function LE(e,t){var{path:r,diff:n}=t;if(!g.hasPath(e,r))return!1;var o=H.get(e,r);if(!G.isText(o))return!1;if(n.start!==o.text.length||n.text.length===0)return o.text.slice(n.start,n.start+n.text.length)===n.text;var a=x.next(r);if(!g.hasPath(e,a))return!1;var s=H.get(e,a);return G.isText(s)&&s.text.startsWith(n.text)}function i3(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.reduce((o,a)=>o.slice(0,a.start)+a.text+o.slice(a.end),e)}function kE(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++)if(e.charAt(n)!==t.charAt(n))return n;return r}function NE(e,t,r){for(var n=Math.min(e.length,t.length,r),o=0;o<n;o++)if(e.charAt(e.length-o-1)!==t.charAt(t.length-o-1))return o;return n}function s3(e,t){var{start:r,end:n,text:o}=t,a=e.slice(r,n),s=kE(a,o),u=Math.min(a.length-s,o.length-s),l=NE(a,o,u),c={start:r+s,end:n-l,text:o.slice(s,o.length-l)};return c.start===c.end&&c.text.length===0?null:c}function $E(e,t,r){var n=Math.min(t.start,r.start),o=Math.max(0,Math.min(t.start+t.text.length,r.end)-r.start),a=i3(e,t,r),s=Math.max(r.start+r.text.length,t.start+t.text.length+(t.start+t.text.length>r.start?r.text.length:0)-o),u=a.slice(n,s),l=Math.max(t.end,r.end-t.text.length+(t.end-t.start));return s3(e,{start:n,end:l,text:u})}function ZE(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}function Zc(e,t){var{path:r,offset:n}=t;if(!g.hasPath(e,r))return null;var o=H.get(e,r);if(!G.isText(o))return null;var a=g.above(e,{match:u=>U.isElement(u)&&g.isBlock(e,u),at:r});if(!a)return null;for(;n>o.text.length;){var s=g.next(e,{at:r,match:G.isText});if(!s||!x.isDescendant(s[1],a[1]))return null;n-=o.text.length,o=s[0],r=s[1]}return{path:r,offset:n}}function Nm(e,t){var r=Zc(e,t.anchor);if(!r)return null;if(F.isCollapsed(t))return{anchor:r,focus:r};var n=Zc(e,t.focus);return n?{anchor:r,focus:n}:null}function Hc(e,t,r){var n=mt.get(e),o=n?.find(d=>{var{path:h}=d;return x.equals(h,t.path)});if(!o||t.offset<=o.diff.start)return ce.transform(t,r,{affinity:"backward"});var{diff:a}=o;if(t.offset<=a.start+a.text.length){var s={path:t.path,offset:a.start},u=ce.transform(s,r,{affinity:"backward"});return u?{path:u.path,offset:u.offset+t.offset-a.start}:null}var l={path:t.path,offset:t.offset-a.text.length+a.end-a.start},c=ce.transform(l,r,{affinity:"backward"});return c?r.type==="split_node"&&x.equals(r.path,t.path)&&l.offset<r.position&&a.start<r.position?c:{path:c.path,offset:c.offset+a.text.length-a.end+a.start}:null}function $m(e,t,r){var n=Hc(e,t.anchor,r);if(!n)return null;if(F.isCollapsed(t))return{anchor:n,focus:n};var o=Hc(e,t.focus,r);return o?{anchor:n,focus:o}:null}function HE(e,t){var{path:r,diff:n,id:o}=e;switch(t.type){case"insert_text":return!x.equals(t.path,r)||t.offset>=n.end?e:t.offset<=n.start?{diff:{start:t.text.length+n.start,end:t.text.length+n.end,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end+t.text.length,text:n.text},id:o,path:r};case"remove_text":return!x.equals(t.path,r)||t.offset>=n.end?e:t.offset+t.text.length<=n.start?{diff:{start:n.start-t.text.length,end:n.end-t.text.length,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end-t.text.length,text:n.text},id:o,path:r};case"split_node":return!x.equals(t.path,r)||t.position>=n.end?{diff:n,id:o,path:x.transform(r,t,{affinity:"backward"})}:t.position>n.start?{diff:{start:n.start,end:Math.min(t.position,n.end),text:n.text},id:o,path:r}:{diff:{start:n.start-t.position,end:n.end-t.position,text:n.text},id:o,path:x.transform(r,t,{affinity:"forward"})};case"merge_node":return x.equals(t.path,r)?{diff:{start:n.start+t.position,end:n.end+t.position,text:n.text},id:o,path:x.transform(r,t)}:{diff:n,id:o,path:x.transform(r,t)}}var a=x.transform(r,t);return a?{diff:n,path:a,id:o}:null}function Zm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function V1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Zm(Object(r),!0).forEach(function(n){q1(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var zE=25,VE=200,jE=function(){},WE=e=>e?.constructor.name==="DataTransfer";function UE(e){var{editor:t,scheduleOnDOMSelectionChange:r,onDOMSelectionChange:n}=e,o=!1,a=null,s=null,u=null,l=0,c=!1,d=()=>{var N=Yr.get(t);if(Yr.delete(t),N){var{selection:$}=t,Z=Nm(t,N);Z&&(!$||!F.equals(Z,$))&&P.select(t,Z)}},h=()=>{var N=Xr.get(t);if(Xr.delete(t),!!N){if(N.at){var $=ce.isPoint(N.at)?Zc(t,N.at):Nm(t,N.at);if(!$)return;var Z=g.range(t,$);(!t.selection||!F.equals(t.selection,Z))&&P.select(t,$)}N.run()}},m=()=>{if(s&&(clearTimeout(s),s=null),u&&(clearTimeout(u),u=null),!A()&&!B()){d();return}o||(o=!0,setTimeout(()=>o=!1)),B()&&(o="action");var N=t.selection&&g.rangeRef(t,t.selection,{affinity:"forward"});Tr.set(t,t.marks),jE("flush",Xr.get(t),mt.get(t));for(var $=A(),Z;Z=(W=mt.get(t))===null||W===void 0?void 0:W[0];){var W,le,me=Ut.get(t);me!==void 0&&(Ut.delete(t),t.marks=me),me&&c===!1&&(c=null);var De=ZE(Z);(!t.selection||!F.equals(t.selection,De))&&P.select(t,De),Z.diff.text?g.insertText(t,Z.diff.text):g.deleteFragment(t),mt.set(t,(le=mt.get(t))===null||le===void 0?void 0:le.filter(we=>{var{id:he}=we;return he!==Z.id})),LE(t,Z)||($=!1,Xr.delete(t),Tr.delete(t),o="action",Yr.delete(t),r.cancel(),n.cancel(),N?.unref())}var ae=N?.unref();if(ae&&!Yr.get(t)&&(!t.selection||!F.equals(ae,t.selection))&&P.select(t,ae),B()){h();return}$&&r(),r.flush(),n.flush(),d();var de=Tr.get(t);Tr.delete(t),de!==void 0&&(t.marks=de,t.onChange())},C=N=>{a&&clearTimeout(a),a=setTimeout(()=>{Hn.set(t,!1),m()},zE)},v=N=>{Hn.set(t,!0),a&&(clearTimeout(a),a=null)},p=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Z=Rc.get(t);if(Z){if(A()||$){Z.style.display="none";return}Z.style.removeProperty("display")}},b=(N,$)=>{var Z,W=(Z=mt.get(t))!==null&&Z!==void 0?Z:[];mt.set(t,W);var le=H.leaf(t,N),me=W.findIndex(de=>x.equals(de.path,N));if(me<0){var De=s3(le.text,$);De&&W.push({path:N,diff:$,id:l++}),p();return}var ae=$E(le.text,W[me].diff,$);if(!ae){W.splice(me,1),p();return}W[me]=V1(V1({},W[me]),{},{diff:ae})},y=function($){var{at:Z}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c=!1,Yr.delete(t),r.cancel(),n.cancel(),B()&&m(),Xr.set(t,{at:Z,run:$}),u=setTimeout(m)},E=N=>{var $;s&&(clearTimeout(s),s=null);var{inputType:Z}=N,W=null,le=N.dataTransfer||N.data||void 0;c!==!1&&Z!=="insertText"&&Z!=="insertCompositionText"&&(c=!1);var[me]=N.getTargetRanges();me&&(W=R.toSlateRange(t,me,{exactMatch:!1,suppressThrow:!0}));var De=R.getWindow(t),ae=De.getSelection();if(!W&&ae&&(me=ae,W=R.toSlateRange(t,ae,{exactMatch:!1,suppressThrow:!0})),W=($=W)!==null&&$!==void 0?$:t.selection,!!W){var de=!0;if(Z.startsWith("delete")){if(F.isExpanded(W)){var[we,he]=F.edges(W),qe=H.leaf(t,we.path);if(qe.text.length===we.offset&&he.offset===0){var w=g.next(t,{at:we.path,match:G.isText});w&&x.equals(w[1],he.path)&&(W={anchor:he,focus:he})}}var j=Z.endsWith("Backward")?"backward":"forward",[k,_]=F.edges(W),[ue,te]=g.leaf(t,k.path),fe={text:"",start:k.offset,end:_.offset},ve=mt.get(t),be=ve?.find(ye=>x.equals(ye.path,te)),Se=be?[be.diff,fe]:[fe],Ce=i3(ue.text,...Se);if(Ce.length===0&&(de=!1),F.isExpanded(W)){if(de&&x.equals(W.anchor.path,W.focus.path)){var Ue={path:W.anchor.path,offset:k.offset},Xe=g.range(t,Ue,Ue);return T(Xe),b(W.anchor.path,{text:"",end:_.offset,start:k.offset})}return y(()=>g.deleteFragment(t,{direction:j}),{at:W})}}switch(Z){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return y(()=>g.deleteFragment(t),{at:W});case"deleteContent":case"deleteContentForward":{var{anchor:$e}=W;if(de&&F.isCollapsed(W)){var ft=H.leaf(t,$e.path);if($e.offset<ft.text.length)return b($e.path,{text:"",start:$e.offset,end:$e.offset+1})}return y(()=>g.deleteForward(t),{at:W})}case"deleteContentBackward":{var at,{anchor:Ye}=W,pt=Nc(me)?me.isCollapsed:!!((at=me)!==null&&at!==void 0&&at.collapsed);return de&&pt&&F.isCollapsed(W)&&Ye.offset>0?b(Ye.path,{text:"",start:Ye.offset-1,end:Ye.offset}):y(()=>g.deleteBackward(t),{at:W})}case"deleteEntireSoftLine":return y(()=>{g.deleteBackward(t,{unit:"line"}),g.deleteForward(t,{unit:"line"})},{at:W});case"deleteHardLineBackward":return y(()=>g.deleteBackward(t,{unit:"block"}),{at:W});case"deleteSoftLineBackward":return y(()=>g.deleteBackward(t,{unit:"line"}),{at:W});case"deleteHardLineForward":return y(()=>g.deleteForward(t,{unit:"block"}),{at:W});case"deleteSoftLineForward":return y(()=>g.deleteForward(t,{unit:"line"}),{at:W});case"deleteWordBackward":return y(()=>g.deleteBackward(t,{unit:"word"}),{at:W});case"deleteWordForward":return y(()=>g.deleteForward(t,{unit:"word"}),{at:W});case"insertLineBreak":return y(()=>g.insertSoftBreak(t),{at:W});case"insertParagraph":return y(()=>g.insertBreak(t),{at:W});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{if(WE(le))return y(()=>R.insertData(t,le),{at:W});var S=le??"";if(Ut.get(t)&&(S=S.replace("\uFEFF","")),Z==="insertText"&&/.*\n.*\n$/.test(S)&&(S=S.slice(0,-1)),S.includes(`
|
|
14
14
|
`))return y(()=>{var ye=S.split(`
|
|
15
|
-
`);ye.forEach((Je,_r)=>{Je&&g.insertText(t,Je),_r!==ye.length-1&&g.insertSoftBreak(t)})},{at:W});if(x.equals(W.anchor.path,W.focus.path)){var[q,Q]=F.edges(W),Y={start:q.offset,end:Q.offset,text:S};if(S&&c&&Z==="insertCompositionText"){var re=c.start+c.text.search(/\S|$/),ge=Y.start+Y.text.search(/\S|$/);ge===re+1&&Y.end===c.start+c.text.length?(Y.start-=1,c=null,K()):c=!1}else Z==="insertText"?c===null?c=Y:c&&F.isCollapsed(W)&&c.end+c.text.length===q.offset?c=
|
|
16
|
-
`?O.default.createElement(
|
|
17
|
-
`:""),[a]=(0,O.useState)(o);return di(()=>{var s=o();n.current&&n.current.textContent!==s&&(n.current.textContent=s)}),O.default.createElement(ew,{ref:n},a)},ew=(0,O.memo)((0,O.forwardRef)((e,t)=>O.default.createElement("span",{"data-slate-string":!0,ref:t},e.children))),Pc=e=>{var{length:t=0,isLineBreak:r=!1,isMarkPlaceholder:n=!1}=e,o={"data-slate-zero-width":r?"n":"z","data-slate-length":t};return n&&(o["data-slate-mark-placeholder"]=!0),O.default.createElement("span",Object.assign({},o),!Tt||!r?"\uFEFF":null,r?O.default.createElement("br",null):null)};function tw(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}function Hm(e){e.current&&(clearTimeout(e.current),e.current=null)}var rw=e=>{var{leaf:t,isLast:r,text:n,parent:o,renderPlaceholder:a,renderLeaf:s=E=>O.default.createElement(ow,Object.assign({},E))}=e,u=Qr(),l=(0,O.useRef)(null),c=(0,O.useRef)(null),[d,h]=(0,O.useState)(!1),m=(0,O.useRef)(null),b=(0,O.useCallback)(E=>{if(tw(l,E==null),E==null){var B;Rc.delete(u),(B=t.onPlaceholderResize)===null||B===void 0||B.call(t,null)}else{if(Rc.set(u,E),!l.current){var A=window.ResizeObserver||Fc;l.current=new A(()=>{var L;(L=t.onPlaceholderResize)===null||L===void 0||L.call(t,E)})}l.current.observe(E),c.current=E}},[c,t,u]),v=O.default.createElement(QE,{isLast:r,leaf:t,parent:o,text:n}),p=t[Ro];if((0,O.useEffect)(()=>(p?m.current||(m.current=setTimeout(()=>{h(!0),m.current=null},300)):(Hm(m),h(!1)),()=>Hm(m)),[p,h]),p&&d){var C={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:ci?"inherit":void 0},contentEditable:!1,ref:b}};v=O.default.createElement(O.default.Fragment,null,a(C),v)}var y={"data-slate-leaf":!0};return s({attributes:y,children:v,leaf:t,text:n})},nw=O.default.memo(rw,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&G.equals(t.leaf,e.leaf)&&t.leaf[Ro]===e.leaf[Ro]),ow=e=>{var{attributes:t,children:r}=e;return O.default.createElement("span",Object.assign({},t),r)},aw=e=>{for(var{decorations:t,isLast:r,parent:n,renderPlaceholder:o,renderLeaf:a,text:s}=e,u=Qr(),l=(0,O.useRef)(null),c=G.decorations(s,t),d=R.findKey(u,s),h=[],m=0;m<c.length;m++){var b=c[m];h.push(O.default.createElement(nw,{isLast:r&&m===c.length-1,key:"".concat(d.id,"-").concat(m),renderPlaceholder:o,leaf:b,text:s,parent:n,renderLeaf:a}))}var v=(0,O.useCallback)(p=>{var C=Xs.get(u);p?(C?.set(d,p),zn.set(s,p),pi.set(p,s)):(C?.delete(d),zn.delete(s),l.current&&pi.delete(l.current)),l.current=p},[l,u,d,s]);return O.default.createElement("span",{"data-slate-node":"text",ref:v},h)},s3=O.default.memo(aw,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&JE(t.decorations,e.decorations)),iw=e=>{var{decorations:t,element:r,renderElement:n=E=>O.default.createElement(uw,Object.assign({},E)),renderPlaceholder:o,renderLeaf:a,selection:s}=e,u=Qr(),l=cw(),c=u.isInline(r),d=R.findKey(u,r),h=(0,O.useCallback)(E=>{var B=Xs.get(u);E?(B?.set(d,E),zn.set(r,E),pi.set(E,r)):(B?.delete(d),zn.delete(r))},[u,d,r]),m=f3({decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}),b={"data-slate-node":"element",ref:h};if(c&&(b["data-slate-inline"]=!0),!c&&g.hasInlines(u,r)){var v=H.string(r),p=(0,zc.default)(v);p==="rtl"&&(b.dir=p)}if(g.isVoid(u,r)){b["data-slate-void"]=!0,!l&&c&&(b.contentEditable=!1);var C=c?"span":"div",[[y]]=H.texts(r);m=O.default.createElement(C,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},O.default.createElement(s3,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:y})),jc.set(y,0),Wc.set(y,r)}return n({attributes:b,children:m,element:r})},sw=O.default.memo(iw,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&YE(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&F.equals(e.selection,t.selection))),uw=e=>{var{attributes:t,children:r,element:n}=e,o=Qr(),a=o.isInline(n)?"span":"div";return O.default.createElement(a,Object.assign({},t,{style:{position:"relative"}}),r)},u3=(0,O.createContext)(()=>[]),lw=()=>(0,O.useContext)(u3),l3=(0,O.createContext)(!1),c3=()=>(0,O.useContext)(l3),f3=e=>{for(var{decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}=e,u=lw(),l=Qr(),c=R.findPath(l,r),d=[],h=U.isElement(r)&&!l.isInline(r)&&g.hasInlines(l,r),m=0;m<r.children.length;m++){var b=c.concat(m),v=r.children[m],p=R.findKey(l,v),C=g.range(l,b),y=s&&F.intersection(C,s),E=u([v,b]);for(var B of t){var A=F.intersection(B,C);A&&E.push(A)}U.isElement(v)?d.push(O.default.createElement(l3.Provider,{key:"provider-".concat(p.id),value:!!y},O.default.createElement(sw,{decorations:E,element:v,key:p.id,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:y}))):d.push(O.default.createElement(s3,{decorations:E,key:p.id,isLast:h&&m===r.children.length-1,parent:r,renderPlaceholder:o,renderLeaf:a,text:v})),jc.set(v,m),Wc.set(v,r)}return d},p3=(0,O.createContext)(!1),cw=()=>(0,O.useContext)(p3),d3=(0,O.createContext)(null),Ys=()=>{var e=(0,O.useContext)(d3);if(!e)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:t}=e;return t};function fw(){var e=Qr(),t=(0,O.useRef)(!1),r=(0,O.useRef)(0),n=(0,O.useCallback)(()=>{if(!t.current){t.current=!0;var o=R.getWindow(e);o.cancelAnimationFrame(r.current),r.current=o.requestAnimationFrame(()=>{t.current=!1})}},[e]);return(0,O.useEffect)(()=>()=>cancelAnimationFrame(r.current),[]),{receivedUserInput:t,onUserInput:n}}var pw=3,dw={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},mw={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},hw={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Pe=e=>{var t=dw[e],r=mw[e],n=hw[e],o=t&&(0,Ws.isKeyHotkey)(t),a=r&&(0,Ws.isKeyHotkey)(r),s=n&&(0,Ws.isKeyHotkey)(n);return u=>!!(o&&o(u)||Lm&&a&&a(u)||!Lm&&s&&s(u))},Ie={isBold:Pe("bold"),isCompose:Pe("compose"),isMoveBackward:Pe("moveBackward"),isMoveForward:Pe("moveForward"),isDeleteBackward:Pe("deleteBackward"),isDeleteForward:Pe("deleteForward"),isDeleteLineBackward:Pe("deleteLineBackward"),isDeleteLineForward:Pe("deleteLineForward"),isDeleteWordBackward:Pe("deleteWordBackward"),isDeleteWordForward:Pe("deleteWordForward"),isExtendBackward:Pe("extendBackward"),isExtendForward:Pe("extendForward"),isExtendLineBackward:Pe("extendLineBackward"),isExtendLineForward:Pe("extendLineForward"),isItalic:Pe("italic"),isMoveLineBackward:Pe("moveLineBackward"),isMoveLineForward:Pe("moveLineForward"),isMoveWordBackward:Pe("moveWordBackward"),isMoveWordForward:Pe("moveWordForward"),isRedo:Pe("redo"),isSoftBreak:Pe("insertSoftBreak"),isSplitBlock:Pe("splitBlock"),isTransposeCharacter:Pe("transposeCharacter"),isUndo:Pe("undo")},gw=(e,t)=>{var r=[],n=()=>{r=[]},o=s=>{if(t.current){var u=s.filter(l=>Kc(e,l,s));r.push(...u)}};function a(){r.length>0&&(r.reverse().forEach(s=>{s.type!=="characterData"&&(s.removedNodes.forEach(u=>{s.target.insertBefore(u,s.nextSibling)}),s.addedNodes.forEach(u=>{s.target.removeChild(u)}))}),n())}return{registerMutations:o,restoreDOM:a,clear:n}},vw={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0},Gs=class extends O.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var t,{node:r}=this.props;if(!r.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");(t=this.mutationObserver)===null||t===void 0||t.observe(r.current,vw)}componentDidMount(){var{receivedUserInput:t}=this.props,r=this.context;this.manager=gw(r,t),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var t,r,n,o=(t=this.mutationObserver)===null||t===void 0?void 0:t.takeRecords();if(o!=null&&o.length){var a;(a=this.manager)===null||a===void 0||a.registerMutations(o)}return(r=this.mutationObserver)===null||r===void 0||r.disconnect(),(n=this.manager)===null||n===void 0||n.restoreDOM(),null}componentDidUpdate(){var t;(t=this.manager)===null||t===void 0||t.clear(),this.observe()}componentWillUnmount(){var t;(t=this.mutationObserver)===null||t===void 0||t.disconnect()}render(){return this.props.children}};Gs.contextType=Vc;var bw=Tt?Gs:e=>{var{children:t}=e;return O.default.createElement(O.default.Fragment,null,t)},Cw=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],yw=["text"];function zm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Oo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zm(Object(r),!0).forEach(function(n){qs(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Dw=e=>O.default.createElement(O.default.Fragment,null,f3(e)),m3=e=>{var t=(0,O.useCallback)(w=>O.default.createElement(xw,Object.assign({},w)),[]),{autoFocus:r,decorate:n=Ew,onDOMBeforeInput:o,placeholder:a,readOnly:s=!1,renderElement:u,renderLeaf:l,renderPlaceholder:c=t,scrollSelectionIntoView:d=ww,style:h={},as:m="div",disableDefaultStyles:b=!1}=e,v=Po(e,Cw),p=Ys(),[C,y]=(0,O.useState)(!1),E=(0,O.useRef)(null),B=(0,O.useRef)([]),[A,L]=(0,O.useState)(),{onUserInput:D,receivedUserInput:T}=fw(),[,j]=(0,O.useReducer)(w=>w+1,0);Qm.set(p,j),Ic.set(p,s);var I=(0,O.useMemo)(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);(0,O.useEffect)(()=>{E.current&&r&&E.current.focus()},[r]);var K=(0,O.useRef)(),X=(0,O.useMemo)(()=>(0,Gm.default)(()=>{var w=K.current;if((Tt||!R.isComposing(p))&&(!I.isUpdatingSelection||w!=null&&w.isFlushing())&&!I.isDraggingInternally){var V=R.findDocumentOrShadowRoot(p),{activeElement:k}=V,_=R.toDOMNode(p,p),ue=V.getSelection();if(k===_?(I.latestElement=k,Zn.set(p,!0)):Zn.delete(p),!ue)return P.deselect(p);var{anchorNode:te,focusNode:fe}=ue,ve=R.hasEditableTarget(p,te)||R.isTargetInsideNonReadonlyVoid(p,te),Ce=R.hasEditableTarget(p,fe)||R.isTargetInsideNonReadonlyVoid(p,fe);if(ve&&Ce){var Se=R.toSlateRange(p,ue,{exactMatch:!1,suppressThrow:!0});Se&&(!R.isComposing(p)&&!(w!=null&&w.hasPendingChanges())&&!(w!=null&&w.isFlushing())?P.select(p,Se):w?.handleUserSelect(Se))}s&&(!ve||!Ce)&&P.deselect(p)}},100),[p,s,I]),N=(0,O.useMemo)(()=>(0,Km.default)(X,0),[X]);K.current=KE({node:E,onDOMSelectionChange:X,scheduleOnDOMSelectionChange:N}),di(()=>{var w,V,k;E.current&&(k=_c(E.current))?(Jm.set(p,k),_s.set(p,E.current),zn.set(p,E.current),pi.set(E.current,p)):zn.delete(p);var{selection:_}=p,ue=R.findDocumentOrShadowRoot(p),te=ue.getSelection();if(!(!te||!R.isFocused(p)||(w=K.current)!==null&&w!==void 0&&w.hasPendingAction())){var fe=Ue=>{var Xe=te.type!=="None";if(!(!_&&!Xe)){var $e=_s.get(p),ft=!1;if($e.contains(te.anchorNode)&&$e.contains(te.focusNode)&&(ft=!0),Xe&&ft&&_&&!Ue){var at=R.toSlateRange(p,te,{exactMatch:!0,suppressThrow:!0});if(at&&F.equals(at,_)){var Ye;if(!I.hasMarkPlaceholder)return;var{anchorNode:pt}=te;if(pt!=null&&(Ye=pt.parentElement)!==null&&Ye!==void 0&&Ye.hasAttribute("data-slate-mark-placeholder"))return}}if(_&&!R.hasRange(p,_)){p.selection=R.toSlateRange(p,te,{exactMatch:!1,suppressThrow:!0});return}I.isUpdatingSelection=!0;var S=_&&R.toDOMRange(p,_);return S?(R.isComposing(p)?te.collapseToEnd():F.isBackward(_)?te.setBaseAndExtent(S.endContainer,S.endOffset,S.startContainer,S.startOffset):te.setBaseAndExtent(S.startContainer,S.startOffset,S.endContainer,S.endOffset),d(p,S)):te.removeAllRanges(),S}},ve=fe(),Ce=((V=K.current)===null||V===void 0?void 0:V.isFlushing())==="action";if(!Tt||!Ce){setTimeout(()=>{if(ve&&Ks){var Ue=R.toDOMNode(p,p);Ue.focus()}I.isUpdatingSelection=!1});return}var Se=null,be=requestAnimationFrame(()=>{if(Ce){var Ue=Xe=>{try{var $e=R.toDOMNode(p,p);$e.focus(),fe(Xe)}catch{}};Ue(),Se=setTimeout(()=>{Ue(!0),I.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(be),Se&&clearTimeout(Se)}}});var $=(0,O.useCallback)(w=>{if(D(),!s&&R.hasEditableTarget(p,w.target)&&!Sw(w,o)){var V;if(K.current)return K.current.handleDOMBeforeInput(w);N.flush(),X.flush();var{selection:k}=p,{inputType:_}=w,ue=w.dataTransfer||w.data||void 0,te=_==="insertCompositionText"||_==="deleteCompositionText";if(te&&R.isComposing(p))return;var fe=!1;if(_==="insertText"&&k&&F.isCollapsed(k)&&w.data&&w.data.length===1&&/[a-z ]/i.test(w.data)&&k.anchor.offset!==0){var ve,Ce;fe=!0,p.marks&&(fe=!1);var{anchor:Se}=k,[be,Ue]=R.toDOMPoint(p,Se),Xe=(ve=be.parentElement)===null||ve===void 0?void 0:ve.closest("a"),$e=R.getWindow(p);if(fe&&Xe&&R.hasDOMNode(p,Xe)){var ft,at=$e?.document.createTreeWalker(Xe,NodeFilter.SHOW_TEXT).lastChild();at===be&&((ft=at.textContent)===null||ft===void 0?void 0:ft.length)===Ue&&(fe=!1)}if(fe&&be.parentElement&&($e==null||(Ce=$e.getComputedStyle(be.parentElement))===null||Ce===void 0?void 0:Ce.whiteSpace)==="pre"){var Ye=g.above(p,{at:Se.path,match:re=>U.isElement(re)&&g.isBlock(p,re)});Ye&&H.string(Ye[0]).includes(" ")&&(fe=!1)}}if(!_.startsWith("delete")||_.startsWith("deleteBy")){var[pt]=w.getTargetRanges();if(pt){var S=R.toSlateRange(p,pt,{exactMatch:!1,suppressThrow:!1});if(!k||!F.equals(k,S)){fe=!1;var q=!te&&p.selection&&g.rangeRef(p,p.selection);P.select(p,S),q&&fi.set(p,q)}}}if(te)return;if(fe||w.preventDefault(),k&&F.isExpanded(k)&&_.startsWith("delete")){var Q=_.endsWith("Backward")?"backward":"forward";g.deleteFragment(p,{direction:Q});return}switch(_){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":{g.deleteFragment(p);break}case"deleteContent":case"deleteContentForward":{g.deleteForward(p);break}case"deleteContentBackward":{g.deleteBackward(p);break}case"deleteEntireSoftLine":{g.deleteBackward(p,{unit:"line"}),g.deleteForward(p,{unit:"line"});break}case"deleteHardLineBackward":{g.deleteBackward(p,{unit:"block"});break}case"deleteSoftLineBackward":{g.deleteBackward(p,{unit:"line"});break}case"deleteHardLineForward":{g.deleteForward(p,{unit:"block"});break}case"deleteSoftLineForward":{g.deleteForward(p,{unit:"line"});break}case"deleteWordBackward":{g.deleteBackward(p,{unit:"word"});break}case"deleteWordForward":{g.deleteForward(p,{unit:"word"});break}case"insertLineBreak":g.insertSoftBreak(p);break;case"insertParagraph":{g.insertBreak(p);break}case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{_==="insertFromComposition"&&R.isComposing(p)&&(y(!1),Hn.set(p,!1)),ue?.constructor.name==="DataTransfer"?R.insertData(p,ue):typeof ue=="string"&&(fe?B.current.push(()=>g.insertText(p,ue)):g.insertText(p,ue));break}}var Y=(V=fi.get(p))===null||V===void 0?void 0:V.unref();fi.delete(p),Y&&(!p.selection||!F.equals(p.selection,Y))&&P.select(p,Y)}},[p,X,D,o,s,N]),Z=(0,O.useCallback)(w=>{w==null?(X.cancel(),N.cancel(),_s.delete(p),zn.delete(p),E.current&&qr&&E.current.removeEventListener("beforeinput",$)):qr&&w.addEventListener("beforeinput",$),E.current=w},[X,N,p,$]);di(()=>{var w=R.getWindow(p);return w.document.addEventListener("selectionchange",N),()=>{w.document.removeEventListener("selectionchange",N)}},[N]);var W=n([p,[]]),le=a&&p.children.length===1&&Array.from(H.texts(p)).length===1&&H.string(p)===""&&!C,me=(0,O.useCallback)(w=>{if(w&&le){var V;L((V=w.getBoundingClientRect())===null||V===void 0?void 0:V.height)}else L(void 0)},[le]);if(le){var De=g.start(p,[]);W.push({[Ro]:!0,placeholder:a,onPlaceholderResize:me,anchor:De,focus:De})}var{marks:ae}=p;if(I.hasMarkPlaceholder=!1,p.selection&&F.isCollapsed(p.selection)&&ae){var{anchor:de}=p.selection,we=H.leaf(p,de.path),he=Po(we,yw);if(!G.equals(we,ae,{loose:!0})){I.hasMarkPlaceholder=!0;var qe=Object.fromEntries(Object.keys(he).map(w=>[w,null]));W.push(Oo(Oo(Oo({[e3]:!0},qe),ae),{},{anchor:de,focus:de}))}}return(0,O.useEffect)(()=>{setTimeout(()=>{var{selection:w}=p;if(w){var{anchor:V}=w,k=H.leaf(p,V.path);if(ae&&!G.equals(k,ae,{loose:!0})){Ut.set(p,ae);return}}Ut.delete(p)})}),O.default.createElement(p3.Provider,{value:s},O.default.createElement(u3.Provider,{value:n},O.default.createElement(bw,{node:E,receivedUserInput:T},O.default.createElement(m,Object.assign({role:s?void 0:"textbox","aria-multiline":s?void 0:!0},v,{spellCheck:qr||!Us?v.spellCheck:!1,autoCorrect:qr||!Us?v.autoCorrect:"false",autoCapitalize:qr||!Us?v.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s,zindex:-1,suppressContentEditableWarning:!0,ref:Z,style:Oo(Oo({},b?{}:Oo({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},A?{minHeight:A}:{})),h),onBeforeInput:(0,O.useCallback)(w=>{if(!qr&&!s&&!st(w,v.onBeforeInput)&&R.hasSelectableTarget(p,w.target)&&(w.preventDefault(),!R.isComposing(p))){var V=w.data;g.insertText(p,V)}},[v.onBeforeInput,p,s]),onInput:(0,O.useCallback)(w=>{if(!st(w,v.onInput)){if(K.current){K.current.handleInput();return}for(var V of B.current)V();B.current=[]}},[v.onInput]),onBlur:(0,O.useCallback)(w=>{if(!(s||I.isUpdatingSelection||!R.hasSelectableTarget(p,w.target)||st(w,v.onBlur))){var V=R.findDocumentOrShadowRoot(p);if(I.latestElement!==V.activeElement){var{relatedTarget:k}=w,_=R.toDOMNode(p,p);if(k!==_&&!(Rt(k)&&k.hasAttribute("data-slate-spacer"))){if(k!=null&&Jr(k)&&R.hasDOMNode(p,k)){var ue=R.toSlateNode(p,k);if(U.isElement(ue)&&!p.isVoid(ue))return}if(ci){var te=V.getSelection();te?.removeAllRanges()}Zn.delete(p)}}}},[s,I.isUpdatingSelection,I.latestElement,p,v.onBlur]),onClick:(0,O.useCallback)(w=>{if(R.hasTarget(p,w.target)&&!st(w,v.onClick)&&Jr(w.target)){var V=R.toSlateNode(p,w.target),k=R.findPath(p,V);if(!g.hasPath(p,k)||H.get(p,k)!==V)return;if(w.detail===pw&&k.length>=1){var _=k;if(!(U.isElement(V)&&g.isBlock(p,V))){var ue,te=g.above(p,{match:Xe=>U.isElement(Xe)&&g.isBlock(p,Xe),at:k});_=(ue=te?.[1])!==null&&ue!==void 0?ue:k.slice(0,1)}var fe=g.range(p,_);P.select(p,fe);return}if(s)return;var ve=g.start(p,k),Ce=g.end(p,k),Se=g.void(p,{at:ve}),be=g.void(p,{at:Ce});if(Se&&be&&x.equals(Se[1],be[1])){var Ue=g.range(p,ve);P.select(p,Ue)}}},[p,v.onClick,s]),onCompositionEnd:(0,O.useCallback)(w=>{if(R.hasSelectableTarget(p,w.target)){var V;if(R.isComposing(p)&&(y(!1),Hn.set(p,!1)),(V=K.current)===null||V===void 0||V.handleCompositionEnd(w),st(w,v.onCompositionEnd)||Tt)return;if(!ci&&!CE&&!hE&&!DE&&!yE&&w.data){var k=Ut.get(p);Ut.delete(p),k!==void 0&&(Tr.set(p,p.marks),p.marks=k),g.insertText(p,w.data);var _=Tr.get(p);Tr.delete(p),_!==void 0&&(p.marks=_)}}},[v.onCompositionEnd,p]),onCompositionUpdate:(0,O.useCallback)(w=>{R.hasSelectableTarget(p,w.target)&&!st(w,v.onCompositionUpdate)&&(R.isComposing(p)||(y(!0),Hn.set(p,!0)))},[v.onCompositionUpdate,p]),onCompositionStart:(0,O.useCallback)(w=>{if(R.hasSelectableTarget(p,w.target)){var V;if((V=K.current)===null||V===void 0||V.handleCompositionStart(w),st(w,v.onCompositionStart)||Tt)return;y(!0);var{selection:k}=p;if(k){if(F.isExpanded(k)){g.deleteFragment(p);return}var _=g.above(p,{match:fe=>U.isElement(fe)&&g.isInline(p,fe),mode:"highest"});if(_){var[,ue]=_;if(g.isEnd(p,k.anchor,ue)){var te=g.after(p,ue);P.setSelection(p,{anchor:te,focus:te})}}}}},[v.onCompositionStart,p]),onCopy:(0,O.useCallback)(w=>{R.hasSelectableTarget(p,w.target)&&!st(w,v.onCopy)&&!Vm(w)&&(w.preventDefault(),R.setFragmentData(p,w.clipboardData,"copy"))},[v.onCopy,p]),onCut:(0,O.useCallback)(w=>{if(!s&&R.hasSelectableTarget(p,w.target)&&!st(w,v.onCut)&&!Vm(w)){w.preventDefault(),R.setFragmentData(p,w.clipboardData,"cut");var{selection:V}=p;if(V)if(F.isExpanded(V))g.deleteFragment(p);else{var k=H.parent(p,V.anchor.path);g.isVoid(p,k)&&P.delete(p)}}},[s,p,v.onCut]),onDragOver:(0,O.useCallback)(w=>{if(R.hasTarget(p,w.target)&&!st(w,v.onDragOver)){var V=R.toSlateNode(p,w.target);U.isElement(V)&&g.isVoid(p,V)&&w.preventDefault()}},[v.onDragOver,p]),onDragStart:(0,O.useCallback)(w=>{if(!s&&R.hasTarget(p,w.target)&&!st(w,v.onDragStart)){var V=R.toSlateNode(p,w.target),k=R.findPath(p,V),_=U.isElement(V)&&g.isVoid(p,V)||g.void(p,{at:k,voids:!0});if(_){var ue=g.range(p,k);P.select(p,ue)}I.isDraggingInternally=!0,R.setFragmentData(p,w.dataTransfer,"drag")}},[s,p,v.onDragStart,I]),onDrop:(0,O.useCallback)(w=>{if(!s&&R.hasTarget(p,w.target)&&!st(w,v.onDrop)){w.preventDefault();var V=p.selection,k=R.findEventRange(p,w),_=w.dataTransfer;P.select(p,k),I.isDraggingInternally&&V&&!F.equals(V,k)&&!g.void(p,{at:k,voids:!0})&&P.delete(p,{at:V}),R.insertData(p,_),R.isFocused(p)||R.focus(p)}I.isDraggingInternally=!1},[s,p,v.onDrop,I]),onDragEnd:(0,O.useCallback)(w=>{!s&&I.isDraggingInternally&&v.onDragEnd&&R.hasTarget(p,w.target)&&v.onDragEnd(w),I.isDraggingInternally=!1},[s,I,v,p]),onFocus:(0,O.useCallback)(w=>{if(!s&&!I.isUpdatingSelection&&R.hasEditableTarget(p,w.target)&&!st(w,v.onFocus)){var V=R.toDOMNode(p,p),k=R.findDocumentOrShadowRoot(p);if(I.latestElement=k.activeElement,Ks&&w.target!==V){V.focus();return}Zn.set(p,!0)}},[s,I,p,v.onFocus]),onKeyDown:(0,O.useCallback)(w=>{if(!s&&R.hasEditableTarget(p,w.target)){var V;(V=K.current)===null||V===void 0||V.handleKeyDown(w);var{nativeEvent:k}=w;if(R.isComposing(p)&&k.isComposing===!1&&(Hn.set(p,!1),y(!1)),st(w,v.onKeyDown)||R.isComposing(p))return;var{selection:_}=p,ue=p.children[_!==null?_.focus.path[0]:0],te=(0,zc.default)(H.string(ue))==="rtl";if(Ie.isRedo(k)){w.preventDefault();var fe=p;typeof fe.redo=="function"&&fe.redo();return}if(Ie.isUndo(k)){w.preventDefault();var ve=p;typeof ve.undo=="function"&&ve.undo();return}if(Ie.isMoveLineBackward(k)){w.preventDefault(),P.move(p,{unit:"line",reverse:!0});return}if(Ie.isMoveLineForward(k)){w.preventDefault(),P.move(p,{unit:"line"});return}if(Ie.isExtendLineBackward(k)){w.preventDefault(),P.move(p,{unit:"line",edge:"focus",reverse:!0});return}if(Ie.isExtendLineForward(k)){w.preventDefault(),P.move(p,{unit:"line",edge:"focus"});return}if(Ie.isMoveBackward(k)){w.preventDefault(),_&&F.isCollapsed(_)?P.move(p,{reverse:!te}):P.collapse(p,{edge:"start"});return}if(Ie.isMoveForward(k)){w.preventDefault(),_&&F.isCollapsed(_)?P.move(p,{reverse:te}):P.collapse(p,{edge:"end"});return}if(Ie.isMoveWordBackward(k)){w.preventDefault(),_&&F.isExpanded(_)&&P.collapse(p,{edge:"focus"}),P.move(p,{unit:"word",reverse:!te});return}if(Ie.isMoveWordForward(k)){w.preventDefault(),_&&F.isExpanded(_)&&P.collapse(p,{edge:"focus"}),P.move(p,{unit:"word",reverse:te});return}if(qr){if((Ym||ci)&&_&&(Ie.isDeleteBackward(k)||Ie.isDeleteForward(k))&&F.isCollapsed(_)){var Ce=H.parent(p,_.anchor.path);if(U.isElement(Ce)&&g.isVoid(p,Ce)&&(g.isInline(p,Ce)||g.isBlock(p,Ce))){w.preventDefault(),g.deleteBackward(p,{unit:"block"});return}}}else{if(Ie.isBold(k)||Ie.isItalic(k)||Ie.isTransposeCharacter(k)){w.preventDefault();return}if(Ie.isSoftBreak(k)){w.preventDefault(),g.insertSoftBreak(p);return}if(Ie.isSplitBlock(k)){w.preventDefault(),g.insertBreak(p);return}if(Ie.isDeleteBackward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"backward"}):g.deleteBackward(p);return}if(Ie.isDeleteForward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"forward"}):g.deleteForward(p);return}if(Ie.isDeleteLineBackward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"backward"}):g.deleteBackward(p,{unit:"line"});return}if(Ie.isDeleteLineForward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"forward"}):g.deleteForward(p,{unit:"line"});return}if(Ie.isDeleteWordBackward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"backward"}):g.deleteBackward(p,{unit:"word"});return}if(Ie.isDeleteWordForward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"forward"}):g.deleteForward(p,{unit:"word"});return}}}},[s,p,v.onKeyDown]),onPaste:(0,O.useCallback)(w=>{!s&&R.hasEditableTarget(p,w.target)&&!st(w,v.onPaste)&&(!qr||wE(w.nativeEvent)||ci)&&(w.preventDefault(),R.insertData(p,w.clipboardData))},[s,p,v.onPaste])}),O.default.createElement(Dw,{decorations:W,node:p,renderElement:u,renderPlaceholder:c,renderLeaf:l,selection:p.selection})))))},xw=e=>{var{attributes:t,children:r}=e;return O.default.createElement("span",Object.assign({},t),r,Tt&&O.default.createElement("br",null))},Ew=()=>[],ww=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&F.isCollapsed(e.selection))){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),y5(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},st=(e,t)=>{if(!t)return!1;var r=t(e);return r??(e.isDefaultPrevented()||e.isPropagationStopped())},Vm=e=>Jr(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),Sw=(e,t)=>{if(!t)return!1;var r=t(e);return r??e.defaultPrevented},h3=(0,O.createContext)(!1),g3=()=>(0,O.useContext)(h3);var Tw=(0,O.createContext)({});function Aw(e){var t=(0,O.useRef)([]).current,r=(0,O.useRef)({editor:e}).current,n=(0,O.useCallback)(a=>{r.editor=a,t.forEach(s=>s(a))},[t,r]),o=(0,O.useMemo)(()=>({getSlate:()=>r.editor,addEventListener:a=>(t.push(a),()=>{t.splice(t.indexOf(a),1)})}),[t,r]);return{selectorContext:o,onChange:n}}var Bw=["editor","children","onChange","initialValue"],v3=e=>{var{editor:t,children:r,onChange:n,initialValue:o}=e,a=Po(e,Bw),s=(0,O.useRef)(!1),[u,l]=O.default.useState(()=>{if(!H.isNodeList(o))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(_e.stringify(o)));if(!g.isEditor(t))throw new Error("[Slate] editor is invalid! You passed: ".concat(_e.stringify(t)));return t.children=o,Object.assign(t,a),{v:0,editor:t}}),{selectorContext:c,onChange:d}=Aw(t),h=(0,O.useCallback)(()=>{n&&n(t.children),l(v=>({v:v.v+1,editor:t})),d(t)},[t,d,n]);(0,O.useEffect)(()=>(kc.set(t,h),()=>{kc.set(t,()=>{}),s.current=!0}),[t,h]);var[m,b]=(0,O.useState)(R.isFocused(t));return(0,O.useEffect)(()=>{b(R.isFocused(t))},[t]),di(()=>{var v=()=>b(R.isFocused(t));return Xm>=17?(document.addEventListener("focusin",v),document.addEventListener("focusout",v),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",v)}):(document.addEventListener("focus",v,!0),document.addEventListener("blur",v,!0),()=>{document.removeEventListener("focus",v,!0),document.removeEventListener("blur",v,!0)})},[]),O.default.createElement(Tw.Provider,{value:c},O.default.createElement(d3.Provider,{value:u},O.default.createElement(Vc.Provider,{value:u.editor},O.default.createElement(h3.Provider,{value:m},r))))};var jm=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},Wm=(e,t,r)=>{var n=R.toDOMRange(e,t).getBoundingClientRect(),o=R.toDOMRange(e,r).getBoundingClientRect();return jm(n,o)&&jm(o,n)},Fw=(e,t)=>{var r=g.range(e,F.end(t)),n=Array.from(g.positions(e,{at:t})),o=0,a=n.length,s=Math.floor(a/2);if(Wm(e,g.range(e,n[o]),r))return g.range(e,n[o],r);if(n.length<2)return g.range(e,n[n.length-1],r);for(;s!==n.length&&s!==o;)Wm(e,g.range(e,n[s]),r)?a=s:o=s,s=Math.floor((o+a)/2);return g.range(e,n[a],r)};function Um(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function _m(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Um(Object(r),!0).forEach(function(n){qs(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Um(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var b3=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",n=t,{apply:o,onChange:a,deleteBackward:s,addMark:u,removeMark:l}=n;return Xs.set(n,new WeakMap),n.addMark=(c,d)=>{var h,m;(h=Uc.get(n))===null||h===void 0||h(),!Ut.get(n)&&(m=mt.get(n))!==null&&m!==void 0&&m.length&&Ut.set(n,null),Tr.delete(n),u(c,d)},n.removeMark=c=>{var d;!Ut.get(n)&&(d=mt.get(n))!==null&&d!==void 0&&d.length&&Ut.set(n,null),Tr.delete(n),l(c)},n.deleteBackward=c=>{if(c!=="line")return s(c);if(n.selection&&F.isCollapsed(n.selection)){var d=g.above(n,{match:v=>U.isElement(v)&&g.isBlock(n,v),at:n.selection});if(d){var[,h]=d,m=g.range(n,h,n.selection.anchor),b=Fw(n,m);F.isCollapsed(b)||P.delete(n,{at:b})}}},n.apply=c=>{var d=[],h=mt.get(n);if(h!=null&&h.length){var m=h.map(D=>kE(D,c)).filter(Boolean);mt.set(n,m)}var b=Yr.get(n);b&&Yr.set(n,km(n,b,c));var v=Xr.get(n);if(v!=null&&v.at){var p=ce.isPoint(v?.at)?Hc(n,v.at,c):km(n,v.at,c);Xr.set(n,p?_m(_m({},v),{},{at:p}):null)}switch(c.type){case"insert_text":case"remove_text":case"set_node":case"split_node":{d.push(...js(n,c.path));break}case"set_selection":{var C;(C=fi.get(n))===null||C===void 0||C.unref(),fi.delete(n);break}case"insert_node":case"remove_node":{d.push(...js(n,x.parent(c.path)));break}case"merge_node":{var y=x.previous(c.path);d.push(...js(n,y));break}case"move_node":{var E=x.common(x.parent(c.path),x.parent(c.newPath));d.push(...js(n,E));break}}o(c);for(var[B,A]of d){var[L]=g.node(n,B);Lc.set(L,A)}},n.setFragmentData=c=>{var{selection:d}=n;if(d){var[h,m]=F.edges(d),b=g.void(n,{at:h.path}),v=g.void(n,{at:m.path});if(!(F.isCollapsed(d)&&!b)){var p=R.toDOMRange(n,d),C=p.cloneContents(),y=C.childNodes[0];if(C.childNodes.forEach(K=>{K.textContent&&K.textContent.trim()!==""&&(y=K)}),v){var[E]=v,B=p.cloneRange(),A=R.toDOMNode(n,E);B.setEndAfter(A),C=B.cloneContents()}if(b&&(y=C.querySelector("[data-slate-spacer]")),Array.from(C.querySelectorAll("[data-slate-zero-width]")).forEach(K=>{var X=K.getAttribute("data-slate-zero-width")==="n";K.textContent=X?`
|
|
18
|
-
`:""}),
|
|
19
|
-
The <text> hyperscript tag can only contain text content as children.`);return
|
|
20
|
-
`;if(!
|
|
15
|
+
`);ye.forEach((Je,_r)=>{Je&&g.insertText(t,Je),_r!==ye.length-1&&g.insertSoftBreak(t)})},{at:W});if(x.equals(W.anchor.path,W.focus.path)){var[q,Q]=F.edges(W),Y={start:q.offset,end:Q.offset,text:S};if(S&&c&&Z==="insertCompositionText"){var re=c.start+c.text.search(/\S|$/),ge=Y.start+Y.text.search(/\S|$/);ge===re+1&&Y.end===c.start+c.text.length?(Y.start-=1,c=null,K()):c=!1}else Z==="insertText"?c===null?c=Y:c&&F.isCollapsed(W)&&c.end+c.text.length===q.offset?c=V1(V1({},c),{},{text:c.text+S}):c=!1:c=!1;if(de){b(q.path,Y);return}}return y(()=>g.insertText(t,S),{at:W})}}}},B=()=>!!Xr.get(t),A=()=>{var N;return!!((N=mt.get(t))!==null&&N!==void 0&&N.length)},I=()=>B()||A(),D=()=>o,T=N=>{Yr.set(t,N),s&&(clearTimeout(s),s=null);var{selection:$}=t;if(N){var Z=!$||!x.equals($.anchor.path,N.anchor.path),W=!$||!x.equals($.anchor.path.slice(0,-1),N.anchor.path.slice(0,-1));(Z&&c||W)&&(c=!1),(Z||A())&&(s=setTimeout(m,VE))}},V=()=>{(B()||!A())&&m()},L=N=>{A()||(p(!0),setTimeout(p))},K=()=>{B()||(u=setTimeout(m))},X=N=>{if(!(A()||B())&&N.some(Z=>Kc(t,Z,N))){var $;($=t3.get(t))===null||$===void 0||$()}};return{flush:m,scheduleFlush:K,hasPendingDiffs:A,hasPendingAction:B,hasPendingChanges:I,isFlushing:D,handleUserSelect:T,handleCompositionEnd:C,handleCompositionStart:v,handleDOMBeforeInput:E,handleKeyDown:L,handleDomMutations:X,handleInput:V}}function _E(){var e=(0,O.useRef)(!1);return(0,O.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e.current}var di=U1?O.useLayoutEffect:O.useEffect;function KE(e,t,r){var[n]=(0,O.useState)(()=>new MutationObserver(t));di(()=>{n.takeRecords()}),(0,O.useEffect)(()=>{if(!e.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return n.observe(e.current,r),()=>n.disconnect()},[n,e,r])}var GE=["node"];function Hm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function qE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Hm(Object(r),!0).forEach(function(n){q1(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var XE={subtree:!0,childList:!0,characterData:!0},YE=Tt?e=>{var{node:t}=e,r=Po(e,GE);if(!Tt)return null;var n=Qr(),o=_E(),[a]=(0,O.useState)(()=>UE(qE({editor:n},r)));return KE(t,a.handleDomMutations,XE),Uc.set(n,a.scheduleFlush),o&&a.flush(),a}:()=>null,JE=["anchor","focus"],QE=["anchor","focus"],ew=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(r=>t.hasOwnProperty(r)&&e[r]===t[r]),u3=(e,t)=>{var r=Po(e,JE),n=Po(t,QE);return e[Ro]===t[Ro]&&ew(r,n)},tw=(e,t)=>{if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var n=e[r],o=t[r];if(!F.equals(n,o)||!u3(n,o))return!1}return!0},rw=(e,t)=>{if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var n=e[r],o=t[r];if(n.anchor.offset!==o.anchor.offset||n.focus.offset!==o.focus.offset||!u3(n,o))return!1}return!0},nw=e=>{var{isLast:t,leaf:r,parent:n,text:o}=e,a=Qr(),s=R.findPath(a,o),u=x.parent(s),l=r[r3]===!0;return a.isVoid(n)?O.default.createElement(Pc,{length:H.string(n).length}):r.text===""&&n.children[n.children.length-1]===o&&!a.isInline(n)&&g.string(a,u)===""?O.default.createElement(Pc,{isLineBreak:!0,isMarkPlaceholder:l}):r.text===""?O.default.createElement(Pc,{isMarkPlaceholder:l}):t&&r.text.slice(-1)===`
|
|
16
|
+
`?O.default.createElement(zm,{isTrailing:!0,text:r.text}):O.default.createElement(zm,{text:r.text})},zm=e=>{var{text:t,isTrailing:r=!1}=e,n=(0,O.useRef)(null),o=()=>"".concat(t??"").concat(r?`
|
|
17
|
+
`:""),[a]=(0,O.useState)(o);return di(()=>{var s=o();n.current&&n.current.textContent!==s&&(n.current.textContent=s)}),O.default.createElement(ow,{ref:n},a)},ow=(0,O.memo)((0,O.forwardRef)((e,t)=>O.default.createElement("span",{"data-slate-string":!0,ref:t},e.children))),Pc=e=>{var{length:t=0,isLineBreak:r=!1,isMarkPlaceholder:n=!1}=e,o={"data-slate-zero-width":r?"n":"z","data-slate-length":t};return n&&(o["data-slate-mark-placeholder"]=!0),O.default.createElement("span",Object.assign({},o),!Tt||!r?"\uFEFF":null,r?O.default.createElement("br",null):null)};function aw(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}function Vm(e){e.current&&(clearTimeout(e.current),e.current=null)}var iw=e=>{var{leaf:t,isLast:r,text:n,parent:o,renderPlaceholder:a,renderLeaf:s=E=>O.default.createElement(uw,Object.assign({},E))}=e,u=Qr(),l=(0,O.useRef)(null),c=(0,O.useRef)(null),[d,h]=(0,O.useState)(!1),m=(0,O.useRef)(null),C=(0,O.useCallback)(E=>{if(aw(l,E==null),E==null){var B;Rc.delete(u),(B=t.onPlaceholderResize)===null||B===void 0||B.call(t,null)}else{if(Rc.set(u,E),!l.current){var A=window.ResizeObserver||Fc;l.current=new A(()=>{var I;(I=t.onPlaceholderResize)===null||I===void 0||I.call(t,E)})}l.current.observe(E),c.current=E}},[c,t,u]),v=O.default.createElement(nw,{isLast:r,leaf:t,parent:o,text:n}),p=t[Ro];if((0,O.useEffect)(()=>(p?m.current||(m.current=setTimeout(()=>{h(!0),m.current=null},300)):(Vm(m),h(!1)),()=>Vm(m)),[p,h]),p&&d){var b={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:ci?"inherit":void 0},contentEditable:!1,ref:C}};v=O.default.createElement(O.default.Fragment,null,a(b),v)}var y={"data-slate-leaf":!0};return s({attributes:y,children:v,leaf:t,text:n})},sw=O.default.memo(iw,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&G.equals(t.leaf,e.leaf)&&t.leaf[Ro]===e.leaf[Ro]),uw=e=>{var{attributes:t,children:r}=e;return O.default.createElement("span",Object.assign({},t),r)},lw=e=>{for(var{decorations:t,isLast:r,parent:n,renderPlaceholder:o,renderLeaf:a,text:s}=e,u=Qr(),l=(0,O.useRef)(null),c=G.decorations(s,t),d=R.findKey(u,s),h=[],m=0;m<c.length;m++){var C=c[m];h.push(O.default.createElement(sw,{isLast:r&&m===c.length-1,key:"".concat(d.id,"-").concat(m),renderPlaceholder:o,leaf:C,text:s,parent:n,renderLeaf:a}))}var v=(0,O.useCallback)(p=>{var b=X1.get(u);p?(b?.set(d,p),zn.set(s,p),pi.set(p,s)):(b?.delete(d),zn.delete(s),l.current&&pi.delete(l.current)),l.current=p},[l,u,d,s]);return O.default.createElement("span",{"data-slate-node":"text",ref:v},h)},l3=O.default.memo(lw,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&rw(t.decorations,e.decorations)),cw=e=>{var{decorations:t,element:r,renderElement:n=E=>O.default.createElement(pw,Object.assign({},E)),renderPlaceholder:o,renderLeaf:a,selection:s}=e,u=Qr(),l=mw(),c=u.isInline(r),d=R.findKey(u,r),h=(0,O.useCallback)(E=>{var B=X1.get(u);E?(B?.set(d,E),zn.set(r,E),pi.set(E,r)):(B?.delete(d),zn.delete(r))},[u,d,r]),m=d3({decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}),C={"data-slate-node":"element",ref:h};if(c&&(C["data-slate-inline"]=!0),!c&&g.hasInlines(u,r)){var v=H.string(r),p=(0,zc.default)(v);p==="rtl"&&(C.dir=p)}if(g.isVoid(u,r)){C["data-slate-void"]=!0,!l&&c&&(C.contentEditable=!1);var b=c?"span":"div",[[y]]=H.texts(r);m=O.default.createElement(b,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},O.default.createElement(l3,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:y})),jc.set(y,0),Wc.set(y,r)}return n({attributes:C,children:m,element:r})},fw=O.default.memo(cw,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&tw(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&F.equals(e.selection,t.selection))),pw=e=>{var{attributes:t,children:r,element:n}=e,o=Qr(),a=o.isInline(n)?"span":"div";return O.default.createElement(a,Object.assign({},t,{style:{position:"relative"}}),r)},c3=(0,O.createContext)(()=>[]),dw=()=>(0,O.useContext)(c3),f3=(0,O.createContext)(!1),p3=()=>(0,O.useContext)(f3),d3=e=>{for(var{decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}=e,u=dw(),l=Qr(),c=R.findPath(l,r),d=[],h=U.isElement(r)&&!l.isInline(r)&&g.hasInlines(l,r),m=0;m<r.children.length;m++){var C=c.concat(m),v=r.children[m],p=R.findKey(l,v),b=g.range(l,C),y=s&&F.intersection(b,s),E=u([v,C]);for(var B of t){var A=F.intersection(B,b);A&&E.push(A)}U.isElement(v)?d.push(O.default.createElement(f3.Provider,{key:"provider-".concat(p.id),value:!!y},O.default.createElement(fw,{decorations:E,element:v,key:p.id,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:y}))):d.push(O.default.createElement(l3,{decorations:E,key:p.id,isLast:h&&m===r.children.length-1,parent:r,renderPlaceholder:o,renderLeaf:a,text:v})),jc.set(v,m),Wc.set(v,r)}return d},m3=(0,O.createContext)(!1),mw=()=>(0,O.useContext)(m3),h3=(0,O.createContext)(null),Y1=()=>{var e=(0,O.useContext)(h3);if(!e)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:t}=e;return t};function hw(){var e=Qr(),t=(0,O.useRef)(!1),r=(0,O.useRef)(0),n=(0,O.useCallback)(()=>{if(!t.current){t.current=!0;var o=R.getWindow(e);o.cancelAnimationFrame(r.current),r.current=o.requestAnimationFrame(()=>{t.current=!1})}},[e]);return(0,O.useEffect)(()=>()=>cancelAnimationFrame(r.current),[]),{receivedUserInput:t,onUserInput:n}}var gw=3,vw={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},Cw={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},bw={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Pe=e=>{var t=vw[e],r=Cw[e],n=bw[e],o=t&&(0,W1.isKeyHotkey)(t),a=r&&(0,W1.isKeyHotkey)(r),s=n&&(0,W1.isKeyHotkey)(n);return u=>!!(o&&o(u)||km&&a&&a(u)||!km&&s&&s(u))},Le={isBold:Pe("bold"),isCompose:Pe("compose"),isMoveBackward:Pe("moveBackward"),isMoveForward:Pe("moveForward"),isDeleteBackward:Pe("deleteBackward"),isDeleteForward:Pe("deleteForward"),isDeleteLineBackward:Pe("deleteLineBackward"),isDeleteLineForward:Pe("deleteLineForward"),isDeleteWordBackward:Pe("deleteWordBackward"),isDeleteWordForward:Pe("deleteWordForward"),isExtendBackward:Pe("extendBackward"),isExtendForward:Pe("extendForward"),isExtendLineBackward:Pe("extendLineBackward"),isExtendLineForward:Pe("extendLineForward"),isItalic:Pe("italic"),isMoveLineBackward:Pe("moveLineBackward"),isMoveLineForward:Pe("moveLineForward"),isMoveWordBackward:Pe("moveWordBackward"),isMoveWordForward:Pe("moveWordForward"),isRedo:Pe("redo"),isSoftBreak:Pe("insertSoftBreak"),isSplitBlock:Pe("splitBlock"),isTransposeCharacter:Pe("transposeCharacter"),isUndo:Pe("undo")},yw=(e,t)=>{var r=[],n=()=>{r=[]},o=s=>{if(t.current){var u=s.filter(l=>Kc(e,l,s));r.push(...u)}};function a(){r.length>0&&(r.reverse().forEach(s=>{s.type!=="characterData"&&(s.removedNodes.forEach(u=>{s.target.insertBefore(u,s.nextSibling)}),s.addedNodes.forEach(u=>{s.target.removeChild(u)}))}),n())}return{registerMutations:o,restoreDOM:a,clear:n}},Dw={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0},G1=class extends O.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var t,{node:r}=this.props;if(!r.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");(t=this.mutationObserver)===null||t===void 0||t.observe(r.current,Dw)}componentDidMount(){var{receivedUserInput:t}=this.props,r=this.context;this.manager=yw(r,t),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var t,r,n,o=(t=this.mutationObserver)===null||t===void 0?void 0:t.takeRecords();if(o!=null&&o.length){var a;(a=this.manager)===null||a===void 0||a.registerMutations(o)}return(r=this.mutationObserver)===null||r===void 0||r.disconnect(),(n=this.manager)===null||n===void 0||n.restoreDOM(),null}componentDidUpdate(){var t;(t=this.manager)===null||t===void 0||t.clear(),this.observe()}componentWillUnmount(){var t;(t=this.mutationObserver)===null||t===void 0||t.disconnect()}render(){return this.props.children}};G1.contextType=Vc;var xw=Tt?G1:e=>{var{children:t}=e;return O.default.createElement(O.default.Fragment,null,t)},Ew=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],ww=["text"];function jm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Oo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jm(Object(r),!0).forEach(function(n){q1(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Sw=e=>O.default.createElement(O.default.Fragment,null,d3(e)),g3=e=>{var t=(0,O.useCallback)(w=>O.default.createElement(Tw,Object.assign({},w)),[]),{autoFocus:r,decorate:n=Aw,onDOMBeforeInput:o,placeholder:a,readOnly:s=!1,renderElement:u,renderLeaf:l,renderPlaceholder:c=t,scrollSelectionIntoView:d=Bw,style:h={},as:m="div",disableDefaultStyles:C=!1}=e,v=Po(e,Ew),p=Y1(),[b,y]=(0,O.useState)(!1),E=(0,O.useRef)(null),B=(0,O.useRef)([]),[A,I]=(0,O.useState)(),{onUserInput:D,receivedUserInput:T}=hw(),[,V]=(0,O.useReducer)(w=>w+1,0);t3.set(p,V),Lc.set(p,s);var L=(0,O.useMemo)(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);(0,O.useEffect)(()=>{E.current&&r&&E.current.focus()},[r]);var K=(0,O.useRef)(),X=(0,O.useMemo)(()=>(0,Xm.default)(()=>{var w=K.current;if((Tt||!R.isComposing(p))&&(!L.isUpdatingSelection||w!=null&&w.isFlushing())&&!L.isDraggingInternally){var j=R.findDocumentOrShadowRoot(p),{activeElement:k}=j,_=R.toDOMNode(p,p),ue=j.getSelection();if(k===_?(L.latestElement=k,Zn.set(p,!0)):Zn.delete(p),!ue)return P.deselect(p);var{anchorNode:te,focusNode:fe}=ue,ve=R.hasEditableTarget(p,te)||R.isTargetInsideNonReadonlyVoid(p,te),be=R.hasEditableTarget(p,fe)||R.isTargetInsideNonReadonlyVoid(p,fe);if(ve&&be){var Se=R.toSlateRange(p,ue,{exactMatch:!1,suppressThrow:!0});Se&&(!R.isComposing(p)&&!(w!=null&&w.hasPendingChanges())&&!(w!=null&&w.isFlushing())?P.select(p,Se):w?.handleUserSelect(Se))}s&&(!ve||!be)&&P.deselect(p)}},100),[p,s,L]),N=(0,O.useMemo)(()=>(0,qm.default)(X,0),[X]);K.current=YE({node:E,onDOMSelectionChange:X,scheduleOnDOMSelectionChange:N}),di(()=>{var w,j,k;E.current&&(k=_c(E.current))?(e3.set(p,k),_1.set(p,E.current),zn.set(p,E.current),pi.set(E.current,p)):zn.delete(p);var{selection:_}=p,ue=R.findDocumentOrShadowRoot(p),te=ue.getSelection();if(!(!te||!R.isFocused(p)||(w=K.current)!==null&&w!==void 0&&w.hasPendingAction())){var fe=Ue=>{var Xe=te.type!=="None";if(!(!_&&!Xe)){var $e=_1.get(p),ft=!1;if($e.contains(te.anchorNode)&&$e.contains(te.focusNode)&&(ft=!0),Xe&&ft&&_&&!Ue){var at=R.toSlateRange(p,te,{exactMatch:!0,suppressThrow:!0});if(at&&F.equals(at,_)){var Ye;if(!L.hasMarkPlaceholder)return;var{anchorNode:pt}=te;if(pt!=null&&(Ye=pt.parentElement)!==null&&Ye!==void 0&&Ye.hasAttribute("data-slate-mark-placeholder"))return}}if(_&&!R.hasRange(p,_)){p.selection=R.toSlateRange(p,te,{exactMatch:!1,suppressThrow:!0});return}L.isUpdatingSelection=!0;var S=_&&R.toDOMRange(p,_);return S?(R.isComposing(p)?te.collapseToEnd():F.isBackward(_)?te.setBaseAndExtent(S.endContainer,S.endOffset,S.startContainer,S.startOffset):te.setBaseAndExtent(S.startContainer,S.startOffset,S.endContainer,S.endOffset),d(p,S)):te.removeAllRanges(),S}},ve=fe(),be=((j=K.current)===null||j===void 0?void 0:j.isFlushing())==="action";if(!Tt||!be){setTimeout(()=>{if(ve&&K1){var Ue=R.toDOMNode(p,p);Ue.focus()}L.isUpdatingSelection=!1});return}var Se=null,Ce=requestAnimationFrame(()=>{if(be){var Ue=Xe=>{try{var $e=R.toDOMNode(p,p);$e.focus(),fe(Xe)}catch{}};Ue(),Se=setTimeout(()=>{Ue(!0),L.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(Ce),Se&&clearTimeout(Se)}}});var $=(0,O.useCallback)(w=>{if(D(),!s&&R.hasEditableTarget(p,w.target)&&!Fw(w,o)){var j;if(K.current)return K.current.handleDOMBeforeInput(w);N.flush(),X.flush();var{selection:k}=p,{inputType:_}=w,ue=w.dataTransfer||w.data||void 0,te=_==="insertCompositionText"||_==="deleteCompositionText";if(te&&R.isComposing(p))return;var fe=!1;if(_==="insertText"&&k&&F.isCollapsed(k)&&w.data&&w.data.length===1&&/[a-z ]/i.test(w.data)&&k.anchor.offset!==0){var ve,be;fe=!0,p.marks&&(fe=!1);var{anchor:Se}=k,[Ce,Ue]=R.toDOMPoint(p,Se),Xe=(ve=Ce.parentElement)===null||ve===void 0?void 0:ve.closest("a"),$e=R.getWindow(p);if(fe&&Xe&&R.hasDOMNode(p,Xe)){var ft,at=$e?.document.createTreeWalker(Xe,NodeFilter.SHOW_TEXT).lastChild();at===Ce&&((ft=at.textContent)===null||ft===void 0?void 0:ft.length)===Ue&&(fe=!1)}if(fe&&Ce.parentElement&&($e==null||(be=$e.getComputedStyle(Ce.parentElement))===null||be===void 0?void 0:be.whiteSpace)==="pre"){var Ye=g.above(p,{at:Se.path,match:re=>U.isElement(re)&&g.isBlock(p,re)});Ye&&H.string(Ye[0]).includes(" ")&&(fe=!1)}}if(!_.startsWith("delete")||_.startsWith("deleteBy")){var[pt]=w.getTargetRanges();if(pt){var S=R.toSlateRange(p,pt,{exactMatch:!1,suppressThrow:!1});if(!k||!F.equals(k,S)){fe=!1;var q=!te&&p.selection&&g.rangeRef(p,p.selection);P.select(p,S),q&&fi.set(p,q)}}}if(te)return;if(fe||w.preventDefault(),k&&F.isExpanded(k)&&_.startsWith("delete")){var Q=_.endsWith("Backward")?"backward":"forward";g.deleteFragment(p,{direction:Q});return}switch(_){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":{g.deleteFragment(p);break}case"deleteContent":case"deleteContentForward":{g.deleteForward(p);break}case"deleteContentBackward":{g.deleteBackward(p);break}case"deleteEntireSoftLine":{g.deleteBackward(p,{unit:"line"}),g.deleteForward(p,{unit:"line"});break}case"deleteHardLineBackward":{g.deleteBackward(p,{unit:"block"});break}case"deleteSoftLineBackward":{g.deleteBackward(p,{unit:"line"});break}case"deleteHardLineForward":{g.deleteForward(p,{unit:"block"});break}case"deleteSoftLineForward":{g.deleteForward(p,{unit:"line"});break}case"deleteWordBackward":{g.deleteBackward(p,{unit:"word"});break}case"deleteWordForward":{g.deleteForward(p,{unit:"word"});break}case"insertLineBreak":g.insertSoftBreak(p);break;case"insertParagraph":{g.insertBreak(p);break}case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{_==="insertFromComposition"&&R.isComposing(p)&&(y(!1),Hn.set(p,!1)),ue?.constructor.name==="DataTransfer"?R.insertData(p,ue):typeof ue=="string"&&(fe?B.current.push(()=>g.insertText(p,ue)):g.insertText(p,ue));break}}var Y=(j=fi.get(p))===null||j===void 0?void 0:j.unref();fi.delete(p),Y&&(!p.selection||!F.equals(p.selection,Y))&&P.select(p,Y)}},[p,X,D,o,s,N]),Z=(0,O.useCallback)(w=>{w==null?(X.cancel(),N.cancel(),_1.delete(p),zn.delete(p),E.current&&qr&&E.current.removeEventListener("beforeinput",$)):qr&&w.addEventListener("beforeinput",$),E.current=w},[X,N,p,$]);di(()=>{var w=R.getWindow(p);return w.document.addEventListener("selectionchange",N),()=>{w.document.removeEventListener("selectionchange",N)}},[N]);var W=n([p,[]]),le=a&&p.children.length===1&&Array.from(H.texts(p)).length===1&&H.string(p)===""&&!b,me=(0,O.useCallback)(w=>{if(w&&le){var j;I((j=w.getBoundingClientRect())===null||j===void 0?void 0:j.height)}else I(void 0)},[le]);if(le){var De=g.start(p,[]);W.push({[Ro]:!0,placeholder:a,onPlaceholderResize:me,anchor:De,focus:De})}var{marks:ae}=p;if(L.hasMarkPlaceholder=!1,p.selection&&F.isCollapsed(p.selection)&&ae){var{anchor:de}=p.selection,we=H.leaf(p,de.path),he=Po(we,ww);if(!G.equals(we,ae,{loose:!0})){L.hasMarkPlaceholder=!0;var qe=Object.fromEntries(Object.keys(he).map(w=>[w,null]));W.push(Oo(Oo(Oo({[r3]:!0},qe),ae),{},{anchor:de,focus:de}))}}return(0,O.useEffect)(()=>{setTimeout(()=>{var{selection:w}=p;if(w){var{anchor:j}=w,k=H.leaf(p,j.path);if(ae&&!G.equals(k,ae,{loose:!0})){Ut.set(p,ae);return}}Ut.delete(p)})}),O.default.createElement(m3.Provider,{value:s},O.default.createElement(c3.Provider,{value:n},O.default.createElement(xw,{node:E,receivedUserInput:T},O.default.createElement(m,Object.assign({role:s?void 0:"textbox","aria-multiline":s?void 0:!0},v,{spellCheck:qr||!U1?v.spellCheck:!1,autoCorrect:qr||!U1?v.autoCorrect:"false",autoCapitalize:qr||!U1?v.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s,zindex:-1,suppressContentEditableWarning:!0,ref:Z,style:Oo(Oo({},C?{}:Oo({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},A?{minHeight:A}:{})),h),onBeforeInput:(0,O.useCallback)(w=>{if(!qr&&!s&&!st(w,v.onBeforeInput)&&R.hasSelectableTarget(p,w.target)&&(w.preventDefault(),!R.isComposing(p))){var j=w.data;g.insertText(p,j)}},[v.onBeforeInput,p,s]),onInput:(0,O.useCallback)(w=>{if(!st(w,v.onInput)){if(K.current){K.current.handleInput();return}for(var j of B.current)j();B.current=[]}},[v.onInput]),onBlur:(0,O.useCallback)(w=>{if(!(s||L.isUpdatingSelection||!R.hasSelectableTarget(p,w.target)||st(w,v.onBlur))){var j=R.findDocumentOrShadowRoot(p);if(L.latestElement!==j.activeElement){var{relatedTarget:k}=w,_=R.toDOMNode(p,p);if(k!==_&&!(Rt(k)&&k.hasAttribute("data-slate-spacer"))){if(k!=null&&Jr(k)&&R.hasDOMNode(p,k)){var ue=R.toSlateNode(p,k);if(U.isElement(ue)&&!p.isVoid(ue))return}if(ci){var te=j.getSelection();te?.removeAllRanges()}Zn.delete(p)}}}},[s,L.isUpdatingSelection,L.latestElement,p,v.onBlur]),onClick:(0,O.useCallback)(w=>{if(R.hasTarget(p,w.target)&&!st(w,v.onClick)&&Jr(w.target)){var j=R.toSlateNode(p,w.target),k=R.findPath(p,j);if(!g.hasPath(p,k)||H.get(p,k)!==j)return;if(w.detail===gw&&k.length>=1){var _=k;if(!(U.isElement(j)&&g.isBlock(p,j))){var ue,te=g.above(p,{match:Xe=>U.isElement(Xe)&&g.isBlock(p,Xe),at:k});_=(ue=te?.[1])!==null&&ue!==void 0?ue:k.slice(0,1)}var fe=g.range(p,_);P.select(p,fe);return}if(s)return;var ve=g.start(p,k),be=g.end(p,k),Se=g.void(p,{at:ve}),Ce=g.void(p,{at:be});if(Se&&Ce&&x.equals(Se[1],Ce[1])){var Ue=g.range(p,ve);P.select(p,Ue)}}},[p,v.onClick,s]),onCompositionEnd:(0,O.useCallback)(w=>{if(R.hasSelectableTarget(p,w.target)){var j;if(R.isComposing(p)&&(y(!1),Hn.set(p,!1)),(j=K.current)===null||j===void 0||j.handleCompositionEnd(w),st(w,v.onCompositionEnd)||Tt)return;if(!ci&&!EE&&!bE&&!SE&&!wE&&w.data){var k=Ut.get(p);Ut.delete(p),k!==void 0&&(Tr.set(p,p.marks),p.marks=k),g.insertText(p,w.data);var _=Tr.get(p);Tr.delete(p),_!==void 0&&(p.marks=_)}}},[v.onCompositionEnd,p]),onCompositionUpdate:(0,O.useCallback)(w=>{R.hasSelectableTarget(p,w.target)&&!st(w,v.onCompositionUpdate)&&(R.isComposing(p)||(y(!0),Hn.set(p,!0)))},[v.onCompositionUpdate,p]),onCompositionStart:(0,O.useCallback)(w=>{if(R.hasSelectableTarget(p,w.target)){var j;if((j=K.current)===null||j===void 0||j.handleCompositionStart(w),st(w,v.onCompositionStart)||Tt)return;y(!0);var{selection:k}=p;if(k){if(F.isExpanded(k)){g.deleteFragment(p);return}var _=g.above(p,{match:fe=>U.isElement(fe)&&g.isInline(p,fe),mode:"highest"});if(_){var[,ue]=_;if(g.isEnd(p,k.anchor,ue)){var te=g.after(p,ue);P.setSelection(p,{anchor:te,focus:te})}}}}},[v.onCompositionStart,p]),onCopy:(0,O.useCallback)(w=>{R.hasSelectableTarget(p,w.target)&&!st(w,v.onCopy)&&!Wm(w)&&(w.preventDefault(),R.setFragmentData(p,w.clipboardData,"copy"))},[v.onCopy,p]),onCut:(0,O.useCallback)(w=>{if(!s&&R.hasSelectableTarget(p,w.target)&&!st(w,v.onCut)&&!Wm(w)){w.preventDefault(),R.setFragmentData(p,w.clipboardData,"cut");var{selection:j}=p;if(j)if(F.isExpanded(j))g.deleteFragment(p);else{var k=H.parent(p,j.anchor.path);g.isVoid(p,k)&&P.delete(p)}}},[s,p,v.onCut]),onDragOver:(0,O.useCallback)(w=>{if(R.hasTarget(p,w.target)&&!st(w,v.onDragOver)){var j=R.toSlateNode(p,w.target);U.isElement(j)&&g.isVoid(p,j)&&w.preventDefault()}},[v.onDragOver,p]),onDragStart:(0,O.useCallback)(w=>{if(!s&&R.hasTarget(p,w.target)&&!st(w,v.onDragStart)){var j=R.toSlateNode(p,w.target),k=R.findPath(p,j),_=U.isElement(j)&&g.isVoid(p,j)||g.void(p,{at:k,voids:!0});if(_){var ue=g.range(p,k);P.select(p,ue)}L.isDraggingInternally=!0,R.setFragmentData(p,w.dataTransfer,"drag")}},[s,p,v.onDragStart,L]),onDrop:(0,O.useCallback)(w=>{if(!s&&R.hasTarget(p,w.target)&&!st(w,v.onDrop)){w.preventDefault();var j=p.selection,k=R.findEventRange(p,w),_=w.dataTransfer;P.select(p,k),L.isDraggingInternally&&j&&!F.equals(j,k)&&!g.void(p,{at:k,voids:!0})&&P.delete(p,{at:j}),R.insertData(p,_),R.isFocused(p)||R.focus(p)}L.isDraggingInternally=!1},[s,p,v.onDrop,L]),onDragEnd:(0,O.useCallback)(w=>{!s&&L.isDraggingInternally&&v.onDragEnd&&R.hasTarget(p,w.target)&&v.onDragEnd(w),L.isDraggingInternally=!1},[s,L,v,p]),onFocus:(0,O.useCallback)(w=>{if(!s&&!L.isUpdatingSelection&&R.hasEditableTarget(p,w.target)&&!st(w,v.onFocus)){var j=R.toDOMNode(p,p),k=R.findDocumentOrShadowRoot(p);if(L.latestElement=k.activeElement,K1&&w.target!==j){j.focus();return}Zn.set(p,!0)}},[s,L,p,v.onFocus]),onKeyDown:(0,O.useCallback)(w=>{if(!s&&R.hasEditableTarget(p,w.target)){var j;(j=K.current)===null||j===void 0||j.handleKeyDown(w);var{nativeEvent:k}=w;if(R.isComposing(p)&&k.isComposing===!1&&(Hn.set(p,!1),y(!1)),st(w,v.onKeyDown)||R.isComposing(p))return;var{selection:_}=p,ue=p.children[_!==null?_.focus.path[0]:0],te=(0,zc.default)(H.string(ue))==="rtl";if(Le.isRedo(k)){w.preventDefault();var fe=p;typeof fe.redo=="function"&&fe.redo();return}if(Le.isUndo(k)){w.preventDefault();var ve=p;typeof ve.undo=="function"&&ve.undo();return}if(Le.isMoveLineBackward(k)){w.preventDefault(),P.move(p,{unit:"line",reverse:!0});return}if(Le.isMoveLineForward(k)){w.preventDefault(),P.move(p,{unit:"line"});return}if(Le.isExtendLineBackward(k)){w.preventDefault(),P.move(p,{unit:"line",edge:"focus",reverse:!0});return}if(Le.isExtendLineForward(k)){w.preventDefault(),P.move(p,{unit:"line",edge:"focus"});return}if(Le.isMoveBackward(k)){w.preventDefault(),_&&F.isCollapsed(_)?P.move(p,{reverse:!te}):P.collapse(p,{edge:"start"});return}if(Le.isMoveForward(k)){w.preventDefault(),_&&F.isCollapsed(_)?P.move(p,{reverse:te}):P.collapse(p,{edge:"end"});return}if(Le.isMoveWordBackward(k)){w.preventDefault(),_&&F.isExpanded(_)&&P.collapse(p,{edge:"focus"}),P.move(p,{unit:"word",reverse:!te});return}if(Le.isMoveWordForward(k)){w.preventDefault(),_&&F.isExpanded(_)&&P.collapse(p,{edge:"focus"}),P.move(p,{unit:"word",reverse:te});return}if(qr){if((Qm||ci)&&_&&(Le.isDeleteBackward(k)||Le.isDeleteForward(k))&&F.isCollapsed(_)){var be=H.parent(p,_.anchor.path);if(U.isElement(be)&&g.isVoid(p,be)&&(g.isInline(p,be)||g.isBlock(p,be))){w.preventDefault(),g.deleteBackward(p,{unit:"block"});return}}}else{if(Le.isBold(k)||Le.isItalic(k)||Le.isTransposeCharacter(k)){w.preventDefault();return}if(Le.isSoftBreak(k)){w.preventDefault(),g.insertSoftBreak(p);return}if(Le.isSplitBlock(k)){w.preventDefault(),g.insertBreak(p);return}if(Le.isDeleteBackward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"backward"}):g.deleteBackward(p);return}if(Le.isDeleteForward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"forward"}):g.deleteForward(p);return}if(Le.isDeleteLineBackward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"backward"}):g.deleteBackward(p,{unit:"line"});return}if(Le.isDeleteLineForward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"forward"}):g.deleteForward(p,{unit:"line"});return}if(Le.isDeleteWordBackward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"backward"}):g.deleteBackward(p,{unit:"word"});return}if(Le.isDeleteWordForward(k)){w.preventDefault(),_&&F.isExpanded(_)?g.deleteFragment(p,{direction:"forward"}):g.deleteForward(p,{unit:"word"});return}}}},[s,p,v.onKeyDown]),onPaste:(0,O.useCallback)(w=>{!s&&R.hasEditableTarget(p,w.target)&&!st(w,v.onPaste)&&(!qr||BE(w.nativeEvent)||ci)&&(w.preventDefault(),R.insertData(p,w.clipboardData))},[s,p,v.onPaste])}),O.default.createElement(Sw,{decorations:W,node:p,renderElement:u,renderPlaceholder:c,renderLeaf:l,selection:p.selection})))))},Tw=e=>{var{attributes:t,children:r}=e;return O.default.createElement("span",Object.assign({},t),r,Tt&&O.default.createElement("br",null))},Aw=()=>[],Bw=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&F.isCollapsed(e.selection))){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),x5(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},st=(e,t)=>{if(!t)return!1;var r=t(e);return r??(e.isDefaultPrevented()||e.isPropagationStopped())},Wm=e=>Jr(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),Fw=(e,t)=>{if(!t)return!1;var r=t(e);return r??e.defaultPrevented},v3=(0,O.createContext)(!1),C3=()=>(0,O.useContext)(v3);var Mw=(0,O.createContext)({});function Ow(e){var t=(0,O.useRef)([]).current,r=(0,O.useRef)({editor:e}).current,n=(0,O.useCallback)(a=>{r.editor=a,t.forEach(s=>s(a))},[t,r]),o=(0,O.useMemo)(()=>({getSlate:()=>r.editor,addEventListener:a=>(t.push(a),()=>{t.splice(t.indexOf(a),1)})}),[t,r]);return{selectorContext:o,onChange:n}}var Pw=["editor","children","onChange","initialValue"],b3=e=>{var{editor:t,children:r,onChange:n,initialValue:o}=e,a=Po(e,Pw),s=(0,O.useRef)(!1),[u,l]=O.default.useState(()=>{if(!H.isNodeList(o))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(_e.stringify(o)));if(!g.isEditor(t))throw new Error("[Slate] editor is invalid! You passed: ".concat(_e.stringify(t)));return t.children=o,Object.assign(t,a),{v:0,editor:t}}),{selectorContext:c,onChange:d}=Ow(t),h=(0,O.useCallback)(()=>{n&&n(t.children),l(v=>({v:v.v+1,editor:t})),d(t)},[t,d,n]);(0,O.useEffect)(()=>(kc.set(t,h),()=>{kc.set(t,()=>{}),s.current=!0}),[t,h]);var[m,C]=(0,O.useState)(R.isFocused(t));return(0,O.useEffect)(()=>{C(R.isFocused(t))},[t]),di(()=>{var v=()=>C(R.isFocused(t));return Jm>=17?(document.addEventListener("focusin",v),document.addEventListener("focusout",v),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",v)}):(document.addEventListener("focus",v,!0),document.addEventListener("blur",v,!0),()=>{document.removeEventListener("focus",v,!0),document.removeEventListener("blur",v,!0)})},[]),O.default.createElement(Mw.Provider,{value:c},O.default.createElement(h3.Provider,{value:u},O.default.createElement(Vc.Provider,{value:u.editor},O.default.createElement(v3.Provider,{value:m},r))))};var Um=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},_m=(e,t,r)=>{var n=R.toDOMRange(e,t).getBoundingClientRect(),o=R.toDOMRange(e,r).getBoundingClientRect();return Um(n,o)&&Um(o,n)},Rw=(e,t)=>{var r=g.range(e,F.end(t)),n=Array.from(g.positions(e,{at:t})),o=0,a=n.length,s=Math.floor(a/2);if(_m(e,g.range(e,n[o]),r))return g.range(e,n[o],r);if(n.length<2)return g.range(e,n[n.length-1],r);for(;s!==n.length&&s!==o;)_m(e,g.range(e,n[s]),r)?a=s:o=s,s=Math.floor((o+a)/2);return g.range(e,n[a],r)};function Km(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Gm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Km(Object(r),!0).forEach(function(n){q1(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Km(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var y3=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",n=t,{apply:o,onChange:a,deleteBackward:s,addMark:u,removeMark:l}=n;return X1.set(n,new WeakMap),n.addMark=(c,d)=>{var h,m;(h=Uc.get(n))===null||h===void 0||h(),!Ut.get(n)&&(m=mt.get(n))!==null&&m!==void 0&&m.length&&Ut.set(n,null),Tr.delete(n),u(c,d)},n.removeMark=c=>{var d;!Ut.get(n)&&(d=mt.get(n))!==null&&d!==void 0&&d.length&&Ut.set(n,null),Tr.delete(n),l(c)},n.deleteBackward=c=>{if(c!=="line")return s(c);if(n.selection&&F.isCollapsed(n.selection)){var d=g.above(n,{match:v=>U.isElement(v)&&g.isBlock(n,v),at:n.selection});if(d){var[,h]=d,m=g.range(n,h,n.selection.anchor),C=Rw(n,m);F.isCollapsed(C)||P.delete(n,{at:C})}}},n.apply=c=>{var d=[],h=mt.get(n);if(h!=null&&h.length){var m=h.map(D=>HE(D,c)).filter(Boolean);mt.set(n,m)}var C=Yr.get(n);C&&Yr.set(n,$m(n,C,c));var v=Xr.get(n);if(v!=null&&v.at){var p=ce.isPoint(v?.at)?Hc(n,v.at,c):$m(n,v.at,c);Xr.set(n,p?Gm(Gm({},v),{},{at:p}):null)}switch(c.type){case"insert_text":case"remove_text":case"set_node":case"split_node":{d.push(...j1(n,c.path));break}case"set_selection":{var b;(b=fi.get(n))===null||b===void 0||b.unref(),fi.delete(n);break}case"insert_node":case"remove_node":{d.push(...j1(n,x.parent(c.path)));break}case"merge_node":{var y=x.previous(c.path);d.push(...j1(n,y));break}case"move_node":{var E=x.common(x.parent(c.path),x.parent(c.newPath));d.push(...j1(n,E));break}}o(c);for(var[B,A]of d){var[I]=g.node(n,B);Ic.set(I,A)}},n.setFragmentData=c=>{var{selection:d}=n;if(d){var[h,m]=F.edges(d),C=g.void(n,{at:h.path}),v=g.void(n,{at:m.path});if(!(F.isCollapsed(d)&&!C)){var p=R.toDOMRange(n,d),b=p.cloneContents(),y=b.childNodes[0];if(b.childNodes.forEach(K=>{K.textContent&&K.textContent.trim()!==""&&(y=K)}),v){var[E]=v,B=p.cloneRange(),A=R.toDOMNode(n,E);B.setEndAfter(A),b=B.cloneContents()}if(C&&(y=b.querySelector("[data-slate-spacer]")),Array.from(b.querySelectorAll("[data-slate-zero-width]")).forEach(K=>{var X=K.getAttribute("data-slate-zero-width")==="n";K.textContent=X?`
|
|
18
|
+
`:""}),n3(y)){var I=y.ownerDocument.createElement("span");I.style.whiteSpace="pre",I.appendChild(y),b.appendChild(I),y=I}var D=n.getFragment(),T=JSON.stringify(D),V=window.btoa(encodeURIComponent(T));y.setAttribute("data-slate-fragment",V),c.setData("application/".concat(r),V);var L=b.ownerDocument.createElement("div");return L.appendChild(b),L.setAttribute("hidden","true"),b.ownerDocument.body.appendChild(L),c.setData("text/html",L.innerHTML),c.setData("text/plain",a3(L)),b.ownerDocument.body.removeChild(L),c}}},n.insertData=c=>{n.insertFragmentData(c)||n.insertTextData(c)},n.insertFragmentData=c=>{var d=c.getData("application/".concat(r))||RE(c);if(d){var h=decodeURIComponent(window.atob(d)),m=JSON.parse(h);return n.insertFragment(m),!0}return!1},n.insertTextData=c=>{var d=c.getData("text/plain");if(d){var h=d.split(/\r\n|\r|\n/),m=!1;for(var C of h)m&&P.splitNodes(n,{always:!0}),n.insertText(C),m=!0;return!0}return!1},n.onChange=c=>{var d=Jm<18?Ym.default.unstable_batchedUpdates:h=>h();d(()=>{var h=kc.get(n);h&&h(),a(c)})},n},j1=(e,t)=>{var r=[];for(var[n,o]of g.levels(e,{at:t})){var a=R.findKey(e,n);r.push([o,a])}return r};i();var Iw={isHistory(e){return Ze(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||wr.isOperationList(e.redos[0].operations))&&(e.undos.length===0||wr.isOperationList(e.undos[0].operations))}};var Gc=new WeakMap,qc=new WeakMap,Io={isHistoryEditor(e){return Iw.isHistory(e.history)&&g.isEditor(e)},isMerging(e){return qc.get(e)},isSaving(e){return Gc.get(e)},redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var r=Io.isMerging(e);qc.set(e,!1),t(),qc.set(e,r)},withoutSaving(e,t){var r=Io.isSaving(e);Gc.set(e,!1),t(),Gc.set(e,r)}},D3=e=>{var t=e,{apply:r}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:n}=t,{redos:o}=n;if(o.length>0){var a=o[o.length-1];a.selectionBefore&&P.setSelection(t,a.selectionBefore),Io.withoutSaving(t,()=>{g.withoutNormalizing(t,()=>{for(var s of a.operations)t.apply(s)})}),n.redos.pop(),t.writeHistory("undos",a)}},t.undo=()=>{var{history:n}=t,{undos:o}=n;if(o.length>0){var a=o[o.length-1];Io.withoutSaving(t,()=>{g.withoutNormalizing(t,()=>{var s=a.operations.map(wr.inverse).reverse();for(var u of s)t.apply(u);a.selectionBefore&&P.setSelection(t,a.selectionBefore)})}),t.writeHistory("redos",a),n.undos.pop()}},t.apply=n=>{var{operations:o,history:a}=t,{undos:s}=a,u=s[s.length-1],l=u&&u.operations[u.operations.length-1],c=Io.isSaving(t),d=Io.isMerging(t);if(c==null&&(c=kw(n)),c){if(d==null&&(u==null?d=!1:o.length!==0?d=!0:d=Lw(n,l)),u&&d)u.operations.push(n);else{var h={operations:[n],selectionBefore:t.selection};t.writeHistory("undos",h)}for(;s.length>100;)s.shift();a.redos=[]}r(n)},t.writeHistory=(n,o)=>{t.history[n].push(o)},t},Lw=(e,t)=>!!(t&&e.type==="insert_text"&&t.type==="insert_text"&&e.offset===t.offset+t.text.length&&x.equals(e.path,t.path)||t&&e.type==="remove_text"&&t.type==="remove_text"&&e.offset+e.text.length===t.offset&&x.equals(e.path,t.path)),kw=(e,t)=>e.type!=="set_selection";var N4=z(T3());i();i();function F3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var M3=new WeakMap,O3=new WeakMap,gi=class{},Lo=class extends gi{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super();var{offset:r,path:n}=t;this.offset=r,this.path=n}},ko=class extends gi{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super();var{offset:r,path:n}=t;this.offset=r,this.path=n}},Hw=(e,t)=>{var r=e.text.length;M3.set(e,[r,t])},zw=e=>M3.get(e),Vw=(e,t)=>{var r=e.text.length;O3.set(e,[r,t])},jw=e=>O3.get(e);function A3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Qc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?A3(Object(r),!0).forEach(function(n){F3(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A3(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Q1=new WeakSet,es=e=>{var t=[],r=o=>{if(o!=null){var a=t[t.length-1];if(typeof o=="string"){var s={text:o};Q1.add(s),o=s}if(G.isText(o)){var u=o;G.isText(a)&&Q1.has(a)&&Q1.has(u)&&G.equals(a,u,{loose:!0})?a.text+=u.text:t.push(u)}else if(U.isElement(o))t.push(o);else if(o instanceof gi){var l=t[t.length-1];G.isText(l)||(r(""),l=t[t.length-1]),o instanceof Lo?Hw(l,o):o instanceof ko&&Vw(l,o)}else throw new Error("Unexpected hyperscript child object: ".concat(o))}};for(var n of e.flat(1/0))r(n);return t};function Ww(e,t,r){return new Lo(t)}function Uw(e,t,r){return[new Lo(t),new ko(t)]}function P3(e,t,r){return Qc(Qc({},t),{},{children:es(r)})}function _w(e,t,r){return new ko(t)}function Kw(e,t,r){return es(r)}function Gw(e,t,r){var n=r.find(a=>a instanceof Lo),o=r.find(a=>a instanceof ko);if(!n||n.offset==null||n.path==null)throw new Error("The <selection> hyperscript tag must have an <anchor> tag as a child with `path` and `offset` attributes defined.");if(!o||o.offset==null||o.path==null)throw new Error("The <selection> hyperscript tag must have a <focus> tag as a child with `path` and `offset` attributes defined.");return Qc({anchor:{offset:n.offset,path:n.path},focus:{offset:o.offset,path:o.path}},t)}function qw(e,t,r){var n=es(r);if(n.length>1)throw new Error("The <text> hyperscript tag must only contain a single node's worth of children.");var[o]=n;if(o==null&&(o={text:""}),!G.isText(o))throw new Error(`
|
|
19
|
+
The <text> hyperscript tag can only contain text content as children.`);return Q1.delete(o),Object.assign(o,t),o}var Xw=e=>(t,r,n)=>{var o=[],a;for(var s of n)F.isRange(s)?a=s:o.push(s);var u=es(o),l={},c=e();Object.assign(c,r),c.children=u;for(var[d,h]of H.texts(c)){var m=zw(d),C=jw(d);if(m!=null){var[v]=m;l.anchor={path:h,offset:v}}if(C!=null){var[p]=C;l.focus={path:h,offset:p}}}if(l.anchor&&!l.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<anchor />`. For collapsed selections, use `<cursor />` instead.");if(!l.anchor&&l.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<focus />`. For collapsed selections, use `<cursor />` instead.");return a!=null?c.selection=a:F.isRange(l)&&(c.selection=l),c};function B3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function hi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?B3(Object(r),!0).forEach(function(n){F3(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B3(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Yw={anchor:Ww,cursor:Uw,editor:Xw(R1),element:P3,focus:_w,fragment:Kw,selection:Gw,text:qw},Jw=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{elements:r={}}=t,n=eS(r),o=hi(hi(hi({},Yw),n),t.creators),a=Qw(o);return a},Qw=e=>{var t=function(n,o){for(var a=arguments.length,s=new Array(a>2?a-2:0),u=2;u<a;u++)s[u-2]=arguments[u];var l=e[n];if(!l)throw new Error("No hyperscript creator found for tag: <".concat(n,">"));o==null&&(o={}),Ze(o)||(s=[o].concat(s),o={}),s=s.filter(d=>!!d).flat();var c=l(n,o,s);return c};return t},eS=e=>{var t={},r=function(a){var s=e[a];if(typeof s!="object")throw new Error("Properties specified for a hyperscript shorthand should be an object, but for the custom element <".concat(a,"> tag you passed: ").concat(s));t[a]=(u,l,c)=>P3("element",hi(hi({},s),l),c)};for(var n in e)r(n);return t},No=Jw();var ts=z(I3());var t0={text:""},nS=e=>e.type!=="image",oS=e=>e.type==="image"&&e.url===void 0,aS=e=>M(e.children)&&e.children.length===1,iS=e=>G.isText(e)&&e.text?.trim()==="",sS=e=>aS(e)&&iS(e.children[0]),uS=e=>e.every(t=>se(t)),lS=e=>uS(e)?null:e.join(""),L3=(e,t)=>{let r=e;return r.children&&(r.children=r.children.map(n=>({...L3(n,t),...t}))),r},cS=e=>{let r=[(0,ts.default)(e.text)];return M(e.bold)&&e.bold&&(r.push("</strong>"),r.unshift("<strong>")),M(e.italic)&&e.italic&&(r.push("</em>"),r.unshift("<em>")),M(e.underline)&&e.underline&&(r.push("</u>"),r.unshift("<u>")),M(e.strikethrough)&&e.strikethrough&&(r.push("</s>"),r.unshift("<s>")),M(e.code)&&e.code&&(r.push("</code>"),r.unshift("<code>")),r.join("")},k3=e=>{if(nS(e)&&sS(e)||oS(e))return null;if(G.isText(e))return cS(e);let t=M(e.children)?e.children.map(r=>k3(r)).join(""):"";switch(e.type){case"span":return`<span>${t}</span>`;case"blockquote":return`<blockquote>${t}</blockquote>`;case"paragraph":return`<p>${t}</p>`;case"heading-one":return`<h1>${t}</h1>`;case"heading-two":return`<h2>${t}</h2>`;case"heading-three":return`<h3>${t}</h3>`;case"heading-four":return`<h4>${t}</h4>`;case"heading-five":return`<h5>${t}</h5>`;case"heading-six":return`<h6>${t}</h6>`;case"link":return`<a rel="noopener noreferrer" target="_blank" href="${(0,ts.default)(e.url)}">${t}</a>`;case"numbered-list":return`<ol>${t}</ol>`;case"bulleted-list":return`<ul>${t}</ul>`;case"list-item":return`<li>${t}</li>`;case"image":return`<img src="${(0,ts.default)(e.url)}" />`;case"code":return`<code>${t}</code>`;default:return t}},en=e=>{let t=e.map(r=>k3(r));return lS(t)},e0={SPAN:()=>({type:"span"}),A:e=>({type:"link",url:e.getAttribute("href")}),BLOCKQUOTE:()=>({type:"blockquote"}),H1:()=>({type:"heading-one"}),H2:()=>({type:"heading-two"}),H3:()=>({type:"heading-three"}),H4:()=>({type:"heading-four"}),H5:()=>({type:"heading-five"}),H6:()=>({type:"heading-six"}),LI:()=>({type:"list-item"}),OL:()=>({type:"numbered-list"}),P:()=>({type:"paragraph"}),UL:()=>({type:"bulleted-list"}),IMG:e=>({type:"image",url:e.getAttribute("src")}),CODE:()=>({type:"code"})},N3={DEL:()=>({strikethrough:!0}),S:()=>({strikethrough:!0}),EM:()=>({italic:!0}),I:()=>({italic:!0}),STRONG:()=>({bold:!0}),U:()=>({underline:!0}),CODE:()=>({code:!0})},$3=e=>e.nodeType===3,fS=e=>e.nodeType===1,Z3=e=>e.nodeName==="CODE",H3=(e,t)=>Z3(e)&&M(t[0])&&!t[0].match(/\n/g),pS=(e,t)=>!H3(e,t)&&M(e0[e.nodeName]),dS=(e,t)=>H3(e,t)||M(N3[e.nodeName]),mS=e=>M(e)&&!dt(e)&&e.text?.trim()==="",hS=(e,t)=>{let{nodeName:r}=t;if(r!=="IMG"&&e.length===1&&!dt(e[0])&&M(e[0].text)&&e[0].text?.trim()==="")return No("element",e0.P(),t0);let n=e0[r](t);return No("element",n,e)},gS=(e,t)=>{let{nodeName:r}=t,n=N3[r]();return e.map(o=>!dt(o)&&M(o)&&M(o.children)?L3(o,n):mS(o)?No("text",{},t0):No("text",n,o))},vS=e=>e.nodeName==="BLOCKQUOTE"||e.nodeName==="OL"||e.nodeName==="UL",CS=(e,t)=>{let r=[];return Z3(e)?r=[...e.childNodes].map(n=>$3(n)?n.textContent:n.outerHTML):vS(e)?r=[...e.childNodes].filter(n=>n.textContent?.trim()!=="").flatMap(t):r=[...e.childNodes].flatMap(t),r},z3=e=>{if($3(e))return e.nodeValue?.trim()===""?null:e.textContent;if(e.nodeName==="BR")return`
|
|
20
|
+
`;if(!fS(e))return null;let t=CS(e,z3),r=t.length>0&&t[0]!=null?t:[t0];return e.nodeName==="BODY"?No("fragment",{},r):pS(e,t)?hS(r,e):dS(e,r)?gS(r,e):t},$o=e=>{if(!e)return;let t=new DOMParser().parseFromString(e,"text/html").body,r=z3(t);if(M(r)&&So(r)&&M(r[0])&&M(r[0].text))return[{type:"paragraph",children:[{text:r[0].text}]}];let n=So(r)?r[r.length-1]:void 0;return So(r)&&U.isElement(n)&&n.type!=="paragraph"?[...r,{type:"paragraph",children:[{text:""}]}]:r};i();var Vn=require("react/jsx-runtime"),V3=({attributes:e={"data-slate-leaf":!0},children:t,leaf:r={}})=>{let n=t;return M(r.bold)&&(n=(0,Vn.jsx)("strong",{children:n})),M(r.italic)&&(n=(0,Vn.jsx)("em",{children:n})),M(r.underline)&&(n=(0,Vn.jsx)("u",{children:n})),M(r.strikethrough)&&(n=(0,Vn.jsx)("s",{children:n})),M(r.code)&&(n=(0,Vn.jsx)("code",{children:n})),(0,Vn.jsx)("span",{...e,children:n})};i();var ht=z(require("styled-components")),nt=require("react/jsx-runtime"),j3=ht.default.span`
|
|
21
21
|
display: 'inline-block';
|
|
22
22
|
user-select: none;
|
|
23
|
-
`,
|
|
23
|
+
`,bS=ht.default.img`
|
|
24
24
|
box-shadow: ${({selected:e,focused:t,theme:r})=>e&&t?`0 0 0 3px ${r.color.brandBlue500}`:"none"};
|
|
25
25
|
max-height: 10em;
|
|
26
26
|
max-width: 100%;
|
|
27
27
|
user-select: none;
|
|
28
|
-
`,
|
|
28
|
+
`,W3=ht.css`
|
|
29
29
|
padding: 0 ${({theme:e})=>e.spacing.space05};
|
|
30
30
|
|
|
31
31
|
li {
|
|
@@ -34,29 +34,29 @@
|
|
|
34
34
|
font-weight: 400;
|
|
35
35
|
margin: ${({theme:e})=>`${e.spacing.space02} 0`};
|
|
36
36
|
}
|
|
37
|
-
`,
|
|
38
|
-
${
|
|
39
|
-
`,
|
|
40
|
-
${
|
|
37
|
+
`,yS=ht.default.ol`
|
|
38
|
+
${W3}
|
|
39
|
+
`,DS=ht.default.ul`
|
|
40
|
+
${W3}
|
|
41
41
|
`,r0=ht.css`
|
|
42
42
|
font-weight: 500;
|
|
43
|
-
`,
|
|
43
|
+
`,xS=ht.default.h1`
|
|
44
44
|
${r0}
|
|
45
45
|
font-size: 18px;
|
|
46
|
-
`,
|
|
46
|
+
`,ES=ht.default.h2`
|
|
47
47
|
${r0}
|
|
48
48
|
font-size: 16px;
|
|
49
|
-
`,
|
|
49
|
+
`,wS=ht.default.h3`
|
|
50
50
|
${r0}
|
|
51
51
|
font-size: 14px;
|
|
52
|
-
`,
|
|
52
|
+
`,SS=ht.default.p`
|
|
53
53
|
font-weight: 400;
|
|
54
|
-
`,
|
|
54
|
+
`,TS=ht.default.a`
|
|
55
55
|
color: ${({theme:e})=>e.color.brandBlue500};
|
|
56
56
|
font-weight: 300;
|
|
57
|
-
`,
|
|
57
|
+
`,AS=ht.default.span`
|
|
58
58
|
font-weight: 400;
|
|
59
|
-
`,j3=({attributes:e={"data-slate-node":"element",ref:void 0},children:t=void 0,element:r={}})=>{let n=c3(),o=g3();switch(r.type){case"span":return(0,nt.jsx)(ES,{...e,children:t});case"blockquote":return(0,nt.jsx)("blockquote",{...e,children:t});case"bulleted-list":return(0,nt.jsx)(vS,{...e,children:t});case"heading-one":return(0,nt.jsx)(bS,{...e,children:t});case"heading-two":return(0,nt.jsx)(CS,{...e,children:t});case"heading-three":case"heading-four":case"heading-five":case"heading-six":return(0,nt.jsx)(yS,{...e,children:t});case"list-item":return(0,nt.jsx)("li",{...e,children:t});case"numbered-list":return(0,nt.jsx)(gS,{...e,children:t});case"image":return(0,nt.jsxs)(z3,{...e,children:[(0,nt.jsx)(z3,{contentEditable:!1,children:(0,nt.jsx)(hS,{alt:"",contentEditable:!1,focused:o,selected:n,src:r.url})}),t]});case"link":return(0,nt.jsx)(xS,{...e,href:r.url,rel:"noopener noreferrer",target:"_blank",children:t});case"code":return(0,nt.jsx)("code",{...e,children:t});default:return(0,nt.jsx)(DS,{...e,children:t})}};i();var P4=z(require("styled-components"));i();i();i();var r1=(e,t)=>{let[r]=g.nodes(e,{match:n=>U.isElement(n)&&n.type===t});return!!r},W3=new Set(["numbered-list","bulleted-list"]),tn=(e,t)=>{let r=r1(e,t),n=W3.has(t);P.unwrapNodes(e,{match:a=>U.isElement(a)&&M(a.type)&&W3.has(a.type),split:!0});let o=n?"list-item":t;if(P.setNodes(e,{type:r?"paragraph":o}),!r&&n){let a={type:t,children:[]};P.wrapNodes(e,a)}},n1=(e,t)=>{let r=g.marks(e);return pe(r&&Object.keys(r).find(n=>n===t))},jn=(e,t)=>{n1(e,t)?g.removeMark(e,t):g.addMark(e,t,!0)};var U3={text:""},wS=["jpg","png","gif","tiff","bmp","dcm"],SS=e=>{if(!To(e))return!1;let t=wS.find(r=>e.includes(r));return ee(t)&&!!t},n0=(e,t)=>{if(!t){tn(e,"image");return}if(!SS(t)){tn(e,"image");return}let r={type:"image",url:t,children:[U3]};P.insertNodes(e,r)},o0=e=>{let{normalizeNode:t,isVoid:r}=e;return e.isVoid=n=>n.type==="image"?!0:r(n),e.normalizeNode=([n,o])=>{if(U.isElement(n)&&n.type==="image"&&n.url!==void 0){let a={type:"paragraph",children:[U3]},s=ee(o[0])?o[0]+1:1;P.insertNodes(e,a,{at:[s]}),P.move(e)}U.isElement(n)&&n.type==="image"&&n.url===void 0&&ee(n.children)&&ee(n.children[0])&&ee(n.children[0].text)&&n.children[0].text.trim()!==""&&P.setNodes(e,{type:"span"},{match:a=>U.isElement(a)&&a.type==="image"&&a.url===void 0&&ee(a.children)&&G.isText(a.children[0])&&M(a.children[0].text)&&a.children[0].text.trim()!=="",split:!0,at:o,mode:"highest"}),t([n,o])},e};i();var _3=e=>{let[t]=g.nodes(e,{match:r=>U.isElement(r)&&r.type==="link"});return!!t},K3=e=>{P.unwrapNodes(e,{match:t=>U.isElement(t)&&t.type==="link"})},a0=(e,t)=>{_3(e)&&K3(e);let{selection:r}=e,n=r&&F.isCollapsed(r),o={type:"link",url:t,children:n===!0?[{text:t}]:[]};n===!0?P.insertNodes(e,o):(P.wrapNodes(e,o,{split:!0}),P.collapse(e,{edge:"end"}))},i0=e=>{let{insertData:t,insertText:r,isInline:n,normalizeNode:o}=e;return e.isInline=a=>a.type==="link"?!0:n(a),e.insertText=a=>{a&&To(a)?a0(e,a):r(a)},e.insertData=a=>{let s=a.getData("text/plain");s&&To(s)?a0(e,s):t(a)},e.normalizeNode=([a,s])=>{U.isElement(a)&&a.type==="link"&&H.string(a)===""&&(P.unwrapNodes(e,{at:s}),P.select(e,x.next(s))),o([a,s])},e},s0=e=>{if(_3(e))K3(e);else{let t=prompt("Enter the URL of the link:");if(!pe(t)){jn(e,"link");return}if(t.includes(" ")){alert("The URL provided had spaces. Try again without spaces.");return}e.selection&&a0(e,t)}};i();var G3={...g,isBlck:g.isBlock},TS={type:"paragraph",children:[{text:"",marks:[]}]},AS=e=>e.length===1?e[e.length-1]?.text?.trim()==="":e.find(r=>r.type==="link")?.children[0]?.text?.trim()==="",u0=e=>{let{selection:t}=e,r=t&&F.isCollapsed(t),n=e.children[t.anchor.path[0]],o=n.type==="bulleted-list"||n.type==="numbered-list",a=G3.above(e,{match:s=>G3.isBlck(e,s)});(r??!1)&&o&&AS(a[0].children)&&(P.removeNodes(e,{hanging:!0}),P.insertNodes(e,TS),P.unwrapNodes(e,{match:({type:s})=>s==="bulleted-list"||s==="numbered-list",all:!0,split:!0}))};i();var ze=Object.freeze({BOLD:"BOLD",ITALIC:"ITALIC",UNDERLINE:"UNDERLINE",STRIKETHROUGH:"STRIKETHROUGH",HEADING_1:"HEADING_1",HEADING_2:"HEADING_2",BLOCKQUOTE:"BLOCKQUOTE",NUMBERED_LIST:"NUMBERED_LIST",BULLETED_LIST:"BULLETED_LIST",LINK:"LINK",IMAGE:"IMAGE"});i();i();i();var l0={"block-quote":"BlockQuote",bold:"Bold","bulleted-list":"BulletedList",heading:"Heading","heading-two":"HeadingTwo",image:"Image",italic:"Italic",link:"Link","numbered-list":"NumberedList",strikethrough:"Strikethrough",underline:"Underline"};var D0={};wo(D0,{BlockQuote:()=>q3,Bold:()=>X3,BulletedList:()=>Y3,Heading:()=>J3,HeadingTwo:()=>Q3,Image:()=>e4,Italic:()=>t4,Link:()=>r4,NumberedList:()=>n4,Strikethrough:()=>o4,Underline:()=>a4});i();i();var c0=require("react/jsx-runtime"),q3=({...e})=>(0,c0.jsx)("svg",{...e,children:(0,c0.jsx)("path",{d:"M4.2125 11.0375C4.35417 11.1792 4.53333 11.25 4.75 11.25H19.25C19.4667 11.25 19.6458 11.1792 19.7875 11.0375C19.9292 10.8958 20 10.7167 20 10.5C20 10.2833 19.9292 10.1042 19.7875 9.9625C19.6458 9.82083 19.4667 9.75 19.25 9.75H4.75C4.53333 9.75 4.35417 9.82083 4.2125 9.9625C4.07083 10.1042 4 10.2833 4 10.5C4 10.7167 4.07083 10.8958 4.2125 11.0375ZM4.2125 14.0375C4.35417 14.1792 4.53333 14.25 4.75 14.25H12.975C13.1917 14.25 13.3708 14.1792 13.5125 14.0375C13.6542 13.8958 13.725 13.7167 13.725 13.5C13.725 13.2833 13.6542 13.1042 13.5125 12.9625C13.3708 12.8208 13.1917 12.75 12.975 12.75H4.75C4.53333 12.75 4.35417 12.8208 4.2125 12.9625C4.07083 13.1042 4 13.2833 4 13.5C4 13.7167 4.07083 13.8958 4.2125 14.0375ZM1.5 10C1.22386 10 1 10.2239 1 10.5V14C1 14.2761 1.22386 14.5 1.5 14.5C1.77614 14.5 2 14.2761 2 14V10.5C2 10.2239 1.77614 10 1.5 10Z",fill:"currentColor"})});i();var f0=require("react/jsx-runtime"),X3=({...e})=>(0,f0.jsx)("svg",{...e,children:(0,f0.jsx)("path",{d:"M16.9995 11.7C18.354 10.743 19.302 9.17101 19.302 7.71451C19.302 4.48501 16.86 1.99951 13.722 1.99951H4.998V22.0005H14.823C17.7375 22.0005 19.998 19.5705 19.998 16.5855C19.998 14.415 18.798 12.5565 16.998 11.7H16.9995ZM9.186 5.57101H13.371C14.5305 5.57101 15.465 6.52801 15.465 7.71451C15.465 8.89951 14.5305 9.85651 13.3725 9.85651H9.186V5.57101ZM14.07 18.429H9.186V14.1435H14.07C15.228 14.1435 16.1625 15.1005 16.1625 16.2855C16.1625 17.4705 15.228 18.429 14.07 18.429V18.429Z",fill:"currentColor"})});i();var p0=require("react/jsx-runtime"),Y3=({...e})=>(0,p0.jsx)("svg",{...e,children:(0,p0.jsx)("path",{d:"M4.0005 10.5C3.1695 10.5 2.5005 11.1705 2.5005 12C2.5005 12.8295 3.1695 13.5 4.0005 13.5C4.83 13.5 5.5005 12.8295 5.5005 12C5.5005 11.1705 4.83 10.5 4.0005 10.5ZM4.0005 4.5C3.1695 4.5 2.5005 5.1705 2.5005 6C2.5005 6.8295 3.1695 7.5 4.0005 7.5C4.83 7.5 5.5005 6.8295 5.5005 6C5.5005 5.1705 4.83 4.5 4.0005 4.5ZM4.0005 16.5C3.1695 16.5 2.5005 17.1795 2.5005 18C2.5005 18.8205 3.18 19.5 4.0005 19.5C4.8195 19.5 5.5005 18.8205 5.5005 18C5.5005 17.1795 4.83 16.5 4.0005 16.5ZM7.0005 19.0005H21V16.9995H7.0005V19.0005ZM7.0005 13.0005H21V10.9995H7.0005V13.0005ZM7.0005 4.9995V7.0005H21V4.9995H7.0005Z",fill:"currentColor"})});i();var d0=require("react/jsx-runtime"),J3=({...e})=>(0,d0.jsx)("svg",{...e,children:(0,d0.jsx)("path",{d:"M7.9995 3V6.7995H14.154V22.0005H17.8455V6.7995H24V3H7.9995ZM0 12.9H3.666V22.0005H7.335V12.9H11.001V9H0V12.9Z",fill:"currentColor"})});i();var m0=require("react/jsx-runtime"),Q3=({...e})=>(0,m0.jsx)("svg",{...e,children:(0,m0.jsx)("path",{d:"M3 17V7H4.5V11.25H9V7H10.5V17H9V12.75H4.5V17H3ZM13.5 17V12.75C13.5 12.3333 13.6458 11.9792 13.9375 11.6875C14.2292 11.3958 14.5833 11.25 15 11.25H19.5V8.5H13.5V7H19.5C19.9167 7 20.2708 7.14583 20.5625 7.4375C20.8542 7.72917 21 8.08333 21 8.5V11.25C21 11.6667 20.8542 12.0208 20.5625 12.3125C20.2708 12.6042 19.9167 12.75 19.5 12.75H15V15.5H21V17H13.5Z",fill:"currentColor"})});i();var h0=require("react/jsx-runtime"),e4=({...e})=>(0,h0.jsx)("svg",{...e,children:(0,h0.jsx)("path",{d:"M21 19.0005V4.9995C21 3.9 20.1 3 19.0005 3H4.9995C3.9 3 3 3.9 3 4.9995V19.0005C3 20.1 3.9 21 4.9995 21H19.0005C20.1 21 21 20.1 21 19.0005ZM8.5005 13.5L10.9995 16.5105L14.5005 12L19.0005 18H4.9995L8.5005 13.5Z",fill:"currentColor"})});i();var g0=require("react/jsx-runtime"),t4=({...e})=>(0,g0.jsx)("svg",{...e,children:(0,g0.jsx)("path",{d:"M8.8335 1.99951V6.28501H12.0555L7.0695 17.715H3V22.0005H14.667V17.715H11.4435L16.431 6.28501H20.5005V1.99951H8.8335Z",fill:"currentColor"})});i();var v0=require("react/jsx-runtime"),r4=({...e})=>(0,v0.jsx)("svg",{...e,children:(0,v0.jsx)("path",{d:"M2.28 12C2.28 9.948 3.948 8.28 6 8.28H10.8V6H6C2.688 6 0 8.688 0 12C0 15.312 2.688 18 6 18H10.8V15.72H6C3.948 15.72 2.28 14.052 2.28 12ZM7.2 13.2H16.8V10.8H7.2V13.2ZM18 6H13.2V8.28H18C20.052 8.28 21.72 9.948 21.72 12C21.72 14.052 20.052 15.72 18 15.72H13.2V18H18C21.312 18 24 15.312 24 12C24 8.688 21.312 6 18 6Z",fill:"currentColor"})});i();var b0=require("react/jsx-runtime"),n4=({...e})=>(0,b0.jsx)("svg",{...e,children:(0,b0.jsx)("path",{d:"M3.425 20C3.30833 20 3.20833 19.9583 3.125 19.875C3.04167 19.7917 3 19.6917 3 19.575C3 19.4583 3.04167 19.3583 3.125 19.275C3.20833 19.1917 3.30833 19.15 3.425 19.15H5.1V18.5H4.475C4.35833 18.5 4.25833 18.4583 4.175 18.375C4.09167 18.2917 4.05 18.1917 4.05 18.075C4.05 17.9583 4.09167 17.8583 4.175 17.775C4.25833 17.6917 4.35833 17.65 4.475 17.65H5.1V17H3.425C3.30833 17 3.20833 16.9583 3.125 16.875C3.04167 16.7917 3 16.6917 3 16.575C3 16.4583 3.04167 16.3583 3.125 16.275C3.20833 16.1917 3.30833 16.15 3.425 16.15H5.525C5.64167 16.15 5.74167 16.1917 5.825 16.275C5.90833 16.3583 5.95 16.4583 5.95 16.575V19.575C5.95 19.6917 5.90833 19.7917 5.825 19.875C5.74167 19.9583 5.64167 20 5.525 20H3.425ZM4.475 7.9C4.35833 7.9 4.25833 7.85833 4.175 7.775C4.09167 7.69167 4.05 7.59167 4.05 7.475V4.85H3.425C3.30833 4.85 3.20833 4.80833 3.125 4.725C3.04167 4.64167 3 4.54167 3 4.425C3 4.30833 3.04167 4.20833 3.125 4.125C3.20833 4.04167 3.30833 4 3.425 4H4.475C4.59167 4 4.69167 4.04167 4.775 4.125C4.85833 4.20833 4.9 4.30833 4.9 4.425V7.475C4.9 7.59167 4.85833 7.69167 4.775 7.775C4.69167 7.85833 4.59167 7.9 4.475 7.9V7.9ZM3.425 13.925C3.30833 13.925 3.20833 13.8833 3.125 13.8C3.04167 13.7167 3 13.6167 3 13.5V13.275C3 13.2583 3.03333 13.1667 3.1 13L4.875 10.925H3.425C3.30833 10.925 3.20833 10.8833 3.125 10.8C3.04167 10.7167 3 10.6167 3 10.5C3 10.3833 3.04167 10.2833 3.125 10.2C3.20833 10.1167 3.30833 10.075 3.425 10.075H5.525C5.64167 10.075 5.74167 10.1167 5.825 10.2C5.90833 10.2833 5.95 10.3833 5.95 10.5V10.725C5.95 10.7417 5.91667 10.8333 5.85 11L4.05 13.075H5.525C5.64167 13.075 5.74167 13.1167 5.825 13.2C5.90833 13.2833 5.95 13.3833 5.95 13.5C5.95 13.6167 5.90833 13.7167 5.825 13.8C5.74167 13.8833 5.64167 13.925 5.525 13.925H3.425ZM8.975 18.775C8.75833 18.775 8.57917 18.7042 8.4375 18.5625C8.29583 18.4208 8.225 18.2417 8.225 18.025C8.225 17.8083 8.29583 17.6292 8.4375 17.4875C8.57917 17.3458 8.75833 17.275 8.975 17.275H20.25C20.4667 17.275 20.6458 17.3458 20.7875 17.4875C20.9292 17.6292 21 17.8083 21 18.025C21 18.2417 20.9292 18.4208 20.7875 18.5625C20.6458 18.7042 20.4667 18.775 20.25 18.775H8.975ZM8.975 12.7C8.75833 12.7 8.57917 12.6292 8.4375 12.4875C8.29583 12.3458 8.225 12.1667 8.225 11.95C8.225 11.7333 8.29583 11.5542 8.4375 11.4125C8.57917 11.2708 8.75833 11.2 8.975 11.2H20.25C20.4667 11.2 20.6458 11.2708 20.7875 11.4125C20.9292 11.5542 21 11.7333 21 11.95C21 12.1667 20.9292 12.3458 20.7875 12.4875C20.6458 12.6292 20.4667 12.7 20.25 12.7H8.975ZM8.975 6.625C8.75833 6.625 8.57917 6.55417 8.4375 6.4125C8.29583 6.27083 8.225 6.09167 8.225 5.875C8.225 5.65833 8.29583 5.47917 8.4375 5.3375C8.57917 5.19583 8.75833 5.125 8.975 5.125H20.25C20.4667 5.125 20.6458 5.19583 20.7875 5.3375C20.9292 5.47917 21 5.65833 21 5.875C21 6.09167 20.9292 6.27083 20.7875 6.4125C20.6458 6.55417 20.4667 6.625 20.25 6.625H8.975Z",fill:"currentColor"})});i();var C0=require("react/jsx-runtime"),o4=({...e})=>(0,C0.jsx)("svg",{...e,children:(0,C0.jsx)("path",{d:"M2 13.75V12.25H22V13.75H2ZM10.75 10.75V6.5H5V4H19V6.5H13.25V10.75H10.75ZM10.75 20V15.25H13.25V20H10.75Z",fill:"currentColor"})});i();var y0=require("react/jsx-runtime"),a4=({...e})=>(0,y0.jsx)("svg",{...e,children:(0,y0.jsx)("path",{d:"M5 21V19.5H19V21H5ZM12 17C10.3167 17 8.89583 16.425 7.7375 15.275C6.57917 14.125 6 12.7167 6 11.05V3H8V11.1C8 12.2 8.38333 13.125 9.15 13.875C9.91667 14.625 10.8667 15 12 15C13.1333 15 14.0833 14.625 14.85 13.875C15.6167 13.125 16 12.2 16 11.1V3H18V11.05C18 12.7167 17.4208 14.125 16.2625 15.275C15.1042 16.425 13.6833 17 12 17Z",fill:"currentColor"})});var i4=require("react/jsx-runtime"),o1={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},gt=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(se(n))throw new Error("An Icon component requires a `type` prop to be provided");if(se(l0[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(se(o1[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=D0[l0[n]],s={verticalAlign:"middle",...r};return(0,i4.jsx)(a,{"aria-hidden":"true",color:e,height:`${o1[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${o1[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};gt.displayName="Icon_VHS";i();var s1=require("react"),an=z(require("styled-components"));i();i();function ar(){return ar=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ar.apply(this,arguments)}i();function vi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}i();i();function Ar(e,t){return Ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Ar(e,t)}function _t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ar(e,t)}i();i();function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}i();function x0(e){return Function.toString.call(e).indexOf("[native code]")!==-1}i();i();function E0(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zo(e,t,r){return E0()?Zo=Reflect.construct.bind():Zo=function(o,a,s){var u=[null];u.push.apply(u,a);var l=Function.bind.apply(o,u),c=new l;return s&&Ar(c,s.prototype),c},Zo.apply(null,arguments)}function Ci(e){var t=typeof Map=="function"?new Map:void 0;return Ci=function(n){if(n===null||!x0(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Zo(n,arguments,bi(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Ar(o,n)},Ci(e)}i();var ir=function(e){_t(t,e);function t(r){var n;if(!0)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this;else for(var o,a,s;s<o;s++);return vi(n)}return t}(Ci(Error));var BS=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function u4(e){if(typeof e!="string")return[e,""];var t=e.match(BS);return t?[parseFloat(e),t[2]]:[e,void 0]}function w0(e){return Math.round(e*255)}function FS(e,t,r){return w0(e)+","+w0(t)+","+w0(r)}function yi(e,t,r,n){if(n===void 0&&(n=FS),t===0)return n(r,r,r);var o=(e%360+360)%360/60,a=(1-Math.abs(2*r-1))*t,s=a*(1-Math.abs(o%2-1)),u=0,l=0,c=0;o>=0&&o<1?(u=a,l=s):o>=1&&o<2?(u=s,l=a):o>=2&&o<3?(l=a,c=s):o>=3&&o<4?(l=s,c=a):o>=4&&o<5?(u=s,c=a):o>=5&&o<6&&(u=a,c=s);var d=r-a/2,h=u+d,m=l+d,b=c+d;return n(h,m,b)}var s4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function MS(e){if(typeof e!="string")return e;var t=e.toLowerCase();return s4[t]?"#"+s4[t]:e}var OS=/^#[a-fA-F0-9]{6}$/,PS=/^#[a-fA-F0-9]{8}$/,RS=/^#[a-fA-F0-9]{3}$/,LS=/^#[a-fA-F0-9]{4}$/,S0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,IS=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,kS=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,NS=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function F0(e){if(typeof e!="string")throw new ir(3);var t=MS(e);if(t.match(OS))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(PS)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(RS))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(LS)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=S0.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=IS.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var s=kS.exec(t);if(s){var u=parseInt(""+s[1],10),l=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,d="rgb("+yi(u,l,c)+")",h=S0.exec(d);if(!h)throw new ir(4,t,d);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=NS.exec(t.substring(0,50));if(m){var b=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,p=parseInt(""+m[3],10)/100,C="rgb("+yi(b,v,p)+")",y=S0.exec(C);if(!y)throw new ir(4,t,C);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new ir(5)}function $S(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),s=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var u,l=o-a,c=s>.5?l/(2-o-a):l/(o+a);switch(o){case t:u=(r-n)/l+(r<n?6:0);break;case r:u=(n-t)/l+2;break;default:u=(t-r)/l+4;break}return u*=60,e.alpha!==void 0?{hue:u,saturation:c,lightness:s,alpha:e.alpha}:{hue:u,saturation:c,lightness:s}}function ZS(e){return $S(F0(e))}var HS=function(t){return t.length===7&&t[1]===t[2]&&t[3]===t[4]&&t[5]===t[6]?"#"+t[1]+t[3]+t[5]:t},A0=HS;function Wn(e){var t=e.toString(16);return t.length===1?"0"+t:t}function T0(e){return Wn(Math.round(e*255))}function zS(e,t,r){return A0("#"+T0(e)+T0(t)+T0(r))}function a1(e,t,r){return yi(e,t,r,zS)}function VS(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return a1(e,t,r);if(typeof e=="object"&&t===void 0&&r===void 0)return a1(e.hue,e.saturation,e.lightness);throw new ir(1)}function jS(e,t,r,n){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?a1(e,t,r):"rgba("+yi(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?a1(e.hue,e.saturation,e.lightness):"rgba("+yi(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new ir(2)}function B0(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return A0("#"+Wn(e)+Wn(t)+Wn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return A0("#"+Wn(e.red)+Wn(e.green)+Wn(e.blue));throw new ir(6)}function l4(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=F0(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?B0(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?B0(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new ir(7)}var WS=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},US=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},_S=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},KS=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function GS(e){if(typeof e!="object")throw new ir(8);if(US(e))return l4(e);if(WS(e))return B0(e);if(KS(e))return jS(e);if(_S(e))return VS(e);throw new ir(8)}function c4(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):c4(e,t,o)}}function f4(e){return c4(e,e.length,[])}function p4(e,t,r){return Math.max(e,Math.min(t,r))}function qS(e,t){if(t==="transparent")return t;var r=ZS(t);return GS(ar({},r,{lightness:p4(0,1,r.lightness-parseFloat(e))}))}var XS=f4(qS),ot=XS;function YS(e,t){if(t==="transparent")return t;var r=F0(t),n=typeof r.alpha=="number"?r.alpha:1,o=ar({},r,{alpha:p4(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return l4(o)}var JS=f4(YS),vt=JS;i();var Ne=z(require("styled-components"));var d4="0.04",m4="0.08",h4=.9,g4=.8,Ho=Ne.css`
|
|
59
|
+
`,U3=({attributes:e={"data-slate-node":"element",ref:void 0},children:t=void 0,element:r={}})=>{let n=p3(),o=C3();switch(r.type){case"span":return(0,nt.jsx)(AS,{...e,children:t});case"blockquote":return(0,nt.jsx)("blockquote",{...e,children:t});case"bulleted-list":return(0,nt.jsx)(DS,{...e,children:t});case"heading-one":return(0,nt.jsx)(xS,{...e,children:t});case"heading-two":return(0,nt.jsx)(ES,{...e,children:t});case"heading-three":case"heading-four":case"heading-five":case"heading-six":return(0,nt.jsx)(wS,{...e,children:t});case"list-item":return(0,nt.jsx)("li",{...e,children:t});case"numbered-list":return(0,nt.jsx)(yS,{...e,children:t});case"image":return(0,nt.jsxs)(j3,{...e,children:[(0,nt.jsx)(j3,{contentEditable:!1,children:(0,nt.jsx)(bS,{alt:"",contentEditable:!1,focused:o,selected:n,src:r.url})}),t]});case"link":return(0,nt.jsx)(TS,{...e,href:r.url,rel:"noopener noreferrer",target:"_blank",children:t});case"code":return(0,nt.jsx)("code",{...e,children:t});default:return(0,nt.jsx)(SS,{...e,children:t})}};i();var I4=z(require("styled-components"));i();i();i();var rs=(e,t)=>{let[r]=g.nodes(e,{match:n=>U.isElement(n)&&n.type===t});return!!r},_3=new Set(["numbered-list","bulleted-list"]),tn=(e,t)=>{let r=rs(e,t),n=_3.has(t);P.unwrapNodes(e,{match:a=>U.isElement(a)&&M(a.type)&&_3.has(a.type),split:!0});let o=n?"list-item":t;if(P.setNodes(e,{type:r?"paragraph":o}),!r&&n){let a={type:t,children:[]};P.wrapNodes(e,a)}},ns=(e,t)=>{let r=g.marks(e);return pe(r&&Object.keys(r).find(n=>n===t))},jn=(e,t)=>{ns(e,t)?g.removeMark(e,t):g.addMark(e,t,!0)};var K3={text:""},BS=["jpg","png","gif","tiff","bmp","dcm"],FS=e=>{if(!To(e))return!1;let t=BS.find(r=>e.includes(r));return ee(t)&&!!t},n0=(e,t)=>{if(!t){tn(e,"image");return}if(!FS(t)){tn(e,"image");return}let r={type:"image",url:t,children:[K3]};P.insertNodes(e,r)},o0=e=>{let{normalizeNode:t,isVoid:r}=e;return e.isVoid=n=>n.type==="image"?!0:r(n),e.normalizeNode=([n,o])=>{if(U.isElement(n)&&n.type==="image"&&n.url!==void 0){let a={type:"paragraph",children:[K3]},s=ee(o[0])?o[0]+1:1;P.insertNodes(e,a,{at:[s]}),P.move(e)}U.isElement(n)&&n.type==="image"&&n.url===void 0&&ee(n.children)&&ee(n.children[0])&&ee(n.children[0].text)&&n.children[0].text.trim()!==""&&P.setNodes(e,{type:"span"},{match:a=>U.isElement(a)&&a.type==="image"&&a.url===void 0&&ee(a.children)&&G.isText(a.children[0])&&M(a.children[0].text)&&a.children[0].text.trim()!=="",split:!0,at:o,mode:"highest"}),t([n,o])},e};i();var G3=e=>{let[t]=g.nodes(e,{match:r=>U.isElement(r)&&r.type==="link"});return!!t},q3=e=>{P.unwrapNodes(e,{match:t=>U.isElement(t)&&t.type==="link"})},a0=(e,t)=>{G3(e)&&q3(e);let{selection:r}=e,n=r&&F.isCollapsed(r),o={type:"link",url:t,children:n===!0?[{text:t}]:[]};n===!0?P.insertNodes(e,o):(P.wrapNodes(e,o,{split:!0}),P.collapse(e,{edge:"end"}))},i0=e=>{let{insertData:t,insertText:r,isInline:n,normalizeNode:o}=e;return e.isInline=a=>a.type==="link"?!0:n(a),e.insertText=a=>{a&&To(a)?a0(e,a):r(a)},e.insertData=a=>{let s=a.getData("text/plain");s&&To(s)?a0(e,s):t(a)},e.normalizeNode=([a,s])=>{U.isElement(a)&&a.type==="link"&&H.string(a)===""&&(P.unwrapNodes(e,{at:s}),P.select(e,x.next(s))),o([a,s])},e},s0=e=>{if(G3(e))q3(e);else{let t=prompt("Enter the URL of the link:");if(!pe(t)){jn(e,"link");return}if(t.includes(" ")){alert("The URL provided had spaces. Try again without spaces.");return}e.selection&&a0(e,t)}};i();var X3={...g,isBlck:g.isBlock},MS={type:"paragraph",children:[{text:"",marks:[]}]},OS=e=>e.length===1?e[e.length-1]?.text?.trim()==="":e.find(r=>r.type==="link")?.children[0]?.text?.trim()==="",u0=e=>{let{selection:t}=e,r=t&&F.isCollapsed(t),n=e.children[t.anchor.path[0]],o=n.type==="bulleted-list"||n.type==="numbered-list",a=X3.above(e,{match:s=>X3.isBlck(e,s)});(r??!1)&&o&&OS(a[0].children)&&(P.removeNodes(e,{hanging:!0}),P.insertNodes(e,MS),P.unwrapNodes(e,{match:({type:s})=>s==="bulleted-list"||s==="numbered-list",all:!0,split:!0}))};i();var ze=Object.freeze({BOLD:"BOLD",ITALIC:"ITALIC",UNDERLINE:"UNDERLINE",STRIKETHROUGH:"STRIKETHROUGH",HEADING_1:"HEADING_1",HEADING_2:"HEADING_2",BLOCKQUOTE:"BLOCKQUOTE",NUMBERED_LIST:"NUMBERED_LIST",BULLETED_LIST:"BULLETED_LIST",LINK:"LINK",IMAGE:"IMAGE"});i();i();i();var l0={"block-quote":"BlockQuote",bold:"Bold","bulleted-list":"BulletedList",heading:"Heading","heading-two":"HeadingTwo",image:"Image",italic:"Italic",link:"Link","numbered-list":"NumberedList",strikethrough:"Strikethrough",underline:"Underline"};var D0={};wo(D0,{BlockQuote:()=>Y3,Bold:()=>J3,BulletedList:()=>Q3,Heading:()=>e4,HeadingTwo:()=>t4,Image:()=>r4,Italic:()=>n4,Link:()=>o4,NumberedList:()=>a4,Strikethrough:()=>i4,Underline:()=>s4});i();i();var c0=require("react/jsx-runtime"),Y3=({...e})=>(0,c0.jsx)("svg",{...e,children:(0,c0.jsx)("path",{d:"M4.2125 11.0375C4.35417 11.1792 4.53333 11.25 4.75 11.25H19.25C19.4667 11.25 19.6458 11.1792 19.7875 11.0375C19.9292 10.8958 20 10.7167 20 10.5C20 10.2833 19.9292 10.1042 19.7875 9.9625C19.6458 9.82083 19.4667 9.75 19.25 9.75H4.75C4.53333 9.75 4.35417 9.82083 4.2125 9.9625C4.07083 10.1042 4 10.2833 4 10.5C4 10.7167 4.07083 10.8958 4.2125 11.0375ZM4.2125 14.0375C4.35417 14.1792 4.53333 14.25 4.75 14.25H12.975C13.1917 14.25 13.3708 14.1792 13.5125 14.0375C13.6542 13.8958 13.725 13.7167 13.725 13.5C13.725 13.2833 13.6542 13.1042 13.5125 12.9625C13.3708 12.8208 13.1917 12.75 12.975 12.75H4.75C4.53333 12.75 4.35417 12.8208 4.2125 12.9625C4.07083 13.1042 4 13.2833 4 13.5C4 13.7167 4.07083 13.8958 4.2125 14.0375ZM1.5 10C1.22386 10 1 10.2239 1 10.5V14C1 14.2761 1.22386 14.5 1.5 14.5C1.77614 14.5 2 14.2761 2 14V10.5C2 10.2239 1.77614 10 1.5 10Z",fill:"currentColor"})});i();var f0=require("react/jsx-runtime"),J3=({...e})=>(0,f0.jsx)("svg",{...e,children:(0,f0.jsx)("path",{d:"M16.9995 11.7C18.354 10.743 19.302 9.17101 19.302 7.71451C19.302 4.48501 16.86 1.99951 13.722 1.99951H4.998V22.0005H14.823C17.7375 22.0005 19.998 19.5705 19.998 16.5855C19.998 14.415 18.798 12.5565 16.998 11.7H16.9995ZM9.186 5.57101H13.371C14.5305 5.57101 15.465 6.52801 15.465 7.71451C15.465 8.89951 14.5305 9.85651 13.3725 9.85651H9.186V5.57101ZM14.07 18.429H9.186V14.1435H14.07C15.228 14.1435 16.1625 15.1005 16.1625 16.2855C16.1625 17.4705 15.228 18.429 14.07 18.429V18.429Z",fill:"currentColor"})});i();var p0=require("react/jsx-runtime"),Q3=({...e})=>(0,p0.jsx)("svg",{...e,children:(0,p0.jsx)("path",{d:"M4.0005 10.5C3.1695 10.5 2.5005 11.1705 2.5005 12C2.5005 12.8295 3.1695 13.5 4.0005 13.5C4.83 13.5 5.5005 12.8295 5.5005 12C5.5005 11.1705 4.83 10.5 4.0005 10.5ZM4.0005 4.5C3.1695 4.5 2.5005 5.1705 2.5005 6C2.5005 6.8295 3.1695 7.5 4.0005 7.5C4.83 7.5 5.5005 6.8295 5.5005 6C5.5005 5.1705 4.83 4.5 4.0005 4.5ZM4.0005 16.5C3.1695 16.5 2.5005 17.1795 2.5005 18C2.5005 18.8205 3.18 19.5 4.0005 19.5C4.8195 19.5 5.5005 18.8205 5.5005 18C5.5005 17.1795 4.83 16.5 4.0005 16.5ZM7.0005 19.0005H21V16.9995H7.0005V19.0005ZM7.0005 13.0005H21V10.9995H7.0005V13.0005ZM7.0005 4.9995V7.0005H21V4.9995H7.0005Z",fill:"currentColor"})});i();var d0=require("react/jsx-runtime"),e4=({...e})=>(0,d0.jsx)("svg",{...e,children:(0,d0.jsx)("path",{d:"M7.9995 3V6.7995H14.154V22.0005H17.8455V6.7995H24V3H7.9995ZM0 12.9H3.666V22.0005H7.335V12.9H11.001V9H0V12.9Z",fill:"currentColor"})});i();var m0=require("react/jsx-runtime"),t4=({...e})=>(0,m0.jsx)("svg",{...e,children:(0,m0.jsx)("path",{d:"M3 17V7H4.5V11.25H9V7H10.5V17H9V12.75H4.5V17H3ZM13.5 17V12.75C13.5 12.3333 13.6458 11.9792 13.9375 11.6875C14.2292 11.3958 14.5833 11.25 15 11.25H19.5V8.5H13.5V7H19.5C19.9167 7 20.2708 7.14583 20.5625 7.4375C20.8542 7.72917 21 8.08333 21 8.5V11.25C21 11.6667 20.8542 12.0208 20.5625 12.3125C20.2708 12.6042 19.9167 12.75 19.5 12.75H15V15.5H21V17H13.5Z",fill:"currentColor"})});i();var h0=require("react/jsx-runtime"),r4=({...e})=>(0,h0.jsx)("svg",{...e,children:(0,h0.jsx)("path",{d:"M21 19.0005V4.9995C21 3.9 20.1 3 19.0005 3H4.9995C3.9 3 3 3.9 3 4.9995V19.0005C3 20.1 3.9 21 4.9995 21H19.0005C20.1 21 21 20.1 21 19.0005ZM8.5005 13.5L10.9995 16.5105L14.5005 12L19.0005 18H4.9995L8.5005 13.5Z",fill:"currentColor"})});i();var g0=require("react/jsx-runtime"),n4=({...e})=>(0,g0.jsx)("svg",{...e,children:(0,g0.jsx)("path",{d:"M8.8335 1.99951V6.28501H12.0555L7.0695 17.715H3V22.0005H14.667V17.715H11.4435L16.431 6.28501H20.5005V1.99951H8.8335Z",fill:"currentColor"})});i();var v0=require("react/jsx-runtime"),o4=({...e})=>(0,v0.jsx)("svg",{...e,children:(0,v0.jsx)("path",{d:"M2.28 12C2.28 9.948 3.948 8.28 6 8.28H10.8V6H6C2.688 6 0 8.688 0 12C0 15.312 2.688 18 6 18H10.8V15.72H6C3.948 15.72 2.28 14.052 2.28 12ZM7.2 13.2H16.8V10.8H7.2V13.2ZM18 6H13.2V8.28H18C20.052 8.28 21.72 9.948 21.72 12C21.72 14.052 20.052 15.72 18 15.72H13.2V18H18C21.312 18 24 15.312 24 12C24 8.688 21.312 6 18 6Z",fill:"currentColor"})});i();var C0=require("react/jsx-runtime"),a4=({...e})=>(0,C0.jsx)("svg",{...e,children:(0,C0.jsx)("path",{d:"M3.425 20C3.30833 20 3.20833 19.9583 3.125 19.875C3.04167 19.7917 3 19.6917 3 19.575C3 19.4583 3.04167 19.3583 3.125 19.275C3.20833 19.1917 3.30833 19.15 3.425 19.15H5.1V18.5H4.475C4.35833 18.5 4.25833 18.4583 4.175 18.375C4.09167 18.2917 4.05 18.1917 4.05 18.075C4.05 17.9583 4.09167 17.8583 4.175 17.775C4.25833 17.6917 4.35833 17.65 4.475 17.65H5.1V17H3.425C3.30833 17 3.20833 16.9583 3.125 16.875C3.04167 16.7917 3 16.6917 3 16.575C3 16.4583 3.04167 16.3583 3.125 16.275C3.20833 16.1917 3.30833 16.15 3.425 16.15H5.525C5.64167 16.15 5.74167 16.1917 5.825 16.275C5.90833 16.3583 5.95 16.4583 5.95 16.575V19.575C5.95 19.6917 5.90833 19.7917 5.825 19.875C5.74167 19.9583 5.64167 20 5.525 20H3.425ZM4.475 7.9C4.35833 7.9 4.25833 7.85833 4.175 7.775C4.09167 7.69167 4.05 7.59167 4.05 7.475V4.85H3.425C3.30833 4.85 3.20833 4.80833 3.125 4.725C3.04167 4.64167 3 4.54167 3 4.425C3 4.30833 3.04167 4.20833 3.125 4.125C3.20833 4.04167 3.30833 4 3.425 4H4.475C4.59167 4 4.69167 4.04167 4.775 4.125C4.85833 4.20833 4.9 4.30833 4.9 4.425V7.475C4.9 7.59167 4.85833 7.69167 4.775 7.775C4.69167 7.85833 4.59167 7.9 4.475 7.9V7.9ZM3.425 13.925C3.30833 13.925 3.20833 13.8833 3.125 13.8C3.04167 13.7167 3 13.6167 3 13.5V13.275C3 13.2583 3.03333 13.1667 3.1 13L4.875 10.925H3.425C3.30833 10.925 3.20833 10.8833 3.125 10.8C3.04167 10.7167 3 10.6167 3 10.5C3 10.3833 3.04167 10.2833 3.125 10.2C3.20833 10.1167 3.30833 10.075 3.425 10.075H5.525C5.64167 10.075 5.74167 10.1167 5.825 10.2C5.90833 10.2833 5.95 10.3833 5.95 10.5V10.725C5.95 10.7417 5.91667 10.8333 5.85 11L4.05 13.075H5.525C5.64167 13.075 5.74167 13.1167 5.825 13.2C5.90833 13.2833 5.95 13.3833 5.95 13.5C5.95 13.6167 5.90833 13.7167 5.825 13.8C5.74167 13.8833 5.64167 13.925 5.525 13.925H3.425ZM8.975 18.775C8.75833 18.775 8.57917 18.7042 8.4375 18.5625C8.29583 18.4208 8.225 18.2417 8.225 18.025C8.225 17.8083 8.29583 17.6292 8.4375 17.4875C8.57917 17.3458 8.75833 17.275 8.975 17.275H20.25C20.4667 17.275 20.6458 17.3458 20.7875 17.4875C20.9292 17.6292 21 17.8083 21 18.025C21 18.2417 20.9292 18.4208 20.7875 18.5625C20.6458 18.7042 20.4667 18.775 20.25 18.775H8.975ZM8.975 12.7C8.75833 12.7 8.57917 12.6292 8.4375 12.4875C8.29583 12.3458 8.225 12.1667 8.225 11.95C8.225 11.7333 8.29583 11.5542 8.4375 11.4125C8.57917 11.2708 8.75833 11.2 8.975 11.2H20.25C20.4667 11.2 20.6458 11.2708 20.7875 11.4125C20.9292 11.5542 21 11.7333 21 11.95C21 12.1667 20.9292 12.3458 20.7875 12.4875C20.6458 12.6292 20.4667 12.7 20.25 12.7H8.975ZM8.975 6.625C8.75833 6.625 8.57917 6.55417 8.4375 6.4125C8.29583 6.27083 8.225 6.09167 8.225 5.875C8.225 5.65833 8.29583 5.47917 8.4375 5.3375C8.57917 5.19583 8.75833 5.125 8.975 5.125H20.25C20.4667 5.125 20.6458 5.19583 20.7875 5.3375C20.9292 5.47917 21 5.65833 21 5.875C21 6.09167 20.9292 6.27083 20.7875 6.4125C20.6458 6.55417 20.4667 6.625 20.25 6.625H8.975Z",fill:"currentColor"})});i();var b0=require("react/jsx-runtime"),i4=({...e})=>(0,b0.jsx)("svg",{...e,children:(0,b0.jsx)("path",{d:"M2 13.75V12.25H22V13.75H2ZM10.75 10.75V6.5H5V4H19V6.5H13.25V10.75H10.75ZM10.75 20V15.25H13.25V20H10.75Z",fill:"currentColor"})});i();var y0=require("react/jsx-runtime"),s4=({...e})=>(0,y0.jsx)("svg",{...e,children:(0,y0.jsx)("path",{d:"M5 21V19.5H19V21H5ZM12 17C10.3167 17 8.89583 16.425 7.7375 15.275C6.57917 14.125 6 12.7167 6 11.05V3H8V11.1C8 12.2 8.38333 13.125 9.15 13.875C9.91667 14.625 10.8667 15 12 15C13.1333 15 14.0833 14.625 14.85 13.875C15.6167 13.125 16 12.2 16 11.1V3H18V11.05C18 12.7167 17.4208 14.125 16.2625 15.275C15.1042 16.425 13.6833 17 12 17Z",fill:"currentColor"})});var u4=require("react/jsx-runtime"),os={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},gt=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(se(n))throw new Error("An Icon component requires a `type` prop to be provided");if(se(l0[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(se(os[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=D0[l0[n]],s={verticalAlign:"middle",...r};return(0,u4.jsx)(a,{"aria-hidden":"true",color:e,height:`${os[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${os[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};gt.displayName="Icon_VHS";i();var ss=require("react"),an=z(require("styled-components"));i();i();function ar(){return ar=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ar.apply(this,arguments)}i();function vi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}i();i();function Ar(e,t){return Ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Ar(e,t)}function _t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ar(e,t)}i();i();function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}i();function x0(e){return Function.toString.call(e).indexOf("[native code]")!==-1}i();i();function E0(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zo(e,t,r){return E0()?Zo=Reflect.construct.bind():Zo=function(o,a,s){var u=[null];u.push.apply(u,a);var l=Function.bind.apply(o,u),c=new l;return s&&Ar(c,s.prototype),c},Zo.apply(null,arguments)}function bi(e){var t=typeof Map=="function"?new Map:void 0;return bi=function(n){if(n===null||!x0(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Zo(n,arguments,Ci(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Ar(o,n)},bi(e)}i();var ir=function(e){_t(t,e);function t(r){var n;if(!0)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this;else for(var o,a,s;s<o;s++);return vi(n)}return t}(bi(Error));var PS=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function c4(e){if(typeof e!="string")return[e,""];var t=e.match(PS);return t?[parseFloat(e),t[2]]:[e,void 0]}function w0(e){return Math.round(e*255)}function RS(e,t,r){return w0(e)+","+w0(t)+","+w0(r)}function yi(e,t,r,n){if(n===void 0&&(n=RS),t===0)return n(r,r,r);var o=(e%360+360)%360/60,a=(1-Math.abs(2*r-1))*t,s=a*(1-Math.abs(o%2-1)),u=0,l=0,c=0;o>=0&&o<1?(u=a,l=s):o>=1&&o<2?(u=s,l=a):o>=2&&o<3?(l=a,c=s):o>=3&&o<4?(l=s,c=a):o>=4&&o<5?(u=s,c=a):o>=5&&o<6&&(u=a,c=s);var d=r-a/2,h=u+d,m=l+d,C=c+d;return n(h,m,C)}var l4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function IS(e){if(typeof e!="string")return e;var t=e.toLowerCase();return l4[t]?"#"+l4[t]:e}var LS=/^#[a-fA-F0-9]{6}$/,kS=/^#[a-fA-F0-9]{8}$/,NS=/^#[a-fA-F0-9]{3}$/,$S=/^#[a-fA-F0-9]{4}$/,S0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ZS=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,HS=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,zS=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function F0(e){if(typeof e!="string")throw new ir(3);var t=IS(e);if(t.match(LS))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(kS)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(NS))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match($S)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=S0.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=ZS.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var s=HS.exec(t);if(s){var u=parseInt(""+s[1],10),l=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,d="rgb("+yi(u,l,c)+")",h=S0.exec(d);if(!h)throw new ir(4,t,d);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=zS.exec(t.substring(0,50));if(m){var C=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,p=parseInt(""+m[3],10)/100,b="rgb("+yi(C,v,p)+")",y=S0.exec(b);if(!y)throw new ir(4,t,b);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new ir(5)}function VS(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),s=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var u,l=o-a,c=s>.5?l/(2-o-a):l/(o+a);switch(o){case t:u=(r-n)/l+(r<n?6:0);break;case r:u=(n-t)/l+2;break;default:u=(t-r)/l+4;break}return u*=60,e.alpha!==void 0?{hue:u,saturation:c,lightness:s,alpha:e.alpha}:{hue:u,saturation:c,lightness:s}}function jS(e){return VS(F0(e))}var WS=function(t){return t.length===7&&t[1]===t[2]&&t[3]===t[4]&&t[5]===t[6]?"#"+t[1]+t[3]+t[5]:t},A0=WS;function Wn(e){var t=e.toString(16);return t.length===1?"0"+t:t}function T0(e){return Wn(Math.round(e*255))}function US(e,t,r){return A0("#"+T0(e)+T0(t)+T0(r))}function as(e,t,r){return yi(e,t,r,US)}function _S(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return as(e,t,r);if(typeof e=="object"&&t===void 0&&r===void 0)return as(e.hue,e.saturation,e.lightness);throw new ir(1)}function KS(e,t,r,n){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?as(e,t,r):"rgba("+yi(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?as(e.hue,e.saturation,e.lightness):"rgba("+yi(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new ir(2)}function B0(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return A0("#"+Wn(e)+Wn(t)+Wn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return A0("#"+Wn(e.red)+Wn(e.green)+Wn(e.blue));throw new ir(6)}function f4(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=F0(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?B0(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?B0(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new ir(7)}var GS=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},qS=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},XS=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},YS=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function JS(e){if(typeof e!="object")throw new ir(8);if(qS(e))return f4(e);if(GS(e))return B0(e);if(YS(e))return KS(e);if(XS(e))return _S(e);throw new ir(8)}function p4(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):p4(e,t,o)}}function d4(e){return p4(e,e.length,[])}function m4(e,t,r){return Math.max(e,Math.min(t,r))}function QS(e,t){if(t==="transparent")return t;var r=jS(t);return JS(ar({},r,{lightness:m4(0,1,r.lightness-parseFloat(e))}))}var eT=d4(QS),ot=eT;function tT(e,t){if(t==="transparent")return t;var r=F0(t),n=typeof r.alpha=="number"?r.alpha:1,o=ar({},r,{alpha:m4(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return f4(o)}var rT=d4(tT),vt=rT;i();var Ne=z(require("styled-components"));var h4="0.04",g4="0.08",v4=.9,C4=.8,Ho=Ne.css`
|
|
60
60
|
align-items: center;
|
|
61
61
|
background-color: transparent;
|
|
62
62
|
background-image: none;
|
|
@@ -97,92 +97,92 @@
|
|
|
97
97
|
&[aria-disabled] {
|
|
98
98
|
cursor: not-allowed;
|
|
99
99
|
}
|
|
100
|
-
`,v4=Ne.css`
|
|
101
|
-
background-color: ${({buttonColor:e})=>ot(d4,e)};
|
|
102
|
-
border-color: ${({buttonColor:e})=>ot(d4,e)};
|
|
103
100
|
`,b4=Ne.css`
|
|
104
|
-
background-color: ${({buttonColor:e})=>ot(
|
|
105
|
-
border-color: ${({buttonColor:e})=>ot(
|
|
106
|
-
`,
|
|
101
|
+
background-color: ${({buttonColor:e})=>ot(h4,e)};
|
|
102
|
+
border-color: ${({buttonColor:e})=>ot(h4,e)};
|
|
103
|
+
`,y4=Ne.css`
|
|
104
|
+
background-color: ${({buttonColor:e})=>ot(g4,e)};
|
|
105
|
+
border-color: ${({buttonColor:e})=>ot(g4,e)};
|
|
106
|
+
`,D4=Ne.css`
|
|
107
107
|
box-shadow: inset 0 0 0 1px white;
|
|
108
|
-
`,
|
|
108
|
+
`,nT=Ne.css`
|
|
109
109
|
background-color: ${({buttonColor:e})=>e};
|
|
110
110
|
border-color: ${({buttonColor:e})=>e};
|
|
111
111
|
color: white;
|
|
112
112
|
|
|
113
113
|
&:focus-visible {
|
|
114
|
-
${
|
|
114
|
+
${D4}
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
&:hover:not([aria-disabled]) {
|
|
118
|
-
${
|
|
118
|
+
${b4}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
&:active:not([aria-disabled]) {
|
|
122
|
-
${
|
|
122
|
+
${y4}
|
|
123
123
|
}
|
|
124
|
-
`,y4=Ne.css`
|
|
125
|
-
background-color: ${({buttonColor:e})=>vt(h4,e)};
|
|
126
|
-
`,D4=Ne.css`
|
|
127
|
-
background-color: ${({buttonColor:e})=>vt(g4,e)};
|
|
128
124
|
`,x4=Ne.css`
|
|
125
|
+
background-color: ${({buttonColor:e})=>vt(v4,e)};
|
|
126
|
+
`,E4=Ne.css`
|
|
127
|
+
background-color: ${({buttonColor:e})=>vt(C4,e)};
|
|
128
|
+
`,w4=Ne.css`
|
|
129
129
|
box-shadow:
|
|
130
130
|
inset 0 0 0 1px white,
|
|
131
131
|
inset 0 0 0 2px ${({buttonColor:e})=>e};
|
|
132
|
-
`,
|
|
132
|
+
`,oT=Ne.css`
|
|
133
133
|
background-color: ${({buttonColor:e})=>vt(1,e)};
|
|
134
134
|
border-color: ${({buttonColor:e})=>e};
|
|
135
135
|
color: ${({buttonColor:e})=>e};
|
|
136
136
|
|
|
137
137
|
&:focus-visible {
|
|
138
|
-
${
|
|
138
|
+
${w4}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
&:hover:not([aria-disabled]) {
|
|
142
|
-
${
|
|
142
|
+
${x4}
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
&:active:not([aria-disabled]) {
|
|
146
|
-
${
|
|
146
|
+
${E4}
|
|
147
147
|
}
|
|
148
|
-
`,E4=Ne.css`
|
|
149
|
-
background-color: ${({buttonColor:e})=>vt(h4,e)};
|
|
150
|
-
`,w4=Ne.css`
|
|
151
|
-
background-color: ${({buttonColor:e})=>vt(g4,e)};
|
|
152
148
|
`,S4=Ne.css`
|
|
149
|
+
background-color: ${({buttonColor:e})=>vt(v4,e)};
|
|
150
|
+
`,T4=Ne.css`
|
|
151
|
+
background-color: ${({buttonColor:e})=>vt(C4,e)};
|
|
152
|
+
`,A4=Ne.css`
|
|
153
153
|
border-color: ${({buttonColor:e})=>e};
|
|
154
154
|
box-shadow:
|
|
155
155
|
inset 0 0 0 1px white,
|
|
156
156
|
inset 0 0 0 2px ${({buttonColor:e})=>e};
|
|
157
|
-
`,
|
|
157
|
+
`,aT=Ne.css`
|
|
158
158
|
background-color: ${({buttonColor:e})=>vt(1,e)};
|
|
159
159
|
border-color: ${({buttonColor:e})=>vt(1,e)};
|
|
160
160
|
color: ${({buttonColor:e})=>e};
|
|
161
161
|
|
|
162
162
|
&:focus-visible {
|
|
163
|
-
${
|
|
163
|
+
${A4}
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
&:hover:not([aria-disabled]) {
|
|
167
|
-
${
|
|
167
|
+
${S4}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
&:active:not([aria-disabled]) {
|
|
171
|
-
${
|
|
171
|
+
${T4}
|
|
172
172
|
}
|
|
173
|
-
`,
|
|
173
|
+
`,iT=Ne.css`
|
|
174
174
|
border-radius: 0;
|
|
175
175
|
`,M0=Ne.css`
|
|
176
176
|
opacity: 0.4;
|
|
177
|
-
`,
|
|
177
|
+
`,sT=Ne.css`
|
|
178
178
|
font-size: 16px;
|
|
179
179
|
line-height: 24px;
|
|
180
180
|
padding: ${({theme:e})=>`${e.spacing.space02} ${e.spacing.space04}`};
|
|
181
|
-
`,
|
|
181
|
+
`,uT=Ne.css`
|
|
182
182
|
font-size: 14px;
|
|
183
183
|
line-height: 20px;
|
|
184
184
|
padding: ${({theme:e})=>`${e.spacing.space02} ${e.spacing.space03}`};
|
|
185
|
-
`,
|
|
185
|
+
`,lT=Ne.css`
|
|
186
186
|
font-size: 12px;
|
|
187
187
|
line-height: 18px;
|
|
188
188
|
padding: ${({theme:e})=>`2px ${e.spacing.space02}`};
|
|
@@ -201,19 +201,19 @@
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
/* border-radius */
|
|
204
|
-
${({square:e})=>e===!0&&
|
|
204
|
+
${({square:e})=>e===!0&&iT}
|
|
205
205
|
|
|
206
206
|
/* label wrapping */
|
|
207
207
|
white-space: ${({labelWrap:e})=>e===!0?"wrap":"nowrap"};
|
|
208
208
|
|
|
209
209
|
/* apply various button variant styles */
|
|
210
|
-
${({variant:e})=>{if(e==="primary"||e==="dangerous")return
|
|
210
|
+
${({variant:e})=>{if(e==="primary"||e==="dangerous")return nT;if(e==="secondary")return oT;if(e==="tertiary")return aT}}
|
|
211
211
|
|
|
212
212
|
/* primarily used for documentation/debugging */
|
|
213
|
-
${({variant:e,forceState:t})=>{if(e==="primary"||e==="dangerous"){if(t==="hover")return
|
|
213
|
+
${({variant:e,forceState:t})=>{if(e==="primary"||e==="dangerous"){if(t==="hover")return b4;if(t==="active")return y4;if(t==="focus")return D4}if(e==="secondary"){if(t==="hover")return x4;if(t==="active")return E4;if(t==="focus")return w4}if(e==="tertiary"){if(t==="hover")return S4;if(t==="active")return T4;if(t==="focus")return A4}}}
|
|
214
214
|
|
|
215
|
-
${({size:e})=>{if(e==="lg")return
|
|
216
|
-
`,
|
|
215
|
+
${({size:e})=>{if(e==="lg")return sT;if(e==="md")return uT;if(e==="sm")return lT}}
|
|
216
|
+
`,B4=Ne.default.button`
|
|
217
217
|
${({noStyle:e})=>e?Ho:O0}
|
|
218
218
|
`;i();i();var Di=z(require("styled-components"));var P0=require("react/jsx-runtime"),Un=Di.css`
|
|
219
219
|
border: 0;
|
|
@@ -225,13 +225,13 @@
|
|
|
225
225
|
position: absolute;
|
|
226
226
|
white-space: nowrap;
|
|
227
227
|
width: 1px;
|
|
228
|
-
`,
|
|
228
|
+
`,cT=Di.default.div`
|
|
229
229
|
${Un}
|
|
230
|
-
`,
|
|
230
|
+
`,fT=Di.default.div`
|
|
231
231
|
&:not(:focus-within) {
|
|
232
232
|
${Un}
|
|
233
233
|
}
|
|
234
|
-
`,zo=({text:e,children:t,focusable:r=!1,...n})=>{let o=M(e)?e:t;return r?(0,P0.jsx)(
|
|
234
|
+
`,zo=({text:e,children:t,focusable:r=!1,...n})=>{let o=M(e)?e:t;return r?(0,P0.jsx)(fT,{...n,children:o}):(0,P0.jsx)(cT,{...n,children:o})};zo.displayName="ScreenReaderOnly_VHS";i();i();var Br=require("react"),R4=z(require("styled-components"));i();i();var is,pT=new Uint8Array(16);function R0(){if(!is&&(is=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!is))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return is(pT)}i();var Qe=[];for(let e=0;e<256;++e)Qe.push((e+256).toString(16).slice(1));function F4(e,t=0){return(Qe[e[t+0]]+Qe[e[t+1]]+Qe[e[t+2]]+Qe[e[t+3]]+"-"+Qe[e[t+4]]+Qe[e[t+5]]+"-"+Qe[e[t+6]]+Qe[e[t+7]]+"-"+Qe[e[t+8]]+Qe[e[t+9]]+"-"+Qe[e[t+10]]+Qe[e[t+11]]+Qe[e[t+12]]+Qe[e[t+13]]+Qe[e[t+14]]+Qe[e[t+15]]).toLowerCase()}i();i();var dT=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),I0={randomUUID:dT};function mT(e,t,r){if(I0.randomUUID&&!t&&!e)return I0.randomUUID();e=e||{};let n=e.random||(e.rng||R0)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let o=0;o<16;++o)t[r+o]=n[o];return t}return F4(n)}var xi=mT;i();var rn=z(require("styled-components"));i();i();i();var M4=require("styled-components"),Kt=()=>(0,M4.useTheme)();var O4=(e,t)=>{if(!e.hasOwnProperty(t))throw new Error(`\`${String(t)}\` is not a defined theme color, check argument passed to \`useThemeColor\``);return e[t]},ke=(e=null)=>{let t=Kt().color;if(!Object.keys({...t}).length)throw new Error("The `useThemeColor` hook could not find any defined colors. A possible cause of this error is that your component is not wrapped in a theme provider such as `<VHSProvider />`");return e===null?t:Array.isArray(e)?e.map(n=>O4(t,n)):O4(t,e)};var L0=require("react/jsx-runtime"),_n=8,Ei=rn.default.div`
|
|
235
235
|
color: white;
|
|
236
236
|
font-size: 12px;
|
|
237
237
|
font-weight: ${({theme:e})=>e.font.weight.regular};
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
position: absolute;
|
|
254
254
|
width: 0;
|
|
255
255
|
}
|
|
256
|
-
`,
|
|
256
|
+
`,hT=rn.css`
|
|
257
257
|
left: 50%;
|
|
258
258
|
top: -10px;
|
|
259
259
|
transform: translate(-50%, -100%);
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
top: 100%;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
`,
|
|
268
|
+
`,gT=rn.css`
|
|
269
269
|
bottom: -10px;
|
|
270
270
|
left: 50%;
|
|
271
271
|
transform: translate(-50%, 100%);
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
top: -${_n*2}px;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
`,
|
|
280
|
+
`,vT=rn.css`
|
|
281
281
|
left: calc(-${_n}px - 5px);
|
|
282
282
|
top: 50%;
|
|
283
283
|
transform: translate(-100%, -50%);
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
top: 50%;
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
`,
|
|
294
|
+
`,CT=rn.css`
|
|
295
295
|
right: calc(-${_n}px - 5px);
|
|
296
296
|
top: 50%;
|
|
297
297
|
transform: translate(100%, -50%);
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
top: 50%;
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
`,
|
|
308
|
+
`,bT=rn.default.div`
|
|
309
309
|
background: ${({backgroundColor:e})=>e};
|
|
310
310
|
border-radius: 4px;
|
|
311
311
|
color: white;
|
|
@@ -319,13 +319,13 @@
|
|
|
319
319
|
white-space: ${e=>e.shouldWrap?"normal":"nowrap"};
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
${({direction:e})=>{switch(e){case"top":return
|
|
323
|
-
`,
|
|
324
|
-
`));a=a.slice(0,s)}return a=`${a.trim()}${r}`,(0,Vo.jsx)(Vo.Fragment,{children:a})};jo.displayName="Truncate_VHS";var nn=require("react/jsx-runtime"),
|
|
322
|
+
${({direction:e})=>{switch(e){case"top":return hT;case"bottom":return gT;case"left":return vT;case"right":return CT;default:return}}}
|
|
323
|
+
`,P4=({id:e,active:t,direction:r,children:n,forceState:o,shouldWrap:a})=>{let s=ke("grey900");return(0,L0.jsx)(bT,{active:t,"aria-hidden":!t,backgroundColor:s,"data-testid":"tooltip-content",direction:r,forceState:o,id:e,shouldWrap:a,children:(0,L0.jsx)(Ei,{children:n})})};i();i();var Vo=require("react/jsx-runtime"),jo=({children:e,maxChars:t,terminator:r="...",breakOnWords:n=!1})=>{if(se(e))return null;let o=e.length+r.length>=t;if(!dt(e)||t<=0||!o)return(0,Vo.jsx)(Vo.Fragment,{children:e});let a=e.slice(0,t-r.length);if(n){let s=Math.max(a.lastIndexOf(" "),a.lastIndexOf(`
|
|
324
|
+
`));a=a.slice(0,s)}return a=`${a.trim()}${r}`,(0,Vo.jsx)(Vo.Fragment,{children:a})};jo.displayName="Truncate_VHS";var nn=require("react/jsx-runtime"),yT=e=>`${e}${xi()}`,DT=R4.default.div`
|
|
325
325
|
display: inline-block;
|
|
326
326
|
position: relative;
|
|
327
327
|
width: inherit;
|
|
328
|
-
`,Wo=({label:e,direction:t="top",duration:r=2e3,eventType:n="hover",forceState:o=void 0,maxChars:a=null,children:s,id:u=null,shouldWrap:l=!1,...c})=>{let[d,h]=(0,Br.useState)(!1),m=(0,Br.useMemo)(()=>u??
|
|
328
|
+
`,Wo=({label:e,direction:t="top",duration:r=2e3,eventType:n="hover",forceState:o=void 0,maxChars:a=null,children:s,id:u=null,shouldWrap:l=!1,...c})=>{let[d,h]=(0,Br.useState)(!1),m=(0,Br.useMemo)(()=>u??yT("ra-tooltip-"),[u]),C=(0,Br.useRef)(null),v=(0,Br.useRef)(null),p=()=>{v.current&&clearTimeout(v.current),v.current=setTimeout(()=>{h(!1)},r)},b=()=>{h(!0),r&&(clearTimeout(v.current??void 0),p())},y=()=>h(!0),E=()=>h(!1),B=()=>b();if((0,Br.useEffect)(()=>{let D=T=>{if(d){if(C.current===null||C.current.contains(T.target))return;h(!1)}};return r||document.addEventListener("mousedown",D,!1),()=>{v.current&&clearTimeout(v.current),document.removeEventListener("mousedown",D,!1)}},[d,v,r]),dt(e)&&!e.length)return(0,nn.jsx)(nn.Fragment,{children:s});let A=e;return a!==null&&(A=(0,nn.jsx)(jo,{breakOnWords:!0,maxChars:a,children:e})),(0,nn.jsxs)(DT,{"aria-labelledby":m,role:"tooltip",...(()=>{let D={onFocus:B,onMouseLeave:E,onMouseOver:y},T={onClick:b,ref:C};return n==="hover"?D:T})(),...c,children:[(0,nn.jsx)(P4,{active:d,direction:t,forceState:o,id:m,shouldWrap:l,children:A}),s]})};Wo.displayName="Tooltip_VHS";var on=require("react/jsx-runtime");var xT=an.css`
|
|
329
329
|
max-height: 16px;
|
|
330
330
|
max-width: 16px;
|
|
331
331
|
min-height: 16px;
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
min-height: 12px;
|
|
338
338
|
min-width: 12px;
|
|
339
339
|
}
|
|
340
|
-
`,
|
|
340
|
+
`,ET=an.css`
|
|
341
341
|
max-height: 24px;
|
|
342
342
|
max-width: 24px;
|
|
343
343
|
min-height: 24px;
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
min-height: 16px;
|
|
350
350
|
min-width: 16px;
|
|
351
351
|
}
|
|
352
|
-
`,
|
|
352
|
+
`,wT=an.css`
|
|
353
353
|
max-height: 32px;
|
|
354
354
|
max-width: 32px;
|
|
355
355
|
min-height: 32px;
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
min-height: 24px;
|
|
362
362
|
min-width: 24px;
|
|
363
363
|
}
|
|
364
|
-
`,
|
|
364
|
+
`,ST=an.css`
|
|
365
365
|
cursor: not-allowed;
|
|
366
366
|
|
|
367
367
|
svg {
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
color: ${({iconButtonColor:e})=>vt(.5,e)};
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
`,
|
|
379
|
+
`,TT=an.css`
|
|
380
380
|
background-color: ${({iconButtonColor:e})=>vt(1,e)};
|
|
381
381
|
border-radius: 4px;
|
|
382
382
|
|
|
@@ -400,13 +400,13 @@
|
|
|
400
400
|
color: ${({iconButtonColor:e})=>e};
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
`,
|
|
403
|
+
`,AT=(e,t,r)=>pe(e)?e:t==="dark"?r.grey700:"#fff",BT=an.default.button`
|
|
404
404
|
${Ho}
|
|
405
|
-
${
|
|
405
|
+
${TT}
|
|
406
406
|
transition: all ${({theme:e})=>e.duration.productive.moderate};
|
|
407
|
-
${({disabled:e})=>e?
|
|
408
|
-
${({size:e})=>e==="sm"?
|
|
409
|
-
`,sr=(0,
|
|
407
|
+
${({disabled:e})=>e?ST:void 0}
|
|
408
|
+
${({size:e})=>e==="sm"?xT:e==="md"?ET:wT};
|
|
409
|
+
`,sr=(0,ss.forwardRef)(({colorOverride:e,componentStyle:t="dark",disabled:r=!1,icon:n,label:o,onClick:a,preventTooltip:s=!1,size:u="md",...l},c)=>{let d=AT(e,t,ke()),h=(0,ss.useMemo)(()=>(0,on.jsxs)(BT,{ref:c,componentStyle:t,disabled:r,iconButtonColor:d,onClick:a,size:u,...l,children:[(0,on.jsx)(on.Fragment,{children:n}),(0,on.jsx)(zo,{children:o})]}),[t,r,n,d,o,a,l,c,u]);return s?h:(0,on.jsx)(Wo,{label:o,children:h})});sr.displayName="IconButton_VHS";var Ae=require("react/jsx-runtime"),FT=I4.default.div`
|
|
410
410
|
background: white;
|
|
411
411
|
border-bottom: 1px solid ${({theme:e})=>e.color.grey400};
|
|
412
412
|
display: flex;
|
|
@@ -420,10 +420,10 @@
|
|
|
420
420
|
* did not add to theme because it doesn't interact with any other components
|
|
421
421
|
*/
|
|
422
422
|
z-index: 1;
|
|
423
|
-
`,Gt=({format:e="",icon:t,disabled:r=!1,onCustomClick:n,buttonType:o="block"})=>{let a=
|
|
423
|
+
`,Gt=({format:e="",icon:t,disabled:r=!1,onCustomClick:n,buttonType:o="block"})=>{let a=Y1(),s=ke("brandBlue500"),u=o==="block"?rs(a,e):ns(a,e);return(0,Ae.jsx)(sr,{"aria-pressed":u,colorOverride:u?s:void 0,disabled:r,icon:t,label:e,onClick:d=>{d.preventDefault(),o==="block"?tn(a,e):jn(a,e),n&&n(d)},preventTooltip:!0})},MT=e=>{if(!e.selection)return"";let t=H.fragment(e,e.selection);return t[0]?H.string(t[0]):""},OT=e=>MT(e).trim()==="",L4=({enabledFormats:e=["BOLD","ITALIC","HEADING_1","LINK","BULLETED_LIST","IMAGE"],disabled:t=!1})=>{let r=Y1();return(0,Ae.jsxs)(FT,{children:[e.includes(ze.BOLD)&&(0,Ae.jsx)(Gt,{buttonType:"mark",disabled:t,format:"bold",icon:(0,Ae.jsx)(gt,{type:"bold"})}),e.includes(ze.ITALIC)&&(0,Ae.jsx)(Gt,{buttonType:"mark",disabled:t,format:"italic",icon:(0,Ae.jsx)(gt,{type:"italic"})}),e.includes(ze.HEADING_1)&&(0,Ae.jsx)(Gt,{buttonType:"block",disabled:t,format:"heading-one",icon:(0,Ae.jsx)(gt,{type:"heading"})}),e.includes(ze.HEADING_2)&&(0,Ae.jsx)(Gt,{buttonType:"block",disabled:t,format:"heading-two",icon:(0,Ae.jsx)(gt,{type:"heading-two"})}),e.includes(ze.BULLETED_LIST)&&(0,Ae.jsx)(Gt,{buttonType:"block",disabled:t,format:"bulleted-list",icon:(0,Ae.jsx)(gt,{type:"bulleted-list"})}),e.includes(ze.NUMBERED_LIST)&&(0,Ae.jsx)(Gt,{buttonType:"block",disabled:t,format:"numbered-list",icon:(0,Ae.jsx)(gt,{type:"numbered-list"})}),e.includes(ze.BLOCKQUOTE)&&(0,Ae.jsx)(Gt,{buttonType:"block",disabled:t,format:"blockquote",icon:(0,Ae.jsx)(gt,{type:"block-quote"})}),e.includes(ze.UNDERLINE)&&(0,Ae.jsx)(Gt,{buttonType:"mark",disabled:t,format:"underline",icon:(0,Ae.jsx)(gt,{type:"underline"})}),e.includes(ze.STRIKETHROUGH)&&(0,Ae.jsx)(Gt,{buttonType:"mark",disabled:t,format:"strikethrough",icon:(0,Ae.jsx)(gt,{type:"strikethrough"})}),e.includes(ze.LINK)&&(0,Ae.jsx)(Gt,{buttonType:"mark",disabled:t||OT(r),format:"link",icon:(0,Ae.jsx)(gt,{type:"link"}),onCustomClick:n=>{n.preventDefault(),s0(r)}}),e.includes(ze.IMAGE)&&(0,Ae.jsx)(Gt,{buttonType:"block",disabled:t,format:"image",icon:(0,Ae.jsx)(gt,{type:"image"}),onCustomClick:n=>{n.preventDefault();let o=prompt("Enter the URL of the image:");pe(o)&&n0(r,o)}})]})};var sn=require("react/jsx-runtime"),PT=(0,k0.default)(g3)`
|
|
424
424
|
color: ${({theme:e})=>e.color.grey900};
|
|
425
425
|
outline: none; /* prevent blue accessibility outline from appearing on focus */
|
|
426
|
-
`,
|
|
426
|
+
`,RT=k0.default.div`
|
|
427
427
|
background: white;
|
|
428
428
|
border: 1px solid ${({theme:e})=>e.color.grey400};
|
|
429
429
|
border-radius: 4px;
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
strong {
|
|
438
438
|
font-weight: ${({theme:e})=>e.font.weight.bold};
|
|
439
439
|
}
|
|
440
|
-
`,L4={"mod+b":"bold","mod+i":"italic","mod+u":"underline"},MT={text:""},OT=[{type:"paragraph",children:[MT]}],Uo=({enabledFormats:e=Object.values(ze),value:t=OT,onChange:r,placeholder:n="Enter some rich text...",disabled:o=!1,ariaLabelledBy:a,useExternalValue:s,...u})=>{let l=(0,un.useCallback)(b=>(0,sn.jsx)(j3,{...b}),[]),c=(0,un.useCallback)(b=>(0,sn.jsx)(H3,{...b}),[]),d=(0,un.useMemo)(()=>o0(i0(C3(b3(Rs())))),[]),h=b=>{if(se(b)||se(b[0])||se(b[0].children))return!1;let{text:v}=b[0].children[0];return pe(v)};(0,un.useEffect)(()=>{let b=en(t),v=en(d.children);h(t)&&s&&b!==v&&(d.children=t,d.selection=null,d.onChange())},[t,d,s]);let m=(0,un.useCallback)(()=>{let{selection:b}=d;if(se(b)||se(b.anchor.path[0]))return;let v=d.children[b.anchor.path[0]];if(U.isElement(v)&&v.type==="image"){tn(d,"image"),P.removeNodes(d,{at:b}),P.move(d,{reverse:!0});let p=d.children.filter(C=>C.type==="span")[0];U.isElement(p)&&p.type==="span"&&M(p.children)&&M(p.children[0])&&M(p.children[0].text)&&p.children[0].text.trim()!==""&&P.setNodes(d,{type:"paragraph"},{match:C=>C.type==="span"&&M(C.children)&&G.isText(C.children[0])&&M(C.children[0].text)&&C.children[0].text.trim()!=="",split:!0,mode:"highest"})}},[d]);return(0,sn.jsx)(FT,{disabled:o,onClick:()=>R.focus(d),children:(0,sn.jsxs)(v3,{editor:d,initialValue:t,onChange:r,...u,children:[(0,sn.jsx)(R4,{disabled:o,enabledFormats:e}),(0,sn.jsx)(BT,{"aria-labelledby":a,autoFocus:!1,"data-testid":"editor-content",onKeyDown:b=>{Object.keys(L4).forEach(v=>{(0,I4.default)(v,b)&&(b.preventDefault(),jn(d,L4[v]))}),b.key==="Enter"&&!b.shiftKey&&u0(d),(b.key==="Backspace"||b.key==="Clear"||b.key==="Delete")&&m()},placeholder:n,readOnly:o,renderElement:l,renderLeaf:c,spellCheck:!0})]})})};Uo.displayName="RichTextEditor_VHS";i();var _o=async e=>{if(navigator.clipboard)return navigator.clipboard.writeText(e).catch(a=>{throw a instanceof Error?a:new DOMException("The clipboard is not accessible","NotAllowedError")});let t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",document.body.appendChild(t);let r=window.getSelection(),n=window.document.createRange();r?.removeAllRanges(),n.selectNode(t),r?.addRange(n);let o=!1;try{o=window.document.execCommand("copy")}catch(a){console.error("error",a)}return r?.removeAllRanges(),window.document.body.removeChild(t),o?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))};i();var wi=e=>{let[r,n]=u4(e);return`@media (max-width: ${Math.max(r-.0025,0)}${n})`},PT=({theme:e})=>`@media (min-width: ${e.breakpoint.xs})`,RT=({theme:e})=>`@media (min-width: ${e.breakpoint.sm})`,LT=({theme:e})=>`@media (min-width: ${e.breakpoint.md})`,IT=({theme:e})=>`@media (min-width: ${e.breakpoint.lg})`,kT=({theme:e})=>`@media (min-width: ${e.breakpoint.xl})`,NT=({theme:e})=>wi(e.breakpoint.xs),$T=({theme:e})=>wi(e.breakpoint.sm),ZT=({theme:e})=>wi(e.breakpoint.md),HT=({theme:e})=>wi(e.breakpoint.lg),zT=({theme:e})=>wi(e.breakpoint.xl),Re={xsAndUp:PT,smAndUp:RT,mdAndUp:LT,lgAndUp:IT,xlAndUp:kT,xsAndDown:NT,smAndDown:$T,mdAndDown:ZT,lgAndDown:HT,xlAndDown:zT};i();i();i();var Ti=z(require("react"));i();var ln=z(require("react"));i();var k4=z(require("react")),VT={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},N4=function(t){var r=t.message,n=t["aria-live"];return k4.default.createElement("div",{style:VT,role:"log","aria-live":n},r||"")};N4.propTypes={};var Si=N4;function jT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $4(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function WT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Z4=function(e){WT(t,e);function t(){var r,n,o;jT(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=(r=(n=$4(this,e.call.apply(e,[this].concat(s))),n),n.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},r),$4(n,o)}return t.getDerivedStateFromProps=function(n,o){var a=o.oldPolitemessage,s=o.oldPoliteMessageId,u=o.oldAssertiveMessage,l=o.oldAssertiveMessageId,c=n.politeMessage,d=n.politeMessageId,h=n.assertiveMessage,m=n.assertiveMessageId;return a!==c||s!==d?{politeMessage1:o.setAlternatePolite?"":c,politeMessage2:o.setAlternatePolite?c:"",oldPolitemessage:c,oldPoliteMessageId:d,setAlternatePolite:!o.setAlternatePolite}:u!==h||l!==m?{assertiveMessage1:o.setAlternateAssertive?"":h,assertiveMessage2:o.setAlternateAssertive?h:"",oldAssertiveMessage:h,oldAssertiveMessageId:m,setAlternateAssertive:!o.setAlternateAssertive}:null},t.prototype.render=function(){var n=this.state,o=n.assertiveMessage1,a=n.assertiveMessage2,s=n.politeMessage1,u=n.politeMessage2;return ln.default.createElement("div",null,ln.default.createElement(Si,{"aria-live":"assertive",message:o}),ln.default.createElement(Si,{"aria-live":"assertive",message:a}),ln.default.createElement(Si,{"aria-live":"polite",message:s}),ln.default.createElement(Si,{"aria-live":"polite",message:u}))},t}(ln.Component);Z4.propTypes={};var H4=Z4;i();var V4=z(require("react")),UT=V4.default.createContext({announceAssertive:z4,announcePolite:z4});function z4(){console.warn("Announcement failed, LiveAnnouncer context is missing")}var Ko=UT;function _T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KT(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function GT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var qT=function(e){GT(t,e);function t(r){_T(this,t);var n=KT(this,e.call(this,r));return n.announcePolite=function(o,a){n.setState({announcePoliteMessage:o,politeMessageId:a||""})},n.announceAssertive=function(o,a){n.setState({announceAssertiveMessage:o,assertiveMessageId:a||""})},n.state={announcePoliteMessage:"",politeMessageId:"",announceAssertiveMessage:"",assertiveMessageId:"",updateFunctions:{announcePolite:n.announcePolite,announceAssertive:n.announceAssertive}},n}return t.prototype.render=function(){var n=this.state,o=n.announcePoliteMessage,a=n.politeMessageId,s=n.announceAssertiveMessage,u=n.assertiveMessageId,l=n.updateFunctions;return Ti.default.createElement(Ko.Provider,{value:l},this.props.children,Ti.default.createElement(H4,{assertiveMessage:s,assertiveMessageId:u,politeMessage:o,politeMessageId:a}))},t}(Ti.Component),N0=qT;i();var V0=z(require("react"));i();var Y4=require("react"),z0=z(q4());function eA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X4(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function tA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var J4=function(e){tA(t,e);function t(){var r,n,o;eA(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=(r=(n=X4(this,e.call.apply(e,[this].concat(s))),n),n.announce=function(){var l=n.props,c=l.message,d=l["aria-live"],h=l.announceAssertive,m=l.announcePolite;d==="assertive"&&h(c||"",(0,z0.default)()),d==="polite"&&m(c||"",(0,z0.default)())},r),X4(n,o)}return t.prototype.componentDidMount=function(){this.announce()},t.prototype.componentDidUpdate=function(n){var o=this.props.message;o!==n.message&&this.announce()},t.prototype.componentWillUnmount=function(){var n=this.props,o=n.clearOnUnmount,a=n.announceAssertive,s=n.announcePolite;(o===!0||o==="true")&&(a(""),s(""))},t.prototype.render=function(){return null},t}(Y4.Component);J4.propTypes={};var Q4=J4;var rA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e7=function(t){return V0.default.createElement(Ko.Consumer,null,function(r){return V0.default.createElement(Q4,rA({},r,t))})};e7.propTypes={};var Bi=e7;i();var t7=z(require("react"));var nA=function(t){var r=t.children;return t7.default.createElement(Ko.Consumer,null,function(n){return r(n)})};nA.propTypes={};i();var u7=require("styled-components");i();var ur=z(a7());var aA=100,iA=200,i7=300,j0=500,s7={breakpoint:{...ur.designTokens.breakpoint},color:{...ur.designTokens.color},duration:{...ur.designTokens.duration},easing:{...ur.designTokens.easing},font:{family:ur.designTokens.font.family,size:ur.designTokens.font.size,weight:{...Ul(ur.designTokens.font.weight,["regular","medium","semiBold","bold","extraBold"])}},shadow:{...ur.designTokens.shadow},spacing:{...ur.designTokens.spacing},zIndex:{Backdrop:iA,ModalCloseButton:aA,ActionModal:i7,FullScreenModal:i7,MenuComponent:j0,Toast:j0,Tooltip:j0}};var c7=require("react/jsx-runtime"),l7=({children:e,theme:t})=>{let r=Es(s7,t);return(0,c7.jsx)(u7.ThemeProvider,{theme:r,children:e})};i();var u1=require("react"),f7=(0,u1.createContext)({}),p7=()=>(0,u1.useContext)(f7),d7=f7.Provider;i();var lr=require("react");i();var qt=require("react"),eh=require("react-dom");var O2=z(require("styled-components"));i();var C7=require("styled-components");i();i();i();function Kn(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}i();i();function W0(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function U0(e,t){e.classList?e.classList.add(t):W0(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}i();function m7(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function _0(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=m7(e.className,t):e.setAttribute("class",m7(e.className&&e.className.baseVal||"",t))}var X0=z(require("react"));i();var Fi=z(require("react")),Mi=z(require("react-dom"));i();var K0={disabled:!1};i();var h7=z(require("react")),Go=h7.default.createContext(null);i();var l1=function(t){return t.scrollTop};var Oi="unmounted",Gn="exited",qn="entering",Xo="entered",G0="exiting",Fr=function(e){_t(t,e);function t(n,o){var a;a=e.call(this,n,o)||this;var s=o,u=s&&!s.isMounting?n.enter:n.appear,l;return a.appearStatus=null,n.in?u?(l=Gn,a.appearStatus=qn):l=Xo:n.unmountOnExit||n.mountOnEnter?l=Oi:l=Gn,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var s=o.in;return s&&a.status===Oi?{status:Gn}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var a=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==qn&&s!==Xo&&(a=qn):(s===qn||s===Xo)&&(a=G0)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,a,s,u;return a=s=u=o,o!=null&&typeof o!="number"&&(a=o.exit,s=o.enter,u=o.appear!==void 0?o.appear:s),{exit:a,enter:s,appear:u}},r.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===qn){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Mi.default.findDOMNode(this);s&&l1(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Gn&&this.setState({status:Oi})},r.performEnter=function(o){var a=this,s=this.props.enter,u=this.context?this.context.isMounting:o,l=this.props.nodeRef?[u]:[Mi.default.findDOMNode(this),u],c=l[0],d=l[1],h=this.getTimeouts(),m=u?h.appear:h.enter;if(!o&&!s||K0.disabled){this.safeSetState({status:Xo},function(){a.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:qn},function(){a.props.onEntering(c,d),a.onTransitionEnd(m,function(){a.safeSetState({status:Xo},function(){a.props.onEntered(c,d)})})})},r.performExit=function(){var o=this,a=this.props.exit,s=this.getTimeouts(),u=this.props.nodeRef?void 0:Mi.default.findDOMNode(this);if(!a||K0.disabled){this.safeSetState({status:Gn},function(){o.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:G0},function(){o.props.onExiting(u),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Gn},function(){o.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},r.setNextCallback=function(o){var a=this,s=!0;return this.nextCallback=function(u){s&&(s=!1,a.nextCallback=null,o(u))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},r.onTransitionEnd=function(o,a){this.setNextCallback(a);var s=this.props.nodeRef?this.props.nodeRef.current:Mi.default.findDOMNode(this),u=o==null&&!this.props.addEndListener;if(!s||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],d=l[1];this.props.addEndListener(c,d)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Oi)return null;var a=this.props,s=a.children,u=a.in,l=a.mountOnEnter,c=a.unmountOnExit,d=a.appear,h=a.enter,m=a.exit,b=a.timeout,v=a.addEndListener,p=a.onEnter,C=a.onEntering,y=a.onEntered,E=a.onExit,B=a.onExiting,A=a.onExited,L=a.nodeRef,D=Kn(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Fi.default.createElement(Go.Provider,{value:null},typeof s=="function"?s(o,D):Fi.default.cloneElement(Fi.default.Children.only(s),D))},t}(Fi.default.Component);Fr.contextType=Go;Fr.propTypes={};function qo(){}Fr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qo,onEntering:qo,onEntered:qo,onExit:qo,onExiting:qo,onExited:qo};Fr.UNMOUNTED=Oi;Fr.EXITED=Gn;Fr.ENTERING=qn;Fr.ENTERED=Xo;Fr.EXITING=G0;var g7=Fr;var sA=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return U0(t,n)})},q0=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return _0(t,n)})},Y0=function(e){_t(t,e);function t(){for(var n,o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=e.call.apply(e,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(u,l){var c=n.resolveArguments(u,l),d=c[0],h=c[1];n.removeClasses(d,"exit"),n.addClass(d,h?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(u,l)},n.onEntering=function(u,l){var c=n.resolveArguments(u,l),d=c[0],h=c[1],m=h?"appear":"enter";n.addClass(d,m,"active"),n.props.onEntering&&n.props.onEntering(u,l)},n.onEntered=function(u,l){var c=n.resolveArguments(u,l),d=c[0],h=c[1],m=h?"appear":"enter";n.removeClasses(d,m),n.addClass(d,m,"done"),n.props.onEntered&&n.props.onEntered(u,l)},n.onExit=function(u){var l=n.resolveArguments(u),c=l[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(u)},n.onExiting=function(u){var l=n.resolveArguments(u),c=l[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(u)},n.onExited=function(u){var l=n.resolveArguments(u),c=l[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(u)},n.resolveArguments=function(u,l){return n.props.nodeRef?[n.props.nodeRef.current,u]:[u,l]},n.getClassNames=function(u){var l=n.props.classNames,c=typeof l=="string",d=c&&l?l+"-":"",h=c?""+d+u:l[u],m=c?h+"-active":l[u+"Active"],b=c?h+"-done":l[u+"Done"];return{baseClassName:h,activeClassName:m,doneClassName:b}},n}var r=t.prototype;return r.addClass=function(o,a,s){var u=this.getClassNames(a)[s+"ClassName"],l=this.getClassNames("enter"),c=l.doneClassName;a==="appear"&&s==="done"&&c&&(u+=" "+c),s==="active"&&o&&l1(o),u&&(this.appliedClasses[a][s]=u,sA(o,u))},r.removeClasses=function(o,a){var s=this.appliedClasses[a],u=s.base,l=s.active,c=s.done;this.appliedClasses[a]={},u&&q0(o,u),l&&q0(o,l),c&&q0(o,c)},r.render=function(){var o=this.props,a=o.classNames,s=Kn(o,["classNames"]);return X0.default.createElement(g7,ar({},s,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(X0.default.Component);Y0.defaultProps={classNames:""};Y0.propTypes={};var Pi=Y0;i();var Ri=z(require("react"));i();var Lt=require("react");function c1(e,t){var r=function(a){return t&&(0,Lt.isValidElement)(a)?t(a):a},n=Object.create(null);return e&&Lt.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function uA(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),o=[];for(var a in e)a in t?o.length&&(n[a]=o,o=[]):o.push(a);var s,u={};for(var l in t){if(n[l])for(s=0;s<n[l].length;s++){var c=n[l][s];u[n[l][s]]=r(c)}u[l]=r(l)}for(s=0;s<o.length;s++)u[o[s]]=r(o[s]);return u}function Xn(e,t,r){return r[t]!=null?r[t]:e.props[t]}function v7(e,t){return c1(e.children,function(r){return(0,Lt.cloneElement)(r,{onExited:t.bind(null,r),in:!0,appear:Xn(r,"appear",e),enter:Xn(r,"enter",e),exit:Xn(r,"exit",e)})})}function b7(e,t,r){var n=c1(e.children),o=uA(t,n);return Object.keys(o).forEach(function(a){var s=o[a];if((0,Lt.isValidElement)(s)){var u=a in t,l=a in n,c=t[a],d=(0,Lt.isValidElement)(c)&&!c.props.in;l&&(!u||d)?o[a]=(0,Lt.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:Xn(s,"exit",e),enter:Xn(s,"enter",e)}):!l&&u&&!d?o[a]=(0,Lt.cloneElement)(s,{in:!1}):l&&u&&(0,Lt.isValidElement)(c)&&(o[a]=(0,Lt.cloneElement)(s,{onExited:r.bind(null,s),in:c.props.in,exit:Xn(s,"exit",e),enter:Xn(s,"enter",e)}))}}),o}var lA=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},cA={component:"div",childFactory:function(t){return t}},J0=function(e){_t(t,e);function t(n,o){var a;a=e.call(this,n,o)||this;var s=a.handleExited.bind(vi(a));return a.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},a}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,a){var s=a.children,u=a.handleExited,l=a.firstRender;return{children:l?v7(o,u):b7(o,s,u),firstRender:!1}},r.handleExited=function(o,a){var s=c1(this.props.children);o.key in s||(o.props.onExited&&o.props.onExited(a),this.mounted&&this.setState(function(u){var l=ar({},u.children);return delete l[o.key],{children:l}}))},r.render=function(){var o=this.props,a=o.component,s=o.childFactory,u=Kn(o,["component","childFactory"]),l=this.state.contextValue,c=lA(this.state.children).map(s);return delete u.appear,delete u.enter,delete u.exit,a===null?Ri.default.createElement(Go.Provider,{value:l},c):Ri.default.createElement(Go.Provider,{value:l},Ri.default.createElement(a,u,c))},t}(Ri.default.Component);J0.propTypes={};J0.defaultProps=cA;var Q0=J0;i();var Yn=require("react/jsx-runtime"),fA=C7.createGlobalStyle`
|
|
440
|
+
`,k4={"mod+b":"bold","mod+i":"italic","mod+u":"underline"},IT={text:""},LT=[{type:"paragraph",children:[IT]}],Uo=({enabledFormats:e=Object.values(ze),value:t=LT,onChange:r,placeholder:n="Enter some rich text...",disabled:o=!1,ariaLabelledBy:a,useExternalValue:s,...u})=>{let l=(0,un.useCallback)(C=>(0,sn.jsx)(U3,{...C}),[]),c=(0,un.useCallback)(C=>(0,sn.jsx)(V3,{...C}),[]),d=(0,un.useMemo)(()=>o0(i0(D3(y3(R1())))),[]),h=C=>{if(se(C)||se(C[0])||se(C[0].children))return!1;let{text:v}=C[0].children[0];return pe(v)};(0,un.useEffect)(()=>{let C=en(t),v=en(d.children);h(t)&&s&&C!==v&&(d.children=t,d.selection=null,d.onChange())},[t,d,s]);let m=(0,un.useCallback)(()=>{let{selection:C}=d;if(se(C)||se(C.anchor.path[0]))return;let v=d.children[C.anchor.path[0]];if(U.isElement(v)&&v.type==="image"){tn(d,"image"),P.removeNodes(d,{at:C}),P.move(d,{reverse:!0});let p=d.children.filter(b=>b.type==="span")[0];U.isElement(p)&&p.type==="span"&&M(p.children)&&M(p.children[0])&&M(p.children[0].text)&&p.children[0].text.trim()!==""&&P.setNodes(d,{type:"paragraph"},{match:b=>b.type==="span"&&M(b.children)&&G.isText(b.children[0])&&M(b.children[0].text)&&b.children[0].text.trim()!=="",split:!0,mode:"highest"})}},[d]);return(0,sn.jsx)(RT,{disabled:o,onClick:()=>R.focus(d),children:(0,sn.jsxs)(b3,{editor:d,initialValue:t,onChange:r,...u,children:[(0,sn.jsx)(L4,{disabled:o,enabledFormats:e}),(0,sn.jsx)(PT,{"aria-labelledby":a,autoFocus:!1,"data-testid":"editor-content",onKeyDown:C=>{Object.keys(k4).forEach(v=>{(0,N4.default)(v,C)&&(C.preventDefault(),jn(d,k4[v]))}),C.key==="Enter"&&!C.shiftKey&&u0(d),(C.key==="Backspace"||C.key==="Clear"||C.key==="Delete")&&m()},placeholder:n,readOnly:o,renderElement:l,renderLeaf:c,spellCheck:!0})]})})};Uo.displayName="RichTextEditor_VHS";i();var _o=async e=>{if(navigator.clipboard)return navigator.clipboard.writeText(e).catch(a=>{throw a instanceof Error?a:new DOMException("The clipboard is not accessible","NotAllowedError")});let t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",document.body.appendChild(t);let r=window.getSelection(),n=window.document.createRange();r?.removeAllRanges(),n.selectNode(t),r?.addRange(n);let o=!1;try{o=window.document.execCommand("copy")}catch(a){console.error("error",a)}return r?.removeAllRanges(),window.document.body.removeChild(t),o?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))};i();var wi=e=>{let[r,n]=c4(e);return`@media (max-width: ${Math.max(r-.0025,0)}${n})`},kT=({theme:e})=>`@media (min-width: ${e.breakpoint.xs})`,NT=({theme:e})=>`@media (min-width: ${e.breakpoint.sm})`,$T=({theme:e})=>`@media (min-width: ${e.breakpoint.md})`,ZT=({theme:e})=>`@media (min-width: ${e.breakpoint.lg})`,HT=({theme:e})=>`@media (min-width: ${e.breakpoint.xl})`,zT=({theme:e})=>wi(e.breakpoint.xs),VT=({theme:e})=>wi(e.breakpoint.sm),jT=({theme:e})=>wi(e.breakpoint.md),WT=({theme:e})=>wi(e.breakpoint.lg),UT=({theme:e})=>wi(e.breakpoint.xl),Re={xsAndUp:kT,smAndUp:NT,mdAndUp:$T,lgAndUp:ZT,xlAndUp:HT,xsAndDown:zT,smAndDown:VT,mdAndDown:jT,lgAndDown:WT,xlAndDown:UT};i();i();i();var Ti=z(require("react"));i();var ln=z(require("react"));i();var $4=z(require("react")),_T={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},Z4=function(t){var r=t.message,n=t["aria-live"];return $4.default.createElement("div",{style:_T,role:"log","aria-live":n},r||"")};Z4.propTypes={};var Si=Z4;function KT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H4(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function GT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var z4=function(e){GT(t,e);function t(){var r,n,o;KT(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=(r=(n=H4(this,e.call.apply(e,[this].concat(s))),n),n.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},r),H4(n,o)}return t.getDerivedStateFromProps=function(n,o){var a=o.oldPolitemessage,s=o.oldPoliteMessageId,u=o.oldAssertiveMessage,l=o.oldAssertiveMessageId,c=n.politeMessage,d=n.politeMessageId,h=n.assertiveMessage,m=n.assertiveMessageId;return a!==c||s!==d?{politeMessage1:o.setAlternatePolite?"":c,politeMessage2:o.setAlternatePolite?c:"",oldPolitemessage:c,oldPoliteMessageId:d,setAlternatePolite:!o.setAlternatePolite}:u!==h||l!==m?{assertiveMessage1:o.setAlternateAssertive?"":h,assertiveMessage2:o.setAlternateAssertive?h:"",oldAssertiveMessage:h,oldAssertiveMessageId:m,setAlternateAssertive:!o.setAlternateAssertive}:null},t.prototype.render=function(){var n=this.state,o=n.assertiveMessage1,a=n.assertiveMessage2,s=n.politeMessage1,u=n.politeMessage2;return ln.default.createElement("div",null,ln.default.createElement(Si,{"aria-live":"assertive",message:o}),ln.default.createElement(Si,{"aria-live":"assertive",message:a}),ln.default.createElement(Si,{"aria-live":"polite",message:s}),ln.default.createElement(Si,{"aria-live":"polite",message:u}))},t}(ln.Component);z4.propTypes={};var V4=z4;i();var W4=z(require("react")),qT=W4.default.createContext({announceAssertive:j4,announcePolite:j4});function j4(){console.warn("Announcement failed, LiveAnnouncer context is missing")}var Ko=qT;function XT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YT(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function JT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var QT=function(e){JT(t,e);function t(r){XT(this,t);var n=YT(this,e.call(this,r));return n.announcePolite=function(o,a){n.setState({announcePoliteMessage:o,politeMessageId:a||""})},n.announceAssertive=function(o,a){n.setState({announceAssertiveMessage:o,assertiveMessageId:a||""})},n.state={announcePoliteMessage:"",politeMessageId:"",announceAssertiveMessage:"",assertiveMessageId:"",updateFunctions:{announcePolite:n.announcePolite,announceAssertive:n.announceAssertive}},n}return t.prototype.render=function(){var n=this.state,o=n.announcePoliteMessage,a=n.politeMessageId,s=n.announceAssertiveMessage,u=n.assertiveMessageId,l=n.updateFunctions;return Ti.default.createElement(Ko.Provider,{value:l},this.props.children,Ti.default.createElement(V4,{assertiveMessage:s,assertiveMessageId:u,politeMessage:o,politeMessageId:a}))},t}(Ti.Component),N0=QT;i();var V0=z(require("react"));i();var Q4=require("react"),z0=z(Y4());function oA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J4(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function aA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var e7=function(e){aA(t,e);function t(){var r,n,o;oA(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=(r=(n=J4(this,e.call.apply(e,[this].concat(s))),n),n.announce=function(){var l=n.props,c=l.message,d=l["aria-live"],h=l.announceAssertive,m=l.announcePolite;d==="assertive"&&h(c||"",(0,z0.default)()),d==="polite"&&m(c||"",(0,z0.default)())},r),J4(n,o)}return t.prototype.componentDidMount=function(){this.announce()},t.prototype.componentDidUpdate=function(n){var o=this.props.message;o!==n.message&&this.announce()},t.prototype.componentWillUnmount=function(){var n=this.props,o=n.clearOnUnmount,a=n.announceAssertive,s=n.announcePolite;(o===!0||o==="true")&&(a(""),s(""))},t.prototype.render=function(){return null},t}(Q4.Component);e7.propTypes={};var t7=e7;var iA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r7=function(t){return V0.default.createElement(Ko.Consumer,null,function(r){return V0.default.createElement(t7,iA({},r,t))})};r7.propTypes={};var Bi=r7;i();var n7=z(require("react"));var sA=function(t){var r=t.children;return n7.default.createElement(Ko.Consumer,null,function(n){return r(n)})};sA.propTypes={};i();var c7=require("styled-components");i();var ur=z(s7());var lA=100,cA=200,u7=300,j0=500,l7={breakpoint:{...ur.designTokens.breakpoint},color:{...ur.designTokens.color},duration:{...ur.designTokens.duration},easing:{...ur.designTokens.easing},font:{family:ur.designTokens.font.family,size:ur.designTokens.font.size,weight:{...Ul(ur.designTokens.font.weight,["regular","medium","semiBold","bold","extraBold"])}},shadow:{...ur.designTokens.shadow},spacing:{...ur.designTokens.spacing},zIndex:{Backdrop:cA,ModalCloseButton:lA,ActionModal:u7,FullScreenModal:u7,MenuComponent:j0,Toast:j0,Tooltip:j0}};var p7=require("react/jsx-runtime"),f7=({children:e,theme:t})=>{let r=E1(l7,t);return(0,p7.jsx)(c7.ThemeProvider,{theme:r,children:e})};i();var us=require("react"),d7=(0,us.createContext)({}),m7=()=>(0,us.useContext)(d7),h7=d7.Provider;i();var lr=require("react");i();var qt=require("react"),o6=require("react-dom");var Rf=z(require("styled-components"));i();var D7=require("styled-components");i();i();i();function Kn(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}i();i();function W0(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function U0(e,t){e.classList?e.classList.add(t):W0(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}i();function g7(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function _0(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=g7(e.className,t):e.setAttribute("class",g7(e.className&&e.className.baseVal||"",t))}var X0=z(require("react"));i();var Fi=z(require("react")),Mi=z(require("react-dom"));i();var K0={disabled:!1};i();var v7=z(require("react")),Go=v7.default.createContext(null);i();var ls=function(t){return t.scrollTop};var Oi="unmounted",Gn="exited",qn="entering",Xo="entered",G0="exiting",Fr=function(e){_t(t,e);function t(n,o){var a;a=e.call(this,n,o)||this;var s=o,u=s&&!s.isMounting?n.enter:n.appear,l;return a.appearStatus=null,n.in?u?(l=Gn,a.appearStatus=qn):l=Xo:n.unmountOnExit||n.mountOnEnter?l=Oi:l=Gn,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var s=o.in;return s&&a.status===Oi?{status:Gn}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var a=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==qn&&s!==Xo&&(a=qn):(s===qn||s===Xo)&&(a=G0)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,a,s,u;return a=s=u=o,o!=null&&typeof o!="number"&&(a=o.exit,s=o.enter,u=o.appear!==void 0?o.appear:s),{exit:a,enter:s,appear:u}},r.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===qn){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Mi.default.findDOMNode(this);s&&ls(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Gn&&this.setState({status:Oi})},r.performEnter=function(o){var a=this,s=this.props.enter,u=this.context?this.context.isMounting:o,l=this.props.nodeRef?[u]:[Mi.default.findDOMNode(this),u],c=l[0],d=l[1],h=this.getTimeouts(),m=u?h.appear:h.enter;if(!o&&!s||K0.disabled){this.safeSetState({status:Xo},function(){a.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:qn},function(){a.props.onEntering(c,d),a.onTransitionEnd(m,function(){a.safeSetState({status:Xo},function(){a.props.onEntered(c,d)})})})},r.performExit=function(){var o=this,a=this.props.exit,s=this.getTimeouts(),u=this.props.nodeRef?void 0:Mi.default.findDOMNode(this);if(!a||K0.disabled){this.safeSetState({status:Gn},function(){o.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:G0},function(){o.props.onExiting(u),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Gn},function(){o.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},r.setNextCallback=function(o){var a=this,s=!0;return this.nextCallback=function(u){s&&(s=!1,a.nextCallback=null,o(u))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},r.onTransitionEnd=function(o,a){this.setNextCallback(a);var s=this.props.nodeRef?this.props.nodeRef.current:Mi.default.findDOMNode(this),u=o==null&&!this.props.addEndListener;if(!s||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],d=l[1];this.props.addEndListener(c,d)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Oi)return null;var a=this.props,s=a.children,u=a.in,l=a.mountOnEnter,c=a.unmountOnExit,d=a.appear,h=a.enter,m=a.exit,C=a.timeout,v=a.addEndListener,p=a.onEnter,b=a.onEntering,y=a.onEntered,E=a.onExit,B=a.onExiting,A=a.onExited,I=a.nodeRef,D=Kn(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Fi.default.createElement(Go.Provider,{value:null},typeof s=="function"?s(o,D):Fi.default.cloneElement(Fi.default.Children.only(s),D))},t}(Fi.default.Component);Fr.contextType=Go;Fr.propTypes={};function qo(){}Fr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qo,onEntering:qo,onEntered:qo,onExit:qo,onExiting:qo,onExited:qo};Fr.UNMOUNTED=Oi;Fr.EXITED=Gn;Fr.ENTERING=qn;Fr.ENTERED=Xo;Fr.EXITING=G0;var C7=Fr;var fA=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return U0(t,n)})},q0=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return _0(t,n)})},Y0=function(e){_t(t,e);function t(){for(var n,o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=e.call.apply(e,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(u,l){var c=n.resolveArguments(u,l),d=c[0],h=c[1];n.removeClasses(d,"exit"),n.addClass(d,h?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(u,l)},n.onEntering=function(u,l){var c=n.resolveArguments(u,l),d=c[0],h=c[1],m=h?"appear":"enter";n.addClass(d,m,"active"),n.props.onEntering&&n.props.onEntering(u,l)},n.onEntered=function(u,l){var c=n.resolveArguments(u,l),d=c[0],h=c[1],m=h?"appear":"enter";n.removeClasses(d,m),n.addClass(d,m,"done"),n.props.onEntered&&n.props.onEntered(u,l)},n.onExit=function(u){var l=n.resolveArguments(u),c=l[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(u)},n.onExiting=function(u){var l=n.resolveArguments(u),c=l[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(u)},n.onExited=function(u){var l=n.resolveArguments(u),c=l[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(u)},n.resolveArguments=function(u,l){return n.props.nodeRef?[n.props.nodeRef.current,u]:[u,l]},n.getClassNames=function(u){var l=n.props.classNames,c=typeof l=="string",d=c&&l?l+"-":"",h=c?""+d+u:l[u],m=c?h+"-active":l[u+"Active"],C=c?h+"-done":l[u+"Done"];return{baseClassName:h,activeClassName:m,doneClassName:C}},n}var r=t.prototype;return r.addClass=function(o,a,s){var u=this.getClassNames(a)[s+"ClassName"],l=this.getClassNames("enter"),c=l.doneClassName;a==="appear"&&s==="done"&&c&&(u+=" "+c),s==="active"&&o&&ls(o),u&&(this.appliedClasses[a][s]=u,fA(o,u))},r.removeClasses=function(o,a){var s=this.appliedClasses[a],u=s.base,l=s.active,c=s.done;this.appliedClasses[a]={},u&&q0(o,u),l&&q0(o,l),c&&q0(o,c)},r.render=function(){var o=this.props,a=o.classNames,s=Kn(o,["classNames"]);return X0.default.createElement(C7,ar({},s,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(X0.default.Component);Y0.defaultProps={classNames:""};Y0.propTypes={};var Pi=Y0;i();var Ri=z(require("react"));i();var It=require("react");function cs(e,t){var r=function(a){return t&&(0,It.isValidElement)(a)?t(a):a},n=Object.create(null);return e&&It.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function pA(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),o=[];for(var a in e)a in t?o.length&&(n[a]=o,o=[]):o.push(a);var s,u={};for(var l in t){if(n[l])for(s=0;s<n[l].length;s++){var c=n[l][s];u[n[l][s]]=r(c)}u[l]=r(l)}for(s=0;s<o.length;s++)u[o[s]]=r(o[s]);return u}function Xn(e,t,r){return r[t]!=null?r[t]:e.props[t]}function b7(e,t){return cs(e.children,function(r){return(0,It.cloneElement)(r,{onExited:t.bind(null,r),in:!0,appear:Xn(r,"appear",e),enter:Xn(r,"enter",e),exit:Xn(r,"exit",e)})})}function y7(e,t,r){var n=cs(e.children),o=pA(t,n);return Object.keys(o).forEach(function(a){var s=o[a];if((0,It.isValidElement)(s)){var u=a in t,l=a in n,c=t[a],d=(0,It.isValidElement)(c)&&!c.props.in;l&&(!u||d)?o[a]=(0,It.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:Xn(s,"exit",e),enter:Xn(s,"enter",e)}):!l&&u&&!d?o[a]=(0,It.cloneElement)(s,{in:!1}):l&&u&&(0,It.isValidElement)(c)&&(o[a]=(0,It.cloneElement)(s,{onExited:r.bind(null,s),in:c.props.in,exit:Xn(s,"exit",e),enter:Xn(s,"enter",e)}))}}),o}var dA=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},mA={component:"div",childFactory:function(t){return t}},J0=function(e){_t(t,e);function t(n,o){var a;a=e.call(this,n,o)||this;var s=a.handleExited.bind(vi(a));return a.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},a}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,a){var s=a.children,u=a.handleExited,l=a.firstRender;return{children:l?b7(o,u):y7(o,s,u),firstRender:!1}},r.handleExited=function(o,a){var s=cs(this.props.children);o.key in s||(o.props.onExited&&o.props.onExited(a),this.mounted&&this.setState(function(u){var l=ar({},u.children);return delete l[o.key],{children:l}}))},r.render=function(){var o=this.props,a=o.component,s=o.childFactory,u=Kn(o,["component","childFactory"]),l=this.state.contextValue,c=dA(this.state.children).map(s);return delete u.appear,delete u.enter,delete u.exit,a===null?Ri.default.createElement(Go.Provider,{value:l},c):Ri.default.createElement(Go.Provider,{value:l},Ri.default.createElement(a,u,c))},t}(Ri.default.Component);J0.propTypes={};J0.defaultProps=mA;var Q0=J0;i();var Yn=require("react/jsx-runtime"),hA=D7.createGlobalStyle`
|
|
441
441
|
.Toast-enter {
|
|
442
442
|
animation-name: Toast-in;
|
|
443
443
|
animation-timing-function: ease-out;
|
|
@@ -474,11 +474,11 @@
|
|
|
474
474
|
opacity: 0;
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
`,y7=({children:e,...t})=>{let{duration:r}=Kt();return(0,Yn.jsxs)(Yn.Fragment,{children:[(0,Yn.jsx)(fA,{animationDuration:r.expressive.fast}),(0,Yn.jsx)(Pi,{appear:!0,classNames:"Toast",mountOnEnter:!0,timeout:Number.parseInt(r.expressive.fast,10),unmountOnExit:!0,...t,children:e})]})};i();var Q8=require("react");i();var ki=z(require("styled-components"));i();i();i();var ef={"ab-test":"AbTestIcon","all-content":"AllContentIcon",archived:"ArchivedIcon","arrow-down":"ArrowDownIcon","arrow-left":"ArrowLeftIcon","arrow-right":"ArrowRightIcon","arrow-up":"ArrowUpIcon",asterisk:"AsteriskIcon",audience:"AudienceIcon",calendar:"CalendarIcon","caret-down":"CaretDownIcon","caret-left":"CaretLeftIcon","caret-right":"CaretRightIcon","caret-up":"CaretUpIcon",channel:"ChannelIcon",checkmark:"CheckmarkIcon","checkmark-circle":"CheckmarkCircleIcon",close:"CloseIcon",community:"CommunityIcon","contact-us":"ContactUsIcon",copy:"LinkIcon","copy-disabled":"CopyDisabledIcon",create:"CreateIcon",customize:"CustomizeIcon",delete:"DeleteIcon","delete-sm":"DeleteSmIcon",download:"DownloadIcon",edit:"PencilIcon",embed:"EmbedIcon",ellipsis:"EllipsisIcon",episodes:"EpisodesIcon",expand:"ExpandIcon",export:"DownloadIcon",error:"TriangleIcon",favorite:"FavoriteIcon","favorite-outline":"FavoriteOutlineIcon",filter:"FilterIcon",gear:"GearIcon","getting-started":"GettingStartedIcon","grid-view":"GridViewIcon",hamburger:"HamburgerIcon",hazard:"HazardIcon","help-center":"HelpCenterIcon",hide:"HideIcon",hourglass:"HourglassIcon",integrations:"IntegrationsIcon",link:"LinkIcon","list-view":"ListViewIcon",live:"LiveIcon",lock:"LockIcon",logout:"LogoutIcon",media:"MediaIcon",megaphone:"MegaphoneIcon","more-options":"MoreOptionsIcon","open-new":"OpenNewIcon",overview:"OverviewIcon",paint:"PaintIcon",pencil:"PencilIcon",podcast:"PodcastIcon",preview:"PreviewIcon","private-user-sessions":"PrivateUserSessionsIcon",project:"ProjectIcon","question-mark":"QuestionMarkIcon",react:"ReactIcon",redo:"RedoIcon",replace:"ReplaceIcon",reply:"ReplyIcon","save-copy":"SaveCopyIcon",scissors:"ScissorsIcon",search:"SearchIcon",send:"SendIcon",share:"ShareIcon",soapbox:"SoapboxIcon",sparkle:"SparkleIcon",spinner:"SpinnerIcon",stats:"StatsIcon","switch-accounts":"SwitchAccountsIcon","thumbs-down":"ThumbsDownIcon","thumbs-up":"ThumbsUpIcon",triangle:"TriangleIcon",undo:"UndoIcon",unlock:"UnlockIcon",upload:"UploadIcon","users-permissions":"UsersPermissionsIcon","view-stream":"ViewStreamIcon",wand:"WandIcon","zoom-in":"ZoomInIcon","zoom-out":"ZoomOutIcon"};var F2={};wo(F2,{AbTestIcon:()=>D7,AllContentIcon:()=>x7,ArchivedIcon:()=>E7,ArrowDownIcon:()=>w7,ArrowLeftIcon:()=>S7,ArrowRightIcon:()=>T7,ArrowUpIcon:()=>A7,AsteriskIcon:()=>B7,AudienceIcon:()=>F7,CalendarIcon:()=>M7,CaretDownIcon:()=>O7,CaretLeftIcon:()=>P7,CaretRightIcon:()=>R7,CaretUpIcon:()=>L7,ChannelIcon:()=>I7,CheckmarkCircleIcon:()=>N7,CheckmarkIcon:()=>k7,CloseIcon:()=>$7,CommunityIcon:()=>Z7,ContactUsIcon:()=>H7,CopyDisabledIcon:()=>z7,CreateIcon:()=>V7,CustomizeIcon:()=>j7,DeleteIcon:()=>W7,DeleteSmIcon:()=>U7,DownloadIcon:()=>_7,EllipsisIcon:()=>K7,EmbedIcon:()=>G7,EpisodesIcon:()=>q7,ExpandIcon:()=>X7,FavoriteIcon:()=>Y7,FavoriteOutlineIcon:()=>J7,FilterIcon:()=>Q7,GearIcon:()=>e8,GettingStartedIcon:()=>t8,GridViewIcon:()=>r8,HamburgerIcon:()=>n8,HazardIcon:()=>o8,HelpCenterIcon:()=>a8,HideIcon:()=>i8,HourglassIcon:()=>s8,IntegrationsIcon:()=>u8,LinkIcon:()=>l8,ListViewIcon:()=>c8,LiveIcon:()=>f8,LockIcon:()=>p8,LogoutIcon:()=>d8,MediaIcon:()=>m8,MegaphoneIcon:()=>h8,MoreOptionsIcon:()=>g8,OpenNewIcon:()=>v8,OverviewIcon:()=>b8,PaintIcon:()=>C8,PencilIcon:()=>y8,PodcastIcon:()=>D8,PreviewIcon:()=>x8,PrivateUserSessionsIcon:()=>E8,ProjectIcon:()=>w8,QuestionMarkIcon:()=>S8,ReactIcon:()=>T8,RedoIcon:()=>A8,ReplaceIcon:()=>B8,ReplyIcon:()=>F8,SaveCopyIcon:()=>M8,ScissorsIcon:()=>O8,SearchIcon:()=>P8,SendIcon:()=>R8,ShareIcon:()=>L8,SoapboxIcon:()=>I8,SparkleIcon:()=>k8,SpinnerIcon:()=>N8,StatsIcon:()=>$8,SwitchAccountsIcon:()=>Z8,ThumbsDownIcon:()=>H8,ThumbsUpIcon:()=>z8,TriangleIcon:()=>V8,UndoIcon:()=>j8,UnlockIcon:()=>W8,UploadIcon:()=>U8,UsersPermissionsIcon:()=>_8,ViewStreamIcon:()=>K8,WandIcon:()=>G8,ZoomInIcon:()=>q8,ZoomOutIcon:()=>X8});i();i();var tf=require("react/jsx-runtime"),D7=({...e})=>(0,tf.jsx)("svg",{...e,children:(0,tf.jsx)("path",{d:"M8.85497352,2.11301778 C6.91962352,2.35453778 6.99570352,3.17263778 7.04697352,3.72398778 L7.04697352,3.72406778 C7.04968352,3.75319778 7.05232352,3.78158778 7.05459352,3.80910778 C7.09982352,4.35742778 7.61151352,5.44636778 8.85497352,5.44636778 L8.87209352,5.44636778 L8.87204352,5.46067778 C8.87204352,5.46067778 9.12950352,8.33151778 8.87204352,9.78882778 C8.70475352,10.7357078 8.25788352,11.3857078 7.75735352,12.0283078 C8.46963352,12.0655078 9.22546352,12.1415078 10.0175635,12.2666078 C10.5630635,12.3528078 10.9354635,12.8648078 10.8492635,13.4104078 C10.7630635,13.9559078 10.2510635,14.3283078 9.70546352,14.2421078 C8.40897352,14.0373078 7.22998352,13.9785078 6.20893352,14.0075078 C5.52206352,14.8684078 4.47078352,16.2135078 3.60174352,17.4440078 C5.15685352,17.4865078 7.11075352,17.5219078 9.56536352,17.3945078 C10.1169635,17.3659078 10.5872635,17.7898078 10.6158635,18.3414078 C10.6444635,18.8929078 10.2205635,19.3632078 9.66906352,19.3918078 C6.84062352,19.5386078 4.56314352,19.4735078 2.91575352,19.4264078 C2.72005352,19.4208078 2.53324352,19.4155078 2.35545352,19.4108078 C1.48487352,21.1679078 2.25242352,21.8970078 4.23140352,22.1130078 C6.38331352,22.3478078 18.1893635,22.4548078 20.1451635,22.1130078 C22.1010635,21.7712078 22.7580635,20.2181078 21.7545635,18.9255078 C20.7509635,17.6329078 17.9502635,13.6002078 17.0812635,12.1639078 C16.8620635,11.8016078 16.6541635,11.4826078 16.4656635,11.1932078 C15.9068635,10.3354078 15.5178635,9.73842778 15.5068635,9.04881778 L15.5069635,5.46067778 L15.5068635,5.44636778 L15.5216635,5.44636778 C17.0565635,5.39817778 17.1882635,4.70016778 17.1882635,3.77968778 C17.1882635,2.85921778 16.4420635,2.11301778 15.5216635,2.11301778 C15.5216635,2.11301778 10.8926635,1.85872778 8.85497352,2.11301778 Z",fill:"currentColor"})});i();var rf=require("react/jsx-runtime"),x7=({...e})=>(0,rf.jsx)("svg",{...e,children:(0,rf.jsx)("path",{d:"M20.3191337,12.8386044 C20.7096337,13.2291044 21.3428337,13.2291044 21.7333337,12.8386044 C22.1239337,12.4481044 22.1239337,11.8149044 21.7333337,11.4244044 C21.1885337,10.8795044 20.6355337,10.2425044 19.9955337,9.50545441 C18.4386337,7.71223441 16.3672337,5.32633441 12.6461337,2.23118441 C12.2780337,1.92502441 11.7445337,1.92271441 11.3738337,2.22567441 C8.56155374,4.52390441 7.05153374,5.94781441 2.24538374,11.4753044 C1.88300374,11.8921044 1.92709374,12.5237044 2.34386374,12.8861044 C2.76063374,13.2485044 3.39226374,13.2044044 3.75464374,12.7876044 C3.97735374,12.5315044 4.19277374,12.2844044 4.40137374,12.0459044 C4.27485374,14.7088044 4.08931374,18.9725044 4.17024374,19.5190044 C4.20591374,19.7535044 4.23265374,19.9971044 4.25798374,20.2277044 C4.31700374,20.7652044 4.36830374,21.2323044 4.50687374,21.3505044 C4.76430374,21.5617044 5.23954374,21.5828044 7.00192374,21.6039044 C7.43394374,21.6091044 8.20553374,21.6251044 9.13535374,21.6474044 C9.09525374,20.8275044 9.04402374,18.7167044 9.01787374,17.6387044 L9.00866374,17.2613044 C8.99387374,17.0737044 8.99794374,16.7338044 9.00283374,16.3249044 C9.00561374,16.0923044 9.00866374,15.8375044 9.00866374,15.5755044 C9.03185374,14.0503044 10.0060337,12.7659044 11.3280337,12.5786044 C12.7660337,12.3645044 14.0416337,13.4884044 14.2968337,15.1206044 C14.3200337,15.2544044 14.3432337,15.3882044 14.3663337,15.4952044 C14.5287337,16.2980044 14.6447337,20.4723044 14.5055337,21.5427044 C14.4925337,21.6402044 14.4904337,21.7247044 14.4886337,21.7983044 L14.4886337,21.7994044 C15.6849337,21.8397044 16.6185337,21.8780044 16.9029337,21.9049044 C17.7940337,21.9894044 18.8237337,21.9894044 18.9623337,21.4827044 C19.2395337,20.4692044 19.4177337,15.5203044 19.4177337,14.8025044 C19.4299337,14.2440044 19.4196337,12.9346044 19.4007337,11.8669044 C19.7022337,12.2010044 20.0041337,12.5235044 20.3191337,12.8386044 Z",fill:"currentColor"})});i();var Li=require("react/jsx-runtime"),E7=({...e})=>(0,Li.jsxs)("svg",{...e,children:[(0,Li.jsx)("path",{clipRule:"evenodd",d:"M2.113 13.481c-.044-1.45-.09-2.957.054-4.138.018-.144.027-.28.036-.408C2.267 7.992 2.305 7.442 5.5 7c4.033-.558 11.675-.279 15.497.892.793.243.8.633.817 1.463.002.125.005.26.01.406.017.296.038.564.059.83.057.735.112 1.452.081 2.702-.01.333-.01.855-.01 1.48-.002 1.945-.003 4.894-.308 6.329-.191.948-1.571.976-2.739.836-1.167-.139-10.49-.403-12.805-.403-2.314 0-3.251-.353-3.591-.743-.485-.557-.429-2.52-.375-4.422l.01-.316c.02-.771-.006-1.66-.033-2.573Zm4.908-3.233c-.105.297-.167 1.027.149 1.376.315.348 2.867.274 2.867.274s6.387.08 6.747.068c.095-.011.133-.144.17-.274l.023-.075c.148-.47-.167-1.123-.465-1.175a39.267 39.267 0 0 0-4.482-.408c-1.957-.054-4.895-.083-5.009.214Z",fill:"currentColor",fillRule:"evenodd"}),(0,Li.jsx)("path",{d:"M1.73 4c.004.608-.017.917.27 1.247.34.39 1.69-.107 4-.247 2.787-.33 8 0 11 0 2.821 0 4.812 1.195 5.003.247C22.003 4.107 22 5.241 22 4c0-.5-.57-.975-1.003-1.108C17.175 1.722 9.533 1.442 5.5 2c-3.63.502-3.62.8-3.77 2Z",fill:"currentColor"})]});i();var nf=require("react/jsx-runtime"),w7=({...e})=>(0,nf.jsx)("svg",{...e,children:(0,nf.jsx)("path",{d:"m11.750808 21.3496515c.610905.55965 1.55973.51795 2.11932-.093.5595-.6108.51795-1.5597-.093-2.1192l-6.154755-5.63745h12.681105c.8283 0 1.5-.671565 1.5-1.5 0-.82842-.6717-1.5-1.5-1.5h-12.681045l6.154695-5.63736c.61095-.55956.6525-1.508385.093-2.11929-.559575-.61089-1.508415-.652515-2.11932-.09297l-9 8.24352c-.3102.28413-.48684.68547-.48684 1.10613s.17664.822.48684 1.10613z",fill:"currentColor",transform:"rotate(-90,12,12)"})});i();var of=require("react/jsx-runtime"),S7=({...e})=>(0,of.jsx)("svg",{...e,children:(0,of.jsx)("path",{d:"m11.750808 21.3496515c.610905.55965 1.55973.51795 2.11932-.093.5595-.6108.51795-1.5597-.093-2.1192l-6.154755-5.63745h12.681105c.8283 0 1.5-.671565 1.5-1.5 0-.82842-.6717-1.5-1.5-1.5h-12.681045l6.154695-5.63736c.61095-.55956.6525-1.508385.093-2.11929-.559575-.61089-1.508415-.652515-2.11932-.09297l-9 8.24352c-.3102.28413-.48684.68547-.48684 1.10613s.17664.822.48684 1.10613z",fill:"currentColor"})});i();var af=require("react/jsx-runtime"),T7=({...e})=>(0,af.jsx)("svg",{...e,children:(0,af.jsx)("path",{d:"m11.750808 21.3496515c.610905.55965 1.55973.51795 2.11932-.093.5595-.6108.51795-1.5597-.093-2.1192l-6.154755-5.63745h12.681105c.8283 0 1.5-.671565 1.5-1.5 0-.82842-.6717-1.5-1.5-1.5h-12.681045l6.154695-5.63736c.61095-.55956.6525-1.508385.093-2.11929-.559575-.61089-1.508415-.652515-2.11932-.09297l-9 8.24352c-.3102.28413-.48684.68547-.48684 1.10613s.17664.822.48684 1.10613z",fill:"currentColor",transform:"rotate(180,12,12)"})});i();var sf=require("react/jsx-runtime"),A7=({...e})=>(0,sf.jsx)("svg",{...e,children:(0,sf.jsx)("path",{d:"m11.750808 21.3496515c.610905.55965 1.55973.51795 2.11932-.093.5595-.6108.51795-1.5597-.093-2.1192l-6.154755-5.63745h12.681105c.8283 0 1.5-.671565 1.5-1.5 0-.82842-.6717-1.5-1.5-1.5h-12.681045l6.154695-5.63736c.61095-.55956.6525-1.508385.093-2.11929-.559575-.61089-1.508415-.652515-2.11932-.09297l-9 8.24352c-.3102.28413-.48684.68547-.48684 1.10613s.17664.822.48684 1.10613z",fill:"currentColor",transform:"rotate(90,12,12)"})});i();var uf=require("react/jsx-runtime"),B7=({...e})=>(0,uf.jsx)("svg",{...e,children:(0,uf.jsx)("polygon",{fill:"currentColor",points:"14.931 24 14.323 16.036 21.069 20.509 24 15.545 16.037 11.945 24 8.4 21.069 3.436 14.323 7.964 14.931 0 9.069 0 9.622 8.018 2.876 3.491 0 8.455 7.797 12 0 15.491 2.876 20.4 9.622 15.927 9.069 24"})});i();var lf=require("react/jsx-runtime"),F7=({...e})=>(0,lf.jsx)("svg",{...e,children:(0,lf.jsx)("path",{d:"M11.1744118,3.04658946 C13.8579118,5.38346946 13.3169118,11.1119195 8.32206181,11.0400195 C3.32723181,10.9681195 3.29124181,5.77637946 4.62788181,3.76273946 C5.96453181,1.74909946 9.27494181,1.39252946 11.1744118,3.04658946 Z M19.6854118,11.5171195 C21.1904118,12.8276195 20.8870118,16.0401195 18.0859118,15.9998195 C15.2848118,15.9594195 15.2646118,13.0479195 16.0142118,11.9187195 C16.7638118,10.7895195 18.6203118,10.5895195 19.6854118,11.5171195 Z M2.68741181,21.8507195 C2.36196181,21.8648195 2.06982181,21.4930195 2.04301181,21.0421195 C1.89156181,18.6847195 2.08994181,15.7769195 3.45591181,13.9617195 C6.32450181,10.1695195 12.9168118,12.4251195 14.0565118,16.0751195 C14.2925118,16.8108195 14.4573118,17.6103195 14.5526118,18.4396195 C14.6897118,18.2796195 14.8244118,18.1297195 14.9510118,17.9930195 C16.7111118,16.1026195 20.7558118,17.2270195 21.4551118,19.0465195 C21.7516118,19.7975195 21.8647118,20.6819195 21.8043118,21.5542195 C21.7945118,21.7980195 21.5954118,22.0019195 21.3537118,22.0000195 L13.9045118,22.0000195 L13.8913118,22.0000195 L13.8891118,22.0000195 L13.4407118,22.0000195 C13.4172118,22.0008195 13.3936118,21.9984195 13.3701118,21.9931195 L2.68741181,21.8507195 Z",fill:"currentColor"})});i();var cf=require("react/jsx-runtime"),M7=({...e})=>(0,cf.jsx)("svg",{...e,children:(0,cf.jsx)("path",{clipRule:"evenodd",d:"M7.5 2.9895C8.32843 2.9895 9 3.66107 9 4.4895V5.99991V5.99994H15C15 5.99993 15 5.99992 15 5.99991V4.4895C15 3.66107 15.6716 2.9895 16.5 2.9895C17.3284 2.9895 18 3.66107 18 4.4895V5.99991C18 5.99992 18 5.99993 18 5.99994H19.5C20.3284 5.99994 21 6.67151 21 7.49994V8.99994C21 9.82837 20.3284 10.4999 19.5 10.4999H4.5C3.67157 10.4999 3 9.82837 3 8.99994V7.49994C3 6.67151 3.67157 5.99994 4.5 5.99994H6V5.99991V4.4895C6 3.66107 6.67157 2.9895 7.5 2.9895ZM4.5 11.9999C3.67157 11.9999 3 12.6715 3 13.4999V19.4999C3 20.3284 3.67157 20.9999 4.5 20.9999H19.5C20.3284 20.9999 21 20.3284 21 19.4999V13.4999C21 12.6715 20.3284 11.9999 19.5 11.9999H4.5Z",fill:"currentColor",fillRule:"evenodd"})});i();var ff=require("react/jsx-runtime"),O7=({...e})=>(0,ff.jsx)("svg",{...e,children:(0,ff.jsx)("path",{d:"M2.68580668,7.23810271 C3.20973443,6.66479163 4.07637475,6.59142865 4.6865449,7.04498115 L4.80498179,7.14272518 L11.999,13.718 L19.1949762,7.14272794 C19.7682858,6.61879863 20.6380126,6.6235818 21.2049737,7.13011174 L21.3141516,7.23809969 C21.8380809,7.81140934 21.8332977,8.68113614 21.3267678,9.24809725 L21.2187798,9.35727506 L13.0119048,16.8572751 C12.4771172,17.3460003 11.676781,17.378583 11.1065857,16.9550226 L10.9881042,16.8572778 L2.78118421,9.35727782 C2.16965239,8.79842155 2.12695041,7.84963454 2.68580668,7.23810271 Z",fill:"currentColor"})});i();var pf=require("react/jsx-runtime"),P7=({...e})=>(0,pf.jsx)("svg",{...e,children:(0,pf.jsx)("path",{d:"M2.68580668,7.23810271 C3.20973443,6.66479163 4.07637475,6.59142865 4.6865449,7.04498115 L4.80498179,7.14272518 L11.999,13.718 L19.1949762,7.14272794 C19.7682858,6.61879863 20.6380126,6.6235818 21.2049737,7.13011174 L21.3141516,7.23809969 C21.8380809,7.81140934 21.8332977,8.68113614 21.3267678,9.24809725 L21.2187798,9.35727506 L13.0119048,16.8572751 C12.4771172,17.3460003 11.676781,17.378583 11.1065857,16.9550226 L10.9881042,16.8572778 L2.78118421,9.35727782 C2.16965239,8.79842155 2.12695041,7.84963454 2.68580668,7.23810271 Z",fill:"currentColor",transform:"rotate(90 12 12)"})});i();var df=require("react/jsx-runtime"),R7=({...e})=>(0,df.jsx)("svg",{...e,children:(0,df.jsx)("path",{d:"M2.68580668,7.23810271 C3.20973443,6.66479163 4.07637475,6.59142865 4.6865449,7.04498115 L4.80498179,7.14272518 L11.999,13.718 L19.1949762,7.14272794 C19.7682858,6.61879863 20.6380126,6.6235818 21.2049737,7.13011174 L21.3141516,7.23809969 C21.8380809,7.81140934 21.8332977,8.68113614 21.3267678,9.24809725 L21.2187798,9.35727506 L13.0119048,16.8572751 C12.4771172,17.3460003 11.676781,17.378583 11.1065857,16.9550226 L10.9881042,16.8572778 L2.78118421,9.35727782 C2.16965239,8.79842155 2.12695041,7.84963454 2.68580668,7.23810271 Z",fill:"currentColor",transform:"rotate(-90 12 12)"})});i();var mf=require("react/jsx-runtime"),L7=({...e})=>(0,mf.jsx)("svg",{...e,children:(0,mf.jsx)("path",{d:"M2.68580668,7.23810271 C3.20973443,6.66479163 4.07637475,6.59142865 4.6865449,7.04498115 L4.80498179,7.14272518 L11.999,13.718 L19.1949762,7.14272794 C19.7682858,6.61879863 20.6380126,6.6235818 21.2049737,7.13011174 L21.3141516,7.23809969 C21.8380809,7.81140934 21.8332977,8.68113614 21.3267678,9.24809725 L21.2187798,9.35727506 L13.0119048,16.8572751 C12.4771172,17.3460003 11.676781,17.378583 11.1065857,16.9550226 L10.9881042,16.8572778 L2.78118421,9.35727782 C2.16965239,8.79842155 2.12695041,7.84963454 2.68580668,7.23810271 Z",fill:"currentColor",transform:"rotate(-180 12 12)"})});i();var hf=require("react/jsx-runtime"),I7=({...e})=>(0,hf.jsx)("svg",{...e,children:(0,hf.jsx)("path",{d:"M3.09058864,3.5023 C3.64288864,3.5023 4.09058864,3.95 4.09058864,4.5023 L4.09058864,4.5023 L4.08967172,5.20417534 C4.07949358,9.13954475 3.98824975,12.3551 4.00118864,14.9799 C4.00798864,16.3386 4.04378864,17.4526 4.13108864,18.31 C4.20208864,19.0068462 4.29965669,19.4362959 4.38788018,19.6742708 L4.392,19.685 L4.43789024,19.702504 C4.45742144,19.709478 4.47959604,19.716987 4.50465034,19.7249225 L4.58868864,19.7499 C4.85418864,19.8241 5.23218864,19.8908 5.72738864,19.9451 C6.71388864,20.0532 8.03578864,20.099 9.57978864,20.1095 C12.7234886,20.1308 16.4323886,20.0102 20.0208886,20.0102 L20.0208886,20.0102 L20.1375126,20.0169275 C20.6348616,20.0746908 21.0208886,20.49735 21.0208886,21.0102 C21.0208886,21.5624 20.5731886,22.0102 20.0208886,22.0102 L20.0208886,22.0102 L19.2829036,22.0119417 C16.0509335,22.026625 12.4076172,22.1287214 9.56618864,22.1095 C8.00818864,22.0989 6.60208864,22.0529 5.50938864,21.9332 C4.96498864,21.8735 4.46568864,21.7922 4.05028864,21.6761 C3.68008864,21.5726 3.19478864,21.3953 2.86528864,21.0271 L2.86528864,21.0271 L2.80797614,20.9568375 L2.80797614,20.9568375 L2.75718864,20.8817 L2.65433464,20.6957175 C2.36314864,20.114493 2.22472864,19.33008 2.14138864,18.5127 C2.04398864,17.5559 2.00808864,16.3633 2.00118864,14.9898 C1.98788864,12.3045 2.09058864,8.5792 2.09058864,4.5022 L2.09058864,4.5022 L2.09731616,4.38567606 C2.15507946,3.88832704 2.57773864,3.5023 3.09058864,3.5023 Z M9.64628553,2.1259328 L10.1768392,2.1518833 C12.0384466,2.24376331 13.8905886,2.3433 13.8905886,2.3433 C13.8905886,2.3433 14.9329353,2.32501022 16.1081043,2.32257917 L16.5532422,2.3224776 C17.4488646,2.324028 18.3552486,2.3369 18.8886886,2.3755 C21.4526886,2.5977 21.5158886,3.5164 21.5912886,4.6125 C21.6030886,4.7845 21.6152886,4.961 21.6373886,5.1398 C21.9095886,7.2612 22.1000886,10.0539 22.1000886,11.6611 C22.1000886,13.3004 22.0455886,16.8475 21.8550886,17.1368 C21.5829886,17.5546 21.1202886,18.1332 19.2152886,17.9725 C17.6998682,17.8446705 12.1204343,17.7371521 9.42192765,17.7308792 L8.98884368,17.7308107 C8.51952759,17.7319232 8.18132273,17.7372705 8.02978864,17.7475 C7.07728864,17.8118 5.96148864,17.6832 5.77098864,16.6225 C5.59157436,15.7043114 5.54883909,13.3622799 5.55729131,10.9215563 L5.56156224,10.1490664 C5.57503264,8.346148 5.61140864,6.56538 5.63648864,5.3369 C5.65128864,4.6144 5.66208864,4.0829 5.66208864,3.8503 C5.66208864,3.8379 5.66168864,3.8195 5.66108864,3.796 C5.65298864,3.4518 5.61858864,2 6.52938864,2 C6.92865018,2 8.23927845,2.05778093 9.64628553,2.1259328 Z M11.3320886,7.1395 C11.2964676,8.08526842 11.2908432,10.6840452 11.2899552,12.1518162 L11.2897886,12.8398 L11.2897886,12.8398 C11.2897886,13.0093 11.4589886,13.1153 11.6069886,13.0305 C12.5794886,12.4795 15.4969886,10.7842 16.3214886,9.7035 C16.4060886,9.5975 16.3637886,9.4492 16.2580886,9.3856 L11.6491886,6.97 C11.5011886,6.8852 11.3320886,6.9912 11.3320886,7.1395 Z",fill:"currentColor"})});i();var gf=require("react/jsx-runtime"),k7=({...e})=>(0,gf.jsx)("svg",{...e,children:(0,gf.jsx)("path",{d:"M8.15146499,20.5455992 L0.351457374,12.7455915 C-0.117152458,12.2769817 -0.117152458,11.5171841 0.351457374,11.0485274 L2.04847466,9.35146323 C2.51708449,8.88280653 3.27692898,8.88280653 3.74553881,9.35146323 L9,14.6058746 L20.2544612,3.35145737 C20.723071,2.88284754 21.4829155,2.88284754 21.9515253,3.35145737 L23.6485426,5.04852153 C24.1171525,5.51713136 24.1171525,6.27692898 23.6485426,6.74558569 L9.84852915,20.545646 C9.37987244,21.0142559 8.62007482,21.0142559 8.15146499,20.5455992 L8.15146499,20.5455992 Z",fill:"currentColor"})});i();var vf=require("react/jsx-runtime"),N7=({...e})=>(0,vf.jsx)("svg",{...e,children:(0,vf.jsx)("path",{clipRule:"evenodd",d:"M21.8158 14.5648C24.914 3.61651 12.9934 -0.853411 6.41834 3.71292C1.76446 6.94504 -0.254989 13.9595 3.25939 18.0532C6.77378 22.1468 18.7175 25.513 21.8158 14.5648ZM17.7151 8.699C18.1012 8.30404 18.0939 7.67092 17.699 7.28487C17.304 6.89883 16.6709 6.90605 16.2849 7.301L10.1579 13.5694L7.71513 11.0702C7.32908 10.6753 6.69596 10.6681 6.301 11.0541C5.90605 11.4402 5.89883 12.0733 6.28488 12.4682L9.44277 15.699C9.63092 15.8915 9.88873 16 10.1579 16C10.4271 16 10.6849 15.8915 10.873 15.699L17.7151 8.699Z",fill:"currentColor",fillRule:"evenodd"})});i();var bf=require("react/jsx-runtime"),$7=({...e})=>(0,bf.jsx)("svg",{...e,children:(0,bf.jsx)("path",{d:"M18.643128,20.7643515 C19.228878,21.3502515 20.178678,21.3502515 20.764428,20.7643515 C21.350178,20.1786015 21.350178,19.2288015 20.764428,18.6430515 L14.121378,12.0000015 L20.764428,5.3569065 C21.350178,4.7711115 21.350178,3.8213715 20.764428,3.2355765 C20.178678,2.6497965 19.228878,2.6497965 18.643128,3.2355765 L12.000018,9.8786715 L5.356893,3.2355465 C4.771098,2.6497515 3.821358,2.6497515 3.235563,3.2355465 C2.649783,3.8213265 2.649783,4.7710815 3.235563,5.3568615 L9.878703,12.0000015 L3.235578,18.6430515 C2.649783,19.2289515 2.649783,20.1786015 3.235578,20.7645015 C3.821358,21.3502515 4.771113,21.3502515 5.356893,20.7645015 L12.000018,14.1213165 L18.643128,20.7643515 Z",fill:"currentColor"})});i();var Cf=require("react/jsx-runtime"),Z7=({...e})=>(0,Cf.jsx)("svg",{...e,children:(0,Cf.jsx)("path",{d:"M14.6037711,3.14263542 C14.9618711,3.31048542 15.2776711,3.45849542 15.5410711,3.55311542 L15.5592711,3.55965542 C16.7729711,3.99564542 20.8389711,5.45621542 21.4829711,7.92883542 C22.0342711,10.0458854 21.0901711,12.1085854 20.1394711,14.1855854 C19.9741711,14.5467854 19.8086711,14.9084854 19.6507711,15.2708854 C19.6134711,15.3564854 19.5764711,15.4415854 19.5395711,15.5262854 C18.0997711,18.8338854 16.9837711,21.3975854 14.9636711,21.9098854 C12.8917711,22.4353854 9.89437112,21.1774854 7.38953112,19.9919854 C7.33942112,19.9675854 7.28884112,19.9428854 7.23785112,19.9180854 C5.28153112,18.9655854 2.71463112,17.7157854 2.12501112,15.7124854 C1.52002112,13.6568854 3.24993112,9.67638542 4.33680112,7.77435542 C4.53878112,7.42088542 4.72983112,7.04847542 4.92429112,6.66940542 C5.77620112,5.00874542 6.69357112,3.22048542 8.88276112,2.33840542 C11.0363711,1.47065542 13.1627711,2.46726542 14.6037711,3.14263542 Z M12.4162711,5.28299542 C11.9224711,5.03580542 11.3216711,5.23576542 11.0744711,5.72963542 L11.0744711,5.72963542 L10.4321711,7.01273542 L9.14553112,6.36874542 C8.65165112,6.12155542 8.05088112,6.32152542 7.80366112,6.81538542 C7.55644112,7.30925542 7.75639112,7.90999542 8.25027112,8.15719542 L8.25027112,8.15719542 L9.53690112,8.80117542 L8.05799112,11.7555854 L6.64150112,11.0465854 C6.14763112,10.7993854 5.54686112,10.9993854 5.29964112,11.4931854 C5.05242112,11.9870854 5.25237112,12.5877854 5.74625112,12.8349854 L5.74625112,12.8349854 L7.16273112,13.5439854 L6.39654112,15.0745854 C6.14932112,15.5684854 6.34927112,16.1692854 6.84314112,16.4163854 C7.33702112,16.6635854 7.93779112,16.4636854 8.18501112,15.9697854 L8.18501112,15.9697854 L8.95121112,14.4391854 L11.8876711,15.9089854 L11.1389711,17.4044854 C10.8917711,17.8983854 11.0917711,18.4991854 11.5856711,18.7463854 C12.0794711,18.9934854 12.6802711,18.7935854 12.9274711,18.2996854 L12.9274711,18.2996854 L13.6761711,16.8040854 L15.0919711,17.5127854 C15.5858711,17.7599854 16.1866711,17.5599854 16.4338711,17.0660854 C16.6810711,16.5722854 16.4811711,15.9714854 15.9872711,15.7242854 L15.9872711,15.7242854 L14.5713711,15.0156854 L16.0502711,12.0612854 L17.5959711,12.8348854 C18.0898711,13.0820854 18.6906711,12.8821854 18.9378711,12.3882854 C19.1850711,11.8943854 18.9851711,11.2936854 18.4912711,11.0464854 L18.4912711,11.0464854 L16.9455711,10.2727854 L17.6053711,8.95470542 C17.8526711,8.46083542 17.6526711,7.86009542 17.1587711,7.61289542 C16.6649711,7.36570542 16.0641711,7.56567542 15.8169711,8.05953542 L15.8169711,8.05953542 L15.1570711,9.37766542 L12.2206711,7.90790542 L12.8629711,6.62480542 C13.1101711,6.13093542 12.9101711,5.53018542 12.4162711,5.28299542 Z M14.2618711,11.1660854 L12.7829711,14.1204854 L9.84647112,12.6506854 L11.3253711,9.69634542 L14.2618711,11.1660854 Z",fill:"currentColor"})});i();var yf=require("react/jsx-runtime"),H7=({...e})=>(0,yf.jsx)("svg",{...e,children:(0,yf.jsx)("path",{d:"M2,7.13052714 C3.02794,7.88514714 4.30848,8.95189714 5.61006,10.0361971 C5.61006,10.0361971 10.67432,13.9990971 11.42572,13.9990971 C13.28062,13.9990971 15.22492,12.1844971 16.59352,11.1244971 C17.91112,10.1039971 19.34022,8.91167714 20.65602,7.81394714 C20.82112,7.67620714 20.98452,7.53986714 21.14552,7.40563714 C21.14442,7.63562714 21.14902,7.85282714 21.17702,8.04694714 C21.57172,10.6866971 21.60962,16.2212971 21.17702,19.1438971 C20.86252,19.5582971 20.32772,20.1320971 18.12572,19.9726971 C15.92372,19.8132971 6.29792,19.6857971 5.19693,19.7495971 C4.09593,19.8132971 2.8062,19.6857971 2.586,18.6337971 C2.18336,16.8655971 2.0349,9.89132714 2,7.13052714 Z M18.43112,4.13116714 C19.71232,4.22645714 20.39302,4.61473714 20.75312,5.13193714 C20.29572,5.50950714 19.81932,5.90699714 19.33242,6.31331714 C18.03352,7.39711714 16.65922,8.54387714 15.36882,9.54330714 C14.40332,10.2911971 13.51712,10.9305971 12.77922,11.3786971 C12.41012,11.6028971 12.09772,11.7670971 11.84502,11.8725971 C11.60832,11.9714971 11.48182,12.0083971 11.25332,11.8809971 C11.02272,11.7523971 10.72112,11.5526971 10.35352,11.2851971 C9.62102,10.7520971 8.71424,10.0143971 7.73611,9.20317714 C7.4662,8.97932714 7.19007,8.74913714 6.91081,8.51631714 C6.694238,8.33576914 6.47576573,8.15363678 6.25682609,7.97165734 L5.60003791,7.42791502 C4.3986096,6.4382651 3.226388,5.50579314 2.32177,4.91953714 C2.55015,4.49334714 2.91372,4.13121714 3.46268,4.13122714 C5.03799,4.13124714 6.6817,4.09931714 8.34768,4.06694714 C11.74672,4.00090714 15.23842,3.93306714 18.43112,4.13116714 Z",fill:"currentColor"})});i();var Df=require("react/jsx-runtime"),z7=({...e})=>(0,Df.jsx)("svg",{...e,children:(0,Df.jsx)("path",{d:"M22.5857862,1.29289322 C22.9462701,1.65337718 22.9739997,2.22060824 22.6689748,2.61289944 L22.5857862,2.70710678 L2.70710678,22.5857862 C2.31658249,22.9763105 1.68341751,22.9763105 1.29289322,22.5857862 C0.932409257,22.2253022 0.904679722,21.6580712 1.20970461,21.2657799 L1.29289322,21.1715726 L21.1715726,1.29289322 C21.5620969,0.902368927 22.1952619,0.902368927 22.5857862,1.29289322 Z M16.656,10.05 L16.656228,19.5000015 C16.656228,20.3284515 15.984678,21.0000015 15.156228,21.0000015 L15.156228,21.0000015 L5.706,21 L16.656,10.05 Z M13.551,7.499 L3.156,17.894 L3.156288,8.9999865 C3.156288,8.22029709 3.75116911,7.57953861 4.51182676,7.50685315 L4.656288,7.4999865 L13.551,7.499 Z M20.9100713,5.79742045 C20.917623,5.88422164 20.921478,5.97208141 20.921478,6.0608415 L20.921478,6.0608415 L20.921478,15.8985015 C20.921478,16.7268015 20.249928,17.3985015 19.421478,17.3985015 C18.593028,17.3985015 17.921478,16.7268015 17.921478,15.8985015 L17.921478,15.8985015 L17.921,8.785 Z M17.921478,3.0608415 C17.9440028,3.0608415 17.9664697,3.06108977 17.988876,3.06158373 L14.99,6.06 L8.142438,6.0608415 C7.36274859,6.0608415 6.72199011,5.46594711 6.64930465,4.7053004 L6.642438,4.5608415 C6.642438,3.7324065 7.314018,3.0608415 8.142438,3.0608415 L8.142438,3.0608415 Z",fill:"currentColor"})});i();var xf=require("react/jsx-runtime"),V7=({...e})=>(0,xf.jsx)("svg",{...e,children:(0,xf.jsx)("path",{d:"M12 0c1.105 0 2 .895 2 2v8h8c1.105 0 2 .895 2 2s-.895 2-2 2h-8v8c0 1.105-.895 2-2 2s-2-.895-2-2v-8.001L2 14c-1.105 0-2-.895-2-2s.895-2 2-2l8-.001V2c0-1.105.895-2 2-2z",fill:"currentColor"})});i();var Ef=require("react/jsx-runtime"),j7=({...e})=>(0,Ef.jsx)("svg",{...e,children:(0,Ef.jsx)("path",{d:"M6.665 12h3.836c.828 0 1.5.672 1.5 1.5v3.212l4.95-6.212H13.5c-.498 0-.963-.248-1.242-.659-.28-.412-.336-.935-.152-1.399L14.29 3H8.446l-1.78 9zm3.836 12c-.125 0-.25-.015-.377-.048-.663-.171-1.123-.768-1.123-1.452V15H4.5c-.492 0-.953-.242-1.235-.645-.279-.405-.343-.921-.17-1.382L6 .973C6.22.39 6.779 0 7.405 0h9.099c.498 0 .963.247 1.242.658.279.413.336.936.151 1.4L15.715 7.5H19.5c.53 0 1.023.28 1.293.74.27.457.276 1.024.018 1.489l-9 13.5c-.27.485-.777.771-1.311.771z",fill:"currentColor"})});i();var wf=require("react/jsx-runtime"),W7=({...e})=>(0,wf.jsx)("svg",{...e,children:(0,wf.jsx)("path",{d:"M14.903952,2.36857 C15.584752,2.54871 15.967652,4.26184 16.236552,5.487 C17.299152,5.51003 18.416752,5.55675 19.601752,5.63826 C20.152652,5.67616 20.568652,6.15354 20.530752,6.70452 C20.492852,7.25551 20.015452,7.67144 19.464452,7.63354 C16.207152,7.40949 13.468352,7.4553 10.933652,7.52994 C10.586252,7.54017 10.241852,7.55098 9.899852,7.56172 C7.758252,7.62898 5.712072,7.69325 3.618192,7.59161 C3.066562,7.56483 2.641082,7.09593 2.667852,6.5443 C2.694632,5.99266 3.163532,5.56718 3.715162,5.59396 C4.757282,5.64454 5.786062,5.65236 6.834752,5.63878 C6.924362,4.69385 7.673772,2.97833 8.332232,2.36857 C9.061402,1.69332 13.895552,2.10177 14.903952,2.36857 Z M6.364292,21.3077 C5.980182,19.517 4.928162,12.5353 4.756452,11.1965 C4.744062,11.0998 4.731222,11.0078 4.718992,10.9201 C4.561692,9.79247 4.503832,9.3777 6.769222,9.07226 C9.482152,8.70647 16.095052,8.61504 18.665252,9.38319 C19.198852,9.54214 19.203952,9.79779 19.214852,10.3422 C19.216552,10.4242 19.218352,10.5128 19.222052,10.6086 C19.222052,13.4444 18.528852,16.4417 17.866652,19.3049 L17.866552,19.305 L17.866552,19.305 L17.866552,19.305 L17.866552,19.3051 C17.710152,19.9814 17.555452,20.6502 17.412052,21.3077 C17.283552,21.9296 16.355452,21.9478 15.570052,21.8564 C14.784752,21.7649 10.133852,21.5638 8.577452,21.5638 C7.021102,21.5638 6.592742,21.5638 6.364292,21.3077 Z M15.343152,12.0831 C15.313352,11.5316 14.842152,11.1087 14.290652,11.1385 C13.739152,11.1683 13.316252,11.6395 13.346052,12.191 C13.376952,12.7621 13.319052,13.7773 13.223052,14.9625 C13.168652,15.6346 13.106452,16.3121 13.046752,16.9638 L13.046652,16.9643 C13.000752,17.4651 12.956252,17.9506 12.917652,18.4065 C12.871152,18.9569 13.279552,19.4407 13.829852,19.4872 C14.380152,19.5338 14.864052,19.1254 14.910552,18.575 C14.945652,18.1598 14.989452,17.6811 15.035452,17.1788 L15.035452,17.1783 L15.035652,17.1771 L15.035652,17.1769 L15.035652,17.1767 L15.035652,17.1761 L15.035752,17.1756 C15.097352,16.5022 15.162852,15.7864 15.216552,15.124 C15.310552,13.9629 15.382552,12.812 15.343152,12.0831 Z M9.778552,19.4924 C10.328752,19.5403 10.813552,19.133 10.861452,18.5828 C10.924652,17.8556 10.890552,16.703 10.834552,15.5394 C10.802652,14.8751 10.760652,14.1571 10.721052,13.4816 L10.721052,13.481 C10.691552,12.977 10.663452,12.4966 10.641952,12.0802 C10.613452,11.5286 10.143252,11.1046 9.591752,11.133 C9.040192,11.1615 8.616132,11.6317 8.644592,12.1832 C8.668172,12.6403 8.696762,13.1272 8.726262,13.6294 L8.726282,13.6297 L8.726302,13.6301 C8.764652,14.2831 8.804532,14.9622 8.836892,15.6354 C8.893992,16.8232 8.918522,17.8396 8.868952,18.4095 C8.821092,18.9597 9.228352,19.4445 9.778552,19.4924 Z",fill:"currentColor"})});i();var Sf=require("react/jsx-runtime"),U7=({...e})=>(0,Sf.jsx)("svg",{...e,children:(0,Sf.jsx)("path",{d:"M8.84509647,4.78040941 C9.08423529,4.30211765 9.57307294,4 10.1078071,4 L14.0098118,4 C14.5445882,4 15.0333412,4.30211765 15.2724941,4.78040941 L16.2940471,6.82352941 L17.7058118,6.82352941 C18.4855294,6.82352941 19.1175765,7.45559059 19.1175765,8.23529412 C19.1175765,9.01498353 18.4855294,9.64705882 17.7058118,9.64705882 L6.41176471,9.64705882 C5.63206118,9.64705882 5,9.01498353 5,8.23529412 C5,7.45559059 5.63206118,6.82352941 6.41176471,6.82352941 L7.82352941,6.82352941 L8.84509647,4.78040941 Z M6.41176471,12.4705882 C6.41176471,11.6908847 7.04382588,11.0588235 7.82352941,11.0588235 L16.2940471,11.0588235 C17.0737647,11.0588235 17.7058118,11.6908847 17.7058118,12.4705882 L17.7058118,19.5294118 C17.7058118,20.3091294 17.0737647,20.9411765 16.2940471,20.9411765 L7.82352941,20.9411765 C7.04382588,20.9411765 6.41176471,20.3091294 6.41176471,19.5294118 L6.41176471,12.4705882 Z",fill:"currentColor"})});i();var Tf=require("react/jsx-runtime"),_7=({...e})=>(0,Tf.jsx)("svg",{...e,children:(0,Tf.jsx)("path",{d:"M8.999988,4.5000015 C8.999988,3.6715665 9.671568,3.0000015 10.499988,3.0000015 L13.499988,3.0000015 C14.328378,3.0000015 14.999928,3.6715665 14.999928,4.5000015 L14.999928,9.0000015 L17.002128,9.0000015 C18.387828,9.0000015 19.032528,10.7182665 17.988678,11.6298015 L12.986688,15.9982515 C12.421488,16.4917515 11.578503,16.4917515 11.013318,15.9982515 L6.011253,11.6298015 C4.967508,10.7182665 5.612178,9.0000015 6.997938,9.0000015 L8.999988,9.0000015 L8.999988,4.5000015 Z M4.500003,18.0000015 C3.671568,18.0000015 3.000003,18.6715515 3.000003,19.5000015 C3.000003,20.3284515 3.671568,21.0000015 4.500003,21.0000015 L19.499928,21.0000015 C20.328378,21.0000015 20.999928,20.3284515 20.999928,19.5000015 C20.999928,18.6715515 20.328378,18.0000015 19.499928,18.0000015 L4.500003,18.0000015 Z",fill:"currentColor"})});i();var Af=require("react/jsx-runtime"),K7=({...e})=>(0,Af.jsx)("svg",{...e,children:(0,Af.jsx)("path",{d:"M6.750003,12.0000015 C6.750003,13.2426465 5.742648,14.2500015 4.500003,14.2500015 C3.257358,14.2500015 2.250003,13.2426465 2.250003,12.0000015 C2.250003,10.7573565 3.257358,9.7500015 4.500003,9.7500015 C5.742648,9.7500015 6.750003,10.7573565 6.750003,12.0000015 Z M14.249928,12.0000015 C14.249928,13.2426465 13.242648,14.2500015 12.000003,14.2500015 C10.757358,14.2500015 9.750003,13.2426465 9.750003,12.0000015 C9.750003,10.7573565 10.757358,9.7500015 12.000003,9.7500015 C13.242648,9.7500015 14.249928,10.7573565 14.249928,12.0000015 Z M19.499928,14.2500015 C20.742678,14.2500015 21.749928,13.2426465 21.749928,12.0000015 C21.749928,10.7573565 20.742678,9.7500015 19.499928,9.7500015 C18.257328,9.7500015 17.249928,10.7573565 17.249928,12.0000015 C17.249928,13.2426465 18.257328,14.2500015 19.499928,14.2500015 Z",fill:"currentColor"})});i();var Bf=require("react/jsx-runtime"),G7=({...e})=>(0,Bf.jsx)("svg",{...e,children:(0,Bf.jsx)("path",{d:"M13.514 0c.07 0 .144.005.216.017.81.12 1.373.894 1.254 1.718l-3.029 20.97c-.108.751-.747 1.295-1.47 1.295-.071 0-.143-.006-.216-.017-.808-.12-1.372-.894-1.253-1.718l3.027-20.972C12.151.543 12.792 0 13.513 0zM5.55 6c.372 0 .744.152 1.026.458.564.61.564 1.607 0 2.217L3.5 12l3.077 3.325c.564.61.564 1.609 0 2.219-.282.304-.654.456-1.026.456-.371 0-.744-.152-1.025-.456L.423 13.108c-.564-.61-.564-1.607 0-2.216l4.103-4.434C4.807 6.152 5.18 6 5.55 6zM18.45 6c.371 0 .744.152 1.025.458l4.103 4.434c.564.61.564 1.607 0 2.216l-4.103 4.436c-.281.304-.654.456-1.025.456-.372 0-.744-.152-1.026-.456-.564-.61-.564-1.609 0-2.217L20.5 12l-3.077-3.325c-.564-.61-.564-1.607 0-2.217.282-.306.654-.458 1.026-.458z",fill:"currentColor"})});i();var Ff=require("react/jsx-runtime"),q7=({...e})=>(0,Ff.jsx)("svg",{...e,children:(0,Ff.jsx)("path",{d:"M1.412 6.647c.78 0 1.412.633 1.412 1.412v12.706H16.94c.78 0 1.412.632 1.412 1.411 0 .78-.633 1.412-1.412 1.412H1.411C.633 23.588 0 22.956 0 22.176V8.06c0-.78.632-1.412 1.412-1.412zM22.588 1C23.368 1 24 1.632 24 2.412v14.117c0 .78-.632 1.412-1.412 1.412H7.058c-.778 0-1.41-.632-1.41-1.412V2.412c0-.78.632-1.412 1.41-1.412h15.53zm-1.412 2.824H8.471v11.294h12.705V3.824zm-8.755 2.531c.252-.142.77-.138 1.019.01l4.02 2.416c.24.145.383.406.383.69 0 .282-.162.544-.403.689l-4.052 2.415c-.127.077-.324.115-.466.115-.137 0-.378-.034-.501-.105-.253-.142-.617-.409-.617-.7v-4.83c0-.289.364-.557.617-.7z",fill:"currentColor"})});i();var Mf=require("react/jsx-runtime"),X7=({...e})=>(0,Mf.jsx)("svg",{...e,children:(0,Mf.jsx)("path",{clipRule:"evenodd",d:"M13.098 3.44a1.5 1.5 0 00-2.121 0L7.208 7.207A1.5 1.5 0 009.33 9.33l2.709-2.709 2.708 2.709a1.5 1.5 0 102.121-2.122L13.098 3.44zM7.144 16.855l3.833 3.833a1.5 1.5 0 002.121 0l3.833-3.833a1.5 1.5 0 10-2.121-2.122l-2.772 2.773-2.773-2.773a1.5 1.5 0 10-2.12 2.122z",fill:"currentColor",fillRule:"evenodd"})});i();var Of=require("react/jsx-runtime"),Y7=({...e})=>(0,Of.jsx)("svg",{...e,children:(0,Of.jsx)("path",{d:"M16.2741958,7.67441617 C24.9693958,8.78934617 24.7085958,7.77567617 18.4971958,14.2758962 C18.2606958,14.5156962 18.1647958,14.8887962 18.2573958,15.2087962 C18.7205958,16.9880962 20.1651958,22.7284962 19.6338958,22.9600962 C18.8281958,23.3343962 14.9807958,20.9721962 13.3931958,20.1011962 C12.9988958,19.9022962 12.5565958,19.8899962 12.1656958,20.0753962 C11.0206958,20.6531962 8.92252577,21.4215962 6.75933577,22.7894962 C6.35480577,23.0538962 5.55934577,22.9648962 5.45634577,22.2102962 C5.35333577,21.4557962 6.59701577,16.9385962 6.09266577,15.2165962 C5.64321577,13.7174962 3.58582577,12.6328962 1.32252577,10.5778962 C0.73612577,10.0478962 0.98620577,9.01091617 1.77476577,8.87001617 L2.68675577,8.73672617 C4.50385577,8.41984617 7.08895577,7.99071617 8.14150577,7.81123617 C8.45350577,7.76563617 8.69346577,7.55099617 8.82368577,7.24977617 C12.5351958,-1.06559883 11.5305958,-1.07269583 15.5437958,7.16548617 C15.7049958,7.44976617 15.9518958,7.64455617 16.2741958,7.67441617 Z",fill:"currentColor"})});i();var Pf=require("react/jsx-runtime"),J7=({...e})=>(0,Pf.jsx)("svg",{...e,children:(0,Pf.jsx)("path",{clipRule:"evenodd",d:"M13.3932 20.1012C13.6603 20.2477 13.9914 20.4365 14.3612 20.6473C15.3729 21.2242 16.6744 21.9662 17.7486 22.4612C17.7509 22.4622 17.7531 22.4632 17.7553 22.4642C18.6193 22.8618 19.3354 23.0988 19.6339 22.9601C20.1652 22.7285 18.7206 16.9881 18.2574 15.2088C18.1648 14.8888 18.2607 14.5157 18.4972 14.2759C21.6076 11.0209 23.2258 9.65005 22.9746 8.95254C22.7241 8.25712 20.6153 8.23105 16.2742 7.67442C15.9519 7.64456 15.705 7.44977 15.5438 7.16549C13.5365 3.04496 12.7845 0.98719 12.0699 1.00006C11.3557 1.01293 10.6788 3.09354 8.82369 7.24978C8.69346 7.551 8.4535 7.76564 8.14151 7.81124C7.80349 7.86888 7.30741 7.95227 6.72948 8.04941C5.50779 8.25477 3.92031 8.52161 2.68675 8.73673L1.77476 8.87002C0.986207 9.01092 0.736125 10.0479 1.32253 10.5779C2.05437 11.2424 2.76469 11.8054 3.40607 12.3138C4.74823 13.3776 5.78855 14.2022 6.09267 15.2166C6.41995 16.3341 6.01115 18.6285 5.71191 20.308C5.55001 21.2167 5.42018 21.9454 5.45634 22.2103C5.55935 22.9649 6.35481 23.0539 6.75933 22.7895C8.2938 21.8192 9.79554 21.1505 10.9476 20.6375C11.4196 20.4273 11.8329 20.2433 12.1657 20.0754C12.5566 19.89 12.9989 19.9023 13.3932 20.1012ZM4.31949 10.4849C4.39975 10.5486 4.47976 10.6118 4.55976 10.675C4.92372 10.9626 5.2874 11.2501 5.67262 11.573C6.51944 12.2828 7.59511 13.2636 8.00843 14.6423L8.01208 14.6545L8.01204 14.6545C8.24181 15.439 8.2342 16.3388 8.18731 17.0596C8.13696 17.8337 8.0198 18.6581 7.89886 19.3987C7.87216 19.5621 7.84352 19.7314 7.81427 19.901C8.76489 19.4169 9.65045 19.0222 10.3224 18.7226C10.7229 18.5441 11.0475 18.3994 11.2647 18.2898L11.2865 18.2788L11.3086 18.2683C12.2857 17.8049 13.377 17.853 14.2939 18.3155L14.3248 18.3311L14.3552 18.3478C14.6755 18.5235 15.0347 18.7285 15.4204 18.9486C16.0152 19.288 16.6733 19.6636 17.3505 20.0242C17.0114 18.4105 16.5556 16.6108 16.3268 15.7312C16.048 14.7221 16.3398 13.6257 17.0591 12.886C17.8152 12.0948 18.4519 11.4459 18.9924 10.8951C19.2777 10.6043 19.5361 10.3409 19.7711 10.0984C19.4887 10.0653 19.1848 10.0313 18.8544 9.99422C18.0837 9.90784 17.1688 9.80528 16.0456 9.66148C14.952 9.544 14.2043 8.85788 13.804 8.15203L13.7732 8.09761L13.7458 8.04137C13.2461 7.01559 12.8434 6.15998 12.5022 5.43497C12.3709 5.15615 12.2488 4.89665 12.1337 4.65421C12.0327 4.88738 11.9259 5.13598 11.8116 5.40209C11.4954 6.13827 11.1215 7.00851 10.6536 8.05703C10.3063 8.84954 9.5681 9.61226 8.46059 9.7857C8.11513 9.84457 7.62009 9.92778 7.04742 10.024C6.22691 10.162 5.24704 10.3267 4.31949 10.4849ZM13.1326 2.58363C13.1731 2.52869 13.173 2.54051 13.1316 2.58503C13.1319 2.58456 13.1323 2.58409 13.1326 2.58363ZM11.0651 2.62152C11.0216 2.57798 11.0211 2.56602 11.0642 2.62047C11.0645 2.62081 11.0648 2.62116 11.0651 2.62152ZM21.752 10.4184C21.7977 10.4351 21.7906 10.4371 21.7509 10.418C21.7513 10.4182 21.7516 10.4183 21.752 10.4184ZM21.099 8.59918C21.1088 8.57794 21.1156 8.56662 21.1165 8.56626C21.1174 8.56591 21.1125 8.57653 21.099 8.59918Z",fill:"currentColor",fillRule:"evenodd"})});i();var Rf=require("react/jsx-runtime"),Q7=({...e})=>(0,Rf.jsx)("svg",{...e,children:(0,Rf.jsx)("path",{d:"M22.483 5.884a1.073 1.073 0 1 0 .133-2.143c-4.52-.28-8.31-.257-11.764-.2l-1.413.023c-2.904.05-5.576.098-8.317-.03a1.073 1.073 0 1 0-.097 2.146c2.812.13 5.56.081 8.46.03l1.402-.024c3.435-.055 7.161-.077 11.596.198zm-2.687 5.182a1.073 1.073 0 1 0 .15-2.142c-3.414-.243-6.279-.185-8.877-.1l-1.063.038c-2.182.076-4.167.147-6.201.045a1.073 1.073 0 0 0-.106 2.146c2.132.103 4.216.03 6.393-.045.347-.014.696-.025 1.048-.037 2.575-.085 5.352-.14 8.656.093v.002zm-1.949 3.774a1.073 1.073 0 0 1-.996 1.145c-3.488.244-5.844.23-8.187.216-.6-.005-1.198-.008-1.815-.008a1.073 1.073 0 1 1-.003-2.146c.637 0 1.248.003 1.855.006 2.333.014 4.6.028 7.999-.21a1.074 1.074 0 0 1 1.146.997h.001zm-4.4 5.876a1.073 1.073 0 0 0 .263-2.13 11.518 11.518 0 0 0-2.291-.04l-.226.014c-.523.037-.918.064-1.363.024a1.073 1.073 0 1 0-.192 2.14c.626.055 1.2.014 1.713-.022l.211-.014c.576-.039 1.153-.06 1.885.03v-.002z",fill:"currentColor",fillRule:"evenodd"})});i();var Lf=require("react/jsx-runtime"),e8=({...e})=>(0,Lf.jsx)("svg",{...e,children:(0,Lf.jsx)("path",{d:"M8.68449,21.67134 L10.58286,22.02524 L10.97596,20.09794 C12.08016,20.13194 13.16866,20.01504 14.18766,19.73044 L15.26206,21.49434 L16.91976,20.58404 C17.56146,20.25534 18.17646,19.82554 18.71126,19.34514 L20.10156,18.10624 L18.60876,16.60894 C19.13396,15.81684 19.53856,14.87944 19.78866,13.78614 L21.86626,13.90894 L21.99996,12.11374 C22.02676,11.78514 22.02676,11.43114 22.02676,11.10244 L22.02676,11.10244 L22.02676,10.87484 L22.02676,10.87474 C22.02676,10.62194 22.02676,10.41974 21.99996,10.19214 L21.86626,8.37168 L19.75416,8.49651 C19.44406,7.39497 18.92386,6.52089 18.25696,5.84846 L19.29946,3.92162 L17.58826,3.08723 C16.91976,2.78382 16.19786,2.53097 15.42246,2.37926 L13.55076,2 L13.09526,4.02482 C12.02136,4.04783 10.92176,4.24489 9.87475,4.58403 L8.89839,2.85967 L7.2139,3.71934 C6.59893,4.02275 6.01069,4.40202 5.4492,4.80657 L3.92513,5.96966 L5.39131,7.69505 C4.91927,8.48038 4.53563,9.4443 4.27964,10.48254 L2.2139,10.31854 L2.05348,12.13904 C2.02674,12.54364 2,12.94814 2,13.32744 C2,13.58024 2,13.83314 2.02674,14.08594 L2.13369,15.90644 L4.23749,15.78214 C4.51728,16.79744 4.99657,17.71074 5.7167,18.41214 L4.83422,20.48294 L6.59893,21.14034 C6.64549,21.15684 6.69078,21.17334 6.73536,21.18964 C6.89558,21.24804 7.04656,21.30304 7.2139,21.34264 C7.69519,21.46904 8.20321,21.59544 8.68449,21.67134 Z M9.29948,9.10493 C11.59896,7.38559 16.03746,7.28445 16.09096,11.45634 C16.14436,15.62834 12.74866,16.71554 9.86098,15.88114 C6.97328,15.04674 7.72194,10.26804 9.29948,9.10493 Z",fill:"currentColor"})});i();var If=require("react/jsx-runtime"),t8=({...e})=>(0,If.jsx)("svg",{...e,children:(0,If.jsx)("path",{d:"M4.21852839,3.07901351 C4.26213839,2.52845351 3.85116839,2.04678351 3.30060839,2.00317351 C2.75004839,1.95956351 2.26837839,2.37052351 2.22476839,2.92108351 C1.81564839,8.08615351 2.05683839,13.4611035 2.23045839,17.3302035 C2.30104839,18.9032035 2.36045839,20.2274035 2.36046839,21.1872035 C2.36046839,21.7395035 2.80817839,22.1872035 3.36046839,22.1872035 C3.91274839,22.1872035 4.36046839,21.7395035 4.36046839,21.1872035 C4.36046839,20.0953035 4.29638839,18.6766035 4.22207839,17.0312035 C4.04865839,13.1914035 3.81947839,8.11690351 4.21852839,3.07901351 Z M14.1819084,15.9478035 C11.9296084,16.1051035 8.84543839,16.1950035 7.20189839,15.7906035 C6.22794839,15.5434035 6.14678839,15.0491035 6.00474839,10.3980035 L6.00197839,10.3071035 C5.86219839,5.73046351 5.82412839,4.48394351 6.12649839,3.76963351 C6.47143839,2.91581351 7.68886839,2.69112351 9.10921839,2.46643351 C10.3875084,2.26421351 20.6992084,1.57001351 21.7880084,2.46643351 C22.3582084,2.93596351 21.0491084,3.90133351 19.3628084,5.14495351 C17.8295084,6.27566351 15.9843084,7.63640351 14.9562084,9.06360351 C16.3521084,10.4243035 18.0150084,11.5122035 19.3759084,12.4026035 C21.2564084,13.6329035 22.5605084,14.4861035 21.7880084,15.1607035 C21.0876084,15.7723035 19.0834084,15.8075035 16.9748084,15.8446035 C16.0287084,15.8612035 15.0616084,15.8782035 14.1819084,15.9478035 Z",fill:"currentColor"})});i();var kf=require("react/jsx-runtime"),r8=({...e})=>(0,kf.jsx)("svg",{...e,children:(0,kf.jsx)("path",{clipRule:"evenodd",d:"M15.1205 10.3799C14.2921 10.3799 13.6205 9.70832 13.6205 8.8799V1.5C13.6205 0.671574 14.2921 0 15.1205 0H22.5C23.3284 0 24 0.671572 24 1.5V8.8799C24 9.70832 23.3284 10.3799 22.5 10.3799H15.1205ZM0 22.4998C0 23.3283 0.671574 23.9998 1.5 23.9998H8.87947C9.70789 23.9998 10.3795 23.3283 10.3795 22.4998V15.12C10.3795 14.2916 9.70789 13.62 8.87947 13.62H1.5C0.671572 13.62 0 14.2916 0 15.12V22.4998ZM13.6205 22.4998C13.6205 23.3283 14.2921 23.9998 15.1205 23.9998H22.5C23.3284 23.9998 24 23.3283 24 22.4998V15.12C24 14.2916 23.3284 13.62 22.5 13.62H15.1205C14.2921 13.62 13.6205 14.2916 13.6205 15.12V22.4998ZM0 8.8799C0 9.70832 0.671574 10.3799 1.5 10.3799H8.87947C9.70789 10.3799 10.3795 9.70832 10.3795 8.8799V1.5C10.3795 0.671572 9.70789 0 8.87947 0H1.5C0.671572 0 0 0.671574 0 1.5V8.8799Z",fill:"currentColor",fillRule:"evenodd"})});i();var Nf=require("react/jsx-runtime"),n8=({...e})=>(0,Nf.jsx)("svg",{...e,children:(0,Nf.jsx)("path",{clipRule:"evenodd",d:"M22.0882 7.28569C22.0544 7.83683 21.5803 8.25319 21.0291 8.21564C17.2827 7.96043 14.1355 7.98107 11.2298 8.03231C10.8312 8.03934 10.4364 8.04697 10.0447 8.05454L10.0444 8.05455L10.0441 8.05455C7.5909 8.10199 5.25965 8.14706 2.87213 8.02658C2.32051 7.99875 1.89284 7.52893 1.91691 6.97721C1.94098 6.42549 2.40767 6.0008 2.9593 6.02864C5.27166 6.14532 7.52619 6.10189 9.98369 6.05454C10.3772 6.04696 10.776 6.03927 11.181 6.03213C14.1051 5.98058 17.3194 5.95873 21.1515 6.21978C21.7026 6.25732 22.122 6.73455 22.0882 7.28569ZM22.0882 13.0711C22.0544 13.6223 21.5803 14.0386 21.0291 14.0011C17.2827 13.7459 14.1355 13.7665 11.2298 13.8177C10.831 13.8248 10.436 13.8324 10.0441 13.84H10.0441C7.59088 13.8874 5.25964 13.9325 2.87213 13.812C2.32051 13.7842 1.89284 13.3144 1.91691 12.7627C1.94098 12.2109 2.40767 11.7862 2.9593 11.8141C5.27165 11.9308 7.52618 11.8873 9.98366 11.84H9.98367H9.98368C10.3772 11.8324 10.776 11.8247 11.181 11.8176C14.1051 11.766 17.3194 11.7442 21.1515 12.0052C21.7026 12.0428 22.122 12.52 22.0882 13.0711ZM21.1129 19.587C21.6649 19.579 22.1029 19.1247 22.0911 18.5723C22.0793 18.02 21.6222 17.5787 21.0702 17.5867C14.7929 17.6781 10.5808 17.5767 6.29905 17.4736H6.299C5.19311 17.447 4.08256 17.4203 2.93058 17.3967C2.37848 17.3854 1.92481 17.824 1.91729 18.3763C1.90976 18.9286 2.35122 19.3855 2.90332 19.3968C4.04578 19.4202 5.15042 19.4468 6.25292 19.4733H6.25296C10.5396 19.5765 14.7939 19.679 21.1129 19.587Z",fill:"#62626C",fillRule:"evenodd"})});i();var $f=require("react/jsx-runtime"),o8=({...e})=>(0,$f.jsx)("svg",{...e,children:(0,$f.jsx)("path",{d:"M12.9437622,0.628654971 C13.8333446,0.885964912 14.5958438,1.52923977 15.1041765,2.30116959 L23.4916672,17.2251462 C23.7458336,17.7397661 24,18.3830409 24,19.0263158 C24,20.9561404 22.4750017,22.5 20.5687538,22.5 L3.539606,22.5 C2.90419004,22.5 2.26877408,22.371345 1.76044131,21.9853801 C0.108359804,20.9561404 -0.527056158,18.7690058 0.489609382,17.0964912 L9.00418328,2.30116959 C9.25834967,1.78654971 9.76668244,1.27192982 10.2750152,1.01461988 C11.0375144,0.5 12.0541799,0.371345029 12.9437622,0.628654971 Z M12.3083463,3.07309942 L12.0541799,3.07309942 C11.8000135,3.07309942 11.6729303,3.07309942 11.5458471,3.20175439 L11.3552223,3.39473684 L11.3552223,3.39473684 L11.1645976,3.5877193 L2.65002365,18.5116959 C2.39585727,18.8976608 2.52294046,19.5409357 3.03127323,19.7982456 C3.13717589,19.9054581 3.33133077,19.9233268 3.46665084,19.926305 L20.5687538,19.9269006 C21.0770866,19.9269006 21.5854193,19.5409357 21.5854193,18.8976608 C21.5854193,18.7690058 21.5854193,18.5116959 21.4583361,18.3830409 L12.8166791,3.5877193 C12.6895959,3.33040936 12.5625127,3.20175439 12.3083463,3.07309942 Z M13.0708454,16.8391813 C13.5791782,17.3538012 13.5791782,18.254386 13.0708454,18.7690058 C12.6895959,19.0263158 12.3083463,19.1549708 12.0541799,19.1549708 C11.9270967,19.1549708 11.6729303,19.1549708 11.5458471,19.0263158 C11.4187639,18.8976608 11.2916807,18.8976608 11.1645976,18.7690058 C10.6901536,18.288694 10.658524,17.4721637 11.0697088,16.9470227 L11.1645976,16.8391813 L11.1645976,16.8391813 C11.6729303,16.3245614 12.5625127,16.3245614 13.0708454,16.8391813 Z M13.5791782,7.31871345 L13.5791782,7.57602339 L13.5791782,7.57602339 L13.0708454,13.622807 C13.0708454,14.5233918 12.8166791,15.2953216 12.0541799,15.2953216 C11.1645976,15.2953216 10.9104312,14.5233918 10.9104312,13.751462 L10.4020984,7.70467836 C10.4020984,6.80409357 11.0375144,6.03216374 11.9270967,5.90350877 C12.8166791,5.7748538 13.5791782,6.41812865 13.5791782,7.31871345 Z",fill:"currentColor"})});i();var Zf=require("react/jsx-runtime"),a8=({...e})=>(0,Zf.jsx)("svg",{...e,children:(0,Zf.jsx)("path",{d:"M3.81492582,6.36058598 C6.90368582,1.84180598 14.2244258,0.403929982 18.6136258,4.11578598 C24.8148258,9.35996598 23.5646258,22.215156 12.0224258,22.053856 C0.480246821,21.892456 0.726168821,10.879356 3.81492582,6.36058598 Z M4.13102582,11.104956 C3.91664582,12.462656 3.94917582,13.929656 4.34871582,15.269856 C4.73932582,16.580056 5.46398582,17.718356 6.61072582,18.550256 C7.08729582,18.895956 7.66210582,19.207056 8.35414582,19.455456 L8.35414582,19.455456 L8.57461582,16.566856 C7.12133582,15.577256 6.57298582,13.961856 6.58209582,12.390156 L6.58209582,12.390156 Z M19.6560258,8.99185598 L17.5735258,10.912956 C18.0212258,12.987156 17.4329258,15.276556 15.6417258,16.544556 L15.8229258,19.446956 C16.5009258,19.184656 17.0811258,18.850756 17.5741258,18.471456 C18.8195258,17.513256 19.6399258,16.164656 20.0336258,14.618356 C20.5008258,12.783756 20.3457258,10.768556 19.6560258,8.99185598 Z M14.4115258,9.22137598 C13.7404258,8.65068598 12.7611258,8.40994598 11.7072258,8.58246598 C10.6436258,8.75658598 9.73157582,9.31783598 9.23504582,10.040056 C8.71021582,10.803356 8.37017582,12.310856 8.73258582,13.538656 C8.89700582,14.095656 9.18933582,14.542556 9.63452582,14.867356 C10.0839858,15.195356 10.8369258,15.505856 12.0986258,15.526856 C13.2968258,15.546856 14.0708258,15.232256 14.5669258,14.852756 C15.0713258,14.466956 15.4215258,13.911956 15.5958258,13.235056 C15.9657258,11.798956 15.4736258,10.124556 14.4115258,9.22137598 Z M11.0550258,4.12454598 C10.0716858,4.28826598 9.12922582,4.60603598 8.27907582,5.05141598 L10.4473258,6.83767598 C11.0601258,6.63663598 11.7066258,6.53002598 12.3503258,6.52824598 L14.0443258,4.13247598 C13.0843258,3.95728598 12.0697258,3.95561598 11.0550258,4.12454598 Z",fill:"currentColor"})});i();var Ii=require("react/jsx-runtime"),i8=({...e})=>(0,Ii.jsxs)("svg",{...e,viewBox:"0 0 16 16",children:[(0,Ii.jsx)("path",{clipRule:"evenodd",d:"M2.859 2.942a.667.667 0 0 1 .943-.004l1.145 1.136c2.436-1.418 5.785-.596 7.702 1.189 1.21 1.126 2.061 2.148 2.016 2.786.055.77-1.185 2.042-2.56 3.125l.985.977a.667.667 0 0 1-.933.953l.003-.003-9.288-9.213-.003.003-.006-.006a.667.667 0 0 1-.004-.943ZM6.323 5.44l.976.967c.528-.128 1.134-.028 1.555.328.496.42.699 1.141.55 1.76l.97.963c.58-1.18.28-2.798-.742-3.672-.9-.77-2.288-.857-3.309-.346Z",fill:"currentColor",fillRule:"evenodd"}),(0,Ii.jsx)("path",{d:"M2.835 5.73c-.89.828-1.54 1.659-1.5 2.22-.045.64.807 1.661 2.016 2.787 1.568 1.46 4.094 2.276 6.295 1.748l-1.621-1.608a4.01 4.01 0 0 1-.242.004C5.51 10.849 4.82 9.209 4.912 7.79L2.835 5.73Z",fill:"currentColor"})]});i();var Hf=require("react/jsx-runtime"),s8=({...e})=>(0,Hf.jsx)("svg",{...e,children:(0,Hf.jsx)("path",{d:"M15.723 10.299c-.679.896-.32 2.408.255 2.99.575.582.26.27 2.852 3.304 2.592 3.034-.272 3.83-2.848 3.82l-7.08-.029c-2.542-.01-5.196-1.122-2.251-4.899.676-.781 1.339-1.54 1.905-2.173.771-.862.79-2.258.04-3.14a109.17 109.17 0 0 1-2.763-3.425C4.396 4.723 5.76 3.58 7.408 3.587l9.317.044c1.625.008 2.56 1.844 1.601 3.156-.854 1.17-1.81 2.466-2.603 3.512Zm.898 8.175c-1.093.267-6.568.236-8.115-.018-1.548-.253-.982-1.19-.426-1.896s1.2-1.166 1.8-1.83c.455-.505.93-.956 1.414-1.42.02-.019.02-.02.008-.01.398-.307 1.142-.46 1.622-.26.632.266 1.141.865 1.629 1.33a67.232 67.232 0 0 1 2.498 2.525c.505.537.662 1.312-.43 1.579Z",fill:"currentColor",fillRule:"evenodd"})});i();var zf=require("react/jsx-runtime"),u8=({...e})=>(0,zf.jsx)("svg",{...e,children:(0,zf.jsx)("path",{d:"M17.5560126,2 C17.0037126,2 16.5560126,2.44771 16.5560126,3 L16.5560126,5.43713 L14.1189126,5.43713 C13.5666126,5.43713 13.1189126,5.88485 13.1189126,6.43713 C13.1189126,6.98942 13.5666126,7.43713 14.1189126,7.43713 L16.5560126,7.43713 L16.5560126,9.87419 C16.5560126,10.42648 17.0037126,10.87415 17.5560126,10.87415 C18.1083126,10.87415 18.5560126,10.42648 18.5560126,9.87419 L18.5560126,7.43713 L20.9931126,7.43713 C21.5454126,7.43713 21.9931126,6.98942 21.9931126,6.43713 C21.9931126,5.88485 21.5454126,5.43713 20.9931126,5.43713 L18.5560126,5.43713 L18.5560126,3 C18.5560126,2.44771 18.1083126,2 17.5560126,2 Z M6.38749257,3.26404 C7.61766257,3.21883 9.29881257,3.23511 10.1826126,3.52564 C10.7061126,3.70248 10.7370126,4.01239 10.6896126,6.91382 L10.6886126,6.9706 C10.6419126,9.82553 10.6292126,10.60315 10.4455126,11.04115 C10.2348126,11.56505 9.56611257,11.67655 8.78691257,11.78325 C8.08570257,11.87925 3.70238257,11.91495 2.81681257,11.66645 C2.27000257,11.51665 2.14009257,10.93595 2.08195257,7.91779 C2.01979257,4.47863 2.13166257,3.93641 2.77085257,3.73951 C3.38735257,3.55566 4.83521257,3.33747 6.38749257,3.26404 Z M6.51391257,22.09525 C5.28682257,22.19335 3.60648257,22.24945 2.71104257,21.99715 C2.18040257,21.84305 2.13618257,21.53475 2.05880257,18.63395 L2.05729257,18.57725 C1.98114257,15.72295 1.96039257,14.94545 2.12513257,14.49995 C2.31306257,13.96745 2.97636257,13.82735 3.75020257,13.68715 C4.44665257,13.56105 8.82441257,13.33685 9.71981257,13.54705 C10.2726126,13.67315 10.4273126,14.24775 10.6153126,17.26065 C10.8253126,20.69395 10.7365126,21.43225 10.1064126,21.65645 C9.56611257,21.84875 8.64351257,21.92205 7.54004257,22.00975 L7.54001257,22.00975 L7.53979257,22.00985 C7.21203257,22.03585 6.86831257,22.06325 6.51391257,22.09525 Z M12.3666126,14.29825 C12.1144126,15.19375 12.0145126,16.76265 12.1126126,17.98975 C12.2528126,19.53745 12.4185126,20.92965 12.6287126,21.53765 C12.8529126,22.16775 13.7599126,22.28615 17.1932126,22.07605 C20.2061126,21.88815 20.7807126,21.73335 20.9068126,21.18065 C21.1170126,20.28515 20.8928126,15.90745 20.7667126,15.21095 C20.6265126,14.43715 20.4864126,13.77385 19.9539126,13.58595 C19.5084126,13.42115 18.7310126,13.44195 15.8766126,13.51805 L15.8199126,13.51955 C12.9191126,13.59695 12.5208126,13.76765 12.3666126,14.29825 Z",fill:"currentColor"})});i();var Vf=require("react/jsx-runtime"),l8=({...e})=>(0,Vf.jsx)("svg",{...e,children:(0,Vf.jsx)("path",{d:"M19.68195,2.560665 C17.92455,0.8033055 15.0753,0.8033055 13.318005,2.560665 L8.56062,7.31805 C6.803265,9.07542 6.803265,11.924655 8.56062,13.68201 L9.775215,14.89662 C10.36101,15.4824 11.31075,15.4824 11.896545,14.89662 C12.482325,14.31084 12.482325,13.361085 11.896545,12.775305 L10.681935,11.560695 C10.096155,10.974915 10.096155,10.02516 10.681935,9.43938 L15.43935,4.68198 C16.0251,4.0962 16.9749,4.0962 17.56065,4.68198 L19.31805,6.43935 C19.9038,7.025145 19.9038,7.9749 19.31805,8.56068 L17.68935,10.189335 C17.1036,10.775115 17.1036,11.72487 17.68935,12.310665 C18.2751,12.896445 19.2249,12.89646 19.81065,12.310665 L21.43935,10.68201 C23.19675,8.924655 23.19675,6.075405 21.43935,4.318035 L19.68195,2.560665 Z M4.318005,21.43935 C6.07536,23.19675 8.92461,23.19675 10.681965,21.43935 L15.43935,16.68195 C17.19675,14.92464 17.19675,12.075405 15.43935,10.318035 L14.480865,9.35955 C13.895085,8.77377 12.94533,8.77377 12.35955,9.35955 C11.773755,9.945345 11.773755,10.895085 12.35955,11.480865 L13.318035,12.439365 C13.90383,13.025145 13.90383,13.9749 13.318035,14.56068 L8.56065,19.31805 C7.974855,19.9038 7.025115,19.9038 6.43932,19.31805 L4.681935,17.56065 C4.096155,16.9749 4.096155,16.0251 4.681935,15.43935 L6.31065,13.810635 C6.89643,13.224855 6.89643,12.2751 6.31065,11.68932 C5.724855,11.10354 4.7751,11.10354 4.18932,11.689335 L2.560605,13.31805 C0.803256,15.07545 0.8032665,17.9247 2.56062,19.68195 L4.318005,21.43935 Z",fill:"currentColor"})});i();var jf=require("react/jsx-runtime"),c8=({...e})=>(0,jf.jsx)("svg",{...e,children:(0,jf.jsx)("path",{clipRule:"evenodd",d:"M9.11392 13.5C9.96022 13.5 10.5446 14.0173 10.6237 14.8118L10.6329 15V22.5C10.6329 23.3357 10.109 23.9128 9.30446 23.9909L9.11392 24H1.51899C0.672694 24 0.0883494 23.4827 0.00918932 22.6882L0 22.5V15C0 14.1643 0.523896 13.5872 1.32845 13.5091L1.51899 13.5H9.11392ZM22.481 19.5C23.3924 19.5 24 20.1 24 21C24 21.8357 23.4761 22.4128 22.6716 22.4909L22.481 22.5H14.8861C13.9747 22.5 13.3671 21.9 13.3671 21C13.3671 20.1643 13.891 19.5872 14.6955 19.5091L14.8861 19.5H22.481ZM22.481 15C23.3924 15 24 15.6 24 16.5C24 17.3357 23.4761 17.9128 22.6716 17.9909L22.481 18H14.8861C13.9747 18 13.3671 17.4 13.3671 16.5C13.3671 15.6643 13.891 15.0872 14.6955 15.0091L14.8861 15H22.481ZM9.11392 0C9.96022 0 10.5446 0.517346 10.6237 1.31184L10.6329 1.5V9C10.6329 9.83571 10.109 10.4128 9.30446 10.4909L9.11392 10.5H1.51899C0.672694 10.5 0.0883494 9.98265 0.00918932 9.18816L0 9V1.5C0 0.664286 0.523896 0.0872443 1.32845 0.00907373L1.51899 0H9.11392ZM22.481 6C23.3924 6 24 6.6 24 7.5C24 8.33571 23.4761 8.91275 22.6716 8.99092L22.481 9H14.8861C13.9747 9 13.3671 8.4 13.3671 7.5C13.3671 6.66429 13.891 6.08725 14.6955 6.00908L14.8861 6H22.481ZM22.481 1.5C23.3924 1.5 24 2.1 24 3C24 3.83571 23.4761 4.41276 22.6716 4.49093L22.481 4.5H14.8861C14.1266 4.5 13.3671 3.9 13.3671 3C13.3671 2.16429 13.891 1.58724 14.6955 1.50907L14.8861 1.5H22.481Z",fill:"currentColor",fillRule:"evenodd"})});i();var Wf=require("react/jsx-runtime"),f8=({...e})=>(0,Wf.jsx)("svg",{...e,children:(0,Wf.jsx)("path",{d:"M22 12.03a9.62 9.62 0 0 1-1.28 4.5.5.5 0 0 1-.42.25.46.46 0 0 1-.41-.2 1.93 1.93 0 0 0-.19-.28.5.5 0 0 1-.04-.55c.65-1.16 1-2.42 1.03-3.76v-.25c0-2.17-.84-4.23-2.38-5.82a8.72 8.72 0 0 0-6.08-2.65H12c-2.27 0-4.42.86-6.05 2.4A8.35 8.35 0 0 0 4.4 15.87c.1.19.09.4-.04.6l-.04.06-.05.08a.55.55 0 0 1-.49.26c-.2 0-.37-.1-.47-.27A9.55 9.55 0 0 1 5.12 4.68 10.06 10.06 0 0 1 12.27 2c2.68.07 5.16 1.16 7 3.05A9.57 9.57 0 0 1 22 12.03Zm-3.09.5a7.36 7.36 0 0 1-.66 2.91c-.08.17-.21.3-.38.36a.63.63 0 0 1-.5-.04l-.05-.03h-.02c-.3-.19-.42-.6-.25-.96a5.99 5.99 0 0 0-1-6.42 5.46 5.46 0 0 0-3.9-1.8H12a5.4 5.4 0 0 0-3.87 1.64 6.03 6.03 0 0 0-1.3 6.25c.12.34 0 .71-.27.9l-.08.03a.64.64 0 0 1-.9-.34 7.35 7.35 0 0 1-.5-2.9 7.3 7.3 0 0 1 2.28-5.16 6.72 6.72 0 0 1 9.49.18v.01l.17.2a7.33 7.33 0 0 1 1.9 5.17ZM12 15.43c3.6.04 4-3.95 2.06-5.58-1.38-1.16-3.76-.9-4.72.5-.97 1.4-.94 5.03 2.66 5.07ZM5.5 21.68c.03.28.33.5.67.5l11.59.09c.41 0 .75-.26.76-.56.1-1.08-.1-2.19-.6-3.12-1.17-2.27-8-3.67-10.96-1.3-1.41 1.12-1.62 2.93-1.46 4.38Z",fill:"currentColor",fillRule:"evenodd"})});i();var Uf=require("react/jsx-runtime"),p8=({...e})=>(0,Uf.jsx)("svg",{...e,children:(0,Uf.jsx)("path",{d:"M12.000003,3 C15.313728,3 17.999928,5.68629 17.999928,9 C18.828378,9 19.499928,9.67158 19.499928,10.5 L19.499928,10.5 L19.499928,19.5 C19.499928,20.32845 18.828378,21 17.999928,21 L17.999928,21 L6.000003,21 C5.171568,21 4.500003,20.32845 4.500003,19.5 L4.500003,19.5 L4.500003,10.5 C4.500003,9.67158 5.171568,9 6.000003,9 C6.000003,5.68629 8.686293,3 12.000003,3 Z M12.000003,6 C10.343148,6 9.000003,7.343145 9.000003,9 L14.999928,9 C14.999928,7.343145 13.656858,6 12.000003,6 Z M12.000003,18 C13.656858,18 14.999928,16.6569 14.999928,15 C14.999928,13.343145 13.656858,12 12.000003,12 C10.343148,12 9.000003,13.343145 9.000003,15 C9.000003,16.6569 10.343148,18 12.000003,18 Z",fill:"currentColor"})});i();var _f=require("react/jsx-runtime"),d8=({...e})=>(0,_f.jsx)("svg",{...e,children:(0,_f.jsx)("path",{d:"M2.47683706,7.50340405 C4.26485706,2.41303405 11.3492771,0.654683048 16.4753771,3.06899405 C23.7174771,6.48000405 25.8066771,19.038564 14.7760771,21.829464 C3.74546706,24.620464 0.68881706,12.593764 2.47683706,7.50340405 Z M10.4726771,6.65610405 C10.0780771,6.26968405 9.44487706,6.27629405 9.05849706,6.67087405 L9.05849706,6.67087405 L6.02150706,9.77199405 C5.99686706,9.79672405 5.97351706,9.82273405 5.95156706,9.84991405 C5.90220706,9.91094405 5.86109706,9.97642405 5.82823706,10.044864 C5.76857706,10.168864 5.73375706,10.307064 5.73021706,10.453064 C5.72972706,10.472664 5.72990583,10.492164 5.73047706,10.511664 C5.73444706,10.630864 5.75926706,10.744764 5.80141706,10.849864 C5.84900706,10.968764 5.92034706,11.080464 6.01545706,11.177564 L6.01545706,11.177564 L9.05849706,14.284864 C9.44487706,14.679464 10.0780771,14.686064 10.4726771,14.299564 C10.8671771,13.913164 10.8738771,13.280064 10.4873771,12.885464 L10.4873771,12.885464 L9.10884706,11.477764 L10.7298771,11.477764 C13.4913771,11.477764 15.7298771,13.716364 15.7298771,16.477764 L15.7298771,16.477764 L15.7298771,16.891064 C15.7298771,17.443364 16.1775771,17.891064 16.7298771,17.891064 C17.2821771,17.891064 17.7298771,17.443364 17.7298771,16.891064 L17.7298771,16.891064 L17.7298771,16.477764 C17.7298771,12.611764 14.5958771,9.47779405 10.7298771,9.47779405 L10.7298771,9.47779405 L9.10895706,9.47779405 L10.4873771,8.07024405 C10.8738771,7.67566405 10.8671771,7.04253405 10.4726771,6.65610405 Z",fill:"currentColor"})});i();var Kf=require("react/jsx-runtime"),m8=({...e})=>(0,Kf.jsx)("svg",{...e,children:(0,Kf.jsx)("path",{clipRule:"evenodd",d:"M12.095 20.738c-2.558-.043-5.1-.086-6.196-.086-3.458 0-3.536-.614-3.772-2.481a37.69 37.69 0 0 0-.077-.58c-.192-1.312-.11-9.219-.027-10.968.01-.239.011-.462.014-.671.017-1.649.024-2.39 3.367-2.39 2.502 0 7.914.073 11.549.123 1.837.025 3.22.044 3.543.044.962.034 1.429 1.11 1.484 2.12.055 1.01.027 5.652 0 7.166-.008.34.011.844.034 1.432.059 1.57.14 3.737-.199 4.96-.302 1.212-1.732 1.414-2.941 1.414-.715.018-3.758-.033-6.779-.083ZM4.253 5.768l.038.992a.4.4 0 0 0 .39.385l1.29.031a.4.4 0 0 0 .409-.412l-.028-.942a.4.4 0 0 0-.375-.388l-1.3-.08a.4.4 0 0 0-.424.415Zm3.253.992-.038-.991a.4.4 0 0 1 .424-.415l1.3.08a.4.4 0 0 1 .375.388l.028.942a.4.4 0 0 1-.41.412l-1.289-.031a.4.4 0 0 1-.39-.385Zm11.729 11.707-.04-.992a.4.4 0 0 0-.39-.384l-1.288-.032a.4.4 0 0 0-.41.412l.028.943a.4.4 0 0 0 .375.388l1.3.08a.4.4 0 0 0 .425-.415ZM10.72 6.76l-.039-.991a.4.4 0 0 1 .425-.415l1.3.08a.4.4 0 0 1 .375.388l.028.942a.4.4 0 0 1-.41.412l-1.289-.031a.4.4 0 0 1-.39-.385Zm3.176 10.731.04.992a.4.4 0 0 0 .39.385l1.288.031a.4.4 0 0 0 .41-.412l-.028-.942a.4.4 0 0 0-.375-.388l-1.3-.08a.4.4 0 0 0-.425.414Zm2.084-11.739.039.992a.4.4 0 0 1-.425.415l-1.3-.08a.4.4 0 0 1-.375-.388l-.027-.943a.4.4 0 0 1 .41-.411l1.288.031a.4.4 0 0 1 .39.384Zm-3.176 12.715-.04-.992a.4.4 0 0 0-.39-.384l-1.288-.032a.4.4 0 0 0-.41.412l.028.943a.4.4 0 0 0 .375.388l1.3.08a.4.4 0 0 0 .425-.415ZM17.15 6.76l-.039-.991a.4.4 0 0 1 .425-.415l1.3.08a.4.4 0 0 1 .375.388l.027.942a.4.4 0 0 1-.41.412l-1.288-.031a.4.4 0 0 1-.39-.385ZM7.468 17.491l.038.992a.4.4 0 0 0 .39.385l1.289.031a.4.4 0 0 0 .41-.412l-.028-.942a.4.4 0 0 0-.375-.388l-1.3-.08a.4.4 0 0 0-.424.414Zm-1.132-.016.039.992a.4.4 0 0 1-.425.415l-1.3-.08a.4.4 0 0 1-.375-.388l-.027-.943a.4.4 0 0 1 .41-.412l1.288.032a.4.4 0 0 1 .39.384Zm3.828-2.97c.804-.456 3.215-1.857 3.896-2.75.07-.088.035-.21-.052-.263l-3.809-1.996c-.122-.07-.262.018-.262.14-.035.928-.035 3.783-.035 4.71 0 .14.14.228.262.158Z",fill:"currentColor",fillRule:"evenodd"})});i();var Gf=require("react/jsx-runtime"),h8=({...e})=>(0,Gf.jsx)("svg",{...e,children:(0,Gf.jsx)("path",{clipRule:"evenodd",d:"M17.523 3.093c-4.63 1.41-11.703 3.563-15.235 6.13-.426.287-.383 3.531.086 3.817l3.708.914c0 1.537.652 6.766 4.89 7.869 2.777.567 4.957-1.667 6.357-5.073 1.383.349 2.478.629 3.04.78.984.452 1.06.14 1.166-.296l.028-.112c.768-5.225.341-12.755.17-14.51-.042-.409-.681-.653-1.236-.45-.764.258-1.79.57-2.974.931Zm-1.997 13.205a3009.89 3009.89 0 0 0-7.505-1.864c.133 1.99.53 4.669 3.143 5.201 2.345.707 3.191-.99 4.2-3.012l.162-.325Z",fill:"currentColor",fillRule:"evenodd"})});i();var qf=require("react/jsx-runtime"),g8=({...e})=>(0,qf.jsx)("svg",{...e,children:(0,qf.jsx)("path",{d:"M22.286 19.143c.948 0 1.714.766 1.714 1.714s-.766 1.714-1.714 1.714H8.57c-.946 0-1.714-.766-1.714-1.714s.768-1.714 1.714-1.714zm-20.572 0c.948 0 1.715.766 1.715 1.714s-.767 1.714-1.715 1.714C.768 22.571 0 21.805 0 20.857s.768-1.714 1.714-1.714zm20.572-8.572c.948 0 1.714.767 1.714 1.715 0 .948-.766 1.714-1.714 1.714H8.57c-.946 0-1.714-.766-1.714-1.714s.768-1.715 1.714-1.715zm-20.572 0c.948 0 1.715.767 1.715 1.715 0 .948-.767 1.714-1.715 1.714C.768 14 0 13.234 0 12.286s.768-1.715 1.714-1.715zM22.286 2C23.234 2 24 2.766 24 3.714s-.766 1.715-1.714 1.715H8.57c-.946 0-1.714-.767-1.714-1.715C6.857 2.766 7.625 2 8.571 2zM1.714 2c.948 0 1.715.766 1.715 1.714S2.662 5.43 1.714 5.43C.768 5.429 0 4.662 0 3.714 0 2.766.768 2 1.714 2z",fill:"currentColor"})});i();var Xf=require("react/jsx-runtime"),v8=({...e})=>(0,Xf.jsx)("svg",{...e,children:(0,Xf.jsx)("path",{d:"m19 19h-14v-14h6c.5522847 0 1-.44771525 1-1s-.4477153-1-1-1h-6c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.5522847-.4477153-1-1-1s-1 .4477153-1 1zm-5-15c0 .55228475.4477153 1 1 1h2.59l-6.125 6.125c-.3893607.3893607-.3893607 1.0206393 0 1.41s1.0206393.3893607 1.41 0l6.125-6.125v2.59c0 .55228475.4477153 1 1 1s1-.44771525 1-1v-5c0-.55228475-.4477153-1-1-1h-5c-.5522847 0-1 .44771525-1 1z",fill:"currentColor"})});i();var Yf=require("react/jsx-runtime"),b8=({...e})=>(0,Yf.jsx)("svg",{...e,children:(0,Yf.jsx)("path",{d:"M19.984 19.985c-.39.39-.998.586-1.808.586-.845 0-1.807-.226-2.818-.606.838-.657 1.663-1.367 2.45-2.155.784-.782 1.485-1.603 2.142-2.438.053.139.132.285.178.422.634 1.9.58 3.468-.144 4.191m-14.16.586c-.81 0-1.418-.197-1.807-.586-.725-.723-.778-2.29-.144-4.191.045-.137.125-.283.177-.422.656.835 1.359 1.656 2.14 2.438.789.788 1.613 1.498 2.451 2.155-1.01.38-1.972.606-2.817.606M3.874 8.205c-.635-1.9-.582-3.467.143-4.19.39-.39.996-.586 1.807-.586.845 0 1.806.226 2.817.606-.838.657-1.662 1.367-2.45 2.154-.782.783-1.485 1.604-2.141 2.439-.052-.139-.132-.286-.177-.423M18.18 12c-.787 1.166-1.727 2.32-2.794 3.386-1.08 1.081-2.231 2.017-3.384 2.8-1.156-.783-2.307-1.719-3.387-2.8C7.548 14.319 6.609 13.166 5.82 12c.789-1.166 1.728-2.32 2.794-3.387 1.08-1.08 2.231-2.018 3.387-2.798 1.153.78 2.305 1.718 3.384 2.798C16.452 9.68 17.392 10.834 18.18 12m-.003-8.571c.81 0 1.419.197 1.808.586.723.723.778 2.29.144 4.19-.046.137-.125.284-.178.423-.657-.835-1.358-1.656-2.141-2.44-.788-.786-1.613-1.496-2.45-2.153 1.01-.38 1.972-.606 2.817-.606M22.166 12c.486-.909.917-1.817 1.213-2.71 1.085-3.254.74-5.988-.972-7.7C21.37.55 19.905 0 18.176 0 16.309 0 14.166.658 12 1.819 9.834.659 7.69 0 5.824 0c-1.728 0-3.191.55-4.23 1.59C-.118 3.303-.464 6.037.62 9.29c.297.893.727 1.801 1.216 2.71-.489.909-.92 1.817-1.216 2.709-1.084 3.255-.738 5.99.974 7.7C2.633 23.45 4.096 24 5.824 24c1.866 0 4.01-.658 6.177-1.819C14.165 23.341 16.309 24 18.176 24c1.729 0 3.193-.55 4.231-1.59 1.712-1.712 2.057-4.446.972-7.701-.296-.892-.727-1.8-1.213-2.709",fill:"currentColor"})});i();var Jf=require("react/jsx-runtime"),C8=({...e})=>(0,Jf.jsx)("svg",{...e,children:(0,Jf.jsx)("path",{clipRule:"evenodd",d:"M10.3516 2.18414C15.0042 1.28206 20.5998 3.73668 21.8186 8.61827C22.9395 13.1079 18.6606 16.1623 14.6348 16.1623C13.5244 16.1623 12.7403 17.2226 13.0915 18.2493C13.7622 20.2108 12.2459 22.3278 10.1591 21.9575C4.75737 20.999 1.1053 15.4608 2.19152 10.138C3.01471 6.10408 6.33707 2.96249 10.3516 2.18414ZM11.9994 3.98966H11.9868C11.4344 3.99008 10.987 4.43814 10.9875 4.99043C10.9879 5.54271 11.436 5.99008 11.9883 5.98965H11.9978C12.5502 5.99008 12.9983 5.54271 12.9987 4.99043C12.9991 4.43814 12.5517 3.99008 11.9994 3.98966ZM7.75329 7.74368C8.14417 7.35347 8.14465 6.7203 7.75439 6.32946C7.36413 5.93865 6.73089 5.93815 6.34002 6.32836L6.33117 6.33723C5.94089 6.72806 5.94139 7.36123 6.33227 7.75145C6.72313 8.14167 7.35636 8.14117 7.74664 7.75035L7.75329 7.74368ZM17.6461 6.32836C17.2552 5.93815 16.622 5.93865 16.2318 6.32946C15.8414 6.7203 15.8419 7.35347 16.2328 7.74368L16.2395 7.75035C16.6298 8.14117 17.2631 8.14167 17.6539 7.75145C18.0448 7.36123 18.0453 6.72806 17.6549 6.33723L17.6461 6.32836ZM5.99241 11.9849C5.99283 11.4326 5.54541 10.9846 4.99307 10.9841C4.44072 10.9837 3.9926 11.4311 3.99219 11.9834V11.996C3.9926 12.5482 4.44072 12.9956 4.99307 12.9952C5.54541 12.9948 5.99283 12.5467 5.99241 11.9944V11.9849ZM7.74662 16.229C7.35636 15.8381 6.72313 15.8376 6.33227 16.2278C5.94139 16.6181 5.94089 17.2513 6.33117 17.6421L6.34002 17.651C6.73089 18.0411 7.36413 18.0406 7.75439 17.6498C8.14465 17.259 8.14417 16.6258 7.75329 16.2356L7.74662 16.229Z",fill:"currentColor",fillRule:"evenodd"})});i();var Qf=require("react/jsx-runtime"),y8=({...e})=>(0,Qf.jsx)("svg",{...e,children:(0,Qf.jsx)("path",{d:"M13.8859165,4 L20,10.1142555 L6.72352705,23.391102 L1.27233592,23.99288 C0.542581226,24.0735947 -0.0739850737,23.4565334 0.00720491158,22.7267582 L0.613741861,17.2715929 L13.8859165,4 Z M23.3628309,3.36074157 L20.6392584,0.637169144 C19.7896996,-0.212389715 18.4118284,-0.212389715 17.5622695,0.637169144 L15,3.19943866 L20.8005613,9 L23.3628309,6.43773048 C24.2123897,5.58771853 24.2123897,4.21030043 23.3628309,3.36074157 Z",fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:"1"})});i();var e2=require("react/jsx-runtime"),D8=({...e})=>(0,e2.jsx)("svg",{...e,children:(0,e2.jsx)("path",{d:"M5.03669076,11.4468091 C5.54919776,11.4651713 5.95777578,11.8660978 5.9976965,12.3651859 L6.00024426,12.4819731 L6.00068978,12.6647147 C6.01599969,13.3532281 6.18639431,14.2704558 6.62851623,15.1532527 C7.4116753,16.7170078 8.83398719,17.6666739 11.2142478,17.7501827 C13.944306,17.8459637 15.6646382,17.0835309 16.6741247,15.7789723 C17.0000313,15.3578034 17.2283744,14.905255 17.3749039,14.4545007 C17.4031205,14.3677005 17.4260808,14.2887575 17.4444546,14.219091 L17.4864863,14.039341 L17.5050182,13.9237677 C17.5603572,13.3742624 18.0506803,12.9736615 18.6001856,13.0290005 C19.1496909,13.0843395 19.5502918,13.5746627 19.4949528,14.124168 C19.4181918,14.8863891 19.0737351,15.9460074 18.2558622,17.0029439 C17.1191277,18.4719449 15.3830988,19.4303316 13.0003372,19.6880563 L12.999,20.612 L13.9999855,20.6128678 C14.5522702,20.6128678 14.9999855,21.0605831 14.9999855,21.6128678 C14.9999855,22.1257037 14.6139453,22.548375 14.1166066,22.6061401 L13.9999855,22.6128678 L9.99998547,22.6128678 C9.44770072,22.6128678 8.99998547,22.1651526 8.99998547,21.6128678 C8.99998547,21.100032 9.38602566,20.6773607 9.88336435,20.6195956 L9.99998547,20.6128678 L10.999,20.612 L10.999,19.741 L10.8245122,19.7330802 C7.87646161,19.542847 5.90707375,18.1790114 4.84024843,16.0488521 C4.46367142,15.2969305 4.22730667,14.5012078 4.10075368,13.7017548 C4.03131347,13.2630912 4.00309238,12.8834651 4.00008836,12.5870114 L4.00152669,12.4103626 C4.0213014,11.8584319 4.48476015,11.4270343 5.03669076,11.4468091 Z M10.1783855,2.03336785 C10.563323,1.96536785 11.3740808,2.01307097 12.2158835,2.07178972 L12.7215323,2.10750535 C13.0569042,2.13108035 13.3846105,2.15306785 13.6793855,2.16676785 C14.9983855,2.24576785 16.1053855,3.95256785 16.0600855,6.61096785 C16.0292815,8.41881585 16.018037,10.0232078 16.0160387,11.0761305 L16.0160294,11.7232431 C16.0164487,11.9053938 16.0172455,12.0524798 16.0182855,12.1599678 C16.0412855,13.6710678 15.4991855,15.5563678 14.5512855,15.8892678 C14.1136855,16.0868678 12.8069855,16.2086678 11.7655855,16.1445678 C10.9673855,16.0975678 9.60788547,15.9204678 8.82358547,15.5364678 C8.03928547,15.1524678 7.63538547,13.6334678 7.65328547,12.7919678 C7.66498547,11.8499678 7.83318547,7.80506785 7.86878547,6.12206785 C7.94848547,3.46126785 9.05008547,2.24406785 10.1783855,2.03336785 Z",fill:"currentColor"})});i();var t2=require("react/jsx-runtime"),x8=({...e})=>(0,t2.jsx)("svg",{...e,children:(0,t2.jsx)("path",{d:"M10.5 0C16.299 0 21 4.701 21 10.5c0 2.357-.786 4.528-2.099 6.28l4.66 4.662c.586.583.586 1.537 0 2.12-.29.292-.674.437-1.06.437-.384 0-.768-.145-1.06-.436l-4.66-4.66c-1.754 1.31-3.923 2.096-6.281 2.096C4.7 21 0 16.3 0 10.5 0 4.702 4.7 0 10.5 0zm0 3C6.364 3 3 6.363 3 10.5S6.364 18 10.5 18c4.135 0 7.5-3.364 7.5-7.5S14.635 3 10.5 3zM8.4 7.19c.268-.152.818-.147 1.084.01l4.269 2.567c.258.153.408.432.408.732 0 .301-.171.58-.428.733L9.428 13.8c-.135.08-.343.121-.496.121-.144 0-.4-.036-.533-.11-.267-.152-.654-.437-.654-.745V7.934c0-.31.387-.591.654-.744z",fill:"currentColor"})});i();var r2=require("react/jsx-runtime"),E8=({...e})=>(0,r2.jsx)("svg",{...e,children:(0,r2.jsx)("path",{d:"M16.3564087,2 C17.8739087,2.00328127 19.1218087,2.05959127 19.7115087,2.19802127 C20.9796087,2.48738127 21.3347087,3.80557127 21.7659087,10.7180313 C22.2478087,18.5950313 22.0440087,20.2889313 20.5983087,20.8033313 C19.3589087,21.2443313 17.2421087,21.4126313 14.7104087,21.6139313 L14.7104087,21.6139313 L14.1396009,21.65945 C13.5623212,21.7057625 12.9661837,21.7548313 12.3562087,21.8100313 C9.54090871,22.0351313 5.68573871,22.1637313 3.63132871,21.5850313 C2.41390871,21.2313313 2.31245871,20.5240313 2.13491871,13.8688313 L2.13491871,13.8688313 L2.13143871,13.7385313 C2.05806051,10.9881445 2.00710628,9.07828956 2.0006861,7.71236337 L2.00072563,7.15940347 C2.00908903,5.65317258 2.09055951,4.91576807 2.28709871,4.38428127 C2.71826871,3.16255127 4.24004871,2.84104127 6.01545871,2.51953127 C7.12778871,2.31810127 12.3330087,2.00760127 16.0867087,2 L16.0867087,2 Z M19.4992087,7.19947127 L4.00650871,8.35515127 C4.02287871,9.64223127 4.06895871,11.3697313 4.13241871,13.7484313 L4.13420871,13.8154313 C4.22525871,17.2287313 4.29627871,18.8640313 4.45812871,19.7172313 L4.46075871,19.7310313 C5.22836871,19.8983313 6.36367871,19.9886313 7.72376871,19.9990313 C9.21518871,20.0104313 10.8165087,19.9265313 12.1865087,19.8172313 C13.0565087,19.7385313 13.8467087,19.6760313 14.5875087,19.6173313 C15.4451087,19.5494313 16.2366087,19.4867313 17.0091087,19.4103313 C18.3253087,19.2802313 19.2316087,19.1374313 19.7924087,18.9639313 C19.8275087,18.8501313 19.8775087,18.6417313 19.9184087,18.2903313 C20.0653087,17.0282313 20.0133087,14.8235313 19.7697087,10.8414313 C19.6768087,9.35210127 19.5889087,8.15835127 19.4992087,7.19947127 Z M8.35274871,10.1357313 C10.9336087,8.26050127 14.7496087,9.11122127 16.8815087,11.0963313 C18.1511087,12.2784313 19.0458087,13.3513313 18.9981087,14.0218313 L18.9978306,14.1322964 C18.9306149,15.0776637 17.2629818,16.6304928 15.6473087,17.8045313 C13.0665087,19.6798313 9.25037871,18.8290313 7.11848871,16.8439313 C5.84892871,15.6618313 4.95417871,14.5889313 5.00192871,13.9185313 L5.00220778,13.808055 C5.06942956,12.8625989 6.73702756,11.3097697 8.35274871,10.1357313 Z M9.25728871,12.1244313 C8.34736871,13.4721313 8.37186871,16.9469313 11.7721087,16.9950313 C15.1723087,17.0432313 15.5406087,13.2092313 13.7138087,11.6451313 C12.4208087,10.5381313 10.1672087,10.7767313 9.25728871,12.1244313 Z M12.8963087,12.6418313 C13.9530087,13.5354313 13.7399087,15.7259313 11.7731087,15.6984313 C9.80640871,15.6709313 9.79220871,13.6856313 10.3185087,12.9157313 C10.8448087,12.1457313 12.1484087,12.0093313 12.8963087,12.6418313 Z",fill:"currentColor"})});i();var n2=require("react/jsx-runtime"),w8=({...e})=>(0,n2.jsx)("svg",{...e,children:(0,n2.jsx)("path",{d:"M2.25992006,20.5708601 C2.49052006,21.7041601 3.84142006,21.8415601 4.99472006,21.7728601 C6.14792006,21.7041601 16.2302201,21.8415601 18.5367201,22.0132601 C20.8431201,22.1849601 21.4032201,21.5667601 21.7327201,21.1203601 C21.9634201,20.8112601 22.0293201,17.0213601 22.0293201,15.2698601 C22.0293201,13.5526601 21.7986201,10.5688601 21.4691201,8.30216008 C21.2714201,6.89406008 21.7327201,5.62336008 18.1413201,5.34866008 C16.5268201,5.24566008 15.0556201,5.24566008 12.0902201,5.31426008 C11.7937201,4.52436008 10.7937201,2.49406008 10.1347201,2.15066008 C9.14622006,1.73846008 3.57782006,2.28796008 2.88592006,2.42536008 C2.12812006,2.59706008 2.12812006,3.00926008 2.12812006,3.93646008 L2.12812006,6.92446008 C2.12812006,8.22946008 1.76572006,18.3384601 2.25992006,20.5708601 Z",fill:"currentColor"})});i();var o2=require("react/jsx-runtime"),S8=({...e})=>(0,o2.jsx)("svg",{...e,children:(0,o2.jsx)("path",{d:"M21.9982,12.207644 C22.1573,0.830524 9.48591,-0.401799 4.31674,5.710684 C0.657972,10.037144 0.522816,17.335344 4.97697,20.379944 C9.43112,23.424444 21.8391,23.584744 21.9982,12.207644 Z M12.944,13.449944 L10.574,13.449944 L10.574,13.299944 C10.574,12.369944 10.754,11.829944 11.654,11.229944 L12.359,10.764944 C12.944,10.374944 13.199,9.984944 13.199,9.354944 C13.199,8.634954 12.719,8.184954 12.029,8.184954 C11.189,8.184954 10.574,8.649954 10.574,9.744944 L8.17399,9.744944 C8.17399,7.839954 9.41899,6.354954 12.104,6.354954 C14.17399,6.354954 15.629,7.374954 15.629,9.249944 C15.629,10.554944 14.924,11.289944 14.144,11.874944 L13.529,12.324944 C13.079,12.669944 12.944,12.879944 12.944,13.269944 L12.944,13.449944 Z M13.319,15.714944 C13.319,16.554944 12.629,17.259944 11.759,17.259944 C10.874,17.259944 10.199,16.554944 10.199,15.714944 C10.199,14.874944 10.874,14.184944 11.759,14.184944 C12.629,14.184944 13.319,14.874944 13.319,15.714944 Z",fill:"currentColor"})});i();var a2=require("react/jsx-runtime"),T8=({...e})=>(0,a2.jsx)("svg",{...e,children:(0,a2.jsx)("path",{clipRule:"evenodd",d:"M12 21a9 9 0 100-18 9 9 0 000 18zM9 10.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3zm7.5 3a4.5 4.5 0 11-9 0h9zm0-4.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z",fill:"currentColor",fillRule:"evenodd"})});i();var i2=require("react/jsx-runtime"),A8=({...e})=>(0,i2.jsx)("svg",{...e,children:(0,i2.jsx)("path",{d:"M16.2027993,20.4396731 C18.0044493,19.7723231 19.5452493,18.5460731 20.5997493,16.9400231 C21.6542493,15.3341231 22.1672493,13.4328281 22.0635993,11.5143731 C21.9599493,9.59593309 21.2450493,7.76099809 20.0235993,6.27803809 C18.8021493,4.79507809 17.1381993,3.74191309 15.2750493,3.27262309 C13.4120493,2.80333309 11.4477093,2.94254809 9.66947425,3.66989809 C7.89122425,4.39724809 6.39240925,5.67457309 5.39228425,7.31497309 C4.65047425,8.53171309 4.21190425,9.90083809 4.10336425,11.3078831 L3.46145425,10.7718731 C2.82555925,10.2409031 1.87962925,10.3259531 1.34865925,10.9618331 C0.817678753,11.5977281 0.902730253,12.5436581 1.53861925,13.0746431 L4.53462925,15.5763731 C5.09129425,16.0412231 5.90078425,16.0412231 6.45744925,15.5763731 L9.45345925,13.0746281 C10.0893543,12.5436581 10.1744043,11.5977281 9.64343425,10.9618331 C9.11244925,10.3259531 8.16651925,10.2409031 7.53062425,10.7718731 L7.14561925,11.0933681 C7.26492925,10.3128581 7.53785425,9.55882309 7.95377425,8.87665309 C8.62050925,7.78304809 9.61971925,6.93149809 10.8052143,6.44659309 C11.9907093,5.96168809 13.3002693,5.86888309 14.5422993,6.18173809 C15.7842993,6.49460809 16.8936993,7.19671309 17.7080493,8.18536309 C18.5222493,9.17399809 18.9989493,10.3972781 19.0679493,11.6762531 C19.1370993,12.9552131 18.7950993,14.2227281 18.0920493,15.2933231 C17.3889993,16.3640231 16.3617993,17.1815231 15.1607493,17.6264231 C13.9596543,18.0713231 12.6477243,18.1202231 11.4168693,17.7657731 C10.6207743,17.5367231 9.78962425,17.9961731 9.56045425,18.7923731 C9.33126925,19.5884231 9.79085425,20.4195731 10.5869493,20.6487731 C12.4332093,21.1802231 14.4011193,21.1070231 16.2027993,20.4396731 Z",fill:"currentColor",transform:"translate(11.538355, 12.000002) scale(-1, 1) translate(-11.538355, -12.000002)"})});i();var s2=require("react/jsx-runtime"),B8=({...e})=>(0,s2.jsx)("svg",{...e,children:(0,s2.jsx)("path",{d:"M11.5052991,2.53 C9.14315914,2.53 6.87776914,3.468355 5.20748914,5.138635 C4.62170914,5.724415 4.62170914,6.67417 5.20748914,7.25995 C5.79328414,7.845745 6.74302414,7.845745 7.32881914,7.25995 C8.43647914,6.152275 9.93880414,5.53 11.5052991,5.53 C13.0717791,5.53 14.5740741,6.152275 15.6818241,7.25995 C16.4441241,8.022325 16.9766241,8.971645 17.2344741,10.00015 L16.6589241,9.519625 C16.0230741,8.98864 15.0771741,9.073705 14.5461741,9.709585 C14.0151741,10.34548 14.1002241,11.29141 14.7360741,11.82238 L17.7321741,14.324095 C18.2888241,14.788945 19.0983741,14.788945 19.6550241,14.324095 L22.6509741,11.82238 C23.2868241,11.29141 23.3718741,10.34548 22.8410241,9.709585 C22.3100241,9.073705 21.3639741,8.98864 20.7281241,9.519625 L20.2775241,9.8959 C19.9631241,8.105785 19.1057241,6.441235 17.8031241,5.138635 C16.1328741,3.468355 13.8674241,2.53 11.5052991,2.53 Z M18.9429741,18.416695 C17.3894241,20.196145 15.1928241,21.285745 12.8360841,21.445495 C10.4793591,21.605395 8.15567914,20.822545 6.37618414,19.268995 C5.04950914,18.110845 4.10633914,16.595245 3.64600414,14.922145 L3.47212414,15.135295 C2.94830914,15.776995 2.00338414,15.872695 1.36159414,15.348895 C0.719789139,14.825095 0.624149139,13.880155 1.14796414,13.238365 L3.72260914,10.083805 C3.98506414,9.76222 4.36904914,9.563785 4.78318414,9.53569 C5.19731914,9.50761 5.60456914,9.652375 5.90804914,9.935575 L8.88508414,12.713575 C9.49076914,13.27876 9.52358914,14.227945 8.95840414,14.833645 C8.39320414,15.439345 7.44403414,15.472195 6.83834914,14.906995 L6.79684414,14.868145 C7.14259414,15.682345 7.67011414,16.416295 8.34908914,17.009095 C9.52918414,18.039145 11.0701791,18.558445 12.6330741,18.452395 C14.1959241,18.346345 15.6527241,17.623945 16.6829241,16.443745 C17.2277241,15.819745 18.1752741,15.755395 18.7994241,16.300195 C19.4234241,16.844995 19.4877741,17.792545 18.9429741,18.416695 Z",fill:"currentColor"})});i();var u2=require("react/jsx-runtime"),F8=({...e})=>(0,u2.jsx)("svg",{...e,children:(0,u2.jsx)("path",{clipRule:"evenodd",d:"M3.44 7.94a1.5 1.5 0 000 2.12l4.5 4.5a1.5 1.5 0 002.12-2.12L8.122 10.5H9a9 9 0 019 9 1.5 1.5 0 003 0c0-6.627-5.373-12-12-12h-.879l1.94-1.94a1.5 1.5 0 00-2.122-2.12l-4.5 4.5z",fill:"currentColor",fillRule:"evenodd"})});i();var l2=require("react/jsx-runtime"),M8=({...e})=>(0,l2.jsx)("svg",{...e,children:(0,l2.jsx)("path",{d:"M17.9215 15.8985C17.9215 16.7268 18.593 17.3985 19.4215 17.3985C20.2499 17.3985 20.9215 16.7268 20.9215 15.8985V6.06084C20.9215 4.40399 19.5782 3.06084 17.9215 3.06084H8.14243C7.31401 3.06084 6.64243 3.73241 6.64243 4.56084C6.64243 5.38926 7.31401 6.06084 8.14243 6.06084H17.9215V15.8985ZM15.1562 21C15.9847 21 16.6562 20.3284 16.6562 19.5V8.99999C16.6562 8.17157 15.9847 7.49999 15.1562 7.49999H4.65628C3.82785 7.49999 3.15628 8.17157 3.15628 8.99999V19.5C3.15628 20.3284 3.82785 21 4.65628 21H15.1562Z",fill:"currentColor"})});i();var c2=require("react/jsx-runtime"),O8=({...e})=>(0,c2.jsx)("svg",{...e,children:(0,c2.jsx)("path",{d:"M8.04155 13.6452c-.29507.3401-.77963.4311-1.22755.3853-.26162-.0268-.53462-.0227-.83627-.0227-2.21 0-3.95805 2.0844-4 4-.04195 1.9156 1.25737 4.1963 4 4 2.74262-.1964 4-1.79 4-4 0-.3426-.04382-.6717-.1256-.9853-.10558-.4049-.03793-.8512.25797-1.1471l1.1605-1.1605c.3905-.3905 1.0237-.3905 1.4142 0l1.1605 1.1605c.296.2959.3636.7422.258 1.1471-.0817.3136-.1256.6427-.1256.9853 0 2.21 1.2103 4.1204 4 4 2.1726 0 3.9393-1.7299 3.9985-3.8881.002-.0742.011-.1481.0221-.2214.2497-1.6558-2.0776-4.0957-4.0206-3.8905-.3408 0-.6684.0434-.9806.1244-.4074.1056-.8563.0361-1.1519-.2634l-.2851-.2888c-.3353-.3396-.3856-.8664-.1188-1.262 1.2915-1.9152 4.9082-7.30692 5.5181-8.52683.597-1.19404-.1004-1.55644-.4011-1.65331-.0817-.02632-.1675-.02742-.2522-.0131-.307.05194-1.1163.23082-1.8437.75456-.8717.62763-7.2681 7.13178-10.42085 10.76588Zm-.06382 4.3626c0 1.1-.33887 2.1893-2.0324 2.2808-1.69353.0914-1.93853-.9744-1.9676-2.2808-.02907-1.3065.81698-1.7126 1.93376-1.7464 1.11677-.0338 2.06624.6464 2.06624 1.7464Zm11.65307-.1002c0 1.1-.6116 1.7771-1.7216 1.7771-1.11 0-1.666-.5105-1.666-1.6105s.5005-1.7216 1.6105-1.7216 1.7771.455 1.7771 1.555ZM3.59777 4.22989c.36385.61575 4.39198 5.69637 5.14768 6.06021.75569.3639 3.01835-2.3583 2.62655-3.14198-.3919-.78368-6.58451-4.9549-7.39427-5.14035-.51747-.1185-.78019.15897-.90243.37473-.07889.13923-.07349.30478-.029.45849.097.33507.29682.95795.55147 1.3889Z",fill:"currentColor"})});i();var f2=require("react/jsx-runtime"),P8=({...e})=>(0,f2.jsx)("svg",{...e,children:(0,f2.jsx)("path",{clipRule:"evenodd",d:"M18.3725 10.1232C18.4987 1.09802 8.4467 0.120438 4.34611 4.96936C1.44368 8.40149 1.33646 14.191 4.86985 16.6062C7.05849 18.1022 11.668 18.7203 14.8896 16.8292C15.0495 17.0045 15.221 17.1936 15.4011 17.3921L15.4276 17.4213C15.7915 17.8225 16.1803 18.2652 16.5732 18.7123C17.9928 20.3283 19.4648 22.0038 20 22C20.9201 21.9935 21.8533 21.1562 21.8058 20.3376C21.77 19.7206 18.7553 16.1791 17.2726 14.4721C17.9389 13.3478 18.3474 11.9161 18.3725 10.1232ZM15.299 10.1084C15.377 4.47295 9.16504 3.86255 6.63094 6.89026C4.83728 9.03332 4.77102 12.6484 6.9546 14.1564C8.30715 15.0905 11.1557 15.4765 13.1466 14.2957C13.4988 14.0868 14.3913 13.424 14.6193 12.8239C14.6497 12.7439 14.6813 12.6625 14.7134 12.5796L14.7135 12.5796L14.7135 12.5796L14.7135 12.5796C14.9791 11.8954 15.2852 11.1069 15.299 10.1084Z",fill:"currentColor",fillRule:"evenodd"})});i();var p2=require("react/jsx-runtime"),R8=({...e})=>(0,p2.jsx)("svg",{...e,children:(0,p2.jsx)("path",{d:"M2 14.2047V20.3381C2 21.5719 3.2987 22.3744 4.40249 21.8226L21.0824 13.4845C22.3059 12.8729 22.3059 11.1272 21.0824 10.5155L4.40249 2.17736C3.2987 1.62559 2 2.42806 2 3.66186V9.79527L17.4364 12L2 14.2047Z",fill:"currentColor"})});i();var d2=require("react/jsx-runtime"),L8=({...e})=>(0,d2.jsx)("svg",{...e,children:(0,d2.jsx)("path",{d:"M10.4295221,6.27892711 C11.1231482,6.27892711 11.6860911,6.84061342 11.6860911,7.53549604 C11.6860911,8.22912209 11.1231482,8.79206497 10.4295221,8.79206497 L2.51313786,8.79206497 L2.51313786,19.9755285 L20.9847011,19.9755285 L20.9847011,13.0643993 C20.9847011,12.3695167 21.5463875,11.8078304 22.2412701,11.8078304 C22.9361527,11.8078304 23.497839,12.3695167 23.497839,13.0643993 L23.497839,21.2320974 C23.497839,21.92698 22.9361527,22.4886663 22.2412701,22.4886663 L1.25656893,22.4886663 C0.561686312,22.4886663 -1.13686838e-13,21.92698 -1.13686838e-13,21.2320974 L-1.13686838e-13,7.53549604 C-1.13686838e-13,6.84061342 0.561686312,6.27892711 1.25656893,6.27892711 L10.4295221,6.27892711 Z M17.4859106,1.06542262 L23.1404708,2.95027601 C23.4860273,3.06462379 23.763729,3.32473355 23.9044647,3.66149403 C24.0439439,3.99699793 24.0301216,4.37773832 23.8667676,4.70444624 L20.9779157,10.4846633 C20.7580161,10.925719 20.3131907,11.1795459 19.8520299,11.1795459 C19.6635446,11.1795459 19.4712895,11.1368226 19.2916002,11.0476062 C18.6708551,10.7359771 18.4182848,9.98203575 18.7286573,9.3612907 L20.1552631,6.50659486 C15.2357578,8.53215897 12.565438,11.9544286 12.565438,16.3309759 C12.565438,17.0258586 12.0037517,17.5875449 11.3088691,17.5875449 C10.6139864,17.5875449 10.0523001,17.0258586 10.0523001,16.3309759 C10.0523001,10.9670445 13.2956932,6.67962778 19.0694395,4.24191108 L16.6905025,3.44913388 C16.0333169,3.23049089 15.6777079,2.5180163 15.8976075,1.85957418 C16.1162505,1.20238863 16.8236988,0.844266485 17.4859106,1.06542262 Z",fill:"currentColor"})});i();var m2=require("react/jsx-runtime"),I8=({...e})=>(0,m2.jsx)("svg",{...e,children:(0,m2.jsx)("path",{d:"M13.7485567,15.60854 C15.5272567,15.56974 17.2945567,15.53114 18.0570567,15.53114 C20.4611567,15.53114 20.5152567,14.97244 20.6796567,13.27624 C20.6956567,13.11144 20.7126567,12.93584 20.7329567,12.74904 C20.8667567,11.55664 20.8094567,4.37196 20.7520567,2.78216 C20.7456567,2.56558 20.7440567,2.36254 20.7425567,2.17272 C20.7305567,0.67436 20.7252567,0 18.4011567,0 C16.6617567,0 12.8983567,0.06745 10.3712567,0.11274 C9.09395667,0.13563 8.13249667,0.15287 7.90789667,0.15287 C7.23892667,0.18344 6.91399667,1.16178 6.87577667,2.07898 C6.85484667,2.5811 6.85110667,4.07284 6.85513667,5.54594 C4.76066667,3.58565 1.63311667,1.35394 0.926556668,1.00817 C0.690226668,0.8405 0.332936668,1.06705 0.269246668,1.36843 C-0.244693332,3.80038 0.0220166684,11.95624 0.689856668,15.10364 C0.796596668,15.60674 1.27320667,15.65794 1.57944667,15.44874 C3.39814667,14.20614 5.44535667,12.07344 6.84078667,10.29664 C6.80306667,11.67204 6.77573667,13.38984 6.99045667,14.39994 C7.20069667,15.50064 8.19459667,15.68404 9.03555667,15.68404 C9.53235667,15.70064 11.6483567,15.65444 13.7485567,15.60854 Z",fill:"currentColor"})});i();var h2=require("react/jsx-runtime"),k8=({...e})=>(0,h2.jsx)("svg",{...e,children:(0,h2.jsx)("path",{clipRule:"evenodd",d:"M18.4814 8.67568L17.817 10.7148C17.6962 11.0912 17.0841 11.0982 16.9512 10.7287L16.1338 8.48397C15.9808 8.06917 15.6385 7.72409 15.1875 7.53587L13.2586 6.72719C12.9002 6.57731 12.9244 6.12765 13.2989 6.00566L15.2438 5.37824C15.7754 5.20744 16.1861 4.83099 16.3512 4.36391L17.0922 2.27948C17.225 1.89605 17.8573 1.91348 17.966 2.30388L18.5459 4.40922C18.6747 4.87281 19.0412 5.26321 19.5405 5.46886L21.7432 6.37165C22.1217 6.52502 22.0774 7.00256 21.6747 7.10364L19.7338 7.58467C19.1257 7.73455 18.6546 8.14934 18.4814 8.67568ZM7.47388 10.8744L8.50744 7.47586C8.69536 6.84844 9.64748 6.83682 9.85419 7.45262L11.1258 11.1939C11.3638 11.8852 11.8963 12.4604 12.5978 12.7741L15.5983 14.1219C16.1558 14.3717 16.1182 15.1211 15.5356 15.3244L12.5101 16.3701C11.6833 16.6548 11.0443 17.2822 10.7875 18.0607L9.63495 21.5347C9.42824 22.1738 8.4448 22.1447 8.27567 21.4941L7.37366 17.9852C7.17321 17.2125 6.60319 16.5618 5.82645 16.2191L2.40005 14.7144C1.81124 14.4588 1.88014 13.6629 2.50654 13.4944L5.52578 12.6927C6.47164 12.4429 7.20453 11.7516 7.47388 10.8744Z",fill:"currentColor",fillRule:"evenodd"})});i();var f1=require("react/jsx-runtime"),N8=({...e})=>(0,f1.jsx)("svg",{...e,children:(0,f1.jsx)("path",{d:"M20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C13.1046 20 14 20.8954 14 22C14 23.1046 13.1046 24 12 24C5.37258 24 -8.1423e-07 18.6274 -5.24537e-07 12C-2.34843e-07 5.37258 5.37258 -8.1423e-07 12 -5.24537e-07C18.6274 -2.34843e-07 24 5.37258 24 12C24 13.1046 23.1046 14 22 14C20.8954 14 20 13.1046 20 12Z",fill:"currentColor",children:(0,f1.jsx)("animateTransform",{attributeName:"transform",dur:"1.5s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})})});i();var g2=require("react/jsx-runtime"),$8=({...e})=>(0,g2.jsx)("svg",{...e,children:(0,g2.jsx)("path",{d:"M16.296629,10.0643007 C16.283129,8.3006607 16.262429,5.5820807 16.373129,3.9624207 C16.443029,2.7444807 17.072229,2.0137207 18.715329,2.0137207 C20.183529,1.9162807 20.533129,2.3547407 20.742829,2.7932007 C21.896529,5.4239507 21.651829,17.7495007 21.546929,19.7469007 C21.536829,19.9288007 21.537629,20.0967007 21.538329,20.2518007 C21.542629,21.1765007 21.544829,21.6471007 19.239629,21.9392007 C16.967429,22.2315007 16.722729,21.4520007 16.652729,19.9905007 C16.582829,18.8213007 16.338129,12.9752007 16.303229,11.2213007 C16.303229,10.9269007 16.300129,10.5287007 16.296629,10.0643007 Z M2.07189895,8.5624307 C1.92962895,10.0176007 2.03633895,13.4444007 2.07189895,14.4302007 C2.10746895,15.6976007 2.39200895,19.7816007 2.46313895,20.6265007 C2.53427895,21.7062007 2.64097895,22.1756007 4.98841895,21.9409007 C7.33548895,21.6995007 7.33150895,21.0099007 7.32714895,20.2563007 C7.32642895,20.1305007 7.32568895,20.0030007 7.33585895,19.8754007 C7.44255895,18.4202007 7.12245895,11.0034007 6.94461895,9.8768007 C6.88283895,9.4854507 6.84252895,9.1167507 6.80726895,8.7943207 C6.74102895,8.1885707 6.69264895,7.7461307 6.55337895,7.6235907 C6.26883895,7.3419407 5.80646895,6.9194607 4.09923895,7.0133407 C2.35643895,7.1541707 2.17860895,7.7174707 2.07189895,8.5624307 Z M14.192829,11.8352007 C14.370229,12.6825007 14.429829,14.4190007 14.465529,15.4577007 C14.474729,15.7235007 14.482329,15.9436007 14.489829,16.0915007 C14.527029,17.0104007 14.452729,20.0092007 14.415629,20.6379007 C14.378429,21.4118007 14.267029,21.9438007 11.853429,21.9922007 C9.40640895,22.0750007 9.38008895,21.4846007 9.35349895,20.8882007 C9.34902895,20.7878007 9.34453895,20.6872007 9.32848895,20.5896007 C9.14282895,19.5739007 8.95716895,12.7542007 9.51414895,11.6417007 C9.69980895,11.3032007 10.145429,10.9162007 11.927729,10.7711007 C13.710029,10.6260007 14.044229,11.2548007 14.192829,11.8352007 Z",fill:"currentColor"})});i();var v2=require("react/jsx-runtime"),Z8=({...e})=>(0,v2.jsx)("svg",{...e,children:(0,v2.jsx)("path",{d:"M19.9030516,3.56195524 C21.7797378,5.26278765 21.9069107,7.86679992 21.9134275,10.5226573 L21.9133516,11.4203552 L21.9133516,11.4203552 C21.9133516,11.9319552 21.9181516,12.4290552 21.9228516,12.9101552 C21.9542516,16.1407552 21.9787516,18.6552552 20.4878516,20.0463552 C19.2002516,21.2477552 16.9247516,21.3359552 14.5411516,21.4282552 C13.7540516,21.4587552 12.9551516,21.4897552 12.1761516,21.5613552 C9.6881516,21.7634552 5.4329516,21.8662552 3.6380016,20.3387552 C2.0543016,18.9911552 2.0479216,15.6975552 2.0429916,13.1578552 C2.0423316,12.8190552 2.0417016,12.4937552 2.0373616,12.1881552 C2.0337216,11.9327552 2.0279916,11.6671552 2.0221016,11.3940552 C1.9681116,8.89242524 1.9005916,5.76376524 3.3090516,4.03711524 C4.8712316,2.12199524 10.1440516,2.02682524 11.8253516,2.02682524 C11.9893516,2.02682524 12.1948516,2.02209524 12.4333516,2.01661524 C14.2681516,1.97441524 18.0553516,1.88732524 19.9030516,3.56195524 Z M6.4875916,9.96075524 C6.2115016,9.97945524 5.9555116,10.1117552 5.7805416,10.3261552 L3.7946516,12.7593552 C3.4454416,13.1871552 3.5092016,13.8171552 3.9370716,14.1663552 C4.3649416,14.5155552 4.9948816,14.4518552 5.3440916,14.0239552 L5.6760316,13.6172552 C5.9879816,14.9965552 6.7302716,16.2518552 7.8089316,17.1934552 C9.1501216,18.3642552 10.9014516,18.9543552 12.6777516,18.8338552 C14.4540516,18.7133552 16.1096516,17.8922552 17.2804516,16.5510552 C17.6436516,16.1349552 17.6008516,15.5032552 17.1847516,15.1400552 C16.7687516,14.7768552 16.1370516,14.8196552 15.7738516,15.2357552 C14.9518516,16.1773552 13.7894516,16.7538552 12.5424516,16.8384552 C11.2953516,16.9230552 10.0657516,16.5087552 9.1242016,15.6867552 C8.4181616,15.0704552 7.9174016,14.2627552 7.6753716,13.3714552 L8.1692816,13.8323552 C8.5730716,14.2091552 9.2058516,14.1872552 9.5826516,13.7834552 C9.9594516,13.3796552 9.9375516,12.7468552 9.5337516,12.3700552 L7.2375116,10.2273552 C7.0351916,10.0385552 6.7636816,9.94205524 6.4875916,9.96075524 Z M11.9235516,4.61505524 C10.1431516,4.61505524 8.4357616,5.32228524 7.1768716,6.58117524 C6.7863416,6.97170524 6.7863416,7.60486524 7.1768716,7.99539524 C7.5673916,8.38591524 8.2005616,8.38591524 8.5910816,7.99539524 C9.4749516,7.11157524 10.6736516,6.61505524 11.9235516,6.61505524 C13.1734516,6.61505524 14.3721516,7.11157524 15.2559516,7.99539524 C15.8635516,8.60293524 16.2880516,9.35926524 16.4940516,10.1787552 L16.4940516,10.1787552 L16.1718516,9.87065524 C15.7726516,9.48899524 15.1396516,9.50321524 14.7580516,9.90235524 C14.3763516,10.3015552 14.3905516,10.9345552 14.7897516,11.3162552 L14.7897516,11.3162552 L16.8079516,13.2458552 C17.1945516,13.6154552 17.8035516,13.6154552 18.1901516,13.2458552 L18.1901516,13.2458552 L20.2083516,11.3162552 C20.6075516,10.9345552 20.6217516,10.3015552 20.2401516,9.90235524 C19.8584516,9.50321524 19.2254516,9.48899524 18.8262516,9.87065524 L18.8262516,9.87065524 L18.5324516,10.1515552 C18.2933516,8.80810524 17.6482516,7.55926524 16.6701516,6.58118524 C15.4112516,5.32228524 13.7038516,4.61505524 11.9235516,4.61505524 Z",fill:"currentColor"})});i();var b2=require("react/jsx-runtime"),H8=({...e})=>(0,b2.jsx)("svg",{...e,children:(0,b2.jsx)("path",{d:"M17.2519 13.3365L14.2254 1.66305C14.1916 1.6578 14.1575 1.65288 14.1234 1.6483C11.1829 1.25586 7.41327 1.25586 5.58925 1.43826C2.63214 1.73673 3.05775 4.19087 3.05775 4.19087C1.47694 5.8159 2.41104 7.83337 2.41104 7.83337C0.388047 10.083 1.94675 11.7909 1.94675 11.7909C0.111682 13.4768 1.48799 15.3726 3.05775 15.5053C4.25718 15.6103 7.14243 15.5716 8.44135 15.5495C8.77299 15.544 9.02725 15.848 8.96645 16.1741C8.09314 21.0934 9.97242 24.2937 12.0009 23.9787C13.0862 23.8073 13.0854 22.2429 13.0847 20.8977C13.0844 20.2903 13.0841 19.7275 13.1838 19.3578C13.5154 18.1252 14.7978 16.4173 16.1133 14.9139C16.5448 14.4207 16.9252 13.8923 17.2519 13.3365ZM15.3373 1.96685C15.3469 1.97072 15.3566 1.97461 15.3662 1.97853C15.3513 1.87268 15.3385 1.7733 15.3283 1.68149C15.2399 0.86345 15.3891 0.769483 16.8262 0.382572C18.2633 -0.00434145 18.6447 -0.103829 18.9266 0.111738C19.0761 0.225857 19.2257 0.706983 19.4211 1.33571C19.5001 1.59011 19.5867 1.86866 19.6838 2.15685C20.021 3.1573 21.7179 10.0277 21.8892 11.404C21.9046 11.5245 21.9264 11.6345 21.9467 11.7363C22.0722 12.368 22.1359 12.6884 20.2034 13.2833C19.1604 13.605 18.6552 13.75 18.3686 13.659L15.3373 1.96685Z",fill:"currentColor"})});i();var C2=require("react/jsx-runtime"),z8=({...e})=>(0,C2.jsx)("svg",{...e,children:(0,C2.jsx)("path",{d:"M5.81817 10.6635L8.84461 22.337C8.87851 22.3422 8.91252 22.3471 8.94663 22.3517C11.8872 22.7441 15.6568 22.7441 17.4808 22.5617C20.4379 22.2633 20.0123 19.8091 20.0123 19.8091C21.5931 18.1841 20.659 16.1666 20.659 16.1666C22.682 13.917 21.1233 12.2091 21.1233 12.2091C22.9584 10.5232 21.5821 8.62738 20.0123 8.49472C18.8129 8.3897 15.9276 8.42839 14.6287 8.4505C14.2971 8.45603 14.0428 8.15202 14.1036 7.82591C14.9769 2.9066 13.0976 -0.293715 11.0691 0.0213417C9.98386 0.192697 9.98468 1.75706 9.98538 3.10231C9.9857 3.70975 9.98599 4.27251 9.88626 4.64218C9.55462 5.87477 8.27229 7.58271 6.95679 9.08614C6.5253 9.57927 6.1449 10.1077 5.81817 10.6635ZM7.73279 22.0331C7.72312 22.0293 7.71347 22.0254 7.70384 22.0215C7.71881 22.1273 7.73156 22.2267 7.74176 22.3185C7.83019 23.1365 7.68094 23.2305 6.24384 23.6174C4.80674 24.0043 4.42536 24.1038 4.14347 23.8883C3.99393 23.7741 3.8444 23.293 3.64899 22.6643C3.56993 22.4099 3.48335 22.1313 3.38623 21.8431C3.04906 20.8427 1.35217 13.9723 1.18082 12.596C1.16547 12.4755 1.14362 12.3655 1.12338 12.2637C0.99784 11.632 0.934173 11.3116 2.86666 10.7167C3.90967 10.395 4.4149 10.25 4.70148 10.341L7.73279 22.0331Z",fill:"currentColor"})});i();var y2=require("react/jsx-runtime"),V8=({...e})=>(0,y2.jsx)("svg",{...e,children:(0,y2.jsx)("path",{d:"M21.87 22.5H2.354c-.897 0-1.57-.444-2.019-1.111-.448-.667-.448-1.556 0-2.222L9.981 2.5c.898-1.333 3.365-1.333 4.038 0l9.645 16.667c.448.666.448 1.555 0 2.222-.449.667-1.122 1.111-1.795 1.111zM6.392 18.056h11.663L12 8.056l-5.607 10z",fill:"currentColor"})});i();var D2=require("react/jsx-runtime"),j8=({...e})=>(0,D2.jsx)("svg",{...e,children:(0,D2.jsx)("path",{d:"M16.2027993,20.4396731 C18.0044493,19.7723231 19.5452493,18.5460731 20.5997493,16.9400231 C21.6542493,15.3341231 22.1672493,13.4328281 22.0635993,11.5143731 C21.9599493,9.59593309 21.2450493,7.76099809 20.0235993,6.27803809 C18.8021493,4.79507809 17.1381993,3.74191309 15.2750493,3.27262309 C13.4120493,2.80333309 11.4477093,2.94254809 9.66947425,3.66989809 C7.89122425,4.39724809 6.39240925,5.67457309 5.39228425,7.31497309 C4.65047425,8.53171309 4.21190425,9.90083809 4.10336425,11.3078831 L3.46145425,10.7718731 C2.82555925,10.2409031 1.87962925,10.3259531 1.34865925,10.9618331 C0.817678753,11.5977281 0.902730253,12.5436581 1.53861925,13.0746431 L4.53462925,15.5763731 C5.09129425,16.0412231 5.90078425,16.0412231 6.45744925,15.5763731 L9.45345925,13.0746281 C10.0893543,12.5436581 10.1744043,11.5977281 9.64343425,10.9618331 C9.11244925,10.3259531 8.16651925,10.2409031 7.53062425,10.7718731 L7.14561925,11.0933681 C7.26492925,10.3128581 7.53785425,9.55882309 7.95377425,8.87665309 C8.62050925,7.78304809 9.61971925,6.93149809 10.8052143,6.44659309 C11.9907093,5.96168809 13.3002693,5.86888309 14.5422993,6.18173809 C15.7842993,6.49460809 16.8936993,7.19671309 17.7080493,8.18536309 C18.5222493,9.17399809 18.9989493,10.3972781 19.0679493,11.6762531 C19.1370993,12.9552131 18.7950993,14.2227281 18.0920493,15.2933231 C17.3889993,16.3640231 16.3617993,17.1815231 15.1607493,17.6264231 C13.9596543,18.0713231 12.6477243,18.1202231 11.4168693,17.7657731 C10.6207743,17.5367231 9.78962425,17.9961731 9.56045425,18.7923731 C9.33126925,19.5884231 9.79085425,20.4195731 10.5869493,20.6487731 C12.4332093,21.1802231 14.4011193,21.1070231 16.2027993,20.4396731 Z",fill:"currentColor"})});i();var x2=require("react/jsx-runtime"),W8=({...e})=>(0,x2.jsx)("svg",{...e,children:(0,x2.jsx)("path",{clipRule:"evenodd",d:"m17.9999 8.99999h-.3091c.1023-2.25606-1.0799-4.47509-3.2127-5.59146-2.4819-1.29899-5.45668-.6893-7.24572 1.30389-.55335.61651-.25756 1.5411.47641 1.92526.73397.38415 1.6315.05054 2.32091-.40882.8828-.58823 2.051-.68901 3.0572-.16239 1.1098.5809 1.7048 1.75893 1.597 2.93352h-8.6839c-.82844 0-1.5.67156-1.5 1.50001v9c0 .8285.67156 1.5 1.5 1.5h11.9999c.8285 0 1.5-.6715 1.5-1.5v-9c0-.82845-.6715-1.50001-1.5-1.50001zm-5.9999 9.00001c1.6569 0 2.9999-1.3431 2.9999-3s-1.343-3-2.9999-3-3 1.3431-3 3 1.3431 3 3 3z",fill:"currentColor",fillRule:"evenodd"})});i();var E2=require("react/jsx-runtime"),U8=({...e})=>(0,E2.jsx)("svg",{...e,children:(0,E2.jsx)("path",{d:"M15.000078,14.8684515 C15.000078,15.6969015 14.328378,16.3684515 13.500003,16.3684515 L10.500003,16.3684515 C9.671583,16.3684515 9.000003,15.6969015 9.000003,14.8684515 L9.000003,10.3684215 L6.997938,10.3684215 C5.612193,10.3684215 4.967508,8.6501565 6.011253,7.7386215 L11.013318,3.3702015 C11.578518,2.8765965 12.421503,2.8765965 12.986688,3.3702015 L17.988678,7.7386215 C19.032528,8.6501565 18.387828,10.3684215 17.002128,10.3684215 L15.000078,10.3684215 L15.000078,14.8684515 Z M19.499928,21.0000015 C20.328378,21.0000015 20.999928,20.3284515 20.999928,19.5000015 C20.999928,18.6715515 20.328378,18.0000015 19.499928,18.0000015 L4.500003,18.0000015 C3.671568,18.0000015 3.000003,18.6715515 3.000003,19.5000015 C3.000003,20.3284515 3.671568,21.0000015 4.500003,21.0000015 L19.499928,21.0000015 Z",fill:"currentColor"})});i();var w2=require("react/jsx-runtime"),_8=({...e})=>(0,w2.jsx)("svg",{...e,children:(0,w2.jsx)("path",{d:"M11.9795007,11.6812178 C17.4877007,11.7582178 18.0843007,5.62342775 15.1250007,3.12080775 C13.0303007,1.34944775 9.3796907,1.73130775 7.9056807,3.88775775 C6.4316707,6.04420775 6.4713607,11.6041178 11.9795007,11.6812178 Z M2.0679907,21.2867178 C2.1103707,21.7159178 2.5722107,22.0699178 3.0867007,22.0565178 L20.7985007,22.1986425 C21.4214007,22.2022178 21.9343007,21.8129178 21.9595007,21.3473178 C22.1151007,19.6814178 21.8238007,17.9925178 21.0597007,16.5583178 C19.2580007,13.0837178 8.8364407,10.9365178 4.3016007,14.5465178 C2.1421907,16.2745178 1.8285807,19.0425178 2.0679907,21.2867178 Z",fill:"currentColor"})});i();var S2=require("react/jsx-runtime"),K8=({...e})=>(0,S2.jsx)("svg",{...e,children:(0,S2.jsx)("path",{d:"M18.9737042,7.86457117 C20.7874042,9.55338117 22.0656042,11.0859812 21.9974042,12.0438812 C22.0916042,13.3739812 19.6110042,15.7035812 17.2104042,17.4477812 C13.5235042,20.1267812 8.07189418,18.9114812 5.02630418,16.0755812 C3.21264418,14.3867812 1.93440418,12.8540812 2.00260418,11.8962812 C1.90837418,10.5661812 4.38904418,8.23659117 6.78955418,6.49235117 C10.4765042,3.81337117 15.9281042,5.02870117 18.9737042,7.86457117 Z M14.4483042,8.64866117 C12.6011042,7.06715117 9.38168418,7.40808117 8.08178418,9.33340117 C6.78187418,11.2586812 6.81687418,16.2226812 11.6744042,16.2914812 C16.5320042,16.3602812 17.0581042,10.8830812 14.4483042,8.64866117 Z M11.6759042,14.4390812 C14.4856042,14.4783812 14.7900042,11.3490812 13.2804042,10.0724812 C12.2119042,9.16886117 10.3497042,9.36365117 9.59783418,10.4636812 C8.84593418,11.5636812 8.86618418,14.3998812 11.6759042,14.4390812 Z",fill:"currentColor"})});i();var T2=require("react/jsx-runtime"),G8=({...e})=>(0,T2.jsx)("svg",{...e,children:(0,T2.jsx)("path",{d:"M14.976 3c-.813 0-1.476-.664-1.476-1.476v-.048C13.5.665 14.163 0 14.976 0s1.476.664 1.476 1.476v.048c0 .812-.663 1.476-1.476 1.476zm6 1.5c-.813 0-1.476-.664-1.476-1.476v-.048c0-.812.663-1.476 1.476-1.476s1.476.664 1.476 1.476v.048c0 .812-.663 1.476-1.476 1.476zm.07 4.477V8.93c0-.813.665-1.477 1.476-1.477.813 0 1.478.664 1.478 1.477v.047c0 .811-.665 1.476-1.478 1.476-.811 0-1.476-.665-1.476-1.476zm-.07 4.523c.813 0 1.476.665 1.476 1.476v.048c0 .812-.663 1.476-1.476 1.476s-1.476-.665-1.476-1.476v-.048c0-.812.663-1.476 1.476-1.476zm-11.953-9c-.813 0-1.476-.664-1.476-1.476v-.048c0-.812.663-1.476 1.476-1.476s1.476.664 1.476 1.476v.048c0 .812-.663 1.476-1.476 1.476zM9 8.977v.046c0 .812-.665 1.478-1.476 1.478-.813 0-1.478-.666-1.478-1.478v-.046c0-.813.665-1.476 1.478-1.476C8.335 7.5 9 8.164 9 8.977zM14.976 15c.813 0 1.476.665 1.476 1.476v.048c0 .811-.663 1.476-1.476 1.476s-1.476-.665-1.476-1.476v-.048c0-.811.663-1.476 1.476-1.476zM13.5 9c0 .826.673 1.5 1.5 1.5.826 0 1.5-.674 1.5-1.5 0-.828-.674-1.5-1.5-1.5-.827 0-1.5.672-1.5 1.5zM.438 23.562c-.584-.584-.584-1.538 0-2.121L10.95 10.929c-.28-.587-.45-1.236-.45-1.929 0-2.486 2.014-4.5 4.5-4.5 2.485 0 4.5 2.014 4.5 4.5s-2.015 4.5-4.5 4.5c-.693 0-1.343-.17-1.93-.45L2.56 23.562c-.291.291-.677.438-1.06.438-.385 0-.77-.147-1.061-.438z",fill:"currentColor"})});i();var A2=require("react/jsx-runtime"),q8=({...e})=>(0,A2.jsx)("svg",{...e,children:(0,A2.jsx)("path",{d:"M4.34613 4.96935C8.44672.120432 18.4987 1.09801 18.3725 10.1232c-.0251 1.7929-.4336 3.2246-1.0999 4.3489 1.4827 1.707 4.4974 5.2485 4.5332 5.8655.0475.8186-.696 1.5695-1.6161 1.576-.6833.0048-3.0833-2.6413-4.7621-4.4923-.1898-.2092-.3703-.4082-.538-.5921-3.2216 1.8911-7.83109 1.273-10.01973-.223C1.33648 14.191 1.4437 8.40148 4.34613 4.96935Zm4.93672 1.64027c0-.55228.44771-1 .99995-1 .5523 0 1 .44772 1 1v2.43714h2.4371c.5523 0 1 .44771 1 1.00004 0 .5522-.4477 1-1 1h-2.4371v2.437c0 .5523-.4477 1-1 1-.55224 0-.99995-.4477-.99995-1v-2.437h-2.4371c-.55229 0-1-.4478-1-1 0-.55233.44771-1.00004 1-1.00004h2.4371V6.60962Z",fill:"currentColor",fillRule:"evenodd"})});i();var B2=require("react/jsx-runtime"),X8=({...e})=>(0,B2.jsx)("svg",{...e,children:(0,B2.jsx)("path",{d:"M4.94612 4.96935C9.04672.120432 19.0987 1.09801 18.9725 10.1232c-.0251 1.7929-.4336 3.2246-1.0999 4.3489 1.4827 1.707 4.4974 5.2485 4.5332 5.8655.0475.8186-.696 1.5695-1.6161 1.576-.6833.0048-3.0833-2.6413-4.7621-4.4923-.1898-.2092-.3703-.4082-.538-.5921-3.2216 1.8911-7.83109 1.273-10.01973-.223C1.93648 14.191 2.0437 8.40148 4.94612 4.96935Zm1.49962 5.07745c0 .5522.44772 1 1 1h6.87416c.5523 0 1-.4478 1-1 0-.55233-.4477-1.00004-1-1.00004H7.44574c-.55228 0-1 .44771-1 1.00004Z",fill:"currentColor"})});var Y8=require("react/jsx-runtime"),p1={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},Le=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(se(n))throw new Error("An Icon component requires a `type` prop to be provided");if(se(ef[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(se(p1[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=F2[ef[n]],s={verticalAlign:"middle",...r};return(0,Y8.jsx)(a,{"aria-hidden":"true",color:e,height:`${p1[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${p1[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};Le.displayName="Icon_VHS";var bt=require("react/jsx-runtime"),pA=ki.default.span`
|
|
477
|
+
`,x7=({children:e,...t})=>{let{duration:r}=Kt();return(0,Yn.jsxs)(Yn.Fragment,{children:[(0,Yn.jsx)(hA,{animationDuration:r.expressive.fast}),(0,Yn.jsx)(Pi,{appear:!0,classNames:"Toast",mountOnEnter:!0,timeout:Number.parseInt(r.expressive.fast,10),unmountOnExit:!0,...t,children:e})]})};i();var n6=require("react");i();var ki=z(require("styled-components"));i();i();i();var e2={"ab-test":"AbTestIcon","all-content":"AllContentIcon",archived:"ArchivedIcon","arrow-down":"ArrowDownIcon","arrow-left":"ArrowLeftIcon","arrow-right":"ArrowRightIcon","arrow-up":"ArrowUpIcon",asterisk:"AsteriskIcon",audience:"AudienceIcon",calendar:"CalendarIcon","caret-down":"CaretDownIcon","caret-left":"CaretLeftIcon","caret-right":"CaretRightIcon","caret-up":"CaretUpIcon",channel:"ChannelIcon",checkmark:"CheckmarkIcon","checkmark-circle":"CheckmarkCircleIcon",close:"CloseIcon",community:"CommunityIcon","contact-us":"ContactUsIcon",copy:"LinkIcon","copy-disabled":"CopyDisabledIcon",create:"CreateIcon",delete:"DeleteIcon","delete-sm":"DeleteSmIcon",download:"DownloadIcon",edit:"PencilIcon",embed:"EmbedIcon",ellipsis:"EllipsisIcon",episodes:"EpisodesIcon",expand:"ExpandIcon",export:"DownloadIcon",error:"TriangleIcon",favorite:"FavoriteIcon","favorite-outline":"FavoriteOutlineIcon",filter:"FilterIcon",gear:"GearIcon","getting-started":"GettingStartedIcon","grid-view":"GridViewIcon",hamburger:"HamburgerIcon",hazard:"HazardIcon","help-center":"HelpCenterIcon",hide:"HideIcon",home:"HomeIcon",hourglass:"HourglassIcon",integrations:"IntegrationsIcon",link:"LinkIcon","list-view":"ListViewIcon",live:"LiveIcon",lock:"LockIcon",logout:"LogoutIcon",media:"MediaIcon",megaphone:"MegaphoneIcon","more-options":"MoreOptionsIcon","open-new":"OpenNewIcon",overview:"OverviewIcon",paint:"PaintIcon",pencil:"PencilIcon",podcast:"PodcastIcon",preview:"PreviewIcon","private-user-sessions":"PrivateUserSessionsIcon",project:"ProjectIcon","question-mark":"QuestionMarkIcon",react:"ReactIcon",redo:"RedoIcon",replace:"ReplaceIcon",reply:"ReplyIcon","save-copy":"SaveCopyIcon",scissors:"ScissorsIcon",search:"SearchIcon",send:"SendIcon",settings:"SettingsIcon",share:"ShareIcon",soapbox:"SoapboxIcon",sparkle:"SparkleIcon",spinner:"SpinnerIcon",stats:"StatsIcon","switch-accounts":"SwitchAccountsIcon",tag:"TagIcon","thumbs-down":"ThumbsDownIcon","thumbs-up":"ThumbsUpIcon",triangle:"TriangleIcon",undo:"UndoIcon",unlock:"UnlockIcon",upload:"UploadIcon","users-permissions":"UsersPermissionsIcon","view-stream":"ViewStreamIcon",wand:"WandIcon","zoom-in":"ZoomInIcon","zoom-out":"ZoomOutIcon"};var Of={};wo(Of,{AbTestIcon:()=>E7,AllContentIcon:()=>w7,ArchivedIcon:()=>S7,ArrowDownIcon:()=>T7,ArrowLeftIcon:()=>A7,ArrowRightIcon:()=>B7,ArrowUpIcon:()=>F7,AsteriskIcon:()=>M7,AudienceIcon:()=>O7,CalendarIcon:()=>P7,CaretDownIcon:()=>R7,CaretLeftIcon:()=>I7,CaretRightIcon:()=>L7,CaretUpIcon:()=>k7,ChannelIcon:()=>N7,CheckmarkCircleIcon:()=>Z7,CheckmarkIcon:()=>$7,CloseIcon:()=>H7,CommunityIcon:()=>z7,ContactUsIcon:()=>V7,CopyDisabledIcon:()=>j7,CreateIcon:()=>W7,DeleteIcon:()=>U7,DeleteSmIcon:()=>_7,DownloadIcon:()=>K7,EllipsisIcon:()=>G7,EmbedIcon:()=>q7,EpisodesIcon:()=>X7,ExpandIcon:()=>Y7,FavoriteIcon:()=>J7,FavoriteOutlineIcon:()=>Q7,FilterIcon:()=>e8,GearIcon:()=>t8,GettingStartedIcon:()=>r8,GridViewIcon:()=>n8,HamburgerIcon:()=>o8,HazardIcon:()=>a8,HelpCenterIcon:()=>i8,HideIcon:()=>s8,HomeIcon:()=>u8,HourglassIcon:()=>l8,IntegrationsIcon:()=>c8,LinkIcon:()=>f8,ListViewIcon:()=>p8,LiveIcon:()=>d8,LockIcon:()=>m8,LogoutIcon:()=>h8,MediaIcon:()=>g8,MegaphoneIcon:()=>v8,MoreOptionsIcon:()=>C8,OpenNewIcon:()=>b8,OverviewIcon:()=>y8,PaintIcon:()=>D8,PencilIcon:()=>x8,PodcastIcon:()=>E8,PreviewIcon:()=>w8,PrivateUserSessionsIcon:()=>S8,ProjectIcon:()=>T8,QuestionMarkIcon:()=>A8,ReactIcon:()=>B8,RedoIcon:()=>F8,ReplaceIcon:()=>M8,ReplyIcon:()=>O8,SaveCopyIcon:()=>P8,ScissorsIcon:()=>R8,SearchIcon:()=>I8,SendIcon:()=>L8,SettingsIcon:()=>k8,ShareIcon:()=>N8,SoapboxIcon:()=>$8,SparkleIcon:()=>Z8,SpinnerIcon:()=>H8,StatsIcon:()=>z8,SwitchAccountsIcon:()=>V8,TagIcon:()=>j8,ThumbsDownIcon:()=>W8,ThumbsUpIcon:()=>U8,TriangleIcon:()=>_8,UndoIcon:()=>K8,UnlockIcon:()=>G8,UploadIcon:()=>q8,UsersPermissionsIcon:()=>X8,ViewStreamIcon:()=>Y8,WandIcon:()=>J8,ZoomInIcon:()=>Q8,ZoomOutIcon:()=>e6});i();i();var t2=require("react/jsx-runtime"),E7=({...e})=>(0,t2.jsx)("svg",{...e,children:(0,t2.jsx)("path",{d:"M8.85497352,2.11301778 C6.91962352,2.35453778 6.99570352,3.17263778 7.04697352,3.72398778 L7.04697352,3.72406778 C7.04968352,3.75319778 7.05232352,3.78158778 7.05459352,3.80910778 C7.09982352,4.35742778 7.61151352,5.44636778 8.85497352,5.44636778 L8.87209352,5.44636778 L8.87204352,5.46067778 C8.87204352,5.46067778 9.12950352,8.33151778 8.87204352,9.78882778 C8.70475352,10.7357078 8.25788352,11.3857078 7.75735352,12.0283078 C8.46963352,12.0655078 9.22546352,12.1415078 10.0175635,12.2666078 C10.5630635,12.3528078 10.9354635,12.8648078 10.8492635,13.4104078 C10.7630635,13.9559078 10.2510635,14.3283078 9.70546352,14.2421078 C8.40897352,14.0373078 7.22998352,13.9785078 6.20893352,14.0075078 C5.52206352,14.8684078 4.47078352,16.2135078 3.60174352,17.4440078 C5.15685352,17.4865078 7.11075352,17.5219078 9.56536352,17.3945078 C10.1169635,17.3659078 10.5872635,17.7898078 10.6158635,18.3414078 C10.6444635,18.8929078 10.2205635,19.3632078 9.66906352,19.3918078 C6.84062352,19.5386078 4.56314352,19.4735078 2.91575352,19.4264078 C2.72005352,19.4208078 2.53324352,19.4155078 2.35545352,19.4108078 C1.48487352,21.1679078 2.25242352,21.8970078 4.23140352,22.1130078 C6.38331352,22.3478078 18.1893635,22.4548078 20.1451635,22.1130078 C22.1010635,21.7712078 22.7580635,20.2181078 21.7545635,18.9255078 C20.7509635,17.6329078 17.9502635,13.6002078 17.0812635,12.1639078 C16.8620635,11.8016078 16.6541635,11.4826078 16.4656635,11.1932078 C15.9068635,10.3354078 15.5178635,9.73842778 15.5068635,9.04881778 L15.5069635,5.46067778 L15.5068635,5.44636778 L15.5216635,5.44636778 C17.0565635,5.39817778 17.1882635,4.70016778 17.1882635,3.77968778 C17.1882635,2.85921778 16.4420635,2.11301778 15.5216635,2.11301778 C15.5216635,2.11301778 10.8926635,1.85872778 8.85497352,2.11301778 Z",fill:"currentColor"})});i();var r2=require("react/jsx-runtime"),w7=({...e})=>(0,r2.jsx)("svg",{...e,children:(0,r2.jsx)("path",{d:"M3.09058864,3.5023 C3.64288864,3.5023 4.09058864,3.95 4.09058864,4.5023 L4.09058864,4.5023 L4.08967172,5.20417534 C4.07949358,9.13954475 3.98824975,12.3551 4.00118864,14.9799 C4.00798864,16.3386 4.04378864,17.4526 4.13108864,18.31 C4.20208864,19.0068462 4.29965669,19.4362959 4.38788018,19.6742708 L4.392,19.685 L4.43789024,19.702504 C4.45742144,19.709478 4.47959604,19.716987 4.50465034,19.7249225 L4.58868864,19.7499 C4.85418864,19.8241 5.23218864,19.8908 5.72738864,19.9451 C6.71388864,20.0532 8.03578864,20.099 9.57978864,20.1095 C12.7234886,20.1308 16.4323886,20.0102 20.0208886,20.0102 L20.0208886,20.0102 L20.1375126,20.0169275 C20.6348616,20.0746908 21.0208886,20.49735 21.0208886,21.0102 C21.0208886,21.5624 20.5731886,22.0102 20.0208886,22.0102 L20.0208886,22.0102 L19.2829036,22.0119417 C16.0509335,22.026625 12.4076172,22.1287214 9.56618864,22.1095 C8.00818864,22.0989 6.60208864,22.0529 5.50938864,21.9332 C4.96498864,21.8735 4.46568864,21.7922 4.05028864,21.6761 C3.68008864,21.5726 3.19478864,21.3953 2.86528864,21.0271 L2.86528864,21.0271 L2.80797614,20.9568375 L2.80797614,20.9568375 L2.75718864,20.8817 L2.65433464,20.6957175 C2.36314864,20.114493 2.22472864,19.33008 2.14138864,18.5127 C2.04398864,17.5559 2.00808864,16.3633 2.00118864,14.9898 C1.98788864,12.3045 2.09058864,8.5792 2.09058864,4.5022 L2.09058864,4.5022 L2.09731616,4.38567606 C2.15507946,3.88832704 2.57773864,3.5023 3.09058864,3.5023 Z M9.64628553,2.1259328 L10.1768392,2.1518833 C12.0384466,2.24376331 13.8905886,2.3433 13.8905886,2.3433 C13.8905886,2.3433 14.9329353,2.32501022 16.1081043,2.32257917 L16.5532422,2.3224776 C17.4488646,2.324028 18.3552486,2.3369 18.8886886,2.3755 C21.4526886,2.5977 21.5158886,3.5164 21.5912886,4.6125 C21.6030886,4.7845 21.6152886,4.961 21.6373886,5.1398 C21.9095886,7.2612 22.1000886,10.0539 22.1000886,11.6611 C22.1000886,13.3004 22.0455886,16.8475 21.8550886,17.1368 C21.5829886,17.5546 21.1202886,18.1332 19.2152886,17.9725 C17.6998682,17.8446705 12.1204343,17.7371521 9.42192765,17.7308792 L8.98884368,17.7308107 C8.51952759,17.7319232 8.18132273,17.7372705 8.02978864,17.7475 C7.07728864,17.8118 5.96148864,17.6832 5.77098864,16.6225 C5.59157436,15.7043114 5.54883909,13.3622799 5.55729131,10.9215563 L5.56156224,10.1490664 C5.57503264,8.346148 5.61140864,6.56538 5.63648864,5.3369 C5.65128864,4.6144 5.66208864,4.0829 5.66208864,3.8503 C5.66208864,3.8379 5.66168864,3.8195 5.66108864,3.796 C5.65298864,3.4518 5.61858864,2 6.52938864,2 C6.92865018,2 8.23927845,2.05778093 9.64628553,2.1259328 Z M11.3320886,7.1395 C11.2964676,8.08526842 11.2908432,10.6840452 11.2899552,12.1518162 L11.2897886,12.8398 L11.2897886,12.8398 C11.2897886,13.0093 11.4589886,13.1153 11.6069886,13.0305 C12.5794886,12.4795 15.4969886,10.7842 16.3214886,9.7035 C16.4060886,9.5975 16.3637886,9.4492 16.2580886,9.3856 L11.6491886,6.97 C11.5011886,6.8852 11.3320886,6.9912 11.3320886,7.1395 Z",fill:"currentColor"})});i();var Ii=require("react/jsx-runtime"),S7=({...e})=>(0,Ii.jsxs)("svg",{...e,children:[(0,Ii.jsx)("path",{clipRule:"evenodd",d:"M2.113 13.481c-.044-1.45-.09-2.957.054-4.138.018-.144.027-.28.036-.408C2.267 7.992 2.305 7.442 5.5 7c4.033-.558 11.675-.279 15.497.892.793.243.8.633.817 1.463.002.125.005.26.01.406.017.296.038.564.059.83.057.735.112 1.452.081 2.702-.01.333-.01.855-.01 1.48-.002 1.945-.003 4.894-.308 6.329-.191.948-1.571.976-2.739.836-1.167-.139-10.49-.403-12.805-.403-2.314 0-3.251-.353-3.591-.743-.485-.557-.429-2.52-.375-4.422l.01-.316c.02-.771-.006-1.66-.033-2.573Zm4.908-3.233c-.105.297-.167 1.027.149 1.376.315.348 2.867.274 2.867.274s6.387.08 6.747.068c.095-.011.133-.144.17-.274l.023-.075c.148-.47-.167-1.123-.465-1.175a39.267 39.267 0 0 0-4.482-.408c-1.957-.054-4.895-.083-5.009.214Z",fill:"currentColor",fillRule:"evenodd"}),(0,Ii.jsx)("path",{d:"M1.73 4c.004.608-.017.917.27 1.247.34.39 1.69-.107 4-.247 2.787-.33 8 0 11 0 2.821 0 4.812 1.195 5.003.247C22.003 4.107 22 5.241 22 4c0-.5-.57-.975-1.003-1.108C17.175 1.722 9.533 1.442 5.5 2c-3.63.502-3.62.8-3.77 2Z",fill:"currentColor"})]});i();var n2=require("react/jsx-runtime"),T7=({...e})=>(0,n2.jsx)("svg",{...e,children:(0,n2.jsx)("path",{d:"m11.750808 21.3496515c.610905.55965 1.55973.51795 2.11932-.093.5595-.6108.51795-1.5597-.093-2.1192l-6.154755-5.63745h12.681105c.8283 0 1.5-.671565 1.5-1.5 0-.82842-.6717-1.5-1.5-1.5h-12.681045l6.154695-5.63736c.61095-.55956.6525-1.508385.093-2.11929-.559575-.61089-1.508415-.652515-2.11932-.09297l-9 8.24352c-.3102.28413-.48684.68547-.48684 1.10613s.17664.822.48684 1.10613z",fill:"currentColor",transform:"rotate(-90,12,12)"})});i();var o2=require("react/jsx-runtime"),A7=({...e})=>(0,o2.jsx)("svg",{...e,children:(0,o2.jsx)("path",{d:"m11.750808 21.3496515c.610905.55965 1.55973.51795 2.11932-.093.5595-.6108.51795-1.5597-.093-2.1192l-6.154755-5.63745h12.681105c.8283 0 1.5-.671565 1.5-1.5 0-.82842-.6717-1.5-1.5-1.5h-12.681045l6.154695-5.63736c.61095-.55956.6525-1.508385.093-2.11929-.559575-.61089-1.508415-.652515-2.11932-.09297l-9 8.24352c-.3102.28413-.48684.68547-.48684 1.10613s.17664.822.48684 1.10613z",fill:"currentColor"})});i();var a2=require("react/jsx-runtime"),B7=({...e})=>(0,a2.jsx)("svg",{...e,children:(0,a2.jsx)("path",{d:"m11.750808 21.3496515c.610905.55965 1.55973.51795 2.11932-.093.5595-.6108.51795-1.5597-.093-2.1192l-6.154755-5.63745h12.681105c.8283 0 1.5-.671565 1.5-1.5 0-.82842-.6717-1.5-1.5-1.5h-12.681045l6.154695-5.63736c.61095-.55956.6525-1.508385.093-2.11929-.559575-.61089-1.508415-.652515-2.11932-.09297l-9 8.24352c-.3102.28413-.48684.68547-.48684 1.10613s.17664.822.48684 1.10613z",fill:"currentColor",transform:"rotate(180,12,12)"})});i();var i2=require("react/jsx-runtime"),F7=({...e})=>(0,i2.jsx)("svg",{...e,children:(0,i2.jsx)("path",{d:"m11.750808 21.3496515c.610905.55965 1.55973.51795 2.11932-.093.5595-.6108.51795-1.5597-.093-2.1192l-6.154755-5.63745h12.681105c.8283 0 1.5-.671565 1.5-1.5 0-.82842-.6717-1.5-1.5-1.5h-12.681045l6.154695-5.63736c.61095-.55956.6525-1.508385.093-2.11929-.559575-.61089-1.508415-.652515-2.11932-.09297l-9 8.24352c-.3102.28413-.48684.68547-.48684 1.10613s.17664.822.48684 1.10613z",fill:"currentColor",transform:"rotate(90,12,12)"})});i();var s2=require("react/jsx-runtime"),M7=({...e})=>(0,s2.jsx)("svg",{...e,children:(0,s2.jsx)("polygon",{fill:"currentColor",points:"14.931 24 14.323 16.036 21.069 20.509 24 15.545 16.037 11.945 24 8.4 21.069 3.436 14.323 7.964 14.931 0 9.069 0 9.622 8.018 2.876 3.491 0 8.455 7.797 12 0 15.491 2.876 20.4 9.622 15.927 9.069 24"})});i();var u2=require("react/jsx-runtime"),O7=({...e})=>(0,u2.jsx)("svg",{...e,children:(0,u2.jsx)("path",{d:"M11.1744118,3.04658946 C13.8579118,5.38346946 13.3169118,11.1119195 8.32206181,11.0400195 C3.32723181,10.9681195 3.29124181,5.77637946 4.62788181,3.76273946 C5.96453181,1.74909946 9.27494181,1.39252946 11.1744118,3.04658946 Z M19.6854118,11.5171195 C21.1904118,12.8276195 20.8870118,16.0401195 18.0859118,15.9998195 C15.2848118,15.9594195 15.2646118,13.0479195 16.0142118,11.9187195 C16.7638118,10.7895195 18.6203118,10.5895195 19.6854118,11.5171195 Z M2.68741181,21.8507195 C2.36196181,21.8648195 2.06982181,21.4930195 2.04301181,21.0421195 C1.89156181,18.6847195 2.08994181,15.7769195 3.45591181,13.9617195 C6.32450181,10.1695195 12.9168118,12.4251195 14.0565118,16.0751195 C14.2925118,16.8108195 14.4573118,17.6103195 14.5526118,18.4396195 C14.6897118,18.2796195 14.8244118,18.1297195 14.9510118,17.9930195 C16.7111118,16.1026195 20.7558118,17.2270195 21.4551118,19.0465195 C21.7516118,19.7975195 21.8647118,20.6819195 21.8043118,21.5542195 C21.7945118,21.7980195 21.5954118,22.0019195 21.3537118,22.0000195 L13.9045118,22.0000195 L13.8913118,22.0000195 L13.8891118,22.0000195 L13.4407118,22.0000195 C13.4172118,22.0008195 13.3936118,21.9984195 13.3701118,21.9931195 L2.68741181,21.8507195 Z",fill:"currentColor"})});i();var l2=require("react/jsx-runtime"),P7=({...e})=>(0,l2.jsx)("svg",{...e,children:(0,l2.jsx)("path",{clipRule:"evenodd",d:"M7.5 2.9895C8.32843 2.9895 9 3.66107 9 4.4895V5.99991V5.99994H15C15 5.99993 15 5.99992 15 5.99991V4.4895C15 3.66107 15.6716 2.9895 16.5 2.9895C17.3284 2.9895 18 3.66107 18 4.4895V5.99991C18 5.99992 18 5.99993 18 5.99994H19.5C20.3284 5.99994 21 6.67151 21 7.49994V8.99994C21 9.82837 20.3284 10.4999 19.5 10.4999H4.5C3.67157 10.4999 3 9.82837 3 8.99994V7.49994C3 6.67151 3.67157 5.99994 4.5 5.99994H6V5.99991V4.4895C6 3.66107 6.67157 2.9895 7.5 2.9895ZM4.5 11.9999C3.67157 11.9999 3 12.6715 3 13.4999V19.4999C3 20.3284 3.67157 20.9999 4.5 20.9999H19.5C20.3284 20.9999 21 20.3284 21 19.4999V13.4999C21 12.6715 20.3284 11.9999 19.5 11.9999H4.5Z",fill:"currentColor",fillRule:"evenodd"})});i();var c2=require("react/jsx-runtime"),R7=({...e})=>(0,c2.jsx)("svg",{...e,children:(0,c2.jsx)("path",{d:"M2.68580668,7.23810271 C3.20973443,6.66479163 4.07637475,6.59142865 4.6865449,7.04498115 L4.80498179,7.14272518 L11.999,13.718 L19.1949762,7.14272794 C19.7682858,6.61879863 20.6380126,6.6235818 21.2049737,7.13011174 L21.3141516,7.23809969 C21.8380809,7.81140934 21.8332977,8.68113614 21.3267678,9.24809725 L21.2187798,9.35727506 L13.0119048,16.8572751 C12.4771172,17.3460003 11.676781,17.378583 11.1065857,16.9550226 L10.9881042,16.8572778 L2.78118421,9.35727782 C2.16965239,8.79842155 2.12695041,7.84963454 2.68580668,7.23810271 Z",fill:"currentColor"})});i();var f2=require("react/jsx-runtime"),I7=({...e})=>(0,f2.jsx)("svg",{...e,children:(0,f2.jsx)("path",{d:"M2.68580668,7.23810271 C3.20973443,6.66479163 4.07637475,6.59142865 4.6865449,7.04498115 L4.80498179,7.14272518 L11.999,13.718 L19.1949762,7.14272794 C19.7682858,6.61879863 20.6380126,6.6235818 21.2049737,7.13011174 L21.3141516,7.23809969 C21.8380809,7.81140934 21.8332977,8.68113614 21.3267678,9.24809725 L21.2187798,9.35727506 L13.0119048,16.8572751 C12.4771172,17.3460003 11.676781,17.378583 11.1065857,16.9550226 L10.9881042,16.8572778 L2.78118421,9.35727782 C2.16965239,8.79842155 2.12695041,7.84963454 2.68580668,7.23810271 Z",fill:"currentColor",transform:"rotate(90 12 12)"})});i();var p2=require("react/jsx-runtime"),L7=({...e})=>(0,p2.jsx)("svg",{...e,children:(0,p2.jsx)("path",{d:"M2.68580668,7.23810271 C3.20973443,6.66479163 4.07637475,6.59142865 4.6865449,7.04498115 L4.80498179,7.14272518 L11.999,13.718 L19.1949762,7.14272794 C19.7682858,6.61879863 20.6380126,6.6235818 21.2049737,7.13011174 L21.3141516,7.23809969 C21.8380809,7.81140934 21.8332977,8.68113614 21.3267678,9.24809725 L21.2187798,9.35727506 L13.0119048,16.8572751 C12.4771172,17.3460003 11.676781,17.378583 11.1065857,16.9550226 L10.9881042,16.8572778 L2.78118421,9.35727782 C2.16965239,8.79842155 2.12695041,7.84963454 2.68580668,7.23810271 Z",fill:"currentColor",transform:"rotate(-90 12 12)"})});i();var d2=require("react/jsx-runtime"),k7=({...e})=>(0,d2.jsx)("svg",{...e,children:(0,d2.jsx)("path",{d:"M2.68580668,7.23810271 C3.20973443,6.66479163 4.07637475,6.59142865 4.6865449,7.04498115 L4.80498179,7.14272518 L11.999,13.718 L19.1949762,7.14272794 C19.7682858,6.61879863 20.6380126,6.6235818 21.2049737,7.13011174 L21.3141516,7.23809969 C21.8380809,7.81140934 21.8332977,8.68113614 21.3267678,9.24809725 L21.2187798,9.35727506 L13.0119048,16.8572751 C12.4771172,17.3460003 11.676781,17.378583 11.1065857,16.9550226 L10.9881042,16.8572778 L2.78118421,9.35727782 C2.16965239,8.79842155 2.12695041,7.84963454 2.68580668,7.23810271 Z",fill:"currentColor",transform:"rotate(-180 12 12)"})});i();var m2=require("react/jsx-runtime"),N7=({...e})=>(0,m2.jsx)("svg",{...e,children:(0,m2.jsx)("path",{clipRule:"evenodd",d:"M5.64571 1.19092C5.19893 0.866258 4.57355 0.965255 4.24889 1.41204C3.92423 1.85882 4.02322 2.48419 4.47 2.80886C5.75625 3.74353 6.95092 5.00735 8.01704 6.20703C6.38757 6.20371 5.0889 6.2273 4.54926 6.28789C2.56844 6.5103 2.31336 7.59249 2.09302 9.25911C1.87267 10.9257 2.11033 17.874 2.37512 19.4659C2.63991 21.0578 3.40531 21.7237 5.61415 21.6844C6.97804 21.6601 10.7581 21.7864 13.8385 21.8893C15.7466 21.953 17.3869 22.0078 18.0174 22.0123L18.03 22.0124C19.6726 22.024 21.003 22.0335 21.6139 20.7615C22.2264 19.4863 21.9782 11.1909 21.8801 9.61079C21.7819 8.03071 21.2479 6.89398 19.993 6.61776C19.5898 6.52901 18.0558 6.44028 16.0935 6.36809C17.0728 5.28349 18.2296 4.02372 19.6219 2.73331C20.0269 2.35789 20.051 1.72518 19.6755 1.32012C19.3001 0.915059 18.6674 0.891035 18.2623 1.26646C16.6523 2.7587 15.3349 4.22137 14.2939 5.3771C14.1002 5.59218 13.9161 5.79665 13.7414 5.98868C13.6467 6.09275 13.5555 6.19241 13.4676 6.28764C12.5521 6.2645 11.613 6.24544 10.7013 6.23164C10.5417 6.0511 10.3732 5.8585 10.1952 5.65501L10.0863 5.5306C8.90401 4.17976 7.37355 2.44649 5.64571 1.19092ZM15.5061 13.6124C14.4284 15.025 10.6149 17.2409 9.34376 17.961C9.15032 18.0718 8.92925 17.9333 8.92925 17.7117C8.92925 16.2437 8.92925 11.729 8.98452 10.261C8.98452 10.0671 9.20559 9.9286 9.39902 10.0394L15.4232 13.197C15.5614 13.2801 15.6166 13.4739 15.5061 13.6124Z",fill:"currentColor",fillRule:"evenodd"})});i();var h2=require("react/jsx-runtime"),$7=({...e})=>(0,h2.jsx)("svg",{...e,children:(0,h2.jsx)("path",{d:"M8.15146499,20.5455992 L0.351457374,12.7455915 C-0.117152458,12.2769817 -0.117152458,11.5171841 0.351457374,11.0485274 L2.04847466,9.35146323 C2.51708449,8.88280653 3.27692898,8.88280653 3.74553881,9.35146323 L9,14.6058746 L20.2544612,3.35145737 C20.723071,2.88284754 21.4829155,2.88284754 21.9515253,3.35145737 L23.6485426,5.04852153 C24.1171525,5.51713136 24.1171525,6.27692898 23.6485426,6.74558569 L9.84852915,20.545646 C9.37987244,21.0142559 8.62007482,21.0142559 8.15146499,20.5455992 L8.15146499,20.5455992 Z",fill:"currentColor"})});i();var g2=require("react/jsx-runtime"),Z7=({...e})=>(0,g2.jsx)("svg",{...e,children:(0,g2.jsx)("path",{clipRule:"evenodd",d:"M21.8158 14.5648C24.914 3.61651 12.9934 -0.853411 6.41834 3.71292C1.76446 6.94504 -0.254989 13.9595 3.25939 18.0532C6.77378 22.1468 18.7175 25.513 21.8158 14.5648ZM17.7151 8.699C18.1012 8.30404 18.0939 7.67092 17.699 7.28487C17.304 6.89883 16.6709 6.90605 16.2849 7.301L10.1579 13.5694L7.71513 11.0702C7.32908 10.6753 6.69596 10.6681 6.301 11.0541C5.90605 11.4402 5.89883 12.0733 6.28488 12.4682L9.44277 15.699C9.63092 15.8915 9.88873 16 10.1579 16C10.4271 16 10.6849 15.8915 10.873 15.699L17.7151 8.699Z",fill:"currentColor",fillRule:"evenodd"})});i();var v2=require("react/jsx-runtime"),H7=({...e})=>(0,v2.jsx)("svg",{...e,children:(0,v2.jsx)("path",{d:"M18.643128,20.7643515 C19.228878,21.3502515 20.178678,21.3502515 20.764428,20.7643515 C21.350178,20.1786015 21.350178,19.2288015 20.764428,18.6430515 L14.121378,12.0000015 L20.764428,5.3569065 C21.350178,4.7711115 21.350178,3.8213715 20.764428,3.2355765 C20.178678,2.6497965 19.228878,2.6497965 18.643128,3.2355765 L12.000018,9.8786715 L5.356893,3.2355465 C4.771098,2.6497515 3.821358,2.6497515 3.235563,3.2355465 C2.649783,3.8213265 2.649783,4.7710815 3.235563,5.3568615 L9.878703,12.0000015 L3.235578,18.6430515 C2.649783,19.2289515 2.649783,20.1786015 3.235578,20.7645015 C3.821358,21.3502515 4.771113,21.3502515 5.356893,20.7645015 L12.000018,14.1213165 L18.643128,20.7643515 Z",fill:"currentColor"})});i();var C2=require("react/jsx-runtime"),z7=({...e})=>(0,C2.jsx)("svg",{...e,children:(0,C2.jsx)("path",{d:"M14.6037711,3.14263542 C14.9618711,3.31048542 15.2776711,3.45849542 15.5410711,3.55311542 L15.5592711,3.55965542 C16.7729711,3.99564542 20.8389711,5.45621542 21.4829711,7.92883542 C22.0342711,10.0458854 21.0901711,12.1085854 20.1394711,14.1855854 C19.9741711,14.5467854 19.8086711,14.9084854 19.6507711,15.2708854 C19.6134711,15.3564854 19.5764711,15.4415854 19.5395711,15.5262854 C18.0997711,18.8338854 16.9837711,21.3975854 14.9636711,21.9098854 C12.8917711,22.4353854 9.89437112,21.1774854 7.38953112,19.9919854 C7.33942112,19.9675854 7.28884112,19.9428854 7.23785112,19.9180854 C5.28153112,18.9655854 2.71463112,17.7157854 2.12501112,15.7124854 C1.52002112,13.6568854 3.24993112,9.67638542 4.33680112,7.77435542 C4.53878112,7.42088542 4.72983112,7.04847542 4.92429112,6.66940542 C5.77620112,5.00874542 6.69357112,3.22048542 8.88276112,2.33840542 C11.0363711,1.47065542 13.1627711,2.46726542 14.6037711,3.14263542 Z M12.4162711,5.28299542 C11.9224711,5.03580542 11.3216711,5.23576542 11.0744711,5.72963542 L11.0744711,5.72963542 L10.4321711,7.01273542 L9.14553112,6.36874542 C8.65165112,6.12155542 8.05088112,6.32152542 7.80366112,6.81538542 C7.55644112,7.30925542 7.75639112,7.90999542 8.25027112,8.15719542 L8.25027112,8.15719542 L9.53690112,8.80117542 L8.05799112,11.7555854 L6.64150112,11.0465854 C6.14763112,10.7993854 5.54686112,10.9993854 5.29964112,11.4931854 C5.05242112,11.9870854 5.25237112,12.5877854 5.74625112,12.8349854 L5.74625112,12.8349854 L7.16273112,13.5439854 L6.39654112,15.0745854 C6.14932112,15.5684854 6.34927112,16.1692854 6.84314112,16.4163854 C7.33702112,16.6635854 7.93779112,16.4636854 8.18501112,15.9697854 L8.18501112,15.9697854 L8.95121112,14.4391854 L11.8876711,15.9089854 L11.1389711,17.4044854 C10.8917711,17.8983854 11.0917711,18.4991854 11.5856711,18.7463854 C12.0794711,18.9934854 12.6802711,18.7935854 12.9274711,18.2996854 L12.9274711,18.2996854 L13.6761711,16.8040854 L15.0919711,17.5127854 C15.5858711,17.7599854 16.1866711,17.5599854 16.4338711,17.0660854 C16.6810711,16.5722854 16.4811711,15.9714854 15.9872711,15.7242854 L15.9872711,15.7242854 L14.5713711,15.0156854 L16.0502711,12.0612854 L17.5959711,12.8348854 C18.0898711,13.0820854 18.6906711,12.8821854 18.9378711,12.3882854 C19.1850711,11.8943854 18.9851711,11.2936854 18.4912711,11.0464854 L18.4912711,11.0464854 L16.9455711,10.2727854 L17.6053711,8.95470542 C17.8526711,8.46083542 17.6526711,7.86009542 17.1587711,7.61289542 C16.6649711,7.36570542 16.0641711,7.56567542 15.8169711,8.05953542 L15.8169711,8.05953542 L15.1570711,9.37766542 L12.2206711,7.90790542 L12.8629711,6.62480542 C13.1101711,6.13093542 12.9101711,5.53018542 12.4162711,5.28299542 Z M14.2618711,11.1660854 L12.7829711,14.1204854 L9.84647112,12.6506854 L11.3253711,9.69634542 L14.2618711,11.1660854 Z",fill:"currentColor"})});i();var b2=require("react/jsx-runtime"),V7=({...e})=>(0,b2.jsx)("svg",{...e,children:(0,b2.jsx)("path",{d:"M2,7.13052714 C3.02794,7.88514714 4.30848,8.95189714 5.61006,10.0361971 C5.61006,10.0361971 10.67432,13.9990971 11.42572,13.9990971 C13.28062,13.9990971 15.22492,12.1844971 16.59352,11.1244971 C17.91112,10.1039971 19.34022,8.91167714 20.65602,7.81394714 C20.82112,7.67620714 20.98452,7.53986714 21.14552,7.40563714 C21.14442,7.63562714 21.14902,7.85282714 21.17702,8.04694714 C21.57172,10.6866971 21.60962,16.2212971 21.17702,19.1438971 C20.86252,19.5582971 20.32772,20.1320971 18.12572,19.9726971 C15.92372,19.8132971 6.29792,19.6857971 5.19693,19.7495971 C4.09593,19.8132971 2.8062,19.6857971 2.586,18.6337971 C2.18336,16.8655971 2.0349,9.89132714 2,7.13052714 Z M18.43112,4.13116714 C19.71232,4.22645714 20.39302,4.61473714 20.75312,5.13193714 C20.29572,5.50950714 19.81932,5.90699714 19.33242,6.31331714 C18.03352,7.39711714 16.65922,8.54387714 15.36882,9.54330714 C14.40332,10.2911971 13.51712,10.9305971 12.77922,11.3786971 C12.41012,11.6028971 12.09772,11.7670971 11.84502,11.8725971 C11.60832,11.9714971 11.48182,12.0083971 11.25332,11.8809971 C11.02272,11.7523971 10.72112,11.5526971 10.35352,11.2851971 C9.62102,10.7520971 8.71424,10.0143971 7.73611,9.20317714 C7.4662,8.97932714 7.19007,8.74913714 6.91081,8.51631714 C6.694238,8.33576914 6.47576573,8.15363678 6.25682609,7.97165734 L5.60003791,7.42791502 C4.3986096,6.4382651 3.226388,5.50579314 2.32177,4.91953714 C2.55015,4.49334714 2.91372,4.13121714 3.46268,4.13122714 C5.03799,4.13124714 6.6817,4.09931714 8.34768,4.06694714 C11.74672,4.00090714 15.23842,3.93306714 18.43112,4.13116714 Z",fill:"currentColor"})});i();var y2=require("react/jsx-runtime"),j7=({...e})=>(0,y2.jsx)("svg",{...e,children:(0,y2.jsx)("path",{d:"M22.5857862,1.29289322 C22.9462701,1.65337718 22.9739997,2.22060824 22.6689748,2.61289944 L22.5857862,2.70710678 L2.70710678,22.5857862 C2.31658249,22.9763105 1.68341751,22.9763105 1.29289322,22.5857862 C0.932409257,22.2253022 0.904679722,21.6580712 1.20970461,21.2657799 L1.29289322,21.1715726 L21.1715726,1.29289322 C21.5620969,0.902368927 22.1952619,0.902368927 22.5857862,1.29289322 Z M16.656,10.05 L16.656228,19.5000015 C16.656228,20.3284515 15.984678,21.0000015 15.156228,21.0000015 L15.156228,21.0000015 L5.706,21 L16.656,10.05 Z M13.551,7.499 L3.156,17.894 L3.156288,8.9999865 C3.156288,8.22029709 3.75116911,7.57953861 4.51182676,7.50685315 L4.656288,7.4999865 L13.551,7.499 Z M20.9100713,5.79742045 C20.917623,5.88422164 20.921478,5.97208141 20.921478,6.0608415 L20.921478,6.0608415 L20.921478,15.8985015 C20.921478,16.7268015 20.249928,17.3985015 19.421478,17.3985015 C18.593028,17.3985015 17.921478,16.7268015 17.921478,15.8985015 L17.921478,15.8985015 L17.921,8.785 Z M17.921478,3.0608415 C17.9440028,3.0608415 17.9664697,3.06108977 17.988876,3.06158373 L14.99,6.06 L8.142438,6.0608415 C7.36274859,6.0608415 6.72199011,5.46594711 6.64930465,4.7053004 L6.642438,4.5608415 C6.642438,3.7324065 7.314018,3.0608415 8.142438,3.0608415 L8.142438,3.0608415 Z",fill:"currentColor"})});i();var D2=require("react/jsx-runtime"),W7=({...e})=>(0,D2.jsx)("svg",{...e,children:(0,D2.jsx)("path",{d:"M12 0c1.105 0 2 .895 2 2v8h8c1.105 0 2 .895 2 2s-.895 2-2 2h-8v8c0 1.105-.895 2-2 2s-2-.895-2-2v-8.001L2 14c-1.105 0-2-.895-2-2s.895-2 2-2l8-.001V2c0-1.105.895-2 2-2z",fill:"currentColor"})});i();var x2=require("react/jsx-runtime"),U7=({...e})=>(0,x2.jsx)("svg",{...e,children:(0,x2.jsx)("path",{d:"M14.903952,2.36857 C15.584752,2.54871 15.967652,4.26184 16.236552,5.487 C17.299152,5.51003 18.416752,5.55675 19.601752,5.63826 C20.152652,5.67616 20.568652,6.15354 20.530752,6.70452 C20.492852,7.25551 20.015452,7.67144 19.464452,7.63354 C16.207152,7.40949 13.468352,7.4553 10.933652,7.52994 C10.586252,7.54017 10.241852,7.55098 9.899852,7.56172 C7.758252,7.62898 5.712072,7.69325 3.618192,7.59161 C3.066562,7.56483 2.641082,7.09593 2.667852,6.5443 C2.694632,5.99266 3.163532,5.56718 3.715162,5.59396 C4.757282,5.64454 5.786062,5.65236 6.834752,5.63878 C6.924362,4.69385 7.673772,2.97833 8.332232,2.36857 C9.061402,1.69332 13.895552,2.10177 14.903952,2.36857 Z M6.364292,21.3077 C5.980182,19.517 4.928162,12.5353 4.756452,11.1965 C4.744062,11.0998 4.731222,11.0078 4.718992,10.9201 C4.561692,9.79247 4.503832,9.3777 6.769222,9.07226 C9.482152,8.70647 16.095052,8.61504 18.665252,9.38319 C19.198852,9.54214 19.203952,9.79779 19.214852,10.3422 C19.216552,10.4242 19.218352,10.5128 19.222052,10.6086 C19.222052,13.4444 18.528852,16.4417 17.866652,19.3049 L17.866552,19.305 L17.866552,19.305 L17.866552,19.305 L17.866552,19.3051 C17.710152,19.9814 17.555452,20.6502 17.412052,21.3077 C17.283552,21.9296 16.355452,21.9478 15.570052,21.8564 C14.784752,21.7649 10.133852,21.5638 8.577452,21.5638 C7.021102,21.5638 6.592742,21.5638 6.364292,21.3077 Z M15.343152,12.0831 C15.313352,11.5316 14.842152,11.1087 14.290652,11.1385 C13.739152,11.1683 13.316252,11.6395 13.346052,12.191 C13.376952,12.7621 13.319052,13.7773 13.223052,14.9625 C13.168652,15.6346 13.106452,16.3121 13.046752,16.9638 L13.046652,16.9643 C13.000752,17.4651 12.956252,17.9506 12.917652,18.4065 C12.871152,18.9569 13.279552,19.4407 13.829852,19.4872 C14.380152,19.5338 14.864052,19.1254 14.910552,18.575 C14.945652,18.1598 14.989452,17.6811 15.035452,17.1788 L15.035452,17.1783 L15.035652,17.1771 L15.035652,17.1769 L15.035652,17.1767 L15.035652,17.1761 L15.035752,17.1756 C15.097352,16.5022 15.162852,15.7864 15.216552,15.124 C15.310552,13.9629 15.382552,12.812 15.343152,12.0831 Z M9.778552,19.4924 C10.328752,19.5403 10.813552,19.133 10.861452,18.5828 C10.924652,17.8556 10.890552,16.703 10.834552,15.5394 C10.802652,14.8751 10.760652,14.1571 10.721052,13.4816 L10.721052,13.481 C10.691552,12.977 10.663452,12.4966 10.641952,12.0802 C10.613452,11.5286 10.143252,11.1046 9.591752,11.133 C9.040192,11.1615 8.616132,11.6317 8.644592,12.1832 C8.668172,12.6403 8.696762,13.1272 8.726262,13.6294 L8.726282,13.6297 L8.726302,13.6301 C8.764652,14.2831 8.804532,14.9622 8.836892,15.6354 C8.893992,16.8232 8.918522,17.8396 8.868952,18.4095 C8.821092,18.9597 9.228352,19.4445 9.778552,19.4924 Z",fill:"currentColor"})});i();var E2=require("react/jsx-runtime"),_7=({...e})=>(0,E2.jsx)("svg",{...e,children:(0,E2.jsx)("path",{d:"M8.84509647,4.78040941 C9.08423529,4.30211765 9.57307294,4 10.1078071,4 L14.0098118,4 C14.5445882,4 15.0333412,4.30211765 15.2724941,4.78040941 L16.2940471,6.82352941 L17.7058118,6.82352941 C18.4855294,6.82352941 19.1175765,7.45559059 19.1175765,8.23529412 C19.1175765,9.01498353 18.4855294,9.64705882 17.7058118,9.64705882 L6.41176471,9.64705882 C5.63206118,9.64705882 5,9.01498353 5,8.23529412 C5,7.45559059 5.63206118,6.82352941 6.41176471,6.82352941 L7.82352941,6.82352941 L8.84509647,4.78040941 Z M6.41176471,12.4705882 C6.41176471,11.6908847 7.04382588,11.0588235 7.82352941,11.0588235 L16.2940471,11.0588235 C17.0737647,11.0588235 17.7058118,11.6908847 17.7058118,12.4705882 L17.7058118,19.5294118 C17.7058118,20.3091294 17.0737647,20.9411765 16.2940471,20.9411765 L7.82352941,20.9411765 C7.04382588,20.9411765 6.41176471,20.3091294 6.41176471,19.5294118 L6.41176471,12.4705882 Z",fill:"currentColor"})});i();var w2=require("react/jsx-runtime"),K7=({...e})=>(0,w2.jsx)("svg",{...e,children:(0,w2.jsx)("path",{d:"M8.999988,4.5000015 C8.999988,3.6715665 9.671568,3.0000015 10.499988,3.0000015 L13.499988,3.0000015 C14.328378,3.0000015 14.999928,3.6715665 14.999928,4.5000015 L14.999928,9.0000015 L17.002128,9.0000015 C18.387828,9.0000015 19.032528,10.7182665 17.988678,11.6298015 L12.986688,15.9982515 C12.421488,16.4917515 11.578503,16.4917515 11.013318,15.9982515 L6.011253,11.6298015 C4.967508,10.7182665 5.612178,9.0000015 6.997938,9.0000015 L8.999988,9.0000015 L8.999988,4.5000015 Z M4.500003,18.0000015 C3.671568,18.0000015 3.000003,18.6715515 3.000003,19.5000015 C3.000003,20.3284515 3.671568,21.0000015 4.500003,21.0000015 L19.499928,21.0000015 C20.328378,21.0000015 20.999928,20.3284515 20.999928,19.5000015 C20.999928,18.6715515 20.328378,18.0000015 19.499928,18.0000015 L4.500003,18.0000015 Z",fill:"currentColor"})});i();var S2=require("react/jsx-runtime"),G7=({...e})=>(0,S2.jsx)("svg",{...e,children:(0,S2.jsx)("path",{d:"M6.750003,12.0000015 C6.750003,13.2426465 5.742648,14.2500015 4.500003,14.2500015 C3.257358,14.2500015 2.250003,13.2426465 2.250003,12.0000015 C2.250003,10.7573565 3.257358,9.7500015 4.500003,9.7500015 C5.742648,9.7500015 6.750003,10.7573565 6.750003,12.0000015 Z M14.249928,12.0000015 C14.249928,13.2426465 13.242648,14.2500015 12.000003,14.2500015 C10.757358,14.2500015 9.750003,13.2426465 9.750003,12.0000015 C9.750003,10.7573565 10.757358,9.7500015 12.000003,9.7500015 C13.242648,9.7500015 14.249928,10.7573565 14.249928,12.0000015 Z M19.499928,14.2500015 C20.742678,14.2500015 21.749928,13.2426465 21.749928,12.0000015 C21.749928,10.7573565 20.742678,9.7500015 19.499928,9.7500015 C18.257328,9.7500015 17.249928,10.7573565 17.249928,12.0000015 C17.249928,13.2426465 18.257328,14.2500015 19.499928,14.2500015 Z",fill:"currentColor"})});i();var T2=require("react/jsx-runtime"),q7=({...e})=>(0,T2.jsx)("svg",{...e,children:(0,T2.jsx)("path",{d:"M13.514 0c.07 0 .144.005.216.017.81.12 1.373.894 1.254 1.718l-3.029 20.97c-.108.751-.747 1.295-1.47 1.295-.071 0-.143-.006-.216-.017-.808-.12-1.372-.894-1.253-1.718l3.027-20.972C12.151.543 12.792 0 13.513 0zM5.55 6c.372 0 .744.152 1.026.458.564.61.564 1.607 0 2.217L3.5 12l3.077 3.325c.564.61.564 1.609 0 2.219-.282.304-.654.456-1.026.456-.371 0-.744-.152-1.025-.456L.423 13.108c-.564-.61-.564-1.607 0-2.216l4.103-4.434C4.807 6.152 5.18 6 5.55 6zM18.45 6c.371 0 .744.152 1.025.458l4.103 4.434c.564.61.564 1.607 0 2.216l-4.103 4.436c-.281.304-.654.456-1.025.456-.372 0-.744-.152-1.026-.456-.564-.61-.564-1.609 0-2.217L20.5 12l-3.077-3.325c-.564-.61-.564-1.607 0-2.217.282-.306.654-.458 1.026-.458z",fill:"currentColor"})});i();var A2=require("react/jsx-runtime"),X7=({...e})=>(0,A2.jsx)("svg",{...e,children:(0,A2.jsx)("path",{d:"M1.412 6.647c.78 0 1.412.633 1.412 1.412v12.706H16.94c.78 0 1.412.632 1.412 1.411 0 .78-.633 1.412-1.412 1.412H1.411C.633 23.588 0 22.956 0 22.176V8.06c0-.78.632-1.412 1.412-1.412zM22.588 1C23.368 1 24 1.632 24 2.412v14.117c0 .78-.632 1.412-1.412 1.412H7.058c-.778 0-1.41-.632-1.41-1.412V2.412c0-.78.632-1.412 1.41-1.412h15.53zm-1.412 2.824H8.471v11.294h12.705V3.824zm-8.755 2.531c.252-.142.77-.138 1.019.01l4.02 2.416c.24.145.383.406.383.69 0 .282-.162.544-.403.689l-4.052 2.415c-.127.077-.324.115-.466.115-.137 0-.378-.034-.501-.105-.253-.142-.617-.409-.617-.7v-4.83c0-.289.364-.557.617-.7z",fill:"currentColor"})});i();var B2=require("react/jsx-runtime"),Y7=({...e})=>(0,B2.jsx)("svg",{...e,children:(0,B2.jsx)("path",{clipRule:"evenodd",d:"M13.098 3.44a1.5 1.5 0 00-2.121 0L7.208 7.207A1.5 1.5 0 009.33 9.33l2.709-2.709 2.708 2.709a1.5 1.5 0 102.121-2.122L13.098 3.44zM7.144 16.855l3.833 3.833a1.5 1.5 0 002.121 0l3.833-3.833a1.5 1.5 0 10-2.121-2.122l-2.772 2.773-2.773-2.773a1.5 1.5 0 10-2.12 2.122z",fill:"currentColor",fillRule:"evenodd"})});i();var F2=require("react/jsx-runtime"),J7=({...e})=>(0,F2.jsx)("svg",{...e,children:(0,F2.jsx)("path",{d:"M16.2741958,7.67441617 C24.9693958,8.78934617 24.7085958,7.77567617 18.4971958,14.2758962 C18.2606958,14.5156962 18.1647958,14.8887962 18.2573958,15.2087962 C18.7205958,16.9880962 20.1651958,22.7284962 19.6338958,22.9600962 C18.8281958,23.3343962 14.9807958,20.9721962 13.3931958,20.1011962 C12.9988958,19.9022962 12.5565958,19.8899962 12.1656958,20.0753962 C11.0206958,20.6531962 8.92252577,21.4215962 6.75933577,22.7894962 C6.35480577,23.0538962 5.55934577,22.9648962 5.45634577,22.2102962 C5.35333577,21.4557962 6.59701577,16.9385962 6.09266577,15.2165962 C5.64321577,13.7174962 3.58582577,12.6328962 1.32252577,10.5778962 C0.73612577,10.0478962 0.98620577,9.01091617 1.77476577,8.87001617 L2.68675577,8.73672617 C4.50385577,8.41984617 7.08895577,7.99071617 8.14150577,7.81123617 C8.45350577,7.76563617 8.69346577,7.55099617 8.82368577,7.24977617 C12.5351958,-1.06559883 11.5305958,-1.07269583 15.5437958,7.16548617 C15.7049958,7.44976617 15.9518958,7.64455617 16.2741958,7.67441617 Z",fill:"currentColor"})});i();var M2=require("react/jsx-runtime"),Q7=({...e})=>(0,M2.jsx)("svg",{...e,children:(0,M2.jsx)("path",{clipRule:"evenodd",d:"M13.3932 20.1012C13.6603 20.2477 13.9914 20.4365 14.3612 20.6473C15.3729 21.2242 16.6744 21.9662 17.7486 22.4612C17.7509 22.4622 17.7531 22.4632 17.7553 22.4642C18.6193 22.8618 19.3354 23.0988 19.6339 22.9601C20.1652 22.7285 18.7206 16.9881 18.2574 15.2088C18.1648 14.8888 18.2607 14.5157 18.4972 14.2759C21.6076 11.0209 23.2258 9.65005 22.9746 8.95254C22.7241 8.25712 20.6153 8.23105 16.2742 7.67442C15.9519 7.64456 15.705 7.44977 15.5438 7.16549C13.5365 3.04496 12.7845 0.98719 12.0699 1.00006C11.3557 1.01293 10.6788 3.09354 8.82369 7.24978C8.69346 7.551 8.4535 7.76564 8.14151 7.81124C7.80349 7.86888 7.30741 7.95227 6.72948 8.04941C5.50779 8.25477 3.92031 8.52161 2.68675 8.73673L1.77476 8.87002C0.986207 9.01092 0.736125 10.0479 1.32253 10.5779C2.05437 11.2424 2.76469 11.8054 3.40607 12.3138C4.74823 13.3776 5.78855 14.2022 6.09267 15.2166C6.41995 16.3341 6.01115 18.6285 5.71191 20.308C5.55001 21.2167 5.42018 21.9454 5.45634 22.2103C5.55935 22.9649 6.35481 23.0539 6.75933 22.7895C8.2938 21.8192 9.79554 21.1505 10.9476 20.6375C11.4196 20.4273 11.8329 20.2433 12.1657 20.0754C12.5566 19.89 12.9989 19.9023 13.3932 20.1012ZM4.31949 10.4849C4.39975 10.5486 4.47976 10.6118 4.55976 10.675C4.92372 10.9626 5.2874 11.2501 5.67262 11.573C6.51944 12.2828 7.59511 13.2636 8.00843 14.6423L8.01208 14.6545L8.01204 14.6545C8.24181 15.439 8.2342 16.3388 8.18731 17.0596C8.13696 17.8337 8.0198 18.6581 7.89886 19.3987C7.87216 19.5621 7.84352 19.7314 7.81427 19.901C8.76489 19.4169 9.65045 19.0222 10.3224 18.7226C10.7229 18.5441 11.0475 18.3994 11.2647 18.2898L11.2865 18.2788L11.3086 18.2683C12.2857 17.8049 13.377 17.853 14.2939 18.3155L14.3248 18.3311L14.3552 18.3478C14.6755 18.5235 15.0347 18.7285 15.4204 18.9486C16.0152 19.288 16.6733 19.6636 17.3505 20.0242C17.0114 18.4105 16.5556 16.6108 16.3268 15.7312C16.048 14.7221 16.3398 13.6257 17.0591 12.886C17.8152 12.0948 18.4519 11.4459 18.9924 10.8951C19.2777 10.6043 19.5361 10.3409 19.7711 10.0984C19.4887 10.0653 19.1848 10.0313 18.8544 9.99422C18.0837 9.90784 17.1688 9.80528 16.0456 9.66148C14.952 9.544 14.2043 8.85788 13.804 8.15203L13.7732 8.09761L13.7458 8.04137C13.2461 7.01559 12.8434 6.15998 12.5022 5.43497C12.3709 5.15615 12.2488 4.89665 12.1337 4.65421C12.0327 4.88738 11.9259 5.13598 11.8116 5.40209C11.4954 6.13827 11.1215 7.00851 10.6536 8.05703C10.3063 8.84954 9.5681 9.61226 8.46059 9.7857C8.11513 9.84457 7.62009 9.92778 7.04742 10.024C6.22691 10.162 5.24704 10.3267 4.31949 10.4849ZM13.1326 2.58363C13.1731 2.52869 13.173 2.54051 13.1316 2.58503C13.1319 2.58456 13.1323 2.58409 13.1326 2.58363ZM11.0651 2.62152C11.0216 2.57798 11.0211 2.56602 11.0642 2.62047C11.0645 2.62081 11.0648 2.62116 11.0651 2.62152ZM21.752 10.4184C21.7977 10.4351 21.7906 10.4371 21.7509 10.418C21.7513 10.4182 21.7516 10.4183 21.752 10.4184ZM21.099 8.59918C21.1088 8.57794 21.1156 8.56662 21.1165 8.56626C21.1174 8.56591 21.1125 8.57653 21.099 8.59918Z",fill:"currentColor",fillRule:"evenodd"})});i();var O2=require("react/jsx-runtime"),e8=({...e})=>(0,O2.jsx)("svg",{...e,children:(0,O2.jsx)("path",{d:"M22.483 5.884a1.073 1.073 0 1 0 .133-2.143c-4.52-.28-8.31-.257-11.764-.2l-1.413.023c-2.904.05-5.576.098-8.317-.03a1.073 1.073 0 1 0-.097 2.146c2.812.13 5.56.081 8.46.03l1.402-.024c3.435-.055 7.161-.077 11.596.198zm-2.687 5.182a1.073 1.073 0 1 0 .15-2.142c-3.414-.243-6.279-.185-8.877-.1l-1.063.038c-2.182.076-4.167.147-6.201.045a1.073 1.073 0 0 0-.106 2.146c2.132.103 4.216.03 6.393-.045.347-.014.696-.025 1.048-.037 2.575-.085 5.352-.14 8.656.093v.002zm-1.949 3.774a1.073 1.073 0 0 1-.996 1.145c-3.488.244-5.844.23-8.187.216-.6-.005-1.198-.008-1.815-.008a1.073 1.073 0 1 1-.003-2.146c.637 0 1.248.003 1.855.006 2.333.014 4.6.028 7.999-.21a1.074 1.074 0 0 1 1.146.997h.001zm-4.4 5.876a1.073 1.073 0 0 0 .263-2.13 11.518 11.518 0 0 0-2.291-.04l-.226.014c-.523.037-.918.064-1.363.024a1.073 1.073 0 1 0-.192 2.14c.626.055 1.2.014 1.713-.022l.211-.014c.576-.039 1.153-.06 1.885.03v-.002z",fill:"currentColor",fillRule:"evenodd"})});i();var P2=require("react/jsx-runtime"),t8=({...e})=>(0,P2.jsx)("svg",{...e,children:(0,P2.jsx)("path",{d:"M8.68449,21.67134 L10.58286,22.02524 L10.97596,20.09794 C12.08016,20.13194 13.16866,20.01504 14.18766,19.73044 L15.26206,21.49434 L16.91976,20.58404 C17.56146,20.25534 18.17646,19.82554 18.71126,19.34514 L20.10156,18.10624 L18.60876,16.60894 C19.13396,15.81684 19.53856,14.87944 19.78866,13.78614 L21.86626,13.90894 L21.99996,12.11374 C22.02676,11.78514 22.02676,11.43114 22.02676,11.10244 L22.02676,11.10244 L22.02676,10.87484 L22.02676,10.87474 C22.02676,10.62194 22.02676,10.41974 21.99996,10.19214 L21.86626,8.37168 L19.75416,8.49651 C19.44406,7.39497 18.92386,6.52089 18.25696,5.84846 L19.29946,3.92162 L17.58826,3.08723 C16.91976,2.78382 16.19786,2.53097 15.42246,2.37926 L13.55076,2 L13.09526,4.02482 C12.02136,4.04783 10.92176,4.24489 9.87475,4.58403 L8.89839,2.85967 L7.2139,3.71934 C6.59893,4.02275 6.01069,4.40202 5.4492,4.80657 L3.92513,5.96966 L5.39131,7.69505 C4.91927,8.48038 4.53563,9.4443 4.27964,10.48254 L2.2139,10.31854 L2.05348,12.13904 C2.02674,12.54364 2,12.94814 2,13.32744 C2,13.58024 2,13.83314 2.02674,14.08594 L2.13369,15.90644 L4.23749,15.78214 C4.51728,16.79744 4.99657,17.71074 5.7167,18.41214 L4.83422,20.48294 L6.59893,21.14034 C6.64549,21.15684 6.69078,21.17334 6.73536,21.18964 C6.89558,21.24804 7.04656,21.30304 7.2139,21.34264 C7.69519,21.46904 8.20321,21.59544 8.68449,21.67134 Z M9.29948,9.10493 C11.59896,7.38559 16.03746,7.28445 16.09096,11.45634 C16.14436,15.62834 12.74866,16.71554 9.86098,15.88114 C6.97328,15.04674 7.72194,10.26804 9.29948,9.10493 Z",fill:"currentColor"})});i();var R2=require("react/jsx-runtime"),r8=({...e})=>(0,R2.jsx)("svg",{...e,children:(0,R2.jsx)("path",{d:"M4.21852839,3.07901351 C4.26213839,2.52845351 3.85116839,2.04678351 3.30060839,2.00317351 C2.75004839,1.95956351 2.26837839,2.37052351 2.22476839,2.92108351 C1.81564839,8.08615351 2.05683839,13.4611035 2.23045839,17.3302035 C2.30104839,18.9032035 2.36045839,20.2274035 2.36046839,21.1872035 C2.36046839,21.7395035 2.80817839,22.1872035 3.36046839,22.1872035 C3.91274839,22.1872035 4.36046839,21.7395035 4.36046839,21.1872035 C4.36046839,20.0953035 4.29638839,18.6766035 4.22207839,17.0312035 C4.04865839,13.1914035 3.81947839,8.11690351 4.21852839,3.07901351 Z M14.1819084,15.9478035 C11.9296084,16.1051035 8.84543839,16.1950035 7.20189839,15.7906035 C6.22794839,15.5434035 6.14678839,15.0491035 6.00474839,10.3980035 L6.00197839,10.3071035 C5.86219839,5.73046351 5.82412839,4.48394351 6.12649839,3.76963351 C6.47143839,2.91581351 7.68886839,2.69112351 9.10921839,2.46643351 C10.3875084,2.26421351 20.6992084,1.57001351 21.7880084,2.46643351 C22.3582084,2.93596351 21.0491084,3.90133351 19.3628084,5.14495351 C17.8295084,6.27566351 15.9843084,7.63640351 14.9562084,9.06360351 C16.3521084,10.4243035 18.0150084,11.5122035 19.3759084,12.4026035 C21.2564084,13.6329035 22.5605084,14.4861035 21.7880084,15.1607035 C21.0876084,15.7723035 19.0834084,15.8075035 16.9748084,15.8446035 C16.0287084,15.8612035 15.0616084,15.8782035 14.1819084,15.9478035 Z",fill:"currentColor"})});i();var I2=require("react/jsx-runtime"),n8=({...e})=>(0,I2.jsx)("svg",{...e,children:(0,I2.jsx)("path",{clipRule:"evenodd",d:"M15.1205 10.3799C14.2921 10.3799 13.6205 9.70832 13.6205 8.8799V1.5C13.6205 0.671574 14.2921 0 15.1205 0H22.5C23.3284 0 24 0.671572 24 1.5V8.8799C24 9.70832 23.3284 10.3799 22.5 10.3799H15.1205ZM0 22.4998C0 23.3283 0.671574 23.9998 1.5 23.9998H8.87947C9.70789 23.9998 10.3795 23.3283 10.3795 22.4998V15.12C10.3795 14.2916 9.70789 13.62 8.87947 13.62H1.5C0.671572 13.62 0 14.2916 0 15.12V22.4998ZM13.6205 22.4998C13.6205 23.3283 14.2921 23.9998 15.1205 23.9998H22.5C23.3284 23.9998 24 23.3283 24 22.4998V15.12C24 14.2916 23.3284 13.62 22.5 13.62H15.1205C14.2921 13.62 13.6205 14.2916 13.6205 15.12V22.4998ZM0 8.8799C0 9.70832 0.671574 10.3799 1.5 10.3799H8.87947C9.70789 10.3799 10.3795 9.70832 10.3795 8.8799V1.5C10.3795 0.671572 9.70789 0 8.87947 0H1.5C0.671572 0 0 0.671574 0 1.5V8.8799Z",fill:"currentColor",fillRule:"evenodd"})});i();var L2=require("react/jsx-runtime"),o8=({...e})=>(0,L2.jsx)("svg",{...e,children:(0,L2.jsx)("path",{clipRule:"evenodd",d:"M22.0882 7.28569C22.0544 7.83683 21.5803 8.25319 21.0291 8.21564C17.2827 7.96043 14.1355 7.98107 11.2298 8.03231C10.8312 8.03934 10.4364 8.04697 10.0447 8.05454L10.0444 8.05455L10.0441 8.05455C7.5909 8.10199 5.25965 8.14706 2.87213 8.02658C2.32051 7.99875 1.89284 7.52893 1.91691 6.97721C1.94098 6.42549 2.40767 6.0008 2.9593 6.02864C5.27166 6.14532 7.52619 6.10189 9.98369 6.05454C10.3772 6.04696 10.776 6.03927 11.181 6.03213C14.1051 5.98058 17.3194 5.95873 21.1515 6.21978C21.7026 6.25732 22.122 6.73455 22.0882 7.28569ZM22.0882 13.0711C22.0544 13.6223 21.5803 14.0386 21.0291 14.0011C17.2827 13.7459 14.1355 13.7665 11.2298 13.8177C10.831 13.8248 10.436 13.8324 10.0441 13.84H10.0441C7.59088 13.8874 5.25964 13.9325 2.87213 13.812C2.32051 13.7842 1.89284 13.3144 1.91691 12.7627C1.94098 12.2109 2.40767 11.7862 2.9593 11.8141C5.27165 11.9308 7.52618 11.8873 9.98366 11.84H9.98367H9.98368C10.3772 11.8324 10.776 11.8247 11.181 11.8176C14.1051 11.766 17.3194 11.7442 21.1515 12.0052C21.7026 12.0428 22.122 12.52 22.0882 13.0711ZM21.1129 19.587C21.6649 19.579 22.1029 19.1247 22.0911 18.5723C22.0793 18.02 21.6222 17.5787 21.0702 17.5867C14.7929 17.6781 10.5808 17.5767 6.29905 17.4736H6.299C5.19311 17.447 4.08256 17.4203 2.93058 17.3967C2.37848 17.3854 1.92481 17.824 1.91729 18.3763C1.90976 18.9286 2.35122 19.3855 2.90332 19.3968C4.04578 19.4202 5.15042 19.4468 6.25292 19.4733H6.25296C10.5396 19.5765 14.7939 19.679 21.1129 19.587Z",fill:"#62626C",fillRule:"evenodd"})});i();var k2=require("react/jsx-runtime"),a8=({...e})=>(0,k2.jsx)("svg",{...e,children:(0,k2.jsx)("path",{d:"M12.9437622,0.628654971 C13.8333446,0.885964912 14.5958438,1.52923977 15.1041765,2.30116959 L23.4916672,17.2251462 C23.7458336,17.7397661 24,18.3830409 24,19.0263158 C24,20.9561404 22.4750017,22.5 20.5687538,22.5 L3.539606,22.5 C2.90419004,22.5 2.26877408,22.371345 1.76044131,21.9853801 C0.108359804,20.9561404 -0.527056158,18.7690058 0.489609382,17.0964912 L9.00418328,2.30116959 C9.25834967,1.78654971 9.76668244,1.27192982 10.2750152,1.01461988 C11.0375144,0.5 12.0541799,0.371345029 12.9437622,0.628654971 Z M12.3083463,3.07309942 L12.0541799,3.07309942 C11.8000135,3.07309942 11.6729303,3.07309942 11.5458471,3.20175439 L11.3552223,3.39473684 L11.3552223,3.39473684 L11.1645976,3.5877193 L2.65002365,18.5116959 C2.39585727,18.8976608 2.52294046,19.5409357 3.03127323,19.7982456 C3.13717589,19.9054581 3.33133077,19.9233268 3.46665084,19.926305 L20.5687538,19.9269006 C21.0770866,19.9269006 21.5854193,19.5409357 21.5854193,18.8976608 C21.5854193,18.7690058 21.5854193,18.5116959 21.4583361,18.3830409 L12.8166791,3.5877193 C12.6895959,3.33040936 12.5625127,3.20175439 12.3083463,3.07309942 Z M13.0708454,16.8391813 C13.5791782,17.3538012 13.5791782,18.254386 13.0708454,18.7690058 C12.6895959,19.0263158 12.3083463,19.1549708 12.0541799,19.1549708 C11.9270967,19.1549708 11.6729303,19.1549708 11.5458471,19.0263158 C11.4187639,18.8976608 11.2916807,18.8976608 11.1645976,18.7690058 C10.6901536,18.288694 10.658524,17.4721637 11.0697088,16.9470227 L11.1645976,16.8391813 L11.1645976,16.8391813 C11.6729303,16.3245614 12.5625127,16.3245614 13.0708454,16.8391813 Z M13.5791782,7.31871345 L13.5791782,7.57602339 L13.5791782,7.57602339 L13.0708454,13.622807 C13.0708454,14.5233918 12.8166791,15.2953216 12.0541799,15.2953216 C11.1645976,15.2953216 10.9104312,14.5233918 10.9104312,13.751462 L10.4020984,7.70467836 C10.4020984,6.80409357 11.0375144,6.03216374 11.9270967,5.90350877 C12.8166791,5.7748538 13.5791782,6.41812865 13.5791782,7.31871345 Z",fill:"currentColor"})});i();var N2=require("react/jsx-runtime"),i8=({...e})=>(0,N2.jsx)("svg",{...e,children:(0,N2.jsx)("path",{d:"M3.81492582,6.36058598 C6.90368582,1.84180598 14.2244258,0.403929982 18.6136258,4.11578598 C24.8148258,9.35996598 23.5646258,22.215156 12.0224258,22.053856 C0.480246821,21.892456 0.726168821,10.879356 3.81492582,6.36058598 Z M4.13102582,11.104956 C3.91664582,12.462656 3.94917582,13.929656 4.34871582,15.269856 C4.73932582,16.580056 5.46398582,17.718356 6.61072582,18.550256 C7.08729582,18.895956 7.66210582,19.207056 8.35414582,19.455456 L8.35414582,19.455456 L8.57461582,16.566856 C7.12133582,15.577256 6.57298582,13.961856 6.58209582,12.390156 L6.58209582,12.390156 Z M19.6560258,8.99185598 L17.5735258,10.912956 C18.0212258,12.987156 17.4329258,15.276556 15.6417258,16.544556 L15.8229258,19.446956 C16.5009258,19.184656 17.0811258,18.850756 17.5741258,18.471456 C18.8195258,17.513256 19.6399258,16.164656 20.0336258,14.618356 C20.5008258,12.783756 20.3457258,10.768556 19.6560258,8.99185598 Z M14.4115258,9.22137598 C13.7404258,8.65068598 12.7611258,8.40994598 11.7072258,8.58246598 C10.6436258,8.75658598 9.73157582,9.31783598 9.23504582,10.040056 C8.71021582,10.803356 8.37017582,12.310856 8.73258582,13.538656 C8.89700582,14.095656 9.18933582,14.542556 9.63452582,14.867356 C10.0839858,15.195356 10.8369258,15.505856 12.0986258,15.526856 C13.2968258,15.546856 14.0708258,15.232256 14.5669258,14.852756 C15.0713258,14.466956 15.4215258,13.911956 15.5958258,13.235056 C15.9657258,11.798956 15.4736258,10.124556 14.4115258,9.22137598 Z M11.0550258,4.12454598 C10.0716858,4.28826598 9.12922582,4.60603598 8.27907582,5.05141598 L10.4473258,6.83767598 C11.0601258,6.63663598 11.7066258,6.53002598 12.3503258,6.52824598 L14.0443258,4.13247598 C13.0843258,3.95728598 12.0697258,3.95561598 11.0550258,4.12454598 Z",fill:"currentColor"})});i();var Li=require("react/jsx-runtime"),s8=({...e})=>(0,Li.jsxs)("svg",{...e,viewBox:"0 0 16 16",children:[(0,Li.jsx)("path",{clipRule:"evenodd",d:"M2.859 2.942a.667.667 0 0 1 .943-.004l1.145 1.136c2.436-1.418 5.785-.596 7.702 1.189 1.21 1.126 2.061 2.148 2.016 2.786.055.77-1.185 2.042-2.56 3.125l.985.977a.667.667 0 0 1-.933.953l.003-.003-9.288-9.213-.003.003-.006-.006a.667.667 0 0 1-.004-.943ZM6.323 5.44l.976.967c.528-.128 1.134-.028 1.555.328.496.42.699 1.141.55 1.76l.97.963c.58-1.18.28-2.798-.742-3.672-.9-.77-2.288-.857-3.309-.346Z",fill:"currentColor",fillRule:"evenodd"}),(0,Li.jsx)("path",{d:"M2.835 5.73c-.89.828-1.54 1.659-1.5 2.22-.045.64.807 1.661 2.016 2.787 1.568 1.46 4.094 2.276 6.295 1.748l-1.621-1.608a4.01 4.01 0 0 1-.242.004C5.51 10.849 4.82 9.209 4.912 7.79L2.835 5.73Z",fill:"currentColor"})]});i();var $2=require("react/jsx-runtime"),u8=({...e})=>(0,$2.jsx)("svg",{...e,children:(0,$2.jsx)("path",{d:"M20.3191337,12.8386044 C20.7096337,13.2291044 21.3428337,13.2291044 21.7333337,12.8386044 C22.1239337,12.4481044 22.1239337,11.8149044 21.7333337,11.4244044 C21.1885337,10.8795044 20.6355337,10.2425044 19.9955337,9.50545441 C18.4386337,7.71223441 16.3672337,5.32633441 12.6461337,2.23118441 C12.2780337,1.92502441 11.7445337,1.92271441 11.3738337,2.22567441 C8.56155374,4.52390441 7.05153374,5.94781441 2.24538374,11.4753044 C1.88300374,11.8921044 1.92709374,12.5237044 2.34386374,12.8861044 C2.76063374,13.2485044 3.39226374,13.2044044 3.75464374,12.7876044 C3.97735374,12.5315044 4.19277374,12.2844044 4.40137374,12.0459044 C4.27485374,14.7088044 4.08931374,18.9725044 4.17024374,19.5190044 C4.20591374,19.7535044 4.23265374,19.9971044 4.25798374,20.2277044 C4.31700374,20.7652044 4.36830374,21.2323044 4.50687374,21.3505044 C4.76430374,21.5617044 5.23954374,21.5828044 7.00192374,21.6039044 C7.43394374,21.6091044 8.20553374,21.6251044 9.13535374,21.6474044 C9.09525374,20.8275044 9.04402374,18.7167044 9.01787374,17.6387044 L9.00866374,17.2613044 C8.99387374,17.0737044 8.99794374,16.7338044 9.00283374,16.3249044 C9.00561374,16.0923044 9.00866374,15.8375044 9.00866374,15.5755044 C9.03185374,14.0503044 10.0060337,12.7659044 11.3280337,12.5786044 C12.7660337,12.3645044 14.0416337,13.4884044 14.2968337,15.1206044 C14.3200337,15.2544044 14.3432337,15.3882044 14.3663337,15.4952044 C14.5287337,16.2980044 14.6447337,20.4723044 14.5055337,21.5427044 C14.4925337,21.6402044 14.4904337,21.7247044 14.4886337,21.7983044 L14.4886337,21.7994044 C15.6849337,21.8397044 16.6185337,21.8780044 16.9029337,21.9049044 C17.7940337,21.9894044 18.8237337,21.9894044 18.9623337,21.4827044 C19.2395337,20.4692044 19.4177337,15.5203044 19.4177337,14.8025044 C19.4299337,14.2440044 19.4196337,12.9346044 19.4007337,11.8669044 C19.7022337,12.2010044 20.0041337,12.5235044 20.3191337,12.8386044 Z",fill:"currentColor"})});i();var Z2=require("react/jsx-runtime"),l8=({...e})=>(0,Z2.jsx)("svg",{...e,children:(0,Z2.jsx)("path",{d:"M15.723 10.299c-.679.896-.32 2.408.255 2.99.575.582.26.27 2.852 3.304 2.592 3.034-.272 3.83-2.848 3.82l-7.08-.029c-2.542-.01-5.196-1.122-2.251-4.899.676-.781 1.339-1.54 1.905-2.173.771-.862.79-2.258.04-3.14a109.17 109.17 0 0 1-2.763-3.425C4.396 4.723 5.76 3.58 7.408 3.587l9.317.044c1.625.008 2.56 1.844 1.601 3.156-.854 1.17-1.81 2.466-2.603 3.512Zm.898 8.175c-1.093.267-6.568.236-8.115-.018-1.548-.253-.982-1.19-.426-1.896s1.2-1.166 1.8-1.83c.455-.505.93-.956 1.414-1.42.02-.019.02-.02.008-.01.398-.307 1.142-.46 1.622-.26.632.266 1.141.865 1.629 1.33a67.232 67.232 0 0 1 2.498 2.525c.505.537.662 1.312-.43 1.579Z",fill:"currentColor",fillRule:"evenodd"})});i();var H2=require("react/jsx-runtime"),c8=({...e})=>(0,H2.jsx)("svg",{...e,children:(0,H2.jsx)("path",{d:"M17.5560126,2 C17.0037126,2 16.5560126,2.44771 16.5560126,3 L16.5560126,5.43713 L14.1189126,5.43713 C13.5666126,5.43713 13.1189126,5.88485 13.1189126,6.43713 C13.1189126,6.98942 13.5666126,7.43713 14.1189126,7.43713 L16.5560126,7.43713 L16.5560126,9.87419 C16.5560126,10.42648 17.0037126,10.87415 17.5560126,10.87415 C18.1083126,10.87415 18.5560126,10.42648 18.5560126,9.87419 L18.5560126,7.43713 L20.9931126,7.43713 C21.5454126,7.43713 21.9931126,6.98942 21.9931126,6.43713 C21.9931126,5.88485 21.5454126,5.43713 20.9931126,5.43713 L18.5560126,5.43713 L18.5560126,3 C18.5560126,2.44771 18.1083126,2 17.5560126,2 Z M6.38749257,3.26404 C7.61766257,3.21883 9.29881257,3.23511 10.1826126,3.52564 C10.7061126,3.70248 10.7370126,4.01239 10.6896126,6.91382 L10.6886126,6.9706 C10.6419126,9.82553 10.6292126,10.60315 10.4455126,11.04115 C10.2348126,11.56505 9.56611257,11.67655 8.78691257,11.78325 C8.08570257,11.87925 3.70238257,11.91495 2.81681257,11.66645 C2.27000257,11.51665 2.14009257,10.93595 2.08195257,7.91779 C2.01979257,4.47863 2.13166257,3.93641 2.77085257,3.73951 C3.38735257,3.55566 4.83521257,3.33747 6.38749257,3.26404 Z M6.51391257,22.09525 C5.28682257,22.19335 3.60648257,22.24945 2.71104257,21.99715 C2.18040257,21.84305 2.13618257,21.53475 2.05880257,18.63395 L2.05729257,18.57725 C1.98114257,15.72295 1.96039257,14.94545 2.12513257,14.49995 C2.31306257,13.96745 2.97636257,13.82735 3.75020257,13.68715 C4.44665257,13.56105 8.82441257,13.33685 9.71981257,13.54705 C10.2726126,13.67315 10.4273126,14.24775 10.6153126,17.26065 C10.8253126,20.69395 10.7365126,21.43225 10.1064126,21.65645 C9.56611257,21.84875 8.64351257,21.92205 7.54004257,22.00975 L7.54001257,22.00975 L7.53979257,22.00985 C7.21203257,22.03585 6.86831257,22.06325 6.51391257,22.09525 Z M12.3666126,14.29825 C12.1144126,15.19375 12.0145126,16.76265 12.1126126,17.98975 C12.2528126,19.53745 12.4185126,20.92965 12.6287126,21.53765 C12.8529126,22.16775 13.7599126,22.28615 17.1932126,22.07605 C20.2061126,21.88815 20.7807126,21.73335 20.9068126,21.18065 C21.1170126,20.28515 20.8928126,15.90745 20.7667126,15.21095 C20.6265126,14.43715 20.4864126,13.77385 19.9539126,13.58595 C19.5084126,13.42115 18.7310126,13.44195 15.8766126,13.51805 L15.8199126,13.51955 C12.9191126,13.59695 12.5208126,13.76765 12.3666126,14.29825 Z",fill:"currentColor"})});i();var z2=require("react/jsx-runtime"),f8=({...e})=>(0,z2.jsx)("svg",{...e,children:(0,z2.jsx)("path",{d:"M19.68195,2.560665 C17.92455,0.8033055 15.0753,0.8033055 13.318005,2.560665 L8.56062,7.31805 C6.803265,9.07542 6.803265,11.924655 8.56062,13.68201 L9.775215,14.89662 C10.36101,15.4824 11.31075,15.4824 11.896545,14.89662 C12.482325,14.31084 12.482325,13.361085 11.896545,12.775305 L10.681935,11.560695 C10.096155,10.974915 10.096155,10.02516 10.681935,9.43938 L15.43935,4.68198 C16.0251,4.0962 16.9749,4.0962 17.56065,4.68198 L19.31805,6.43935 C19.9038,7.025145 19.9038,7.9749 19.31805,8.56068 L17.68935,10.189335 C17.1036,10.775115 17.1036,11.72487 17.68935,12.310665 C18.2751,12.896445 19.2249,12.89646 19.81065,12.310665 L21.43935,10.68201 C23.19675,8.924655 23.19675,6.075405 21.43935,4.318035 L19.68195,2.560665 Z M4.318005,21.43935 C6.07536,23.19675 8.92461,23.19675 10.681965,21.43935 L15.43935,16.68195 C17.19675,14.92464 17.19675,12.075405 15.43935,10.318035 L14.480865,9.35955 C13.895085,8.77377 12.94533,8.77377 12.35955,9.35955 C11.773755,9.945345 11.773755,10.895085 12.35955,11.480865 L13.318035,12.439365 C13.90383,13.025145 13.90383,13.9749 13.318035,14.56068 L8.56065,19.31805 C7.974855,19.9038 7.025115,19.9038 6.43932,19.31805 L4.681935,17.56065 C4.096155,16.9749 4.096155,16.0251 4.681935,15.43935 L6.31065,13.810635 C6.89643,13.224855 6.89643,12.2751 6.31065,11.68932 C5.724855,11.10354 4.7751,11.10354 4.18932,11.689335 L2.560605,13.31805 C0.803256,15.07545 0.8032665,17.9247 2.56062,19.68195 L4.318005,21.43935 Z",fill:"currentColor"})});i();var V2=require("react/jsx-runtime"),p8=({...e})=>(0,V2.jsx)("svg",{...e,children:(0,V2.jsx)("path",{clipRule:"evenodd",d:"M9.11392 13.5C9.96022 13.5 10.5446 14.0173 10.6237 14.8118L10.6329 15V22.5C10.6329 23.3357 10.109 23.9128 9.30446 23.9909L9.11392 24H1.51899C0.672694 24 0.0883494 23.4827 0.00918932 22.6882L0 22.5V15C0 14.1643 0.523896 13.5872 1.32845 13.5091L1.51899 13.5H9.11392ZM22.481 19.5C23.3924 19.5 24 20.1 24 21C24 21.8357 23.4761 22.4128 22.6716 22.4909L22.481 22.5H14.8861C13.9747 22.5 13.3671 21.9 13.3671 21C13.3671 20.1643 13.891 19.5872 14.6955 19.5091L14.8861 19.5H22.481ZM22.481 15C23.3924 15 24 15.6 24 16.5C24 17.3357 23.4761 17.9128 22.6716 17.9909L22.481 18H14.8861C13.9747 18 13.3671 17.4 13.3671 16.5C13.3671 15.6643 13.891 15.0872 14.6955 15.0091L14.8861 15H22.481ZM9.11392 0C9.96022 0 10.5446 0.517346 10.6237 1.31184L10.6329 1.5V9C10.6329 9.83571 10.109 10.4128 9.30446 10.4909L9.11392 10.5H1.51899C0.672694 10.5 0.0883494 9.98265 0.00918932 9.18816L0 9V1.5C0 0.664286 0.523896 0.0872443 1.32845 0.00907373L1.51899 0H9.11392ZM22.481 6C23.3924 6 24 6.6 24 7.5C24 8.33571 23.4761 8.91275 22.6716 8.99092L22.481 9H14.8861C13.9747 9 13.3671 8.4 13.3671 7.5C13.3671 6.66429 13.891 6.08725 14.6955 6.00908L14.8861 6H22.481ZM22.481 1.5C23.3924 1.5 24 2.1 24 3C24 3.83571 23.4761 4.41276 22.6716 4.49093L22.481 4.5H14.8861C14.1266 4.5 13.3671 3.9 13.3671 3C13.3671 2.16429 13.891 1.58724 14.6955 1.50907L14.8861 1.5H22.481Z",fill:"currentColor",fillRule:"evenodd"})});i();var j2=require("react/jsx-runtime"),d8=({...e})=>(0,j2.jsx)("svg",{...e,children:(0,j2.jsx)("path",{d:"M22 12.03a9.62 9.62 0 0 1-1.28 4.5.5.5 0 0 1-.42.25.46.46 0 0 1-.41-.2 1.93 1.93 0 0 0-.19-.28.5.5 0 0 1-.04-.55c.65-1.16 1-2.42 1.03-3.76v-.25c0-2.17-.84-4.23-2.38-5.82a8.72 8.72 0 0 0-6.08-2.65H12c-2.27 0-4.42.86-6.05 2.4A8.35 8.35 0 0 0 4.4 15.87c.1.19.09.4-.04.6l-.04.06-.05.08a.55.55 0 0 1-.49.26c-.2 0-.37-.1-.47-.27A9.55 9.55 0 0 1 5.12 4.68 10.06 10.06 0 0 1 12.27 2c2.68.07 5.16 1.16 7 3.05A9.57 9.57 0 0 1 22 12.03Zm-3.09.5a7.36 7.36 0 0 1-.66 2.91c-.08.17-.21.3-.38.36a.63.63 0 0 1-.5-.04l-.05-.03h-.02c-.3-.19-.42-.6-.25-.96a5.99 5.99 0 0 0-1-6.42 5.46 5.46 0 0 0-3.9-1.8H12a5.4 5.4 0 0 0-3.87 1.64 6.03 6.03 0 0 0-1.3 6.25c.12.34 0 .71-.27.9l-.08.03a.64.64 0 0 1-.9-.34 7.35 7.35 0 0 1-.5-2.9 7.3 7.3 0 0 1 2.28-5.16 6.72 6.72 0 0 1 9.49.18v.01l.17.2a7.33 7.33 0 0 1 1.9 5.17ZM12 15.43c3.6.04 4-3.95 2.06-5.58-1.38-1.16-3.76-.9-4.72.5-.97 1.4-.94 5.03 2.66 5.07ZM5.5 21.68c.03.28.33.5.67.5l11.59.09c.41 0 .75-.26.76-.56.1-1.08-.1-2.19-.6-3.12-1.17-2.27-8-3.67-10.96-1.3-1.41 1.12-1.62 2.93-1.46 4.38Z",fill:"currentColor",fillRule:"evenodd"})});i();var W2=require("react/jsx-runtime"),m8=({...e})=>(0,W2.jsx)("svg",{...e,children:(0,W2.jsx)("path",{d:"M12.000003,3 C15.313728,3 17.999928,5.68629 17.999928,9 C18.828378,9 19.499928,9.67158 19.499928,10.5 L19.499928,10.5 L19.499928,19.5 C19.499928,20.32845 18.828378,21 17.999928,21 L17.999928,21 L6.000003,21 C5.171568,21 4.500003,20.32845 4.500003,19.5 L4.500003,19.5 L4.500003,10.5 C4.500003,9.67158 5.171568,9 6.000003,9 C6.000003,5.68629 8.686293,3 12.000003,3 Z M12.000003,6 C10.343148,6 9.000003,7.343145 9.000003,9 L14.999928,9 C14.999928,7.343145 13.656858,6 12.000003,6 Z M12.000003,18 C13.656858,18 14.999928,16.6569 14.999928,15 C14.999928,13.343145 13.656858,12 12.000003,12 C10.343148,12 9.000003,13.343145 9.000003,15 C9.000003,16.6569 10.343148,18 12.000003,18 Z",fill:"currentColor"})});i();var U2=require("react/jsx-runtime"),h8=({...e})=>(0,U2.jsx)("svg",{...e,children:(0,U2.jsx)("path",{d:"M2.47683706,7.50340405 C4.26485706,2.41303405 11.3492771,0.654683048 16.4753771,3.06899405 C23.7174771,6.48000405 25.8066771,19.038564 14.7760771,21.829464 C3.74546706,24.620464 0.68881706,12.593764 2.47683706,7.50340405 Z M10.4726771,6.65610405 C10.0780771,6.26968405 9.44487706,6.27629405 9.05849706,6.67087405 L9.05849706,6.67087405 L6.02150706,9.77199405 C5.99686706,9.79672405 5.97351706,9.82273405 5.95156706,9.84991405 C5.90220706,9.91094405 5.86109706,9.97642405 5.82823706,10.044864 C5.76857706,10.168864 5.73375706,10.307064 5.73021706,10.453064 C5.72972706,10.472664 5.72990583,10.492164 5.73047706,10.511664 C5.73444706,10.630864 5.75926706,10.744764 5.80141706,10.849864 C5.84900706,10.968764 5.92034706,11.080464 6.01545706,11.177564 L6.01545706,11.177564 L9.05849706,14.284864 C9.44487706,14.679464 10.0780771,14.686064 10.4726771,14.299564 C10.8671771,13.913164 10.8738771,13.280064 10.4873771,12.885464 L10.4873771,12.885464 L9.10884706,11.477764 L10.7298771,11.477764 C13.4913771,11.477764 15.7298771,13.716364 15.7298771,16.477764 L15.7298771,16.477764 L15.7298771,16.891064 C15.7298771,17.443364 16.1775771,17.891064 16.7298771,17.891064 C17.2821771,17.891064 17.7298771,17.443364 17.7298771,16.891064 L17.7298771,16.891064 L17.7298771,16.477764 C17.7298771,12.611764 14.5958771,9.47779405 10.7298771,9.47779405 L10.7298771,9.47779405 L9.10895706,9.47779405 L10.4873771,8.07024405 C10.8738771,7.67566405 10.8671771,7.04253405 10.4726771,6.65610405 Z",fill:"currentColor"})});i();var _2=require("react/jsx-runtime"),g8=({...e})=>(0,_2.jsx)("svg",{...e,children:(0,_2.jsx)("path",{clipRule:"evenodd",d:"M12.095 20.738c-2.558-.043-5.1-.086-6.196-.086-3.458 0-3.536-.614-3.772-2.481a37.69 37.69 0 0 0-.077-.58c-.192-1.312-.11-9.219-.027-10.968.01-.239.011-.462.014-.671.017-1.649.024-2.39 3.367-2.39 2.502 0 7.914.073 11.549.123 1.837.025 3.22.044 3.543.044.962.034 1.429 1.11 1.484 2.12.055 1.01.027 5.652 0 7.166-.008.34.011.844.034 1.432.059 1.57.14 3.737-.199 4.96-.302 1.212-1.732 1.414-2.941 1.414-.715.018-3.758-.033-6.779-.083ZM4.253 5.768l.038.992a.4.4 0 0 0 .39.385l1.29.031a.4.4 0 0 0 .409-.412l-.028-.942a.4.4 0 0 0-.375-.388l-1.3-.08a.4.4 0 0 0-.424.415Zm3.253.992-.038-.991a.4.4 0 0 1 .424-.415l1.3.08a.4.4 0 0 1 .375.388l.028.942a.4.4 0 0 1-.41.412l-1.289-.031a.4.4 0 0 1-.39-.385Zm11.729 11.707-.04-.992a.4.4 0 0 0-.39-.384l-1.288-.032a.4.4 0 0 0-.41.412l.028.943a.4.4 0 0 0 .375.388l1.3.08a.4.4 0 0 0 .425-.415ZM10.72 6.76l-.039-.991a.4.4 0 0 1 .425-.415l1.3.08a.4.4 0 0 1 .375.388l.028.942a.4.4 0 0 1-.41.412l-1.289-.031a.4.4 0 0 1-.39-.385Zm3.176 10.731.04.992a.4.4 0 0 0 .39.385l1.288.031a.4.4 0 0 0 .41-.412l-.028-.942a.4.4 0 0 0-.375-.388l-1.3-.08a.4.4 0 0 0-.425.414Zm2.084-11.739.039.992a.4.4 0 0 1-.425.415l-1.3-.08a.4.4 0 0 1-.375-.388l-.027-.943a.4.4 0 0 1 .41-.411l1.288.031a.4.4 0 0 1 .39.384Zm-3.176 12.715-.04-.992a.4.4 0 0 0-.39-.384l-1.288-.032a.4.4 0 0 0-.41.412l.028.943a.4.4 0 0 0 .375.388l1.3.08a.4.4 0 0 0 .425-.415ZM17.15 6.76l-.039-.991a.4.4 0 0 1 .425-.415l1.3.08a.4.4 0 0 1 .375.388l.027.942a.4.4 0 0 1-.41.412l-1.288-.031a.4.4 0 0 1-.39-.385ZM7.468 17.491l.038.992a.4.4 0 0 0 .39.385l1.289.031a.4.4 0 0 0 .41-.412l-.028-.942a.4.4 0 0 0-.375-.388l-1.3-.08a.4.4 0 0 0-.424.414Zm-1.132-.016.039.992a.4.4 0 0 1-.425.415l-1.3-.08a.4.4 0 0 1-.375-.388l-.027-.943a.4.4 0 0 1 .41-.412l1.288.032a.4.4 0 0 1 .39.384Zm3.828-2.97c.804-.456 3.215-1.857 3.896-2.75.07-.088.035-.21-.052-.263l-3.809-1.996c-.122-.07-.262.018-.262.14-.035.928-.035 3.783-.035 4.71 0 .14.14.228.262.158Z",fill:"currentColor",fillRule:"evenodd"})});i();var K2=require("react/jsx-runtime"),v8=({...e})=>(0,K2.jsx)("svg",{...e,children:(0,K2.jsx)("path",{clipRule:"evenodd",d:"M17.523 3.093c-4.63 1.41-11.703 3.563-15.235 6.13-.426.287-.383 3.531.086 3.817l3.708.914c0 1.537.652 6.766 4.89 7.869 2.777.567 4.957-1.667 6.357-5.073 1.383.349 2.478.629 3.04.78.984.452 1.06.14 1.166-.296l.028-.112c.768-5.225.341-12.755.17-14.51-.042-.409-.681-.653-1.236-.45-.764.258-1.79.57-2.974.931Zm-1.997 13.205a3009.89 3009.89 0 0 0-7.505-1.864c.133 1.99.53 4.669 3.143 5.201 2.345.707 3.191-.99 4.2-3.012l.162-.325Z",fill:"currentColor",fillRule:"evenodd"})});i();var G2=require("react/jsx-runtime"),C8=({...e})=>(0,G2.jsx)("svg",{...e,children:(0,G2.jsx)("path",{d:"M22.286 19.143c.948 0 1.714.766 1.714 1.714s-.766 1.714-1.714 1.714H8.57c-.946 0-1.714-.766-1.714-1.714s.768-1.714 1.714-1.714zm-20.572 0c.948 0 1.715.766 1.715 1.714s-.767 1.714-1.715 1.714C.768 22.571 0 21.805 0 20.857s.768-1.714 1.714-1.714zm20.572-8.572c.948 0 1.714.767 1.714 1.715 0 .948-.766 1.714-1.714 1.714H8.57c-.946 0-1.714-.766-1.714-1.714s.768-1.715 1.714-1.715zm-20.572 0c.948 0 1.715.767 1.715 1.715 0 .948-.767 1.714-1.715 1.714C.768 14 0 13.234 0 12.286s.768-1.715 1.714-1.715zM22.286 2C23.234 2 24 2.766 24 3.714s-.766 1.715-1.714 1.715H8.57c-.946 0-1.714-.767-1.714-1.715C6.857 2.766 7.625 2 8.571 2zM1.714 2c.948 0 1.715.766 1.715 1.714S2.662 5.43 1.714 5.43C.768 5.429 0 4.662 0 3.714 0 2.766.768 2 1.714 2z",fill:"currentColor"})});i();var q2=require("react/jsx-runtime"),b8=({...e})=>(0,q2.jsx)("svg",{...e,children:(0,q2.jsx)("path",{d:"m19 19h-14v-14h6c.5522847 0 1-.44771525 1-1s-.4477153-1-1-1h-6c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.5522847-.4477153-1-1-1s-1 .4477153-1 1zm-5-15c0 .55228475.4477153 1 1 1h2.59l-6.125 6.125c-.3893607.3893607-.3893607 1.0206393 0 1.41s1.0206393.3893607 1.41 0l6.125-6.125v2.59c0 .55228475.4477153 1 1 1s1-.44771525 1-1v-5c0-.55228475-.4477153-1-1-1h-5c-.5522847 0-1 .44771525-1 1z",fill:"currentColor"})});i();var X2=require("react/jsx-runtime"),y8=({...e})=>(0,X2.jsx)("svg",{...e,children:(0,X2.jsx)("path",{d:"M19.984 19.985c-.39.39-.998.586-1.808.586-.845 0-1.807-.226-2.818-.606.838-.657 1.663-1.367 2.45-2.155.784-.782 1.485-1.603 2.142-2.438.053.139.132.285.178.422.634 1.9.58 3.468-.144 4.191m-14.16.586c-.81 0-1.418-.197-1.807-.586-.725-.723-.778-2.29-.144-4.191.045-.137.125-.283.177-.422.656.835 1.359 1.656 2.14 2.438.789.788 1.613 1.498 2.451 2.155-1.01.38-1.972.606-2.817.606M3.874 8.205c-.635-1.9-.582-3.467.143-4.19.39-.39.996-.586 1.807-.586.845 0 1.806.226 2.817.606-.838.657-1.662 1.367-2.45 2.154-.782.783-1.485 1.604-2.141 2.439-.052-.139-.132-.286-.177-.423M18.18 12c-.787 1.166-1.727 2.32-2.794 3.386-1.08 1.081-2.231 2.017-3.384 2.8-1.156-.783-2.307-1.719-3.387-2.8C7.548 14.319 6.609 13.166 5.82 12c.789-1.166 1.728-2.32 2.794-3.387 1.08-1.08 2.231-2.018 3.387-2.798 1.153.78 2.305 1.718 3.384 2.798C16.452 9.68 17.392 10.834 18.18 12m-.003-8.571c.81 0 1.419.197 1.808.586.723.723.778 2.29.144 4.19-.046.137-.125.284-.178.423-.657-.835-1.358-1.656-2.141-2.44-.788-.786-1.613-1.496-2.45-2.153 1.01-.38 1.972-.606 2.817-.606M22.166 12c.486-.909.917-1.817 1.213-2.71 1.085-3.254.74-5.988-.972-7.7C21.37.55 19.905 0 18.176 0 16.309 0 14.166.658 12 1.819 9.834.659 7.69 0 5.824 0c-1.728 0-3.191.55-4.23 1.59C-.118 3.303-.464 6.037.62 9.29c.297.893.727 1.801 1.216 2.71-.489.909-.92 1.817-1.216 2.709-1.084 3.255-.738 5.99.974 7.7C2.633 23.45 4.096 24 5.824 24c1.866 0 4.01-.658 6.177-1.819C14.165 23.341 16.309 24 18.176 24c1.729 0 3.193-.55 4.231-1.59 1.712-1.712 2.057-4.446.972-7.701-.296-.892-.727-1.8-1.213-2.709",fill:"currentColor"})});i();var Y2=require("react/jsx-runtime"),D8=({...e})=>(0,Y2.jsx)("svg",{...e,children:(0,Y2.jsx)("path",{clipRule:"evenodd",d:"M10.3516 2.18414C15.0042 1.28206 20.5998 3.73668 21.8186 8.61827C22.9395 13.1079 18.6606 16.1623 14.6348 16.1623C13.5244 16.1623 12.7403 17.2226 13.0915 18.2493C13.7622 20.2108 12.2459 22.3278 10.1591 21.9575C4.75737 20.999 1.1053 15.4608 2.19152 10.138C3.01471 6.10408 6.33707 2.96249 10.3516 2.18414ZM11.9994 3.98966H11.9868C11.4344 3.99008 10.987 4.43814 10.9875 4.99043C10.9879 5.54271 11.436 5.99008 11.9883 5.98965H11.9978C12.5502 5.99008 12.9983 5.54271 12.9987 4.99043C12.9991 4.43814 12.5517 3.99008 11.9994 3.98966ZM7.75329 7.74368C8.14417 7.35347 8.14465 6.7203 7.75439 6.32946C7.36413 5.93865 6.73089 5.93815 6.34002 6.32836L6.33117 6.33723C5.94089 6.72806 5.94139 7.36123 6.33227 7.75145C6.72313 8.14167 7.35636 8.14117 7.74664 7.75035L7.75329 7.74368ZM17.6461 6.32836C17.2552 5.93815 16.622 5.93865 16.2318 6.32946C15.8414 6.7203 15.8419 7.35347 16.2328 7.74368L16.2395 7.75035C16.6298 8.14117 17.2631 8.14167 17.6539 7.75145C18.0448 7.36123 18.0453 6.72806 17.6549 6.33723L17.6461 6.32836ZM5.99241 11.9849C5.99283 11.4326 5.54541 10.9846 4.99307 10.9841C4.44072 10.9837 3.9926 11.4311 3.99219 11.9834V11.996C3.9926 12.5482 4.44072 12.9956 4.99307 12.9952C5.54541 12.9948 5.99283 12.5467 5.99241 11.9944V11.9849ZM7.74662 16.229C7.35636 15.8381 6.72313 15.8376 6.33227 16.2278C5.94139 16.6181 5.94089 17.2513 6.33117 17.6421L6.34002 17.651C6.73089 18.0411 7.36413 18.0406 7.75439 17.6498C8.14465 17.259 8.14417 16.6258 7.75329 16.2356L7.74662 16.229Z",fill:"currentColor",fillRule:"evenodd"})});i();var J2=require("react/jsx-runtime"),x8=({...e})=>(0,J2.jsx)("svg",{...e,children:(0,J2.jsx)("path",{d:"M13.8859165,4 L20,10.1142555 L6.72352705,23.391102 L1.27233592,23.99288 C0.542581226,24.0735947 -0.0739850737,23.4565334 0.00720491158,22.7267582 L0.613741861,17.2715929 L13.8859165,4 Z M23.3628309,3.36074157 L20.6392584,0.637169144 C19.7896996,-0.212389715 18.4118284,-0.212389715 17.5622695,0.637169144 L15,3.19943866 L20.8005613,9 L23.3628309,6.43773048 C24.2123897,5.58771853 24.2123897,4.21030043 23.3628309,3.36074157 Z",fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:"1"})});i();var Q2=require("react/jsx-runtime"),E8=({...e})=>(0,Q2.jsx)("svg",{...e,children:(0,Q2.jsx)("path",{d:"M5.03669076,11.4468091 C5.54919776,11.4651713 5.95777578,11.8660978 5.9976965,12.3651859 L6.00024426,12.4819731 L6.00068978,12.6647147 C6.01599969,13.3532281 6.18639431,14.2704558 6.62851623,15.1532527 C7.4116753,16.7170078 8.83398719,17.6666739 11.2142478,17.7501827 C13.944306,17.8459637 15.6646382,17.0835309 16.6741247,15.7789723 C17.0000313,15.3578034 17.2283744,14.905255 17.3749039,14.4545007 C17.4031205,14.3677005 17.4260808,14.2887575 17.4444546,14.219091 L17.4864863,14.039341 L17.5050182,13.9237677 C17.5603572,13.3742624 18.0506803,12.9736615 18.6001856,13.0290005 C19.1496909,13.0843395 19.5502918,13.5746627 19.4949528,14.124168 C19.4181918,14.8863891 19.0737351,15.9460074 18.2558622,17.0029439 C17.1191277,18.4719449 15.3830988,19.4303316 13.0003372,19.6880563 L12.999,20.612 L13.9999855,20.6128678 C14.5522702,20.6128678 14.9999855,21.0605831 14.9999855,21.6128678 C14.9999855,22.1257037 14.6139453,22.548375 14.1166066,22.6061401 L13.9999855,22.6128678 L9.99998547,22.6128678 C9.44770072,22.6128678 8.99998547,22.1651526 8.99998547,21.6128678 C8.99998547,21.100032 9.38602566,20.6773607 9.88336435,20.6195956 L9.99998547,20.6128678 L10.999,20.612 L10.999,19.741 L10.8245122,19.7330802 C7.87646161,19.542847 5.90707375,18.1790114 4.84024843,16.0488521 C4.46367142,15.2969305 4.22730667,14.5012078 4.10075368,13.7017548 C4.03131347,13.2630912 4.00309238,12.8834651 4.00008836,12.5870114 L4.00152669,12.4103626 C4.0213014,11.8584319 4.48476015,11.4270343 5.03669076,11.4468091 Z M10.1783855,2.03336785 C10.563323,1.96536785 11.3740808,2.01307097 12.2158835,2.07178972 L12.7215323,2.10750535 C13.0569042,2.13108035 13.3846105,2.15306785 13.6793855,2.16676785 C14.9983855,2.24576785 16.1053855,3.95256785 16.0600855,6.61096785 C16.0292815,8.41881585 16.018037,10.0232078 16.0160387,11.0761305 L16.0160294,11.7232431 C16.0164487,11.9053938 16.0172455,12.0524798 16.0182855,12.1599678 C16.0412855,13.6710678 15.4991855,15.5563678 14.5512855,15.8892678 C14.1136855,16.0868678 12.8069855,16.2086678 11.7655855,16.1445678 C10.9673855,16.0975678 9.60788547,15.9204678 8.82358547,15.5364678 C8.03928547,15.1524678 7.63538547,13.6334678 7.65328547,12.7919678 C7.66498547,11.8499678 7.83318547,7.80506785 7.86878547,6.12206785 C7.94848547,3.46126785 9.05008547,2.24406785 10.1783855,2.03336785 Z",fill:"currentColor"})});i();var ef=require("react/jsx-runtime"),w8=({...e})=>(0,ef.jsx)("svg",{...e,children:(0,ef.jsx)("path",{d:"M10.5 0C16.299 0 21 4.701 21 10.5c0 2.357-.786 4.528-2.099 6.28l4.66 4.662c.586.583.586 1.537 0 2.12-.29.292-.674.437-1.06.437-.384 0-.768-.145-1.06-.436l-4.66-4.66c-1.754 1.31-3.923 2.096-6.281 2.096C4.7 21 0 16.3 0 10.5 0 4.702 4.7 0 10.5 0zm0 3C6.364 3 3 6.363 3 10.5S6.364 18 10.5 18c4.135 0 7.5-3.364 7.5-7.5S14.635 3 10.5 3zM8.4 7.19c.268-.152.818-.147 1.084.01l4.269 2.567c.258.153.408.432.408.732 0 .301-.171.58-.428.733L9.428 13.8c-.135.08-.343.121-.496.121-.144 0-.4-.036-.533-.11-.267-.152-.654-.437-.654-.745V7.934c0-.31.387-.591.654-.744z",fill:"currentColor"})});i();var tf=require("react/jsx-runtime"),S8=({...e})=>(0,tf.jsx)("svg",{...e,children:(0,tf.jsx)("path",{d:"M16.3564087,2 C17.8739087,2.00328127 19.1218087,2.05959127 19.7115087,2.19802127 C20.9796087,2.48738127 21.3347087,3.80557127 21.7659087,10.7180313 C22.2478087,18.5950313 22.0440087,20.2889313 20.5983087,20.8033313 C19.3589087,21.2443313 17.2421087,21.4126313 14.7104087,21.6139313 L14.7104087,21.6139313 L14.1396009,21.65945 C13.5623212,21.7057625 12.9661837,21.7548313 12.3562087,21.8100313 C9.54090871,22.0351313 5.68573871,22.1637313 3.63132871,21.5850313 C2.41390871,21.2313313 2.31245871,20.5240313 2.13491871,13.8688313 L2.13491871,13.8688313 L2.13143871,13.7385313 C2.05806051,10.9881445 2.00710628,9.07828956 2.0006861,7.71236337 L2.00072563,7.15940347 C2.00908903,5.65317258 2.09055951,4.91576807 2.28709871,4.38428127 C2.71826871,3.16255127 4.24004871,2.84104127 6.01545871,2.51953127 C7.12778871,2.31810127 12.3330087,2.00760127 16.0867087,2 L16.0867087,2 Z M19.4992087,7.19947127 L4.00650871,8.35515127 C4.02287871,9.64223127 4.06895871,11.3697313 4.13241871,13.7484313 L4.13420871,13.8154313 C4.22525871,17.2287313 4.29627871,18.8640313 4.45812871,19.7172313 L4.46075871,19.7310313 C5.22836871,19.8983313 6.36367871,19.9886313 7.72376871,19.9990313 C9.21518871,20.0104313 10.8165087,19.9265313 12.1865087,19.8172313 C13.0565087,19.7385313 13.8467087,19.6760313 14.5875087,19.6173313 C15.4451087,19.5494313 16.2366087,19.4867313 17.0091087,19.4103313 C18.3253087,19.2802313 19.2316087,19.1374313 19.7924087,18.9639313 C19.8275087,18.8501313 19.8775087,18.6417313 19.9184087,18.2903313 C20.0653087,17.0282313 20.0133087,14.8235313 19.7697087,10.8414313 C19.6768087,9.35210127 19.5889087,8.15835127 19.4992087,7.19947127 Z M8.35274871,10.1357313 C10.9336087,8.26050127 14.7496087,9.11122127 16.8815087,11.0963313 C18.1511087,12.2784313 19.0458087,13.3513313 18.9981087,14.0218313 L18.9978306,14.1322964 C18.9306149,15.0776637 17.2629818,16.6304928 15.6473087,17.8045313 C13.0665087,19.6798313 9.25037871,18.8290313 7.11848871,16.8439313 C5.84892871,15.6618313 4.95417871,14.5889313 5.00192871,13.9185313 L5.00220778,13.808055 C5.06942956,12.8625989 6.73702756,11.3097697 8.35274871,10.1357313 Z M9.25728871,12.1244313 C8.34736871,13.4721313 8.37186871,16.9469313 11.7721087,16.9950313 C15.1723087,17.0432313 15.5406087,13.2092313 13.7138087,11.6451313 C12.4208087,10.5381313 10.1672087,10.7767313 9.25728871,12.1244313 Z M12.8963087,12.6418313 C13.9530087,13.5354313 13.7399087,15.7259313 11.7731087,15.6984313 C9.80640871,15.6709313 9.79220871,13.6856313 10.3185087,12.9157313 C10.8448087,12.1457313 12.1484087,12.0093313 12.8963087,12.6418313 Z",fill:"currentColor"})});i();var rf=require("react/jsx-runtime"),T8=({...e})=>(0,rf.jsx)("svg",{...e,children:(0,rf.jsx)("path",{d:"M2.25992006,20.5708601 C2.49052006,21.7041601 3.84142006,21.8415601 4.99472006,21.7728601 C6.14792006,21.7041601 16.2302201,21.8415601 18.5367201,22.0132601 C20.8431201,22.1849601 21.4032201,21.5667601 21.7327201,21.1203601 C21.9634201,20.8112601 22.0293201,17.0213601 22.0293201,15.2698601 C22.0293201,13.5526601 21.7986201,10.5688601 21.4691201,8.30216008 C21.2714201,6.89406008 21.7327201,5.62336008 18.1413201,5.34866008 C16.5268201,5.24566008 15.0556201,5.24566008 12.0902201,5.31426008 C11.7937201,4.52436008 10.7937201,2.49406008 10.1347201,2.15066008 C9.14622006,1.73846008 3.57782006,2.28796008 2.88592006,2.42536008 C2.12812006,2.59706008 2.12812006,3.00926008 2.12812006,3.93646008 L2.12812006,6.92446008 C2.12812006,8.22946008 1.76572006,18.3384601 2.25992006,20.5708601 Z",fill:"currentColor"})});i();var nf=require("react/jsx-runtime"),A8=({...e})=>(0,nf.jsx)("svg",{...e,children:(0,nf.jsx)("path",{d:"M21.9982,12.207644 C22.1573,0.830524 9.48591,-0.401799 4.31674,5.710684 C0.657972,10.037144 0.522816,17.335344 4.97697,20.379944 C9.43112,23.424444 21.8391,23.584744 21.9982,12.207644 Z M12.944,13.449944 L10.574,13.449944 L10.574,13.299944 C10.574,12.369944 10.754,11.829944 11.654,11.229944 L12.359,10.764944 C12.944,10.374944 13.199,9.984944 13.199,9.354944 C13.199,8.634954 12.719,8.184954 12.029,8.184954 C11.189,8.184954 10.574,8.649954 10.574,9.744944 L8.17399,9.744944 C8.17399,7.839954 9.41899,6.354954 12.104,6.354954 C14.17399,6.354954 15.629,7.374954 15.629,9.249944 C15.629,10.554944 14.924,11.289944 14.144,11.874944 L13.529,12.324944 C13.079,12.669944 12.944,12.879944 12.944,13.269944 L12.944,13.449944 Z M13.319,15.714944 C13.319,16.554944 12.629,17.259944 11.759,17.259944 C10.874,17.259944 10.199,16.554944 10.199,15.714944 C10.199,14.874944 10.874,14.184944 11.759,14.184944 C12.629,14.184944 13.319,14.874944 13.319,15.714944 Z",fill:"currentColor"})});i();var of=require("react/jsx-runtime"),B8=({...e})=>(0,of.jsx)("svg",{...e,children:(0,of.jsx)("path",{clipRule:"evenodd",d:"M12 21a9 9 0 100-18 9 9 0 000 18zM9 10.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3zm7.5 3a4.5 4.5 0 11-9 0h9zm0-4.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z",fill:"currentColor",fillRule:"evenodd"})});i();var af=require("react/jsx-runtime"),F8=({...e})=>(0,af.jsx)("svg",{...e,children:(0,af.jsx)("path",{d:"M16.2027993,20.4396731 C18.0044493,19.7723231 19.5452493,18.5460731 20.5997493,16.9400231 C21.6542493,15.3341231 22.1672493,13.4328281 22.0635993,11.5143731 C21.9599493,9.59593309 21.2450493,7.76099809 20.0235993,6.27803809 C18.8021493,4.79507809 17.1381993,3.74191309 15.2750493,3.27262309 C13.4120493,2.80333309 11.4477093,2.94254809 9.66947425,3.66989809 C7.89122425,4.39724809 6.39240925,5.67457309 5.39228425,7.31497309 C4.65047425,8.53171309 4.21190425,9.90083809 4.10336425,11.3078831 L3.46145425,10.7718731 C2.82555925,10.2409031 1.87962925,10.3259531 1.34865925,10.9618331 C0.817678753,11.5977281 0.902730253,12.5436581 1.53861925,13.0746431 L4.53462925,15.5763731 C5.09129425,16.0412231 5.90078425,16.0412231 6.45744925,15.5763731 L9.45345925,13.0746281 C10.0893543,12.5436581 10.1744043,11.5977281 9.64343425,10.9618331 C9.11244925,10.3259531 8.16651925,10.2409031 7.53062425,10.7718731 L7.14561925,11.0933681 C7.26492925,10.3128581 7.53785425,9.55882309 7.95377425,8.87665309 C8.62050925,7.78304809 9.61971925,6.93149809 10.8052143,6.44659309 C11.9907093,5.96168809 13.3002693,5.86888309 14.5422993,6.18173809 C15.7842993,6.49460809 16.8936993,7.19671309 17.7080493,8.18536309 C18.5222493,9.17399809 18.9989493,10.3972781 19.0679493,11.6762531 C19.1370993,12.9552131 18.7950993,14.2227281 18.0920493,15.2933231 C17.3889993,16.3640231 16.3617993,17.1815231 15.1607493,17.6264231 C13.9596543,18.0713231 12.6477243,18.1202231 11.4168693,17.7657731 C10.6207743,17.5367231 9.78962425,17.9961731 9.56045425,18.7923731 C9.33126925,19.5884231 9.79085425,20.4195731 10.5869493,20.6487731 C12.4332093,21.1802231 14.4011193,21.1070231 16.2027993,20.4396731 Z",fill:"currentColor",transform:"translate(11.538355, 12.000002) scale(-1, 1) translate(-11.538355, -12.000002)"})});i();var sf=require("react/jsx-runtime"),M8=({...e})=>(0,sf.jsx)("svg",{...e,children:(0,sf.jsx)("path",{d:"M11.5052991,2.53 C9.14315914,2.53 6.87776914,3.468355 5.20748914,5.138635 C4.62170914,5.724415 4.62170914,6.67417 5.20748914,7.25995 C5.79328414,7.845745 6.74302414,7.845745 7.32881914,7.25995 C8.43647914,6.152275 9.93880414,5.53 11.5052991,5.53 C13.0717791,5.53 14.5740741,6.152275 15.6818241,7.25995 C16.4441241,8.022325 16.9766241,8.971645 17.2344741,10.00015 L16.6589241,9.519625 C16.0230741,8.98864 15.0771741,9.073705 14.5461741,9.709585 C14.0151741,10.34548 14.1002241,11.29141 14.7360741,11.82238 L17.7321741,14.324095 C18.2888241,14.788945 19.0983741,14.788945 19.6550241,14.324095 L22.6509741,11.82238 C23.2868241,11.29141 23.3718741,10.34548 22.8410241,9.709585 C22.3100241,9.073705 21.3639741,8.98864 20.7281241,9.519625 L20.2775241,9.8959 C19.9631241,8.105785 19.1057241,6.441235 17.8031241,5.138635 C16.1328741,3.468355 13.8674241,2.53 11.5052991,2.53 Z M18.9429741,18.416695 C17.3894241,20.196145 15.1928241,21.285745 12.8360841,21.445495 C10.4793591,21.605395 8.15567914,20.822545 6.37618414,19.268995 C5.04950914,18.110845 4.10633914,16.595245 3.64600414,14.922145 L3.47212414,15.135295 C2.94830914,15.776995 2.00338414,15.872695 1.36159414,15.348895 C0.719789139,14.825095 0.624149139,13.880155 1.14796414,13.238365 L3.72260914,10.083805 C3.98506414,9.76222 4.36904914,9.563785 4.78318414,9.53569 C5.19731914,9.50761 5.60456914,9.652375 5.90804914,9.935575 L8.88508414,12.713575 C9.49076914,13.27876 9.52358914,14.227945 8.95840414,14.833645 C8.39320414,15.439345 7.44403414,15.472195 6.83834914,14.906995 L6.79684414,14.868145 C7.14259414,15.682345 7.67011414,16.416295 8.34908914,17.009095 C9.52918414,18.039145 11.0701791,18.558445 12.6330741,18.452395 C14.1959241,18.346345 15.6527241,17.623945 16.6829241,16.443745 C17.2277241,15.819745 18.1752741,15.755395 18.7994241,16.300195 C19.4234241,16.844995 19.4877741,17.792545 18.9429741,18.416695 Z",fill:"currentColor"})});i();var uf=require("react/jsx-runtime"),O8=({...e})=>(0,uf.jsx)("svg",{...e,children:(0,uf.jsx)("path",{clipRule:"evenodd",d:"M3.44 7.94a1.5 1.5 0 000 2.12l4.5 4.5a1.5 1.5 0 002.12-2.12L8.122 10.5H9a9 9 0 019 9 1.5 1.5 0 003 0c0-6.627-5.373-12-12-12h-.879l1.94-1.94a1.5 1.5 0 00-2.122-2.12l-4.5 4.5z",fill:"currentColor",fillRule:"evenodd"})});i();var lf=require("react/jsx-runtime"),P8=({...e})=>(0,lf.jsx)("svg",{...e,children:(0,lf.jsx)("path",{d:"M17.9215 15.8985C17.9215 16.7268 18.593 17.3985 19.4215 17.3985C20.2499 17.3985 20.9215 16.7268 20.9215 15.8985V6.06084C20.9215 4.40399 19.5782 3.06084 17.9215 3.06084H8.14243C7.31401 3.06084 6.64243 3.73241 6.64243 4.56084C6.64243 5.38926 7.31401 6.06084 8.14243 6.06084H17.9215V15.8985ZM15.1562 21C15.9847 21 16.6562 20.3284 16.6562 19.5V8.99999C16.6562 8.17157 15.9847 7.49999 15.1562 7.49999H4.65628C3.82785 7.49999 3.15628 8.17157 3.15628 8.99999V19.5C3.15628 20.3284 3.82785 21 4.65628 21H15.1562Z",fill:"currentColor"})});i();var cf=require("react/jsx-runtime"),R8=({...e})=>(0,cf.jsx)("svg",{...e,children:(0,cf.jsx)("path",{d:"M8.04155 13.6452c-.29507.3401-.77963.4311-1.22755.3853-.26162-.0268-.53462-.0227-.83627-.0227-2.21 0-3.95805 2.0844-4 4-.04195 1.9156 1.25737 4.1963 4 4 2.74262-.1964 4-1.79 4-4 0-.3426-.04382-.6717-.1256-.9853-.10558-.4049-.03793-.8512.25797-1.1471l1.1605-1.1605c.3905-.3905 1.0237-.3905 1.4142 0l1.1605 1.1605c.296.2959.3636.7422.258 1.1471-.0817.3136-.1256.6427-.1256.9853 0 2.21 1.2103 4.1204 4 4 2.1726 0 3.9393-1.7299 3.9985-3.8881.002-.0742.011-.1481.0221-.2214.2497-1.6558-2.0776-4.0957-4.0206-3.8905-.3408 0-.6684.0434-.9806.1244-.4074.1056-.8563.0361-1.1519-.2634l-.2851-.2888c-.3353-.3396-.3856-.8664-.1188-1.262 1.2915-1.9152 4.9082-7.30692 5.5181-8.52683.597-1.19404-.1004-1.55644-.4011-1.65331-.0817-.02632-.1675-.02742-.2522-.0131-.307.05194-1.1163.23082-1.8437.75456-.8717.62763-7.2681 7.13178-10.42085 10.76588Zm-.06382 4.3626c0 1.1-.33887 2.1893-2.0324 2.2808-1.69353.0914-1.93853-.9744-1.9676-2.2808-.02907-1.3065.81698-1.7126 1.93376-1.7464 1.11677-.0338 2.06624.6464 2.06624 1.7464Zm11.65307-.1002c0 1.1-.6116 1.7771-1.7216 1.7771-1.11 0-1.666-.5105-1.666-1.6105s.5005-1.7216 1.6105-1.7216 1.7771.455 1.7771 1.555ZM3.59777 4.22989c.36385.61575 4.39198 5.69637 5.14768 6.06021.75569.3639 3.01835-2.3583 2.62655-3.14198-.3919-.78368-6.58451-4.9549-7.39427-5.14035-.51747-.1185-.78019.15897-.90243.37473-.07889.13923-.07349.30478-.029.45849.097.33507.29682.95795.55147 1.3889Z",fill:"currentColor"})});i();var ff=require("react/jsx-runtime"),I8=({...e})=>(0,ff.jsx)("svg",{...e,children:(0,ff.jsx)("path",{clipRule:"evenodd",d:"M18.3725 10.1232C18.4987 1.09802 8.4467 0.120438 4.34611 4.96936C1.44368 8.40149 1.33646 14.191 4.86985 16.6062C7.05849 18.1022 11.668 18.7203 14.8896 16.8292C15.0495 17.0045 15.221 17.1936 15.4011 17.3921L15.4276 17.4213C15.7915 17.8225 16.1803 18.2652 16.5732 18.7123C17.9928 20.3283 19.4648 22.0038 20 22C20.9201 21.9935 21.8533 21.1562 21.8058 20.3376C21.77 19.7206 18.7553 16.1791 17.2726 14.4721C17.9389 13.3478 18.3474 11.9161 18.3725 10.1232ZM15.299 10.1084C15.377 4.47295 9.16504 3.86255 6.63094 6.89026C4.83728 9.03332 4.77102 12.6484 6.9546 14.1564C8.30715 15.0905 11.1557 15.4765 13.1466 14.2957C13.4988 14.0868 14.3913 13.424 14.6193 12.8239C14.6497 12.7439 14.6813 12.6625 14.7134 12.5796L14.7135 12.5796L14.7135 12.5796L14.7135 12.5796C14.9791 11.8954 15.2852 11.1069 15.299 10.1084Z",fill:"currentColor",fillRule:"evenodd"})});i();var pf=require("react/jsx-runtime"),L8=({...e})=>(0,pf.jsx)("svg",{...e,children:(0,pf.jsx)("path",{d:"M2 14.2047V20.3381C2 21.5719 3.2987 22.3744 4.40249 21.8226L21.0824 13.4845C22.3059 12.8729 22.3059 11.1272 21.0824 10.5155L4.40249 2.17736C3.2987 1.62559 2 2.42806 2 3.66186V9.79527L17.4364 12L2 14.2047Z",fill:"currentColor"})});i();var df=require("react/jsx-runtime"),k8=({...e})=>(0,df.jsx)("svg",{...e,children:(0,df.jsx)("path",{clipRule:"evenodd",d:"M5.66855 6.15118C6.49329 8.50277 9.96633 8.54326 10.7462 6.65767C10.8213 6.50275 10.8837 6.34838 10.934 6.19504C11.6006 6.18914 12.252 6.18008 12.8909 6.16984C13.3362 6.16271 13.7747 6.15503 14.2078 6.14745L14.2078 6.14745C16.9125 6.10009 19.4015 6.05652 21.9541 6.17353C22.5058 6.19882 22.9736 5.77208 22.9988 5.22037C23.0241 4.66867 22.5974 4.20092 22.0457 4.17563C19.4248 4.05548 16.866 4.10041 14.1652 4.14784H14.1652C13.7337 4.15542 13.2985 4.16306 12.8589 4.1701C12.2317 4.18014 11.5941 4.18902 10.9432 4.19487C10.7293 3.53951 10.3122 2.96593 9.7863 2.53458C8.76569 1.6974 6.08958 1.58066 5.57765 4.14766C4.45535 4.11405 3.28483 4.06245 2.05581 3.98639C1.50458 3.95227 1.03006 4.37148 0.995946 4.92271C0.961832 5.47394 1.38104 5.94845 1.93227 5.98257C3.23946 6.06347 4.48126 6.11715 5.66855 6.15118ZM0.994143 12.2544C0.994143 11.7021 1.44186 11.2544 1.99414 11.2544C3.54149 11.2544 4.90156 11.2367 6.26948 11.2189H6.26949H6.2695H6.26951H6.26953H6.26961C8.42941 11.1909 10.6088 11.1626 13.5759 11.2031C14.128 8.57414 17.2579 8.69313 18.2866 9.53693C18.9101 10.0483 19.289 10.655 19.4003 11.347C20.2282 11.3752 21.106 11.4077 22.0402 11.4453C22.592 11.4675 23.0214 11.9328 22.9992 12.4846C22.977 13.0365 22.5117 13.4659 21.9598 13.4437C20.9298 13.4023 19.9693 13.367 19.0695 13.337C19.0451 13.3918 19.0195 13.4469 18.9926 13.5023C18.2203 15.3698 14.6207 15.4603 13.7048 13.205C10.6957 13.1618 8.50509 13.1902 6.31813 13.2187H6.31809H6.31803H6.31794H6.31786H6.31779H6.31772C4.94264 13.2365 3.56897 13.2544 1.99414 13.2544C1.44186 13.2544 0.994142 12.8067 0.994143 12.2544ZM0.994145 19.0023C0.992874 18.45 1.43956 18.0013 1.99184 18C3.17662 17.9973 4.30377 17.9936 5.38269 17.9902L5.38315 17.9902C5.50746 17.9898 5.63113 17.9894 5.75417 17.989C5.8168 17.7968 5.89605 17.6008 5.99268 17.4016C6.7966 15.4578 10.2558 15.4324 10.8919 17.9791C14.9366 17.9819 18.3998 18.024 22.0458 18.1912C22.5975 18.2164 23.0242 18.6842 22.9989 19.2359C22.9737 19.7876 22.5059 20.2143 21.9542 20.1891C18.3339 20.0231 14.8985 19.9817 10.8552 19.9792C10.2353 22.3132 7.68848 22.1789 6.6987 21.367C6.23357 20.9855 5.89701 20.5197 5.71839 19.9891C5.61085 19.9895 5.50282 19.9898 5.39429 19.9902C4.31467 19.9936 3.18528 19.9973 1.99645 20C1.44416 20.0013 0.995417 19.5546 0.994145 19.0023Z",fill:"currentColor",fillRule:"evenodd"})});i();var mf=require("react/jsx-runtime"),N8=({...e})=>(0,mf.jsx)("svg",{...e,children:(0,mf.jsx)("path",{d:"M10.4295221,6.27892711 C11.1231482,6.27892711 11.6860911,6.84061342 11.6860911,7.53549604 C11.6860911,8.22912209 11.1231482,8.79206497 10.4295221,8.79206497 L2.51313786,8.79206497 L2.51313786,19.9755285 L20.9847011,19.9755285 L20.9847011,13.0643993 C20.9847011,12.3695167 21.5463875,11.8078304 22.2412701,11.8078304 C22.9361527,11.8078304 23.497839,12.3695167 23.497839,13.0643993 L23.497839,21.2320974 C23.497839,21.92698 22.9361527,22.4886663 22.2412701,22.4886663 L1.25656893,22.4886663 C0.561686312,22.4886663 -1.13686838e-13,21.92698 -1.13686838e-13,21.2320974 L-1.13686838e-13,7.53549604 C-1.13686838e-13,6.84061342 0.561686312,6.27892711 1.25656893,6.27892711 L10.4295221,6.27892711 Z M17.4859106,1.06542262 L23.1404708,2.95027601 C23.4860273,3.06462379 23.763729,3.32473355 23.9044647,3.66149403 C24.0439439,3.99699793 24.0301216,4.37773832 23.8667676,4.70444624 L20.9779157,10.4846633 C20.7580161,10.925719 20.3131907,11.1795459 19.8520299,11.1795459 C19.6635446,11.1795459 19.4712895,11.1368226 19.2916002,11.0476062 C18.6708551,10.7359771 18.4182848,9.98203575 18.7286573,9.3612907 L20.1552631,6.50659486 C15.2357578,8.53215897 12.565438,11.9544286 12.565438,16.3309759 C12.565438,17.0258586 12.0037517,17.5875449 11.3088691,17.5875449 C10.6139864,17.5875449 10.0523001,17.0258586 10.0523001,16.3309759 C10.0523001,10.9670445 13.2956932,6.67962778 19.0694395,4.24191108 L16.6905025,3.44913388 C16.0333169,3.23049089 15.6777079,2.5180163 15.8976075,1.85957418 C16.1162505,1.20238863 16.8236988,0.844266485 17.4859106,1.06542262 Z",fill:"currentColor"})});i();var hf=require("react/jsx-runtime"),$8=({...e})=>(0,hf.jsx)("svg",{...e,children:(0,hf.jsx)("path",{d:"M13.7485567,15.60854 C15.5272567,15.56974 17.2945567,15.53114 18.0570567,15.53114 C20.4611567,15.53114 20.5152567,14.97244 20.6796567,13.27624 C20.6956567,13.11144 20.7126567,12.93584 20.7329567,12.74904 C20.8667567,11.55664 20.8094567,4.37196 20.7520567,2.78216 C20.7456567,2.56558 20.7440567,2.36254 20.7425567,2.17272 C20.7305567,0.67436 20.7252567,0 18.4011567,0 C16.6617567,0 12.8983567,0.06745 10.3712567,0.11274 C9.09395667,0.13563 8.13249667,0.15287 7.90789667,0.15287 C7.23892667,0.18344 6.91399667,1.16178 6.87577667,2.07898 C6.85484667,2.5811 6.85110667,4.07284 6.85513667,5.54594 C4.76066667,3.58565 1.63311667,1.35394 0.926556668,1.00817 C0.690226668,0.8405 0.332936668,1.06705 0.269246668,1.36843 C-0.244693332,3.80038 0.0220166684,11.95624 0.689856668,15.10364 C0.796596668,15.60674 1.27320667,15.65794 1.57944667,15.44874 C3.39814667,14.20614 5.44535667,12.07344 6.84078667,10.29664 C6.80306667,11.67204 6.77573667,13.38984 6.99045667,14.39994 C7.20069667,15.50064 8.19459667,15.68404 9.03555667,15.68404 C9.53235667,15.70064 11.6483567,15.65444 13.7485567,15.60854 Z",fill:"currentColor"})});i();var gf=require("react/jsx-runtime"),Z8=({...e})=>(0,gf.jsx)("svg",{...e,children:(0,gf.jsx)("path",{clipRule:"evenodd",d:"M18.4814 8.67568L17.817 10.7148C17.6962 11.0912 17.0841 11.0982 16.9512 10.7287L16.1338 8.48397C15.9808 8.06917 15.6385 7.72409 15.1875 7.53587L13.2586 6.72719C12.9002 6.57731 12.9244 6.12765 13.2989 6.00566L15.2438 5.37824C15.7754 5.20744 16.1861 4.83099 16.3512 4.36391L17.0922 2.27948C17.225 1.89605 17.8573 1.91348 17.966 2.30388L18.5459 4.40922C18.6747 4.87281 19.0412 5.26321 19.5405 5.46886L21.7432 6.37165C22.1217 6.52502 22.0774 7.00256 21.6747 7.10364L19.7338 7.58467C19.1257 7.73455 18.6546 8.14934 18.4814 8.67568ZM7.47388 10.8744L8.50744 7.47586C8.69536 6.84844 9.64748 6.83682 9.85419 7.45262L11.1258 11.1939C11.3638 11.8852 11.8963 12.4604 12.5978 12.7741L15.5983 14.1219C16.1558 14.3717 16.1182 15.1211 15.5356 15.3244L12.5101 16.3701C11.6833 16.6548 11.0443 17.2822 10.7875 18.0607L9.63495 21.5347C9.42824 22.1738 8.4448 22.1447 8.27567 21.4941L7.37366 17.9852C7.17321 17.2125 6.60319 16.5618 5.82645 16.2191L2.40005 14.7144C1.81124 14.4588 1.88014 13.6629 2.50654 13.4944L5.52578 12.6927C6.47164 12.4429 7.20453 11.7516 7.47388 10.8744Z",fill:"currentColor",fillRule:"evenodd"})});i();var fs=require("react/jsx-runtime"),H8=({...e})=>(0,fs.jsx)("svg",{...e,children:(0,fs.jsx)("path",{d:"M20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C13.1046 20 14 20.8954 14 22C14 23.1046 13.1046 24 12 24C5.37258 24 -8.1423e-07 18.6274 -5.24537e-07 12C-2.34843e-07 5.37258 5.37258 -8.1423e-07 12 -5.24537e-07C18.6274 -2.34843e-07 24 5.37258 24 12C24 13.1046 23.1046 14 22 14C20.8954 14 20 13.1046 20 12Z",fill:"currentColor",children:(0,fs.jsx)("animateTransform",{attributeName:"transform",dur:"1.5s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})})});i();var vf=require("react/jsx-runtime"),z8=({...e})=>(0,vf.jsx)("svg",{...e,children:(0,vf.jsx)("path",{d:"M16.296629,10.0643007 C16.283129,8.3006607 16.262429,5.5820807 16.373129,3.9624207 C16.443029,2.7444807 17.072229,2.0137207 18.715329,2.0137207 C20.183529,1.9162807 20.533129,2.3547407 20.742829,2.7932007 C21.896529,5.4239507 21.651829,17.7495007 21.546929,19.7469007 C21.536829,19.9288007 21.537629,20.0967007 21.538329,20.2518007 C21.542629,21.1765007 21.544829,21.6471007 19.239629,21.9392007 C16.967429,22.2315007 16.722729,21.4520007 16.652729,19.9905007 C16.582829,18.8213007 16.338129,12.9752007 16.303229,11.2213007 C16.303229,10.9269007 16.300129,10.5287007 16.296629,10.0643007 Z M2.07189895,8.5624307 C1.92962895,10.0176007 2.03633895,13.4444007 2.07189895,14.4302007 C2.10746895,15.6976007 2.39200895,19.7816007 2.46313895,20.6265007 C2.53427895,21.7062007 2.64097895,22.1756007 4.98841895,21.9409007 C7.33548895,21.6995007 7.33150895,21.0099007 7.32714895,20.2563007 C7.32642895,20.1305007 7.32568895,20.0030007 7.33585895,19.8754007 C7.44255895,18.4202007 7.12245895,11.0034007 6.94461895,9.8768007 C6.88283895,9.4854507 6.84252895,9.1167507 6.80726895,8.7943207 C6.74102895,8.1885707 6.69264895,7.7461307 6.55337895,7.6235907 C6.26883895,7.3419407 5.80646895,6.9194607 4.09923895,7.0133407 C2.35643895,7.1541707 2.17860895,7.7174707 2.07189895,8.5624307 Z M14.192829,11.8352007 C14.370229,12.6825007 14.429829,14.4190007 14.465529,15.4577007 C14.474729,15.7235007 14.482329,15.9436007 14.489829,16.0915007 C14.527029,17.0104007 14.452729,20.0092007 14.415629,20.6379007 C14.378429,21.4118007 14.267029,21.9438007 11.853429,21.9922007 C9.40640895,22.0750007 9.38008895,21.4846007 9.35349895,20.8882007 C9.34902895,20.7878007 9.34453895,20.6872007 9.32848895,20.5896007 C9.14282895,19.5739007 8.95716895,12.7542007 9.51414895,11.6417007 C9.69980895,11.3032007 10.145429,10.9162007 11.927729,10.7711007 C13.710029,10.6260007 14.044229,11.2548007 14.192829,11.8352007 Z",fill:"currentColor"})});i();var Cf=require("react/jsx-runtime"),V8=({...e})=>(0,Cf.jsx)("svg",{...e,children:(0,Cf.jsx)("path",{d:"M19.9030516,3.56195524 C21.7797378,5.26278765 21.9069107,7.86679992 21.9134275,10.5226573 L21.9133516,11.4203552 L21.9133516,11.4203552 C21.9133516,11.9319552 21.9181516,12.4290552 21.9228516,12.9101552 C21.9542516,16.1407552 21.9787516,18.6552552 20.4878516,20.0463552 C19.2002516,21.2477552 16.9247516,21.3359552 14.5411516,21.4282552 C13.7540516,21.4587552 12.9551516,21.4897552 12.1761516,21.5613552 C9.6881516,21.7634552 5.4329516,21.8662552 3.6380016,20.3387552 C2.0543016,18.9911552 2.0479216,15.6975552 2.0429916,13.1578552 C2.0423316,12.8190552 2.0417016,12.4937552 2.0373616,12.1881552 C2.0337216,11.9327552 2.0279916,11.6671552 2.0221016,11.3940552 C1.9681116,8.89242524 1.9005916,5.76376524 3.3090516,4.03711524 C4.8712316,2.12199524 10.1440516,2.02682524 11.8253516,2.02682524 C11.9893516,2.02682524 12.1948516,2.02209524 12.4333516,2.01661524 C14.2681516,1.97441524 18.0553516,1.88732524 19.9030516,3.56195524 Z M6.4875916,9.96075524 C6.2115016,9.97945524 5.9555116,10.1117552 5.7805416,10.3261552 L3.7946516,12.7593552 C3.4454416,13.1871552 3.5092016,13.8171552 3.9370716,14.1663552 C4.3649416,14.5155552 4.9948816,14.4518552 5.3440916,14.0239552 L5.6760316,13.6172552 C5.9879816,14.9965552 6.7302716,16.2518552 7.8089316,17.1934552 C9.1501216,18.3642552 10.9014516,18.9543552 12.6777516,18.8338552 C14.4540516,18.7133552 16.1096516,17.8922552 17.2804516,16.5510552 C17.6436516,16.1349552 17.6008516,15.5032552 17.1847516,15.1400552 C16.7687516,14.7768552 16.1370516,14.8196552 15.7738516,15.2357552 C14.9518516,16.1773552 13.7894516,16.7538552 12.5424516,16.8384552 C11.2953516,16.9230552 10.0657516,16.5087552 9.1242016,15.6867552 C8.4181616,15.0704552 7.9174016,14.2627552 7.6753716,13.3714552 L8.1692816,13.8323552 C8.5730716,14.2091552 9.2058516,14.1872552 9.5826516,13.7834552 C9.9594516,13.3796552 9.9375516,12.7468552 9.5337516,12.3700552 L7.2375116,10.2273552 C7.0351916,10.0385552 6.7636816,9.94205524 6.4875916,9.96075524 Z M11.9235516,4.61505524 C10.1431516,4.61505524 8.4357616,5.32228524 7.1768716,6.58117524 C6.7863416,6.97170524 6.7863416,7.60486524 7.1768716,7.99539524 C7.5673916,8.38591524 8.2005616,8.38591524 8.5910816,7.99539524 C9.4749516,7.11157524 10.6736516,6.61505524 11.9235516,6.61505524 C13.1734516,6.61505524 14.3721516,7.11157524 15.2559516,7.99539524 C15.8635516,8.60293524 16.2880516,9.35926524 16.4940516,10.1787552 L16.4940516,10.1787552 L16.1718516,9.87065524 C15.7726516,9.48899524 15.1396516,9.50321524 14.7580516,9.90235524 C14.3763516,10.3015552 14.3905516,10.9345552 14.7897516,11.3162552 L14.7897516,11.3162552 L16.8079516,13.2458552 C17.1945516,13.6154552 17.8035516,13.6154552 18.1901516,13.2458552 L18.1901516,13.2458552 L20.2083516,11.3162552 C20.6075516,10.9345552 20.6217516,10.3015552 20.2401516,9.90235524 C19.8584516,9.50321524 19.2254516,9.48899524 18.8262516,9.87065524 L18.8262516,9.87065524 L18.5324516,10.1515552 C18.2933516,8.80810524 17.6482516,7.55926524 16.6701516,6.58118524 C15.4112516,5.32228524 13.7038516,4.61505524 11.9235516,4.61505524 Z",fill:"currentColor"})});i();var bf=require("react/jsx-runtime"),j8=({...e})=>(0,bf.jsx)("svg",{...e,children:(0,bf.jsx)("path",{d:"M4.11263 5.04041C3.92596 6.96473 4.15687 14.0602 4.11264 16.0562C4.06841 18.0523 4.23513 20.4093 4.40889 21.1043C4.5638 21.7239 6.25616 22.6411 7.44514 21.4268C8.63413 20.2126 10.0197 18.6446 12.0197 17.2943C14.0383 18.8174 15.229 20.2122 16.4521 21.4268C17.6752 22.6415 19.5487 22.0525 19.7014 21.1043C20.0238 19.2079 19.922 14.662 19.956 13.2955C19.9899 11.5943 19.8541 6.15596 19.8032 5.04041C19.7693 3.92486 19.8803 3.09817 19.1506 2.81928C16.096 1.64795 9.97759 1.72165 6.75328 2.27943C3.85141 2.78143 4.23142 3.8412 4.11263 5.04041Z",fill:"currentColor"})});i();var yf=require("react/jsx-runtime"),W8=({...e})=>(0,yf.jsx)("svg",{...e,children:(0,yf.jsx)("path",{d:"M17.2519 13.3365L14.2254 1.66305C14.1916 1.6578 14.1575 1.65288 14.1234 1.6483C11.1829 1.25586 7.41327 1.25586 5.58925 1.43826C2.63214 1.73673 3.05775 4.19087 3.05775 4.19087C1.47694 5.8159 2.41104 7.83337 2.41104 7.83337C0.388047 10.083 1.94675 11.7909 1.94675 11.7909C0.111682 13.4768 1.48799 15.3726 3.05775 15.5053C4.25718 15.6103 7.14243 15.5716 8.44135 15.5495C8.77299 15.544 9.02725 15.848 8.96645 16.1741C8.09314 21.0934 9.97242 24.2937 12.0009 23.9787C13.0862 23.8073 13.0854 22.2429 13.0847 20.8977C13.0844 20.2903 13.0841 19.7275 13.1838 19.3578C13.5154 18.1252 14.7978 16.4173 16.1133 14.9139C16.5448 14.4207 16.9252 13.8923 17.2519 13.3365ZM15.3373 1.96685C15.3469 1.97072 15.3566 1.97461 15.3662 1.97853C15.3513 1.87268 15.3385 1.7733 15.3283 1.68149C15.2399 0.86345 15.3891 0.769483 16.8262 0.382572C18.2633 -0.00434145 18.6447 -0.103829 18.9266 0.111738C19.0761 0.225857 19.2257 0.706983 19.4211 1.33571C19.5001 1.59011 19.5867 1.86866 19.6838 2.15685C20.021 3.1573 21.7179 10.0277 21.8892 11.404C21.9046 11.5245 21.9264 11.6345 21.9467 11.7363C22.0722 12.368 22.1359 12.6884 20.2034 13.2833C19.1604 13.605 18.6552 13.75 18.3686 13.659L15.3373 1.96685Z",fill:"currentColor"})});i();var Df=require("react/jsx-runtime"),U8=({...e})=>(0,Df.jsx)("svg",{...e,children:(0,Df.jsx)("path",{d:"M5.81817 10.6635L8.84461 22.337C8.87851 22.3422 8.91252 22.3471 8.94663 22.3517C11.8872 22.7441 15.6568 22.7441 17.4808 22.5617C20.4379 22.2633 20.0123 19.8091 20.0123 19.8091C21.5931 18.1841 20.659 16.1666 20.659 16.1666C22.682 13.917 21.1233 12.2091 21.1233 12.2091C22.9584 10.5232 21.5821 8.62738 20.0123 8.49472C18.8129 8.3897 15.9276 8.42839 14.6287 8.4505C14.2971 8.45603 14.0428 8.15202 14.1036 7.82591C14.9769 2.9066 13.0976 -0.293715 11.0691 0.0213417C9.98386 0.192697 9.98468 1.75706 9.98538 3.10231C9.9857 3.70975 9.98599 4.27251 9.88626 4.64218C9.55462 5.87477 8.27229 7.58271 6.95679 9.08614C6.5253 9.57927 6.1449 10.1077 5.81817 10.6635ZM7.73279 22.0331C7.72312 22.0293 7.71347 22.0254 7.70384 22.0215C7.71881 22.1273 7.73156 22.2267 7.74176 22.3185C7.83019 23.1365 7.68094 23.2305 6.24384 23.6174C4.80674 24.0043 4.42536 24.1038 4.14347 23.8883C3.99393 23.7741 3.8444 23.293 3.64899 22.6643C3.56993 22.4099 3.48335 22.1313 3.38623 21.8431C3.04906 20.8427 1.35217 13.9723 1.18082 12.596C1.16547 12.4755 1.14362 12.3655 1.12338 12.2637C0.99784 11.632 0.934173 11.3116 2.86666 10.7167C3.90967 10.395 4.4149 10.25 4.70148 10.341L7.73279 22.0331Z",fill:"currentColor"})});i();var xf=require("react/jsx-runtime"),_8=({...e})=>(0,xf.jsx)("svg",{...e,children:(0,xf.jsx)("path",{d:"M21.87 22.5H2.354c-.897 0-1.57-.444-2.019-1.111-.448-.667-.448-1.556 0-2.222L9.981 2.5c.898-1.333 3.365-1.333 4.038 0l9.645 16.667c.448.666.448 1.555 0 2.222-.449.667-1.122 1.111-1.795 1.111zM6.392 18.056h11.663L12 8.056l-5.607 10z",fill:"currentColor"})});i();var Ef=require("react/jsx-runtime"),K8=({...e})=>(0,Ef.jsx)("svg",{...e,children:(0,Ef.jsx)("path",{d:"M16.2027993,20.4396731 C18.0044493,19.7723231 19.5452493,18.5460731 20.5997493,16.9400231 C21.6542493,15.3341231 22.1672493,13.4328281 22.0635993,11.5143731 C21.9599493,9.59593309 21.2450493,7.76099809 20.0235993,6.27803809 C18.8021493,4.79507809 17.1381993,3.74191309 15.2750493,3.27262309 C13.4120493,2.80333309 11.4477093,2.94254809 9.66947425,3.66989809 C7.89122425,4.39724809 6.39240925,5.67457309 5.39228425,7.31497309 C4.65047425,8.53171309 4.21190425,9.90083809 4.10336425,11.3078831 L3.46145425,10.7718731 C2.82555925,10.2409031 1.87962925,10.3259531 1.34865925,10.9618331 C0.817678753,11.5977281 0.902730253,12.5436581 1.53861925,13.0746431 L4.53462925,15.5763731 C5.09129425,16.0412231 5.90078425,16.0412231 6.45744925,15.5763731 L9.45345925,13.0746281 C10.0893543,12.5436581 10.1744043,11.5977281 9.64343425,10.9618331 C9.11244925,10.3259531 8.16651925,10.2409031 7.53062425,10.7718731 L7.14561925,11.0933681 C7.26492925,10.3128581 7.53785425,9.55882309 7.95377425,8.87665309 C8.62050925,7.78304809 9.61971925,6.93149809 10.8052143,6.44659309 C11.9907093,5.96168809 13.3002693,5.86888309 14.5422993,6.18173809 C15.7842993,6.49460809 16.8936993,7.19671309 17.7080493,8.18536309 C18.5222493,9.17399809 18.9989493,10.3972781 19.0679493,11.6762531 C19.1370993,12.9552131 18.7950993,14.2227281 18.0920493,15.2933231 C17.3889993,16.3640231 16.3617993,17.1815231 15.1607493,17.6264231 C13.9596543,18.0713231 12.6477243,18.1202231 11.4168693,17.7657731 C10.6207743,17.5367231 9.78962425,17.9961731 9.56045425,18.7923731 C9.33126925,19.5884231 9.79085425,20.4195731 10.5869493,20.6487731 C12.4332093,21.1802231 14.4011193,21.1070231 16.2027993,20.4396731 Z",fill:"currentColor"})});i();var wf=require("react/jsx-runtime"),G8=({...e})=>(0,wf.jsx)("svg",{...e,children:(0,wf.jsx)("path",{clipRule:"evenodd",d:"m17.9999 8.99999h-.3091c.1023-2.25606-1.0799-4.47509-3.2127-5.59146-2.4819-1.29899-5.45668-.6893-7.24572 1.30389-.55335.61651-.25756 1.5411.47641 1.92526.73397.38415 1.6315.05054 2.32091-.40882.8828-.58823 2.051-.68901 3.0572-.16239 1.1098.5809 1.7048 1.75893 1.597 2.93352h-8.6839c-.82844 0-1.5.67156-1.5 1.50001v9c0 .8285.67156 1.5 1.5 1.5h11.9999c.8285 0 1.5-.6715 1.5-1.5v-9c0-.82845-.6715-1.50001-1.5-1.50001zm-5.9999 9.00001c1.6569 0 2.9999-1.3431 2.9999-3s-1.343-3-2.9999-3-3 1.3431-3 3 1.3431 3 3 3z",fill:"currentColor",fillRule:"evenodd"})});i();var Sf=require("react/jsx-runtime"),q8=({...e})=>(0,Sf.jsx)("svg",{...e,children:(0,Sf.jsx)("path",{d:"M15.000078,14.8684515 C15.000078,15.6969015 14.328378,16.3684515 13.500003,16.3684515 L10.500003,16.3684515 C9.671583,16.3684515 9.000003,15.6969015 9.000003,14.8684515 L9.000003,10.3684215 L6.997938,10.3684215 C5.612193,10.3684215 4.967508,8.6501565 6.011253,7.7386215 L11.013318,3.3702015 C11.578518,2.8765965 12.421503,2.8765965 12.986688,3.3702015 L17.988678,7.7386215 C19.032528,8.6501565 18.387828,10.3684215 17.002128,10.3684215 L15.000078,10.3684215 L15.000078,14.8684515 Z M19.499928,21.0000015 C20.328378,21.0000015 20.999928,20.3284515 20.999928,19.5000015 C20.999928,18.6715515 20.328378,18.0000015 19.499928,18.0000015 L4.500003,18.0000015 C3.671568,18.0000015 3.000003,18.6715515 3.000003,19.5000015 C3.000003,20.3284515 3.671568,21.0000015 4.500003,21.0000015 L19.499928,21.0000015 Z",fill:"currentColor"})});i();var Tf=require("react/jsx-runtime"),X8=({...e})=>(0,Tf.jsx)("svg",{...e,children:(0,Tf.jsx)("path",{d:"M11.9795007,11.6812178 C17.4877007,11.7582178 18.0843007,5.62342775 15.1250007,3.12080775 C13.0303007,1.34944775 9.3796907,1.73130775 7.9056807,3.88775775 C6.4316707,6.04420775 6.4713607,11.6041178 11.9795007,11.6812178 Z M2.0679907,21.2867178 C2.1103707,21.7159178 2.5722107,22.0699178 3.0867007,22.0565178 L20.7985007,22.1986425 C21.4214007,22.2022178 21.9343007,21.8129178 21.9595007,21.3473178 C22.1151007,19.6814178 21.8238007,17.9925178 21.0597007,16.5583178 C19.2580007,13.0837178 8.8364407,10.9365178 4.3016007,14.5465178 C2.1421907,16.2745178 1.8285807,19.0425178 2.0679907,21.2867178 Z",fill:"currentColor"})});i();var Af=require("react/jsx-runtime"),Y8=({...e})=>(0,Af.jsx)("svg",{...e,children:(0,Af.jsx)("path",{d:"M18.9737042,7.86457117 C20.7874042,9.55338117 22.0656042,11.0859812 21.9974042,12.0438812 C22.0916042,13.3739812 19.6110042,15.7035812 17.2104042,17.4477812 C13.5235042,20.1267812 8.07189418,18.9114812 5.02630418,16.0755812 C3.21264418,14.3867812 1.93440418,12.8540812 2.00260418,11.8962812 C1.90837418,10.5661812 4.38904418,8.23659117 6.78955418,6.49235117 C10.4765042,3.81337117 15.9281042,5.02870117 18.9737042,7.86457117 Z M14.4483042,8.64866117 C12.6011042,7.06715117 9.38168418,7.40808117 8.08178418,9.33340117 C6.78187418,11.2586812 6.81687418,16.2226812 11.6744042,16.2914812 C16.5320042,16.3602812 17.0581042,10.8830812 14.4483042,8.64866117 Z M11.6759042,14.4390812 C14.4856042,14.4783812 14.7900042,11.3490812 13.2804042,10.0724812 C12.2119042,9.16886117 10.3497042,9.36365117 9.59783418,10.4636812 C8.84593418,11.5636812 8.86618418,14.3998812 11.6759042,14.4390812 Z",fill:"currentColor"})});i();var Bf=require("react/jsx-runtime"),J8=({...e})=>(0,Bf.jsx)("svg",{...e,children:(0,Bf.jsx)("path",{d:"M14.976 3c-.813 0-1.476-.664-1.476-1.476v-.048C13.5.665 14.163 0 14.976 0s1.476.664 1.476 1.476v.048c0 .812-.663 1.476-1.476 1.476zm6 1.5c-.813 0-1.476-.664-1.476-1.476v-.048c0-.812.663-1.476 1.476-1.476s1.476.664 1.476 1.476v.048c0 .812-.663 1.476-1.476 1.476zm.07 4.477V8.93c0-.813.665-1.477 1.476-1.477.813 0 1.478.664 1.478 1.477v.047c0 .811-.665 1.476-1.478 1.476-.811 0-1.476-.665-1.476-1.476zm-.07 4.523c.813 0 1.476.665 1.476 1.476v.048c0 .812-.663 1.476-1.476 1.476s-1.476-.665-1.476-1.476v-.048c0-.812.663-1.476 1.476-1.476zm-11.953-9c-.813 0-1.476-.664-1.476-1.476v-.048c0-.812.663-1.476 1.476-1.476s1.476.664 1.476 1.476v.048c0 .812-.663 1.476-1.476 1.476zM9 8.977v.046c0 .812-.665 1.478-1.476 1.478-.813 0-1.478-.666-1.478-1.478v-.046c0-.813.665-1.476 1.478-1.476C8.335 7.5 9 8.164 9 8.977zM14.976 15c.813 0 1.476.665 1.476 1.476v.048c0 .811-.663 1.476-1.476 1.476s-1.476-.665-1.476-1.476v-.048c0-.811.663-1.476 1.476-1.476zM13.5 9c0 .826.673 1.5 1.5 1.5.826 0 1.5-.674 1.5-1.5 0-.828-.674-1.5-1.5-1.5-.827 0-1.5.672-1.5 1.5zM.438 23.562c-.584-.584-.584-1.538 0-2.121L10.95 10.929c-.28-.587-.45-1.236-.45-1.929 0-2.486 2.014-4.5 4.5-4.5 2.485 0 4.5 2.014 4.5 4.5s-2.015 4.5-4.5 4.5c-.693 0-1.343-.17-1.93-.45L2.56 23.562c-.291.291-.677.438-1.06.438-.385 0-.77-.147-1.061-.438z",fill:"currentColor"})});i();var Ff=require("react/jsx-runtime"),Q8=({...e})=>(0,Ff.jsx)("svg",{...e,children:(0,Ff.jsx)("path",{d:"M4.34613 4.96935C8.44672.120432 18.4987 1.09801 18.3725 10.1232c-.0251 1.7929-.4336 3.2246-1.0999 4.3489 1.4827 1.707 4.4974 5.2485 4.5332 5.8655.0475.8186-.696 1.5695-1.6161 1.576-.6833.0048-3.0833-2.6413-4.7621-4.4923-.1898-.2092-.3703-.4082-.538-.5921-3.2216 1.8911-7.83109 1.273-10.01973-.223C1.33648 14.191 1.4437 8.40148 4.34613 4.96935Zm4.93672 1.64027c0-.55228.44771-1 .99995-1 .5523 0 1 .44772 1 1v2.43714h2.4371c.5523 0 1 .44771 1 1.00004 0 .5522-.4477 1-1 1h-2.4371v2.437c0 .5523-.4477 1-1 1-.55224 0-.99995-.4477-.99995-1v-2.437h-2.4371c-.55229 0-1-.4478-1-1 0-.55233.44771-1.00004 1-1.00004h2.4371V6.60962Z",fill:"currentColor",fillRule:"evenodd"})});i();var Mf=require("react/jsx-runtime"),e6=({...e})=>(0,Mf.jsx)("svg",{...e,children:(0,Mf.jsx)("path",{d:"M4.94612 4.96935C9.04672.120432 19.0987 1.09801 18.9725 10.1232c-.0251 1.7929-.4336 3.2246-1.0999 4.3489 1.4827 1.707 4.4974 5.2485 4.5332 5.8655.0475.8186-.696 1.5695-1.6161 1.576-.6833.0048-3.0833-2.6413-4.7621-4.4923-.1898-.2092-.3703-.4082-.538-.5921-3.2216 1.8911-7.83109 1.273-10.01973-.223C1.93648 14.191 2.0437 8.40148 4.94612 4.96935Zm1.49962 5.07745c0 .5522.44772 1 1 1h6.87416c.5523 0 1-.4478 1-1 0-.55233-.4477-1.00004-1-1.00004H7.44574c-.55228 0-1 .44771-1 1.00004Z",fill:"currentColor"})});var t6=require("react/jsx-runtime"),ps={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},Ie=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(se(n))throw new Error("An Icon component requires a `type` prop to be provided");if(se(e2[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(se(ps[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=Of[e2[n]],s={verticalAlign:"middle",...r};return(0,t6.jsx)(a,{"aria-hidden":"true",color:e,height:`${ps[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${ps[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};Ie.displayName="Icon_VHS";var Ct=require("react/jsx-runtime"),gA=ki.default.span`
|
|
478
478
|
display: flex;
|
|
479
479
|
justify-content: center;
|
|
480
480
|
position: absolute;
|
|
481
|
-
`,
|
|
481
|
+
`,vA=ki.default.div`
|
|
482
482
|
align-items: center;
|
|
483
483
|
display: inline-flex;
|
|
484
484
|
flex-direction: ${({iconPosition:e})=>e==="end"?"row-reverse":"row"};
|
|
@@ -487,40 +487,40 @@
|
|
|
487
487
|
justify-content: center;
|
|
488
488
|
opacity: ${({isLoading:e})=>e?0:1};
|
|
489
489
|
position: relative;
|
|
490
|
-
`,
|
|
490
|
+
`,CA=ki.default.div`
|
|
491
491
|
align-items: center;
|
|
492
492
|
display: inline-flex;
|
|
493
493
|
flex-grow: 1;
|
|
494
494
|
justify-content: center;
|
|
495
|
-
`,
|
|
495
|
+
`,bA=ki.default.div`
|
|
496
496
|
display: flex;
|
|
497
497
|
|
|
498
498
|
& > svg {
|
|
499
499
|
max-height: ${({size:e})=>e};
|
|
500
500
|
max-width: ${({size:e})=>e};
|
|
501
501
|
}
|
|
502
|
-
`,
|
|
502
|
+
`,r6=Object.freeze({lg:"md",md:"md",sm:"sm"}),yA={lg:"16px",md:"16px",sm:"12px"},ds=({children:e,icon:t,iconName:r,iconPosition:n,isLoading:o,size:a})=>{let s=()=>{if(M(t)&&M(r))throw new Error("Do not use both icon and iconName props. If you are using a VHS icon, pass its type as a string to iconName. If you are using a custom icon, pass it as a component to the icon prop. ");return M(t)?(0,Ct.jsx)(bA,{"data-testid":"icon-container",size:yA[a],children:t}):M(r)?(0,Ct.jsx)(Ie,{"data-testid":"iconName-icon",size:r6[a],type:r}):null};return(0,Ct.jsxs)(Ct.Fragment,{children:[o?(0,Ct.jsxs)(gA,{"data-testid":"button-content-loading",children:[(0,Ct.jsx)(Bi,{"aria-live":"assertive",message:"Button has been disabled while action is in progress"}),(0,Ct.jsx)(Ie,{size:r6[a],type:"spinner"})]}):null,(0,Ct.jsxs)(vA,{iconPosition:n,isLoading:o,size:a,children:[(0,Ct.jsx)(Ct.Fragment,{children:s()}),M(e)?(0,Ct.jsx)(CA,{"data-testid":"button-content-label",children:e}):null]})]})};i();var ms=(e,t,r)=>pe(e)?e:t==="primary"?r.brandBlue500:t==="secondary"||t==="tertiary"?r.grey900:t==="dangerous"?r.red600:r.brandBlue500;var Pf=require("react/jsx-runtime"),Ve=(0,n6.forwardRef)(({children:e,disabled:t=!1,forceState:r,colorOverride:n,icon:o,iconName:a,iconPosition:s="start",label:u,labelWrap:l=!1,isLoading:c=!1,noStyle:d=!1,onClick:h,size:m="lg",square:C=!1,type:v="button",variant:p="primary",...b},y)=>{let E=()=>c||t,B=D=>{if(E()){D.preventDefault();return}M(h)&&h(D)},A=ms(n,p,ke()),I=()=>M(e)?e:M(u)?u:null;return(0,Pf.jsx)(B4,{ref:y,"aria-disabled":E()||void 0,buttonColor:A,disabled:!1,forceState:r,iconPosition:s,isLoading:c,labelWrap:l,noStyle:d,onClick:B,size:m,square:C,type:v,variant:p,...b,children:(0,Pf.jsx)(ds,{icon:o,iconName:a,iconPosition:s,isLoading:c,size:m,children:I()})})});Ve.displayName="Button_VHS";var cn=require("react/jsx-runtime"),DA=["success","warning","error","dangerous"],If="success",Lf="Dismiss",kf=3e3,xA=(e,t,r)=>{if(pe(e))return e;if(!DA.includes(t))throw new Error(`Variant "${t}" not supported, please update variant prop in Toast component.`);return t==="dangerous"||t==="error"?r.red600:t==="warning"?r.yellow500:r.brandBlue500},EA="8px",hs="24px",wA=Rf.default.div`
|
|
503
503
|
align-items: center;
|
|
504
504
|
background: white;
|
|
505
505
|
border-left-color: ${({accentColor:e})=>e};
|
|
506
506
|
border-left-style: solid;
|
|
507
|
-
border-left-width: ${
|
|
508
|
-
bottom: ${({renderInPlace:e})=>e?null:
|
|
507
|
+
border-left-width: ${EA};
|
|
508
|
+
bottom: ${({renderInPlace:e})=>e?null:hs};
|
|
509
509
|
box-shadow: ${({theme:e})=>e.shadow.elevation2};
|
|
510
510
|
display: flex;
|
|
511
511
|
gap: ${({theme:e})=>e.spacing.space04};
|
|
512
|
-
left: ${({renderInPlace:e})=>e?null:
|
|
512
|
+
left: ${({renderInPlace:e})=>e?null:hs};
|
|
513
513
|
padding: ${({theme:e})=>`${e.spacing.space04} ${e.spacing.space04} ${e.spacing.space04} ${e.spacing.space04}`};
|
|
514
514
|
position: ${({renderInPlace:e})=>e?null:"fixed"};
|
|
515
515
|
transform: translate3d(0, 0, 0);
|
|
516
|
-
width: calc(100% - ${
|
|
516
|
+
width: calc(100% - ${hs} - ${hs});
|
|
517
517
|
z-index: ${({theme:e})=>e.zIndex.Toast};
|
|
518
518
|
|
|
519
519
|
${Re.smAndUp} {
|
|
520
520
|
min-width: 352px;
|
|
521
521
|
width: 400px;
|
|
522
522
|
}
|
|
523
|
-
`,
|
|
523
|
+
`,SA=Rf.default.div`
|
|
524
524
|
align-self: center;
|
|
525
525
|
color: ${({theme:e})=>e.color.grey900};
|
|
526
526
|
flex-grow: 1;
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
> * {
|
|
532
532
|
margin: 0;
|
|
533
533
|
}
|
|
534
|
-
`,
|
|
534
|
+
`,TA=({children:e})=>{let t=document.getElementById("toast-portal");return t?(0,o6.createPortal)(e,t):null},Ni=null,Yo=(0,qt.memo)(({actionInterceptor:e=void 0,actionLabel:t=Lf,colorOverride:r=void 0,renderInPlace:n=!1,isOpen:o=!1,message:a,onClose:s,timeout:u=kf,variant:l=If,...c})=>{let[d,h]=(0,qt.useState)(o),C=l==="error"||l==="warning"?"assertive":"polite",v=(0,qt.useCallback)(()=>{clearTimeout(Ni??void 0),Ni=null},[]),p=()=>{v(),s()},b=()=>{Ni=setTimeout(()=>{p()},u)};(0,qt.useEffect)(()=>(d&&!n&&b(),()=>{Kr(Ni)&&v()})),(0,qt.useEffect)(()=>(h(o),()=>{Kr(Ni)&&v()}),[o,v,h]);let y=xA(r,l,ke());return(0,cn.jsx)(n?qt.Fragment:TA,{children:(0,cn.jsx)(x7,{in:d,children:(0,cn.jsxs)(wA,{accentColor:y,"aria-hidden":!d,onMouseEnter:v,onMouseLeave:b,renderInPlace:n,...c,children:[(0,cn.jsxs)(SA,{"data-testid":"toast-message",children:[(0,cn.jsx)(Bi,{"aria-live":C,message:a}),a]}),(0,cn.jsx)(Ve,{colorOverride:y,"data-testid":"toast-action",label:t,onClick:e??p,variant:"tertiary"})]},a)})})});Yo.displayName="Toast_VHS";i();var a6=require("react"),gs=(0,a6.createContext)(null);var fn=require("react/jsx-runtime"),i6=({children:e})=>{let[t,r]=(0,lr.useState)(void 0),[n,o]=(0,lr.useState)(""),[a,s]=(0,lr.useState)(void 0),[u,l]=(0,lr.useState)(""),[c,d]=(0,lr.useState)(!1),[h,m]=(0,lr.useState)(void 0),[C,v]=(0,lr.useState)(void 0),p=(0,lr.useCallback)(({message:b,variant:y=If,actionLabel:E=Lf,actionInterceptor:B,timeout:A=kf,colorOverride:I})=>{r(B?()=>B:void 0),o(E),s(I),l(b),d(!0),m(A),v(y)},[]);return(0,fn.jsxs)(fn.Fragment,{children:[(0,fn.jsx)(gs.Provider,{value:p,children:e}),(0,fn.jsx)(Yo,{actionInterceptor:t,actionLabel:n,colorOverride:a,isOpen:c,message:u,onClose:()=>d(!1),timeout:h,variant:C}),(0,fn.jsx)("div",{id:"toast-portal"})]})};i();var Xt=require("react");i();var vs=require("react"),Nf=(0,vs.createContext)({}),$f=()=>(0,vs.useContext)(Nf);var s6=require("react/jsx-runtime"),Cs=({children:e})=>{let r=(0,Xt.useRef)(new Set).current,n=(0,Xt.useCallback)(d=>r.values().next().value===d,[r]),o=(0,Xt.useCallback)(()=>{let d=r.values().next().value;$l(d)&&d(!0)},[r]),a=(0,Xt.useCallback)(()=>{let d=r.values().next().value;$l(d)&&d(!1)},[r]),s=(0,Xt.useCallback)(d=>{r.add(d),n(d)&&o()},[r,n,o]),u=(0,Xt.useCallback)(d=>{r.add(d),n(d)?(a(),r.delete(d),o()):r.delete(d)},[r,n,a,o]),l=(0,Xt.useCallback)(d=>{r.delete(d)},[r]),c=(0,Xt.useMemo)(()=>({attemptShowModal:s,attemptHideModal:u,removeModalFromQueue:l}),[s,u,l]);return(0,s6.jsx)(Nf.Provider,{value:c,children:e})};i();var p6=require("styled-components");i();var u6=require("styled-components"),l6=u6.css`
|
|
535
535
|
/* stylelint-disable */
|
|
536
536
|
/* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
537
537
|
|
|
@@ -885,7 +885,7 @@
|
|
|
885
885
|
display: none;
|
|
886
886
|
}
|
|
887
887
|
/* stylelint-enable */
|
|
888
|
-
`;i();var
|
|
888
|
+
`;i();var c6=require("styled-components"),f6=c6.css`
|
|
889
889
|
/**
|
|
890
890
|
* 1. Change from 'content-box' so that 'width' calculations are unaffected by 'padding' or 'border'
|
|
891
891
|
* 2. Ensure the iOS tap highlight is transparent
|
|
@@ -919,10 +919,10 @@
|
|
|
919
919
|
line-height: 1.5;
|
|
920
920
|
min-height: 100vh; /* 3 */
|
|
921
921
|
}
|
|
922
|
-
`;var
|
|
923
|
-
${
|
|
924
|
-
${
|
|
925
|
-
`;var pn=require("react/jsx-runtime"),ch=({children:e,theme:t={},globalStylesIncluded:r=!0,Link:n})=>(0,pn.jsxs)(l7,{theme:t,children:[r?(0,pn.jsx)(lh,{}):null,(0,pn.jsx)(N0,{children:(0,pn.jsx)(d7,{value:{Link:n},children:(0,pn.jsx)(b1,{children:(0,pn.jsx)(rh,{children:e})})})})]});i();i();var Jo=require("react"),$i=(e=!1)=>{let[t,r]=(0,Jo.useState)(e),n=(0,Jo.useCallback)(()=>r(s=>!s),[]),o=(0,Jo.useCallback)(()=>r(!0),[]),a=(0,Jo.useCallback)(()=>r(!1),[]);return[t,n,o,a,r]};i();i();var fh=require("react");i();i();var Jn=require("react"),N2=e=>{let[t,r]=(0,Jn.useState)(!1),n=(0,Jn.useRef)(),o=(0,Jn.useRef)(e),a=s=>{clearTimeout(n.current),r(!o.current),n.current=window.setTimeout(()=>r(o.current),s)};return(0,Jn.useEffect)(()=>()=>clearTimeout(n.current),[]),[t,a]};var $2=(e,t=1500)=>{let[r,n]=N2(!1);return[(0,fh.useCallback)(async()=>{await _o(e),t&&t>0&&n(t)},[e,t,n]),r]};i();i();var dn=require("react"),EA={width:0,height:0,top:0,left:0,bottom:0,right:0,x:0,y:0},Zi=()=>{let e=(0,dn.useRef)(null),[t,r]=(0,dn.useState)(EA),n=(0,dn.useMemo)(()=>new window.ResizeObserver(o=>{if(o[0]){let{width:a,height:s,top:u,left:l,bottom:c,right:d,x:h,y:m}=o[0].contentRect;r({width:a,height:s,top:u,left:l,bottom:c,right:d,x:h,y:m})}}),[]);return(0,dn.useLayoutEffect)(()=>{if(e.current)return n.observe(e.current),()=>{n.disconnect()}},[n]),[e,t]};i();i();var Qn=require("react"),wA=window,SA=e=>!!(typeof e=="object"&&e?.addEventListener),Hi=(e,t,r=wA,n={})=>{let o=(0,Qn.useRef)(),a=(0,Qn.useRef)();(0,Qn.useEffect)(()=>{o.current=t},[t]),(0,Qn.useEffect)(()=>{a.current=n},[n]),(0,Qn.useEffect)(()=>{if(!e||!SA(r))return;let s=u=>o.current!==void 0?o.current(u):()=>{};return r.addEventListener(e,s,a.current),()=>{r.removeEventListener(e,s,a.current)}},[e,r,a])};i();i();var C1=require("react"),Z2=()=>{let[,e]=(0,C1.useState)(Object.create(null));return(0,C1.useCallback)(()=>{e(Object.create(null))},[e])};i();var ph=require("react"),dh=()=>{let[e,t]=(0,ph.useState)(!1),r=()=>t(!0),n=()=>t(!0),o=()=>t(!0),u={onFocus:r,onMouseEnter:n,onBlur:()=>t(!1),onMouseLeave:()=>t(!1)};return e||(u.onMouseMove=o),[e,u,t]};i();i();var mh=require("react");var TA=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:e!=null&&e?()=>!0:()=>!1,Qo=(e,t,r={},n=[e])=>{let{eventName:o="keydown",eventTarget:a,eventOptions:s}=r,u=(0,mh.useMemo)(()=>{let l=TA(e);return c=>{if(!(["INPUT","TEXTAREA","SELECT"].includes(document.activeElement?.nodeName??"")||document.activeElement?.isContentEditable)&&l(c))return t(c)}},n);Hi(o,u,a,s)};i();i();var hh=require("react");var zi=e=>{let[t,r]=(0,hh.useState)([!1,null]);return Qo(e,n=>r([!0,n]),{eventName:"keydown"},[t]),Qo(e,n=>r([!1,n]),{eventName:"keyup"},[t]),t};i();i();i();i();var y1=require("react"),H2=(e,t)=>{let r=(0,y1.useRef)(!0);(0,y1.useEffect)(()=>r.current?(r.current=!1,()=>{}):e(),t)};var Vi=(e,t=void 0,r=void 0)=>{let[n,o]=zi(e);H2(()=>(!n&&r&&o!==null?r(o):n&&t&&o!==null&&t(o),()=>{}),[n])};i();i();var gh=require("react"),z2=(e,t)=>{let[r,n]=(0,gh.useState)(()=>{try{let s=window.localStorage.getItem(e);return s!==null&&s?JSON.parse(s):t}catch(s){return console.log(s),t}});return[r,s=>{try{let u=s instanceof Function?s(r):s;n(u),window.localStorage.setItem(e,JSON.stringify(u))}catch(u){console.error(u)}},()=>{window.localStorage.removeItem(e),n(void 0)}]};i();i();var eo=e=>t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})};i();i();i();i();var D1=require("react");i();function AA(e,t,r){var n=r||{},o=n.noTrailing,a=o===void 0?!1:o,s=n.noLeading,u=s===void 0?!1:s,l=n.debounceMode,c=l===void 0?void 0:l,d,h=!1,m=0;function b(){d&&clearTimeout(d)}function v(C){var y=C||{},E=y.upcomingOnly,B=E===void 0?!1:E;b(),h=!B}function p(){for(var C=arguments.length,y=new Array(C),E=0;E<C;E++)y[E]=arguments[E];var B=this,A=Date.now()-m;if(h)return;function L(){m=Date.now(),t.apply(B,y)}function D(){d=void 0}!u&&c&&!d&&L(),b(),c===void 0&&A>e?u?(m=Date.now(),a||(d=setTimeout(c?D:L,e))):L():a!==!0&&(d=setTimeout(c?D:L,c===void 0?e-A:e))}return p.cancel=v,p}function ji(e,t,r){var n=r||{},o=n.atBegin,a=o===void 0?!1:o;return AA(e,t,{debounceMode:a!==!1})}var vh=typeof window<"u",Wi=(e=0)=>{let[t,r]=(0,D1.useState)({width:vh?window.innerWidth:0,height:vh?window.innerHeight:0});return(0,D1.useLayoutEffect)(()=>{let n=ji(e,()=>r({width:window.innerWidth,height:window.innerHeight}));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),t};var BA=16,Ui=()=>{let e=Wi().width/BA,t=Kt(),r=!0,n=e>=Number.parseFloat(t.breakpoint.sm),o=e>=Number.parseFloat(t.breakpoint.md),a=e>=Number.parseFloat(t.breakpoint.lg),s=e>=Number.parseFloat(t.breakpoint.xl),u=e<Number.parseFloat(t.breakpoint.sm),l=e<Number.parseFloat(t.breakpoint.md),c=e<Number.parseFloat(t.breakpoint.lg),d=e<Number.parseFloat(t.breakpoint.xl);return{isXsAndUp:r,isSmAndUp:n,isMdAndUp:o,isLgAndUp:a,isXlAndUp:s,isXsAndDown:u,isSmAndDown:l,isMdAndDown:c,isLgAndDown:d,isXlAndDown:!0}};i();i();var bh=require("react"),to=(e,t)=>{(0,bh.useEffect)(()=>{let r=n=>{!e.current||e.current.contains(n.target)||t(n)};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t])};i();i();var x1=require("react"),ro=e=>{let t=(0,x1.useRef)();return(0,x1.useEffect)(()=>{t.current=e}),t.current};i();i();var Ch=require("react");var no=()=>(0,Ch.useContext)(g1);i();i();i();var FA=function(t){return MA(t)&&!OA(t)};function MA(e){return!!e&&typeof e=="object"}function OA(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||LA(e)}var PA=typeof Symbol=="function"&&Symbol.for,RA=PA?Symbol.for("react.element"):60103;function LA(e){return e.$$typeof===RA}function IA(e){return Array.isArray(e)?[]:{}}function E1(e,t){return t.clone!==!1&&t.isMergeableObject(e)?_i(IA(e),e,t):e}function kA(e,t,r){return e.concat(t).map(function(n){return E1(n,r)})}function NA(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(o){n[o]=E1(e[o],r)}),Object.keys(t).forEach(function(o){!r.isMergeableObject(t[o])||!e[o]?n[o]=E1(t[o],r):n[o]=_i(e[o],t[o],r)}),n}function _i(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||kA,r.isMergeableObject=r.isMergeableObject||FA;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):NA(e,t,r):E1(t,r)}_i.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return _i(n,o,r)},{})};var $A=_i,w1=$A;i();i();i();i();i();var ZA=typeof window=="object"&&window&&window.Object===Object&&window,S1=ZA;var HA=typeof self=="object"&&self&&self.Object===Object&&self,zA=S1||HA||Function("return this")(),je=zA;var VA=je.Symbol,It=VA;i();var yh=Object.prototype,jA=yh.hasOwnProperty,WA=yh.toString,Ki=It?It.toStringTag:void 0;function UA(e){var t=jA.call(e,Ki),r=e[Ki];try{e[Ki]=void 0;var n=!0}catch{}var o=WA.call(e);return n&&(t?e[Ki]=r:delete e[Ki]),o}var Dh=UA;i();var _A=Object.prototype,KA=_A.toString;function GA(e){return KA.call(e)}var xh=GA;var qA="[object Null]",XA="[object Undefined]",Eh=It?It.toStringTag:void 0;function YA(e){return e==null?e===void 0?XA:qA:Eh&&Eh in Object(e)?Dh(e):xh(e)}var At=YA;i();i();function JA(e,t){return function(r){return e(t(r))}}var T1=JA;var QA=T1(Object.getPrototypeOf,Object),ea=QA;i();function eB(e){return e!=null&&typeof e=="object"}var Ct=eB;var tB="[object Object]",rB=Function.prototype,nB=Object.prototype,wh=rB.toString,oB=nB.hasOwnProperty,aB=wh.call(Object);function iB(e){if(!Ct(e)||At(e)!=tB)return!1;var t=ea(e);if(t===null)return!0;var r=oB.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&wh.call(r)==aB}var V2=iB;var J=require("react"),Rr=z(Bh());i();var lB=!0;function cB(e,t){if(!lB){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var Fh=cB;i();i();i();i();i();function fB(){this.__data__=[],this.size=0}var Mh=fB;i();i();i();function pB(e,t){return e===t||e!==e&&t!==t}var A1=pB;function dB(e,t){for(var r=e.length;r--;)if(A1(e[r][0],t))return r;return-1}var mn=dB;var mB=Array.prototype,hB=mB.splice;function gB(e){var t=this.__data__,r=mn(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():hB.call(t,r,1),--this.size,!0}var Oh=gB;i();function vB(e){var t=this.__data__,r=mn(t,e);return r<0?void 0:t[r][1]}var Ph=vB;i();function bB(e){return mn(this.__data__,e)>-1}var Rh=bB;i();function CB(e,t){var r=this.__data__,n=mn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Lh=CB;function ta(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ta.prototype.clear=Mh;ta.prototype.delete=Oh;ta.prototype.get=Ph;ta.prototype.has=Rh;ta.prototype.set=Lh;var hn=ta;i();function yB(){this.__data__=new hn,this.size=0}var Ih=yB;i();function DB(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var kh=DB;i();function xB(e){return this.__data__.get(e)}var Nh=xB;i();function EB(e){return this.__data__.has(e)}var $h=EB;i();i();i();i();i();i();function wB(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var cr=wB;var SB="[object AsyncFunction]",TB="[object Function]",AB="[object GeneratorFunction]",BB="[object Proxy]";function FB(e){if(!cr(e))return!1;var t=At(e);return t==TB||t==AB||t==SB||t==BB}var B1=FB;i();i();var MB=je["__core-js_shared__"],F1=MB;var Zh=function(){var e=/[^.]+$/.exec(F1&&F1.keys&&F1.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function OB(e){return!!Zh&&Zh in e}var Hh=OB;i();var PB=Function.prototype,RB=PB.toString;function LB(e){if(e!=null){try{return RB.call(e)}catch{}try{return e+""}catch{}}return""}var Mr=LB;var IB=/[\\^$.*+?()[\]{}|]/g,kB=/^\[object .+?Constructor\]$/,NB=Function.prototype,$B=Object.prototype,ZB=NB.toString,HB=$B.hasOwnProperty,zB=RegExp("^"+ZB.call(HB).replace(IB,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function VB(e){if(!cr(e)||Hh(e))return!1;var t=B1(e)?zB:kB;return t.test(Mr(e))}var zh=VB;i();function jB(e,t){return e?.[t]}var Vh=jB;function WB(e,t){var r=Vh(e,t);return zh(r)?r:void 0}var yt=WB;var UB=yt(je,"Map"),gn=UB;i();i();i();i();i();var _B=yt(Object,"create"),Or=_B;function KB(){this.__data__=Or?Or(null):{},this.size=0}var jh=KB;i();function GB(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Wh=GB;i();var qB="__lodash_hash_undefined__",XB=Object.prototype,YB=XB.hasOwnProperty;function JB(e){var t=this.__data__;if(Or){var r=t[e];return r===qB?void 0:r}return YB.call(t,e)?t[e]:void 0}var Uh=JB;i();var QB=Object.prototype,eF=QB.hasOwnProperty;function tF(e){var t=this.__data__;return Or?t[e]!==void 0:eF.call(t,e)}var _h=tF;i();var rF="__lodash_hash_undefined__";function nF(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Or&&t===void 0?rF:t,this}var Kh=nF;function ra(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ra.prototype.clear=jh;ra.prototype.delete=Wh;ra.prototype.get=Uh;ra.prototype.has=_h;ra.prototype.set=Kh;var W2=ra;function oF(){this.size=0,this.__data__={hash:new W2,map:new(gn||hn),string:new W2}}var Gh=oF;i();i();i();function aF(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var qh=aF;function iF(e,t){var r=e.__data__;return qh(t)?r[typeof t=="string"?"string":"hash"]:r.map}var vn=iF;function sF(e){var t=vn(this,e).delete(e);return this.size-=t?1:0,t}var Xh=sF;i();function uF(e){return vn(this,e).get(e)}var Yh=uF;i();function lF(e){return vn(this,e).has(e)}var Jh=lF;i();function cF(e,t){var r=vn(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var Qh=cF;function na(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}na.prototype.clear=Gh;na.prototype.delete=Xh;na.prototype.get=Yh;na.prototype.has=Jh;na.prototype.set=Qh;var Gi=na;var fF=200;function pF(e,t){var r=this.__data__;if(r instanceof hn){var n=r.__data__;if(!gn||n.length<fF-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Gi(n)}return r.set(e,t),this.size=r.size,this}var e6=pF;function oa(e){var t=this.__data__=new hn(e);this.size=t.size}oa.prototype.clear=Ih;oa.prototype.delete=kh;oa.prototype.get=Nh;oa.prototype.has=$h;oa.prototype.set=e6;var t6=oa;i();function dF(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var r6=dF;i();i();i();var mF=function(){try{var e=yt(Object,"defineProperty");return e({},"",{}),e}catch{}}(),U2=mF;function hF(e,t,r){t=="__proto__"&&U2?U2(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var M1=hF;var gF=Object.prototype,vF=gF.hasOwnProperty;function bF(e,t,r){var n=e[t];(!(vF.call(e,t)&&A1(n,r))||r===void 0&&!(t in e))&&M1(e,t,r)}var O1=bF;i();i();function CF(e,t,r,n){var o=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var u=t[a],l=n?n(r[u],e[u],u,r,e):void 0;l===void 0&&(l=e[u]),o?M1(r,u,l):O1(r,u,l)}return r}var bn=CF;i();i();i();function yF(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var n6=yF;i();i();var DF="[object Arguments]";function xF(e){return Ct(e)&&At(e)==DF}var _2=xF;var o6=Object.prototype,EF=o6.hasOwnProperty,wF=o6.propertyIsEnumerable,SF=_2(function(){return arguments}())?_2:function(e){return Ct(e)&&EF.call(e,"callee")&&!wF.call(e,"callee")},a6=SF;i();var TF=Array.isArray,fr=TF;i();i();function AF(){return!1}var i6=AF;var l6=typeof exports=="object"&&exports&&!exports.nodeType&&exports,s6=l6&&typeof module=="object"&&module&&!module.nodeType&&module,BF=s6&&s6.exports===l6,u6=BF?je.Buffer:void 0,FF=u6?u6.isBuffer:void 0,MF=FF||i6,P1=MF;i();var OF=9007199254740991,PF=/^(?:0|[1-9]\d*)$/;function RF(e,t){var r=typeof e;return t=t??OF,!!t&&(r=="number"||r!="symbol"&&PF.test(e))&&e>-1&&e%1==0&&e<t}var c6=RF;i();i();i();var LF=9007199254740991;function IF(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=LF}var R1=IF;var kF="[object Arguments]",NF="[object Array]",$F="[object Boolean]",ZF="[object Date]",HF="[object Error]",zF="[object Function]",VF="[object Map]",jF="[object Number]",WF="[object Object]",UF="[object RegExp]",_F="[object Set]",KF="[object String]",GF="[object WeakMap]",qF="[object ArrayBuffer]",XF="[object DataView]",YF="[object Float32Array]",JF="[object Float64Array]",QF="[object Int8Array]",eM="[object Int16Array]",tM="[object Int32Array]",rM="[object Uint8Array]",nM="[object Uint8ClampedArray]",oM="[object Uint16Array]",aM="[object Uint32Array]",Fe={};Fe[YF]=Fe[JF]=Fe[QF]=Fe[eM]=Fe[tM]=Fe[rM]=Fe[nM]=Fe[oM]=Fe[aM]=!0;Fe[kF]=Fe[NF]=Fe[qF]=Fe[$F]=Fe[XF]=Fe[ZF]=Fe[HF]=Fe[zF]=Fe[VF]=Fe[jF]=Fe[WF]=Fe[UF]=Fe[_F]=Fe[KF]=Fe[GF]=!1;function iM(e){return Ct(e)&&R1(e.length)&&!!Fe[At(e)]}var f6=iM;i();function sM(e){return function(t){return e(t)}}var aa=sM;i();var p6=typeof exports=="object"&&exports&&!exports.nodeType&&exports,qi=p6&&typeof module=="object"&&module&&!module.nodeType&&module,uM=qi&&qi.exports===p6,K2=uM&&S1.process,lM=function(){try{var e=qi&&qi.require&&qi.require("util").types;return e||K2&&K2.binding&&K2.binding("util")}catch{}}(),Pr=lM;var d6=Pr&&Pr.isTypedArray,cM=d6?aa(d6):f6,m6=cM;var fM=Object.prototype,pM=fM.hasOwnProperty;function dM(e,t){var r=fr(e),n=!r&&a6(e),o=!r&&!n&&P1(e),a=!r&&!n&&!o&&m6(e),s=r||n||o||a,u=s?n6(e.length,String):[],l=u.length;for(var c in e)(t||pM.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||c6(c,l)))&&u.push(c);return u}var L1=dM;i();i();var mM=Object.prototype;function hM(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||mM;return e===r}var ia=hM;i();var gM=T1(Object.keys,Object),h6=gM;var vM=Object.prototype,bM=vM.hasOwnProperty;function CM(e){if(!ia(e))return h6(e);var t=[];for(var r in Object(e))bM.call(e,r)&&r!="constructor"&&t.push(r);return t}var g6=CM;i();function yM(e){return e!=null&&R1(e.length)&&!B1(e)}var I1=yM;function DM(e){return I1(e)?L1(e):g6(e)}var sa=DM;function xM(e,t){return e&&bn(t,sa(t),e)}var v6=xM;i();i();i();i();function EM(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var b6=EM;var wM=Object.prototype,SM=wM.hasOwnProperty;function TM(e){if(!cr(e))return b6(e);var t=ia(e),r=[];for(var n in e)n=="constructor"&&(t||!SM.call(e,n))||r.push(n);return r}var C6=TM;function AM(e){return I1(e)?L1(e,!0):C6(e)}var ua=AM;function BM(e,t){return e&&bn(t,ua(t),e)}var y6=BM;i();var w6=typeof exports=="object"&&exports&&!exports.nodeType&&exports,D6=w6&&typeof module=="object"&&module&&!module.nodeType&&module,FM=D6&&D6.exports===w6,x6=FM?je.Buffer:void 0,E6=x6?x6.allocUnsafe:void 0;function MM(e,t){if(t)return e.slice();var r=e.length,n=E6?E6(r):new e.constructor(r);return e.copy(n),n}var S6=MM;i();function OM(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var k1=OM;i();i();i();function PM(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[o++]=s)}return a}var T6=PM;i();function RM(){return[]}var N1=RM;var LM=Object.prototype,IM=LM.propertyIsEnumerable,A6=Object.getOwnPropertySymbols,kM=A6?function(e){return e==null?[]:(e=Object(e),T6(A6(e),function(t){return IM.call(e,t)}))}:N1,la=kM;function NM(e,t){return bn(e,la(e),t)}var B6=NM;i();i();i();function $M(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var $1=$M;var ZM=Object.getOwnPropertySymbols,HM=ZM?function(e){for(var t=[];e;)$1(t,la(e)),e=ea(e);return t}:N1,Z1=HM;function zM(e,t){return bn(e,Z1(e),t)}var F6=zM;i();i();function VM(e,t,r){var n=t(e);return fr(e)?n:$1(n,r(e))}var H1=VM;function jM(e){return H1(e,sa,la)}var M6=jM;i();function WM(e){return H1(e,ua,Z1)}var O6=WM;i();i();var UM=yt(je,"DataView"),z1=UM;i();var _M=yt(je,"Promise"),V1=_M;i();var KM=yt(je,"Set"),j1=KM;i();var GM=yt(je,"WeakMap"),W1=GM;var P6="[object Map]",qM="[object Object]",R6="[object Promise]",L6="[object Set]",I6="[object WeakMap]",k6="[object DataView]",XM=Mr(z1),YM=Mr(gn),JM=Mr(V1),QM=Mr(j1),eO=Mr(W1),oo=At;(z1&&oo(new z1(new ArrayBuffer(1)))!=k6||gn&&oo(new gn)!=P6||V1&&oo(V1.resolve())!=R6||j1&&oo(new j1)!=L6||W1&&oo(new W1)!=I6)&&(oo=function(e){var t=At(e),r=t==qM?e.constructor:void 0,n=r?Mr(r):"";if(n)switch(n){case XM:return k6;case YM:return P6;case JM:return R6;case QM:return L6;case eO:return I6}return t});var ca=oo;i();var tO=Object.prototype,rO=tO.hasOwnProperty;function nO(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&rO.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var N6=nO;i();i();i();var oO=je.Uint8Array,G2=oO;function aO(e){var t=new e.constructor(e.byteLength);return new G2(t).set(new G2(e)),t}var fa=aO;i();function iO(e,t){var r=t?fa(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var $6=iO;i();var sO=/\w*$/;function uO(e){var t=new e.constructor(e.source,sO.exec(e));return t.lastIndex=e.lastIndex,t}var Z6=uO;i();var H6=It?It.prototype:void 0,z6=H6?H6.valueOf:void 0;function lO(e){return z6?Object(z6.call(e)):{}}var V6=lO;i();function cO(e,t){var r=t?fa(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var j6=cO;var fO="[object Boolean]",pO="[object Date]",dO="[object Map]",mO="[object Number]",hO="[object RegExp]",gO="[object Set]",vO="[object String]",bO="[object Symbol]",CO="[object ArrayBuffer]",yO="[object DataView]",DO="[object Float32Array]",xO="[object Float64Array]",EO="[object Int8Array]",wO="[object Int16Array]",SO="[object Int32Array]",TO="[object Uint8Array]",AO="[object Uint8ClampedArray]",BO="[object Uint16Array]",FO="[object Uint32Array]";function MO(e,t,r){var n=e.constructor;switch(t){case CO:return fa(e);case fO:case pO:return new n(+e);case yO:return $6(e,r);case DO:case xO:case EO:case wO:case SO:case TO:case AO:case BO:case FO:return j6(e,r);case dO:return new n;case mO:case vO:return new n(e);case hO:return Z6(e);case gO:return new n;case bO:return V6(e)}}var W6=MO;i();i();var U6=Object.create,OO=function(){function e(){}return function(t){if(!cr(t))return{};if(U6)return U6(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),_6=OO;function PO(e){return typeof e.constructor=="function"&&!ia(e)?_6(ea(e)):{}}var K6=PO;i();i();var RO="[object Map]";function LO(e){return Ct(e)&&ca(e)==RO}var G6=LO;var q6=Pr&&Pr.isMap,IO=q6?aa(q6):G6,X6=IO;i();i();var kO="[object Set]";function NO(e){return Ct(e)&&ca(e)==kO}var Y6=NO;var J6=Pr&&Pr.isSet,$O=J6?aa(J6):Y6,Q6=$O;var ZO=1,HO=2,zO=4,e9="[object Arguments]",VO="[object Array]",jO="[object Boolean]",WO="[object Date]",UO="[object Error]",t9="[object Function]",_O="[object GeneratorFunction]",KO="[object Map]",GO="[object Number]",r9="[object Object]",qO="[object RegExp]",XO="[object Set]",YO="[object String]",JO="[object Symbol]",QO="[object WeakMap]",eP="[object ArrayBuffer]",tP="[object DataView]",rP="[object Float32Array]",nP="[object Float64Array]",oP="[object Int8Array]",aP="[object Int16Array]",iP="[object Int32Array]",sP="[object Uint8Array]",uP="[object Uint8ClampedArray]",lP="[object Uint16Array]",cP="[object Uint32Array]",Be={};Be[e9]=Be[VO]=Be[eP]=Be[tP]=Be[jO]=Be[WO]=Be[rP]=Be[nP]=Be[oP]=Be[aP]=Be[iP]=Be[KO]=Be[GO]=Be[r9]=Be[qO]=Be[XO]=Be[YO]=Be[JO]=Be[sP]=Be[uP]=Be[lP]=Be[cP]=!0;Be[UO]=Be[t9]=Be[QO]=!1;function U1(e,t,r,n,o,a){var s,u=t&ZO,l=t&HO,c=t&zO;if(r&&(s=o?r(e,n,o,a):r(e)),s!==void 0)return s;if(!cr(e))return e;var d=fr(e);if(d){if(s=N6(e),!u)return k1(e,s)}else{var h=ca(e),m=h==t9||h==_O;if(P1(e))return S6(e,u);if(h==r9||h==e9||m&&!o){if(s=l||m?{}:K6(e),!u)return l?F6(e,y6(s,e)):B6(e,v6(s,e))}else{if(!Be[h])return o?e:{};s=W6(e,h,u)}}a||(a=new t6);var b=a.get(e);if(b)return b;a.set(e,s),Q6(e)?e.forEach(function(C){s.add(U1(C,t,r,C,e,a))}):X6(e)&&e.forEach(function(C,y){s.set(y,U1(C,t,r,y,e,a))});var v=c?l?O6:M6:l?ua:sa,p=d?void 0:v(e);return r6(p||e,function(C,y){p&&(y=C,C=e[y]),O1(s,y,U1(C,t,r,y,e,a))}),s}var _1=U1;var fP=4;function pP(e){return _1(e,fP)}var q2=pP;i();i();function dP(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var K1=dP;i();var mP="[object Symbol]";function hP(e){return typeof e=="symbol"||Ct(e)&&At(e)==mP}var pa=hP;i();i();i();var gP="Expected a function";function X2(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(gP);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var s=e.apply(this,n);return r.cache=a.set(o,s)||a,s};return r.cache=new(X2.Cache||Gi),r}X2.Cache=Gi;var n9=X2;var vP=500;function bP(e){var t=n9(e,function(n){return r.size===vP&&r.clear(),n}),r=t.cache;return t}var o9=bP;var CP=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yP=/\\(\\)?/g,DP=o9(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(CP,function(r,n,o,a){t.push(o?a.replace(yP,"$1"):n||r)}),t}),a9=DP;i();var xP=1/0;function EP(e){if(typeof e=="string"||pa(e))return e;var t=e+"";return t=="0"&&1/e==-xP?"-0":t}var i9=EP;i();i();var wP=1/0,s9=It?It.prototype:void 0,u9=s9?s9.toString:void 0;function l9(e){if(typeof e=="string")return e;if(fr(e))return K1(e,l9)+"";if(pa(e))return u9?u9.call(e):"";var t=e+"";return t=="0"&&1/e==-wP?"-0":t}var c9=l9;function SP(e){return e==null?"":c9(e)}var f9=SP;function TP(e){return fr(e)?K1(e,i9):pa(e)?[e]:k1(a9(f9(e)))}var Y2=TP;var VP=z(x9());i();var ZP=1,HP=4;function zP(e){return _1(e,ZP|HP)}var E9=zP;function Te(){return Te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Te.apply(this,arguments)}function jP(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function io(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function w9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var au=(0,J.createContext)(void 0);au.displayName="FormikContext";var WP=au.Provider,Zue=au.Consumer;function Lr(){var e=(0,J.useContext)(au);return e||Fh(!1),e}var S9=function(t){return Array.isArray(t)&&t.length===0},ut=function(t){return typeof t=="function"},Xi=function(t){return t!==null&&typeof t=="object"},UP=function(t){return String(Math.floor(Number(t)))===t},np=function(t){return Object.prototype.toString.call(t)==="[object String]"};var A9=function(t){return J.Children.count(t)===0},op=function(t){return Xi(t)&&ut(t.then)};function Ge(e,t,r,n){n===void 0&&(n=0);for(var o=Y2(t);e&&n<o.length;)e=e[o[n++]];return n!==o.length&&!e||e===void 0?r:e}function pr(e,t,r){for(var n=q2(e),o=n,a=0,s=Y2(t);a<s.length-1;a++){var u=s[a],l=Ge(e,s.slice(0,a+1));if(l&&(Xi(l)||Array.isArray(l)))o=o[u]=q2(l);else{var c=s[a+1];o=o[u]=UP(c)&&Number(c)>=0?[]:{}}}return(a===0?e:o)[s[a]]===r?e:(r===void 0?delete o[s[a]]:o[s[a]]=r,a===0&&r===void 0&&delete n[s[a]],n)}function B9(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var o=0,a=Object.keys(e);o<a.length;o++){var s=a[o],u=e[s];Xi(u)?r.get(u)||(r.set(u,!0),n[s]=Array.isArray(u)?[]:{},B9(u,t,r,n[s])):n[s]=t}return n}function _P(e,t){switch(t.type){case"SET_VALUES":return Te({},e,{values:t.payload});case"SET_TOUCHED":return Te({},e,{touched:t.payload});case"SET_ERRORS":return(0,Rr.default)(e.errors,t.payload)?e:Te({},e,{errors:t.payload});case"SET_STATUS":return Te({},e,{status:t.payload});case"SET_ISSUBMITTING":return Te({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Te({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Te({},e,{values:pr(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Te({},e,{touched:pr(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Te({},e,{errors:pr(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Te({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Te({},e,{touched:B9(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return Te({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Te({},e,{isSubmitting:!1});default:return e}}var ao={},ou={};function KP(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,o=n===void 0?!0:n,a=e.validateOnMount,s=a===void 0?!1:a,u=e.isInitialValid,l=e.enableReinitialize,c=l===void 0?!1:l,d=e.onSubmit,h=io(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),m=Te({validateOnChange:r,validateOnBlur:o,validateOnMount:s,onSubmit:d},h),b=(0,J.useRef)(m.initialValues),v=(0,J.useRef)(m.initialErrors||ao),p=(0,J.useRef)(m.initialTouched||ou),C=(0,J.useRef)(m.initialStatus),y=(0,J.useRef)(!1),E=(0,J.useRef)({});(0,J.useEffect)(function(){return y.current=!0,function(){y.current=!1}},[]);var B=(0,J.useState)(0),A=B[1],L=(0,J.useRef)({values:m.initialValues,errors:m.initialErrors||ao,touched:m.initialTouched||ou,status:m.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),D=L.current,T=(0,J.useCallback)(function(S){var q=L.current;L.current=_P(q,S),q!==L.current&&A(function(Q){return Q+1})},[]),j=(0,J.useCallback)(function(S,q){return new Promise(function(Q,Y){var re=m.validate(S,q);re==null?Q(ao):op(re)?re.then(function(ge){Q(ge||ao)},function(ge){Y(ge)}):Q(re)})},[m.validate]),I=(0,J.useCallback)(function(S,q){var Q=m.validationSchema,Y=ut(Q)?Q(q):Q,re=q&&Y.validateAt?Y.validateAt(q,S):qP(S,Y);return new Promise(function(ge,ye){re.then(function(){ge(ao)},function(Je){Je.name==="ValidationError"?ge(GP(Je)):ye(Je)})})},[m.validationSchema]),K=(0,J.useCallback)(function(S,q){return new Promise(function(Q){return Q(E.current[S].validate(q))})},[]),X=(0,J.useCallback)(function(S){var q=Object.keys(E.current).filter(function(Y){return ut(E.current[Y].validate)}),Q=q.length>0?q.map(function(Y){return K(Y,Ge(S,Y))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Q).then(function(Y){return Y.reduce(function(re,ge,ye){return ge==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||ge&&(re=pr(re,q[ye],ge)),re},{})})},[K]),N=(0,J.useCallback)(function(S){return Promise.all([X(S),m.validationSchema?I(S):{},m.validate?j(S):{}]).then(function(q){var Q=q[0],Y=q[1],re=q[2],ge=w1.all([Q,Y,re],{arrayMerge:XP});return ge})},[m.validate,m.validationSchema,X,j,I]),$=kt(function(S){return S===void 0&&(S=D.values),T({type:"SET_ISVALIDATING",payload:!0}),N(S).then(function(q){return y.current&&(T({type:"SET_ISVALIDATING",payload:!1}),T({type:"SET_ERRORS",payload:q})),q})});(0,J.useEffect)(function(){s&&y.current===!0&&(0,Rr.default)(b.current,m.initialValues)&&$(b.current)},[s,$]);var Z=(0,J.useCallback)(function(S){var q=S&&S.values?S.values:b.current,Q=S&&S.errors?S.errors:v.current?v.current:m.initialErrors||{},Y=S&&S.touched?S.touched:p.current?p.current:m.initialTouched||{},re=S&&S.status?S.status:C.current?C.current:m.initialStatus;b.current=q,v.current=Q,p.current=Y,C.current=re;var ge=function(){T({type:"RESET_FORM",payload:{isSubmitting:!!S&&!!S.isSubmitting,errors:Q,touched:Y,status:re,values:q,isValidating:!!S&&!!S.isValidating,submitCount:S&&S.submitCount&&typeof S.submitCount=="number"?S.submitCount:0}})};if(m.onReset){var ye=m.onReset(D.values,Se);op(ye)?ye.then(ge):ge()}else ge()},[m.initialErrors,m.initialStatus,m.initialTouched]);(0,J.useEffect)(function(){y.current===!0&&!(0,Rr.default)(b.current,m.initialValues)&&c&&(b.current=m.initialValues,Z(),s&&$(b.current))},[c,m.initialValues,Z,s,$]),(0,J.useEffect)(function(){c&&y.current===!0&&!(0,Rr.default)(v.current,m.initialErrors)&&(v.current=m.initialErrors||ao,T({type:"SET_ERRORS",payload:m.initialErrors||ao}))},[c,m.initialErrors]),(0,J.useEffect)(function(){c&&y.current===!0&&!(0,Rr.default)(p.current,m.initialTouched)&&(p.current=m.initialTouched||ou,T({type:"SET_TOUCHED",payload:m.initialTouched||ou}))},[c,m.initialTouched]),(0,J.useEffect)(function(){c&&y.current===!0&&!(0,Rr.default)(C.current,m.initialStatus)&&(C.current=m.initialStatus,T({type:"SET_STATUS",payload:m.initialStatus}))},[c,m.initialStatus,m.initialTouched]);var W=kt(function(S){if(E.current[S]&&ut(E.current[S].validate)){var q=Ge(D.values,S),Q=E.current[S].validate(q);return op(Q)?(T({type:"SET_ISVALIDATING",payload:!0}),Q.then(function(Y){return Y}).then(function(Y){T({type:"SET_FIELD_ERROR",payload:{field:S,value:Y}}),T({type:"SET_ISVALIDATING",payload:!1})})):(T({type:"SET_FIELD_ERROR",payload:{field:S,value:Q}}),Promise.resolve(Q))}else if(m.validationSchema)return T({type:"SET_ISVALIDATING",payload:!0}),I(D.values,S).then(function(Y){return Y}).then(function(Y){T({type:"SET_FIELD_ERROR",payload:{field:S,value:Ge(Y,S)}}),T({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),le=(0,J.useCallback)(function(S,q){var Q=q.validate;E.current[S]={validate:Q}},[]),me=(0,J.useCallback)(function(S){delete E.current[S]},[]),De=kt(function(S,q){T({type:"SET_TOUCHED",payload:S});var Q=q===void 0?o:q;return Q?$(D.values):Promise.resolve()}),ae=(0,J.useCallback)(function(S){T({type:"SET_ERRORS",payload:S})},[]),de=kt(function(S,q){var Q=ut(S)?S(D.values):S;T({type:"SET_VALUES",payload:Q});var Y=q===void 0?r:q;return Y?$(Q):Promise.resolve()}),we=(0,J.useCallback)(function(S,q){T({type:"SET_FIELD_ERROR",payload:{field:S,value:q}})},[]),he=kt(function(S,q,Q){T({type:"SET_FIELD_VALUE",payload:{field:S,value:q}});var Y=Q===void 0?r:Q;return Y?$(pr(D.values,S,q)):Promise.resolve()}),qe=(0,J.useCallback)(function(S,q){var Q=q,Y=S,re;if(!np(S)){S.persist&&S.persist();var ge=S.target?S.target:S.currentTarget,ye=ge.type,Je=ge.name,_r=ge.id,Vt=ge.value,kl=ge.checked,Ad=ge.outerHTML,Eo=ge.options,Nl=ge.multiple;Q=q||Je||_r,Y=/number|range/.test(ye)?(re=parseFloat(Vt),isNaN(re)?"":re):/checkbox/.test(ye)?JP(Ge(D.values,Q),kl,Vt):Eo&&Nl?YP(Eo):Vt}Q&&he(Q,Y)},[he,D.values]),w=kt(function(S){if(np(S))return function(q){return qe(q,S)};qe(S)}),V=kt(function(S,q,Q){q===void 0&&(q=!0),T({type:"SET_FIELD_TOUCHED",payload:{field:S,value:q}});var Y=Q===void 0?o:Q;return Y?$(D.values):Promise.resolve()}),k=(0,J.useCallback)(function(S,q){S.persist&&S.persist();var Q=S.target,Y=Q.name,re=Q.id,ge=Q.outerHTML,ye=q||Y||re;V(ye,!0)},[V]),_=kt(function(S){if(np(S))return function(q){return k(q,S)};k(S)}),ue=(0,J.useCallback)(function(S){ut(S)?T({type:"SET_FORMIK_STATE",payload:S}):T({type:"SET_FORMIK_STATE",payload:function(){return S}})},[]),te=(0,J.useCallback)(function(S){T({type:"SET_STATUS",payload:S})},[]),fe=(0,J.useCallback)(function(S){T({type:"SET_ISSUBMITTING",payload:S})},[]),ve=kt(function(){return T({type:"SUBMIT_ATTEMPT"}),$().then(function(S){var q=S instanceof Error,Q=!q&&Object.keys(S).length===0;if(Q){var Y;try{if(Y=be(),Y===void 0)return}catch(re){throw re}return Promise.resolve(Y).then(function(re){return y.current&&T({type:"SUBMIT_SUCCESS"}),re}).catch(function(re){if(y.current)throw T({type:"SUBMIT_FAILURE"}),re})}else if(y.current&&(T({type:"SUBMIT_FAILURE"}),q))throw S})}),Ce=kt(function(S){if(S&&S.preventDefault&&ut(S.preventDefault)&&S.preventDefault(),S&&S.stopPropagation&&ut(S.stopPropagation)&&S.stopPropagation(),!1)var q;ve().catch(function(Q){console.warn("Warning: An unhandled error was caught from submitForm()",Q)})}),Se={resetForm:Z,validateForm:$,validateField:W,setErrors:ae,setFieldError:we,setFieldTouched:V,setFieldValue:he,setStatus:te,setSubmitting:fe,setTouched:De,setValues:de,setFormikState:ue,submitForm:ve},be=kt(function(){return d(D.values,Se)}),Ue=kt(function(S){S&&S.preventDefault&&ut(S.preventDefault)&&S.preventDefault(),S&&S.stopPropagation&&ut(S.stopPropagation)&&S.stopPropagation(),Z()}),Xe=(0,J.useCallback)(function(S){return{value:Ge(D.values,S),error:Ge(D.errors,S),touched:!!Ge(D.touched,S),initialValue:Ge(b.current,S),initialTouched:!!Ge(p.current,S),initialError:Ge(v.current,S)}},[D.errors,D.touched,D.values]),$e=(0,J.useCallback)(function(S){return{setValue:function(Q,Y){return he(S,Q,Y)},setTouched:function(Q,Y){return V(S,Q,Y)},setError:function(Q){return we(S,Q)}}},[he,V,we]),ft=(0,J.useCallback)(function(S){var q=Xi(S),Q=q?S.name:S,Y=Ge(D.values,Q),re={name:Q,value:Y,onChange:w,onBlur:_};if(q){var ge=S.type,ye=S.value,Je=S.as,_r=S.multiple;ge==="checkbox"?ye===void 0?re.checked=!!Y:(re.checked=!!(Array.isArray(Y)&&~Y.indexOf(ye)),re.value=ye):ge==="radio"?(re.checked=Y===ye,re.value=ye):Je==="select"&&_r&&(re.value=re.value||[],re.multiple=!0)}return re},[_,w,D.values]),at=(0,J.useMemo)(function(){return!(0,Rr.default)(b.current,D.values)},[b.current,D.values]),Ye=(0,J.useMemo)(function(){return typeof u<"u"?at?D.errors&&Object.keys(D.errors).length===0:u!==!1&&ut(u)?u(m):u:D.errors&&Object.keys(D.errors).length===0},[u,at,D.errors,m]),pt=Te({},D,{initialValues:b.current,initialErrors:v.current,initialTouched:p.current,initialStatus:C.current,handleBlur:_,handleChange:w,handleReset:Ue,handleSubmit:Ce,resetForm:Z,setErrors:ae,setFormikState:ue,setFieldTouched:V,setFieldValue:he,setFieldError:we,setStatus:te,setSubmitting:fe,setTouched:De,setValues:de,submitForm:ve,validateForm:$,validateField:W,isValid:Ye,dirty:at,unregisterField:me,registerField:le,getFieldProps:ft,getFieldMeta:Xe,getFieldHelpers:$e,validateOnBlur:o,validateOnChange:r,validateOnMount:s});return pt}function F9(e){var t=KP(e),r=e.component,n=e.children,o=e.render,a=e.innerRef;return(0,J.useImperativeHandle)(a,function(){return t}),(0,J.createElement)(WP,{value:t},r?(0,J.createElement)(r,t):o?o(t):n?ut(n)?n(t):A9(n)?null:J.Children.only(n):null)}function GP(e){var t={};if(e.inner){if(e.inner.length===0)return pr(t,e.path,e.message);for(var o=e.inner,r=Array.isArray(o),n=0,o=r?o:o[Symbol.iterator]();;){var a;if(r){if(n>=o.length)break;a=o[n++]}else{if(n=o.next(),n.done)break;a=n.value}var s=a;Ge(t,s.path)||(t=pr(t,s.path,s.message))}}return t}function qP(e,t,r,n){r===void 0&&(r=!1);var o=ip(e);return t[r?"validateSync":"validate"](o,{abortEarly:!1,context:n||o})}function ip(e){var t=Array.isArray(e)?[]:{};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=String(r);Array.isArray(e[n])===!0?t[n]=e[n].map(function(o){return Array.isArray(o)===!0||V2(o)?ip(o):o!==""?o:void 0}):V2(e[n])?t[n]=ip(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function XP(e,t,r){var n=e.slice();return t.forEach(function(a,s){if(typeof n[s]>"u"){var u=r.clone!==!1,l=u&&r.isMergeableObject(a);n[s]=l?w1(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[s]=w1(e[s],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function YP(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function JP(e,t,r){if(typeof e=="boolean")return!!t;var n=[],o=!1,a=-1;if(Array.isArray(e))n=e,a=e.indexOf(r),o=a>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!o?n.concat(r):o?n.slice(0,a).concat(n.slice(a+1)):n}var QP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?J.useLayoutEffect:J.useEffect;function kt(e){var t=(0,J.useRef)(e);return QP(function(){t.current=e}),(0,J.useCallback)(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return t.current.apply(void 0,n)},[])}function M9(e){var t=e.validate,r=e.name,n=e.render,o=e.children,a=e.as,s=e.component,u=io(e,["validate","name","render","children","as","component"]),l=Lr(),c=io(l,["validate","validationSchema"]),d=c.registerField,h=c.unregisterField;(0,J.useEffect)(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var m=c.getFieldProps(Te({name:r},u)),b=c.getFieldMeta(r),v={field:m,form:c};if(n)return n(Te({},v,{meta:b}));if(ut(o))return o(Te({},v,{meta:b}));if(s){if(typeof s=="string"){var p=u.innerRef,C=io(u,["innerRef"]);return(0,J.createElement)(s,Te({ref:p},m,C),o)}return(0,J.createElement)(s,Te({field:m,form:c},u),o)}var y=a||"input";if(typeof y=="string"){var E=u.innerRef,B=io(u,["innerRef"]);return(0,J.createElement)(y,Te({ref:E},m,B),o)}return(0,J.createElement)(y,Te({},m,u),o)}var sp=(0,J.forwardRef)(function(e,t){var r=e.action,n=io(e,["action"]),o=r??"#",a=Lr(),s=a.handleReset,u=a.handleSubmit;return(0,J.createElement)("form",Te({onSubmit:u,ref:t,onReset:s,action:o},n))});sp.displayName="Form";var eR=function(t,r,n){var o=so(t),a=o[r];return o.splice(r,1),o.splice(n,0,a),o},tR=function(t,r,n){var o=so(t),a=o[r];return o[r]=o[n],o[n]=a,o},ap=function(t,r,n){var o=so(t);return o.splice(r,0,n),o},rR=function(t,r,n){var o=so(t);return o[r]=n,o},so=function(t){if(t){if(Array.isArray(t))return[].concat(t);var r=Object.keys(t).map(function(n){return parseInt(n)}).reduce(function(n,o){return o>n?o:n},0);return Array.from(Te({},t,{length:r+1}))}else return[]},T9=function(t,r){var n=typeof t=="function"?t:r;return function(o){if(Array.isArray(o)||Xi(o)){var a=so(o);return n(a)}return o}},nR=function(e){jP(t,e);function t(n){var o;return o=e.call(this,n)||this,o.updateArrayField=function(a,s,u){var l=o.props,c=l.name,d=l.formik.setFormikState;d(function(h){var m=T9(u,a),b=T9(s,a),v=pr(h.values,c,a(Ge(h.values,c))),p=u?m(Ge(h.errors,c)):void 0,C=s?b(Ge(h.touched,c)):void 0;return S9(p)&&(p=void 0),S9(C)&&(C=void 0),Te({},h,{values:v,errors:u?pr(h.errors,c,p):h.errors,touched:s?pr(h.touched,c,C):h.touched})})},o.push=function(a){return o.updateArrayField(function(s){return[].concat(so(s),[E9(a)])},!1,!1)},o.handlePush=function(a){return function(){return o.push(a)}},o.swap=function(a,s){return o.updateArrayField(function(u){return tR(u,a,s)},!0,!0)},o.handleSwap=function(a,s){return function(){return o.swap(a,s)}},o.move=function(a,s){return o.updateArrayField(function(u){return eR(u,a,s)},!0,!0)},o.handleMove=function(a,s){return function(){return o.move(a,s)}},o.insert=function(a,s){return o.updateArrayField(function(u){return ap(u,a,s)},function(u){return ap(u,a,null)},function(u){return ap(u,a,null)})},o.handleInsert=function(a,s){return function(){return o.insert(a,s)}},o.replace=function(a,s){return o.updateArrayField(function(u){return rR(u,a,s)},!1,!1)},o.handleReplace=function(a,s){return function(){return o.replace(a,s)}},o.unshift=function(a){var s=-1;return o.updateArrayField(function(u){var l=u?[a].concat(u):[a];return s=l.length,l},function(u){return u?[null].concat(u):[null]},function(u){return u?[null].concat(u):[null]}),s},o.handleUnshift=function(a){return function(){return o.unshift(a)}},o.handleRemove=function(a){return function(){return o.remove(a)}},o.handlePop=function(){return function(){return o.pop()}},o.remove=o.remove.bind(w9(o)),o.pop=o.pop.bind(w9(o)),o}var r=t.prototype;return r.componentDidUpdate=function(o){this.props.validateOnChange&&this.props.formik.validateOnChange&&!(0,Rr.default)(Ge(o.formik.values,o.name),Ge(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(o){var a;return this.updateArrayField(function(s){var u=s?so(s):[];return a||(a=u[o]),ut(u.splice)&&u.splice(o,1),ut(u.every)&&u.every(function(l){return l===void 0})?[]:u},!0,!0),a},r.pop=function(){var o;return this.updateArrayField(function(a){var s=a.slice();return o||(o=s&&s.pop&&s.pop()),s},!0,!0),o},r.render=function(){var o={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},a=this.props,s=a.component,u=a.render,l=a.children,c=a.name,d=a.formik,h=io(d,["validate","validationSchema"]),m=Te({},o,{form:h,name:c});return s?(0,J.createElement)(s,m):u?u(m):l?typeof l=="function"?l(m):A9(l)?null:J.Children.only(l):null},t}(J.Component);nR.defaultProps={validateOnChange:!0};i();i();var ns=z(require("styled-components"));i();i();var et=require("react"),mg=require("react-dom"),hg=require("styled-components"),gg=z(Cp());i();i();var fg=require("react");var pg=require("styled-components");var Dn=require("react/jsx-runtime"),vu=100,LL=pg.createGlobalStyle`
|
|
922
|
+
`;var d6=p6.createGlobalStyle`
|
|
923
|
+
${l6}
|
|
924
|
+
${f6}
|
|
925
|
+
`;var pn=require("react/jsx-runtime"),m6=({children:e,theme:t={},globalStylesIncluded:r=!0,Link:n})=>(0,pn.jsxs)(f7,{theme:t,children:[r?(0,pn.jsx)(d6,{}):null,(0,pn.jsx)(N0,{children:(0,pn.jsx)(h7,{value:{Link:n},children:(0,pn.jsx)(Cs,{children:(0,pn.jsx)(i6,{children:e})})})})]});i();i();var Jo=require("react"),$i=(e=!1)=>{let[t,r]=(0,Jo.useState)(e),n=(0,Jo.useCallback)(()=>r(s=>!s),[]),o=(0,Jo.useCallback)(()=>r(!0),[]),a=(0,Jo.useCallback)(()=>r(!1),[]);return[t,n,o,a,r]};i();i();var h6=require("react");i();i();var Jn=require("react"),Zf=e=>{let[t,r]=(0,Jn.useState)(!1),n=(0,Jn.useRef)(),o=(0,Jn.useRef)(e),a=s=>{clearTimeout(n.current),r(!o.current),n.current=window.setTimeout(()=>r(o.current),s)};return(0,Jn.useEffect)(()=>()=>clearTimeout(n.current),[]),[t,a]};var Hf=(e,t=1500)=>{let[r,n]=Zf(!1);return[(0,h6.useCallback)(async()=>{await _o(e),t&&t>0&&n(t)},[e,t,n]),r]};i();i();var dn=require("react"),AA={width:0,height:0,top:0,left:0,bottom:0,right:0,x:0,y:0},Zi=()=>{let e=(0,dn.useRef)(null),[t,r]=(0,dn.useState)(AA),n=(0,dn.useMemo)(()=>new window.ResizeObserver(o=>{if(o[0]){let{width:a,height:s,top:u,left:l,bottom:c,right:d,x:h,y:m}=o[0].contentRect;r({width:a,height:s,top:u,left:l,bottom:c,right:d,x:h,y:m})}}),[]);return(0,dn.useLayoutEffect)(()=>{if(e.current)return n.observe(e.current),()=>{n.disconnect()}},[n]),[e,t]};i();i();var Qn=require("react"),BA=window,FA=e=>!!(typeof e=="object"&&e?.addEventListener),Hi=(e,t,r=BA,n={})=>{let o=(0,Qn.useRef)(),a=(0,Qn.useRef)();(0,Qn.useEffect)(()=>{o.current=t},[t]),(0,Qn.useEffect)(()=>{a.current=n},[n]),(0,Qn.useEffect)(()=>{if(!e||!FA(r))return;let s=u=>o.current!==void 0?o.current(u):()=>{};return r.addEventListener(e,s,a.current),()=>{r.removeEventListener(e,s,a.current)}},[e,r,a])};i();i();var bs=require("react"),zf=()=>{let[,e]=(0,bs.useState)(Object.create(null));return(0,bs.useCallback)(()=>{e(Object.create(null))},[e])};i();var g6=require("react"),v6=()=>{let[e,t]=(0,g6.useState)(!1),r=()=>t(!0),n=()=>t(!0),o=()=>t(!0),u={onFocus:r,onMouseEnter:n,onBlur:()=>t(!1),onMouseLeave:()=>t(!1)};return e||(u.onMouseMove=o),[e,u,t]};i();i();var C6=require("react");var MA=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:e!=null&&e?()=>!0:()=>!1,Qo=(e,t,r={},n=[e])=>{let{eventName:o="keydown",eventTarget:a,eventOptions:s}=r,u=(0,C6.useMemo)(()=>{let l=MA(e);return c=>{if(!(["INPUT","TEXTAREA","SELECT"].includes(document.activeElement?.nodeName??"")||document.activeElement?.isContentEditable)&&l(c))return t(c)}},n);Hi(o,u,a,s)};i();i();var b6=require("react");var zi=e=>{let[t,r]=(0,b6.useState)([!1,null]);return Qo(e,n=>r([!0,n]),{eventName:"keydown"},[t]),Qo(e,n=>r([!1,n]),{eventName:"keyup"},[t]),t};i();i();i();i();var ys=require("react"),Vf=(e,t)=>{let r=(0,ys.useRef)(!0);(0,ys.useEffect)(()=>r.current?(r.current=!1,()=>{}):e(),t)};var Vi=(e,t=void 0,r=void 0)=>{let[n,o]=zi(e);Vf(()=>(!n&&r&&o!==null?r(o):n&&t&&o!==null&&t(o),()=>{}),[n])};i();i();var y6=require("react"),jf=(e,t)=>{let[r,n]=(0,y6.useState)(()=>{try{let s=window.localStorage.getItem(e);return s!==null&&s?JSON.parse(s):t}catch(s){return console.log(s),t}});return[r,s=>{try{let u=s instanceof Function?s(r):s;n(u),window.localStorage.setItem(e,JSON.stringify(u))}catch(u){console.error(u)}},()=>{window.localStorage.removeItem(e),n(void 0)}]};i();i();var eo=e=>t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})};i();i();i();i();var Ds=require("react");i();function OA(e,t,r){var n=r||{},o=n.noTrailing,a=o===void 0?!1:o,s=n.noLeading,u=s===void 0?!1:s,l=n.debounceMode,c=l===void 0?void 0:l,d,h=!1,m=0;function C(){d&&clearTimeout(d)}function v(b){var y=b||{},E=y.upcomingOnly,B=E===void 0?!1:E;C(),h=!B}function p(){for(var b=arguments.length,y=new Array(b),E=0;E<b;E++)y[E]=arguments[E];var B=this,A=Date.now()-m;if(h)return;function I(){m=Date.now(),t.apply(B,y)}function D(){d=void 0}!u&&c&&!d&&I(),C(),c===void 0&&A>e?u?(m=Date.now(),a||(d=setTimeout(c?D:I,e))):I():a!==!0&&(d=setTimeout(c?D:I,c===void 0?e-A:e))}return p.cancel=v,p}function ji(e,t,r){var n=r||{},o=n.atBegin,a=o===void 0?!1:o;return OA(e,t,{debounceMode:a!==!1})}var D6=typeof window<"u",Wi=(e=0)=>{let[t,r]=(0,Ds.useState)({width:D6?window.innerWidth:0,height:D6?window.innerHeight:0});return(0,Ds.useLayoutEffect)(()=>{let n=ji(e,()=>r({width:window.innerWidth,height:window.innerHeight}));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),t};var PA=16,Ui=()=>{let e=Wi().width/PA,t=Kt(),r=!0,n=e>=Number.parseFloat(t.breakpoint.sm),o=e>=Number.parseFloat(t.breakpoint.md),a=e>=Number.parseFloat(t.breakpoint.lg),s=e>=Number.parseFloat(t.breakpoint.xl),u=e<Number.parseFloat(t.breakpoint.sm),l=e<Number.parseFloat(t.breakpoint.md),c=e<Number.parseFloat(t.breakpoint.lg),d=e<Number.parseFloat(t.breakpoint.xl);return{isXsAndUp:r,isSmAndUp:n,isMdAndUp:o,isLgAndUp:a,isXlAndUp:s,isXsAndDown:u,isSmAndDown:l,isMdAndDown:c,isLgAndDown:d,isXlAndDown:!0}};i();i();var x6=require("react"),to=(e,t)=>{(0,x6.useEffect)(()=>{let r=n=>{!e.current||e.current.contains(n.target)||t(n)};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t])};i();i();var xs=require("react"),ro=e=>{let t=(0,xs.useRef)();return(0,xs.useEffect)(()=>{t.current=e}),t.current};i();i();var E6=require("react");var no=()=>(0,E6.useContext)(gs);i();i();i();var RA=function(t){return IA(t)&&!LA(t)};function IA(e){return!!e&&typeof e=="object"}function LA(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||$A(e)}var kA=typeof Symbol=="function"&&Symbol.for,NA=kA?Symbol.for("react.element"):60103;function $A(e){return e.$$typeof===NA}function ZA(e){return Array.isArray(e)?[]:{}}function Es(e,t){return t.clone!==!1&&t.isMergeableObject(e)?_i(ZA(e),e,t):e}function HA(e,t,r){return e.concat(t).map(function(n){return Es(n,r)})}function zA(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(o){n[o]=Es(e[o],r)}),Object.keys(t).forEach(function(o){!r.isMergeableObject(t[o])||!e[o]?n[o]=Es(t[o],r):n[o]=_i(e[o],t[o],r)}),n}function _i(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||HA,r.isMergeableObject=r.isMergeableObject||RA;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):zA(e,t,r):Es(t,r)}_i.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return _i(n,o,r)},{})};var VA=_i,ws=VA;i();i();i();i();i();var jA=typeof window=="object"&&window&&window.Object===Object&&window,Ss=jA;var WA=typeof self=="object"&&self&&self.Object===Object&&self,UA=Ss||WA||Function("return this")(),je=UA;var _A=je.Symbol,Lt=_A;i();var w6=Object.prototype,KA=w6.hasOwnProperty,GA=w6.toString,Ki=Lt?Lt.toStringTag:void 0;function qA(e){var t=KA.call(e,Ki),r=e[Ki];try{e[Ki]=void 0;var n=!0}catch{}var o=GA.call(e);return n&&(t?e[Ki]=r:delete e[Ki]),o}var S6=qA;i();var XA=Object.prototype,YA=XA.toString;function JA(e){return YA.call(e)}var T6=JA;var QA="[object Null]",eB="[object Undefined]",A6=Lt?Lt.toStringTag:void 0;function tB(e){return e==null?e===void 0?eB:QA:A6&&A6 in Object(e)?S6(e):T6(e)}var At=tB;i();i();function rB(e,t){return function(r){return e(t(r))}}var Ts=rB;var nB=Ts(Object.getPrototypeOf,Object),ea=nB;i();function oB(e){return e!=null&&typeof e=="object"}var bt=oB;var aB="[object Object]",iB=Function.prototype,sB=Object.prototype,B6=iB.toString,uB=sB.hasOwnProperty,lB=B6.call(Object);function cB(e){if(!bt(e)||At(e)!=aB)return!1;var t=ea(e);if(t===null)return!0;var r=uB.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&B6.call(r)==lB}var Wf=cB;var J=require("react"),Rr=z(P6());i();var dB=!0;function mB(e,t){if(!dB){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var R6=mB;i();i();i();i();i();function hB(){this.__data__=[],this.size=0}var I6=hB;i();i();i();function gB(e,t){return e===t||e!==e&&t!==t}var As=gB;function vB(e,t){for(var r=e.length;r--;)if(As(e[r][0],t))return r;return-1}var mn=vB;var CB=Array.prototype,bB=CB.splice;function yB(e){var t=this.__data__,r=mn(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():bB.call(t,r,1),--this.size,!0}var L6=yB;i();function DB(e){var t=this.__data__,r=mn(t,e);return r<0?void 0:t[r][1]}var k6=DB;i();function xB(e){return mn(this.__data__,e)>-1}var N6=xB;i();function EB(e,t){var r=this.__data__,n=mn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var $6=EB;function ta(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ta.prototype.clear=I6;ta.prototype.delete=L6;ta.prototype.get=k6;ta.prototype.has=N6;ta.prototype.set=$6;var hn=ta;i();function wB(){this.__data__=new hn,this.size=0}var Z6=wB;i();function SB(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var H6=SB;i();function TB(e){return this.__data__.get(e)}var z6=TB;i();function AB(e){return this.__data__.has(e)}var V6=AB;i();i();i();i();i();i();function BB(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var cr=BB;var FB="[object AsyncFunction]",MB="[object Function]",OB="[object GeneratorFunction]",PB="[object Proxy]";function RB(e){if(!cr(e))return!1;var t=At(e);return t==MB||t==OB||t==FB||t==PB}var Bs=RB;i();i();var IB=je["__core-js_shared__"],Fs=IB;var j6=function(){var e=/[^.]+$/.exec(Fs&&Fs.keys&&Fs.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function LB(e){return!!j6&&j6 in e}var W6=LB;i();var kB=Function.prototype,NB=kB.toString;function $B(e){if(e!=null){try{return NB.call(e)}catch{}try{return e+""}catch{}}return""}var Mr=$B;var ZB=/[\\^$.*+?()[\]{}|]/g,HB=/^\[object .+?Constructor\]$/,zB=Function.prototype,VB=Object.prototype,jB=zB.toString,WB=VB.hasOwnProperty,UB=RegExp("^"+jB.call(WB).replace(ZB,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _B(e){if(!cr(e)||W6(e))return!1;var t=Bs(e)?UB:HB;return t.test(Mr(e))}var U6=_B;i();function KB(e,t){return e?.[t]}var _6=KB;function GB(e,t){var r=_6(e,t);return U6(r)?r:void 0}var yt=GB;var qB=yt(je,"Map"),gn=qB;i();i();i();i();i();var XB=yt(Object,"create"),Or=XB;function YB(){this.__data__=Or?Or(null):{},this.size=0}var K6=YB;i();function JB(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var G6=JB;i();var QB="__lodash_hash_undefined__",eF=Object.prototype,tF=eF.hasOwnProperty;function rF(e){var t=this.__data__;if(Or){var r=t[e];return r===QB?void 0:r}return tF.call(t,e)?t[e]:void 0}var q6=rF;i();var nF=Object.prototype,oF=nF.hasOwnProperty;function aF(e){var t=this.__data__;return Or?t[e]!==void 0:oF.call(t,e)}var X6=aF;i();var iF="__lodash_hash_undefined__";function sF(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Or&&t===void 0?iF:t,this}var Y6=sF;function ra(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ra.prototype.clear=K6;ra.prototype.delete=G6;ra.prototype.get=q6;ra.prototype.has=X6;ra.prototype.set=Y6;var _f=ra;function uF(){this.size=0,this.__data__={hash:new _f,map:new(gn||hn),string:new _f}}var J6=uF;i();i();i();function lF(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Q6=lF;function cF(e,t){var r=e.__data__;return Q6(t)?r[typeof t=="string"?"string":"hash"]:r.map}var vn=cF;function fF(e){var t=vn(this,e).delete(e);return this.size-=t?1:0,t}var e9=fF;i();function pF(e){return vn(this,e).get(e)}var t9=pF;i();function dF(e){return vn(this,e).has(e)}var r9=dF;i();function mF(e,t){var r=vn(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var n9=mF;function na(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}na.prototype.clear=J6;na.prototype.delete=e9;na.prototype.get=t9;na.prototype.has=r9;na.prototype.set=n9;var Gi=na;var hF=200;function gF(e,t){var r=this.__data__;if(r instanceof hn){var n=r.__data__;if(!gn||n.length<hF-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Gi(n)}return r.set(e,t),this.size=r.size,this}var o9=gF;function oa(e){var t=this.__data__=new hn(e);this.size=t.size}oa.prototype.clear=Z6;oa.prototype.delete=H6;oa.prototype.get=z6;oa.prototype.has=V6;oa.prototype.set=o9;var a9=oa;i();function vF(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var i9=vF;i();i();i();var CF=function(){try{var e=yt(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Kf=CF;function bF(e,t,r){t=="__proto__"&&Kf?Kf(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Ms=bF;var yF=Object.prototype,DF=yF.hasOwnProperty;function xF(e,t,r){var n=e[t];(!(DF.call(e,t)&&As(n,r))||r===void 0&&!(t in e))&&Ms(e,t,r)}var Os=xF;i();i();function EF(e,t,r,n){var o=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var u=t[a],l=n?n(r[u],e[u],u,r,e):void 0;l===void 0&&(l=e[u]),o?Ms(r,u,l):Os(r,u,l)}return r}var Cn=EF;i();i();i();function wF(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var s9=wF;i();i();var SF="[object Arguments]";function TF(e){return bt(e)&&At(e)==SF}var Gf=TF;var u9=Object.prototype,AF=u9.hasOwnProperty,BF=u9.propertyIsEnumerable,FF=Gf(function(){return arguments}())?Gf:function(e){return bt(e)&&AF.call(e,"callee")&&!BF.call(e,"callee")},l9=FF;i();var MF=Array.isArray,fr=MF;i();i();function OF(){return!1}var c9=OF;var d9=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f9=d9&&typeof module=="object"&&module&&!module.nodeType&&module,PF=f9&&f9.exports===d9,p9=PF?je.Buffer:void 0,RF=p9?p9.isBuffer:void 0,IF=RF||c9,Ps=IF;i();var LF=9007199254740991,kF=/^(?:0|[1-9]\d*)$/;function NF(e,t){var r=typeof e;return t=t??LF,!!t&&(r=="number"||r!="symbol"&&kF.test(e))&&e>-1&&e%1==0&&e<t}var m9=NF;i();i();i();var $F=9007199254740991;function ZF(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$F}var Rs=ZF;var HF="[object Arguments]",zF="[object Array]",VF="[object Boolean]",jF="[object Date]",WF="[object Error]",UF="[object Function]",_F="[object Map]",KF="[object Number]",GF="[object Object]",qF="[object RegExp]",XF="[object Set]",YF="[object String]",JF="[object WeakMap]",QF="[object ArrayBuffer]",eM="[object DataView]",tM="[object Float32Array]",rM="[object Float64Array]",nM="[object Int8Array]",oM="[object Int16Array]",aM="[object Int32Array]",iM="[object Uint8Array]",sM="[object Uint8ClampedArray]",uM="[object Uint16Array]",lM="[object Uint32Array]",Fe={};Fe[tM]=Fe[rM]=Fe[nM]=Fe[oM]=Fe[aM]=Fe[iM]=Fe[sM]=Fe[uM]=Fe[lM]=!0;Fe[HF]=Fe[zF]=Fe[QF]=Fe[VF]=Fe[eM]=Fe[jF]=Fe[WF]=Fe[UF]=Fe[_F]=Fe[KF]=Fe[GF]=Fe[qF]=Fe[XF]=Fe[YF]=Fe[JF]=!1;function cM(e){return bt(e)&&Rs(e.length)&&!!Fe[At(e)]}var h9=cM;i();function fM(e){return function(t){return e(t)}}var aa=fM;i();var g9=typeof exports=="object"&&exports&&!exports.nodeType&&exports,qi=g9&&typeof module=="object"&&module&&!module.nodeType&&module,pM=qi&&qi.exports===g9,qf=pM&&Ss.process,dM=function(){try{var e=qi&&qi.require&&qi.require("util").types;return e||qf&&qf.binding&&qf.binding("util")}catch{}}(),Pr=dM;var v9=Pr&&Pr.isTypedArray,mM=v9?aa(v9):h9,C9=mM;var hM=Object.prototype,gM=hM.hasOwnProperty;function vM(e,t){var r=fr(e),n=!r&&l9(e),o=!r&&!n&&Ps(e),a=!r&&!n&&!o&&C9(e),s=r||n||o||a,u=s?s9(e.length,String):[],l=u.length;for(var c in e)(t||gM.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||m9(c,l)))&&u.push(c);return u}var Is=vM;i();i();var CM=Object.prototype;function bM(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||CM;return e===r}var ia=bM;i();var yM=Ts(Object.keys,Object),b9=yM;var DM=Object.prototype,xM=DM.hasOwnProperty;function EM(e){if(!ia(e))return b9(e);var t=[];for(var r in Object(e))xM.call(e,r)&&r!="constructor"&&t.push(r);return t}var y9=EM;i();function wM(e){return e!=null&&Rs(e.length)&&!Bs(e)}var Ls=wM;function SM(e){return Ls(e)?Is(e):y9(e)}var sa=SM;function TM(e,t){return e&&Cn(t,sa(t),e)}var D9=TM;i();i();i();i();function AM(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var x9=AM;var BM=Object.prototype,FM=BM.hasOwnProperty;function MM(e){if(!cr(e))return x9(e);var t=ia(e),r=[];for(var n in e)n=="constructor"&&(t||!FM.call(e,n))||r.push(n);return r}var E9=MM;function OM(e){return Ls(e)?Is(e,!0):E9(e)}var ua=OM;function PM(e,t){return e&&Cn(t,ua(t),e)}var w9=PM;i();var B9=typeof exports=="object"&&exports&&!exports.nodeType&&exports,S9=B9&&typeof module=="object"&&module&&!module.nodeType&&module,RM=S9&&S9.exports===B9,T9=RM?je.Buffer:void 0,A9=T9?T9.allocUnsafe:void 0;function IM(e,t){if(t)return e.slice();var r=e.length,n=A9?A9(r):new e.constructor(r);return e.copy(n),n}var F9=IM;i();function LM(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var ks=LM;i();i();i();function kM(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[o++]=s)}return a}var M9=kM;i();function NM(){return[]}var Ns=NM;var $M=Object.prototype,ZM=$M.propertyIsEnumerable,O9=Object.getOwnPropertySymbols,HM=O9?function(e){return e==null?[]:(e=Object(e),M9(O9(e),function(t){return ZM.call(e,t)}))}:Ns,la=HM;function zM(e,t){return Cn(e,la(e),t)}var P9=zM;i();i();i();function VM(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var $s=VM;var jM=Object.getOwnPropertySymbols,WM=jM?function(e){for(var t=[];e;)$s(t,la(e)),e=ea(e);return t}:Ns,Zs=WM;function UM(e,t){return Cn(e,Zs(e),t)}var R9=UM;i();i();function _M(e,t,r){var n=t(e);return fr(e)?n:$s(n,r(e))}var Hs=_M;function KM(e){return Hs(e,sa,la)}var I9=KM;i();function GM(e){return Hs(e,ua,Zs)}var L9=GM;i();i();var qM=yt(je,"DataView"),zs=qM;i();var XM=yt(je,"Promise"),Vs=XM;i();var YM=yt(je,"Set"),js=YM;i();var JM=yt(je,"WeakMap"),Ws=JM;var k9="[object Map]",QM="[object Object]",N9="[object Promise]",$9="[object Set]",Z9="[object WeakMap]",H9="[object DataView]",eO=Mr(zs),tO=Mr(gn),rO=Mr(Vs),nO=Mr(js),oO=Mr(Ws),oo=At;(zs&&oo(new zs(new ArrayBuffer(1)))!=H9||gn&&oo(new gn)!=k9||Vs&&oo(Vs.resolve())!=N9||js&&oo(new js)!=$9||Ws&&oo(new Ws)!=Z9)&&(oo=function(e){var t=At(e),r=t==QM?e.constructor:void 0,n=r?Mr(r):"";if(n)switch(n){case eO:return H9;case tO:return k9;case rO:return N9;case nO:return $9;case oO:return Z9}return t});var ca=oo;i();var aO=Object.prototype,iO=aO.hasOwnProperty;function sO(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&iO.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var z9=sO;i();i();i();var uO=je.Uint8Array,Xf=uO;function lO(e){var t=new e.constructor(e.byteLength);return new Xf(t).set(new Xf(e)),t}var fa=lO;i();function cO(e,t){var r=t?fa(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var V9=cO;i();var fO=/\w*$/;function pO(e){var t=new e.constructor(e.source,fO.exec(e));return t.lastIndex=e.lastIndex,t}var j9=pO;i();var W9=Lt?Lt.prototype:void 0,U9=W9?W9.valueOf:void 0;function dO(e){return U9?Object(U9.call(e)):{}}var _9=dO;i();function mO(e,t){var r=t?fa(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var K9=mO;var hO="[object Boolean]",gO="[object Date]",vO="[object Map]",CO="[object Number]",bO="[object RegExp]",yO="[object Set]",DO="[object String]",xO="[object Symbol]",EO="[object ArrayBuffer]",wO="[object DataView]",SO="[object Float32Array]",TO="[object Float64Array]",AO="[object Int8Array]",BO="[object Int16Array]",FO="[object Int32Array]",MO="[object Uint8Array]",OO="[object Uint8ClampedArray]",PO="[object Uint16Array]",RO="[object Uint32Array]";function IO(e,t,r){var n=e.constructor;switch(t){case EO:return fa(e);case hO:case gO:return new n(+e);case wO:return V9(e,r);case SO:case TO:case AO:case BO:case FO:case MO:case OO:case PO:case RO:return K9(e,r);case vO:return new n;case CO:case DO:return new n(e);case bO:return j9(e);case yO:return new n;case xO:return _9(e)}}var G9=IO;i();i();var q9=Object.create,LO=function(){function e(){}return function(t){if(!cr(t))return{};if(q9)return q9(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),X9=LO;function kO(e){return typeof e.constructor=="function"&&!ia(e)?X9(ea(e)):{}}var Y9=kO;i();i();var NO="[object Map]";function $O(e){return bt(e)&&ca(e)==NO}var J9=$O;var Q9=Pr&&Pr.isMap,ZO=Q9?aa(Q9):J9,eh=ZO;i();i();var HO="[object Set]";function zO(e){return bt(e)&&ca(e)==HO}var th=zO;var rh=Pr&&Pr.isSet,VO=rh?aa(rh):th,nh=VO;var jO=1,WO=2,UO=4,oh="[object Arguments]",_O="[object Array]",KO="[object Boolean]",GO="[object Date]",qO="[object Error]",ah="[object Function]",XO="[object GeneratorFunction]",YO="[object Map]",JO="[object Number]",ih="[object Object]",QO="[object RegExp]",eP="[object Set]",tP="[object String]",rP="[object Symbol]",nP="[object WeakMap]",oP="[object ArrayBuffer]",aP="[object DataView]",iP="[object Float32Array]",sP="[object Float64Array]",uP="[object Int8Array]",lP="[object Int16Array]",cP="[object Int32Array]",fP="[object Uint8Array]",pP="[object Uint8ClampedArray]",dP="[object Uint16Array]",mP="[object Uint32Array]",Be={};Be[oh]=Be[_O]=Be[oP]=Be[aP]=Be[KO]=Be[GO]=Be[iP]=Be[sP]=Be[uP]=Be[lP]=Be[cP]=Be[YO]=Be[JO]=Be[ih]=Be[QO]=Be[eP]=Be[tP]=Be[rP]=Be[fP]=Be[pP]=Be[dP]=Be[mP]=!0;Be[qO]=Be[ah]=Be[nP]=!1;function Us(e,t,r,n,o,a){var s,u=t&jO,l=t&WO,c=t&UO;if(r&&(s=o?r(e,n,o,a):r(e)),s!==void 0)return s;if(!cr(e))return e;var d=fr(e);if(d){if(s=z9(e),!u)return ks(e,s)}else{var h=ca(e),m=h==ah||h==XO;if(Ps(e))return F9(e,u);if(h==ih||h==oh||m&&!o){if(s=l||m?{}:Y9(e),!u)return l?R9(e,w9(s,e)):P9(e,D9(s,e))}else{if(!Be[h])return o?e:{};s=G9(e,h,u)}}a||(a=new a9);var C=a.get(e);if(C)return C;a.set(e,s),nh(e)?e.forEach(function(b){s.add(Us(b,t,r,b,e,a))}):eh(e)&&e.forEach(function(b,y){s.set(y,Us(b,t,r,y,e,a))});var v=c?l?L9:I9:l?ua:sa,p=d?void 0:v(e);return i9(p||e,function(b,y){p&&(y=b,b=e[y]),Os(s,y,Us(b,t,r,y,e,a))}),s}var _s=Us;var hP=4;function gP(e){return _s(e,hP)}var Yf=gP;i();i();function vP(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var Ks=vP;i();var CP="[object Symbol]";function bP(e){return typeof e=="symbol"||bt(e)&&At(e)==CP}var pa=bP;i();i();i();var yP="Expected a function";function Jf(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(yP);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var s=e.apply(this,n);return r.cache=a.set(o,s)||a,s};return r.cache=new(Jf.Cache||Gi),r}Jf.Cache=Gi;var sh=Jf;var DP=500;function xP(e){var t=sh(e,function(n){return r.size===DP&&r.clear(),n}),r=t.cache;return t}var uh=xP;var EP=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wP=/\\(\\)?/g,SP=uh(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(EP,function(r,n,o,a){t.push(o?a.replace(wP,"$1"):n||r)}),t}),lh=SP;i();var TP=1/0;function AP(e){if(typeof e=="string"||pa(e))return e;var t=e+"";return t=="0"&&1/e==-TP?"-0":t}var ch=AP;i();i();var BP=1/0,fh=Lt?Lt.prototype:void 0,ph=fh?fh.toString:void 0;function dh(e){if(typeof e=="string")return e;if(fr(e))return Ks(e,dh)+"";if(pa(e))return ph?ph.call(e):"";var t=e+"";return t=="0"&&1/e==-BP?"-0":t}var mh=dh;function FP(e){return e==null?"":mh(e)}var hh=FP;function MP(e){return fr(e)?Ks(e,ch):pa(e)?[e]:ks(lh(hh(e)))}var Qf=MP;var _P=z(Th());i();var jP=1,WP=4;function UP(e){return _s(e,jP|WP)}var Ah=UP;function Te(){return Te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Te.apply(this,arguments)}function KP(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function io(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Bh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var au=(0,J.createContext)(void 0);au.displayName="FormikContext";var GP=au.Provider,que=au.Consumer;function Ir(){var e=(0,J.useContext)(au);return e||R6(!1),e}var Fh=function(t){return Array.isArray(t)&&t.length===0},ut=function(t){return typeof t=="function"},Xi=function(t){return t!==null&&typeof t=="object"},qP=function(t){return String(Math.floor(Number(t)))===t},ap=function(t){return Object.prototype.toString.call(t)==="[object String]"};var Oh=function(t){return J.Children.count(t)===0},ip=function(t){return Xi(t)&&ut(t.then)};function Ge(e,t,r,n){n===void 0&&(n=0);for(var o=Qf(t);e&&n<o.length;)e=e[o[n++]];return n!==o.length&&!e||e===void 0?r:e}function pr(e,t,r){for(var n=Yf(e),o=n,a=0,s=Qf(t);a<s.length-1;a++){var u=s[a],l=Ge(e,s.slice(0,a+1));if(l&&(Xi(l)||Array.isArray(l)))o=o[u]=Yf(l);else{var c=s[a+1];o=o[u]=qP(c)&&Number(c)>=0?[]:{}}}return(a===0?e:o)[s[a]]===r?e:(r===void 0?delete o[s[a]]:o[s[a]]=r,a===0&&r===void 0&&delete n[s[a]],n)}function Ph(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var o=0,a=Object.keys(e);o<a.length;o++){var s=a[o],u=e[s];Xi(u)?r.get(u)||(r.set(u,!0),n[s]=Array.isArray(u)?[]:{},Ph(u,t,r,n[s])):n[s]=t}return n}function XP(e,t){switch(t.type){case"SET_VALUES":return Te({},e,{values:t.payload});case"SET_TOUCHED":return Te({},e,{touched:t.payload});case"SET_ERRORS":return(0,Rr.default)(e.errors,t.payload)?e:Te({},e,{errors:t.payload});case"SET_STATUS":return Te({},e,{status:t.payload});case"SET_ISSUBMITTING":return Te({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Te({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Te({},e,{values:pr(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Te({},e,{touched:pr(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Te({},e,{errors:pr(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Te({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Te({},e,{touched:Ph(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return Te({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Te({},e,{isSubmitting:!1});default:return e}}var ao={},ou={};function YP(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,o=n===void 0?!0:n,a=e.validateOnMount,s=a===void 0?!1:a,u=e.isInitialValid,l=e.enableReinitialize,c=l===void 0?!1:l,d=e.onSubmit,h=io(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),m=Te({validateOnChange:r,validateOnBlur:o,validateOnMount:s,onSubmit:d},h),C=(0,J.useRef)(m.initialValues),v=(0,J.useRef)(m.initialErrors||ao),p=(0,J.useRef)(m.initialTouched||ou),b=(0,J.useRef)(m.initialStatus),y=(0,J.useRef)(!1),E=(0,J.useRef)({});(0,J.useEffect)(function(){return y.current=!0,function(){y.current=!1}},[]);var B=(0,J.useState)(0),A=B[1],I=(0,J.useRef)({values:m.initialValues,errors:m.initialErrors||ao,touched:m.initialTouched||ou,status:m.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),D=I.current,T=(0,J.useCallback)(function(S){var q=I.current;I.current=XP(q,S),q!==I.current&&A(function(Q){return Q+1})},[]),V=(0,J.useCallback)(function(S,q){return new Promise(function(Q,Y){var re=m.validate(S,q);re==null?Q(ao):ip(re)?re.then(function(ge){Q(ge||ao)},function(ge){Y(ge)}):Q(re)})},[m.validate]),L=(0,J.useCallback)(function(S,q){var Q=m.validationSchema,Y=ut(Q)?Q(q):Q,re=q&&Y.validateAt?Y.validateAt(q,S):QP(S,Y);return new Promise(function(ge,ye){re.then(function(){ge(ao)},function(Je){Je.name==="ValidationError"?ge(JP(Je)):ye(Je)})})},[m.validationSchema]),K=(0,J.useCallback)(function(S,q){return new Promise(function(Q){return Q(E.current[S].validate(q))})},[]),X=(0,J.useCallback)(function(S){var q=Object.keys(E.current).filter(function(Y){return ut(E.current[Y].validate)}),Q=q.length>0?q.map(function(Y){return K(Y,Ge(S,Y))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Q).then(function(Y){return Y.reduce(function(re,ge,ye){return ge==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||ge&&(re=pr(re,q[ye],ge)),re},{})})},[K]),N=(0,J.useCallback)(function(S){return Promise.all([X(S),m.validationSchema?L(S):{},m.validate?V(S):{}]).then(function(q){var Q=q[0],Y=q[1],re=q[2],ge=ws.all([Q,Y,re],{arrayMerge:eR});return ge})},[m.validate,m.validationSchema,X,V,L]),$=kt(function(S){return S===void 0&&(S=D.values),T({type:"SET_ISVALIDATING",payload:!0}),N(S).then(function(q){return y.current&&(T({type:"SET_ISVALIDATING",payload:!1}),T({type:"SET_ERRORS",payload:q})),q})});(0,J.useEffect)(function(){s&&y.current===!0&&(0,Rr.default)(C.current,m.initialValues)&&$(C.current)},[s,$]);var Z=(0,J.useCallback)(function(S){var q=S&&S.values?S.values:C.current,Q=S&&S.errors?S.errors:v.current?v.current:m.initialErrors||{},Y=S&&S.touched?S.touched:p.current?p.current:m.initialTouched||{},re=S&&S.status?S.status:b.current?b.current:m.initialStatus;C.current=q,v.current=Q,p.current=Y,b.current=re;var ge=function(){T({type:"RESET_FORM",payload:{isSubmitting:!!S&&!!S.isSubmitting,errors:Q,touched:Y,status:re,values:q,isValidating:!!S&&!!S.isValidating,submitCount:S&&S.submitCount&&typeof S.submitCount=="number"?S.submitCount:0}})};if(m.onReset){var ye=m.onReset(D.values,Se);ip(ye)?ye.then(ge):ge()}else ge()},[m.initialErrors,m.initialStatus,m.initialTouched]);(0,J.useEffect)(function(){y.current===!0&&!(0,Rr.default)(C.current,m.initialValues)&&c&&(C.current=m.initialValues,Z(),s&&$(C.current))},[c,m.initialValues,Z,s,$]),(0,J.useEffect)(function(){c&&y.current===!0&&!(0,Rr.default)(v.current,m.initialErrors)&&(v.current=m.initialErrors||ao,T({type:"SET_ERRORS",payload:m.initialErrors||ao}))},[c,m.initialErrors]),(0,J.useEffect)(function(){c&&y.current===!0&&!(0,Rr.default)(p.current,m.initialTouched)&&(p.current=m.initialTouched||ou,T({type:"SET_TOUCHED",payload:m.initialTouched||ou}))},[c,m.initialTouched]),(0,J.useEffect)(function(){c&&y.current===!0&&!(0,Rr.default)(b.current,m.initialStatus)&&(b.current=m.initialStatus,T({type:"SET_STATUS",payload:m.initialStatus}))},[c,m.initialStatus,m.initialTouched]);var W=kt(function(S){if(E.current[S]&&ut(E.current[S].validate)){var q=Ge(D.values,S),Q=E.current[S].validate(q);return ip(Q)?(T({type:"SET_ISVALIDATING",payload:!0}),Q.then(function(Y){return Y}).then(function(Y){T({type:"SET_FIELD_ERROR",payload:{field:S,value:Y}}),T({type:"SET_ISVALIDATING",payload:!1})})):(T({type:"SET_FIELD_ERROR",payload:{field:S,value:Q}}),Promise.resolve(Q))}else if(m.validationSchema)return T({type:"SET_ISVALIDATING",payload:!0}),L(D.values,S).then(function(Y){return Y}).then(function(Y){T({type:"SET_FIELD_ERROR",payload:{field:S,value:Ge(Y,S)}}),T({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),le=(0,J.useCallback)(function(S,q){var Q=q.validate;E.current[S]={validate:Q}},[]),me=(0,J.useCallback)(function(S){delete E.current[S]},[]),De=kt(function(S,q){T({type:"SET_TOUCHED",payload:S});var Q=q===void 0?o:q;return Q?$(D.values):Promise.resolve()}),ae=(0,J.useCallback)(function(S){T({type:"SET_ERRORS",payload:S})},[]),de=kt(function(S,q){var Q=ut(S)?S(D.values):S;T({type:"SET_VALUES",payload:Q});var Y=q===void 0?r:q;return Y?$(Q):Promise.resolve()}),we=(0,J.useCallback)(function(S,q){T({type:"SET_FIELD_ERROR",payload:{field:S,value:q}})},[]),he=kt(function(S,q,Q){T({type:"SET_FIELD_VALUE",payload:{field:S,value:q}});var Y=Q===void 0?r:Q;return Y?$(pr(D.values,S,q)):Promise.resolve()}),qe=(0,J.useCallback)(function(S,q){var Q=q,Y=S,re;if(!ap(S)){S.persist&&S.persist();var ge=S.target?S.target:S.currentTarget,ye=ge.type,Je=ge.name,_r=ge.id,Vt=ge.value,kl=ge.checked,Fd=ge.outerHTML,Eo=ge.options,Nl=ge.multiple;Q=q||Je||_r,Y=/number|range/.test(ye)?(re=parseFloat(Vt),isNaN(re)?"":re):/checkbox/.test(ye)?rR(Ge(D.values,Q),kl,Vt):Eo&&Nl?tR(Eo):Vt}Q&&he(Q,Y)},[he,D.values]),w=kt(function(S){if(ap(S))return function(q){return qe(q,S)};qe(S)}),j=kt(function(S,q,Q){q===void 0&&(q=!0),T({type:"SET_FIELD_TOUCHED",payload:{field:S,value:q}});var Y=Q===void 0?o:Q;return Y?$(D.values):Promise.resolve()}),k=(0,J.useCallback)(function(S,q){S.persist&&S.persist();var Q=S.target,Y=Q.name,re=Q.id,ge=Q.outerHTML,ye=q||Y||re;j(ye,!0)},[j]),_=kt(function(S){if(ap(S))return function(q){return k(q,S)};k(S)}),ue=(0,J.useCallback)(function(S){ut(S)?T({type:"SET_FORMIK_STATE",payload:S}):T({type:"SET_FORMIK_STATE",payload:function(){return S}})},[]),te=(0,J.useCallback)(function(S){T({type:"SET_STATUS",payload:S})},[]),fe=(0,J.useCallback)(function(S){T({type:"SET_ISSUBMITTING",payload:S})},[]),ve=kt(function(){return T({type:"SUBMIT_ATTEMPT"}),$().then(function(S){var q=S instanceof Error,Q=!q&&Object.keys(S).length===0;if(Q){var Y;try{if(Y=Ce(),Y===void 0)return}catch(re){throw re}return Promise.resolve(Y).then(function(re){return y.current&&T({type:"SUBMIT_SUCCESS"}),re}).catch(function(re){if(y.current)throw T({type:"SUBMIT_FAILURE"}),re})}else if(y.current&&(T({type:"SUBMIT_FAILURE"}),q))throw S})}),be=kt(function(S){if(S&&S.preventDefault&&ut(S.preventDefault)&&S.preventDefault(),S&&S.stopPropagation&&ut(S.stopPropagation)&&S.stopPropagation(),!1)var q;ve().catch(function(Q){console.warn("Warning: An unhandled error was caught from submitForm()",Q)})}),Se={resetForm:Z,validateForm:$,validateField:W,setErrors:ae,setFieldError:we,setFieldTouched:j,setFieldValue:he,setStatus:te,setSubmitting:fe,setTouched:De,setValues:de,setFormikState:ue,submitForm:ve},Ce=kt(function(){return d(D.values,Se)}),Ue=kt(function(S){S&&S.preventDefault&&ut(S.preventDefault)&&S.preventDefault(),S&&S.stopPropagation&&ut(S.stopPropagation)&&S.stopPropagation(),Z()}),Xe=(0,J.useCallback)(function(S){return{value:Ge(D.values,S),error:Ge(D.errors,S),touched:!!Ge(D.touched,S),initialValue:Ge(C.current,S),initialTouched:!!Ge(p.current,S),initialError:Ge(v.current,S)}},[D.errors,D.touched,D.values]),$e=(0,J.useCallback)(function(S){return{setValue:function(Q,Y){return he(S,Q,Y)},setTouched:function(Q,Y){return j(S,Q,Y)},setError:function(Q){return we(S,Q)}}},[he,j,we]),ft=(0,J.useCallback)(function(S){var q=Xi(S),Q=q?S.name:S,Y=Ge(D.values,Q),re={name:Q,value:Y,onChange:w,onBlur:_};if(q){var ge=S.type,ye=S.value,Je=S.as,_r=S.multiple;ge==="checkbox"?ye===void 0?re.checked=!!Y:(re.checked=!!(Array.isArray(Y)&&~Y.indexOf(ye)),re.value=ye):ge==="radio"?(re.checked=Y===ye,re.value=ye):Je==="select"&&_r&&(re.value=re.value||[],re.multiple=!0)}return re},[_,w,D.values]),at=(0,J.useMemo)(function(){return!(0,Rr.default)(C.current,D.values)},[C.current,D.values]),Ye=(0,J.useMemo)(function(){return typeof u<"u"?at?D.errors&&Object.keys(D.errors).length===0:u!==!1&&ut(u)?u(m):u:D.errors&&Object.keys(D.errors).length===0},[u,at,D.errors,m]),pt=Te({},D,{initialValues:C.current,initialErrors:v.current,initialTouched:p.current,initialStatus:b.current,handleBlur:_,handleChange:w,handleReset:Ue,handleSubmit:be,resetForm:Z,setErrors:ae,setFormikState:ue,setFieldTouched:j,setFieldValue:he,setFieldError:we,setStatus:te,setSubmitting:fe,setTouched:De,setValues:de,submitForm:ve,validateForm:$,validateField:W,isValid:Ye,dirty:at,unregisterField:me,registerField:le,getFieldProps:ft,getFieldMeta:Xe,getFieldHelpers:$e,validateOnBlur:o,validateOnChange:r,validateOnMount:s});return pt}function Rh(e){var t=YP(e),r=e.component,n=e.children,o=e.render,a=e.innerRef;return(0,J.useImperativeHandle)(a,function(){return t}),(0,J.createElement)(GP,{value:t},r?(0,J.createElement)(r,t):o?o(t):n?ut(n)?n(t):Oh(n)?null:J.Children.only(n):null)}function JP(e){var t={};if(e.inner){if(e.inner.length===0)return pr(t,e.path,e.message);for(var o=e.inner,r=Array.isArray(o),n=0,o=r?o:o[Symbol.iterator]();;){var a;if(r){if(n>=o.length)break;a=o[n++]}else{if(n=o.next(),n.done)break;a=n.value}var s=a;Ge(t,s.path)||(t=pr(t,s.path,s.message))}}return t}function QP(e,t,r,n){r===void 0&&(r=!1);var o=up(e);return t[r?"validateSync":"validate"](o,{abortEarly:!1,context:n||o})}function up(e){var t=Array.isArray(e)?[]:{};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=String(r);Array.isArray(e[n])===!0?t[n]=e[n].map(function(o){return Array.isArray(o)===!0||Wf(o)?up(o):o!==""?o:void 0}):Wf(e[n])?t[n]=up(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function eR(e,t,r){var n=e.slice();return t.forEach(function(a,s){if(typeof n[s]>"u"){var u=r.clone!==!1,l=u&&r.isMergeableObject(a);n[s]=l?ws(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[s]=ws(e[s],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function tR(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function rR(e,t,r){if(typeof e=="boolean")return!!t;var n=[],o=!1,a=-1;if(Array.isArray(e))n=e,a=e.indexOf(r),o=a>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!o?n.concat(r):o?n.slice(0,a).concat(n.slice(a+1)):n}var nR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?J.useLayoutEffect:J.useEffect;function kt(e){var t=(0,J.useRef)(e);return nR(function(){t.current=e}),(0,J.useCallback)(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return t.current.apply(void 0,n)},[])}function Ih(e){var t=e.validate,r=e.name,n=e.render,o=e.children,a=e.as,s=e.component,u=io(e,["validate","name","render","children","as","component"]),l=Ir(),c=io(l,["validate","validationSchema"]),d=c.registerField,h=c.unregisterField;(0,J.useEffect)(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var m=c.getFieldProps(Te({name:r},u)),C=c.getFieldMeta(r),v={field:m,form:c};if(n)return n(Te({},v,{meta:C}));if(ut(o))return o(Te({},v,{meta:C}));if(s){if(typeof s=="string"){var p=u.innerRef,b=io(u,["innerRef"]);return(0,J.createElement)(s,Te({ref:p},m,b),o)}return(0,J.createElement)(s,Te({field:m,form:c},u),o)}var y=a||"input";if(typeof y=="string"){var E=u.innerRef,B=io(u,["innerRef"]);return(0,J.createElement)(y,Te({ref:E},m,B),o)}return(0,J.createElement)(y,Te({},m,u),o)}var lp=(0,J.forwardRef)(function(e,t){var r=e.action,n=io(e,["action"]),o=r??"#",a=Ir(),s=a.handleReset,u=a.handleSubmit;return(0,J.createElement)("form",Te({onSubmit:u,ref:t,onReset:s,action:o},n))});lp.displayName="Form";var oR=function(t,r,n){var o=so(t),a=o[r];return o.splice(r,1),o.splice(n,0,a),o},aR=function(t,r,n){var o=so(t),a=o[r];return o[r]=o[n],o[n]=a,o},sp=function(t,r,n){var o=so(t);return o.splice(r,0,n),o},iR=function(t,r,n){var o=so(t);return o[r]=n,o},so=function(t){if(t){if(Array.isArray(t))return[].concat(t);var r=Object.keys(t).map(function(n){return parseInt(n)}).reduce(function(n,o){return o>n?o:n},0);return Array.from(Te({},t,{length:r+1}))}else return[]},Mh=function(t,r){var n=typeof t=="function"?t:r;return function(o){if(Array.isArray(o)||Xi(o)){var a=so(o);return n(a)}return o}},sR=function(e){KP(t,e);function t(n){var o;return o=e.call(this,n)||this,o.updateArrayField=function(a,s,u){var l=o.props,c=l.name,d=l.formik.setFormikState;d(function(h){var m=Mh(u,a),C=Mh(s,a),v=pr(h.values,c,a(Ge(h.values,c))),p=u?m(Ge(h.errors,c)):void 0,b=s?C(Ge(h.touched,c)):void 0;return Fh(p)&&(p=void 0),Fh(b)&&(b=void 0),Te({},h,{values:v,errors:u?pr(h.errors,c,p):h.errors,touched:s?pr(h.touched,c,b):h.touched})})},o.push=function(a){return o.updateArrayField(function(s){return[].concat(so(s),[Ah(a)])},!1,!1)},o.handlePush=function(a){return function(){return o.push(a)}},o.swap=function(a,s){return o.updateArrayField(function(u){return aR(u,a,s)},!0,!0)},o.handleSwap=function(a,s){return function(){return o.swap(a,s)}},o.move=function(a,s){return o.updateArrayField(function(u){return oR(u,a,s)},!0,!0)},o.handleMove=function(a,s){return function(){return o.move(a,s)}},o.insert=function(a,s){return o.updateArrayField(function(u){return sp(u,a,s)},function(u){return sp(u,a,null)},function(u){return sp(u,a,null)})},o.handleInsert=function(a,s){return function(){return o.insert(a,s)}},o.replace=function(a,s){return o.updateArrayField(function(u){return iR(u,a,s)},!1,!1)},o.handleReplace=function(a,s){return function(){return o.replace(a,s)}},o.unshift=function(a){var s=-1;return o.updateArrayField(function(u){var l=u?[a].concat(u):[a];return s=l.length,l},function(u){return u?[null].concat(u):[null]},function(u){return u?[null].concat(u):[null]}),s},o.handleUnshift=function(a){return function(){return o.unshift(a)}},o.handleRemove=function(a){return function(){return o.remove(a)}},o.handlePop=function(){return function(){return o.pop()}},o.remove=o.remove.bind(Bh(o)),o.pop=o.pop.bind(Bh(o)),o}var r=t.prototype;return r.componentDidUpdate=function(o){this.props.validateOnChange&&this.props.formik.validateOnChange&&!(0,Rr.default)(Ge(o.formik.values,o.name),Ge(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(o){var a;return this.updateArrayField(function(s){var u=s?so(s):[];return a||(a=u[o]),ut(u.splice)&&u.splice(o,1),ut(u.every)&&u.every(function(l){return l===void 0})?[]:u},!0,!0),a},r.pop=function(){var o;return this.updateArrayField(function(a){var s=a.slice();return o||(o=s&&s.pop&&s.pop()),s},!0,!0),o},r.render=function(){var o={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},a=this.props,s=a.component,u=a.render,l=a.children,c=a.name,d=a.formik,h=io(d,["validate","validationSchema"]),m=Te({},o,{form:h,name:c});return s?(0,J.createElement)(s,m):u?u(m):l?typeof l=="function"?l(m):Oh(l)?null:J.Children.only(l):null},t}(J.Component);sR.defaultProps={validateOnChange:!0};i();i();var n1=z(require("styled-components"));i();i();var et=require("react"),Cg=require("react-dom"),bg=require("styled-components"),yg=z(Dp());i();i();var hg=require("react");var gg=require("styled-components");var Dn=require("react/jsx-runtime"),vu=100,$I=gg.createGlobalStyle`
|
|
926
926
|
.EnterTransition-appear {
|
|
927
927
|
opacity: 0;
|
|
928
928
|
}
|
|
@@ -949,17 +949,17 @@
|
|
|
949
949
|
opacity: 0;
|
|
950
950
|
transition: opacity ${vu}ms ease-in;
|
|
951
951
|
}
|
|
952
|
-
`,
|
|
953
|
-
.${
|
|
952
|
+
`,r1=({children:e})=>{let t=hg.Children.map(e,r=>r)?.filter(Boolean);return(0,Dn.jsxs)(Dn.Fragment,{children:[(0,Dn.jsx)($I,{}),(0,Dn.jsx)(Q0,{children:ee(t)?t.map(r=>(0,Dn.jsx)(Pi,{classNames:"EnterTransition",timeout:vu,children:r},r.key)):null})]})};var mr=require("react/jsx-runtime"),xp="is-scroll-locked",ZI=bg.createGlobalStyle`
|
|
953
|
+
.${xp} {
|
|
954
954
|
overflow: hidden;
|
|
955
955
|
}
|
|
956
|
-
`,
|
|
956
|
+
`,Dg=(e=document)=>{let t=e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');return Array.from(t).filter(r=>window.getComputedStyle(r).getPropertyValue("display")!=="none")},HI=(e,t)=>{let r=Dg(e.current);if(r.length===0){t.preventDefault();return}let n=r[0],o=r[r.length-1];if(r.length===1){t.preventDefault(),n.focus();return}if(t.shiftKey){document.activeElement===n&&(t.preventDefault(),o.focus());return}document.activeElement===o&&(t.preventDefault(),n.focus())},vg=({className:e,initialShownState:t=!1,isDismissible:r=!0,onBeforeHide:n,onHide:o,onShow:a,render:s,toggle:u})=>{let{attemptShowModal:l,attemptHideModal:c,removeModalFromQueue:d}=$f(),[h,m]=(0,et.useState)(!1),[C,v]=(0,et.useState)(t),p=ro(h),b=()=>v(!1),y=(0,et.useCallback)(()=>v(!0),[]),E=(0,et.useRef)(),B=document.createElement("div");B.classList.add("Modal"),ee(e)&&B.classList.add(e);let A=(0,et.useRef)(B),I=(0,et.useCallback)(()=>{if(ee(n)){let{shouldShowMessage:D,message:T}=Object(n());if(D&&!window.confirm(T))return}b(),o&&o()},[n,o]);return(0,et.useEffect)(()=>{let D=T=>{T.key==="Escape"&&r&&I()};return h&&(document.addEventListener("keyup",D),document.querySelector("body")?.classList.add(xp)),()=>{document.removeEventListener("keyup",D),document.querySelector("body")?.classList.remove(xp)}},[h,I,r]),(0,et.useEffect)(()=>{v(t)},[v,t]),(0,et.useEffect)(()=>{let D=T=>{T.key==="Tab"&&HI(A,T)};if(h){let T=Dg(A.current);if(!T.find(V=>V===document.activeElement)){let V=T[0];V&&V.focus()}document.addEventListener("keydown",D),a&&a()}return()=>{document.removeEventListener("keydown",D)}},[h,a]),(0,et.useEffect)(()=>{!h&&M(p)&&p&&E.current&&E.current.focus()},[h,p]),(0,et.useEffect)(()=>{let D=A.current;return document.body.appendChild(D),()=>D.remove()},[]),(0,et.useEffect)(()=>()=>{rt(d)||d(m)},[d]),(0,et.useEffect)(()=>{if(C&&ee(l))l(m);else{if(rt(c))return;c(m)}},[l,c,C]),!l||!c||!d?null:(0,mr.jsxs)(mr.Fragment,{children:[(0,mr.jsx)(ZI,{}),ee(u)&&u(y,E),(0,Cg.createPortal)((0,mr.jsx)(r1,{children:h&&ee(s)?s(I):void 0}),A.current)]})},xn=e=>{let t=$f();return(0,yg.default)(t,{})?(0,mr.jsx)(Cs,{children:(0,mr.jsx)(vg,{...e})}):(0,mr.jsx)(vg,{...e})};xn.displayName="ModalBase_VHS";i();i();var xg=z(require("styled-components"));var Eg=require("react/jsx-runtime"),zI=e=>{if(e==="center")return"center";if(e==="left")return"flex-start";if(e==="right")return"flex-end"},VI=xg.default.div`
|
|
957
957
|
display: flex;
|
|
958
958
|
|
|
959
959
|
/* this helps ensure that primary buttons appear at the top of the column */
|
|
960
960
|
flex-direction: ${({align:e})=>e==="right"?"column-reverse":"column"};
|
|
961
961
|
gap: ${({theme:e})=>e.spacing.space04};
|
|
962
|
-
justify-content: ${({align:e})=>
|
|
962
|
+
justify-content: ${({align:e})=>zI(e)};
|
|
963
963
|
width: ${({fullWidth:e})=>e?"100%":"auto"};
|
|
964
964
|
|
|
965
965
|
${Re.smAndUp} {
|
|
@@ -976,13 +976,13 @@
|
|
|
976
976
|
width: auto;
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
|
-
`,hr=({children:e,align:t="left",fullWidth:r=!1,...n})=>se(e)?null:(0,
|
|
979
|
+
`,hr=({children:e,align:t="left",fullWidth:r=!1,...n})=>se(e)?null:(0,Eg.jsx)(VI,{align:t,fullWidth:r,...n,children:e});hr.displayName="ButtonGroup_VHS";i();i();var We=z(require("styled-components"));i();i();var ga=z(require("styled-components")),wg=require("react/jsx-runtime"),Nt=ga.css`
|
|
980
980
|
overflow: hidden;
|
|
981
981
|
text-overflow: ellipsis;
|
|
982
982
|
white-space: nowrap;
|
|
983
|
-
`,
|
|
983
|
+
`,Ep=ga.css`
|
|
984
984
|
min-width: 0;
|
|
985
|
-
`,
|
|
985
|
+
`,jI=ga.default.div`
|
|
986
986
|
${Nt};
|
|
987
987
|
${({lines:e})=>{if(M(e))return ga.css`
|
|
988
988
|
-webkit-box-orient: vertical;
|
|
@@ -990,53 +990,53 @@
|
|
|
990
990
|
display: -webkit-box;
|
|
991
991
|
white-space: initial;
|
|
992
992
|
`}}
|
|
993
|
-
`,
|
|
993
|
+
`,Cu=({children:e,lines:t,...r})=>(0,wg.jsx)(jI,{lines:t,...r,children:e});Cu.displayName="Ellipsis_VHS";var Sg=require("react/jsx-runtime"),WI={left:"left",right:"right",center:"center",justify:"justify"};var UI=We.css`
|
|
994
994
|
font-size: 24px;
|
|
995
995
|
font-weight: ${({theme:e})=>e.font.weight.bold};
|
|
996
996
|
line-height: 1.25;
|
|
997
|
-
`,
|
|
997
|
+
`,_I=We.css`
|
|
998
998
|
font-size: 20px;
|
|
999
999
|
font-weight: ${({theme:e})=>e.font.weight.medium};
|
|
1000
1000
|
line-height: 1.25;
|
|
1001
|
-
`,
|
|
1001
|
+
`,KI=We.css`
|
|
1002
1002
|
font-size: 16px;
|
|
1003
1003
|
font-weight: ${({theme:e})=>e.font.weight.bold};
|
|
1004
1004
|
line-height: 1.25;
|
|
1005
|
-
`,
|
|
1005
|
+
`,GI=We.css`
|
|
1006
1006
|
font-size: 12px;
|
|
1007
1007
|
font-weight: ${({theme:e})=>e.font.weight.bold};
|
|
1008
1008
|
line-height: 1.25;
|
|
1009
1009
|
text-transform: uppercase;
|
|
1010
|
-
`,
|
|
1010
|
+
`,qI=We.css`
|
|
1011
1011
|
font-size: 16px;
|
|
1012
1012
|
font-weight: ${({theme:e})=>e.font.weight.regular};
|
|
1013
1013
|
line-height: 1.5;
|
|
1014
|
-
`,
|
|
1014
|
+
`,XI=We.css`
|
|
1015
1015
|
font-size: 14px;
|
|
1016
1016
|
font-weight: ${({theme:e})=>e.font.weight.regular};
|
|
1017
1017
|
line-height: 1.5;
|
|
1018
|
-
`,
|
|
1018
|
+
`,YI=We.css`
|
|
1019
1019
|
font-size: 12px;
|
|
1020
1020
|
font-weight: ${({theme:e})=>e.font.weight.regular};
|
|
1021
1021
|
line-height: 1.5;
|
|
1022
|
-
`,
|
|
1022
|
+
`,JI=We.css`
|
|
1023
1023
|
font-size: 16px;
|
|
1024
1024
|
font-weight: ${({theme:e})=>e.font.weight.medium};
|
|
1025
1025
|
line-height: 1.5;
|
|
1026
|
-
`,
|
|
1026
|
+
`,QI=We.css`
|
|
1027
1027
|
font-size: 14px;
|
|
1028
1028
|
font-weight: ${({theme:e})=>e.font.weight.medium};
|
|
1029
1029
|
line-height: 1.5;
|
|
1030
|
-
`,
|
|
1030
|
+
`,eL=We.css`
|
|
1031
1031
|
font-family: ${({theme:e})=>e.font.family.monospace};
|
|
1032
1032
|
font-size: 14px;
|
|
1033
1033
|
font-weight: ${({theme:e})=>e.font.weight.regular};
|
|
1034
1034
|
line-height: 1.5;
|
|
1035
|
-
`,
|
|
1035
|
+
`,tL={headline1:UI,headline2:_I,headline3:KI,overline:GI,body1:qI,body2:XI,caption:YI,subtitle1:JI,subtitle2:QI,monospace:eL},rL=We.default.div`
|
|
1036
1036
|
color: ${({theme:e,colorOverride:t})=>t??e.color.grey900};
|
|
1037
1037
|
font-style: normal;
|
|
1038
1038
|
margin: 0;
|
|
1039
|
-
${({variant:e})=>
|
|
1039
|
+
${({variant:e})=>tL[e]}
|
|
1040
1040
|
${({ellipsis:e})=>e&&Nt};
|
|
1041
1041
|
${({bold:e})=>e&&We.css`
|
|
1042
1042
|
font-weight: ${({theme:t})=>t.font.weight.bold} !important;
|
|
@@ -1054,25 +1054,25 @@
|
|
|
1054
1054
|
user-select: none;
|
|
1055
1055
|
`}
|
|
1056
1056
|
${({align:e})=>We.css`
|
|
1057
|
-
text-align: ${
|
|
1057
|
+
text-align: ${WI[e]};
|
|
1058
1058
|
`}
|
|
1059
1059
|
${({as:e,theme:t})=>e==="p"&&We.css`
|
|
1060
1060
|
display: block;
|
|
1061
1061
|
margin-bottom: ${t.spacing.space05};
|
|
1062
1062
|
`}
|
|
1063
|
-
`,En=({align:e="left",bold:t=!1,children:r,colorOverride:n,disabled:o=!1,ellipsis:a=!1,inline:s=!1,italic:u=!1,preventUserSelect:l=!1,renderAs:c="div",variant:d="body1",...h})=>(0,
|
|
1064
|
-
align-items: ${({alignVertical:e})=>
|
|
1063
|
+
`,En=({align:e="left",bold:t=!1,children:r,colorOverride:n,disabled:o=!1,ellipsis:a=!1,inline:s=!1,italic:u=!1,preventUserSelect:l=!1,renderAs:c="div",variant:d="body1",...h})=>(0,Sg.jsx)(rL,{align:e,as:c,bold:t,colorOverride:n,disabled:o,ellipsis:a,inline:s,italic:u,preventUserSelect:l,variant:d,...h,children:r});En.displayName="Text_VHS";i();i();var Tg=z(require("styled-components")),Ag=require("react/jsx-runtime"),nL={normal:"normal",top:"start",center:"center",bottom:"end"},oL={normal:"normal",left:"start",center:"center",right:"end"},aL=Tg.default.div`
|
|
1064
|
+
align-items: ${({alignVertical:e})=>nL[e]};
|
|
1065
1065
|
background: ${({backgroundColor:e})=>e};
|
|
1066
1066
|
bottom: 0;
|
|
1067
1067
|
display: grid;
|
|
1068
|
-
justify-content: ${({alignHorizontal:e})=>
|
|
1068
|
+
justify-content: ${({alignHorizontal:e})=>oL[e]};
|
|
1069
1069
|
left: 0;
|
|
1070
1070
|
overflow-y: auto;
|
|
1071
1071
|
position: fixed;
|
|
1072
1072
|
right: 0;
|
|
1073
1073
|
top: 0;
|
|
1074
1074
|
z-index: ${({theme:e})=>e.zIndex.Backdrop};
|
|
1075
|
-
`,$t=({alignHorizontal:e="normal",alignVertical:t="normal",backgroundColor:r="rgba(0, 0, 0, 0.4)",children:n,...o})=>(0,
|
|
1075
|
+
`,$t=({alignHorizontal:e="normal",alignVertical:t="normal",backgroundColor:r="rgba(0, 0, 0, 0.4)",children:n,...o})=>(0,Ag.jsx)(aL,{alignHorizontal:e,alignVertical:t,backgroundColor:r,...o,children:n});$t.displayName="Backdrop_VHS";i();i();i();var wp=require("react/jsx-runtime"),va=({onClick:e})=>(0,wp.jsx)(sr,{"aria-label":"Close",icon:(0,wp.jsx)(Ie,{size:"sm",type:"close"}),onClick:e,preventTooltip:!0,style:{position:"absolute",right:"16px",top:"16px",zIndex:1}});va.displayName="ModalCloseButton_VHS";i();var Bg=(e,t)=>{switch(e){case"blue":return{bgColor:t.blue100,imgColor:t.blue200};case"brandBlue":return{bgColor:t.brandBlue100,imgColor:t.brandBlue200};case"green":return{bgColor:t.green100,imgColor:t.green200};case"grey":return{bgColor:t.grey100,imgColor:t.grey200};case"pink":return{bgColor:t.pink100,imgColor:t.pink200};case"purple":return{bgColor:t.purple100,imgColor:t.purple200};case"red":return{bgColor:t.red100,imgColor:t.red200};case"yellow":return{bgColor:t.yellow100,imgColor:t.yellow200};default:return{bgColor:e,imgColor:"rgba(0, 0, 0, 0)"}}};i();var Fg=e=>{let t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 532 384" fill="${e}">
|
|
1076
1076
|
<path d="m387 137-2-1v1h1l1 1v-1ZM446 131h-3 3c2 0 2 0 1-1h-1Z" />
|
|
1077
1077
|
<path d="m445 131-1-1h-1v1h2ZM446 131l1-1-1 1ZM406 131v-1l-2 1 1 1 1-1ZM397 131l-2-1 2 1ZM394 130h1l2 1 1-1h-4ZM405 127l-1-1v1h1ZM348 126h-1c-1 1 2 1 3 2 0-1 0-2-2-2ZM379 135l-2-1-1 1h3ZM361 130l-1-1-1 1 1 1 1-1ZM373 134l-1-1h-1l1 1h1ZM396 136h1-1c-1 0 0 0 0 0ZM342 124h-1l1 1v-1ZM177 13ZM101 170v-1 1ZM327 205h-1 1ZM176 52l1-1h-1v1ZM185 53h-1 1ZM197 53h-1 1ZM14 113ZM41 160v1-1ZM0 281h9v1h1l2 1 1-1v-1l-1-1h-2v-1h1-2l-1 1c-1-2-3-1-4-1-3-1-2 0-1 1h1v1l-1-1c-1 0-2 2-2 0l-1-1v2Z" />
|
|
1078
1078
|
<path d="M0 281v1h6v-1H0ZM12 283l-2-1-1-1 1 1c2 0 1 1 2 2 1-1 3-2 2-3h-1l-1 2ZM52 161h1l-2-1H41h1c3 2 6 2 10 1Z" />
|
|
@@ -1113,7 +1113,7 @@
|
|
|
1113
1113
|
<path d="m23 118 1 1v1l1-1-2-1ZM2 249l-2-1v-2c1 1 2 1 2 3ZM30 58l-2-1c-2 1-2 2-2 3l4-2ZM28 259c-1-1 0-2-2-2l-2 1 3 1h1ZM289 207l-3 1 2 1 2-1-1-1ZM37 55h-2l-1 1 3 1 2-1-2-1ZM139 163l-2-1-1 1 2 1 1-1ZM313 53l-6-1c1 0 3 2 6 1ZM100 288l-2-3c-1 3-1 3 2 3ZM174 172c1 0 1 2 4 1l-3-2-1 1ZM310 224v-2c-2 1-2 2-1 2h1ZM310 224h-1l1 1v-1ZM28 128l-1-1c-1 2-3 0-3 1h4ZM110 156l-4-1 4 2v-1ZM50 145h-1l3 2c0-1 0-2-2-2ZM390 323l2 1h1l-3-1ZM412 329h-3 3ZM218 185l3 1-2-2-1 1ZM345 230h-1l2 2 1 1c0-2-1-2-2-3ZM143 22l-3-2c1 1 1 2 3 2 0 0 1 0 0 0ZM293 126h2l-2-1h-1v1h1ZM66 272h-1v2c1-1 2-1 1-2ZM146 164c0 2 2 2 3 2l-3-2ZM21 255l4 1c-2-1-3-2-4-1ZM36 261c-1 2 1 2 2 2l-2-2ZM3 364c-1 1 0 2 2 2-1-1 0-2-2-2ZM41 143h-1l3 1-2-1ZM80 165c2-1-1-1-1-2h-1l1 1v1h1ZM80 165h-1 1ZM48 266c-1 1 1 1 1 1l1 1c1-1-1-2-2-2ZM302 126l-2-1h-1l1 1h2ZM190 175h-4 4ZM331 305h-2l1 1 1-1ZM292 209l-1 1h2l-1-1ZM19 64c0 1-1 2 1 2l-1-2ZM66 148l3 1-3-1ZM444 337h-1l1 1h1l-1-1ZM18 253l3 2c0-2-1-2-3-2ZM204 181c1-1 2-1-1-2l1 2ZM153 168l2-1h-2v1ZM130 161l1 1 1-1h-2ZM105 289h-3 3ZM45 265l-1-1h-1l1 1h1ZM193 177h-1l2 1-1-1ZM339 231h3-3ZM5 72l-1 1 1-1ZM19 275l-2 2 2-2ZM18 373l2 2-2-2ZM29 62l-1 1h1v-1ZM110 17h2-2ZM120 159l1 1 1-1h-2ZM13 251h-1v1c-1 0 0 0 0 0l1-1ZM350 232l1 1v-1h-1ZM197 31l1 2c1-1 1-2-1-2ZM322 56l-1 2c2 0 2-1 1-2ZM321 58l1-2-1 2ZM37 141l1 1-1-1ZM168 25h-1c-1 0 0 0 0 0h1ZM295 208l2 2c0-1 0-2-2-2ZM185 29l2 1-2-1ZM187 52l-2-1v1h2ZM185 52h2-2ZM56 54v-1h-1l1 1ZM58 270v-1l-1 1h1ZM193 52h1l1-1h-2v1ZM193 52v-1 1ZM197 179l-3-1 3 1ZM104 155l1-1h-1l-1 1h1ZM453 339l1 1 1-1h-2ZM356 234h-2 2ZM356 234h-1 1ZM138 20h-3l1 1 2-1ZM10 249v1h1l-1-1ZM201 178l2 1-2-1ZM4 278l-1-1 1 1ZM101 155h-1l1 1v-1ZM182 27l-1 1 1-1ZM397 325h1-1ZM76 150v1h1l-1-1ZM381 59h1-1ZM89 283l-1-1 1 1ZM18 62v-1l-1 1h1ZM119 18l-1 1h1v-1ZM17 120v-1l-1 1h1ZM361 58v-1l-1 1h1ZM9 71H8v1l1-1ZM9 160l-1-1-1 1h2ZM347 297v1l1-1h-1ZM347 297h1-1ZM149 166l1 1h1l-2-1ZM154 23h-1 1ZM294 48v1h1l-1-1ZM195 30v1h2l-2-1ZM215 327h-1l1 1v-1ZM216 34h-1 1ZM249 54h-1v1l1-1ZM241 202h-2l1 1 1-1ZM523 249c-1 1-1 0-1-1v1h2-1ZM523 249h1-1c-1 0-1 0 0 0Z" />
|
|
1114
1114
|
<path d="M523 249c-1 0-1 0 0 0l-1-1c0 1 0 2 1 1ZM515 244l-1-1v1h1ZM511 241v-1 1ZM512 240h-1v1l1-1ZM511 240h1-2 1ZM511 240h1-1ZM511 240h-1l1 1v-1ZM511 240h-1 1ZM525 253h2l-2-1v1ZM478 220h1l-1-1v1Z" />
|
|
1115
1115
|
<path d="M172 306h-1 1ZM53 165h1-1Zm283 48ZM155 54v1l1-1h-1Zm377-17-2-1c-6-3-13-3-17-7l-3-1h-3c-2-2-6-2-9-4-3-1-8-1-11-3h-2l-7-2c-4-2-9-1-12-4h-2l-2-1-3-1c-4-1-8-1-11-3l-5-1c-5 0-8-3-13-3h-1l-7-2-11-3-4-1h-45l-1 2-1-2h-4v1l-1-1H75l7 1 7 1 11 2c7 1 14 3 22 3h1c3 2 8 2 12 2h2l5 1 2 1 2-1h3c0 2 2 2 4 2h2l13 3h8l-4-2c2-1 3 0 4 1v1h-1l2 1 14 3 12 1 12 3 8 1h1l4 1c3 1 4 1 7-1l7 3 9 2c2 1 5 2 8 1l7 1 2 1 5 1 4 1 13 2 5 1 8 2 15 4 6 2 15 3 22 5c6 2 14 2 20 5 4 1 9 1 13 3l4 2c-3-1-8-3-13-1h-4l-8-1h-1l1 1h-3c-2 1-2 0-2-1v-1h-15l1 1h-4v-1l-5-1c-4 1-7-1-11-1h-12l-1 2c1 1 0 0-1 1v-1h-1v-1c-1 1-2 2-3 0h-5s-2 1-2-1h1-3v2c-1 0-3 1-3-1h-6c-3-1-7 0-10 1l-2-1-4-1h-13l-18-1h-1l-11-1-1-1-7 1h-5c-1 1-2 0-2-1l-3-1-7 2c0-3-1-3-4-3l-7 2v1l-2 1-3-1h3v-1h-6c0 2-2 1-3 1l1-1-1-1v-1c-2-1-3 1-5 1-1 2-2 2-4 1-2 1-4 0-5-1l1-1h-2 1-3c0 1 2 1 0 2l-2-1-3-1h-9l-1 1h-4l-1 1h-3l-2-1v-1h-4c-2-1-3 0-4 1-1 0-3 1-4-1h-3a9 9 0 0 1-1 0c-3 1-5 2-8 1v-2h-3l-1 1c-1 2-2 2-4 2l-2-1-10 1H82c-5 0-11 2-17 0h-4l-1 1h-8l-2-1c-3 0-5 2-7 3h-1l1 1h-3l-1-1v1h-1v1h1c2 0 2 2 2 3l-2 1c-1 0-2-1-1-2v-1h-1v-1l-1 1h-2v1c0 1 0 2-3 2l-1 1c-2 1-4 0-5 2-3-1-4 0-5 1-1 2-4 2-6 2s-3 1-3 2l-3 2H6c-1 2-4 2-6 2v36l6 2c1 2 4 2 6 1l-4-2 5 1-1 1v1c-1 1 0 2 2 3h1l-1-1h2v2l1 1h2c1-2 2-1 3-1l1 1v2l1 4 3 1h1l3 1 9 2c5 1 9 3 15 3 9 4 20 4 30 7l12 1 8 2c3 0 5 0 7 2h1l14 3c3 1 6 0 9 2l6 2h3c6 3 15 4 22 6l11 2c3 1 6 2 9 1l1 1c2 2 5 3 8 2l3 1 9 3c4 1 9 1 13 3l5 2 3-1-3-1 3 1 3 2c2 3 6 3 9 4l4 1 3 2c6 2 13 3 18 6l6 1 15 6 24 9 8 3h6l3-1-3 1v1l1 1 3 2h7v2h1-1l1 1h1l1 1 22 10 10 4 14 7 14 7c11 5 22 10 31 16l3 2-5-1c-1-2-4-2-6-2h-6l1-1h1-1l-2-1h-1v1l-1-1h-5l2-1a2 2 0 0 0-1-1l-3-1c-2-1-6 0-8-3-4 0-7-3-11-3h-4l-6-2-9-4c-4 0-8-2-11-4l-1-1h-1l1 1-1-1-4 3c-1 2-1 0-2 0h-1c0-2-1-2-2-3l-2-1c-1 2-3 1-4 0h-3l-13-4-8-2-1-1c0-2-3-2-5-2h-1v1l-1-1c-2 0-2-1-2-2-1-2-1-2-3-1h-2c0-2 0-3-4-2l-3-1c-2-2-5-2-8-1v-2l-6-1h-1v1h-1l-3-1v-1h-2 1-3l-8-2c-2-1 0-1 0-2h1l-2-1-4-1c-1-1-2-2-4-1h-2c-1-2-3-2-5-1v1l-5-1-5-2-8-2c-5-1-10-4-16-4l-4-1-1-1-3-1h-1c-1 1-2-1-3-1h-2l-3-1c-3 0-2 0-1-1h1v-1l-1-1h-1l-13-2c0-2 0-2-3-2h-1l-3-1h-1l-7-1-2-1q-2-2-5 0c-2 0-3-1-3-2h1l-2-1-1 1 1-1c0 1 0 2-2 2l-4-1c-1-1 2 0 2-1l-1-1-7-2-16-2-1-1-3-1-4-1h-6v1c-2 1-5 0-5-2l-4-1c-2-1-3-1-4 1h3-3l-2-3-4-1-3 1-3-1-2 1h-4v-1l-3-1h-7c-3-1-7 0-10-2l1-1h-6l-2 1v-1 1h-1v1h-1v-1l-1-1c-4 1-8 1-12-1l-1 1s-2-1-1-2h1c-1-2-1-2-2-1h-1v1h1l-1 1-4-1h-2l-2-1-10-1-4 1-3 1-2 1H4l-2 1v1h2l-3 1 1-1H0v69l3 1 4 2 15 6 9 4 1 1c6 0 10 4 15 6l14 5 18 7 8 3h3-1l1 1c2 2 5 3 8 3l2 1c2 3 6 3 10 3 1-1 2 0 2 1l4 3 19 9 7 3 11 5c3 2 8 3 11 6h1l6 2-1-1 2 1 1 1 3 2 11 5 4 2c1 0 1 2 3 2l5 2 7 4c4 1 6 4 9 5h1v-1l1 1 1 1h2v3h-3c-1-1 2-1 0-2h-2l-5-2c-1-1-3-2-5-1l-3-1c-2-2-3-4-7-3-1 0-3 0-2-1h3l-1 1h1v-2h-1l-1-1-6-1c-1 1-3 2-4 0v-1c-2 1-3 0-5-1h-1c-1 2-2 0-2 0 1-1 0-2-1-2l-3 1v-2h1-2 1-3l1 2-1-2c-1 0-3 2-3 0h1l-1-1c-5 0-9-2-14-3l-2-3-4-3-5-1-16-6-4-2-9-3-2 1h-1c-3-1-8-1-11-3h-3v1h1l-1 1h-1v-1h-2v1l-1-1c-1-1 0-1 1-2l-3-1 1 1-1-1-2 1 1 1h-2l-2-1-2-1v1c-2-1-4-1-5-3h1l-3-1c0 1 0 2-2 2l-7-1c-1-2 2-1 2-2l-1-1h-2v1c-3 2-5 0-8 0l-3-1-2-1-1-1c3 0 1-1 0-1v-1l2 1-1-1h-3v1l-1-1v1l1 1-2-1v-1c-3-2-6-2-9-1l-2-1 1 1h-3l-3-1h1-3v1h1c-2 2-5 1-8 1v-1l-5 1h-5c-1 1 0 2 1 2v1c1 1-1 2-1 3l-2 1 1-1c-1 0 0-2-2-1-1 0-2-2-4-1H0v64l7 3 1 1-1-1h2v1H8h1l4 4c3 2 9 4 12 7l2 1c3 0 4 1 5 2l4 3 7 3c2 1 3 3 6 3 2 3 6 4 8 6l3 1 5 2h333l-1-2h1l2 1v1h5v1l2-1h13l-7-7-7-7-5-3c-1-3-4-4-7-6l-2-2-10-8c-1-1-2-3-4-3l-4-3-7-6-10-6-10-5-9-6-10-7-3-2-10-6c-3-2-6-3-7-6l-1-1-7-1h-1v-2l-6-3-12-7c-8-4-14-8-23-11l5 1 14 4 6 1h1c1 2 4 2 6 3l5 1c7 3 14 5 22 6l6 1c2-1 3 0 4 1 0 2 2 3 5 2l2-1c3 2 3 0 2-1 2 4 4 5 9 5h2c-1 2 2 4 5 3h1l3 2 11 4h3l2-1c0 2 1 3 4 4l13 4 7 1 27 7 2 1c5 2 10 5 17 5h1c1 2 3 2 4 2l6 1 13 3 3 1 18 3h6-1l5 1h11c1 0 4 1 5-1l3-1v-1c2-1 2 0 2 1h1v-2l1-1a102 102 0 0 1 2 0h2v1h1c1 0 3-2 5 0l2-1v-72l-5-3v-3c-1-1 2 0 1-1-2 0-3 0-3 2-2 0-4-2-4-3l-2-2c-2-1-3-1-1-3l-2 1h-1l-3-4v1c-2 0-3-1-2-2 0-1 0-2-2-3l-2-1h1v-1c1-1 2 0 2 1l6 4v1h1l4 2c3 0 1 2 1 3 1 0 2-2 3-1v4c4-1 6 0 7 2 1 1 0 1-1 1v2l2 1v-18l-2-2-24-15-19-12c-3-2-7-3-9-6l-3-2-8-3-13-8-10-4c-7-3-13-7-21-9l-1-1-3-2-2-1c-4-4-11-5-17-8v1l-2-1h1c-2-2-4-2-7-3-4-2-9-2-13-5-1-1-4-1-5-3h-1l-9-3-10-4-15-6-25-9-11-4c-3-1-5-1-7-3l-6-2-3-2-3-1-8-2-9-2-3-1c-4-3-9-3-14-5l16 1 13 1 14 1h10l8-1 1-1c1-1 2 0 3 1l3 1c4-1 7 1 11 1h7c3 1 5 0 7-1l3 1c3 0 6 2 10 1h3c4 1 8 2 13 1h8c6 2 11 2 17 1l5 1c3 1 10 1 12-2h-1c1-1 0-2 2-2l2 2h-2c-2 2-1 3 3 3l2 1h8c1 0 3 0 3-2 1 0-1-1 1-1l1-1-1 1s1 1-1 1v1h3l4-1c0 2 0 2 4 2h3c4 2 9 1 14 1h2l2-2c0 1 0 2 3 2l5 1h5l1-1 2 1h7c4 1 7 3 11 1 4 2 9 1 13 1 5-1 9 0 13 1 4 0 5 0 6-3 1-1 0-2 2-2-2 2-1 4 1 4V37ZM223 17h1-1Zm26 4v2c-2 0-2-1 0-2Zm21 5s-1 0 0 0v-1l1 1h-1Zm3 2-2-1h2v1Zm25-25-2-1 2 1Zm4 34v-1l1 1h-1Zm2-33v1l-1-1h1s1 0 0 0Zm5 1h-3 3Zm0 27 2 1-2-1Zm4 3v-1h1l-1 1Zm12-26-1-1h1v1Zm14 3 1-1 1 1h-2Zm10 2-1-1h2l-1 1Zm13-11h-1 1Zm6 1h2-2Zm9 0V3l2 1h-2Zm10 18-1-1h1v1Zm6 1h-1 1ZM25 124h-1l1-1 1 1h-1Zm20-64h-1l2-1-1 1Zm2 71-1-1h1v1Zm0-72h-1 1Zm19 0h-2v-1l2 1 1-1-1 1Zm65-3v-1l1 1h-1Zm26-2 1 1-1-1Zm27 106 1 1-1-1Zm21-44-1-1h1v1Zm22-8-1-2 1 2Zm-1 1-2-2 2 2Zm-4-4 2 1h-2v-1Zm-12 14v-1h1l-1 1Zm2-14h5v1h-4l-1-1Zm3 13h1l1 1-2-1Zm2 3h-1 1Zm0 45h-1l1-1 1 1h-1Zm0-2h1-1Zm5 4-1-1h1v1Zm1-49h-2 2Zm2 18 2 1-2-1Zm2 32h-1l1-1v1Zm2-46-2-1-2 1 1-3h-2 2l3 1v2Zm4 17-3-1 3 1Zm0-16 1-1 1 1h-2Zm3 50c2 0 2 1 2 2l-2-2Zm4-66 1-2h1c1 1-2 1-2 2Zm2 35v-1l1 1h-1Zm3 28h-1 1Zm2-63c0-1-1-2 1-2h1l-2 2ZM1 167v1H0l1-1v-1h1l-1 1Zm28-3h-1v-1h1v1Zm142 24h-1l1-1v1Zm22 73 3-1-3 1Zm8 59v-1l1 1h-1Zm2-58h-4l-2 1c-1-1 1-1 1-2h1c1 0 2-2 3 0 0 0 2 0 1 1Zm6-11-1-1h1v1ZM17 284h-1l1-1 1 1h-1Zm171 95c2-1 3 2 6 1-3 2-4 0-6-1Zm11 3c0-1-2 1-2-1l1-1 2 2h-1Zm19-128 1 1h-1v-1Zm5 2-1-1h2l-1 1Zm151 107h1l1 1-2-1Zm22 16 1-1v1c1 0 0 0 0 0h-1Zm-1 3v1s0 1 0 0h-1l1-1Zm-10-10h3l-2 1-1-1Zm0 2 5 1 2 1c1 0 2-1 2 1l-2 1h-2l2 2h2c1 1-2 1-2 1l-3-1c0-2 1-4-3-4-1 0-2-1-1-2Zm-2-5-1 1 1 1h-2l-5-2h7Zm-5-4-1-1h2l-1 1Zm-2-3c-2 0-4 1-5-1l5 1Zm-11-6v-1h1l-1 1Zm-4-2v-1l1 1h-1s-1 0 0 0Zm1 1h1v1l-1-1h-2 2Zm-6-3h1-2 1Zm-9-11h-3 3Zm-5-2v1l-2-1h2Zm-3-2 1 1h-4c1-2 2-2 3-1Zm-5-2 1 1h-2l1-1Zm-68-41h2l-1 1-1-1Zm-2-23 4-2c0 2-2 2-4 2Zm5-2 5 2c-1-1-4 0-5-2Zm7 3 2 1-2-1Zm13 3-1 1-2-1-1-1h1v1h3Zm28 10-1-1 4-2c-1 2 0 2 2 2-1 2-3 1-5 1Zm8 1-1 1h-1 1l1-1-1-1 2 1h-1Zm13 7c-2-3-6-2-8-4v2c-2-1-1-3-5-2l3-2 1 1c1-2 3 0 4 0l2 2 1-1c1 0 0 2 2 1v-1c2 1 2 2 2 3-1 0-2-2-2 1Zm3-2 1-1v1c1 0 0 0 0 0h-1Zm5 4c-1-1-1-3-4-2q3-2 4 1v1Zm10-54h1l-1 1v-1Zm-4 61 1-1h1l-2 1Zm4-5h-1c0-2-2-1-3-1l-2-1-1-2h2l1 2 1-1 3 1v2Zm1 3v-1h1v1h-1Zm2-3-1 1 1-1Zm2-2v1l-1-1h1Zm4 4-1-1h2l-1 1Zm6 2h-2 2v-2 2Zm10 3h-1v-1h-2v-2l2 2 1 1Zm14 3v2-2Zm-3-55h-1l-1-1h1l1 1Zm3 61v-1l1 1h-1Zm12 3-1 1v-1h1Zm13-55 1-1v1h-1Zm0 54 3 1-3-1Zm4-54-1-1h1v1Zm90 7v1l-1-1h1Zm-7-6h1l-1 1v-1Zm-20 73c-1 0 1 1-1 1v-1l1-1v1Zm10 0v-1h1l-1 1Zm4 2v1c-1-1-3-1-2-2s3-1 2 1Zm4-78 1 1h-1s-1 0 0 0v-1Zm-22-33c4 2 8 2 10 5l2 2a4 4 0 0 1 2 1l3 2a4 4 0 0 0 1 0l1 1-5 1v-1c1-1 1-1-2-1h-2l2-3h-2c-1-2-4-2-6-3l-4-4Zm-9-5h4c1 1 0 1-1 1 4 1 6 2 6 4-2 0-3-2-6-1v-3l-1 1-3-1 1-1Zm-4 106h1l1 1h-1l-1-1Zm-1 6h1l-1 1h-1l1-1Zm-3-118v1c1 0 0 0 0 0l-1-1h1Zm0 20v1h-1l1-1Zm-3-19v-1h1l-1 1s-1 0 0 0Zm-3 109h1v1l-1-1c-1 0 0 0 0 0Zm-8-116 1 1h-1v-1Zm-21 56h2l-1 1-1-1Zm3 53-1 1-1-1h2Zm-7-122 4 2c-2 0-4 1-4-2l-2-1 2 1Zm-10-5 2 1v1l-3-1 1-1Zm-5-1 1 1h-1v-1Zm-4-3h1l-1 1h-1l1-1Zm-7 0 2 1h-1l-1-1Zm-8-4-1 1v-1h1Zm-3-4c-2 0-3 0-4-2l4 2Zm-10-4h-1l-3-1c1 0 3-1 4 1Zm-7 0-1-1h1v1Zm1-3h-4 4Zm-6-2 1-1 1 1h-2Zm-1 1 1 1h-1v-1Zm-2-2h-3 3Zm-25-7v-1l1 1h-1Zm9 3h1l1 1-2-1Zm7 18c2-1 3 0 4 1l-4-1Zm-6-21 4 2c3 0 5 1 6 3q-5-1-5 1c-1-1-5-2-1-4h-4c-1-1-2-2-5-1 2-2 4-2 5-1Zm-2-2c-3 1-5 2-6 0l-3-1c3-1 5 1 9 1Zm-13 50-1 1 1-1Zm-28-46-1-1 2 1h-1Zm17 38-1-1 1 1Zm3 1 2 1-2-1Zm1-49 2 1-1 1-2-1 1-1Zm-19-8 3 2h2l4 2 6 2 2 1-3 1c-2 1-1 0-1-1l-1-1-4-1c-1 0-3 2-3-1l-1-1c-3 1-5-2-9-2v-1h5Zm-3 17h-3 3Zm-5-2h1v1l-1-1Zm1 32 1 1h-2l1-1Zm-7-34h1l-1 1v-1Zm-23 23 1 2-2-1 1-1Zm-9-4 1 1h-1v-1Zm-3-1v1l-1-1h1Zm-1 5v1l-1-1h1Zm-1-3-3-2c2 0 2 1 3 2Zm47-68v-1l-3-1 3 1c3-2 5-1 7 2-3-1-5-2-7-1Zm7-1v-1l1 1h-1Zm2-48-1-1h2l-1 1Zm4 49h-3l4-1s1 1-1 1Zm10-49v-1c-1 0 0 0 0 0v1c1 0 1 0 0 0Zm2 49h2-2Zm7-49h1-2 1Zm2 50h-4c1-1 2-2 4-1v1Zm10 6h-1v-1l1 1Zm1-6h5c-2 1-4 2-5 0Zm10 0-1 1-1-1h2Zm44-48 2 1h-2v-1Zm-1 51h2l-2 1h-1c0-1 0-2 1-1Zm-1-90 1 1h-1l-1-1h1Zm-5 90h-1 1Zm2 0h-1 1Zm0 5 1-1c2-1 3 0 3 2l-4-1Zm11-3h-1l1-1v1c1 0 0 0 0 0Zm2-103h1v1l-1-1Zm4 0c1-1 0 0 0 0v1l-1-1h1Zm6 3h1v1l-1-1Zm2 101-1-1h1v1Zm6-100-1-1h1v1Zm4 1h-1l1-1v1Zm2 2h-1 1Zm6 98-1-1s0-1 0 0h1v1Zm3-83-3 1 3-1Zm7 3 1-1v1h-1Zm-2 79h-1l1-1v1Zm1 3c2 0 2 1 3 2l-3-2Zm1-3 3-1-3 1Zm4-77-1-1h1v1Zm2 77c-1 0 0 0 0 0h1-1Zm1-77-1-1h2l-1 1Zm17 6-1-2 1 2Zm-6-4 1 2-1-2Zm-6-17 1 1h-1c-1 0 0 0 0 0v-1Zm-1 17v-1h1l-1 1Zm4 77-3-1 2-1 2 1-1 1Zm7 0c-1 0-3 1-4-1h-1 2l3 1Zm3 1-1-1h1v1Zm1 4-1 1v-2q2 0 1 1Zm16-88-1-1h2l-1 1Zm6 84h-1l2-1h1l-2 1Zm2-82 3-1-3 1Zm6 1h-1s-1 0 0 0c0 0 0-1 0 0h1Zm6 81h-1l1-1 1 1h-1Zm4 2v-1h1l-1 1Zm2-79-1-1 1 1Zm3 0 3 2q-2 0-3-2Zm7 79-1-1h1v1ZM413 256ZM92 290h-1 1v1-1Z" />
|
|
1116
|
-
</svg>`;return`url("data:image/svg+xml,${encodeURIComponent(t)}")`};var tt=require("react/jsx-runtime"),
|
|
1116
|
+
</svg>`;return`url("data:image/svg+xml,${encodeURIComponent(t)}")`};var tt=require("react/jsx-runtime"),iL="532px",Mg=160,sL=n1.default.div`
|
|
1117
1117
|
background-color: white;
|
|
1118
1118
|
box-sizing: border-box;
|
|
1119
1119
|
display: flex;
|
|
@@ -1135,7 +1135,7 @@
|
|
|
1135
1135
|
${Re.mdAndUp} {
|
|
1136
1136
|
flex-direction: row;
|
|
1137
1137
|
}
|
|
1138
|
-
`,
|
|
1138
|
+
`,uL=n1.default.div`
|
|
1139
1139
|
display: flex;
|
|
1140
1140
|
flex-direction: column;
|
|
1141
1141
|
padding: ${({theme:e})=>e.spacing.space06};
|
|
@@ -1151,9 +1151,9 @@
|
|
|
1151
1151
|
margin-bottom: 0;
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
|
-
`,
|
|
1154
|
+
`,lL=n1.default.div`
|
|
1155
1155
|
flex-grow: 1;
|
|
1156
|
-
`,
|
|
1156
|
+
`,cL=n1.default.div`
|
|
1157
1157
|
align-items: center;
|
|
1158
1158
|
background: ${({backgroundColor:e})=>e};
|
|
1159
1159
|
background-image: ${({backgroundImage:e})=>e};
|
|
@@ -1172,14 +1172,14 @@
|
|
|
1172
1172
|
}
|
|
1173
1173
|
|
|
1174
1174
|
img {
|
|
1175
|
-
height: ${
|
|
1176
|
-
width: ${
|
|
1175
|
+
height: ${Mg}px;
|
|
1176
|
+
width: ${Mg}px;
|
|
1177
1177
|
}
|
|
1178
|
-
`,
|
|
1178
|
+
`,bu=({alignHorizontal:e="center",alignVertical:t="center",buttons:r,children:n,className:o,fullHeight:a=!1,illustration:s=null,illustrationBackgroundColor:u="brandBlue",initialShownState:l=!1,isDismissible:c=!0,onBeforeHide:d,onHide:h,onShow:m,render:C,title:v,toggle:p,width:b=iL,...y})=>{let E=Bg(u,ke()),B=Fg(E.imgColor);return(0,tt.jsx)(xn,{className:o,initialShownState:l,isDismissible:c,onBeforeHide:d,onHide:h,onShow:m,render:A=>(0,tt.jsx)($t,{alignHorizontal:e,alignVertical:t,onClick:I=>{c&&(I.stopPropagation(),A())},children:(0,tt.jsxs)(sL,{"aria-labelledby":"dialogTitle","data-testid":"action-modal-dialogue",fullHeight:a,onClick:I=>I.stopPropagation(),role:"dialog",...y,children:[c?(0,tt.jsx)(va,{onClick:A}):null,M(s)?(0,tt.jsx)(cL,{backgroundColor:E.bgColor,backgroundImage:B,children:typeof s=="string"?(0,tt.jsx)("img",{alt:"",src:s}):s}):null,(0,tt.jsxs)(uL,{width:b,children:[(0,tt.jsxs)(lL,{children:[(0,tt.jsx)(tt.Fragment,{children:v?(0,tt.jsx)(En,{id:"dialogTitle",renderAs:"h2",style:{marginBottom:"16px"},variant:"headline1",children:v}):null}),(0,tt.jsx)(tt.Fragment,{children:C===void 0?n:C(A)})]}),(0,tt.jsx)(hr,{align:"right",style:{flexGrow:"0",marginTop:"24px"},children:typeof r=="function"?r(A):r})]})]})}),toggle:p})};bu.displayName="ActionModal_VHS";i();i();var Pg=z(require("styled-components"));var Rg=require("react/jsx-runtime"),Og=e=>!["cross-fade","element","image","image-set","linear-gradient","radial-gradient","conic-gradient","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","paint","url"].some(r=>e.startsWith(r)),fL=e=>{if(e!==void 0&&Array.isArray(e))return e.map(t=>Og(t)?`url('${t}')`:t).join(", ");if(e!==void 0&&e!==""&&dt(e))return Og(e)?`url('${e}')`:e},pL=e=>{if(e!=="")return In(e)?(Object.keys(e).forEach(t=>{if(!["horizontal","vertical"].includes(t))throw new ReferenceError(`"${t}" is not a valid key for BackgroundImage component overflow prop; only "horizontal" or "vertical" allowed`)}),Object.entries(e).map(([t,r])=>{if(t==="horizontal")return`overflow-x: ${r};`;if(t==="vertical")return`overflow-y: ${r};`}).join("")):`overflow: ${e};`},dL=Pg.default.div`
|
|
1179
1179
|
background-attachment: ${({bgAttachment:e})=>e};
|
|
1180
1180
|
background-clip: ${({bgClip:e})=>e};
|
|
1181
1181
|
background-color: ${({bgColor:e})=>e};
|
|
1182
|
-
background-image: ${({bgImage:e})=>
|
|
1182
|
+
background-image: ${({bgImage:e})=>fL(e)};
|
|
1183
1183
|
background-origin: ${({bgOrigin:e})=>e};
|
|
1184
1184
|
background-position: ${({bgPosition:e})=>e};
|
|
1185
1185
|
background-repeat: ${({bgRepeat:e})=>e};
|
|
@@ -1187,15 +1187,15 @@
|
|
|
1187
1187
|
display: flex;
|
|
1188
1188
|
height: ${({elHeight:e})=>e};
|
|
1189
1189
|
justify-content: center;
|
|
1190
|
-
${({elOverflow:e})=>
|
|
1190
|
+
${({elOverflow:e})=>pL(e)};
|
|
1191
1191
|
position: relative;
|
|
1192
1192
|
width: ${({elWidth:e})=>e};
|
|
1193
|
-
`,yu=({children:e=void 0,attachment:t="scroll",clip:r="border-box",color:n=void 0,height:o="auto",origin:a=void 0,overflow:s="hidden",position:u="center",repeat:l="no-repeat",size:c="cover",src:d=void 0,width:h="100%",...m})=>(0,
|
|
1193
|
+
`,yu=({children:e=void 0,attachment:t="scroll",clip:r="border-box",color:n=void 0,height:o="auto",origin:a=void 0,overflow:s="hidden",position:u="center",repeat:l="no-repeat",size:c="cover",src:d=void 0,width:h="100%",...m})=>(0,Rg.jsx)(dL,{bgAttachment:t,bgClip:r,bgColor:n,bgImage:d,bgOrigin:a,bgPosition:u,bgRepeat:l,bgSize:c,elHeight:o,elOverflow:s,elWidth:h,...m,children:e});yu.displayName="BackgroundImage_VHS";i();i();var xu=z(require("styled-components"));i();var Ca=z(require("styled-components"));var Du=require("react/jsx-runtime"),mL=Ca.default.div`
|
|
1194
1194
|
color: ${({theme:e})=>e.color.grey900};
|
|
1195
1195
|
flex: 1;
|
|
1196
1196
|
font-size: 14px;
|
|
1197
1197
|
line-height: 20px;
|
|
1198
|
-
`,
|
|
1198
|
+
`,Ig=({children:e})=>(0,Du.jsx)(mL,{children:e}),hL=Ca.default.h2`
|
|
1199
1199
|
font-size: 16px;
|
|
1200
1200
|
font-weight: ${({theme:e})=>e.font.weight.medium};
|
|
1201
1201
|
line-height: 24px;
|
|
@@ -1204,7 +1204,7 @@
|
|
|
1204
1204
|
a {
|
|
1205
1205
|
font-weight: ${({theme:e})=>e.font.weight.medium};
|
|
1206
1206
|
}
|
|
1207
|
-
`,
|
|
1207
|
+
`,Lg=({children:e})=>(0,Du.jsx)(hL,{children:e}),gL=Ca.css`
|
|
1208
1208
|
button,
|
|
1209
1209
|
a {
|
|
1210
1210
|
margin-top: ${({theme:e})=>e.spacing.space02};
|
|
@@ -1218,26 +1218,26 @@
|
|
|
1218
1218
|
margin-top: 0;
|
|
1219
1219
|
}
|
|
1220
1220
|
}
|
|
1221
|
-
`,
|
|
1222
|
-
align-items: ${({verticalAlign:e})=>
|
|
1221
|
+
`,vL=e=>{switch(e){case"center":return"center";case"top":default:return"flex-start"}},CL=Ca.default.div`
|
|
1222
|
+
align-items: ${({verticalAlign:e})=>vL(e)};
|
|
1223
1223
|
display: flex;
|
|
1224
|
-
${
|
|
1224
|
+
${gL}
|
|
1225
1225
|
|
|
1226
1226
|
${Re.smAndUp} {
|
|
1227
1227
|
margin-left: ${({theme:e})=>e.spacing.space05};
|
|
1228
1228
|
}
|
|
1229
|
-
`,
|
|
1229
|
+
`,kg=({verticalAlign:e,children:t})=>(0,Du.jsx)(CL,{verticalAlign:e,children:t});var o1=require("react/jsx-runtime"),bL=xu.default.div`
|
|
1230
1230
|
background: ${({theme:e,backgroundColor:t})=>t??e.color.grey200};
|
|
1231
1231
|
border-radius: 8px;
|
|
1232
1232
|
display: flex;
|
|
1233
1233
|
flex-direction: row;
|
|
1234
1234
|
padding: 16px 24px;
|
|
1235
1235
|
padding: ${({theme:e})=>`${e.spacing.space04} ${e.spacing.space05}`};
|
|
1236
|
-
`,
|
|
1236
|
+
`,yL=xu.default.div`
|
|
1237
1237
|
display: block;
|
|
1238
1238
|
margin-right: ${({theme:e})=>e.spacing.space05};
|
|
1239
1239
|
margin-top: ${({theme:e})=>e.spacing.space01};
|
|
1240
|
-
`,
|
|
1240
|
+
`,DL=xu.default.div`
|
|
1241
1241
|
display: flex;
|
|
1242
1242
|
flex-direction: column;
|
|
1243
1243
|
width: 100%;
|
|
@@ -1245,60 +1245,60 @@
|
|
|
1245
1245
|
${Re.smAndUp} {
|
|
1246
1246
|
flex-direction: row;
|
|
1247
1247
|
}
|
|
1248
|
-
`,po=({backgroundColor:e,icon:t,children:r,...n})=>(0,
|
|
1248
|
+
`,po=({backgroundColor:e,icon:t,children:r,...n})=>(0,o1.jsxs)(bL,{backgroundColor:e,...n,children:[M(t)?(0,o1.jsx)(yL,{"data-testid":"banner-icon",children:t}):null,(0,o1.jsx)(DL,{children:r})]});po.Body=Ig;po.RightGutter=kg;po.Title=Lg;po.displayName="Banner_VHS";i();i();var Eu=require("react"),Ng=z(require("styled-components"));var Zg=require("react/jsx-runtime"),$g=!1,xL={around:"space-around",between:"space-between",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},EL={baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},wL={around:"space-around",between:"space-between",center:"center",end:"flex-end",evenly:"space-evenly",start:"flex-start"},SL={auto:"auto",baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},TL=new Set(["alignSelf","basis","grow","order","shrink"]),AL=e=>{if(e==="horizontal")return"width: 100%;";if(e==="vertical")return"height: 100%;";if(e)return`
|
|
1249
1249
|
width: 100%;
|
|
1250
1250
|
height: 100%;
|
|
1251
|
-
`},
|
|
1251
|
+
`},BL=e=>{if(e==="horizontal")return"width: 100vw;";if(e==="vertical")return"height: 100vh;";if(e)return`
|
|
1252
1252
|
width: 100vw;
|
|
1253
1253
|
height: 100vh;
|
|
1254
|
-
`},
|
|
1255
|
-
align-content: ${({alignContent:e})=>
|
|
1256
|
-
align-items: ${({alignItems:e})=>
|
|
1257
|
-
align-self: ${({alignSelf:e})=>e?
|
|
1254
|
+
`},FL=e=>{if(M(e))return In(e)?Object.entries(e).map(([t,r])=>`${t}-gap: ${r};`).join(""):`gap: ${e};`},ML=Ng.default.div`
|
|
1255
|
+
align-content: ${({alignContent:e})=>xL[e]};
|
|
1256
|
+
align-items: ${({alignItems:e})=>EL[e]};
|
|
1257
|
+
align-self: ${({alignSelf:e})=>e?SL[e]:null};
|
|
1258
1258
|
display: ${({inline:e})=>M(e)&&e?"inline-flex":"flex"};
|
|
1259
1259
|
flex-basis: ${({basis:e})=>M(e)?e:null};
|
|
1260
1260
|
flex-direction: ${({flexDirection:e})=>e};
|
|
1261
|
-
${({fillBox:e})=>
|
|
1262
|
-
${({fillViewport:e})=>
|
|
1261
|
+
${({fillBox:e})=>AL(e)};
|
|
1262
|
+
${({fillViewport:e})=>BL(e)};
|
|
1263
1263
|
|
|
1264
1264
|
/* Box children styles */
|
|
1265
1265
|
flex-grow: ${({grow:e})=>M(e)?e:null};
|
|
1266
1266
|
flex-shrink: ${({shrink:e})=>M(e)?e:null};
|
|
1267
1267
|
flex-wrap: ${({wrapItems:e})=>e?"wrap":"nowrap"};
|
|
1268
|
-
${({gap:e})=>
|
|
1269
|
-
justify-content: ${({justifyContent:e})=>
|
|
1268
|
+
${({gap:e})=>FL(e)};
|
|
1269
|
+
justify-content: ${({justifyContent:e})=>wL[e]};
|
|
1270
1270
|
order: ${({order:e})=>M(e)?e:null};
|
|
1271
|
-
`,
|
|
1271
|
+
`,OL=e=>M(e)?typeof e=="object"&&$g?Eu.Children.map(e,t=>{if(se(t))return null;let r={};return(t.type?.displayName==="Box"||t.type?.displayName==="Box_VHS")&&(r.hasBoxParent=!0),(0,Eu.cloneElement)(t,r)}):e:null,wu=({alignContent:e="stretch",alignItems:t="start",renderAs:r="div",children:n,direction:o="row",hasBoxParent:a=!1,fill:s=!1,fillViewport:u=!1,inline:l=!1,justifyContent:c="start",wrapItems:d=!1,...h})=>($g&&!a&&Object.keys(h).forEach(m=>{TL.has(m)&&console.warn(`${m} only has an effect on <Box> instances that are children of a <Box>`)}),(0,Zg.jsx)(ML,{alignContent:e,alignItems:t,as:r,fillBox:s,fillViewport:u,flexDirection:o,inline:l,justifyContent:c,wrapItems:d,...h,children:OL(n)}));wu.displayName="Box_VHS";i();i();var Hg=z(require("styled-components")),zg=require("react/jsx-runtime"),PL=Hg.default.div`
|
|
1272
1272
|
overflow-wrap: break-word;
|
|
1273
1273
|
${({hyphenated:e})=>e&&"hyphens: auto"}
|
|
1274
|
-
`,Su=({children:e,hyphenated:t=!1,...r})=>(0,
|
|
1275
|
-
color: ${({theme:e})=>ot(
|
|
1276
|
-
|
|
1274
|
+
`,Su=({children:e,hyphenated:t=!1,...r})=>(0,zg.jsx)(PL,{hyphenated:t,...r,children:e});Su.displayName="Breakline_VHS";i();i();i();var Gg=require("react"),qg=z(require("styled-components"));i();var Sp=z(require("styled-components"));i();var Yt=require("styled-components");var jg=.08,Wg=Yt.css`
|
|
1275
|
+
color: ${({theme:e})=>ot(jg,e.color.brandBlue500)};
|
|
1276
|
+
`,Vg=Yt.css`
|
|
1277
1277
|
color: ${({theme:e})=>e.color.brandBlue500};
|
|
1278
1278
|
|
|
1279
1279
|
&:hover,
|
|
1280
1280
|
&:focus {
|
|
1281
|
-
${
|
|
1281
|
+
${Wg}
|
|
1282
1282
|
}
|
|
1283
|
-
`,
|
|
1283
|
+
`,Ug=Yt.css`
|
|
1284
1284
|
color: rgb(255 255 255 / 80%);
|
|
1285
|
-
`,
|
|
1285
|
+
`,RL=Yt.css`
|
|
1286
1286
|
color: white;
|
|
1287
1287
|
|
|
1288
1288
|
&:hover,
|
|
1289
1289
|
&:focus {
|
|
1290
|
-
${
|
|
1290
|
+
${Ug}
|
|
1291
1291
|
}
|
|
1292
|
-
`,
|
|
1293
|
-
color: ${({theme:e})=>ot(
|
|
1294
|
-
`,
|
|
1292
|
+
`,_g=Yt.css`
|
|
1293
|
+
color: ${({theme:e})=>ot(jg,e.color.red600)};
|
|
1294
|
+
`,IL=Yt.css`
|
|
1295
1295
|
color: ${({theme:e})=>e.color.red600};
|
|
1296
1296
|
|
|
1297
1297
|
&:hover,
|
|
1298
1298
|
&:focus {
|
|
1299
|
-
${
|
|
1299
|
+
${_g}
|
|
1300
1300
|
}
|
|
1301
|
-
`,
|
|
1301
|
+
`,LL=Yt.css`
|
|
1302
1302
|
color: ${({theme:e})=>e.color.grey700};
|
|
1303
1303
|
cursor: not-allowed;
|
|
1304
1304
|
|
|
@@ -1317,26 +1317,26 @@
|
|
|
1317
1317
|
font-weight: 400;
|
|
1318
1318
|
text-decoration: underline;
|
|
1319
1319
|
${({underlineOnHover:e})=>e&&Tu}
|
|
1320
|
-
${({disabledLink:e})=>e&&
|
|
1321
|
-
${({variant:e})=>e==="primary"
|
|
1322
|
-
${({variant:e,forceState:t})=>{switch(t){case"hover":case"focus":if(e==="primary")return
|
|
1323
|
-
`,
|
|
1320
|
+
${({disabledLink:e})=>e&&LL}
|
|
1321
|
+
${({variant:e})=>e==="primary"?Vg:e==="secondary"?RL:e==="dangerous"?IL:Vg}
|
|
1322
|
+
${({variant:e,forceState:t})=>{switch(t){case"hover":case"focus":if(e==="primary")return Wg;if(e==="secondary")return Ug;if(e==="dangerous")return _g;break;case"active":default:return}}}
|
|
1323
|
+
`,Kg=Yt.css`
|
|
1324
1324
|
color: inherit;
|
|
1325
1325
|
cursor: pointer;
|
|
1326
1326
|
text-decoration: underline;
|
|
1327
1327
|
${({underlineOnHover:e})=>e&&Tu}
|
|
1328
|
-
`;var Bu=require("react/jsx-runtime"),
|
|
1328
|
+
`;var Bu=require("react/jsx-runtime"),kL=Sp.default.a`
|
|
1329
1329
|
${Au}
|
|
1330
|
-
`,
|
|
1331
|
-
${
|
|
1332
|
-
|
|
1330
|
+
`,NL=Sp.default.a`
|
|
1331
|
+
${Kg}
|
|
1332
|
+
`,$L=(e,t)=>{let r=Object.keys(t);if(!r.length)return e;let n=new URL(e);return r.forEach(o=>{n.searchParams.set(o,t[o])}),n.toString()},ZL=(e,t,r,n)=>{if(n)return null;let o=e;return t==="phone"&&(o=`tel:${e}`),t==="email"&&(o=`mailto:${e}`),r!==void 0&&(o=$L(o,r)),o},HL=({RenderedLink:e,children:t,...r})=>(0,Bu.jsx)(e,{...r,children:t}),ba=({href:e,beforeAction:t,children:r,disabled:n=!1,forceState:o,nested:a=!1,params:s,type:u="default",unstyled:l=!1,variant:c="primary",underlineOnHover:d=!1,...h})=>{let m=ZL(e,u,s,n),C=u==="external"?{target:"_blank",rel:"noopener noreferrer"}:null,v=async(E,B=null)=>{if(n)E.preventDefault();else if(t){E.preventDefault();try{await t()}catch(A){console.error(A)}finally{B!==null?B():window.location.assign(m)}}},p=l?NL:kL,{Link:b=HL}=m7()||{},y=(0,Bu.jsx)(b,{disabledLink:n,forceState:o,href:m,onClick:v,RenderedLink:p,underlineOnHover:d,unstyled:l,variant:c,...C,...h,children:r});return a?(0,Bu.jsx)("object",{"data-testid":"link-object",type:"hacky/hack",children:y}):y};ba.displayName="Link_VHS";var Tp=require("react/jsx-runtime"),zL=(0,qg.default)(ba).attrs({unstyled:!0})`
|
|
1333
1333
|
${O0};
|
|
1334
1334
|
|
|
1335
1335
|
/* Links are disabled by removing their href */
|
|
1336
1336
|
&:not([href]) {
|
|
1337
1337
|
${M0};
|
|
1338
1338
|
}
|
|
1339
|
-
`,Fu=(0,
|
|
1339
|
+
`,Fu=(0,Gg.forwardRef)(({beforeAction:e,children:t,colorOverride:r,disabled:n=!1,forceState:o,href:a,icon:s,iconName:u,iconPosition:l="start",label:c,labelWrap:d=!1,params:h,size:m="lg",square:C=!1,type:v="default",variant:p="primary",...b},y)=>{let E=ms(r,p,ke());return(0,Tp.jsx)(zL,{ref:y,beforeAction:e,buttonColor:E,disabled:n,forceState:o,hasIcon:s,href:a,iconPosition:l,labelWrap:d,params:h,size:m,square:C,type:v,variant:p,...b,children:(0,Tp.jsx)(ds,{icon:s,iconName:u,iconPosition:l,isLoading:!1,size:m,children:(()=>M(t)?t:M(c)?c:null)()})})});Fu.displayName="ButtonLink_VHS";i();i();var ya=require("react");i();var Zt=z(require("styled-components")),Mu=Zt.default.input`
|
|
1340
1340
|
align-self: flex-start;
|
|
1341
1341
|
border-radius: 3px;
|
|
1342
1342
|
box-shadow: ${({type:e})=>e==="checkbox"?"inset 0 0.5px 1.5px 0 rgba(0, 0, 0, 0.38)":"none"};
|
|
@@ -1357,12 +1357,12 @@
|
|
|
1357
1357
|
color: ${({theme:e})=>e.color.grey900};
|
|
1358
1358
|
font-size: 12px;
|
|
1359
1359
|
line-height: 16px;
|
|
1360
|
-
|
|
1360
|
+
`,VL=Zt.css`
|
|
1361
1361
|
cursor: not-allowed;
|
|
1362
1362
|
opacity: 0.5;
|
|
1363
|
-
`,
|
|
1363
|
+
`,jL=Zt.css`
|
|
1364
1364
|
border-color: transparent;
|
|
1365
|
-
`,
|
|
1365
|
+
`,Xg=Zt.css``,WL=Zt.css`
|
|
1366
1366
|
background-color: ${({theme:e})=>e.color.red100};
|
|
1367
1367
|
border: 1px solid ${({theme:e})=>e.color.red500};
|
|
1368
1368
|
|
|
@@ -1371,11 +1371,11 @@
|
|
|
1371
1371
|
&:active {
|
|
1372
1372
|
border-color: transparent !important;
|
|
1373
1373
|
}
|
|
1374
|
-
`,
|
|
1374
|
+
`,Ap=Zt.css`
|
|
1375
1375
|
background-color: ${({theme:e})=>e.color.grey300};
|
|
1376
1376
|
cursor: pointer;
|
|
1377
|
-
`,
|
|
1378
|
-
${
|
|
1377
|
+
`,Yg=Zt.css`
|
|
1378
|
+
${Ap}
|
|
1379
1379
|
`,Ru=Zt.default.label`
|
|
1380
1380
|
align-items: center;
|
|
1381
1381
|
border: 1px solid transparent;
|
|
@@ -1386,30 +1386,30 @@
|
|
|
1386
1386
|
width: ${({direction:e})=>e==="column"?"100%":"auto"};
|
|
1387
1387
|
|
|
1388
1388
|
&:hover {
|
|
1389
|
-
${
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
${({hasError:e})=>e&&
|
|
1393
|
-
${({disabled:e})=>e
|
|
1394
|
-
${({isFocused:e})=>e&&
|
|
1395
|
-
${({isFocused:e,hasError:t})=>e&&t&&
|
|
1396
|
-
${({forceState:e})=>e==="focus"&&
|
|
1397
|
-
${({forceState:e})=>e==="hover"&&
|
|
1398
|
-
${({forceState:e,hasError:t})=>e==="focus"&&t&&
|
|
1399
|
-
${({forceState:e,hasError:t})=>e==="hover"&&t&&
|
|
1400
|
-
`;var Nr=require("react/jsx-runtime"),Da=(0,ya.forwardRef)(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:a="default",label:s="default",labelDescription:u,name:l,onChange:c,required:d=!1,value:h="false",...m},
|
|
1389
|
+
${Ap}
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
${({hasError:e})=>e&&WL};
|
|
1393
|
+
${({disabled:e})=>e&&VL};
|
|
1394
|
+
${({isFocused:e})=>e&&Yg};
|
|
1395
|
+
${({isFocused:e,hasError:t})=>e&&t&&Xg};
|
|
1396
|
+
${({forceState:e})=>e==="focus"&&Yg};
|
|
1397
|
+
${({forceState:e})=>e==="hover"&&Ap};
|
|
1398
|
+
${({forceState:e,hasError:t})=>e==="focus"&&t&&Xg};
|
|
1399
|
+
${({forceState:e,hasError:t})=>e==="hover"&&t&&jL};
|
|
1400
|
+
`;var Nr=require("react/jsx-runtime"),Da=(0,ya.forwardRef)(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:a="default",label:s="default",labelDescription:u,name:l,onChange:c,required:d=!1,value:h="false",...m},C)=>{let[v,p]=(0,ya.useState)(!1);return(0,Nr.jsxs)(Ru,{ref:C,"aria-invalid":ee(o)&&o?"true":"false",direction:t,disabled:r,forceState:n,hasError:o,isFocused:v,...m,children:[(0,Nr.jsx)(Mu,{"aria-checked":e,checked:e,"data-testid":"checkbox-option-wrapper",disabled:r,id:a,name:l,onBlur:()=>p(!1),onChange:c,onFocus:()=>p(!0),required:d,type:"checkbox",value:h}),(0,Nr.jsxs)(Ou,{children:[(0,Nr.jsx)(Nr.Fragment,{children:s}),pe(u)||(0,ya.isValidElement)(u)?(0,Nr.jsx)(Pu,{"data-testid":"checkbox-option-sub-label",children:u}):null]})]})});Da.displayName="Checkbox_VHS";i();i();var ov=z(require("styled-components"));i();i();var nv=z(require("styled-components"));i();i();var a1=z(require("styled-components"));var Qg=require("react/jsx-runtime"),UL=a1.css`
|
|
1401
1401
|
::after {
|
|
1402
1402
|
color: red;
|
|
1403
1403
|
content: ' *';
|
|
1404
1404
|
}
|
|
1405
|
-
`,
|
|
1405
|
+
`,_L=a1.css`
|
|
1406
1406
|
color: ${({theme:e})=>e.color.grey500};
|
|
1407
|
-
`,
|
|
1407
|
+
`,Jg="8px",KL=a1.default.label`
|
|
1408
1408
|
color: ${({theme:e})=>e.color.grey900};
|
|
1409
1409
|
display: block;
|
|
1410
1410
|
font-size: 14px;
|
|
1411
1411
|
font-weight: ${({theme:e})=>e.font.weight.semiBold};
|
|
1412
|
-
margin-bottom: ${
|
|
1412
|
+
margin-bottom: ${Jg};
|
|
1413
1413
|
width: 100%;
|
|
1414
1414
|
|
|
1415
1415
|
/* if label is wrapping an input this ensures it appears beneath the label with a nice margin */
|
|
@@ -1417,7 +1417,7 @@
|
|
|
1417
1417
|
> textarea,
|
|
1418
1418
|
> select {
|
|
1419
1419
|
display: block;
|
|
1420
|
-
margin-top: ${
|
|
1420
|
+
margin-top: ${Jg};
|
|
1421
1421
|
}
|
|
1422
1422
|
|
|
1423
1423
|
> label {
|
|
@@ -1425,9 +1425,9 @@
|
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
1427
|
${({screenReaderOnly:e})=>e&&Un}
|
|
1428
|
-
${({disabled:e})=>e&&
|
|
1429
|
-
${({required:e})=>e&&
|
|
1430
|
-
`,xa=({renderAs:e="label",children:t,disabled:r=!1,htmlFor:n,required:o=!1,screenReaderOnly:a=!1,...s})=>(0,
|
|
1428
|
+
${({disabled:e})=>e&&_L}
|
|
1429
|
+
${({required:e})=>e&&UL}
|
|
1430
|
+
`,xa=({renderAs:e="label",children:t,disabled:r=!1,htmlFor:n,required:o=!1,screenReaderOnly:a=!1,...s})=>(0,Qg.jsx)(KL,{as:e,disabled:r,htmlFor:e==="label"?n:"",renderAs:e,required:o,screenReaderOnly:a,...s,children:t});xa.displayName="Label_VHS";i();i();var ev=z(require("styled-components"));var tv=require("react/jsx-runtime"),GL=ev.default.div`
|
|
1431
1431
|
align-items: center;
|
|
1432
1432
|
border-left: 4px solid ${({theme:e})=>e.color.red500};
|
|
1433
1433
|
color: ${({theme:e})=>e.color.red600};
|
|
@@ -1435,21 +1435,21 @@
|
|
|
1435
1435
|
line-height: 16px;
|
|
1436
1436
|
margin-top: ${({theme:e})=>e.spacing.space02};
|
|
1437
1437
|
padding-left: ${({theme:e})=>e.spacing.space02};
|
|
1438
|
-
`,Ea=({children:e,...t})=>se(e)?null:(0,
|
|
1438
|
+
`,Ea=({children:e,...t})=>se(e)?null:(0,tv.jsx)(GL,{...t,children:e});Ea.displayName="FormFieldError_VHS";i();i();var Iu=z(require("styled-components")),rv=require("react/jsx-runtime"),qL=Iu.css`
|
|
1439
1439
|
color: ${({theme:e})=>e.color.grey500};
|
|
1440
|
-
`,
|
|
1440
|
+
`,XL=Iu.default.div`
|
|
1441
1441
|
color: ${({theme:e})=>e.color.grey900};
|
|
1442
1442
|
display: block;
|
|
1443
1443
|
font-size: 14px;
|
|
1444
1444
|
margin-bottom: ${({theme:e})=>e.spacing.space03};
|
|
1445
|
-
${({disabled:e})=>e&&
|
|
1446
|
-
`,wa=({children:e,disabled:t=!1,...r})=>(0,
|
|
1445
|
+
${({disabled:e})=>e&&qL};
|
|
1446
|
+
`,wa=({children:e,disabled:t=!1,...r})=>(0,rv.jsx)(XL,{disabled:t,...r,children:e});wa.displayName="LabelDescription_VHS";var Sa=require("react/jsx-runtime"),YL=nv.default.div`
|
|
1447
1447
|
width: 100%;
|
|
1448
|
-
`,Dt=({disabled:e=!1,error:t=null,label:r=null,labelDescription:n=null,labelProps:o={},labelType:a="label",name:s,children:u,labelId:l=null,...c})=>{let d=l??`group-id-${s}`,h=a==="legend"?d:null,m={id:d,htmlFor:`field-${s}`,renderAs:a,disabled:o.disabled??e,screenReaderOnly:o.screenReaderOnly??!1};return(0,Sa.jsxs)(
|
|
1448
|
+
`,Dt=({disabled:e=!1,error:t=null,label:r=null,labelDescription:n=null,labelProps:o={},labelType:a="label",name:s,children:u,labelId:l=null,...c})=>{let d=l??`group-id-${s}`,h=a==="legend"?d:null,m={id:d,htmlFor:`field-${s}`,renderAs:a,disabled:o.disabled??e,screenReaderOnly:o.screenReaderOnly??!1};return(0,Sa.jsxs)(YL,{...c,"aria-labelledby":h??void 0,children:[r!==null?(0,Sa.jsx)(xa,{...m,children:r}):null,n!==null?(0,Sa.jsx)(wa,{disabled:e,children:n}):null,t!==null?(0,Sa.jsx)(Ea,{"data-testid":`form-field-error-${s}`,children:t}):null,u]})};Dt.displayName="FormFieldWrapper_VHS";var Lu=require("react/jsx-runtime"),JL=ov.default.div`
|
|
1449
1449
|
display: flex;
|
|
1450
1450
|
flex-direction: ${({direction:e})=>e==="row"?"row":"column"};
|
|
1451
1451
|
gap: ${({direction:e,theme:t})=>e==="row"?t.spacing.space04:t.spacing.space01};
|
|
1452
|
-
`,Ta=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:a={},name:s,onChange:u,options:l,value:c=!1,...d})=>(0,
|
|
1452
|
+
`,Ta=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:a={},name:s,onChange:u,options:l,value:c=!1,...d})=>(0,Lu.jsx)(Dt,{disabled:t,error:r,label:n,labelDescription:o,labelProps:a,labelType:"legend",name:s,role:"group",...d,children:(0,Lu.jsx)(JL,{direction:e,children:l.map(h=>{let m=Array.isArray(c)?c.includes(h.name):c;return(0,Lu.jsx)(Da,{checked:m,direction:e,disabled:t,onChange:C=>M(u)?u(C,h.name):void 0,...h},h.name)})})});Ta.displayName="CheckboxGroup_VHS";i();i();var av=z(require("styled-components"));i();var Bp=require("react/jsx-runtime"),ku=()=>(0,Bp.jsx)("svg",{height:"22",preserveAspectRatio:"xMidYMid meet",style:{display:"block"},viewBox:"0 0 20 20",width:"22",children:(0,Bp.jsx)("path",{d:"M17 15.85289l-5.8533769-5.85435067L17 4.14710997 15.85289 3l-5.8514293 5.85240314L4.14710997 3 3 4.14710997l5.85240314 5.85240314L3 15.85289 4.14710997 17l5.85435073-5.8524031L15.8519163 17z",fill:"currentColor",fillRule:"evenodd"})});var Fp=require("react/jsx-runtime"),QL=av.default.button`
|
|
1453
1453
|
align-items: center;
|
|
1454
1454
|
background: none;
|
|
1455
1455
|
border: none;
|
|
@@ -1474,61 +1474,61 @@
|
|
|
1474
1474
|
:hover {
|
|
1475
1475
|
color: ${({theme:e})=>e.color.grey900};
|
|
1476
1476
|
}
|
|
1477
|
-
`,Nu=({onClick:e,...t})=>(0,
|
|
1477
|
+
`,Nu=({onClick:e,...t})=>(0,Fp.jsx)(QL,{onClick:e,title:"Close",...t,children:(0,Fp.jsx)(ku,{})});Nu.displayName="CloseButton_VHS";i();i();var $r=require("react"),gr=z(require("styled-components"));var Ht=require("react/jsx-runtime"),ek=.08,$u=48,uv=16,iv=16,lv=16,Mp="0.2s",Op="brandblue",tk="up",cv="down",rk="left",fv="right",nk=gr.default.div`
|
|
1478
1478
|
& + & {
|
|
1479
1479
|
margin-top: ${({theme:e})=>e.spacing.space01};
|
|
1480
1480
|
}
|
|
1481
|
-
`,
|
|
1481
|
+
`,sv=({backgroundColor:e,open:t,theme:r,variant:n})=>{let o=e??r.color.grey100,a=n===Op?r.color.brandBlue100:o;return t?a:o},pv=gr.default.div`
|
|
1482
1482
|
align-items: center;
|
|
1483
|
-
background-color: ${e=>
|
|
1483
|
+
background-color: ${e=>sv(e)};
|
|
1484
1484
|
color: ${({open:e,theme:t})=>e?t.color.brandBlue600:t.color.grey900};
|
|
1485
1485
|
cursor: pointer;
|
|
1486
1486
|
display: flex;
|
|
1487
1487
|
justify-content: space-between;
|
|
1488
1488
|
min-height: ${$u}px;
|
|
1489
|
-
padding-right: ${
|
|
1489
|
+
padding-right: ${lv}px;
|
|
1490
1490
|
|
|
1491
1491
|
&:hover {
|
|
1492
|
-
background-color: ${e=>ot(
|
|
1492
|
+
background-color: ${e=>ot(ek,sv(e))};
|
|
1493
1493
|
}
|
|
1494
|
-
`,
|
|
1495
|
-
color: ${({isOpen:e,theme:t,variant:r})=>e&&r===
|
|
1494
|
+
`,ok=gr.default.span`
|
|
1495
|
+
color: ${({isOpen:e,theme:t,variant:r})=>e&&r===Op?t.color.brandBlue600:t.color.grey500};
|
|
1496
1496
|
display: inline-flex;
|
|
1497
|
-
height: ${
|
|
1497
|
+
height: ${iv}px;
|
|
1498
1498
|
transform: rotate(
|
|
1499
|
-
${({direction:e})=>{switch(e){case
|
|
1499
|
+
${({direction:e})=>{switch(e){case tk:return"-180deg";case cv:return"0deg";case rk:return"90deg";case fv:return"-90deg";default:return"0deg"}}}
|
|
1500
1500
|
);
|
|
1501
|
-
transition: transform ${
|
|
1502
|
-
width: ${
|
|
1501
|
+
transition: transform ${Mp} ease-out;
|
|
1502
|
+
width: ${iv}px;
|
|
1503
1503
|
|
|
1504
1504
|
> svg {
|
|
1505
1505
|
height: 100%;
|
|
1506
1506
|
width: 100%;
|
|
1507
1507
|
}
|
|
1508
|
-
`,
|
|
1508
|
+
`,ak=e=>gr.css`
|
|
1509
1509
|
opacity: 0;
|
|
1510
|
-
transition: opacity ${
|
|
1510
|
+
transition: opacity ${Mp} ease-out;
|
|
1511
1511
|
|
|
1512
1512
|
${e}:hover &,
|
|
1513
1513
|
${e}:focus &,
|
|
1514
1514
|
${e}:focus-within & {
|
|
1515
1515
|
opacity: 1;
|
|
1516
1516
|
}
|
|
1517
|
-
`,
|
|
1517
|
+
`,ik=(0,gr.default)(En)`
|
|
1518
1518
|
/*
|
|
1519
1519
|
* This should be able to support an input field when used to rename itself
|
|
1520
1520
|
*/
|
|
1521
1521
|
|
|
1522
|
-
color: ${({open:e,theme:t,styleVariant:r})=>e&&r===
|
|
1522
|
+
color: ${({open:e,theme:t,styleVariant:r})=>e&&r===Op?t.color.brandBlue600:null};
|
|
1523
1523
|
line-height: ${$u}px;
|
|
1524
|
-
margin: 0 auto 0 ${
|
|
1524
|
+
margin: 0 auto 0 ${uv}px;
|
|
1525
1525
|
user-select: none;
|
|
1526
1526
|
width: 100%;
|
|
1527
|
-
`,
|
|
1527
|
+
`,sk=gr.default.div`
|
|
1528
1528
|
background-color: ${({backgroundColor:e})=>e};
|
|
1529
1529
|
overflow: ${({isOpen:e})=>e?"visible":"hidden"};
|
|
1530
1530
|
padding: ${({contentPadding:e})=>e??0};
|
|
1531
|
-
transition: ${({showTransition:e})=>e?`height ${
|
|
1531
|
+
transition: ${({showTransition:e})=>e?`height ${Mp} ease-out`:void 0};
|
|
1532
1532
|
visibility: ${({isOpen:e})=>e?"visible":"hidden"};
|
|
1533
1533
|
${({height:e,isOpen:t})=>ee(e)&&Number.isFinite(e)&&`
|
|
1534
1534
|
height: ${t?e:0}px;
|
|
@@ -1536,22 +1536,22 @@
|
|
|
1536
1536
|
${({maxHeight:e})=>ee(e)&&Number.isFinite(e)&&`
|
|
1537
1537
|
max-height: ${e}px;
|
|
1538
1538
|
`};
|
|
1539
|
-
`,
|
|
1539
|
+
`,uk=(0,gr.default)(Ve)`
|
|
1540
1540
|
height: 24px;
|
|
1541
|
-
margin-left: ${
|
|
1541
|
+
margin-left: ${uv}px;
|
|
1542
1542
|
order: ${({layout:e})=>e==="leading"?-1:1};
|
|
1543
1543
|
width: 24px;
|
|
1544
1544
|
|
|
1545
1545
|
&:focus {
|
|
1546
1546
|
outline: 1px dashed ${({theme:e})=>e.color.grey500};
|
|
1547
1547
|
}
|
|
1548
|
-
`,
|
|
1549
|
-
${({showActionsOnHover:e})=>e&&
|
|
1548
|
+
`,lk=gr.default.span`
|
|
1549
|
+
${({showActionsOnHover:e})=>e&&ak(pv)};
|
|
1550
1550
|
align-items: center;
|
|
1551
1551
|
display: inline-flex;
|
|
1552
1552
|
flex-shrink: 0;
|
|
1553
1553
|
justify-content: center;
|
|
1554
|
-
margin-right: -${
|
|
1554
|
+
margin-right: -${lv}px;
|
|
1555
1555
|
min-height: ${$u}px;
|
|
1556
1556
|
width: ${$u}px;
|
|
1557
1557
|
|
|
@@ -1559,7 +1559,7 @@
|
|
|
1559
1559
|
flex-shrink: 0;
|
|
1560
1560
|
min-width: 0;
|
|
1561
1561
|
}
|
|
1562
|
-
`,
|
|
1562
|
+
`,ck=({children:e,showActionsOnHover:t})=>se(e)?null:(0,Ht.jsx)(lk,{onClick:r=>{r.stopPropagation()},showActionsOnHover:t,children:e}),Zu=({actions:e,backgroundColor:t,caretDirection:r={open:cv,closed:fv},children:n=null,contentPadding:o=null,hideCaret:a=!1,id:s,isOpen:u,label:l,layout:c="leading",onOpenChange:d,showActionsOnHover:h=!0,showTransition:m=!1,variant:C,...v})=>{let[p,b]=(0,$r.useState)(u??!1),[y,E]=(0,$r.useState)({width:void 0,height:void 0}),[B,A]=(0,$r.useState)(!1),[I,D]=Zi(),T=r.open,V=r.closed,L=pe(s)?s:`CollapsibleGroup_${xi()}`;(0,$r.useEffect)(()=>{E({height:D.height,width:D.width})},[D]),(0,$r.useEffect)(()=>{u!==void 0&&b(u)},[u]),(0,$r.useLayoutEffect)(()=>{I.current&&E({height:I.current.offsetHeight,width:I.current.offsetWidth})},[I]);let K=()=>{if(B){A(!1);return}let N=!p;b(N),d&&d(N)},X=(0,Ht.jsx)(uk,{"aria-expanded":p,"aria-labelledby":L,layout:c,noStyle:!0,onClick:K,children:(0,Ht.jsx)(ok,{direction:p?T:V,isOpen:p,layout:c,variant:C,children:(0,Ht.jsx)(Ie,{type:"caret-down"})})});return(0,Ht.jsxs)(nk,{...v,children:[(0,Ht.jsxs)(pv,{backgroundColor:t,onClick:K,open:p,variant:C,children:[(0,Ht.jsx)(ik,{id:L,open:p,renderAs:"div",styleVariant:C,variant:"subtitle1",children:typeof l=="function"?l({open:p,caret:X}):l}),!a&&X,(0,Ht.jsx)(ck,{showActionsOnHover:h,children:e})]}),(0,Ht.jsx)(sk,{backgroundColor:t,contentPadding:o,"data-testid":"collapsible-group-content",height:y.height,isOpen:p,maxHeight:y.height,showTransition:m,variant:C,children:(0,Ht.jsx)("div",{ref:I,style:{width:"100%",display:"inline-block"},children:n})})]})};Zu.displayName="CollapsibleGroup_VHS";i();i();var dv=z(require("styled-components"));var mv=require("react/jsx-runtime"),fk=dv.default.hr`
|
|
1563
1563
|
background: none;
|
|
1564
1564
|
border-bottom: none;
|
|
1565
1565
|
border-left: none;
|
|
@@ -1571,7 +1571,7 @@
|
|
|
1571
1571
|
height: 0;
|
|
1572
1572
|
line-height: 0;
|
|
1573
1573
|
margin: 0;
|
|
1574
|
-
`,Aa=({colorOverride:e=void 0,height:t=1,variant:r="dashed",...n})=>{let o=ke("grey300");return(0,
|
|
1574
|
+
`,Aa=({colorOverride:e=void 0,height:t=1,variant:r="dashed",...n})=>{let o=ke("grey300");return(0,mv.jsx)(fk,{borderHeight:t,fillColor:e??o,variant:r,...n})};Aa.displayName="Divider_VHS";i();i();var hv=require("react"),gv=z(require("styled-components")),zu=require("react/jsx-runtime"),pk=26,dk=pk*1024,mk=gv.default.label`
|
|
1575
1575
|
display: inline-block;
|
|
1576
1576
|
overflow: hidden;
|
|
1577
1577
|
position: relative;
|
|
@@ -1591,36 +1591,36 @@
|
|
|
1591
1591
|
right: 0;
|
|
1592
1592
|
top: 0;
|
|
1593
1593
|
}
|
|
1594
|
-
`,Hu=(0,
|
|
1594
|
+
`,Hu=(0,hv.forwardRef)(({accept:e,children:t,disabled:r=!1,id:n,maxSize:o=dk,multiple:a=!1,name:s="file-upload",onClick:u,onChange:l,onError:c,...d},h)=>(0,zu.jsxs)(mk,{ariaControls:"filename",disabled:r,htmlFor:n,...d,children:[t,(0,zu.jsx)("input",{ref:h,accept:e,"data-testid":"file-select-input",disabled:r,id:n,multiple:a,name:s,onChange:C=>{let{files:v}=C.target;if(o&&v){let p=o*1024*1024;if(Array.from(v).some(y=>y.size>p))return c&&c(new Error(`File not accepted. Please choose a file under ${o}MB.`)),!1}return l&&l(C),!0},onClick:u,tabIndex:-1,type:"file"})]}));Hu.displayName="FileSelect_VHS";i();i();var wn=require("react");i();i();var vv=require("react");var Ba=z(require("styled-components"));var Zr=require("react/jsx-runtime"),hk=Ba.default.div`
|
|
1595
1595
|
border-left: 4px solid;
|
|
1596
1596
|
border-left-color: ${({theme:e})=>e.color.red500};
|
|
1597
1597
|
margin-bottom: ${({theme:e})=>e.spacing.space07};
|
|
1598
1598
|
padding-left: ${({theme:e})=>e.spacing.space02};
|
|
1599
|
-
`,
|
|
1599
|
+
`,gk=Ba.default.p`
|
|
1600
1600
|
font-size: 16px;
|
|
1601
1601
|
font-weight: 500;
|
|
1602
1602
|
line-height: 1.5;
|
|
1603
1603
|
margin-bottom: ${({theme:e})=>e.spacing.space02};
|
|
1604
|
-
`,
|
|
1604
|
+
`,vk=Ba.default.ol`
|
|
1605
1605
|
list-style: none;
|
|
1606
1606
|
margin: 0;
|
|
1607
1607
|
padding-left: 0;
|
|
1608
|
-
`,
|
|
1608
|
+
`,Cv=Ba.default.span`
|
|
1609
1609
|
color: ${({theme:e})=>e.color.red600};
|
|
1610
1610
|
line-height: 1.5;
|
|
1611
|
-
`,
|
|
1611
|
+
`,Ck=(0,Ba.default)(Cv)`
|
|
1612
1612
|
cursor: pointer;
|
|
1613
1613
|
text-decoration: underline;
|
|
1614
|
-
`,
|
|
1614
|
+
`,bk=e=>{let t="error";return e>1&&(t+="s"),`${e} ${t} found on page`},yk=e=>{document.getElementById(`fieldset-${e}`)?.scrollIntoView({behavior:"smooth"})},Dk=({errors:e={},statusError:t})=>(0,Zr.jsxs)(vk,{children:[pe(t)?(0,Zr.jsx)(Cv,{children:t}):null,Object.keys(e).map(r=>(0,Zr.jsx)("li",{children:(0,Zr.jsx)(Ck,{"data-testid":`form-global-error-${r}`,onClick:()=>yk(r),children:e[r]})},r))]}),Fa=(0,vv.forwardRef)((e,t)=>{let r=Ir(),{status:n,errors:o}=r,a=Object.keys(o).length;M(n)&&n.length>0&&(a+=1);let s=M(n)&&!n.success||a;return Kr(s)?(0,Zr.jsxs)(hk,{ref:t,children:[(0,Zr.jsx)(gk,{children:bk(a)}),(0,Zr.jsx)(Dk,{errors:o,statusError:n})]}):null});Fa.displayName="FormGlobalError_VHS";i();i();var bv=require("react");i();i();var Jt=require("react"),Pp=(e,t=0)=>{let r=(0,Jt.useRef)(!1),n=(0,Jt.useRef)(),o=(0,Jt.useRef)(e),a=(0,Jt.useCallback)(()=>r.current,[]),s=(0,Jt.useCallback)(()=>{r.current=!1,n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{r.current=!0,o.current()},t)},[t]),u=(0,Jt.useCallback)(()=>{r.current=null,n.current&&clearTimeout(n.current)},[]);return(0,Jt.useEffect)(()=>{o.current=e},[e]),(0,Jt.useEffect)(()=>(s(),u),[t]),[a,u,s]};var Rp=(e,t=0,r=[])=>{let[n,o,a]=Pp(e,t);return(0,bv.useEffect)(a,r),[n,o]};var i1=require("react/jsx-runtime"),yv=(e,t)=>JSON.stringify(e)!==JSON.stringify(t),xk=(e,t)=>{let r={};return Object.keys(e).forEach(n=>{e[n]===null?ee(t)&&ee(t.fields)&&ee(t.fields[n])&&t.fields[n]._type==="boolean"?r[n]=!1:r[n]=void 0:r[n]=e[n]}),r},Vu=({children:e,className:t,formId:r,initialValues:n,onSubmit:o,scrollToFormErrorsOnSubmit:a=!0,shareFormContext:s,style:u,submitOnChange:l=!1,validate:c,validateOnBlur:d=!1,validateOnChange:h=!1,validationSchema:m,globalErrorRef:C,showGlobalError:v=!0,innerRef:p})=>{let[b,y]=(0,wn.useState)(),[E,B]=(0,wn.useState)(),[A,I]=(0,wn.useState)(0),D=no(),T=(X,N)=>{let $={};Object.keys(X).forEach(Z=>{let W=X[Z],le=ee(m)&&ee(m.fields[Z])&&m.fields[Z]._type==="string";if(W==null){$[Z]=null;return}if(typeof W=="number"){$[Z]=W;return}W===!1&&($[Z]=!1),le&&!W&&($[Z]=null),W&&($[Z]=le?W.trim():W)}),o($,N)},V=a&&(rt(b)||!b)&&(rt(E)||!E)&&ee(C.current?.scrollIntoView);(0,wn.useEffect)(()=>{if((rt(b)||!b)&&ee(E)&&E&&document.activeElement&&document.activeElement.blur(),V){let X=A>1?`there are ${A} errors`:"there's an error!";D({variant:"error",message:`Uh oh, ${X}`}),C.current?.scrollIntoView({behavior:"smooth"})}},[A,C,b,E,V,D]);let L=xk(n,m),K=750;return(0,i1.jsx)(Rh,{enableReinitialize:!0,initialValues:L,innerRef:M(p)?p:()=>{},onSubmit:T,validate:M(c)?c:()=>{},validateOnBlur:d,validateOnChange:h,validationSchema:m,children:X=>{let[N,$]=(0,wn.useState)(X.values);if((0,wn.useEffect)(()=>{ee(s)&&s(X),y(X.isSubmitting),B(X.isValid),I(Object.keys(X.errors).length),l&&yv(X.values,N)&&$(X.values)},[X,N]),l){let[,]=Rp(()=>{yv(n,N)&&X.submitForm()},K,[N])}return(0,i1.jsxs)(lp,{className:t,"data-testid":r,noValidate:!0,style:u,children:[v?(0,i1.jsx)(Fa,{ref:C}):null,e]})}})};Vu.displayName="Form_VHS";i();i();i();i();var Dv=require("react/jsx-runtime"),ju=({type:e="submit",isSubmitting:t=!1,children:r,disabled:n=!1,...o})=>(0,Dv.jsx)(Ve,{disabled:t||n,type:e,...o,children:r});ju.displayName="FormConnectorButton_VHS";var Ip=require("react/jsx-runtime"),Ek=e=>e.preventDefault(),Wu=({buttons:e,align:t="left",...r})=>{let{isSubmitting:n}=Ir();return(0,Ip.jsx)(hr,{align:t,...r,children:e.map(({name:o,type:a,...s})=>(0,Ip.jsx)(ju,{isSubmitting:n,type:a,...s,onMouseDown:Ek,children:o},o))})};Wu.displayName="FormButtons_VHS";i();i();var Lv=require("react"),Wp=z(require("styled-components"));i();var xv={checkbox:{component:"FormConnectorCheckboxGroup",inputType:null},custom:{component:"FormConnectorCustomField",inputType:null},email:{component:"FormConnectorInput",inputType:"email"},hidden:{component:"FormConnectorHidden",inputType:"hidden"},multiline:{component:"FormConnectorInput",inputType:null},number:{component:"FormConnectorInput",inputType:"number"},password:{component:"FormConnectorInput",inputType:"password"},phone:{component:"FormConnectorInput",inputType:"tel"},radio:{component:"FormConnectorRadioGroup",inputType:null},search:{component:"FormConnectorInput",inputType:"search"},select:{component:"FormConnectorSelect",inputType:null},text:{component:"FormConnectorInput",inputType:"text"},time:{component:"FormConnectorInput",inputType:"time"},timePosition:{component:"FormConnectorInput",inputType:"text"},url:{component:"FormConnectorInput",inputType:"url"},richTextEditor:{component:"FormConnectorRichTextEditor",inputType:null}};i();i();var Ev=require("react/jsx-runtime"),Uu=({direction:e="column",disabled:t=!1,field:{name:r,value:n},form:{errors:o,setFieldValue:a},label:s,labelDescription:u,labelProps:l={},onChangeCustom:c,options:d=[]})=>{let h=(p,b)=>{a(b,p.target.checked)},m=(p,b)=>{let y=n;if(So(y))if(p.target.checked)y.push(b);else{let E=y.indexOf(b);E>-1&&y.splice(E,1)}a(b,y)},C=Array.isArray(n)&&d.length>1?m:h,v=Array.isArray(d)?d:[d];return(0,Ev.jsx)(Ta,{direction:e,disabled:t,error:M(o)?o[r]:void 0,label:s,labelDescription:u,labelProps:l,name:r,onChange:(p,b)=>{C(p,b),c&&c(p.target.checked)},options:v,value:n})};Uu.displayName="FormConnectorCheckboxGroup_VHS";i();i();var Lp=require("react/jsx-runtime"),_u=({customComponent:e,field:t,form:r,label:n="",labelDescription:o,labelProps:a={},...s})=>{let{name:u}=t,{errors:l}=r;return(0,Lp.jsx)(Dt,{error:ee(l)?l[u]:void 0,label:n,labelDescription:o,labelProps:a,name:u,children:(0,Lp.jsx)(e,{field:t,form:r,...s})})};_u.displayName="FormConnectorCustomField_VHS";i();i();i();i();var Oa=require("react"),Av=z(require("styled-components"));i();var vr=z(require("styled-components"));var wv=vr.css`
|
|
1615
1615
|
border-color: ${({theme:e})=>e.color.brandBlue500};
|
|
1616
1616
|
outline: none;
|
|
1617
|
-
`,
|
|
1617
|
+
`,wk=vr.css`
|
|
1618
1618
|
border-color: ${({theme:e})=>e.color.red500};
|
|
1619
1619
|
|
|
1620
1620
|
&:focus {
|
|
1621
1621
|
border-color: ${({theme:e})=>e.color.red600};
|
|
1622
1622
|
}
|
|
1623
|
-
`,
|
|
1623
|
+
`,Sk=vr.css`
|
|
1624
1624
|
-webkit-opacity: 0.5;
|
|
1625
1625
|
-webkit-text-fill-color: ${({theme:e})=>e.color.grey700};
|
|
1626
1626
|
color: ${({theme:e})=>e.color.grey900}; /* iOS */
|
|
@@ -1630,7 +1630,7 @@
|
|
|
1630
1630
|
&:focus {
|
|
1631
1631
|
border-color: ${({theme:e})=>e.color.grey300};
|
|
1632
1632
|
}
|
|
1633
|
-
`,
|
|
1633
|
+
`,Sv=vr.css`
|
|
1634
1634
|
border: dashed 1px ${({theme:e})=>e.color.grey400};
|
|
1635
1635
|
color: ${({theme:e})=>e.color.grey700};
|
|
1636
1636
|
outline: none;
|
|
@@ -1638,13 +1638,13 @@
|
|
|
1638
1638
|
&:focus {
|
|
1639
1639
|
border-color: ${({theme:e})=>e.color.grey300} !important;
|
|
1640
1640
|
}
|
|
1641
|
-
`,
|
|
1642
|
-
${
|
|
1641
|
+
`,Tk=vr.css`
|
|
1642
|
+
${Sv}
|
|
1643
1643
|
flex: 1;
|
|
1644
|
-
`,
|
|
1644
|
+
`,Ak=vr.css`
|
|
1645
1645
|
line-height: 20px;
|
|
1646
1646
|
min-height: 80px;
|
|
1647
|
-
`,
|
|
1647
|
+
`,Bk=vr.css`
|
|
1648
1648
|
background-color: white;
|
|
1649
1649
|
border: 1px solid ${({theme:e})=>e.color.grey400};
|
|
1650
1650
|
border-radius: 4px;
|
|
@@ -1672,7 +1672,7 @@
|
|
|
1672
1672
|
}
|
|
1673
1673
|
|
|
1674
1674
|
&:focus {
|
|
1675
|
-
${
|
|
1675
|
+
${wv}
|
|
1676
1676
|
}
|
|
1677
1677
|
|
|
1678
1678
|
/* Handle unwanted zoom into inputs on iOS devices
|
|
@@ -1691,16 +1691,16 @@
|
|
|
1691
1691
|
font-size: 16px;
|
|
1692
1692
|
}
|
|
1693
1693
|
}
|
|
1694
|
-
`,
|
|
1695
|
-
${
|
|
1696
|
-
${({as:e})=>e==="textarea"&&
|
|
1694
|
+
`,kp=vr.default.input`
|
|
1695
|
+
${Bk}
|
|
1696
|
+
${({as:e})=>e==="textarea"&&Ak};
|
|
1697
1697
|
${({as:e})=>e!=="textarea"&&Nt};
|
|
1698
|
-
${({clickToCopy:e})=>e&&
|
|
1699
|
-
${({disabled:e})=>e&&
|
|
1700
|
-
${({forceState:e})=>e==="focus"&&
|
|
1701
|
-
${({hasError:e})=>e&&
|
|
1702
|
-
${({readOnly:e})=>e&&
|
|
1703
|
-
`;i();var Ku=require("react"),Sn=z(require("styled-components"));var mo=require("react/jsx-runtime"),
|
|
1698
|
+
${({clickToCopy:e})=>e&&Tk};
|
|
1699
|
+
${({disabled:e})=>e&&Sk};
|
|
1700
|
+
${({forceState:e})=>e==="focus"&&wv};
|
|
1701
|
+
${({hasError:e})=>e&&wk};
|
|
1702
|
+
${({readOnly:e})=>e&&Sv};
|
|
1703
|
+
`;i();var Ku=require("react"),Sn=z(require("styled-components"));var mo=require("react/jsx-runtime"),Fk=Sn.css`
|
|
1704
1704
|
input {
|
|
1705
1705
|
cursor: pointer;
|
|
1706
1706
|
}
|
|
@@ -1708,14 +1708,14 @@
|
|
|
1708
1708
|
textarea {
|
|
1709
1709
|
cursor: pointer;
|
|
1710
1710
|
}
|
|
1711
|
-
`,
|
|
1711
|
+
`,Mk=Sn.default.div`
|
|
1712
1712
|
align-items: center;
|
|
1713
1713
|
display: flex;
|
|
1714
1714
|
position: relative;
|
|
1715
|
-
${({disabled:e})=>!e&&
|
|
1716
|
-
`,
|
|
1715
|
+
${({disabled:e})=>!e&&Fk}
|
|
1716
|
+
`,Ok=Sn.css`
|
|
1717
1717
|
cursor: not-allowed;
|
|
1718
|
-
`,
|
|
1718
|
+
`,Pk=Sn.css`
|
|
1719
1719
|
&:hover {
|
|
1720
1720
|
color: ${({theme:e})=>ot("4%",e.color.grey700)};
|
|
1721
1721
|
}
|
|
@@ -1727,15 +1727,15 @@
|
|
|
1727
1727
|
&:focus {
|
|
1728
1728
|
outline: none;
|
|
1729
1729
|
}
|
|
1730
|
-
`,
|
|
1730
|
+
`,Rk=(0,Sn.default)(Ve)`
|
|
1731
1731
|
color: ${({theme:e})=>e.color.grey700};
|
|
1732
1732
|
position: absolute;
|
|
1733
1733
|
right: ${({theme:e})=>`calc(${e.spacing.space02} + 1px)`}; /* space + border width */
|
|
1734
1734
|
transition: color 0.1s ease;
|
|
1735
|
-
${({disabled:e})=>e?
|
|
1736
|
-
`,
|
|
1735
|
+
${({disabled:e})=>e?Ok:Pk}
|
|
1736
|
+
`,Ik=(0,Sn.default)(Ie)`
|
|
1737
1737
|
${({disabled:e})=>e?"cursor: not-allowed;":"cursor: pointer;"}
|
|
1738
|
-
`,
|
|
1738
|
+
`,Lk=({onClick:e,disabled:t=!1})=>(0,mo.jsx)(Rk,{"aria-disabled":t,"aria-label":"Click to Copy",disabled:t,noStyle:!0,onClick:e,children:(0,mo.jsx)(Ik,{disabled:t,size:"md",type:"copy"})}),Tv=({inputComponent:e,inputProps:t})=>{let r=no(),[n,o]=(0,Ku.useState)(0),{value:a,disabled:s}=t,u=s??!1;(0,Ku.useEffect)(()=>{if(n>0){let m=setTimeout(()=>o(n-1),1e3);return()=>clearTimeout(m)}return()=>{}},[n]);let l=()=>{(async()=>u||(await _o(a),r({message:"Copied to clipboard"}),o(5)))()},c=n>0&&{forceState:"focus"},d={...t,...c},h={onClick:l,disabled:u,"aria-disabled":u};return(0,mo.jsxs)(Mk,{disabled:u,onClick:l,children:[(0,mo.jsx)(e,{...d}),(0,mo.jsx)(Lk,{...h})]})};i();var Gu=60,kk=e=>e.replace(/[^0-9:]/g,""),Nk=e=>e?Number.parseFloat(e):0,$k=(e,t,r)=>{let n=M(r)&&Number(r)>0?`${r}:`:"";return n+=`${t}:${e}`,n},Zk=e=>{let t=e.split(":"),[r,n,o]=t.reverse().map(h=>Nk(h)),a=0,s=0,u=0;M(r)&&(s=Math.floor(r/Gu),M(n)&&(s+=n)),M(r)&&(a=r%Gu);let l=a.toString();l.length===1&&(a=l.padStart(2,"0"));let c=ee(o)?o:0;u=Math.floor(s/Gu)+c,s%=Gu;let d=s.toString();return u&&d.length===1&&(s=d.padStart(2,"0")),$k(a,s,u)},Np=e=>{if(se(e)||!dt(e))return"0:00";let t=kk(e);return Zk(t)};var Ma=require("react/jsx-runtime"),Hk=new Set(["search"]),zk=Av.default.div`
|
|
1739
1739
|
position: relative;
|
|
1740
1740
|
|
|
1741
1741
|
svg {
|
|
@@ -1748,13 +1748,13 @@
|
|
|
1748
1748
|
}
|
|
1749
1749
|
|
|
1750
1750
|
width: ${({fullWidth:e})=>e?"100%":"auto"};
|
|
1751
|
-
|
|
1751
|
+
`,Vk=(e,t)=>M(e)?e:t==="search"?(0,Ma.jsx)(Ie,{size:"md",type:"search"}):null,Tn=(0,Oa.forwardRef)(({clickToCopy:e=!1,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,icon:a,iconPosition:s="end",innerRef:u,monospace:l=!1,onBlur:c,onChange:d,onFocus:h,onFocusToSelect:m,placeholder:C,readOnly:v=!1,required:p=!1,type:b="text",value:y,...E},B)=>{let A=(0,Oa.useRef)(null),I=eo([u,B,A]),D=b==="multiline"?"textarea":"input",T=v||e,V=M(a)||e||Hk.has(b);(0,Oa.useEffect)(()=>{b==="timePosition"&&M(A.current)&&(A.current.value=Np(y??0))},[b,y]);let X={"aria-invalid":o?"true":"false",as:D,clickToCopy:e,disabled:t,forceState:r,hasError:o,hasIcon:V,iconPosition:b==="search"?"start":s,monospace:l,onBlur:Z=>{b==="timePosition"&&M(A.current)&&(A.current.value=Np(Z.target.value)),c&&c(Z)},onChange:d,onFocus:Z=>{m&&(Z.target.select(),m(Z)),h&&h(Z)},placeholder:C,readOnly:T,ref:I,required:p,type:b},N={value:Ot(y),...X,...E},$={value:y,...X,...E};return e?(0,Ma.jsx)(Tv,{inputComponent:kp,inputProps:N}):(0,Ma.jsxs)(zk,{disabled:t,fullWidth:n,iconPosition:$.iconPosition,children:[(0,Ma.jsx)(kp,{...$}),Vk(a,b)]})});Tn.displayName="Input_VHS";var $p=require("react/jsx-runtime"),jk=new Set(["text","multiline","url","email"]),qu=({disabled:e,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:a,setFieldValue:s},label:u,labelDescription:l,labelProps:c,onChangeCustom:d,placeholder:h,type:m,onFocusToSelectValue:C,...v})=>{let p=E=>{n(E),d&&d(E.target.value)},b=E=>{if(o(E),jk.has(m)){let B=(E.target.value||"").trim();s(t,B)}},y=r===C?()=>{}:void 0;return(0,$p.jsx)(Dt,{disabled:e,error:ee(a)?a[t]:void 0,label:u,labelDescription:l,labelProps:c,name:t,children:(0,$p.jsx)(Tn,{"data-testid":`input-${t}`,disabled:e,name:t,onBlur:b,onChange:p,onFocusToSelect:y,placeholder:h,type:m,value:r,...v})})};qu.displayName="FormConnectorInput_VHS";i();i();i();i();var Bv=z(require("styled-components"));i();i();var Pa=require("react");var Hr=require("react/jsx-runtime"),Ra=(0,Pa.forwardRef)(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:a,label:s,labelDescription:u,name:l,onChange:c,value:d="false",...h},m)=>{let[C,v]=(0,Pa.useState)(!1);return(0,Hr.jsxs)(Ru,{ref:m,direction:t,disabled:r,forceState:n,hasError:o,isFocused:C,children:[(0,Hr.jsx)(Mu,{"aria-checked":e,checked:e,"data-testid":"radio-option-wrapper",disabled:r,id:a,name:l,onBlur:()=>v(!1),onChange:c,onFocus:()=>v(!0),role:"radio",type:"radio",value:d,...h}),(0,Hr.jsxs)(Ou,{children:[(0,Hr.jsx)(Hr.Fragment,{children:s}),M(u)||(0,Pa.isValidElement)(u)?(0,Hr.jsx)(Pu,{"data-testid":"radio-option-sub-label",children:u}):null]})]})});Ra.displayName="Radio_VHS";var Xu=require("react/jsx-runtime"),Wk=Bv.default.div`
|
|
1752
1752
|
display: flex;
|
|
1753
1753
|
flex-direction: ${({direction:e})=>e==="row"?"row":"column"};
|
|
1754
1754
|
gap: ${({direction:e,theme:t})=>e==="row"?t.spacing.space04:t.spacing.space01};
|
|
1755
|
-
`,
|
|
1755
|
+
`,Ia=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:a={},name:s,onChange:u,options:l,value:c,...d})=>(0,Xu.jsx)(Dt,{disabled:t,error:r,label:n,labelDescription:o,labelProps:a,labelType:"legend",name:s,role:"radiogroup",...d,children:(0,Xu.jsx)(Wk,{direction:e,children:l.map(h=>(0,Xu.jsx)(Ra,{checked:c===h.value,direction:e,disabled:t,labelDescription:h.labelDescription,name:s,onChange:m=>M(u)?u(m,h.value):void 0,...h},h.value))})});Ia.displayName="RadioGroup_VHS";var Fv=require("react/jsx-runtime"),Yu=({direction:e="column",disabled:t=!1,field:{name:r},form:{errors:n,values:o,setFieldValue:a},label:s="",labelDescription:u,labelProps:l={},onChangeCustom:c,options:d})=>{let h=(m,C)=>{a(r,C)};return(0,Fv.jsx)(Ia,{direction:e,disabled:t,error:n[r],label:s,labelDescription:u,labelProps:l,name:r,onChange:(m,C)=>{h(m,C),c&&c(C)},options:d,value:o[r]})};Yu.displayName="FormConnectorRadioGroup_VHS";i();i();i();i();var Ov=require("react"),Ju=z(require("styled-components"));i();var La=z(require("styled-components"));var Mv=La.css`
|
|
1756
1756
|
border: 1px solid ${({theme:e})=>e.color.brandBlue500};
|
|
1757
|
-
`,
|
|
1757
|
+
`,Uk=La.css`
|
|
1758
1758
|
color: ${({theme:e})=>e.color.grey900};
|
|
1759
1759
|
cursor: not-allowed;
|
|
1760
1760
|
opacity: 0.5;
|
|
@@ -1762,9 +1762,9 @@
|
|
|
1762
1762
|
&:focus {
|
|
1763
1763
|
border-color: ${({theme:e})=>e.color.grey300};
|
|
1764
1764
|
}
|
|
1765
|
-
`,
|
|
1765
|
+
`,_k=La.css`
|
|
1766
1766
|
border: 1px solid ${({theme:e})=>e.color.red500};
|
|
1767
|
-
`,
|
|
1767
|
+
`,Zp=La.default.select`
|
|
1768
1768
|
${Nt}
|
|
1769
1769
|
appearance: none;
|
|
1770
1770
|
background-color: white;
|
|
@@ -1787,7 +1787,7 @@
|
|
|
1787
1787
|
width: 100%;
|
|
1788
1788
|
|
|
1789
1789
|
&:focus {
|
|
1790
|
-
${
|
|
1790
|
+
${Mv}
|
|
1791
1791
|
}
|
|
1792
1792
|
|
|
1793
1793
|
/* this removes a dotted border around select text when focusing in Firefox */
|
|
@@ -1801,15 +1801,15 @@
|
|
|
1801
1801
|
display: none;
|
|
1802
1802
|
}
|
|
1803
1803
|
|
|
1804
|
-
${({disabled:e})=>e&&
|
|
1805
|
-
${({hasError:e})=>e&&
|
|
1806
|
-
${({forceState:e})=>e==="focus"&&
|
|
1807
|
-
`;var ho=require("react/jsx-runtime")
|
|
1804
|
+
${({disabled:e})=>e&&Uk}
|
|
1805
|
+
${({hasError:e})=>e&&_k}
|
|
1806
|
+
${({forceState:e})=>e==="focus"&&Mv};
|
|
1807
|
+
`;var ho=require("react/jsx-runtime"),Hp=(e,t,r)=>t?e.color.grey300:r?e.color.brandBlue500:e.color.grey700,Kk=Ju.default.div`
|
|
1808
1808
|
position: relative;
|
|
1809
1809
|
|
|
1810
1810
|
/* svg here is referring to the caret that appears on the left */
|
|
1811
1811
|
svg {
|
|
1812
|
-
color: ${({theme:e,disabled:t})
|
|
1812
|
+
color: ${({theme:e,disabled:t})=>Hp(e,t,!1)};
|
|
1813
1813
|
cursor: pointer;
|
|
1814
1814
|
pointer-events: none;
|
|
1815
1815
|
position: absolute;
|
|
@@ -1818,19 +1818,19 @@
|
|
|
1818
1818
|
|
|
1819
1819
|
/* fakes the focus state of the svg for documentation purposes */
|
|
1820
1820
|
${({theme:e,forceState:t})=>t==="focus"&&Ju.css`
|
|
1821
|
-
color: ${
|
|
1821
|
+
color: ${Hp(e,!1,!0)};
|
|
1822
1822
|
`}
|
|
1823
1823
|
}
|
|
1824
1824
|
|
|
1825
1825
|
/* match border focus color */
|
|
1826
|
-
${
|
|
1827
|
-
color: ${({theme:e})
|
|
1826
|
+
${Zp}:focus + svg {
|
|
1827
|
+
color: ${({theme:e})=>Hp(e,!1,!0)};
|
|
1828
1828
|
}
|
|
1829
1829
|
|
|
1830
1830
|
width: ${({fullWidth:e})=>e?"100%":"auto"};
|
|
1831
|
-
`,
|
|
1831
|
+
`,zp=(e,t,r)=>{let n=({groupLabel:o,groupOptions:a,disabled:s=!1})=>(0,ho.jsx)("optgroup",{"data-testid":o,disabled:s,label:o,children:zp(a)},o);return e.map(o=>{if(Object.hasOwn(o,"groupLabel"))return n(o);let{label:a,value:s,disabled:u=!1}=o,l=pe(r)?o[r]:s,c=pe(t)?o[t]:a;return y1(l)&&(l=Ot(l)),(0,ho.jsx)("option",{disabled:u,value:l,children:c},`${Ot(c)}--${Ot(l)}`)})},Gk=(e,t,r)=>M(e)&&!r?zp([{label:e,value:"",disabled:t}]):null,qk=e=>e?null:(0,ho.jsx)(Ie,{size:"md",type:"caret-down"}),zr=(0,Ov.forwardRef)(({ariaLabel:e,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,labelName:a="label",multiple:s=!1,options:u,placeholder:l="Please select...",preventPlaceholderSelection:c=!1,required:d=!1,valueName:h="value",...m},C)=>(0,ho.jsxs)(Kk,{disabled:t,forceState:r,fullWidth:n,children:[(0,ho.jsxs)(Zp,{ref:C,"aria-invalid":o?"true":"false","aria-label":e,disabled:t,forceState:r,hasError:o,multiple:s,required:d,...m,children:[Gk(l,c,s),zp(u,a,h)]}),qk(s)]}));zr.displayName="Select_VHS";var Vp=require("react/jsx-runtime"),Qu=({disabled:e=!1,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:a},label:s,labelDescription:u,labelProps:l={},options:c,placeholder:d,onChangeCustom:h,...m})=>{let C=v=>se(v)?"":y1(v)?Ot(r):v;return(0,Vp.jsx)(Dt,{disabled:e,error:a[t],label:s,labelDescription:u,labelProps:l,name:t,children:(0,Vp.jsx)(zr,{"data-testid":`select-${t}`,disabled:e,name:t,onBlur:o,onChange:v=>{n(v),h&&h(v.target.value)},options:c,placeholder:d,value:C(r),...m})})};Qu.displayName="FormConnectorSelect_VHS";i();i();var Pv=require("react");var Rv=require("react/jsx-runtime"),el=({field:{name:e,value:t,onChange:r},form:{setFieldValue:n}={},onChangeCustom:o,valueState:a="",...s})=>((0,Pv.useEffect)(()=>{!a&&se(t)||a!==t&&ee(n)&&n(e,a)},[n,e,a,t]),(0,Rv.jsx)(Tn,{"data-testid":`input-${e}`,name:e,onChange:u=>{r(u),ee(o)&&o(u.target.value)},type:"hidden",value:se(t)?"":t,...s}));el.displayName="FormConnectorHidden_VHS";i();i();var rl=require("react"),Iv=z(require("styled-components"));var tl=require("react/jsx-runtime"),Xk=Iv.default.div`
|
|
1832
1832
|
margin-top: ${({theme:e})=>e.spacing.space02};
|
|
1833
|
-
`,nl=({field:{name:e,value:t,onChange:r},form:{errors:n},label:o,labelDescription:a,labelProps:s={},placeholder:u="",disabled:l=!1,enabledFormats:c=Object.values(ze),useExternalValue:d=!1,...h})=>{let[m,
|
|
1833
|
+
`,nl=({field:{name:e,value:t,onChange:r},form:{errors:n},label:o,labelDescription:a,labelProps:s={},placeholder:u="",disabled:l=!1,enabledFormats:c=Object.values(ze),useExternalValue:d=!1,...h})=>{let[m,C]=(0,rl.useState)($o(Ot(t))),v=ee(o)?`${e}-label-id`:void 0;return(0,rl.useEffect)(()=>{d&&C($o(Ot(t)))},[d,t]),(0,tl.jsx)(Dt,{disabled:l,error:n[e],label:o,labelDescription:a,labelId:v,labelProps:s,name:e,children:(0,tl.jsx)(Xk,{"data-testid":`richTextEditor-${e}`,children:(0,tl.jsx)(Uo,{ariaLabelledBy:v,disabled:l,enabledFormats:c,onChange:p=>{C(p);let b=en(p)??"";r(e)(b)},placeholder:u,useExternalValue:d,value:m,...h})})})};nl.displayName="FormConnectorRichTextEditor_VHS";var jp=require("react/jsx-runtime"),Yk=Wp.default.fieldset`
|
|
1834
1834
|
border: 0;
|
|
1835
1835
|
flex-grow: 1;
|
|
1836
1836
|
margin: ${({theme:e})=>`0 0 ${e.spacing.space05}`};
|
|
@@ -1842,9 +1842,9 @@
|
|
|
1842
1842
|
pointer-events: none;
|
|
1843
1843
|
}
|
|
1844
1844
|
}
|
|
1845
|
-
`,
|
|
1845
|
+
`,Jk=(0,Wp.default)(Ih)`
|
|
1846
1846
|
resize: ${({resize:e})=>e};
|
|
1847
|
-
`,
|
|
1847
|
+
`,Qk={FormConnectorCheckboxGroup:Uu,FormConnectorCustomField:_u,FormConnectorInput:qu,FormConnectorRadioGroup:Yu,FormConnectorSelect:Qu,FormConnectorHidden:el,FormConnectorRichTextEditor:nl},ol=(0,Lv.forwardRef)(({resize:e="vertical",customComponent:t,direction:r="column",disabled:n=!1,label:o,labelDescription:a,labelProps:s={},name:u="",onChangeCustom:l,options:c,placeholder:d=null,type:h="text",...m},C)=>(0,jp.jsx)(Yk,{disabled:n,id:`fieldset-${u}`,children:(0,jp.jsx)(Jk,{component:Qk[xv[h].component],customComponent:t,direction:r,disabled:n,id:`field-${u}`,innerRef:C,label:o,labelDescription:a,labelProps:s,name:u,onChangeCustom:l,options:c,placeholder:d,resize:e,type:h,...m})}));ol.displayName="FormField_VHS";i();i();var kv=z(require("styled-components"));var ka=require("react/jsx-runtime"),eN=(0,kv.default)(Ve)`
|
|
1848
1848
|
color: ${({theme:e})=>e.color.grey700};
|
|
1849
1849
|
height: 42px;
|
|
1850
1850
|
position: fixed;
|
|
@@ -1855,22 +1855,22 @@
|
|
|
1855
1855
|
:hover {
|
|
1856
1856
|
color: ${({theme:e})=>e.color.grey900};
|
|
1857
1857
|
}
|
|
1858
|
-
`,al=({content:e,toggle:t,backgroundColor:r,initialShownState:n=!1,onBeforeHide:o,onHide:a})=>{let s=ke("grey100");return(0,ka.jsx)(xn,{initialShownState:n,onBeforeHide:o,onHide:a,render:u=>(0,ka.jsxs)($t,{backgroundColor:pe(r)?r:s,children:[(0,ka.jsx)(
|
|
1858
|
+
`,al=({content:e,toggle:t,backgroundColor:r,initialShownState:n=!1,onBeforeHide:o,onHide:a})=>{let s=ke("grey100");return(0,ka.jsx)(xn,{initialShownState:n,onBeforeHide:o,onHide:a,render:u=>(0,ka.jsxs)($t,{backgroundColor:pe(r)?r:s,children:[(0,ka.jsx)(eN,{noStyle:!0,onClick:u,title:"Close",children:(0,ka.jsx)(ku,{})}),e(u)]}),toggle:t})};al.displayName="FullScreenModal_VHS";i();i();var Nv=z(require("styled-components")),$v=require("react/jsx-runtime"),tN=e=>{if(e==="horizontal")return"width: 100%;";if(e==="vertical")return"height: 100%;";if(e===!0)return`
|
|
1859
1859
|
width: 100%;
|
|
1860
1860
|
height: 100%;
|
|
1861
|
-
`},
|
|
1862
|
-
${({fillContainer:e})=>
|
|
1861
|
+
`},rN=Nv.default.img`
|
|
1862
|
+
${({fillContainer:e})=>tN(e)};
|
|
1863
1863
|
object-fit: ${({objFit:e})=>e};
|
|
1864
1864
|
object-position: ${({objPosition:e})=>e};
|
|
1865
|
-
`,il=({src:e,alt:t,fill:r=!1,fit:n,loading:o="lazy",position:a,...s})=>(0
|
|
1865
|
+
`,il=({src:e,alt:t,fill:r=!1,fit:n,loading:o="lazy",position:a,...s})=>(0,$v.jsx)(rN,{alt:t,fillContainer:r,loading:o,objFit:n,objPosition:a,src:e,...s});il.displayName="Image_VHS";i();i();i();var Zv=require("react"),Hv=z(require("styled-components"));var zv=require("react/jsx-runtime"),nN=13,oN=32,aN=e=>e.key==="Enter"||e.key===" "||e.key==="Spacebar"||e.which===nN||e.which===oN,iN=Hv.default.span`
|
|
1866
1866
|
${({noStyle:e})=>e?void 0:Au};
|
|
1867
1867
|
|
|
1868
1868
|
&[tabindex] {
|
|
1869
1869
|
${({underlineOnHover:e})=>e?Tu:void 0};
|
|
1870
1870
|
}
|
|
1871
|
-
`,sl=(0,
|
|
1871
|
+
`,sl=(0,Zv.forwardRef)(({children:e,disabled:t=!1,forceState:r,label:n,onClick:o,noStyle:a=!1,underlineOnHover:s=!1,variant:u="primary",...l},c)=>(0,zv.jsx)(iN,{ref:c,"aria-disabled":t,disabledLink:t,forceState:r,noStyle:a,onClick:v=>{se(o)||t||o(v)},onKeyPress:v=>{se(o)||aN(v)&&(v.preventDefault(),o(v))},role:"button",tabIndex:t?void 0:0,underlineOnHover:s,variant:u,...l,children:(()=>M(e)?e:M(n)?n:null)()}));sl.displayName="LinkButton_VHS";i();i();var Bn=z(require("styled-components"));i();var Vv=z(require("styled-components"));var jv=require("react/jsx-runtime"),sN=Vv.default.li`
|
|
1872
1872
|
margin-bottom: ${({theme:e})=>e.spacing.space02};
|
|
1873
|
-
`,An=({children:e})=>se(e)?null:(0,
|
|
1873
|
+
`,An=({children:e})=>se(e)?null:(0,jv.jsx)(sN,{children:e});An.displayName="ListItem_VHS";var s1=require("react/jsx-runtime"),ul=Bn.css`
|
|
1874
1874
|
overflow: hidden;
|
|
1875
1875
|
padding-left: 0;
|
|
1876
1876
|
vertical-align: bottom;
|
|
@@ -1891,7 +1891,7 @@
|
|
|
1891
1891
|
}
|
|
1892
1892
|
}
|
|
1893
1893
|
}
|
|
1894
|
-
`,
|
|
1894
|
+
`,uN=Bn.css`
|
|
1895
1895
|
${ul};
|
|
1896
1896
|
|
|
1897
1897
|
li {
|
|
@@ -1900,7 +1900,7 @@
|
|
|
1900
1900
|
padding-right: ${({theme:e})=>e.spacing.space01};
|
|
1901
1901
|
}
|
|
1902
1902
|
}
|
|
1903
|
-
`,
|
|
1903
|
+
`,lN=Bn.css`
|
|
1904
1904
|
${ul};
|
|
1905
1905
|
|
|
1906
1906
|
li {
|
|
@@ -1910,7 +1910,7 @@
|
|
|
1910
1910
|
padding-right: ${({theme:e})=>e.spacing.space01};
|
|
1911
1911
|
}
|
|
1912
1912
|
}
|
|
1913
|
-
`,
|
|
1913
|
+
`,cN=Bn.css`
|
|
1914
1914
|
${ul};
|
|
1915
1915
|
|
|
1916
1916
|
li {
|
|
@@ -1920,18 +1920,18 @@
|
|
|
1920
1920
|
padding-right: ${({theme:e})=>e.spacing.space01};
|
|
1921
1921
|
}
|
|
1922
1922
|
}
|
|
1923
|
-
`,
|
|
1923
|
+
`,fN=Bn.css`
|
|
1924
1924
|
list-style: none;
|
|
1925
1925
|
padding-left: 0;
|
|
1926
|
-
`,
|
|
1926
|
+
`,pN=Bn.default.ul`
|
|
1927
1927
|
list-style-position: outside;
|
|
1928
1928
|
margin: ${({theme:e})=>`0 0 ${e.spacing.space01}`};
|
|
1929
1929
|
padding: ${({theme:e})=>`0 0 0 ${e.spacing.space04}`};
|
|
1930
|
-
${({variant:e})=>e==="unbulleted"&&
|
|
1930
|
+
${({variant:e})=>e==="unbulleted"&&fN};
|
|
1931
1931
|
${({variant:e})=>e==="spaces"&&ul};
|
|
1932
|
-
${({variant:e})=>e==="commas"&&
|
|
1933
|
-
${({variant:e})=>e==="slashes"&&
|
|
1934
|
-
${({variant:e})=>e==="breadcrumbs"&&
|
|
1932
|
+
${({variant:e})=>e==="commas"&&uN};
|
|
1933
|
+
${({variant:e})=>e==="slashes"&&lN};
|
|
1934
|
+
${({variant:e})=>e==="breadcrumbs"&&cN};
|
|
1935
1935
|
|
|
1936
1936
|
> li:last-child {
|
|
1937
1937
|
margin-bottom: 0;
|
|
@@ -1947,23 +1947,23 @@
|
|
|
1947
1947
|
li ol {
|
|
1948
1948
|
margin-bottom: 0;
|
|
1949
1949
|
}
|
|
1950
|
-
`,
|
|
1950
|
+
`,Wv=(e,t,{...r})=>(0,s1.jsx)(pN,{as:t==="ordered"?"ol":"ul",variant:t,...r,children:e}),Uv=(e,t,r)=>{let n=0,o=e.map((a,s)=>{let u=a,l=e[s+1],c=`item-${n+=1}`;return Array.isArray(l)?(0,s1.jsxs)(An,{children:[u,Uv(l,t,r)]},c):Array.isArray(u)?null:(0,s1.jsx)(An,{children:u},c)});return Wv(o,t,r)},Na=({children:e,items:t,variant:r,...n})=>{let o=r??"bullets";return M(e)?Array.isArray(e)&&!e.length?null:Wv(e,o,n):M(t)&&t.length?Uv(t,o,n):null};Na.displayName="List_VHS";i();i();var ll=z(require("styled-components"));var u1=require("react/jsx-runtime"),dN=e=>{if(e==="bottom")return"flex-end";if(e==="middle")return"center";if(e==="top")return"flex-start"},_v=ll.default.div`
|
|
1951
1951
|
align-items: flex-start;
|
|
1952
1952
|
display: flex;
|
|
1953
1953
|
flex-direction: row;
|
|
1954
1954
|
position: relative;
|
|
1955
|
-
`,
|
|
1955
|
+
`,mN=ll.default.div`
|
|
1956
1956
|
align-self: ${({align:e})=>e==="middle"?"center":null};
|
|
1957
1957
|
flex-grow: 1;
|
|
1958
1958
|
flex-shrink: 1;
|
|
1959
1959
|
min-width: 0;
|
|
1960
1960
|
|
|
1961
1961
|
/* this allows deeply nested media objects to have a little separation */
|
|
1962
|
-
> ${
|
|
1962
|
+
> ${_v} {
|
|
1963
1963
|
margin-top: 1rem;
|
|
1964
1964
|
}
|
|
1965
|
-
`,
|
|
1966
|
-
align-self: ${({align:e})=>
|
|
1965
|
+
`,hN=ll.default.div`
|
|
1966
|
+
align-self: ${({align:e})=>dN(e)};
|
|
1967
1967
|
flex-grow: 0;
|
|
1968
1968
|
flex-shrink: 0;
|
|
1969
1969
|
margin-left: ${({placement:e,gap:t})=>e==="left"?0:t};
|
|
@@ -1975,20 +1975,20 @@
|
|
|
1975
1975
|
which in turn throws off perfect centering */
|
|
1976
1976
|
vertical-align: bottom;
|
|
1977
1977
|
}
|
|
1978
|
-
`,cl=({placement:e="left",align:t="top",gap:r="1.5rem",item:n,children:o,...a})=>(0,
|
|
1978
|
+
`,cl=({placement:e="left",align:t="top",gap:r="1.5rem",item:n,children:o,...a})=>(0,u1.jsxs)(_v,{...a,children:[M(n)?(0,u1.jsx)(hN,{align:t,gap:r,placement:e,children:n}):null,(0,u1.jsx)(mN,{align:t,children:o})]});cl.displayName="MediaObject_VHS";i();i();var zt=require("react");var Ha=z(require("styled-components"));i();i();var go=require("react"),Za=z(require("styled-components"));var Vr=require("react/jsx-runtime"),Gv=["fullWidth","maxItem"],$a="8px",qv="0.08",gN=e=>Gv.includes(e)?null:e,vN=Za.default.div`
|
|
1979
1979
|
background: white;
|
|
1980
1980
|
border-radius: 4px 4px 0 0;
|
|
1981
1981
|
box-shadow: ${({theme:e})=>e.shadow.elevation2};
|
|
1982
1982
|
display: ${({menuWidth:e})=>e==="maxItem"?"inline-block":"block"};
|
|
1983
1983
|
padding: ${$a} ${$a} ${({theme:e})=>e.spacing.space04} ${$a};
|
|
1984
|
-
width: ${({menuWidth:e})=>
|
|
1984
|
+
width: ${({menuWidth:e})=>gN(e)};
|
|
1985
1985
|
z-index: ${({theme:e})=>e.zIndex.MenuComponent};
|
|
1986
1986
|
|
|
1987
1987
|
${Re.smAndUp} {
|
|
1988
1988
|
border-radius: 4px;
|
|
1989
1989
|
padding: ${$a};
|
|
1990
1990
|
}
|
|
1991
|
-
`,
|
|
1991
|
+
`,CN=Za.css`
|
|
1992
1992
|
/* stylelint-disable no-descending-specificity */
|
|
1993
1993
|
button,
|
|
1994
1994
|
a {
|
|
@@ -1998,11 +1998,11 @@
|
|
|
1998
1998
|
}
|
|
1999
1999
|
|
|
2000
2000
|
&:focus {
|
|
2001
|
-
background-color: ${({theme:e})=>ot(
|
|
2001
|
+
background-color: ${({theme:e})=>ot(qv,e.color.red100)};
|
|
2002
2002
|
color: ${({theme:e})=>e.color.red600};
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
2005
|
-
`,
|
|
2005
|
+
`,bN=Za.css`
|
|
2006
2006
|
button,
|
|
2007
2007
|
a {
|
|
2008
2008
|
background-color: transparent;
|
|
@@ -2017,7 +2017,7 @@
|
|
|
2017
2017
|
opacity: 1;
|
|
2018
2018
|
}
|
|
2019
2019
|
}
|
|
2020
|
-
`,
|
|
2020
|
+
`,Kv=Za.default.div`
|
|
2021
2021
|
/* divider */
|
|
2022
2022
|
hr {
|
|
2023
2023
|
border-top: 1px solid ${({theme:e})=>e.color.grey300};
|
|
@@ -2071,33 +2071,33 @@
|
|
|
2071
2071
|
}
|
|
2072
2072
|
|
|
2073
2073
|
&:focus {
|
|
2074
|
-
background-color: ${({theme:e})=>ot(
|
|
2074
|
+
background-color: ${({theme:e})=>ot(qv,e.color.grey200)};
|
|
2075
2075
|
}
|
|
2076
2076
|
}
|
|
2077
2077
|
|
|
2078
2078
|
/* Precedence boost: https://styled-components.com/docs/basics#pseudoelements-pseudoselectors-and-nesting */
|
|
2079
2079
|
&& {
|
|
2080
|
-
${({variant:e})=>e==="dangerous"?
|
|
2081
|
-
${({disabled:e})=>M(e)&&e?
|
|
2080
|
+
${({variant:e})=>e==="dangerous"?CN:null}
|
|
2081
|
+
${({disabled:e})=>M(e)&&e?bN:null}
|
|
2082
2082
|
}
|
|
2083
|
-
`,fl=(0,go.forwardRef)(({items:e,menuHeader:t,width:r="fullWidth",onClick:n,onClickOutside:o,onPressEsc:a,onOpen:s,onClose:u,...l},c)=>{let d=(0,go.useRef)(),h=M(o)?o:()=>{};to(d,h);let m=eo([d,c]);if((0,go.useEffect)(()=>(s&&s(),()=>{u&&u()}),[s,u]),(0,go.useEffect)(()=>{let p=
|
|
2083
|
+
`,fl=(0,go.forwardRef)(({items:e,menuHeader:t,width:r="fullWidth",onClick:n,onClickOutside:o,onPressEsc:a,onOpen:s,onClose:u,...l},c)=>{let d=(0,go.useRef)(),h=M(o)?o:()=>{};to(d,h);let m=eo([d,c]);if((0,go.useEffect)(()=>(s&&s(),()=>{u&&u()}),[s,u]),(0,go.useEffect)(()=>{let p=b=>{b.key==="Escape"&&a&&a(b)};return document.addEventListener("keyup",p),()=>{document.removeEventListener("keyup",p)}},[a]),e?.length==null)return null;let C=e.map(p=>{let{disabled:b,variant:y}=p.props,E=M(b)?b:!1,B=pe(y)?y:void 0,A=`wrapper-${p.key}`;return(0,Vr.jsx)(Kv,{disabled:E,variant:B,children:p},A)});return(0,Vr.jsxs)(vN,{ref:m,menuWidth:r,onClick:n,...l,children:[M(t)?(0,Vr.jsxs)(Vr.Fragment,{children:[t,(0,Vr.jsx)(Kv,{children:(0,Vr.jsx)(Aa,{})})]}):null,C]})});fl.displayName="Menu_VHS";i();var Up=z(require("styled-components"));var l1=require("react/jsx-runtime"),yN=Up.default.div`
|
|
2084
2084
|
align-items: center;
|
|
2085
2085
|
display: flex;
|
|
2086
2086
|
gap: ${({theme:e})=>e.spacing.space02};
|
|
2087
2087
|
justify-content: space-between;
|
|
2088
2088
|
padding: ${({theme:e})=>e.spacing.space02};
|
|
2089
|
-
`,
|
|
2089
|
+
`,DN=Up.default.span`
|
|
2090
2090
|
color: ${({theme:e})=>e.color.grey900};
|
|
2091
2091
|
font-size: 20px;
|
|
2092
2092
|
font-weight: 700;
|
|
2093
2093
|
line-height: 24px;
|
|
2094
|
-
`,
|
|
2094
|
+
`,Xv=({label:e,onCloseClick:t,overrideMenuHeader:r=void 0})=>(0,l1.jsxs)(yN,{children:[M(r)?r:(0,l1.jsx)(DN,{children:e||"Menu"}),(0,l1.jsx)(va,{onClick:t})]});var Fn=require("react/jsx-runtime"),Yv=8,xN=Ha.css`
|
|
2095
2095
|
bottom: 0;
|
|
2096
|
-
margin-bottom: ${({dropdownButtonHeight:e})=>e+
|
|
2097
|
-
`,
|
|
2098
|
-
margin-top: ${({dropdownButtonHeight:e})=>e+
|
|
2096
|
+
margin-bottom: ${({dropdownButtonHeight:e})=>e+Yv}px;
|
|
2097
|
+
`,EN=Ha.css`
|
|
2098
|
+
margin-top: ${({dropdownButtonHeight:e})=>e+Yv}px;
|
|
2099
2099
|
top: 0;
|
|
2100
|
-
`,
|
|
2100
|
+
`,wN=(0,Ha.default)(fl)`
|
|
2101
2101
|
animation-duration: ${({theme:e})=>e.duration.productive.fast};
|
|
2102
2102
|
animation-timing-function: ${({theme:e})=>e.easing.entrance.productive};
|
|
2103
2103
|
bottom: 0;
|
|
@@ -2113,9 +2113,9 @@
|
|
|
2113
2113
|
position: absolute;
|
|
2114
2114
|
width: initial;
|
|
2115
2115
|
${({menuAlignment:e})=>e==="left"?"left: 0;":"left: unset; right: 0"};
|
|
2116
|
-
${({menuPosition:e})=>e==="above"?
|
|
2116
|
+
${({menuPosition:e})=>e==="above"?xN:EN};
|
|
2117
2117
|
}
|
|
2118
|
-
`,
|
|
2118
|
+
`,SN=Ha.default.div`
|
|
2119
2119
|
align-items: stretch;
|
|
2120
2120
|
display: inline-flex;
|
|
2121
2121
|
flex-direction: column;
|
|
@@ -2123,25 +2123,25 @@
|
|
|
2123
2123
|
|
|
2124
2124
|
/* prevent dropdown button from wrapping underneath main button */
|
|
2125
2125
|
position: relative;
|
|
2126
|
-
`,pl=({label:e,menuAlignment:t="right",menuItems:r,menuPosition:n="below",menuWidth:o="maxItem",onMenuClick:a,disabled:s=!1,iconButtonComponent:u,overrideMenuHeader:l,size:c="lg",...d})=>{let[h,m,,
|
|
2126
|
+
`,pl=({label:e,menuAlignment:t="right",menuItems:r,menuPosition:n="below",menuWidth:o="maxItem",onMenuClick:a,disabled:s=!1,iconButtonComponent:u,overrideMenuHeader:l,size:c="lg",...d})=>{let[h,m,,C]=$i(!1),[v,p]=(0,zt.useState)(!1),[b,y]=(0,zt.useState)(0),E=(0,zt.useRef)(null),{isXsAndDown:B}=Ui();(0,zt.useLayoutEffect)(()=>{E.current&&y(E.current.offsetHeight)},[E]);let A=V=>{!h||M(V)&&Kr(E.current?.contains(V.target))||(C(),E.current?.focus())},I=(0,zt.useCallback)(()=>{p(!0),m()},[m]),D=(0,zt.useCallback)(V=>{a&&a(V),I()},[a,I]),T=()=>(0,Fn.jsx)(Ve,{ref:E,"aria-expanded":h,disabled:s,forceState:h?"active":void 0,iconName:"caret-down",iconPosition:"end",label:e,onClick:D,size:c,...d});return M(u)&&(T=()=>(0,zt.cloneElement)(u,{label:e,onClick:D,ref:E,disabled:s,"aria-expanded":h,...d})),(0,Fn.jsxs)(SN,{children:[(0,Fn.jsx)(T,{}),(0,Fn.jsx)(wN,{dropdownButtonHeight:b,isMenuVisible:h,items:v?r:[],menuAlignment:t,menuHeader:B?(0,Fn.jsx)(Xv,{label:e,onCloseClick:A,overrideMenuHeader:l}):null,menuPosition:n,onClick:A,onClickOutside:A,onPressEsc:A,width:o}),B&&h?(0,Fn.jsx)($t,{}):null]})};pl.displayName="MenuButton_VHS";i();i();var Jv=z(require("styled-components")),_p=Jv.default.div`
|
|
2127
2127
|
background-color: white;
|
|
2128
2128
|
border-radius: 8px;
|
|
2129
2129
|
box-shadow: ${({theme:e})=>e.shadow.elevation1};
|
|
2130
|
-
`;i();i();var
|
|
2130
|
+
`;i();i();var c1=z(require("styled-components")),za=require("react/jsx-runtime"),Kp="8px",TN=c1.default.div`
|
|
2131
2131
|
display: flex;
|
|
2132
|
-
`,
|
|
2132
|
+
`,AN=c1.default.div`
|
|
2133
2133
|
align-self: center;
|
|
2134
2134
|
background: ${({theme:e})=>e.color.grey300};
|
|
2135
|
-
border-radius: ${
|
|
2135
|
+
border-radius: ${Kp};
|
|
2136
2136
|
flex: 1;
|
|
2137
|
-
height: ${
|
|
2138
|
-
`,
|
|
2137
|
+
height: ${Kp};
|
|
2138
|
+
`,BN=c1.default.div`
|
|
2139
2139
|
background: ${({theme:e,colorOverride:t})=>t??e.color.brandBlue500};
|
|
2140
|
-
border-radius: ${
|
|
2140
|
+
border-radius: ${Kp};
|
|
2141
2141
|
height: 100%;
|
|
2142
2142
|
transition: width 0.2s ease-out;
|
|
2143
2143
|
width: ${({progress:e})=>e*100}%;
|
|
2144
|
-
`,
|
|
2144
|
+
`,FN=c1.default.div`
|
|
2145
2145
|
color: ${({theme:e})=>e.color.grey900};
|
|
2146
2146
|
font-size: 12px;
|
|
2147
2147
|
font-variant-numeric: tabular-nums;
|
|
@@ -2149,15 +2149,15 @@
|
|
|
2149
2149
|
margin-right: ${({theme:e})=>e.spacing.space04};
|
|
2150
2150
|
text-align: right;
|
|
2151
2151
|
width: 5ch;
|
|
2152
|
-
`,dl=({hasLabel:e=!0,progress:t=0,colorOverride:r=void 0,...n})=>{let o=Math.round(t*100);return(0,za.jsxs)(
|
|
2152
|
+
`,dl=({hasLabel:e=!0,progress:t=0,colorOverride:r=void 0,...n})=>{let o=Math.round(t*100);return(0,za.jsxs)(TN,{"aria-label":"Progress","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":o,"data-testid":"progress-bar",role:"progressbar",...n,children:[e?(0,za.jsxs)(FN,{"data-testid":"progress-bar-label",children:[o,"%"]}):null,(0,za.jsx)(AN,{children:(0,za.jsx)(BN,{colorOverride:r,progress:t})})]})};dl.displayName="ProgressBar_VHS";i();i();var Ur=require("react"),br=z(require("styled-components"));i();function xt(e,t){oe(2,arguments);var r=Ft(e),n=Ft(t);return r.getTime()===n.getTime()}i();i();var ct=require("react");var aC=z(require("styled-components"));i();i();function vo(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ml(e,t){oe(2,arguments);var r=ne(e),n=vo(t);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}i();function f1(e,t){oe(2,arguments);var r=ne(e),n=ne(t),o=r.getTime()-n.getTime();return o<0?-1:o>0?1:o}i();function Qv(e,t){var r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}function Gp(e,t){oe(2,arguments);var r=ne(e),n=ne(t),o=Qv(r,n),a=Math.abs(Ja(r,n));r.setDate(r.getDate()-o*a);var s=+(Qv(r,n)===-o),u=o*(a-s);return u===0?0:u}i();function Co(e){oe(1,arguments);var t=ne(e);return t.setHours(23,59,59,999),t}i();function Qt(e,t){oe(2,arguments);var r=ne(e),n=ne(t);return r.getTime()<n.getTime()}i();function hl(e,t){oe(2,arguments);var r=ne(e),n=ne(t);return r.getTime()===n.getTime()}i();function qp(e,t){oe(2,arguments);var r=ne(e).getTime(),n=ne(t.start).getTime(),o=ne(t.end).getTime();if(!(n<=o))throw new RangeError("Invalid interval");return r>=n&&r<=o}i();function Va(e){oe(1,arguments);var t=ne(e);return t.setDate(1),t.setHours(0,0,0,0),t}i();i();var jr=z(require("styled-components"));i();function Xp(e,t){oe(2,arguments);var r=ne(e),n=ne(t);return r.getTime()>n.getTime()}i();function Yp(e){return oe(1,arguments),ne(e).getTime()>Date.now()}i();i();function ja(e,t){oe(2,arguments);var r=ne(e),n=vo(t);if(isNaN(n))return new Date(NaN);if(!n)return r;var o=r.getDate(),a=new Date(r.getTime());a.setMonth(r.getMonth()+n+1,0);var s=a.getDate();return o>=s?a:(r.setFullYear(a.getFullYear(),a.getMonth(),o),r)}function gl(e,t){oe(2,arguments);var r=vo(t);return ja(e,r*12)}i();function Jp(e,t){var r;oe(1,arguments);var n=e||{},o=ne(n.start),a=ne(n.end),s=a.getTime();if(!(o.getTime()<=s))throw new RangeError("Invalid interval");var u=[],l=o;l.setHours(0,0,0,0);var c=Number((r=t?.step)!==null&&r!==void 0?r:1);if(c<1||isNaN(c))throw new RangeError("`options.step` must be a number greater than 1");for(;l.getTime()<=s;)u.push(ne(l)),l.setDate(l.getDate()+c),l.setHours(0,0,0,0);return u}i();function vl(e){oe(1,arguments);var t=e||{},r=ne(t.start),n=ne(t.end),o=n.getTime(),a=[];if(!(r.getTime()<=o))throw new RangeError("Invalid interval");var s=r;for(s.setHours(0,0,0,0),s.setDate(1);s.getTime()<=o;)a.push(ne(s)),s.setMonth(s.getMonth()+1);return a}i();function Cl(e){oe(1,arguments);var t=ne(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}i();function Qp(e){oe(1,arguments);var t=ne(e),r=t.getDay();return r}var lt=require("react/jsx-runtime"),bl=45,MN=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ed=7,eC=e=>e[0]instanceof Date||e[6]instanceof Date,ON=e=>{let t={start:Va(Ft(e)),end:Cl(Ft(e))};return Jp(t)},tC=()=>Array.from({length:ed},()=>[]),PN=e=>{let t=[],r=M(e[0])?Qp(e[0]):0,n=tC();for(let o=0;o<e.length;o++){let a=(o+r)%ed;a===0&&eC(n)&&(t.push(n),n=tC()),n[a]=e[o]}return eC(n)&&t.push(n),t},RN=jr.default.div`
|
|
2153
2153
|
cursor: not-allowed;
|
|
2154
2154
|
padding-top: ${({theme:e})=>e.spacing.space04};
|
|
2155
|
-
width: ${
|
|
2156
|
-
`,
|
|
2155
|
+
width: ${bl*ed}px;
|
|
2156
|
+
`,IN=jr.default.div`
|
|
2157
2157
|
display: flex;
|
|
2158
2158
|
justify-content: space-between;
|
|
2159
2159
|
margin-bottom: ${({theme:e})=>e.spacing.space04};
|
|
2160
|
-
`,
|
|
2160
|
+
`,LN=jr.default.div`
|
|
2161
2161
|
display: grid;
|
|
2162
2162
|
grid-template-columns: repeat(7, 14.28% [col-start]);
|
|
2163
2163
|
width: 100%;
|
|
@@ -2168,21 +2168,21 @@
|
|
|
2168
2168
|
color: ${e=>e.theme.color.grey800};
|
|
2169
2169
|
cursor: pointer;
|
|
2170
2170
|
font-size: 14px;
|
|
2171
|
-
height: ${
|
|
2171
|
+
height: ${bl}px;
|
|
2172
2172
|
margin-bottom: ${({theme:e})=>e.spacing.space01};
|
|
2173
2173
|
position: relative;
|
|
2174
2174
|
text-align: center;
|
|
2175
2175
|
user-select: none;
|
|
2176
|
-
width: ${
|
|
2176
|
+
width: ${bl}px;
|
|
2177
2177
|
|
|
2178
2178
|
&:disabled {
|
|
2179
2179
|
border: 0 solid white;
|
|
2180
2180
|
color: ${e=>e.theme.color.grey300};
|
|
2181
2181
|
cursor: not-allowed;
|
|
2182
2182
|
}
|
|
2183
|
-
`,
|
|
2184
|
-
height: ${
|
|
2185
|
-
`,
|
|
2183
|
+
`,kN=jr.default.div`
|
|
2184
|
+
height: ${bl}px;
|
|
2185
|
+
`,NN=jr.default.span`
|
|
2186
2186
|
font-size: 14px;
|
|
2187
2187
|
font-weight: 500;
|
|
2188
2188
|
margin-bottom: ${({theme:e})=>e.spacing.space02};
|
|
@@ -2191,7 +2191,7 @@
|
|
|
2191
2191
|
`,Dl=jr.default.span`
|
|
2192
2192
|
position: relative;
|
|
2193
2193
|
z-index: 1;
|
|
2194
|
-
`,
|
|
2194
|
+
`,rC=jr.default.button`
|
|
2195
2195
|
background: none;
|
|
2196
2196
|
border: none;
|
|
2197
2197
|
color: ${e=>e.theme.color.grey500};
|
|
@@ -2201,7 +2201,7 @@
|
|
|
2201
2201
|
color: ${e=>e.theme.color.grey300};
|
|
2202
2202
|
cursor: not-allowed;
|
|
2203
2203
|
}
|
|
2204
|
-
`,xl=({displayDate:e,earliestDate:t,latestDate:r,onDisplayDateChange:n,onMouseLeave:o,shouldPreventFuture:a=!1,renderDay:s})=>{let u=
|
|
2204
|
+
`,xl=({displayDate:e,earliestDate:t,latestDate:r,onDisplayDateChange:n,onMouseLeave:o,shouldPreventFuture:a=!1,renderDay:s})=>{let u=PN(ON(e)),l=Va(ja(e,1)),c=Cl(ja(e,-1)),d=D=>r?Xp(D,r):!1,h=D=>a?Yp(D):!1,m=D=>t?Qt(D,t):!1,C=D=>d(D)||h(D)||m(D),v=D=>D.toLocaleDateString("en-US",{day:"numeric"}),p=D=>s?s({day:D,isDisabled:C(D),formattedDay:v(D)}):(0,lt.jsx)(yl,{"data-day":v(D),disabled:C(D),children:(0,lt.jsx)(Dl,{children:v(D)})},D),b={start:t??gl(new Date,-5),end:a?new Date:gl(new Date,5)},y=e.getFullYear(),E=()=>{let D=new Intl.DateTimeFormat("en",{month:"long"});return vl(b).filter(T=>T.getFullYear()===e.getFullYear()).map(T=>({value:T.getMonth(),label:D.format(T)}))},B=()=>Object.values(vl(b).map(D=>({value:D.getFullYear(),label:D.getFullYear()})).reduce((D,T)=>M(D[T.value])?D:{...D,[T.value]:T},{})),A=E(),I=B();return(0,lt.jsxs)(RN,{"data-testid":"calendar-test-identifier",children:[(0,lt.jsxs)(IN,{children:[(0,lt.jsx)(rC,{"aria-label":"Previous month","data-testid":"month-prev",disabled:m(c),onClick:()=>{n&&n(c)},style:{transform:"translateX(-5px)"},type:"button",children:(0,lt.jsx)(Ie,{size:"md",type:"caret-left"})}),(0,lt.jsx)(zr,{"aria-label":"Select month","data-testid":"monthSelect",fullWidth:!1,onChange:D=>{let T=D.target.value,V=new Date(y,Number(T));n&&(h(V)?n(new Date):m(V)?n(t):n(V))},options:A,placeholder:null,value:e.getMonth()}),(0,lt.jsx)(zr,{"aria-label":"Select year","data-testid":"yearSelect",fullWidth:!1,onChange:D=>{let T=e.getMonth(),V=D.target.value,L=new Date(Number(V),T);n&&(h(L)?n(new Date):m(L)?n(t):n(L))},options:I,placeholder:null,value:e.getFullYear()}),(0,lt.jsx)(rC,{"aria-label":"Next month","data-testid":"month-next",disabled:h(l),onClick:()=>{n&&n(l)},style:{transform:"translateX(4px)"},type:"button",children:(0,lt.jsx)(Ie,{size:"md",type:"caret-right"})})]}),(0,lt.jsxs)(LN,{"aria-label":"Day selection grid",onMouseLeave:o,role:"button",children:[MN.map(D=>(0,lt.jsx)(NN,{children:D},D)),u.map(D=>D.map(T=>T instanceof Date?p(T):(0,lt.jsx)(kN,{},Math.random())))]})]})};xl.displayName="Calendar_VHS";var td=require("react/jsx-runtime"),sC=require("react"),$N=(0,aC.default)(yl)`
|
|
2205
2205
|
${e=>e.isBeginning&&!e.isInRange&&`
|
|
2206
2206
|
border-top-right-radius: 0;
|
|
2207
2207
|
border-bottom-right-radius: 0;
|
|
@@ -2269,14 +2269,14 @@
|
|
|
2269
2269
|
background: ${e.theme.color.brandBlue500};
|
|
2270
2270
|
}
|
|
2271
2271
|
`}
|
|
2272
|
-
`,
|
|
2272
|
+
`,p1=e=>{if(se(e))return!1;let{start:t,end:r}=e;return t instanceof Date&&r instanceof Date&&Qt(t,r)},nC=(e,t)=>se(e)||Gp(e.end,e.start)<2?!1:qp(t,{start:ml(e.start,1),end:ml(e.end,-1)}),iC=(e,t)=>{if(e instanceof Date&&M(t)){let[r,n]=[e,t].sort(f1);if(M(r)&&M(n))return{start:r,end:Co(n)}}},oC=(e,t)=>{let[r,n]=(0,ct.useState)();return(0,ct.useEffect)(()=>{n(iC(e,t))},[e,t,n]),r},Wa=({range:e={end:new Date,start:new Date},rangePartToShow:t="",onChange:r,onIsValidChange:n=()=>{},earliestDate:o,latestDate:a,shouldPreventFuture:s=!1})=>{let u=(0,ct.useMemo)(()=>Va(new Date),[]),l=M(e.end)?e.end:u,[c,d]=(0,ct.useState)(l),[{firstDate:h,secondDate:m},C]=(0,ct.useState)({}),[v,p]=(0,ct.useState)(),b=oC(h,m),y=ro(b),E=oC(!p1(b)&&h,v),B=(0,ct.useMemo)(()=>ji(100,n),[n]),A=(0,ct.useMemo)(()=>ji(0,d),[]);(0,ct.useEffect)(()=>{A(e.end)},[]),(0,ct.useEffect)(()=>{if(!(!b||!y)&&t){let D=b[t];A(D)}},[t,b,y,A]),(0,ct.useEffect)(()=>{B(p1(b))},[b,B]),(0,ct.useEffect)(()=>{if(p1(e)){let D;y&&!hl(e.start,y.start)&&(D=e.start),y&&!hl(e.end,y.end)&&(D=e.end),D&&A(D),C({firstDate:e.start,secondDate:e.end})}},[e,y,A]);let I=D=>{let T=M(h)&&xt(h,D)||M(m)&&xt(m,D),V=nC(b,D),L=!b&&nC(E,D),K=D.toLocaleDateString("en-US"),X=M(v)?xt(D,v):!1,N=!!(b&&xt(b.start,D)||E&&xt(E.start,D)),$=!!(b&&xt(b.end,D)||E&&xt(E.end,D));return{isActive:T,isBeginning:N,isEnd:$,isInRange:V,isInTempRange:L,isHovered:X,val:K}};return(0,td.jsx)(xl,{displayDate:c,earliestDate:o,latestDate:a,onDisplayDateChange:A,onMouseLeave:()=>{p(void 0)},renderDay:({day:D,isDisabled:T,formattedDay:V})=>{let L=I(D);return(0,sC.createElement)($N,{...L,key:D,"data-day":V,"data-is-beginning":L.isBeginning,"data-is-end":L.isEnd,"data-is-in-temp-range":L.isInTempRange,disabled:T,onClick:()=>{let K=D,X=D;h&&m?X=void 0:h?K=h:X=m,C({firstDate:K,secondDate:X});let N=iC(K,X);p1(N)&&r&&r(N),p(void 0)},onMouseOver:()=>{h&&!T&&p(D)}},(0,td.jsx)(Dl,{children:V}))},shouldPreventFuture:s})};Wa.displayName="RangeSelectorCalendar_VHS";i();i();var Et=require("react"),wC=z(require("styled-components"));i();var nd=z(require("styled-components")),rd=require("react/jsx-runtime"),ZN=nd.default.ul`
|
|
2273
2273
|
list-style: none;
|
|
2274
2274
|
margin: 0;
|
|
2275
2275
|
padding: 0;
|
|
2276
|
-
`,
|
|
2276
|
+
`,HN=nd.default.li`
|
|
2277
2277
|
color: ${e=>e.theme.color.red600};
|
|
2278
2278
|
font-size: 12px;
|
|
2279
|
-
`,
|
|
2279
|
+
`,uC=({messages:e=[]})=>(0,rd.jsx)(ZN,{children:e.map(t=>(0,rd.jsx)(HN,{children:t},t))});i();var Mn=" - ",Wr=`mm/dd/yyyy${Mn}mm/dd/yyyy`,zN=[{type:"month",id:"month1"},{type:"day",id:"day1"},{type:"year",id:"year1"},{type:"skip"},{type:"month",id:"month2"},{type:"day",id:"day2"},{type:"year",id:"year2"}],VN=e=>{let t={month:2,day:2,year:4,skip:Mn.length-2},r=0;return e.map(({type:n,id:o},a)=>{let s=r+(a===0?0:1),u=s+t[n];return r=u,{start:s,end:u,type:n,id:o}})},On=VN(zN);i();var jN=new Set(["Enter","Backspace","Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown","/"]),El=e=>/^[0-9]$/i.test(e.key),WN=e=>jN.has(e.key),lC=e=>El(e)||WN(e),od=({key:e,shiftKey:t})=>e==="Tab"&&!t||e==="/"||e==="ArrowRight",ad=({key:e,shiftKey:t})=>e==="ArrowLeft"||e==="Tab"&&t,id=e=>e.key==="ArrowUp"||e.key==="ArrowDown",sd=e=>e.key==="Backspace",cC=e=>El(e)||id(e)||sd(e),fC=e=>ad(e)||od(e);i();i();i();function ud(e){return oe(1,arguments),e instanceof Date||Rn(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ua(e){if(oe(1,arguments),!ud(e)&&typeof e!="number")return!1;var t=ne(e);return!isNaN(Number(t))}var Cr=e=>{let[t,r]=e.split(Mn),n="",o="",a="",s="",u="",l="";M(t)&&([n,o,a]=t.split("/")),M(r)&&([s,u,l]=r.split("/"));let c=pe(n)?n:"",d=pe(o)?o:"",h=pe(a)?a:"",m=pe(s)?s:"",C=pe(u)?u:"",v=pe(l)?l:"";return{month1:c,day1:d,year1:h,month2:m,day2:C,year2:v}},d1=e=>{if(!Ua(e))return"";try{return new Intl.DateTimeFormat(["en-US"],{year:"numeric",month:"2-digit",day:"2-digit",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}).format(e)}catch{return""}},wl=e=>{let{month1:t,day1:r,year1:n,month2:o,day2:a,year2:s}=e;return`${t}/${r}/${n}${Mn}${o}/${a}/${s}`},Sl=e=>{let{month1:t,day1:r,year1:n,month2:o,day2:a,year2:s}=Cr(e);try{let u=Ft(new Date(Number(n),Number(t)-1,Number(r))),l=Co(new Date(Number(s),Number(o)-1,Number(a)));return{start:u,end:l}}catch{return}},ld=({start:e,end:t})=>{let r={month:"2-digit",day:"2-digit",year:"numeric"},n=e.toLocaleDateString("en-US",r),o=t.toLocaleDateString("en-US",r);return`${n}${Mn}${o}`};i();var cd=z(Dp());i();i();function Tl(e){oe(1,arguments);var t=ne(e),r=t.getFullYear(),n=t.getMonth(),o=new Date(0);return o.setFullYear(r,n+1,0),o.setHours(0,0,0,0),o.getDate()}i();function Al(e){return oe(1,arguments),ne(e).getFullYear()}var _a,pC=e=>{M(_a)&&(e.preventDefault(),clearTimeout(_a),_a=void 0),_a=setTimeout(()=>{clearTimeout(_a),_a=void 0},200)},dC=({start:e,end:t})=>Ua(e)&&Ua(t),mC=([e],t)=>{let r=t.find(n=>n.start===e);return M(r)&&M(r.id)?r.id:""},m1=(e,t)=>{let r=t.substring(0,t.length-1),n=t.charAt(t.length-1),o=12,a=31;switch(r){case"month":return o;case"year":return Al(new Date);case"day":if(e[`month${n}`]!=="mm"){let u=e[`month${n}`]-1;if(e[`year${n}`]!=="yyyy"){let l=e[`year${n}`];return Tl(new Date(l,u))}return Tl(new Date(Al(new Date),u))}return a;default:return 0}},hC=({range:e,maxDate:t,minDate:r})=>{let n=d1(e.start),o=d1(e.end),a=[];if(M(t)){let s=d1(t);Qt(t,e.start)&&a.push(`${n} is after maximum of ${s}`),Qt(t,e.end)&&a.push(`${o} is after maximum of ${s}`)}if(r){let s=d1(r);Qt(e.start,r)&&a.push(`${n} is before minimum of ${s}`),Qt(e.end,r)&&a.push(`${o} is before minimum of ${s}`)}return(Qt(e.end,e.start)||xt(e.end,e.start))&&a.push("start date must come before end date"),a},gC=e=>{let[t,r]=[e.start,e.end].sort(f1);return{start:t,end:r}};i();var UN=e=>{let t=e.current?.selectionStart,r=e.current?.selectionEnd;return{startPos:t,endPos:r}},vC=(e,t,r)=>{let n=e.current;n&&n.setSelectionRange(t,r)},h1=(e,t,r)=>{let n=r.findIndex(a=>a.start===e[0]),o=r[n+t];return o&&o.type==="skip"&&(o=r[n+t*2]),o?[o.start,o.end]:e},CC=(e,t)=>{let r=UN(e);for(let n=0;n<t.length;n++){if(rt(t[n]))return[];let{start:o,end:a,type:s}=t[n];if(M(r.startPos)&&r.startPos>o-1&&r.startPos<=a)return s==="skip"&&ee(t[n+1])?[t[n+1].start,t[n+1].end]:[o,a]}return[]},bC=e=>{let t=Cr(e),r=Cr(Wr),n=["month1","day1","year1","month2","day2","year2"];for(let o=0;o<n.length;o++){if(rt(n[o]))return-1;if(t[n[o]]===r[n[o]])return o}return-1},yC=([,e])=>{let t=Wr.indexOf(Mn);return e===-1?"":ee(e)&&e<=t?"start":"end"};var DC=e=>{let t=Object.assign(e),r=n=>`${n}`.padStart(2,"0");return e.day1!=="dd"&&(t.day1=r(Math.min(Number(e.day1),m1(e,"day1")))),e.day2!=="dd"&&(t.day2=r(Math.min(Number(e.day2),m1(e,"day2")))),t},_N=(e,t,r,n,o)=>{let a=Cr(Wr)[t],s=a.length,u=p=>`${p}`.padStart(s,"0"),l=p=>({...e,[t]:u(p)}),c=e[t],d=c===a;if(o===0)return l(u(n));let h=m1(e,t),m=`${Number.parseInt(c,10)}`,C=`${m}${n}`,v=m.length===s;return d&&r!=="year"||v?l(n):Number.parseInt(C,10)>h?l(h):l(C)},KN=(e,t,r)=>{let n=Number.parseInt(e,10);Number.isNaN(n)&&(n=0);let o=n+r;return o<=0||o>t?n:o},GN=(e,t,r)=>{let o=Cr(Wr)[t].length,a=c=>`${c}`.padStart(o,"0"),s=c=>({...e,[t]:a(c)}),u=e[t],l=m1(e,t);return s(a(KN(u,l,r)))},xC=({event:e,currentSelection:t,keyCount:r,valueParts:n,selectionLength:o})=>{let a="",s=r,u=!1,l=mC(t,On),c=l.substring(0,l.length-1);if(El(e)){e.preventDefault();let d=_N(n,l,c,e.key,r),h=DC(d);a=wl(h),s+=1,u=o===s}if(id(e)){e.preventDefault();let d=e.key==="ArrowUp"?1:-1,h=GN(n,l,d),m=DC(h);a=wl(m),s=0,u=!0}if(sd(e)){e.preventDefault();let d=Cr(Wr);a=wl({...n,[l]:d[l]}),s=0}return{nextValue:a,nextKeyCount:s,shouldApply:u}},EC=({event:e,currentSelection:t})=>{let r;return od(e)&&(r=h1(t,1,On),(0,cd.default)(r,t)||e.preventDefault()),ad(e)&&(r=h1(t,-1,On),(0,cd.default)(r,t)||e.preventDefault()),{nextSelection:r,nextKeyCount:0}};var g1=require("react/jsx-runtime"),qN=wC.default.input`
|
|
2280
2280
|
border: 1px solid ${e=>e.theme.color.grey400};
|
|
2281
2281
|
border-radius: 4px;
|
|
2282
2282
|
color: ${e=>e.theme.color.grey800};
|
|
@@ -2289,12 +2289,12 @@
|
|
|
2289
2289
|
&:focus {
|
|
2290
2290
|
border: 1px solid ${e=>e.theme.color.brandBlue500};
|
|
2291
2291
|
}
|
|
2292
|
-
`,
|
|
2292
|
+
`,XN=({latestDate:e,shouldPreventFuture:t})=>e||(t?Co(new Date):void 0),Ka=({onChange:e,onSelectedRangePartChange:t,range:r,earliestDate:n,latestDate:o,shouldPreventFuture:a=!1,width:s="100%",onErrorChange:u})=>{let[l,c]=(0,Et.useState)(Wr),[d,h]=(0,Et.useState)(0),[m,C]=(0,Et.useState)([]),v=(0,Et.useRef)(null),[p,b]=(0,Et.useState)([0,-1]),y=rt(p)||rt(p[1])||rt(p[0])?0:p[1]-p[0],E=Cr(l),B=(0,Et.useCallback)(A=>{let I=hC({range:A,maxDate:XN({latestDate:o,shouldPreventFuture:a}),minDate:n});dC(A)&&(c(ld(A)),!I.length&&ee(e)&&e(gC(A))),C(I)},[n,o,a,e]);return(0,Et.useEffect)(()=>{C([]),c(ld(r))},[r]),(0,Et.useEffect)(()=>{ee(u)&&u(m)},[m,u]),(0,Et.useEffect)(()=>{if(y===d){h(0);let A=h1(p,1,On);b(A)}},[d,p,y]),(0,Et.useEffect)(()=>{vC(v,p[0],p[1]),ee(t)&&t(yC(p))},[p,l,v,t]),(0,g1.jsxs)("div",{children:[!!m.length&&(0,g1.jsx)(uC,{messages:m}),(0,g1.jsx)(qN,{ref:v,"data-testid":"range-selector-input",onBlur:()=>{if(d!==y&&d!==0){let A=Sl(l);M(A)&&B(A)}b([0,-1])},onFocus:()=>{if(bC(l)!==-1){let I=On[0];if(M(I)){let{start:D,end:T}=I;b([D,T])}}},onKeyDown:A=>{let I={event:A,currentSelection:p,keyCount:d,valueParts:E,selectionLength:y};if(!lC(A)){A.preventDefault();return}if(cC(A)){let{nextValue:D,nextKeyCount:T,shouldApply:V}=xC(I),L=Sl(D);V&&ee(L)?B(L):c(D),h(T)}if(fC(A)){let{nextSelection:D,nextKeyCount:T}=EC(I);ee(D)&&b(D),h(T);let V=Sl(l);ee(V)&&B(V)}},onMouseDown:pC,onMouseUp:()=>{h(0),b(CC(v,On))},readOnly:!0,type:"text",value:l,width:s})]})};Ka.displayName="RangeSelectorInput_VHS";var He=require("react/jsx-runtime"),SC=e=>e.toLocaleDateString("en-US",{year:"numeric",month:"2-digit",day:"2-digit"}),YN=({start:e,end:t})=>`${SC(e)} - ${SC(t)}`,JN=(e,t)=>xt(e.start,t.start)&&xt(e.end,t.end),QN=br.default.div`
|
|
2293
2293
|
padding: ${({theme:e})=>`0 ${e.spacing.space03}`};
|
|
2294
|
-
`,
|
|
2294
|
+
`,e$=br.default.div`
|
|
2295
2295
|
display: inline-block;
|
|
2296
2296
|
position: relative;
|
|
2297
|
-
`,
|
|
2297
|
+
`,t$=(0,br.default)(Ve)`
|
|
2298
2298
|
${({theme:e,inputButtonOverride:t})=>t&&`
|
|
2299
2299
|
&& {
|
|
2300
2300
|
background-color: white;
|
|
@@ -2312,7 +2312,7 @@
|
|
|
2312
2312
|
}
|
|
2313
2313
|
}
|
|
2314
2314
|
`}
|
|
2315
|
-
`,
|
|
2315
|
+
`,r$=br.default.button`
|
|
2316
2316
|
background: white;
|
|
2317
2317
|
border: none;
|
|
2318
2318
|
color: ${e=>e.theme.color.grey800};
|
|
@@ -2331,10 +2331,10 @@
|
|
|
2331
2331
|
color: ${e.theme.color.blue600};
|
|
2332
2332
|
font-weight: 600;
|
|
2333
2333
|
`};
|
|
2334
|
-
`,
|
|
2334
|
+
`,n$=br.default.div`
|
|
2335
2335
|
flex-basis: 100%;
|
|
2336
2336
|
height: 0;
|
|
2337
|
-
`,
|
|
2337
|
+
`,o$=br.default.div`
|
|
2338
2338
|
background: white;
|
|
2339
2339
|
border: 1px solid ${e=>e.theme.color.grey400};
|
|
2340
2340
|
border-radius: 4px;
|
|
@@ -2349,28 +2349,28 @@
|
|
|
2349
2349
|
${e=>e.align==="right"&&`
|
|
2350
2350
|
right: 0;
|
|
2351
2351
|
`};
|
|
2352
|
-
`,
|
|
2352
|
+
`,a$=br.default.div`
|
|
2353
2353
|
display: flex;
|
|
2354
|
-
`,
|
|
2354
|
+
`,i$=br.default.div`
|
|
2355
2355
|
padding: ${({theme:e})=>`${e.spacing.space05} ${e.spacing.space03}`};
|
|
2356
|
-
`,
|
|
2356
|
+
`,s$=br.default.div`
|
|
2357
2357
|
border-top: 1px solid ${e=>e.theme.color.grey400};
|
|
2358
2358
|
display: flex;
|
|
2359
2359
|
flex-shrink: 0;
|
|
2360
2360
|
justify-content: space-between;
|
|
2361
2361
|
padding: ${({theme:e})=>e.spacing.space05};
|
|
2362
2362
|
width: 100%;
|
|
2363
|
-
`,Bl=({align:e="left",buttonVariant:t="secondary",earliestDate:r,latestDate:n,format:o=KN,footerText:a,onChange:s,presets:u=[],range:l={end:new Date,start:new Date},shouldPreventFuture:c=!1})=>{let[d,h]=(0,Ur.useState)(l),[m,b]=(0,Ur.useState)(!1),[v,p]=(0,Ur.useState)(!0),[C,y]=(0,Ur.useState)("end"),[E,B]=(0,Ur.useState)([]),A=Kt();return(0,Ur.useEffect)(()=>{h(l)},[l]),(0,Ur.useEffect)(()=>{let D=()=>{b(!1),h(l)};return m&&window.addEventListener("click",D),()=>{window.removeEventListener("click",D)}},[m,l,h]),(0,He.jsxs)(XN,{"data-testid":"rangeselector-test-identifer",onClick:D=>D.stopPropagation(),children:[(0,He.jsx)(YN,{"data-testid":"trigger",icon:(0,He.jsx)(Le,{size:"sm",type:"caret-down"}),iconPosition:"end",inputButtonOverride:t==="input",onClick:()=>b(!m),variant:t==="input"?"tertiary":t,children:o(l)}),m?(0,He.jsxs)(e$,{align:e,hasPresets:!!u.length,children:[(0,He.jsxs)(t$,{children:[!!u.length&&(0,He.jsx)(Na,{"data-testid":"presets",style:{marginBottom:0,borderRight:`1px solid ${A.color.grey400}`,padding:"12px"},variant:"unbulleted",children:u.map(({label:D,value:T})=>(0,He.jsx)(An,{children:(0,He.jsx)(JN,{"data-testid":D?.replaceAll(" ","_"),isActive:GN(d,T),onClick:()=>{h(T)},children:(0,He.jsx)("span",{children:D})})},D))}),(0,He.jsx)(r$,{children:(0,He.jsxs)(qN,{children:[(0,He.jsx)(Ka,{earliestDate:r,latestDate:n,onChange:D=>{h(D)},onErrorChange:B,onSelectedRangePartChange:y,range:d,shouldPreventFuture:c,width:"100%"}),(0,He.jsx)(Wa,{earliestDate:r,latestDate:n,onChange:D=>{h(D)},onIsValidChange:p,range:d,rangePartToShow:C,shouldPreventFuture:c})]})})]}),(0,He.jsx)(QN,{}),(0,He.jsxs)(n$,{children:[(0,He.jsx)("div",{children:a}),(0,He.jsxs)(hr,{align:"right",children:[(0,He.jsx)(Ve,{onClick:()=>{h(l),b(!1)},style:{marginLeft:0},variant:"secondary",children:"Cancel"}),(0,He.jsx)(Ve,{"data-testid":"apply-button",disabled:!!E.length||!v,onMouseUp:()=>{s&&s(d),b(!1)},children:"Apply"})]})]})]}):null]})};Bl.displayName="RangeSelector_VHS";i();var qa=z(require("styled-components"));i();i();var yo=z(require("react"),1);function ld(e){return e&&e.stopPropagation&&e.stopPropagation(),e&&e.preventDefault&&e.preventDefault(),!1}function cd(e){return e==null?[]:Array.isArray(e)?e.slice():[e]}function Fl(e){return e!==null&&e.length===1?e[0]:e.slice()}function Ml(e){Object.keys(e).forEach(t=>{typeof document<"u"&&document.addEventListener(t,e[t],!1)})}function Co(e,t){return fd(function(r,n){let o=r;return o<=n.min&&(o=n.min),o>=n.max&&(o=n.max),o}(e,t),t)}function fd(e,t){let r=(e-t.min)%t.step,n=e-r;return 2*Math.abs(r)>=t.step&&(n+=r>0?t.step:-t.step),parseFloat(n.toFixed(5))}var pd=function(e){function t(n){var o;(o=e.call(this,n)||this).onKeyUp=()=>{o.onEnd()},o.onMouseUp=()=>{o.onEnd(o.getMouseEventMap())},o.onTouchEnd=u=>{u.preventDefault(),o.onEnd(o.getTouchEventMap())},o.onBlur=()=>{o.setState({index:-1},o.onEnd(o.getKeyDownEventMap()))},o.onMouseMove=u=>{o.setState({pending:!0});let l=o.getMousePosition(u),c=o.getDiffPosition(l[0]),d=o.getValueFromPosition(c);o.move(d)},o.onTouchMove=u=>{if(u.touches.length>1)return;o.setState({pending:!0});let l=o.getTouchPosition(u);if(o.isScrolling===void 0){let h=l[0]-o.startPosition[0],m=l[1]-o.startPosition[1];o.isScrolling=Math.abs(m)>Math.abs(h)}if(o.isScrolling)return void o.setState({index:-1});let c=o.getDiffPosition(l[0]),d=o.getValueFromPosition(c);o.move(d)},o.onKeyDown=u=>{if(!(u.ctrlKey||u.shiftKey||u.altKey||u.metaKey))switch(o.setState({pending:!0}),u.key){case"ArrowLeft":case"ArrowDown":case"Left":case"Down":u.preventDefault(),o.moveDownByStep();break;case"ArrowRight":case"ArrowUp":case"Right":case"Up":u.preventDefault(),o.moveUpByStep();break;case"Home":u.preventDefault(),o.move(o.props.min);break;case"End":u.preventDefault(),o.move(o.props.max);break;case"PageDown":u.preventDefault(),o.moveDownByStep(o.props.pageFn(o.props.step));break;case"PageUp":u.preventDefault(),o.moveUpByStep(o.props.pageFn(o.props.step))}},o.onSliderMouseDown=u=>{if(!o.props.disabled&&u.button!==2){if(o.setState({pending:!0}),!o.props.snapDragDisabled){let l=o.getMousePosition(u);o.forceValueFromPosition(l[0],c=>{o.start(c,l[0]),Ml(o.getMouseEventMap())})}ld(u)}},o.onSliderClick=u=>{if(!o.props.disabled&&o.props.onSliderClick&&!o.hasMoved){let l=o.getMousePosition(u),c=Co(o.calcValue(o.calcOffsetFromPosition(l[0])),o.props);o.props.onSliderClick(c)}},o.createOnKeyDown=u=>l=>{o.props.disabled||(o.start(u),Ml(o.getKeyDownEventMap()),ld(l))},o.createOnMouseDown=u=>l=>{if(o.props.disabled||l.button===2)return;o.setState({pending:!0});let c=o.getMousePosition(l);o.start(u,c[0]),Ml(o.getMouseEventMap()),ld(l)},o.createOnTouchStart=u=>l=>{if(o.props.disabled||l.touches.length>1)return;o.setState({pending:!0});let c=o.getTouchPosition(l);o.startPosition=c,o.isScrolling=void 0,o.start(u,c[0]),Ml(o.getTouchEventMap()),function(d){d.stopPropagation&&d.stopPropagation()}(l)},o.handleResize=()=>{let u=window.setTimeout(()=>{o.pendingResizeTimeouts.shift(),o.resize()},0);o.pendingResizeTimeouts.push(u)},o.renderThumb=(u,l)=>{let c=o.props.thumbClassName+" "+o.props.thumbClassName+"-"+l+" "+(o.state.index===l?o.props.thumbActiveClassName:""),d={ref:m=>{o["thumb"+l]=m},key:o.props.thumbClassName+"-"+l,className:c,style:u,onMouseDown:o.createOnMouseDown(l),onTouchStart:o.createOnTouchStart(l),onFocus:o.createOnKeyDown(l),tabIndex:0,role:"slider","aria-orientation":o.props.orientation,"aria-valuenow":o.state.value[l],"aria-valuemin":o.props.min,"aria-valuemax":o.props.max,"aria-label":Array.isArray(o.props.ariaLabel)?o.props.ariaLabel[l]:o.props.ariaLabel,"aria-labelledby":Array.isArray(o.props.ariaLabelledby)?o.props.ariaLabelledby[l]:o.props.ariaLabelledby,"aria-disabled":o.props.disabled},h={index:l,value:Fl(o.state.value),valueNow:o.state.value[l]};return o.props.ariaValuetext&&(d["aria-valuetext"]=typeof o.props.ariaValuetext=="string"?o.props.ariaValuetext:o.props.ariaValuetext(h)),o.props.renderThumb(d,h)},o.renderTrack=(u,l,c)=>{let d={key:o.props.trackClassName+"-"+u,className:o.props.trackClassName+" "+o.props.trackClassName+"-"+u,style:o.buildTrackStyle(l,o.state.upperBound-c)},h={index:u,value:Fl(o.state.value)};return o.props.renderTrack(d,h)};let a=cd(n.value);a.length||(a=cd(n.defaultValue)),o.pendingResizeTimeouts=[];let s=[];for(let u=0;u<a.length;u+=1)a[u]=Co(a[u],n),s.push(u);return o.resizeObserver=null,o.resizeElementRef=yo.default.createRef(),o.state={index:-1,upperBound:0,sliderLength:0,value:a,zIndices:s},o}_t(t,e);var r=t.prototype;return r.componentDidMount=function(){typeof window<"u"&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.resizeElementRef.current),this.resize())},t.getDerivedStateFromProps=function(n,o){let a=cd(n.value);return a.length?o.pending?null:{value:a.map(s=>Co(s,n))}:null},r.componentDidUpdate=function(){this.state.upperBound===0&&this.resize()},r.componentWillUnmount=function(){this.clearPendingResizeTimeouts(),this.resizeObserver&&this.resizeObserver.disconnect()},r.onEnd=function(n){n&&function(o){Object.keys(o).forEach(a=>{typeof document<"u"&&document.removeEventListener(a,o[a],!1)})}(n),this.hasMoved&&this.fireChangeEvent("onAfterChange"),this.setState({pending:!1}),this.hasMoved=!1},r.getValue=function(){return Fl(this.state.value)},r.getClosestIndex=function(n){let o=Number.MAX_VALUE,a=-1,{value:s}=this.state,u=s.length;for(let l=0;l<u;l+=1){let c=this.calcOffset(s[l]),d=Math.abs(n-c);d<o&&(o=d,a=l)}return a},r.getMousePosition=function(n){return[n["page"+this.axisKey()],n["page"+this.orthogonalAxisKey()]]},r.getTouchPosition=function(n){let o=n.touches[0];return[o["page"+this.axisKey()],o["page"+this.orthogonalAxisKey()]]},r.getKeyDownEventMap=function(){return{keydown:this.onKeyDown,keyup:this.onKeyUp,focusout:this.onBlur}},r.getMouseEventMap=function(){return{mousemove:this.onMouseMove,mouseup:this.onMouseUp}},r.getTouchEventMap=function(){return{touchmove:this.onTouchMove,touchend:this.onTouchEnd}},r.getValueFromPosition=function(n){let o=n/(this.state.sliderLength-this.state.thumbSize)*(this.props.max-this.props.min);return Co(this.state.startValue+o,this.props)},r.getDiffPosition=function(n){let o=n-this.state.startPosition;return this.props.invert&&(o*=-1),o},r.resize=function(){let{slider:n,thumb0:o}=this;if(!n||!o)return;let a=this.sizeKey(),s=n.getBoundingClientRect(),u=n[a],l=s[this.posMaxKey()],c=s[this.posMinKey()],d=o.getBoundingClientRect()[a.replace("client","").toLowerCase()],h=u-d,m=Math.abs(l-c);this.state.upperBound===h&&this.state.sliderLength===m&&this.state.thumbSize===d||this.setState({upperBound:h,sliderLength:m,thumbSize:d})},r.calcOffset=function(n){let o=this.props.max-this.props.min;return o===0?0:(n-this.props.min)/o*this.state.upperBound},r.calcValue=function(n){return n/this.state.upperBound*(this.props.max-this.props.min)+this.props.min},r.calcOffsetFromPosition=function(n){let{slider:o}=this,a=o.getBoundingClientRect(),s=a[this.posMaxKey()],u=a[this.posMinKey()],l=n-(window["page"+this.axisKey()+"Offset"]+(this.props.invert?s:u));return this.props.invert&&(l=this.state.sliderLength-l),l-=this.state.thumbSize/2,l},r.forceValueFromPosition=function(n,o){let a=this.calcOffsetFromPosition(n),s=this.getClosestIndex(a),u=Co(this.calcValue(a),this.props),l=this.state.value.slice();l[s]=u;for(let c=0;c<l.length-1;c+=1)if(l[c+1]-l[c]<this.props.minDistance)return;this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0,this.setState({value:l},()=>{o(s),this.fireChangeEvent("onChange")})},r.clearPendingResizeTimeouts=function(){do{let n=this.pendingResizeTimeouts.shift();clearTimeout(n)}while(this.pendingResizeTimeouts.length)},r.start=function(n,o){let a=this["thumb"+n];a&&a.focus();let{zIndices:s}=this.state;s.splice(s.indexOf(n),1),s.push(n),this.setState(u=>({startValue:u.value[n],startPosition:o!==void 0?o:u.startPosition,index:n,zIndices:s}))},r.moveUpByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=Co(this.props.invert&&this.props.orientation==="horizontal"?o-n:o+n,this.props);this.move(Math.min(a,this.props.max))},r.moveDownByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=Co(this.props.invert&&this.props.orientation==="horizontal"?o+n:o-n,this.props);this.move(Math.max(a,this.props.min))},r.move=function(n){let o=this.state.value.slice(),{index:a}=this.state,{length:s}=o,u=o[a];if(n===u)return;this.hasMoved||this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0;let{pearling:l,max:c,min:d,minDistance:h}=this.props;if(!l){if(a>0){let m=o[a-1];n<m+h&&(n=m+h)}if(a<s-1){let m=o[a+1];n>m-h&&(n=m-h)}}o[a]=n,l&&s>1&&(n>u?(this.pushSucceeding(o,h,a),function(m,b,v,p){for(let C=0;C<m;C+=1){let y=p-C*v;b[m-1-C]>y&&(b[m-1-C]=y)}}(s,o,h,c)):n<u&&(this.pushPreceding(o,h,a),function(m,b,v,p){for(let C=0;C<m;C+=1){let y=p+C*v;b[C]<y&&(b[C]=y)}}(s,o,h,d))),this.setState({value:o},this.fireChangeEvent.bind(this,"onChange"))},r.pushSucceeding=function(n,o,a){let s,u;for(s=a,u=n[s]+o;n[s+1]!==null&&u>n[s+1];s+=1,u=n[s]+o)n[s+1]=fd(u,this.props)},r.pushPreceding=function(n,o,a){for(let s=a,u=n[s]-o;n[s-1]!==null&&u<n[s-1];s-=1,u=n[s]-o)n[s-1]=fd(u,this.props)},r.axisKey=function(){return this.props.orientation==="vertical"?"Y":"X"},r.orthogonalAxisKey=function(){return this.props.orientation==="vertical"?"X":"Y"},r.posMinKey=function(){return this.props.orientation==="vertical"?this.props.invert?"bottom":"top":this.props.invert?"right":"left"},r.posMaxKey=function(){return this.props.orientation==="vertical"?this.props.invert?"top":"bottom":this.props.invert?"left":"right"},r.sizeKey=function(){return this.props.orientation==="vertical"?"clientHeight":"clientWidth"},r.fireChangeEvent=function(n){this.props[n]&&this.props[n](Fl(this.state.value),this.state.index)},r.buildThumbStyle=function(n,o){let a={position:"absolute",touchAction:"none",willChange:this.state.index>=0?this.posMinKey():void 0,zIndex:this.state.zIndices.indexOf(o)+1};return a[this.posMinKey()]=n+"px",a},r.buildTrackStyle=function(n,o){let a={position:"absolute",willChange:this.state.index>=0?this.posMinKey()+","+this.posMaxKey():void 0};return a[this.posMinKey()]=n,a[this.posMaxKey()]=o,a},r.buildMarkStyle=function(n){var o;return(o={position:"absolute"})[this.posMinKey()]=n,o},r.renderThumbs=function(n){let{length:o}=n,a=[];for(let u=0;u<o;u+=1)a[u]=this.buildThumbStyle(n[u],u);let s=[];for(let u=0;u<o;u+=1)s[u]=this.renderThumb(a[u],u);return s},r.renderTracks=function(n){let o=[],a=n.length-1;o.push(this.renderTrack(0,0,n[0]));for(let s=0;s<a;s+=1)o.push(this.renderTrack(s+1,n[s],n[s+1]));return o.push(this.renderTrack(a+1,n[a],this.state.upperBound)),o},r.renderMarks=function(){let{marks:n}=this.props,o=this.props.max-this.props.min+1;return typeof n=="boolean"?n=Array.from({length:o}).map((a,s)=>s):typeof n=="number"&&(n=Array.from({length:o}).map((a,s)=>s).filter(a=>a%n==0)),n.map(parseFloat).sort((a,s)=>a-s).map(a=>{let s=this.calcOffset(a),u={key:a,className:this.props.markClassName,style:this.buildMarkStyle(s)};return this.props.renderMark(u)})},r.render=function(){let n=[],{value:o}=this.state,a=o.length;for(let c=0;c<a;c+=1)n[c]=this.calcOffset(o[c],c);let s=this.props.withTracks?this.renderTracks(n):null,u=this.renderThumbs(n),l=this.props.marks?this.renderMarks():null;return yo.default.createElement("div",{ref:c=>{this.slider=c,this.resizeElementRef.current=c},style:{position:"relative"},className:this.props.className+(this.props.disabled?" disabled":""),onMouseDown:this.onSliderMouseDown,onClick:this.onSliderClick},s,u,l)},t}(yo.default.Component);pd.displayName="ReactSlider",pd.defaultProps={min:0,max:100,step:1,pageFn:e=>10*e,minDistance:0,defaultValue:0,orientation:"horizontal",className:"slider",thumbClassName:"thumb",thumbActiveClassName:"active",trackClassName:"track",markClassName:"mark",withTracks:!0,pearling:!1,disabled:!1,snapDragDisabled:!1,invert:!1,marks:[],renderThumb:e=>yo.default.createElement("div",e),renderTrack:e=>yo.default.createElement("div",e),renderMark:e=>yo.default.createElement("span",e)};var dd=pd;var Ga=require("react/jsx-runtime"),xb="4px",o$=qa.css`
|
|
2363
|
+
`,Bl=({align:e="left",buttonVariant:t="secondary",earliestDate:r,latestDate:n,format:o=YN,footerText:a,onChange:s,presets:u=[],range:l={end:new Date,start:new Date},shouldPreventFuture:c=!1})=>{let[d,h]=(0,Ur.useState)(l),[m,C]=(0,Ur.useState)(!1),[v,p]=(0,Ur.useState)(!0),[b,y]=(0,Ur.useState)("end"),[E,B]=(0,Ur.useState)([]),A=Kt();return(0,Ur.useEffect)(()=>{h(l)},[l]),(0,Ur.useEffect)(()=>{let D=()=>{C(!1),h(l)};return m&&window.addEventListener("click",D),()=>{window.removeEventListener("click",D)}},[m,l,h]),(0,He.jsxs)(e$,{"data-testid":"rangeselector-test-identifer",onClick:D=>D.stopPropagation(),children:[(0,He.jsx)(t$,{"data-testid":"trigger",icon:(0,He.jsx)(Ie,{size:"sm",type:"caret-down"}),iconPosition:"end",inputButtonOverride:t==="input",onClick:()=>C(!m),variant:t==="input"?"tertiary":t,children:o(l)}),m?(0,He.jsxs)(o$,{align:e,hasPresets:!!u.length,children:[(0,He.jsxs)(a$,{children:[!!u.length&&(0,He.jsx)(Na,{"data-testid":"presets",style:{marginBottom:0,borderRight:`1px solid ${A.color.grey400}`,padding:"12px"},variant:"unbulleted",children:u.map(({label:D,value:T})=>(0,He.jsx)(An,{children:(0,He.jsx)(r$,{"data-testid":D?.replaceAll(" ","_"),isActive:JN(d,T),onClick:()=>{h(T)},children:(0,He.jsx)("span",{children:D})})},D))}),(0,He.jsx)(i$,{children:(0,He.jsxs)(QN,{children:[(0,He.jsx)(Ka,{earliestDate:r,latestDate:n,onChange:D=>{h(D)},onErrorChange:B,onSelectedRangePartChange:y,range:d,shouldPreventFuture:c,width:"100%"}),(0,He.jsx)(Wa,{earliestDate:r,latestDate:n,onChange:D=>{h(D)},onIsValidChange:p,range:d,rangePartToShow:b,shouldPreventFuture:c})]})})]}),(0,He.jsx)(n$,{}),(0,He.jsxs)(s$,{children:[(0,He.jsx)("div",{children:a}),(0,He.jsxs)(hr,{align:"right",children:[(0,He.jsx)(Ve,{onClick:()=>{h(l),C(!1)},style:{marginLeft:0},variant:"secondary",children:"Cancel"}),(0,He.jsx)(Ve,{"data-testid":"apply-button",disabled:!!E.length||!v,onMouseUp:()=>{s&&s(d),C(!1)},children:"Apply"})]})]})]}):null]})};Bl.displayName="RangeSelector_VHS";i();var qa=z(require("styled-components"));i();i();var yo=z(require("react"),1);function fd(e){return e&&e.stopPropagation&&e.stopPropagation(),e&&e.preventDefault&&e.preventDefault(),!1}function pd(e){return e==null?[]:Array.isArray(e)?e.slice():[e]}function Fl(e){return e!==null&&e.length===1?e[0]:e.slice()}function Ml(e){Object.keys(e).forEach(t=>{typeof document<"u"&&document.addEventListener(t,e[t],!1)})}function bo(e,t){return dd(function(r,n){let o=r;return o<=n.min&&(o=n.min),o>=n.max&&(o=n.max),o}(e,t),t)}function dd(e,t){let r=(e-t.min)%t.step,n=e-r;return 2*Math.abs(r)>=t.step&&(n+=r>0?t.step:-t.step),parseFloat(n.toFixed(5))}var md=function(e){function t(n){var o;(o=e.call(this,n)||this).onKeyUp=()=>{o.onEnd()},o.onMouseUp=()=>{o.onEnd(o.getMouseEventMap())},o.onTouchEnd=u=>{u.preventDefault(),o.onEnd(o.getTouchEventMap())},o.onBlur=()=>{o.setState({index:-1},o.onEnd(o.getKeyDownEventMap()))},o.onMouseMove=u=>{o.setState({pending:!0});let l=o.getMousePosition(u),c=o.getDiffPosition(l[0]),d=o.getValueFromPosition(c);o.move(d)},o.onTouchMove=u=>{if(u.touches.length>1)return;o.setState({pending:!0});let l=o.getTouchPosition(u);if(o.isScrolling===void 0){let h=l[0]-o.startPosition[0],m=l[1]-o.startPosition[1];o.isScrolling=Math.abs(m)>Math.abs(h)}if(o.isScrolling)return void o.setState({index:-1});let c=o.getDiffPosition(l[0]),d=o.getValueFromPosition(c);o.move(d)},o.onKeyDown=u=>{if(!(u.ctrlKey||u.shiftKey||u.altKey||u.metaKey))switch(o.setState({pending:!0}),u.key){case"ArrowLeft":case"ArrowDown":case"Left":case"Down":u.preventDefault(),o.moveDownByStep();break;case"ArrowRight":case"ArrowUp":case"Right":case"Up":u.preventDefault(),o.moveUpByStep();break;case"Home":u.preventDefault(),o.move(o.props.min);break;case"End":u.preventDefault(),o.move(o.props.max);break;case"PageDown":u.preventDefault(),o.moveDownByStep(o.props.pageFn(o.props.step));break;case"PageUp":u.preventDefault(),o.moveUpByStep(o.props.pageFn(o.props.step))}},o.onSliderMouseDown=u=>{if(!o.props.disabled&&u.button!==2){if(o.setState({pending:!0}),!o.props.snapDragDisabled){let l=o.getMousePosition(u);o.forceValueFromPosition(l[0],c=>{o.start(c,l[0]),Ml(o.getMouseEventMap())})}fd(u)}},o.onSliderClick=u=>{if(!o.props.disabled&&o.props.onSliderClick&&!o.hasMoved){let l=o.getMousePosition(u),c=bo(o.calcValue(o.calcOffsetFromPosition(l[0])),o.props);o.props.onSliderClick(c)}},o.createOnKeyDown=u=>l=>{o.props.disabled||(o.start(u),Ml(o.getKeyDownEventMap()),fd(l))},o.createOnMouseDown=u=>l=>{if(o.props.disabled||l.button===2)return;o.setState({pending:!0});let c=o.getMousePosition(l);o.start(u,c[0]),Ml(o.getMouseEventMap()),fd(l)},o.createOnTouchStart=u=>l=>{if(o.props.disabled||l.touches.length>1)return;o.setState({pending:!0});let c=o.getTouchPosition(l);o.startPosition=c,o.isScrolling=void 0,o.start(u,c[0]),Ml(o.getTouchEventMap()),function(d){d.stopPropagation&&d.stopPropagation()}(l)},o.handleResize=()=>{let u=window.setTimeout(()=>{o.pendingResizeTimeouts.shift(),o.resize()},0);o.pendingResizeTimeouts.push(u)},o.renderThumb=(u,l)=>{let c=o.props.thumbClassName+" "+o.props.thumbClassName+"-"+l+" "+(o.state.index===l?o.props.thumbActiveClassName:""),d={ref:m=>{o["thumb"+l]=m},key:o.props.thumbClassName+"-"+l,className:c,style:u,onMouseDown:o.createOnMouseDown(l),onTouchStart:o.createOnTouchStart(l),onFocus:o.createOnKeyDown(l),tabIndex:0,role:"slider","aria-orientation":o.props.orientation,"aria-valuenow":o.state.value[l],"aria-valuemin":o.props.min,"aria-valuemax":o.props.max,"aria-label":Array.isArray(o.props.ariaLabel)?o.props.ariaLabel[l]:o.props.ariaLabel,"aria-labelledby":Array.isArray(o.props.ariaLabelledby)?o.props.ariaLabelledby[l]:o.props.ariaLabelledby,"aria-disabled":o.props.disabled},h={index:l,value:Fl(o.state.value),valueNow:o.state.value[l]};return o.props.ariaValuetext&&(d["aria-valuetext"]=typeof o.props.ariaValuetext=="string"?o.props.ariaValuetext:o.props.ariaValuetext(h)),o.props.renderThumb(d,h)},o.renderTrack=(u,l,c)=>{let d={key:o.props.trackClassName+"-"+u,className:o.props.trackClassName+" "+o.props.trackClassName+"-"+u,style:o.buildTrackStyle(l,o.state.upperBound-c)},h={index:u,value:Fl(o.state.value)};return o.props.renderTrack(d,h)};let a=pd(n.value);a.length||(a=pd(n.defaultValue)),o.pendingResizeTimeouts=[];let s=[];for(let u=0;u<a.length;u+=1)a[u]=bo(a[u],n),s.push(u);return o.resizeObserver=null,o.resizeElementRef=yo.default.createRef(),o.state={index:-1,upperBound:0,sliderLength:0,value:a,zIndices:s},o}_t(t,e);var r=t.prototype;return r.componentDidMount=function(){typeof window<"u"&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.resizeElementRef.current),this.resize())},t.getDerivedStateFromProps=function(n,o){let a=pd(n.value);return a.length?o.pending?null:{value:a.map(s=>bo(s,n))}:null},r.componentDidUpdate=function(){this.state.upperBound===0&&this.resize()},r.componentWillUnmount=function(){this.clearPendingResizeTimeouts(),this.resizeObserver&&this.resizeObserver.disconnect()},r.onEnd=function(n){n&&function(o){Object.keys(o).forEach(a=>{typeof document<"u"&&document.removeEventListener(a,o[a],!1)})}(n),this.hasMoved&&this.fireChangeEvent("onAfterChange"),this.setState({pending:!1}),this.hasMoved=!1},r.getValue=function(){return Fl(this.state.value)},r.getClosestIndex=function(n){let o=Number.MAX_VALUE,a=-1,{value:s}=this.state,u=s.length;for(let l=0;l<u;l+=1){let c=this.calcOffset(s[l]),d=Math.abs(n-c);d<o&&(o=d,a=l)}return a},r.getMousePosition=function(n){return[n["page"+this.axisKey()],n["page"+this.orthogonalAxisKey()]]},r.getTouchPosition=function(n){let o=n.touches[0];return[o["page"+this.axisKey()],o["page"+this.orthogonalAxisKey()]]},r.getKeyDownEventMap=function(){return{keydown:this.onKeyDown,keyup:this.onKeyUp,focusout:this.onBlur}},r.getMouseEventMap=function(){return{mousemove:this.onMouseMove,mouseup:this.onMouseUp}},r.getTouchEventMap=function(){return{touchmove:this.onTouchMove,touchend:this.onTouchEnd}},r.getValueFromPosition=function(n){let o=n/(this.state.sliderLength-this.state.thumbSize)*(this.props.max-this.props.min);return bo(this.state.startValue+o,this.props)},r.getDiffPosition=function(n){let o=n-this.state.startPosition;return this.props.invert&&(o*=-1),o},r.resize=function(){let{slider:n,thumb0:o}=this;if(!n||!o)return;let a=this.sizeKey(),s=n.getBoundingClientRect(),u=n[a],l=s[this.posMaxKey()],c=s[this.posMinKey()],d=o.getBoundingClientRect()[a.replace("client","").toLowerCase()],h=u-d,m=Math.abs(l-c);this.state.upperBound===h&&this.state.sliderLength===m&&this.state.thumbSize===d||this.setState({upperBound:h,sliderLength:m,thumbSize:d})},r.calcOffset=function(n){let o=this.props.max-this.props.min;return o===0?0:(n-this.props.min)/o*this.state.upperBound},r.calcValue=function(n){return n/this.state.upperBound*(this.props.max-this.props.min)+this.props.min},r.calcOffsetFromPosition=function(n){let{slider:o}=this,a=o.getBoundingClientRect(),s=a[this.posMaxKey()],u=a[this.posMinKey()],l=n-(window["page"+this.axisKey()+"Offset"]+(this.props.invert?s:u));return this.props.invert&&(l=this.state.sliderLength-l),l-=this.state.thumbSize/2,l},r.forceValueFromPosition=function(n,o){let a=this.calcOffsetFromPosition(n),s=this.getClosestIndex(a),u=bo(this.calcValue(a),this.props),l=this.state.value.slice();l[s]=u;for(let c=0;c<l.length-1;c+=1)if(l[c+1]-l[c]<this.props.minDistance)return;this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0,this.setState({value:l},()=>{o(s),this.fireChangeEvent("onChange")})},r.clearPendingResizeTimeouts=function(){do{let n=this.pendingResizeTimeouts.shift();clearTimeout(n)}while(this.pendingResizeTimeouts.length)},r.start=function(n,o){let a=this["thumb"+n];a&&a.focus();let{zIndices:s}=this.state;s.splice(s.indexOf(n),1),s.push(n),this.setState(u=>({startValue:u.value[n],startPosition:o!==void 0?o:u.startPosition,index:n,zIndices:s}))},r.moveUpByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=bo(this.props.invert&&this.props.orientation==="horizontal"?o-n:o+n,this.props);this.move(Math.min(a,this.props.max))},r.moveDownByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=bo(this.props.invert&&this.props.orientation==="horizontal"?o+n:o-n,this.props);this.move(Math.max(a,this.props.min))},r.move=function(n){let o=this.state.value.slice(),{index:a}=this.state,{length:s}=o,u=o[a];if(n===u)return;this.hasMoved||this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0;let{pearling:l,max:c,min:d,minDistance:h}=this.props;if(!l){if(a>0){let m=o[a-1];n<m+h&&(n=m+h)}if(a<s-1){let m=o[a+1];n>m-h&&(n=m-h)}}o[a]=n,l&&s>1&&(n>u?(this.pushSucceeding(o,h,a),function(m,C,v,p){for(let b=0;b<m;b+=1){let y=p-b*v;C[m-1-b]>y&&(C[m-1-b]=y)}}(s,o,h,c)):n<u&&(this.pushPreceding(o,h,a),function(m,C,v,p){for(let b=0;b<m;b+=1){let y=p+b*v;C[b]<y&&(C[b]=y)}}(s,o,h,d))),this.setState({value:o},this.fireChangeEvent.bind(this,"onChange"))},r.pushSucceeding=function(n,o,a){let s,u;for(s=a,u=n[s]+o;n[s+1]!==null&&u>n[s+1];s+=1,u=n[s]+o)n[s+1]=dd(u,this.props)},r.pushPreceding=function(n,o,a){for(let s=a,u=n[s]-o;n[s-1]!==null&&u<n[s-1];s-=1,u=n[s]-o)n[s-1]=dd(u,this.props)},r.axisKey=function(){return this.props.orientation==="vertical"?"Y":"X"},r.orthogonalAxisKey=function(){return this.props.orientation==="vertical"?"X":"Y"},r.posMinKey=function(){return this.props.orientation==="vertical"?this.props.invert?"bottom":"top":this.props.invert?"right":"left"},r.posMaxKey=function(){return this.props.orientation==="vertical"?this.props.invert?"top":"bottom":this.props.invert?"left":"right"},r.sizeKey=function(){return this.props.orientation==="vertical"?"clientHeight":"clientWidth"},r.fireChangeEvent=function(n){this.props[n]&&this.props[n](Fl(this.state.value),this.state.index)},r.buildThumbStyle=function(n,o){let a={position:"absolute",touchAction:"none",willChange:this.state.index>=0?this.posMinKey():void 0,zIndex:this.state.zIndices.indexOf(o)+1};return a[this.posMinKey()]=n+"px",a},r.buildTrackStyle=function(n,o){let a={position:"absolute",willChange:this.state.index>=0?this.posMinKey()+","+this.posMaxKey():void 0};return a[this.posMinKey()]=n,a[this.posMaxKey()]=o,a},r.buildMarkStyle=function(n){var o;return(o={position:"absolute"})[this.posMinKey()]=n,o},r.renderThumbs=function(n){let{length:o}=n,a=[];for(let u=0;u<o;u+=1)a[u]=this.buildThumbStyle(n[u],u);let s=[];for(let u=0;u<o;u+=1)s[u]=this.renderThumb(a[u],u);return s},r.renderTracks=function(n){let o=[],a=n.length-1;o.push(this.renderTrack(0,0,n[0]));for(let s=0;s<a;s+=1)o.push(this.renderTrack(s+1,n[s],n[s+1]));return o.push(this.renderTrack(a+1,n[a],this.state.upperBound)),o},r.renderMarks=function(){let{marks:n}=this.props,o=this.props.max-this.props.min+1;return typeof n=="boolean"?n=Array.from({length:o}).map((a,s)=>s):typeof n=="number"&&(n=Array.from({length:o}).map((a,s)=>s).filter(a=>a%n==0)),n.map(parseFloat).sort((a,s)=>a-s).map(a=>{let s=this.calcOffset(a),u={key:a,className:this.props.markClassName,style:this.buildMarkStyle(s)};return this.props.renderMark(u)})},r.render=function(){let n=[],{value:o}=this.state,a=o.length;for(let c=0;c<a;c+=1)n[c]=this.calcOffset(o[c],c);let s=this.props.withTracks?this.renderTracks(n):null,u=this.renderThumbs(n),l=this.props.marks?this.renderMarks():null;return yo.default.createElement("div",{ref:c=>{this.slider=c,this.resizeElementRef.current=c},style:{position:"relative"},className:this.props.className+(this.props.disabled?" disabled":""),onMouseDown:this.onSliderMouseDown,onClick:this.onSliderClick},s,u,l)},t}(yo.default.Component);md.displayName="ReactSlider",md.defaultProps={min:0,max:100,step:1,pageFn:e=>10*e,minDistance:0,defaultValue:0,orientation:"horizontal",className:"slider",thumbClassName:"thumb",thumbActiveClassName:"active",trackClassName:"track",markClassName:"mark",withTracks:!0,pearling:!1,disabled:!1,snapDragDisabled:!1,invert:!1,marks:[],renderThumb:e=>yo.default.createElement("div",e),renderTrack:e=>yo.default.createElement("div",e),renderMark:e=>yo.default.createElement("span",e)};var hd=md;var Ga=require("react/jsx-runtime"),TC="4px",u$=qa.css`
|
|
2364
2364
|
opacity: 0.5;
|
|
2365
2365
|
|
|
2366
2366
|
& * {
|
|
2367
2367
|
pointer-events: none;
|
|
2368
2368
|
}
|
|
2369
|
-
`,
|
|
2370
|
-
padding-bottom: ${
|
|
2369
|
+
`,l$=qa.default.div`
|
|
2370
|
+
padding-bottom: ${TC};
|
|
2371
2371
|
width: 100%;
|
|
2372
|
-
${({disabled:e})=>e?
|
|
2373
|
-
`,
|
|
2372
|
+
${({disabled:e})=>e?u$:null}
|
|
2373
|
+
`,c$=qa.default.div`
|
|
2374
2374
|
background-color: ${({theme:e})=>e.color.brandBlue100};
|
|
2375
2375
|
border-color: ${({theme:e})=>e.color.brandBlue500};
|
|
2376
2376
|
border-radius: 50%;
|
|
@@ -2396,11 +2396,11 @@
|
|
|
2396
2396
|
border-width: 3px;
|
|
2397
2397
|
outline: none;
|
|
2398
2398
|
}
|
|
2399
|
-
`,
|
|
2399
|
+
`,f$=e=>{let t=e.index===0;return e.value.length>1&&(t=e.index>0&&e.index<e.value.length),t},p$=qa.default.div`
|
|
2400
2400
|
background: ${({isFilledTrack:e,theme:t})=>e?t.color.brandBlue500:t.color.grey400};
|
|
2401
2401
|
border-radius: 999px;
|
|
2402
|
-
height: ${
|
|
2403
|
-
`,
|
|
2402
|
+
height: ${TC};
|
|
2403
|
+
`,gd=({ariaLabel:e,ariaLabelledby:t,ariaValuetext:r,disabled:n=!1,defaultValue:o=0,max:a=100,min:s=0,onChange:u,step:l=1,value:c,"data-testid":d,...h})=>{pe(e)||pe(t)||console.warn("VHS Slider: Sliders are required to have an accessible name. Add a label using the ariaLabel or ariaLabelledby prop.");let m=M(d)?d:"vhs-slider";return(0,Ga.jsx)(l$,{...h,"data-testid":m,disabled:n,children:(0,Ga.jsx)(hd,{ariaLabel:e,ariaLabelledby:t,ariaValuetext:r,defaultValue:o,disabled:n,marks:l,max:a,min:s,onChange:u,renderMark:C=>(0,Ga.jsx)("div",{...C,"data-testid":`${m}-mark-${C.key+s}`}),renderThumb:(C,v)=>(0,Ga.jsx)(c$,{...C,"data-testid":`${m}-thumb-${v.index}`}),renderTrack:(C,v)=>(0,Ga.jsx)(p$,{...C,"data-testid":`${m}-track-${v.index}`,isFilledTrack:f$(v)}),step:l,value:c})})};gd.displayName="Slider_VHS";i();i();var bd=z(require("styled-components")),Cd=require("react/jsx-runtime"),vd=bd.default.button`
|
|
2404
2404
|
background-color: white;
|
|
2405
2405
|
border-color: ${({theme:e})=>e.color.grey700};
|
|
2406
2406
|
border-radius: 20px;
|
|
@@ -2436,7 +2436,7 @@
|
|
|
2436
2436
|
cursor: not-allowed;
|
|
2437
2437
|
opacity: 0.5;
|
|
2438
2438
|
}
|
|
2439
|
-
`,
|
|
2439
|
+
`,d$=bd.default.div`
|
|
2440
2440
|
background-color: ${({theme:e})=>e.color.grey700};
|
|
2441
2441
|
border-radius: 50%;
|
|
2442
2442
|
height: 12px;
|
|
@@ -2448,7 +2448,7 @@
|
|
|
2448
2448
|
transform 175ms ease-out;
|
|
2449
2449
|
width: 12px;
|
|
2450
2450
|
|
|
2451
|
-
${
|
|
2451
|
+
${vd}[aria-checked="true"] & {
|
|
2452
2452
|
background-color: white;
|
|
2453
2453
|
transform: translateY(0%) translateX(31px);
|
|
2454
2454
|
}
|
|
@@ -2475,11 +2475,11 @@
|
|
|
2475
2475
|
font-weight: ${({theme:e})=>e.font.weight.bold};
|
|
2476
2476
|
left: 16px;
|
|
2477
2477
|
|
|
2478
|
-
${
|
|
2478
|
+
${vd}[aria-checked="true"] & {
|
|
2479
2479
|
left: 20px;
|
|
2480
2480
|
}
|
|
2481
2481
|
}
|
|
2482
|
-
`,Ol=({disabled:e=!1,isChecked:t=!1,onChange:r,colorOverride:n,...o})=>(0,
|
|
2482
|
+
`,Ol=({disabled:e=!1,isChecked:t=!1,onChange:r,colorOverride:n,...o})=>(0,Cd.jsx)(vd,{"aria-checked":t,"aria-disabled":e,"aria-label":t?"on":"off",colorOverride:n,onClick:e?void 0:()=>{r&&r(!t)},role:"switch",type:"button",...o,children:(0,Cd.jsx)(d$,{})});Ol.displayName="Switch_VHS";i();i();var AC=z(require("styled-components"));var yr=require("react/jsx-runtime"),m$=AC.default.svg`
|
|
2483
2483
|
height: ${({height:e})=>`${e}px`};
|
|
2484
2484
|
|
|
2485
2485
|
/* ensure it will always fit on mobile */
|
|
@@ -2491,7 +2491,7 @@
|
|
|
2491
2491
|
${({hoverColor:e})=>e!==void 0?`fill: ${e}`:null};
|
|
2492
2492
|
}
|
|
2493
2493
|
}
|
|
2494
|
-
`,
|
|
2494
|
+
`,h$=(e,t)=>e&&!t?"0 0 25.7 19.9":!e&&t?"29.6 0 97.7 20":"0 0 127.15 20",Pl=({brandmark:e=!0,colorOverride:t=void 0,height:r=100,hoverColor:n=void 0,href:o=void 0,logotype:a=!0,title:s="Wistia",variant:u="standard",...l}={})=>{let[c]=ke(["brandBlue500"]),d={standard:{brandmark:t??c,logotype:t??"#0A162F"},black:{brandmark:"black",logotype:"black"},white:{brandmark:"white",logotype:"white"}},h=d[u].brandmark,m=d[u].logotype;if(!e&&!a)return null;let C=(0,yr.jsxs)(m$,{height:r,hoverColor:n,role:"img",title:"Wistia Logo",viewBox:h$(!!e,!!a),...l,children:[(0,yr.jsx)("title",{children:s}),e?(0,yr.jsxs)("g",{fill:h,children:[(0,yr.jsx)("path",{d:`
|
|
2495
2495
|
M15.37 19.26c-3.45.95-11.23.49-12.48.49H0l4.76-5.37c1.29-1.45
|
|
2496
2496
|
2-1.75 3.39-1.75s4.77.14 6.58 0A18.14 18.14 0 0022 10.64c2.95-1.86
|
|
2497
2497
|
3.54-3 3.54-3s1.05 8.53-10.17 11.62z
|
|
@@ -2513,7 +2513,7 @@
|
|
|
2513
2513
|
3h5.8v16.78h3.08V3h5.91V.22H83.72zm18.12 16.79h3.07V.25h-3.07zm25.31
|
|
2514
2514
|
0H124l-2.56-5.69h-8L111 19.78h-3.18l.1-.22L116.25.14h2.14zM117.3
|
|
2515
2515
|
4.93l-2.64 6.39h5.49z
|
|
2516
|
-
`,fill:m})}):null]});return o!==void 0?(0,yr.jsx)("a",{href:o,children:
|
|
2516
|
+
`,fill:m})}):null]});return o!==void 0?(0,yr.jsx)("a",{href:o,children:C}):C};Pl.displayName="WistiaLogo_VHS";i();var Pn=require("react"),Sd=z(require("styled-components"));var _C=require("react-dom");i();i();var BC=require("react"),yd=e=>{(0,BC.useLayoutEffect)(()=>{if(e){let t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}}return()=>{}},[e])};i();i();var Do=require("react");i();var xd='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, [tabindex="0"], [contenteditable]',g$=e=>{let{display:t,visibility:r}=window.getComputedStyle(e),n=t==="none"||e.style.display==="none"||r==="none"||e.style.visibility==="hidden";return e.offsetWidth<=0&&e.offsetHeight<=0||n},v$=e=>{let t=e;for(;t&&t!==document.body;){if(g$(t))return!1;t=t.parentNode}return!0},FC=e=>{let t=e.getAttribute("tabindex");return Number.parseInt(t??void 0,10)},MC=e=>{let t=FC(e);return Number.isNaN(t)},Rl=e=>{let t=/input|select|textarea|button|object/,r=e.nodeName.toLowerCase(),n=!MC(e);return!!(t.test(r)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&v$(e)},Ed=e=>{let t=FC(e);return(MC(e)||t>=0)&&Rl(e)},OC=e=>Array.from(e.querySelectorAll(xd)).filter(Ed),PC=[],Xa=null,Dd=!1,RC=()=>{Dd=!0},IC=()=>{if(Dd){if(Dd=!1,!Xa||Xa.contains(document.activeElement))return;(OC(Xa)[0]??Xa).focus()}},LC=()=>{let e=document.activeElement;e!==null&&PC.push(e)},kC=()=>{let e=null;try{e=PC.pop(),e&&e.focus()}catch{console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}},NC=e=>{Xa=e,document.addEventListener("focusout",RC,!1),document.addEventListener("focusin",IC,!0)},$C=()=>{Xa=null,document.removeEventListener("focusout",RC),document.removeEventListener("focusin",IC)},ZC=(e,t)=>{let r=OC(e);if(!r.length){t.preventDefault();return}if(!(r[t.shiftKey?0:r.length-1]===document.activeElement||e===document.activeElement))return;t.preventDefault();let a=r[t.shiftKey?r.length-1:0];a&&a.focus()},HC=(e,t)=>{t===void 0&&(t="body > :not(script)");let r=Array.from(document.querySelectorAll(t)).map(n=>{if(n.contains(e))return;let o=n.getAttribute("aria-hidden");return(o===null||o==="false")&&n.setAttribute("aria-hidden","true"),{node:n,ariaHidden:o}});return()=>{r.forEach(n=>{n&&(n.ariaHidden===null?n.node.removeAttribute("aria-hidden"):n.node.setAttribute("aria-hidden",n.ariaHidden))})}};var wd=(e=!0,t={})=>{let r=(0,Do.useRef)(null),n=(0,Do.useRef)(null),o=(0,Do.useCallback)(a=>{if(n.current!==null&&n.current(),r.current&&(kC(),$C()),e&&a!==null&&a!==void 0){NC(a),LC();let s=u=>{n.current=t.disableAriaHider??!1?null:HC(u);let l=null;if(ee(t.focusSelector)&&(l=typeof t.focusSelector=="string"?u.querySelector(t.focusSelector):t.focusSelector),!l){let c=Array.from(u.querySelectorAll(xd));l=c.find(Ed)??c.find(Rl)??null,!l&&Rl(u)&&(l=u)}l&&l.focus()};setTimeout(()=>{a.ownerDocument&&s(a),a.ownerDocument}),r.current=a}else r.current=null},[e,t.focusSelector,t.disableAriaHider]);return(0,Do.useEffect)(()=>{if(!e)return;let a=s=>{s.key==="Tab"&&r.current&&ZC(r.current,s)};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}},[e]),o};i();var zC=z(require("styled-components"));var VC=zC.default.div`
|
|
2517
2517
|
background-color: white;
|
|
2518
2518
|
box-sizing: border-box;
|
|
2519
2519
|
display: flex;
|
|
@@ -2534,36 +2534,36 @@
|
|
|
2534
2534
|
min-width: ${({width:e})=>e??"480px"};
|
|
2535
2535
|
width: min-content;
|
|
2536
2536
|
}
|
|
2537
|
-
`;i();var
|
|
2537
|
+
`;i();var Il=require("react"),jC=(0,Il.createContext)(void 0),WC=jC.Provider,UC=()=>{let e=(0,Il.useContext)(jC);if(ee(e))return e;throw new Error("useModalClose must be used within a ModalCloseProvider")};var xo=require("react/jsx-runtime"),C$=(0,Sd.default)($t)`
|
|
2538
2538
|
display: flex;
|
|
2539
|
-
`,
|
|
2539
|
+
`,b$=Sd.default.div`
|
|
2540
2540
|
align-items: stretch;
|
|
2541
2541
|
display: flex;
|
|
2542
2542
|
flex-direction: column;
|
|
2543
2543
|
width: 100%;
|
|
2544
|
-
`,
|
|
2544
|
+
`,y$=e=>{(0,Pn.useEffect)(()=>{let t=document.activeElement;return e.current.focus(),()=>{t!==null&&setTimeout(()=>{t.focus()},0)}},[e])},D$=({alignHorizontal:e="center",alignVertical:t="center",children:r,className:n,fullHeight:o=!1,initialFocusRef:a,onRequestClose:s,shouldCloseOnClickOutside:u=!0,width:l,...c})=>{let d=document.createElement("div");d.classList.add("Modal"),ee(n)&&d.classList.add(n);let h=(0,Pn.useRef)(d);(0,Pn.useEffect)(()=>{let v=h.current;return document.body.appendChild(v),()=>v.remove()},[]),y$(h);let m=(0,Pn.useRef)(null),C=wd(!0,{focusSelector:a?.current});return to(m,()=>{s&&u&&s()}),yd(c.isOpen),Vi("Escape",v=>{s&&s(),v.preventDefault()}),(0,xo.jsx)(WC,{value:s,children:(0,xo.jsx)(C$,{alignHorizontal:e,alignVertical:t,children:(0,xo.jsx)(VC,{ref:C,"aria-modal":"true",fullHeight:o,role:"dialog",tabIndex:-1,width:l,...c,children:(0,xo.jsx)(b$,{ref:m,children:r})})})})},KC=e=>{let t=document.createElement("div");t.classList.add("Modal"),ee(e.className)&&t.classList.add(e.className);let r=(0,Pn.useRef)(t);return(0,Pn.useEffect)(()=>{let n=r.current;return document.body.appendChild(n),()=>n.remove()},[]),(0,_C.createPortal)((0,xo.jsx)(r1,{children:e.isOpen?(0,xo.jsx)(D$,{...e}):null}),r.current)};i();var v1=z(require("styled-components"));var Td=require("react/jsx-runtime"),GC=v1.default.div`
|
|
2545
2545
|
align-items: center;
|
|
2546
2546
|
display: flex;
|
|
2547
2547
|
padding: ${({theme:e})=>e.spacing.space04} ${({theme:e})=>e.spacing.space04};
|
|
2548
|
-
`,
|
|
2548
|
+
`,qC=v1.default.div`
|
|
2549
2549
|
flex: auto;
|
|
2550
2550
|
height: 100%;
|
|
2551
2551
|
margin-top: ${({theme:e})=>e.spacing.space04};
|
|
2552
2552
|
overflow: auto;
|
|
2553
2553
|
padding: ${({theme:e})=>e.spacing.space04};
|
|
2554
|
-
`,
|
|
2554
|
+
`,XC=v1.default.div`
|
|
2555
2555
|
padding: ${({theme:e})=>e.spacing.space04} ${({theme:e})=>e.spacing.space04};
|
|
2556
|
-
`,
|
|
2556
|
+
`,x$=(0,v1.default)(sr)`
|
|
2557
2557
|
position: absolute;
|
|
2558
2558
|
right: ${({theme:e})=>e.spacing.space04};
|
|
2559
2559
|
top: ${({theme:e})=>e.spacing.space04};
|
|
2560
2560
|
z-index: ${({theme:e})=>e.zIndex.ModalCloseButton};
|
|
2561
|
-
`,
|
|
2561
|
+
`,YC=({onClick:e,...t})=>{let r=UC();return(0,Td.jsx)(x$,{"aria-label":"Close",icon:(0,Td.jsx)(Ie,{size:"sm",type:"close"}),onClick:r,preventTooltip:!0,...t})};i();var C1=z(require("styled-components"));var Ya=require("react/jsx-runtime"),E$=C1.default.div`
|
|
2562
2562
|
align-items: center;
|
|
2563
2563
|
display: flex;
|
|
2564
2564
|
gap: ${({theme:e})=>e.spacing.space02};
|
|
2565
2565
|
${({fullWidth:e})=>e&&"width: 100%; justify-content: space-between;"}
|
|
2566
|
-
`,
|
|
2566
|
+
`,w$=C1.default.kbd`
|
|
2567
2567
|
align-items: center;
|
|
2568
2568
|
background: ${({componentStyle:e,theme:t})=>e==="dark"?t.color.grey200:t.color.grey600};
|
|
2569
2569
|
border-bottom: 1px solid
|
|
@@ -2587,15 +2587,15 @@
|
|
|
2587
2587
|
line-height: 20px;
|
|
2588
2588
|
min-width: 20px;
|
|
2589
2589
|
padding: 0 ${({theme:e})=>e.spacing.space01};
|
|
2590
|
-
`,
|
|
2590
|
+
`,S$=C1.default.span`
|
|
2591
2591
|
color: ${({componentStyle:e,theme:t})=>e==="dark"?t.color.grey700:t.color.grey100};
|
|
2592
2592
|
font-size: 12px;
|
|
2593
|
-
`,
|
|
2593
|
+
`,T$=C1.default.div`
|
|
2594
2594
|
display: flex;
|
|
2595
2595
|
gap: ${({theme:e})=>e.spacing.space01};
|
|
2596
|
-
`,
|
|
2596
|
+
`,A$=e=>{switch(e){case"ArrowDown":return"\u2193";case"ArrowLeft":return"\u2190";case"ArrowRight":return"\u2192";case"ArrowUp":return"\u2191";case"Alt":return"Alt";case"Cmd":case"Meta":return/Mac|iPhone|iPad/.test(window.navigator.userAgent)?"\u2318":window.navigator.userAgent.includes("Win")?"\u229E":"^";case"Ctrl":return"Ctrl";case"Option":return"\u2325";case"Shift":return"\u21E7";case"Enter":return"\u21B5";case"Space":return"Space";case"Tab":return"Tab";case"Backspace":return"Del";case"Esc":return"Esc";default:return e.toUpperCase()}},Ad=({label:e,keyboardKeys:t,fullWidth:r=!1,componentStyle:n="dark",...o})=>(0,Ya.jsxs)(E$,{componentStyle:n,fullWidth:r,...o,children:[M(e)&&(0,Ya.jsx)(S$,{componentStyle:n,children:e}),(0,Ya.jsx)(T$,{children:[...t].map(a=>(0,Ya.jsx)(w$,{componentStyle:n,children:A$(a)},a))})]});Ad.displayName="KeyboardShortcut_VHS";i();var Ll=require("react"),JC=z(require("styled-components")),QC=require("react/jsx-runtime"),B$=JC.default.div`
|
|
2597
2597
|
cursor: pointer;
|
|
2598
|
-
`,
|
|
2598
|
+
`,Bd=(0,Ll.forwardRef)(({renderAs:e="div",className:t,onClick:r,targetRef:n,...o},a)=>{let s=(0,Ll.useCallback)(u=>{let l=n.current;l!==null&&(u.defaultPrevented||(l.contains(u.target)?r&&r(u):(u.stopPropagation(),u.preventDefault(),l.focus(),l.click())))},[r,n]);return(0,QC.jsx)(B$,{ref:a,as:e,role:"presentation",...o,onClick:s})});Bd.displayName="ClickArea_VHS";
|
|
2599
2599
|
/*! Bundled license information:
|
|
2600
2600
|
|
|
2601
2601
|
escape-html/index.js:
|