@livetiles/reach-components-react 0.5.0-preview.1132 → 0.5.0-preview.1133
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/index.esm2.js +2 -2
- package/index.umd.js +2 -2
- package/package.json +1 -1
package/index.umd.js
CHANGED
|
@@ -49,7 +49,7 @@ var ph=function(){return ph=Object.assign||function(e){for(var t,n=1,i=arguments
|
|
|
49
49
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
50
50
|
PERFORMANCE OF THIS SOFTWARE.
|
|
51
51
|
***************************************************************************** */
|
|
52
|
-
function aO(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}!function(e){const t=Ky,n=rO,i=oO;function r(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function o(e,n){return n.encode?n.strict?t(e):encodeURIComponent(e):e}function a(e,t){return t.decode?n(e):e}function s(e){return Array.isArray(e)?e.sort():"object"==typeof e?s(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function l(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function c(e){const t=(e=l(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function u(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function d(e,t){r((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,i)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===i[e]&&(i[e]={}),i[e][t[1]]=n):i[e]=n};case"bracket":return(e,n,i)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==i[e]?i[e]=[].concat(i[e],n):i[e]=[n]:i[e]=n};case"comma":case"separator":return(t,n,i)=>{const r="string"==typeof n&&n.split("").indexOf(e.arrayFormatSeparator)>-1?n.split(e.arrayFormatSeparator).map((t=>a(t,e))):null===n?n:a(n,e);i[t]=r};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),o=Object.create(null);if("string"!=typeof e)return o;if(!(e=e.trim().replace(/^[?#&]/,"")))return o;for(const r of e.split("&")){let[e,s]=i(t.decode?r.replace(/\+/g," "):r,"=");s=void 0===s?null:["comma","separator"].includes(t.arrayFormat)?s:a(s,t),n(a(e,t),s,o)}for(const e of Object.keys(o)){const n=o[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=u(n[e],t);else o[e]=u(n,t)}return!1===t.sort?o:(!0===t.sort?Object.keys(o).sort():Object.keys(o).sort(t.sort)).reduce(((e,t)=>{const n=o[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=s(n):e[t]=n,e}),Object.create(null))}e.extract=c,e.parse=d,e.stringify=(e,t)=>{if(!e)return"";r((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],i=function(e){switch(e.arrayFormat){case"index":return t=>(n,i)=>{const r=n.length;return void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?[...n,[o(t,e),"[",r,"]"].join("")]:[...n,[o(t,e),"[",o(r,e),"]=",o(i,e)].join("")]};case"bracket":return t=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?[...n,[o(t,e),"[]"].join("")]:[...n,[o(t,e),"[]=",o(i,e)].join("")];case"comma":case"separator":return t=>(n,i)=>null==i||0===i.length?n:0===n.length?[[o(t,e),"=",o(i,e)].join("")]:[[n,o(i,e)].join(e.arrayFormatSeparator)];default:return t=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?[...n,o(t,e)]:[...n,[o(t,e),"=",o(i,e)].join("")]}}(t),a={};for(const t of Object.keys(e))n(t)||(a[t]=e[t]);const s=Object.keys(a);return!1!==t.sort&&s.sort(t.sort),s.map((n=>{const r=e[n];return void 0===r?"":null===r?o(n,t):Array.isArray(r)?r.reduce(i(n),[]).join("&"):o(n,t)+"="+o(r,t)})).filter((e=>e.length>0)).join("&")},e.parseUrl=(e,t)=>({url:l(e).split("?")[0]||"",query:d(c(e),t)}),e.stringifyUrl=(t,n)=>{const i=l(t.url).split("?")[0]||"",r=e.extract(t.url),o=e.parse(r),a=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(t.url),s=Object.assign(o,t.query);let c=e.stringify(s,n);return c&&(c=`?${c}`),`${i}${c}${a}`}}(Zy);var sO={verbose:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return false},info:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return console.info.apply(console,aO([e],t,!1))},warn:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return console.warn.apply(console,aO([e],t,!1))},error:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return console.error.apply(console,aO([e],t,!1))}},lO=((e,t=21)=>(n=t)=>{let i="",r=n;for(;r--;)i+=e[Math.random()*e.length|0];return i})("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",16);function cO(e){var t=window.__createIdInterceptor;return t?t(e,lO):lO()}var uO=sm(),dO={name:uO.name,version:function(e){var t=e.indexOf(".");return t>0?e.substr(0,t):e}(uO.version)};var pO="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},fO=function(e){return e&&e.Math==Math&&e},hO=fO("object"==typeof globalThis&&globalThis)||fO("object"==typeof window&&window)||fO("object"==typeof self&&self)||fO("object"==typeof pO&&pO)||Function("return this")(),mO={},gO=function(e){try{return!!e()}catch(e){return!0}},vO=!gO((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),bO={},yO={}.propertyIsEnumerable,OO=Object.getOwnPropertyDescriptor,wO=OO&&!yO.call({1:2},1);bO.f=wO?function(e){var t=OO(this,e);return!!t&&t.enumerable}:yO;var _O=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},xO={}.toString,kO=function(e){return xO.call(e).slice(8,-1)},SO=kO,EO="".split,CO=gO((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==SO(e)?EO.call(e,""):Object(e)}:Object,PO=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},FO=CO,TO=PO,DO=function(e){return FO(TO(e))},AO=function(e){return"object"==typeof e?null!==e:"function"==typeof e},IO=AO,$O=function(e,t){if(!IO(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!IO(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!IO(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!IO(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},RO={}.hasOwnProperty,jO=function(e,t){return RO.call(e,t)},zO=AO,MO=hO.document,LO=zO(MO)&&zO(MO.createElement),NO=function(e){return LO?MO.createElement(e):{}},QO=NO,BO=!vO&&!gO((function(){return 7!=Object.defineProperty(QO("div"),"a",{get:function(){return 7}}).a})),UO=vO,qO=bO,WO=_O,GO=DO,VO=$O,XO=jO,HO=BO,YO=Object.getOwnPropertyDescriptor;mO.f=UO?YO:function(e,t){if(e=GO(e),t=VO(t,!0),HO)try{return YO(e,t)}catch(e){}if(XO(e,t))return WO(!qO.f.call(e,t),e[t])};var ZO={},KO=AO,JO=function(e){if(!KO(e))throw TypeError(String(e)+" is not an object");return e},ew=vO,tw=BO,nw=JO,iw=$O,rw=Object.defineProperty;ZO.f=ew?rw:function(e,t,n){if(nw(e),t=iw(t,!0),nw(n),tw)try{return rw(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var ow=ZO,aw=_O,sw=vO?function(e,t,n){return ow.f(e,t,aw(1,n))}:function(e,t,n){return e[t]=n,e},lw={exports:{}},cw=hO,uw=sw,dw=function(e,t){try{uw(cw,e,t)}catch(n){cw[e]=t}return t},pw=dw,fw="__core-js_shared__",hw=hO[fw]||pw(fw,{}),mw=hw,gw=Function.toString;"function"!=typeof mw.inspectSource&&(mw.inspectSource=function(e){return gw.call(e)});var vw=mw.inspectSource,bw=vw,yw=hO.WeakMap,Ow="function"==typeof yw&&/native code/.test(bw(yw)),ww={exports:{}},_w=hw;(ww.exports=function(e,t){return _w[e]||(_w[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var xw,kw,Sw,Ew=0,Cw=Math.random(),Pw=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Ew+Cw).toString(36)},Fw=ww.exports,Tw=Pw,Dw=Fw("keys"),Aw=function(e){return Dw[e]||(Dw[e]=Tw(e))},Iw={},$w=Ow,Rw=AO,jw=sw,zw=jO,Mw=Aw,Lw=Iw,Nw=hO.WeakMap;if($w){var Qw=new Nw,Bw=Qw.get,Uw=Qw.has,qw=Qw.set;xw=function(e,t){return qw.call(Qw,e,t),t},kw=function(e){return Bw.call(Qw,e)||{}},Sw=function(e){return Uw.call(Qw,e)}}else{var Ww=Mw("state");Lw[Ww]=!0,xw=function(e,t){return jw(e,Ww,t),t},kw=function(e){return zw(e,Ww)?e[Ww]:{}},Sw=function(e){return zw(e,Ww)}}var Gw={set:xw,get:kw,has:Sw,enforce:function(e){return Sw(e)?kw(e):xw(e,{})},getterFor:function(e){return function(t){var n;if(!Rw(t)||(n=kw(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Vw=hO,Xw=sw,Hw=jO,Yw=dw,Zw=vw,Kw=Gw.get,Jw=Gw.enforce,e_=String(String).split("String");(lw.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||Hw(n,"name")||Xw(n,"name",t),Jw(n).source=e_.join("string"==typeof t?t:"")),e!==Vw?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:Xw(e,t,n)):o?e[t]=n:Yw(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Kw(this).source||Zw(this)}));var t_=hO,n_=hO,i_=function(e){return"function"==typeof e?e:void 0},r_=function(e,t){return arguments.length<2?i_(t_[e])||i_(n_[e]):t_[e]&&t_[e][t]||n_[e]&&n_[e][t]},o_={},a_=Math.ceil,s_=Math.floor,l_=function(e){return isNaN(e=+e)?0:(e>0?s_:a_)(e)},c_=l_,u_=Math.min,d_=function(e){return e>0?u_(c_(e),9007199254740991):0},p_=l_,f_=Math.max,h_=Math.min,m_=DO,g_=d_,v_=function(e,t){var n=p_(e);return n<0?f_(n+t,0):h_(n,t)},b_=function(e){return function(t,n,i){var r,o=m_(t),a=g_(o.length),s=v_(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},y_={includes:b_(!0),indexOf:b_(!1)},O_=jO,w_=DO,__=y_.indexOf,x_=Iw,k_=function(e,t){var n,i=w_(e),r=0,o=[];for(n in i)!O_(x_,n)&&O_(i,n)&&o.push(n);for(;t.length>r;)O_(i,n=t[r++])&&(~__(o,n)||o.push(n));return o},S_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],E_=k_,C_=S_.concat("length","prototype");o_.f=Object.getOwnPropertyNames||function(e){return E_(e,C_)};var P_={};P_.f=Object.getOwnPropertySymbols;var F_=o_,T_=P_,D_=JO,A_=r_("Reflect","ownKeys")||function(e){var t=F_.f(D_(e)),n=T_.f;return n?t.concat(n(e)):t},I_=jO,$_=A_,R_=mO,j_=ZO,z_=gO,M_=/#|\.prototype\./,L_=function(e,t){var n=Q_[N_(e)];return n==U_||n!=B_&&("function"==typeof t?z_(t):!!t)},N_=L_.normalize=function(e){return String(e).replace(M_,".").toLowerCase()},Q_=L_.data={},B_=L_.NATIVE="N",U_=L_.POLYFILL="P",q_=L_,W_=hO,G_=mO.f,V_=sw,X_=lw.exports,H_=dw,Y_=function(e,t){for(var n=$_(t),i=j_.f,r=R_.f,o=0;o<n.length;o++){var a=n[o];I_(e,a)||i(e,a,r(t,a))}},Z_=q_,K_=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?W_:c?W_[s]||H_(s,{}):(W_[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=G_(n,i))&&a.value:n[i],!Z_(l?i:s+(c?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;Y_(o,r)}(e.sham||r&&r.sham)&&V_(o,"sham",!0),X_(n,i,o,e)}},J_=JO,ex={},tx=gO;function nx(e,t){return RegExp(e,t)}ex.UNSUPPORTED_Y=tx((function(){var e=nx("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ex.BROKEN_CARET=tx((function(){var e=nx("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var ix=function(){var e=J_(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},rx=ex,ox=RegExp.prototype.exec,ax=String.prototype.replace,sx=ox,lx=function(){var e=/a/,t=/b*/g;return ox.call(e,"a"),ox.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),cx=rx.UNSUPPORTED_Y||rx.BROKEN_CARET,ux=void 0!==/()??/.exec("")[1];(lx||ux||cx)&&(sx=function(e){var t,n,i,r,o=this,a=cx&&o.sticky,s=ix.call(o),l=o.source,c=0,u=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),ux&&(n=new RegExp("^"+l+"$(?!\\s)",s)),lx&&(t=o.lastIndex),i=ox.call(a?n:o,u),a?i?(i.input=i.input.slice(c),i[0]=i[0].slice(c),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:lx&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),ux&&i&&i.length>1&&ax.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var dx=sx;K_({target:"RegExp",proto:!0,forced:/./.exec!==dx},{exec:dx});var px=gO,fx=!!Object.getOwnPropertySymbols&&!px((function(){return!String(Symbol())})),hx=fx&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,mx=hO,gx=ww.exports,vx=jO,bx=Pw,yx=fx,Ox=hx,wx=gx("wks"),_x=mx.Symbol,xx=Ox?_x:_x&&_x.withoutSetter||bx,kx=function(e){return vx(wx,e)||(yx&&vx(_x,e)?wx[e]=_x[e]:wx[e]=xx("Symbol."+e)),wx[e]},Sx=lw.exports,Ex=gO,Cx=kx,Px=dx,Fx=sw,Tx=Cx("species"),Dx=!Ex((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Ax="$0"==="a".replace(/./,"$0"),Ix=Cx("replace"),$x=!!/./[Ix]&&""===/./[Ix]("a","$0"),Rx=!Ex((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),jx=function(e,t,n,i){var r=Cx(e),o=!Ex((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!Ex((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Tx]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!Dx||!Ax||$x)||"split"===e&&!Rx){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===Px?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:Ax,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:$x}),c=l[0],u=l[1];Sx(String.prototype,e,c),Sx(RegExp.prototype,r,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}i&&Fx(RegExp.prototype[r],"sham",!0)},zx=PO,Mx=function(e){return Object(zx(e))},Lx=l_,Nx=PO,Qx=function(e){return function(t,n){var i,r,o=String(Nx(t)),a=Lx(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},Bx={codeAt:Qx(!1),charAt:Qx(!0)}.charAt,Ux=function(e,t,n){return t+(n?Bx(e,t).length:1)},qx=kO,Wx=dx,Gx=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==qx(e))throw TypeError("RegExp#exec called on incompatible receiver");return Wx.call(e,t)},Vx=jx,Xx=JO,Hx=Mx,Yx=d_,Zx=l_,Kx=PO,Jx=Ux,ek=Gx,tk=Math.max,nk=Math.min,ik=Math.floor,rk=/\$([$&'`]|\d\d?|<[^>]*>)/g,ok=/\$([$&'`]|\d\d?)/g,ak=function(e){return void 0===e?e:String(e)};Vx("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=Kx(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var c=Xx(e),u=String(this),d="function"==typeof i;d||(i=String(i));var p=c.global;if(p){var f=c.unicode;c.lastIndex=0}for(var h=[];;){var m=ek(c,u);if(null===m)break;if(h.push(m),!p)break;""===String(m[0])&&(c.lastIndex=Jx(u,Yx(c.lastIndex),f))}for(var g="",v=0,b=0;b<h.length;b++){m=h[b];for(var y=String(m[0]),O=tk(nk(Zx(m.index),u.length),0),w=[],_=1;_<m.length;_++)w.push(ak(m[_]));var x=m.groups;if(d){var k=[y].concat(w,O,u);void 0!==x&&k.push(x);var S=String(i.apply(void 0,k))}else S=s(y,u,O,w,x,i);O>=v&&(g+=u.slice(v,O)+S,v=O+y.length)}return g+u.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,c=ok;return void 0!==o&&(o=Hx(o),c=rk),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var d=ik(u/10);return 0===d?t:d<=l?void 0===r[d-1]?a.charAt(1):r[d-1]+a.charAt(1):t}c=r[u-1]}return void 0===c?"":c}))}}));var sk=function(e){if(!e)return null;var t=vm(e);return t.sub===ck?new Date(864e13):function(e){if(null==e||isNaN(e))return null;return new Date(1e3*e)}(t.exp)};var lk=function(e){if(!e)return!1;var t=Mm(new Date,1),n=e;return"string"==typeof e&&(n=sk(e)),n&&n>t},ck="Reach::ItemShareToken";var uk,dk=k_,pk=S_,fk=Object.keys||function(e){return dk(e,pk)},hk=ZO,mk=JO,gk=fk,vk=vO?Object.defineProperties:function(e,t){mk(e);for(var n,i=gk(t),r=i.length,o=0;r>o;)hk.f(e,n=i[o++],t[n]);return e},bk=r_("document","documentElement"),yk=JO,Ok=vk,wk=S_,_k=Iw,xk=bk,kk=NO,Sk=Aw("IE_PROTO"),Ek=function(){},Ck=function(e){return"<script>"+e+"</"+"script>"},Pk=function(){try{uk=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Pk=uk?function(e){e.write(Ck("")),e.close();var t=e.parentWindow.Object;return e=null,t}(uk):((t=kk("iframe")).style.display="none",xk.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Ck("document.F=Object")),e.close(),e.F);for(var n=wk.length;n--;)delete Pk.prototype[wk[n]];return Pk()};_k[Sk]=!0;var Fk=Object.create||function(e,t){var n;return null!==e?(Ek.prototype=yk(e),n=new Ek,Ek.prototype=null,n[Sk]=e):n=Pk(),void 0===t?n:Ok(n,t)},Tk=Fk,Dk=ZO,Ak=kx("unscopables"),Ik=Array.prototype;null==Ik[Ak]&&Dk.f(Ik,Ak,{configurable:!0,value:Tk(null)});var $k,Rk,jk,zk={},Mk=!gO((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Lk=jO,Nk=Mx,Qk=Mk,Bk=Aw("IE_PROTO"),Uk=Object.prototype,qk=Qk?Object.getPrototypeOf:function(e){return e=Nk(e),Lk(e,Bk)?e[Bk]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Uk:null},Wk=qk,Gk=sw,Vk=jO,Xk=kx("iterator"),Hk=!1;[].keys&&("next"in(jk=[].keys())?(Rk=Wk(Wk(jk)))!==Object.prototype&&($k=Rk):Hk=!0),null==$k&&($k={}),Vk($k,Xk)||Gk($k,Xk,(function(){return this}));var Yk={IteratorPrototype:$k,BUGGY_SAFARI_ITERATORS:Hk},Zk=ZO.f,Kk=jO,Jk=kx("toStringTag"),eS=function(e,t,n){e&&!Kk(e=n?e:e.prototype,Jk)&&Zk(e,Jk,{configurable:!0,value:t})},tS=Yk.IteratorPrototype,nS=Fk,iS=_O,rS=eS,oS=zk,aS=function(){return this},sS=AO,lS=JO,cS=function(e){if(!sS(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},uS=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return lS(n),cS(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),dS=K_,pS=function(e,t,n){var i=t+" Iterator";return e.prototype=nS(tS,{next:iS(1,n)}),rS(e,i,!1),oS[i]=aS,e},fS=qk,hS=uS,mS=eS,gS=sw,vS=lw.exports,bS=zk,yS=Yk.IteratorPrototype,OS=Yk.BUGGY_SAFARI_ITERATORS,wS=kx("iterator"),_S="keys",xS="values",kS="entries",SS=function(){return this},ES=DO,CS=function(e){Ik[Ak][e]=!0},PS=zk,FS=Gw,TS=function(e,t,n,i,r,o,a){pS(n,t,i);var s,l,c,u=function(e){if(e===r&&m)return m;if(!OS&&e in f)return f[e];switch(e){case _S:case xS:case kS:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,f=e.prototype,h=f[wS]||f["@@iterator"]||r&&f[r],m=!OS&&h||u(r),g="Array"==t&&f.entries||h;if(g&&(s=fS(g.call(new e)),yS!==Object.prototype&&s.next&&(fS(s)!==yS&&(hS?hS(s,yS):"function"!=typeof s[wS]&&gS(s,wS,SS)),mS(s,d,!0))),r==xS&&h&&h.name!==xS&&(p=!0,m=function(){return h.call(this)}),f[wS]!==m&&gS(f,wS,m),bS[t]=m,r)if(l={values:u(xS),keys:o?m:u(_S),entries:u(kS)},a)for(c in l)(OS||p||!(c in f))&&vS(f,c,l[c]);else dS({target:t,proto:!0,forced:OS||p},l);return l},DS="Array Iterator",AS=FS.set,IS=FS.getterFor(DS),$S=TS(Array,"Array",(function(e,t){AS(this,{type:DS,target:ES(e),index:0,kind:t})}),(function(){var e=IS(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");PS.Arguments=PS.Array,CS("keys"),CS("values"),CS("entries");var RS=hO,jS={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},zS=$S,MS=sw,LS=kx,NS=LS("iterator"),QS=LS("toStringTag"),BS=zS.values;for(var US in jS){var qS=RS[US],WS=qS&&qS.prototype;if(WS){if(WS[NS]!==BS)try{MS(WS,NS,BS)}catch(e){WS[NS]=BS}if(WS[QS]||MS(WS,QS,US),jS[US])for(var GS in zS)if(WS[GS]!==zS[GS])try{MS(WS,GS,zS[GS])}catch(e){WS[GS]=zS[GS]}}}var VS=AO,XS=kO,HS=kx("match"),YS=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},ZS=JO,KS=YS,JS=kx("species"),eE=function(e,t){var n,i=ZS(e).constructor;return void 0===i||null==(n=ZS(i)[JS])?t:KS(n)},tE=jx,nE=function(e){var t;return VS(e)&&(void 0!==(t=e[HS])?!!t:"RegExp"==XS(e))},iE=JO,rE=PO,oE=eE,aE=Ux,sE=d_,lE=Gx,cE=dx,uE=gO,dE=[].push,pE=Math.min,fE=4294967295,hE=!uE((function(){return!RegExp(fE,"y")}));tE("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(rE(this)),r=void 0===n?fE:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!nE(e))return t.call(i,e,r);for(var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,d=new RegExp(e.source,c+"g");(o=cE.call(d,i))&&!((a=d.lastIndex)>u&&(l.push(i.slice(u,o.index)),o.length>1&&o.index<i.length&&dE.apply(l,o.slice(1)),s=o[0].length,u=a,l.length>=r));)d.lastIndex===o.index&&d.lastIndex++;return u===i.length?!s&&d.test("")||l.push(""):l.push(i.slice(u)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=rE(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=iE(e),s=String(this),l=oE(a,RegExp),c=a.unicode,u=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(hE?"y":"g"),d=new l(hE?a:"^(?:"+a.source+")",u),p=void 0===r?fE:r>>>0;if(0===p)return[];if(0===s.length)return null===lE(d,s)?[s]:[];for(var f=0,h=0,m=[];h<s.length;){d.lastIndex=hE?h:0;var g,v=lE(d,hE?s:s.slice(h));if(null===v||(g=pE(sE(d.lastIndex+(hE?0:h)),s.length))===f)h=aE(s,h,c);else{if(m.push(s.slice(f,h)),m.length===p)return m;for(var b=1;b<=v.length-1;b++)if(m.push(v[b]),m.length===p)return m;h=f=g}}return m.push(s.slice(f)),m}]}),!hE);var mE=new Set(["de","da","en","fr","es","zh-TW","zh-CN","ja","tr","it"]);function gE(){return navigator.language.split("-")[0]}function vE(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return aO(aO([],e,!0),[gE(),"en"],!1).find((function(e){return e&&mE.has(e)}))}function bE(){return Intl.DateTimeFormat().resolvedOptions().timeZone}var yE=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function OE(e){return!!e&&yE.test(e)}var wE="\t\n\v\f\r \u2028\u2029\ufeff",_E=PO,xE="[\t\n\v\f\r \u2028\u2029\ufeff]",kE=RegExp("^"+xE+xE+"*"),SE=RegExp(xE+xE+"*$"),EE=function(e){return function(t){var n=String(_E(t));return 1&e&&(n=n.replace(kE,"")),2&e&&(n=n.replace(SE,"")),n}},CE={start:EE(1),end:EE(2),trim:EE(3)}.trim,PE=wE,FE=hO.parseInt,TE=/^[+-]?0[Xx]/,DE=8!==FE(PE+"08")||22!==FE(PE+"0x16")?function(e,t){var n=CE(String(e));return FE(n,t>>>0||(TE.test(n)?16:10))}:FE;function AE(e){var t,n,i=0;if(0===e.length)return i;for(t=0,n=e.length;t<n;t++)i=(i<<5)-i+e.charCodeAt(t),i|=0;return i}function IE(e){return e?(e=e.split("@")[0].toUpperCase()).split(/[.|\s]/).map((function(e){return e.replace(/(?:(?![0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])[\s\S])/g,"")})).filter((function(e){return e.length})).slice(0,2).map((function(e){return e.charAt(0)})).join(""):""}function $E(e){var t=[];for(var n in r.PersonaInitialsColor){parseInt(n,10)>=0&&t.push(r.PersonaInitialsColor[n])}t=t.filter((function(e){return"transparent"!==e&&"black"!==e&&"red"!==e&&"black"!==e}));var i=t[AE(e)%t.length];return parseInt(r.PersonaInitialsColor[i],10)}function RE(e){var t=["#4F6BED","#0078D4","#004E8C","#038387","#498205","#498205","#0B6A0B","#C239B3","#E3008C","#881798","#5C2E91","#CA5010","#A4262C","#8764B8","#D13438","#986F0B","#750B1C","#7A7574","#69797E","#393939","#005B70","#8E562E"];return t[AE(e)%t.length]}K_({global:!0,forced:parseInt!=DE},{parseInt:DE});var jE=function(e){return e?new Date(e):new Date},zE=function(e){return"string"==typeof e?new Date(e):e},ME=function(e){return function(e){return Om(1,arguments),Zm(e,Date.now())}(NE(zE(e)))},LE=function(e,t){return By(e,t)||Vv(e,t)},NE=function(e){var t=e.getTimezoneOffset();return-1!==Math.sign(t)?Mm(e,t):function(e,t){Om(2,arguments);var n=ym(t);return Mm(e,-n)}(e,Math.abs(t))},QE=hO.Promise,BE=lw.exports,UE=r_,qE=ZO,WE=vO,GE=kx("species"),VE={exports:{}},XE=zk,HE=kx("iterator"),YE=Array.prototype,ZE=YS,KE=function(e,t,n){if(ZE(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},JE={};JE[kx("toStringTag")]="z";var eC="[object z]"===String(JE),tC=kO,nC=kx("toStringTag"),iC="Arguments"==tC(function(){return arguments}()),rC=eC?tC:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),nC))?n:iC?tC(t):"Object"==(i=tC(t))&&"function"==typeof t.callee?"Arguments":i},oC=rC,aC=zk,sC=kx("iterator"),lC=JO,cC=JO,uC=function(e){return void 0!==e&&(XE.Array===e||YE[HE]===e)},dC=d_,pC=KE,fC=function(e){if(null!=e)return e[sC]||e["@@iterator"]||aC[oC(e)]},hC=function(e,t,n,i){try{return i?t(lC(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&lC(r.call(e)),t}},mC=function(e,t){this.stopped=e,this.result=t},gC=VE.exports=function(e,t,n,i,r){var o,a,s,l,c,u,d,p=pC(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=fC(e)))throw TypeError("Target is not iterable");if(uC(a)){for(s=0,l=dC(e.length);l>s;s++)if((c=i?p(cC(d=e[s])[0],d[1]):p(e[s]))&&c instanceof mC)return c;return new mC(!1)}o=a.call(e)}for(u=o.next;!(d=u.call(o)).done;)if("object"==typeof(c=hC(o,p,d.value,i))&&c&&c instanceof mC)return c;return new mC(!1)};gC.stop=function(e){return new mC(!0,e)};var vC=kx("iterator"),bC=!1;try{var yC=0,OC={next:function(){return{done:!!yC++}},return:function(){bC=!0}};OC[vC]=function(){return this},Array.from(OC,(function(){throw 2}))}catch(e){}var wC,_C,xC,kC=r_("navigator","userAgent")||"",SC=/(iphone|ipod|ipad).*applewebkit/i.test(kC),EC=hO,CC=gO,PC=kO,FC=KE,TC=bk,DC=NO,AC=SC,IC=EC.location,$C=EC.setImmediate,RC=EC.clearImmediate,jC=EC.process,zC=EC.MessageChannel,MC=EC.Dispatch,LC=0,NC={},QC="onreadystatechange",BC=function(e){if(NC.hasOwnProperty(e)){var t=NC[e];delete NC[e],t()}},UC=function(e){return function(){BC(e)}},qC=function(e){BC(e.data)},WC=function(e){EC.postMessage(e+"",IC.protocol+"//"+IC.host)};$C&&RC||($C=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return NC[++LC]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},wC(LC),LC},RC=function(e){delete NC[e]},"process"==PC(jC)?wC=function(e){jC.nextTick(UC(e))}:MC&&MC.now?wC=function(e){MC.now(UC(e))}:zC&&!AC?(xC=(_C=new zC).port2,_C.port1.onmessage=qC,wC=FC(xC.postMessage,xC,1)):!EC.addEventListener||"function"!=typeof postMessage||EC.importScripts||CC(WC)||"file:"===IC.protocol?wC=QC in DC("script")?function(e){TC.appendChild(DC("script")).onreadystatechange=function(){TC.removeChild(this),BC(e)}}:function(e){setTimeout(UC(e),0)}:(wC=WC,EC.addEventListener("message",qC,!1)));var GC,VC,XC,HC,YC,ZC,KC,JC,eP={set:$C,clear:RC},tP=hO,nP=mO.f,iP=kO,rP=eP.set,oP=SC,aP=tP.MutationObserver||tP.WebKitMutationObserver,sP=tP.process,lP=tP.Promise,cP="process"==iP(sP),uP=nP(tP,"queueMicrotask"),dP=uP&&uP.value;dP||(GC=function(){var e,t;for(cP&&(e=sP.domain)&&e.exit();VC;){t=VC.fn,VC=VC.next;try{t()}catch(e){throw VC?HC():XC=void 0,e}}XC=void 0,e&&e.enter()},cP?HC=function(){sP.nextTick(GC)}:aP&&!oP?(YC=!0,ZC=document.createTextNode(""),new aP(GC).observe(ZC,{characterData:!0}),HC=function(){ZC.data=YC=!YC}):lP&&lP.resolve?(KC=lP.resolve(void 0),JC=KC.then,HC=function(){JC.call(KC,GC)}):HC=function(){rP.call(tP,GC)});var pP=dP||function(e){var t={fn:e,next:void 0};XC&&(XC.next=t),VC||(VC=t,HC()),XC=t},fP={},hP=YS,mP=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=hP(t),this.reject=hP(n)};fP.f=function(e){return new mP(e)};var gP,vP,bP=JO,yP=AO,OP=fP,wP=hO,_P=kC,xP=hO.process,kP=xP&&xP.versions,SP=kP&&kP.v8;SP?vP=(gP=SP.split("."))[0]+gP[1]:_P&&(!(gP=_P.match(/Edge\/(\d+)/))||gP[1]>=74)&&(gP=_P.match(/Chrome\/(\d+)/))&&(vP=gP[1]);var EP,CP,PP,FP,TP=vP&&+vP,DP=K_,AP=hO,IP=r_,$P=QE,RP=lw.exports,jP=function(e,t,n){for(var i in t)BE(e,i,t[i],n);return e},zP=eS,MP=function(e){var t=UE(e),n=qE.f;WE&&t&&!t[GE]&&n(t,GE,{configurable:!0,get:function(){return this}})},LP=AO,NP=YS,QP=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},BP=kO,UP=vw,qP=VE.exports,WP=function(e,t){if(!t&&!bC)return!1;var n=!1;try{var i={};i[vC]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},GP=eE,VP=eP.set,XP=pP,HP=function(e,t){if(bP(e),yP(t)&&t.constructor===e)return t;var n=OP.f(e);return(0,n.resolve)(t),n.promise},YP=function(e,t){var n=wP.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},ZP=fP,KP=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},JP=Gw,eF=q_,tF=TP,nF=kx("species"),iF="Promise",rF=JP.get,oF=JP.set,aF=JP.getterFor(iF),sF=$P,lF=AP.TypeError,cF=AP.document,uF=AP.process,dF=IP("fetch"),pF=ZP.f,fF=pF,hF="process"==BP(uF),mF=!!(cF&&cF.createEvent&&AP.dispatchEvent),gF="unhandledrejection",vF=eF(iF,(function(){if(!(UP(sF)!==String(sF))){if(66===tF)return!0;if(!hF&&"function"!=typeof PromiseRejectionEvent)return!0}if(tF>=51&&/native code/.test(sF))return!1;var e=sF.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[nF]=t,!(e.then((function(){}))instanceof t)})),bF=vF||!WP((function(e){sF.all(e).catch((function(){}))})),yF=function(e){var t;return!(!LP(e)||"function"!=typeof(t=e.then))&&t},OF=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;XP((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,c,u=i[a++],d=o?u.ok:u.fail,p=u.resolve,f=u.reject,h=u.domain;try{d?(o||(2===t.rejection&&kF(e,t),t.rejection=1),!0===d?s=r:(h&&h.enter(),s=d(r),h&&(h.exit(),c=!0)),s===u.promise?f(lF("Promise-chain cycle")):(l=yF(s))?l.call(s,p,f):p(s)):f(r)}catch(e){h&&!c&&h.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&_F(e,t)}))}},wF=function(e,t,n){var i,r;mF?((i=cF.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),AP.dispatchEvent(i)):i={promise:t,reason:n},(r=AP["on"+e])?r(i):e===gF&&YP("Unhandled promise rejection",n)},_F=function(e,t){VP.call(AP,(function(){var n,i=t.value;if(xF(t)&&(n=KP((function(){hF?uF.emit("unhandledRejection",i,e):wF(gF,e,i)})),t.rejection=hF||xF(t)?2:1,n.error))throw n.value}))},xF=function(e){return 1!==e.rejection&&!e.parent},kF=function(e,t){VP.call(AP,(function(){hF?uF.emit("rejectionHandled",e):wF("rejectionhandled",e,t.value)}))},SF=function(e,t,n,i){return function(r){e(t,n,r,i)}},EF=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,OF(e,t,!0))},CF=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw lF("Promise can't be resolved itself");var r=yF(n);r?XP((function(){var i={done:!1};try{r.call(n,SF(CF,e,i,t),SF(EF,e,i,t))}catch(n){EF(e,i,n,t)}})):(t.value=n,t.state=1,OF(e,t,!1))}catch(n){EF(e,{done:!1},n,t)}}};vF&&(sF=function(e){QP(this,sF,iF),NP(e),EP.call(this);var t=rF(this);try{e(SF(CF,this,t),SF(EF,this,t))}catch(e){EF(this,t,e)}},(EP=function(e){oF(this,{type:iF,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=jP(sF.prototype,{then:function(e,t){var n=aF(this),i=pF(GP(this,sF));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=hF?uF.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&OF(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),CP=function(){var e=new EP,t=rF(e);this.promise=e,this.resolve=SF(CF,e,t),this.reject=SF(EF,e,t)},ZP.f=pF=function(e){return e===sF||e===PP?new CP(e):fF(e)},"function"==typeof $P&&(FP=$P.prototype.then,RP($P.prototype,"then",(function(e,t){var n=this;return new sF((function(e,t){FP.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof dF&&DP({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return HP(sF,dF.apply(AP,arguments))}}))),DP({global:!0,wrap:!0,forced:vF},{Promise:sF}),zP(sF,iF,!1),MP(iF),PP=IP(iF),DP({target:iF,stat:!0,forced:vF},{reject:function(e){var t=pF(this);return t.reject.call(void 0,e),t.promise}}),DP({target:iF,stat:!0,forced:vF},{resolve:function(e){return HP(this,e)}}),DP({target:iF,stat:!0,forced:bF},{all:function(e){var t=this,n=pF(t),i=n.resolve,r=n.reject,o=KP((function(){var n=NP(t.resolve),o=[],a=0,s=1;qP(e,(function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=pF(t),i=n.reject,r=KP((function(){var r=NP(t.resolve);qP(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var PF,FF,TF={};function DF(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function AF(e){return e.type===PF.literal}function IF(e){return e.type===PF.argument}function $F(e){return e.type===PF.number}function RF(e){return e.type===PF.date}function jF(e){return e.type===PF.time}function zF(e){return e.type===PF.select}function MF(e){return e.type===PF.plural}function LF(e){return e.type===PF.pound}function NF(e){return e.type===PF.tag}function QF(e){return!(!e||"object"!=typeof e||0!==e.type)}function BF(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(PF||(PF={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(FF||(FF={}));var UF=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function qF(e){var t={};return e.replace(UF,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}function WF(e){return e.replace(/^(.*?)-/,"")}var GF=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,VF=/^(@+)?(\+|#+)?$/g,XF=/(\*)(0+)|(#+)(0+)|(0+)/g,HF=/^(0+)$/;function YF(e){var t={};return e.replace(VF,(function(e,n,i){return"string"!=typeof i?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===i?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof i?i.length:0)),""})),t}function ZF(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function KF(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!HF.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function JF(e){var t=ZF(e);return t||{}}function eT(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=WF(r.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ko(ko(ko({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return ko(ko({},e),JF(t))}),{}));continue;case"engineering":t=ko(ko(ko({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return ko(ko({},e),JF(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(XF,(function(e,n,i,r,o,a){if(n)t.minimumIntegerDigits=i.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(HF.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if(GF.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(GF,(function(e,n,i,r,o,a){return"*"===i?t.minimumFractionDigits=n.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""})),r.options.length&&(t=ko(ko({},t),YF(r.options[0])))}else if(VF.test(r.stem))t=ko(ko({},t),YF(r.stem));else{var o=ZF(r.stem);o&&(t=ko(ko({},t),o));var a=KF(r.stem);a&&(t=ko(ko({},t),a))}}return t}var tT=function(e){function t(n,i,r,o){var a=e.call(this)||this;return a.message=n,a.expected=i,a.found=r,a.location=o,a.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return xo(t,e),t.buildMessage=function(e,t){function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function r(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function o(e){switch(e.type){case"literal":return'"'+i(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?r(e[0])+"-"+r(e[1]):r(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,n,i=e.map(o);if(i.sort(),i.length>0){for(t=1,n=1;t<i.length;t++)i[t-1]!==i[t]&&(i[n]=i[t],n++);i.length=n}switch(i.length){case 1:return i[0];case 2:return i[0]+" or "+i[1];default:return i.slice(0,-1).join(", ")+", or "+i[i.length-1]}}(e)+" but "+(((a=t)?'"'+i(a)+'"':"end of input")+" found.");var a},t}(Error);var nT=function(e,t){t=void 0!==t?t:{};var n,i={},r={start:Qe},o=Qe,a="<",s=Re("<",!1),l=function(e){return e.join("")},c=Re("#",!1),u=ze("tagElement"),d=Re("/>",!1),p=Re(">",!1),f=Re("</",!1),h=ze("argumentElement"),m="{",g=Re("{",!1),v="}",b=Re("}",!1),y=ze("numberSkeletonId"),O=/^['\/{}]/,w=je(["'","/","{","}"],!1,!1),_={type:"any"},x=ze("numberSkeletonTokenOption"),k=Re("/",!1),S=ze("numberSkeletonToken"),E="::",C=Re("::",!1),P=function(e){return ft.pop(),e.replace(/\s*$/,"")},F=",",T=Re(",",!1),D="number",A=Re("number",!1),I=function(e,t,n){return ko({type:"number"===t?PF.number:"date"===t?PF.date:PF.time,style:n&&n[2],value:e},mt())},$="'",R=Re("'",!1),j=/^[^']/,z=je(["'"],!0,!1),M=/^[^a-zA-Z'{}]/,L=je([["a","z"],["A","Z"],"'","{","}"],!0,!1),N=/^[a-zA-Z]/,Q=je([["a","z"],["A","Z"]],!1,!1),B="date",U=Re("date",!1),q="time",W=Re("time",!1),G="plural",V=Re("plural",!1),X="selectordinal",H=Re("selectordinal",!1),Y="offset:",Z=Re("offset:",!1),K="select",J=Re("select",!1),ee=Re("=",!1),te=ze("whitespace"),ne=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ie=je([["\t","\r"]," ","
"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),re=ze("syntax pattern"),oe=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,ae=je([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←",""],["─","❵"],["➔","⯿"],["⸀",""],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),se=ze("optional whitespace"),le=ze("number"),ce="-",ue=Re("-",!1),de=ze("double apostrophes"),pe="''",fe=Re("''",!1),he=function(e){return!("<"===e||"{"===e||ht()&&"#"===e||ft.length>1&&"}"===e)},me=Re("\n",!1),ge=ze("argNameOrNumber"),ve=ze("validTag"),be=ze("argNumber"),ye=Re("0",!1),Oe=/^[1-9]/,we=je([["1","9"]],!1,!1),_e=/^[0-9]/,xe=je([["0","9"]],!1,!1),ke=ze("argName"),Se=ze("tagName"),Ee=0,Ce=0,Pe=[{line:1,column:1}],Fe=0,Te=[],De=0;if(void 0!==t.startRule){if(!(t.startRule in r))throw new Error("Can't start parsing from rule \""+t.startRule+'".');o=r[t.startRule]}function Ae(){return e.substring(Ce,Ee)}function Ie(){return Le(Ce,Ee)}function $e(e,t){throw function(e,t){return new tT(e,[],"",t)}(e,t=void 0!==t?t:Le(Ce,Ee))}function Re(e,t){return{type:"literal",text:e,ignoreCase:t}}function je(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function ze(e){return{type:"other",description:e}}function Me(t){var n,i=Pe[t];if(i)return i;for(n=t-1;!Pe[n];)n--;for(i={line:(i=Pe[n]).line,column:i.column};n<t;)10===e.charCodeAt(n)?(i.line++,i.column=1):i.column++,n++;return Pe[t]=i,i}function Le(e,t){var n=Me(e),i=Me(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:i.line,column:i.column}}}function Ne(e){Ee<Fe||(Ee>Fe&&(Fe=Ee,Te=[]),Te.push(e))}function Qe(){return Be()}function Be(){var e,t;for(e=[],t=Ue();t!==i;)e.push(t),t=Ue();return e}function Ue(){var t,n;return t=Ee,Ce=Ee,(!gt?void 0:i)!==i?(n=function(){var e,t,n,r;De++,(e=Ge())===i&&(e=Ee,(t=Ve())!==i&&(n=Be())!==i&&(r=Xe())!==i?(Ce=e,t=function(e,t,n){return e!==n&&$e('Mismatch tag "'+e+'" !== "'+n+'"',Ie()),ko({type:PF.tag,value:e,children:t},mt())}(t,n,r),e=t):(Ee=e,e=i));De--,e===i&&(t=i,0===De&&Ne(u));return e}(),n!==i?(Ce=t,t=n):(Ee=t,t=i)):(Ee=t,t=i),t===i&&(t=function(){var e,t;e=Ee,(t=qe())!==i&&(Ce=e,n=t,t=ko({type:PF.literal,value:n},mt()));var n;return e=t}(),t===i&&(t=function(){var t,n,r,o;De++,t=Ee,123===e.charCodeAt(Ee)?(n=m,Ee++):(n=i,0===De&&Ne(g));n!==i&&rt()!==i&&(r=ct())!==i&&rt()!==i?(125===e.charCodeAt(Ee)?(o=v,Ee++):(o=i,0===De&&Ne(b)),o!==i?(Ce=t,a=r,t=n=ko({type:PF.argument,value:a},mt())):(Ee=t,t=i)):(Ee=t,t=i);var a;De--,t===i&&(n=i,0===De&&Ne(h));return t}(),t===i&&(t=function(){var t;t=function(){var t,n,r,o,a,s,l,c,u;t=Ee,123===e.charCodeAt(Ee)?(n=m,Ee++):(n=i,0===De&&Ne(g));n!==i&&rt()!==i&&(r=ct())!==i&&rt()!==i?(44===e.charCodeAt(Ee)?(o=F,Ee++):(o=i,0===De&&Ne(T)),o!==i&&rt()!==i?(e.substr(Ee,6)===D?(a=D,Ee+=6):(a=i,0===De&&Ne(A)),a!==i&&rt()!==i?(s=Ee,44===e.charCodeAt(Ee)?(l=F,Ee++):(l=i,0===De&&Ne(T)),l!==i&&(c=rt())!==i?(u=function(){var t,n,r;t=Ee,e.substr(Ee,2)===E?(n=E,Ee+=2):(n=i,0===De&&Ne(C));n!==i?(r=function(){var e,t,n;if(e=Ee,t=[],(n=Ze())!==i)for(;n!==i;)t.push(n),n=Ze();else t=i;t!==i&&(Ce=e,t=function(e){return ko({type:0,tokens:e,parsedOptions:vt?eT(e):{}},mt())}(t));return e=t}(),r!==i?(Ce=t,t=n=r):(Ee=t,t=i)):(Ee=t,t=i);t===i&&(t=Ee,Ce=Ee,ft.push("numberArgStyle"),(n=(n=!0)?void 0:i)!==i&&(r=qe())!==i?(Ce=t,t=n=P(r)):(Ee=t,t=i));return t}(),u!==i?s=l=[l,c,u]:(Ee=s,s=i)):(Ee=s,s=i),s===i&&(s=null),s!==i&&(l=rt())!==i?(125===e.charCodeAt(Ee)?(c=v,Ee++):(c=i,0===De&&Ne(b)),c!==i?(Ce=t,t=n=I(r,a,s)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i);return t}(),t===i&&(t=function(){var t,n,r,o,a,s,l,c,u;t=Ee,123===e.charCodeAt(Ee)?(n=m,Ee++):(n=i,0===De&&Ne(g));n!==i&&rt()!==i&&(r=ct())!==i&&rt()!==i?(44===e.charCodeAt(Ee)?(o=F,Ee++):(o=i,0===De&&Ne(T)),o!==i&&rt()!==i?(e.substr(Ee,4)===B?(a=B,Ee+=4):(a=i,0===De&&Ne(U)),a===i&&(e.substr(Ee,4)===q?(a=q,Ee+=4):(a=i,0===De&&Ne(W))),a!==i&&rt()!==i?(s=Ee,44===e.charCodeAt(Ee)?(l=F,Ee++):(l=i,0===De&&Ne(T)),l!==i&&(c=rt())!==i?(u=function(){var t,n,r;t=Ee,e.substr(Ee,2)===E?(n=E,Ee+=2):(n=i,0===De&&Ne(C));n!==i?(r=function(){var t,n,r,o;t=Ee,n=Ee,r=[],(o=Ke())===i&&(o=Je());if(o!==i)for(;o!==i;)r.push(o),(o=Ke())===i&&(o=Je());else r=i;n=r!==i?e.substring(n,Ee):r;n!==i&&(Ce=t,n=function(e){return ko({type:1,pattern:e,parsedOptions:vt?qF(e):{}},mt())}(n));return t=n}(),r!==i?(Ce=t,t=n=r):(Ee=t,t=i)):(Ee=t,t=i);t===i&&(t=Ee,Ce=Ee,ft.push("dateOrTimeArgStyle"),(n=(n=!0)?void 0:i)!==i&&(r=qe())!==i?(Ce=t,t=n=P(r)):(Ee=t,t=i));return t}(),u!==i?s=l=[l,c,u]:(Ee=s,s=i)):(Ee=s,s=i),s===i&&(s=null),s!==i&&(l=rt())!==i?(125===e.charCodeAt(Ee)?(c=v,Ee++):(c=i,0===De&&Ne(b)),c!==i?(Ce=t,t=n=I(r,a,s)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i);return t}());return t}(),t===i&&(t=function(){var t,n,r,o,a,s,l,c,u,d,p;t=Ee,123===e.charCodeAt(Ee)?(n=m,Ee++):(n=i,0===De&&Ne(g));if(n!==i)if(rt()!==i)if((r=ct())!==i)if(rt()!==i)if(44===e.charCodeAt(Ee)?(o=F,Ee++):(o=i,0===De&&Ne(T)),o!==i)if(rt()!==i)if(e.substr(Ee,6)===G?(a=G,Ee+=6):(a=i,0===De&&Ne(V)),a===i&&(e.substr(Ee,13)===X?(a=X,Ee+=13):(a=i,0===De&&Ne(H))),a!==i)if(rt()!==i)if(44===e.charCodeAt(Ee)?(s=F,Ee++):(s=i,0===De&&Ne(T)),s!==i)if(rt()!==i)if(l=Ee,e.substr(Ee,7)===Y?(c=Y,Ee+=7):(c=i,0===De&&Ne(Z)),c!==i&&(u=rt())!==i&&(d=ot())!==i?l=c=[c,u,d]:(Ee=l,l=i),l===i&&(l=null),l!==i)if((c=rt())!==i){if(u=[],(d=tt())!==i)for(;d!==i;)u.push(d),d=tt();else u=i;u!==i&&(d=rt())!==i?(125===e.charCodeAt(Ee)?(p=v,Ee++):(p=i,0===De&&Ne(b)),p!==i?(Ce=t,n=function(e,t,n,i){return ko({type:PF.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:n?n[2]:0,options:i.reduce((function(e,t){var n=t.id,i=t.value,r=t.location;return n in e&&$e('Duplicate option "'+n+'" in plural element: "'+Ae()+'"',Ie()),e[n]={value:i,location:r},e}),{})},mt())}(r,a,l,u),t=n):(Ee=t,t=i)):(Ee=t,t=i)}else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;return t}(),t===i&&(t=function(){var t,n,r,o,a,s,l,c,u;t=Ee,123===e.charCodeAt(Ee)?(n=m,Ee++):(n=i,0===De&&Ne(g));if(n!==i)if(rt()!==i)if((r=ct())!==i)if(rt()!==i)if(44===e.charCodeAt(Ee)?(o=F,Ee++):(o=i,0===De&&Ne(T)),o!==i)if(rt()!==i)if(e.substr(Ee,6)===K?(a=K,Ee+=6):(a=i,0===De&&Ne(J)),a!==i)if(rt()!==i)if(44===e.charCodeAt(Ee)?(s=F,Ee++):(s=i,0===De&&Ne(T)),s!==i)if(rt()!==i){if(l=[],(c=et())!==i)for(;c!==i;)l.push(c),c=et();else l=i;l!==i&&(c=rt())!==i?(125===e.charCodeAt(Ee)?(u=v,Ee++):(u=i,0===De&&Ne(b)),u!==i?(Ce=t,n=function(e,t){return ko({type:PF.select,value:e,options:t.reduce((function(e,t){var n=t.id,i=t.value,r=t.location;return n in e&&$e('Duplicate option "'+n+'" in select element: "'+Ae()+'"',Ie()),e[n]={value:i,location:r},e}),{})},mt())}(r,l),t=n):(Ee=t,t=i)):(Ee=t,t=i)}else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;return t}(),t===i&&(t=function(){var t,n;t=Ee,35===e.charCodeAt(Ee)?(n="#",Ee++):(n=i,0===De&&Ne(c));n!==i&&(Ce=t,n=ko({type:PF.pound},mt()));return t=n}())))))),t}function qe(){var t,n,r,o;if(t=Ee,Ce=Ee,(n=(n=gt)?void 0:i)!==i){if(r=[],(o=at())===i&&(o=st())===i&&(o=lt())===i&&(60===e.charCodeAt(Ee)?(o=a,Ee++):(o=i,0===De&&Ne(s))),o!==i)for(;o!==i;)r.push(o),(o=at())===i&&(o=st())===i&&(o=lt())===i&&(60===e.charCodeAt(Ee)?(o=a,Ee++):(o=i,0===De&&Ne(s)));else r=i;r!==i?(Ce=t,t=n=l(r)):(Ee=t,t=i)}else Ee=t,t=i;if(t===i){if(t=Ee,n=[],(r=at())===i&&(r=st())===i&&(r=lt())===i&&(r=We()),r!==i)for(;r!==i;)n.push(r),(r=at())===i&&(r=st())===i&&(r=lt())===i&&(r=We());else n=i;n!==i&&(Ce=t,n=l(n)),t=n}return t}function We(){var t,n,r;return t=Ee,n=Ee,De++,(r=Ve())===i&&(r=Xe())===i&&(r=Ge()),De--,r===i?n=void 0:(Ee=n,n=i),n!==i?(60===e.charCodeAt(Ee)?(r=a,Ee++):(r=i,0===De&&Ne(s)),r!==i?(Ce=t,t=n="<"):(Ee=t,t=i)):(Ee=t,t=i),t}function Ge(){var t,n,r,o,l,c,u;return t=Ee,n=Ee,60===e.charCodeAt(Ee)?(r=a,Ee++):(r=i,0===De&&Ne(s)),r!==i&&(o=ut())!==i&&(l=rt())!==i?("/>"===e.substr(Ee,2)?(c="/>",Ee+=2):(c=i,0===De&&Ne(d)),c!==i?n=r=[r,o,l,c]:(Ee=n,n=i)):(Ee=n,n=i),n!==i&&(Ce=t,u=n,n=ko({type:PF.literal,value:u.join("")},mt())),t=n}function Ve(){var t,n,r,o;return t=Ee,60===e.charCodeAt(Ee)?(n=a,Ee++):(n=i,0===De&&Ne(s)),n!==i&&(r=ut())!==i?(62===e.charCodeAt(Ee)?(o=">",Ee++):(o=i,0===De&&Ne(p)),o!==i?(Ce=t,t=n=r):(Ee=t,t=i)):(Ee=t,t=i),t}function Xe(){var t,n,r,o;return t=Ee,"</"===e.substr(Ee,2)?(n="</",Ee+=2):(n=i,0===De&&Ne(f)),n!==i&&(r=ut())!==i?(62===e.charCodeAt(Ee)?(o=">",Ee++):(o=i,0===De&&Ne(p)),o!==i?(Ce=t,t=n=r):(Ee=t,t=i)):(Ee=t,t=i),t}function He(){var t,n,r,o,a;if(De++,t=Ee,n=[],r=Ee,o=Ee,De++,(a=nt())===i&&(O.test(e.charAt(Ee))?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(w))),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i),r!==i)for(;r!==i;)n.push(r),r=Ee,o=Ee,De++,(a=nt())===i&&(O.test(e.charAt(Ee))?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(w))),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i);else n=i;return t=n!==i?e.substring(t,Ee):n,De--,t===i&&(n=i,0===De&&Ne(y)),t}function Ye(){var t,n,r;return De++,t=Ee,47===e.charCodeAt(Ee)?(n="/",Ee++):(n=i,0===De&&Ne(k)),n!==i&&(r=He())!==i?(Ce=t,t=n=r):(Ee=t,t=i),De--,t===i&&(n=i,0===De&&Ne(x)),t}function Ze(){var e,t,n,r,o;if(De++,e=Ee,(t=rt())!==i)if((n=He())!==i){for(r=[],o=Ye();o!==i;)r.push(o),o=Ye();r!==i?(Ce=e,t=function(e,t){return{stem:e,options:t}}(n,r),e=t):(Ee=e,e=i)}else Ee=e,e=i;else Ee=e,e=i;return De--,e===i&&(t=i,0===De&&Ne(S)),e}function Ke(){var t,n,r,o;if(t=Ee,39===e.charCodeAt(Ee)?(n=$,Ee++):(n=i,0===De&&Ne(R)),n!==i){if(r=[],(o=at())===i&&(j.test(e.charAt(Ee))?(o=e.charAt(Ee),Ee++):(o=i,0===De&&Ne(z))),o!==i)for(;o!==i;)r.push(o),(o=at())===i&&(j.test(e.charAt(Ee))?(o=e.charAt(Ee),Ee++):(o=i,0===De&&Ne(z)));else r=i;r!==i?(39===e.charCodeAt(Ee)?(o=$,Ee++):(o=i,0===De&&Ne(R)),o!==i?t=n=[n,r,o]:(Ee=t,t=i)):(Ee=t,t=i)}else Ee=t,t=i;if(t===i)if(t=[],(n=at())===i&&(M.test(e.charAt(Ee))?(n=e.charAt(Ee),Ee++):(n=i,0===De&&Ne(L))),n!==i)for(;n!==i;)t.push(n),(n=at())===i&&(M.test(e.charAt(Ee))?(n=e.charAt(Ee),Ee++):(n=i,0===De&&Ne(L)));else t=i;return t}function Je(){var t,n;if(t=[],N.test(e.charAt(Ee))?(n=e.charAt(Ee),Ee++):(n=i,0===De&&Ne(Q)),n!==i)for(;n!==i;)t.push(n),N.test(e.charAt(Ee))?(n=e.charAt(Ee),Ee++):(n=i,0===De&&Ne(Q));else t=i;return t}function et(){var t,n,r,o,a,s;return t=Ee,(n=rt())!==i&&(r=pt())!==i&&rt()!==i?(123===e.charCodeAt(Ee)?(o=m,Ee++):(o=i,0===De&&Ne(g)),o!==i?(Ce=Ee,ft.push("select"),(!0?void 0:i)!==i&&(a=Be())!==i?(125===e.charCodeAt(Ee)?(s=v,Ee++):(s=i,0===De&&Ne(b)),s!==i?(Ce=t,n=function(e,t){return ft.pop(),ko({id:e,value:t},mt())}(r,a),t=n):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i),t}function tt(){var t,n,r,o,a,s;return t=Ee,(n=rt())!==i?(r=function(){var t,n,r,o;return t=Ee,n=Ee,61===e.charCodeAt(Ee)?(r="=",Ee++):(r=i,0===De&&Ne(ee)),r!==i&&(o=ot())!==i?n=r=[r,o]:(Ee=n,n=i),(t=n!==i?e.substring(t,Ee):n)===i&&(t=pt()),t}(),r!==i&&rt()!==i?(123===e.charCodeAt(Ee)?(o=m,Ee++):(o=i,0===De&&Ne(g)),o!==i?(Ce=Ee,ft.push("plural"),(!0?void 0:i)!==i&&(a=Be())!==i?(125===e.charCodeAt(Ee)?(s=v,Ee++):(s=i,0===De&&Ne(b)),s!==i?(Ce=t,n=function(e,t){return ft.pop(),ko({id:e,value:t},mt())}(r,a),t=n):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i),t}function nt(){var t;return De++,ne.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=i,0===De&&Ne(ie)),De--,t===i&&0===De&&Ne(te),t}function it(){var t;return De++,oe.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=i,0===De&&Ne(ae)),De--,t===i&&0===De&&Ne(re),t}function rt(){var t,n,r;for(De++,t=Ee,n=[],r=nt();r!==i;)n.push(r),r=nt();return t=n!==i?e.substring(t,Ee):n,De--,t===i&&(n=i,0===De&&Ne(se)),t}function ot(){var t,n,r,o,a;return De++,t=Ee,45===e.charCodeAt(Ee)?(n="-",Ee++):(n=i,0===De&&Ne(ue)),n===i&&(n=null),n!==i&&(r=dt())!==i?(Ce=t,o=n,t=n=(a=r)?o?-a:a:0):(Ee=t,t=i),De--,t===i&&(n=i,0===De&&Ne(le)),t}function at(){var t,n;return De++,t=Ee,e.substr(Ee,2)===pe?(n=pe,Ee+=2):(n=i,0===De&&Ne(fe)),n!==i&&(Ce=t,n="'"),De--,(t=n)===i&&(n=i,0===De&&Ne(de)),t}function st(){var t,n,r,o,a,s;if(t=Ee,39===e.charCodeAt(Ee)?(n=$,Ee++):(n=i,0===De&&Ne(R)),n!==i)if(r=function(){var t,n,r,o;t=Ee,n=Ee,e.length>Ee?(r=e.charAt(Ee),Ee++):(r=i,0===De&&Ne(_));r!==i?(Ce=Ee,o=function(e){return"<"===e||">"===e||"{"===e||"}"===e||ht()&&"#"===e}(r),(o=o?void 0:i)!==i?n=r=[r,o]:(Ee=n,n=i)):(Ee=n,n=i);t=n!==i?e.substring(t,Ee):n;return t}(),r!==i){for(o=Ee,a=[],e.substr(Ee,2)===pe?(s=pe,Ee+=2):(s=i,0===De&&Ne(fe)),s===i&&(j.test(e.charAt(Ee))?(s=e.charAt(Ee),Ee++):(s=i,0===De&&Ne(z)));s!==i;)a.push(s),e.substr(Ee,2)===pe?(s=pe,Ee+=2):(s=i,0===De&&Ne(fe)),s===i&&(j.test(e.charAt(Ee))?(s=e.charAt(Ee),Ee++):(s=i,0===De&&Ne(z)));(o=a!==i?e.substring(o,Ee):a)!==i?(39===e.charCodeAt(Ee)?(a=$,Ee++):(a=i,0===De&&Ne(R)),a===i&&(a=null),a!==i?(Ce=t,t=n=r+o.replace("''","'")):(Ee=t,t=i)):(Ee=t,t=i)}else Ee=t,t=i;else Ee=t,t=i;return t}function lt(){var t,n,r,o;return t=Ee,n=Ee,e.length>Ee?(r=e.charAt(Ee),Ee++):(r=i,0===De&&Ne(_)),r!==i?(Ce=Ee,(o=(o=he(r))?void 0:i)!==i?n=r=[r,o]:(Ee=n,n=i)):(Ee=n,n=i),n===i&&(10===e.charCodeAt(Ee)?(n="\n",Ee++):(n=i,0===De&&Ne(me))),t=n!==i?e.substring(t,Ee):n}function ct(){var t,n;return De++,t=Ee,(n=dt())===i&&(n=pt()),t=n!==i?e.substring(t,Ee):n,De--,t===i&&(n=i,0===De&&Ne(ge)),t}function ut(){var t,n;return De++,t=Ee,(n=dt())===i&&(n=function(){var t,n,r,o,a;De++,t=Ee,n=[],45===e.charCodeAt(Ee)?(r=ce,Ee++):(r=i,0===De&&Ne(ue));r===i&&(r=Ee,o=Ee,De++,(a=nt())===i&&(a=it()),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i));if(r!==i)for(;r!==i;)n.push(r),45===e.charCodeAt(Ee)?(r=ce,Ee++):(r=i,0===De&&Ne(ue)),r===i&&(r=Ee,o=Ee,De++,(a=nt())===i&&(a=it()),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i));else n=i;t=n!==i?e.substring(t,Ee):n;De--,t===i&&(n=i,0===De&&Ne(Se));return t}()),t=n!==i?e.substring(t,Ee):n,De--,t===i&&(n=i,0===De&&Ne(ve)),t}function dt(){var t,n,r,o,a;if(De++,t=Ee,48===e.charCodeAt(Ee)?(n="0",Ee++):(n=i,0===De&&Ne(ye)),n!==i&&(Ce=t,n=0),(t=n)===i){if(t=Ee,n=Ee,Oe.test(e.charAt(Ee))?(r=e.charAt(Ee),Ee++):(r=i,0===De&&Ne(we)),r!==i){for(o=[],_e.test(e.charAt(Ee))?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(xe));a!==i;)o.push(a),_e.test(e.charAt(Ee))?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(xe));o!==i?n=r=[r,o]:(Ee=n,n=i)}else Ee=n,n=i;n!==i&&(Ce=t,n=parseInt(n.join(""),10)),t=n}return De--,t===i&&(n=i,0===De&&Ne(be)),t}function pt(){var t,n,r,o,a;if(De++,t=Ee,n=[],r=Ee,o=Ee,De++,(a=nt())===i&&(a=it()),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i),r!==i)for(;r!==i;)n.push(r),r=Ee,o=Ee,De++,(a=nt())===i&&(a=it()),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i);else n=i;return t=n!==i?e.substring(t,Ee):n,De--,t===i&&(n=i,0===De&&Ne(ke)),t}var ft=["root"];function ht(){return"plural"===ft[ft.length-1]}function mt(){return t&&t.captureLocation?{location:Ie()}:{}}var gt=t&&t.ignoreTag,vt=t&&t.shouldParseSkeleton;if((n=o())!==i&&Ee===e.length)return n;throw n!==i&&Ee<e.length&&Ne({type:"end"}),function(e,t,n){return new tT(tT.buildMessage(e,t),e,t,n)}(Te,Fe<e.length?e.charAt(Fe):null,Fe<e.length?Le(Fe,Fe+1):Le(Fe,Fe))},iT=/(^|[^\\])#/g;function rT(e){e.forEach((function(e){(MF(e)||zF(e))&&Object.keys(e.options).forEach((function(t){for(var n,i=e.options[t],r=-1,o=void 0,a=0;a<i.value.length;a++){var s=i.value[a];if(AF(s)&&iT.test(s.value)){r=a,o=s;break}}if(o){var l=o.value.replace(iT,"$1{"+e.value+", number}"),c=nT(l);(n=i.value).splice.apply(n,Ao([r,1],c))}rT(i.value)}))}))}function oT(e,t){t=ko({normalizeHashtagInPlural:!0,shouldParseSkeleton:!0},t||{});var n=nT(e,t);return t.normalizeHashtagInPlural&&rT(n),n}var aT={exports:{}};function sT(e,t,n,i){var r,o=null==(r=i)||"number"==typeof r||"boolean"==typeof r?i:n(i),a=t.get(o);return void 0===a&&(a=e.call(this,i),t.set(o,a)),a}function lT(e,t,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),o=t.get(r);return void 0===o&&(o=e.apply(this,i),t.set(r,o)),o}function cT(e,t,n,i,r){return n.bind(t,e,i,r)}function uT(e,t){return cT(e,this,1===e.length?sT:lT,t.cache.create(),t.serializer)}function dT(){return JSON.stringify(arguments)}function pT(){this.cache=Object.create(null)}pT.prototype.has=function(e){return e in this.cache},pT.prototype.get=function(e){return this.cache[e]},pT.prototype.set=function(e,t){this.cache[e]=t};var fT={create:function(){return new pT}};aT.exports=function(e,t){var n=t&&t.cache?t.cache:fT,i=t&&t.serializer?t.serializer:dT;return(t&&t.strategy?t.strategy:uT)(e,{cache:n,serializer:i})};var hT,mT=aT.exports.strategies={variadic:function(e,t){return cT(e,this,lT,t.cache.create(),t.serializer)},monadic:function(e,t){return cT(e,this,sT,t.cache.create(),t.serializer)}},gT=aT.exports,vT=Object.freeze(h({__proto__:null,default:gT,strategies:mT},[aT.exports]));!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(hT||(hT={}));var bT,yT=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.code=n,r.originalMessage=i,r}return xo(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),OT=function(e){function t(t,n,i,r){return e.call(this,'Invalid values for "'+t+'": "'+n+'". Options are "'+Object.keys(i).join('", "')+'"',"INVALID_VALUE",r)||this}return xo(t,e),t}(yT),wT=function(e){function t(t,n,i){return e.call(this,'Value for "'+t+'" must be of type '+n,"INVALID_VALUE",i)||this}return xo(t,e),t}(yT),_T=function(e){function t(t,n){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+n+'"',"MISSING_VALUE",n)||this}return xo(t,e),t}(yT);function xT(e){return"function"==typeof e}function kT(e,t,n,i,r,o,a){if(1===e.length&&AF(e[0]))return[{type:0,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(AF(u))s.push({type:0,value:u.value});else if(LF(u))"number"==typeof o&&s.push({type:0,value:n.getNumberFormat(t).format(o)});else{var d=u.value;if(!r||!(d in r))throw new _T(d,a);var p=r[d];if(IF(u))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),s.push({type:"string"==typeof p?0:1,value:p});else if(RF(u)){var f="string"==typeof u.style?i.date[u.style]:BF(u.style)?u.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(t,f).format(p)})}else if(jF(u)){f="string"==typeof u.style?i.time[u.style]:BF(u.style)?u.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(t,f).format(p)})}else if($F(u)){(f="string"==typeof u.style?i.number[u.style]:QF(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(p*=f.scale||1),s.push({type:0,value:n.getNumberFormat(t,f).format(p)})}else{if(NF(u)){var h=u.children,m=u.value,g=r[m];if(!xT(g))throw new wT(m,"function",a);var v=g(kT(h,t,n,i,r,o).map((function(e){return e.value})));Array.isArray(v)||(v=[v]),s.push.apply(s,v.map((function(e){return{type:"string"==typeof e?0:1,value:e}})))}if(zF(u)){if(!(b=u.options[p]||u.options.other))throw new OT(u.value,p,Object.keys(u.options),a);s.push.apply(s,kT(b.value,t,n,i,r))}else if(MF(u)){var b;if(!(b=u.options["="+p])){if(!Intl.PluralRules)throw new yT('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",a);var y=n.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0));b=u.options[y]||u.options.other}if(!b)throw new OT(u.value,p,Object.keys(u.options),a);s.push.apply(s,kT(b.value,t,n,i,r,p-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&0===n.type&&0===t.type?n.value+=t.value:e.push(t),e}),[])}(s)}function ST(e,t){return t?Object.keys(e).reduce((function(n,i){var r,o;return n[i]=(r=e[i],(o=t[i])?ko(ko(ko({},r||{}),o||{}),Object.keys(r).reduce((function(e,t){return e[t]=ko(ko({},r[t]),o[t]||{}),e}),{})):r),n}),ko({},e)):e}function ET(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(bT||(bT={}));var CT=gT||vT;var PT,FT=function(){function e(t,n,i,r){var o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return kT(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1,ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=ST(e.formats,i),this.locales=n,this.formatters=r&&r.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:CT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Ao([void 0],t)))}),{cache:ET(e.number),strategy:CT.strategies.variadic}),getDateTimeFormat:CT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Ao([void 0],t)))}),{cache:ET(e.dateTime),strategy:CT.strategies.variadic}),getPluralRules:CT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Ao([void 0],t)))}),{cache:ET(e.pluralRules),strategy:CT.strategies.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=oT,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(PT||(PT={}));var TT=function(e){function t(n,i,r){var o=e.call(this,"[@formatjs/intl Error "+n+"] "+i+" \n"+(r?"\n"+r.message+"\n"+r.stack:""))||this;return o.code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return xo(t,e),t}(Error),DT=function(e){function t(t,n){return e.call(this,PT.UNSUPPORTED_FORMATTER,t,n)||this}return xo(t,e),t}(TT),AT=function(e){function t(t,n){return e.call(this,PT.INVALID_CONFIG,t,n)||this}return xo(t,e),t}(TT),IT=function(e){function t(t,n){return e.call(this,PT.MISSING_DATA,t,n)||this}return xo(t,e),t}(TT),$T=function(e){function t(t,n,i,r){var o=e.call(this,PT.FORMAT_ERROR,t+" \nLocale: "+n+"\nMessageID: "+(null==i?void 0:i.id)+"\nDefault Message: "+(null==i?void 0:i.defaultMessage)+"\nDescription: "+(null==i?void 0:i.description)+" \n",r)||this;return o.descriptor=i,o}return xo(t,e),t}(TT),RT=function(e){function t(t,n){var i=e.call(this,PT.MISSING_TRANSLATION,'Missing message: "'+t.id+'" for locale "'+n+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return i.descriptor=t,i}return xo(t,e),t}(TT);function jT(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,i){return i in e?t[i]=e[i]:i in n&&(t[i]=n[i]),t}),{})}var zT={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){"production"!==Jh.env.NODE_ENV&&console.error(e)}};function MT(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var LT=gT||vT;function NT(e,t,n,i){var r,o=e&&e[t];if(o&&(r=o[n]),r)return r;i(new DT("No "+t+" format named: "+n))}function QT(e,t){return Object.keys(e).reduce((function(n,i){return n[i]=ko({timeZone:t},e[i]),n}),{})}function BT(e,t){return Object.keys(ko(ko({},e),t)).reduce((function(n,i){return n[i]=ko(ko({},e[i]||{}),t[i]||{}),n}),{})}function UT(e,t){if(!t)return e;var n=FT.formats;return ko(ko(ko({},n),e),{date:BT(QT(n.date,t),QT(e.date||{},t)),time:BT(QT(n.time,t),QT(e.time||{},t))})}function qT(e,t,n,i,r){var o=e.locale,a=e.formats,s=e.messages,l=e.defaultLocale,c=e.defaultFormats,u=e.onError,d=e.timeZone,p=e.defaultRichTextElements;void 0===n&&(n={id:""});var f=n.id,h=n.defaultMessage;DF(!!f,"[@formatjs/intl] An `id` must be provided to format a message.");var m=String(f),g=s&&Object.prototype.hasOwnProperty.call(s,m)&&s[m];if(Array.isArray(g)&&1===g.length&&g[0].type===PF.literal)return g[0].value;if(!i&&g&&"string"==typeof g&&!p)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(i=ko(ko({},p),i||{}),a=UT(a,d),c=UT(c,d),!g){if((!h||o&&o.toLowerCase()!==l.toLowerCase())&&u(new RT(n,o)),h)try{return t.getMessageFormat(h,l,c,r).format(i)}catch(e){return u(new $T('Error formatting default message for: "'+m+'", rendering default message verbatim',o,n,e)),"string"==typeof h?h:m}return m}try{return t.getMessageFormat(g,o,a,ko({formatters:t},r||{})).format(i)}catch(e){u(new $T('Error formatting message: "'+m+'", using '+(h?"default message":"id")+" as fallback.",o,n,e))}if(h)try{return t.getMessageFormat(h,l,c,r).format(i)}catch(e){u(new $T('Error formatting the default message for: "'+m+'", rendering message verbatim',o,n,e))}return"string"==typeof g?g:"string"==typeof h?h:m}var WT=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","fractionalSecondDigits","calendar","numberingSystem"];function GT(e,t,n,i){var r=e.locale,o=e.formats,a=e.onError,s=e.timeZone;void 0===i&&(i={});var l=i.format,c=ko(ko({},s&&{timeZone:s}),l&&NT(o,t,l,a)),u=jT(i,WT,c);return"time"!==t||u.hour||u.minute||u.second||u.timeStyle||u.dateStyle||(u=ko(ko({},u),{hour:"numeric",minute:"numeric"})),n(r,u)}function VT(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof r?new Date(r||0):r;try{return GT(e,"date",t,a).format(s)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting date.",t))}return String(s)}function XT(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof r?new Date(r||0):r;try{return GT(e,"time",t,a).format(s)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting time.",t))}return String(s)}function HT(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=n[0],o=n[1],a=n[2],s=void 0===a?{}:a,l=e.timeZone,c=e.locale,u=e.onError,d=jT(s,WT,l?{timeZone:l}:{});try{return t(c,d).formatRange(r,o)}catch(e){u(new TT(PT.FORMAT_ERROR,"Error formatting date time range.",e))}return String(r)}function ZT(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof r?new Date(r||0):r;try{return GT(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting date.",t))}return[]}function KT(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof r?new Date(r||0):r;try{return GT(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting time.",t))}return[]}var JT=["localeMatcher","style","type","fallback"];function eD(e,t,n,i){var r=e.locale,o=e.onError;Intl.DisplayNames||o(new yT('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',"MISSING_INTL_API"));var a=jT(i,JT);try{return t(r,a).of(n)}catch(e){o(new TT(PT.FORMAT_ERROR,"Error formatting display name.",e))}}var tD=["localeMatcher","type","style"],nD=Date.now();function iD(e,t,n,i){var r=e.locale,o=e.onError;void 0===i&&(i={}),Intl.ListFormat||o(new yT('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',"MISSING_INTL_API"));var a=jT(i,tD);try{var s={},l=n.map((function(e,t){if("object"==typeof e){var n=function(e){return nD+"_"+e+"_"+nD}(t);return s[n]=e,n}return String(e)}));return Object.keys(s).length?t(r,a).formatToParts(l).reduce((function(e,t){var n=t.value;return s[n]?e.push(s[n]):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[]):t(r,a).format(l)}catch(e){o(new TT(PT.FORMAT_ERROR,"Error formatting list.",e))}return n}var rD=["localeMatcher","type"];function oD(e,t,n,i){var r=e.locale,o=e.onError;void 0===i&&(i={}),Intl.PluralRules||o(new yT('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API"));var a=jT(i,rD);try{return t(r,a).select(n)}catch(e){o(new $T("Error formatting plural.",e))}return"other"}var aD=["numeric","style"];function sD(e,t,n,i,r){void 0===r&&(r={}),i||(i="second"),Intl.RelativeTimeFormat||e.onError(new yT('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',"MISSING_INTL_API"));try{return function(e,t,n){var i=e.locale,r=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=!!a&&NT(r,"relative",a,o)||{};return t(i,jT(n,aD,s))}(e,t,r).format(n,i)}catch(t){e.onError(new $T("Error formatting relative time.",t))}return String(n)}var lD=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function cD(e,t,n){var i=e.locale,r=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=a&&NT(r,"number",a,o)||{};return t(i,jT(n,lD,s))}function uD(e,t,n,i){void 0===i&&(i={});try{return cD(e,t,i).format(n)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function dD(e,t,n,i){void 0===i&&(i={});try{return cD(e,t,i).formatToParts(n)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting number.",t))}return[]}function pD(e){e.defaultRichTextElements&&function(e){return"string"==typeof(e?e[Object.keys(e)[0]]:void 0)}(e.messages||{})&&console.warn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function fD(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,i=Intl.DisplayNames,r=LT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Ao([void 0],t)))}),{cache:MT(e.dateTime),strategy:LT.strategies.variadic}),o=LT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Ao([void 0],t)))}),{cache:MT(e.number),strategy:LT.strategies.variadic}),a=LT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Ao([void 0],t)))}),{cache:MT(e.pluralRules),strategy:LT.strategies.variadic});return{getDateTimeFormat:r,getNumberFormat:o,getMessageFormat:LT((function(e,t,n,i){return new FT(e,t,n,ko({formatters:{getNumberFormat:o,getDateTimeFormat:r,getPluralRules:a}},i||{}))}),{cache:MT(e.message),strategy:LT.strategies.variadic}),getRelativeTimeFormat:LT((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Ao([void 0],e)))}),{cache:MT(e.relativeTime),strategy:LT.strategies.variadic}),getPluralRules:a,getListFormat:LT((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Ao([void 0],e)))}),{cache:MT(e.list),strategy:LT.strategies.variadic}),getDisplayNames:LT((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(i.bind.apply(i,Ao([void 0],e)))}),{cache:MT(e.displayNames),strategy:LT.strategies.variadic})}}(t),i=ko(ko({},zT),e),r=i.locale,o=i.defaultLocale,a=i.onError;return r?!Intl.NumberFormat.supportedLocalesOf(r).length&&a?a(new IT('Missing locale data for locale: "'+r+'" in Intl.NumberFormat. Using default locale: "'+o+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(r).length&&a&&a(new IT('Missing locale data for locale: "'+r+'" in Intl.DateTimeFormat. Using default locale: "'+o+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(a&&a(new AT('"locale" was not configured, using "'+o+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),i.locale=i.defaultLocale||"en"),pD(i),ko(ko({},i),{formatters:n,formatNumber:uD.bind(null,i,n.getNumberFormat),formatNumberToParts:dD.bind(null,i,n.getNumberFormat),formatRelativeTime:sD.bind(null,i,n.getRelativeTimeFormat),formatDate:VT.bind(null,i,n.getDateTimeFormat),formatDateToParts:ZT.bind(null,i,n.getDateTimeFormat),formatTime:XT.bind(null,i,n.getDateTimeFormat),formatDateTimeRange:HT.bind(null,i,n.getDateTimeFormat),formatTimeToParts:KT.bind(null,i,n.getDateTimeFormat),formatPlural:oD.bind(null,i,n.getPluralRules),formatMessage:qT.bind(null,i,n),formatList:iD.bind(null,i,n.getListFormat),formatDisplayName:eD.bind(null,i,n.getDisplayNames)})}function hD(e){DF(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var mD=ko(ko({},zT),{textComponent:m.Fragment});var gD=w.default,vD={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},bD={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},yD={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},OD={};function wD(e){return gD.isMemo(e)?yD:OD[e.$$typeof]||vD}OD[gD.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},OD[gD.Memo]=yD;var _D=Object.defineProperty,xD=Object.getOwnPropertyNames,kD=Object.getOwnPropertySymbols,SD=Object.getOwnPropertyDescriptor,ED=Object.getPrototypeOf,CD=Object.prototype;var PD=function e(t,n,i){if("string"!=typeof n){if(CD){var r=ED(n);r&&r!==CD&&e(t,r,i)}var o=xD(n);kD&&(o=o.concat(kD(n)));for(var a=wD(t),s=wD(n),l=0;l<o.length;++l){var c=o[l];if(!(bD[c]||i&&i[c]||s&&s[c]||a&&a[c])){var u=SD(n,c);try{_D(t,c,u)}catch(e){}}}}return t},FD=m.createContext(null);FD.Consumer;var TD,DD,AD=FD.Provider,ID=FD;function $D(e){var t=function(t){return m.createElement(ID.Consumer,null,(function(n){hD(n);var i=t.value,r=t.children,o=So(t,["value","children"]),a=n[e](i,o);if("function"==typeof r)return r(a);var s=n.textComponent||m.Fragment;return m.createElement(s,null,a)}))};return t.displayName=TD[e],t}function RD(){var e=m.useContext(ID);return hD(e),e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(TD||(TD={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(DD||(DD={}));var jD=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),i=Object.keys(t),r=n.length;if(i.length!==r)return!1;for(var o=0;o<r;o++){var a=n[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0},zD=Object.freeze(h({__proto__:null,default:jD},[jD])),MD=jD||zD;function LD(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function ND(e){return e?Object.keys(e).reduce((function(t,n){var i,r=e[n];return t[n]=xT(r)?(i=r,function(e){return i(m.Children.toArray(e))}):r,t}),{}):e}var QD=function(e,t,n,i){for(var r=[],o=4;o<arguments.length;o++)r[o-4]=arguments[o];var a=ND(i),s=qT.apply(void 0,Ao([e,t,n,a],r));return Array.isArray(s)?m.Children.toArray(s):s},BD=function(e,t){var n=e.defaultRichTextElements,i=So(e,["defaultRichTextElements"]),r=ND(n),o=fD(ko(ko(ko({},mD),i),{defaultRichTextElements:r}),t);return ko(ko({},o),{formatMessage:QD.bind(null,{locale:o.locale,timeZone:o.timeZone,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:r},o.formatters)})},UD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:BD(LD(t.props),t.cache),prevConfig:LD(t.props)},t}return xo(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,i=t.cache,r=LD(e);return MD(n,r)?null:{intl:BD(r,i),prevConfig:r}},t.prototype.render=function(){return hD(this.state.intl),m.createElement(AD,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=mD,t}(m.PureComponent),qD=UD,WD=3600;function GD(e){var t=Math.abs(e);return t<60?"second":t<WD?"minute":t<86400?"hour":"day"}function VD(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return WD;default:return 86400}}function XD(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*WD}}var HD=["second","minute","hour"];function YD(e){return void 0===e&&(e="second"),HD.includes(e)}var ZD=function(e){function t(t){var n=e.call(this,t)||this;return n._updateTimer=null,n.state={prevUnit:n.props.unit,prevValue:n.props.value,currentValueInSeconds:YD(n.props.unit)?XD(n.props.value,n.props.unit):0},DF(!t.updateIntervalInSeconds||!(!t.updateIntervalInSeconds||!YD(t.unit)),"Cannot schedule update with unit longer than hour"),n}return xo(t,e),t.prototype.scheduleNextUpdate=function(e,t){var n=this,i=e.updateIntervalInSeconds,r=e.unit,o=t.currentValueInSeconds;if(clearTimeout(this._updateTimer),this._updateTimer=null,i&&YD(r)){var a=o-i,s=GD(a);if("day"!==s){var l=VD(s),c=a-a%l,u=c>=o?c-l:c,d=Math.abs(u-o);this._updateTimer=setTimeout((function(){return n.setState({currentValueInSeconds:u})}),1e3*d)}}},t.prototype.componentDidMount=function(){this.scheduleNextUpdate(this.props,this.state)},t.prototype.componentDidUpdate=function(){this.scheduleNextUpdate(this.props,this.state)},t.prototype.componentWillUnmount=function(){clearTimeout(this._updateTimer),this._updateTimer=null},t.getDerivedStateFromProps=function(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:YD(e.unit)?XD(e.value,e.unit):0}:null},t.prototype.render=function(){var e=this;return m.createElement(ID.Consumer,null,(function(t){hD(t);var n=t.formatRelativeTime,i=t.textComponent,r=e.props,o=r.children,a=r.value,s=r.unit,l=r.updateIntervalInSeconds,c=e.state.currentValueInSeconds,u=a||0,d=s;if(YD(s)&&"number"==typeof c&&l){var p=VD(d=GD(c));u=Math.round(c/p)}var f=n(u,d,ko({},e.props));return"function"==typeof o?o(f):i?m.createElement(i,null,f):f}))},t.displayName="FormattedRelativeTime",t.defaultProps={value:0,unit:"second"},t}(m.PureComponent),KD=ZD,JD=jD||zD,eA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return xo(t,e),t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=t.values,i=So(t,["values"]),r=e.values,o=So(e,["values"]);return!JD(r,n)||!JD(i,o)},t.prototype.render=function(){var e=this;return m.createElement(ID.Consumer,null,(function(t){hD(t);var n=t.formatMessage,i=t.textComponent,r=void 0===i?m.Fragment:i,o=e.props,a=o.id,s=o.description,l=o.defaultMessage,c=o.values,u=o.children,d=o.tagName,p=void 0===d?r:d,f=n({id:a,description:s,defaultMessage:l},c,{ignoreTag:o.ignoreTag});return Array.isArray(f)||(f=[f]),"function"==typeof u?u(f):p?m.createElement.apply(m,Ao([p,null],f)):f}))},t.displayName="FormattedMessage",t}(m.Component),tA=eA,nA=$D("formatDate"),iA=$D("formatTime"),rA=$D("formatNumber");$D("formatList"),$D("formatDisplayName");var oA=t.createContext(null),aA=t.createContext(null),sA=t.createContext(null);function lA(){return t.useContext(sA)}var cA=t.createContext(null),uA=function(){return uA=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},uA.apply(this,arguments)},dA=function(e){var i=e.subscriptionId,r=e.children,o=t.useState(null!=i?{id:i}:null),a=o[0],s=o[1],l=t.useMemo((function(){return{identifier:a,setIdentifier:s}}),[null==a?void 0:a.id,null==a?void 0:a.subscriptionHandle]);return n.jsx(cA.Provider,uA({value:l},{children:r}))},pA=t.createContext(null),fA=function(e){var t=e.children,i=RD();return n.jsx(pA.Provider,uA({value:i},{children:t}))},hA=t.createContext(null),mA="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},gA=function(e){return e&&e.Math==Math&&e},vA=gA("object"==typeof globalThis&&globalThis)||gA("object"==typeof window&&window)||gA("object"==typeof self&&self)||gA("object"==typeof mA&&mA)||Function("return this")(),bA={},yA=function(e){try{return!!e()}catch(e){return!0}},OA=!yA((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),wA={},_A={}.propertyIsEnumerable,xA=Object.getOwnPropertyDescriptor,kA=xA&&!_A.call({1:2},1);
|
|
52
|
+
function aO(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}!function(e){const t=Ky,n=rO,i=oO;function r(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function o(e,n){return n.encode?n.strict?t(e):encodeURIComponent(e):e}function a(e,t){return t.decode?n(e):e}function s(e){return Array.isArray(e)?e.sort():"object"==typeof e?s(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function l(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function c(e){const t=(e=l(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function u(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function d(e,t){r((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,i)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===i[e]&&(i[e]={}),i[e][t[1]]=n):i[e]=n};case"bracket":return(e,n,i)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==i[e]?i[e]=[].concat(i[e],n):i[e]=[n]:i[e]=n};case"comma":case"separator":return(t,n,i)=>{const r="string"==typeof n&&n.split("").indexOf(e.arrayFormatSeparator)>-1?n.split(e.arrayFormatSeparator).map((t=>a(t,e))):null===n?n:a(n,e);i[t]=r};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),o=Object.create(null);if("string"!=typeof e)return o;if(!(e=e.trim().replace(/^[?#&]/,"")))return o;for(const r of e.split("&")){let[e,s]=i(t.decode?r.replace(/\+/g," "):r,"=");s=void 0===s?null:["comma","separator"].includes(t.arrayFormat)?s:a(s,t),n(a(e,t),s,o)}for(const e of Object.keys(o)){const n=o[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=u(n[e],t);else o[e]=u(n,t)}return!1===t.sort?o:(!0===t.sort?Object.keys(o).sort():Object.keys(o).sort(t.sort)).reduce(((e,t)=>{const n=o[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=s(n):e[t]=n,e}),Object.create(null))}e.extract=c,e.parse=d,e.stringify=(e,t)=>{if(!e)return"";r((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],i=function(e){switch(e.arrayFormat){case"index":return t=>(n,i)=>{const r=n.length;return void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?[...n,[o(t,e),"[",r,"]"].join("")]:[...n,[o(t,e),"[",o(r,e),"]=",o(i,e)].join("")]};case"bracket":return t=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?[...n,[o(t,e),"[]"].join("")]:[...n,[o(t,e),"[]=",o(i,e)].join("")];case"comma":case"separator":return t=>(n,i)=>null==i||0===i.length?n:0===n.length?[[o(t,e),"=",o(i,e)].join("")]:[[n,o(i,e)].join(e.arrayFormatSeparator)];default:return t=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?[...n,o(t,e)]:[...n,[o(t,e),"=",o(i,e)].join("")]}}(t),a={};for(const t of Object.keys(e))n(t)||(a[t]=e[t]);const s=Object.keys(a);return!1!==t.sort&&s.sort(t.sort),s.map((n=>{const r=e[n];return void 0===r?"":null===r?o(n,t):Array.isArray(r)?r.reduce(i(n),[]).join("&"):o(n,t)+"="+o(r,t)})).filter((e=>e.length>0)).join("&")},e.parseUrl=(e,t)=>({url:l(e).split("?")[0]||"",query:d(c(e),t)}),e.stringifyUrl=(t,n)=>{const i=l(t.url).split("?")[0]||"",r=e.extract(t.url),o=e.parse(r),a=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(t.url),s=Object.assign(o,t.query);let c=e.stringify(s,n);return c&&(c=`?${c}`),`${i}${c}${a}`}}(Zy);var sO={verbose:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return false},info:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return console.info.apply(console,aO([e],t,!1))},warn:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return console.warn.apply(console,aO([e],t,!1))},error:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return console.error.apply(console,aO([e],t,!1))}},lO=((e,t=21)=>(n=t)=>{let i="",r=n;for(;r--;)i+=e[Math.random()*e.length|0];return i})("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",16);function cO(e){var t=window.__createIdInterceptor;return t?t(e,lO):lO()}var uO=sm(),dO={name:uO.name,version:function(e){var t=e.indexOf(".");return t>0?e.substr(0,t):e}(uO.version)};var pO="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},fO=function(e){return e&&e.Math==Math&&e},hO=fO("object"==typeof globalThis&&globalThis)||fO("object"==typeof window&&window)||fO("object"==typeof self&&self)||fO("object"==typeof pO&&pO)||Function("return this")(),mO={},gO=function(e){try{return!!e()}catch(e){return!0}},vO=!gO((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),bO={},yO={}.propertyIsEnumerable,OO=Object.getOwnPropertyDescriptor,wO=OO&&!yO.call({1:2},1);bO.f=wO?function(e){var t=OO(this,e);return!!t&&t.enumerable}:yO;var _O=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},xO={}.toString,kO=function(e){return xO.call(e).slice(8,-1)},SO=kO,EO="".split,CO=gO((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==SO(e)?EO.call(e,""):Object(e)}:Object,PO=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},FO=CO,TO=PO,DO=function(e){return FO(TO(e))},AO=function(e){return"object"==typeof e?null!==e:"function"==typeof e},IO=AO,$O=function(e,t){if(!IO(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!IO(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!IO(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!IO(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},RO={}.hasOwnProperty,jO=function(e,t){return RO.call(e,t)},zO=AO,MO=hO.document,LO=zO(MO)&&zO(MO.createElement),NO=function(e){return LO?MO.createElement(e):{}},QO=NO,BO=!vO&&!gO((function(){return 7!=Object.defineProperty(QO("div"),"a",{get:function(){return 7}}).a})),UO=vO,qO=bO,WO=_O,GO=DO,VO=$O,XO=jO,HO=BO,YO=Object.getOwnPropertyDescriptor;mO.f=UO?YO:function(e,t){if(e=GO(e),t=VO(t,!0),HO)try{return YO(e,t)}catch(e){}if(XO(e,t))return WO(!qO.f.call(e,t),e[t])};var ZO={},KO=AO,JO=function(e){if(!KO(e))throw TypeError(String(e)+" is not an object");return e},ew=vO,tw=BO,nw=JO,iw=$O,rw=Object.defineProperty;ZO.f=ew?rw:function(e,t,n){if(nw(e),t=iw(t,!0),nw(n),tw)try{return rw(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var ow=ZO,aw=_O,sw=vO?function(e,t,n){return ow.f(e,t,aw(1,n))}:function(e,t,n){return e[t]=n,e},lw={exports:{}},cw=hO,uw=sw,dw=function(e,t){try{uw(cw,e,t)}catch(n){cw[e]=t}return t},pw=dw,fw="__core-js_shared__",hw=hO[fw]||pw(fw,{}),mw=hw,gw=Function.toString;"function"!=typeof mw.inspectSource&&(mw.inspectSource=function(e){return gw.call(e)});var vw=mw.inspectSource,bw=vw,yw=hO.WeakMap,Ow="function"==typeof yw&&/native code/.test(bw(yw)),ww={exports:{}},_w=hw;(ww.exports=function(e,t){return _w[e]||(_w[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var xw,kw,Sw,Ew=0,Cw=Math.random(),Pw=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Ew+Cw).toString(36)},Fw=ww.exports,Tw=Pw,Dw=Fw("keys"),Aw=function(e){return Dw[e]||(Dw[e]=Tw(e))},Iw={},$w=Ow,Rw=AO,jw=sw,zw=jO,Mw=Aw,Lw=Iw,Nw=hO.WeakMap;if($w){var Qw=new Nw,Bw=Qw.get,Uw=Qw.has,qw=Qw.set;xw=function(e,t){return qw.call(Qw,e,t),t},kw=function(e){return Bw.call(Qw,e)||{}},Sw=function(e){return Uw.call(Qw,e)}}else{var Ww=Mw("state");Lw[Ww]=!0,xw=function(e,t){return jw(e,Ww,t),t},kw=function(e){return zw(e,Ww)?e[Ww]:{}},Sw=function(e){return zw(e,Ww)}}var Gw={set:xw,get:kw,has:Sw,enforce:function(e){return Sw(e)?kw(e):xw(e,{})},getterFor:function(e){return function(t){var n;if(!Rw(t)||(n=kw(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Vw=hO,Xw=sw,Hw=jO,Yw=dw,Zw=vw,Kw=Gw.get,Jw=Gw.enforce,e_=String(String).split("String");(lw.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||Hw(n,"name")||Xw(n,"name",t),Jw(n).source=e_.join("string"==typeof t?t:"")),e!==Vw?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:Xw(e,t,n)):o?e[t]=n:Yw(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Kw(this).source||Zw(this)}));var t_=hO,n_=hO,i_=function(e){return"function"==typeof e?e:void 0},r_=function(e,t){return arguments.length<2?i_(t_[e])||i_(n_[e]):t_[e]&&t_[e][t]||n_[e]&&n_[e][t]},o_={},a_=Math.ceil,s_=Math.floor,l_=function(e){return isNaN(e=+e)?0:(e>0?s_:a_)(e)},c_=l_,u_=Math.min,d_=function(e){return e>0?u_(c_(e),9007199254740991):0},p_=l_,f_=Math.max,h_=Math.min,m_=DO,g_=d_,v_=function(e,t){var n=p_(e);return n<0?f_(n+t,0):h_(n,t)},b_=function(e){return function(t,n,i){var r,o=m_(t),a=g_(o.length),s=v_(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},y_={includes:b_(!0),indexOf:b_(!1)},O_=jO,w_=DO,__=y_.indexOf,x_=Iw,k_=function(e,t){var n,i=w_(e),r=0,o=[];for(n in i)!O_(x_,n)&&O_(i,n)&&o.push(n);for(;t.length>r;)O_(i,n=t[r++])&&(~__(o,n)||o.push(n));return o},S_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],E_=k_,C_=S_.concat("length","prototype");o_.f=Object.getOwnPropertyNames||function(e){return E_(e,C_)};var P_={};P_.f=Object.getOwnPropertySymbols;var F_=o_,T_=P_,D_=JO,A_=r_("Reflect","ownKeys")||function(e){var t=F_.f(D_(e)),n=T_.f;return n?t.concat(n(e)):t},I_=jO,$_=A_,R_=mO,j_=ZO,z_=gO,M_=/#|\.prototype\./,L_=function(e,t){var n=Q_[N_(e)];return n==U_||n!=B_&&("function"==typeof t?z_(t):!!t)},N_=L_.normalize=function(e){return String(e).replace(M_,".").toLowerCase()},Q_=L_.data={},B_=L_.NATIVE="N",U_=L_.POLYFILL="P",q_=L_,W_=hO,G_=mO.f,V_=sw,X_=lw.exports,H_=dw,Y_=function(e,t){for(var n=$_(t),i=j_.f,r=R_.f,o=0;o<n.length;o++){var a=n[o];I_(e,a)||i(e,a,r(t,a))}},Z_=q_,K_=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?W_:c?W_[s]||H_(s,{}):(W_[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=G_(n,i))&&a.value:n[i],!Z_(l?i:s+(c?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;Y_(o,r)}(e.sham||r&&r.sham)&&V_(o,"sham",!0),X_(n,i,o,e)}},J_=JO,ex={},tx=gO;function nx(e,t){return RegExp(e,t)}ex.UNSUPPORTED_Y=tx((function(){var e=nx("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ex.BROKEN_CARET=tx((function(){var e=nx("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var ix=function(){var e=J_(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},rx=ex,ox=RegExp.prototype.exec,ax=String.prototype.replace,sx=ox,lx=function(){var e=/a/,t=/b*/g;return ox.call(e,"a"),ox.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),cx=rx.UNSUPPORTED_Y||rx.BROKEN_CARET,ux=void 0!==/()??/.exec("")[1];(lx||ux||cx)&&(sx=function(e){var t,n,i,r,o=this,a=cx&&o.sticky,s=ix.call(o),l=o.source,c=0,u=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),ux&&(n=new RegExp("^"+l+"$(?!\\s)",s)),lx&&(t=o.lastIndex),i=ox.call(a?n:o,u),a?i?(i.input=i.input.slice(c),i[0]=i[0].slice(c),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:lx&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),ux&&i&&i.length>1&&ax.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var dx=sx;K_({target:"RegExp",proto:!0,forced:/./.exec!==dx},{exec:dx});var px=gO,fx=!!Object.getOwnPropertySymbols&&!px((function(){return!String(Symbol())})),hx=fx&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,mx=hO,gx=ww.exports,vx=jO,bx=Pw,yx=fx,Ox=hx,wx=gx("wks"),_x=mx.Symbol,xx=Ox?_x:_x&&_x.withoutSetter||bx,kx=function(e){return vx(wx,e)||(yx&&vx(_x,e)?wx[e]=_x[e]:wx[e]=xx("Symbol."+e)),wx[e]},Sx=lw.exports,Ex=gO,Cx=kx,Px=dx,Fx=sw,Tx=Cx("species"),Dx=!Ex((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Ax="$0"==="a".replace(/./,"$0"),Ix=Cx("replace"),$x=!!/./[Ix]&&""===/./[Ix]("a","$0"),Rx=!Ex((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),jx=function(e,t,n,i){var r=Cx(e),o=!Ex((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!Ex((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Tx]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!Dx||!Ax||$x)||"split"===e&&!Rx){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===Px?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:Ax,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:$x}),c=l[0],u=l[1];Sx(String.prototype,e,c),Sx(RegExp.prototype,r,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}i&&Fx(RegExp.prototype[r],"sham",!0)},zx=PO,Mx=function(e){return Object(zx(e))},Lx=l_,Nx=PO,Qx=function(e){return function(t,n){var i,r,o=String(Nx(t)),a=Lx(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},Bx={codeAt:Qx(!1),charAt:Qx(!0)}.charAt,Ux=function(e,t,n){return t+(n?Bx(e,t).length:1)},qx=kO,Wx=dx,Gx=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==qx(e))throw TypeError("RegExp#exec called on incompatible receiver");return Wx.call(e,t)},Vx=jx,Xx=JO,Hx=Mx,Yx=d_,Zx=l_,Kx=PO,Jx=Ux,ek=Gx,tk=Math.max,nk=Math.min,ik=Math.floor,rk=/\$([$&'`]|\d\d?|<[^>]*>)/g,ok=/\$([$&'`]|\d\d?)/g,ak=function(e){return void 0===e?e:String(e)};Vx("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=Kx(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var c=Xx(e),u=String(this),d="function"==typeof i;d||(i=String(i));var p=c.global;if(p){var f=c.unicode;c.lastIndex=0}for(var h=[];;){var m=ek(c,u);if(null===m)break;if(h.push(m),!p)break;""===String(m[0])&&(c.lastIndex=Jx(u,Yx(c.lastIndex),f))}for(var g="",v=0,b=0;b<h.length;b++){m=h[b];for(var y=String(m[0]),O=tk(nk(Zx(m.index),u.length),0),w=[],_=1;_<m.length;_++)w.push(ak(m[_]));var x=m.groups;if(d){var k=[y].concat(w,O,u);void 0!==x&&k.push(x);var S=String(i.apply(void 0,k))}else S=s(y,u,O,w,x,i);O>=v&&(g+=u.slice(v,O)+S,v=O+y.length)}return g+u.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,c=ok;return void 0!==o&&(o=Hx(o),c=rk),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var d=ik(u/10);return 0===d?t:d<=l?void 0===r[d-1]?a.charAt(1):r[d-1]+a.charAt(1):t}c=r[u-1]}return void 0===c?"":c}))}}));var sk=function(e){if(!e)return null;var t=vm(e);return t.sub===ck?new Date(864e13):function(e){if(null==e||isNaN(e))return null;return new Date(1e3*e)}(t.exp)};var lk=function(e){if(!e)return!1;var t=Mm(new Date,1),n=e;return"string"==typeof e&&(n=sk(e)),n&&n>t},ck="Reach::ItemShareToken";var uk,dk=k_,pk=S_,fk=Object.keys||function(e){return dk(e,pk)},hk=ZO,mk=JO,gk=fk,vk=vO?Object.defineProperties:function(e,t){mk(e);for(var n,i=gk(t),r=i.length,o=0;r>o;)hk.f(e,n=i[o++],t[n]);return e},bk=r_("document","documentElement"),yk=JO,Ok=vk,wk=S_,_k=Iw,xk=bk,kk=NO,Sk=Aw("IE_PROTO"),Ek=function(){},Ck=function(e){return"<script>"+e+"</"+"script>"},Pk=function(){try{uk=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Pk=uk?function(e){e.write(Ck("")),e.close();var t=e.parentWindow.Object;return e=null,t}(uk):((t=kk("iframe")).style.display="none",xk.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Ck("document.F=Object")),e.close(),e.F);for(var n=wk.length;n--;)delete Pk.prototype[wk[n]];return Pk()};_k[Sk]=!0;var Fk=Object.create||function(e,t){var n;return null!==e?(Ek.prototype=yk(e),n=new Ek,Ek.prototype=null,n[Sk]=e):n=Pk(),void 0===t?n:Ok(n,t)},Tk=Fk,Dk=ZO,Ak=kx("unscopables"),Ik=Array.prototype;null==Ik[Ak]&&Dk.f(Ik,Ak,{configurable:!0,value:Tk(null)});var $k,Rk,jk,zk={},Mk=!gO((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Lk=jO,Nk=Mx,Qk=Mk,Bk=Aw("IE_PROTO"),Uk=Object.prototype,qk=Qk?Object.getPrototypeOf:function(e){return e=Nk(e),Lk(e,Bk)?e[Bk]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Uk:null},Wk=qk,Gk=sw,Vk=jO,Xk=kx("iterator"),Hk=!1;[].keys&&("next"in(jk=[].keys())?(Rk=Wk(Wk(jk)))!==Object.prototype&&($k=Rk):Hk=!0),null==$k&&($k={}),Vk($k,Xk)||Gk($k,Xk,(function(){return this}));var Yk={IteratorPrototype:$k,BUGGY_SAFARI_ITERATORS:Hk},Zk=ZO.f,Kk=jO,Jk=kx("toStringTag"),eS=function(e,t,n){e&&!Kk(e=n?e:e.prototype,Jk)&&Zk(e,Jk,{configurable:!0,value:t})},tS=Yk.IteratorPrototype,nS=Fk,iS=_O,rS=eS,oS=zk,aS=function(){return this},sS=AO,lS=JO,cS=function(e){if(!sS(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},uS=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return lS(n),cS(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),dS=K_,pS=function(e,t,n){var i=t+" Iterator";return e.prototype=nS(tS,{next:iS(1,n)}),rS(e,i,!1),oS[i]=aS,e},fS=qk,hS=uS,mS=eS,gS=sw,vS=lw.exports,bS=zk,yS=Yk.IteratorPrototype,OS=Yk.BUGGY_SAFARI_ITERATORS,wS=kx("iterator"),_S="keys",xS="values",kS="entries",SS=function(){return this},ES=DO,CS=function(e){Ik[Ak][e]=!0},PS=zk,FS=Gw,TS=function(e,t,n,i,r,o,a){pS(n,t,i);var s,l,c,u=function(e){if(e===r&&m)return m;if(!OS&&e in f)return f[e];switch(e){case _S:case xS:case kS:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,f=e.prototype,h=f[wS]||f["@@iterator"]||r&&f[r],m=!OS&&h||u(r),g="Array"==t&&f.entries||h;if(g&&(s=fS(g.call(new e)),yS!==Object.prototype&&s.next&&(fS(s)!==yS&&(hS?hS(s,yS):"function"!=typeof s[wS]&&gS(s,wS,SS)),mS(s,d,!0))),r==xS&&h&&h.name!==xS&&(p=!0,m=function(){return h.call(this)}),f[wS]!==m&&gS(f,wS,m),bS[t]=m,r)if(l={values:u(xS),keys:o?m:u(_S),entries:u(kS)},a)for(c in l)(OS||p||!(c in f))&&vS(f,c,l[c]);else dS({target:t,proto:!0,forced:OS||p},l);return l},DS="Array Iterator",AS=FS.set,IS=FS.getterFor(DS),$S=TS(Array,"Array",(function(e,t){AS(this,{type:DS,target:ES(e),index:0,kind:t})}),(function(){var e=IS(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");PS.Arguments=PS.Array,CS("keys"),CS("values"),CS("entries");var RS=hO,jS={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},zS=$S,MS=sw,LS=kx,NS=LS("iterator"),QS=LS("toStringTag"),BS=zS.values;for(var US in jS){var qS=RS[US],WS=qS&&qS.prototype;if(WS){if(WS[NS]!==BS)try{MS(WS,NS,BS)}catch(e){WS[NS]=BS}if(WS[QS]||MS(WS,QS,US),jS[US])for(var GS in zS)if(WS[GS]!==zS[GS])try{MS(WS,GS,zS[GS])}catch(e){WS[GS]=zS[GS]}}}var VS=AO,XS=kO,HS=kx("match"),YS=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},ZS=JO,KS=YS,JS=kx("species"),eE=function(e,t){var n,i=ZS(e).constructor;return void 0===i||null==(n=ZS(i)[JS])?t:KS(n)},tE=jx,nE=function(e){var t;return VS(e)&&(void 0!==(t=e[HS])?!!t:"RegExp"==XS(e))},iE=JO,rE=PO,oE=eE,aE=Ux,sE=d_,lE=Gx,cE=dx,uE=gO,dE=[].push,pE=Math.min,fE=4294967295,hE=!uE((function(){return!RegExp(fE,"y")}));tE("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(rE(this)),r=void 0===n?fE:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!nE(e))return t.call(i,e,r);for(var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,d=new RegExp(e.source,c+"g");(o=cE.call(d,i))&&!((a=d.lastIndex)>u&&(l.push(i.slice(u,o.index)),o.length>1&&o.index<i.length&&dE.apply(l,o.slice(1)),s=o[0].length,u=a,l.length>=r));)d.lastIndex===o.index&&d.lastIndex++;return u===i.length?!s&&d.test("")||l.push(""):l.push(i.slice(u)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=rE(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=iE(e),s=String(this),l=oE(a,RegExp),c=a.unicode,u=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(hE?"y":"g"),d=new l(hE?a:"^(?:"+a.source+")",u),p=void 0===r?fE:r>>>0;if(0===p)return[];if(0===s.length)return null===lE(d,s)?[s]:[];for(var f=0,h=0,m=[];h<s.length;){d.lastIndex=hE?h:0;var g,v=lE(d,hE?s:s.slice(h));if(null===v||(g=pE(sE(d.lastIndex+(hE?0:h)),s.length))===f)h=aE(s,h,c);else{if(m.push(s.slice(f,h)),m.length===p)return m;for(var b=1;b<=v.length-1;b++)if(m.push(v[b]),m.length===p)return m;h=f=g}}return m.push(s.slice(f)),m}]}),!hE);var mE=new Set(["de","da","en","fr","es","zh-TW","zh-CN","ja","tr","it"]);function gE(){return navigator.language.split("-")[0]}function vE(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return aO(aO([],e,!0),[gE(),"en"],!1).find((function(e){return e&&mE.has(e)}))}function bE(){return Intl.DateTimeFormat().resolvedOptions().timeZone}var yE=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function OE(e){return!!e&&yE.test(e)}var wE="\t\n\v\f\r \u2028\u2029\ufeff",_E=PO,xE="[\t\n\v\f\r \u2028\u2029\ufeff]",kE=RegExp("^"+xE+xE+"*"),SE=RegExp(xE+xE+"*$"),EE=function(e){return function(t){var n=String(_E(t));return 1&e&&(n=n.replace(kE,"")),2&e&&(n=n.replace(SE,"")),n}},CE={start:EE(1),end:EE(2),trim:EE(3)}.trim,PE=wE,FE=hO.parseInt,TE=/^[+-]?0[Xx]/,DE=8!==FE(PE+"08")||22!==FE(PE+"0x16")?function(e,t){var n=CE(String(e));return FE(n,t>>>0||(TE.test(n)?16:10))}:FE;function AE(e){var t,n,i=0;if(0===e.length)return i;for(t=0,n=e.length;t<n;t++)i=(i<<5)-i+e.charCodeAt(t),i|=0;return i}function IE(e){return e?(e=e.split("@")[0].toUpperCase()).split(/[.|\s]/).map((function(e){return e.replace(/(?:(?![0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])[\s\S])/g,"")})).filter((function(e){return e.length})).slice(0,2).map((function(e){return e.charAt(0)})).join(""):""}function $E(e){var t=[];for(var n in r.PersonaInitialsColor){parseInt(n,10)>=0&&t.push(r.PersonaInitialsColor[n])}t=t.filter((function(e){return"transparent"!==e&&"black"!==e&&"red"!==e&&"black"!==e}));var i=t[AE(e)%t.length];return parseInt(r.PersonaInitialsColor[i],10)}function RE(e){var t=["#4F6BED","#0078D4","#004E8C","#038387","#498205","#498205","#0B6A0B","#C239B3","#E3008C","#881798","#5C2E91","#CA5010","#A4262C","#8764B8","#D13438","#986F0B","#750B1C","#7A7574","#69797E","#393939","#005B70","#8E562E"];return t[AE(e)%t.length]}K_({global:!0,forced:parseInt!=DE},{parseInt:DE});var jE=function(e){return e?new Date(e):new Date},zE=function(e){return"string"==typeof e?new Date(e):e},ME=function(e){return!!e&&function(e){return Om(1,arguments),Zm(e,Date.now())}(NE(zE(e)))},LE=function(e,t){return By(e,t)||Vv(e,t)},NE=function(e){var t=e.getTimezoneOffset();return-1!==Math.sign(t)?Mm(e,t):function(e,t){Om(2,arguments);var n=ym(t);return Mm(e,-n)}(e,Math.abs(t))},QE=hO.Promise,BE=lw.exports,UE=r_,qE=ZO,WE=vO,GE=kx("species"),VE={exports:{}},XE=zk,HE=kx("iterator"),YE=Array.prototype,ZE=YS,KE=function(e,t,n){if(ZE(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},JE={};JE[kx("toStringTag")]="z";var eC="[object z]"===String(JE),tC=kO,nC=kx("toStringTag"),iC="Arguments"==tC(function(){return arguments}()),rC=eC?tC:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),nC))?n:iC?tC(t):"Object"==(i=tC(t))&&"function"==typeof t.callee?"Arguments":i},oC=rC,aC=zk,sC=kx("iterator"),lC=JO,cC=JO,uC=function(e){return void 0!==e&&(XE.Array===e||YE[HE]===e)},dC=d_,pC=KE,fC=function(e){if(null!=e)return e[sC]||e["@@iterator"]||aC[oC(e)]},hC=function(e,t,n,i){try{return i?t(lC(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&lC(r.call(e)),t}},mC=function(e,t){this.stopped=e,this.result=t},gC=VE.exports=function(e,t,n,i,r){var o,a,s,l,c,u,d,p=pC(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=fC(e)))throw TypeError("Target is not iterable");if(uC(a)){for(s=0,l=dC(e.length);l>s;s++)if((c=i?p(cC(d=e[s])[0],d[1]):p(e[s]))&&c instanceof mC)return c;return new mC(!1)}o=a.call(e)}for(u=o.next;!(d=u.call(o)).done;)if("object"==typeof(c=hC(o,p,d.value,i))&&c&&c instanceof mC)return c;return new mC(!1)};gC.stop=function(e){return new mC(!0,e)};var vC=kx("iterator"),bC=!1;try{var yC=0,OC={next:function(){return{done:!!yC++}},return:function(){bC=!0}};OC[vC]=function(){return this},Array.from(OC,(function(){throw 2}))}catch(e){}var wC,_C,xC,kC=r_("navigator","userAgent")||"",SC=/(iphone|ipod|ipad).*applewebkit/i.test(kC),EC=hO,CC=gO,PC=kO,FC=KE,TC=bk,DC=NO,AC=SC,IC=EC.location,$C=EC.setImmediate,RC=EC.clearImmediate,jC=EC.process,zC=EC.MessageChannel,MC=EC.Dispatch,LC=0,NC={},QC="onreadystatechange",BC=function(e){if(NC.hasOwnProperty(e)){var t=NC[e];delete NC[e],t()}},UC=function(e){return function(){BC(e)}},qC=function(e){BC(e.data)},WC=function(e){EC.postMessage(e+"",IC.protocol+"//"+IC.host)};$C&&RC||($C=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return NC[++LC]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},wC(LC),LC},RC=function(e){delete NC[e]},"process"==PC(jC)?wC=function(e){jC.nextTick(UC(e))}:MC&&MC.now?wC=function(e){MC.now(UC(e))}:zC&&!AC?(xC=(_C=new zC).port2,_C.port1.onmessage=qC,wC=FC(xC.postMessage,xC,1)):!EC.addEventListener||"function"!=typeof postMessage||EC.importScripts||CC(WC)||"file:"===IC.protocol?wC=QC in DC("script")?function(e){TC.appendChild(DC("script")).onreadystatechange=function(){TC.removeChild(this),BC(e)}}:function(e){setTimeout(UC(e),0)}:(wC=WC,EC.addEventListener("message",qC,!1)));var GC,VC,XC,HC,YC,ZC,KC,JC,eP={set:$C,clear:RC},tP=hO,nP=mO.f,iP=kO,rP=eP.set,oP=SC,aP=tP.MutationObserver||tP.WebKitMutationObserver,sP=tP.process,lP=tP.Promise,cP="process"==iP(sP),uP=nP(tP,"queueMicrotask"),dP=uP&&uP.value;dP||(GC=function(){var e,t;for(cP&&(e=sP.domain)&&e.exit();VC;){t=VC.fn,VC=VC.next;try{t()}catch(e){throw VC?HC():XC=void 0,e}}XC=void 0,e&&e.enter()},cP?HC=function(){sP.nextTick(GC)}:aP&&!oP?(YC=!0,ZC=document.createTextNode(""),new aP(GC).observe(ZC,{characterData:!0}),HC=function(){ZC.data=YC=!YC}):lP&&lP.resolve?(KC=lP.resolve(void 0),JC=KC.then,HC=function(){JC.call(KC,GC)}):HC=function(){rP.call(tP,GC)});var pP=dP||function(e){var t={fn:e,next:void 0};XC&&(XC.next=t),VC||(VC=t,HC()),XC=t},fP={},hP=YS,mP=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=hP(t),this.reject=hP(n)};fP.f=function(e){return new mP(e)};var gP,vP,bP=JO,yP=AO,OP=fP,wP=hO,_P=kC,xP=hO.process,kP=xP&&xP.versions,SP=kP&&kP.v8;SP?vP=(gP=SP.split("."))[0]+gP[1]:_P&&(!(gP=_P.match(/Edge\/(\d+)/))||gP[1]>=74)&&(gP=_P.match(/Chrome\/(\d+)/))&&(vP=gP[1]);var EP,CP,PP,FP,TP=vP&&+vP,DP=K_,AP=hO,IP=r_,$P=QE,RP=lw.exports,jP=function(e,t,n){for(var i in t)BE(e,i,t[i],n);return e},zP=eS,MP=function(e){var t=UE(e),n=qE.f;WE&&t&&!t[GE]&&n(t,GE,{configurable:!0,get:function(){return this}})},LP=AO,NP=YS,QP=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},BP=kO,UP=vw,qP=VE.exports,WP=function(e,t){if(!t&&!bC)return!1;var n=!1;try{var i={};i[vC]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},GP=eE,VP=eP.set,XP=pP,HP=function(e,t){if(bP(e),yP(t)&&t.constructor===e)return t;var n=OP.f(e);return(0,n.resolve)(t),n.promise},YP=function(e,t){var n=wP.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},ZP=fP,KP=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},JP=Gw,eF=q_,tF=TP,nF=kx("species"),iF="Promise",rF=JP.get,oF=JP.set,aF=JP.getterFor(iF),sF=$P,lF=AP.TypeError,cF=AP.document,uF=AP.process,dF=IP("fetch"),pF=ZP.f,fF=pF,hF="process"==BP(uF),mF=!!(cF&&cF.createEvent&&AP.dispatchEvent),gF="unhandledrejection",vF=eF(iF,(function(){if(!(UP(sF)!==String(sF))){if(66===tF)return!0;if(!hF&&"function"!=typeof PromiseRejectionEvent)return!0}if(tF>=51&&/native code/.test(sF))return!1;var e=sF.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[nF]=t,!(e.then((function(){}))instanceof t)})),bF=vF||!WP((function(e){sF.all(e).catch((function(){}))})),yF=function(e){var t;return!(!LP(e)||"function"!=typeof(t=e.then))&&t},OF=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;XP((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,c,u=i[a++],d=o?u.ok:u.fail,p=u.resolve,f=u.reject,h=u.domain;try{d?(o||(2===t.rejection&&kF(e,t),t.rejection=1),!0===d?s=r:(h&&h.enter(),s=d(r),h&&(h.exit(),c=!0)),s===u.promise?f(lF("Promise-chain cycle")):(l=yF(s))?l.call(s,p,f):p(s)):f(r)}catch(e){h&&!c&&h.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&_F(e,t)}))}},wF=function(e,t,n){var i,r;mF?((i=cF.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),AP.dispatchEvent(i)):i={promise:t,reason:n},(r=AP["on"+e])?r(i):e===gF&&YP("Unhandled promise rejection",n)},_F=function(e,t){VP.call(AP,(function(){var n,i=t.value;if(xF(t)&&(n=KP((function(){hF?uF.emit("unhandledRejection",i,e):wF(gF,e,i)})),t.rejection=hF||xF(t)?2:1,n.error))throw n.value}))},xF=function(e){return 1!==e.rejection&&!e.parent},kF=function(e,t){VP.call(AP,(function(){hF?uF.emit("rejectionHandled",e):wF("rejectionhandled",e,t.value)}))},SF=function(e,t,n,i){return function(r){e(t,n,r,i)}},EF=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,OF(e,t,!0))},CF=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw lF("Promise can't be resolved itself");var r=yF(n);r?XP((function(){var i={done:!1};try{r.call(n,SF(CF,e,i,t),SF(EF,e,i,t))}catch(n){EF(e,i,n,t)}})):(t.value=n,t.state=1,OF(e,t,!1))}catch(n){EF(e,{done:!1},n,t)}}};vF&&(sF=function(e){QP(this,sF,iF),NP(e),EP.call(this);var t=rF(this);try{e(SF(CF,this,t),SF(EF,this,t))}catch(e){EF(this,t,e)}},(EP=function(e){oF(this,{type:iF,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=jP(sF.prototype,{then:function(e,t){var n=aF(this),i=pF(GP(this,sF));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=hF?uF.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&OF(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),CP=function(){var e=new EP,t=rF(e);this.promise=e,this.resolve=SF(CF,e,t),this.reject=SF(EF,e,t)},ZP.f=pF=function(e){return e===sF||e===PP?new CP(e):fF(e)},"function"==typeof $P&&(FP=$P.prototype.then,RP($P.prototype,"then",(function(e,t){var n=this;return new sF((function(e,t){FP.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof dF&&DP({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return HP(sF,dF.apply(AP,arguments))}}))),DP({global:!0,wrap:!0,forced:vF},{Promise:sF}),zP(sF,iF,!1),MP(iF),PP=IP(iF),DP({target:iF,stat:!0,forced:vF},{reject:function(e){var t=pF(this);return t.reject.call(void 0,e),t.promise}}),DP({target:iF,stat:!0,forced:vF},{resolve:function(e){return HP(this,e)}}),DP({target:iF,stat:!0,forced:bF},{all:function(e){var t=this,n=pF(t),i=n.resolve,r=n.reject,o=KP((function(){var n=NP(t.resolve),o=[],a=0,s=1;qP(e,(function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=pF(t),i=n.reject,r=KP((function(){var r=NP(t.resolve);qP(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var PF,FF,TF={};function DF(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function AF(e){return e.type===PF.literal}function IF(e){return e.type===PF.argument}function $F(e){return e.type===PF.number}function RF(e){return e.type===PF.date}function jF(e){return e.type===PF.time}function zF(e){return e.type===PF.select}function MF(e){return e.type===PF.plural}function LF(e){return e.type===PF.pound}function NF(e){return e.type===PF.tag}function QF(e){return!(!e||"object"!=typeof e||0!==e.type)}function BF(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(PF||(PF={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(FF||(FF={}));var UF=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function qF(e){var t={};return e.replace(UF,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}function WF(e){return e.replace(/^(.*?)-/,"")}var GF=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,VF=/^(@+)?(\+|#+)?$/g,XF=/(\*)(0+)|(#+)(0+)|(0+)/g,HF=/^(0+)$/;function YF(e){var t={};return e.replace(VF,(function(e,n,i){return"string"!=typeof i?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===i?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof i?i.length:0)),""})),t}function ZF(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function KF(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!HF.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function JF(e){var t=ZF(e);return t||{}}function eT(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=WF(r.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ko(ko(ko({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return ko(ko({},e),JF(t))}),{}));continue;case"engineering":t=ko(ko(ko({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return ko(ko({},e),JF(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(XF,(function(e,n,i,r,o,a){if(n)t.minimumIntegerDigits=i.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(HF.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if(GF.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(GF,(function(e,n,i,r,o,a){return"*"===i?t.minimumFractionDigits=n.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""})),r.options.length&&(t=ko(ko({},t),YF(r.options[0])))}else if(VF.test(r.stem))t=ko(ko({},t),YF(r.stem));else{var o=ZF(r.stem);o&&(t=ko(ko({},t),o));var a=KF(r.stem);a&&(t=ko(ko({},t),a))}}return t}var tT=function(e){function t(n,i,r,o){var a=e.call(this)||this;return a.message=n,a.expected=i,a.found=r,a.location=o,a.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return xo(t,e),t.buildMessage=function(e,t){function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function r(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function o(e){switch(e.type){case"literal":return'"'+i(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?r(e[0])+"-"+r(e[1]):r(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,n,i=e.map(o);if(i.sort(),i.length>0){for(t=1,n=1;t<i.length;t++)i[t-1]!==i[t]&&(i[n]=i[t],n++);i.length=n}switch(i.length){case 1:return i[0];case 2:return i[0]+" or "+i[1];default:return i.slice(0,-1).join(", ")+", or "+i[i.length-1]}}(e)+" but "+(((a=t)?'"'+i(a)+'"':"end of input")+" found.");var a},t}(Error);var nT=function(e,t){t=void 0!==t?t:{};var n,i={},r={start:Qe},o=Qe,a="<",s=Re("<",!1),l=function(e){return e.join("")},c=Re("#",!1),u=ze("tagElement"),d=Re("/>",!1),p=Re(">",!1),f=Re("</",!1),h=ze("argumentElement"),m="{",g=Re("{",!1),v="}",b=Re("}",!1),y=ze("numberSkeletonId"),O=/^['\/{}]/,w=je(["'","/","{","}"],!1,!1),_={type:"any"},x=ze("numberSkeletonTokenOption"),k=Re("/",!1),S=ze("numberSkeletonToken"),E="::",C=Re("::",!1),P=function(e){return ft.pop(),e.replace(/\s*$/,"")},F=",",T=Re(",",!1),D="number",A=Re("number",!1),I=function(e,t,n){return ko({type:"number"===t?PF.number:"date"===t?PF.date:PF.time,style:n&&n[2],value:e},mt())},$="'",R=Re("'",!1),j=/^[^']/,z=je(["'"],!0,!1),M=/^[^a-zA-Z'{}]/,L=je([["a","z"],["A","Z"],"'","{","}"],!0,!1),N=/^[a-zA-Z]/,Q=je([["a","z"],["A","Z"]],!1,!1),B="date",U=Re("date",!1),q="time",W=Re("time",!1),G="plural",V=Re("plural",!1),X="selectordinal",H=Re("selectordinal",!1),Y="offset:",Z=Re("offset:",!1),K="select",J=Re("select",!1),ee=Re("=",!1),te=ze("whitespace"),ne=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ie=je([["\t","\r"]," ","
"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),re=ze("syntax pattern"),oe=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,ae=je([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←",""],["─","❵"],["➔","⯿"],["⸀",""],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),se=ze("optional whitespace"),le=ze("number"),ce="-",ue=Re("-",!1),de=ze("double apostrophes"),pe="''",fe=Re("''",!1),he=function(e){return!("<"===e||"{"===e||ht()&&"#"===e||ft.length>1&&"}"===e)},me=Re("\n",!1),ge=ze("argNameOrNumber"),ve=ze("validTag"),be=ze("argNumber"),ye=Re("0",!1),Oe=/^[1-9]/,we=je([["1","9"]],!1,!1),_e=/^[0-9]/,xe=je([["0","9"]],!1,!1),ke=ze("argName"),Se=ze("tagName"),Ee=0,Ce=0,Pe=[{line:1,column:1}],Fe=0,Te=[],De=0;if(void 0!==t.startRule){if(!(t.startRule in r))throw new Error("Can't start parsing from rule \""+t.startRule+'".');o=r[t.startRule]}function Ae(){return e.substring(Ce,Ee)}function Ie(){return Le(Ce,Ee)}function $e(e,t){throw function(e,t){return new tT(e,[],"",t)}(e,t=void 0!==t?t:Le(Ce,Ee))}function Re(e,t){return{type:"literal",text:e,ignoreCase:t}}function je(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function ze(e){return{type:"other",description:e}}function Me(t){var n,i=Pe[t];if(i)return i;for(n=t-1;!Pe[n];)n--;for(i={line:(i=Pe[n]).line,column:i.column};n<t;)10===e.charCodeAt(n)?(i.line++,i.column=1):i.column++,n++;return Pe[t]=i,i}function Le(e,t){var n=Me(e),i=Me(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:i.line,column:i.column}}}function Ne(e){Ee<Fe||(Ee>Fe&&(Fe=Ee,Te=[]),Te.push(e))}function Qe(){return Be()}function Be(){var e,t;for(e=[],t=Ue();t!==i;)e.push(t),t=Ue();return e}function Ue(){var t,n;return t=Ee,Ce=Ee,(!gt?void 0:i)!==i?(n=function(){var e,t,n,r;De++,(e=Ge())===i&&(e=Ee,(t=Ve())!==i&&(n=Be())!==i&&(r=Xe())!==i?(Ce=e,t=function(e,t,n){return e!==n&&$e('Mismatch tag "'+e+'" !== "'+n+'"',Ie()),ko({type:PF.tag,value:e,children:t},mt())}(t,n,r),e=t):(Ee=e,e=i));De--,e===i&&(t=i,0===De&&Ne(u));return e}(),n!==i?(Ce=t,t=n):(Ee=t,t=i)):(Ee=t,t=i),t===i&&(t=function(){var e,t;e=Ee,(t=qe())!==i&&(Ce=e,n=t,t=ko({type:PF.literal,value:n},mt()));var n;return e=t}(),t===i&&(t=function(){var t,n,r,o;De++,t=Ee,123===e.charCodeAt(Ee)?(n=m,Ee++):(n=i,0===De&&Ne(g));n!==i&&rt()!==i&&(r=ct())!==i&&rt()!==i?(125===e.charCodeAt(Ee)?(o=v,Ee++):(o=i,0===De&&Ne(b)),o!==i?(Ce=t,a=r,t=n=ko({type:PF.argument,value:a},mt())):(Ee=t,t=i)):(Ee=t,t=i);var a;De--,t===i&&(n=i,0===De&&Ne(h));return t}(),t===i&&(t=function(){var t;t=function(){var t,n,r,o,a,s,l,c,u;t=Ee,123===e.charCodeAt(Ee)?(n=m,Ee++):(n=i,0===De&&Ne(g));n!==i&&rt()!==i&&(r=ct())!==i&&rt()!==i?(44===e.charCodeAt(Ee)?(o=F,Ee++):(o=i,0===De&&Ne(T)),o!==i&&rt()!==i?(e.substr(Ee,6)===D?(a=D,Ee+=6):(a=i,0===De&&Ne(A)),a!==i&&rt()!==i?(s=Ee,44===e.charCodeAt(Ee)?(l=F,Ee++):(l=i,0===De&&Ne(T)),l!==i&&(c=rt())!==i?(u=function(){var t,n,r;t=Ee,e.substr(Ee,2)===E?(n=E,Ee+=2):(n=i,0===De&&Ne(C));n!==i?(r=function(){var e,t,n;if(e=Ee,t=[],(n=Ze())!==i)for(;n!==i;)t.push(n),n=Ze();else t=i;t!==i&&(Ce=e,t=function(e){return ko({type:0,tokens:e,parsedOptions:vt?eT(e):{}},mt())}(t));return e=t}(),r!==i?(Ce=t,t=n=r):(Ee=t,t=i)):(Ee=t,t=i);t===i&&(t=Ee,Ce=Ee,ft.push("numberArgStyle"),(n=(n=!0)?void 0:i)!==i&&(r=qe())!==i?(Ce=t,t=n=P(r)):(Ee=t,t=i));return t}(),u!==i?s=l=[l,c,u]:(Ee=s,s=i)):(Ee=s,s=i),s===i&&(s=null),s!==i&&(l=rt())!==i?(125===e.charCodeAt(Ee)?(c=v,Ee++):(c=i,0===De&&Ne(b)),c!==i?(Ce=t,t=n=I(r,a,s)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i);return t}(),t===i&&(t=function(){var t,n,r,o,a,s,l,c,u;t=Ee,123===e.charCodeAt(Ee)?(n=m,Ee++):(n=i,0===De&&Ne(g));n!==i&&rt()!==i&&(r=ct())!==i&&rt()!==i?(44===e.charCodeAt(Ee)?(o=F,Ee++):(o=i,0===De&&Ne(T)),o!==i&&rt()!==i?(e.substr(Ee,4)===B?(a=B,Ee+=4):(a=i,0===De&&Ne(U)),a===i&&(e.substr(Ee,4)===q?(a=q,Ee+=4):(a=i,0===De&&Ne(W))),a!==i&&rt()!==i?(s=Ee,44===e.charCodeAt(Ee)?(l=F,Ee++):(l=i,0===De&&Ne(T)),l!==i&&(c=rt())!==i?(u=function(){var t,n,r;t=Ee,e.substr(Ee,2)===E?(n=E,Ee+=2):(n=i,0===De&&Ne(C));n!==i?(r=function(){var t,n,r,o;t=Ee,n=Ee,r=[],(o=Ke())===i&&(o=Je());if(o!==i)for(;o!==i;)r.push(o),(o=Ke())===i&&(o=Je());else r=i;n=r!==i?e.substring(n,Ee):r;n!==i&&(Ce=t,n=function(e){return ko({type:1,pattern:e,parsedOptions:vt?qF(e):{}},mt())}(n));return t=n}(),r!==i?(Ce=t,t=n=r):(Ee=t,t=i)):(Ee=t,t=i);t===i&&(t=Ee,Ce=Ee,ft.push("dateOrTimeArgStyle"),(n=(n=!0)?void 0:i)!==i&&(r=qe())!==i?(Ce=t,t=n=P(r)):(Ee=t,t=i));return t}(),u!==i?s=l=[l,c,u]:(Ee=s,s=i)):(Ee=s,s=i),s===i&&(s=null),s!==i&&(l=rt())!==i?(125===e.charCodeAt(Ee)?(c=v,Ee++):(c=i,0===De&&Ne(b)),c!==i?(Ce=t,t=n=I(r,a,s)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i);return t}());return t}(),t===i&&(t=function(){var t,n,r,o,a,s,l,c,u,d,p;t=Ee,123===e.charCodeAt(Ee)?(n=m,Ee++):(n=i,0===De&&Ne(g));if(n!==i)if(rt()!==i)if((r=ct())!==i)if(rt()!==i)if(44===e.charCodeAt(Ee)?(o=F,Ee++):(o=i,0===De&&Ne(T)),o!==i)if(rt()!==i)if(e.substr(Ee,6)===G?(a=G,Ee+=6):(a=i,0===De&&Ne(V)),a===i&&(e.substr(Ee,13)===X?(a=X,Ee+=13):(a=i,0===De&&Ne(H))),a!==i)if(rt()!==i)if(44===e.charCodeAt(Ee)?(s=F,Ee++):(s=i,0===De&&Ne(T)),s!==i)if(rt()!==i)if(l=Ee,e.substr(Ee,7)===Y?(c=Y,Ee+=7):(c=i,0===De&&Ne(Z)),c!==i&&(u=rt())!==i&&(d=ot())!==i?l=c=[c,u,d]:(Ee=l,l=i),l===i&&(l=null),l!==i)if((c=rt())!==i){if(u=[],(d=tt())!==i)for(;d!==i;)u.push(d),d=tt();else u=i;u!==i&&(d=rt())!==i?(125===e.charCodeAt(Ee)?(p=v,Ee++):(p=i,0===De&&Ne(b)),p!==i?(Ce=t,n=function(e,t,n,i){return ko({type:PF.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:n?n[2]:0,options:i.reduce((function(e,t){var n=t.id,i=t.value,r=t.location;return n in e&&$e('Duplicate option "'+n+'" in plural element: "'+Ae()+'"',Ie()),e[n]={value:i,location:r},e}),{})},mt())}(r,a,l,u),t=n):(Ee=t,t=i)):(Ee=t,t=i)}else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;return t}(),t===i&&(t=function(){var t,n,r,o,a,s,l,c,u;t=Ee,123===e.charCodeAt(Ee)?(n=m,Ee++):(n=i,0===De&&Ne(g));if(n!==i)if(rt()!==i)if((r=ct())!==i)if(rt()!==i)if(44===e.charCodeAt(Ee)?(o=F,Ee++):(o=i,0===De&&Ne(T)),o!==i)if(rt()!==i)if(e.substr(Ee,6)===K?(a=K,Ee+=6):(a=i,0===De&&Ne(J)),a!==i)if(rt()!==i)if(44===e.charCodeAt(Ee)?(s=F,Ee++):(s=i,0===De&&Ne(T)),s!==i)if(rt()!==i){if(l=[],(c=et())!==i)for(;c!==i;)l.push(c),c=et();else l=i;l!==i&&(c=rt())!==i?(125===e.charCodeAt(Ee)?(u=v,Ee++):(u=i,0===De&&Ne(b)),u!==i?(Ce=t,n=function(e,t){return ko({type:PF.select,value:e,options:t.reduce((function(e,t){var n=t.id,i=t.value,r=t.location;return n in e&&$e('Duplicate option "'+n+'" in select element: "'+Ae()+'"',Ie()),e[n]={value:i,location:r},e}),{})},mt())}(r,l),t=n):(Ee=t,t=i)):(Ee=t,t=i)}else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;else Ee=t,t=i;return t}(),t===i&&(t=function(){var t,n;t=Ee,35===e.charCodeAt(Ee)?(n="#",Ee++):(n=i,0===De&&Ne(c));n!==i&&(Ce=t,n=ko({type:PF.pound},mt()));return t=n}())))))),t}function qe(){var t,n,r,o;if(t=Ee,Ce=Ee,(n=(n=gt)?void 0:i)!==i){if(r=[],(o=at())===i&&(o=st())===i&&(o=lt())===i&&(60===e.charCodeAt(Ee)?(o=a,Ee++):(o=i,0===De&&Ne(s))),o!==i)for(;o!==i;)r.push(o),(o=at())===i&&(o=st())===i&&(o=lt())===i&&(60===e.charCodeAt(Ee)?(o=a,Ee++):(o=i,0===De&&Ne(s)));else r=i;r!==i?(Ce=t,t=n=l(r)):(Ee=t,t=i)}else Ee=t,t=i;if(t===i){if(t=Ee,n=[],(r=at())===i&&(r=st())===i&&(r=lt())===i&&(r=We()),r!==i)for(;r!==i;)n.push(r),(r=at())===i&&(r=st())===i&&(r=lt())===i&&(r=We());else n=i;n!==i&&(Ce=t,n=l(n)),t=n}return t}function We(){var t,n,r;return t=Ee,n=Ee,De++,(r=Ve())===i&&(r=Xe())===i&&(r=Ge()),De--,r===i?n=void 0:(Ee=n,n=i),n!==i?(60===e.charCodeAt(Ee)?(r=a,Ee++):(r=i,0===De&&Ne(s)),r!==i?(Ce=t,t=n="<"):(Ee=t,t=i)):(Ee=t,t=i),t}function Ge(){var t,n,r,o,l,c,u;return t=Ee,n=Ee,60===e.charCodeAt(Ee)?(r=a,Ee++):(r=i,0===De&&Ne(s)),r!==i&&(o=ut())!==i&&(l=rt())!==i?("/>"===e.substr(Ee,2)?(c="/>",Ee+=2):(c=i,0===De&&Ne(d)),c!==i?n=r=[r,o,l,c]:(Ee=n,n=i)):(Ee=n,n=i),n!==i&&(Ce=t,u=n,n=ko({type:PF.literal,value:u.join("")},mt())),t=n}function Ve(){var t,n,r,o;return t=Ee,60===e.charCodeAt(Ee)?(n=a,Ee++):(n=i,0===De&&Ne(s)),n!==i&&(r=ut())!==i?(62===e.charCodeAt(Ee)?(o=">",Ee++):(o=i,0===De&&Ne(p)),o!==i?(Ce=t,t=n=r):(Ee=t,t=i)):(Ee=t,t=i),t}function Xe(){var t,n,r,o;return t=Ee,"</"===e.substr(Ee,2)?(n="</",Ee+=2):(n=i,0===De&&Ne(f)),n!==i&&(r=ut())!==i?(62===e.charCodeAt(Ee)?(o=">",Ee++):(o=i,0===De&&Ne(p)),o!==i?(Ce=t,t=n=r):(Ee=t,t=i)):(Ee=t,t=i),t}function He(){var t,n,r,o,a;if(De++,t=Ee,n=[],r=Ee,o=Ee,De++,(a=nt())===i&&(O.test(e.charAt(Ee))?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(w))),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i),r!==i)for(;r!==i;)n.push(r),r=Ee,o=Ee,De++,(a=nt())===i&&(O.test(e.charAt(Ee))?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(w))),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i);else n=i;return t=n!==i?e.substring(t,Ee):n,De--,t===i&&(n=i,0===De&&Ne(y)),t}function Ye(){var t,n,r;return De++,t=Ee,47===e.charCodeAt(Ee)?(n="/",Ee++):(n=i,0===De&&Ne(k)),n!==i&&(r=He())!==i?(Ce=t,t=n=r):(Ee=t,t=i),De--,t===i&&(n=i,0===De&&Ne(x)),t}function Ze(){var e,t,n,r,o;if(De++,e=Ee,(t=rt())!==i)if((n=He())!==i){for(r=[],o=Ye();o!==i;)r.push(o),o=Ye();r!==i?(Ce=e,t=function(e,t){return{stem:e,options:t}}(n,r),e=t):(Ee=e,e=i)}else Ee=e,e=i;else Ee=e,e=i;return De--,e===i&&(t=i,0===De&&Ne(S)),e}function Ke(){var t,n,r,o;if(t=Ee,39===e.charCodeAt(Ee)?(n=$,Ee++):(n=i,0===De&&Ne(R)),n!==i){if(r=[],(o=at())===i&&(j.test(e.charAt(Ee))?(o=e.charAt(Ee),Ee++):(o=i,0===De&&Ne(z))),o!==i)for(;o!==i;)r.push(o),(o=at())===i&&(j.test(e.charAt(Ee))?(o=e.charAt(Ee),Ee++):(o=i,0===De&&Ne(z)));else r=i;r!==i?(39===e.charCodeAt(Ee)?(o=$,Ee++):(o=i,0===De&&Ne(R)),o!==i?t=n=[n,r,o]:(Ee=t,t=i)):(Ee=t,t=i)}else Ee=t,t=i;if(t===i)if(t=[],(n=at())===i&&(M.test(e.charAt(Ee))?(n=e.charAt(Ee),Ee++):(n=i,0===De&&Ne(L))),n!==i)for(;n!==i;)t.push(n),(n=at())===i&&(M.test(e.charAt(Ee))?(n=e.charAt(Ee),Ee++):(n=i,0===De&&Ne(L)));else t=i;return t}function Je(){var t,n;if(t=[],N.test(e.charAt(Ee))?(n=e.charAt(Ee),Ee++):(n=i,0===De&&Ne(Q)),n!==i)for(;n!==i;)t.push(n),N.test(e.charAt(Ee))?(n=e.charAt(Ee),Ee++):(n=i,0===De&&Ne(Q));else t=i;return t}function et(){var t,n,r,o,a,s;return t=Ee,(n=rt())!==i&&(r=pt())!==i&&rt()!==i?(123===e.charCodeAt(Ee)?(o=m,Ee++):(o=i,0===De&&Ne(g)),o!==i?(Ce=Ee,ft.push("select"),(!0?void 0:i)!==i&&(a=Be())!==i?(125===e.charCodeAt(Ee)?(s=v,Ee++):(s=i,0===De&&Ne(b)),s!==i?(Ce=t,n=function(e,t){return ft.pop(),ko({id:e,value:t},mt())}(r,a),t=n):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i),t}function tt(){var t,n,r,o,a,s;return t=Ee,(n=rt())!==i?(r=function(){var t,n,r,o;return t=Ee,n=Ee,61===e.charCodeAt(Ee)?(r="=",Ee++):(r=i,0===De&&Ne(ee)),r!==i&&(o=ot())!==i?n=r=[r,o]:(Ee=n,n=i),(t=n!==i?e.substring(t,Ee):n)===i&&(t=pt()),t}(),r!==i&&rt()!==i?(123===e.charCodeAt(Ee)?(o=m,Ee++):(o=i,0===De&&Ne(g)),o!==i?(Ce=Ee,ft.push("plural"),(!0?void 0:i)!==i&&(a=Be())!==i?(125===e.charCodeAt(Ee)?(s=v,Ee++):(s=i,0===De&&Ne(b)),s!==i?(Ce=t,n=function(e,t){return ft.pop(),ko({id:e,value:t},mt())}(r,a),t=n):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i)):(Ee=t,t=i),t}function nt(){var t;return De++,ne.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=i,0===De&&Ne(ie)),De--,t===i&&0===De&&Ne(te),t}function it(){var t;return De++,oe.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=i,0===De&&Ne(ae)),De--,t===i&&0===De&&Ne(re),t}function rt(){var t,n,r;for(De++,t=Ee,n=[],r=nt();r!==i;)n.push(r),r=nt();return t=n!==i?e.substring(t,Ee):n,De--,t===i&&(n=i,0===De&&Ne(se)),t}function ot(){var t,n,r,o,a;return De++,t=Ee,45===e.charCodeAt(Ee)?(n="-",Ee++):(n=i,0===De&&Ne(ue)),n===i&&(n=null),n!==i&&(r=dt())!==i?(Ce=t,o=n,t=n=(a=r)?o?-a:a:0):(Ee=t,t=i),De--,t===i&&(n=i,0===De&&Ne(le)),t}function at(){var t,n;return De++,t=Ee,e.substr(Ee,2)===pe?(n=pe,Ee+=2):(n=i,0===De&&Ne(fe)),n!==i&&(Ce=t,n="'"),De--,(t=n)===i&&(n=i,0===De&&Ne(de)),t}function st(){var t,n,r,o,a,s;if(t=Ee,39===e.charCodeAt(Ee)?(n=$,Ee++):(n=i,0===De&&Ne(R)),n!==i)if(r=function(){var t,n,r,o;t=Ee,n=Ee,e.length>Ee?(r=e.charAt(Ee),Ee++):(r=i,0===De&&Ne(_));r!==i?(Ce=Ee,o=function(e){return"<"===e||">"===e||"{"===e||"}"===e||ht()&&"#"===e}(r),(o=o?void 0:i)!==i?n=r=[r,o]:(Ee=n,n=i)):(Ee=n,n=i);t=n!==i?e.substring(t,Ee):n;return t}(),r!==i){for(o=Ee,a=[],e.substr(Ee,2)===pe?(s=pe,Ee+=2):(s=i,0===De&&Ne(fe)),s===i&&(j.test(e.charAt(Ee))?(s=e.charAt(Ee),Ee++):(s=i,0===De&&Ne(z)));s!==i;)a.push(s),e.substr(Ee,2)===pe?(s=pe,Ee+=2):(s=i,0===De&&Ne(fe)),s===i&&(j.test(e.charAt(Ee))?(s=e.charAt(Ee),Ee++):(s=i,0===De&&Ne(z)));(o=a!==i?e.substring(o,Ee):a)!==i?(39===e.charCodeAt(Ee)?(a=$,Ee++):(a=i,0===De&&Ne(R)),a===i&&(a=null),a!==i?(Ce=t,t=n=r+o.replace("''","'")):(Ee=t,t=i)):(Ee=t,t=i)}else Ee=t,t=i;else Ee=t,t=i;return t}function lt(){var t,n,r,o;return t=Ee,n=Ee,e.length>Ee?(r=e.charAt(Ee),Ee++):(r=i,0===De&&Ne(_)),r!==i?(Ce=Ee,(o=(o=he(r))?void 0:i)!==i?n=r=[r,o]:(Ee=n,n=i)):(Ee=n,n=i),n===i&&(10===e.charCodeAt(Ee)?(n="\n",Ee++):(n=i,0===De&&Ne(me))),t=n!==i?e.substring(t,Ee):n}function ct(){var t,n;return De++,t=Ee,(n=dt())===i&&(n=pt()),t=n!==i?e.substring(t,Ee):n,De--,t===i&&(n=i,0===De&&Ne(ge)),t}function ut(){var t,n;return De++,t=Ee,(n=dt())===i&&(n=function(){var t,n,r,o,a;De++,t=Ee,n=[],45===e.charCodeAt(Ee)?(r=ce,Ee++):(r=i,0===De&&Ne(ue));r===i&&(r=Ee,o=Ee,De++,(a=nt())===i&&(a=it()),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i));if(r!==i)for(;r!==i;)n.push(r),45===e.charCodeAt(Ee)?(r=ce,Ee++):(r=i,0===De&&Ne(ue)),r===i&&(r=Ee,o=Ee,De++,(a=nt())===i&&(a=it()),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i));else n=i;t=n!==i?e.substring(t,Ee):n;De--,t===i&&(n=i,0===De&&Ne(Se));return t}()),t=n!==i?e.substring(t,Ee):n,De--,t===i&&(n=i,0===De&&Ne(ve)),t}function dt(){var t,n,r,o,a;if(De++,t=Ee,48===e.charCodeAt(Ee)?(n="0",Ee++):(n=i,0===De&&Ne(ye)),n!==i&&(Ce=t,n=0),(t=n)===i){if(t=Ee,n=Ee,Oe.test(e.charAt(Ee))?(r=e.charAt(Ee),Ee++):(r=i,0===De&&Ne(we)),r!==i){for(o=[],_e.test(e.charAt(Ee))?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(xe));a!==i;)o.push(a),_e.test(e.charAt(Ee))?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(xe));o!==i?n=r=[r,o]:(Ee=n,n=i)}else Ee=n,n=i;n!==i&&(Ce=t,n=parseInt(n.join(""),10)),t=n}return De--,t===i&&(n=i,0===De&&Ne(be)),t}function pt(){var t,n,r,o,a;if(De++,t=Ee,n=[],r=Ee,o=Ee,De++,(a=nt())===i&&(a=it()),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i),r!==i)for(;r!==i;)n.push(r),r=Ee,o=Ee,De++,(a=nt())===i&&(a=it()),De--,a===i?o=void 0:(Ee=o,o=i),o!==i?(e.length>Ee?(a=e.charAt(Ee),Ee++):(a=i,0===De&&Ne(_)),a!==i?r=o=[o,a]:(Ee=r,r=i)):(Ee=r,r=i);else n=i;return t=n!==i?e.substring(t,Ee):n,De--,t===i&&(n=i,0===De&&Ne(ke)),t}var ft=["root"];function ht(){return"plural"===ft[ft.length-1]}function mt(){return t&&t.captureLocation?{location:Ie()}:{}}var gt=t&&t.ignoreTag,vt=t&&t.shouldParseSkeleton;if((n=o())!==i&&Ee===e.length)return n;throw n!==i&&Ee<e.length&&Ne({type:"end"}),function(e,t,n){return new tT(tT.buildMessage(e,t),e,t,n)}(Te,Fe<e.length?e.charAt(Fe):null,Fe<e.length?Le(Fe,Fe+1):Le(Fe,Fe))},iT=/(^|[^\\])#/g;function rT(e){e.forEach((function(e){(MF(e)||zF(e))&&Object.keys(e.options).forEach((function(t){for(var n,i=e.options[t],r=-1,o=void 0,a=0;a<i.value.length;a++){var s=i.value[a];if(AF(s)&&iT.test(s.value)){r=a,o=s;break}}if(o){var l=o.value.replace(iT,"$1{"+e.value+", number}"),c=nT(l);(n=i.value).splice.apply(n,Ao([r,1],c))}rT(i.value)}))}))}function oT(e,t){t=ko({normalizeHashtagInPlural:!0,shouldParseSkeleton:!0},t||{});var n=nT(e,t);return t.normalizeHashtagInPlural&&rT(n),n}var aT={exports:{}};function sT(e,t,n,i){var r,o=null==(r=i)||"number"==typeof r||"boolean"==typeof r?i:n(i),a=t.get(o);return void 0===a&&(a=e.call(this,i),t.set(o,a)),a}function lT(e,t,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),o=t.get(r);return void 0===o&&(o=e.apply(this,i),t.set(r,o)),o}function cT(e,t,n,i,r){return n.bind(t,e,i,r)}function uT(e,t){return cT(e,this,1===e.length?sT:lT,t.cache.create(),t.serializer)}function dT(){return JSON.stringify(arguments)}function pT(){this.cache=Object.create(null)}pT.prototype.has=function(e){return e in this.cache},pT.prototype.get=function(e){return this.cache[e]},pT.prototype.set=function(e,t){this.cache[e]=t};var fT={create:function(){return new pT}};aT.exports=function(e,t){var n=t&&t.cache?t.cache:fT,i=t&&t.serializer?t.serializer:dT;return(t&&t.strategy?t.strategy:uT)(e,{cache:n,serializer:i})};var hT,mT=aT.exports.strategies={variadic:function(e,t){return cT(e,this,lT,t.cache.create(),t.serializer)},monadic:function(e,t){return cT(e,this,sT,t.cache.create(),t.serializer)}},gT=aT.exports,vT=Object.freeze(h({__proto__:null,default:gT,strategies:mT},[aT.exports]));!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(hT||(hT={}));var bT,yT=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.code=n,r.originalMessage=i,r}return xo(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),OT=function(e){function t(t,n,i,r){return e.call(this,'Invalid values for "'+t+'": "'+n+'". Options are "'+Object.keys(i).join('", "')+'"',"INVALID_VALUE",r)||this}return xo(t,e),t}(yT),wT=function(e){function t(t,n,i){return e.call(this,'Value for "'+t+'" must be of type '+n,"INVALID_VALUE",i)||this}return xo(t,e),t}(yT),_T=function(e){function t(t,n){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+n+'"',"MISSING_VALUE",n)||this}return xo(t,e),t}(yT);function xT(e){return"function"==typeof e}function kT(e,t,n,i,r,o,a){if(1===e.length&&AF(e[0]))return[{type:0,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(AF(u))s.push({type:0,value:u.value});else if(LF(u))"number"==typeof o&&s.push({type:0,value:n.getNumberFormat(t).format(o)});else{var d=u.value;if(!r||!(d in r))throw new _T(d,a);var p=r[d];if(IF(u))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),s.push({type:"string"==typeof p?0:1,value:p});else if(RF(u)){var f="string"==typeof u.style?i.date[u.style]:BF(u.style)?u.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(t,f).format(p)})}else if(jF(u)){f="string"==typeof u.style?i.time[u.style]:BF(u.style)?u.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(t,f).format(p)})}else if($F(u)){(f="string"==typeof u.style?i.number[u.style]:QF(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(p*=f.scale||1),s.push({type:0,value:n.getNumberFormat(t,f).format(p)})}else{if(NF(u)){var h=u.children,m=u.value,g=r[m];if(!xT(g))throw new wT(m,"function",a);var v=g(kT(h,t,n,i,r,o).map((function(e){return e.value})));Array.isArray(v)||(v=[v]),s.push.apply(s,v.map((function(e){return{type:"string"==typeof e?0:1,value:e}})))}if(zF(u)){if(!(b=u.options[p]||u.options.other))throw new OT(u.value,p,Object.keys(u.options),a);s.push.apply(s,kT(b.value,t,n,i,r))}else if(MF(u)){var b;if(!(b=u.options["="+p])){if(!Intl.PluralRules)throw new yT('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",a);var y=n.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0));b=u.options[y]||u.options.other}if(!b)throw new OT(u.value,p,Object.keys(u.options),a);s.push.apply(s,kT(b.value,t,n,i,r,p-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&0===n.type&&0===t.type?n.value+=t.value:e.push(t),e}),[])}(s)}function ST(e,t){return t?Object.keys(e).reduce((function(n,i){var r,o;return n[i]=(r=e[i],(o=t[i])?ko(ko(ko({},r||{}),o||{}),Object.keys(r).reduce((function(e,t){return e[t]=ko(ko({},r[t]),o[t]||{}),e}),{})):r),n}),ko({},e)):e}function ET(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(bT||(bT={}));var CT=gT||vT;var PT,FT=function(){function e(t,n,i,r){var o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return kT(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1,ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=ST(e.formats,i),this.locales=n,this.formatters=r&&r.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:CT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Ao([void 0],t)))}),{cache:ET(e.number),strategy:CT.strategies.variadic}),getDateTimeFormat:CT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Ao([void 0],t)))}),{cache:ET(e.dateTime),strategy:CT.strategies.variadic}),getPluralRules:CT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Ao([void 0],t)))}),{cache:ET(e.pluralRules),strategy:CT.strategies.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=oT,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(PT||(PT={}));var TT=function(e){function t(n,i,r){var o=e.call(this,"[@formatjs/intl Error "+n+"] "+i+" \n"+(r?"\n"+r.message+"\n"+r.stack:""))||this;return o.code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return xo(t,e),t}(Error),DT=function(e){function t(t,n){return e.call(this,PT.UNSUPPORTED_FORMATTER,t,n)||this}return xo(t,e),t}(TT),AT=function(e){function t(t,n){return e.call(this,PT.INVALID_CONFIG,t,n)||this}return xo(t,e),t}(TT),IT=function(e){function t(t,n){return e.call(this,PT.MISSING_DATA,t,n)||this}return xo(t,e),t}(TT),$T=function(e){function t(t,n,i,r){var o=e.call(this,PT.FORMAT_ERROR,t+" \nLocale: "+n+"\nMessageID: "+(null==i?void 0:i.id)+"\nDefault Message: "+(null==i?void 0:i.defaultMessage)+"\nDescription: "+(null==i?void 0:i.description)+" \n",r)||this;return o.descriptor=i,o}return xo(t,e),t}(TT),RT=function(e){function t(t,n){var i=e.call(this,PT.MISSING_TRANSLATION,'Missing message: "'+t.id+'" for locale "'+n+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return i.descriptor=t,i}return xo(t,e),t}(TT);function jT(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,i){return i in e?t[i]=e[i]:i in n&&(t[i]=n[i]),t}),{})}var zT={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){"production"!==Jh.env.NODE_ENV&&console.error(e)}};function MT(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var LT=gT||vT;function NT(e,t,n,i){var r,o=e&&e[t];if(o&&(r=o[n]),r)return r;i(new DT("No "+t+" format named: "+n))}function QT(e,t){return Object.keys(e).reduce((function(n,i){return n[i]=ko({timeZone:t},e[i]),n}),{})}function BT(e,t){return Object.keys(ko(ko({},e),t)).reduce((function(n,i){return n[i]=ko(ko({},e[i]||{}),t[i]||{}),n}),{})}function UT(e,t){if(!t)return e;var n=FT.formats;return ko(ko(ko({},n),e),{date:BT(QT(n.date,t),QT(e.date||{},t)),time:BT(QT(n.time,t),QT(e.time||{},t))})}function qT(e,t,n,i,r){var o=e.locale,a=e.formats,s=e.messages,l=e.defaultLocale,c=e.defaultFormats,u=e.onError,d=e.timeZone,p=e.defaultRichTextElements;void 0===n&&(n={id:""});var f=n.id,h=n.defaultMessage;DF(!!f,"[@formatjs/intl] An `id` must be provided to format a message.");var m=String(f),g=s&&Object.prototype.hasOwnProperty.call(s,m)&&s[m];if(Array.isArray(g)&&1===g.length&&g[0].type===PF.literal)return g[0].value;if(!i&&g&&"string"==typeof g&&!p)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(i=ko(ko({},p),i||{}),a=UT(a,d),c=UT(c,d),!g){if((!h||o&&o.toLowerCase()!==l.toLowerCase())&&u(new RT(n,o)),h)try{return t.getMessageFormat(h,l,c,r).format(i)}catch(e){return u(new $T('Error formatting default message for: "'+m+'", rendering default message verbatim',o,n,e)),"string"==typeof h?h:m}return m}try{return t.getMessageFormat(g,o,a,ko({formatters:t},r||{})).format(i)}catch(e){u(new $T('Error formatting message: "'+m+'", using '+(h?"default message":"id")+" as fallback.",o,n,e))}if(h)try{return t.getMessageFormat(h,l,c,r).format(i)}catch(e){u(new $T('Error formatting the default message for: "'+m+'", rendering message verbatim',o,n,e))}return"string"==typeof g?g:"string"==typeof h?h:m}var WT=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","fractionalSecondDigits","calendar","numberingSystem"];function GT(e,t,n,i){var r=e.locale,o=e.formats,a=e.onError,s=e.timeZone;void 0===i&&(i={});var l=i.format,c=ko(ko({},s&&{timeZone:s}),l&&NT(o,t,l,a)),u=jT(i,WT,c);return"time"!==t||u.hour||u.minute||u.second||u.timeStyle||u.dateStyle||(u=ko(ko({},u),{hour:"numeric",minute:"numeric"})),n(r,u)}function VT(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof r?new Date(r||0):r;try{return GT(e,"date",t,a).format(s)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting date.",t))}return String(s)}function XT(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof r?new Date(r||0):r;try{return GT(e,"time",t,a).format(s)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting time.",t))}return String(s)}function HT(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=n[0],o=n[1],a=n[2],s=void 0===a?{}:a,l=e.timeZone,c=e.locale,u=e.onError,d=jT(s,WT,l?{timeZone:l}:{});try{return t(c,d).formatRange(r,o)}catch(e){u(new TT(PT.FORMAT_ERROR,"Error formatting date time range.",e))}return String(r)}function ZT(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof r?new Date(r||0):r;try{return GT(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting date.",t))}return[]}function KT(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof r?new Date(r||0):r;try{return GT(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting time.",t))}return[]}var JT=["localeMatcher","style","type","fallback"];function eD(e,t,n,i){var r=e.locale,o=e.onError;Intl.DisplayNames||o(new yT('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',"MISSING_INTL_API"));var a=jT(i,JT);try{return t(r,a).of(n)}catch(e){o(new TT(PT.FORMAT_ERROR,"Error formatting display name.",e))}}var tD=["localeMatcher","type","style"],nD=Date.now();function iD(e,t,n,i){var r=e.locale,o=e.onError;void 0===i&&(i={}),Intl.ListFormat||o(new yT('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',"MISSING_INTL_API"));var a=jT(i,tD);try{var s={},l=n.map((function(e,t){if("object"==typeof e){var n=function(e){return nD+"_"+e+"_"+nD}(t);return s[n]=e,n}return String(e)}));return Object.keys(s).length?t(r,a).formatToParts(l).reduce((function(e,t){var n=t.value;return s[n]?e.push(s[n]):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[]):t(r,a).format(l)}catch(e){o(new TT(PT.FORMAT_ERROR,"Error formatting list.",e))}return n}var rD=["localeMatcher","type"];function oD(e,t,n,i){var r=e.locale,o=e.onError;void 0===i&&(i={}),Intl.PluralRules||o(new yT('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API"));var a=jT(i,rD);try{return t(r,a).select(n)}catch(e){o(new $T("Error formatting plural.",e))}return"other"}var aD=["numeric","style"];function sD(e,t,n,i,r){void 0===r&&(r={}),i||(i="second"),Intl.RelativeTimeFormat||e.onError(new yT('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',"MISSING_INTL_API"));try{return function(e,t,n){var i=e.locale,r=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=!!a&&NT(r,"relative",a,o)||{};return t(i,jT(n,aD,s))}(e,t,r).format(n,i)}catch(t){e.onError(new $T("Error formatting relative time.",t))}return String(n)}var lD=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function cD(e,t,n){var i=e.locale,r=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=a&&NT(r,"number",a,o)||{};return t(i,jT(n,lD,s))}function uD(e,t,n,i){void 0===i&&(i={});try{return cD(e,t,i).format(n)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function dD(e,t,n,i){void 0===i&&(i={});try{return cD(e,t,i).formatToParts(n)}catch(t){e.onError(new TT(PT.FORMAT_ERROR,"Error formatting number.",t))}return[]}function pD(e){e.defaultRichTextElements&&function(e){return"string"==typeof(e?e[Object.keys(e)[0]]:void 0)}(e.messages||{})&&console.warn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function fD(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,i=Intl.DisplayNames,r=LT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Ao([void 0],t)))}),{cache:MT(e.dateTime),strategy:LT.strategies.variadic}),o=LT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Ao([void 0],t)))}),{cache:MT(e.number),strategy:LT.strategies.variadic}),a=LT((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Ao([void 0],t)))}),{cache:MT(e.pluralRules),strategy:LT.strategies.variadic});return{getDateTimeFormat:r,getNumberFormat:o,getMessageFormat:LT((function(e,t,n,i){return new FT(e,t,n,ko({formatters:{getNumberFormat:o,getDateTimeFormat:r,getPluralRules:a}},i||{}))}),{cache:MT(e.message),strategy:LT.strategies.variadic}),getRelativeTimeFormat:LT((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Ao([void 0],e)))}),{cache:MT(e.relativeTime),strategy:LT.strategies.variadic}),getPluralRules:a,getListFormat:LT((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Ao([void 0],e)))}),{cache:MT(e.list),strategy:LT.strategies.variadic}),getDisplayNames:LT((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(i.bind.apply(i,Ao([void 0],e)))}),{cache:MT(e.displayNames),strategy:LT.strategies.variadic})}}(t),i=ko(ko({},zT),e),r=i.locale,o=i.defaultLocale,a=i.onError;return r?!Intl.NumberFormat.supportedLocalesOf(r).length&&a?a(new IT('Missing locale data for locale: "'+r+'" in Intl.NumberFormat. Using default locale: "'+o+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(r).length&&a&&a(new IT('Missing locale data for locale: "'+r+'" in Intl.DateTimeFormat. Using default locale: "'+o+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(a&&a(new AT('"locale" was not configured, using "'+o+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),i.locale=i.defaultLocale||"en"),pD(i),ko(ko({},i),{formatters:n,formatNumber:uD.bind(null,i,n.getNumberFormat),formatNumberToParts:dD.bind(null,i,n.getNumberFormat),formatRelativeTime:sD.bind(null,i,n.getRelativeTimeFormat),formatDate:VT.bind(null,i,n.getDateTimeFormat),formatDateToParts:ZT.bind(null,i,n.getDateTimeFormat),formatTime:XT.bind(null,i,n.getDateTimeFormat),formatDateTimeRange:HT.bind(null,i,n.getDateTimeFormat),formatTimeToParts:KT.bind(null,i,n.getDateTimeFormat),formatPlural:oD.bind(null,i,n.getPluralRules),formatMessage:qT.bind(null,i,n),formatList:iD.bind(null,i,n.getListFormat),formatDisplayName:eD.bind(null,i,n.getDisplayNames)})}function hD(e){DF(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var mD=ko(ko({},zT),{textComponent:m.Fragment});var gD=w.default,vD={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},bD={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},yD={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},OD={};function wD(e){return gD.isMemo(e)?yD:OD[e.$$typeof]||vD}OD[gD.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},OD[gD.Memo]=yD;var _D=Object.defineProperty,xD=Object.getOwnPropertyNames,kD=Object.getOwnPropertySymbols,SD=Object.getOwnPropertyDescriptor,ED=Object.getPrototypeOf,CD=Object.prototype;var PD=function e(t,n,i){if("string"!=typeof n){if(CD){var r=ED(n);r&&r!==CD&&e(t,r,i)}var o=xD(n);kD&&(o=o.concat(kD(n)));for(var a=wD(t),s=wD(n),l=0;l<o.length;++l){var c=o[l];if(!(bD[c]||i&&i[c]||s&&s[c]||a&&a[c])){var u=SD(n,c);try{_D(t,c,u)}catch(e){}}}}return t},FD=m.createContext(null);FD.Consumer;var TD,DD,AD=FD.Provider,ID=FD;function $D(e){var t=function(t){return m.createElement(ID.Consumer,null,(function(n){hD(n);var i=t.value,r=t.children,o=So(t,["value","children"]),a=n[e](i,o);if("function"==typeof r)return r(a);var s=n.textComponent||m.Fragment;return m.createElement(s,null,a)}))};return t.displayName=TD[e],t}function RD(){var e=m.useContext(ID);return hD(e),e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(TD||(TD={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(DD||(DD={}));var jD=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),i=Object.keys(t),r=n.length;if(i.length!==r)return!1;for(var o=0;o<r;o++){var a=n[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0},zD=Object.freeze(h({__proto__:null,default:jD},[jD])),MD=jD||zD;function LD(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function ND(e){return e?Object.keys(e).reduce((function(t,n){var i,r=e[n];return t[n]=xT(r)?(i=r,function(e){return i(m.Children.toArray(e))}):r,t}),{}):e}var QD=function(e,t,n,i){for(var r=[],o=4;o<arguments.length;o++)r[o-4]=arguments[o];var a=ND(i),s=qT.apply(void 0,Ao([e,t,n,a],r));return Array.isArray(s)?m.Children.toArray(s):s},BD=function(e,t){var n=e.defaultRichTextElements,i=So(e,["defaultRichTextElements"]),r=ND(n),o=fD(ko(ko(ko({},mD),i),{defaultRichTextElements:r}),t);return ko(ko({},o),{formatMessage:QD.bind(null,{locale:o.locale,timeZone:o.timeZone,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:r},o.formatters)})},UD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:BD(LD(t.props),t.cache),prevConfig:LD(t.props)},t}return xo(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,i=t.cache,r=LD(e);return MD(n,r)?null:{intl:BD(r,i),prevConfig:r}},t.prototype.render=function(){return hD(this.state.intl),m.createElement(AD,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=mD,t}(m.PureComponent),qD=UD,WD=3600;function GD(e){var t=Math.abs(e);return t<60?"second":t<WD?"minute":t<86400?"hour":"day"}function VD(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return WD;default:return 86400}}function XD(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*WD}}var HD=["second","minute","hour"];function YD(e){return void 0===e&&(e="second"),HD.includes(e)}var ZD=function(e){function t(t){var n=e.call(this,t)||this;return n._updateTimer=null,n.state={prevUnit:n.props.unit,prevValue:n.props.value,currentValueInSeconds:YD(n.props.unit)?XD(n.props.value,n.props.unit):0},DF(!t.updateIntervalInSeconds||!(!t.updateIntervalInSeconds||!YD(t.unit)),"Cannot schedule update with unit longer than hour"),n}return xo(t,e),t.prototype.scheduleNextUpdate=function(e,t){var n=this,i=e.updateIntervalInSeconds,r=e.unit,o=t.currentValueInSeconds;if(clearTimeout(this._updateTimer),this._updateTimer=null,i&&YD(r)){var a=o-i,s=GD(a);if("day"!==s){var l=VD(s),c=a-a%l,u=c>=o?c-l:c,d=Math.abs(u-o);this._updateTimer=setTimeout((function(){return n.setState({currentValueInSeconds:u})}),1e3*d)}}},t.prototype.componentDidMount=function(){this.scheduleNextUpdate(this.props,this.state)},t.prototype.componentDidUpdate=function(){this.scheduleNextUpdate(this.props,this.state)},t.prototype.componentWillUnmount=function(){clearTimeout(this._updateTimer),this._updateTimer=null},t.getDerivedStateFromProps=function(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:YD(e.unit)?XD(e.value,e.unit):0}:null},t.prototype.render=function(){var e=this;return m.createElement(ID.Consumer,null,(function(t){hD(t);var n=t.formatRelativeTime,i=t.textComponent,r=e.props,o=r.children,a=r.value,s=r.unit,l=r.updateIntervalInSeconds,c=e.state.currentValueInSeconds,u=a||0,d=s;if(YD(s)&&"number"==typeof c&&l){var p=VD(d=GD(c));u=Math.round(c/p)}var f=n(u,d,ko({},e.props));return"function"==typeof o?o(f):i?m.createElement(i,null,f):f}))},t.displayName="FormattedRelativeTime",t.defaultProps={value:0,unit:"second"},t}(m.PureComponent),KD=ZD,JD=jD||zD,eA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return xo(t,e),t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=t.values,i=So(t,["values"]),r=e.values,o=So(e,["values"]);return!JD(r,n)||!JD(i,o)},t.prototype.render=function(){var e=this;return m.createElement(ID.Consumer,null,(function(t){hD(t);var n=t.formatMessage,i=t.textComponent,r=void 0===i?m.Fragment:i,o=e.props,a=o.id,s=o.description,l=o.defaultMessage,c=o.values,u=o.children,d=o.tagName,p=void 0===d?r:d,f=n({id:a,description:s,defaultMessage:l},c,{ignoreTag:o.ignoreTag});return Array.isArray(f)||(f=[f]),"function"==typeof u?u(f):p?m.createElement.apply(m,Ao([p,null],f)):f}))},t.displayName="FormattedMessage",t}(m.Component),tA=eA,nA=$D("formatDate"),iA=$D("formatTime"),rA=$D("formatNumber");$D("formatList"),$D("formatDisplayName");var oA=t.createContext(null),aA=t.createContext(null),sA=t.createContext(null);function lA(){return t.useContext(sA)}var cA=t.createContext(null),uA=function(){return uA=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},uA.apply(this,arguments)},dA=function(e){var i=e.subscriptionId,r=e.children,o=t.useState(null!=i?{id:i}:null),a=o[0],s=o[1],l=t.useMemo((function(){return{identifier:a,setIdentifier:s}}),[null==a?void 0:a.id,null==a?void 0:a.subscriptionHandle]);return n.jsx(cA.Provider,uA({value:l},{children:r}))},pA=t.createContext(null),fA=function(e){var t=e.children,i=RD();return n.jsx(pA.Provider,uA({value:i},{children:t}))},hA=t.createContext(null),mA="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},gA=function(e){return e&&e.Math==Math&&e},vA=gA("object"==typeof globalThis&&globalThis)||gA("object"==typeof window&&window)||gA("object"==typeof self&&self)||gA("object"==typeof mA&&mA)||Function("return this")(),bA={},yA=function(e){try{return!!e()}catch(e){return!0}},OA=!yA((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),wA={},_A={}.propertyIsEnumerable,xA=Object.getOwnPropertyDescriptor,kA=xA&&!_A.call({1:2},1);
|
|
53
53
|
/*! *****************************************************************************
|
|
54
54
|
Copyright (c) Microsoft Corporation.
|
|
55
55
|
|
|
@@ -294,7 +294,7 @@ const kLe=async(e,t,n,i,r,o)=>{var a;if(e)return e.attachViewToDom(t,n,r,i);if(!
|
|
|
294
294
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
295
295
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
296
296
|
PERFORMANCE OF THIS SOFTWARE.
|
|
297
|
-
***************************************************************************** */function Ant(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}function Int(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))}function $nt(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function Rnt(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}function jnt(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var znt,Mnt=function(e){var t,i=e.children,o=Ant(e,["children"]),a=Efe();return n.jsxs(n.Fragment,{children:[n.jsx(Lnt,{}),n.jsx(r.Dialog,Dnt({},o,{modalProps:Dnt(Dnt({},o.modalProps||{}),{className:No(a,"lt-reach-dialog",{"lt-reach-dialog-mobile":Qo.isAnyMobileApp},null===(t=o.modalProps)||void 0===t?void 0:t.className)})},{children:i}))]})},Lnt=i.createGlobalStyle(znt||(znt=jnt(['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n max-height: calc(100vh - 32px);\n overflow-y: auto;\n }\n\n .dialog-content-host {\n min-height: 0;\n height: auto;\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n max-height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'],['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n max-height: calc(100vh - 32px);\n overflow-y: auto;\n }\n\n .dialog-content-host {\n min-height: 0;\n height: auto;\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n max-height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n']))),Nnt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Qnt=function(e){return e&&e.Math==Math&&e},Bnt=Qnt("object"==typeof globalThis&&globalThis)||Qnt("object"==typeof window&&window)||Qnt("object"==typeof self&&self)||Qnt("object"==typeof Nnt&&Nnt)||Function("return this")(),Unt={},qnt=function(e){try{return!!e()}catch(e){return!0}},Wnt=!qnt((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Gnt={},Vnt={}.propertyIsEnumerable,Xnt=Object.getOwnPropertyDescriptor,Hnt=Xnt&&!Vnt.call({1:2},1);Gnt.f=Hnt?function(e){var t=Xnt(this,e);return!!t&&t.enumerable}:Vnt;var Ynt=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Znt={}.toString,Knt=function(e){return Znt.call(e).slice(8,-1)},Jnt=Knt,eit="".split,tit=qnt((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==Jnt(e)?eit.call(e,""):Object(e)}:Object,nit=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},iit=tit,rit=nit,oit=function(e){return iit(rit(e))},ait=function(e){return"object"==typeof e?null!==e:"function"==typeof e},sit=ait,lit=function(e,t){if(!sit(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!sit(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!sit(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!sit(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},cit={}.hasOwnProperty,uit=function(e,t){return cit.call(e,t)},dit=ait,pit=Bnt.document,fit=dit(pit)&&dit(pit.createElement),hit=function(e){return fit?pit.createElement(e):{}},mit=hit,git=!Wnt&&!qnt((function(){return 7!=Object.defineProperty(mit("div"),"a",{get:function(){return 7}}).a})),vit=Wnt,bit=Gnt,yit=Ynt,Oit=oit,wit=lit,_it=uit,xit=git,kit=Object.getOwnPropertyDescriptor;Unt.f=vit?kit:function(e,t){if(e=Oit(e),t=wit(t,!0),xit)try{return kit(e,t)}catch(e){}if(_it(e,t))return yit(!bit.f.call(e,t),e[t])};var Sit={},Eit=ait,Cit=function(e){if(!Eit(e))throw TypeError(String(e)+" is not an object");return e},Pit=Wnt,Fit=git,Tit=Cit,Dit=lit,Ait=Object.defineProperty;Sit.f=Pit?Ait:function(e,t,n){if(Tit(e),t=Dit(t,!0),Tit(n),Fit)try{return Ait(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Iit=Sit,$it=Ynt,Rit=Wnt?function(e,t,n){return Iit.f(e,t,$it(1,n))}:function(e,t,n){return e[t]=n,e},jit={exports:{}},zit=Bnt,Mit=Rit,Lit=function(e,t){try{Mit(zit,e,t)}catch(n){zit[e]=t}return t},Nit=Lit,Qit="__core-js_shared__",Bit=Bnt[Qit]||Nit(Qit,{}),Uit=Bit,qit=Function.toString;"function"!=typeof Uit.inspectSource&&(Uit.inspectSource=function(e){return qit.call(e)});var Wit=Uit.inspectSource,Git=Wit,Vit=Bnt.WeakMap,Xit="function"==typeof Vit&&/native code/.test(Git(Vit)),Hit={exports:{}},Yit=Bit;(Hit.exports=function(e,t){return Yit[e]||(Yit[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var Zit,Kit,Jit,ert=0,trt=Math.random(),nrt=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++ert+trt).toString(36)},irt=Hit.exports,rrt=nrt,ort=irt("keys"),art=function(e){return ort[e]||(ort[e]=rrt(e))},srt={},lrt=Xit,crt=ait,urt=Rit,drt=uit,prt=art,frt=srt,hrt=Bnt.WeakMap;if(lrt){var mrt=new hrt,grt=mrt.get,vrt=mrt.has,brt=mrt.set;Zit=function(e,t){return brt.call(mrt,e,t),t},Kit=function(e){return grt.call(mrt,e)||{}},Jit=function(e){return vrt.call(mrt,e)}}else{var yrt=prt("state");frt[yrt]=!0,Zit=function(e,t){return urt(e,yrt,t),t},Kit=function(e){return drt(e,yrt)?e[yrt]:{}},Jit=function(e){return drt(e,yrt)}}var Ort={set:Zit,get:Kit,has:Jit,enforce:function(e){return Jit(e)?Kit(e):Zit(e,{})},getterFor:function(e){return function(t){var n;if(!crt(t)||(n=Kit(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},wrt=Bnt,_rt=Rit,xrt=uit,krt=Lit,Srt=Wit,Ert=Ort.get,Crt=Ort.enforce,Prt=String(String).split("String");(jit.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||xrt(n,"name")||_rt(n,"name",t),Crt(n).source=Prt.join("string"==typeof t?t:"")),e!==wrt?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:_rt(e,t,n)):o?e[t]=n:krt(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Ert(this).source||Srt(this)}));var Frt=Bnt,Trt=Bnt,Drt=function(e){return"function"==typeof e?e:void 0},Art=function(e,t){return arguments.length<2?Drt(Frt[e])||Drt(Trt[e]):Frt[e]&&Frt[e][t]||Trt[e]&&Trt[e][t]},Irt={},$rt=Math.ceil,Rrt=Math.floor,jrt=function(e){return isNaN(e=+e)?0:(e>0?Rrt:$rt)(e)},zrt=jrt,Mrt=Math.min,Lrt=function(e){return e>0?Mrt(zrt(e),9007199254740991):0},Nrt=jrt,Qrt=Math.max,Brt=Math.min,Urt=oit,qrt=Lrt,Wrt=function(e,t){var n=Nrt(e);return n<0?Qrt(n+t,0):Brt(n,t)},Grt=function(e){return function(t,n,i){var r,o=Urt(t),a=qrt(o.length),s=Wrt(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Vrt={includes:Grt(!0),indexOf:Grt(!1)},Xrt=uit,Hrt=oit,Yrt=Vrt.indexOf,Zrt=srt,Krt=function(e,t){var n,i=Hrt(e),r=0,o=[];for(n in i)!Xrt(Zrt,n)&&Xrt(i,n)&&o.push(n);for(;t.length>r;)Xrt(i,n=t[r++])&&(~Yrt(o,n)||o.push(n));return o},Jrt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],eot=Krt,tot=Jrt.concat("length","prototype");Irt.f=Object.getOwnPropertyNames||function(e){return eot(e,tot)};var not={};not.f=Object.getOwnPropertySymbols;var iot=Irt,rot=not,oot=Cit,aot=Art("Reflect","ownKeys")||function(e){var t=iot.f(oot(e)),n=rot.f;return n?t.concat(n(e)):t},sot=uit,lot=aot,cot=Unt,uot=Sit,dot=function(e,t){for(var n=lot(t),i=uot.f,r=cot.f,o=0;o<n.length;o++){var a=n[o];sot(e,a)||i(e,a,r(t,a))}},pot=qnt,fot=/#|\.prototype\./,hot=function(e,t){var n=got[mot(e)];return n==bot||n!=vot&&("function"==typeof t?pot(t):!!t)},mot=hot.normalize=function(e){return String(e).replace(fot,".").toLowerCase()},got=hot.data={},vot=hot.NATIVE="N",bot=hot.POLYFILL="P",yot=hot,Oot=Bnt,wot=Unt.f,_ot=Rit,xot=jit.exports,kot=Lit,Sot=dot,Eot=yot,Cot=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?Oot:c?Oot[s]||kot(s,{}):(Oot[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=wot(n,i))&&a.value:n[i],!Eot(l?i:s+(c?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;Sot(o,r)}(e.sham||r&&r.sham)&&_ot(o,"sham",!0),xot(n,i,o,e)}},Pot=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Fot=nit,Tot=function(e){return Object(Fot(e))},Dot=Pot,Aot=Tot,Iot=tit,$ot=Lrt,Rot=function(e){return function(t,n,i,r){Dot(n);var o=Aot(t),a=Iot(o),s=$ot(o.length),l=e?s-1:0,c=e?-1:1;if(i<2)for(;;){if(l in a){r=a[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in a&&(r=n(r,a[l],l,o));return r}},jot={left:Rot(!1),right:Rot(!0)},zot=qnt,Mot=function(e,t){var n=[][e];return!!n&&zot((function(){n.call(null,t||function(){throw 1},1)}))},Lot=Wnt,Not=qnt,Qot=uit,Bot=Object.defineProperty,Uot={},qot=function(e){throw e},Wot=Cot,Got=jot.left,Vot=function(e,t){if(Qot(Uot,e))return Uot[e];t||(t={});var n=[][e],i=!!Qot(t,"ACCESSORS")&&t.ACCESSORS,r=Qot(t,0)?t[0]:qot,o=Qot(t,1)?t[1]:void 0;return Uot[e]=!!n&&!Not((function(){if(i&&!Lot)return!0;var e={length:-1};i?Bot(e,1,{enumerable:!0,get:qot}):e[1]=1,n.call(e,r,o)}))},Xot=Mot("reduce"),Hot=Vot("reduce",{1:0});Wot({target:"Array",proto:!0,forced:!Xot||!Hot},{reduce:function(e){return Got(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var Yot=Krt,Zot=Jrt,Kot=Object.keys||function(e){return Yot(e,Zot)},Jot=Wnt,eat=qnt,tat=Kot,nat=not,iat=Gnt,rat=Tot,oat=tit,aat=Object.assign,sat=Object.defineProperty,lat=!aat||eat((function(){if(Jot&&1!==aat({b:1},aat(sat({},"a",{enumerable:!0,get:function(){sat(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=aat({},e)[n]||tat(aat({},t)).join("")!=i}))?function(e,t){for(var n=rat(e),i=arguments.length,r=1,o=nat.f,a=iat.f;i>r;)for(var s,l=oat(arguments[r++]),c=o?tat(l).concat(o(l)):tat(l),u=c.length,d=0;u>d;)s=c[d++],Jot&&!a.call(l,s)||(n[s]=l[s]);return n}:aat,cat=lat;Cot({target:"Object",stat:!0,forced:Object.assign!==cat},{assign:cat});var uat=qnt,dat=!!Object.getOwnPropertySymbols&&!uat((function(){return!String(Symbol())})),pat=dat&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,fat=Bnt,hat=Hit.exports,mat=uit,gat=nrt,vat=dat,bat=pat,yat=hat("wks"),Oat=fat.Symbol,wat=bat?Oat:Oat&&Oat.withoutSetter||gat,_at=function(e){return mat(yat,e)||(vat&&mat(Oat,e)?yat[e]=Oat[e]:yat[e]=wat("Symbol."+e)),yat[e]},xat=ait,kat=Knt,Sat=_at("match"),Eat=function(e){var t;return xat(e)&&(void 0!==(t=e[Sat])?!!t:"RegExp"==kat(e))},Cat=Eat,Pat=function(e){if(Cat(e))throw TypeError("The method doesn't accept regular expressions");return e},Fat=_at("match"),Tat=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Fat]=!1,"/./"[e](t)}catch(e){}}return!1},Dat=Pat,Aat=nit;function Iat(e,t){var n=e||[],i=t||[],r=n.map((function(e){return e.id})),o=i.filter((function(e){return!r.includes(e.id)}));return n.concat(o)}Cot({target:"String",proto:!0,forced:!Tat("includes")},{includes:function(e){return!!~String(Aat(this)).indexOf(Dat(e),arguments.length>1?arguments[1]:void 0)}});var $at,Rat=Sit,jat=Cit,zat=Kot,Mat=Wnt?Object.defineProperties:function(e,t){jat(e);for(var n,i=zat(t),r=i.length,o=0;r>o;)Rat.f(e,n=i[o++],t[n]);return e},Lat=Art("document","documentElement"),Nat=Cit,Qat=Mat,Bat=Jrt,Uat=srt,qat=Lat,Wat=hit,Gat=art("IE_PROTO"),Vat=function(){},Xat=function(e){return"<script>"+e+"</"+"script>"},Hat=function(){try{$at=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Hat=$at?function(e){e.write(Xat("")),e.close();var t=e.parentWindow.Object;return e=null,t}($at):((t=Wat("iframe")).style.display="none",qat.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Xat("document.F=Object")),e.close(),e.F);for(var n=Bat.length;n--;)delete Hat.prototype[Bat[n]];return Hat()};Uat[Gat]=!0;var Yat=Object.create||function(e,t){var n;return null!==e?(Vat.prototype=Nat(e),n=new Vat,Vat.prototype=null,n[Gat]=e):n=Hat(),void 0===t?n:Qat(n,t)},Zat=Yat,Kat=Sit,Jat=_at("unscopables"),est=Array.prototype;null==est[Jat]&&Kat.f(est,Jat,{configurable:!0,value:Zat(null)});var tst,nst,ist,rst=function(e){est[Jat][e]=!0},ost={},ast=!qnt((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),sst=uit,lst=Tot,cst=ast,ust=art("IE_PROTO"),dst=Object.prototype,pst=cst?Object.getPrototypeOf:function(e){return e=lst(e),sst(e,ust)?e[ust]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?dst:null},fst=pst,hst=Rit,mst=uit,gst=_at("iterator"),vst=!1;[].keys&&("next"in(ist=[].keys())?(nst=fst(fst(ist)))!==Object.prototype&&(tst=nst):vst=!0),null==tst&&(tst={}),mst(tst,gst)||hst(tst,gst,(function(){return this}));var bst={IteratorPrototype:tst,BUGGY_SAFARI_ITERATORS:vst},yst=Sit.f,Ost=uit,wst=_at("toStringTag"),_st=function(e,t,n){e&&!Ost(e=n?e:e.prototype,wst)&&yst(e,wst,{configurable:!0,value:t})},xst=bst.IteratorPrototype,kst=Yat,Sst=Ynt,Est=_st,Cst=ost,Pst=function(){return this},Fst=ait,Tst=Cit,Dst=function(e){if(!Fst(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},Ast=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return Tst(n),Dst(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),Ist=Cot,$st=function(e,t,n){var i=t+" Iterator";return e.prototype=kst(xst,{next:Sst(1,n)}),Est(e,i,!1),Cst[i]=Pst,e},Rst=pst,jst=Ast,zst=_st,Mst=Rit,Lst=jit.exports,Nst=ost,Qst=bst.IteratorPrototype,Bst=bst.BUGGY_SAFARI_ITERATORS,Ust=_at("iterator"),qst="keys",Wst="values",Gst="entries",Vst=function(){return this},Xst=oit,Hst=rst,Yst=ost,Zst=Ort,Kst=function(e,t,n,i,r,o,a){$st(n,t,i);var s,l,c,u=function(e){if(e===r&&m)return m;if(!Bst&&e in f)return f[e];switch(e){case qst:case Wst:case Gst:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,f=e.prototype,h=f[Ust]||f["@@iterator"]||r&&f[r],m=!Bst&&h||u(r),g="Array"==t&&f.entries||h;if(g&&(s=Rst(g.call(new e)),Qst!==Object.prototype&&s.next&&(Rst(s)!==Qst&&(jst?jst(s,Qst):"function"!=typeof s[Ust]&&Mst(s,Ust,Vst)),zst(s,d,!0))),r==Wst&&h&&h.name!==Wst&&(p=!0,m=function(){return h.call(this)}),f[Ust]!==m&&Mst(f,Ust,m),Nst[t]=m,r)if(l={values:u(Wst),keys:o?m:u(qst),entries:u(Gst)},a)for(c in l)(Bst||p||!(c in f))&&Lst(f,c,l[c]);else Ist({target:t,proto:!0,forced:Bst||p},l);return l},Jst="Array Iterator",elt=Zst.set,tlt=Zst.getterFor(Jst),nlt=Kst(Array,"Array",(function(e,t){elt(this,{type:Jst,target:Xst(e),index:0,kind:t})}),(function(){var e=tlt(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");Yst.Arguments=Yst.Array,Hst("keys"),Hst("values"),Hst("entries");var ilt=Bnt,rlt={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},olt=nlt,alt=Rit,slt=_at,llt=slt("iterator"),clt=slt("toStringTag"),ult=olt.values;for(var dlt in rlt){var plt=ilt[dlt],flt=plt&&plt.prototype;if(flt){if(flt[llt]!==ult)try{alt(flt,llt,ult)}catch(e){flt[llt]=ult}if(flt[clt]||alt(flt,clt,dlt),rlt[dlt])for(var hlt in olt)if(flt[hlt]!==olt[hlt])try{alt(flt,hlt,olt[hlt])}catch(e){flt[hlt]=olt[hlt]}}}var mlt,glt,vlt,blt,ylt,Olt,wlt,_lt,xlt,klt,Slt,Elt,Clt,Plt,Flt,Tlt,Dlt,Alt,Ilt,$lt=function(e){var t=RD().formatMessage,i=Efe();return n.jsx(r.TooltipHost,Dnt({},e,{className:No(i,"lt-reach-tooltip"),role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||t({id:e.resourceKey},e.values||{}):null,calloutProps:Dnt(Dnt({},e.calloutProps),{calloutWidth:e.width,hidden:e.hidden}),dir:"auto"},{children:e.children}))},Rlt=function(e){var t,n;return i.css(ylt||(ylt=jnt(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?i.css(mlt||(mlt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):i.css(glt||(glt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Yde),(null==e?void 0:e.color)?i.css(vlt||(vlt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):i.css(blt||(blt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),null!==(t=null==e?void 0:e.blockPadding)&&void 0!==t?t:3,null!==(n=null==e?void 0:e.inlinePadding)&&void 0!==n?n:Dse,Ase)},jlt=function(e){var t=e.tooltipResourceKey,i=e.className,r=Ant(e,["tooltipResourceKey","className"]);return n.jsx($lt,Dnt({resourceKey:t,className:i},{children:n.jsx(zlt,Dnt({},r,{"data-highlight-bubble":!0}))}))},zlt=v.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(Olt||(Olt=jnt(["\n ",";\n\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n flex: 1 1 auto;\n }\n"],["\n ",";\n\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n flex: 1 1 auto;\n }\n"])),Rlt(),6,15,Hse,(function(e){return e.readOnly?"inherit":"pointer"})),Mlt=v.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(wlt||(wlt=jnt(["\n &:empty {\n display: none;\n }\n\n padding: 10px 0;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"],["\n &:empty {\n display: none;\n }\n\n padding: 10px 0;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"])),(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),Llt=function(e){var t=e.showDialog,i=e.onClose,o=e.onClosed,a=e.handleSave,s=e.titleResource,l=e.disableSave,c=e.saveButtonResourceId,u=e.children,d=e.className,p=RD().formatMessage;return n.jsxs(Mnt,Dnt({hidden:!t,modalProps:{isBlocking:!0,onDismissed:o},dialogContentProps:{type:r.DialogType.normal,title:p({id:s})},onDismiss:i},{children:[n.jsx(Nlt,Dnt({className:d},{children:u})),n.jsxs(r.DialogFooter,{children:[n.jsx(r.DefaultButton,Dnt({onClick:i,"data-button":"cancel"},{children:n.jsx(tA,{id:"Generic.Cancel"})})),n.jsx(r.PrimaryButton,Dnt({disabled:l,onClick:a,"data-button":"save"},{children:n.jsx(tA,{id:c||"Generic.Save"})}))]})]}))},Nlt=v.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(_lt||(_lt=jnt(["\n min-height: 45px;\n\n > *:not(:last-child) {\n margin-bottom: ","px;\n }\n"],["\n min-height: 45px;\n\n > *:not(:last-child) {\n margin-bottom: ","px;\n }\n"])),Ase),Qlt=v.default(Llt).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(xlt||(xlt=jnt(["\n width: 400px;\n"],["\n width: 400px;\n"]))),Blt=v.default(r.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(klt||(klt=jnt(["\n && {\n &:not([disabled]) {\n color: ",";\n i {\n color: inherit;\n }\n }\n }\n"],["\n && {\n &:not([disabled]) {\n color: ",";\n i {\n color: inherit;\n }\n }\n }\n"])),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default})),Ult=function(e){var t=e.checked,i=e.readOnly,r=e.onChange,o=e.className,a=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,c=e.ariaLabelResourceKey,u=RD().formatMessage,d=t?s||a||"CheckboxComposite":a||"Checkbox";return n.jsx(qlt,Dnt({className:o},{children:i?n.jsx(Glt,{}):n.jsx($lt,Dnt({resourceKey:l},{children:n.jsx(Wlt,{iconProps:{iconName:d},onClick:function(){return r(!t)},ariaLabel:c?u({id:c}):null})}))}))},qlt=v.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(Slt||(Slt=jnt(["\n margin-block: 0;\n margin-inline: 6px 21px;\n\n @media (min-width: 700px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"],["\n margin-block: 0;\n margin-inline: 6px 21px;\n\n @media (min-width: 700px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"]))),Wlt=v.default(Blt).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(Elt||(Elt=jnt(["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"])),Vse,20),Glt=v.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(Clt||(Clt=jnt(["\n width: 22px;\n"],["\n width: 22px;\n"]))),Vlt=i.css(Plt||(Plt=jnt(["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"],["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),Xlt=v.default.a.withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(Flt||(Flt=jnt(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),Vlt),Hlt=v.default(o.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(Tlt||(Tlt=jnt(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),Vlt),Ylt=i.css(Dlt||(Dlt=jnt(["\n height: auto;\n box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);\n\n span {\n line-height: ","px !important;\n }\n\n .ms-MessageBar-text {\n color: #fff !important;\n margin: 15px 8px;\n\n @media (max-width: 479px) {\n margin-bottom: 8px;\n }\n }\n\n .ms-MessageBar-icon {\n color: #fff !important;\n }\n\n &.ms-MessageBar--error {\n background-color: #c24844 !important;\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !important;\n }\n }\n"],["\n height: auto;\n box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);\n\n span {\n line-height: ","px !important;\n }\n\n .ms-MessageBar-text {\n color: #fff !important;\n margin: 15px 8px;\n\n @media (max-width: 479px) {\n margin-bottom: 8px;\n }\n }\n\n .ms-MessageBar-icon {\n color: #fff !important;\n }\n\n &.ms-MessageBar--error {\n background-color: #c24844 !important;\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !important;\n }\n }\n"])),20),Zlt=function(){var e=fpe().hideNotification,i=t.useContext(ppe),r=i.isNotificationBarVisible,o=Ant(i,["isNotificationBarVisible"]),a=RD().formatMessage,s=o.messageId||o.text;return r?n.jsx(Klt,Dnt({className:"notification-wrapper","data-notification-bar":!0},{children:n.jsx(Jlt,Dnt({messageBarType:o.messageBarType,className:o.className,actions:o.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:a({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&n.jsx($lt,Dnt({text:o.text,resourceKey:o.messageId,values:o.messageValues},{children:o.text||n.jsx(tA,{id:o.messageId,values:o.messageValues||{}})}))}))})):null},Klt=v.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(Alt||(Alt=jnt(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),Jlt=v.default(r.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(Ilt||(Ilt=jnt(["\n ","\n\n .ms-MessageBar-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n &:not(.notification-bar--undo) {\n .ms-MessageBar-text {\n font-size: ","px;\n }\n\n .ms-MessageBar-icon {\n font-size: ","px;\n }\n\n .ms-MessageBar-dismissal {\n i {\n font-size: ","px;\n }\n }\n }\n\n &.ms-messageBar--info {\n background-color: white !important;\n\n .ms-MessageBar-icon,\n .ms-MessageBar-text,\n .ms-MessageBar-dismissal i {\n font-size: ","px;\n color: black !important;\n }\n }\n\n &.ms-MessageBar--success {\n background-color: #498526 !important;\n }\n\n &.ms-MessageBar--warning {\n background-color: #b95e06 !important;\n }\n\n &.notification-bar--undo {\n position: relative;\n\n .ms-MessageBar-icon {\n display: none !important;\n }\n\n .ms-MessageBar-text {\n font-size: ","px !important;\n font-weight: 500 !important;\n\n @media (max-width: 700px) {\n font-size: ","px !important;\n }\n }\n\n .ms-MessageBar-actionsOneline {\n padding-right: ","px;\n\n > div {\n width: 100%;\n display: flex;\n }\n }\n\n .ms-MessageBar-dismissOneline {\n position: absolute;\n right: 12px;\n top: calc(50% - 8px);\n z-index: 1;\n width: 35px;\n\n i {\n font-size: ","px;\n font-weight: bold;\n }\n }\n }\n"],["\n ","\n\n .ms-MessageBar-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n &:not(.notification-bar--undo) {\n .ms-MessageBar-text {\n font-size: ","px;\n }\n\n .ms-MessageBar-icon {\n font-size: ","px;\n }\n\n .ms-MessageBar-dismissal {\n i {\n font-size: ","px;\n }\n }\n }\n\n &.ms-messageBar--info {\n background-color: white !important;\n\n .ms-MessageBar-icon,\n .ms-MessageBar-text,\n .ms-MessageBar-dismissal i {\n font-size: ","px;\n color: black !important;\n }\n }\n\n &.ms-MessageBar--success {\n background-color: #498526 !important;\n }\n\n &.ms-MessageBar--warning {\n background-color: #b95e06 !important;\n }\n\n &.notification-bar--undo {\n position: relative;\n\n .ms-MessageBar-icon {\n display: none !important;\n }\n\n .ms-MessageBar-text {\n font-size: ","px !important;\n font-weight: 500 !important;\n\n @media (max-width: 700px) {\n font-size: ","px !important;\n }\n }\n\n .ms-MessageBar-actionsOneline {\n padding-right: ","px;\n\n > div {\n width: 100%;\n display: flex;\n }\n }\n\n .ms-MessageBar-dismissOneline {\n position: absolute;\n right: 12px;\n top: calc(50% - 8px);\n z-index: 1;\n width: 35px;\n\n i {\n font-size: ","px;\n font-weight: bold;\n }\n }\n }\n"])),Ylt,Xse,Vse,Vse,Xse,Vse,Hse,Ise,20),ect=function(e){var i,o=RD().formatMessage,a=dre(),s=ure(),l=noe(),c=l.searchAccounts,u=l.getUserAvatarUrl,d=t.useRef(),p=Sj();t.useEffect((function(){e.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,e.autoFocus]);var f=(null===(i=s.subscription.directories)||void 0===i?void 0:i.length)>1,h=!e.selectionMode||e.selectionMode===r.SelectionMode.multiple,m=e.selectedItems||[],g=f,v={defaultSelectedItems:(e.defaultSelectedItems||[]).map((function(e){return b(e)})),resolveDelay:500,onResolveSuggestions:function(e){return y(e,g)},onGetMoreResults:function(e){return y(e,!1)},getTextFromItem:function(e){return e.text},onChange:function(t){return function(t){var n=t.map((function(e){return{id:(t=e).id,tokenUniqueId:t.tokenUniqueId,tenantId:t.tenantId,displayName:t.text,userPrincipalName:t.accountType!==Gie.Group?t.userPrincipalName:null,mail:jre(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));e.onChange&&e.onChange(n)}(t)},pickerSuggestionsProps:{noResultsFoundText:o({id:"Generic.noResultsFound"}),searchForMoreText:g&&!e.localOnly?o({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:o({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:e.disabled,pickerCalloutProps:{calloutMaxWidth:p.width<Bse?300:0,className:"lt-reach-picker-callout"},inputProps:{id:e.inputId,required:e.required,"aria-required":e.required,"aria-label":e.inputAriaLabelResourceKey?o({id:e.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:o({id:"AriaLabel.removeUserButton"})};return e.onEmptyInputFocus&&(v.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return O(e).map(b);return e.then((function(e){return O(e).map(b)}))}(e.onEmptyInputFocus())}),e.placeholderStringResourceKey&&0===m.length&&(v.inputProps.placeholder=o({id:e.placeholderStringResourceKey})),e.selectedItems&&(v.selectedItems=m.map((function(e){return b(e)}))),n.jsx(nct,Dnt({className:No(e.className,"people-picker")},{children:n.jsx(r.NormalPeoplePicker,Dnt({},v,{componentRef:d,itemLimit:h?void 0:1}))}));function b(e){var t=jre(e.mail)?null:e.mail,n=jre(e.userPrincipalName)?null:e.userPrincipalName,i=IE(e.displayName||e.mail||e.userPrincipalName),r=e.type===Gie.User?n:e.type===Gie.Group?t:null,o={id:e.id,tokenUniqueId:e.tokenUniqueId,tenantId:e.tenantId,userPrincipalName:e.userPrincipalName,text:e.displayName||e.mail,secondaryText:(r||"")+(t&&t!==r?" (".concat(t,")"):""),tertiaryText:t,imageInitials:i,initialsColor:$E(i),key:r,accountType:e.type,authenticationType:e.authenticationType};return a.avatars&&u(e.userPrincipalName).subscribe((function(e){return o.imageUrl=e})),o}function y(t,n){return Int(this,void 0,void 0,(function(){var i,r,o;return $nt(this,(function(a){switch(a.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&OE(t)&&{mail:t,userPrincipalName:t,displayName:t,type:Gie.User},a.label=1;case 1:return a.trys.push([1,3,,4]),[4,c({search:t,type:e.accountType,includePendingInvitationUsers:e.includePendingInvitationUsers,includePendingRegistrationUsers:e.includePendingRegistrationUsers,localOnly:e.localOnly||n,excludeApiUsers:e.excludeApiUsers})];case 2:return r=a.sent(),i&&r.every((function(e){return!function(e,t){return(e.userPrincipalName||"").toLowerCase()===t.userPrincipalName.toLowerCase()||(e.mail||"").toLowerCase()===t.mail.toLowerCase()}(e,i)}))&&r.push(i),e.additionalSearch&&(o=e.additionalSearch(t))&&(r=r.concat(o)),[2,O(r).map(b)];case 3:return a.sent(),[2,i&&[i].map(b)];case 4:return[2]}}))}))}function O(t){if(!e.selectedItems&&!e.defaultSelectedItems&&!e.excludedItems)return t;var n=(e.excludedItems||[]).concat(e.selectedItems||e.defaultSelectedItems||[]);return t.filter((function(e){return n.every((function(t){return!function(e,t){if(e.id&&t.id)return e.id===t.id;if(e.tokenUniqueId&&t.tokenUniqueId)return e.tokenUniqueId===t.tokenUniqueId;return e.userPrincipalName===t.userPrincipalName}(t,e)}))}))}};var tct,nct=v.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(tct||(tct=jnt(["\n .ms-BasePicker-text {\n padding: 3px 6px;\n }\n\n input.ms-BasePicker-input {\n font-size: 14px;\n }\n"],["\n .ms-BasePicker-text {\n padding: 3px 6px;\n }\n\n input.ms-BasePicker-input {\n font-size: 14px;\n }\n"]))),ict=Cot,rct=Unt.f,oct=Lrt,act=Pat,sct=nit,lct=Tat,cct="".startsWith,uct=Math.min,dct=lct("startsWith"),pct=!dct&&!!function(){var e=rct(String.prototype,"startsWith");return e&&!e.writable}();ict({target:"String",proto:!0,forced:!pct&&!dct},{startsWith:function(e){var t=String(sct(this));act(e);var n=oct(uct(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return cct?cct.call(t,i,n):t.slice(n,n+i.length)===i}});var fct=Cit,hct=function(){var e=fct(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},mct=jit.exports,gct=Cit,vct=qnt,bct=hct,yct="toString",Oct=RegExp.prototype,wct=Oct.toString,_ct=vct((function(){return"/a/b"!=wct.call({source:"a",flags:"b"})})),xct=wct.name!=yct;(_ct||xct)&&mct(RegExp.prototype,yct,(function(){var e=gct(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in Oct)?bct.call(e):n)}),{unsafe:!0});var kct,Sct=function(e){var t=e.fileName,i=e.url;return n.jsx(Ect,Dnt({href:i,target:"_blank",download:t,onMouseDown:function(e){return e.preventDefault()}},{children:n.jsx("span",{children:t})}))},Ect=v.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(kct||(kct=jnt(["\n margin-bottom: ","px;\n &&& {\n width: 100%;\n display: block;\n color: ",";\n line-height: 1.5em;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n margin-bottom: ","px;\n }\n"],["\n margin-bottom: ","px;\n &&& {\n width: 100%;\n display: block;\n color: ",";\n line-height: 1.5em;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n margin-bottom: ","px;\n }\n"])),3,(function(e){return e.theme.palette.accent}),Dse),Cct=function(e){var t=e.fileName,i=e.url,r=e.onPlay;return i?n.jsxs(Act,Dnt({className:"lt-reach-embedded-audio"},{children:[n.jsx(Sct,{fileName:t,url:i}),n.jsxs("audio",Dnt({onPlay:function(){return null==r?void 0:r(i)},controls:!0,title:t,controlsList:"nodownload"},{children:[n.jsx("source",{src:i,type:"audio/mpeg"}),n.jsx(tA,{id:"Generic.audioReplayError",tagName:"p"})]}))]})):null};function Pct(e){var t=LK.getType(e);return t&&t.toString().startsWith("audio/")}var Fct,Tct,Dct,Act=v.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(Fct||(Fct=jnt(["\n width: 100%;\n"],["\n width: 100%;\n"])));v.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(Tct||(Tct=jnt(["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"],["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"])),Ise,Dse),v.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(Dct||(Dct=jnt(["\n margin: ","px 0 ","px 0;\n font-weight: normal;\n font-size: ","px;\n color: ",";\n"],["\n margin: ","px 0 ","px 0;\n font-weight: normal;\n font-size: ","px;\n color: ",";\n"])),Ise,Ise,20,(function(e){return e.theme.textColors.default}));var Ict,$ct,Rct,jct,zct,Mct,Lct=function(e){var t=e.children,i=e.deleteButton,r=e.domIdentifier,o=e.backgroundColor,a=e.className;return n.jsxs(Bct,Dnt({className:a},{children:[i&&n.jsx(Qct,{children:i}),n.jsx(Nct,Dnt({"data-attachment":r,backgroundColor:o},{children:t}))]}))},Nct=v.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(Ict||(Ict=jnt(["\n width: auto;\n border-radius: ","px;\n overflow: hidden;\n /* fix for iOS and Safari: overflow: hidden with border-radius */\n transform: translateZ(0);\n\n ","\n"],["\n width: auto;\n border-radius: ","px;\n overflow: hidden;\n /* fix for iOS and Safari: overflow: hidden with border-radius */\n transform: translateZ(0);\n\n ","\n"])),10,(function(e){return e.backgroundColor?"background-color: ".concat(e.backgroundColor,";"):"background-color: ".concat(e.theme.palette.white,";")})),Qct=v.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})($ct||($ct=jnt(["\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n background-color: ",";\n border-top-right-radius: ","px;\n border-bottom-left-radius: ","px;\n"],["\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n background-color: ",";\n border-top-right-radius: ","px;\n border-bottom-left-radius: ","px;\n"])),(function(e){return e.theme.palette.white}),9,10),Bct=v.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(Rct||(Rct=jnt(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),Ase),Uct=v.default(r.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(jct||(jct=jnt(["\n &&:not([disabled]) {\n color: ",";\n\n i {\n color: ",";\n }\n }\n"],["\n &&:not([disabled]) {\n color: ",";\n\n i {\n color: ",";\n }\n }\n"])),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default}),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default}));v.default.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(zct||(zct=jnt(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),v.default(Uct).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(Mct||(Mct=jnt(["\n && {\n font-weight: bold;\n display: flex;\n flex-direction: row;\n justify-content: center;\n color: ",";\n }\n"],["\n && {\n font-weight: bold;\n display: flex;\n flex-direction: row;\n justify-content: center;\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}));var qct,Wct,Gct,Vct,Xct=function(e){var t=e.children,i=Ant(e,["children"]),o=Efe();return n.jsx(r.FocusTrapCallout,Dnt({},i,{className:No(o,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:Dnt({isClickableOutsideFocusTrap:!0},i.focusTrapProps)},{children:t}))},Hct=function(e){var i=RD().formatMessage,o=t.useState(!1),a=o[0],s=o[1],l=t.useContext(ipe).theme.palette.accent;return n.jsxs(Mnt,Dnt({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!e.hideCloseButton,type:e.hideCloseButton?r.DialogType.normal:r.DialogType.close,title:i({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[n.jsx(Yct,{children:n.jsx(tA,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues})}),n.jsx(Zct,{"data-verify-item-input":!0,onChange:function(t,n){var i=n===e.compareValue;i!==a&&s(i)},ariaLabel:i({id:e.inputAriaLabelResourceKey})}),e.children,n.jsxs(r.DialogFooter,{children:[n.jsx(r.DefaultButton,Dnt({onClick:e.onCancel,disabled:e.disabled},{children:n.jsx(tA,{id:"Generic.Cancel"})})),n.jsx(Kct,Dnt({onClick:e.onConfirm,"data-delete-button":!0,disabled:!a||e.disabled},{children:n.jsx(tA,{id:"Generic.Delete"})}))]})]}))},Yct=v.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(qct||(qct=jnt(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),Zct=v.default(r.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(Wct||(Wct=jnt(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Ase),Kct=v.default(r.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(Gct||(Gct=jnt(["\n &&:not([disabled]) {\n background-color: ",";\n border-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n }\n"],["\n &&:not([disabled]) {\n background-color: ",";\n border-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n }\n"])),(function(e){return e.theme.palette.red}),(function(e){return e.theme.palette.red}),(function(e){return e.theme.palette.white}),(function(e){return e.theme.palette.redDark}),(function(e){return e.theme.palette.redDark}),(function(e){return e.theme.palette.white})),Jct=function(e){var i=e.showDialog,o=e.titleResourceKey,a=e.titleResourceValues,s=e.infoResourceKey,l=e.infoResourceValues,c=e.onConfirm,u=e.onClose,d=e.width,p=e.children,f=RD().formatMessage,h=t.useContext(ipe).theme.palette.accent;return n.jsxs(Mnt,Dnt({hidden:!i,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:r.DialogType.normal,subText:s?f({id:s},l):"",title:f({id:o},a),titleProps:{style:{color:h}}},onDismiss:u},{children:[p,n.jsxs(r.DialogFooter,{children:[n.jsx(r.DefaultButton,Dnt({onClick:u,"data-cancel-button":!0},{children:n.jsx(tA,{id:"Generic.Cancel"})})),n.jsx(r.PrimaryButton,Dnt({"data-ok-button":!0,onClick:function(){null==c||c(),null==u||u()}},{children:n.jsx(tA,{id:"Generic.Ok"})}))]})]}))},eut=function(e){var i=e.onConfirm,o=e.onCancel,a=RD().formatMessage,s=t.useContext(ipe).theme.palette.accent;return n.jsx(Mnt,Dnt({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:r.DialogType.close,title:a({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:o},{children:n.jsxs(tut,{children:[n.jsx(tA,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"}),n.jsxs(r.DialogFooter,{children:[n.jsx(r.PrimaryButton,Dnt({onClick:i},{children:n.jsx(tA,{id:"Events.editor.recurrence.reset"})})),n.jsx(r.DefaultButton,Dnt({onClick:o},{children:n.jsx(tA,{id:"Generic.Cancel"})}))]})]})}))},tut=v.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(Vct||(Vct=jnt(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),nut=function(e){var i=e.value,r=t.useContext(hA).language,o=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=Dnt(Dnt({},aut),n||{}),r=(+e-+t)/1e3;if(Math.abs(r)<i.second)return{value:Math.round(r),unit:"second"};var o=r/60;if(Math.abs(o)<i.minute)return{value:Math.round(o),unit:"minute"};var a=r/iut;if(Math.abs(a)<i.hour)return{value:Math.round(a),unit:"hour"};var s=r/rut;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/out;if(Math.round(Math.abs(l))>0&&Math.abs(l)<i.week)return{value:Math.round(l),unit:"week"};var c=new Date(e),u=new Date(t),d=c.getFullYear()-u.getFullYear(),p=12*d+c.getMonth()-u.getMonth();if(Math.round(Math.abs(p))>0&&Math.abs(p)<i.month)return{value:Math.round(p),unit:"month"};return{value:Math.round(d),unit:"year"}}(i),a=o.value,s=o.unit;return n.jsx(qD,Dnt({locale:r},{children:n.jsx(KD,{value:a,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0})}))},iut=3600,rut=86400,out=604800;var aut={second:45,minute:45,hour:22,day:6,week:4,month:12};var sut,lut,cut,uut,dut,put,fut,hut,mut,gut=function(e){var i,r,o=(i=e.value,r=e.dateOnly,t.useMemo((function(){var e=zE(i),t=Wv(e,{year:"numeric",month:"long",day:"numeric",weekday:"long",hour:r?void 0:"numeric",minute:r?void 0:"numeric"},{locale:Lie()}),n={dateTime:e.toISOString(),title:t};return{date:e,timeProps:n}}),[r,i])),a=o.date,s=o.timeProps,l=!e.showAsAbsolute&&(e.showAsRelative||ME(e.value))&&!e.dateOnly;return!e.showWeekDay&&l?n.jsx(but,Dnt({className:No(e.className)},s,{dir:"auto"},{children:n.jsx(nut,{value:a})})):n.jsxs(but,Dnt({className:No(e.className)},s,{dir:"auto"},{children:[n.jsx(nA,{weekday:e.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:a}),!e.dateOnly&&n.jsxs(n.Fragment,{children:[" ",n.jsx(iA,{value:a})]})]}))},vut=function(e){var t=e.startDate,i=e.endDate,r=e.dateOnly,o=e.className;if(!t)return null;if(!i)return n.jsx("div",Dnt({className:o,dir:"auto"},{children:n.jsx(gut,{value:t,showWeekDay:!0,dateOnly:r})}));var a=new Date(t),s=new Date(i);return Zm(a,s)?n.jsxs("div",Dnt({className:o,dir:"auto"},{children:[n.jsx(gut,{value:t,showWeekDay:!0,dateOnly:r}),!r&&n.jsxs(n.Fragment,{children:[" - ",n.jsx(iA,{value:s})]})]})):n.jsxs("div",Dnt({className:o,dir:"auto"},{children:[n.jsx(gut,{value:t,showWeekDay:!0,dateOnly:r})," - ",n.jsx(gut,{value:i,showWeekDay:!0,dateOnly:r})]}))},but=v.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(sut||(sut=jnt(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"]))),yut=v.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(lut||(lut=jnt(["\n margin: 1em 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n\n ::before {\n content: '';\n position: absolute;\n left: 0;\n display: block;\n width: 100%;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n }\n\n span {\n padding: 0.5em;\n text-transform: uppercase;\n z-index: 1;\n color: ",";\n background-color: #fff;\n\n @media all and (max-width: 767px) {\n background-color: ",";\n }\n }\n"],["\n margin: 1em 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n\n ::before {\n content: '';\n position: absolute;\n left: 0;\n display: block;\n width: 100%;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n }\n\n span {\n padding: 0.5em;\n text-transform: uppercase;\n z-index: 1;\n color: ",";\n background-color: #fff;\n\n @media all and (max-width: 767px) {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.palette.neutralTertiary}),Yde),Out=function(e){var t,i=e.children,o=Ant(e,["children"]);return n.jsx(r.Dropdown,Dnt({},o,{calloutProps:Dnt(Dnt({},o.calloutProps||{}),{className:No(u9,"lt-reach-dropdown",null===(t=o.calloutProps)||void 0===t?void 0:t.className)})},{children:i}))},wut=function(e){var t=e.svg,i=e.icon,o=e.styleDefinition,a=e.emptyMessageResources,s=void 0===a?["EmptySearchResult.info1","EmptySearchResult.info2"]:a,l=e.additionalButton,c=e.className,u=(null==o?void 0:o.size)||"large";return n.jsx(_ut,Dnt({className:c,offset:null==o?void 0:o.offset,"data-nothing-found":!0},{children:n.jsxs(xut,Dnt({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===u},{children:[i&&n.jsx(r.Icon,{iconName:i}),!i&&t,s.map((function(e,t){return n.jsx("p",{children:n.jsx(tA,{id:e})},t)})),l]}))}))},_ut=v.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(dut||(dut=jnt(["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"],["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"])),(function(e){return e.offset?i.css(cut||(cut=jnt(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):i.css(uut||(uut=jnt(["\n margin: auto; /* ensure it's vertically centered in a flex container */\n "],["\n margin: auto; /* ensure it's vertically centered in a flex container */\n "])))})),xut=v.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(hut||(hut=jnt(["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n word-break: normal;\n margin: ","px 0;\n\n > p {\n font-size: ","px;\n margin: 0;\n min-width: 100%;\n width: ","px;\n }\n\n ","\n\n ","\n\n svg {\n color: ",";\n height: auto;\n max-width: 400px; /* it ensures svg is not too big */\n }\n\n > p + p {\n margin-top: ","px;\n }\n\n @media (max-width: ","px) {\n svg {\n transform: scale(0.8);\n }\n p {\n font-size: ","px;\n }\n }\n\n && button {\n height: ","px;\n align-items: center;\n margin-top: ","px;\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n\n span {\n font-weight: normal;\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n word-break: normal;\n margin: ","px 0;\n\n > p {\n font-size: ","px;\n margin: 0;\n min-width: 100%;\n width: ","px;\n }\n\n ","\n\n ","\n\n svg {\n color: ",";\n height: auto;\n max-width: 400px; /* it ensures svg is not too big */\n }\n\n > p + p {\n margin-top: ","px;\n }\n\n @media (max-width: ","px) {\n svg {\n transform: scale(0.8);\n }\n p {\n font-size: ","px;\n }\n }\n\n && button {\n height: ","px;\n align-items: center;\n margin-top: ","px;\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n\n span {\n font-weight: normal;\n }\n }\n"])),Ase,Hse,Dse,(function(e){return!e.hasLargeSvgStyle&&i.css(put||(put=jnt(["\n > p {\n font-size: ","px;\n color: ",";\n }\n\n svg {\n margin-bottom: ","px;\n }\n "],["\n > p {\n font-size: ","px;\n color: ",";\n }\n\n svg {\n margin-bottom: ","px;\n }\n "])),Vse,e.theme.palette.neutralSecondary,Ise)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&i.css(fut||(fut=jnt(["\n > p {\n font-size: ","px;\n font-weight: 500;\n margin: ","px 0 0;\n color: ",";\n opacity: 80%;\n }\n\n > i {\n font-size: 100px;\n padding-bottom: ","px;\n padding-top: ","px;\n\n @media (min-height: ","px) {\n padding-top: 150px;\n }\n }\n "],["\n > p {\n font-size: ","px;\n font-weight: 500;\n margin: ","px 0 0;\n color: ",";\n opacity: 80%;\n }\n\n > i {\n font-size: 100px;\n padding-bottom: ","px;\n padding-top: ","px;\n\n @media (min-height: ","px) {\n padding-top: 150px;\n }\n }\n "])),32,Ase,(function(e){return e.theme.palette.accent}),Ise,Ise,zse)}),(function(e){return e.theme.palette.accent}),3,Use,24,Ise,Ise),kut=function(e,t){return null!=e&&(e&t)===t};v.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(mut||(mut=jnt(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var Sut=Cot,Eut=Pot,Cut=Tot,Put=qnt,Fut=Mot,Tut=[],Dut=Tut.sort,Aut=Put((function(){Tut.sort(void 0)})),Iut=Put((function(){Tut.sort(null)})),$ut=Fut("sort");Sut({target:"Array",proto:!0,forced:Aut||!Iut||!$ut},{sort:function(e){return void 0===e?Dut.call(Cut(this)):Dut.call(Cut(this),Eut(e))}});var Rut=function(e){var t=e.languages,i=e.translations,r=e.onChange,o=e.placeholderStringResource,a=e.customPlaceholder,s=RD(),l=s.formatMessage;return n.jsx(n.Fragment,{children:Eoe.apply(void 0,Rnt([s],t,!1)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(e){return n.jsx(Qut,{children:n.jsx(But,{"data-translation-field":e.code,placeholder:null!=a?a:l({id:o},{lang:e.localizedName}),label:e.localizedName,value:i[e.code],onChange:function(t,n){var o;r(Dnt(Dnt({},i),((o={})[e.code]=n,o)))},dir:"auto"})},e.code)}))})};v.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(jut||(jut=jnt(["\n display: flex;\n flex-flow: column;\n flex: 1 1 100%;\n"],["\n display: flex;\n flex-flow: column;\n flex: 1 1 100%;\n"])));var jut,zut,Mut,Lut,Nut,Qut=v.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(zut||(zut=jnt(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),But=v.default(r.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(Mut||(Mut=jnt(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));v.default.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(Lut||(Lut=jnt(["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"],["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"]))),v.default.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(Nut||(Nut=jnt(["\n display: flex;\n"],["\n display: flex;\n"])));var Uut,qut=function(e){var i=t.useState(null==e.delay),o=i[0],a=i[1];return t.useEffect((function(){if(null!=!e.delay){var t=setTimeout((function(){return a(!0)}),e.delay);return function(){return clearTimeout(t)}}}),[e.delay]),o?n.jsx(Wut,Dnt({className:e.className},{children:n.jsx(r.Spinner,Dnt({},e,{className:""}))})):null},Wut=v.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(Uut||(Uut=jnt(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 10%;\n > .ms-Spinner {\n flex: 0 0 auto;\n > .ms-Spinner-circle {\n border-color: #b2b2b2 !important;\n border-top-color: #929292 !important;\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 10%;\n > .ms-Spinner {\n flex: 0 0 auto;\n > .ms-Spinner-circle {\n border-color: #b2b2b2 !important;\n border-top-color: #929292 !important;\n }\n }\n"]))),Gut=Bnt.Promise,Vut=jit.exports,Xut=Art,Hut=Sit,Yut=Wnt,Zut=_at("species"),Kut={exports:{}},Jut=ost,edt=_at("iterator"),tdt=Array.prototype,ndt=Pot,idt=function(e,t,n){if(ndt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},rdt={};rdt[_at("toStringTag")]="z";var odt="[object z]"===String(rdt),adt=Knt,sdt=_at("toStringTag"),ldt="Arguments"==adt(function(){return arguments}()),cdt=odt?adt:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),sdt))?n:ldt?adt(t):"Object"==(i=adt(t))&&"function"==typeof t.callee?"Arguments":i},udt=cdt,ddt=ost,pdt=_at("iterator"),fdt=Cit,hdt=Cit,mdt=function(e){return void 0!==e&&(Jut.Array===e||tdt[edt]===e)},gdt=Lrt,vdt=idt,bdt=function(e){if(null!=e)return e[pdt]||e["@@iterator"]||ddt[udt(e)]},ydt=function(e,t,n,i){try{return i?t(fdt(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&fdt(r.call(e)),t}},Odt=function(e,t){this.stopped=e,this.result=t},wdt=Kut.exports=function(e,t,n,i,r){var o,a,s,l,c,u,d,p=vdt(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=bdt(e)))throw TypeError("Target is not iterable");if(mdt(a)){for(s=0,l=gdt(e.length);l>s;s++)if((c=i?p(hdt(d=e[s])[0],d[1]):p(e[s]))&&c instanceof Odt)return c;return new Odt(!1)}o=a.call(e)}for(u=o.next;!(d=u.call(o)).done;)if("object"==typeof(c=ydt(o,p,d.value,i))&&c&&c instanceof Odt)return c;return new Odt(!1)};wdt.stop=function(e){return new Odt(!0,e)};var _dt=_at("iterator"),xdt=!1;try{var kdt=0,Sdt={next:function(){return{done:!!kdt++}},return:function(){xdt=!0}};Sdt[_dt]=function(){return this},Array.from(Sdt,(function(){throw 2}))}catch(e){}var Edt,Cdt,Pdt,Fdt=Cit,Tdt=Pot,Ddt=_at("species"),Adt=function(e,t){var n,i=Fdt(e).constructor;return void 0===i||null==(n=Fdt(i)[Ddt])?t:Tdt(n)},Idt=Art("navigator","userAgent")||"",$dt=/(iphone|ipod|ipad).*applewebkit/i.test(Idt),Rdt=Bnt,jdt=qnt,zdt=Knt,Mdt=idt,Ldt=Lat,Ndt=hit,Qdt=$dt,Bdt=Rdt.location,Udt=Rdt.setImmediate,qdt=Rdt.clearImmediate,Wdt=Rdt.process,Gdt=Rdt.MessageChannel,Vdt=Rdt.Dispatch,Xdt=0,Hdt={},Ydt="onreadystatechange",Zdt=function(e){if(Hdt.hasOwnProperty(e)){var t=Hdt[e];delete Hdt[e],t()}},Kdt=function(e){return function(){Zdt(e)}},Jdt=function(e){Zdt(e.data)},ept=function(e){Rdt.postMessage(e+"",Bdt.protocol+"//"+Bdt.host)};Udt&&qdt||(Udt=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return Hdt[++Xdt]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},Edt(Xdt),Xdt},qdt=function(e){delete Hdt[e]},"process"==zdt(Wdt)?Edt=function(e){Wdt.nextTick(Kdt(e))}:Vdt&&Vdt.now?Edt=function(e){Vdt.now(Kdt(e))}:Gdt&&!Qdt?(Pdt=(Cdt=new Gdt).port2,Cdt.port1.onmessage=Jdt,Edt=Mdt(Pdt.postMessage,Pdt,1)):!Rdt.addEventListener||"function"!=typeof postMessage||Rdt.importScripts||jdt(ept)||"file:"===Bdt.protocol?Edt=Ydt in Ndt("script")?function(e){Ldt.appendChild(Ndt("script")).onreadystatechange=function(){Ldt.removeChild(this),Zdt(e)}}:function(e){setTimeout(Kdt(e),0)}:(Edt=ept,Rdt.addEventListener("message",Jdt,!1)));var tpt,npt,ipt,rpt,opt,apt,spt,lpt,cpt={set:Udt,clear:qdt},upt=Bnt,dpt=Unt.f,ppt=Knt,fpt=cpt.set,hpt=$dt,mpt=upt.MutationObserver||upt.WebKitMutationObserver,gpt=upt.process,vpt=upt.Promise,bpt="process"==ppt(gpt),ypt=dpt(upt,"queueMicrotask"),Opt=ypt&&ypt.value;Opt||(tpt=function(){var e,t;for(bpt&&(e=gpt.domain)&&e.exit();npt;){t=npt.fn,npt=npt.next;try{t()}catch(e){throw npt?rpt():ipt=void 0,e}}ipt=void 0,e&&e.enter()},bpt?rpt=function(){gpt.nextTick(tpt)}:mpt&&!hpt?(opt=!0,apt=document.createTextNode(""),new mpt(tpt).observe(apt,{characterData:!0}),rpt=function(){apt.data=opt=!opt}):vpt&&vpt.resolve?(spt=vpt.resolve(void 0),lpt=spt.then,rpt=function(){lpt.call(spt,tpt)}):rpt=function(){fpt.call(upt,tpt)});var wpt=Opt||function(e){var t={fn:e,next:void 0};ipt&&(ipt.next=t),npt||(npt=t,rpt()),ipt=t},_pt={},xpt=Pot,kpt=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=xpt(t),this.reject=xpt(n)};_pt.f=function(e){return new kpt(e)};var Spt,Ept,Cpt=Cit,Ppt=ait,Fpt=_pt,Tpt=Bnt,Dpt=Idt,Apt=Bnt.process,Ipt=Apt&&Apt.versions,$pt=Ipt&&Ipt.v8;$pt?Ept=(Spt=$pt.split("."))[0]+Spt[1]:Dpt&&(!(Spt=Dpt.match(/Edge\/(\d+)/))||Spt[1]>=74)&&(Spt=Dpt.match(/Chrome\/(\d+)/))&&(Ept=Spt[1]);var Rpt,jpt,zpt,Mpt,Lpt=Ept&&+Ept,Npt=Cot,Qpt=Bnt,Bpt=Art,Upt=Gut,qpt=jit.exports,Wpt=function(e,t,n){for(var i in t)Vut(e,i,t[i],n);return e},Gpt=_st,Vpt=function(e){var t=Xut(e),n=Hut.f;Yut&&t&&!t[Zut]&&n(t,Zut,{configurable:!0,get:function(){return this}})},Xpt=ait,Hpt=Pot,Ypt=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},Zpt=Knt,Kpt=Wit,Jpt=Kut.exports,eft=function(e,t){if(!t&&!xdt)return!1;var n=!1;try{var i={};i[_dt]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},tft=Adt,nft=cpt.set,ift=wpt,rft=function(e,t){if(Cpt(e),Ppt(t)&&t.constructor===e)return t;var n=Fpt.f(e);return(0,n.resolve)(t),n.promise},oft=function(e,t){var n=Tpt.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},aft=_pt,sft=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},lft=Ort,cft=yot,uft=Lpt,dft=_at("species"),pft="Promise",fft=lft.get,hft=lft.set,mft=lft.getterFor(pft),gft=Upt,vft=Qpt.TypeError,bft=Qpt.document,yft=Qpt.process,Oft=Bpt("fetch"),wft=aft.f,_ft=wft,xft="process"==Zpt(yft),kft=!!(bft&&bft.createEvent&&Qpt.dispatchEvent),Sft="unhandledrejection",Eft=cft(pft,(function(){if(!(Kpt(gft)!==String(gft))){if(66===uft)return!0;if(!xft&&"function"!=typeof PromiseRejectionEvent)return!0}if(uft>=51&&/native code/.test(gft))return!1;var e=gft.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[dft]=t,!(e.then((function(){}))instanceof t)})),Cft=Eft||!eft((function(e){gft.all(e).catch((function(){}))})),Pft=function(e){var t;return!(!Xpt(e)||"function"!=typeof(t=e.then))&&t},Fft=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;ift((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,c,u=i[a++],d=o?u.ok:u.fail,p=u.resolve,f=u.reject,h=u.domain;try{d?(o||(2===t.rejection&&Ift(e,t),t.rejection=1),!0===d?s=r:(h&&h.enter(),s=d(r),h&&(h.exit(),c=!0)),s===u.promise?f(vft("Promise-chain cycle")):(l=Pft(s))?l.call(s,p,f):p(s)):f(r)}catch(e){h&&!c&&h.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Dft(e,t)}))}},Tft=function(e,t,n){var i,r;kft?((i=bft.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),Qpt.dispatchEvent(i)):i={promise:t,reason:n},(r=Qpt["on"+e])?r(i):e===Sft&&oft("Unhandled promise rejection",n)},Dft=function(e,t){nft.call(Qpt,(function(){var n,i=t.value;if(Aft(t)&&(n=sft((function(){xft?yft.emit("unhandledRejection",i,e):Tft(Sft,e,i)})),t.rejection=xft||Aft(t)?2:1,n.error))throw n.value}))},Aft=function(e){return 1!==e.rejection&&!e.parent},Ift=function(e,t){nft.call(Qpt,(function(){xft?yft.emit("rejectionHandled",e):Tft("rejectionhandled",e,t.value)}))},$ft=function(e,t,n,i){return function(r){e(t,n,r,i)}},Rft=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,Fft(e,t,!0))},jft=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw vft("Promise can't be resolved itself");var r=Pft(n);r?ift((function(){var i={done:!1};try{r.call(n,$ft(jft,e,i,t),$ft(Rft,e,i,t))}catch(n){Rft(e,i,n,t)}})):(t.value=n,t.state=1,Fft(e,t,!1))}catch(n){Rft(e,{done:!1},n,t)}}};Eft&&(gft=function(e){Ypt(this,gft,pft),Hpt(e),Rpt.call(this);var t=fft(this);try{e($ft(jft,this,t),$ft(Rft,this,t))}catch(e){Rft(this,t,e)}},(Rpt=function(e){hft(this,{type:pft,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Wpt(gft.prototype,{then:function(e,t){var n=mft(this),i=wft(tft(this,gft));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=xft?yft.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&Fft(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),jpt=function(){var e=new Rpt,t=fft(e);this.promise=e,this.resolve=$ft(jft,e,t),this.reject=$ft(Rft,e,t)},aft.f=wft=function(e){return e===gft||e===zpt?new jpt(e):_ft(e)},"function"==typeof Upt&&(Mpt=Upt.prototype.then,qpt(Upt.prototype,"then",(function(e,t){var n=this;return new gft((function(e,t){Mpt.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Oft&&Npt({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return rft(gft,Oft.apply(Qpt,arguments))}}))),Npt({global:!0,wrap:!0,forced:Eft},{Promise:gft}),Gpt(gft,pft,!1),Vpt(pft),zpt=Bpt(pft),Npt({target:pft,stat:!0,forced:Eft},{reject:function(e){var t=wft(this);return t.reject.call(void 0,e),t.promise}}),Npt({target:pft,stat:!0,forced:Eft},{resolve:function(e){return rft(this,e)}}),Npt({target:pft,stat:!0,forced:Cft},{all:function(e){var t=this,n=wft(t),i=n.resolve,r=n.reject,o=sft((function(){var n=Hpt(t.resolve),o=[],a=0,s=1;Jpt(e,(function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=wft(t),i=n.reject,r=sft((function(){var r=Hpt(t.resolve);Jpt(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var zft={},Mft=qnt;function Lft(e,t){return RegExp(e,t)}zft.UNSUPPORTED_Y=Mft((function(){var e=Lft("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),zft.BROKEN_CARET=Mft((function(){var e=Lft("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var Nft=hct,Qft=zft,Bft=RegExp.prototype.exec,Uft=String.prototype.replace,qft=Bft,Wft=function(){var e=/a/,t=/b*/g;return Bft.call(e,"a"),Bft.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Gft=Qft.UNSUPPORTED_Y||Qft.BROKEN_CARET,Vft=void 0!==/()??/.exec("")[1];(Wft||Vft||Gft)&&(qft=function(e){var t,n,i,r,o=this,a=Gft&&o.sticky,s=Nft.call(o),l=o.source,c=0,u=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),Vft&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Wft&&(t=o.lastIndex),i=Bft.call(a?n:o,u),a?i?(i.input=i.input.slice(c),i[0]=i[0].slice(c),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:Wft&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),Vft&&i&&i.length>1&&Uft.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var Xft=qft;Cot({target:"RegExp",proto:!0,forced:/./.exec!==Xft},{exec:Xft});var Hft,Yft=jit.exports,Zft=qnt,Kft=_at,Jft=Xft,eht=Rit,tht=Kft("species"),nht=!Zft((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),iht="$0"==="a".replace(/./,"$0"),rht=Kft("replace"),oht=!!/./[rht]&&""===/./[rht]("a","$0"),aht=!Zft((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),sht=function(e,t,n,i){var r=Kft(e),o=!Zft((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!Zft((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[tht]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!nht||!iht||oht)||"split"===e&&!aht){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===Jft?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:iht,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:oht}),c=l[0],u=l[1];Yft(String.prototype,e,c),Yft(RegExp.prototype,r,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}i&&eht(RegExp.prototype[r],"sham",!0)},lht=jrt,cht=nit,uht=function(e){return function(t,n){var i,r,o=String(cht(t)),a=lht(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},dht={codeAt:uht(!1),charAt:uht(!0)}.charAt,pht=function(e,t,n){return t+(n?dht(e,t).length:1)},fht=Knt,hht=Xft,mht=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==fht(e))throw TypeError("RegExp#exec called on incompatible receiver");return hht.call(e,t)},ght=sht,vht=Eat,bht=Cit,yht=nit,Oht=Adt,wht=pht,_ht=Lrt,xht=mht,kht=Xft,Sht=qnt,Eht=[].push,Cht=Math.min,Pht=4294967295,Fht=!Sht((function(){return!RegExp(Pht,"y")}));ght("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(yht(this)),r=void 0===n?Pht:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!vht(e))return t.call(i,e,r);for(var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,d=new RegExp(e.source,c+"g");(o=kht.call(d,i))&&!((a=d.lastIndex)>u&&(l.push(i.slice(u,o.index)),o.length>1&&o.index<i.length&&Eht.apply(l,o.slice(1)),s=o[0].length,u=a,l.length>=r));)d.lastIndex===o.index&&d.lastIndex++;return u===i.length?!s&&d.test("")||l.push(""):l.push(i.slice(u)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=yht(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=bht(e),s=String(this),l=Oht(a,RegExp),c=a.unicode,u=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Fht?"y":"g"),d=new l(Fht?a:"^(?:"+a.source+")",u),p=void 0===r?Pht:r>>>0;if(0===p)return[];if(0===s.length)return null===xht(d,s)?[s]:[];for(var f=0,h=0,m=[];h<s.length;){d.lastIndex=Fht?h:0;var g,v=xht(d,Fht?s:s.slice(h));if(null===v||(g=Cht(_ht(d.lastIndex+(Fht?0:h)),s.length))===f)h=wht(s,h,c);else{if(m.push(s.slice(f,h)),m.length===p)return m;for(var b=1;b<=v.length-1;b++)if(m.push(v[b]),m.length===p)return m;h=f=g}}return m.push(s.slice(f)),m}]}),!Fht),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(Hft||(Hft={}));var Tht=function(e){var t=e.fileName,i=e.url,r=e.onPlay;if(!i)return null;var o="safari"===dO.name?"".concat(i,"#t=0.1"):i;return n.jsxs("div",Dnt({className:"lt-reach-embedded-video"},{children:[n.jsx(Sct,{fileName:t,url:i}),n.jsxs("video",Dnt({onPlay:function(){return null==r?void 0:r(i)},preload:"metadata",controls:!0,title:t,width:"auto",height:"auto"},{children:[n.jsx("source",{src:o,type:"video/mp4"}),n.jsx(tA,{id:"Generic.videoReplayError",tagName:"p"})]}))]}))};function Dht(e){var t,n="mac"===Qo.deviceInfo.operatingSystem,i=null===(t=LK.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(Hft.mp4)||(n?i.startsWith(Hft.quicktime):i.startsWith(Hft.webm)))}var Aht,Iht,$ht=function(e,t){var n=e/2,i=t/2,r=Math.abs(e)+Math.abs(t);return"\n box-shadow: ".concat(n,"px ").concat(i,"px ").concat(r,"px grey;\n ")},Rht=function(e){return"\n &:-moz-placeholder {\n ".concat(e,";\n }\n &::-moz-placeholder {\n ").concat(e,";\n }\n &:-ms-input-placeholder {\n ").concat(e,";\n }\n &::-webkit-input-placeholder {\n ").concat(e,";\n }\n ")},jht=function(e,t,n){return i.css(Iht||(Iht=jnt(["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "],["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "])),t*n*e,t,n,e)};function zht(e){var t=new Image,n=new Promise((function(e){t.onload=function(t){var n=t.currentTarget;e({width:n.width,height:n.height})}}));return t.src=e,n}function Mht(e){return Int(this,void 0,void 0,(function(){return $nt(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(zht))];case 1:return[2,t.sent()]}}))}))}function Lht(e){return Pct(e)?"MusicInCollectionFill":Dht(e)?"Video":Bht(null==e?void 0:e.split(".").pop().toLowerCase())}function Nht(e){switch(e){case"WordDocument":return"#1C5FC0";case"ExcelDocument":return"#138147";case"PowerPointDocument":return"#CA4B27";case"VisioDocument":return"#1C5FBF";case"PDF":return"#CF1700";default:return"#000"}}function Qht(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function Bht(e){switch(null==e?void 0:e.toLowerCase()){case"vsdx":return"VisioDocument";case"rar":case"zip":case"7z":return"ZipFolder";case"pdf":return"PDF";case"doc":case"docx":return"WordDocument";case"xls":case"xlsx":case"csv":return"ExcelDocument";case"ppt":case"pptx":case"potx":case"ppsx":return"PowerPointDocument";case"mp4":case"webm":case"mpeg":case"avi":case"ogv":return"Video";case"aac":case"mp3":case"oga":case"opus":case"wav":case"weba":return"MusicInCollectionFill";case"bmp":case"gif":case"ico":case"jpeg":case"jpg":case"png":case"svg":case"tif":case"webp":return"FileImage";default:return"Page"}}function Uht(){var e=zY(),n=jY(),i=n.createApiUrl,r=n.fetchFromApi,o=t.useContext(cA).identifier,a=mh(),s=Tle().interaction,l=null==o?void 0:o.id;return t.useMemo((function(){return{exchangeShortLivedToken:function(e){return Int(this,void 0,void 0,(function(){var t,n;return $nt(this,(function(i){switch(i.label){case 0:return e?(t={method:"POST",headers:$Y(e,l)},[4,r("/file_access_token/types/short_lived",t)]):[2,null];case 1:return[2,200!==(n=i.sent()).status?null:n.text()]}}))}))},getPublishableItemShortLivedToken:function(t,n){return e.custom("".concat(t,"/").concat(n,"/file_access_token/types/short_lived")).get().then((function(e){return e.body().data()}))},createDownloadClickHandler:function(e,t,n,i){var r=this;return function(){return Int(r,void 0,void 0,(function(){var r;return $nt(this,(function(o){switch(o.label){case 0:return[4,t()];case 1:return r=o.sent(),window.open(r,"ios"===a.deviceInfo.operatingSystem?"_self":e),s({event:sle.downloadFile,action:lle.click,value:Ele(r),item:{id:n,type:"content",parentId:i}}),[2]}}))}))}}}}),[l,r,i,e,module])}var qht,Wht,Ght,Vht,Xht,Hht,Yht,Zht,Kht,Jht,emt,tmt,nmt,imt,rmt,omt,amt,smt,lmt=function(e){var t=e.files,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,a=e.onPlayVideo,s=e.onPlayAudio,l=e.disabled,c=e.parentId,u=e.className;if(!t||0===t.length)return null;var d=t.filter((function(e){return r&&Pct(e.filename)})),p=t.filter((function(e){return r&&Dht(e.filename)})),f=t.filter((function(e){return!d.includes(e)&&!p.includes(e)}));return n.jsxs(n.Fragment,{children:[p.length>0&&n.jsx(umt,Dnt({className:u,"data-preload-video":"safari"===dO.name},{children:p.map((function(e){return n.jsx(dmt,{children:n.jsx(Tht,{fileName:e.filename,url:r(e.id),onPlay:function(t){return a(t,e.id)}})},e.id)}))})),d.length>0&&n.jsx(cmt,Dnt({className:u},{children:d.map((function(e){return n.jsx(pmt,{children:n.jsx(Cct,{fileName:e.filename,url:r(e.id),onPlay:function(t){return s(t,e.id)}})},e.id)}))})),f.length>0&&n.jsx(cmt,Dnt({className:u},{children:f.map((function(e){return n.jsx(pmt,{children:n.jsx(fmt,{attachment:e,disabled:l,getFileUrl:r,fileAccessToken:o,onDeleteClick:i,parentId:c})},e.id)}))}))]})},cmt=v.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(qht||(qht=jnt(["\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n margin: 0;\n padding: 0;\n list-style: none;\n\n audio {\n width: 100%;\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n margin: 0;\n padding: 0;\n list-style: none;\n\n audio {\n width: 100%;\n }\n"]))),umt=v.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(Wht||(Wht=jnt(["\n margin: 0;\n padding: 0;\n list-style: none;\n\n video {\n width: 100%;\n border-radius: ","px;\n overflow: hidden;\n }\n\n &[data-preload-video='true'] {\n video {\n box-shadow: inset 0 0 0 0.5px #707070, 0 0 0 0.5px #707070;\n background-color: #e4e4e4;\n }\n }\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n\n video {\n width: 100%;\n border-radius: ","px;\n overflow: hidden;\n }\n\n &[data-preload-video='true'] {\n video {\n box-shadow: inset 0 0 0 0.5px #707070, 0 0 0 0.5px #707070;\n background-color: #e4e4e4;\n }\n }\n"])),20),dmt=v.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(Ght||(Ght=jnt(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),Dse),pmt=v.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(Vht||(Vht=jnt(["\n width: 100%;\n &:not(:first-child) {\n margin-top: ","px;\n }\n\n @media (min-width: ","px) {\n width: calc(50% - ","px);\n\n &:nth-child(2) {\n margin-top: 0;\n }\n }\n"],["\n width: 100%;\n &:not(:first-child) {\n margin-top: ","px;\n }\n\n @media (min-width: ","px) {\n width: calc(50% - ","px);\n\n &:nth-child(2) {\n margin-top: 0;\n }\n }\n"])),Dse,zse,5),fmt=function(e){var t=e.attachment,i=e.onDeleteClick,o=e.getFileUrl,a=e.fileAccessToken,s=e.disabled,l=e.parentId,c=RD().formatMessage,u=!s&&i,d=Uht(),p=d.exchangeShortLivedToken,f=d.createDownloadClickHandler;return n.jsxs(hmt,{children:[t.isUploadInProgress&&n.jsx(wmt,{children:n.jsx(_mt,{size:r.SpinnerSize.medium})}),n.jsx(gmt,Dnt({takeFullWidth:!u},{children:function(){var e=this;if(t.hasError)return n.jsxs(vmt,{children:[n.jsx(xmt,{iconName:"Warning"}),n.jsx(Omt,Dnt({title:t.filename},{children:t.filename}))]});var i=Lht(t.filename);if(o)return n.jsxs(mmt,Dnt({title:t.filename,onClick:f("_blank",(function(){return Int(e,void 0,void 0,(function(){var e;return $nt(this,(function(n){switch(n.label){case 0:return[4,p(a)];case 1:return e=n.sent(),[2,o(t.id,e)]}}))}))}),t.id,l)},{children:[n.jsx(bmt,{iconName:i}),n.jsx(Omt,{children:t.filename})]}));return n.jsxs(vmt,{children:[n.jsx(bmt,{iconName:i}),n.jsx(Omt,Dnt({title:t.filename},{children:t.filename}))]})}()})),u&&n.jsx(ymt,{iconProps:{iconName:"Delete"},onClick:function(){return i(t)},disabled:t.isUploadInProgress,ariaLabel:c({id:"AriaLabel.removeAttachmentButton"})})]})},hmt=v.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(Xht||(Xht=jnt(["\n position: relative;\n display: flex;\n border: 1px solid #95989a;\n border-radius: 2px;\n background-color: ",";\n"],["\n position: relative;\n display: flex;\n border: 1px solid #95989a;\n border-radius: 2px;\n background-color: ",";\n"])),(function(e){return e.theme.palette.white})),mmt=v.default(r.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(Hht||(Hht=jnt(["\n display: flex;\n align-items: center;\n width: 100%;\n color: ",";\n box-sizing: border-box;\n padding: ","px;\n border: 0;\n height: auto;\n\n &:hover {\n background-color: initial;\n color: ",";\n }\n\n & > span {\n max-width: 100%;\n }\n\n // make the entire tile clickable\n button::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 0;\n }\n"],["\n display: flex;\n align-items: center;\n width: 100%;\n color: ",";\n box-sizing: border-box;\n padding: ","px;\n border: 0;\n height: auto;\n\n &:hover {\n background-color: initial;\n color: ",";\n }\n\n & > span {\n max-width: 100%;\n }\n\n // make the entire tile clickable\n button::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 0;\n }\n"])),(function(e){return e.theme.textColors.default}),Dse,(function(e){return e.theme.textColors.default})),gmt=v.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(Kht||(Kht=jnt(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?i.css(Yht||(Yht=jnt(["\n width: 100%;\n "],["\n width: 100%;\n "]))):i.css(Zht||(Zht=jnt(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),vmt=v.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(Jht||(Jht=jnt(["\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: ","px;\n"],["\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: ","px;\n"])),Dse),bmt=v.default(r.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(emt||(emt=jnt(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),Dse),ymt=v.default(r.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(tmt||(tmt=jnt(["\n margin: 0 auto;\n height: auto;\n width: auto;\n padding: 0 8px;\n\n && {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 18px;\n margin: 0;\n }\n"],["\n margin: 0 auto;\n height: auto;\n width: auto;\n padding: 0 8px;\n\n && {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 18px;\n margin: 0;\n }\n"])),(function(e){return e.theme.textColors.default})),Omt=v.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(nmt||(nmt=jnt(["\n font-size: 14px;\n flex: 1;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n"],["\n font-size: 14px;\n flex: 1;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n"]))),wmt=v.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(imt||(imt=jnt(["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 100;\n\n display: flex;\n align-items: center;\n justify-content: center;\n"],["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 100;\n\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),_mt=v.default(qut).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(rmt||(rmt=jnt(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),xmt=v.default(r.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(omt||(omt=jnt(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),kmt=function(e){var t,i=e.children,r=Ant(e,["children"]);return n.jsxs(n.Fragment,{children:[n.jsx(Smt,{}),n.jsx(Mnt,Dnt({},r,{modalProps:Dnt(Dnt({},r.modalProps||{}),{className:No({"lt-reach-dialog-mobile-full-height":Qo.isAnyMobileApp},null===(t=r.modalProps)||void 0===t?void 0:t.className)})},{children:i}))]})},Smt=i.createGlobalStyle(amt||(amt=jnt(['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'],['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'])));!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(smt||(smt={}));var Emt=function(e){var t=e.className,i=e.offsetTop,r=void 0===i?0:i,o=e.positionBottomOnMobile,a=e.domIdentifier,s=e.offsetRight,l=void 0===s?0:s,c=e.children;return n.jsxs(Fmt,Dnt({offsetTop:r,offsetRight:l,className:t,positionBottomOnMobile:o,"data-fab":a},{children:[n.jsx(Dmt,{}),c]}))},Cmt=function(e){var t=e.iconName,i=e.onClick,r=e.tooltipResourceKey,o=e.useSecondaryBgColor,a=e.domIdentifier,s=e.className,l=RD().formatMessage;return n.jsxs($lt,Dnt({className:s,resourceKey:r},{children:[n.jsx(Dmt,{}),n.jsx(Amt,{"data-fab":a,iconProps:{iconName:t},onClick:i,ariaLabel:l({id:r}),useSecondaryBgColor:o})]}))},Pmt=function(e){var i=e.iconName,o=e.tooltipResourceKey,a=e.titleResourceKey,s=e.showCloseButton,l=e.useSecondaryBgColor,c=e.children,u=e.domIdentifier,d=e.useMobileFullHeight,p=RD().formatMessage,f=t.useState(!1),h=f[0],m=f[1],g=t.useRef(null),v=Qo.isAnyMobileApp;return n.jsxs(n.Fragment,{children:[n.jsx("div",Dnt({ref:g},{children:n.jsx(Cmt,{"data-fab":u,tooltipResourceKey:o,iconName:i,onClick:function(){return m(!h)},useSecondaryBgColor:l})})),h&&v&&d&&n.jsxs(kmt,Dnt({hidden:!h,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:r.DialogType.close,title:p({id:a})},onDismiss:function(){return m(!1)}},{children:[n.jsx(Xmt,{}),c]})),h&&v&&!d&&n.jsxs(Mnt,Dnt({hidden:!h},{children:[c,n.jsx(r.DialogFooter,{children:n.jsx(r.DefaultButton,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}})})]})),h&&!v&&n.jsx(Xct,Dnt({target:g.current,directionalHint:r.DirectionalHint.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:n.jsxs(Gmt,{children:[c,s&&n.jsx(Vmt,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}})]})}))]})},Fmt=v.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(Rmt||(Rmt=jnt(["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"],["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"])),(function(e){return e.offsetRight+20}),(function(e){return e.positionBottomOnMobile?i.css(Imt||(Imt=jnt(["\n bottom: 20px;\n @media (min-width: ","px) {\n bottom: unset;\n top: ","px;\n }\n "],["\n bottom: 20px;\n @media (min-width: ","px) {\n bottom: unset;\n top: ","px;\n }\n "])),Mse,e.offsetTop+20):i.css($mt||($mt=jnt(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),Tmt=function(e){return i.css(Mmt||(Mmt=jnt(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "],["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "])),e?i.css(jmt||(jmt=jnt(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){return e.theme.palette.themeTertiary})):i.css(zmt||(zmt=jnt(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.neutralTertiary}),(function(e){return e.theme.palette.neutralPrimary}),(function(e){return e.theme.palette.neutralTertiaryAlt})))},Dmt=i.createGlobalStyle(Lmt||(Lmt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){return s9("\n [data-fab] button:focus::after,\n button[data-fab]:focus::after {\n outline-color: ".concat(e.theme.palette.themePrimary,";\n outline-offset: 5px;\n border-radius: 50%;\n }\n "))})),Amt=v.default(r.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(Nmt||(Nmt=jnt(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return Tmt(e.useSecondaryBgColor)}));v.default($lt).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(Qmt||(Qmt=jnt(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return Tmt(e.useSecondaryBgColor)}));var Imt,$mt,Rmt,jmt,zmt,Mmt,Lmt,Nmt,Qmt,Bmt,Umt,qmt,Wmt,Gmt=v.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(Bmt||(Bmt=jnt(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),Ase),Vmt=v.default(r.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(Umt||(Umt=jnt(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),Xmt=i.createGlobalStyle(qmt||(qmt=jnt(["\n .dialog-mobile-full-height {\n .ms-Dialog-main {\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n\n .ms-Dialog-title {\n padding-bottom: 0;\n }\n\n .dialog-content-host {\n height: 466px;\n }\n}\n"],["\n .dialog-mobile-full-height {\n .ms-Dialog-main {\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n\n .ms-Dialog-title {\n padding-bottom: 0;\n }\n\n .dialog-content-host {\n height: 466px;\n }\n}\n"])),Bse),Hmt=function(e){var i=e.tagName,r=void 0===i?"div":i,o=e.id,a=e.values,s=e.dir,l=e.className;return t.createElement(r,{className:l,dir:s},n.jsx(tA,{id:o,values:a}))},Ymt=function(e){var t=e.icon,i=e.resourceKey,o=e.className,a=e.values,s="string"==typeof t?n.jsx(r.Icon,{iconName:t}):t;return n.jsxs(Zmt,Dnt({className:o},{children:[s,n.jsx(tA,{id:i,values:a,tagName:"span"})]}))},Zmt=v.default.div.withConfig({displayName:"IconLabel__Host",componentId:"sc-1fvi114-0"})(Wmt||(Wmt=jnt(["\n display: flex;\n align-items: center;\n\n > *:first-child {\n margin-right: ","px;\n }\n\n i {\n font-size: 24px;\n }\n\n > span {\n font-size: ","px;\n }\n"],["\n display: flex;\n align-items: center;\n\n > *:first-child {\n margin-right: ","px;\n }\n\n i {\n font-size: 24px;\n }\n\n > span {\n font-size: ","px;\n }\n"])),6,Hse),Kmt={},Jmt=new XZ;var egt=new XZ;function tgt(e){var n=t.useRef(!0);t.useEffect((function(){n.current||egt.next(),n.current=!1}),e)}var ngt,igt,rgt,ogt,agt=function(e){var i=e.groupName,r=e.groupId,o=e.keywordName,a=e.language,s=e.underlined,l=e.onClick,c=e.tabIndex,u=ure(),d=Toe(t.useContext(Ppe).selectedKeywordGroups,u,r,o,i,a);return l?n.jsx(lgt,Dnt({onClick:l,tabIndex:c},{children:n.jsx(cgt,Dnt({underlined:!0,dir:"auto"},{children:d}))})):n.jsx(cgt,Dnt({underlined:s,dir:"auto"},{children:d}))},sgt=function(e){var i=e.groupId,r=e.keywordName,o=ure(),a=Toe(t.useContext(Ppe).selectedKeywordGroups,o,i,r);return tgt([a]),n.jsx(cgt,Dnt({underlined:!0},{children:a}))},lgt=v.default(Uct).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(ngt||(ngt=jnt(["\n z-index: 1;\n height: inherit;\n padding: 0;\n > span {\n width: 100%;\n color: ",";\n }\n"],["\n z-index: 1;\n height: inherit;\n padding: 0;\n > span {\n width: 100%;\n color: ",";\n }\n"])),(function(e){return e.theme.palette.neutralSecondaryAlt})),cgt=v.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(rgt||(rgt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&i.css(igt||(igt=jnt(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),ugt=function(e){var t=e.modified,i=RD();return t?n.jsxs(dgt,Dnt({className:"ms-fontColor-neutralTertiary"},{children:["(",n.jsx($lt,Dnt({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=i.formatDate(t,{day:"2-digit",month:"2-digit",year:"numeric"}),n=i.formatTime(t);return"".concat(e," ").concat(n)}()}},{children:n.jsx(tA,{id:"Generic.wasModified"})})),")"]})):null},dgt=v.default.div.withConfig({displayName:"Modified__Host",componentId:"gp1v6i-0"})(ogt||(ogt=jnt(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),Yse);function pgt(){return pgt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},pgt.apply(this,arguments)}var fgt=function(e){return m.createElement("svg",pgt({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),m.createElement("path",{d:"M303.95 99.623c0-6.623-5.377-12-12-12h-223c-6.623 0-12 5.377-12 12s5.377 12 12 12h223c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M109.95 111.623h231.857c6.113 0 11.143 5.417 11.143 12s-5.03 12-11.143 12H109.95c6.113 0 11.143-5.417 11.143-12s-5.03-12-11.143-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M328.95 147.623c0-6.623-5.377-12-12-12h-229c-6.623 0-12 5.377-12 12s5.377 12 12 12h229c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M72.95 159.623h181c-6.583 0-12 5.417-12 12s5.417 12 12 12h-181c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M354.95 195.623c0-6.623-5.377-12-12-12h-249c-6.623 0-12 5.377-12 12s5.377 12 12 12h249c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m287.318 41.85-140.914-4.921-6.98 199.878 140.914 4.921 6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m281.417 34.091-140.914 4.921 6.98 199.878 140.914-4.921-6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M270.614 121.843a3.922 3.922 0 0 0 2.186-5.094l-12.336-30.881a3.921 3.921 0 0 0-5.094-2.187 3.922 3.922 0 0 0-2.186 5.095l12.335 30.881a3.923 3.923 0 0 0 5.095 2.186Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M257.614 132.166c-13.771-34.474-20.534-54.646-13.585-57.422l.021-.008c6.947-2.729 15.939 16.546 29.696 50.986l-16.132 6.444Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m257.875 130.779 14.726-5.882c15.927 39.871 28.772 71.236 21.136 74.286-7.636 3.05-19.935-28.532-35.862-68.404ZM94.857 6.66c6.969 3.252 17.655 10.686 17.655 10.686-4.646 6.505-6.504 16.262-6.504 16.262 10.686 5.111 6.04 13.009 6.04 13.009-6.04 1.394-20.444-2.323-20.444-2.323-3.252 11.615-16.261 3.717-16.261 3.717 1.858-11.616 2.787-24.16 2.787-24.16-6.04-6.97-4.646-18.585-4.646-18.585C81.847 8.518 94.857 6.66 94.857 6.66Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M80.314 30.738c5.111 11.615 13.939 13.938 13.939 13.938 5.576 3.717 23.231-16.726 23.231-16.726 2.788 7.434-.929 19.514-.929 19.514-.929 6.04-6.969 13.474-6.969 13.474-5.111 3.717-21.373 2.323-21.373 2.323-9.757-5.575-14.868-8.828-14.868-8.828 1.859-9.757 6.505-14.403 6.505-14.403l.464-9.292Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M65.554 32.465c-2.788 10.222-2.323 17.191-2.323 17.191 5.111 7.898 18.585 14.403 18.585 14.403l8.828-12.545c4.181-3.252 14.867 2.323 14.867 2.323 6.505 2.788 13.01-13.009 13.01-13.009-10.686-10.222-15.333-14.868-15.333-14.868-5.11-7.434-6.504-13.938-6.504-13.938l-4.647-7.899c-4.646 4.646-4.181 26.019-4.181 26.019C90.179 34.788 71.594 32 71.594 32l-6.04.465Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m59.887 23.474-5.555 9.305 5.4 7.121 10.694 3.229c8.278-1.275 12.592-3.061 12.592-3.061 3.727-7.798 5.745-9.934 5.745-9.934l5.045-5.341 5.483-4.521.042-5.822-6.7-1.679c-6.172 2.254-12.943 5.358-12.943 5.358-3.685 1.976-14.171 6.016-14.171 6.016l-5.632-.671Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M102.724 12.771c-5.576 4.646-20.908 16.726-20.908 16.726-5.576 3.717-12.08 10.222-12.08 10.222l2.787 7.898c4.647 4.182 11.616 6.969 11.616 6.969 9.292 3.253 18.12 1.859 18.12 1.859 7.899-12.545 10.686-19.514 10.686-19.514 3.253-9.757 5.576-19.514 5.576-19.514-6.04-2.788-15.797-4.646-15.797-4.646Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M86.898 11.688c-6.505 2.323-17.191 6.04-17.191 6.04l-6.04 9.293-.465 13.474c6.505.929 18.12 3.717 18.12 3.717-.929-6.505-2.323-12.081-2.323-12.081l-.465-6.969 8.364-13.474Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function hgt(){return hgt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},hgt.apply(this,arguments)}var mgt=function(e){return m.createElement("svg",hgt({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),m.createElement("path",{d:"M341.375 39.358c0-6.623-5.377-12-12-12h-248.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h248.5c6.623 0 12-5.377 12-12ZM394.625 63.358c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h337.75c6.623 0 12-5.377 12-12ZM384.625 135.309c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h327.75c6.623 0 12-5.377 12-12ZM151.75 75.358H16c-6.623 0-12 5.377-12 12s5.377 12 12 12h135.75c-6.623 0-12-5.377-12-12s5.377-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M58.688 99.358h153.75c6.623 0 12 5.377 12 12s-5.377 12-12 12H58.688c6.623 0 12-5.377 12-12s-5.377-12-12-12ZM368.778 98.309c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M198.494 11.655 94.626 18.918a5.483 5.483 0 0 0-5.084 5.849l8.792 125.734a5.483 5.483 0 0 0 5.849 5.084l103.867-7.263-9.556-136.667ZM202.138 11.4l103.867-7.263a5.483 5.483 0 0 1 5.849 5.084l8.792 125.734a5.483 5.483 0 0 1-5.084 5.849l-103.867 7.263L202.138 11.4Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m195.257 43.926.191 2.733-3.645.255-.509-7.289 3.644-.255.191 2.734 5.467-.383-1.465-20.955-91.112 6.371 8.283 118.445 91.111-6.371-1.465-20.956-5.467.382.191 2.734-3.644.255-.51-7.289 3.645-.255.191 2.733 5.466-.382-5.097-72.889-5.466.382ZM209.835 42.907l.191 2.733 3.644-.255-.509-7.289-3.645.255.191 2.733-5.466.383-1.466-20.956 91.112-6.371 8.282 118.445-91.111 6.371L209.592 118l5.467-.382.191 2.733 3.645-.254-.51-7.289-3.645.255.192 2.733-5.467.382-5.097-72.889 5.467-.382Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m193.498 44.964 18.223-1.274M198.723 119.676l18.222-1.274M193.243 41.32l18.223-1.274M198.468 116.032l18.222-1.275",style:{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeMiterlimit:1.5}}),m.createElement("path",{d:"m123.999 46.162 60.133-4.205M124.954 59.829l60.134-4.205M125.91 73.496l60.134-4.205M126.866 87.162l60.133-4.205M127.821 100.829l60.134-4.205M128.777 114.496l60.134-4.205M129.733 128.163l60.133-4.205M282.087 28.698l-57.401 4.014 2.74 39.178 57.4-4.014-2.739-39.178ZM285.591 78.81l-57.4 4.014 2.739 39.178 57.401-4.014-2.74-39.178Z",style:{fill:"none",stroke:"currentColor",strokeOpacity:.2,strokeWidth:2}}))};function ggt(){return ggt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ggt.apply(this,arguments)}var vgt=function(e){return m.createElement("svg",ggt({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),m.createElement("path",{d:"M306.436 12c0-6.623-5.377-12-12-12h-153.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.5c6.623 0 12-5.377 12-12ZM372.436 60c0-6.623-5.377-12-12-12H50.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h309.75c6.623 0 12-5.377 12-12ZM343.325 72.049h-153.75c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.75c-6.623 0-12-5.377-12-12s5.377-12 12-12ZM282.436 36c0-6.623-5.377-12-12-12H74.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h195.75c6.623 0 12-5.377 12-12ZM282.436 132c0-6.623-5.377-12-12-12h-129.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h129.5c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M356.686 108c0-6.623-5.377-12-12-12H68.936c-6.623 0-12 5.377-12 12s5.377 12 12 12h275.75c6.623 0 12-5.377 12-12ZM392.95 108c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m324.66 39.281-87.775-6.288-7.646 106.726 87.775 6.288 7.646-106.726Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m319.316 43.911-77.801-5.574-5.574 77.801 77.801 5.573 5.574-77.8Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M314.299 74.522 227.54 59.795l-17.906 105.491 86.759 14.727 17.906-105.491Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m308.533 78.615-76.9-13.053-13.054 76.9 76.9 13.053 13.054-76.9Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M240.587 19.16 93.266 33.322l10.047 104.518 147.321-14.162L240.587 19.16Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m168.075 38.186 7.654 79.633M186.507 83.631l41.808-4.019M187.751 96.571l41.808-4.019M188.995 109.511l41.808-4.018",style:{fill:"none",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m232.394 27.985-17.918 1.722 2.105 21.899 17.918-1.722-2.105-21.899Z",style:{fill:"currentColor",fillOpacity:.2}}))};function bgt(){return bgt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},bgt.apply(this,arguments)}var ygt,Ogt,wgt,_gt,xgt,kgt,Sgt,Egt,Cgt,Pgt,Fgt,Tgt=function(e){return m.createElement("svg",bgt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),m.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),m.createElement("path",{d:"M248 12c0-6.623-5.377-12-12-12H136c-6.623 0-12 5.377-12 12s5.377 12 12 12h100c6.623 0 12-5.377 12-12ZM320 36c0-6.623-5.377-12-12-12H62c-6.623 0-12 5.377-12 12s5.377 12 12 12h246c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M105 48h245c6.583 0 12 5.417 12 12s-5.417 12-12 12H105c6.583 0 12-5.417 12-12s-5.417-12-12-12ZM36 72h268c-6.583 0-12 5.417-12 12s5.417 12 12 12H36c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M320 108c0-6.623-5.377-12-12-12H142c-6.623 0-12 5.377-12 12s5.377 12 12 12h166c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m290.483 107.633-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M259.221 66.661 122.533 78.619l.608 6.951 136.688-11.959-.608-6.95ZM233.685 81.664l-110.046 9.628.608 6.951 110.046-9.628-.608-6.951Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.222 31.003a1.175 1.175 0 0 0-.465-.814.774.774 0 0 0-.814-.233L235.71 34.84l5.814-9.3c.581.233 1.279.465 1.86.7 2.907.93 6.047.814 7.907-1.163 1.977-1.977 2.093-5 1.163-7.907a23.214 23.214 0 0 0-5.7-8.953 22.876 22.876 0 0 0-8.837-5.7 11.406 11.406 0 0 0-3.372-.581h-1.047a6.055 6.055 0 0 0-3.6 1.628c-1.977 1.977-2.093 5-1.163 7.907.233.581.465 1.279.7 1.86l-12.093 7.558a21.654 21.654 0 0 0-8.14-1.86c-3.372 0-6.512.93-8.721 3.256-3.14 3.14-3.837 7.791-2.791 12.558.233 1.047.581 2.093.93 3.256l-94.188 8.253a1.115 1.115 0 0 0-1.049 1.281l6.4 73.256c.036.324.204.619.465.814.267.198.602.282.93.233l6.86-1.4c.233 0 .349-.116.581-.233l6.86-6.279c.443-.348.96-.588 1.512-.7.44-.036.881.044 1.279.233l21.86 9.535a.703.703 0 0 0 .465.116h.233l22.555-5.345c.349-.116.581-.233.7-.581l6.86-12.558a2.665 2.665 0 0 1 2.907-1.279l16.633 4.188h.116l18.372 2.209c10.7 1.047 23.372 2.093 25.93 2.093a.701.701 0 0 0 .465-.116c2.558-.93 13.14-7.326 19.884-11.512a1.768 1.768 0 0 1 1.512-.349l12.791.814a2.477 2.477 0 0 1 1.744.814l8.14 8.488c.322.359.851.456 1.279.233l7.442-3.256c.472-.179.762-.662.7-1.163l-6.636-74.885Zm-1.739 76.63-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"currentColor",fillOpacity:.2}}))},Dgt=function(e){var t=e.images,i=e.selectedIndex,o=e.hidden,a=e.onClose,s=e.imageUrlResolver,l=kj((function(){return Int(this,void 0,void 0,(function(){var e;return $nt(this,(function(n){switch(n.label){case 0:return e=t.map((function(e){return null!=e.width&&null!=e.height?Promise.resolve({width:e.width,height:e.height}):zht(s(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,n.sent()]}}))}))}),null,[t]),c=l[0],u=l[1],d=l[2];return u||d?null:n.jsx(r.Layer,{children:n.jsx(Agt,{images:t.map((function(e,t){return function(e,t){var n=Math.min(t.width,2500),i=Math.trunc(t.height/t.width*n);return{thumbnail:e.previewUrl,large:s(e.imageId,n,i),width:n,height:i,caption:e.imageTitle}}(e,c[t])})),selectedIndex:i,hidden:o,onClose:a})})},Agt=function(e){var i=e.images,r=e.hidden,o=e.selectedIndex,a=e.onClose,s=RD().formatMessage,l=t.useRef(null),c=t.useRef();return t.useEffect((function(){var e;if(!r)return clearTimeout(c.current),c.current=setTimeout((function(){return e=function(){var e=new Pfe(l.current,Tfe,i.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:o});return e.listen("close",a),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[r,o]),n.jsxs(n.Fragment,{children:[n.jsx(Igt,{enforceArrowVisibility:!Qo.isNativeMobileApp}),n.jsxs("div",Dnt({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[n.jsx("div",{className:"pswp__bg"}),n.jsxs("div",Dnt({className:"pswp__scroll-wrap"},{children:[n.jsxs("div",Dnt({className:"pswp__container"},{children:[n.jsx("div",{className:"pswp__item"}),n.jsx("div",{className:"pswp__item"}),n.jsx("div",{className:"pswp__item"})]})),n.jsxs("div",Dnt({className:"pswp__ui pswp__ui--hidden"},{children:[n.jsxs("div",Dnt({className:"pswp__top-bar"},{children:[n.jsx("div",{className:"pswp__counter"}),n.jsx("button",{className:"pswp__button pswp__button--close",title:s({id:"ImageViewer.closeCaption"})}),n.jsx("button",{className:"pswp__button pswp__button--fs",title:s({id:"ImageViewer.toggleFullscreenCaption"})}),n.jsx("div",Dnt({className:"pswp__preloader"},{children:n.jsx("div",Dnt({className:"pswp__preloader__icn"},{children:n.jsx("div",Dnt({className:"pswp__preloader__cut"},{children:n.jsx("div",{className:"pswp__preloader__donut"})}))}))}))]})),n.jsx("div",Dnt({className:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},{children:n.jsx("div",{className:"pswp__share-tooltip"})})),n.jsx("button",{className:"pswp__button pswp__button--arrow--left",title:s({id:"ImageView.previousCaption"})}),n.jsx("button",{className:"pswp__button pswp__button--arrow--right",title:s({id:"ImageView.nextCaption"})}),n.jsx("div",Dnt({className:"pswp__caption"},{children:n.jsx("div",{className:"pswp__caption__center"})}))]}))]}))]}))]})},Igt=i.createGlobalStyle(Ogt||(Ogt=jnt(["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"],["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"])),(function(e){return e.enforceArrowVisibility&&i.css(ygt||(ygt=jnt(["\n .pswp--touch .pswp__button--arrow--left,\n .pswp--touch .pswp__button--arrow--right {\n visibility: visible !important;\n }\n "],["\n .pswp--touch .pswp__button--arrow--left,\n .pswp--touch .pswp__button--arrow--right {\n visibility: visible !important;\n }\n "])))})),$gt=function(e){var i=e.images,o=e.imageUrlResolver,a=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,c=RD().formatMessage,u=t.useState(null),d=u[0],p=u[1],f=t.useContext(ipe).theme.palette;if(!i||0===i.length)return null;var h=i.length>4,m=i.length>1,g=i[0];return n.jsxs(jgt,Dnt({"data-multi-images":m,className:l,singleImageHeight:g.height,singleImageWidth:g.width},{children:[n.jsx("div",Dnt({"data-gallery-wrapper":!0},{children:m?n.jsxs(n.Fragment,{children:[n.jsx(Mgt,Dnt({backgroundColor:null!=s?s:f.neutralLight,applyRoundedCorners:!a},{children:i.slice(0,4).map((function(e,t){return n.jsx(Lgt,Dnt({href:e.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),v(t)},"aria-label":c({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:n.jsx(Ngt,{src:e.previewUrl,imageFit:r.ImageFit.centerCover,alt:e.imageTitle||""})}),t)}))})),h&&n.jsxs(Qgt,Dnt({onClick:function(){return v(4)}},{children:["+",i.length-4]}))]}):n.jsx(Rgt,{image:g,onClick:function(){return v(0)},disableRoundedCorners:a})})),n.jsx(Dgt,{images:i,selectedIndex:d,hidden:null==d,onClose:function(){p(null)},imageUrlResolver:o})]}));function v(e){p(e)}},Rgt=function(e){var t=e.image,i=e.onClick,r=e.disableRoundedCorners,o=RD().formatMessage;return n.jsx(zgt,Dnt({href:t.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":o({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:n.jsx("img",{src:t.previewUrl,alt:""})}))},jgt=v.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(_gt||(_gt=jnt(["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"],["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"])),(function(e){return e.singleImageWidth&&e.singleImageHeight&&i.css(wgt||(wgt=jnt(["\n &:after {\n // fallback for old browsers - that do not suport min function\n // the image aspect ratio is maintained\n padding-bottom: calc(\n ",'* 100%\n );\n\n // the image can have any aspect ratio from a 1:1 aspect ratio to any wider aspect ratio,\n // but it cannot get "taller" than 1:1\n @supports (padding-bottom: min(100%, ',"px)) {\n padding-bottom: min(\n min(100%, ","px, ","px),\n calc(\n ","*\n min(100%, ","px)\n )\n );\n }\n }\n "],["\n &:after {\n // fallback for old browsers - that do not suport min function\n // the image aspect ratio is maintained\n padding-bottom: calc(\n ",'* 100%\n );\n\n // the image can have any aspect ratio from a 1:1 aspect ratio to any wider aspect ratio,\n // but it cannot get "taller" than 1:1\n @supports (padding-bottom: min(100%, ',"px)) {\n padding-bottom: min(\n min(100%, ","px, ","px),\n calc(\n ","*\n min(100%, ","px)\n )\n );\n }\n }\n "])),e.singleImageHeight/e.singleImageWidth,e.singleImageWidth,e.singleImageHeight,e.singleImageWidth,e.singleImageHeight/e.singleImageWidth,e.singleImageWidth)})),zgt=v.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(kgt||(kgt=jnt(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"])),(function(e){return e.applyRoundedCorners&&i.css(xgt||(xgt=jnt(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),Mgt=v.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(Egt||(Egt=jnt(["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"],["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"])),(function(e){return e.backgroundColor}),(function(e){return e.applyRoundedCorners&&i.css(Sgt||(Sgt=jnt(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),Lgt=v.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(Cgt||(Cgt=jnt(["\n display: block;\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n"],["\n display: block;\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n"]))),Ngt=v.default(r.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(Pgt||(Pgt=jnt(["\n height: 100%;\n"],["\n height: 100%;\n"]))),Qgt=v.default(r.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(Fgt||(Fgt=jnt(["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n width: auto;\n height: auto;\n color: white;\n background: transparent;\n\n &:hover {\n background: transparent;\n }\n }\n\n position: absolute;\n bottom: 15px;\n right: 15px;\n\n font-size: ","px;\n @media (min-width: ","px) {\n font-size: ","px;\n }\n\n @supports (filter: drop-shadow(0 1px 2px #000000cc)) {\n filter: drop-shadow(0 1px 2px #000000cc);\n }\n\n @supports not (filter: drop-shadow(0 1px 2px #000000cc)) {\n text-shadow: 0 1px 2px #000000cc;\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n width: auto;\n height: auto;\n color: white;\n background: transparent;\n\n &:hover {\n background: transparent;\n }\n }\n\n position: absolute;\n bottom: 15px;\n right: 15px;\n\n font-size: ","px;\n @media (min-width: ","px) {\n font-size: ","px;\n }\n\n @supports (filter: drop-shadow(0 1px 2px #000000cc)) {\n filter: drop-shadow(0 1px 2px #000000cc);\n }\n\n @supports not (filter: drop-shadow(0 1px 2px #000000cc)) {\n text-shadow: 0 1px 2px #000000cc;\n }\n"])),Vse,zse,28);var Bgt,Ugt,qgt,Wgt,Ggt,Vgt,Xgt=function(e){var t=e.icon,i=e.isActive,o=e.disabled,a=e.tooltipResourceKey,s=e.onClick,l=e.link,c=e.className,u=Ant(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=RD().formatMessage;if(!l&&!s)return null;var p=No("header-button",c),f=l?n.jsx(Zgt,Dnt({className:p,to:l},u,{children:n.jsx(r.Icon,{iconName:t})})):n.jsx(Ygt,Dnt({className:p,disabled:o,onClick:function(e){return s(e.currentTarget)},iconProps:{iconName:t},ariaLabel:d({id:a}),"data-button-type":"header-btn",isActive:i},u));return n.jsx(Hgt,Dnt({className:"tooltip-container"},{children:n.jsx($lt,Dnt({resourceKey:a},{children:f}))}))},Hgt=v.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(Bgt||(Bgt=jnt(["\n height: 100%;\n"],["\n height: 100%;\n"]))),Ygt=v.default(r.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(Wgt||(Wgt=jnt(['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"],['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"])),(function(e){return!e.isActive&&i.css(Ugt||(Ugt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&i.css(qgt||(qgt=jnt(["\n background-color: ",";\n color: ",";\n\n &&:hover {\n background-color: ",";\n color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &&:hover {\n background-color: ",";\n color: ",";\n }\n "])),e.theme.palette.themeSecondary,e.theme.textColors.onSecondary,e.theme.palette.themeSecondary,e.theme.textColors.onSecondary)})),Zgt=v.default(o.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(Vgt||(Vgt=jnt(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return i.css(Ggt||(Ggt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),Kgt="\t\n\v\f\r \u2028\u2029\ufeff",Jgt=nit,evt="[\t\n\v\f\r \u2028\u2029\ufeff]",tvt=RegExp("^"+evt+evt+"*"),nvt=RegExp(evt+evt+"*$"),ivt=function(e){return function(t){var n=String(Jgt(t));return 1&e&&(n=n.replace(tvt,"")),2&e&&(n=n.replace(nvt,"")),n}},rvt={start:ivt(1),end:ivt(2),trim:ivt(3)},ovt=qnt,avt=Kgt,svt=rvt.trim,lvt=function(e){return ovt((function(){return!!avt[e]()||"
"!="
"[e]()||avt[e].name!==e}))};Cot({target:"String",proto:!0,forced:lvt("trim")},{trim:function(){return svt(this)}});var cvt,uvt,dvt,pvt,fvt,hvt,mvt,gvt,vvt,bvt,yvt,Ovt,wvt,_vt,xvt,kvt,Svt,Evt=function(e){var i=e.url,r=e.target,o=e.ariaLabel,a=e.children,s=e.className,l=e.style,c=Ant(e,["url","target","ariaLabel","children","className","style"]);dre();var u=Iue(),d=t.useContext(aA);d.onOpenExternalLink;var p=d.tryGetInternalLink,f=!r&&p(i,u);return f?n.jsx(Hlt,Dnt({className:s,to:f,"data-link":Fse.Internal,"aria-label":o,style:l,dir:"auto"},c,{children:a})):n.jsx(Cvt,Dnt({url:i,target:r,className:s,ariaLabel:o,style:l},c,{children:a}))},Cvt=function(e){var t=e.url,i=e.target,r=e.ariaLabel,o=e.onClick,a=e.className,s=e.children,l=e.style,c=Ant(e,["url","target","ariaLabel","onClick","className","children","style"]);return n.jsx(Xlt,Dnt({href:t,onClick:function(e){return null==o?void 0:o(e)},className:a,target:void 0===i?"_blank":i,rel:"noopener noreferrer","aria-label":r,"data-link":Fse.External,style:l,dir:"auto"},c,{children:s}))},Pvt=i.css(cvt||(cvt=jnt(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n width: 32px;\n text-decoration: none !important;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n width: 32px;\n text-decoration: none !important;\n"]))),Fvt=v.default(Evt).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(uvt||(uvt=jnt(["\n ","\n"],["\n ","\n"])),Pvt),Tvt=v.default(Cvt).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(dvt||(dvt=jnt(["\n ","\n"],["\n ","\n"])),Pvt),Dvt=v.default(r.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(fvt||(fvt=jnt(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&i.css(pvt||(pvt=jnt(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),Avt=v.default((function(e){var t,i=e.iconName,o=e.ariaLabel,a=e.ariaLabelResourceKey,s=e.onClick,l=e.to,c=e.target,u=e.tooltipText,d=e.tooltipResourceKey,p=e.disabled,f=e.className,h=Ant(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=RD().formatMessage,g=o||(null===(t=null==a?void 0:a.trim())||void 0===t?void 0:t.length)>0&&m({id:a});return n.jsxs($lt,Dnt({resourceKey:d,text:u},{children:[l&&!s&&n.jsx(Fvt,Dnt({url:l,ariaLabel:g,target:c},h,{children:n.jsx(r.Icon,{iconName:i,className:f})})),s&&!l&&n.jsx(Dvt,Dnt({disabled:p,iconProps:{iconName:i},onClick:s,className:f,ariaLabel:g},h)),s&&l&&n.jsx(Tvt,Dnt({url:l,target:c,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:n.jsx(r.Icon,{iconName:i,className:f})}))]}))})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(mvt||(mvt=jnt(["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"],["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.isActive&&i.css(hvt||(hvt=jnt(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),Ivt=function(e){var i=e.shouldAutoFocus,r=void 0===i||i,a=RD(),s=t.useState(null),l=s[0],c=s[1],u=o.useLocation(),d=t.useContext(ipe).theme.textColors,p=t.useRef();return t.useEffect((function(){return efe(h),r&&setTimeout((function(){var e;return p&&(null===(e=p.current)||void 0===e?void 0:e.focus())})),function(){tfe(h)}}),[]),t.useEffect((function(){c("")}),[u.pathname]),n.jsxs(jvt,Dnt({className:No("search-field",e.className),useLightTheme:e.useLightTheme},{children:[n.jsx($vt,{className:"search-input",useLightTheme:e.useLightTheme,default:!0,value:l||e.searchText||"",onChange:function(e,t){return f(t)},onKeyDown:function(t){"Enter"===t.key&&e.onExecuteSearch&&e.onExecuteSearch(l);"Escape"===t.key&&f("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:e.placeholder||a.formatMessage({id:"TopBar.search"}),componentRef:function(e){return p.current=e},ariaLabel:a.formatMessage({id:"TopBar.search"}),"data-search-input":!0}),e.searching&&n.jsx(Rvt,{className:"search-spinner"}),n.jsx(zvt,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var t;c(null),null===(t=e.onClear)||void 0===t||t.call(e)},color:!e.useLightTheme&&d.onPrimary})]}));function f(t){var n;c(t),null===(n=e.onChange)||void 0===n||n.call(e,t)}function h(){return!(!l&&!e.searchText)&&(f(""),!0)}},$vt=v.default(r.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(bvt||(bvt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?i.css(gvt||(gvt=jnt(["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "],["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "])),(function(e){return e.theme.textColors.default}),Rht("color: ".concat(e.theme.textColors.default))):i.css(vvt||(vvt=jnt(["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "],["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "])),(function(e){return e.theme.textColors.onPrimary}),Rht("color: ".concat(e.theme.textColors.onPrimary)))})),Rvt=v.default(r.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(yvt||(yvt=jnt(["\n display: flex;\n align-items: center;\n padding-right: 8px;\n\n color: ",";\n background-color: ",";\n"],["\n display: flex;\n align-items: center;\n padding-right: 8px;\n\n color: ",";\n background-color: ",";\n"])),(function(e){return e.theme.textColors.onPrimary}),(function(e){return e.theme.palette.themeDarker})),jvt=v.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(_vt||(_vt=jnt(["\n flex: 1 1 auto;\n height: 100%;\n\n display: flex;\n flex-flow: row nowrap;\n align-items: stretch;\n\n > .ms-TextField {\n flex: 1 1 auto;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0;\n\n > .ms-TextField-wrapper {\n flex: 1 0 auto;\n\n .ms-TextField-fieldGroup {\n border: none;\n background: none;\n\n > input {\n border: 0;\n height: 100%;\n font-size: 18px;\n\n &::-ms-clear {\n display: none;\n }\n }\n }\n }\n }\n\n input {\n &.ms-TextField-field {\n min-width: 100%;\n width: 30px;\n }\n\n ",";\n }\n\n i {\n display: flex;\n justify-content: space-around;\n flex-flow: row nowrap;\n align-items: center;\n\n margin-right: 1em;\n margin-left: 0.5em;\n cursor: pointer;\n }\n\n button {\n height: 100%;\n margin: 0 4px;\n }\n\n ","\n"],["\n flex: 1 1 auto;\n height: 100%;\n\n display: flex;\n flex-flow: row nowrap;\n align-items: stretch;\n\n > .ms-TextField {\n flex: 1 1 auto;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0;\n\n > .ms-TextField-wrapper {\n flex: 1 0 auto;\n\n .ms-TextField-fieldGroup {\n border: none;\n background: none;\n\n > input {\n border: 0;\n height: 100%;\n font-size: 18px;\n\n &::-ms-clear {\n display: none;\n }\n }\n }\n }\n }\n\n input {\n &.ms-TextField-field {\n min-width: 100%;\n width: 30px;\n }\n\n ",";\n }\n\n i {\n display: flex;\n justify-content: space-around;\n flex-flow: row nowrap;\n align-items: center;\n\n margin-right: 1em;\n margin-left: 0.5em;\n cursor: pointer;\n }\n\n button {\n height: 100%;\n margin: 0 4px;\n }\n\n ","\n"])),Rht("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?i.css(Ovt||(Ovt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):i.css(wvt||(wvt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),zvt=v.default(Blt).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(xvt||(xvt=jnt(["\n align-self: center;\n"],["\n align-self: center;\n"]))),Mvt=function(e){var i=e.onSearchInputFieldVisibilityChanged,r=e.isToolbarMode,o=e.onExecuteSearch,a=e.onSearchTextChange,s=e.searchText,l=e.showSearchBoxInput,c=e.className,u=e.shouldAutoFocus,d=t.useState(!!s),p=d[0],f=d[1],h=l||p||!!s;return t.useEffect((function(){null==i||i(h)}),[h]),n.jsxs(n.Fragment,{children:[h&&n.jsx(Ivt,{onChange:a,onExecuteSearch:o,searchText:s,onClear:function(){null==a||a(""),m(!1)},shouldAutoFocus:u,className:c,useLightTheme:r}),!h&&(r?n.jsx(Avt,{iconName:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"}):n.jsx(Xgt,{icon:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search"}))]});function m(e){f(e),null==i||i(e)}},Lvt=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Nvt=Cit,Qvt=nit,Bvt=Lvt,Uvt=mht;sht("search",1,(function(e,t,n){return[function(t){var n=Qvt(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=Nvt(e),o=String(this),a=r.lastIndex;Bvt(a,0)||(r.lastIndex=0);var s=Uvt(r,o);return Bvt(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]})),v.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(kvt||(kvt=jnt(["\n height: 100%;\n display: flex;\n width: 100%;\n"],["\n height: 100%;\n display: flex;\n width: 100%;\n"]))),function(e){e.ASC="SortUp",e.DESC="SortDown"}(Svt||(Svt={})),v.default(r.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(qvt||(qvt=jnt(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),v.default.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(Vvt||(Vvt=jnt(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?i.css(Wvt||(Wvt=jnt(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):i.css(Gvt||(Gvt=jnt(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),v.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(Xvt||(Xvt=jnt(["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"],["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"])),(function(e){var t=e.isLoading,n=e.disableSort;return t?"wait":n?"default":"pointer"})),v.default.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(Hvt||(Hvt=jnt(["\n text-align: right;\n padding: 2px 5px;\n white-space: ",";\n\n :first-child {\n text-align: left;\n }\n"],["\n text-align: right;\n padding: 2px 5px;\n white-space: ",";\n\n :first-child {\n text-align: left;\n }\n"])),(function(e){return e.noWrap?"nowrap":""}));var qvt,Wvt,Gvt,Vvt,Xvt,Hvt,Yvt,Zvt,Kvt,Jvt=v.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(Yvt||(Yvt=jnt(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));v.default.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(Zvt||(Zvt=jnt(["\n width: 100%;\n border-collapse: collapse;\n\n :hover {\n cursor: ",";\n }\n\n "," {\n transition: opacity 0.1s linear;\n opacity: ",";\n }\n"],["\n width: 100%;\n border-collapse: collapse;\n\n :hover {\n cursor: ",";\n }\n\n "," {\n transition: opacity 0.1s linear;\n opacity: ",";\n }\n"])),(function(e){return e.isLoading?"wait":"default"}),Jvt,(function(e){return e.isLoading?"0.6":"1"})),v.default(qut).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(Kvt||(Kvt=jnt(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var ebt,tbt,nbt=function(e){return n.jsx(ibt,Dnt({},e,{"data-toggle-button":!0}))},ibt=v.default(r.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(ebt||(ebt=jnt(["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-inline-start: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"],["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-inline-start: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.semanticColors.inputBackgroundCheckedHovered})),rbt=function(e){return i.css(tbt||(tbt=jnt(["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: ",";\n left: 100%;\n display: block;\n width: 12px;\n height: 12px;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n background-color: ",";\n }\n "],["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: ",";\n left: 100%;\n display: block;\n width: 12px;\n height: 12px;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n background-color: ",";\n }\n "])),null!=e?e:"3px",(function(e){return e.theme.palette.accent}))};function obt(e,t,n,i){return(i?e.translations[Soe(t)]||e.translations[t.subscription.defaultLanguage]:e.translations[t.preferredUiLanguage]||e.translations[Soe(t)])||e.name||n.formatMessage({id:"Groups.defaultName"})}var abt=sht,sbt=Cit,lbt=Tot,cbt=Lrt,ubt=jrt,dbt=nit,pbt=pht,fbt=mht,hbt=Math.max,mbt=Math.min,gbt=Math.floor,vbt=/\$([$&'`]|\d\d?|<[^>]*>)/g,bbt=/\$([$&'`]|\d\d?)/g,ybt=function(e){return void 0===e?e:String(e)};abt("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=dbt(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var c=sbt(e),u=String(this),d="function"==typeof i;d||(i=String(i));var p=c.global;if(p){var f=c.unicode;c.lastIndex=0}for(var h=[];;){var m=fbt(c,u);if(null===m)break;if(h.push(m),!p)break;""===String(m[0])&&(c.lastIndex=pbt(u,cbt(c.lastIndex),f))}for(var g="",v=0,b=0;b<h.length;b++){m=h[b];for(var y=String(m[0]),O=hbt(mbt(ubt(m.index),u.length),0),w=[],_=1;_<m.length;_++)w.push(ybt(m[_]));var x=m.groups;if(d){var k=[y].concat(w,O,u);void 0!==x&&k.push(x);var S=String(i.apply(void 0,k))}else S=s(y,u,O,w,x,i);O>=v&&(g+=u.slice(v,O)+S,v=O+y.length)}return g+u.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,c=bbt;return void 0!==o&&(o=lbt(o),c=vbt),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var d=gbt(u/10);return 0===d?t:d<=l?void 0===r[d-1]?a.charAt(1):r[d-1]+a.charAt(1):t}c=r[u-1]}return void 0===c?"":c}))}}));var Obt,wbt=zse-$se,_bt=Mse-$se;function xbt(e){if(!e)return!1;var t=e.split("://");if(t.length<2)return!1;var n=t.shift();if("https"!==n&&"http"!==n)return!1;t[0].startsWith("www.")&&(t=t[0].split("^www.").slice(-1));var i=t[0].split(/^(?:\d{1,3}\.){3}\d{1,3}/);if(i.length<2){var r=t[0].split(/^(?:[a-z\d]([a-z\d-]*[a-z\d])*\.?)+[a-z]{2,}/i);if(r.length<2)return!1;t=r.slice(-1)}else t=i.slice(-1);if(!(t=t[0].split(/^:\d+/).slice(-1))[0].length)return!0;var o=t[0].split(/^(?:\/[a-z\d%_.~:#+-]+)*\/?/i);if(o.length<2)return!1;if(!(t=o.slice(-1))[0].length)return!0;if(t[0].startsWith("?")){var a=t[0].split(/^\?[;&a-z\d%_.~+=-]*/i);if(a.length<2)return!1;t=a.slice(-1)}if(t[0].startsWith("#")){var s=t[0].split(/^#[-a-z\d_]*/);if(s.length<2)return!1;t=s.slice(-1)}return!t[0].length||"/"===t[0]}function kbt(e){return e?"https://www.google.com/maps/search/?api=1&".concat(Zy.stringify({query:e})):null}function Sbt(e,t){var n;if(!e.useExternalContent)return null;var i=e.contents[t];return(null==i?void 0:i.active)&&(null==i?void 0:i.externalUrl)?i.externalUrl:null===(n=Object.values(e.contents).find((function(e){return e.active&&e.externalUrl})))||void 0===n?void 0:n.externalUrl}v.default.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(Obt||(Obt=jnt(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n [data-content-toolbar] {\n margin-bottom: 0;\n }\n\n > * {\n margin-top: ","px;\n }\n\n > [data-nothing-found],\n > [data-empty-unread-list] {\n margin-top: auto;\n }\n\n @media all and (max-width: ","px) {\n max-width: calc(100vw - ","px);\n margin-left: ","px;\n margin-right: ","px;\n }\n\n @media all and (min-width: ","px) {\n margin: 0 auto;\n\n > * {\n margin-top: ","px;\n }\n\n max-width: ","px;\n }\n\n @media all and (min-width: ","px) {\n max-width: ","px;\n }\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n [data-content-toolbar] {\n margin-bottom: 0;\n }\n\n > * {\n margin-top: ","px;\n }\n\n > [data-nothing-found],\n > [data-empty-unread-list] {\n margin-top: auto;\n }\n\n @media all and (max-width: ","px) {\n max-width: calc(100vw - ","px);\n margin-left: ","px;\n margin-right: ","px;\n }\n\n @media all and (min-width: ","px) {\n margin: 0 auto;\n\n > * {\n margin-top: ","px;\n }\n\n max-width: ","px;\n }\n\n @media all and (min-width: ","px) {\n max-width: ","px;\n }\n"])),Dse,Bse,Ase,10,10,zse,Ase,wbt,Mse,_bt);var Ebt,Cbt,Pbt,Fbt,Tbt,Dbt=v.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(Cbt||(Cbt=jnt(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"],["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"])),10,Zse,(function(e){return e.showPlaceholder&&i.css(Ebt||(Ebt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),zse,wbt,Zse,Mse,(function(e){return e.defaultWidth||250}));v.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(Fbt||(Fbt=jnt(["\n display: flex;\n align-items: center;\n\n ","\n"],["\n display: flex;\n align-items: center;\n\n ","\n"])),(function(e){return e.isInvalid&&i.css(Pbt||(Pbt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),v.default(r.Icon).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(Tbt||(Tbt=jnt(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),Dse);var Abt,Ibt,$bt,Rbt,jbt,zbt,Mbt,Lbt,Nbt,Qbt,Bbt=function(e){var t=e.enterDuration,i=e.leaveDuration,r=e.children,o=e.style,a=e.className,s=!!t,l=!!i,c="common-opacity-animation_".concat(t,"_").concat(i);return n.jsxs(n.Fragment,{children:[n.jsx(Ubt,{name:c,enterDuration:t,leaveDuration:i}),n.jsx(phe,Dnt({style:o,className:a,transitionName:c,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:t,transitionEnterTimeout:t},{children:r}))]})},Ubt=i.createGlobalStyle(Abt||(Abt=jnt(["\n ."," {\n &-enter, &-apear {\n opacity: 0;\n &-active {\n opacity: 1;\n transition: opacity ","ms ease-in;\n }\n }\n &-leave {\n opacity: 1;\n &-active {\n opacity: 0;\n transition: opacity ","ms ease-in;\n }\n }\n }\n"],["\n ."," {\n &-enter, &-apear {\n opacity: 0;\n &-active {\n opacity: 1;\n transition: opacity ","ms ease-in;\n }\n }\n &-leave {\n opacity: 1;\n &-active {\n opacity: 0;\n transition: opacity ","ms ease-in;\n }\n }\n }\n"])),(function(e){return e.name}),(function(e){return e.enterDuration}),(function(e){return e.leaveDuration})),qbt=function(e){var t=e.finalHeight,i=e.enterDuration,r=e.leaveDuration,o=e.children,a=e.style,s=e.className,l=!!i,c=!!r,u="common-ease-animation_".concat(i,"_").concat(r);return n.jsxs(n.Fragment,{children:[n.jsx(Wbt,{name:u,enterDuration:i,leaveDuration:r,finalHeight:t}),n.jsx(phe,Dnt({style:a,className:s,transitionName:u,transitionAppear:l,transitionEnter:l,transitionLeave:c,transitionLeaveTimeout:r,transitionAppearTimeout:i,transitionEnterTimeout:i},{children:o}))]})},Wbt=i.createGlobalStyle(Ibt||(Ibt=jnt(["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"],["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"])),(function(e){return e.name}),(function(e){return"number"==typeof e.finalHeight?"".concat(e.finalHeight,"px"):e.finalHeight}),(function(e){return e.enterDuration}),(function(e){return"number"==typeof e.finalHeight?"".concat(e.finalHeight,"px"):e.finalHeight}),(function(e){return e.leaveDuration})),Gbt=function(e){var i=e.contentLanguageCode,r=e.originalContent,o=e.content,a=e.onTranslate,s=e.onContentChange,l=e.itemType,c=e.itemId,u=e.tooltipResourceKey,d=e.showLabel,p=RD().formatMessage,f=ure(),h=dre(),m=t.useState(null),g=m[0],v=m[1],b=t.useState(r===o),y=b[0],O=b[1],w=fpe().showError,_=Tle().interaction,x=Soe(f);if(t.useEffect((function(){return v(null)}),[r]),!h.automaticTranslation)return null;var k=p({id:"Generic.translate"});return i&&i!==x&&xoe.includes(x)&&!_oe.includes(x)?n.jsx($lt,Dnt({resourceKey:y?"Generic.translateTo":u,values:{language:p({id:"Generic.languages.".concat(x)})}},{children:n.jsx(Vbt,Dnt({"aria-label":d?null:k,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return Int(this,void 0,void 0,(function(){var e;return $nt(this,(function(t){switch(t.label){case 0:return y?g?(s(g),O(!1),[3,4]):[3,1]:(s(r),O(!0),_({event:sle.translateContent,value:null,action:lle.click,item:{id:c,type:l}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,a(x)];case 2:return e=t.sent(),s(e),v(e),O(!1),[3,4];case 3:return t.sent(),w("Generic.error"),[3,4];case 4:return _({event:sle.translateContent,value:x,itemType:l,action:lle.click,itemId:c,item:{id:c,type:l}}),[2]}}))}))}},{children:d&&k}))})):null},Vbt=v.default(Uct).withConfig({displayName:"AutoTranslateButton__StyledActionButton",componentId:"ke3nk3-0"})($bt||($bt=jnt(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),Xbt=v.default(r.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(Rbt||(Rbt=jnt(["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),Hbt=function(i){var r=i.comment,o=i.showEdit,a=i.showDelete,s=i.onDelete,l=i.isEditMode,c=i.toggleEditMode,u=i.originalContent,d=i.currentContent,p=i.setContent,f=i.handleTranslate,h=i.showAutoTranslate,m=i.onReply,g=i.disabled,v=RD().formatMessage,b=ure(),y=t.useState(!1),O=y[0],w=y[1],_=t.useRef(null);return b.isPublicUser&&!h?null:b.isPublicUser&&h?n.jsx(Gbt,{"data-auto-translate-button":r.id,originalContent:u,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:f,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id}):n.jsxs(n.Fragment,{children:[n.jsx("div",Dnt({ref:_},{children:n.jsx(Zbt,{"data-menu-button":r.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return w(!O)},ariaLabel:v({id:"AriaLabel.contextMenuButton"}),disabled:g})})),O&&n.jsx(Jbt,Dnt({"data-context-menu":!0,target:_.current,onDismiss:function(){return w(!1)}},{children:n.jsxs(Ybt,{children:[n.jsx($lt,Dnt({resourceKey:"Comment.replyButton.tooltip",values:{name:r.sender.displayName}},{children:n.jsx(Kbt,{"data-reply-button":r.id,iconProps:{iconName:"Reply"},onClick:function(){null==m||m(r,r.sender),w(!1)},text:v({id:"Comment.replyButton"})})})),h&&n.jsx(Gbt,{"data-auto-translate-button":r.id,originalContent:u,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:f,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id}),o&&n.jsx($lt,Dnt({resourceKey:"Comment.edit.tooltip"},{children:n.jsx(Kbt,{"data-edit-button":r.id,iconProps:{iconName:"Edit"},onClick:function(){c(!0),w(!1)},text:v({id:"Generic.edit"}),disabled:!r.id||l})})),a&&n.jsx($lt,Dnt({resourceKey:"Comment.delete.tooltip"},{children:n.jsx(Kbt,{"data-delete-button":r.id,iconProps:{iconName:"Delete"},onClick:function(){s(r),w(!1)},text:v({id:"Generic.Delete"}),disabled:!r.id||l})}))]})}))]})},Ybt=v.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(jbt||(jbt=jnt(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),Zbt=v.default(Blt).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(zbt||(zbt=jnt(["\n && {\n width: auto;\n padding: 0 24px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"],["\n && {\n width: auto;\n padding: 0 24px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"])),20),Kbt=v.default(Uct).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(Mbt||(Mbt=jnt(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),Jbt=v.default(Xct).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(Lbt||(Lbt=jnt(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),Dse);v.default(r.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(Nbt||(Nbt=jnt(["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"],["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"]))),v.default(r.DefaultButton).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(Qbt||(Qbt=jnt(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var eyt,tyt,nyt,iyt,ryt,oyt=v.default(r.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(eyt||(eyt=jnt(["\n && {\n padding: ","px;\n color: ",";\n\n &:hover {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 14px;\n }\n }\n"],["\n && {\n padding: ","px;\n color: ",";\n\n &:hover {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 14px;\n }\n }\n"])),6,(function(e){return e.theme.textColors.default}),(function(e){return e.theme.textColors.default})),ayt=function(e){var i=e.toggleAll,r=e.className,o=t.useContext(ipe).theme.palette.accent;return n.jsxs(syt,Dnt({className:r},{children:[n.jsx(lyt,Dnt({onClick:function(){return i(!0)},"data-button-toggle":"selectAll",color:o},{children:n.jsx(tA,{id:"Generic.SelectAll"})})),n.jsx(lyt,Dnt({onClick:function(){return i(!1)},"data-button-toggle":"clearAll",color:o},{children:n.jsx(tA,{id:"Generic.ClearAll"})}))]}))},syt=v.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(tyt||(tyt=jnt(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),Dse),lyt=v.default(Uct).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(nyt||(nyt=jnt(["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"],["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"])));v.default((function(e){var t=e.iconName,i=e.textKey,a=Ant(e,["iconName","textKey"]);return n.jsxs(o.NavLink,Dnt({},a,{children:[t&&n.jsx(r.Icon,{iconName:t}),n.jsx(tA,{id:i})]}))})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(iyt||(iyt=jnt(["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"],["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"])),Dse,(function(e){return e.theme.palette.accent})),v.default(Blt).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(ryt||(ryt=jnt([""],[""])));var cyt,uyt,dyt,pyt,fyt=function(e){var i=e.language,r=e.channel,o=e.role,a=e.className,s=ure(),l=t.useContext(Ppe).channels,c=gyt(function(){if(!l)return r;return l.find((function(e){return e.id===r.id||e.name===r.name}))}(),s,i);return n.jsx(hyt,Dnt({title:c,className:a,role:o,dir:"auto"},{children:c}))},hyt=v.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(cyt||(cyt=jnt(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),myt=function(e){var t=e.channels,i=e.language;return n.jsx(n.Fragment,{children:t.map((function(e,t){return n.jsxs("span",{children:[t>0&&", ",n.jsx(fyt,{channel:e,language:i})]},e.id)}))})};function gyt(e,t,n){if(null==e)return null;n||(n=Soe(t));var i=e.translations||{};return n&&i[n]||i[t.subscription.defaultLanguage]||e.name}v.default(fyt).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(uyt||(uyt=jnt(["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"],["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"])),(function(e){return e.applyMargin?"37":"0"}),Gse),v.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(dyt||(dyt=jnt(["\n display: flex;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n min-height: 62px;\n padding: ","px ","px;\n\n ","\n\n .channel-drag-source {\n display: flex;\n align-items: center;\n flex: 0 0 auto;\n margin-right: 12px;\n\n i {\n font-size: ","px;\n }\n }\n"],["\n display: flex;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n min-height: 62px;\n padding: ","px ","px;\n\n ","\n\n .channel-drag-source {\n display: flex;\n align-items: center;\n flex: 0 0 auto;\n margin-right: 12px;\n\n i {\n font-size: ","px;\n }\n }\n"])),Dse,15,$ht(2,2),Gse),v.default(Blt).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(pyt||(pyt=jnt(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),Gse);var vyt,byt,yyt,Oyt,wyt,_yt,xyt,kyt,Syt,Eyt=function(e){var t=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.visibleChannelsCount,a=void 0===o?3:o,s=e.onChannelClick,l=e.className;if(!t||0===t.length)return null;var c=t.length>a;return n.jsxs(Fyt,Dnt({className:l,"data-has-more-indicator":c},{children:[n.jsx(Cyt,{channels:t.slice(0,a),language:i,channelStyleDefinition:r,onChannelClick:s}),c&&n.jsx(Pyt,{channels:t.slice(a),language:i,styleDefinition:r,onChannelClick:s})]}))},Cyt=function(e){var t=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.onChannelClick;return n.jsx(Tyt,Dnt({"data-channels":!0},{children:t.map((function(e){var a=n.jsx(fyt,{channel:e,language:i});return o?n.jsx(Dyt,Dnt({bubbleCount:t.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return o(e)},"data-rounded-outline":!0},{children:a}),e.id):n.jsx(Ayt,Dnt({bubbleCount:t.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:a}),e.id)}))}))},Pyt=function(e){var i=e.channels,r=e.language,o=e.styleDefinition,a=e.onChannelClick,s=t.useRef(),l=t.useState(!1),c=l[0],u=l[1];return n.jsxs($yt,Dnt({ref:s},{children:[n.jsx(Ryt,Dnt({onClick:function(){return u(!0)},backgroundColor:null==o?void 0:o.backgroundColor,color:null==o?void 0:o.color,"data-channels-indicator":!0},{children:"+".concat(i.length)})),c&&n.jsx(jyt,Dnt({target:s.current,onDismiss:function(){return u(!1)}},{children:n.jsx(zyt,{children:i.map((function(e){return n.jsx("li",{children:a?n.jsx(Uct,Dnt({onClick:function(){return a(e)}},{children:n.jsx(fyt,{channel:e,language:r})})):n.jsx(fyt,{channel:e,language:r})},e.id)}))})}))]}))},Fyt=v.default.div.withConfig({displayName:"ChannelList__Host",componentId:"sc-3nkw9-0"})(vyt||(vyt=jnt(["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),6),Tyt=v.default.div.withConfig({displayName:"ChannelList__ChannelsHost",componentId:"sc-3nkw9-1"})(byt||(byt=jnt(["\n display: flex;\n align-items: center;\n gap: ","px;\n"],["\n display: flex;\n align-items: center;\n gap: ","px;\n"])),6),Dyt=v.default(Uct).withConfig({displayName:"ChannelList__ClickableChannelTitle",componentId:"sc-3nkw9-2"})(yyt||(yyt=jnt(["\n z-index: 1;\n height: inherit;\n padding: 0;\n\n ","\n span {\n width: 100%;\n }\n"],["\n z-index: 1;\n height: inherit;\n padding: 0;\n\n ","\n span {\n width: 100%;\n }\n"])),(function(e){return Iyt(e.bubbleCount,e.backgroundColor,e.color)})),Ayt=v.default.span.withConfig({displayName:"ChannelList__StyledChannelTitle",componentId:"sc-3nkw9-3"})(Oyt||(Oyt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){return Iyt(e.bubbleCount,e.backgroundColor,e.color)})),Iyt=function(e,t,n){return i.css(wyt||(wyt=jnt(["\n width: fit-content;\n\n ","\n\n ","\n "],["\n width: fit-content;\n\n ","\n\n ","\n "])),e&&"\n max-width: calc(\n (100% - ".concat(6*(e-1),"px) / ").concat(e,"\n );"),Rlt({backgroundColor:t,color:n}))},$yt=v.default.div.withConfig({displayName:"ChannelList__IndicatorHost",componentId:"sc-3nkw9-4"})(_yt||(_yt=jnt([""],[""]))),Ryt=v.default(Uct).withConfig({displayName:"ChannelList__Indicator",componentId:"sc-3nkw9-5"})(xyt||(xyt=jnt(["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"],["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"])),(function(e){return Rlt({backgroundColor:e.backgroundColor,color:e.color,inlinePadding:8})})),jyt=v.default(Xct).withConfig({displayName:"ChannelList__StyledCallout",componentId:"sc-3nkw9-6"})(kyt||(kyt=jnt(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),zyt=v.default.ul.withConfig({displayName:"ChannelList__CalloutList",componentId:"sc-3nkw9-7"})(Syt||(Syt=jnt(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),Myt=function(e){var t=e.channels,i=e.buildChannelFilterUrl,r=e.language,o=e.channelBackgroundColor,a=e.onClick,s=e.className;return(null==t?void 0:t.length)?n.jsx(nOt,Dnt({className:s,"data-channels":t.map((function(e){return e.name})).join(",")},{children:t.map((function(e){var t=n.jsx(rOt,Dnt({backgroundColor:o},{children:n.jsx(fyt,{channel:e,language:r})}));return n.jsxs(iOt,{children:[i&&n.jsx(oOt,Dnt({"data-channel":!0,to:i(Lyt(e)?e.name:e),"data-rounded-outline":!0},{children:t})),a&&n.jsx(sOt,Dnt({"data-rounded-outline":!0,onClick:function(){return Lyt(e)?a(e.name,e):a(e)}},{children:t})),!a&&!i&&n.jsx(aOt,{children:t})]},e.id)}))})):null};function Lyt(e){return null!=e.id}var Nyt,Qyt,Byt,Uyt,qyt,Wyt,Gyt,Vyt,Xyt,Hyt,Yyt,Zyt,Kyt,Jyt,eOt,tOt,nOt=v.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(Nyt||(Nyt=jnt(["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n\n span {\n white-space: break-spaces;\n }\n }\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n\n span {\n white-space: break-spaces;\n }\n }\n }\n"])),Hse),iOt=v.default.li.withConfig({displayName:"ClickableChannelTitles__ChannelItem",componentId:"sc-1a7ny18-1"})(Qyt||(Qyt=jnt(["\n &:last-child > * {\n margin-inline: 0;\n }\n"],["\n &:last-child > * {\n margin-inline: 0;\n }\n"]))),rOt=v.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-2"})(Byt||(Byt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?Rlt({backgroundColor:e.backgroundColor}):Rlt()})),oOt=v.default(o.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-3"})(Uyt||(Uyt=jnt(["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"],["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"])),(function(e){return e.theme.textColors.default}),6),aOt=v.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-4"})(qyt||(qyt=jnt(["\n display: block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"],["\n display: block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"])),6),sOt=v.default(Uct).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-5"})(Wyt||(Wyt=jnt(["\n height: auto;\n padding: 0;\n margin-block: 2px;\n margin-inline: 0 ","px;\n"],["\n height: auto;\n padding: 0;\n margin-block: 2px;\n margin-inline: 0 ","px;\n"])),6),lOt=function(e){var t=e.searchText,i=e.onSearchTextChange,r=e.onExecuteSearch,o=e.onSearchIconClick,a=e.onSearchInputFieldVisibilityChanged;return n.jsxs(n.Fragment,{children:[n.jsx(cOt,{children:n.jsx(Mvt,{searchText:t,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:a,isToolbarMode:!0})}),n.jsx(uOt,{children:n.jsx(Avt,{iconName:"Search",onClick:o,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"})})]})},cOt=v.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(Gyt||(Gyt=jnt(["\n display: flex;\n justify-content: flex-end;\n max-width: 300px;\n flex-grow: 1;\n @media (max-width: ","px) {\n display: none;\n }\n"],["\n display: flex;\n justify-content: flex-end;\n max-width: 300px;\n flex-grow: 1;\n @media (max-width: ","px) {\n display: none;\n }\n"])),Use),uOt=v.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(Vyt||(Vyt=jnt(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),Mse),dOt=function(e){var i=e.leftSide,r=e.hideLeftSide,o=e.rightSide,a=e.hideRightSide,s=e.search,l=e.className,c=e.children,u=t.useState(!1),d=u[0],p=u[1];return n.jsxs(pOt,Dnt({className:l,"data-content-toolbar":!0},{children:[n.jsxs(mOt,{children:[i&&!r&&n.jsx(fOt,{children:i}),(o||s)&&!a&&n.jsxs(hOt,{children:[s&&n.jsx(lOt,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?f():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}}),o]})]}),c,s&&d&&n.jsx(gOt,{children:n.jsx(Ivt,{onClear:f,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0})})]}));function f(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),p(!1)}},pOt=v.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(Xyt||(Xyt=jnt(["\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n justify-content: center;\n background-color: ",";\n box-shadow: 1px 1px 4px grey;\n padding: ","px;\n min-height: 36px;\n\n // min-width required if you want to use overflow:hidden or similar stuff on parent elements\n // see: https://stackoverflow.com/questions/43809612/prevent-a-child-element-from-overflowing-its-parent-in-flexbox\n min-width: 0;\n"],["\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n justify-content: center;\n background-color: ",";\n box-shadow: 1px 1px 4px grey;\n padding: ","px;\n min-height: 36px;\n\n // min-width required if you want to use overflow:hidden or similar stuff on parent elements\n // see: https://stackoverflow.com/questions/43809612/prevent-a-child-element-from-overflowing-its-parent-in-flexbox\n min-width: 0;\n"])),(function(e){return e.theme.palette.white}),3),fOt=v.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(Hyt||(Hyt=jnt(["\n display: flex;\n\n flex-wrap: nowrap;\n flex: 1 1 auto;\n\n min-width: 0;\n"],["\n display: flex;\n\n flex-wrap: nowrap;\n flex: 1 1 auto;\n\n min-width: 0;\n"]))),hOt=v.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(Yyt||(Yyt=jnt(["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n flex: 1 1 auto;\n"],["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n flex: 1 1 auto;\n"]))),mOt=v.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(Zyt||(Zyt=jnt(["\n display: flex;\n flex: 1 1 auto;\n\n min-width: 0;\n"],["\n display: flex;\n flex: 1 1 auto;\n\n min-width: 0;\n"]))),gOt=v.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(Kyt||(Kyt=jnt(["\n display: flex;\n width: 100%;\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n display: flex;\n width: 100%;\n @media (min-width: ","px) {\n display: none;\n }\n"])),Mse);v.default(dOt).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(Jyt||(Jyt=jnt(["\n margin-top: ","px;\n margin-bottom: ","px;\n\n flex: 0 0 auto;\n\n @media (min-width: ","px) {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n"],["\n margin-top: ","px;\n margin-bottom: ","px;\n\n flex: 0 0 auto;\n\n @media (min-width: ","px) {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n"])),Dse,Dse,Mse,Ase,Ase),v.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(eOt||(eOt=jnt(["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"]))),v.default.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(tOt||(tOt=jnt([""],[""])));var vOt,bOt,yOt,OOt,wOt,_Ot,xOt,kOt,SOt,EOt,COt,POt=function(e){var i=e.onEmojiSelected,o=e.disabled,a=t.useRef(null),s=t.useState(!1),l=s[0],c=s[1],u=RD().formatMessage;return n.jsxs(n.Fragment,{children:[n.jsx(FOt,Dnt({ref:a},{children:n.jsx(Blt,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return c(!0)},disabled:o,ariaLabel:u({id:"AriaLabel.emojiButton"})})})),l&&n.jsx(TOt,Dnt({directionalHint:r.DirectionalHint.topCenter,target:a.current,onDismiss:function(){return c(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:n.jsx(AOt,{onSelect:function(e){c(!1),i(e.native)}})}))]})},FOt=v.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(vOt||(vOt=jnt([""],[""]))),TOt=v.default(Xct).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(bOt||(bOt=jnt(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),DOt=t.lazy((function(){return Promise.resolve().then((function(){return EJr}))})),AOt=function(e){var i=e.onSelect,r=Sj();return n.jsx(t.Suspense,Dnt({fallback:n.jsx(IOt,Dnt({isSmaller:r.width<zse},{children:n.jsx(qut,{})}))},{children:n.jsx(DOt,{onSelect:i})}))},IOt=v.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(yOt||(yOt=jnt(["\n // we set an initial width which is similar to what the emoji picker will be once it's loaded\n // we have to do this so the callout is rendered in the correct place\n width: ","px;\n height: 400px;\n"],["\n // we set an initial width which is similar to what the emoji picker will be once it's loaded\n // we have to do this so the callout is rendered in the correct place\n width: ","px;\n height: 400px;\n"])),(function(e){return e.isSmaller?319:400})),$Ot=function(){var e=hh();return n.jsx(ROt,{children:n.jsx("a",Dnt({href:"https://giphy.com",target:"_blank",rel:"noreferrer"},{children:n.jsx("img",{src:"".concat(e.webAppUrl,"/assets/giphy/PoweredBy_200px-White_HorizText.png"),alt:"Giphy Attribution"})}))})},ROt=v.default.div.withConfig({displayName:"GiphyAttribution__AttributionHost",componentId:"wzd9dv-0"})(OOt||(OOt=jnt(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),jOt=function(e){var i,o,a=e.onGifClick,s=e.className,l=Ph(),c=RD().formatMessage,u=new Eve.GiphyFetch(l.giphy.apiKey),d=t.useState(null),p=d[0],f=d[1],h=STe(p,500)[0],m=Sj(),g=kj((function(){if(!h)return u.trending({limit:21});return u.search(h,{limit:21})}),null,[h]),v=g[0],b=g[1],y=m.width<550?80:100;return n.jsxs(zOt,Dnt({className:s},{children:[n.jsx(r.SearchBox,{placeholder:c({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return f(t)},autoFocus:!0}),n.jsxs(MOt,Dnt({columnWidth:y,"data-gif-grid":!0},{children:[b&&n.jsx(qut,{delay:300}),0===(null===(i=null==v?void 0:v.data)||void 0===i?void 0:i.length)&&n.jsx(tA,{id:"Generic.noResultsFound"}),null===(o=null==v?void 0:v.data)||void 0===o?void 0:o.map((function(e){return n.jsx(LOt,{gif:e,width:y,height:y,noLink:!0,hideAttribution:!0,onGifClick:a},e.id)}))]}))]}))},zOt=v.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(wOt||(wOt=jnt(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),MOt=v.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(_Ot||(_Ot=jnt(["\n margin-top: ","px;\n display: grid;\n grid-template-columns: repeat(auto-fit, ","px);\n grid-gap: ","px;\n justify-content: space-around;\n"],["\n margin-top: ","px;\n display: grid;\n grid-template-columns: repeat(auto-fit, ","px);\n grid-gap: ","px;\n justify-content: space-around;\n"])),Dse,(function(e){return e.columnWidth}),6),LOt=v.default(fhe.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(xOt||(xOt=jnt(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),NOt=function(e){var t=e.target,i=e.onGifClick,o=e.onDismiss;return n.jsxs(QOt,Dnt({directionalHint:r.DirectionalHint.topCenter,target:t,onDismiss:o,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[n.jsx(BOt,{onGifClick:i}),n.jsx($Ot,{})]}))},QOt=v.default(Xct).withConfig({displayName:"GifSelectorCallout__StyledCallout",componentId:"zlblkl-0"})(kOt||(kOt=jnt(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),BOt=v.default(jOt).withConfig({displayName:"GifSelectorCallout__StyledGifSelector",componentId:"zlblkl-1"})(SOt||(SOt=jnt(["\n & [data-gif-grid] {\n overflow-y: auto;\n height: 400px;\n }\n"],["\n & [data-gif-grid] {\n overflow-y: auto;\n height: 400px;\n }\n"])));i.createGlobalStyle(EOt||(EOt=jnt(["\n .lt-reach.dialog-gif-selector {\n .ms-Dialog-main {\n width: 400px !important;\n\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n}\n"],["\n .lt-reach.dialog-gif-selector {\n .ms-Dialog-main {\n width: 400px !important;\n\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n}\n"])),Bse),v.default(jOt).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(COt||(COt=jnt(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Dse);var UOt,qOt,WOt,GOt,VOt,XOt,HOt=function(e){var i=e.disabled,r=e.onGifClick,o=dre(),a=RD().formatMessage,s=t.useRef(),l=t.useState(!1),c=l[0],u=l[1];return o.giphy?n.jsxs("div",{children:[n.jsx("div",Dnt({ref:s},{children:n.jsx(Blt,{iconProps:{iconName:"Gif"},onClick:function(){return u(!0)},disabled:i,"data-button-type":"gif",ariaLabel:a({id:"AriaLabel.gifButton"})})})),c&&n.jsx(n.Fragment,{children:n.jsx(NOt,{target:s.current,onGifClick:function(e){u(!1),r({id:e.id.toString(),filename:e.title,url:e.embed_url,type:zre.Giphy})},onDismiss:function(){return u(!1)}})})]}):null},YOt=function(e){var i=e.gifInfo,r=e.className,o=Ph(),a=t.useState(),s=a[0],l=a[1];return t.useEffect((function(){new Eve.GiphyFetch(o.giphy.apiKey).gif(i.id).then((function(e){return l(e.data)}))}),[o.giphy.apiKey,i.id]),s?n.jsx(ZOt,Dnt({className:r},{children:n.jsx(KOt,{gif:s,width:300,noLink:!0,hideAttribution:!0})})):null},ZOt=v.default.div.withConfig({displayName:"GifView__Host",componentId:"bfkyy5-0"})(UOt||(UOt=jnt([""],[""]))),KOt=v.default(fhe.Gif).withConfig({displayName:"GifView__StyledGif",componentId:"bfkyy5-1"})(qOt||(qOt=jnt(["\n && {\n max-width: 100%;\n }\n\n @media (max-width: ","px) {\n /* because the style is inline set we need to overwrite it via !important */\n width: auto !important;\n height: auto !important;\n > div {\n width: auto !important;\n height: auto !important;\n\n img {\n max-width: 100%;\n height: auto;\n }\n }\n }\n"],["\n && {\n max-width: 100%;\n }\n\n @media (max-width: ","px) {\n /* because the style is inline set we need to overwrite it via !important */\n width: auto !important;\n height: auto !important;\n > div {\n width: auto !important;\n height: auto !important;\n\n img {\n max-width: 100%;\n height: auto;\n }\n }\n }\n"])),Bse),JOt=function(e){var t=e.attachments,i=e.onDeleteClick,r=e.className,o=RD().formatMessage,a=t.filter((function(e){return e.type===zre.Giphy}));return 0===a.length?null:n.jsx(ewt,Dnt({className:r,"data-gif-attachment-list":!0},{children:a.map((function(e){return n.jsx(twt,Dnt({domIdentifier:"gif",deleteButton:n.jsx(oyt,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})})},{children:n.jsx(YOt,{gifInfo:e})}),e.id)}))}))},ewt=v.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(WOt||(WOt=jnt(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),twt=v.default(Lct).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(GOt||(GOt=jnt(["\n width: auto;\n"],["\n width: auto;\n"]))),nwt=function(e){var t=e.attachments,i=e.className,r=t.filter((function(e){return e.type===zre.Giphy}));return 0===r.length?null:n.jsx(iwt,Dnt({className:i,"data-gif-url-preview":r[0].id},{children:n.jsx(rwt,{children:n.jsx(YOt,{gifInfo:r[0]})})}))},iwt=v.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(VOt||(VOt=jnt(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),rwt=v.default(Lct).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(XOt||(XOt=jnt(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),Dse);var owt,awt,swt,lwt=function(e){var i,o,a=t.useRef(null),s=t.useState(!1),l=s[0],c=s[1];return n.jsxs(cwt,Dnt({className:e.className},((i={})[e.dataAttribute]=!0,i),{ref:a},{children:[n.jsx(uwt,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return Int(this,void 0,void 0,(function(){var t,n;return $nt(this,(function(i){switch(i.label){case 0:return(t=e.disabled)?[3,3]:(n=e.onIconClick)?[4,e.onIconClick()]:[3,2];case 1:n=i.sent(),i.label=2;case 2:t=n,i.label=3;case 3:return t||c(!l),[2]}}))}))},ariaLabel:e.ariaLabel,disabled:e.disabled}),l&&n.jsx(dwt,Dnt({className:"icon-with-callout-content",target:a,directionalHint:null==e.directionalHint?r.DirectionalHint.rightCenter:e.directionalHint,gapSpace:4,onDismiss:function(){var t;c(!1),null===(t=e.onCalloutDismissed)||void 0===t||t.call(e)},calloutWidth:null!==(o=e.calloutWidth)&&void 0!==o?o:0},{children:e.children}))]}))},cwt=v.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(owt||(owt=jnt(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),uwt=v.default(Blt).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(awt||(awt=jnt(["\n width: auto;\n height: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n"],["\n width: auto;\n height: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n"]))),dwt=v.default(Xct).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(swt||(swt=jnt(["\n && {\n font-family: 'Roboto', sans-serif;\n padding: 10px;\n max-width: 700px !important;\n\n h2 {\n margin: 10px;\n }\n }\n"],["\n && {\n font-family: 'Roboto', sans-serif;\n padding: 10px;\n max-width: 700px !important;\n\n h2 {\n margin: 10px;\n }\n }\n"]))),pwt="video-view-container";function fwt(e,t){return void 0===t&&(t=!1),null==e||0===e.trim().length||t&&function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.innerText.trim().length&&null===t.querySelector("div")}(e)}var hwt,mwt,gwt,vwt,bwt,ywt,Owt,wwt,_wt,xwt=function(e){var i=e.onNextClick,r=e.onPrevClick,o=e.onFirstClick,a=e.hidePrevButton,s=e.hideNextButton,l=e.isLoadingNextPage,c=e.className,u=RD().formatMessage,d=t.useContext(ipe).theme.palette;return s&&a?null:n.jsxs(kwt,Dnt({className:c},{children:[n.jsx($lt,Dnt({resourceKey:"Lib.paging.goToFirstPage"},{children:n.jsx(Ewt,{ariaLabel:u({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:a,onClick:o,color:d.accent,"data-horizontal-pager-first-page-button":!0})})),n.jsx(Cwt,{iconProps:{iconName:"ChevronLeftSmall"},text:u({id:"Generic.previous.page.button.text"}),isHidden:a,onClick:r,color:d.accent,"data-horizontal-pager-back-button":!0}),n.jsx(Pwt,{iconProps:{iconName:"ChevronRightSmall"},text:u({id:"Generic.next.page.button.text"}),disabled:l,isHidden:s,onClick:i,color:d.accent,"data-horizontal-pager-more-button":!0})]}))},kwt=v.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(hwt||(hwt=jnt(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),Ase),Swt=v.default(Uct).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(gwt||(gwt=jnt(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&i.css(mwt||(mwt=jnt(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),Ewt=v.default(Swt).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(vwt||(vwt=jnt([""],[""]))),Cwt=v.default(Swt).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(bwt||(bwt=jnt([""],[""]))),Pwt=v.default(Swt).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(ywt||(ywt=jnt(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));v.default.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(Owt||(Owt=jnt(["\n margin: 0;\n text-align: center;\n color: ",";\n"],["\n margin: 0;\n text-align: center;\n color: ",";\n"])),(function(e){return e.theme.palette.neutralSecondary})),v.default.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(wwt||(wwt=jnt(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),Rse),v.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(_wt||(_wt=jnt(["\n height: ","px;\n"],["\n height: ","px;\n"])),Ase);var Fwt=Knt,Twt=Array.isArray||function(e){return"Array"==Fwt(e)},Dwt=Twt,Awt=Lrt,Iwt=idt,$wt=function(e,t,n,i,r,o,a,s){for(var l,c=r,u=0,d=!!a&&Iwt(a,s,3);u<i;){if(u in n){if(l=d?d(n[u],u,t):n[u],o>0&&Dwt(l))c=$wt(e,t,l,Awt(l.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=l}c++}u++}return c},Rwt=$wt,jwt=ait,zwt=Twt,Mwt=_at("species"),Lwt=Rwt,Nwt=Tot,Qwt=Lrt,Bwt=Pot,Uwt=function(e,t){var n;return zwt(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!zwt(n.prototype)?jwt(n)&&null===(n=n[Mwt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function qwt(e,n,i){var r=function(e){var n=t.useState(0),i=n[0],r=n[1],o=t.useState({pages:{},paginationToken:null,hasNextPage:!0}),a=o[0],s=o[1];return{state:a,setInitialPages:function(e,t,n){s({pages:{0:Rnt([],e||[],!0)},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){s((function(r){var o;return{pages:PTe(r.pages,(o={},o[e]={$set:t},o)),paginationToken:n,hasNextPage:i}}))},lastFetchedPageIndex:i,updateLastFetchedPageIndex:function(t){r(t?e*t:function(t){return t+e})},updateItem:function(e,t){s((function(n){for(var i=Dnt({},n.pages),r=Object.keys(i).length,o=0;o<r;){var a=Object.keys(i)[o++],s=i[a];if(s.find((function(t){return t.id===e}))){i[a]=s.map((function(n){return n.id===e?t:n}));break}}return Dnt(Dnt({},n),{pages:i})}))},insertToTheFront:function(t){for(var n,o,l=Rnt([t],(null===(n=a.pages)||void 0===n?void 0:n[0])||[],!0),c=Dnt(Dnt({},a.pages),{0:l}),u=Object.keys(c).length,d=0;d<u;){var p=0===d,f=Object.keys(c)[d],h=c[f].length;if(p&&h>e&&h<=2*e){i<2*e&&r(i+e);break}if(h<=e)break;var m=c[f].pop(),g=null!==(o=Object.keys(c)[d+1])&&void 0!==o?o:p?2*e:+f+e,v=c[g];if(!v){a.hasNextPage||(c[g]=[m],r(i+e));break}v.unshift(m),d++}s(Dnt(Dnt({},a),{pages:c}))},deleteItem:function(t){for(var n=Dnt({},a.pages),o=Object.keys(n).length,l=0;l<o;){var c=Object.keys(n)[l],u=n[c].find((function(e){return e.id===t}));if(u){n[c]=n[c].filter((function(e){return e.id!==t}));break}l++}for(var d=!1;l<o;){if(!n[c=Object.keys(n)[l++]].length&&l===o){delete n[c],d=!0;break}var p=Object.keys(n)[l],f=p?n[p]:null;if(!f)break;var h=f.shift();n[c].push(h)}s(Dnt(Dnt({},a),{pages:n}));var m=(d||n[0].length===e)&&i>e;return m&&r(i-e),m}}}(e),o=r.state,a=r.setInitialPages,s=r.updatePageItems,l=r.lastFetchedPageIndex,c=r.updateLastFetchedPageIndex,u=r.updateItem,d=r.insertToTheFront,p=r.deleteItem,f=t.useState(0),h=f[0],m=f[1],g=t.useState(!0),v=g[0],b=g[1],y=t.useState(!1),O=y[0],w=y[1],_=t.useState(null),x=_[0],k=_[1];t.useEffect((function(){E()}),Rnt([e],i||[],!0));var S=Object.keys(o.pages).flatMap((function(e){return o.pages[e]})).slice(h-e,h);return{items:S,isInitialLoading:v,isLoadingNextPage:O,error:x,getFirstPage:function(){return m(e)},getPrevPage:function(){return m(h-e)},getNextPage:function(){return Int(this,void 0,void 0,(function(){return $nt(this,(function(t){switch(t.label){case 0:return m(h+e),o.hasNextPage&&h===l-e?[4,C(o.paginationToken)]:[3,2];case 1:t.sent(),c(),t.label=2;case 2:return[2]}}))}))},isFirstPage:h===e,isLastPage:h===l&&!o.hasNextPage,isEmpty:!v&&0===(null==S?void 0:S.length),insertToTheFront:d,updateItem:u,onBeforeDeleteItem:function(t){var n=p(t);!o.hasNextPage&&n&&h>=l&&h>0&&m(h-e);w(!0)},onAfterDeleteItem:function(){return Int(this,void 0,void 0,(function(){return $nt(this,(function(t){switch(t.label){case 0:return o.hasNextPage?o.paginationToken!==2*e?[3,2]:[4,E()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,C(+o.paginationToken-e)];case 3:t.sent(),c(),t.label=4;case 4:return w(!1),[2]}}))}))}};function E(){return Int(this,void 0,void 0,(function(){var t,i;return $nt(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,3,4]),[4,n(2*e,null)];case 1:return t=r.sent(),a(t.items,t.paginationToken,t.hasNextPage),t.items.length<=e?(c(1),m(e)):(c(2),m(e)),[3,4];case 2:return i=r.sent(),sO.error(i),k(i),[3,4];case 3:return b(!1),[7];case 4:return[2]}}))}))}function C(t){return Int(this,void 0,void 0,(function(){var i,r;return $nt(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),w(!0),[4,n(e,t)];case 1:return i=o.sent(),s(t,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=o.sent(),sO.error(r),k(x),[3,4];case 3:return w(!1),[7];case 4:return[2]}}))}))}}Cot({target:"Array",proto:!0},{flatMap:function(e){var t,n=Nwt(this),i=Qwt(n.length);return Bwt(e),(t=Uwt(n,0)).length=Lwt(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),rst("flatMap");var Wwt,Gwt,Vwt,Xwt,Hwt,Ywt,Zwt,Kwt=function(e){var i=e.onNextClick,r=e.onPrevClick,o=e.hidePagination,a=e.disablePrevButton,s=e.disableNextButton,l=e.children,c=e.className,u=t.useContext(ipe).theme.palette,d=RD().formatMessage;return o?n.jsx(n.Fragment,{children:l}):n.jsxs(Jwt,Dnt({className:c},{children:[n.jsx(t_t,{disabled:a,onClick:r,iconProps:{iconName:"ChevronUpSmall"},color:u.accent,ariaLabel:d({id:"Lib.paging.previous"})}),n.jsx(i_t,{children:l}),n.jsx(n_t,{disabled:s,onClick:i,iconProps:{iconName:"ChevronDownSmall"},color:u.accent,ariaLabel:d({id:"Lib.paging.next"})})]}))},Jwt=v.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(Wwt||(Wwt=jnt(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),e_t=v.default(Blt).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(Gwt||(Gwt=jnt(["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"],["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"])),Kde),t_t=v.default(e_t).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(Vwt||(Vwt=jnt(["\n &:not([disabled]):hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"],["\n &:not([disabled]):hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"])),(function(e){return e.color})),n_t=v.default(e_t).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(Xwt||(Xwt=jnt(["\n &:not([disabled]):hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"],["\n &:not([disabled]):hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"])),(function(e){return e.color})),i_t=v.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(Hwt||(Hwt=jnt(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),Ase,15),r_t=t.createContext(null);v.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(Ywt||(Ywt=jnt(["\n width: 100%;\n"],["\n width: 100%;\n"]))),v.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(Zwt||(Zwt=jnt(["\n display: contents;\n"],["\n display: contents;\n"])));var o_t,a_t,s_t,l_t,c_t,u_t,d_t,p_t,f_t,h_t=i.css(o_t||(o_t=jnt(["\n .ms-Dropdown,\n .ms-Dropdown-title {\n border: none;\n &:focus::after {\n border: none;\n }\n }\n\n .ms-Dropdown-title,\n .ms-Dropdown-caretDownWrapper {\n line-height: 32px;\n }\n"],["\n .ms-Dropdown,\n .ms-Dropdown-title {\n border: none;\n &:focus::after {\n border: none;\n }\n }\n\n .ms-Dropdown-title,\n .ms-Dropdown-caretDownWrapper {\n line-height: 32px;\n }\n"]))),m_t=i.css(a_t||(a_t=jnt(["\n ","\n\n @media (min-width: ","px) {\n padding-right: ","px;\n }\n"],["\n ","\n\n @media (min-width: ","px) {\n padding-right: ","px;\n }\n"])),h_t,Mse,Ase),g_t=i.css(s_t||(s_t=jnt(["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n flex: 0 0 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"],["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n flex: 0 0 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.theme.textColors.default})),v_t=i.css(l_t||(l_t=jnt(["\n .content-toolbar-dropdown {\n min-width: 300px;\n .ms-Dropdown-item {\n padding: 0;\n border: 0;\n > span {\n width: 100%;\n }\n }\n\n @media (max-width: ","px) {\n max-width: 80% !important;\n }\n }\n"],["\n .content-toolbar-dropdown {\n min-width: 300px;\n .ms-Dropdown-item {\n padding: 0;\n border: 0;\n > span {\n width: 100%;\n }\n }\n\n @media (max-width: ","px) {\n max-width: 80% !important;\n }\n }\n"])),Use),b_t="AllChannels",y_t=i.createGlobalStyle(c_t||(c_t=jnt(["\n ","\n"],["\n ","\n"])),v_t),O_t=v.default(Out).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(u_t||(u_t=jnt(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),m_t),w_t=v.default(o.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(d_t||(d_t=jnt(["\n ","\n"],["\n ","\n"])),g_t),__t=v.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(p_t||(p_t=jnt(["\n ",";\n"],["\n ",";\n"])),g_t),x_t=function(e){var t=e.handler,i=e.disabled;return dre().unreadTracking?n.jsx(Avt,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:t,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0}):null},k_t=function(e){var t=e.onClick,i=e.to,r=e.disabled;return n.jsx(Avt,{tooltipResourceKey:"Generic.showManageView",disabled:r,iconName:"edit",to:null==i?void 0:i.url,target:null==i?void 0:i.target,onClick:t,"data-toolbar-manage-button":!0,ariaLabelResourceKey:"AriaLabel.goToManageView"})};e.EventView=void 0,(f_t=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",f_t.MyBookedEvents="booked",f_t.PastEvents="past";var S_t,E_t,C_t,P_t,F_t=i.createGlobalStyle(S_t||(S_t=jnt(["\n ","\n"],["\n ","\n"])),v_t),T_t=v.default(Out).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(E_t||(E_t=jnt(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),m_t),D_t=v.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(C_t||(C_t=jnt(["\n ",";\n"],["\n ",";\n"])),g_t);function A_t(){var e=jY(),n=e.createApiUrl,i=e.fetchFromApi,r=t.useContext(Pj).onRequestToken;return t.useMemo((function(){return{uploadImage:function(e,t,n,o,a){return Int(this,void 0,void 0,(function(){var s,l,c;return $nt(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image.".concat(LK.getExtension(a.type))),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:$Y(l,t)},[2,i("".concat(e,"/attachments/").concat(o,"/images/").concat(n),c)]}}))}))},uploadFile:function(e,t,n,o,a){return Int(this,void 0,void 0,(function(){var s,l,c;return $nt(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:$Y(l,t)},[2,i("".concat(e,"/attachments/").concat(o,"/files/").concat(n),c)]}}))}))},getFileUrl:function(e,t,i,r,o){if(null!=o||(o=i.fileAccessToken),!o)return null;return n("".concat(e,"/attachments/").concat(i.attachmentContainerId,"/files/").concat(r),{subscriptionId:t,access_token:o})},getImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)},getChatMessageImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)}};function e(e,t,i,r,o,a,s){var l;return l=null==a?"".concat(e,"/attachments/").concat(r,"/images/").concat(o):"default"===a?"".concat(e,"/attachments/").concat(r,"/images/").concat(o,"/default"):"".concat(e,"/attachments/").concat(r,"/images/").concat(o,"/").concat(a,"/").concat(s||""),n(l,{subscriptionId:t,access_token:i})}}),[r,i,n])}function I_t(){var e=zY();return t.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return Int(this,void 0,void 0,(function(){var t;return $nt(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,Eoe.apply(void 0,Rnt([e],t,!1))]}}))}))},resolveActiveLanguages:function(e){return Int(this,void 0,void 0,(function(){return $nt(this,(function(t){switch(t.label){case 0:return[4,n()];case 1:return[2,t.sent().filter((function(t){return e.languages.find((function(e){return e.code===t.code}))}))]}}))}))},resolveUserLanguage:function(e){return Int(this,void 0,void 0,(function(){var t;return $nt(this,(function(i){switch(i.label){case 0:return t=e.subscription.languages,[4,n()];case 1:return[2,i.sent().filter((function(e){return t.find((function(t){return t.code===e.code}))}))]}}))}))}};function n(){return t||(t=e.all("languages").getAll().then((function(e){return e.body().map((function(e){return e.data()}))})))}}),[e])}function $_t(){var e=jY(),n=e.createApiUrl,i=e.fetchFromApi;return t.useMemo((function(){return{getVideoThumbnailUrl:function(e,t,i,r,o,a,s,l){void 0===s&&(s=0);return n("/videos/".concat(encodeURIComponent(r),"/thumbnail/").concat("number"==typeof s?s:0,"/").concat(l||""),{access_token:e,subscriptionId:t,videoSource:i,itemId:o,hasCustomThumbnail:a})},getBannerVideoThumbnailUrl:function(e,t,i,r,o,a){return n("/".concat(r,"/").concat(t,"/videos/banner/thumbnail/").concat("number"==typeof o?o:0,"/").concat(a||""),{access_token:e,subscriptionId:i})},uploadCustomVideoThumbnail:function(e,t,n,r,o){return Int(this,void 0,void 0,(function(){var a,s;return $nt(this,(function(l){switch(l.label){case 0:return(a=new FormData).append("file",o),s={method:"POST",body:a,headers:$Y(e,n)},[4,i("/editor/".concat(t,"/videos/").concat(encodeURIComponent(r),"/thumbnail"),s)];case 1:return[2,l.sent()]}}))}))}}}),[n,i])}i.createGlobalStyle(P_t||(P_t=jnt(["\n *:not(input):not(textarea) {\n -webkit-user-select: none; /* disable selection/Copy of UIWebView */\n -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */\n }\n"],["\n *:not(input):not(textarea) {\n -webkit-user-select: none; /* disable selection/Copy of UIWebView */\n -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */\n }\n"])));var R_t,j_t,z_t,M_t,L_t,N_t,Q_t,B_t,U_t,q_t,W_t,G_t,V_t,X_t,H_t=function(){function e(){this.type=e.type}return e.create=function(t){var n=new e;return n.upn=t,n},e.type="user_avatar_update",e}(),Y_t=function(e){var i=dre(),r=t.useState(null),o=r[0],a=r[1],s=noe().getUserAvatarUrl;if(Rpe(H_t.type,(function(t){return t.upn===e.upn&&c(e.upn,e.tenantId),!1}),[e.upn]),t.useEffect((function(){var t=c(e.upn,e.tenantId);return function(){return null==t?void 0:t.unsubscribe()}}),[e.upn]),!i.avatars)return null;var l=IE(e.text||e.displayName||e.upn);return n.jsx(Z_t,Dnt({},e,!e.ignoreOverrides&&{"data-avatar":!0},{text:e.text,imageUrl:o,imageShouldFadeIn:!1,imageInitials:l,initialsColor:$E(l),secondaryText:!e.forceShowSecondaryText&&jre(e.secondaryText)?null:e.secondaryText}));function c(e,t){return null==e?(a(null),null):s(e,t).subscribe((function(e){a(e)}),(function(e){return console.log(e)}))}},Z_t=v.default(r.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(R_t||(R_t=jnt(["\n && {\n .ms-Persona-image {\n img {\n max-width: 100%;\n width: auto;\n height: auto;\n }\n }\n }\n"],["\n && {\n .ms-Persona-image {\n img {\n max-width: 100%;\n width: auto;\n height: auto;\n }\n }\n }\n"]))),K_t=function(e){var t=e.className,i=e.iconName,r=e.tooltipResourceKey,o=e.tooltipText,a=e.children;return a?n.jsxs(ext,Dnt({className:t},{children:[i&&n.jsx($lt,Dnt({resourceKey:r,text:o},{children:n.jsx(J_t,{iconName:i},"icon")})),n.jsx(txt,Dnt({dir:"auto"},{children:a}))]})):null},J_t=v.default(r.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(j_t||(j_t=jnt(["\n && {\n cursor: default;\n display: flex;\n padding-inline-end: 8px;\n padding-top: 1px;\n }\n"],["\n && {\n cursor: default;\n display: flex;\n padding-inline-end: 8px;\n padding-top: 1px;\n }\n"]))),ext=v.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(z_t||(z_t=jnt(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),txt=v.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContent",componentId:"sc-yfrgje-2"})(M_t||(M_t=jnt([""],[""]))),nxt=function(e){var t=e.email;return jre(t)?null:n.jsx(K_t,Dnt({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:n.jsx(uxt,Dnt({href:"mailto:".concat(t)},{children:t}))}))},ixt=function(e){var t=e.value,i=RD().formatMessage;return null==t?null:n.jsx(K_t,Dnt({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:n.jsx(uxt,Dnt({href:"tel:".concat(t)},{children:i({id:"Generic.callMobile"},{number:t})}))}))},rxt=function(e){var t=e.value,i=RD().formatMessage;return null==t?null:(t="string"==typeof t?[t]:t,n.jsx(n.Fragment,{children:t.map((function(e,t){return n.jsx(K_t,Dnt({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:n.jsx(uxt,Dnt({href:"tel:".concat(e)},{children:i({id:"Generic.callOffice"},{number:e})}))}),e+t)}))}))},oxt=function(e){var t=e.value,i=e.tooltipResourceKey,r=dre();return null==t?null:n.jsx(K_t,Dnt({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?n.jsx(uxt,Dnt({target:"_blank",rel:"noopener noreferrer",href:kbt(t)},{children:t})):n.jsx(n.Fragment,{children:t})}))},axt=function(e){var t=e.value;return null==t?null:n.jsx(K_t,Dnt({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:t}))},sxt=function(e){var t=e.value;return null==t?null:n.jsx(K_t,Dnt({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:t}))},lxt=function(e){var t=e.value,i=Due().buildPath,r=dre();if(!(null==t?void 0:t.userId)||!r.chat)return null;var o={id:t.userId,displayName:t.displayName,userPrincipalName:t.userPrincipalName};return n.jsx(K_t,Dnt({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:n.jsx(dxt,Dnt({to:"".concat(i("chats/new"),"?").concat(Zy.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName}))},{children:n.jsx(tA,{id:"Generic.sendChatMessage"})}))}))},cxt=i.css(L_t||(L_t=jnt(["\n color: ",";\n &:hover {\n text-decoration: underline;\n }\n"],["\n color: ",";\n &:hover {\n text-decoration: underline;\n }\n"])),(function(e){return e.theme.palette.accent})),uxt=v.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(N_t||(N_t=jnt(["\n ","\n"],["\n ","\n"])),cxt),dxt=v.default(o.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(Q_t||(Q_t=jnt(["\n ","\n"],["\n ","\n"])),cxt),pxt={mobilePhone:ixt,department:axt,address:oxt},fxt=function(e){var i=e.className,r=e.value,o=e.definition,a=function(){var e=ure(),t=RD().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=vE(e.preferredUiLanguage),o=i.translations||{},a=Object.keys(n);return r&&o[r]||o[e.subscription.defaultLanguage]||i.label||a.some((function(e){return e===i.name}))&&t({id:"Generic.".concat(i.name)})||i.name},getPropertyIcon:function(e){var t,i;return null!==(i=null===(t=n[e.name])||void 0===t?void 0:t.iconName)&&void 0!==i?i:"UserOptional"}}}(),s=a.getPropertyLabel,l=a.getPropertyIcon;if(null==r)return null;var c=s(o),u=l(o),d=pxt[o.name];return d?t.createElement(d,{value:r}):n.jsx(K_t,Dnt({iconName:u,tooltipText:c,className:i},{children:r}))},hxt=function(e){var t,i,r,o,a,s=e.user,l=e.ignoredProperties,c=void 0===l?[]:l;return n.jsxs(n.Fragment,{children:[!c.includes("department")&&n.jsx(axt,{value:null===(t=s.properties)||void 0===t?void 0:t.department}),!c.includes("jobTitle")&&n.jsx(sxt,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle}),!c.includes("mobilePhone")&&n.jsx(ixt,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone}),!c.includes("businessPhones")&&n.jsx(rxt,{value:null===(o=s.properties)||void 0===o?void 0:o.businessPhones}),!c.includes("chatMessage")&&n.jsx(lxt,{value:s}),!c.includes("officeLocation")&&n.jsx(oxt,{value:null===(a=s.properties)||void 0===a?void 0:a.officeLocation})]})},mxt=function(e){var t=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,o=ure();return n.jsxs(n.Fragment,{children:[!r.includes("chatMessage")&&n.jsx(lxt,{value:t}),o.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return n.jsx(fxt,{definition:e,value:null===(i=t.properties)||void 0===i?void 0:i[e.name]},e.name)}))]})},gxt=["displayName","department","jobTitle"],vxt=function(e){var t,i=e.upn,o=e.showAvatar,a=e.id,s=noe(),l=s.getUserInfo,c=s.getUserInfoById,u=kj((function(){return i?l(i):c(a)}),null,[i,a]),d=u[0],p=u[1];if(u[2])return n.jsx(bxt,{children:i?n.jsx(tA,{id:"Profile.CannotLoadInfo",values:{upn:i}}):n.jsx(tA,{id:"Profile.CannotLoadInfoByUserId"})});if(p)return n.jsx(wxt,{});var f=o?gxt:[];return n.jsxs(yxt,Dnt({"data-user-details":!0},{children:[o&&n.jsx(Y_t,{upn:d.userPrincipalName,size:r.PersonaSize.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle}),n.jsxs(Oxt,{children:[n.jsx(nxt,{email:null!==(t=d.mail)&&void 0!==t?t:d.userPrincipalName}),d.isDirectoryUser?n.jsx(hxt,{user:d,ignoredProperties:f}):n.jsx(mxt,{user:d,ignoredProperties:f})]})]}))},bxt=v.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(B_t||(B_t=jnt(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),yxt=v.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(U_t||(U_t=jnt(["\n font-size: ","px;\n .ms-Persona {\n margin-bottom: 8px;\n }\n\n .persona-card-children {\n cursor: pointer;\n }\n"],["\n font-size: ","px;\n .ms-Persona {\n margin-bottom: 8px;\n }\n\n .persona-card-children {\n cursor: pointer;\n }\n"])),Hse),Oxt=v.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(q_t||(q_t=jnt(["\n display: flex;\n flex: 1 1 auto;\n flex-flow: column;\n > div {\n &:not(:last-child) {\n padding-bottom: ","px;\n }\n }\n"],["\n display: flex;\n flex: 1 1 auto;\n flex-flow: column;\n > div {\n &:not(:last-child) {\n padding-bottom: ","px;\n }\n }\n"])),Dse),wxt=v.default(qut).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(W_t||(W_t=jnt(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),_xt=function(e){var i=e.upn,o=e.className,a=e.children,s=e.readOnly,l=e.domIdentifier,c=t.useRef(null),u=ure(),d=t.useState(!1),p=d[0],f=d[1];return s?n.jsx(kxt,Dnt({className:o},{children:a})):n.jsxs(n.Fragment,{children:[n.jsx(kxt,Dnt({ref:c,className:o},{children:n.jsx(Sxt,Dnt({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),f(!p)},ariaLabel:i,dir:"auto"},{children:a}),"children")})),p&&!u.isPublicUser&&n.jsx(Xct,Dnt({className:"persona-card-callout",directionalHint:r.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return f(!1)},target:c.current},{children:n.jsx(xxt,{children:n.jsx(vxt,{upn:i,showAvatar:!0})})}),"callout")]})},xxt=v.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(G_t||(G_t=jnt(["\n padding: ","px ","px;\n max-width: 300px;\n\n @media (min-width: ","px) {\n max-width: 450px;\n }\n"],["\n padding: ","px ","px;\n max-width: 300px;\n\n @media (min-width: ","px) {\n max-width: 450px;\n }\n"])),15,Ase,Mse),kxt=v.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(V_t||(V_t=jnt(["\n display: inline-flex;\n align-items: flex-start;\n font-weight: inherit;\n"],["\n display: inline-flex;\n align-items: flex-start;\n font-weight: inherit;\n"]))),Sxt=v.default(r.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(X_t||(X_t=jnt(["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n min-width: auto;\n height: auto;\n background-color: transparent;\n color: inherit;\n font-weight: inherit;\n\n &:hover {\n background-color: transparent;\n color: inherit;\n }\n\n .ms-Button-label {\n margin: 0;\n font-weight: inherit;\n }\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n min-width: auto;\n height: auto;\n background-color: transparent;\n color: inherit;\n font-weight: inherit;\n\n &:hover {\n background-color: transparent;\n color: inherit;\n }\n\n .ms-Button-label {\n margin: 0;\n font-weight: inherit;\n }\n }\n"])));function Ext(){return Ext=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ext.apply(this,arguments)}var Cxt=function(e){return m.createElement("svg",Ext({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),m.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),m.createElement("path",{d:"M134.231 141.48h149.1c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603-6.914 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h-39.522c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h71.856c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603H162.974c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602H91.118c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602h44.911c6.913 0 12.602 5.689 12.602 12.603 0 6.913-5.689 12.602-12.602 12.602H64.172c-6.914 0-12.603 5.689-12.603 12.603s5.689 12.603 12.603 12.603h70.059c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602v-.006Zm192.708-63.014c0 6.764 5.565 12.329 12.329 12.329 6.763 0 12.329-5.565 12.329-12.329 0-6.763-5.566-12.329-12.329-12.329h-.001c-6.763 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M237.898 60.069c0-4.967-4.033-9-9-9h-58.712c-4.967 0-9 4.033-9 9v45.014c0 4.967 4.033 9 9 9h58.712c4.967 0 9-4.033 9-9V60.069Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M90.299 68.815a32.862 32.862 0 0 1-23.217-18.138 1.364 1.364 0 0 1-.133-.589 1.377 1.377 0 0 1 1.64-1.343l14.747 2.964c3.116.644 6.364.001 9-1.781h.006a11.784 11.784 0 0 0 5.016-7.658l1.9-10.113c1.196-6.529-3.112-12.905-9.616-14.232l-14.751-2.964a1.37 1.37 0 0 1-.661-2.348 31.961 31.961 0 0 1 28.134-7.833c12.566 2.547 22.559 12.193 25.548 24.661a6.579 6.579 0 0 0 .938 1.004 7.774 7.774 0 0 0 3.616 1.753l26.592 5.344a819741.64 819741.64 0 0 0 119.067 23.943c6.256 1.287 10.396 7.424 9.247 13.707-1.019 5.418-5.796 9.38-11.309 9.38-.761 0-1.52-.076-2.266-.226l-55.525-11.174-28.93-5.826-64.138-12.884-.027-.006a1.668 1.668 0 0 0-.7-.007h-.022a1.621 1.621 0 0 0-.562.24 1.58 1.58 0 0 0-.444.441c-7.215 10.867-20.371 16.297-33.15 13.685Zm188.988 8.736a5.483 5.483 0 0 1-3.036.917c-3.008 0-5.485-2.476-5.485-5.485 0-3.009 2.477-5.485 5.485-5.485a5.49 5.49 0 0 1 4.567 2.446c1.666 2.507.975 5.94-1.531 7.607Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2,fillRule:"evenodd"}}),m.createElement("path",{d:"M237.898 30.672c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V30.672ZM218.72 21.083c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V21.083ZM199.542 16.973c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V16.973ZM180.364 19.713c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V19.713Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m162.903 110.39-17.592-16.8a10.428 10.428 0 0 1-3.933-8.151V65.39a8.809 8.809 0 0 1 4.147-7.536c2.597-1.617 25.763-10.645 25.915-10.739 4.419-2.471 5.974-2.074 8.321 2.135a9.067 9.067 0 0 1 1.219 4.608 8.791 8.791 0 0 1-4.359 7.66c-2.719 1.585-8.564 4.617-11.981 6.682-3.417 2.065-2.248 7.486 1.645 8.538 19.185 5.184 32.008 12.3 38.107 27.065M171.556 114.083h58.712c4.937 0 9 4.063 9 9v35.425h-76.712v-35.425c0-4.937 4.063-9 9-9Z",style:{fill:"#fff",fillRule:"evenodd",stroke:"currentColor",strokeWidth:2}}))};function Pxt(){return Pxt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Pxt.apply(this,arguments)}var Fxt=function(e){return m.createElement("svg",Pxt({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),m.createElement("path",{d:"M113.854 72h30.104c-6.623 0-12 5.377-12 12s5.377 12 12 12h-24.165c-6.623 0-12 5.377-12 12s5.377 12 12 12h74.873c6.623 0 12-5.377 12-12s-5.377-12-12-12h64.042c6.623 0 12-5.377 12-12s-5.377-12-12-12h1.125c-6.288 0-11.393-5.377-11.393-12s5.105-12 11.393-12h37.769c6.623 0 12-5.377 12-12s-5.377-12-12-12h-52.706c6.623 0 12-5.377 12-12s-5.377-12-12-12h-58.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h-22.167c-6.622 0-12 5.377-12 12s5.378 12 12 12h-50.375c-6.288 0-11.394 5.377-11.394 12s5.106 12 11.394 12Zm186.998 12c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m211.775 81.467 1.122-6.522-5.059-5.013 4.488-7.838-65.735-11.306c-.466-21.056-14.403-38.978-33.804-42.314-22.3-3.836-44.233 12.903-48.531 37.887-4.297 24.985 10.784 48.09 33.084 51.925 19.401 3.337 38.525-8.899 45.999-28.589l68.436 11.77ZM110.464 21.98c15.292 2.63 24.847 18.963 21.901 36.095-2.947 17.133-17.41 29.335-32.702 26.705-15.292-2.63-24.847-18.963-21.901-36.096 2.947-17.133 17.41-29.335 32.702-26.704Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M146.128 59.052c.317-1.091.547-2.172.748-3.27.307-1.69.51-3.341.715-4.99l-2-.007c.191 1.627.397 3.255.486 4.946.058 1.101.066 2.192.001 3.313l.05.008ZM145.614 61.745a30.11 30.11 0 0 1-1.108 3.121c-.649 1.565-1.387 3.03-2.111 4.5l1.887.662c.359-1.623.719-3.247.994-4.943a32.34 32.34 0 0 0 .387-3.332l-.049-.008Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"m331.063 28.601-42.249 11.755 8.449 30.367 10.563-2.939-4.225-15.183 10.562-2.939 1.286 4.621 10.562-2.939 2.249 8.081 10.562-2.939-7.759-27.885Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m213.696 41.343.517 6.969 6.031 4.296 1.236 6.484 116.184-32.328c5.101-1.42 8.09-6.713 6.671-11.814-1.42-5.101-6.713-8.09-11.814-6.67L213.696 41.343Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function Txt(){return Txt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Txt.apply(this,arguments)}var Dxt,Axt,Ixt,$xt,Rxt,jxt,zxt=function(e){return m.createElement("svg",Txt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),m.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),m.createElement("path",{d:"M114.881 160.609h149.1c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603-6.913 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h-39.521c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h71.856c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603H143.624c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602H71.768c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602h44.911c6.914 0 12.603 5.689 12.603 12.603 0 6.913-5.689 12.602-12.603 12.602H44.822c-6.913 0-12.602 5.69-12.602 12.603 0 6.914 5.689 12.603 12.602 12.603h70.059c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602v-.006Zm192.708-63.014c0 6.764 5.566 12.329 12.329 12.329 6.764 0 12.329-5.565 12.329-12.329 0-6.763-5.565-12.329-12.329-12.329h-.001c-6.762 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.483 63.514a2.002 2.002 0 0 0-2.259-1.702L140.205 82.896a2.001 2.001 0 0 0-1.702 2.259l12.251 87.169a2.002 2.002 0 0 0 2.259 1.703l150.018-21.084a2.002 2.002 0 0 0 1.703-2.259l-12.251-87.17Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M247.683 137.397a31.742 31.742 0 0 0 6.393-19.103c0-17.41-14.326-31.737-31.736-31.737s-31.737 14.327-31.737 31.737a31.758 31.758 0 0 0 12.643 25.35c13.903 10.472 33.959 7.652 44.437-6.247ZM236.661 99.29c9.222 6.97 12.111 19.693 6.803 29.962l-37.479-28.242c8.408-7.932 21.435-8.661 30.676-1.716v-.004Zm-35.443 8.055 37.471 28.244a23.806 23.806 0 0 1-16.354 6.51c-13.054 0-23.796-10.742-23.796-23.797a23.8 23.8 0 0 1 2.671-10.954l.008-.003Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M207.614 8.507a1.585 1.585 0 0 0-2.694.379l-28.129 66.441a1.586 1.586 0 0 0-.126.619 1.595 1.595 0 0 0 1.808 1.571l73.48-10.327a1.587 1.587 0 0 0 1.012-2.569L207.614 8.507Z",style:{fill:"none",fillRule:"nonzero",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M205.054.078a7.937 7.937 0 0 1 8.96 6.752 7.938 7.938 0 0 1-6.752 8.96 7.936 7.936 0 0 1-8.959-6.752 7.936 7.936 0 0 1 6.751-8.96Z",style:{fill:"currentColor"}}))},Mxt=function(e){var t=e.info,i="number"==typeof t;return n.jsx(Lxt,Dnt({isNumber:i,"data-badge-info":t},{children:n.jsx(Nxt,Dnt({isNumber:i},{children:"number"==typeof t&&t}))}))},Lxt=v.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(Ixt||(Ixt=jnt(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?i.css(Dxt||(Dxt=jnt(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):i.css(Axt||(Axt=jnt(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),Nxt=v.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(Rxt||(Rxt=jnt(["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"],["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){var t=e.isNumber?22:14;return i.css($xt||($xt=jnt(["\n border-radius: ","px;\n min-width: ","px;\n height: ","px;\n padding: ","px;\n box-sizing: border-box;\n font-size: ","px;\n "],["\n border-radius: ","px;\n min-width: ","px;\n height: ","px;\n padding: ","px;\n box-sizing: border-box;\n font-size: ","px;\n "])),t,t,t,6,Yse)}));function Qxt(){return Qxt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Qxt.apply(this,arguments)}var Bxt,Uxt=function(e){return m.createElement("svg",Qxt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),jxt||(jxt=m.createElement("path",{d:"M1536 704q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45zM0 256h2048v1024h-128V384H128v677l448-447 640 640 256-256 283 282h-182l-101-102-101 102h-310L576 794l-448 449v421h512v128H0V256zm768 1792v-640h1280v640H768zm128-512v384h1024v-384H896zm256 256v-128h512v128h-512z",fill:"#fff"})))};function qxt(t){return n.jsx(Zxt,Dnt({"data-page-alert":!0},{children:n.jsxs(Kxt,{children:[t.errorType&&n.jsx(Jxt,Dnt({onClick:t.onClick},{children:t.errorType===e.ErrorType.LoginError?n.jsx(Fxt,{}):t.errorType===e.ErrorType.GenericError?n.jsx(Cxt,{}):t.errorType===e.ErrorType.Error403?n.jsx(zxt,{}):n.jsx(Tgt,{})})),n.jsx(ekt,{children:t.alertText}),n.jsx(tkt,{children:t.children})]})}))}e.ErrorType=void 0,(Bxt=e.ErrorType||(e.ErrorType={})).GenericError="genericError",Bxt.Error404="error404",Bxt.Error403="error403",Bxt.LoginError="loginError";var Wxt,Gxt,Vxt,Xxt,Hxt,Yxt,Zxt=v.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(Wxt||(Wxt=jnt(["\n display: flex;\n flex-flow: column nowrap;\n align-items: stretch;\n flex: 1 0 100%;\n height: 100%;\n background-color: ",";\n"],["\n display: flex;\n flex-flow: column nowrap;\n align-items: stretch;\n flex: 1 0 100%;\n height: 100%;\n background-color: ",";\n"])),(function(e){return e.theme.palette.white})),Kxt=v.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(Gxt||(Gxt=jnt(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),Jxt=v.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(Vxt||(Vxt=jnt(["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n\n @media (max-width: ","px) {\n > svg {\n transform: scale(0.8);\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n\n @media (max-width: ","px) {\n > svg {\n transform: scale(0.8);\n }\n }\n"])),(function(e){return e.theme.palette.accent}),Use),ekt=v.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(Xxt||(Xxt=jnt(["\n color: ",";\n font-size: ","px;\n font-weight: 500;\n min-width: 100%;\n opacity: 80%;\n white-space: pre-wrap;\n width: 200px;\n"],["\n color: ",";\n font-size: ","px;\n font-weight: 500;\n min-width: 100%;\n opacity: 80%;\n white-space: pre-wrap;\n width: 200px;\n"])),(function(e){return e.theme.palette.accent}),32),tkt=v.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(Hxt||(Hxt=jnt(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),nkt=v.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(Yxt||(Yxt=jnt(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),ikt={exports:{}},rkt=Object.getOwnPropertySymbols,okt=Object.prototype.hasOwnProperty,akt=Object.prototype.propertyIsEnumerable;function skt(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var lkt=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,r=skt(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))okt.call(n,a)&&(r[a]=n[a]);if(rkt){i=rkt(n);for(var s=0;s<i.length;s++)akt.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},ckt="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ukt=Function.call.bind(Object.prototype.hasOwnProperty),dkt=function(){};if("production"!==process.env.NODE_ENV){var pkt=ckt,fkt={},hkt=ukt;dkt=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function mkt(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(hkt(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((i||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,pkt)}catch(e){a=e}if(!a||a instanceof Error||dkt((i||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in fkt)){fkt[a.message]=!0;var l=r?r():"";dkt("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}mkt.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(fkt={})};var gkt=mkt,vkt=w.default,bkt=lkt,ykt=ckt,Okt=ukt,wkt=gkt,_kt=function(){};function xkt(){return null}"production"!==process.env.NODE_ENV&&(_kt=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function kkt(){}function Skt(){}Skt.resetWarningCache=kkt;if("production"!==process.env.NODE_ENV){var Ekt=w.default;ikt.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bigint:l("bigint"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(xkt),arrayOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+r+" `"+o+"` of type `"+d(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,i,r,o+"["+l+"]",ykt);if(c instanceof Error)return c}return null}))},element:s((function(t,n,i,r,o){var s=t[n];return e(s)?null:new a("Invalid "+r+" `"+o+"` of type `"+d(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return vkt.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+d(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,o,s){if(!(t[n]instanceof e)){var l=e.name||i;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:i)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var c;return null}))},node:s((function(e,t,n,i,r){return u(e[t])?null:new a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var c in s)if(Okt(s,c)){var u=e(s,c,i,r,o+"."+c,ykt);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&_kt(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),xkt;function t(t,n,i,r,s){for(var l=t[n],c=0;c<e.length;c++)if(o(l,e[c]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new a("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+u+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&_kt("Invalid argument supplied to oneOfType, expected an instance of array."),xkt;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return _kt("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),xkt}return s((function(t,n,i,r,o){for(var s=[],l=0;l<e.length;l++){var c=(0,e[l])(t,n,i,r,o,ykt);if(null==c)return null;c.data&&Okt(c.data,"expectedType")&&s.push(c.data.expectedType)}return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var f=e[u];if("function"!=typeof f)return c(i,r,o,u,p(f));var h=f(s,u,i,r,o+"."+u,ykt);if(h)return h}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var u=bkt({},t[n],e);for(var f in u){var h=e[f];if(Okt(e,f)&&"function"!=typeof h)return c(i,r,o,f,p(h));if(!h)return new a("Invalid "+r+" `"+o+"` key `"+f+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(s,f,i,r,o+"."+f,ykt);if(m)return m}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,s,l,c,u,d,p){if(c=c||i,d=d||l,p!==ykt){if(t){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+l;!n[h]&&r<3&&(_kt("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,r++)}}return null==s[l]?o?null===s[l]?new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,l,c,u,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,i,r,o,s){var l=t[n];return d(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+p(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function c(e,t,n,i,r){return new a((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!u(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function p(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(e){var t=p(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return a.prototype=Error.prototype,r.checkPropTypes=wkt,r.resetWarningCache=wkt.resetWarningCache,r.PropTypes=r,r}(Ekt.isElement,!0)}else ikt.exports=function(){function e(e,t,n,i,r,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Skt,resetWarningCache:kkt};return n.PropTypes=n,n}();var Ckt=ikt.exports,Pkt=Object.freeze({__proto__:null,useCurrentUser:ure,useAccountApi:noe,useAuthenticationContext:Fj,useEnvironmentConfig:mh,useNotificationContext:fpe,usePromise:kj,LinkContext:aA,TextLink:Evt,logger:sO,createId:cO,ResourceContext:hA,usePluginSettings:function(){var e=t.useContext(Rue).settings;return null!=e?e:{}},usePluginStorage:Lue,usePluginDeviceStore:Lue,usePluginSubscriptionStore:function(){return t.useContext(Rue).subscriptionStore},usePluginSubscriptionStoreValue:function(e,n){var i=this,r=t.useContext(Rue).subscriptionStore,o=kj((function(){return r.get(e).catch(Que)}),void 0,e9(e9([],n||[],!0),[e],!1)),a=o[0],s=o[1],l=o[2],c=o[3],u=o[4];return{data:a,set:function(t){return K6(i,void 0,void 0,(function(){var n;return J6(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),Que(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:u,remove:function(){return K6(i,void 0,void 0,(function(){var t;return J6(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),Que(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return t.useContext(Rue).userStore},usePluginUserStoreValue:function(e,n){var i=this,r=t.useContext(Rue).userStore,o=kj((function(){return r.get(e).catch(Que)}),void 0,e9(e9([],n||[],!0),[e],!1)),a=o[0],s=o[1],l=o[2],c=o[3],u=o[4];return{data:a,set:function(t){return K6(i,void 0,void 0,(function(){var n;return J6(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),Que(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:u,remove:function(){return K6(i,void 0,void 0,(function(){var t;return J6(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),Que(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:hh().apiEndpoint}},AccountType:Gie,PeoplePicker:ect,GutterToggle:Ult,EditorSettingsDialog:Qlt,Spinner:r.Spinner,SelectionMode:r.SelectionMode,EditorHighlight:jlt,useTheme:function(){return t.useContext(ipe).theme},useSubscriptionHandlePathBuilder:Due,useSubscriptionWebAppUrl:Aue});var Fkt,Tkt,Dkt,Akt=[{name:"@reach/core",packageDefinition:Dnt({default:{}},Pkt)}],Ikt=[{name:"react",packageDefinition:Dnt(Dnt({},g.default),{default:g.default})},{name:"react-dom",packageDefinition:Dnt(Dnt({},O),{default:O})},{name:"react-is",packageDefinition:Dnt(Dnt({},w.default),{default:w.default})},{name:"prop-types",packageDefinition:Dnt({default:Ckt},Ckt)},{name:"react-router-dom",packageDefinition:Dnt({default:b},b)},{name:"styled-components",packageDefinition:{default:v.default,createGlobalStyle:i.createGlobalStyle,css:i.css,useTheme:i.useTheme,isStyledComponent:i.isStyledComponent,keyframes:i.keyframes,withTheme:i.withTheme,ThemeProvider:i.ThemeProvider,ThemeContext:i.ThemeContext,ThemeConsumer:i.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:r.Checkbox,Label:r.Label,PrimaryButton:r.PrimaryButton,Icon:r.Icon,Link:r.Link,TextField:r.TextField,ActionButton:r.ActionButton,IconButton:r.IconButton,DefaultButton:r.DefaultButton,Spinner:r.Spinner,Dropdown:r.Dropdown,ProgressIndicator:r.ProgressIndicator,Shimmer:r.Shimmer,ShimmerElementsGroup:r.ShimmerElementsGroup,ShimmerElementType:r.ShimmerElementType,DirectionalHint:r.DirectionalHint,PersonaSize:r.PersonaSize,TooltipHost:r.TooltipHost,DialogType:r.DialogType,Dialog:Mnt,DialogFooter:r.DialogFooter,ChoiceGroup:r.ChoiceGroup}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:tA,useIntl:RD,FormattedDate:nA,FormattedTime:iA,IntlProvider:qD}},{name:"@apollo/client",packageDefinition:{default:{},gql:MU,useQuery:function(e,t){return iq(e,t,!1)},ApolloClient:TU,ApolloProvider:XU,from:oQ,ApolloLink:rQ,fromPromise:KN,split:aQ,HttpLink:hQ,InMemoryCache:uU,useLazyQuery:function(e,t){return iq(e,t,!0)},useMutation:rq,ApolloError:pU,useApolloClient:HU,useSubscription:function(e,n){var i=t.useReducer((function(e){return e+1}),0),r=i[1],o=t.useContext(GU()),a=n?ko(ko({},n),{subscription:e}):{subscription:e},s=t.useState({loading:!a.skip,error:void 0,data:void 0}),l=s[0],c=s[1],u=t.useRef(),d=(u.current||(u.current=new JU({options:a,context:o,setResult:c})),u.current);return d.setOptions(a,!0),d.context=o,__DEV__&&nq(r),t.useEffect((function(){return d.afterExecute()})),t.useEffect((function(){return function(){d.cleanup(),u.current=void 0}}),[]),d.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:Az}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:aq}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:GL}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:oq}}],$kt=function(e){var i=e.color,o=e.onColorChange,a=e.className,s=t.useState(i),l=s[0],c=s[1];return t.useEffect((function(){c(i)}),[i]),n.jsx(Rkt,Dnt({className:a},{children:n.jsx(r.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){c(e),null==o||o(e)}(t.str)}})}))},Rkt=v.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(Fkt||(Fkt=jnt(["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"],["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"])),Ase);v.default.time.withConfig({displayName:"DateTimeDisplay__Host",componentId:"sc-17lnikl-0"})(Tkt||(Tkt=jnt(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"]))),function(e){e[e.xxs=0]="xxs",e[e.xs=1]="xs",e[e.sm=2]="sm",e[e.md=3]="md",e[e.lg=4]="lg",e[e.xl=5]="xl"}(Dkt||(Dkt={}));var jkt,zkt,Mkt,Lkt,Nkt,Qkt,Bkt,Ukt,qkt,Wkt,Gkt,Vkt=function(e){var i=e.backgroundColor,r=e.className,o=e.displayName,a=e.noInitials,s=e.size,l=void 0===s?Dkt.sm:s,c=e.tenantId,u=e.userPrincipalName,d=noe().getUserAvatarUrlPromise,p=t.useState(),f=p[0],h=p[1],m=t.useState(!1),g=m[0],v=m[1],b=a?o:IE(o);return t.useEffect((function(){u&&d(u,c).then((function(e){h(e)}))}),[d,c,u]),n.jsx(Hkt,Dnt({$backgroundColor:i||RE(b),className:r,$size:l},{children:f&&!g?n.jsx(Ykt,{alt:u,src:f,onError:function(){return v(!0)}}):n.jsx(Xkt,{children:b})}))},Xkt=v.default.span.withConfig({displayName:"Avatar__InitialsLabel",componentId:"sc-188jqn1-0"})(jkt||(jkt=jnt(["\n color: #f5f4f3;\n font-weight: 700;\n"],["\n color: #f5f4f3;\n font-weight: 700;\n"]))),Hkt=v.default.div.withConfig({displayName:"Avatar__Wrapper",componentId:"sc-188jqn1-1"})(Ukt||(Ukt=jnt(["\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n overflow: hidden;\n\n "," {\n font-family: Anybody, Arial, sans-serif;\n line-height: normal;\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n"],["\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n overflow: hidden;\n\n "," {\n font-family: Anybody, Arial, sans-serif;\n line-height: normal;\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n"])),(function(e){return e.$backgroundColor}),Xkt,(function(e){return e.$size===Dkt.xl&&i.css(zkt||(zkt=jnt(["\n height: 62px;\n width: 62px;\n\n "," {\n font-size: 24px;\n max-height: 22px; // nudge initials to visually align at center\n }\n "],["\n height: 62px;\n width: 62px;\n\n "," {\n font-size: 24px;\n max-height: 22px; // nudge initials to visually align at center\n }\n "])),Xkt)}),(function(e){return e.$size===Dkt.lg&&i.css(Mkt||(Mkt=jnt(["\n height: 48px;\n width: 48px;\n\n "," {\n font-size: 20px;\n max-height: 18px; // nudge initials to visually align at center\n }\n "],["\n height: 48px;\n width: 48px;\n\n "," {\n font-size: 20px;\n max-height: 18px; // nudge initials to visually align at center\n }\n "])),Xkt)}),(function(e){return e.$size===Dkt.md&&i.css(Lkt||(Lkt=jnt(["\n height: 40px;\n width: 40px;\n\n "," {\n font-size: 16px;\n max-height: 14px; // nudge initials to visually align at center\n }\n "],["\n height: 40px;\n width: 40px;\n\n "," {\n font-size: 16px;\n max-height: 14px; // nudge initials to visually align at center\n }\n "])),Xkt)}),(function(e){return e.$size===Dkt.sm&&i.css(Nkt||(Nkt=jnt(["\n height: 32px;\n width: 32px;\n\n "," {\n font-size: 12px;\n max-height: 10px; // nudge initials to visually align at center\n }\n "],["\n height: 32px;\n width: 32px;\n\n "," {\n font-size: 12px;\n max-height: 10px; // nudge initials to visually align at center\n }\n "])),Xkt)}),(function(e){return e.$size===Dkt.xs&&i.css(Qkt||(Qkt=jnt(["\n height: 24px;\n width: 24px;\n\n "," {\n font-size: 12px;\n max-height: 10px; // nudge initials to visually align at center\n }\n "],["\n height: 24px;\n width: 24px;\n\n "," {\n font-size: 12px;\n max-height: 10px; // nudge initials to visually align at center\n }\n "])),Xkt)}),(function(e){return e.$size===Dkt.xxs&&i.css(Bkt||(Bkt=jnt(["\n height: 20px;\n width: 20px;\n\n "," {\n font-size: 10px;\n max-height: 8px; // nudge initials to visually align at center\n }\n "],["\n height: 20px;\n width: 20px;\n\n "," {\n font-size: 10px;\n max-height: 8px; // nudge initials to visually align at center\n }\n "])),Xkt)})),Ykt=v.default.img.withConfig({displayName:"Avatar__Image",componentId:"sc-188jqn1-2"})(qkt||(qkt=jnt(["\n animation: fadein 150ms ease-in;\n height: 100%;\n width: 100%;\n\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n"],["\n animation: fadein 150ms ease-in;\n height: 100%;\n width: 100%;\n\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n"])));v.default.div.withConfig({displayName:"GroupAvatar__GroupAvatarContainer",componentId:"vedfuf-0"})(Wkt||(Wkt=jnt(["\n display: inline-flex;\n"],["\n display: inline-flex;\n"]))),v.default(Vkt).withConfig({displayName:"GroupAvatar__StyledAvatar",componentId:"vedfuf-1"})(Gkt||(Gkt=jnt(["\n border: 2px solid #ffffff;\n margin-right: -8px;\n\n &:last-child {\n margin-right: 0;\n }\n"],["\n border: 2px solid #ffffff;\n margin-right: -8px;\n\n &:last-child {\n margin-right: 0;\n }\n"])));var Zkt,Kkt,Jkt,eSt,tSt,nSt,iSt,rSt,oSt,aSt=function(e){var t=e.className,i=e.displayName,r=e.size,o=void 0===r?Dkt.md:r,a=e.subtitle,s=e.title,l=e.userPrincipalName;return n.jsxs(sSt,Dnt({className:t},{children:[n.jsx(Vkt,{displayName:i,size:o,userPrincipalName:l}),n.jsxs(lSt,Dnt({$size:o},{children:[s&&n.jsx(cSt,{children:s}),a&&n.jsx(uSt,Dnt({as:"string"==typeof a?"span":"div"},{children:a}))]}))]}))},sSt=v.default.div.withConfig({displayName:"Persona__Wrapper",componentId:"sc-1qmmt03-0"})(Zkt||(Zkt=jnt(["\n align-items: center;\n display: flex;\n gap: 16px;\n max-width: 100%;\n"],["\n align-items: center;\n display: flex;\n gap: 16px;\n max-width: 100%;\n"]))),lSt=v.default.div.withConfig({displayName:"Persona__TextWrapper",componentId:"sc-1qmmt03-1"})(Kkt||(Kkt=jnt(["\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n max-width: ",";\n\n & > span {\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"],["\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n max-width: ",";\n\n & > span {\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"])),(function(e){var t=e.$size;return"calc(100% - 16px - ".concat(t===Dkt.sm?32:t===Dkt.md?40:48,"px)")})),cSt=v.default.span.withConfig({displayName:"Persona__Title",componentId:"sc-1qmmt03-2"})(Jkt||(Jkt=jnt(["\n font-size: 16px;\n font-weight: 700;\n line-height: 26px;\n"],["\n font-size: 16px;\n font-weight: 700;\n line-height: 26px;\n"]))),uSt=v.default.span.withConfig({displayName:"Persona__Subtitle",componentId:"sc-1qmmt03-3"})(eSt||(eSt=jnt(["\n color: var(--color-neutral-800);\n font-size: 12px;\n letter-spacing: 0.18px;\n line-height: 14px;\n"],["\n color: var(--color-neutral-800);\n font-size: 12px;\n letter-spacing: 0.18px;\n line-height: 14px;\n"]))),dSt=function(e){var t=e.className,i=e.defaultSVG,r=e.hoveredSVG,o=e.size,a=Ant(e,["className","defaultSVG","hoveredSVG","size"]);return n.jsxs(pSt,Dnt({className:t,$size:o},a,{children:[n.jsx(fSt,Dnt({"data-icon":!0,"data-icon-state":"default"},{children:i})),n.jsx(fSt,Dnt({"data-icon":!0,"data-icon-state":"hovered"},{children:null!=r?r:i}))]}))},pSt=v.default.div.withConfig({displayName:"Icon__Host",componentId:"sc-1x5jnq2-0"})((function(e){var t=e.$size,n=e.theme.reach2Theme;return i.css(iSt||(iSt=jnt(["\n align-items: center;\n display: flex;\n justify-content: center;\n\n ","\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n :hover {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n "],["\n align-items: center;\n display: flex;\n justify-content: center;\n\n ","\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n :hover {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n "])),t?i.css(tSt||(tSt=jnt(["\n svg {\n height: ","px;\n width: ","px;\n }\n "],["\n svg {\n height: ","px;\n width: ","px;\n }\n "])),t,t):i.css(nSt||(nSt=jnt(["\n svg {\n height: ",";\n width: ",";\n }\n "],["\n svg {\n height: ",";\n width: ",";\n }\n "])),n.spacing[24],n.spacing[24]))})),fSt=v.default.div.withConfig({displayName:"Icon__Inner",componentId:"sc-1x5jnq2-1"})(rSt||(rSt=jnt(["\n display: none;\n"],["\n display: none;\n"])));function hSt(){return hSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},hSt.apply(this,arguments)}var mSt,gSt=function(e){return m.createElement("svg",hSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),oSt||(oSt=m.createElement("path",{d:"M7 2.5a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h7.5c3.29 0 6-2.71 6-6 0-1.922-.985-3.568-2.41-4.669C18.615 9.99 19 9.055 19 8c0-3.014-2.486-5.5-5.5-5.5H7Zm2 4h4.5c.852 0 1.5.648 1.5 1.5s-.648 1.5-1.5 1.5H9v-3Zm0 7h5.5c1.128 0 2 .872 2 2 0 1.128-.872 2-2 2H9v-4Z",fill:"#0F0E0E"})))};function vSt(){return vSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},vSt.apply(this,arguments)}var bSt,ySt=function(e){return m.createElement("svg",vSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),mSt||(mSt=m.createElement("path",{d:"M3.25 6a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.75.75 0 1 0 0 1.5h14.5a.75.75 0 1 0 0-1.5H6.75ZM3.25 11a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.751.751 0 1 0 0 1.5h14.5a.751.751 0 1 0 0-1.5H6.75ZM3.25 16a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.751.751 0 1 0 0 1.5h14.5a.751.751 0 1 0 0-1.5H6.75Z",fill:"#0F0E0E"})))};function OSt(){return OSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},OSt.apply(this,arguments)}var wSt,_St=function(e){return m.createElement("svg",OSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),bSt||(bSt=m.createElement("path",{d:"M15.243 7.99a.75.75 0 0 0-.523.23L12 10.94 9.28 8.22a.75.75 0 1 0-1.06 1.06L10.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L12 13.06l2.72 2.72a.751.751 0 1 0 1.06-1.06L13.06 12l2.72-2.72a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function xSt(){return xSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xSt.apply(this,arguments)}var kSt,SSt,ESt,CSt=function(e){return m.createElement("svg",xSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),wSt||(wSt=m.createElement("path",{d:"M17.46 2.964a3.57 3.57 0 0 0-2.532 1.044L12.38 6.556c-1.205 1.204-1.303 3.043-.423 4.426l-.976.976c-1.383-.88-3.222-.783-4.426.422l-2.548 2.548a3.594 3.594 0 0 0 0 5.065 3.594 3.594 0 0 0 5.065 0l2.548-2.548c1.205-1.204 1.302-3.043.422-4.426l.976-.976c1.383.88 3.222.782 4.426-.423l2.548-2.548a3.593 3.593 0 0 0 0-5.064 3.57 3.57 0 0 0-2.532-1.044Zm0 1.49c.531 0 1.062.205 1.472.614a2.07 2.07 0 0 1 0 2.944l-2.548 2.548c-.63.63-1.545.764-2.308.424l1.639-1.638a.748.748 0 0 0-.236-1.236.75.75 0 0 0-.825.175l-1.638 1.639a2.059 2.059 0 0 1 .424-2.308l2.548-2.548c.41-.409.94-.614 1.472-.614Zm-8.372 8.373c.286 0 .568.07.835.19l-1.638 1.637a.75.75 0 1 0 1.06 1.06l1.638-1.637c.34.763.207 1.677-.424 2.307l-2.548 2.549a2.07 2.07 0 0 1-2.944-.001 2.07 2.07 0 0 1 0-2.943l2.55-2.549c.409-.409.94-.613 1.47-.613Z",fill:"#0F0E0E"})))};function PSt(){return PSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},PSt.apply(this,arguments)}var FSt,TSt=function(e){return m.createElement("svg",PSt({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),kSt||(kSt=m.createElement("rect",{x:.5,y:.5,width:19,height:19,rx:3.5,fill:"#0F0E0E"})),SSt||(SSt=m.createElement("rect",{x:.5,y:.5,width:19,height:19,rx:3.5,stroke:"#0F0E0E"})),ESt||(ESt=m.createElement("path",{d:"M14.854 5.86a.73.73 0 0 0-.502.221l-6.296 6.297-2.404-2.404a.73.73 0 1 0-1.032 1.032l2.92 2.92a.73.73 0 0 0 1.032 0l6.812-6.813a.73.73 0 0 0-.53-1.252Z",fill:"#fff"})))};function DSt(){return DSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},DSt.apply(this,arguments)}var ASt,ISt=function(e){return m.createElement("svg",DSt({width:24,height:25,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),FSt||(FSt=m.createElement("path",{d:"M15.993 9.787a.75.75 0 0 0-.523.23L12 13.487l-3.47-3.47a.75.75 0 1 0-1.06 1.06l4 4a.75.75 0 0 0 1.06 0l4-4a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function $St(){return $St=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$St.apply(this,arguments)}var RSt,jSt=function(e){return m.createElement("svg",$St({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ASt||(ASt=m.createElement("path",{d:"M13.985 6.993a.75.75 0 0 0-.515.227l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 1 0 1.06-1.06l-3.47-3.47 3.47-3.47a.75.75 0 0 0-.545-1.287Z",fill:"#0F0E0E"})))};function zSt(){return zSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},zSt.apply(this,arguments)}var MSt,LSt=function(e){return m.createElement("svg",zSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),RSt||(RSt=m.createElement("path",{d:"M10.003 6.992a.75.75 0 0 0-.522 1.288l3.47 3.47-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 0 0-.538-.228Z",fill:"#0F0E0E"})))};function NSt(){return NSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},NSt.apply(this,arguments)}var QSt,BSt=function(e){return m.createElement("svg",NSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),MSt||(MSt=m.createElement("path",{d:"M3.509 4.994a1.05 1.05 0 1 1 1.485-1.485L12 10.515l7.006-7.005a1.05 1.05 0 1 1 1.484 1.484L13.485 12l7.005 7.006a1.05 1.05 0 1 1-1.484 1.484L12 13.485 4.994 20.49a1.05 1.05 0 1 1-1.484-1.484L10.515 12 3.51 4.994Z",fill:"#0F0E0E"})))};function USt(){return USt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},USt.apply(this,arguments)}var qSt,WSt=function(e){return m.createElement("svg",USt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),QSt||(QSt=m.createElement("path",{d:"M19.743 3.49a.75.75 0 0 0-.523.23L12 10.94 4.78 3.72a.75.75 0 1 0-1.06 1.06L10.94 12l-7.22 7.22a.75.75 0 1 0 1.06 1.06L12 13.06l7.22 7.22a.751.751 0 1 0 1.06-1.06L13.06 12l7.22-7.22a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function GSt(){return GSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},GSt.apply(this,arguments)}var VSt,XSt=function(e){return m.createElement("svg",GSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),qSt||(qSt=m.createElement("path",{d:"M12 1.999c-5.514 0-10 4.486-10 10 0 1.638.431 3.168 1.13 4.533l-1.083 3.881c-.253.902.639 1.793 1.54 1.541l3.885-1.084C8.835 21.568 10.364 22 12 22c5.514 0 10-4.486 10-10s-4.486-10-10-10Zm0 1.5c4.703 0 8.5 3.797 8.5 8.5 0 4.703-3.797 8.5-8.5 8.5-1.5 0-2.905-.39-4.129-1.072a.75.75 0 0 0-.566-.068L3.61 20.39l1.032-3.69a.75.75 0 0 0-.068-.568A8.445 8.445 0 0 1 3.5 11.999c0-4.703 3.797-8.5 8.5-8.5ZM16.75 8l-9.5.001a.75.75 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm0 3.249-9.5.001a.751.751 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm-5 3.251-4.5.001a.75.75 0 1 0 0 1.5l4.5-.001a.751.751 0 1 0 0-1.5Z",fill:"#0F0E0E"})))};function HSt(){return HSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},HSt.apply(this,arguments)}var YSt,ZSt=function(e){return m.createElement("svg",HSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),VSt||(VSt=m.createElement("path",{d:"M21.735 4.493a.75.75 0 0 0-.515.227L8.25 17.69l-5.47-5.47a.75.75 0 1 0-1.06 1.06l6 6a.75.75 0 0 0 1.06 0l13.5-13.5a.75.75 0 0 0-.545-1.287Z",fill:"#0F0E0E"})))};function KSt(){return KSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},KSt.apply(this,arguments)}var JSt,eEt=function(e){return m.createElement("svg",KSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),YSt||(YSt=m.createElement("path",{d:"m13.671 6.469 3.86 3.859-8.665 8.666a1.227 1.227 0 0 1-.484.298l-5.059 1.675a.232.232 0 0 1-.236-.055.228.228 0 0 1-.055-.233l1.675-5.061c.06-.18.163-.348.298-.483l8.666-8.666Zm6.51 1.21-.853.852-3.86-3.86.852-.85a2.707 2.707 0 0 1 1.93-.799c.732 0 1.415.283 1.93.798a2.733 2.733 0 0 1 0 3.86Z",fill:"#0F0E0E",stroke:"#0F0E0E",strokeWidth:1.042})))};function tEt(){return tEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},tEt.apply(this,arguments)}var nEt,iEt=function(e){return m.createElement("svg",tEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),JSt||(JSt=m.createElement("path",{d:"M18 3.032c-.898 0-1.795.34-2.475 1.02L4.457 15.12a1.75 1.75 0 0 0-.445.758L2.53 21.071a.75.75 0 0 0 .926.927l5.196-1.483v-.001c.285-.082.546-.234.757-.445L20.474 9.002a3.51 3.51 0 0 0 0-4.95 3.488 3.488 0 0 0-2.475-1.02Zm0 1.491c.51 0 1.02.197 1.412.59.788.788.789 2.041.001 2.828l-.97.97-2.827-2.828.97-.97c.392-.393.903-.59 1.413-.59Zm-3.445 2.62 2.828 2.829-9.037 9.037a.254.254 0 0 1-.108.063L4.34 20.186l1.113-3.898a.248.248 0 0 1 .064-.108l9.037-9.036Z",fill:"#000"})))};function rEt(){return rEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},rEt.apply(this,arguments)}var oEt,aEt=function(e){return m.createElement("svg",rEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),nEt||(nEt=m.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2ZM9 8.25a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm6 0a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm-7.175 5.752a.748.748 0 0 1 .644.284A4.466 4.466 0 0 0 12 16a4.467 4.467 0 0 0 3.531-1.714.749.749 0 1 1 1.179.928A5.959 5.959 0 0 1 12 17.5a5.957 5.957 0 0 1-4.71-2.286.75.75 0 0 1 .535-1.212Z",fill:"#0F0E0E"})))};function sEt(){return sEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},sEt.apply(this,arguments)}var lEt,cEt=function(e){return m.createElement("svg",sEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),oEt||(oEt=m.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2Zm0 1.5c4.703 0 8.5 3.797 8.5 8.5 0 4.703-3.797 8.5-8.5 8.5A8.489 8.489 0 0 1 3.5 12c0-4.703 3.797-8.5 8.5-8.5ZM9 8.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm6 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-7.113 5.742a.75.75 0 0 0-.596 1.222A5.985 5.985 0 0 0 12 17.5a5.985 5.985 0 0 0 4.709-2.286.75.75 0 1 0-1.179-.928A4.473 4.473 0 0 1 12 16a4.472 4.472 0 0 1-3.53-1.714.75.75 0 0 0-.583-.294Z",fill:"#0F0E0E"})))};function uEt(){return uEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},uEt.apply(this,arguments)}var dEt,pEt=function(e){return m.createElement("svg",uEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),lEt||(lEt=m.createElement("path",{d:"M13.118 4.138c-.241-.435-.665-.684-1.118-.684-.453 0-.877.249-1.117.684l-7.74 13.984a1.28 1.28 0 0 0-.003 1.28c.223.38.638.619 1.12.619h15.481c.483 0 .897-.239 1.12-.619a1.28 1.28 0 0 0-.002-1.28L13.118 4.138ZM11.771 8.75v-.007a.23.23 0 0 1 .315-.216l.196-.483-.196.483a.229.229 0 0 1 .076.05l.368-.368-.368.368a.229.229 0 0 1 .067.166V13.757a.227.227 0 0 1-.14.215.23.23 0 0 1-.318-.215V8.75Zm-1.29-4.834c.318-.573.908-.869 1.52-.869.61 0 1.2.296 1.518.87L21.26 17.9c.625 1.128-.23 2.58-1.519 2.58H4.26c-1.288 0-2.143-1.452-1.519-2.58l7.74-13.984Zm1.18 12.745a.479.479 0 1 1 .678.677.479.479 0 0 1-.678-.677Z",fill:"#000",stroke:"#0F0E0E",strokeWidth:1.042})))};function fEt(){return fEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},fEt.apply(this,arguments)}var hEt,mEt=function(e){return m.createElement("svg",fEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),dEt||(dEt=m.createElement("path",{d:"M7 2a1 1 0 0 0-.929.629l-4 10a1 1 0 0 0 1.858.743l.749-1.872h4.645l.748 1.871a.99.99 0 0 0 .479.51l.959-2.302-3.58-8.95A1.001 1.001 0 0 0 7 2Zm8.976 3a1 1 0 0 0-.899.615l-5 12a1 1 0 1 0 1.846.77L12.916 16h6.168l.993 2.385a1 1 0 1 0 1.846-.77l-5-12A1 1 0 0 0 15.976 5ZM7 5.692 8.523 9.5H5.478L7 5.692ZM16 8.6l2.25 5.4h-4.5L16 8.6ZM11 20a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H11Z",fill:"#0F0E0E"})))};function gEt(){return gEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},gEt.apply(this,arguments)}var vEt,bEt=function(e){return m.createElement("svg",gEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),hEt||(hEt=m.createElement("path",{d:"M7 2a.75.75 0 0 0-.695.469l-4.25 10.5a.75.75 0 1 0 1.39.562l.823-2.031h5.464l.823 2.031a.74.74 0 0 0 .175.25l.786-1.873-3.82-9.44A.75.75 0 0 0 7 2Zm0 2.749L9.125 10h-4.25L7 4.749ZM15.98 5a.75.75 0 0 0-.671.46l-5.25 12.5a.75.75 0 1 0 1.382.58l1.079-2.566 6.972.026 1.067 2.54a.75.75 0 1 0 1.382-.58l-5.25-12.5A.75.75 0 0 0 15.98 5ZM16 7.687l2.86 6.811-5.712-.022L16 7.686ZM10.75 20.5a.751.751 0 1 0 0 1.5h10.5a.751.751 0 1 0 0-1.5h-10.5Z",fill:"#0F0E0E"})))};function yEt(){return yEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},yEt.apply(this,arguments)}var OEt,wEt=function(e){return m.createElement("svg",yEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),vEt||(vEt=m.createElement("path",{d:"M14.72 3.491a.752.752 0 0 0-.085.009H9.25a.75.75 0 1 0 0 1.5h4.405L8.236 19H4.25a.751.751 0 1 0 0 1.5h4.376a.75.75 0 0 0 .24 0h5.884a.751.751 0 1 0 0-1.5H9.845l5.419-14h3.486a.75.75 0 1 0 0-1.5h-3.876a.75.75 0 0 0-.154-.009Z",fill:"#0F0E0E"})))};function _Et(){return _Et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_Et.apply(this,arguments)}var xEt,kEt=function(e){return m.createElement("svg",_Et({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),OEt||(OEt=m.createElement("path",{d:"M10.735 4.493a.75.75 0 0 0-.515.227l-7 7a.75.75 0 0 0 0 1.06l7 7a.75.75 0 1 0 1.06-1.06L5.56 13h14.69a.75.75 0 1 0 0-1.5H5.56l5.72-5.72a.75.75 0 0 0-.545-1.287Z",fill:"#0F0E0E"})))};function SEt(){return SEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},SEt.apply(this,arguments)}var EEt,CEt=function(e){return m.createElement("svg",SEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),xEt||(xEt=m.createElement("path",{d:"M2 12c0 5.511 4.489 10 10 10a1 1 0 1 0 0-2c-4.43 0-8-3.57-8-8s3.57-8 8-8a1 1 0 1 0 0-2C6.489 2 2 6.489 2 12Zm12.445 8.315a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm2.918-1.952a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm.007-12.72a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm1.944 9.804a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm.005-6.886a1 1 0 1 0 2 0 1 1 0 0 0-2 0ZM20 12a1 1 0 1 0 2 0 1 1 0 0 0-2 0Z",fill:"#0F0E0E"})))};function PEt(){return PEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},PEt.apply(this,arguments)}var FEt,TEt=function(e){return m.createElement("svg",PEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),EEt||(EEt=m.createElement("path",{d:"M12 2C6.489 2 2 6.489 2 12s4.489 10 10 10a9.99 9.99 0 0 0 3.514-.635.998.998 0 0 0 .395-1.63 1.002 1.002 0 0 0-1.099-.242A7.976 7.976 0 0 1 12 20c-4.43 0-8-3.57-8-8s3.57-8 8-8 8 3.57 8 8v1c0 1.117-.883 2-2 2s-2-.883-2-2V8a1 1 0 0 0-1.99-.148A4.145 4.145 0 0 0 11.5 7C8.95 7 7 9.32 7 12s1.95 5 4.5 5c1.328 0 2.49-.633 3.302-1.614A3.998 3.998 0 0 0 18 17c2.197 0 4-1.803 4-4v-1c0-5.511-4.489-10-10-10Zm-.5 7c1.31 0 2.5 1.27 2.5 3s-1.19 3-2.5 3S9 13.73 9 12s1.19-3 2.5-3Z",fill:"#0F0E0E"})))};function DEt(){return DEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},DEt.apply(this,arguments)}var AEt,IEt=function(e){return m.createElement("svg",DEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),FEt||(FEt=m.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10c1.234 0 2.42-.224 3.514-.635a.748.748 0 0 0 .29-1.219.75.75 0 0 0-.818-.185A8.475 8.475 0 0 1 12 20.5 8.489 8.489 0 0 1 3.5 12c0-4.703 3.797-8.5 8.5-8.5 4.703 0 8.5 3.797 8.5 8.5v1.25c0 1.252-.998 2.25-2.25 2.25A2.239 2.239 0 0 1 16 13.25v-5.5a.751.751 0 1 0-1.5 0v.533C13.71 7.493 12.666 7 11.5 7 8.971 7 7 9.298 7 12s1.971 5 4.5 5c1.436 0 2.691-.742 3.509-1.877A3.756 3.756 0 0 0 18.25 17 3.761 3.761 0 0 0 22 13.25V12c0-5.514-4.486-10-10-10Zm-.5 6.5c1.607 0 3 1.515 3 3.5s-1.393 3.5-3 3.5-3-1.515-3-3.5 1.393-3.5 3-3.5Z",fill:"#0F0E0E"})))};function $Et(){return $Et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$Et.apply(this,arguments)}var REt,jEt=function(e){return m.createElement("svg",$Et({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),AEt||(AEt=m.createElement("path",{d:"M11.5 16.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z",fill:"#0F0E0E"})))};function zEt(){return zEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},zEt.apply(this,arguments)}var MEt,LEt=function(e){return m.createElement("svg",zEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),REt||(REt=m.createElement("path",{d:"M5.228 2.5a.75.75 0 0 0-.215.038l-1.5.5a.75.75 0 0 0 .474 1.424L4.5 4.29V7.25a.75.75 0 1 0 1.5 0v-4a.75.75 0 0 0-.772-.75ZM10.75 5a.75.75 0 1 0 0 1.5h9a.75.75 0 1 0 0-1.5h-9ZM5.052 9c-.75 0-1.315.413-1.61.781-.296.369-.41.752-.41.752a.75.75 0 1 0 1.436.434s.038-.117.143-.248c.106-.132.19-.219.44-.219.207 0 .244.046.321.15a.834.834 0 0 1 .128.39c0 .202-.04.263-.17.394-.132.13-.378.282-.678.438-.299.156-.644.313-.978.58-.334.265-.674.737-.674 1.298a.75.75 0 0 0 .75.75h3a.751.751 0 1 0 0-1.5H5.645c.248-.14.503-.264.745-.505.337-.337.61-.861.61-1.456 0-.417-.115-.863-.42-1.278A1.928 1.928 0 0 0 5.051 9Zm5.698 2.5a.751.751 0 1 0 0 1.5h9a.752.752 0 0 0 .537-1.284.75.75 0 0 0-.537-.216h-9ZM5.052 16c-1.111 0-1.83.718-1.83.718a.75.75 0 1 0 1.056 1.064s.29-.282.774-.282c.199 0 .33.061.39.11.06.048.058.058.058.092 0 .261-.04.243-.057.255A.44.44 0 0 1 5.25 18a.75.75 0 0 0 0 1.5c-.008 0 .266.043.4.112.134.07.1.04.1.051 0 .13-.022.153-.099.213a.763.763 0 0 1-.445.124c-.516 0-.992-.339-.992-.339a.75.75 0 1 0-.928 1.178s.795.661 1.92.661c.49 0 .974-.133 1.37-.443a1.8 1.8 0 0 0 .674-1.394c0-.45-.23-.774-.496-1.032.145-.272.246-.58.246-.929 0-.502-.252-.968-.617-1.262-.365-.293-.834-.44-1.331-.44Zm5.698 2a.751.751 0 1 0 0 1.5h9a.752.752 0 0 0 .537-1.284.75.75 0 0 0-.537-.216h-9Z",fill:"#0F0E0E"})))};function NEt(){return NEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},NEt.apply(this,arguments)}var QEt,BEt,UEt=function(e){return m.createElement("svg",NEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),MEt||(MEt=m.createElement("path",{d:"M10.25 3C6.255 3 3 6.255 3 10.25s3.255 7.25 7.25 7.25c1.728 0 3.317-.61 4.565-1.625l4.905 4.905a.75.75 0 1 0 1.06-1.06l-4.905-4.905A7.213 7.213 0 0 0 17.5 10.25C17.5 6.255 14.245 3 10.25 3Zm0 1.5A5.739 5.739 0 0 1 16 10.25a5.727 5.727 0 0 1-1.604 3.985.746.746 0 0 0-.16.16A5.727 5.727 0 0 1 10.25 16a5.739 5.739 0 0 1-5.75-5.75 5.739 5.739 0 0 1 5.75-5.75Z",fill:"#0F0E0E"})))};function qEt(){return qEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},qEt.apply(this,arguments)}var WEt,GEt,VEt,XEt,HEt,YEt,ZEt,KEt=function(e){return m.createElement("svg",qEt({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),QEt||(QEt=m.createElement("rect",{x:.5,y:.5,width:19,height:19,rx:3.5,fill:"#fff"})),BEt||(BEt=m.createElement("rect",{x:.5,y:.5,width:19,height:19,rx:3.5,stroke:"#C2BCB9"})))},JEt=v.default.div.withConfig({displayName:"Skeleton__Host",componentId:"sc-rex4m6-0"})(WEt||(WEt=jnt(["\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n"])));v.default.div.withConfig({displayName:"Skeleton__SkeletonInlineGroup",componentId:"sc-rex4m6-1"})(GEt||(GEt=jnt(["\n display: flex;\n gap: ",";\n align-items: center;\n width: 100%;\n"],["\n display: flex;\n gap: ",";\n align-items: center;\n width: 100%;\n"])),(function(e){return"".concat(e.gap||16,"px")})),v.default.div.withConfig({displayName:"Skeleton__SkeletonBlockGroup",componentId:"sc-rex4m6-2"})(VEt||(VEt=jnt(["\n display: flex;\n flex-direction: column;\n gap: ",";\n width: 100%;\n ","\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n width: 100%;\n ","\n"])),(function(e){return"".concat(e.gap||4,"px")}),(function(e){return e.marginTop&&"margin-top: ".concat(e.marginTop,"px;")})),v.default.div.withConfig({displayName:"Skeleton__Avatar",componentId:"sc-rex4m6-3"})(XEt||(XEt=jnt(["\n width: ","px;\n height: ","px;\n border-radius: 50%;\n flex: 0 0 auto;\n animation: skeleton-loading 1s linear infinite alternate;\n"],["\n width: ","px;\n height: ","px;\n border-radius: 50%;\n flex: 0 0 auto;\n animation: skeleton-loading 1s linear infinite alternate;\n"])),(function(e){var t;return null!==(t=e.size)&&void 0!==t?t:36}),(function(e){var t;return null!==(t=e.size)&&void 0!==t?t:36})),v.default.div.withConfig({displayName:"Skeleton__Line",componentId:"sc-rex4m6-4"})(HEt||(HEt=jnt(["\n width: ",";\n ",";\n max-width: 100%;\n animation: skeleton-loading 1s linear infinite alternate;\n"],["\n width: ",";\n ",";\n max-width: 100%;\n animation: skeleton-loading 1s linear infinite alternate;\n"])),(function(e){var t;return null!==(t=e.width)&&void 0!==t?t:"auto"}),(function(e){return e.height?"height: ".concat(e.height,"px"):"height: 20px"})),v.default.div.withConfig({displayName:"PageScrollIndicator__Host",componentId:"sc-2wrh76-0"})(YEt||(YEt=jnt(["\n position: relative;\n z-index: 3;\n width: 100%;\n height: 4px;\n background: var(--color-neutral-300);\n"],["\n position: relative;\n z-index: 3;\n width: 100%;\n height: 4px;\n background: var(--color-neutral-300);\n"]))),v.default.div.attrs((function(e){var t=e.progress;return{style:{width:"".concat(t,"%")}}})).withConfig({displayName:"PageScrollIndicator__ProgressBar",componentId:"sc-2wrh76-1"})(ZEt||(ZEt=jnt(["\n height: 4px;\n background: var(--color-coral-500);\n"],["\n height: 4px;\n background: var(--color-coral-500);\n"])));var eCt=function(e){var t=e.size,i=e.className;return n.jsx(OCt,{defaultSVG:n.jsx(CEt,{}),size:t,className:i})};v.default(eCt).withConfig({displayName:"SpinnerLoader__PageSpinnerLoader",componentId:"sc-1y3keaq-0"})(tCt||(tCt=jnt(["\n position: absolute;\n left: ",";\n top: ",";\n"],["\n position: absolute;\n left: ",";\n top: ",";\n"])),(function(e){var t;return"calc(50% - ".concat((null!==(t=e.size)&&void 0!==t?t:24)/2,"px)")}),(function(e){var t;return"calc(50% - ".concat((null!==(t=e.size)&&void 0!==t?t:24)/2,"px)")}));var tCt,nCt,iCt,rCt,oCt,aCt,sCt,lCt,cCt,uCt,dCt,pCt,fCt,hCt,mCt,gCt,vCt,bCt,yCt,OCt=v.default(dSt).withConfig({displayName:"SpinnerLoader__SpinnerIcon",componentId:"sc-1y3keaq-1"})(nCt||(nCt=jnt(["\n animation: spinner-animation 1s linear infinite;\n\n @keyframes spinner-animation {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(90deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 75% {\n transform: rotate(270deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"],["\n animation: spinner-animation 1s linear infinite;\n\n @keyframes spinner-animation {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(90deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 75% {\n transform: rotate(270deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"]))),wCt=function(){return n.jsxs(_Ct,{children:[n.jsx(xCt,{}),n.jsx(xCt,{}),n.jsx(xCt,{})]})},_Ct=v.default.div.withConfig({displayName:"ButtonLoading__Container",componentId:"sc-1nus3mb-0"})(iCt||(iCt=jnt(["\n display: flex;\n gap: 8px;\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n\n & > * {\n animation: loading 1.25s ease-in infinite;\n }\n\n & > *:nth-child(2) {\n animation-delay: 0.42s;\n }\n\n & > *:nth-child(3) {\n animation-delay: 0.84s;\n }\n\n @keyframes loading {\n 0% {\n background-color: var(--color-neutral-50);\n }\n 66% {\n background-color: var(--color-coral-700);\n }\n }\n"],["\n display: flex;\n gap: 8px;\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n\n & > * {\n animation: loading 1.25s ease-in infinite;\n }\n\n & > *:nth-child(2) {\n animation-delay: 0.42s;\n }\n\n & > *:nth-child(3) {\n animation-delay: 0.84s;\n }\n\n @keyframes loading {\n 0% {\n background-color: var(--color-neutral-50);\n }\n 66% {\n background-color: var(--color-coral-700);\n }\n }\n"]))),xCt=v.default.div.withConfig({displayName:"ButtonLoading__Dot",componentId:"sc-1nus3mb-1"})(rCt||(rCt=jnt(["\n background-color: var(--color-coral-700);\n border-radius: 50%;\n height: 8px;\n width: 8px;\n"],["\n background-color: var(--color-coral-700);\n border-radius: 50%;\n height: 8px;\n width: 8px;\n"]))),kCt=t.forwardRef((function(e,t){var i=e.className,r=e.disabled,o=e.domIdentifier,a=e.icon,s=e.iconPosition,l=void 0===s?"left":s,c=e.isLoading,u=e.label,d=e.onClick,p=e.size,f=void 0===p?"Default":p;return n.jsxs(ECt,Dnt({className:i,disabled:r||c,"data-button":o,isLoading:c,isSmall:"Small"===f,onClick:d,ref:t},{children:[c&&n.jsx(wCt,{}),a&&"left"===l&&n.jsx(dSt,{size:"Small"===f&&22,defaultSVG:a}),n.jsx("span",{children:u}),a&&"right"===l&&n.jsx(dSt,{size:"Small"===f&&22,defaultSVG:a})]}))})),SCt=i.css(aCt||(aCt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.theme.reach2Theme;return i.css(oCt||(oCt=jnt(["\n align-items: center;\n appearance: none;\n background-color: transparent;\n border: 0;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0;\n\n &:disabled {\n color: ",";\n cursor: default;\n\n path {\n fill: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: 0 0 0 2px ",";\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n "],["\n align-items: center;\n appearance: none;\n background-color: transparent;\n border: 0;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0;\n\n &:disabled {\n color: ",";\n cursor: default;\n\n path {\n fill: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: 0 0 0 2px ",";\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n "])),t.colors.foreground.buttonDisabled,t.colors.foreground.iconDisabled,t.colors.background.interaction.primary,t.colors.foreground.button)})),ECt=v.default.button.withConfig({displayName:"BaseButton__StyledButton",componentId:"sc-10vs599-0"})((function(e){var t=e.isLoading,n=e.isSmall,r=e.theme.reach2Theme;return i.css(uCt||(uCt=jnt(["\n ","\n\n border-radius: ",";\n\n ","\n\n ","\n "],["\n ","\n\n border-radius: ",";\n\n ","\n\n ","\n "])),SCt,r.radius.button,n?i.css(sCt||(sCt=jnt(["\n gap: 6px;\n height: ",";\n padding: 6px ",";\n ","\n "],["\n gap: 6px;\n height: ",";\n padding: 6px ",";\n ","\n "])),r.spacing[32],r.spacing[16],r.typography.buttonLabel2):i.css(lCt||(lCt=jnt(["\n gap: ",";\n height: 46px;\n padding: "," ",";\n ","\n "],["\n gap: ",";\n height: 46px;\n padding: "," ",";\n ","\n "])),r.spacing[8],r.spacing[8],r.spacing[24],r.typography.buttonLabel1),t&&i.css(cCt||(cCt=jnt(["\n position: relative;\n\n & > *:not(:first-child) {\n visibility: hidden;\n }\n "],["\n position: relative;\n\n & > *:not(:first-child) {\n visibility: hidden;\n }\n "]))))})),CCt=t.forwardRef((function(e,t){var i=e.className,r=e.defaultSVG,o=e.disabled,a=e.domIdentifier,s=e.hoveredSVG,l=e.iconSize,c=e.onClick,u=Ant(e,["className","defaultSVG","disabled","domIdentifier","hoveredSVG","iconSize","onClick"]);return n.jsx(PCt,Dnt({className:i,"data-button":a,disabled:o,onClick:c,ref:t},u,{children:n.jsx(dSt,{defaultSVG:r,hoveredSVG:s,size:l})}))})),PCt=v.default.button.withConfig({displayName:"BaseIconButton__StyledButton",componentId:"sc-59hzmr-0"})(dCt||(dCt=jnt(["\n ","\n\n :disabled {\n [data-icon-state='default']:not(:only-of-type) {\n display: flex;\n }\n\n [data-icon-state='hovered'] {\n display: none;\n }\n }\n\n :focus-visible,\n :hover {\n [data-icon-state='default'] {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n ","\n\n :disabled {\n [data-icon-state='default']:not(:only-of-type) {\n display: flex;\n }\n\n [data-icon-state='hovered'] {\n display: none;\n }\n }\n\n :focus-visible,\n :hover {\n [data-icon-state='default'] {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),SCt),FCt=t.forwardRef((function(e,t){var i=e.buttonSize,r=void 0===i?"Medium":i,o=e.className,a=e.defaultSVG,s=e.disabled,l=e.hoveredSVG,c=e.isSelected,u=e.onClick;return n.jsx(TCt,{className:o,defaultSVG:a,disabled:s,hoveredSVG:!s&&l,iconSize:function(e){switch(e){case"Large":return 28;case"Small":return 20;default:return 24}}(r),onClick:u,ref:t,$buttonSize:r,$isSelected:c})})),TCt=v.default(CCt).withConfig({displayName:"IconButton__StyledBaseIconButton",componentId:"sc-1s09ne0-0"})((function(e){var t=e.$buttonSize,n=e.$isSelected,r=e.theme.reach2Theme;return i.css(vCt||(vCt=jnt(["\n border-radius: ",";\n\n ","\n\n ","\n\n ","\n\n ","\n "],["\n border-radius: ",";\n\n ","\n\n ","\n\n ","\n\n ","\n "])),r.radius.button,n?i.css(pCt||(pCt=jnt(["\n background-color: ",";\n\n [data-icon-state='default'] {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n "],["\n background-color: ",";\n\n [data-icon-state='default'] {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n "])),r.colors.theme.inverted.active):i.css(fCt||(fCt=jnt(["\n &:hover:not(:disabled) {\n background-color: ",";\n }\n\n &:focus:active:not(:disabled) {\n background-color: ",";\n }\n "],["\n &:hover:not(:disabled) {\n background-color: ",";\n }\n\n &:focus:active:not(:disabled) {\n background-color: ",";\n }\n "])),r.colors.theme.inverted.hover,r.colors.theme.inverted.pressed),"Large"===t&&i.css(hCt||(hCt=jnt(["\n width: 44px;\n height: 44px;\n padding: ",";\n "],["\n width: 44px;\n height: 44px;\n padding: ",";\n "])),r.spacing[8]),"Medium"===t&&i.css(mCt||(mCt=jnt(["\n width: ",";\n height: ",";\n padding: ",";\n "],["\n width: ",";\n height: ",";\n padding: ",";\n "])),r.spacing[32],r.spacing[32],r.spacing[4]),"Small"===t&&i.css(gCt||(gCt=jnt(["\n width: 28px;\n height: 28px;\n padding: ",";\n "],["\n width: 28px;\n height: 28px;\n padding: ",";\n "])),r.spacing[4]))})),DCt=v.default(FCt).withConfig({displayName:"BackButton__StyledIconButton",componentId:"sc-18svzaj-0"})(bCt||(bCt=jnt(["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"],["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"])));!function(e){e.Row="row",e.Column="column"}(yCt||(yCt={}));var ACt,ICt,$Ct,RCt,jCt,zCt,MCt,LCt,NCt,QCt,BCt=t.forwardRef((function(e,t){var i=e.className,r=e.defaultSVG,o=e.disabled,a=e.domIdentifier,s=e.hoveredSVG,l=e.iconSize,c=e.isSelected,u=e.label,d=e.labelDirection,p=e.labelGap,f=e.onClick,h=e.secondarySVG,m=Ant(e,["className","defaultSVG","disabled","domIdentifier","hoveredSVG","iconSize","isSelected","label","labelDirection","labelGap","onClick","secondarySVG"]);return n.jsxs(UCt,Dnt({className:i,"data-button":a,disabled:o,onClick:f,ref:t,$isSelected:c,$shouldAddMarginRight:!!h},m,{children:[n.jsxs(qCt,Dnt({flexDirection:d,"data-icon-host":!0,className:i,gap:p},{children:[n.jsx(GCt,Dnt({size:l,"data-icon":!0,"data-icon-state":"default"},{children:c?s:r})),s&&n.jsx(GCt,Dnt({size:l,"data-icon":!0,"data-icon-state":"hovered"},{children:s})),u&&n.jsx(WCt,Dnt({"data-icon-label":!0},{children:u}))]})),h]}))})),UCt=v.default.button.withConfig({displayName:"ContentActionButton__StyledButton",componentId:"p9fvi8-0"})((function(e){var t=e.$isSelected,n=e.$shouldAddMarginRight;return i.css($Ct||($Ct=jnt(["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n border-radius: 8px;\n background-color: transparent;\n box-sizing: border-box;\n padding: 4px 8px;\n\n font-size: 12px;\n line-height: 14px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n & > [data-icon-host='true'] {\n ","\n }\n\n ","\n "],["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n border-radius: 8px;\n background-color: transparent;\n box-sizing: border-box;\n padding: 4px 8px;\n\n font-size: 12px;\n line-height: 14px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n & > [data-icon-host='true'] {\n ","\n }\n\n ","\n "])),n?"margin-right: 8px":"",t?i.css(ACt||(ACt=jnt(["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n path {\n fill: var(--color-primary-500);\n }\n "],["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n path {\n fill: var(--color-primary-500);\n }\n "]))):i.css(ICt||(ICt=jnt(["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "],["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "]))))})),qCt=v.default.span.withConfig({displayName:"ContentActionButton__IconWrapper",componentId:"p9fvi8-1"})(RCt||(RCt=jnt(["\n color: var(--color-neutral-950);\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: ","px;\n\n [data-icon-state='default'] {\n display: flex;\n }\n"],["\n color: var(--color-neutral-950);\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: ","px;\n\n [data-icon-state='default'] {\n display: flex;\n }\n"])),(function(e){return"var(--icon-label-direction,".concat(e.flexDirection,")")}),(function(e){return"".concat(e.gap)})),WCt=v.default.p.withConfig({displayName:"ContentActionButton__Label",componentId:"p9fvi8-2"})(jCt||(jCt=jnt(["\n margin: 0;\n"],["\n margin: 0;\n"]))),GCt=v.default.span.withConfig({displayName:"ContentActionButton__Inner",componentId:"p9fvi8-3"})(zCt||(zCt=jnt(["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"],["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"])),(function(e){var t;return"".concat(null!==(t=e.size)&&void 0!==t?t:20,"px")}),(function(e){var t;return"".concat(null!==(t=e.size)&&void 0!==t?t:20,"px")}));v.default(CCt).withConfig({displayName:"FloatingButton__StyledBaseIconButton",componentId:"y80uu1-0"})((function(e){var t=e.$buttonSize,n=e.theme.reach2Theme;return i.css(NCt||(NCt=jnt(["\n background-color: ",";\n border-radius: 100%;\n box-shadow: ",";\n\n ","\n\n ","\n\n &:disabled {\n background-color: ",";\n }\n\n &:focus:active {\n background-color: ",";\n }\n\n &:hover:not(:disabled) {\n background-color: ",";\n }\n "],["\n background-color: ",";\n border-radius: 100%;\n box-shadow: ",";\n\n ","\n\n ","\n\n &:disabled {\n background-color: ",";\n }\n\n &:focus:active {\n background-color: ",";\n }\n\n &:hover:not(:disabled) {\n background-color: ",";\n }\n "])),n.colors.theme.primary,n.shadows.hardFloat,"Large"===t&&i.css(MCt||(MCt=jnt(["\n height: ",";\n width: ",";\n "],["\n height: ",";\n width: ",";\n "])),n.spacing[80],n.spacing[80]),"Small"===t&&i.css(LCt||(LCt=jnt(["\n height: 60px;\n width: 60px;\n "],["\n height: 60px;\n width: 60px;\n "]))),n.colors.theme.disabled,n.colors.theme.pressed,n.colors.theme.hover)})),v.default.div.withConfig({displayName:"ProfileButton__Host",componentId:"rvofml-0"})((function(e){var t=e.theme.reach2Theme;return i.css(QCt||(QCt=jnt(["\n align-items: center;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n padding: ",";\n "],["\n align-items: center;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n padding: ",";\n "])),t.colors.foreground.primary,t.spacing[4],t.spacing[16])}));var VCt,XCt,HCt,YCt,ZCt,KCt,JCt,ePt,tPt,nPt,iPt,rPt,oPt,aPt,sPt,lPt,cPt,uPt,dPt,pPt,fPt,hPt,mPt,gPt,vPt,bPt,yPt,OPt,wPt=v.default(kCt).withConfig({displayName:"StandardButton__PrimaryButton",componentId:"sc-1jz1k1f-0"})((function(e){var t=e.theme.reach2Theme;return i.css(VCt||(VCt=jnt(["\n background-color: ",";\n\n &:disabled {\n background-color: ",";\n }\n\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n box-shadow: 1px 1px ",";\n }\n "],["\n background-color: ",";\n\n &:disabled {\n background-color: ",";\n }\n\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n box-shadow: 1px 1px ",";\n }\n "])),t.colors.theme.primary,t.colors.theme.disabled,t.colors.theme.pressed,t.colors.theme.hover,t.colors.foreground.primary)})),_Pt=v.default(kCt).withConfig({displayName:"StandardButton__SecondaryButton",componentId:"sc-1jz1k1f-1"})((function(e){var t=e.theme.reach2Theme;return i.css(XCt||(XCt=jnt(["\n border: 1px solid ",";\n\n &:disabled {\n background-color: ",";\n border-color: ",";\n }\n\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:focus-visible {\n background-color: ",";\n border-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n box-shadow: 1px 1px ",";\n }\n "],["\n border: 1px solid ",";\n\n &:disabled {\n background-color: ",";\n border-color: ",";\n }\n\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:focus-visible {\n background-color: ",";\n border-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n box-shadow: 1px 1px ",";\n }\n "])),t.colors.stroke.border.primary,t.colors.background.interaction.disabled,t.colors.stroke.border.disabled,t.colors.background.interaction.pressed,t.colors.background.primary,t.colors.background.primary,t.colors.background.interaction.hover,t.colors.foreground.primary)})),xPt=v.default(kCt).withConfig({displayName:"StandardButton__TertiaryButton",componentId:"sc-1jz1k1f-2"})((function(e){var t=e.theme.reach2Theme;return i.css(HCt||(HCt=jnt(["\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n }\n "],["\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n }\n "])),t.colors.background.interaction.pressed,t.colors.background.interaction.hover)})),kPt=v.default(kCt).withConfig({displayName:"StandardButton__LinkButton",componentId:"sc-1jz1k1f-3"})((function(e){var t=e.theme.reach2Theme;return i.css(YCt||(YCt=jnt(["\n color: ",";\n text-decoration: underline;\n\n &:disabled {\n text-decoration: none;\n }\n\n &:active:not(:disabled) {\n color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n color: ",";\n }\n "],["\n color: ",";\n text-decoration: underline;\n\n &:disabled {\n text-decoration: none;\n }\n\n &:active:not(:disabled) {\n color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n color: ",";\n }\n "])),t.colors.foreground.primary,t.colors.foreground.tertiary,t.colors.foreground.secondary)})),SPt={body1:"span",body2:"span",buttonLabel1:"span",buttonLabel2:"span",caption1:"span",caption2:"span",h1:"h1",h2:"h2",h3:"h3",h4:"h4",inherit:"span",subtitle1:"span",subtitle2:"span"},EPt=v.default((function(e){var t=e.as,i=e.children,r=e.variant,o=Ant(e,["as","children","variant"]),a=t||SPt[r||"body1"];return n.jsx(a,Dnt({},o,{children:i}))})).withConfig({displayName:"Typography",componentId:"sc-3hhr8c-0"})((function(e){var t=e.align,n=e.decoration,r=e.italic,o=e.noWrap,a=e.theme.reach2Theme,s=e.variant,l=void 0===s?"body1":s,c=e.weight;return i.css(ZCt||(ZCt=jnt(["\n ","\n\n font-style: ",";\n font-weight: ",";\n text-align: ",";\n text-decoration: ",";\n\n ",";\n "],["\n ","\n\n font-style: ",";\n font-weight: ",";\n text-align: ",";\n text-decoration: ",";\n\n ",";\n "])),a.typography[l],r?"italic":"","semibold"===c?500:c||"",t||"",n||"",o&&"\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n ")})),CPt=function(e){var t=e.error,i=e.value;return"string"==typeof i?n.jsx(PPt,{children:i&&n.jsxs(n.Fragment,{children:[t&&n.jsx(pEt,{}),n.jsx(FPt,Dnt({$error:t,variant:"caption1"},{children:i}))]})}):null},PPt=v.default.span.withConfig({displayName:"Legend__LegendWrapper",componentId:"sc-5f72yn-0"})((function(e){var t=e.theme.reach2Theme;return i.css(KCt||(KCt=jnt(["\n align-items: center;\n display: flex;\n gap: ",";\n height: ",";\n\n > svg {\n height: 12px;\n width: 12px;\n\n & > path {\n stroke: ",";\n }\n }\n "],["\n align-items: center;\n display: flex;\n gap: ",";\n height: ",";\n\n > svg {\n height: 12px;\n width: 12px;\n\n & > path {\n stroke: ",";\n }\n }\n "])),t.spacing[4],t.typography.caption1.lineHeight,t.colors.feedback.error.background)})),FPt=v.default(EPt).withConfig({displayName:"Legend__StyledLegend",componentId:"sc-5f72yn-1"})((function(e){var t=e.$error,n=e.theme.reach2Theme;return i.css(JCt||(JCt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),t?n.colors.feedback.error.background:"inherit")})),TPt=function(e){var t=e.className,i=e.error,r=e.icon,o=e.label,a=e.onClick,s=e.onClose;return n.jsxs(IPt,Dnt({className:t,onClick:function(){return null==a?void 0:a()},$clickable:!!a,$error:i},{children:[r&&n.jsx(APt,{$error:i,defaultSVG:r,size:20}),n.jsx($Pt,Dnt({$error:i,variant:"body2"},{children:o})),s&&n.jsx(DPt,{defaultSVG:n.jsx(_St,{}),iconSize:20,onClick:function(e){e.stopPropagation(),s()},$error:i})]}))},DPt=v.default(CCt).withConfig({displayName:"Tag__CancelIconButton",componentId:"kgrxus-0"})(nPt||(nPt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.$error,n=e.theme.reach2Theme;return i.css(tPt||(tPt=jnt(["\n border-radius: ",";\n cursor: pointer;\n\n ","\n\n &:hover {\n background: ",";\n }\n\n &:active {\n background: ",";\n }\n "],["\n border-radius: ",";\n cursor: pointer;\n\n ","\n\n &:hover {\n background: ",";\n }\n\n &:active {\n background: ",";\n }\n "])),n.radius.button,t&&i.css(ePt||(ePt=jnt(["\n * {\n fill: ",";\n }\n "],["\n * {\n fill: ",";\n }\n "])),n.colors.feedback.error.background),t?n.colors.background.tag.closeButtonErrorHover:n.colors.background.tag.closeButtonHover,t?n.colors.background.tag.closeButtonErrorPressed:n.colors.background.tag.closeButtonPressed)})),APt=v.default(dSt).withConfig({displayName:"Tag__StyledIcon",componentId:"kgrxus-1"})((function(e){var t=e.$error,n=e.theme.reach2Theme;return i.css(rPt||(rPt=jnt(["\n ","\n "],["\n ","\n "])),t&&i.css(iPt||(iPt=jnt(["\n * {\n fill: ",";\n }\n "],["\n * {\n fill: ",";\n }\n "])),n.colors.feedback.error.background))})),IPt=v.default.div.withConfig({displayName:"Tag__StyledTag",componentId:"kgrxus-2"})(aPt||(aPt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.$clickable,n=e.$error,r=e.theme.reach2Theme;return i.css(oPt||(oPt=jnt(["\n align-items: center;\n background-color: ",";\n border: none;\n border-radius: ",";\n cursor: ",";\n display: flex;\n flex-shrink: 0;\n gap: ",";\n padding: 0 ",";\n "],["\n align-items: center;\n background-color: ",";\n border: none;\n border-radius: ",";\n cursor: ",";\n display: flex;\n flex-shrink: 0;\n gap: ",";\n padding: 0 ",";\n "])),n?r.colors.feedback.error.foreground:r.colors.background.primary,r.radius.rounded,t?"pointer":"default",r.spacing[4],r.spacing[8])})),$Pt=v.default(EPt).withConfig({displayName:"Tag__StyledTypography",componentId:"kgrxus-3"})(lPt||(lPt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.$error,n=e.theme.reach2Theme;return i.css(sPt||(sPt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),t?n.colors.feedback.error.background:"")})),RPt=function(e,i){var r=e.className,o=e.disabled,a=e.error,s=e.errorSelectedValues,l=e.label,c=e.leftIcon,u=e.legend,d=e.onBlur,p=e.onChange,f=e.onFocus,h=e.onKeyDown,m=e.onSelectedValuesChange,g=e.placeholder,v=e.readOnly,b=e.rightIcon,y=e.selectedValues,O=e.size,w=void 0===O?"Large":O,_=e.style,x=e.value,k=Ant(e,["className","disabled","error","errorSelectedValues","label","leftIcon","legend","onBlur","onChange","onFocus","onKeyDown","onSelectedValuesChange","placeholder","readOnly","rightIcon","selectedValues","size","style","value"]),S=t.useRef(null),E=i||S,C=t.useState(!1),P=C[0],F=C[1];return n.jsxs(jPt,Dnt({className:r,$disabled:o,style:_},{children:[l&&n.jsx(EPt,Dnt({variant:"body2",weight:"bold"},{children:l})),n.jsxs(zPt,Dnt({id:"input-wrapper",$disabled:o,$error:a||!!(null==s?void 0:s.length),$focus:P,$readOnly:v,$size:w,onClick:function(){null==E||E.current.focus()}},{children:[c,null==y?void 0:y.map((function(e){return n.jsx(MPt,{error:null==s?void 0:s.includes(e),label:e,onClose:function(){return function(e){m(y.filter((function(t){return t!==e})))}(e)}},e)})),n.jsx("input",Dnt({},k,{disabled:o||v,placeholder:(null==y?void 0:y.length)?void 0:g,onBlur:function(e){F(!1),null==d||d(e)},onChange:function(e){return null==p?void 0:p(e.target.value)},onFocus:function(e){F(!0),null==f||f(e)},onKeyDown:function(e){!function(e){if(y){var t=x.trim();if("Enter"===e.key&&t&&!y.includes(t)){var n=Rnt(Rnt([],y,!0),[t],!1);null==m||m(n),p("")}else"Backspace"===e.key&&!x&&y.length>0&&(n=y.slice(0,y.length-1),null==m||m(n))}}(e),null==h||h(e)},ref:E,value:x})),b]})),n.jsx(CPt,{error:a||!!(null==s?void 0:s.length),value:u})]}))},jPt=v.default.div.withConfig({displayName:"Input__Wrapper",componentId:"dyyr4z-0"})((function(e){var t=e.$disabled,n=e.theme.reach2Theme;return i.css(cPt||(cPt=jnt(["\n align-items: flex-start;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n "],["\n align-items: flex-start;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n "])),t?n.colors.foreground.disabled:n.colors.foreground.primary,n.spacing[4])})),zPt=v.default.div.withConfig({displayName:"Input__InputWrapper",componentId:"dyyr4z-1"})((function(e){var t=e.$disabled,n=e.$error,r=e.$focus,o=e.$readOnly,a=e.$size,s=e.theme.reach2Theme;return i.css(vPt||(vPt=jnt(["\n align-items: center;\n border: "," solid\n ",";\n border-radius: ",";\n box-sizing: border-box;\n cursor: text;\n display: flex;\n flex-wrap: wrap;\n gap: ",";\n padding: ","\n ",";\n width: 100%;\n\n &:hover {\n ","\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n > input {\n ",";\n border: none;\n color: ",";\n flex: 1;\n width: 100%;\n\n &::placeholder {\n color: ",";\n }\n\n &:disabled {\n background: ",";\n\n ","\n }\n }\n\n > svg {\n height: ",";\n width: ",";\n\n ","\n }\n "],["\n align-items: center;\n border: "," solid\n ",";\n border-radius: ",";\n box-sizing: border-box;\n cursor: text;\n display: flex;\n flex-wrap: wrap;\n gap: ",";\n padding: ","\n ",";\n width: 100%;\n\n &:hover {\n ","\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n > input {\n ",";\n border: none;\n color: ",";\n flex: 1;\n width: 100%;\n\n &::placeholder {\n color: ",";\n }\n\n &:disabled {\n background: ",";\n\n ","\n }\n }\n\n > svg {\n height: ",";\n width: ",";\n\n ","\n }\n "])),s.strokeWidth.thin,s.colors.stroke.input.default,s.radius.rounded,s.spacing[8],"Large"===a?s.spacing[8]:s.spacing[4],s.spacing[16],!t&&!o&&!r&&i.css(uPt||(uPt=jnt(["\n border-color: ",";\n box-shadow: ",";\n\n & > input::placeholder {\n color: ",";\n }\n "],["\n border-color: ",";\n box-shadow: ",";\n\n & > input::placeholder {\n color: ",";\n }\n "])),s.colors.stroke.border.primary,s.shadows.sharp,s.colors.foreground.secondary),r&&i.css(dPt||(dPt=jnt(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),s.colors.stroke.border.primary),o&&i.css(pPt||(pPt=jnt(["\n background-color: ",";\n border-color: ",";\n cursor: default;\n "],["\n background-color: ",";\n border-color: ",";\n cursor: default;\n "])),s.colors.background.interaction.disabled,s.colors.background.interaction.disabled),n&&i.css(fPt||(fPt=jnt(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),s.colors.feedback.error.background),t&&i.css(hPt||(hPt=jnt(["\n background-color: ",";\n border-color: ",";\n cursor: not-allowed;\n "],["\n background-color: ",";\n border-color: ",";\n cursor: not-allowed;\n "])),s.colors.background.interaction.disabled,s.colors.stroke.border.disabled),"Large"===a?s.typography.body1:s.typography.body2,s.colors.foreground.primary,s.colors.foreground.tertiary,s.colors.background.interaction.disabled,!o&&i.css(mPt||(mPt=jnt(["\n color: ",";\n cursor: not-allowed;\n\n &::placeholder {\n color: ",";\n }\n "],["\n color: ",";\n cursor: not-allowed;\n\n &::placeholder {\n color: ",";\n }\n "])),s.colors.foreground.disabled,s.colors.foreground.disabled),"Large"===a?"24px":"20px","Large"===a?"24px":"20px",t&&i.css(gPt||(gPt=jnt(["\n & > path {\n fill: ",";\n }\n "],["\n & > path {\n fill: ",";\n }\n "])),s.colors.foreground.iconDisabled))})),MPt=v.default(TPt).withConfig({displayName:"Input__StyledTag",componentId:"dyyr4z-2"})((function(e){var t=e.theme.reach2Theme;return i.css(bPt||(bPt=jnt(["\n max-width: calc(100% - ",");\n\n & > span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n "],["\n max-width: calc(100% - ",");\n\n & > span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n "])),t.spacing[32])})),LPt=t.forwardRef(RPt);v.default.div.withConfig({displayName:"OTPInput__Host",componentId:"sc-x2sm3g-0"})(yPt||(yPt=jnt(["\n display: flex;\n flex-direction: row;\n gap: 16px;\n margin: 0 20px;\n"],["\n display: flex;\n flex-direction: row;\n gap: 16px;\n margin: 0 20px;\n"]))),v.default.input.withConfig({displayName:"OTPInput__SingleInput",componentId:"sc-x2sm3g-1"})(OPt||(OPt=jnt(["\n width: 50px;\n height: 80px;\n border: 0;\n border-radius: 4px;\n background-color: var(--color-neutral-100);\n font-size: 40px;\n font-weight: 700;\n line-height: 48px;\n text-align: center;\n && {\n font-family: Anybody;\n }\n"],["\n width: 50px;\n height: 80px;\n border: 0;\n border-radius: 4px;\n background-color: var(--color-neutral-100);\n font-size: 40px;\n font-weight: 700;\n line-height: 48px;\n text-align: center;\n && {\n font-family: Anybody;\n }\n"])));var NPt,QPt,BPt,UPt,qPt,WPt,GPt,VPt,XPt=v.default.div.withConfig({displayName:"SearchInput__IconWrapper",componentId:"nc7qsi-0"})((function(e){var t=e.theme.reach2Theme;return i.css(NPt||(NPt=jnt(["\n position: absolute;\n right: ",";\n "],["\n position: absolute;\n right: ",";\n "])),t.spacing[16])})),HPt=v.default(LPt).withConfig({displayName:"SearchInput__StyledInput",componentId:"nc7qsi-1"})((function(e){var t=e.size,n=e.theme.reach2Theme;return i.css(QPt||(QPt=jnt(["\n position: relative;\n\n #input-wrapper {\n & > input {\n padding-right: ",";\n }\n }\n "],["\n position: relative;\n\n #input-wrapper {\n & > input {\n padding-right: ",";\n }\n }\n "])),"Large"===t?n.spacing[40]:n.spacing[32])}));v.default.div.withConfig({displayName:"Textarea__Wrapper",componentId:"ectbhv-0"})((function(e){var t=e.$disabled,n=e.theme.reach2Theme;return i.css(BPt||(BPt=jnt(["\n align-items: flex-start;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n "],["\n align-items: flex-start;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n "])),t?n.colors.foreground.disabled:n.colors.foreground.primary,n.spacing[4])})),v.default.textarea.withConfig({displayName:"Textarea__StyledTextarea",componentId:"ectbhv-1"})((function(e){var t=e.$error,n=e.$readOnly,r=e.theme.reach2Theme;return i.css(VPt||(VPt=jnt(["\n ",";\n\n border: "," solid\n ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n padding: "," ","\n "," ",";\n resize: none;\n width: 100%;\n\n &::placeholder {\n color: ",";\n }\n\n &:hover:not(:disabled, :focus) {\n ","\n }\n\n &:focus {\n border-color: ",";\n }\n\n &:disabled {\n ","\n\n &::placeholder {\n color: ",";\n }\n }\n\n ","\n\n ","\n "],["\n ",";\n\n border: "," solid\n ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n padding: "," ","\n "," ",";\n resize: none;\n width: 100%;\n\n &::placeholder {\n color: ",";\n }\n\n &:hover:not(:disabled, :focus) {\n ","\n }\n\n &:focus {\n border-color: ",";\n }\n\n &:disabled {\n ","\n\n &::placeholder {\n color: ",";\n }\n }\n\n ","\n\n ","\n "])),r.typography.body1,r.strokeWidth.thin,r.colors.stroke.input.default,r.radius.rounded,r.colors.foreground.primary,r.spacing[12],r.spacing[4],r.spacing[4],r.spacing[12],r.colors.foreground.tertiary,!n&&i.css(UPt||(UPt=jnt(["\n border-color: ",";\n box-shadow: ",";\n "],["\n border-color: ",";\n box-shadow: ",";\n "])),r.colors.stroke.border.primary,r.shadows.sharp),r.colors.stroke.border.primary,!n&&i.css(qPt||(qPt=jnt(["\n background-color: ",";\n border-color: ",";\n color: ",";\n cursor: not-allowed;\n "],["\n background-color: ",";\n border-color: ",";\n color: ",";\n cursor: not-allowed;\n "])),r.colors.background.interaction.disabled,r.colors.stroke.border.disabled,r.colors.foreground.disabled),r.colors.foreground.disabled,n&&i.css(WPt||(WPt=jnt(["\n background-color: ",";\n border-color: ",";\n cursor: default;\n "],["\n background-color: ",";\n border-color: ",";\n cursor: default;\n "])),r.colors.background.interaction.disabled,r.colors.background.interaction.disabled),t&&i.css(GPt||(GPt=jnt(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),r.colors.feedback.error.background))}));var YPt,ZPt,KPt,JPt,eFt,tFt,nFt,iFt,rFt,oFt,aFt,sFt,lFt,cFt,uFt,dFt,pFt,fFt,hFt,mFt,gFt,vFt,bFt,yFt,OFt,wFt,_Ft,xFt,kFt,SFt,EFt,CFt,PFt,FFt,TFt,DFt=function(e){var i=e.className,r=e.disabled,o=e.hasDivider,a=e.icon,s=e.id,l=e.isFocused,c=e.isSelected,u=e.label,d=e.onClick,p=e.sublabel,f=e.tailIcon,h=Ant(e,["className","disabled","hasDivider","icon","id","isFocused","isSelected","label","onClick","sublabel","tailIcon"]);return t.createElement(AFt,Dnt({},h,{className:i,disabled:r,id:s,key:u,onClick:d,$hasDivider:o,$isFocused:l,$isLarge:!!p,$isSelected:c}),n.jsxs(IFt,{children:[n.jsxs($Ft,{children:[n.jsx(dSt,{defaultSVG:a}),n.jsx(EPt,Dnt({variant:"body1"},{children:u}))]}),f&&n.jsx(dSt,{defaultSVG:f})]}),p&&n.jsx(RFt,Dnt({variant:"body2"},{children:p})))},AFt=v.default.button.withConfig({displayName:"MenuItem__ItemButton",componentId:"aicz53-0"})((function(e){var t=e.$hasDivider,n=e.$isFocused,r=e.$isLarge,o=e.$isSelected,a=e.theme.reach2Theme;return i.css(eFt||(eFt=jnt(["\n appearance: none;\n background-color: transparent;\n border: 0;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n height: ",";\n padding: "," ",";\n width: 100%;\n\n ","\n\n &:disabled {\n cursor: default;\n\n path {\n fill: ",";\n }\n\n span {\n color: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: ",";\n z-index: 1;\n outline: none;\n }\n\n ","\n\n ","\n "],["\n appearance: none;\n background-color: transparent;\n border: 0;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n height: ",";\n padding: "," ",";\n width: 100%;\n\n ","\n\n &:disabled {\n cursor: default;\n\n path {\n fill: ",";\n }\n\n span {\n color: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: ",";\n z-index: 1;\n outline: none;\n }\n\n ","\n\n ","\n "])),r?"auto":"42px",a.spacing[8],a.spacing[24],t&&i.css(YPt||(YPt=jnt(["\n border-bottom: "," solid\n ",";\n "],["\n border-bottom: "," solid\n ",";\n "])),a.strokeWidth.thin,a.colors.stroke.divider.primary),a.colors.foreground.disabled,a.colors.foreground.disabled,a.shadows.focusButton,n&&!o&&i.css(ZPt||(ZPt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),a.colors.background.interaction.hover),o?i.css(KPt||(KPt=jnt(["\n &,\n &.focusedItem {\n background-color: ",";\n }\n "],["\n &,\n &.focusedItem {\n background-color: ",";\n }\n "])),a.colors.theme.interactionSelected):i.css(JPt||(JPt=jnt(["\n &:focus:active {\n background-color: ",";\n }\n\n &:hover:not(:disabled) {\n background-color: ",";\n }\n "],["\n &:focus:active {\n background-color: ",";\n }\n\n &:hover:not(:disabled) {\n background-color: ",";\n }\n "])),a.colors.background.interaction.pressed,a.colors.background.interaction.hover))})),IFt=v.default.div.withConfig({displayName:"MenuItem__LabelWrapper",componentId:"aicz53-1"})(tFt||(tFt=jnt(["\n align-items: center;\n display: flex;\n justify-content: space-between;\n width: 100%;\n"],["\n align-items: center;\n display: flex;\n justify-content: space-between;\n width: 100%;\n"]))),$Ft=v.default.div.withConfig({displayName:"MenuItem__Head",componentId:"aicz53-2"})((function(e){var t=e.theme.reach2Theme;return i.css(nFt||(nFt=jnt(["\n align-items: center;\n display: flex;\n gap: ",";\n "],["\n align-items: center;\n display: flex;\n gap: ",";\n "])),t.spacing[8])})),RFt=v.default(EPt).withConfig({displayName:"MenuItem__Sublabel",componentId:"aicz53-3"})((function(e){var t=e.theme.reach2Theme;return i.css(iFt||(iFt=jnt(["\n color: ",";\n margin-left: ",";\n "],["\n color: ",";\n margin-left: ",";\n "])),t.colors.foreground.tertiary,t.spacing[32])})),jFt=function(e,i){var r=e.children,o=e.className,a=e.title,s=t.useState(null),l=s[0],c=s[1],u=t.Children.map(r,(function(e,n){if(t.isValidElement(e)){var i=n===l?"focusedItem":"";return t.cloneElement(e,{className:No(e.props.className,i),tabIndex:0===n?0:-1})}return e}));return n.jsxs(zFt,Dnt({ref:i,onKeyDown:function(e){var n=t.Children.count(r);if("ArrowDown"===e.key||"ArrowUp"===e.key){e.preventDefault();var i="ArrowDown"===e.key?1:-1;c(((null!=l?l:0)+i+n)%n)}},className:o},{children:[a&&n.jsx(MFt,Dnt({variant:"body2"},{children:a})),u]}))},zFt=v.default.div.withConfig({displayName:"MenuList__Host",componentId:"ucfoxb-0"})(rFt||(rFt=jnt(["\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n\n .focusedItem {\n background-color: ",";\n }\n"],["\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n\n .focusedItem {\n background-color: ",";\n }\n"])),(function(e){return e.theme.reach2Theme.colors.background.interaction.hover})),MFt=v.default(EPt).withConfig({displayName:"MenuList__StyledTypography",componentId:"ucfoxb-1"})((function(e){var t=e.theme.reach2Theme;return i.css(oFt||(oFt=jnt(["\n font-weight: 700;\n padding: "," ",";\n "],["\n font-weight: 700;\n padding: "," ",";\n "])),t.spacing[8],t.spacing[24])})),LFt=t.forwardRef(jFt),NFt=function(e){var t=e.align,i=e.alignOffset,r=e.anchor,o=e.children,a=e.className,s=e.collisionPadding,l=e.isOpen,c=e.onCloseAutoFocus,u=e.onOpenAutoFocus,d=e.onOpenChange,p=e.side,f=e.sideOffset,h=e.trigger,m=Efe();return n.jsxs(ZIe,Dnt({open:l,onOpenChange:d},{children:[null!=r&&n.jsx(KIe,Dnt({asChild:!0},{children:r})),null!=h&&n.jsx(JIe,Dnt({asChild:!0},{children:h})),n.jsx(e$e,{children:n.jsx(QFt,Dnt({className:No(m,a)},{children:n.jsx(BFt,Dnt({align:t,alignOffset:i,className:"PopoverContent",collisionPadding:s,hideWhenDetached:!0,onOpenAutoFocus:void 0!==u?u:function(e){return e.preventDefault()},onCloseAutoFocus:c,side:p,sideOffset:f},{children:o}))}))})]}))},QFt=v.default.div.withConfig({displayName:"BasePopover__PopoverOverrides",componentId:"sc-1vqo814-0"})(aFt||(aFt=jnt(["\n [data-radix-popper-content-wrapper] {\n z-index: 3 !important;\n\n .PopoverContent {\n animation-duration: 0.6s;\n animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n\n &[data-side='top'] {\n animation-name: slideUp;\n }\n\n &[data-side='bottom'] {\n animation-name: slideDown;\n }\n }\n\n @keyframes slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n @keyframes slideUp {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n }\n"],["\n [data-radix-popper-content-wrapper] {\n z-index: 3 !important;\n\n .PopoverContent {\n animation-duration: 0.6s;\n animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n\n &[data-side='top'] {\n animation-name: slideUp;\n }\n\n &[data-side='bottom'] {\n animation-name: slideDown;\n }\n }\n\n @keyframes slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n @keyframes slideUp {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n }\n"]))),BFt=v.default(t$e).withConfig({displayName:"BasePopover__StyledContent",componentId:"sc-1vqo814-1"})((function(e){var t=e.theme.reach2Theme;return i.css(sFt||(sFt=jnt(["\n background: ",";\n ","\n "],["\n background: ",";\n ","\n "])),t.colors.background.secondary,xfe)})),UFt=v.default.div.withConfig({displayName:"Select__Container",componentId:"sc-2sxoub-0"})((function(e){var t=e.$disabled,n=e.$error,r=e.$open,o=e.$size,a=e.theme.reach2Theme;return i.css(uFt||(uFt=jnt(["\n align-items: flex-start;\n background: ",";\n border: ",";\n\n border-radius: ",";\n cursor: ",";\n display: flex;\n gap: ",";\n padding: ",";\n\n &:focus-visible {\n outline: none;\n }\n\n ","\n\n ","\n "],["\n align-items: flex-start;\n background: ",";\n border: ",";\n\n border-radius: ",";\n cursor: ",";\n display: flex;\n gap: ",";\n padding: ",";\n\n &:focus-visible {\n outline: none;\n }\n\n ","\n\n ","\n "])),t&&a.colors.background.interaction.disabled,n?"".concat(a.strokeWidth.thin," solid\n ").concat(a.colors.stroke.input.error,";"):"".concat(a.strokeWidth.thin," solid\n ").concat(a.colors.stroke.border.disabled,";"),a.radius.rounded,t&&"not-allowed",a.spacing[8],"Large"===o?"".concat(a.spacing[12]," ").concat(a.spacing[16]):"".concat(a.spacing[4]," ").concat(a.spacing[12]),!t&&!n&&!r&&i.css(lFt||(lFt=jnt(["\n &:hover {\n border: "," solid\n ",";\n box-shadow: ",";\n\n input::placeholder {\n color: ",";\n }\n }\n\n &:focus-within {\n border: "," solid\n ",";\n box-shadow: none;\n }\n "],["\n &:hover {\n border: "," solid\n ",";\n box-shadow: ",";\n\n input::placeholder {\n color: ",";\n }\n }\n\n &:focus-within {\n border: "," solid\n ",";\n box-shadow: none;\n }\n "])),a.strokeWidth.thin,a.colors.stroke.border.focus,a.shadows.sharp,a.colors.foreground.secondary,a.strokeWidth.thick,a.colors.stroke.border.primary),r&&i.css(cFt||(cFt=jnt(["\n border: "," solid\n ",";\n box-shadow: none;\n "],["\n border: "," solid\n ",";\n box-shadow: none;\n "])),a.strokeWidth.thick,a.colors.stroke.border.primary))})),qFt=v.default.div.withConfig({displayName:"Select__EmptyStateContainer",componentId:"sc-2sxoub-1"})(pFt||(pFt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.theme.reach2Theme;return i.css(dFt||(dFt=jnt(["\n padding-left: ",";\n text-align: left;\n "],["\n padding-left: ",";\n text-align: left;\n "])),t.spacing[24])})),WFt=v.default.div.withConfig({displayName:"Select__Host",componentId:"sc-2sxoub-2"})((function(e){var t=e.theme.reach2Theme;return i.css(fFt||(fFt=jnt(["\n display: flex;\n flex-direction: column;\n gap: ",";\n "],["\n display: flex;\n flex-direction: column;\n gap: ",";\n "])),t.spacing[4])})),GFt=v.default.div.withConfig({displayName:"Select__InnerContainer",componentId:"sc-2sxoub-3"})((function(e){var t=e.$shouldWrap,n=e.theme.reach2Theme;return i.css(hFt||(hFt=jnt(["\n ","\n\n align-items: center;\n display: flex;\n flex-grow: 1;\n flex-wrap: ",";\n gap: ",";\n max-height: 120px;\n overflow: hidden auto;\n "],["\n ","\n\n align-items: center;\n display: flex;\n flex-grow: 1;\n flex-wrap: ",";\n gap: ",";\n max-height: 120px;\n overflow: hidden auto;\n "])),kfe(!1,!0),t?"wrap":"nowrap",n.spacing[8])})),VFt=v.default(dSt).withConfig({displayName:"Select__StyledIcon",componentId:"sc-2sxoub-4"})(mFt||(mFt=jnt(["\n flex-shrink: 0;\n"],["\n flex-shrink: 0;\n"]))),XFt=v.default.input.withConfig({displayName:"Select__Input",componentId:"sc-2sxoub-5"})((function(e){var t=e.$searchable,n=e.$size,r=e.theme.reach2Theme;return i.css(bFt||(bFt=jnt(["\n ",";\n\n border: none;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &::placeholder {\n color: ",";\n }\n\n ","\n\n &:disabled {\n background: ",";\n color: ",";\n cursor: not-allowed;\n }\n\n &:focus-visible {\n outline: none;\n }\n "],["\n ",";\n\n border: none;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &::placeholder {\n color: ",";\n }\n\n ","\n\n &:disabled {\n background: ",";\n color: ",";\n cursor: not-allowed;\n }\n\n &:focus-visible {\n outline: none;\n }\n "])),"Large"===n?r.typography.body1:r.typography.body2,r.colors.foreground.tertiary,t?i.css(gFt||(gFt=jnt(["\n width: auto;\n cursor: text;\n "],["\n width: auto;\n cursor: text;\n "]))):i.css(vFt||(vFt=jnt(["\n flex-grow: 1;\n cursor: default;\n "],["\n flex-grow: 1;\n cursor: default;\n "]))),r.colors.background.interaction.disabled,r.colors.foreground.disabled)})),HFt=v.default.div.withConfig({displayName:"Select__LabelHost",componentId:"sc-2sxoub-6"})((function(e){var t=e.theme.reach2Theme;return i.css(yFt||(yFt=jnt(["\n align-items: center;\n display: flex;\n gap: ",";\n "],["\n align-items: center;\n display: flex;\n gap: ",";\n "])),t.spacing[4])})),YFt=v.default(EPt).withConfig({displayName:"Select__StyledEmptyStateTypography",componentId:"sc-2sxoub-7"})(wFt||(wFt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.theme.reach2Theme;return i.css(OFt||(OFt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),t.colors.foreground.tertiary)})),ZFt=v.default(dSt).withConfig({displayName:"Select__StyledErrorIcon",componentId:"sc-2sxoub-8"})((function(e){var t=e.theme.reach2Theme;return i.css(_Ft||(_Ft=jnt(["\n * {\n stroke: ",";\n }\n "],["\n * {\n stroke: ",";\n }\n "])),t.colors.feedback.error.background)})),KFt=v.default(EPt).withConfig({displayName:"Select__StyledErrorTypography",componentId:"sc-2sxoub-9"})(kFt||(kFt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.theme.reach2Theme;return i.css(xFt||(xFt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),t.colors.feedback.error.background)})),JFt=v.default(dSt).withConfig({displayName:"Select__StyledOpenPopoverIcon",componentId:"sc-2sxoub-10"})((function(e){var t=e.$disabled,n=e.theme.reach2Theme;return i.css(EFt||(EFt=jnt(["\n * {\n ","\n }\n "],["\n * {\n ","\n }\n "])),t&&i.css(SFt||(SFt=jnt(["\n cursor: not-allowed;\n stroke: ",";\n "],["\n cursor: not-allowed;\n stroke: ",";\n "])),n.colors.foreground.iconDisabled))})),eTt=v.default(NFt).withConfig({displayName:"Select__StyledPopover",componentId:"sc-2sxoub-11"})((function(e){var t=e.$height,n=e.theme.reach2Theme;return i.css(CFt||(CFt=jnt(["\n .PopoverContent {\n ","\n\n border: "," solid\n ",";\n border-radius: ",";\n box-shadow: ",";\n box-sizing: border-box;\n max-height: ",";\n overflow-y: auto;\n padding: "," 0;\n width: var(--radix-popper-anchor-width);\n }\n "],["\n .PopoverContent {\n ","\n\n border: "," solid\n ",";\n border-radius: ",";\n box-shadow: ",";\n box-sizing: border-box;\n max-height: ",";\n overflow-y: auto;\n padding: "," 0;\n width: var(--radix-popper-anchor-width);\n }\n "])),kfe(!1,!0),n.strokeWidth.thin,n.colors.foreground.primary,n.radius.rounded,n.shadows.sharp,t?"".concat(t,"px"):"164px",n.spacing[16])}));v.default.li.withConfig({displayName:"UserSelect__UserListItem",componentId:"sc-8be19k-0"})((function(e){var t=e.$isSelected,n=e.theme.reach2Theme;return i.css(FFt||(FFt=jnt(["\n cursor: pointer;\n display: flex;\n justify-content: space-between;\n padding: "," ",";\n\n &:hover {\n background-color: ",";\n }\n\n ","\n "],["\n cursor: pointer;\n display: flex;\n justify-content: space-between;\n padding: "," ",";\n\n &:hover {\n background-color: ",";\n }\n\n ","\n "])),n.spacing[8],n.spacing[24],n.colors.background.interaction.hover,t&&i.css(PFt||(PFt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),n.colors.theme.interactionSelected))})),function(e){e[e.normal=0]="normal",e[e.close=1]="close"}(TFt||(TFt={}));var tTt,nTt,iTt,rTt,oTt,aTt,sTt,lTt,cTt,uTt,dTt,pTt,fTt,hTt,mTt,gTt,vTt,bTt,yTt,OTt,wTt,_Tt,xTt=t.forwardRef((function(e,t){var i=e.className,r=e.children,o=e.isBlocking,a=e.isOpen,s=e.onDismiss,l=e.title,c=e.titleSize,u=void 0===c?"large":c,d=e.triggerButton,p=e.type,f=void 0===p?TFt.close:p,h=Efe(),m=RD().formatMessage;return n.jsxs(_$e,Dnt({open:a,onOpenChange:function(e){return e||null==s?void 0:s()}},{children:[null!=d&&n.jsx(x$e,Dnt({asChild:!0},{children:d})),n.jsx(k$e,{children:n.jsx(kTt,{children:n.jsxs(STt,Dnt({className:No(h,i),ref:t,onInteractOutside:o?function(e){return e.preventDefault()}:void 0},{children:[(l||f===TFt.close)&&n.jsxs(ETt,Dnt({"data-dialog-header":!0,$hasTitle:!!l},{children:[l&&n.jsx(PTt,Dnt({"data-dialog-header-title":!0,$titleSize:u},{children:l})),f===TFt.close&&n.jsx(P$e,Dnt({asChild:!0},{children:n.jsx(FCt,{"aria-label":m({id:"Generic.close"}),defaultSVG:n.jsx(WSt,{}),hoveredSVG:n.jsx(BSt,{}),onClick:s})}))]})),n.jsx(CTt,Dnt({"data-dialog-inner":!0},{children:r}))]}))})})]}))})),kTt=v.default(S$e).withConfig({displayName:"BaseDialog__StyledOverlay",componentId:"sc-1mpyir9-0"})(tTt||(tTt=jnt(["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"],["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"]))),STt=v.default(E$e).withConfig({displayName:"BaseDialog__StyledContent",componentId:"sc-1mpyir9-1"})(nTt||(nTt=jnt(["\n background-color: white;\n color: var(--text-color-default);\n overflow: hidden;\n width: auto;\n z-index: 3;\n\n &:focus {\n outline: none;\n }\n"],["\n background-color: white;\n color: var(--text-color-default);\n overflow: hidden;\n width: auto;\n z-index: 3;\n\n &:focus {\n outline: none;\n }\n"]))),ETt=v.default.div.withConfig({displayName:"BaseDialog__Header",componentId:"sc-1mpyir9-2"})(iTt||(iTt=jnt(["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n justify-content: ",";\n padding: 24px 24px 0;\n"],["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n justify-content: ",";\n padding: 24px 24px 0;\n"])),(function(e){return e.$hasTitle?"space-between":"flex-end"})),CTt=v.default.div.withConfig({displayName:"BaseDialog__Inner",componentId:"sc-1mpyir9-3"})(rTt||(rTt=jnt(["\n box-sizing: border-box;\n height: 100%;\n"],["\n box-sizing: border-box;\n height: 100%;\n"]))),PTt=v.default(C$e).withConfig({displayName:"BaseDialog__StyledTitle",componentId:"sc-1mpyir9-4"})(oTt||(oTt=jnt(["\n font-size: ",";\n font-weight: 700;\n line-height: ",";\n\n @media screen and (min-width: ","px) {\n font-size: ",";\n line-height: ",";\n }\n"],["\n font-size: ",";\n font-weight: 700;\n line-height: ",";\n\n @media screen and (min-width: ","px) {\n font-size: ",";\n line-height: ",";\n }\n"])),(function(e){return"large"===e.$titleSize?"24px":"16px"}),(function(e){return"large"===e.$titleSize?"29px":"19px"}),Mse,(function(e){return"large"===e.$titleSize?"28px":"20px"}),(function(e){return"large"===e.$titleSize?"34px":"24px"})),FTt=t.forwardRef((function(e,t){var i=e.cancelButtonLabel,r=e.children,o=e.disableSave,a=e.dismissOnSave,s=void 0===a||a,l=e.footerContent,c=e.hideCancelButton,u=e.hideFooterDivider,d=e.isSaving,p=e.onCancel,f=e.onSave,h=e.saveButtonLabel,m=Ant(e,["cancelButtonLabel","children","disableSave","dismissOnSave","footerContent","hideCancelButton","hideFooterDivider","isSaving","onCancel","onSave","saveButtonLabel"]),g=RD().formatMessage;return n.jsxs(TTt,Dnt({ref:t},m,{children:[n.jsx(DTt,Dnt({"data-dialog-body":!0},{children:r})),(f||!c)&&n.jsxs(ATt,Dnt({"data-dialog-footer":!0,$hasContent:!!l,$hideBorder:u},{children:[l,n.jsxs(ITt,{children:[!c&&n.jsx(_Pt,{label:i||g({id:"Generic.Cancel"}),onClick:null!=p?p:m.onDismiss}),f&&n.jsx(wPt,{disabled:o,isLoading:d,label:h||g({id:"Generic.Save"}),onClick:function(){var e;null==f||f(),s&&(null===(e=m.onDismiss)||void 0===e||e.call(m))}})]})]}))]}))})),TTt=v.default(xTt).withConfig({displayName:"Dialog__StyledBaseDialog",componentId:"sc-1wziofc-0"})(uTt||(uTt=jnt(["\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n left: 50%;\n max-height: 85vh;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n ","\n\n ","\n"],["\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n left: 50%;\n max-height: 85vh;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n ","\n\n ","\n"])),xfe,(function(e){return e.maxwidth?i.css(aTt||(aTt=jnt(["\n max-width: ","px;\n "],["\n max-width: ","px;\n "])),e.maxwidth):i.css(sTt||(sTt=jnt(["\n max-width: 90vw;\n "],["\n max-width: 90vw;\n "])))}),(function(e){return e.minwidth?i.css(lTt||(lTt=jnt(["\n min-width: ","px;\n "],["\n min-width: ","px;\n "])),e.minwidth):i.css(cTt||(cTt=jnt(["\n min-width: 288px;\n "],["\n min-width: 288px;\n "])))})),DTt=v.default.div.withConfig({displayName:"Dialog__Body",componentId:"sc-1wziofc-1"})((function(e){var t=e.theme.reach2Theme;return i.css(dTt||(dTt=jnt(["\n height: calc(100% - 87px);\n overflow-y: auto;\n padding: ",";\n "],["\n height: calc(100% - 87px);\n overflow-y: auto;\n padding: ",";\n "])),t.spacing[24])})),ATt=v.default.div.withConfig({displayName:"Dialog__Footer",componentId:"sc-1wziofc-2"})((function(e){var t=e.$hasContent,n=e.$hideBorder,r=e.theme.reach2Theme;return i.css(fTt||(fTt=jnt(["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n gap: ",";\n justify-content: ",";\n margin-top: ",";\n padding: "," ","\n ",";\n width: 100%;\n\n ","\n "],["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n gap: ",";\n justify-content: ",";\n margin-top: ",";\n padding: "," ","\n ",";\n width: 100%;\n\n ","\n "])),r.spacing[8],t?"space-between":"flex-end",r.spacing[24],r.spacing[16],r.spacing[24],r.spacing[24],!n&&i.css(pTt||(pTt=jnt(["\n border-top: 1px solid var(--color-neutral-100);\n "],["\n border-top: 1px solid var(--color-neutral-100);\n "]))))})),ITt=v.default.div.withConfig({displayName:"Dialog__FooterActionsWrapper",componentId:"sc-1wziofc-3"})((function(e){var t=e.theme.reach2Theme;return i.css(hTt||(hTt=jnt(["\n display: flex;\n gap: ",";\n "],["\n display: flex;\n gap: ",";\n "])),t.spacing[12])})),$Tt=function(e){var t=e.isOpen,i=e.onDismiss,r=e.title,o=e.triggerButton,a=e.hideHeader,s=e.customActionButton,l=e.className,c=e.children,u=Ant(e,["isOpen","onDismiss","title","triggerButton","hideHeader","customActionButton","className","children"]),d=Efe();return n.jsxs(RTt,{children:[o,n.jsxs(lQe,Dnt({"data-modal":!0,isOpen:t,onDidDismiss:function(){return i()},className:d},u,{children:[!a&&n.jsx(MTt,{title:r,onDismiss:i,customActionButton:s,className:l}),n.jsx(jTt,Dnt({forceOverscroll:!1},{children:n.jsx(zTt,Dnt({"data-inlinemodal-content":!0,className:l},{children:c}))}))]}))]})},RTt=v.default.div.withConfig({displayName:"MobileInlineModal__Host",componentId:"sc-12osu96-0"})(mTt||(mTt=jnt(["\n display: flex;\n"],["\n display: flex;\n"]))),jTt=v.default(JNe).withConfig({displayName:"MobileInlineModal__StyledIonContent",componentId:"sc-12osu96-1"})(gTt||(gTt=jnt(["\n --padding-bottom: 0;\n"],["\n --padding-bottom: 0;\n"]))),zTt=v.default.div.withConfig({displayName:"MobileInlineModal__Content",componentId:"sc-12osu96-2"})(vTt||(vTt=jnt(["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"],["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"]))),MTt=function(e){var t=e.title,i=e.customActionButton,r=e.onDismiss,o=e.className;return n.jsx(LTt,Dnt({class:"ion-no-border","data-inlinemodal-header":!0,className:o},{children:n.jsxs(NTt,{children:[i||n.jsx(QTt,{onClick:r}),n.jsx(BTt,{children:t})]})}))},LTt=v.default(eQe).withConfig({displayName:"MobileInlineModal__StyledIonHeader",componentId:"sc-12osu96-3"})(bTt||(bTt=jnt(["\n background: var(--mobile-modal-background-color);\n"],["\n background: var(--mobile-modal-background-color);\n"]))),NTt=v.default.div.withConfig({displayName:"MobileInlineModal__Inner",componentId:"sc-12osu96-4"})(yTt||(yTt=jnt(["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"],["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"]))),QTt=v.default((function(e){var t=e.onClick,i=e.className;return n.jsx(DCt,{defaultSVG:n.jsx(kEt,{}),onClick:t,className:i})})).withConfig({displayName:"MobileInlineModal__StyledBackButton",componentId:"sc-12osu96-5"})(OTt||(OTt=jnt(["\n position: absolute;\n left: 0;\n top: 0;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n"]))),BTt=v.default.h2.withConfig({displayName:"MobileInlineModal__Title",componentId:"sc-12osu96-6"})(wTt||(wTt=jnt(["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"],["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"]))),UTt=439;v.default(xTt).withConfig({displayName:"Panel__StyledBaseDialog",componentId:"sc-mvozll-0"})(_Tt||(_Tt=jnt(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"],["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"])),UTt,UTt,(function(e){return e.isOpen?"contentEaseIn":"contentEaseOut"}),(function(e){return e.isOpen?"1":"0"}),UTt,UTt);var qTt,WTt,GTt,VTt=t.forwardRef((function(e,i){return!t.useContext(ZTt)||e.neverStackChildren?n.jsx(HTt,Dnt({ref:i},e)):n.jsx(XTt,Dnt({},e))})),XTt=function(e){var n=e.isOpen,i=e.onDismiss,r=e.initialBreakpoint,o=e.children,a=t.useContext(ZTt).addNewLayer;return t.useEffect((function(){n&&a(o,i,r)}),[n]),null},HTt=t.forwardRef((function(e,t){var i=e.isOpen,r=e.onDismiss,o=e.initialBreakpoint,a=e.breakpoints,s=e.className,l=e.children,c=Efe();return n.jsx(lQe,Dnt({isOpen:i,ref:t,onDidDismiss:r,initialBreakpoint:o,breakpoints:null!=a?a:[0,o,1],className:c,handleBehavior:"cycle"},{children:n.jsx(JNe,Dnt({forceOverscroll:!1},{children:n.jsx(YTt,Dnt({className:s},{children:l(r)}))}))}))})),YTt=v.default.div.withConfig({displayName:"ModalBottomSheet__Host",componentId:"sc-14p349p-0"})((function(e){var t=e.theme.reach2Theme;return i.css(qTt||(qTt=jnt(["\n padding-bottom: ",";\n padding-top: ",";\n\n @media screen and (min-width: ","px) {\n padding-top: ",";\n }\n "],["\n padding-bottom: ",";\n padding-top: ",";\n\n @media screen and (min-width: ","px) {\n padding-top: ",";\n }\n "])),t.spacing[32],t.spacing[48],zse,t.spacing[32])})),ZTt=t.createContext(null);v.default.div.withConfig({displayName:"Modal__Host",componentId:"wik3mt-0"})(WTt||(WTt=jnt(["\n display: flex;\n"],["\n display: flex;\n"]))),v.default(VTt).withConfig({displayName:"Modal__StyledModalBottomSheet",componentId:"wik3mt-1"})((function(e){var t=e.theme.reach2Theme;return i.css(GTt||(GTt=jnt(["\n padding-left: ",";\n padding-right: ",";\n "],["\n padding-left: ",";\n padding-right: ",";\n "])),t.spacing[24],t.spacing[24])}));var KTt=Cot,JTt=Wnt,eDt=Bnt,tDt=uit,nDt=ait,iDt=Sit.f,rDt=dot,oDt=eDt.Symbol;if(JTt&&"function"==typeof oDt&&(!("description"in oDt.prototype)||void 0!==oDt().description)){var aDt={},sDt=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof sDt?new oDt(e):void 0===e?oDt():oDt(e);return""===e&&(aDt[t]=!0),t};rDt(sDt,oDt);var lDt=sDt.prototype=oDt.prototype;lDt.constructor=sDt;var cDt=lDt.toString,uDt="Symbol(test)"==String(oDt("test")),dDt=/^Symbol\((.*)\)[^)]+$/;iDt(lDt,"description",{configurable:!0,get:function(){var e=nDt(this)?this.valueOf():this,t=cDt.call(e);if(tDt(aDt,e))return"";var n=uDt?t.slice(7,-1):t.replace(dDt,"$1");return""===n?void 0:n}}),KTt({global:!0,forced:!0},{Symbol:sDt})}var pDt,fDt,hDt,mDt,gDt=i.css(pDt||(pDt=jnt(["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"],["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"])));v.default(oQe).withConfig({displayName:"ConfirmationDialog__StyledIonActionSheet",componentId:"sc-m2uptd-0"})(fDt||(fDt=jnt(["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"],["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"])),gDt),v.default(FTt).withConfig({displayName:"ConfirmationDialog__StyledDialog",componentId:"sc-m2uptd-1"})(hDt||(hDt=jnt(["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-body] {\n padding-top: 8px;\n }\n\n [data-dialog-footer] {\n margin-top: 8px;\n }\n"],["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-body] {\n padding-top: 8px;\n }\n\n [data-dialog-footer] {\n margin-top: 8px;\n }\n"]))),v.default.div.withConfig({displayName:"ConfirmationDialog__Description",componentId:"sc-m2uptd-2"})(mDt||(mDt=jnt(["\n color: var(--color-neutral-800);\n ","\n"],["\n color: var(--color-neutral-800);\n ","\n"])),gDt);var vDt,bDt=v.default.div.withConfig({displayName:"Card__StyledCard",componentId:"ez92s6-0"})(vDt||(vDt=jnt(["\n display: flex;\n flex-direction: column;\n border-radius: 8px;\n background: white;\n box-sizing: border-box;\n"],["\n display: flex;\n flex-direction: column;\n border-radius: 8px;\n background: white;\n box-sizing: border-box;\n"])));v.default.button.withConfig({displayName:"TabGroup__TabButton",componentId:"sc-1t9m4tc-0"})((function(e){var t=e.theme.reach2Theme;return i.css(yDt||(yDt=jnt(["\n background-color: transparent;\n border: 0;\n padding: 0;\n\n &:focus:not(:active) "," {\n border-color: ",";\n border-radius: ",";\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n "],["\n background-color: transparent;\n border: 0;\n padding: 0;\n\n &:focus:not(:active) "," {\n border-color: ",";\n border-radius: ",";\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n "])),EDt,t.colors.stroke.border.primary,t.radius.minimal)}));var yDt,ODt,wDt,_Dt,xDt,kDt,SDt,EDt=v.default.span.withConfig({displayName:"TabGroup__TypographyWrapper",componentId:"sc-1t9m4tc-1"})((function(e){var t=e.$isDisabled,n=e.theme.reach2Theme;return i.css(ODt||(ODt=jnt(["\n border: "," solid transparent;\n color: ",";\n display: inline-block;\n padding: "," ",";\n "],["\n border: "," solid transparent;\n color: ",";\n display: inline-block;\n padding: "," ",";\n "])),n.strokeWidth.thick,t?n.colors.foreground.disabled:void 0,n.spacing[4],n.spacing[8])}));function CDt(e,n,i){return void 0===n&&(n=20),void 0===i&&(i=.8),t.useMemo((function(){var t=function(e,t,n){void 0===t&&(t=20),void 0===n&&(n=.8);var i=Math.floor(100*e/(window.innerHeight-t))/100;return i>=n?1:i}(e,n,i);return{initialBreakpoint:t,breakpoints:1!==t?[0,t,1]:[0,1]}}),[])}v.default.div.withConfig({displayName:"TabGroup__Underline",componentId:"sc-1t9m4tc-2"})((function(e){var t=e.$isDisabled,n=e.$isHovering,r=e.theme.reach2Theme,o=e.$visible;return i.css(wDt||(wDt=jnt(["\n background-color: ",";\n border-radius: ",";\n height: 2px;\n margin-top: ",";\n max-width: ",";\n transition: all 200ms ease-in-out;\n "],["\n background-color: ",";\n border-radius: ",";\n height: 2px;\n margin-top: ",";\n max-width: ",";\n transition: all 200ms ease-in-out;\n "])),t&&o?r.colors.stroke.divider.disabled:o?r.colors.stroke.divider.tabs:n?r.colors.stroke.divider.secondary:"transparent",r.radius.minimal,r.spacing[4],n||o?"100%":0)})),v.default.div.withConfig({displayName:"TabGroup__TabGroupWrapper",componentId:"sc-1t9m4tc-3"})((function(e){var t=e.theme.reach2Theme;return i.css(_Dt||(_Dt=jnt(["\n display: flex;\n gap: ",";\n "],["\n display: flex;\n gap: ",";\n "])),t.spacing[16])})),v.default.button.withConfig({displayName:"Table__TableExpandButton",componentId:"u0tsva-0"})((function(e){var t=e.$isExpanded,n=e.theme.reach2Theme;return i.css(xDt||(xDt=jnt(["\n ","\n cursor: pointer;\n margin-left: -","; // allow column title to align w/ cell text\n transform: ",";\n transition: transform 150ms ease-in-out;\n "],["\n ","\n cursor: pointer;\n margin-left: -","; // allow column title to align w/ cell text\n transform: ",";\n transition: transform 150ms ease-in-out;\n "])),SCt,n.spacing[24],t?"rotate(90deg)":void 0)})),v.default.div.withConfig({displayName:"Table__TableExpandIconPlaceholder",componentId:"u0tsva-1"})((function(e){var t=e.theme.reach2Theme;return i.css(kDt||(kDt=jnt(["\n display: inline-block;\n height: ",";\n margin-left: -","; // allow column title to align w/ cell text\n width: ",";\n "],["\n display: inline-block;\n height: ",";\n margin-left: -","; // allow column title to align w/ cell text\n width: ",";\n "])),t.spacing[24],t.spacing[24],t.spacing[24])})),v.default(Tnt).withConfig({displayName:"Table__StyledTable",componentId:"u0tsva-2"})(SDt||(SDt=jnt(["\n /* Ant Design Table overrides */\n .ant-table-column-sorters {\n justify-content: flex-start;\n gap: ",";\n }\n\n .ant-table-column-title {\n flex: unset;\n }\n\n .ant-table-thead th.ant-table-column-has-sorters:focus-visible {\n color: inherit;\n }\n\n .ant-table-thead tr {\n & > th,\n & > td {\n border-bottom: unset !important;\n }\n }\n\n .ant-table-row:not(.ant-table-row-level-0),\n .ant-table-tbody\n .ant-table-row:not(.ant-table-row-level-0).ant-table-row-selected\n > .ant-table-cell {\n background-color: ",";\n }\n\n table tr td.ant-table-selection-column {\n padding-inline-end: ",";\n padding-inline-start: ",";\n }\n\n .ant-spin .ant-spin-dot-item {\n background-color: ",";\n }\n\n .ant-table-cell {\n height: 56px;\n }\n\n .ant-table-cell-with-append {\n display: flex;\n align-items: center;\n }\n\n /* Ant Design Pagination overrides */\n .ant-pagination {\n &-item {\n background-color: ",";\n border-radius: 100%;\n\n &:not(.ant-pagination-item-active) {\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n\n &:focus-visible {\n border: "," solid\n ",";\n outline: none;\n }\n }\n\n &-active {\n background-color: ",";\n border: none;\n\n &:focus-visible {\n border: "," solid\n ",";\n outline: none !important;\n }\n\n a,\n a:hover {\n color: ",";\n }\n }\n }\n\n &-prev,\n &-next {\n background-color: ",";\n border-radius: 100%;\n\n .ant-pagination-item-link {\n border-radius: 100%;\n\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n }\n\n &:focus-visible .ant-pagination-item-link {\n border: "," solid\n ",";\n outline: none !important;\n }\n\n svg {\n fill: ",";\n }\n\n &.ant-pagination-disabled {\n &:hover,\n &:active {\n background-color: ",";\n }\n\n svg {\n fill: ",";\n }\n }\n }\n }\n\n /* Ant Design Checkbox overrides */\n .ant-checkbox .ant-checkbox-inner {\n border: "," solid\n ",";\n height: 20px;\n width: 20px;\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n\n .ant-checkbox-checked .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n\n &::after {\n height: 13px;\n top: 45%;\n width: 6px;\n }\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox-checked:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n\n .ant-checkbox-indeterminate .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n\n &::after {\n background-color: ",";\n height: 2px;\n width: 10px;\n }\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox-indeterminate:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n"],["\n /* Ant Design Table overrides */\n .ant-table-column-sorters {\n justify-content: flex-start;\n gap: ",";\n }\n\n .ant-table-column-title {\n flex: unset;\n }\n\n .ant-table-thead th.ant-table-column-has-sorters:focus-visible {\n color: inherit;\n }\n\n .ant-table-thead tr {\n & > th,\n & > td {\n border-bottom: unset !important;\n }\n }\n\n .ant-table-row:not(.ant-table-row-level-0),\n .ant-table-tbody\n .ant-table-row:not(.ant-table-row-level-0).ant-table-row-selected\n > .ant-table-cell {\n background-color: ",";\n }\n\n table tr td.ant-table-selection-column {\n padding-inline-end: ",";\n padding-inline-start: ",";\n }\n\n .ant-spin .ant-spin-dot-item {\n background-color: ",";\n }\n\n .ant-table-cell {\n height: 56px;\n }\n\n .ant-table-cell-with-append {\n display: flex;\n align-items: center;\n }\n\n /* Ant Design Pagination overrides */\n .ant-pagination {\n &-item {\n background-color: ",";\n border-radius: 100%;\n\n &:not(.ant-pagination-item-active) {\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n\n &:focus-visible {\n border: "," solid\n ",";\n outline: none;\n }\n }\n\n &-active {\n background-color: ",";\n border: none;\n\n &:focus-visible {\n border: "," solid\n ",";\n outline: none !important;\n }\n\n a,\n a:hover {\n color: ",";\n }\n }\n }\n\n &-prev,\n &-next {\n background-color: ",";\n border-radius: 100%;\n\n .ant-pagination-item-link {\n border-radius: 100%;\n\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n }\n\n &:focus-visible .ant-pagination-item-link {\n border: "," solid\n ",";\n outline: none !important;\n }\n\n svg {\n fill: ",";\n }\n\n &.ant-pagination-disabled {\n &:hover,\n &:active {\n background-color: ",";\n }\n\n svg {\n fill: ",";\n }\n }\n }\n }\n\n /* Ant Design Checkbox overrides */\n .ant-checkbox .ant-checkbox-inner {\n border: "," solid\n ",";\n height: 20px;\n width: 20px;\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n\n .ant-checkbox-checked .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n\n &::after {\n height: 13px;\n top: 45%;\n width: 6px;\n }\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox-checked:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n\n .ant-checkbox-indeterminate .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n\n &::after {\n background-color: ",";\n height: 2px;\n width: 10px;\n }\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox-indeterminate:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n"])),Vde.spacing[12],Vde.colors.background.tertiary,Vde.spacing[24],Vde.spacing[24],Vde.colors.theme.primary,Vde.colors.background.secondary,Vde.colors.background.interaction.hover,Vde.colors.background.interaction.pressed,Vde.strokeWidth.thicker,Vde.colors.stroke.border.primary,Vde.colors.theme.interactionSelected,Vde.strokeWidth.thicker,Vde.colors.stroke.border.primary,Vde.colors.theme.pressed,Vde.colors.background.secondary,Vde.colors.background.interaction.hover,Vde.colors.background.interaction.pressed,Vde.strokeWidth.thicker,Vde.colors.stroke.border.primary,Vde.colors.foreground.icon,Vde.colors.background.secondary,Vde.colors.foreground.iconDisabled,Vde.strokeWidth.thin,Vde.colors.stroke.border.disabled,Vde.colors.background.interaction.hover,Vde.colors.stroke.border.disabled,Vde.colors.background.inverted,Vde.colors.background.inverted,Vde.colors.foreground.secondary,Vde.colors.foreground.secondary,Vde.colors.background.inverted,Vde.colors.background.inverted,Vde.colors.foreground.iconInverted,Vde.colors.foreground.secondary,Vde.colors.foreground.secondary);var PDt=function(e){var i=e.onRequestToken,r=e.children,o=e.subscriptionId,a=t.useState(null),s=a[0],l=a[1],c=t.useMemo((function(){return{onRequestToken:null!=i?i:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Eo(void 0,void 0,void 0,(function(){return Co(this,(function(e){return[2,null!=i||null!=s]}))}))},getCurrentEmail:function(){return Eo(void 0,void 0,void 0,(function(){return Co(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Eo(void 0,void 0,void 0,(function(){return Co(this,(function(n){return sO.error(e,t),[2,Promise.reject(e)]}))}))}}}),[o,s]);return n.jsx(Pj.Provider,ko({value:c},{children:r}))},FDt="0.5.0-preview.1132",TDt="142647",DDt="c03c80a9bdaeb6f0f5eb81710a9513e4e92e57d8",ADt=G,IDt=M,$Dt=Sn("match"),RDt=function(e){var t;return ADt(e)&&(void 0!==(t=e[$Dt])?!!t:"RegExp"==IDt(e))},jDt=RDt,zDt=Sn("match"),MDt=function(e){if(jDt(e))throw TypeError("The method doesn't accept regular expressions");return e},LDt=B,NDt=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[zDt]=!1,"/./"[e](t)}catch(e){}}return!1};un({target:"String",proto:!0,forced:!NDt("includes")},{includes:function(e){return!!~String(LDt(this)).indexOf(MDt(e),arguments.length>1?arguments[1]:void 0)}});var QDt,BDt,UDt={configType:"local",authentication:{azuread:{clientId:"781a9147-6ddc-43fb-9cce-e01d7838ffe6",apiScope:"api://781a9147-6ddc-43fb-9cce-e01d7838ffe6/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/",signInPolicy:"common"},b2c:{postLogoutRedirectUri:"https://livetilesglobal.com/products/livetiles-reach",clientId:"b13f12ba-c1c5-41da-8e22-1252b5fed0e4",basePolicyUrl:"https://condenseappexternaldev.b2clogin.com/condenseappexternaldev.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternaldev.onmicrosoft.com/web/access_as_user"},teams:{clientId:"c17acfe6-6106-47e6-b9ac-12c6a9e78db6",scopes:["email","openid","profile","offline_access"],extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/"}},apiEndpoint:"http://localhost:5000/api/v1",api2Endpoint:"http://localhost:5000/api/v2",api3Endpoint:"http://localhost:5000/api/v3",webSocketsEndpoint:"ws://localhost:5000/api/v2",productWebsite:"https://reach.livetilesglobal.com/",supportUrl:"https://support.livetilesglobal.com/hc/en-us/categories/360001273732-Reach",releaseNotesUrl:"https://support.livetilesglobal.com/hc/en-us/sections/900001715263-Reach",privacyUrl:"https://livetilesglobal.com/livetiles-privacy-policy",eulaUrl:"https://livetilesglobal.com/livetiles-privacy-policy",unsplash:{appName:"Condense",apiKey:"N/A",clientId:"8b17ad8ed176954881976b7e08a2a6305d01b9b708455c14bbd43780ff6b62ba"},canva:{apiKey:"6vvsr2srHeve85SXxMX1k1LD"},zendeskMessaging:{enable:!0,apiKey:"816bfec7-3beb-457a-a4a1-f462c9cb403f"},webAppUrl:"http://localhost:3000",hyperfish:{regionJumperUrl:"https://antrearegionjumper.azurewebsites.net/api/antrearegionjumper",regionJumperKey:"T1YDqmyQX/bXhFapRLdaPBenzRLMCCNafSVwzmwI7fYnkwj6wLL0Hg=="},maxFileSizeInMb:100,giphy:{apiKey:"idBrSgzpBdNCqLmXPRaoHz9DFGKK79wU"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"},analytics:{regions:{global:{dashboardHostName:"superset.test.analytics.livetiles.io",ingestionHostName:"api.test.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"2bea68bc-88a7-4476-b7ec-047ecc32aafb"}]}}}},qDt={configType:"production",authentication:{azuread:{clientId:"d492530a-8cff-481c-90da-9c3c3f1be7da",apiScope:"api://d492530a-8cff-481c-90da-9c3c3f1be7da/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"]},b2c:{clientId:"cc9987a7-c666-4be1-a81c-f80dba7ef2e9",basePolicyUrl:"https://condenseappexternal.b2clogin.com/condenseappexternal.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternal.onmicrosoft.com/web/access_as_user"},teams:{clientId:"a7c1920d-3ac0-42db-9757-078a2b321fd8"}},apiEndpoint:"https://api.reach.livetiles.io/api/v1",api2Endpoint:"https://api.reach.livetiles.io/api/v2",api3Endpoint:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:"wss://ws.reach.livetiles.io/api/v2",webAppUrl:"https://reach.livetiles.io",additionalWebAppUrls:["https://app.reach.livetiles.io","https://app.condense.ch"],appInsightsKey:"c4758fee-1409-47a9-a508-03efd775256c",canva:{apiKey:"mYnapNU5aDqD-1xEMFZkpdzT"},giphy:{apiKey:"jqAFrpqGDwOFqeu8Rn6YfjRGkKhlxZyn"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"},analytics:{regions:{global:{dashboardHostName:"superset-euw.analytics.livetiles.io",ingestionHostName:"api-euw.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"a44aca36-7e16-447d-b7ed-5e341572a682"}]},australia:{dashboardHostName:"superset-aue.analytics.livetiles.io",ingestionHostName:"api-aue.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"7223a003-7e72-4410-b187-254270088d05"}]},usa:{dashboardHostName:"superset-use.analytics.livetiles.io",ingestionHostName:"api-use.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"e528a9f3-ff8e-4c3a-b484-586b0dba9ca2"}]}}}},WDt=require("deepmerge"),GDt=["//localhost","//api:5000","//api.dev.reach.livetiles.io","//api.test.reach.livetiles.io","//api.staging.reach.livetiles.io","//api-dev.condense.ch","//api-test.condense.ch","//api-staging.condense.ch"],VDt=function(e){var i=e.children,r=hh(),o=r.apiEndpoint,a=r.additionalVideoSources,s=t.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!GDt.some((function(e){return o.toLowerCase().includes(e)}));if(!e)return sO.info("Will use non prod client config..."),ko(ko({},UDt),{additionalVideoSources:a});var t=WDt(UDt,qDt,{arrayMerge:function(e,t){return t}});return ko(ko({},t),{additionalVideoSources:a})}())}),[o]);return n.jsx(Ch.Provider,ko({value:s},{children:i}))},XDt=function(){function e(){this.storage={}}return e.prototype.remove=function(e){return delete this.storage[e],Promise.resolve()},e.prototype.clearAll=function(){return this.storage={},Promise.resolve()},e.prototype.getObject=function(e){var t;return Promise.resolve(null!==(t=this.storage[e])&&void 0!==t?t:null)},e.prototype.set=function(e,t){return this.storage[e]=t,Promise.resolve()},e.prototype.getString=function(e){return Eo(this,void 0,void 0,(function(){return Co(this,(function(t){switch(t.label){case 0:return[4,this.getObject(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.setString=function(e,t){return Eo(this,void 0,void 0,(function(){return Co(this,(function(n){switch(n.label){case 0:return[4,this.set(e,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.getAllKeys=function(){return Promise.resolve(Object.keys(this.storage))},e}(),HDt=new XDt,YDt=function(e){var t=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?n.jsx(ZDt,ko({subscriptionId:t},{children:i})):n.jsx(n.Fragment,{children:i})},ZDt=function(e){var i=e.subscriptionId,r=e.children,o=t.useContext(Pj).setToken,a=lA(),s=Cpe().getSubscriptionBySubscriptionIdentifier,l=jY().fetchFromApi,c=t.useContext(oA),u=c.handleFatalError,d=c.handleAccessDeniedError,p=kj((function(){return Eo(this,void 0,void 0,(function(){var e,t,n;return Co(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+i,[4,a.getString(e)];case 1:return(t=r.sent())?(o(t),[2,!0]):[4,s(i)];case 2:return r.sent().allowPublicAccess?[4,v(i)]:[3,5];case 3:return n=r.sent(),o(n),[4,a.setString(e,n)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[i]),f=p[0],h=p[1],m=p[2];if(m)return sO.error(m),u({error:m}),null;if(h)return null;if(!f){var g={message:"Public access is not enabled for the subscription ".concat(i,"!")};return sO.error(g.message),d({error:g}),null}return n.jsx(n.Fragment,{children:r});function v(e){return l("/subscriptions/".concat(e,"/public_access_token")).then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},KDt=function(e){var i=e.children,r=t.useState(),o=r[0],a=r[1],s=t.useState(),l=s[0],c=s[1],u=t.useState(),d=u[0],p=u[1],f=t.useMemo((function(){return{handleFatalError:a,handleAccessDeniedError:c,handleNotFoundError:p}}),[a,c,p]);return n.jsx(oA.Provider,ko({value:f},{children:n.jsx(JDt,ko({fatalError:o,notFoundError:d,accessDeniedError:l},{children:i}))}))},JDt=function(e){var t=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,o=e.children;return t?n.jsx(eAt,{messageId:t.messageId,error:t.error}):i?n.jsx(eAt,{messageId:"AccessDenied.genericMessage",error:i.error}):r?n.jsx(eAt,{messageId:"NotFound.message"}):n.jsx(n.Fragment,{children:o})},eAt=function(i){var r=i.messageId,o=i.error,a=RD().formatMessage,s=t.useState(!1),l=s[0],c=s[1];return n.jsx(qxt,ko({errorType:e.ErrorType.GenericError,alertText:a({id:r||"FatalError.genericMessage"}),onClick:function(){return c(!l)}},{children:l&&n.jsxs(tAt,{children:[n.jsx(tA,{id:"Generic.error.details"}),n.jsx(nAt,{children:JSON.stringify(o)||"Not provided"})]})}))},tAt=v.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(QDt||(QDt=Ro(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Ase),nAt=v.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(BDt||(BDt=Ro(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),iAt=function(e){var i=e.children,r=Aue(),o=t.useMemo((function(){return{onShare:function(){return Eo(void 0,void 0,void 0,(function(){return Co(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return n.jsx(aA.Provider,ko({value:o},{children:i}));function a(e){window.open(e,"_blank")}function s(e){window.open("".concat(r).concat(e))}},rAt=function(){return null},oAt=Object.freeze({__proto__:null,Page:rAt,NavLinkSidebarItem:rAt,PageMenuActionItem:rAt});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: ".concat(FDt," (").concat(TDt,") [").concat(DDt,"]")),window.__did_initialize_reach_context)return;r.initializeIcons()}();var aAt=function(e){var t=e.disableAnalytics,i=e.appName,r=e.children;return t?n.jsx(zle,{children:r}):n.jsx(Dle,ko({appName:i},{children:r}))},sAt=function(e){var i,r=e.children,o=e.language,a=e.languageFallback,s=void 0===a?"default":a,l=e.locale,c=e.subscriptionId,u=t.useContext(ipe).setTheme,d=t.useContext(hA).changeSettings,p=function(){var e=ioe().getCurrentUser,t=EJ();return{getCurrentUser:function(n){return K6(this,void 0,void 0,(function(){var i=this;return J6(this,(function(r){switch(r.label){case 0:return[4,t.fetchQuery(["fetchCurrentUser",n],(function(){return K6(i,void 0,void 0,(function(){return J6(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}().getCurrentUser,f=kj((function(){var e,t,n;return Eo(this,void 0,void 0,(function(){var i,r,a,f;return Co(this,(function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,p(c)];case 1:return i=h.sent(),(null===(e=null==i?void 0:i.subscription)||void 0===e?void 0:e.theme)&&u(i.subscription.theme),r=vE(o,"default"===s?i.preferredUiLanguage:null,gE(),null===(t=i.subscription)||void 0===t?void 0:t.defaultLanguage),a=function(e,t,n){return n?Uie(t)||Uie(qie())||Uie(Wie())||Uie(null==e?void 0:e.preferredLocale)||Uie(null==e?void 0:e.preferredUiLanguage)||"en":Uie(t)||Uie(null==e?void 0:e.preferredLocale)||Uie(qie())||Uie(null==e?void 0:e.preferredUiLanguage)||Uie(Wie())||"en"}(i,l,"browser"===s),d(r,a).then((function(){return null}),sO.error),"browser"===s?(i.preferredContentLanguage=o||gE()||(null===(n=i.subscription)||void 0===n?void 0:n.defaultLanguage)||"en",i.preferredLocale=a,i.preferredUiLanguage=r):o&&(i.preferredContentLanguage=o),[2,i];case 2:throw f=h.sent(),sO.error(f),f;case 3:return[2]}}))}))})),h=f[0],m=f[1],g=f[2],v=f[3],b=t.useContext(oA),y=b.handleFatalError,O=b.handleNotFoundError,w=b.handleAccessDeniedError,_=t.useMemo((function(){return{isLibUser:!0,refreshUser:function(e){return Promise.resolve(e&&v(e))},user:h}}),[h]);return g?(403===(null===(i=null==g?void 0:g.response)||void 0===i?void 0:i.statusCode)?w({error:g}):y({error:g}),null):m?null:null==h?(O({}),null):n.jsx(lre.Provider,ko({value:_},{children:r}))},lAt=function(){return t.useEffect((function(){!function(){var e="https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap";if(!document.querySelector('head link[href="'.concat(e,'"]'))){var t=document.createElement("link");t.href="https://fonts.gstatic.com/",t.rel="preconnect",t.crossOrigin="";var n=document.createElement("link");n.href=e,n.rel="stylesheet",document.head.prepend(n),document.head.prepend(t)}}()}),[]),n.jsxs(n.Fragment,{children:[n.jsx(a9,{}),n.jsx(c9,{})]})};var cAt=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,uAt=/[\0-\x1F\x7F-\x9F]/,dAt=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,pAt=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\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\u09FD\u0A76\u0AF0\u0C84\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\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\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]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;function fAt(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function hAt(e){return Object.prototype.toString.call(e)}function mAt(e){return"[object Function]"===hAt(e)}function gAt(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var vAt={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var bAt={"http:":{validate:function(e,t,n){var i=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var i=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},yAt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function OAt(e){var t=e.re=function(e){var t={};return t.src_Any=cAt.source,t.src_Cc=uAt.source,t.src_Z=dAt.source,t.src_P=pAt.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var r=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var i={validate:null,link:null};if(e.__compiled__[t]=i,function(e){return"[object Object]"===hAt(e)}(n))return!function(e){return"[object RegExp]"===hAt(e)}(n.validate)?mAt(n.validate)?i.validate=n.validate:o(t,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(mAt(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===hAt(e)}(n)?o(t,n):r.push(t)}})),r.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(gAt).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function wAt(e,t){var n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}function _At(e,t){var n=new wAt(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function xAt(e,t){if(!(this instanceof xAt))return new xAt(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||vAt.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=fAt({},vAt,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=fAt({},bAt,e),this.__compiled__={},this.__tlds__=yAt,this.__tlds_replaced__=!1,this.re={},OAt(this)}xAt.prototype.add=function(e,t){return this.__schemas__[e]=t,OAt(this),this},xAt.prototype.set=function(e){return this.__opts__=fAt(this.__opts__,e),this},xAt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},xAt.prototype.pretest=function(e){return this.re.pretest.test(e)},xAt.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},xAt.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(_At(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(_At(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},xAt.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),OAt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,OAt(this),this)},xAt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},xAt.prototype.onCompile=function(){};var kAt=xAt,SAt={exports:{}};!function(e,t){var n;n=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),t=JSON.parse('{"vi":{"Đ":"D","đ":"d"}}');function n(n,i){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},o=i.replacement||"-",a=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return i.lower&&(a=a.toLowerCase()),i.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"")),a}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(SAt);var EAt=SAt.exports;function CAt(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function PAt(){return PAt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},PAt.apply(this,arguments)}function FAt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TAt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function DAt(e,t,n){return t&&TAt(e.prototype,t),n&&TAt(e,n),e}function AAt(e){return AAt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},AAt(e)}function IAt(e){return IAt="function"==typeof Symbol&&"symbol"===AAt(Symbol.iterator)?function(e){return AAt(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":AAt(e)},IAt(e)}function $At(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RAt(e,t){return!t||"object"!==IAt(t)&&"function"!=typeof t?$At(e):t}function jAt(e){return jAt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},jAt(e)}function zAt(e,t){return zAt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},zAt(e,t)}function MAt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zAt(e,t)}function LAt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NAt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function QAt(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var BAt=function(e){return e===Object(e)?Object.keys(e):[]},UAt=function(e){return e===Object(e)?Object.values(e):[]};function qAt(e,t){var n=Object.assign({},e);return VAt(e)&&VAt(t)&&BAt(t).forEach((function(i){VAt(t[i])&&i in e?n[i]=qAt(e[i],t[i]):Object.assign(n,pb({},i,t[i]))})),n}var WAt=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.reduce((function(e,t){return qAt(e,t)}),e)},GAt=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},VAt=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},XAt=function(e){return(e||[]).filter(Boolean)},HAt=function(e){return"&"===e[0]},YAt=function(e){return!HAt(e)},ZAt=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},KAt=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=BAt(e),i={},r=0,o=n.length;r<o;r+=1){var a=n[r],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(i[a]=e[a])}return i},JAt=function(e,t){for(var n=t.map(ZAt),i=BAt(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(ZAt(s))>=0)&&(r[s]=e[s])}return r},eIt=function e(t,n){for(var i=WAt.apply(void 0,[{},GAt(t,n)].concat(FBe(UAt(JAt(t,n))))),r=BAt(i).filter(HAt),o=0,a=r.length;o<a;o+=1){var s=r[o],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=WAt({},i,l)):i[s]=l}return i};function tIt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function nIt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tIt(Object(n),!0).forEach((function(t){pb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tIt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var iIt=["animationName"],rIt=function(e){var t=e.style,n=e.className;return nIt(nIt({},t?{style:KAt(t,iIt)}:{}),n?{className:n}:{})},oIt=t.createContext(rIt);oIt.Provider;var aIt=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return BAt(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},sIt={},lIt=function(e){return function(t,n){var i,r=n||sIt;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=aIt(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function cIt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function uIt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cIt(Object(n),!0).forEach((function(t){pb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cIt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var dIt=function(e){var t=e&&BAt(e)[0];return t&&t.split("__")[0].split("--")[0]},pIt=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(FBe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),FBe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(FBe(r)):r}};function fIt(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rIt,o=n||dIt(i)||(null==t?void 0:t.className),a="function"==typeof t?t:lIt((function(e,n){var a=aIt(e);CTe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),CTe(!n||VAt(n),"Optional second parameter must be a plain object.");var s=a.filter(HAt),l=a.filter(YAt),c=l.length>0?function(e){return UAt(JAt(e,l))}:function(e){return[e]},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(eIt(e,s))},d=pIt(o,l,s);return fIt(uIt(uIt(uIt({},(t||n)&&{style:WAt.apply(void 0,[{}].concat(FBe(u(n)),FBe(u(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=uIt({},"function"==typeof t?t:{style:t}),l=FBe(new Set([].concat(FBe(s.className?s.className.split(" "):[]),FBe(o?o.split(" "):[])))),c=i?XAt(l.map((function(e){return i[e]}))):l,u=r(uIt(uIt({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,u),a}function hIt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function mIt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hIt(Object(n),!0).forEach((function(t){pb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hIt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var gIt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return mIt(mIt(mIt({},e),"function"==typeof t?t:{}),{},{style:mIt(mIt({},e.style),"function"==typeof t?t.style:t)})}),{})},vIt=function(e,n,i){var r=n.style,o=n.className,a=n.classNames,s=t.useContext(oIt);return t.useMemo((function(){return fIt({style:r,className:o,classNames:a},s)}),[r,o,a,s])(i,e)},bIt=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},yIt="__id__",OIt="__display__",wIt=function(e,t){CTe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(OIt),i=e.indexOf(yIt);return n<0&&(n=null),i<0&&(i=null),CTe(null!==n||null!==i,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==i?"id"===t&&i<=n||"display"===t&&n<=i?0:1:0},_It=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=NAt(t.exec(e.toString()),3),i=n[1],r=n[2];return CTe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},xIt=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},kIt=function(){},SIt=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:kIt,o=_It(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=xIt(t)+1,n})),l=0,c=0;null!==(i=o.exec(e));){var u=s.find((function(e){return!!i[e]})),d=s.indexOf(u),p=t[d],f=p.markup,h=p.displayTransform,m=u+wIt(f,"id"),g=u+wIt(f,"display"),v=i[m],b=h(v,i[g]),y=e.substring(l,i.index);r(y,l,c),c+=y.length,n(i[0],i.index,c,v,b,d,l),c+=b.length,l=o.lastIndex}l<e.length&&r(e.substring(l),l,c)},EIt=function(e,t){var n="";return SIt(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},CIt=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},a=function(e,t,o,a,s,l,c){void 0===i&&o+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return SIt(e,t,a,o),void 0===i?e.length:i},PIt=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},FIt=function(e,t){var n=[];return SIt(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},TIt=function(e,t){return"".concat(e,"-").concat(t)},DIt=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},AIt=function(e){var t=bIt(e),n=e[e.indexOf(OIt)+OIt.length],i=e[e.indexOf(yIt)+yIt.length];return new RegExp(t.replace(OIt,"([^".concat(bIt(n||""),"]+?)")).replace(yIt,"([^".concat(bIt(i||""),"]+?)")))},IIt=function(e){return t.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?$It(i,n):AIt(n),displayTransform:r||function(e,t){return t||e}}}))},$It=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=xIt(t);return CTe(n===i,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(i,")")),e},RIt=[{base:"A",letters:/(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(Ꜳ|[\uA732])/g},{base:"AE",letters:/(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(Ꜵ|[\uA734])/g},{base:"AU",letters:/(Ꜷ|[\uA736])/g},{base:"AV",letters:/(Ꜹ|Ꜻ|[\uA738\uA73A])/g},{base:"AY",letters:/(Ꜽ|[\uA73C])/g},{base:"B",letters:/(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(DZ|DŽ|[\u01F1\u01C4])/g},{base:"Dz",letters:/(Dz|Dž|[\u01F2\u01C5])/g},{base:"E",letters:/(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(LJ|[\u01C7])/g},{base:"Lj",letters:/(Lj|[\u01C8])/g},{base:"M",letters:/(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(NJ|[\u01CA])/g},{base:"Nj",letters:/(Nj|[\u01CB])/g},{base:"O",letters:/(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(Œ|[\u0152])/g},{base:"OI",letters:/(Ƣ|[\u01A2])/g},{base:"OO",letters:/(Ꝏ|[\uA74E])/g},{base:"OU",letters:/(Ȣ|[\u0222])/g},{base:"P",letters:/(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(Þ|[\u00DE])/g},{base:"TZ",letters:/(Ꜩ|[\uA728])/g},{base:"U",letters:/(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(Ꝡ|[\uA760])/g},{base:"W",letters:/(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(ꜳ|[\uA733])/g},{base:"ae",letters:/(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(ꜵ|[\uA735])/g},{base:"au",letters:/(ꜷ|[\uA737])/g},{base:"av",letters:/(ꜹ|ꜻ|[\uA739\uA73B])/g},{base:"ay",letters:/(ꜽ|[\uA73D])/g},{base:"b",letters:/(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(dz|dž|[\u01F3\u01C6])/g},{base:"e",letters:/(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(ƕ|[\u0195])/g},{base:"i",letters:/(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(ij|[\u0133])/g},{base:"j",letters:/(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(lj|[\u01C9])/g},{base:"m",letters:/(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(nj|[\u01CC])/g},{base:"o",letters:/(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(œ|[\u0153])/g},{base:"oi",letters:/(ƣ|[\u01A3])/g},{base:"ou",letters:/(ȣ|[\u0223])/g},{base:"oo",letters:/(ꝏ|[\uA74F])/g},{base:"p",letters:/(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(ß|[\u00DF])/g},{base:"t",letters:/(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(þ|[\u00FE])/g},{base:"tz",letters:/(ꜩ|[\uA729])/g},{base:"u",letters:/(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(ꝡ|[\uA761])/g},{base:"w",letters:/(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],jIt=function(e){return function(e){var t=e;return RIt.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},zIt=function(e,t,n){return n?jIt(e).indexOf(jIt(t)):e.toLowerCase().indexOf(t.toLowerCase())},MIt=function(e){return"number"==typeof e},LIt=function(e){return e===Object(e)?Object.keys(e):[]},NIt=function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function QIt(e,t){return function(n){var i=function(i){var r=i.style,o=i.className,a=i.classNames,s=QAt(i,["style","className","classNames"]),l=t?t(s):void 0,c=vIt(e,{style:r,className:o,classNames:a},l);return g.default.createElement(n,PAt({},s,{style:c}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var BIt=function(e){function n(){var e;return FAt(this,n),LAt($At(e=RAt(this,jAt(n).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return MAt(n,e),DAt(n,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var i={left:t,top:n};this.setState(i),this.props.onCaretPositionChange(i)}}}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.selectionStart,r=n.selectionEnd,o=n.value,a=n.style,s=n.children,l=n.containerRef,c=IIt(s);i===r&&(e=CIt(o,c,i,"START"));var u=[],d={},p=u,f=0;return SIt(o,c,(function(e,n,i,r,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);p.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(MIt(e)&&e>=i&&e<=i+n.length){var o=e-i;p.push(t.renderSubstring(n.substring(0,o),f)),p=[t.renderSubstring(n.substring(o),f)]}else p.push(t.renderSubstring(n,f));f++})),p.push(" "),p!==u&&u.push(this.renderHighlighterCaret(p)),g.default.createElement("div",PAt({},a,{ref:l}),u)}},{key:"renderSubstring",value:function(e,t){return g.default.createElement("span",PAt({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,n,i,r){var o={id:e,display:n,key:r},a=t.Children.toArray(this.props.children)[i];return g.default.cloneElement(a,o)}},{key:"renderHighlighterCaret",value:function(e){return g.default.createElement("span",PAt({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),n}(t.Component);LAt(BIt,"propTypes",{selectionStart:l0.number,selectionEnd:l0.number,value:l0.string.isRequired,onCaretPositionChange:l0.func.isRequired,containerRef:l0.oneOfType([l0.func,l0.shape({current:"undefined"==typeof Element?l0.any:l0.instanceOf(Element)})]),children:l0.oneOfType([l0.element,l0.arrayOf(l0.element)]).isRequired}),LAt(BIt,"defaultProps",{value:""});var UIt=QIt({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(BIt),qIt=function(e){function t(){return FAt(this,t),RAt(this,jAt(t).apply(this,arguments))}return MAt(t,e),DAt(t,[{key:"render",value:function(){var e=NIt(this.props,["style","classNames","className"],LIt(t.propTypes));return g.default.createElement("li",PAt({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,i=e.suggestion,r=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(i,t,s,r,o):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,i=t.query,r=t.style,o=zIt(e,i,n);return-1===o?g.default.createElement("span",r("display"),e):g.default.createElement("span",r("display"),e.substring(0,o),g.default.createElement("b",r("highlight"),e.substring(o,o+i.length)),e.substring(o+i.length))}}]),t}(t.Component);LAt(qIt,"propTypes",{id:l0.string.isRequired,query:l0.string.isRequired,index:l0.number.isRequired,ignoreAccents:l0.bool,suggestion:l0.oneOfType([l0.string,l0.shape({id:l0.oneOfType([l0.string,l0.number]).isRequired,display:l0.string})]).isRequired,renderSuggestion:l0.func,focused:l0.bool});var WIt=QIt({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(qIt);function GIt(){var e=vIt(),t=e("spinner");return g.default.createElement("div",e,g.default.createElement("div",t,g.default.createElement("div",t(["element","element1"])),g.default.createElement("div",t(["element","element2"])),g.default.createElement("div",t(["element","element3"])),g.default.createElement("div",t(["element","element4"])),g.default.createElement("div",t(["element","element5"]))))}var VIt=function(e){function n(){var e,t;FAt(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return LAt($At(t=RAt(this,(e=jAt(n)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,n){t.props.onMouseEnter&&t.props.onMouseEnter(e)})),LAt($At(t),"select",(function(e,n){t.props.onSelect(e,n)})),LAt($At(t),"setUlElement",(function(e){t.ulElement=e})),t}return MAt(n,e),DAt(n,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,i=t.bottom,r=this.ulElement.getBoundingClientRect().top;i=i-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:i>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=i-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,i=e.isOpened,r=e.style,o=e.onMouseDown,a=e.containerRef,s=e.position,l=e.left,c=e.top;return i?g.default.createElement("div",PAt({},gIt({position:s||"absolute",left:l,top:c},r),{onMouseDown:o,ref:a}),g.default.createElement("ul",PAt({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},r("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var i=n.results,r=n.queryInfo;return[].concat(CAt(t),CAt(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,n,i){var r=this,o=i===this.props.focusIndex,a=n.childIndex,s=n.query,l=t.Children.toArray(this.props.children)[a].props.renderSuggestion,c=this.props.ignoreAccents;return g.default.createElement(WIt,{style:this.props.style("item"),key:"".concat(a,"-").concat(XIt(e)),id:TIt(this.props.id,i),query:s,index:i,ignoreAccents:c,renderSuggestion:l,suggestion:e,focused:o,onClick:function(){return r.select(e,n)},onMouseEnter:function(){return r.handleMouseEnter(i)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return g.default.createElement(GIt,{style:this.props.style("loadingIndicator")})}}]),n}(t.Component);LAt(VIt,"propTypes",{id:l0.string.isRequired,suggestions:l0.object.isRequired,a11ySuggestionsListLabel:l0.string,focusIndex:l0.number,position:l0.string,left:l0.number,top:l0.number,scrollFocusedIntoView:l0.bool,isLoading:l0.bool,isOpened:l0.bool.isRequired,onSelect:l0.func,ignoreAccents:l0.bool,containerRef:l0.oneOfType([l0.func,l0.shape({current:"undefined"==typeof Element?l0.any:l0.instanceOf(Element)})]),children:l0.oneOfType([l0.element,l0.arrayOf(l0.element)]).isRequired}),LAt(VIt,"defaultProps",{suggestions:{},onSelect:function(){return null}});var XIt=function(e){return"string"==typeof e?e:e.id},HIt=QIt({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(VIt);function YIt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ZIt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YIt(n,!0).forEach((function(t){LAt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YIt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var KIt={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},JIt=!1,e$t={singleLine:l0.bool,allowSpaceInQuery:l0.bool,allowSuggestionsAboveCursor:l0.bool,forceSuggestionsAboveCursor:l0.bool,ignoreAccents:l0.bool,a11ySuggestionsListLabel:l0.string,value:l0.string,onKeyDown:l0.func,onSelect:l0.func,onBlur:l0.func,onChange:l0.func,suggestionsPortalHost:"undefined"==typeof Element?l0.any:l0.PropTypes.instanceOf(Element),inputRef:l0.oneOfType([l0.func,l0.shape({current:"undefined"==typeof Element?l0.any:l0.instanceOf(Element)})]),children:l0.oneOfType([l0.element,l0.arrayOf(l0.element)]).isRequired},t$t=function(e){function n(e){var i;return FAt(this,n),LAt($At(i=RAt(this,jAt(n).call(this,e))),"setContainerElement",(function(e){i.containerElement=e})),LAt($At(i),"getInputProps",(function(){var e=i.props,t=e.readOnly,n=e.disabled,r=e.style;return ZIt({},NIt(i.props,["style","classNames","className"],LIt(e$t)),{},r("input"),{value:i.getPlainText()},!t&&!n&&{onChange:i.handleChange,onSelect:i.handleSelect,onKeyDown:i.handleKeyDown,onBlur:i.handleBlur,onCompositionStart:i.handleCompositionStart,onCompositionEnd:i.handleCompositionEnd,onScroll:i.updateHighlighterScroll},{},i.isOpened()&&{role:"combobox","aria-controls":i.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":TIt(i.uuidSuggestionsOverlay,i.state.focusIndex)})})),LAt($At(i),"renderControl",(function(){var e=i.props,t=e.singleLine,n=e.style,r=i.getInputProps();return g.default.createElement("div",n("control"),i.renderHighlighter(),t?i.renderInput(r):i.renderTextarea(r))})),LAt($At(i),"renderInput",(function(e){return g.default.createElement("input",PAt({type:"text",ref:i.setInputRef},e))})),LAt($At(i),"renderTextarea",(function(e){return g.default.createElement("textarea",PAt({ref:i.setInputRef},e))})),LAt($At(i),"setInputRef",(function(e){i.inputElement=e;var t=i.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),LAt($At(i),"setSuggestionsElement",(function(e){i.suggestionsElement=e})),LAt($At(i),"renderSuggestionsOverlay",(function(){if(!MIt(i.state.selectionStart))return null;var e=i.state.suggestionsPosition,t=e.position,n=e.left,r=e.top,o=g.default.createElement(HIt,{id:i.uuidSuggestionsOverlay,style:i.props.style("suggestions"),position:t,left:n,top:r,focusIndex:i.state.focusIndex,scrollFocusedIntoView:i.state.scrollFocusedIntoView,containerRef:i.setSuggestionsElement,suggestions:i.state.suggestions,onSelect:i.addMention,onMouseDown:i.handleSuggestionsMouseDown,onMouseEnter:i.handleSuggestionsMouseEnter,isLoading:i.isLoading(),isOpened:i.isOpened(),ignoreAccents:i.props.ignoreAccents,a11ySuggestionsListLabel:i.props.a11ySuggestionsListLabel},i.props.children);return i.props.suggestionsPortalHost?y.default.createPortal(o,i.props.suggestionsPortalHost):o})),LAt($At(i),"renderHighlighter",(function(){var e=i.state,t=e.selectionStart,n=e.selectionEnd,r=i.props,o=r.singleLine,a=r.children,s=r.value,l=r.style;return g.default.createElement(UIt,{containerRef:i.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:t,selectionEnd:n,onCaretPositionChange:i.handleCaretPositionChange},a)})),LAt($At(i),"setHighlighterElement",(function(e){i.highlighterElement=e})),LAt($At(i),"handleCaretPositionChange",(function(e){i.setState({caretPosition:e})})),LAt($At(i),"getPlainText",(function(){return EIt(i.props.value||"",IIt(i.props.children))})),LAt($At(i),"executeOnChange",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o,a;return i.props.onChange?(o=i.props).onChange.apply(o,[e].concat(n)):i.props.valueLink?(a=i.props.valueLink).requestChange.apply(a,[e.target.value].concat(n)):void 0})),LAt($At(i),"handleChange",(function(e){if(JIt=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=i.props.value||"",n=IIt(i.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=EIt(e,i),l=s.length-t.length;"undefined"===r&&(r=a+l),"undefined"===o&&(o=r),r===o&&o===a&&s.length===t.length&&(r-=1);var c=t.slice(r,a),u=Math.min(r,a),d=o;r===a&&(d=Math.max(o,r+l));var p=CIt(e,i,u,"START"),f=CIt(e,i,d,"END"),h=CIt(e,i,u,"NULL"),m=CIt(e,i,d,"NULL"),g=null===h||null===m,v=PIt(e,p,f,c);if(!g){var b=EIt(v,i);if(b!==t){for(u=0;t[u]===b[u];)u++;c=t.slice(u,a),d=s.lastIndexOf(t.substring(a)),p=CIt(e,i,u,"START"),f=CIt(e,i,d,"END"),v=PIt(e,p,f,c)}}return v}(t,r,{selectionStartBefore:i.state.selectionStart,selectionEndBefore:i.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},n);r=EIt(o,n);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,c=function(e,t,n){var i=n,r=!1;if(SIt(e,t,(function(e,t,o,a,s,l,c){o<=n&&o+s.length>n&&(i=o,r=!0)})),r)return i}(t,n,a);void 0!==c&&i.state.selectionEnd>c&&(s=a=c,l=!0),i.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var u=FIt(o,n),d={target:{value:o}};i.executeOnChange(d,o,r,u)}})),LAt($At(i),"handleSelect",(function(e){if(i.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!JIt){var t=i.inputElement;e.target.selectionStart===e.target.selectionEnd?i.updateMentionsQueries(t.value,e.target.selectionStart):i.clearSuggestions(),i.updateHighlighterScroll(),i.props.onSelect(e)}})),LAt($At(i),"handleKeyDown",(function(e){if(0!==DIt(i.state.suggestions)&&i.suggestionsElement)switch(Object.values(KIt).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case KIt.ESC:return void i.clearSuggestions();case KIt.DOWN:return void i.shiftFocus(1);case KIt.UP:return void i.shiftFocus(-1);case KIt.RETURN:case KIt.TAB:return void i.selectFocused();default:return}else i.props.onKeyDown(e)})),LAt($At(i),"shiftFocus",(function(e){var t=DIt(i.state.suggestions);i.setState({focusIndex:(t+i.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),LAt($At(i),"selectFocused",(function(){var e=i.state,t=e.suggestions,n=e.focusIndex,r=Object.values(t).reduce((function(e,t){var n=t.results,i=t.queryInfo;return[].concat(CAt(e),CAt(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[n],o=r.result,a=r.queryInfo;i.addMention(o,a),i.setState({focusIndex:0})})),LAt($At(i),"handleBlur",(function(e){var t=i._suggestionsMouseDown;i._suggestionsMouseDown=!1,t||i.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){i.updateHighlighterScroll()}),1),i.props.onBlur(e,t)})),LAt($At(i),"handleSuggestionsMouseDown",(function(e){i._suggestionsMouseDown=!0})),LAt($At(i),"handleSuggestionsMouseEnter",(function(e){i.setState({focusIndex:e,scrollFocusedIntoView:!1})})),LAt($At(i),"updateSuggestionsPosition",(function(){var e=i.state.caretPosition,t=i.props,n=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&i.suggestionsElement){var a=i.suggestionsElement,s=i.highlighterElement,l=s.getBoundingClientRect(),c=n$t(s,"font-size"),u={left:l.left+e.left,top:l.top+e.top+c},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var p={};if(n){p.position="fixed";var f=u.left,h=u.top;f-=n$t(a,"margin-left"),h-=n$t(a,"margin-top"),f-=s.scrollLeft,h-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);f+a.offsetWidth>m?p.left=Math.max(0,m-a.offsetWidth):p.left=f,r&&h+a.offsetHeight>d&&a.offsetHeight<h-c||o?p.top=Math.max(0,h-a.offsetHeight-c):p.top=h}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>i.containerElement.offsetWidth?p.right=0:p.left=g,r&&u.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-c-s.scrollTop?p.top=v-a.offsetHeight-c:p.top=v}p.left===i.state.suggestionsPosition.left&&p.top===i.state.suggestionsPosition.top&&p.position===i.state.suggestionsPosition.position||i.setState({suggestionsPosition:p})}}})),LAt($At(i),"updateHighlighterScroll",(function(){var e=i.inputElement,t=i.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),LAt($At(i),"handleCompositionStart",(function(){JIt=!0})),LAt($At(i),"handleCompositionEnd",(function(){JIt=!1})),LAt($At(i),"setSelection",(function(e,t){if(null!==e&&null!==t){var n=i.inputElement;if(n.setSelectionRange)n.setSelectionRange(e,t);else if(n.createTextRange){var r=n.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),LAt($At(i),"updateMentionsQueries",(function(e,t){i._queryId++,i.suggestions={},i.setState({suggestions:{}});var n=i.props.value||"",r=i.props.children,o=IIt(r),a=CIt(n,o,t,"NULL");if(null!==a){var s=function(e,t){var n=FIt(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(n.substring(0,a),o),l=e.substring(s,t);g.default.Children.forEach(r,(function(t,n){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,i=bIt(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,i.props),o=l.match(r);if(o){var a=s+l.indexOf(o[1],o.index);i.queryData(o[2],n,a,a+o[1].length,e)}}}))}})),LAt($At(i),"clearSuggestions",(function(){i._queryId++,i.suggestions={},i.setState({suggestions:{},focusIndex:0})})),LAt($At(i),"queryData",(function(e,n,r,o,a){var s=i.props,l=s.children,c=s.ignoreAccents,u=function(e,t){return e instanceof Array?function(n,i){for(var r=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;zIt(s,n,t)>=0&&r.push(e[o])}return r}:e}(t.Children.toArray(l)[n].props.data,c),d=u(e,i.updateSuggestions.bind(null,i._queryId,n,e,r,o,a));d instanceof Array&&i.updateSuggestions(i._queryId,n,e,r,o,a,d)})),LAt($At(i),"updateSuggestions",(function(e,t,n,r,o,a,s){if(e===i._queryId){i.suggestions=ZIt({},i.suggestions,LAt({},t,{queryInfo:{childIndex:t,query:n,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=i.state.focusIndex,c=DIt(i.suggestions);i.setState({suggestions:i.suggestions,focusIndex:l>=c?Math.max(c-1,0):l})}})),LAt($At(i),"addMention",(function(e,n){var r=e.id,o=e.display,a=n.childIndex,s=n.querySequenceStart,l=n.querySequenceEnd,c=n.plainTextValue,u=i.props.value||"",d=IIt(i.props.children),p=t.Children.toArray(i.props.children)[a].props,f=p.markup,h=p.displayTransform,m=p.appendSpaceOnAdd,g=p.onAdd,v=CIt(u,d,s,"START"),b=v+l-s,y=function(e,t,n){return e.replace(yIt,t).replace(OIt,n)}(f,r,o);m&&(y+=" ");var O=PIt(u,v,b,y);i.inputElement.focus();var w=h(r,o);m&&(w+=" ");var _=s+w.length;i.setState({selectionStart:_,selectionEnd:_,setSelectionAfterMentionChange:!0});var x={target:{value:O}},k=FIt(O,d),S=PIt(c,s,l,w);i.executeOnChange(x,O,S,k),g&&g(r,o,v,b),i.clearSuggestions()})),LAt($At(i),"isLoading",(function(){var e=!1;return g.default.Children.forEach(i.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),LAt($At(i),"isOpened",(function(){return MIt(i.state.selectionStart)&&(0!==DIt(i.state.suggestions)||i.isLoading())})),LAt($At(i),"_queryId",0),i.suggestions={},i.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),i.handleCopy=i.handleCopy.bind($At(i)),i.handleCut=i.handleCut.bind($At(i)),i.handlePaste=i.handlePaste.bind($At(i)),i.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},i}return MAt(n,e),DAt(n,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return g.default.createElement("div",PAt({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.value,a=r.children,s=IIt(a),l=CIt(o,s,n,"START"),c=CIt(o,s,i,"END"),u=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=PIt(o,l,c,u||d).replace(/\r/g,""),f=EIt(p,s),h={target:ZIt({},e.target,{value:p})};this.executeOnChange(h,p,f,FIt(p,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=IIt(o),l=CIt(a,s,n,"START"),c=CIt(a,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",a.slice(l,c))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=IIt(o),l=CIt(a,s,n,"START"),c=CIt(a,s,i,"END"),u=[a.slice(0,l),a.slice(c)].join(""),d=EIt(u,s),p={target:ZIt({},e.target,{value:d})};this.executeOnChange(p,u,d,FIt(a,s))}}}]),n}(g.default.Component);LAt(t$t,"propTypes",e$t),LAt(t$t,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var n$t=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},i$t=QIt({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:ZIt({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(t$t),r$t={fontWeight:"inherit"},o$t=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,o=vIt(r$t,{style:n,className:i,classNames:r});return g.default.createElement("strong",o,t)};o$t.propTypes={onAdd:l0.func,onRemove:l0.func,renderSuggestion:l0.func,trigger:l0.oneOfType([l0.string,l0.instanceOf(RegExp)]),markup:l0.string,displayTransform:l0.func,allowSpaceInQuery:l0.bool,isLoading:l0.bool},o$t.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1};var a$t=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function s$t(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=a$t.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var i=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof i&&i.length>0?i:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var l$t=[".DS_Store","Thumbs.db"];function c$t(e){return Eo(this,void 0,void 0,(function(){return Co(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?d$t(e.dataTransfer,e.type):u$t(e))];var n}))}))}function u$t(e){return(null!==e.target&&e.target.files?f$t(e.target.files):[]).map((function(e){return s$t(e)}))}function d$t(e,t){return Eo(this,void 0,void 0,(function(){var n;return Co(this,(function(i){switch(i.label){case 0:return e.items?(n=f$t(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(h$t))]):[3,2];case 1:return[2,p$t(m$t(i.sent()))];case 2:return[2,p$t(f$t(e.files).map((function(e){return s$t(e)})))]}}))}))}function p$t(e){return e.filter((function(e){return-1===l$t.indexOf(e.name)}))}function f$t(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function h$t(e){if("function"!=typeof e.webkitGetAsEntry)return g$t(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?b$t(t):g$t(e)}function m$t(e){return e.reduce((function(e,t){return Do(e,Array.isArray(t)?m$t(t):[t])}),[])}function g$t(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=s$t(t);return Promise.resolve(n)}function v$t(e){return Eo(this,void 0,void 0,(function(){return Co(this,(function(t){return[2,e.isDirectory?b$t(e):y$t(e)]}))}))}function b$t(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Eo(o,void 0,void 0,(function(){var o,a,s;return Co(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return o=l.sent(),e(o),[3,4];case 3:return a=l.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(v$t)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function y$t(e){return Eo(this,void 0,void 0,(function(){return Co(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=s$t(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function O$t(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=(e.type||"").toLowerCase(),o=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function w$t(e,t,n){if(_$t(e.size)){if(_$t(t)&&_$t(n))return e.size>=t&&e.size<=n;if(_$t(t))return e.size>=t;if(_$t(n))return e.size<=n}return!0}function _$t(e){return null!=e}function x$t(e,t,n,i){return e.every((function(e){return O$t(e,t)&&w$t(e,n,i)}))}function k$t(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function S$t(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function E$t(e){e.preventDefault()}function C$t(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function P$t(e){return-1!==e.indexOf("Edge/")}function F$t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return C$t(e)||P$t(e)}function T$t(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return t.some((function(t){return!k$t(e)&&t&&t.apply(void 0,[e].concat(i)),k$t(e)}))}}function D$t(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function A$t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function I$t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function $$t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I$t(n,!0).forEach((function(t){R$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I$t(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function R$t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j$t(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var z$t=t.forwardRef((function(e,n){var i=e.children,r=N$t(j$t(e,["children"])),o=r.open,a=j$t(r,["open"]);return t.useImperativeHandle(n,(function(){return{open:o}}),[o]),g.default.createElement(t.Fragment,null,i($$t({},a,{open:o})))}));z$t.displayName="Dropzone",z$t.propTypes={children:l0.func,accept:l0.oneOfType([l0.string,l0.arrayOf(l0.string)]),multiple:l0.bool,preventDropOnDocument:l0.bool,noClick:l0.bool,noKeyboard:l0.bool,noDrag:l0.bool,noDragEventsBubbling:l0.bool,minSize:l0.number,maxSize:l0.number,disabled:l0.bool,getFilesFromEvent:l0.func,onFileDialogCancel:l0.func,onDragEnter:l0.func,onDragLeave:l0.func,onDragOver:l0.func,onDrop:l0.func,onDropAccepted:l0.func,onDropRejected:l0.func};var M$t,L$t={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function N$t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.accept,i=e.disabled,r=void 0!==i&&i,o=e.getFilesFromEvent,a=void 0===o?c$t:o,s=e.maxSize,l=void 0===s?1/0:s,c=e.minSize,u=void 0===c?0:c,d=e.multiple,p=void 0===d||d,f=e.onDragEnter,h=e.onDragLeave,m=e.onDragOver,g=e.onDrop,v=e.onDropAccepted,b=e.onDropRejected,y=e.onFileDialogCancel,O=e.preventDropOnDocument,w=void 0===O||O,_=e.noClick,x=void 0!==_&&_,k=e.noKeyboard,S=void 0!==k&&k,E=e.noDrag,C=void 0!==E&&E,P=e.noDragEventsBubbling,F=void 0!==P&&P,T=t.useRef(null),D=t.useRef(null),A=t.useReducer(Q$t,L$t),I=A$t(A,2),$=I[0],R=I[1],j=$.isFocused,z=$.isFileDialogActive,M=$.draggedFiles,L=t.useCallback((function(){D.current&&(R({type:"openDialog"}),D.current.value=null,D.current.click())}),[R]),N=function(){z&&setTimeout((function(){D.current&&(D.current.files.length||(R({type:"closeDialog"}),"function"==typeof y&&y()))}),300)};t.useEffect((function(){return window.addEventListener("focus",N,!1),function(){window.removeEventListener("focus",N,!1)}}),[D,z,y]);var Q=t.useCallback((function(e){T.current&&T.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),L()))}),[T,D]),B=t.useCallback((function(){R({type:"focus"})}),[]),U=t.useCallback((function(){R({type:"blur"})}),[]),q=t.useCallback((function(){x||(F$t()?setTimeout(L,0):L())}),[D,x]),W=t.useRef([]),G=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),W.current=[])};t.useEffect((function(){return w&&(document.addEventListener("dragover",E$t,!1),document.addEventListener("drop",G,!1)),function(){w&&(document.removeEventListener("dragover",E$t),document.removeEventListener("drop",G))}}),[T,w]);var V=t.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===W.current.indexOf(e.target)&&(W.current=[].concat(D$t(W.current),[e.target])),S$t(e)&&Promise.resolve(a(e)).then((function(t){k$t(e)&&!F||(R({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),f&&f(e))}))}),[a,f,F]),X=t.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return S$t(e)&&m&&m(e),!1}),[m,F]),H=t.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=W.current.filter((function(t){return t!==e.target&&T.current&&T.current.contains(t)}));W.current=t,t.length>0||(R({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),S$t(e)&&h&&h(e))}),[T,h,F]),Y=t.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),W.current=[],R({type:"reset"}),S$t(e)&&Promise.resolve(a(e)).then((function(t){if(!k$t(e)||F){var i=[],r=[];t.forEach((function(e){O$t(e,n)&&w$t(e,u,l)?i.push(e):r.push(e)})),!p&&i.length>1&&r.push.apply(r,D$t(i.splice(0))),R({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),g&&g(i,r,e),r.length>0&&b&&b(r,e),i.length>0&&v&&v(i,e)}}))}),[p,n,u,l,a,g,v,b,F]),Z=function(e){return r?null:e},K=function(e){return S?null:Z(e)},J=function(e){return C?null:Z(e)},ee=function(e){F&&e.stopPropagation()},te=t.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,p=j$t(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return $$t(R$t({onKeyDown:K(T$t(i,Q)),onFocus:K(T$t(o,B)),onBlur:K(T$t(a,U)),onClick:Z(T$t(s,q)),onDragEnter:J(T$t(l,V)),onDragOver:J(T$t(c,X)),onDragLeave:J(T$t(u,H)),onDrop:J(T$t(d,Y))},n,T),r||S?{}:{tabIndex:0},{},p)}}),[T,Q,B,U,q,V,X,H,Y,S,C,r]),ne=t.useCallback((function(e){e.stopPropagation()}),[]),ie=t.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,i=void 0===t?"ref":t,r=e.onChange,o=e.onClick,a=j$t(e,["refKey","onChange","onClick"]),s=R$t({accept:n,multiple:p,type:"file",style:{display:"none"},onChange:Z(T$t(r,Y)),onClick:Z(T$t(o,ne)),autoComplete:"off",tabIndex:-1},i,D);return $$t({},s,{},a)}}),[D,n,p,Y,r]),re=M.length,oe=p||re<=1,ae=re>0&&x$t(M,n,u,l),se=re>0&&(!ae||!oe);return $$t({},$,{isDragAccept:ae,isDragReject:se,isFocused:j&&!r,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:D,open:Z(L)})}function Q$t(e,t){switch(t.type){case"focus":return $$t({},e,{isFocused:!0});case"blur":return $$t({},e,{isFocused:!1});case"openDialog":return $$t({},e,{isFileDialogActive:!0});case"closeDialog":return $$t({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return $$t({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return $$t({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return $$t({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(M$t||(M$t={}));var B$t={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:X(e)}function r(e){return l(e)?e:H(e)}function o(e){return a(e)&&!c(e)?e:Y(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[f])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,b=v-1,y={},O={value:!1},w={value:!1};function _(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function E(e){return void 0===e.size&&(e.size=e.__iterate(P)),e.size}function C(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function P(){return!0}function F(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,$=1,R=2,j="function"==typeof Symbol&&Symbol.iterator,z="@@iterator",M=j||z;function L(e){this.next=e}function N(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function Q(){return{value:void 0,done:!0}}function B(e){return!!W(e)}function U(e){return e&&"function"==typeof e.next}function q(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(j&&e[j]||e[z]);if("function"==typeof t)return t}function G(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function X(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function H(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}L.prototype.toString=function(){return"[Iterator]"},L.KEYS=I,L.VALUES=$,L.ENTRIES=R,L.prototype.inspect=L.prototype.toSource=function(){return this.toString()},L.prototype[M]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(X,V),X.prototype.toKeyedSeq=function(){return this},t(H,V),H.of=function(){return H(arguments)},H.prototype.toIndexedSeq=function(){return this},H.prototype.toString=function(){return this.__toString("Seq [","]")},H.prototype.__iterate=function(e,t){return de(this,e,t,!1)},H.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(Y,V),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=X,V.Set=Y,V.Indexed=H;var Z,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():B(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ue(e){return G(e)?new te(e):U(e)?new re(e):B(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new L((function(){var e=r[n?o-a:a];return a++>o?Q():N(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,H(t).map((function(n,i){return he(e,n,i,t)}))):ge(t)?e.call(i,n,X(t).map((function(n,i){return he(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?H(e).map(me).toList():ge(e)?X(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function be(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,y)):!ve(e.get(i,y),t))return d=!1,!1}));return d&&e.size===p}function ye(e,t){if(!(this instanceof ye))return new ye(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function Oe(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(Oe(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function _e(){throw TypeError("Abstract")}function xe(){}function ke(){}function Se(){}V.prototype[ee]=!0,t(te,H),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new L((function(){return r>i?Q():N(e,r,n[t?i-r++:r++])}))},t(ne,X),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new L((function(){var a=i[t?r-o:o];return o++>r?Q():N(e,a,n[a])}))},ne.prototype[h]=!0,t(ie,H),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(U(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=q(this._iterable);if(!U(n))return new L(Q);var i=0;return new L((function(){var t=n.next();return t.done?t:N(e,i++,t.value)}))},t(re,H),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new L((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return N(e,r,i[r++])}))},t(ye,H),ye.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ye.prototype.get=function(e,t){return this.has(e)?this._value:t},ye.prototype.includes=function(e){return ve(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:new ye(this._value,D(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},ye.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ye.prototype.__iterator=function(e,t){var n=this,i=0;return new L((function(){return i<n.size?N(e,i++,n._value):Q()}))},ye.prototype.equals=function(e){return e instanceof ye?ve(this._value,e._value):be(e)},t(we,H),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return F(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new L((function(){var a=r;return r+=t?-i:i,o>n?Q():N(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:be(this,e)},t(_e,n),t(xe,_e),t(ke,_e),t(Se,_e),_e.Keyed=xe,_e.Indexed=ke,_e.Set=Se;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function Pe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ce(n)}if("string"===t)return e.length>Le?Fe(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Fe(e){var t=Be[e];return void 0===t&&(t=Te(e),Qe===Ne&&(Qe=0,Be={}),Qe++,Be[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ce(t)}function De(e){var t;if(je&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Me]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Me]))return t;if(void 0!==(t=$e(e)))return t}if(t=++ze,1073741824&ze&&(ze=0),je)Re.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Me,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Me]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Me]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function $e(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,je="function"==typeof WeakMap;je&&(Re=new WeakMap);var ze=0,Me="__immutablehash__";"function"==typeof Symbol&&(Me=Symbol(Me));var Le=16,Ne=255,Qe=0,Be={};function Ue(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():We(e)&&!u(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(qe,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,y)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,_n(e),t,n);return i===y?void 0:i},qe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},qe.prototype.merge=function(){return pt(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},qe.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},qe.prototype.mergeDeep=function(){return pt(this,ft,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},qe.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},qe.prototype.sort=function(e){return Bt(dn(this,e))},qe.prototype.sortBy=function(e,t){return Bt(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},qe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qe.isMap=We;var Ge,Ve="@@__IMMUTABLE_MAP__@@",Xe=qe.prototype;function He(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return N(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function it(e,t,n,i){var r=Object.create(Xe);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ge||(Ge=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=_(O),a=_(w);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===y?-1:1:0)}else{if(n===y)return e;r=1,i=new He(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===y?e:(x(s),x(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&b,s=(0===n?i:i>>>n)&b;return new Ye(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ct(e,t,n,i){e||(e=new k);for(var r=new Je(e,Pe(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ut(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==i&&(r|=l,a[o++]=u)}return new Ye(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return fe(e)}))),r.push(l)}return mt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,y,(function(e){return e===y?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function gt(e,t,n,i){var r=e===y,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.value,c=r?y:e.get(l,y),u=gt(c,t,n,i);return u===c?e:u===y?e.remove(l):(r?rt():e).set(l,u)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function bt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function yt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Xe[Ve]=!0,Xe[m]=Xe.remove,Xe.removeIn=Xe.deleteIn,He.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},He.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===y,l=this.entries,c=0,u=l.length;c<u&&!ve(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ct(e,l,i,r);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new He(e,f)}},Ye.prototype.get=function(e,t,n,i){void 0===t&&(t=Pe(n));var r=1<<((0===e?t:t>>>e)&b),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},Ye.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=(0===t?n:n>>>t)&b,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&r===y)return this;var d=vt(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=at(f,e,t+g,n,i,r,o,a);if(h===f)return this;if(!u&&h&&p.length>=_t)return dt(e,p,c,s,h);if(u&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,v=u?h?c:c^l:c|l,O=u?h?bt(p,d,h,m):Ot(p,d,m):yt(p,d,h,m);return m?(this.bitmap=v,this.nodes=O,this):new Ye(e,v,O)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Pe(n));var r=(0===e?t:t>>>e)&b,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=(0===t?n:n>>>t)&b,l=r===y,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,i,r,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<xt)return ut(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=bt(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new Ze(e,p,h)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=r===y;if(n!==this.keyHash)return s?this:(x(a),x(o),lt(this,e,t,n,[i,r]));for(var l=this.entries,c=0,u=l.length;c<u&&!ve(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(x(a),(s||!d)&&x(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new Ke(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,o,a){var s=r===y,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,Pe(i),[i,r])))},He.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Ye.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,L),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return Q()};var wt=v/4,_t=v/2,xt=v/4;function kt(e){var t=$t();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?It(0,i,g,null,new Pt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=C(this,e))>=0&&e<this.size){var n=Mt(this,e+=this._origin);return n&&n.array[e&b]}return t},kt.prototype.set=function(e,t){return Rt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):$t()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Lt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},kt.prototype.pop=function(){return Lt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Lt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Lt(this,1)},kt.prototype.merge=function(){return Nt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Nt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Nt(this,ft,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Nt(this,ht(t),n)},kt.prototype.setSize=function(e){return Lt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:Lt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new L((function(){var t=i();return t===Dt?Q():N(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Et="@@__IMMUTABLE_LIST__@@",Ct=kt.prototype;function Pt(e,t){this.array=e,this.ownerID=t}Ct[Et]=!0,Ct[m]=Ct.remove,Ct.setIn=Xe.setIn,Ct.deleteIn=Ct.removeIn=Xe.removeIn,Ct.update=Xe.update,Ct.updateIn=Xe.updateIn,Ct.mergeIn=Xe.mergeIn,Ct.mergeDeepIn=Xe.mergeDeepIn,Ct.withMutations=Xe.withMutations,Ct.asMutable=Xe.asMutable,Ct.asImmutable=Xe.asImmutable,Ct.wasAltered=Xe.wasAltered,Pt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&b;if(i>=this.array.length)return new Pt([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=zt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Pt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&b;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=zt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Qt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,c=i-a;return c>v&&(c=v),function(){if(l===c)return Dt;var e=t?--c:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,c=o>n?0:n-o>>r,u=1+(i-o>>r);return u>v&&(u=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===u)return Dt;var n=t?--u:c++;s=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){var s=Object.create(Ct);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function $t(){return Ft||(Ft=It(0,0,g))}function Rt(e,t,n){if((t=C(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Lt(e,t).set(0,n):Lt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=_(w);return t>=Qt(e._capacity)?i=jt(i,e.__ownerID,0,t,n,o):r=jt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function jt(e,t,n,i,r,o){var a,s=i>>>n&b,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var c=e&&e.array[s],u=jt(c,t,n-g,i,r,o);return u===c?e:((a=zt(e,t)).array[s]=u,a)}return l&&e.array[s]===r?e:(x(o),a=zt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function zt(e,t){return t&&e&&t===e.ownerID?e:new Pt(e?e.array.slice():[],t)}function Mt(e,t){if(t>=Qt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&b],i-=g;return n}}function Lt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new Pt(c&&c.array.length?[void 0,c]:[],i),u+=1<<(l+=g);u&&(a+=u,r+=u,s+=u,o+=u);for(var d=Qt(o),p=Qt(s);p>=1<<l+g;)c=new Pt(c&&c.array.length?[c]:[],i),l+=g;var f=e._tail,h=p<d?Mt(e,s-1):p>d?new Pt([],i):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=zt(c,i),v=l;v>g;v-=g){var y=d>>>v&b;m=m.array[y]=zt(m.array[y],i)}m.array[d>>>g&b]=f}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,c=null,h=h&&h.removeBefore(i,0,a);else if(a>r||p<d){for(u=0;c;){var O=a>>>l&b;if(O!==p>>>l&b)break;O&&(u+=(1<<l)*O),l-=g,c=c.array[O]}c&&a>r&&(c=c.removeBefore(i,l,a-u)),c&&p<d&&(c=c.removeAfter(i,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,c,h)}function Nt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],c=r(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return fe(e)}))),i.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Qt(e){return e<v?0:e-1>>>g<<g}function Bt(e){return null==e?Wt():Ut(e)?e:Wt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return We(e)&&u(e)}function qt(e,t,n,i){var r=Object.create(Bt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return Tt||(Tt=qt(rt(),$t()))}function Gt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===y){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Xt(e){this._iter=e,this.size=e.size}function Ht(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){var t=yn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=On,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var i=e.__iterator(t,n);return new L((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===$?I:$,n)},t}function Kt(e,t,n){var i=yn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,y);return o===y?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(R,r);return new L((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return N(i,s,t.call(n,a[1],s,e),r)}))},i}function Jt(e,t){var n=yn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=yn(e);return i&&(r.has=function(i){var r=e.get(i,y);return r!==y&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,y);return o!==y&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(R,o),s=0;return new L((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return N(r,i?c:s++,u,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(u(e)?Bt():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=bn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var c=yn(e);return c.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=C(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,i?n:c-1,r)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),a=0,l=0;return new L((function(){for(;a++<o;)r.next();if(++l>s)return Q();var e=r.next();return i||t===$?e:N(t,l-1,t===I?void 0:e.value[1],e)}))},c}function on(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(R,r),s=!0;return new L((function(){if(!s)return Q();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],c=r[1];return t.call(n,c,l,o)?i===R?e:N(i,l,c,e):(s=!1,Q())}))},i}function an(e,t,n,i){var r=yn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(R,o),l=!0,c=0;return new L((function(){var e,o,u;do{if((e=s.next()).done)return i||r===$?e:N(r,c++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return r===R?e:N(r,o,u,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(r);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,r){return(!t||c<t)&&a(e)?l(e,c+1):!1===i(e,n?r:o++,u)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new L((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(i===R&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:N(i,l++,c,e);s.push(o),o=c.__iterator(i,r)}else o=s.pop()}return Q()}))},i}function cn(e,t,n){var i=bn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function un(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator($,i),a=0;return new L((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?N(n,a++,t):N(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?X(o):l(e)?H(o):Y(o)}function pn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=yn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator($,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new L((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?Q():N(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ue(e.size),E(e)}function bn(e){return s(e)?i:l(e)?r:o}function yn(e){return Object.create((s(e)?X:l(e)?H:Y).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=q(e);if(!t){if(!G(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);Cn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(Bt,qe),Bt.of=function(){return this(arguments)},Bt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Bt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Bt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Wt()},Bt.prototype.set=function(e,t){return Gt(this,e,t)},Bt.prototype.remove=function(e){return Gt(this,e,y)},Bt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Bt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Bt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Bt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Bt.isOrderedMap=Ut,Bt.prototype[h]=!0,Bt.prototype[m]=Bt.prototype.remove,t(Vt,X),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=Kt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator($,t),i=t?vn(this):0;return new L((function(){var r=n.next();return r.done?r:N(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Xt,H),Xt.prototype.includes=function(e){return this._iter.includes(e)},Xt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Xt.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t),i=0;return new L((function(){var t=n.next();return t.done?t:N(e,i++,t.value,t)}))},t(Ht,Y),Ht.prototype.has=function(e){return this._iter.includes(e)},Ht.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t);return new L((function(){var t=n.next();return t.done?t:N(e,t.value,t.value,t)}))},t(Yt,X),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t);return new L((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return N(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Xt.prototype.cacheResult=Vt.prototype.cacheResult=Ht.prototype.cacheResult=Yt.prototype.cacheResult=On,t(xn,xe),xn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},xn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},xn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=xn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function En(e){return e._name||e.constructor.name||"Record"}function Cn(e,t){try{t.forEach(Pn.bind(void 0,e))}catch(e){}}function Pn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){Oe(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Fn(e){return null==e?jn():Tn(e)&&!u(e)?e:jn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Xe.removeIn,kn.merge=Xe.merge,kn.mergeWith=Xe.mergeWith,kn.mergeIn=Xe.mergeIn,kn.mergeDeep=Xe.mergeDeep,kn.mergeDeepWith=Xe.mergeDeepWith,kn.mergeDeepIn=Xe.mergeDeepIn,kn.setIn=Xe.setIn,kn.update=Xe.update,kn.updateIn=Xe.updateIn,kn.withMutations=Xe.withMutations,kn.asMutable=Xe.asMutable,kn.asImmutable=Xe.asImmutable,t(Fn,Se),Fn.of=function(){return this(arguments)},Fn.fromKeys=function(e){return this(i(e).keySeq())},Fn.prototype.toString=function(){return this.__toString("Set {","}")},Fn.prototype.has=function(e){return this._map.has(e)},Fn.prototype.add=function(e){return $n(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return $n(this,this._map.remove(e))},Fn.prototype.clear=function(){return $n(this,this._map.clear())},Fn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return zn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return zn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.prototype;function $n(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Rn(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Dn||(Dn=Rn(rt()))}function zn(e){return null==e?Bn():Mn(e)?e:Bn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Mn(e){return Tn(e)&&u(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Xe.withMutations,In.asMutable=Xe.asMutable,In.asImmutable=Xe.asImmutable,In.__empty=jn,In.__make=Rn,t(zn,Fn),zn.of=function(){return this(arguments)},zn.fromKeys=function(e){return this(i(e).keySeq())},zn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},zn.isOrderedSet=Mn;var Ln,Nn=zn.prototype;function Qn(e,t){var n=Object.create(Nn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Bn(){return Ln||(Ln=Qn(Wt()))}function Un(e){return null==e?Hn():qn(e)?e:Hn().unshiftAll(e)}function qn(e){return!(!e||!e[Gn])}Nn[h]=!0,Nn.__empty=Bn,Nn.__make=Qn,t(Un,ke),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=C(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Xn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Xn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Hn()},Un.prototype.slice=function(e,t){if(F(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Xn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Xn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new L((function(){if(i){var t=i.value;return i=i.next,N(e,n++,t)}return Q()}))},Un.isStack=qn;var Wn,Gn="@@__IMMUTABLE_STACK__@@",Vn=Un.prototype;function Xn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Hn(){return Wn||(Wn=Xn(0))}function Yn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Gn]=!0,Vn.withMutations=Xe.withMutations,Vn.asMutable=Xe.asMutable,Vn.asImmutable=Xe.asImmutable,Vn.wasAltered=Xe.wasAltered,n.Iterator=L,Yn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Xt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Bt(this.toKeyedSeq())},toOrderedSet:function(){return zn(s(this)?this.valueSeq():this)},toSet:function(){return Fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ht(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){Ue(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator($)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return be(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(P)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=_n(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,y):y)===y)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,y)!==y},hasIn:function(e){return this.getIn(e,y)!==y},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[M]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Yn(i,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Pe(e),Pe(t))|0}:function(e,t){i=i+li(Pe(e),Pe(t))|0}:t?function(e){i=31*i+Pe(e)|0}:function(e){i=i+Pe(e)|0});return si(r,i)}function si(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ce((t=Ee(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[M]=Zn.entries,Kn.__toJS=Zn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Yn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Jt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return mn(this,1===n?i:i.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=C(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=C(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),H.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),r.prototype[f]=!0,r.prototype[h]=!0,Yn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Zn.includes,Yn(X,i.prototype),Yn(H,r.prototype),Yn(Y,o.prototype),Yn(xe,i.prototype),Yn(ke,r.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:V,Collection:_e,Map:qe,OrderedMap:Bt,List:kt,Stack:Un,Set:Fn,OrderedSet:zn,Record:xn,Range:we,Repeat:ye,is:ve,fromJS:fe}}()}(B$t);var U$t=B$t.exports.OrderedMap,q$t={createFromArray:function(e){return U$t(e.map((function(e){return[e.getKey(),e]})))}},W$t=q$t;var G$t=B$t.exports,V$t=G$t.Map,X$t=G$t.OrderedSet,H$t=G$t.Record,Y$t=X$t(),Z$t={style:Y$t,entity:null},K$t=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(e){return this.getStyle().includes(e)},i.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return i.create(n)},i.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return i.create(n)},i.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return i.create(n)},i.create=function(e){if(!e)return J$t;var t=V$t({style:Y$t,entity:null}).merge(e),n=eRt.get(t);if(n)return n;var r=new i(t);return eRt=eRt.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?X$t(t):t,entity:Array.isArray(n)?X$t(n):n})},i}(H$t(Z$t)),J$t=new K$t,eRt=V$t([[V$t(Z$t),J$t]]);K$t.EMPTY=J$t;var tRt=K$t;var nRt=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&i(r,a),r=a),o})),n(e.last())&&i(r,e.count())}};var iRt=tRt,rRt=nRt,oRt=B$t.exports,aRt=oRt.List,sRt=oRt.Map,lRt=oRt.OrderedSet,cRt=oRt.Record,uRt=oRt.Repeat,dRt=lRt(),pRt=cRt({key:"",type:"unstyled",text:"",characterList:aRt(),depth:0,data:sRt()}),fRt=function(e){var t,n;function i(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=aRt(uRt(iRt.EMPTY,n.length))),e}(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():dRt},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){rRt(this.getCharacterList(),hRt,e,t)},r.findEntityRanges=function(e,t){rRt(this.getCharacterList(),mRt,e,t)},i}(pRt);function hRt(e,t){return e.getStyle()===t.getStyle()}function mRt(e,t){return e.getEntity()===t.getEntity()}var gRt=fRt;var vRt=tRt,bRt=nRt,yRt=B$t.exports,ORt=yRt.List,wRt=yRt.Map,_Rt=yRt.OrderedSet,xRt=yRt.Record,kRt=yRt.Repeat,SRt=_Rt(),ERt={parent:null,characterList:ORt(),data:wRt(),depth:0,key:"",text:"",type:"unstyled",children:ORt(),prevSibling:null,nextSibling:null},CRt=function(e,t){return e.getStyle()===t.getStyle()},PRt=function(e,t){return e.getEntity()===t.getEntity()},FRt=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=ORt(kRt(vRt.EMPTY,n.length))),e},TRt=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ERt;return e.call(this,FRt(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():SRt},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(e,t){bRt(this.getCharacterList(),CRt,e,t)},r.findEntityRanges=function(e,t){bRt(this.getCharacterList(),PRt,e,t)},i}(xRt(ERt)),DRt=TRt,ARt=tRt,IRt=B$t.exports.Map;function $Rt(e,t,n,i){var r=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),c=r.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(IRt([[s,r.get(s)]])).map((function(e,t){var r,c;o===s?(r=a,c=l):(r=t===o?a:0,c=t===s?l:e.getLength());for(var u,d=e.getCharacterList();r<c;)u=d.get(r),d=d.set(r,i?ARt.applyStyle(u,n):ARt.removeStyle(u,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(c),selectionBefore:t,selectionAfter:t})}var RRt={add:function(e,t,n){return $Rt(e,t,n,!0)},remove:function(e,t,n){return $Rt(e,t,n,!1)}},jRt=tRt;var zRt=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,jRt.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},MRt=zRt,LRt=B$t.exports;var NRt=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(LRt.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return MRt(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},QRt={getRemovalRange:function(e,t,n,i,r){var o=n.split(" ");o=o.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=i,l=null,c=null,u=0;u<o.length;u++){if(e<(a=s+o[u].length)&&s<t)null!==l||(l=s),c=a;else if(null!==l)break;s=a}var d=i+n.length,p=l===i,f=c===d;return(!p&&f||p&&!f)&&("forward"===r?c!==d&&c++:l!==i&&l--),{start:l,end:c}}},BRt="production"!==Jh.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var URt=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if(BRt(t),!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,(function(){return String(i[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},qRt=URt;var WRt=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||("production"!==Jh.env.NODE_ENV?qRt(!1,"Entity key not found in this range."):qRt(!1)),n},GRt=QRt,VRt=WRt,XRt=URt;function HRt(e,t,n,i,r,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),c=e.__get(r).getMutability(),u=a?s:l;if("MUTABLE"===c)return n;var d=VRt(t,r).filter((function(e){return u<=e.end&&u>=e.start}));1!=d.length&&("production"!==Jh.env.NODE_ENV?XRt(!1,"There should only be one entity range within this removal range."):XRt(!1));var p=d[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});o||(a?l=p.end:s=p.start);var f=GRt.getRemovalRange(s,l,t.getText().slice(p.start,p.end),p.start,i);return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1})}var YRt=function(e,t,n,i,r){var o=i.getStartOffset(),a=i.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return i;var c=i;if(s&&s===l)c=HRt(e,t,c,r,s,!0,!0);else if(s&&l){var u=HRt(e,t,c,r,s,!1,!0),d=HRt(e,n,c,r,l,!1,!1);c=c.merge({anchorOffset:u.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=HRt(e,t,c,r,s,!1,!0);c=c.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var f=HRt(e,n,c,r,l,!1,!1);c=c.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return c},ZRt={},KRt=Math.pow(2,24);var JRt=function(){for(var e;void 0===e||ZRt.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*KRt).toString(32);return ZRt[e]=!0,e},ejt=DRt,tjt=JRt,njt=B$t.exports.OrderedMap,ijt=function(e){return e.first()instanceof ejt?function(e){var t,n={};return njt(e.withMutations((function(e){e.forEach((function(i,r){var o=i.getKey(),a=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),c=i.getParentKey(),u=tjt();if(n[o]=u,a&&(e.get(a)?e.setIn([a,"prevSibling"],u):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],u):e.setIn([o,"prevSibling"],null)),c&&e.get(c)){var d=e.get(c).getChildKeys();e.setIn([c,"children"],d.set(d.indexOf(i.getKey()),u))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],u),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],u):e.setIn([o,"children"],i.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return njt(e.toArray().map((function(e){var t=tjt();return[t,e.set("key",t)]})))}(e)},rjt=tRt,ojt=nRt,ajt=URt;function sjt(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,o=n<i.count()?i.get(n):void 0,a=r?r.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,c=function(e,t,n){var i;return ojt(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(i={start:e,end:t})})),"object"!=typeof i&&("production"!==Jh.env.NODE_ENV?ajt(!1,"Removal range must exist within character list."):ajt(!1)),i}(i,s,n),u=c.start,d=c.end;u<d;)l=i.get(u),i=i.set(u,rjt.applyEntity(l,null)),u++;return t.set("characterList",i)}return t}var ljt=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=sjt(i,s,a);l!==s&&(r[o]=l);var c=t.getEndKey(),u=t.getEndOffset(),d=n.get(c);o===c&&(d=l);var p=sjt(i,d,u);return p!==d&&(r[c]=p),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},cjt=ijt,ujt=ljt,djt=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=ujt(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),c=s.indexOf(r)+1;return cjt(a.slice(l,c).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:a.slice(i,o),characterList:s.slice(i,o)}):t===n?e.merge({text:a.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var pjt=function(e,t,n){var i=e;if(n===i.count())t.forEach((function(e){i=i.push(e)}));else if(0===n)t.reverse().forEach((function(e){i=i.unshift(e)}));else{var r=i.slice(0,n),o=i.slice(n);i=r.concat(t,o).toList()}return i},fjt=W$t,hjt=DRt,mjt=pjt,gjt=URt,vjt=ijt,bjt=B$t.exports.List,yjt=function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),c=s.getCharacterList(),u=r,d=o+i.getText().length,p=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":p=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":p=i.getData()}var f=s.getType();l&&"unstyled"===f&&(f=i.getType());var h=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:mjt(c,i.getCharacterList(),o),type:f,data:p});return e.merge({blockMap:n.set(r,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:d,focusKey:u,focusOffset:d,isBackward:!1})})},Ojt=function(e,t,n,i,r,o){var a=n.first()instanceof hjt,s=[],l=i.size,c=n.get(r),u=i.first(),d=i.last(),p=d.getLength(),f=d.getKey(),h=a&&(!c.getChildKeys().isEmpty()||!u.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(h?s.push(e):s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),o=i.slice(0,t),a=r.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,i)),i.slice(h?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),o=i.length,a=i.slice(t,o),s=r.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,i))):s.push(e)}));var m=fjt.createFromArray(s);return a&&(m=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),o=i.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),i=e,r=[];for(t.get(n)&&r.push(n);i&&i.getNextSiblingKey();){var o=i.getNextSiblingKey();if(!o)break;r.push(o),i=t.get(o)}return r}(i,e),c=l[l.length-1];if(t.get(o)?(t.setIn([r,"nextSibling"],o),t.setIn([o,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var u=e.get(s).getChildKeys(),d=u.indexOf(r)+1,p=u.toArray();p.splice.apply(p,[d,0].concat(l)),t.setIn([s,"children"],bjt(p))}}))}(m,0,c,u)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})},wjt=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Jh.env.NODE_ENV?gjt(!1,"`insertFragment` should only be called with a collapsed selection state."):gjt(!1));var r=e.getBlockMap(),o=vjt(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof hjt&&(l.getChildKeys().isEmpty()||("production"!==Jh.env.NODE_ENV?gjt(!1,"`insertFragment` should not be called when a container node is selected."):gjt(!1))),1===o.size?yjt(e,t,r,o.first(),a,s,i):Ojt(e,t,r,o,a,s)},_jt=pjt,xjt=URt,kjt=B$t.exports.Repeat;var Sjt=function(e,t,n,i){t.isCollapsed()||("production"!==Jh.env.NODE_ENV?xjt(!1,"`insertText` should only be called with a collapsed range."):xjt(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),c=l.getText(),u=l.merge({text:c.slice(0,s)+n+c.slice(s,l.getLength()),characterList:_jt(l.getCharacterList(),kjt(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:o.set(a,u),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},Ejt=B$t.exports.Map;var Cjt=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(Ejt([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},Pjt=DRt,Fjt=function(e,t){if(!(e instanceof Pjt))return null;var n=e.getNextSiblingKey();if(n)return n;var i=e.getParentKey();if(!i)return null;for(var r=t.get(i);r&&!r.getNextSiblingKey();){var o=r.getParentKey();r=o?t.get(o):null}return r?r.getNextSiblingKey():null},Tjt=DRt,Djt=Fjt,Ajt=B$t.exports;Ajt.List;var Ijt=Ajt.Map,$jt=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},Rjt=function(e,t){var n=[];if(!e)return n;for(var i=t.get(e);i&&i.getParentKey();){var r=i.getParentKey();r&&n.push(r),i=r?t.get(r):null}return n},jjt=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getNextSiblingKey();i&&!t.get(i);)i=n.get(i).getNextSiblingKey()||null;return i},zjt=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getPrevSiblingKey();i&&!t.get(i);)i=n.get(i).getPrevSiblingKey()||null;return i},Mjt=function(e,t,n,i){return e.withMutations((function(r){if($jt(t.getKey(),r,(function(e){return e.merge({nextSibling:jjt(e,r,i),prevSibling:zjt(e,r,i)})})),$jt(n.getKey(),r,(function(e){return e.merge({nextSibling:jjt(e,r,i),prevSibling:zjt(e,r,i)})})),Rjt(t.getKey(),i).forEach((function(e){return $jt(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:jjt(e,r,i),prevSibling:zjt(e,r,i)})}))})),$jt(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),$jt(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:jjt(e,r,i)})})),$jt(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:zjt(e,r,i)})})),$jt(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),Rjt(n.getKey(),i).forEach((function(e){$jt(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:jjt(e,r,i),prevSibling:zjt(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=Djt(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?Djt(r,t):null}return n}(n,i).forEach((function(e){return $jt(e,r,(function(e){return e.merge({nextSibling:jjt(e,r,i),prevSibling:zjt(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();$jt(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),$jt(o,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=o?e.get(o):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){$jt(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);$jt(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}$jt(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},Ljt=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var i=e.slice(0,t),r=e.slice(n);e=i.concat(r).toList()}return e},Njt=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),c=i.get(a),u=l instanceof Tjt,d=[];if(u){var p=c.getChildKeys(),f=Rjt(a,i);c.getNextSiblingKey()&&(d=d.concat(f)),p.isEmpty()||(d=d.concat(f.concat([a]))),d=d.concat(Rjt(Djt(c,i),i))}n=l===c?Ljt(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(c.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,o)+c.getText().slice(s),characterList:n}),m=u&&0===o&&0===s&&c.getParentKey()===r&&null==c.getPrevSiblingKey()?Ijt([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(Ijt([[a,null]])).map((function(e,t){return t===r?h:null})),g=i.merge(m).filter((function(e){return!!e}));return u&&l!==c&&(g=Mjt(g,l,c,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},Qjt=DRt,Bjt=JRt,Ujt=B$t.exports,qjt=URt,Wjt=Cjt,Gjt=Ujt.List,Vjt=Ujt.Map,Xjt=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},Hjt=function(e,t){t.isCollapsed()||("production"!==Jh.env.NODE_ENV?qjt(!1,"Selection range must be collapsed."):qjt(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),o=r.getText();if(!o){var a=r.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return Wjt(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),c=Bjt(),u=r instanceof Qjt,d=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:c,text:o.slice(s),characterList:l.slice(s),data:Vjt()}),f=i.toSeq().takeUntil((function(e){return e===r})),h=i.toSeq().skipUntil((function(e){return e===r})).rest(),m=f.concat([[n,d],[c,p]],h).toOrderedMap();return u&&(r.getChildKeys().isEmpty()||("production"!==Jh.env.NODE_ENV?qjt(!1,"ContentBlockNode must not have children"):qjt(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();Xjt(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,o=t.toArray();return o.splice(n,0,r),e.merge({children:Gjt(o)})})),Xjt(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),Xjt(i,e,(function(e){return e.merge({nextSibling:r})})),Xjt(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(m,d,p)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})},Yjt=tRt,Zjt=RRt,Kjt=NRt,Jjt=YRt,ezt=djt,tzt=wjt,nzt=Sjt,izt=URt,rzt=Cjt,ozt=ljt,azt=Njt,szt=Hjt,lzt=B$t.exports.OrderedSet,czt={replaceText:function(e,t,n,i,r){var o=ozt(e,t),a=azt(o,t),s=Yjt.create({style:i||lzt(),entity:r||null});return nzt(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==Jh.env.NODE_ENV?izt(!1,"Target range must be collapsed for `insertText`."):izt(!1)),czt.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=ezt(e,t),r=czt.removeRange(e,t,"backward");return czt.replaceWithFragment(r,n,i)},replaceWithFragment:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",r=ozt(e,t),o=azt(r,t);return tzt(o,o.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),i=t.getAnchorKey(),r=t.getFocusKey(),o=e.getBlockForKey(i),a=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),c=o.getEntityAt(s),u=a.getEntityAt(l-1);if(i===r&&c&&c===u){var d=Jjt(e.getEntityMap(),o,a,t,n);return azt(e,d)}var p=ozt(e,t);return azt(p,t)},splitBlock:function(e,t){var n=ozt(e,t),i=azt(n,t);return szt(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return Zjt.add(e,t,n)},removeInlineStyle:function(e,t,n){return Zjt.remove(e,t,n)},setBlockType:function(e,t,n){return rzt(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return rzt(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return rzt(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=ozt(e,t);return Kjt(i,t,n)}},uzt=czt;var dzt=function(e){return Object.keys(e).map((function(t){return e[t]}))};function pzt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fzt=nRt,hzt=dzt,mzt=B$t.exports,gzt=mzt.List,vzt=mzt.Repeat,bzt=mzt.Record,yzt=function(){return!0},Ozt=bzt({start:null,end:null}),wzt=bzt({start:null,end:null,decoratorKey:null,leaves:null}),_zt={generate:function(e,t,n){var i=t.getLength();if(!i)return gzt.of(new wzt({start:0,end:0,decoratorKey:null,leaves:gzt.of(new Ozt({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):gzt(vzt(null,i)),a=t.getCharacterList();return fzt(o,kzt,yzt,(function(e,t){r.push(new wzt({start:e,end:t,decoratorKey:o.get(e),leaves:xzt(a.slice(e,t).toList(),e)}))})),gzt(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new wzt(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){pzt(e,t,n[t])}))}return e}({},n,{leaves:null!=t?gzt(Array.isArray(t)?t:hzt(t)).map((function(e){return Ozt(e)})):null}))}};function xzt(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return fzt(i,kzt,yzt,(function(e,i){n.push(new Ozt({start:e+t,end:i+t}))})),gzt(n)}function kzt(e,t){return e===t}var Szt=_zt;var Ezt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},i}((0,B$t.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),Czt=Ezt;var Pzt=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))};function Fzt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tzt=Czt,Dzt=URt,Azt=Pzt,Izt=(0,B$t.exports.Map)(),$zt=Azt();function Rzt(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var jzt={getLastCreatedEntityKey:function(){return Rzt("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),jzt.__getLastCreatedEntityKey()},create:function(e,t,n){return Rzt("DraftEntity.create","contentState.createEntity"),jzt.__create(e,t,n)},add:function(e){return Rzt("DraftEntity.add","contentState.addEntity"),jzt.__add(e)},get:function(e){return Rzt("DraftEntity.get","contentState.getEntity"),jzt.__get(e)},__getAll:function(){return Izt},__loadWithEntities:function(e){Izt=e,$zt=Azt()},mergeData:function(e,t){return Rzt("DraftEntity.mergeData","contentState.mergeEntityData"),jzt.__mergeData(e,t)},replaceData:function(e,t){return Rzt("DraftEntity.replaceData","contentState.replaceEntityData"),jzt.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return $zt},__create:function(e,t,n){return jzt.__add(new Tzt({type:e,mutability:t,data:n||{}}))},__add:function(e){return $zt=Azt(),Izt=Izt.set($zt,e),$zt},__get:function(e){var t=Izt.get(e);return t||("production"!==Jh.env.NODE_ENV?Dzt(!1,"Unknown DraftEntity key: %s.",e):Dzt(!1)),t},__mergeData:function(e,t){var n=jzt.__get(e),i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Fzt(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return Izt=Izt.set(e,r),r},__replaceData:function(e,t){var n=jzt.__get(e).set("data",t);return Izt=Izt.set(e,n),n}},zzt=jzt;var Mzt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,n){var i=this.getAnchorKey(),r=this.getFocusKey();if(i===r&&i===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==i&&e!==r)return!1;var s=e===i?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},i.createEmpty=function(e){return new i({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},i}((0,B$t.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),Lzt=Mzt,Nzt=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},Qzt=new RegExp("\r","g");var Bzt=function(e){return e.replace(Qzt,"")};function Uzt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){qzt(e,t,n[t])}))}return e}function qzt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wzt=W$t,Gzt=tRt,Vzt=gRt,Xzt=DRt,Hzt=zzt,Yzt=Lzt,Zzt=JRt,Kzt=dzt,Jzt=Nzt,eMt=B$t.exports,tMt=Bzt,nMt=eMt.List,iMt=eMt.Record,rMt=eMt.Repeat,oMt=eMt.Map,aMt=eMt.OrderedMap,sMt=iMt({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),lMt=Jzt("draft_tree_data_support")?Xzt:Vzt,cMt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getEntityMap=function(){return Hzt},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(e){return this.getBlockMap().get(e)},r.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},r.getLastCreatedEntityKey=function(){return Hzt.__getLastCreatedEntityKey()},r.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(e,t,n){return Hzt.__create(e,t,n),this},r.mergeEntityData=function(e,t){return Hzt.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return Hzt.__replaceData(e,t),this},r.addEntity=function(e){return Hzt.__add(e),this},r.getEntity=function(e){return Hzt.__get(e)},r.getAllEntities=function(){return Hzt.__getAll()},r.loadWithEntities=function(e){return Hzt.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=Wzt.createFromArray(n),o=r.isEmpty()?new Yzt:Yzt.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||Hzt,selectionBefore:o,selectionAfter:o})},i.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=tMt(e),new lMt({key:Zzt(),text:e,type:"unstyled",characterList:nMt(rMt(Gzt.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(Uzt({},e,{blockMap:aMt(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new Yzt(e.selectionBefore),selectionAfter:new Yzt(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new lMt(Uzt({},e,{data:oMt(e.data),characterList:null!=t?nMt((Array.isArray(t)?t:Kzt(t)).map((function(e){return Gzt.fromJS(e)}))):void 0}))},i}(sMt),uMt=cMt,dMt=URt,pMt="LTR",fMt=null;function hMt(e){return e===pMt||"RTL"===e}function mMt(e){return hMt(e)||("production"!==Jh.env.NODE_ENV?dMt(!1,"`dir` must be a strong direction to be converted to HTML Direction"):dMt(!1)),e===pMt?"ltr":"rtl"}function gMt(e){fMt=e}var vMt={NEUTRAL:"NEUTRAL",LTR:pMt,RTL:"RTL",isStrong:hMt,getHTMLDir:mMt,getHTMLDirIfDifferent:function(e,t){return hMt(e)||("production"!==Jh.env.NODE_ENV?dMt(!1,"`dir` must be a strong direction to be converted to HTML Direction"):dMt(!1)),hMt(t)||("production"!==Jh.env.NODE_ENV?dMt(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):dMt(!1)),e===t?null:mMt(e)},setGlobalDir:gMt,initGlobalDir:function(){gMt(pMt)},getGlobalDir:function(){return fMt||this.initGlobalDir(),fMt||("production"!==Jh.env.NODE_ENV?dMt(!1,"Global direction not set."):dMt(!1)),fMt}},bMt=vMt,yMt=URt,OMt="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",wMt="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",_Mt=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+OMt+wMt+"]"),xMt=new RegExp("["+OMt+wMt+"]");function kMt(e){var t=_Mt.exec(e);return null==t?null:t[0]}function SMt(e){var t=kMt(e);return null==t?bMt.NEUTRAL:xMt.exec(t)?bMt.RTL:bMt.LTR}function EMt(e,t){if(t=t||bMt.NEUTRAL,!e.length)return t;var n=SMt(e);return n===bMt.NEUTRAL?t:n}function CMt(e,t){return t||(t=bMt.getGlobalDir()),bMt.isStrong(t)||("production"!==Jh.env.NODE_ENV?yMt(!1,"Fallback direction must be a strong direction"):yMt(!1)),EMt(e,t)}var PMt={firstStrongChar:kMt,firstStrongCharDir:SMt,resolveBlockDir:EMt,getDirection:CMt,isDirectionLTR:function(e,t){return CMt(e,t)===bMt.LTR},isDirectionRTL:function(e,t){return CMt(e,t)===bMt.RTL}},FMt=PMt;function TMt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DMt,AMt=FMt,IMt=vMt,$Mt=URt,RMt=function(){function e(e){TMt(this,"_defaultDir",void 0),TMt(this,"_lastDir",void 0),e?IMt.isStrong(e)||("production"!==Jh.env.NODE_ENV?$Mt(!1,"Default direction must be a strong direction (LTR or RTL)"):$Mt(!1)):e=IMt.getGlobalDir(),this._defaultDir=e,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(e){return this._lastDir=AMt.getDirection(e,this._lastDir),this._lastDir},e}(),jMt=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},zMt=RMt,MMt=B$t.exports,LMt=jMt,NMt=MMt.OrderedMap,QMt={getDirectionMap:function(e,t){DMt?DMt.reset():DMt=new zMt;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return LMt(DMt).getDirection(e.getText())})),r=NMt(n.keySeq().zip(i));return null!=t&&MMt.is(t,r)?t:r}};function BMt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){UMt(e,t,n[t])}))}return e}function UMt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qMt=Szt,WMt=uMt,GMt=QMt,VMt=Lzt,XMt=B$t.exports,HMt=XMt.OrderedSet,YMt=XMt.Record,ZMt=XMt.Stack,KMt=XMt.OrderedMap,JMt=XMt.List,eLt=YMt({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:ZMt(),selection:null,treeMap:null,undoStack:ZMt()}),tLt=function(){t.createEmpty=function(e){return t.createWithContent(WMt.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var i=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:ZMt(),redoStack:ZMt(),decorator:n||null,selection:VMt.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=BMt({},e,{treeMap:iLt(n,e.decorator),directionMap:GMt.getDirectionMap(n)});return new t(new eLt(i))},t.fromJS=function(e){return new t(new eLt(BMt({},e,{directionMap:null!=e.directionMap?KMt(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?HMt(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?WMt.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?ZMt(e.redoStack.map((function(e){return WMt.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new VMt(e.selection):e.selection,treeMap:null!=e.treeMap?KMt(e.treeMap).map((function(e){return JMt(e).map((function(e){return qMt.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?ZMt(e.undoStack.map((function(e){return WMt.fromJS(e)}))):e.undoStack,currentContent:WMt.fromJS(e.currentContent)})))},t.set=function(e,n){var i=e.getImmutable().withMutations((function(t){var i=t.get("decorator"),r=i;null===n.decorator?r=null:n.decorator&&(r=n.decorator);var o=n.currentContent||e.getCurrentContent();if(r!==i){var a,s=t.get("treeMap");return a=r&&i?function(e,t,n,i,r){return n.merge(t.toSeq().filter((function(t){return i.getDecorations(t,e)!==r.getDecorations(t,e)})).map((function(t){return qMt.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):iLt(o,r),void t.merge({decorator:r,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),o=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return qMt.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){UMt(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i>0)return r.getInlineStyleAt(i-1);if(r.getLength())return r.getInlineStyleAt(0);return oLt(e,n)}(t,n):function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i<r.getLength())return r.getInlineStyleAt(i);if(i>0)return r.getInlineStyleAt(i-1);return oLt(e,n)}(t,n)},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(e,t){return nLt(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),nLt(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new VMt({anchorKey:i,anchorOffset:r,focusKey:i,focusOffset:r,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=GMt.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),c=n;a!==s.getSelectionAfter()||rLt(e,i)?(l=l.push(s),c=c.set("selectionBefore",a)):"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i||(c=c.set("selectionBefore",s.getSelectionBefore()));var u=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(i)&&(u=null);var p={currentContent:c,directionMap:o,undoStack:l,redoStack:ZMt(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:u};return t.set(e,p)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=GMt.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=GMt.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:e.getUndoStack().push(r),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:i.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function nLt(e,t,n){return tLt.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function iLt(e,t){return e.getBlockMap().map((function(n){return qMt.generate(e,n,t)})).toOrderedMap()}function rLt(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function oLt(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):HMt()}var aLt=tLt,sLt=DRt,lLt=Fjt,cLt=B$t.exports,uLt=URt,dLt=cLt.OrderedMap,pLt=cLt.List,fLt=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},hLt=function(e,t,n,i,r){if(!r)return e;var o="after"===i,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),c=t.getNextSiblingKey(),u=t.getPrevSiblingKey(),d=n.getParentKey(),p=o?n.getNextSiblingKey():s,f=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){fLt(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),fLt(u,e,(function(e){return e.merge({nextSibling:c})})),fLt(c,e,(function(e){return e.merge({prevSibling:u})})),fLt(p,e,(function(e){return e.merge({prevSibling:a})})),fLt(f,e,(function(e){return e.merge({nextSibling:a})})),fLt(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=o?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,a),e.merge({children:pLt(r)})})),fLt(a,e,(function(e){return e.merge({nextSibling:p,prevSibling:f,parent:d})}))}))},mLt=function(e,t,n,i){"replace"===i&&("production"!==Jh.env.NODE_ENV?uLt(!1,"Replacing blocks is not supported."):uLt(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==Jh.env.NODE_ENV?uLt(!1,"Block cannot be moved next to itself."):uLt(!1));var a=e.getBlockMap(),s=t instanceof sLt,l=[t],c=a.delete(o);s&&(l=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=lLt(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),r=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||a||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var u=c.toSeq().takeUntil((function(e){return e===n})),d=c.toSeq().skipUntil((function(e){return e===n})).skip(1),p=l.map((function(e){return[e.getKey(),e]})),f=dLt();if("before"===i){var h=e.getBlockBefore(r);h&&h.getKey()===t.getKey()&&("production"!==Jh.env.NODE_ENV?uLt(!1,"Block cannot be moved next to itself."):uLt(!1)),f=u.concat([].concat(p,[[r,n]]),d).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===o&&("production"!==Jh.env.NODE_ENV?uLt(!1,"Block cannot be moved next to itself."):uLt(!1)),f=u.concat([[r,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:hLt(f,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function gLt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){vLt(e,t,n[t])}))}return e}function vLt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bLt=W$t,yLt=tRt,OLt=gRt,wLt=DRt,_Lt=uzt,xLt=aLt,kLt=JRt,SLt=B$t.exports,ELt=mLt,CLt=Nzt("draft_tree_data_support"),PLt=CLt?wLt:OLt,FLt=SLt.List,TLt=SLt.Repeat,DLt={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=_Lt.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=_Lt.splitBlock(o,a),l=s.getSelectionAfter(),c=_Lt.setBlockType(s,l,"atomic"),u=yLt.create({entity:t}),d={key:kLt(),type:"atomic",text:n,characterList:FLt(TLt(u,n.length))},p={key:kLt(),type:"unstyled"};CLt&&(d=gLt({},d,{nextSibling:p.key}),p=gLt({},p,{prevSibling:d.key}));var f=[new PLt(d),new PLt(p)],h=bLt.createFromArray(f),m=_Lt.replaceWithFragment(c,l,h),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return xLt.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,o=e.getCurrentContent(),a=e.getSelection();if("before"===i||"after"===i){var s=o.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=ELt(o,t,s,i)}else{var l=_Lt.removeRange(o,n,"backward"),c=l.getSelectionAfter(),u=l.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())r=ELt(l,t,u,"before");else if(c.getEndOffset()===u.getLength())r=ELt(l,t,u,"after");else{var d=_Lt.splitBlock(l,c),p=d.getSelectionAfter(),f=d.getBlockForKey(p.getFocusKey());r=ELt(d,t,f,"before")}}var h=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return xLt.push(e,h,"move-block")}},ALt=DLt;var ILt=B$t.exports.List,$Lt=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(i,r){var o=0;(0,i.strategy)(e,(function(e,t){(function(e,t,n){for(var i=t;i<n;i++)if(null!=e[i])return!1;return!0})(n,e,t)&&(!function(e,t,n,i){for(var r=t;r<n;r++)e[r]=i}(n,e,t,r+"."+o),o++)}),t)})),ILt(n)},t.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},t.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},e}();var RLt=$Lt;function jLt(e){return e.replace(/\//g,"-")}var zLt=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(jLt).join(" "):Array.prototype.map.call(arguments,jLt).join(" ")},MLt=g.default,LLt=zLt,NLt=(0,B$t.exports.Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:MLt.createElement("ul",{className:LLt("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:MLt.createElement("ol",{className:LLt("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:MLt.createElement("pre",{className:LLt("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),QLt={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},BLt={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",c="name",u="type",d="vendor",p="version",f="architecture",h="console",m="mobile",g="tablet",v="smarttv",b="wearable",y="embedded",O="Amazon",w="Apple",_="ASUS",x="BlackBerry",k="Firefox",S="Google",E="Huawei",C="LG",P="Microsoft",F="Motorola",T="Opera",D="Samsung",A="Sony",I="Xiaomi",$="Zebra",R="Facebook",j=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},z=function(e,t){return typeof e===s&&-1!==M(t).indexOf(M(e))},M=function(e){return e.toLowerCase()},L=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},N=function(e,t){for(var n,o,s,l,c,u,d=0;d<t.length&&!c;){var p=t[d],f=t[d+1];for(n=o=0;n<p.length&&!c;)if(c=p[n++].exec(e))for(s=0;s<f.length;s++)u=c[++o],typeof(l=f[s])===a&&l.length>0?2===l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,u):this[l[0]]=l[1]:3===l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=u?u.replace(l[1],l[2]):i:this[l[0]]=u?l[1].call(this,u,l[2]):i:4===l.length&&(this[l[0]]=u?l[3].call(this,u.replace(l[1],l[2])):i):this[l]=u||i;d+=2}},Q=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(z(t[n][r],e))return"?"===n?i:n}else if(z(t[n],e))return"?"===n?i:n;return e},B={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},U={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,p],[/opios[\/ ]+([\w\.]+)/i],[p,[c,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[c,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[c,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[c,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[c,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[c,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[c,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[c,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,R],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[c,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[c,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[p,Q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[c,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[c,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[c,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,M]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows (ce|mobile); ppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[f,/ower/,"",M]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,M]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,D],[u,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,D],[u,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[u,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[u,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,E],[u,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,E],[u,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,I],[u,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,I],[u,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[u,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[u,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[u,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,F],[u,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,F],[u,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,C],[u,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,C],[u,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[u,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[u,m]],[/(pixel c)\b/i],[l,[d,S],[u,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,S],[u,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,A],[u,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,A],[u,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[u,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,O],[u,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,O],[u,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[u,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,x],[u,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,_],[u,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,_],[u,m]],[/(nexus 9)/i],[l,[d,"HTC"],[u,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[u,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[u,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[u,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[u,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[u,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[u,g]],[/(surface duo)/i],[l,[d,P],[u,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[u,m]],[/(u304aa)/i],[l,[d,"AT&T"],[u,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[u,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[u,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[u,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[u,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[u,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[u,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[u,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[u,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[u,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[u,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[u,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[u,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[u,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[u,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[u,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[u,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[u,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[u,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[u,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[u,g]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[u,g]],[/(sprint) (\w+)/i],[d,l,[u,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,P],[u,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,$],[u,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,$],[u,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[u,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[u,h]],[/(playstation [345portablevi]+)/i],[l,[d,A],[u,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,P],[u,h]],[/smart-tv.+(samsung)/i],[d,[u,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,D],[u,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,C],[u,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[u,v]],[/crkey/i],[[l,"Chromecast"],[d,S],[u,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,O],[u,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[u,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,L],[l,L],[u,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,v]],[/((pebble))app/i],[d,l,[u,b]],[/droid.+; (glass) \d/i],[l,[d,S],[u,b]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,$],[u,b]],[/(quest( 2)?)/i],[l,[d,R],[u,b]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[u,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[u,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[u,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[c,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[p,Q,B]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[p,Q,B]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,p],[/\(bb(10);/i],[p,[c,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[c,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[c,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],p],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,p],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,p]]},q=function(e,t){if(typeof e===a&&(t=e,e=i),!(this instanceof q))return new q(e,t).getResult();var r=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(U,t):U;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,N.call(e,r,l.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:i}(e.version),e},this.getCPU=function(){var e={};return e.architecture=i,N.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,N.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,N.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,N.call(e,r,l.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===s&&e.length>255?L(e,255):e,this},this.setUA(r),this};q.VERSION="0.7.31",q.BROWSER=j([c,p,"major"]),q.CPU=j([f]),q.DEVICE=j([l,d,u,h,m,v,g,b,y]),q.ENGINE=q.OS=j([c,p]),e.exports&&(t=e.exports=q),t.UAParser=q;var W=typeof n!==o&&(n.jQuery||n.Zepto);if(W&&!W.ua){var G=new q;W.ua=G.getResult(),W.ua.get=function(){return G.getUA()},W.ua.set=function(e){G.setUA(e);var t=G.getResult();for(var n in t)W.ua[n]=t[n]}}}("object"==typeof window?window:k)}(BLt,BLt.exports);var ULt="Unknown",qLt={"Mac OS":"Mac OS X"};var WLt=(new(0,BLt.exports)).getResult(),GLt=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(WLt.browser.version),VLt={browserArchitecture:WLt.cpu.architecture||ULt,browserFullVersion:WLt.browser.version||ULt,browserMinorVersion:GLt.minor||ULt,browserName:WLt.browser.name||ULt,browserVersion:WLt.browser.major||ULt,deviceName:WLt.device.model||ULt,engineName:WLt.engine.name||ULt,engineVersion:WLt.engine.version||ULt,platformArchitecture:WLt.cpu.architecture||ULt,platformName:function(e){return qLt[e]||e}(WLt.os.name)||ULt,platformVersion:WLt.os.version||ULt,platformFullVersion:WLt.os.version||ULt},XLt=VLt,HLt=URt,YLt=/\./,ZLt=/\|\|/,KLt=/\s+\-\s+/,JLt=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,eNt=/^(\d*)(.*)/;function tNt(e,t){var n=e.split(ZLt);return n.length>1?n.some((function(e){return pNt.contains(e,t)})):function(e,t){var n=e.split(KLt);if(n.length>0&&n.length<=2||("production"!==Jh.env.NODE_ENV?HLt(!1,'the "-" operator expects exactly 2 operands'):HLt(!1)),1===n.length)return nNt(n[0],t);var i=n[0],r=n[1];return sNt(i)&&sNt(r)||("production"!==Jh.env.NODE_ENV?HLt(!1,'operands to the "-" operator must be simple (no modifiers)'):HLt(!1)),nNt(">="+i,t)&&nNt("<="+r,t)}(e=n[0].trim(),t)}function nNt(e,t){if(""===(e=e.trim()))return!0;var n=t.split(YLt),i=oNt(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return iNt(n,o);case"<=":return function(e,t){var n=dNt(e,t);return-1===n||0===n}(n,o);case">=":return rNt(n,o);case">":return function(e,t){return 1===dNt(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,o=parseInt(i[r],10);aNt(o)&&(i[r]=o+1+"");return rNt(e,n)&&iNt(e,i)}(n,o);default:return function(e,t){return 0===dNt(e,t)}(n,o)}}function iNt(e,t){return-1===dNt(e,t)}function rNt(e,t){var n=dNt(e,t);return 1===n||0===n}function oNt(e){var t=e.split(YLt),n=t[0].match(JLt);return n||("production"!==Jh.env.NODE_ENV?HLt(!1,"expected regex to match but it did not"):HLt(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function aNt(e){return!isNaN(e)&&isFinite(e)}function sNt(e){return!oNt(e).modifier}function lNt(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function cNt(e,t){var n=e.match(eNt)[1],i=t.match(eNt)[1],r=parseInt(n,10),o=parseInt(i,10);return aNt(r)&&aNt(o)&&r!==o?uNt(r,o):uNt(e,t)}function uNt(e,t){return typeof e!=typeof t&&("production"!==Jh.env.NODE_ENV?HLt(!1,'"a" and "b" must be of the same type'):HLt(!1)),e>t?1:e<t?-1:0}function dNt(e,t){for(var n=function(e,t){lNt(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var i=t[n].match(/^[x*]$/i);if(i&&(t[n]=e[n]="0","*"===i[0]&&n===t.length-1))for(var r=n;r<e.length;r++)e[r]="0"}return lNt(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=cNt(i[o],r[o]);if(a)return a}return 0}var pNt={contains:function(e,t){return tNt(e.trim(),t.trim())}},fNt=pNt,hNt=Object.prototype.hasOwnProperty;var mNt=function(e,t,n){if(!e)return null;var i={};for(var r in e)hNt.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var gNt=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},vNt=XLt,bNt=fNt;function yNt(e,t,n,i){if(e===n)return!0;if(!n.startsWith(e))return!1;var r=n.slice(e.length);return!!t&&(r=i?i(r):r,bNt.contains(r,t))}function ONt(e){return"Windows"===vNt.platformName?e.replace(/^\s*NT/,""):e}var wNt=mNt({isBrowser:function(e){return yNt(vNt.browserName,vNt.browserFullVersion,e)},isBrowserArchitecture:function(e){return yNt(vNt.browserArchitecture,null,e)},isDevice:function(e){return yNt(vNt.deviceName,null,e)},isEngine:function(e){return yNt(vNt.engineName,vNt.engineVersion,e)},isPlatform:function(e){return yNt(vNt.platformName,vNt.platformFullVersion,e,ONt)},isPlatformArchitecture:function(e){return yNt(vNt.platformArchitecture,null,e)}},gNt);var _Nt=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var xNt=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},kNt=xNt;var SNt=function e(t){if(kNt(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var o=e(n.childNodes[r]);if(o)return o}}return null},ENt=_Nt,CNt=SNt;var PNt=function(e){for(var t=e;t&&t!==ENt(e).documentElement;){var n=CNt(t);if(null!=n)return n;t=t.parentNode}return null};var FNt=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function TNt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DNt=wNt,ANt=PNt,INt=FNt,$Nt=URt,RNt=jMt,jNt=B$t.exports.Map,zNt={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},MNt=DNt.isBrowser("IE <= 11"),LNt=function(){function e(e){var t=this;TNt(this,"observer",void 0),TNt(this,"container",void 0),TNt(this,"mutations",void 0),TNt(this,"onCharData",void 0),this.container=e,this.mutations=jNt();var n=INt(e);n.MutationObserver&&!MNt?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Jh.env.NODE_ENV?$Nt(!1,"Expected target to be an instance of Node"):$Nt(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,zNt):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},t.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=jNt(),t},t.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},t.getMutationTextContent=function(e){var t=e.type,n=e.target,i=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return MNt?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(i&&i.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=RNt(ANt(e.target));this.mutations=this.mutations.set(n,t)}},e}(),NNt="-",QNt={encode:function(e,t,n){return e+NNt+t+NNt+n},decode:function(e){var t=e.split(NNt).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(NNt),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},BNt={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105},UNt={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var qNt=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},WNt=URt,GNt=qNt;var VNt=function(e){var t=e.editorContainer;return t||("production"!==Jh.env.NODE_ENV?WNt(!1,"Missing editorNode"):WNt(!1)),GNt(t.firstChild)||("production"!==Jh.env.NODE_ENV?WNt(!1,"editorNode.firstChild is not an HTMLElement"):WNt(!1)),t.firstChild},XNt=QNt,HNt=jMt;var YNt=function(e,t,n,i,r){var o=HNt(e.getSelection());if(!t||!i)return"production"!==Jh.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=XNt.decode(t),s=a.blockKey,l=e.getBlockTree(s),c=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),u=XNt.decode(i),d=u.blockKey,p=e.getBlockTree(d),f=p&&p.getIn([u.decoratorKey,"leaves",u.leafKey]);if(!c||!f)return"production"!==Jh.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=c.get("start"),m=f.get("start"),g=c?h+n:null,v=f?m+r:null,b=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(b)return o;var y=!1;if(s===d){var O=c.get("end"),w=f.get("end");y=m===h&&w===O?r<n:m<h}else{var _=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();y=_===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:y})},ZNt=PNt,KNt=SNt,JNt=YNt,eQt=URt,tQt=xNt,nQt=jMt;function iQt(e,t,n){var i=t,r=ZNt(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==Jh.env.NODE_ENV?eQt(!1,"Unknown node in selection range."):eQt(!1)),e===i)&&(i=i.firstChild,tQt(i)||("production"!==Jh.env.NODE_ENV?eQt(!1,"Invalid DraftEditorContents node."):eQt(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==Jh.env.NODE_ENV?eQt(!1,"Invalid DraftEditorContents structure."):eQt(!1)),n>0&&(n=i.childNodes.length));if(0===n){var o=null;if(null!=r)o=r;else{var a=function(e){for(;e.firstChild&&(tQt(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||KNt(e.firstChild));)e=e.firstChild;return e}(i);o=nQt(KNt(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,c=null;if(KNt(s)){var u=function(e){for(;e.lastChild&&(tQt(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||KNt(e.lastChild));)e=e.lastChild;return e}(s);l=nQt(KNt(u)),c=rQt(u)}else l=nQt(r),c=rQt(s);return{key:l,offset:c}}function rQt(e){var t=e.textContent;return"\n"===t?0:t.length}var oQt=function(e,t,n,i,r,o){var a=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:JNt(e,nQt(ZNt(n)),i,nQt(ZNt(r)),o),needsRecovery:!1};var l=null,c=null,u=!0;return a?(l={key:nQt(ZNt(n)),offset:i},c=iQt(t,r,o)):s?(c={key:nQt(ZNt(r)),offset:o},l=iQt(t,n,i)):(l=iQt(t,n,i),c=iQt(t,r,o),n===r&&i===o&&(u=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:JNt(e,l.key,l.offset,c.key,c.offset),needsRecovery:u}},aQt=oQt;var sQt=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==i||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:aQt(e,t,i,r,o,a)},lQt=UNt,cQt=aLt,uQt=VNt,dQt=sQt;var pQt=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();lQt.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=dQt(n,uQt(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?cQt.forceSelection(n,r):cQt.acceptSelection(n,r),e.update(n))}};var fQt={notEmptyKey:function(e){return null!=e&&""!=e}},hQt=fQt.notEmptyKey;function mQt(e,t){return hQt(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var gQt=function(e,t){var n;if(t.isCollapsed()){var i=t.getAnchorKey(),r=t.getAnchorOffset();return r>0?(n=e.getBlockForKey(i).getEntityAt(r-1))!==e.getBlockForKey(i).getEntityAt(r)?null:mQt(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),mQt(e.getEntityMap(),n)},vQt=LNt,bQt=uzt,yQt=QNt,OQt=aLt,wQt=BNt,_Qt=VNt,xQt=sQt,kQt=gQt,SQt=jMt,EQt=!1,CQt=!1,PQt=null;var FQt={onCompositionStart:function(e){CQt=!0,function(e){PQt||(PQt=new vQt(_Qt(e))).start()}(e)},onCompositionEnd:function(e){EQt=!1,CQt=!1,setTimeout((function(){EQt||FQt.resolveComposition(e)}),20)},onSelect:pQt,onKeyDown:function(e,t){if(!CQt)return FQt.resolveComposition(e),void e._onKeyDown(t);t.which!==wQt.RIGHT&&t.which!==wQt.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===wQt.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!CQt){var t=SQt(PQt).stopAndFlushMutations();PQt=null,EQt=!0;var n=OQt.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=yQt.decode(t),o=r.blockKey,a=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),c=l.start,u=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:c,focusOffset:u,isBackward:!1}),p=kQt(i,d),f=i.getBlockForKey(o).getInlineStyleAt(c);i=bQt.replaceText(i,d,e,f,p),n=OQt.set(n,{currentContent:i})}));var r=xQt(n,_Qt(e)).selectionState;e.restoreEditorDOM();var o=OQt.acceptSelection(n,r);e.update(OQt.push(o,i,"insert-characters"))}else e.update(n)}}},TQt=FQt,DQt=UJ;function AQt(){return AQt=DQt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},AQt.apply(this,arguments)}var IQt=QNt,$Qt=g.default,RQt=FMt,jQt=vMt,zQt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.children,i=e.contentState,r=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,c=t.getKey(),u=s.get("leaves"),d=r.getComponentForKey(o),p=r.getPropsForKey(o),f=IQt.encode(c,parseInt(o,10),0),h=l.slice(u.first().get("start"),u.last().get("end")),m=jQt.getHTMLDirIfDifferent(RQt.getDirection(h),a);return $Qt.createElement(d,AQt({},p,{contentState:i,decoratedText:h,dir:m,key:f,entityKey:t.getEntityAt(s.get("start")),offsetKey:f}),n)},i}($Qt.Component),MQt=zQt;function LQt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NQt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var QQt=g.default,BQt=URt,UQt=xNt,qQt=wNt.isBrowser("IE <= 11");var WQt=function(e){var t,n;function i(t){var n;return NQt(LQt(n=e.call(this,t)||this),"_forceFlag",void 0),NQt(LQt(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;UQt(t)||("production"!==Jh.env.NODE_ENV?BQt(!1,"node is not an Element"):BQt(!1));var i=t;return n?!function(e){return qQt?"\n"===e.textContent:"BR"===e.tagName}(i):i.textContent!==e.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},qQt?QQt.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):QQt.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return qQt?QQt.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):QQt.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):QQt.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(QQt.Component),GQt=WQt,VQt=xNt;var XQt=function(e){return!(!e||!e.ownerDocument)&&(VQt(e)&&"BR"===e.nodeName)};var HQt=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))},YQt=HQt;var ZQt=function(e){return YQt(e)&&3==e.nodeType},KQt=ZQt;var JQt=function e(t,n){return!(!t||!n)&&(t===n||!KQt(t)&&(KQt(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var eBt=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}},tBt=UNt,nBt=JQt,iBt=eBt,rBt=_Nt,oBt=URt,aBt=xNt,sBt=wNt.isBrowser("IE");function lBt(e,t){if(!e)return"[empty]";var n=cBt(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(aBt(n)||("production"!==Jh.env.NODE_ENV?oBt(!1,"Node must be an Element if it is not a text node."):oBt(!1)),n.outerHTML)}function cBt(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return rBt(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var r=e.cloneNode();1===r.nodeType&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)r.appendChild(cBt(o[a],t));return r}function uBt(e,t){for(var n=e,i=n;n;){if(aBt(n)&&i.hasAttribute("contenteditable"))return lBt(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function dBt(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function pBt(e,t,n,i){var r=iBt();if(e.extend&&null!=t&&nBt(r,t)){n>dBt(t)&&tBt.logSelectionStateFailure({anonymizedDom:uBt(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw tBt.logSelectionStateFailure({anonymizedDom:uBt(t,(function(t){var n=[];return t===r&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:r?r.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:o,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function fBt(e,t,n,i){var r=rBt(t).createRange();if(n>dBt(t)&&tBt.logSelectionStateFailure({anonymizedDom:uBt(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),sBt)try{e.addRange(r)}catch(e){"production"!==Jh.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var hBt=function(e,t,n,i,r){var o=rBt(t);if(nBt(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),c=e.getFocusKey(),u=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var p=s,f=l;s=c,l=u,c=p,u=f,d=!1}var h=s===n&&i<=l&&r>=l,m=c===n&&i<=u&&r>=u;if(h&&m)return a.removeAllRanges(),fBt(a,t,l-i,e),void pBt(a,t,u-i,e);if(d){if(m&&(a.removeAllRanges(),fBt(a,t,u-i,e)),h){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),fBt(a,t,l-i,e),pBt(a,g,v,e)}}else h&&(a.removeAllRanges(),fBt(a,t,l-i,e)),m&&pBt(a,t,u-i,e)}},mBt=UJ;function gBt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vBt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bBt=GQt,yBt=g.default,OBt=URt,wBt=XQt,_Bt=hBt,xBt=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return vBt(gBt(t=e.call.apply(e,[this].concat(i))||this),"leaf",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,i=t.start,r=t.text,o=n.getKey(),a=i+r.length;if(e.hasEdgeWithin(o,i,a)){var s=this.leaf;s||("production"!==Jh.env.NODE_ENV?OBt(!1,"Missing node"):OBt(!1));var l,c=s.firstChild;c||("production"!==Jh.env.NODE_ENV?OBt(!1,"Missing child"):OBt(!1)),c.nodeType===Node.TEXT_NODE?l=c:wBt(c)?l=s:(l=c.firstChild)||("production"!==Jh.env.NODE_ENV?OBt(!1,"Missing targetNode"):OBt(!1)),_Bt(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Jh.env.NODE_ENV?OBt(!1,"Missing leafNode"):OBt(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var i=this.props,r=i.customStyleMap,o=i.customStyleFn,a=i.offsetKey,s=i.styleSet,l=s.reduce((function(e,t){var n={},i=r[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(n.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),mBt(e,i,n)}),{});if(o){var c=o(s,t);l=mBt(l,c)}return yBt.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},yBt.createElement(bBt,null,n))},i}(yBt.Component),kBt=xBt;var SBt=MQt,EBt=kBt,CBt=QNt,PBt=B$t.exports,FBt=g.default,TBt=zLt;PBt.List;var DBt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,i=e.customStyleFn,r=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,c=e.selection,u=e.tree,d=t.getKey(),p=t.getText(),f=u.size-1,h=this.props.children||u.map((function(e,u){var h=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var o=CBt.encode(d,u,n),a=e.get("start"),m=e.get("end");return FBt.createElement(EBt,{key:o,offsetKey:o,block:t,start:a,selection:l?c:null,forceSelection:s,text:p.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:h===f&&n===g})})).toArray();return h&&o?FBt.createElement(SBt,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:p,key:u}):v})).toArray();return FBt.createElement("div",{"data-offset-key":CBt.encode(d,0,0),className:TBt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},i}(FBt.Component),ABt=DBt;function IBt(e,t){return!!t&&(e===t.documentElement||e===t.body)}var $Bt={getTop:function(e){var t=e.ownerDocument;return IBt(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;IBt(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return IBt(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;IBt(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},RBt=$Bt,jBt=/-(.)/g;var zBt=function(e){return e.replace(jBt,(function(e,t){return t.toUpperCase()}))},MBt=/([A-Z])/g;var LBt=function(e){return e.replace(MBt,"-$1").toLowerCase()},NBt=zBt,QBt=LBt;function BBt(e){return null==e?e:String(e)}var UBt=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return BBt(n.getPropertyValue(QBt(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return BBt(n.getPropertyValue(QBt(t)));if("display"===t)return"none"}return e.currentStyle?BBt("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[NBt(t)]):BBt(e.style&&e.style[NBt(t)])};function qBt(e,t){var n=WBt.get(e,t);return"auto"===n||"scroll"===n}var WBt={get:UBt,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(qBt(e,"overflow")||qBt(e,"overflowY")||qBt(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},GBt=WBt,VBt=JQt;var XBt=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!VBt(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}};var HBt=function(e){var t=XBt(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},YBt="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var ZBt=function(e){return(e=e||document).scrollingElement?e.scrollingElement:YBt||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var KBt=ZBt,JBt=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}};var eUt=function(e){var t=KBt(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=JBt(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,o=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,o)),n};function tUt(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function nUt(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function iUt(){return{width:window.innerWidth||tUt(),height:window.innerHeight||nUt()}}iUt.withoutScrollbars=function(){return{width:tUt(),height:nUt()}};var rUt=iUt,oUt=UJ;function aUt(){return aUt=oUt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},aUt.apply(this,arguments)}function sUt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lUt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){cUt(e,t,n[t])}))}return e}function cUt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uUt=ABt,dUt=QNt,pUt=g.default,fUt=RBt,hUt=GBt,mUt=HBt,gUt=eUt,vUt=rUt,bUt=URt,yUt=qNt;B$t.exports.List;var OUt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},wUt=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),i=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:i}},_Ut=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},xUt=function(e,t,n,i,r,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=i(e);return s&&(a.className=s),void 0!==r.customEditable&&(a=lUt({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},kUt=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return cUt(sUt(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",pUt.createRef()),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,n=t.block,i=t.direction,r=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||r!==e.tree||i!==e.direction||OUt(e.selection,e.block.getKey())&&e.forceSelection;return o||a},r.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var i,r=hUt.getScrollParent(n),o=gUt(r);if(r===window){var a=mUt(n);(i=a.y+a.height-vUt().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{yUt(n)||("production"!==Jh.env.NODE_ENV?bUt(!1,"blockNode is not an HTMLElement"):bUt(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&fUt.setTop(r,fUt.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,c=t.editorKey,u=t.editorState,d=t.customStyleFn,p=t.customStyleMap,f=t.direction,h=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=dUt.encode(n,0,0),d=s.getBlockForKey(n),p=_Ut(d,o),f=p.CustomComponent||i,h=wUt(d,r),m=h.Element,g=h.wrapperTemplate,v=xUt(d,c,l,a,p,null),b=lUt({},e.props,{tree:u.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push(pUt.createElement(m,v,pUt.createElement(f,b))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var i=[],r=!0,o=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var c=s.value;if(c.type!==t)break;i.push(c)}}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(i[0]),i.length+1);var u=i.reverse(),d=u[0].key;n.push(pUt.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":dUt.encode(d,0,0)},u))}(g,m,t),t}),[]));var b=n.getKey(),y=dUt.encode(b,0,0),O=_Ut(n,o),w=O.CustomComponent,_=null!=w?pUt.createElement(w,aUt({},this.props,{tree:u.getBlockTree(b),blockProps:O.customProps,offsetKey:y,block:n})):pUt.createElement(uUt,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:f,forceSelection:h,hasSelection:OUt(m,b),selection:m,tree:g});if(n.getParentKey())return _;var x=wUt(n,r).Element,k=xUt(n,c,y,a,O,this.wrapperRef);return pUt.createElement(x,k,_)},i}(pUt.Component),SUt=UJ;function EUt(){return EUt=SUt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},EUt.apply(this,arguments)}var CUt=kUt,PUt=QNt,FUt=g.default,TUt=jMt,DUt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return r!==o||a!==s||l!==c||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,c=a.getCurrentContent(),u=a.getSelection(),d=a.mustForceSelection(),p=a.getDecorator(),f=TUt(a.getDirectionMap()),h=[],m=c.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:c,customStyleFn:o,customStyleMap:r,decorator:p,editorKey:s,editorState:a,forceSelection:d,selection:u,block:m,direction:l||f.get(g),tree:a.getBlockTree(g)},b=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:FUt.createElement(CUt,EUt({key:g},v)),wrapperTemplate:b,key:g,offsetKey:PUt.encode(g,0,0)});var y=m.getNextSiblingKey();m=y?c.getBlockForKey(y):null}for(var O=[],w=0;w<h.length;){var _=h[w];if(_.wrapperTemplate){var x=[];do{x.push(h[w].block),w++}while(w<h.length&&h[w].wrapperTemplate===_.wrapperTemplate);var k=FUt.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},x);O.push(k)}else O.push(_.block),w++}return FUt.createElement("div",{"data-contents":"true"},O)},i}(FUt.Component),AUt=DUt,IUt=UJ;function $Ut(){return $Ut=IUt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$Ut.apply(this,arguments)}function RUt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jUt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zUt=kBt,MUt=QNt,LUt=g.default,NUt=RBt,QUt=GBt,BUt=FMt,UUt=vMt,qUt=zLt,WUt=HBt,GUt=eUt,VUt=rUt,XUt=URt,HUt=qNt,YUt=jMt,ZUt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},KUt=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return jUt(RUt(t=e.call.apply(e,[this].concat(i))||this),"_node",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||ZUt(e.selection,e.block.getKey())&&e.forceSelection},r.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var i,r=QUt.getScrollParent(n),o=GUt(r);if(r===window){var a=WUt(n);(i=a.y+a.height-VUt().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{HUt(n)||("production"!==Jh.env.NODE_ENV?XUt(!1,"blockNode is not an HTMLElement"):XUt(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&NUt.setTop(r,NUt.getTop(r)+i+10)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),i=t.getText(),r=this.props.tree.size-1,o=ZUt(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var c=l.size-1,u=l.map((function(a,l){var u=MUt.encode(n,s,l),d=a.get("start"),p=a.get("end");return LUt.createElement(zUt,{key:u,offsetKey:u,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,p),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===c})})).toArray(),d=a.get("decoratorKey");if(null==d)return u;if(!e.props.decorator)return u;var p=YUt(e.props.decorator),f=p.getComponentForKey(d);if(!f)return u;var h=p.getPropsForKey(d),m=MUt.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),b=i.slice(g,v),y=t.getEntityAt(a.get("start")),O=UUt.getHTMLDirIfDifferent(BUt.getDirection(b),e.props.direction),w={contentState:e.props.contentState,decoratedText:b,dir:O,start:g,end:v,blockKey:n,entityKey:y,offsetKey:m};return LUt.createElement(f,$Ut({},h,w,{key:m}),u)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=qUt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return LUt.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(LUt.Component),JUt=KUt;var eqt=function(e){var t=e||"",n=arguments.length;if(n>1)for(var i=1;i<n;i++){var r=arguments[i];r&&(t=(t?t+" ":"")+r)}return t},tqt=UJ;function nqt(){return nqt=tqt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},nqt.apply(this,arguments)}function iqt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){rqt(e,t,n[t])}))}return e}function rqt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oqt=JUt,aqt=QNt,sqt=g.default,lqt=zLt,cqt=eqt,uqt=jMt,dqt=function(e,t,n,i){return lqt({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===i,"public/DraftStyleDefault/listRTL":"RTL"===i})},pqt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return r!==o||a!==s||l!==c||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,c=e.textDirectionality,u=a.getCurrentContent(),d=a.getSelection(),p=a.mustForceSelection(),f=a.getDecorator(),h=uqt(a.getDirectionMap()),m=u.getBlocksAsArray(),g=[],v=null,b=null,y=0;y<m.length;y++){var O=m[y],w=O.getKey(),_=O.getType(),x=n(O),k=void 0,S=void 0,E=void 0;x&&(k=x.component,S=x.props,E=x.editable);var C=c||h.get(w),P=aqt.encode(w,0,0),F={contentState:u,block:O,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:f,direction:C,forceSelection:p,offsetKey:P,preventScroll:l,selection:d,tree:a.getBlockTree(w)},T=t.get(_)||t.get("unstyled"),D=T.wrapper,A=T.element||t.get("unstyled").element,I=O.getDepth(),$="";if(i&&($=i(O)),"li"===A)$=cqt($,dqt(_,I,b!==D||null===v||I>v,C));var R=k||oqt,j={className:$,"data-block":!0,"data-editor":s,"data-offset-key":P,key:w};void 0!==E&&(j=iqt({},j,{contentEditable:E,suppressContentEditableWarning:!0}));var z=sqt.createElement(A,j,sqt.createElement(R,nqt({},F,{key:w})));g.push({block:z,wrapperTemplate:D,key:w,offsetKey:P}),v=D?O.getDepth():null,b=D}for(var M=[],L=0;L<g.length;){var N=g[L];if(N.wrapperTemplate){var Q=[];do{Q.push(g[L].block),L++}while(L<g.length&&g[L].wrapperTemplate===N.wrapperTemplate);var B=sqt.cloneElement(N.wrapperTemplate,{key:N.key+"-wrap","data-offset-key":N.offsetKey},Q);M.push(B)}else M.push(N.block),L++}return sqt.createElement("div",{"data-contents":"true"},M)},i}(sqt.Component),fqt=pqt,hqt=Nzt("draft_tree_data_support")?AUt:fqt,mqt={isImage:function(e){return"image"===gqt(e)[0]},isJpeg:function(e){var t=gqt(e);return mqt.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function gqt(e){return e.split("/")}var vqt=mqt,bqt=URt;var yqt=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&("production"!==Jh.env.NODE_ENV?bqt(!1,"toArray: Array-like object expected"):bqt(!1)),"number"!=typeof t&&("production"!==Jh.env.NODE_ENV?bqt(!1,"toArray: Object needs a length property"):bqt(!1)),0===t||t-1 in e||("production"!==Jh.env.NODE_ENV?bqt(!1,"toArray: Object should have keys for indices"):bqt(!1)),"function"==typeof e.callee&&("production"!==Jh.env.NODE_ENV?bqt(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):bqt(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),i=0;i<t;i++)n[i]=e[i];return n}(e):[e]};function Oqt(e){return function(){return e}}var wqt=function(){};wqt.thatReturns=Oqt,wqt.thatReturnsFalse=Oqt(!1),wqt.thatReturnsTrue=Oqt(!0),wqt.thatReturnsNull=Oqt(null),wqt.thatReturnsThis=function(){return this},wqt.thatReturnsArgument=function(e){return e};var _qt=wqt,xqt=vqt,kqt=yqt,Sqt=_qt,Eqt=new RegExp("\r\n","g"),Cqt={"text/rtf":1,"text/html":1};function Pqt(e){if("file"==e.kind)return e.getAsFile()}var Fqt=function(){function e(e){this.data=e,this.types=e.types?kqt(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return Cqt[e]}))},t.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(Eqt,"\n"):null},t.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var i=t[n].type;if(!xqt.isImage(i))return!1}return!0},t.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(Pqt).filter(Sqt.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),Tqt=Fqt,Dqt=URt,Aqt=/\.textClipping$/,Iqt={"text/plain":!0,"text/html":!0,"text/rtf":!0};var $qt=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!k.FileReader||e.type&&!(e.type in Iqt))return void t("");if(""===e.type){var n="";return Aqt.test(e.name)&&(n=e.name.replace(Aqt,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==Jh.env.NODE_ENV?Dqt(!1,'We should be calling "FileReader.readAsText" which returns a string'):Dqt(!1)),t(e)},i.onerror=function(){t("")},i.readAsText(e)}(r,(function(r){n++,r&&i.push(r.slice(0,5e3)),n==e.length&&t(i.join("\r"))}))}))};var Rqt=function(e){return"handled"===e||!0===e},jqt=Tqt,zqt=uzt,Mqt=aLt,Lqt=PNt,Nqt=_Nt,Qqt=$qt,Bqt=YNt,Uqt=FNt,qqt=Rqt,Wqt=jMt;var Gqt={onDragEnd:function(e){e.exitCurrentMode(),Vqt(e)},onDrop:function(e,t){var n=new jqt(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=Nqt(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var o=r.caretRangeFromPoint(e.x,e.y);n=o.startContainer,i=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=Wqt(n),i=Wqt(i);var a=Wqt(Lqt(n));return Bqt(t,a,i,a,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&qqt(e.props.handleDroppedFiles(r,o)))return;Qqt(o,(function(t){t&&e.update(Xqt(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&qqt(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=zqt.moveText(e.getCurrentContent(),e.getSelection(),t);return Mqt.push(e,n,"insert-fragment")}(i,r)):e.update(Xqt(i,r,n.getText()))),Vqt(e)}}}};function Vqt(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:Uqt(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function Xqt(e,t,n){var i=zqt.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return Mqt.push(e,i,"insert-fragment")}var Hqt=Gqt;var Yqt=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),o=!1;return i.some((function(e){return r===e.get("start")?(o=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,i,r,o=1,a={},s=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Jh.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(i="setImmediate$"+Math.random()+"$",r=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&d(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(t){e.postMessage(i+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var r={callback:e,args:t};return a[o]=r,n(o),o++},c.clearImmediate=u}function u(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{u(e),s=!1}}}}}("undefined"==typeof self?k:self);var Zqt=k.setImmediate,Kqt=uzt,Jqt=aLt,eWt=gQt,tWt=Rqt,nWt=Yqt,iWt=jMt,rWt=Zqt,oWt=wNt.isBrowser("Firefox");function aWt(e,t,n,i,r){var o=Kqt.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return Jqt.push(e,o,"insert-characters",r)}var sWt=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,i=t.data;if(i)if(e.props.handleBeforeInput&&tWt(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),o=r.getStartOffset(),a=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(aWt(n,i,n.getCurrentInlineStyle(),eWt(n.getCurrentContent(),n.getSelection()),!0));var s=aWt(n,i,n.getCurrentInlineStyle(),eWt(n.getCurrentContent(),n.getSelection()),!1),l=!1;if(l||(l=nWt(e._latestCommittedEditorState)),!l){var c=n.getBlockTree(a),u=s.getBlockTree(a);l=c.size!==u.size||c.zip(u).some((function(e){var t=e[0],n=e[1],r=t.get("start"),a=r+(r>=o?i.length:0),s=t.get("end"),l=s+(s>=o?i.length:0),c=n.get("start"),u=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==c||l!==u||null!=d&&u-c!=s-r}))}if(l||(l=function(e){return oWt&&("'"==e||"/"==e)}(i)),l||(l=iWt(s.getDirectionMap()).get(a)!==iWt(n.getDirectionMap()).get(a)),l)return t.preventDefault(),s=Jqt.set(s,{forceSelection:!0}),void e.update(s);s=Jqt.set(s,{nativelyRenderedContent:s.getCurrentContent()}),e._pendingStateFromBeforeInput=s,rWt((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},lWt=aLt,cWt=JQt,uWt=eBt;var dWt=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&uWt(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&cWt(r,i.anchorNode)&&cWt(r,i.focusNode)&&i.removeAllRanges()}var o=e._latestEditorState,a=o.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(lWt.acceptSelection(o,s))}},pWt=aLt;var fWt=function(e,t){e.setMode("composite"),e.update(pWt.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},hWt=djt;var mWt=function(e){var t=e.getSelection();return t.isCollapsed()?null:hWt(e.getCurrentContent(),t)},gWt=mWt;var vWt=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(gWt(e._latestEditorState))};var bWt=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1},yWt=uzt,OWt=aLt,wWt=GBt,_Wt=mWt,xWt=eUt,kWt=bWt;var SWt=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(kWt(o)){var a=o;n=xWt(wWt.getScrollParent(a))}var s=_Wt(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=yWt.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return OWt.push(e,t,"remove-range")}(i))}),0)}};var EWt=function(e,t){e.setMode("drag"),t.preventDefault()};var CWt=function(e){e._internalDrag=!0,e.setMode("drag")},PWt=aLt,FWt=wNt;var TWt=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var r=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),FWt.isBrowser("Chrome < 60.0.3081.0")?e.update(PWt.forceSelection(n,r)):e.update(PWt.acceptSelection(n,r))}},DWt=URt,AWt=/[\uD800-\uDFFF]/;function IWt(e){return 55296<=e&&e<=57343}function $Wt(e){return AWt.test(e)}function RWt(e,t){return 1+IWt(e.charCodeAt(t))}function jWt(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!$Wt(e))return e.substr(t,n);var i=e.length;if(i<=0||t>i||n<=0)return"";var r=0;if(t>0){for(;t>0&&r<i;t--)r+=RWt(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=RWt(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=RWt(e,o);return e.substring(r,o)}var zWt={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=RWt(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:RWt,hasSurrogateUnit:$Wt,isCodeUnitInSurrogateRange:IWt,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Jh.env.NODE_ENV?DWt(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):DWt(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),i=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=i&&i<=57343},strlen:function(e){if(!$Wt(e))return e.length;for(var t=0,n=0;n<e.length;n+=RWt(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var i=Math.abs(n-t);return jWt(e,t=t<n?t:n,i)},substr:jWt},MWt=zWt,LWt=_qt;function NWt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var QWt="production"!==Jh.env.NODE_ENV?function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];NWt.apply(void 0,[t].concat(i))}}:LWt,BWt=QWt,UWt=BWt;var qWt=function(e,t){var n=e.getSelection();"production"!==Jh.env.NODE_ENV&&UWt(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),o=n.getStartOffset(),a=r,s=0;if(t>o){var l=i.getKeyBefore(r);if(null==l)a=r;else a=l,s=i.getBlockForKey(l).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},WWt=uzt,GWt=Nzt("draft_tree_data_support");var VWt=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(GWt&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(GWt)if(i.getAnchorOffset()===r.getBlockForKey(a).getLength()){var c=r.getBlockForKey(l.nextSibling);if(!c||0===c.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((o=t(e))===i)return r}return WWt.removeRange(r,o,n)},XWt=aLt,HWt=MWt,YWt=qWt,ZWt=VWt;var KWt=function(e){var t=ZWt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return YWt(e,o?HWt.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return XWt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},JWt=uzt,eGt=QNt,tGt=aLt,nGt=fQt.notEmptyKey,iGt=PNt,rGt=KWt,oGt=jMt,aGt=wNt.isEngine("Gecko");var sGt=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.isCollapsed,o=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!o){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var a=i.parentNode;if(null==a)return;i.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==i&&a.removeChild(s)}var l=i.textContent,c=e._latestEditorState,u=oGt(iGt(i)),d=eGt.decode(u),p=d.blockKey,f=d.decoratorKey,h=d.leafKey,m=c.getBlockTree(p).getIn([f,"leaves",h]),g=m.start,v=m.end,b=c.getCurrentContent(),y=b.getBlockForKey(p),O=y.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==O){var w,_,x,k,S=c.getSelection(),E=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),C=y.getEntityAt(g),P=nGt(C)?b.getEntity(C):null,F="MUTABLE"===(null!=P?P.getMutability():null),T=F?"spellcheck-change":"apply-entity",D=JWt.replaceText(b,E,l,y.getInlineStyleAt(g),F?y.getEntityAt(g):null);if(aGt)w=n.anchorOffset,_=n.focusOffset,k=(x=g+Math.min(w,_))+Math.abs(w-_),w=x,_=k;else{var A=l.length-O.length;x=S.getStartOffset(),k=S.getEndOffset(),w=r?k+A:x,_=k+A}var I=D.merge({selectionBefore:b.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:w,focusOffset:_})});e.update(tGt.push(c,I,T))}else{var $=t.nativeEvent.inputType;if($){var R=function(e,t){return"deleteContentBackward"===e?rGt(t):t}($,c);if(R!==c)return e.restoreEditorDOM(),void e.update(R)}}}},lGt=BNt;var cGt=function(e){return e.which===lGt.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},uGt=cGt,dGt=wNt.isPlatform("Mac OS X"),pGt={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return dGt&&e.altKey},usesMacOSHeuristics:function(){return dGt},hasCommandModifier:function(e){return dGt?!!e.metaKey&&!e.altKey:pGt.isCtrlKeyCommand(e)},isSoftNewlineEvent:uGt},fGt=pGt,hGt=uzt,mGt=aLt,gGt=djt,vGt=jMt,bGt=null,yGt={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),o=t.getBlockForKey(r).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(r);if(null==a)return e;i=n.set("focusKey",a).set("focusOffset",0)}else i=n.set("focusOffset",o)}else i=n;i=vGt(i),bGt=gGt(t,i);var s=hGt.removeRange(t,i,"forward");return s===t?e:mGt.push(e,s,"remove-range")},paste:function(e){if(!bGt)return e;var t=hGt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),bGt);return mGt.push(e,t,"insert-fragment")}},OGt=yGt,wGt=URt;var _Gt=wNt.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],i=e.endContainer;null!=i;i=i.parentNode){var r=i===e.commonAncestorContainer;r?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),r)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(i)}"production"!==Jh.env.NODE_ENV?wGt(!1,"Found an unexpected detached subtree when getting range client rects."):wGt(!1)}:function(e){return Array.from(e.getClientRects())},xGt=_Gt,kGt=MWt,SGt=_Nt,EGt=xGt,CGt=URt;function PGt(e,t){for(var n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),o=Math.max(o,s.bottom))}return r<=i&&r-n<t&&o-i<t}function FGt(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}var TGt=function(e){e.collapsed||("production"!==Jh.env.NODE_ENV?CGt(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):CGt(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=SGt(e),i=n.createElement("div");i.style.fontFamily=t.fontFamily,i.style.fontSize=t.fontSize,i.style.fontStyle=t.fontStyle,i.style.fontWeight=t.fontWeight,i.style.lineHeight=t.lineHeight,i.style.position="absolute",i.textContent="M";var r=n.body;r||("production"!==Jh.env.NODE_ENV?CGt(!1,"Missing document.body"):CGt(!1)),r.appendChild(i);var o=i.getBoundingClientRect();return r.removeChild(i),o.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);PGt(EGt(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==Jh.env.NODE_ENV?CGt(!1,"Found unexpected detached subtree when traversing."):CGt(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var o=i,a=r-1;;){for(var s=o.nodeValue,l=a;l>=0;l--)if(!(null!=s&&l>0&&kGt.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!PGt(EGt(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=FGt(o=o.childNodes[l])}return e.setStart(i,r),e},DGt=aLt,AGt=TGt,IGt=oQt,$Gt=qWt,RGt=VWt;var jGt=function(e,t){var n=RGt(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return $Gt(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=AGt(i),IGt(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:DGt.push(e,n,"remove-range")},zGt="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),MGt=new RegExp("^(?:"+zGt+")*(?:"+"['‘’]|(?!"+zGt+").)*(?:(?!"+zGt+").)"),LGt=new RegExp("(?:(?!"+zGt+").)(?:"+"['‘’]|(?!"+zGt+").)*(?:"+zGt+")*$");function NGt(e,t){var n=t?LGt.exec(e):MGt.exec(e);return n?n[0]:e}var QGt={getBackward:function(e){return NGt(e,!0)},getForward:function(e){return NGt(e,!1)}},BGt=QGt,UGt=aLt,qGt=qWt,WGt=VWt;var GGt=function(e){var t=WGt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return qGt(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=BGt.getBackward(r);return qGt(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:UGt.push(e,t,"remove-range")},VGt=BWt;var XGt=function(e,t){var n=e.getSelection();"production"!==Jh.env.NODE_ENV&&VGt(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=r;return t>a.getBlockForKey(r).getText().length-o?(s=a.getKeyAfter(r),i=0):i=o+t,n.merge({focusKey:s,focusOffset:i})},HGt=QGt,YGt=aLt,ZGt=XGt,KGt=VWt;var JGt=function(e){var t=KGt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=HGt.getForward(r);return ZGt(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:YGt.push(e,t,"remove-range")},eVt=uzt,tVt=aLt;var nVt=aLt;var iVt=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return nVt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},rVt=aLt;var oVt=function(e){var t=e.getSelection(),n=t.getStartKey();return rVt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},aVt=aLt,sVt=MWt,lVt=XGt,cVt=VWt;var uVt=function(e){var t=cVt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return lVt(e,o?sVt.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return aVt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},dVt=uzt,pVt=aLt,fVt=djt;var hVt=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(i=t.set("anchorOffset",n-1),r=t):r=(i=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=fVt(a,i),c=dVt.removeRange(a,i,"backward"),u=c.getSelectionAfter(),d=u.getAnchorOffset()-1,p=u.merge({anchorOffset:d,focusOffset:d}),f=dVt.replaceWithFragment(c,p,l),h=pVt.push(e,f,"insert-fragment");return pVt.acceptSelection(h,r)},mVt=aLt;var gVt=function(e,t,n){var i=mVt.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(mVt.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(mVt.set(i,{nativelyRenderedContent:r}))}},vVt=uzt,bVt=aLt,yVt=BNt,OVt=OGt,wVt=wNt,_Vt=Rqt,xVt=jGt,kVt=GGt,SVt=JGt,EVt=function(e){var t=eVt.splitBlock(e.getCurrentContent(),e.getSelection());return tVt.push(e,t,"split-block")},CVt=iVt,PVt=oVt,FVt=KWt,TVt=uVt,DVt=hVt,AVt=gVt,IVt=fGt.isOptionKeyCommand,$Vt=wVt.isBrowser("Chrome");var RVt=function(e,t){var n=t.which,i=e._latestEditorState;function r(n){var i=e.props[n];return!!i&&(i(t),!0)}switch(n){case yVt.RETURN:if(t.preventDefault(),e.props.handleReturn&&_Vt(e.props.handleReturn(t,i)))return;break;case yVt.ESC:if(t.preventDefault(),r("onEscape"))return;break;case yVt.TAB:if(r("onTab"))return;break;case yVt.UP:if(r("onUpArrow"))return;break;case yVt.RIGHT:if(r("onRightArrow"))return;break;case yVt.DOWN:if(r("onDownArrow"))return;break;case yVt.LEFT:if(r("onLeftArrow"))return;break;case yVt.SPACE:$Vt&&IVt(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!_Vt(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return bVt.redo(t);case"delete":return TVt(t);case"delete-word":return SVt(t);case"backspace":return FVt(t);case"backspace-word":return kVt(t);case"backspace-to-start-of-line":return xVt(t,n);case"split-block":return EVt(t);case"transpose-characters":return DVt(t);case"move-selection-to-start-of-block":return PVt(t);case"move-selection-to-end-of-block":return CVt(t);case"secondary-cut":return OVt.cut(t);case"secondary-paste":return OVt.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else AVt(t,i,e.update);else if(n===yVt.SPACE&&$Vt&&IVt(t)){var s=vVt.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(bVt.push(i,s,"insert-characters"))}};var jVt=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_uri",void 0),this._uri=e}return e.prototype.toString=function(){return this._uri},e}(),zVt=jVt,MVt=URt,LVt=wNt.isBrowser("IE <= 9");var NVt=function(e){var t,n=null;return!LVt&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Jh.env.NODE_ENV?MVt(!1,"Missing doc.documentElement"):MVt(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},QVt=xNt;var BVt=function(e){return!(!e||!e.ownerDocument)&&(QVt(e)&&"A"===e.nodeName)},UVt=xNt;var qVt,WVt=function(e){return!(!e||!e.ownerDocument)&&(UVt(e)&&"IMG"===e.nodeName)};function GVt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){VVt(e,t,n[t])}))}return e}function VVt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var XVt=tRt,HVt=gRt,YVt=DRt,ZVt=NLt,KVt=zzt,JVt=zVt,eXt=zLt,tXt=JRt,nXt=NVt,iXt=Nzt,rXt=B$t.exports,oXt=rXt.List,aXt=rXt.Map,sXt=rXt.OrderedSet,lXt=BVt,cXt=XQt,uXt=qNt,dXt=WVt,pXt=iXt("draft_tree_data_support"),fXt=new RegExp("\r","g"),hXt=new RegExp("\n","g"),mXt=new RegExp("^\n","g"),gXt=new RegExp(" ","g"),vXt=new RegExp(" ?","g"),bXt=new RegExp("​?","g"),yXt=["bold","bolder","500","600","700","800","900"],OXt=["light","lighter","normal","100","200","300","400"],wXt=["className","href","rel","target","title"],_Xt=["alt","className","height","src","width"],xXt=(VVt(qVt={},eXt("public/DraftStyleDefault/depth0"),0),VVt(qVt,eXt("public/DraftStyleDefault/depth1"),1),VVt(qVt,eXt("public/DraftStyleDefault/depth2"),2),VVt(qVt,eXt("public/DraftStyleDefault/depth3"),3),VVt(qVt,eXt("public/DraftStyleDefault/depth4"),4),qVt),kXt=aXt({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),SXt=function(e){var t={};return e.mapKeys((function(e,n){var i=[n.element];void 0!==n.aliasedElements&&i.push.apply(i,n.aliasedElements),i.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),aXt(t)},EXt=function(e){if(uXt(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},CXt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(xXt).some((function(n){e.classList.contains(n)&&(t=xXt[n])})),t},PXt=function(e){if(!lXt(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},FXt=function(e){if(!dXt(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},TXt=function(e,t){if(!uXt(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){yXt.indexOf(i)>=0?e.add("BOLD"):OXt.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},DXt=function(e){return"ul"===e||"ol"===e},AXt=function(){function e(e,t){VVt(this,"characterList",oXt()),VVt(this,"currentBlockType","unstyled"),VVt(this,"currentDepth",0),VVt(this,"currentEntity",null),VVt(this,"currentText",""),VVt(this,"wrapper",null),VVt(this,"blockConfigs",[]),VVt(this,"contentBlocks",[]),VVt(this,"entityMap",KVt),VVt(this,"blockTypeMap",void 0),VVt(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=oXt(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=KVt,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],sXt())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(pXt?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key||tXt(),n=GVt({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:oXt(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=oXt(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],o=r.nodeName.toLowerCase();if("body"===o||DXt(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;DXt(o)&&(this.wrapper=o,DXt(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var l=this.blockTypeMap.get(o);if(void 0===l)if("#text"!==o)if("br"!==o)if(FXt(r))this._addImgNode(r,t);else if(PXt(r))this._addAnchorNode(r,n,t);else{var c=t;kXt.has(o)&&(c=c.add(kXt.get(o))),c=TXt(r,c);var u=EXt(r);null!=u&&(c=c.add(u)),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),c))}else this._addBreakNode(r,t);else this._addTextNode(r,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!pXt&&uXt(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var f=r;this.currentDepth=CXt(f,this.currentDepth)}var h=tXt(),m=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:m,type:l})),this.currentDepth=d,this.wrapper=p}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=XVt.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(i))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,i=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==i?Math.min(t,i[0]):t)>(n=void 0!==(i=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-i[0]):n)?(this.currentText="",this.characterList=oXt()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},t._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(mXt,"")).replace(hXt," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){cXt(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(dXt(e)){var n=e,i={};_Xt.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),iXt("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},t._addAnchorNode=function(e,t,n){if(lXt(e)){var i=e,r={};wXt.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new JVt(i.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",r||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,i=0;i<=n;i++){var r=e[i];r.parent=t,r.prevSibling=i>0?e[i-1].key:null,r.nextSibling=i<n?e[i+1].key:null,r.children=oXt(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new YVt(GVt({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return oXt(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},t._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var n=t._extractTextFromBlockConfigs(e.childConfigs),i=n.text,r=n.characterList;t.contentBlocks.push(new HVt(GVt({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=oXt(),r=0;r<=t;r++){var o=e[r];n+=o.text,i=i.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",i=i.push(i.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,i=i.concat(a.characterList)}return{text:n,characterList:i}},e}(),IXt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nXt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ZVt,i=t(e=e.trim().replace(fXt,"").replace(gXt," ").replace(vXt,"").replace(bXt,""));if(!i)return null;var r=SXt(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new AXt(r,o).addDOMNode(i).getContentBlocks()};function $Xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RXt=gRt,jXt=DRt,zXt=IXt,MXt=JRt,LXt=NVt,NXt=Nzt,QXt=B$t.exports,BXt=Bzt,UXt=QXt.List,qXt=QXt.Repeat,WXt=NXt("draft_tree_data_support"),GXt=WXt?jXt:RXt,VXt={processHTML:function(e,t){return zXt(e,LXt,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=BXt(i);var o=MXt(),a={key:o,type:n,text:i,characterList:UXt(qXt(t,i.length))};if(WXt&&0!==r){var s=r-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){$Xt(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new GXt(a)),e}),[])}};var XXt=function(e,t,n,i){var r=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},HXt=uzt,YXt=aLt,ZXt=XXt,KXt=jMt,JXt={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===i.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return JXt.toggleInlineStyle(e,"BOLD");case"italic":return JXt.toggleInlineStyle(e,"ITALIC");case"underline":return JXt.toggleInlineStyle(e,"UNDERLINE");case"code":return JXt.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return JXt.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return JXt.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=HXt.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=YXt.push(e,t,"insert-characters");return YXt.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockBefore(i);if(r&&"atomic"===r.getType()){var o=n.getBlockMap().delete(r.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return YXt.push(e,a,"remove-range")}var s=JXt.tryToRemoveBlockStyle(e);return s?YXt.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockForKey(i).getLength();if(t.getStartOffset()<r)return null;var o=n.getBlockAfter(i);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=HXt.removeRange(n,a,"forward");return s!==n?YXt.push(e,s,"remove-range"):null},onTab:function(e,t,n){var i=t.getSelection(),r=i.getAnchorKey();if(r!==i.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(r),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=a.getDepth();if(!e.shiftKey&&l===n)return t;var c=ZXt(o,i,e.shiftKey?-1:1,n);return YXt.push(t,c,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),o=e.getCurrentContent(),a=n;if(i!==r&&0===n.getEndOffset()){var s=KXt(o.getBlockBefore(r));r=s.getKey(),a=a.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}var l=o.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()}));if(l)return e;var c=o.getBlockForKey(i).getType()===t?"unstyled":t;return YXt.push(e,HXt.setBlockType(o,a,c),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?JXt.toggleBlockType(e,"code-block"):JXt.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return YXt.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?HXt.removeInlineStyle(o,n,t):HXt.applyInlineStyle(o,n,t),YXt.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=HXt.applyEntity(e.getCurrentContent(),t,n);return YXt.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var i=t.getAnchorKey(),r=e.getCurrentContent(),o=r.getBlockForKey(i).getType(),a=r.getBlockBefore(i);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return HXt.setBlockType(r,t,"unstyled")}return null}},eHt=JXt,tHt=/\r\n?|\n/g;var nHt=function(e){return e.split(tHt)},iHt=W$t,rHt=tRt,oHt=Tqt,aHt=uzt,sHt=VXt,lHt=aLt,cHt=eHt,uHt=gQt,dHt=$qt,pHt=Rqt,fHt=nHt;function hHt(e,t,n){var i=aHt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return lHt.push(e,i.set("entityMap",n),"insert-fragment")}var mHt=function(e,t){t.preventDefault();var n=new oHt(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&pHt(e.props.handlePastedFiles(i)))return;return void dHt(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=fHt(t),o=rHt.create({style:n.getCurrentInlineStyle(),entity:uHt(n.getCurrentContent(),n.getSelection())}),a=cHt.getCurrentBlockType(n),s=sHt.processText(i,o,a),l=iHt.createFromArray(s),c=aHt.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(lHt.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!pHt(e.props.handlePastedText(a,s,l))){if(a&&(o=fHt(a)),!e.props.stripPastedStyles){var c=e.getClipboard();if(n.isRichText()&&c){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===c.size&&c.first().getText()===a)return void e.update(hHt(e._latestEditorState,c))}else if(c&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,c))return void e.update(hHt(e._latestEditorState,c));if(s){var u=sHt.processHTML(s,e.props.blockRenderMap);if(u){var d=u.contentBlocks,p=u.entityMap;if(d){var f=iHt.createFromArray(d);return void e.update(hHt(e._latestEditorState,f,p))}}}e.setClipboard(null)}if(o.length){var h=rHt.create({style:l.getCurrentInlineStyle(),entity:uHt(l.getCurrentContent(),l.getSelection())}),m=cHt.getCurrentBlockType(l),g=sHt.processText(o,h,m),v=iHt.createFromArray(g);e.update(hHt(e._latestEditorState,v))}}},gHt=wNt,vHt=sWt,bHt=dWt,yHt=fWt,OHt=vWt,wHt=SWt,_Ht=EWt,xHt=CWt,kHt=TWt,SHt=sGt,EHt=RVt,CHt=mHt,PHt=pQt,FHt=gHt.isBrowser("Chrome"),THt=gHt.isBrowser("Firefox"),DHt=FHt||THt?PHt:function(e){},AHt={onBeforeInput:vHt,onBlur:bHt,onCompositionStart:yHt,onCopy:OHt,onCut:wHt,onDragOver:_Ht,onDragStart:xHt,onFocus:kHt,onInput:SHt,onKeyDown:EHt,onPaste:CHt,onSelect:PHt,onMouseUp:DHt,onKeyUp:DHt},IHt=y.default.unstable_flushControlled;var $Ht=g.default,RHt=zLt,jHt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},r.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=RHt({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return $Ht.createElement("div",{className:t},$Ht.createElement("div",{className:RHt("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}($Ht.Component),zHt=jHt,MHt=fGt,LHt=BNt,NHt=wNt,QHt=NHt.isPlatform("Mac OS X"),BHt=QHt&&NHt.isBrowser("Firefox < 29"),UHt=MHt.hasCommandModifier,qHt=MHt.isCtrlKeyCommand;function WHt(e){return QHt&&e.altKey||qHt(e)}var GHt=function(e){switch(e.keyCode){case 66:return UHt(e)?"bold":null;case 68:return qHt(e)?"delete":null;case 72:return qHt(e)?"backspace":null;case 73:return UHt(e)?"italic":null;case 74:return UHt(e)?"code":null;case 75:return QHt&&qHt(e)?"secondary-cut":null;case 77:case 79:return qHt(e)?"split-block":null;case 84:return QHt&&qHt(e)?"transpose-characters":null;case 85:return UHt(e)?"underline":null;case 87:return QHt&&qHt(e)?"backspace-word":null;case 89:return qHt(e)?QHt?"secondary-paste":"redo":null;case 90:return function(e){return UHt(e)?e.shiftKey?"redo":"undo":null}(e)||null;case LHt.RETURN:return"split-block";case LHt.DELETE:return function(e){return!QHt&&e.shiftKey?null:WHt(e)?"delete-word":"delete"}(e);case LHt.BACKSPACE:return function(e){return UHt(e)&&QHt?"backspace-to-start-of-line":WHt(e)?"backspace-word":"backspace"}(e);case LHt.LEFT:return BHt&&UHt(e)?"move-selection-to-start-of-block":null;case LHt.RIGHT:return BHt&&UHt(e)?"move-selection-to-end-of-block":null;default:return null}},VHt=UJ;function XHt(){return XHt=VHt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},XHt.apply(this,arguments)}function HHt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){ZHt(e,t,n[t])}))}return e}function YHt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZHt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KHt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var JHt=NLt,eYt=QLt,tYt=TQt,nYt=hqt,iYt=Hqt,rYt=AHt,oYt=IHt,aYt=zHt,sYt=aLt,lYt=g.default,cYt=RBt,uYt=GBt,dYt=zLt,pYt=JRt,fYt=GHt,hYt=eUt,mYt=Nzt,gYt=URt,vYt=qNt,bYt=jMt,yYt=wNt.isBrowser("IE"),OYt=!yYt,wYt={edit:rYt,composite:tYt,drag:iYt,cut:null,render:null},_Yt=!1,xYt=function(e){function t(){return e.apply(this,arguments)||this}KHt(t,e);var n=t.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},t}(lYt.Component),kYt=function(e){function t(t){var n;return ZHt(YHt(n=e.call(this,t)||this),"_blockSelectEvents",void 0),ZHt(YHt(n),"_clipboard",void 0),ZHt(YHt(n),"_handler",void 0),ZHt(YHt(n),"_dragCount",void 0),ZHt(YHt(n),"_internalDrag",void 0),ZHt(YHt(n),"_editorKey",void 0),ZHt(YHt(n),"_placeholderAccessibilityID",void 0),ZHt(YHt(n),"_latestEditorState",void 0),ZHt(YHt(n),"_latestCommittedEditorState",void 0),ZHt(YHt(n),"_pendingStateFromBeforeInput",void 0),ZHt(YHt(n),"_onBeforeInput",void 0),ZHt(YHt(n),"_onBlur",void 0),ZHt(YHt(n),"_onCharacterData",void 0),ZHt(YHt(n),"_onCompositionEnd",void 0),ZHt(YHt(n),"_onCompositionStart",void 0),ZHt(YHt(n),"_onCopy",void 0),ZHt(YHt(n),"_onCut",void 0),ZHt(YHt(n),"_onDragEnd",void 0),ZHt(YHt(n),"_onDragOver",void 0),ZHt(YHt(n),"_onDragStart",void 0),ZHt(YHt(n),"_onDrop",void 0),ZHt(YHt(n),"_onInput",void 0),ZHt(YHt(n),"_onFocus",void 0),ZHt(YHt(n),"_onKeyDown",void 0),ZHt(YHt(n),"_onKeyPress",void 0),ZHt(YHt(n),"_onKeyUp",void 0),ZHt(YHt(n),"_onMouseDown",void 0),ZHt(YHt(n),"_onMouseUp",void 0),ZHt(YHt(n),"_onPaste",void 0),ZHt(YHt(n),"_onSelect",void 0),ZHt(YHt(n),"editor",void 0),ZHt(YHt(n),"editorContainer",void 0),ZHt(YHt(n),"focus",void 0),ZHt(YHt(n),"blur",void 0),ZHt(YHt(n),"setMode",void 0),ZHt(YHt(n),"exitCurrentMode",void 0),ZHt(YHt(n),"restoreEditorDOM",void 0),ZHt(YHt(n),"setClipboard",void 0),ZHt(YHt(n),"getClipboard",void 0),ZHt(YHt(n),"getEditorKey",void 0),ZHt(YHt(n),"update",void 0),ZHt(YHt(n),"onDragEnter",void 0),ZHt(YHt(n),"onDragLeave",void 0),ZHt(YHt(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),ZHt(YHt(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=uYt.getScrollParent(r),a=e||hYt(o),s=a.x,l=a.y;vYt(r)||("production"!==Jh.env.NODE_ENV?gYt(!1,"editorNode is not an HTMLElement"):gYt(!1)),r.focus(),o===window?window.scrollTo(s,l):cYt.setTop(o,l),i||n.update(sYt.forceSelection(t,t.getSelection()))}})),ZHt(YHt(n),"blur",(function(){var e=n.editor;e&&(vYt(e)||("production"!==Jh.env.NODE_ENV?gYt(!1,"editorNode is not an HTMLElement"):gYt(!1)),e.blur())})),ZHt(YHt(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=HHt({},wYt.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=HHt({},wYt,{edit:a});n._handler=s[e]})),ZHt(YHt(n),"exitCurrentMode",(function(){n.setMode("edit")})),ZHt(YHt(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),ZHt(YHt(n),"setClipboard",(function(e){n._clipboard=e})),ZHt(YHt(n),"getClipboard",(function(){return n._clipboard})),ZHt(YHt(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),ZHt(YHt(n),"onDragEnter",(function(){n._dragCount++})),ZHt(YHt(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=t.editorKey||pYt(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=t.editorState,n._latestCommittedEditorState=t.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},"production"!==Jh.env.NODE_ENV&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach((function(e){t.hasOwnProperty(e)&&console.warn("Supplying an `".concat(e,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")})),n.state={contentsKey:0},n}KHt(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var i=t._handler&&t._handler[e];i&&(oYt?oYt((function(){return i(t,n)})):i(t,n))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:bYt(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return lYt.createElement(aYt,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,c=e.textAlignment,u=e.textDirectionality,d=dYt({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===c,"DraftEditor/alignRight":"right"===c,"DraftEditor/alignCenter":"center"===c}),p=this.props.role||"textbox",f="combobox"===p?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:HHt({},eYt,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:u};return lYt.createElement("div",{className:d},this._renderPlaceholder(),lYt.createElement("div",{className:dYt("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},lYt.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:f,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:dYt({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:l?null:p,spellCheck:OYt&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},lYt.createElement(xYt,{editor:this,editorState:a}),lYt.createElement(nYt,XHt({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!_Yt&&mYt("draft_ods_enabled")&&(_Yt=!0),this.setMode("edit"),yYt&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):k.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(lYt.Component);ZHt(kYt,"defaultProps",{blockRenderMap:JHt,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:fYt,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var SYt=kYt,EYt=E(Object.freeze({__proto__:null})),CYt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},PYt=CYt,FYt=MWt.strlen;var TYt=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var o=e.getText(),a=e.getEntityAt(i);n.push({offset:FYt(o.slice(0,i)),length:FYt(o.slice(i,r)),key:Number(t[PYt.stringify(a)])})})),n},DYt=MWt,AYt=nRt,IYt=function(e,t){return e===t},$Yt=function(e){return!!e},RYt=[];var jYt=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var i=[],r=t.map((function(e){return e.has(n)})).toList();return AYt(r,IYt,$Yt,(function(t,r){var o=e.getText();i.push({offset:DYt.strlen(o.slice(0,t)),length:DYt.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(RYt,n.toJS())};function zYt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MYt=gRt,LYt=DRt,NYt=CYt,QYt=TYt,BYt=jYt,UYt=URt,qYt=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:BYt(e),entityRanges:QYt(e,t),data:e.getData().toObject()}},WYt=function(e,t,n,i){if(e instanceof MYt)n.push(qYt(e,t));else{e instanceof LYt||("production"!==Jh.env.NODE_ENV?UYt(!1,"block is not a BlockNode"):UYt(!1));var r=e.getParentKey(),o=i[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){zYt(e,t,n[t])}))}return e}({},qYt(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},GYt=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=NYt.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),WYt(e,n,i,r)})),{blocks:i,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,i=t.entityMap,r={};return Object.keys(i).forEach((function(t,n){var i=e.getEntity(NYt.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function VYt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){XYt(e,t,n[t])}))}return e}function XYt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HYt=JRt,YYt=URt,ZYt=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},KYt={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Jh.env.NODE_ENV?YYt(!1,"Invalid raw state"):YYt(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var i=n.pop();t(i);var r=i.children;Array.isArray(r)||("production"!==Jh.env.NODE_ENV?YYt(!1,"Invalid tree raw block"):YYt(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=VYt({},e);ZYt(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?VYt({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,VYt({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=ZYt(e),r=e.depth||0,o=VYt({},e,{children:[]});if(i){var a=n[0];if(null==a&&0===r)t.push(o);else if(null==a||a.depth<r-1){var s={key:HYt(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===r-1)a.children.push(o);else{for(;null!=a&&a.depth>=r;)n.shift(),a=n[0];r>0?a.children.push(o):t.push(o)}}else t.push(o)})),VYt({},e,{blocks:t})}},JYt=KYt,eZt=BWt,tZt={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is missing parent -> child pointer on %s",n),!1;var r=e.getChildKeys().map((function(e){return t.get(e)}));if(!r.every((function(e){return e.getParentKey()===n})))return"production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is missing child -> parent pointer on %s",n),!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return"production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var a=e.getNextSiblingKey();if(null!=a&&t.get(a).getPrevSiblingKey()!==n)return"production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Jh.env.NODE_ENV&&eZt(!0,"Leaf node %s has children",n),!1)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return"production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,i=t.shift().getKey(),r=[];null!=i;){var o=e.get(i),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&r.unshift(s);var l=a.map((function(t){return e.get(t)})),c=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==c)return"production"!==Jh.env.NODE_ENV&&eZt(!0,"%s has no first child",i),!1;i=c.getKey()}else i=null!=o.getNextSiblingKey()?o.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is not connected. %s nodes were seen instead of %s",n,e.size),!1)},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}},nZt=tZt,iZt=tRt,rZt=B$t.exports.List;var oZt=function(e,t){var n=e.map((function(e,n){var i=t[n];return iZt.create({style:e,entity:i})}));return rZt(n)},aZt=MWt.substr;var sZt=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=aZt(e,0,t.offset).length,r=i+aZt(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},lZt=MWt,cZt=B$t.exports.OrderedSet,uZt=lZt.substr,dZt=cZt();var pZt=function(e,t){var n=Array(e.length).fill(dZt);return t&&t.forEach((function(t){for(var i=uZt(e,0,t.offset).length,r=i+uZt(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function fZt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){hZt(e,t,n[t])}))}return e}function hZt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mZt=gRt,gZt=DRt,vZt=uMt,bZt=zzt,yZt=JYt,OZt=nZt,wZt=Lzt,_Zt=oZt,xZt=sZt,kZt=pZt,SZt=JRt,EZt=B$t.exports,CZt=URt,PZt=Nzt("draft_tree_data_support"),FZt=EZt.List,TZt=EZt.Map,DZt=EZt.OrderedMap,AZt=function(e,t){var n=e.key,i=e.type,r=e.data;return{text:e.text,depth:e.depth||0,type:i||"unstyled",key:n||SZt(),data:TZt(r),characterList:IZt(e,t)}},IZt=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return _Zt(kZt(n,r||[]),xZt(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return fZt({},e,{key:t[e.key]})}))))},$Zt=function(e){return fZt({},e,{key:e.key||SZt()})},RZt=function(e,t,n){var i=t.map((function(e){return fZt({},e,{parentRef:n})}));return e.concat(i.reverse())},jZt=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=PZt&&!n?yZt.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!PZt)return function(e,t){return DZt(e.map((function(e){var n=new mZt(AZt(e,t));return[n.getKey(),n]})))}(n?yZt.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map($Zt).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==Jh.env.NODE_ENV?CZt(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):CZt(!1));var o=i.children.map($Zt),a=new gZt(fZt({},AZt(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:FZt(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=RZt([],o,a);s.length>0;){var l=s.pop(),c=l.parentRef,u=c.getChildKeys(),d=u.indexOf(l.key),p=Array.isArray(l.children);if(!p){p||("production"!==Jh.env.NODE_ENV?CZt(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):CZt(!1));break}var f=l.children.map($Zt),h=new gZt(fZt({},AZt(l,t),{parent:c.getKey(),children:FZt(f.map((function(e){return e.key}))),prevSibling:0===d?null:u.get(d-1),nextSibling:d===u.size-1?null:u.get(d+1)}));n=n.set(h.getKey(),h),s=RZt(s,f,h)}return n}),DZt())}(i,t);return"production"!==Jh.env.NODE_ENV&&(OZt.isValidTree(r)||("production"!==Jh.env.NODE_ENV?CZt(!1,"Should be a valid tree"):CZt(!1))),r},zZt=function(e){Array.isArray(e.blocks)||("production"!==Jh.env.NODE_ENV?CZt(!1,"invalid RawDraftContentState"):CZt(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,o=i.mutability,a=i.data;n[e]=bZt.__create(r,o,a||{})})),n}(e),n=jZt(e,t),i=n.isEmpty()?new wZt:wZt.createEmpty(n.first().getKey());return new vZt({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},MZt=xGt;var LZt=function(e){var t=MZt(e),n=0,i=0,r=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,i=a.right,r=a.bottom,o=a.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,o=s.left}for(var l=1;l<t.length;l++){var c=t[l];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),i=Math.max(i,c.right),r=Math.max(r,c.bottom),o=Math.min(o,c.left))}}return{top:n,right:i,bottom:r,left:o,width:i-o,height:r-n}},NZt=LZt;var QZt=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=NZt(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},BZt={Editor:SYt,EditorBlock:JUt,EditorState:aLt,CompositeDecorator:RLt,Entity:zzt,EntityInstance:Czt,BlockMapBuilder:W$t,CharacterMetadata:tRt,ContentBlock:gRt,ContentState:uMt,RawDraftContentState:EYt,SelectionState:Lzt,AtomicBlockUtils:ALt,KeyBindingUtil:fGt,Modifier:uzt,RichUtils:eHt,DefaultDraftBlockRenderMap:NLt,DefaultDraftInlineStyle:QLt,convertFromHTML:IXt,convertFromRaw:zZt,convertToRaw:GYt,genKey:JRt,getDefaultKeyBinding:GHt,getVisibleSelectionRect:QZt};function UZt(e,t,n,i,r,o){var a=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+a}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+a}):e.offset>=t&&e.offset+e.length<=t+n&&r>0?Object.assign({},e,{offset:e.offset+r}):e.offset<t&&e.offset+e.length<=t+n&&e.offset+e.length>t&&r>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+r,length:e.offset-t+e.length})]:e.offset>=t&&e.offset+e.length>t+n&&t+n>e.offset&&o>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+o,length:e.offset+e.length-(t+n)})]:e}var qZt=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},WZt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"},GZt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function VZt(e){if(-1!==GZt.indexOf(e.type))return _.default.renderToStaticMarkup(e);var t=_.default.renderToStaticMarkup(g.default.cloneElement(e,{},"\r")).split("\r");return CTe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),CTe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function XZt(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}function HZt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==e)return e;if("string"==typeof e)return e;if(g.default.isValidElement(e)){if(XZt(e))return _.default.renderToStaticMarkup(e);var n=VZt(e);if(null!==t&&"object"===bm(n)){var i=n.start,r=n.end;return i+t+r}return n}if(CTe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var o=e.start,a=e.end;return o+t+a}return e}var YZt=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(g.default.isValidElement(t)){var i=VZt(t);if("string"==typeof i)return 0;var r=i[n].length,o=g.default.Children.toArray(t.props.children)[0];return r+(o&&g.default.isValidElement(o)?e(o,n):0)}return"object"===bm(t)&&t[n]?t[n].length:0},ZZt=function(){var e=arguments.length>1?arguments[1]:void 0;return e},KZt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ZZt,i=FBe(e.text),r=n;if(n.__isMiddleware&&(r=n(ZZt)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(qZt),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),c=r(s,l),u=FBe(HZt(c,l)||l),d=YZt(c,"start"),p=YZt(c,"end"),f=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?UZt(t,n.offset,n.length,u.length,d,p):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=f(o),a=f(a),i=[].concat(FBe(i.slice(0,n.offset)),FBe(u),FBe(i.slice(n.offset+n.length)))},l=0;l<o.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:a,entityRanges:o})}return e},JZt=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},eKt=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function tKt(e){switch(e){case"BOLD":return g.default.createElement("strong",null);case"ITALIC":return g.default.createElement("em",null);case"UNDERLINE":return g.default.createElement("u",null);case"CODE":return g.default.createElement("code",null);default:return{start:"",end:""}}}var nKt=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},iKt=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return CTe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},rKt=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},oKt=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},aKt=function(e,t){return t.offset+t.length-(e.offset+e.length)},sKt=function(e,t){for(var n=0;n<e.length;){if(!t.every(oKt.bind(null,e[n])))return e.slice(n);n++}return[]},lKt=function(e,t,n){return t+HZt(e(n.style)).start},cKt=function(e,t,n){return HZt(e(n.style)).end+t},uKt=function(e){return function(t){return e(t)}};uKt.__isMiddleware=!0;var dKt=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function pKt(e){return CTe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:g.default.isValidElement(e)?function(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}(e)?_.default.renderToStaticMarkup(e):VZt(e):Object.prototype.hasOwnProperty.call(e,"element")&&g.default.isValidElement(e.element)?Object.assign({},e,VZt(e.element)):(CTe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e)}function fKt(e,t){if(CTe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=VZt(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(g.default.isValidElement(e.nest)){var o=VZt(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return CTe(Object.prototype.hasOwnProperty.call(e,"nestStart")&&Object.prototype.hasOwnProperty.call(e,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e}var hKt=["1","a","i"],mKt={unstyled:g.default.createElement("p",null),paragraph:g.default.createElement("p",null),"header-one":g.default.createElement("h1",null),"header-two":g.default.createElement("h2",null),"header-three":g.default.createElement("h3",null),"header-four":g.default.createElement("h4",null),"header-five":g.default.createElement("h5",null),"header-six":g.default.createElement("h6",null),blockquote:g.default.createElement("blockquote",null),"unordered-list-item":{element:g.default.createElement("li",null),nest:g.default.createElement("ul",null)},"ordered-list-item":{element:g.default.createElement("li",null),nest:function(e){var t=hKt[e%3];return g.default.createElement("ol",{type:t})}},media:g.default.createElement("figure",null),atomic:g.default.createElement("figure",null)},gKt=function(e,t){return t},vKt=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,o=e.entityToHTML,a=void 0===o?gKt:o;return function(e){var t;CTe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(dKt(mKt)):eKt(dKt(r),dKt(mKt));var i=BZt.convertToRaw(e),o=[],s=i.blocks.map((function(e){var r=e.type,s=e.depth,l="",c="",u=t(e);if(!u)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(u.nest)for(;s+1!==o.length||r!==o[s].type;)if(s+1===o.length){var d=o[s];l+=fKt(t(d),s).nestEnd,c+=fKt(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var p=o[o.length-1];l+=fKt(t(p),s).nestEnd,o=o.slice(0,-1)}else c+=fKt(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+fKt(t(n),s).nestEnd}),""),o=[];var f,h=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:uKt;CTe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(tKt):eKt(JZt(n),JZt(tKt));for(var i="",r=[],o=e.inlineStyleRanges.sort(qZt),a=FBe(e.text),s=0;s<a.length;s++){var l=rKt(s,o),c=nKt(r,l),u=nKt(l,r),d=nKt(r,c),p=sKt(d,u),f=p.concat(u).sort(aKt),h=f.reduce(lKt.bind(null,t),"");i+=c.concat(p).reduce(cKt.bind(null,t),"")+h+a[s],r=(r=iKt(r,p.concat(c))).concat(f),CTe(r.length===l.length,"Character ".concat(s,": ").concat(r.length-l.length," styles left on stack that should no longer be there"))}return r.reduceRight((function(e,n){return e+HZt(t(n.style)).end}),i)}(KZt(function(e){for(var t=FBe(e.text),n=e.entityRanges.sort(qZt),i=e.inlineStyleRanges.sort(qZt),r="",o=function(e){var o=t[e];if(void 0!==WZt[o]){var a=WZt[o],s=FBe(r).length;r+=a;var l=function(e){return UZt(e,s,o.length,a.length,0,0)};n=n.map(l),i=i.map(l)}else r+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,a),n),m=pKt(t(e));return f="string"==typeof m?m:m.start+h+m.end,0===h.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(f=g.default.isValidElement(m.empty)?_.default.renderToStaticMarkup(m.empty):m.empty),l+c+f})).join("");return s=o.reduce((function(e,n){return e+fKt(t(n),n.depth).nestEnd}),s)}},bKt={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:X(e)}function r(e){return l(e)?e:H(e)}function o(e){return a(e)&&!c(e)?e:Y(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[f])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,b=v-1,y={},O={value:!1},w={value:!1};function _(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function E(e){return void 0===e.size&&(e.size=e.__iterate(P)),e.size}function C(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function P(){return!0}function F(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,$=1,R=2,j="function"==typeof Symbol&&Symbol.iterator,z="@@iterator",M=j||z;function L(e){this.next=e}function N(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function Q(){return{value:void 0,done:!0}}function B(e){return!!W(e)}function U(e){return e&&"function"==typeof e.next}function q(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(j&&e[j]||e[z]);if("function"==typeof t)return t}function G(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function X(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function H(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}L.prototype.toString=function(){return"[Iterator]"},L.KEYS=I,L.VALUES=$,L.ENTRIES=R,L.prototype.inspect=L.prototype.toSource=function(){return this.toString()},L.prototype[M]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(X,V),X.prototype.toKeyedSeq=function(){return this},t(H,V),H.of=function(){return H(arguments)},H.prototype.toIndexedSeq=function(){return this},H.prototype.toString=function(){return this.__toString("Seq [","]")},H.prototype.__iterate=function(e,t){return de(this,e,t,!1)},H.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(Y,V),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=X,V.Set=Y,V.Indexed=H;var Z,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():B(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ue(e){return G(e)?new te(e):U(e)?new re(e):B(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new L((function(){var e=r[n?o-a:a];return a++>o?Q():N(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,H(t).map((function(n,i){return he(e,n,i,t)}))):ge(t)?e.call(i,n,X(t).map((function(n,i){return he(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?H(e).map(me).toList():ge(e)?X(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function be(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,y)):!ve(e.get(i,y),t))return d=!1,!1}));return d&&e.size===p}function ye(e,t){if(!(this instanceof ye))return new ye(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function Oe(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(Oe(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function _e(){throw TypeError("Abstract")}function xe(){}function ke(){}function Se(){}V.prototype[ee]=!0,t(te,H),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new L((function(){return r>i?Q():N(e,r,n[t?i-r++:r++])}))},t(ne,X),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new L((function(){var a=i[t?r-o:o];return o++>r?Q():N(e,a,n[a])}))},ne.prototype[h]=!0,t(ie,H),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(U(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=q(this._iterable);if(!U(n))return new L(Q);var i=0;return new L((function(){var t=n.next();return t.done?t:N(e,i++,t.value)}))},t(re,H),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new L((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return N(e,r,i[r++])}))},t(ye,H),ye.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ye.prototype.get=function(e,t){return this.has(e)?this._value:t},ye.prototype.includes=function(e){return ve(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:new ye(this._value,D(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},ye.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ye.prototype.__iterator=function(e,t){var n=this,i=0;return new L((function(){return i<n.size?N(e,i++,n._value):Q()}))},ye.prototype.equals=function(e){return e instanceof ye?ve(this._value,e._value):be(e)},t(we,H),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return F(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new L((function(){var a=r;return r+=t?-i:i,o>n?Q():N(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:be(this,e)},t(_e,n),t(xe,_e),t(ke,_e),t(Se,_e),_e.Keyed=xe,_e.Indexed=ke,_e.Set=Se;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function Pe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ce(n)}if("string"===t)return e.length>Le?Fe(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Fe(e){var t=Be[e];return void 0===t&&(t=Te(e),Qe===Ne&&(Qe=0,Be={}),Qe++,Be[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ce(t)}function De(e){var t;if(je&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Me]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Me]))return t;if(void 0!==(t=$e(e)))return t}if(t=++ze,1073741824&ze&&(ze=0),je)Re.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Me,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Me]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Me]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function $e(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,je="function"==typeof WeakMap;je&&(Re=new WeakMap);var ze=0,Me="__immutablehash__";"function"==typeof Symbol&&(Me=Symbol(Me));var Le=16,Ne=255,Qe=0,Be={};function Ue(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():We(e)&&!u(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(qe,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,y)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,_n(e),t,n);return i===y?void 0:i},qe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},qe.prototype.merge=function(){return pt(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},qe.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},qe.prototype.mergeDeep=function(){return pt(this,ft,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},qe.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},qe.prototype.sort=function(e){return Bt(dn(this,e))},qe.prototype.sortBy=function(e,t){return Bt(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},qe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qe.isMap=We;var Ge,Ve="@@__IMMUTABLE_MAP__@@",Xe=qe.prototype;function He(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return N(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function it(e,t,n,i){var r=Object.create(Xe);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ge||(Ge=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=_(O),a=_(w);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===y?-1:1:0)}else{if(n===y)return e;r=1,i=new He(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===y?e:(x(s),x(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&b,s=(0===n?i:i>>>n)&b;return new Ye(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ct(e,t,n,i){e||(e=new k);for(var r=new Je(e,Pe(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ut(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==i&&(r|=l,a[o++]=u)}return new Ye(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return fe(e)}))),r.push(l)}return mt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,y,(function(e){return e===y?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function gt(e,t,n,i){var r=e===y,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.value,c=r?y:e.get(l,y),u=gt(c,t,n,i);return u===c?e:u===y?e.remove(l):(r?rt():e).set(l,u)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function bt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function yt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Xe[Ve]=!0,Xe[m]=Xe.remove,Xe.removeIn=Xe.deleteIn,He.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},He.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===y,l=this.entries,c=0,u=l.length;c<u&&!ve(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ct(e,l,i,r);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new He(e,f)}},Ye.prototype.get=function(e,t,n,i){void 0===t&&(t=Pe(n));var r=1<<((0===e?t:t>>>e)&b),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},Ye.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=(0===t?n:n>>>t)&b,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&r===y)return this;var d=vt(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=at(f,e,t+g,n,i,r,o,a);if(h===f)return this;if(!u&&h&&p.length>=_t)return dt(e,p,c,s,h);if(u&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,v=u?h?c:c^l:c|l,O=u?h?bt(p,d,h,m):Ot(p,d,m):yt(p,d,h,m);return m?(this.bitmap=v,this.nodes=O,this):new Ye(e,v,O)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Pe(n));var r=(0===e?t:t>>>e)&b,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=(0===t?n:n>>>t)&b,l=r===y,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,i,r,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<xt)return ut(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=bt(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new Ze(e,p,h)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=r===y;if(n!==this.keyHash)return s?this:(x(a),x(o),lt(this,e,t,n,[i,r]));for(var l=this.entries,c=0,u=l.length;c<u&&!ve(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(x(a),(s||!d)&&x(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new Ke(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,o,a){var s=r===y,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,Pe(i),[i,r])))},He.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Ye.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,L),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return Q()};var wt=v/4,_t=v/2,xt=v/4;function kt(e){var t=$t();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?It(0,i,g,null,new Pt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=C(this,e))>=0&&e<this.size){var n=Mt(this,e+=this._origin);return n&&n.array[e&b]}return t},kt.prototype.set=function(e,t){return Rt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):$t()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Lt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},kt.prototype.pop=function(){return Lt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Lt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Lt(this,1)},kt.prototype.merge=function(){return Nt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Nt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Nt(this,ft,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Nt(this,ht(t),n)},kt.prototype.setSize=function(e){return Lt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:Lt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new L((function(){var t=i();return t===Dt?Q():N(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Et="@@__IMMUTABLE_LIST__@@",Ct=kt.prototype;function Pt(e,t){this.array=e,this.ownerID=t}Ct[Et]=!0,Ct[m]=Ct.remove,Ct.setIn=Xe.setIn,Ct.deleteIn=Ct.removeIn=Xe.removeIn,Ct.update=Xe.update,Ct.updateIn=Xe.updateIn,Ct.mergeIn=Xe.mergeIn,Ct.mergeDeepIn=Xe.mergeDeepIn,Ct.withMutations=Xe.withMutations,Ct.asMutable=Xe.asMutable,Ct.asImmutable=Xe.asImmutable,Ct.wasAltered=Xe.wasAltered,Pt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&b;if(i>=this.array.length)return new Pt([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=zt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Pt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&b;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=zt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Qt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,c=i-a;return c>v&&(c=v),function(){if(l===c)return Dt;var e=t?--c:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,c=o>n?0:n-o>>r,u=1+(i-o>>r);return u>v&&(u=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===u)return Dt;var n=t?--u:c++;s=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){var s=Object.create(Ct);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function $t(){return Ft||(Ft=It(0,0,g))}function Rt(e,t,n){if((t=C(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Lt(e,t).set(0,n):Lt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=_(w);return t>=Qt(e._capacity)?i=jt(i,e.__ownerID,0,t,n,o):r=jt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function jt(e,t,n,i,r,o){var a,s=i>>>n&b,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var c=e&&e.array[s],u=jt(c,t,n-g,i,r,o);return u===c?e:((a=zt(e,t)).array[s]=u,a)}return l&&e.array[s]===r?e:(x(o),a=zt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function zt(e,t){return t&&e&&t===e.ownerID?e:new Pt(e?e.array.slice():[],t)}function Mt(e,t){if(t>=Qt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&b],i-=g;return n}}function Lt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new Pt(c&&c.array.length?[void 0,c]:[],i),u+=1<<(l+=g);u&&(a+=u,r+=u,s+=u,o+=u);for(var d=Qt(o),p=Qt(s);p>=1<<l+g;)c=new Pt(c&&c.array.length?[c]:[],i),l+=g;var f=e._tail,h=p<d?Mt(e,s-1):p>d?new Pt([],i):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=zt(c,i),v=l;v>g;v-=g){var y=d>>>v&b;m=m.array[y]=zt(m.array[y],i)}m.array[d>>>g&b]=f}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,c=null,h=h&&h.removeBefore(i,0,a);else if(a>r||p<d){for(u=0;c;){var O=a>>>l&b;if(O!==p>>>l&b)break;O&&(u+=(1<<l)*O),l-=g,c=c.array[O]}c&&a>r&&(c=c.removeBefore(i,l,a-u)),c&&p<d&&(c=c.removeAfter(i,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,c,h)}function Nt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],c=r(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return fe(e)}))),i.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Qt(e){return e<v?0:e-1>>>g<<g}function Bt(e){return null==e?Wt():Ut(e)?e:Wt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return We(e)&&u(e)}function qt(e,t,n,i){var r=Object.create(Bt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return Tt||(Tt=qt(rt(),$t()))}function Gt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===y){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Xt(e){this._iter=e,this.size=e.size}function Ht(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){var t=yn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=On,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var i=e.__iterator(t,n);return new L((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===$?I:$,n)},t}function Kt(e,t,n){var i=yn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,y);return o===y?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(R,r);return new L((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return N(i,s,t.call(n,a[1],s,e),r)}))},i}function Jt(e,t){var n=yn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=yn(e);return i&&(r.has=function(i){var r=e.get(i,y);return r!==y&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,y);return o!==y&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(R,o),s=0;return new L((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return N(r,i?c:s++,u,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(u(e)?Bt():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=bn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var c=yn(e);return c.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=C(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,i?n:c-1,r)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),a=0,l=0;return new L((function(){for(;a++<o;)r.next();if(++l>s)return Q();var e=r.next();return i||t===$?e:N(t,l-1,t===I?void 0:e.value[1],e)}))},c}function on(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(R,r),s=!0;return new L((function(){if(!s)return Q();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],c=r[1];return t.call(n,c,l,o)?i===R?e:N(i,l,c,e):(s=!1,Q())}))},i}function an(e,t,n,i){var r=yn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(R,o),l=!0,c=0;return new L((function(){var e,o,u;do{if((e=s.next()).done)return i||r===$?e:N(r,c++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return r===R?e:N(r,o,u,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(r);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,r){return(!t||c<t)&&a(e)?l(e,c+1):!1===i(e,n?r:o++,u)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new L((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(i===R&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:N(i,l++,c,e);s.push(o),o=c.__iterator(i,r)}else o=s.pop()}return Q()}))},i}function cn(e,t,n){var i=bn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function un(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator($,i),a=0;return new L((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?N(n,a++,t):N(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?X(o):l(e)?H(o):Y(o)}function pn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=yn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator($,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new L((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?Q():N(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ue(e.size),E(e)}function bn(e){return s(e)?i:l(e)?r:o}function yn(e){return Object.create((s(e)?X:l(e)?H:Y).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=q(e);if(!t){if(!G(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);Cn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(Bt,qe),Bt.of=function(){return this(arguments)},Bt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Bt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Bt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Wt()},Bt.prototype.set=function(e,t){return Gt(this,e,t)},Bt.prototype.remove=function(e){return Gt(this,e,y)},Bt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Bt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Bt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Bt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Bt.isOrderedMap=Ut,Bt.prototype[h]=!0,Bt.prototype[m]=Bt.prototype.remove,t(Vt,X),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=Kt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator($,t),i=t?vn(this):0;return new L((function(){var r=n.next();return r.done?r:N(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Xt,H),Xt.prototype.includes=function(e){return this._iter.includes(e)},Xt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Xt.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t),i=0;return new L((function(){var t=n.next();return t.done?t:N(e,i++,t.value,t)}))},t(Ht,Y),Ht.prototype.has=function(e){return this._iter.includes(e)},Ht.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t);return new L((function(){var t=n.next();return t.done?t:N(e,t.value,t.value,t)}))},t(Yt,X),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t);return new L((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return N(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Xt.prototype.cacheResult=Vt.prototype.cacheResult=Ht.prototype.cacheResult=Yt.prototype.cacheResult=On,t(xn,xe),xn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},xn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},xn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=xn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function En(e){return e._name||e.constructor.name||"Record"}function Cn(e,t){try{t.forEach(Pn.bind(void 0,e))}catch(e){}}function Pn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){Oe(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Fn(e){return null==e?jn():Tn(e)&&!u(e)?e:jn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Xe.removeIn,kn.merge=Xe.merge,kn.mergeWith=Xe.mergeWith,kn.mergeIn=Xe.mergeIn,kn.mergeDeep=Xe.mergeDeep,kn.mergeDeepWith=Xe.mergeDeepWith,kn.mergeDeepIn=Xe.mergeDeepIn,kn.setIn=Xe.setIn,kn.update=Xe.update,kn.updateIn=Xe.updateIn,kn.withMutations=Xe.withMutations,kn.asMutable=Xe.asMutable,kn.asImmutable=Xe.asImmutable,t(Fn,Se),Fn.of=function(){return this(arguments)},Fn.fromKeys=function(e){return this(i(e).keySeq())},Fn.prototype.toString=function(){return this.__toString("Set {","}")},Fn.prototype.has=function(e){return this._map.has(e)},Fn.prototype.add=function(e){return $n(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return $n(this,this._map.remove(e))},Fn.prototype.clear=function(){return $n(this,this._map.clear())},Fn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return zn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return zn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.prototype;function $n(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Rn(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Dn||(Dn=Rn(rt()))}function zn(e){return null==e?Bn():Mn(e)?e:Bn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Mn(e){return Tn(e)&&u(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Xe.withMutations,In.asMutable=Xe.asMutable,In.asImmutable=Xe.asImmutable,In.__empty=jn,In.__make=Rn,t(zn,Fn),zn.of=function(){return this(arguments)},zn.fromKeys=function(e){return this(i(e).keySeq())},zn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},zn.isOrderedSet=Mn;var Ln,Nn=zn.prototype;function Qn(e,t){var n=Object.create(Nn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Bn(){return Ln||(Ln=Qn(Wt()))}function Un(e){return null==e?Hn():qn(e)?e:Hn().unshiftAll(e)}function qn(e){return!(!e||!e[Gn])}Nn[h]=!0,Nn.__empty=Bn,Nn.__make=Qn,t(Un,ke),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=C(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Xn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Xn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Hn()},Un.prototype.slice=function(e,t){if(F(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Xn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Xn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new L((function(){if(i){var t=i.value;return i=i.next,N(e,n++,t)}return Q()}))},Un.isStack=qn;var Wn,Gn="@@__IMMUTABLE_STACK__@@",Vn=Un.prototype;function Xn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Hn(){return Wn||(Wn=Xn(0))}function Yn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Gn]=!0,Vn.withMutations=Xe.withMutations,Vn.asMutable=Xe.asMutable,Vn.asImmutable=Xe.asImmutable,Vn.wasAltered=Xe.wasAltered,n.Iterator=L,Yn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Xt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Bt(this.toKeyedSeq())},toOrderedSet:function(){return zn(s(this)?this.valueSeq():this)},toSet:function(){return Fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ht(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){Ue(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator($)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return be(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(P)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=_n(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,y):y)===y)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,y)!==y},hasIn:function(e){return this.getIn(e,y)!==y},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[M]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Yn(i,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Pe(e),Pe(t))|0}:function(e,t){i=i+li(Pe(e),Pe(t))|0}:t?function(e){i=31*i+Pe(e)|0}:function(e){i=i+Pe(e)|0});return si(r,i)}function si(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ce((t=Ee(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[M]=Zn.entries,Kn.__toJS=Zn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Yn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Jt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return mn(this,1===n?i:i.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=C(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=C(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),H.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),r.prototype[f]=!0,r.prototype[h]=!0,Yn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Zn.includes,Yn(X,i.prototype),Yn(H,r.prototype),Yn(Y,o.prototype),Yn(xe,i.prototype),Yn(ke,r.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:V,Collection:_e,Map:qe,OrderedMap:Bt,List:kt,Stack:Un,Set:Fn,OrderedSet:zn,Record:xn,Range:we,Repeat:ye,is:ve,fromJS:fe}}()}(bKt);var yKt=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function OKt(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=yKt(e)):t=yKt(e);return t.body}var wKt=" ",_Kt=new RegExp("\r","g"),xKt=new RegExp("\n","g"),kKt=new RegExp(" ","g"),SKt=new RegExp("\r","g"),EKt=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],CKt={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},PKt=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},FKt=function(e,t,n){},TKt=function(e,t,n){return n},DKt=function(e,t){},AKt=function(e){return[]},IKt=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function $Kt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:bKt.exports.Map();return!0===n?{text:"\r",inlines:[bKt.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[bKt.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function RKt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:bKt.exports.Map();return{text:"\r",inlines:[bKt.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function jKt(e,t){switch(e){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===t?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function zKt(e,t,n){return jKt(e,n)}function MKt(e,t,n){var i=CKt[e];if(i)n=n.add(i).toOrderedSet();else if(t instanceof HTMLElement){var r=t;n=n.withMutations((function(e){"bold"===r.style.fontWeight&&e.add("BOLD"),"italic"===r.style.fontStyle&&e.add("ITALIC"),"underline"===r.style.textDecoration&&e.add("UNDERLINE"),"line-through"===r.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function LKt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:bKt.exports.OrderedSet();return MKt(e,t,n)}function NKt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),o="\r"===r&&"\r"===i,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(o&&(a||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(t.text===wKt||"\n"===t.text)return e;i!==wKt&&"\n"!==i||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var l=0===e.text.length&&t.isNewline;return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks),isNewline:l}}function QKt(e,t,n,i,r,o,a,s,l,c,u,d,p,f,h,m){var g=e.nodeName.toLowerCase(),v=!1,b="unstyled";if("#text"===g){var y=e.textContent;if(""===y.trim()&&null===i)return{text:"",inlines:[],entities:[],blocks:[]};if(""===y.trim()&&"code-block"!==i)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:wKt,inlines:[bKt.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(y=y.replace(xKt,wKt));var O=Array(y.length).fill(m),w=0;return l(y,u,d,p,f).sort(qZt).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+w;null==r&&(r=y.substr(o,i));var a=y.split("");a.splice.bind(a,o,i).apply(a,r.split("")),y=a.join(""),O.splice.bind(O,o,i).apply(O,Array(r.length).fill(t)),w+=r.length-i})),{text:y,inlines:Array(y.length).fill(t),entities:O,blocks:[]}}if("br"===g){var _=i;return null===_?$Kt("unstyled",o,!0):$Kt(_||"unstyled",o,h.flat)}var x={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=MKt(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,i=null);var k,S,E=c(g,e,n,i);if(!1===E)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(E=E||{})?(k=E,S=bKt.exports.Map()):(k="string"==typeof E?E:E.type,S=E.data?bKt.exports.Map(E.data):bKt.exports.Map()),i||-1===r.indexOf(g)&&!k)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===k&&(i=k,v=!0,x=$Kt(k,o,!0,S));else{var C=jKt(g,n);x=RKt(C,o),i=C,v=!0,b="ul"===n?"unordered-list-item":"ordered-list-item"}else x=RKt(k||jKt(g,n),o,S),i=k||jKt(g,n),v=!0;var P=e.firstChild;null!=P||!m||"atomic"!==k&&"atomic"!==i||(P=document.createTextNode("a")),null!=P&&(g=P.nodeName.toLowerCase());for(var F=null;P;){F=s(g,P,u,d,p,f),x=NKt(x,QKt(P,t,n,i,r,o,a,s,l,c,u,d,p,f,h,F||m),h.flat);var T=P.nextSibling;if(T&&r.indexOf(g)>=0&&i){var D=c(g,P,n,i),A=void 0,I=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,I=bKt.exports.Map()):(A=D.type||jKt(g,n),I=D.data?bKt.exports.Map(D.data):bKt.exports.Map()),x=NKt(x,$Kt(A,o,h.flat,I),h.flat))}T&&(g=T.nodeName.toLowerCase()),P=T}return v&&(x=NKt(x,RKt(b,o,bKt.exports.Map()),h.flat)),x}function BKt(e,t,n,i,r,o,a,s,l,c,u){var d=u(e=e.trim().replace(_Kt,"").replace(kKt,wKt));if(!d)return null;var p=function(e){return EKt.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?EKt.concat(["div"]):["div"],f=QKt(d,bKt.exports.OrderedSet(),"ul",null,p,-1,t,n,i,r,o,a,s,l,c);return 0===f.text.indexOf("\r")&&(f={text:f.text.slice(1),inlines:f.inlines.slice(1),entities:f.entities.slice(1),blocks:f.blocks}),"\r"===f.text.slice(-1)&&(f.text=f.text.slice(0,-1),f.inlines=f.inlines.slice(0,-1),f.entities=f.entities.slice(0,-1),f.blocks.pop()),0===f.blocks.length&&f.blocks.push({type:"unstyled",data:bKt.exports.Map(),depth:0}),f.text.split("\r").length===f.blocks.length+1&&f.blocks.unshift({type:"unstyled",data:bKt.exports.Map(),depth:0}),f}function UKt(e,t,n,i,r,o,a,s,l,c,u,d){var p=BKt(e,t,n,i,r,o,a,s,l,c,u);if(null==p)return[];var f=0;return p.text.split("\r").map((function(e,t){e=e.replace(SKt,"");var n=f+e.length,i=IKt(p).inlines.slice(f,n),r=IKt(p).entities.slice(f,n),o=bKt.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),BZt.CharacterMetadata.create(n)})));return f=n+1,new BZt.ContentBlock({key:d(),type:IKt(p).blocks[t].type,data:IKt(p).blocks[t].data,depth:IKt(p).blocks[t].depth,text:e,characterList:o})}))}var qKt=function(e){var t=e.htmlToStyle,n=void 0===t?TKt:t,i=e.htmlToEntity,r=void 0===i?DKt:i,o=e.textToEntity,a=void 0===o?AKt:o,s=e.htmlToBlock,l=void 0===s?FKt:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:OKt,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:BZt.genKey,s=BZt.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():BZt.Entity.create.apply(BZt.Entity,arguments)},u=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):BZt.Entity.get.apply(BZt.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):BZt.Entity.mergeData.apply(BZt.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):BZt.Entity.replaceData.apply(BZt.Entity,arguments)},f=UKt(e,PKt(n,LKt),PKt(r,DKt),PKt(a,AKt),PKt(l,zKt),c,u,d,p,t,i,o),h=BZt.BlockMapBuilder.createFromArray(f),m=f[0].getKey();return s.merge({blockMap:h,selectionBefore:BZt.SelectionState.createEmpty(m),selectionAfter:BZt.SelectionState.createEmpty(m)})}},WKt=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?qKt({}).apply(void 0,arguments):qKt.apply(void 0,arguments)};u1('/**\n * Draft v0.11.6\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:rgba(255,255,255,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}');var GKt=32,VKt=31,XKt={};function HKt(e){e&&(e.value=!0)}function YKt(){}function ZKt(e){return void 0===e.size&&(e.size=e.__iterate(JKt)),e.size}function KKt(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?ZKt(e)+t:t}function JKt(){return!0}function eJt(e,t,n){return(0===e&&!rJt(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function tJt(e,t){return iJt(e,t,0)}function nJt(e,t){return iJt(e,t,t)}function iJt(e,t,n){return void 0===e?n:rJt(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function rJt(e){return e<0||0===e&&1/e==-1/0}var oJt="@@__IMMUTABLE_ITERABLE__@@";function aJt(e){return Boolean(e&&e[oJt])}var sJt="@@__IMMUTABLE_KEYED__@@";function lJt(e){return Boolean(e&&e[sJt])}var cJt="@@__IMMUTABLE_INDEXED__@@";function uJt(e){return Boolean(e&&e[cJt])}function dJt(e){return lJt(e)||uJt(e)}var pJt=function(e){return aJt(e)?e:$Jt(e)},fJt=function(e){function t(e){return lJt(e)?e:RJt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pJt),hJt=function(e){function t(e){return uJt(e)?e:jJt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pJt),mJt=function(e){function t(e){return aJt(e)&&!dJt(e)?e:zJt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pJt);pJt.Keyed=fJt,pJt.Indexed=hJt,pJt.Set=mJt;var gJt="@@__IMMUTABLE_SEQ__@@";function vJt(e){return Boolean(e&&e[gJt])}function bJt(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function yJt(e){return aJt(e)||bJt(e)}var OJt="@@__IMMUTABLE_ORDERED__@@";function wJt(e){return Boolean(e&&e[OJt])}var _Jt="function"==typeof Symbol&&Symbol.iterator,xJt="@@iterator",kJt=_Jt||xJt,SJt=function(e){this.next=e};function EJt(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function CJt(){return{value:void 0,done:!0}}function PJt(e){return!!DJt(e)}function FJt(e){return e&&"function"==typeof e.next}function TJt(e){var t=DJt(e);return t&&t.call(e)}function DJt(e){var t=e&&(_Jt&&e[_Jt]||e["@@iterator"]);if("function"==typeof t)return t}SJt.prototype.toString=function(){return"[Iterator]"},SJt.KEYS=0,SJt.VALUES=1,SJt.ENTRIES=2,SJt.prototype.inspect=SJt.prototype.toSource=function(){return this.toString()},SJt.prototype[kJt]=function(){return this};var AJt=Object.prototype.hasOwnProperty;function IJt(e){return!(!Array.isArray(e)&&"string"!=typeof e)||e&&"object"==typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var $Jt=function(e){function t(e){return null==e?BJt():yJt(e)?e.toSeq():function(e){var t=WJt(e);if(t)return t;if("object"==typeof e)return new LJt(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var i=n.length,r=0;r!==i;){var o=n[t?i-++r:r++];if(!1===e(o[1],o[0],this))break}return r}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var i=n.length,r=0;return new SJt((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return EJt(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(pJt),RJt=function(e){function t(e){return null==e?BJt().toKeyedSeq():aJt(e)?lJt(e)?e.toSeq():e.fromEntrySeq():bJt(e)?e.toSeq():UJt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}($Jt),jJt=function(e){function t(e){return null==e?BJt():aJt(e)?lJt(e)?e.entrySeq():e.toIndexedSeq():bJt(e)?e.toSeq().entrySeq():qJt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}($Jt),zJt=function(e){function t(e){return(aJt(e)&&!dJt(e)?e:jJt(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}($Jt);$Jt.isSeq=vJt,$Jt.Keyed=RJt,$Jt.Set=zJt,$Jt.Indexed=jJt,$Jt.prototype[gJt]=!0;var MJt=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[KKt(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var o=t?i-++r:r++;if(!1===e(n[o],o,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new SJt((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return EJt(e,o,n[o])}))},t}(jJt),LJt=function(e){function t(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return AJt.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,o=0;o!==r;){var a=i[t?r-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,o=0;return new SJt((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return EJt(e,a,n[a])}))},t}(RJt);LJt.prototype[OJt]=!0;var NJt,QJt=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=TJt(this._collection),i=0;if(FJt(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=TJt(this._collection);if(!FJt(n))return new SJt(CJt);var i=0;return new SJt((function(){var t=n.next();return t.done?t:EJt(e,i++,t.value)}))},t}(jJt);function BJt(){return NJt||(NJt=new MJt([]))}function UJt(e){var t=Array.isArray(e)?new MJt(e):PJt(e)?new QJt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new LJt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function qJt(e){var t=WJt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function WJt(e){return IJt(e)?new MJt(e):PJt(e)?new QJt(e):void 0}var GJt="@@__IMMUTABLE_MAP__@@";function VJt(e){return Boolean(e&&e[GJt])}function XJt(e){return VJt(e)&&wJt(e)}function HJt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function YJt(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(HJt(e)&&HJt(t)&&e.equals(t))}var ZJt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function KJt(e){return e>>>1&1073741824|3221225471&e}var JJt=Object.prototype.valueOf;function e0t(e){switch(typeof e){case"boolean":return e?1108378657:1108378656;case"number":return function(e){if(e!=e||e===1/0)return 0;var t=0|e;t!==e&&(t^=4294967295*e);for(;e>4294967295;)t^=e/=4294967295;return KJt(t)}(e);case"string":return e.length>l0t?function(e){var t=d0t[e];void 0===t&&(t=t0t(e),u0t===c0t&&(u0t=0,d0t={}),u0t++,d0t[e]=t);return t}(e):t0t(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?KJt(e.hashCode(e)):(e.valueOf!==JJt&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(o0t&&void 0!==(t=r0t.get(e)))return t;if(void 0!==(t=e[s0t]))return t;if(!i0t){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[s0t]))return t;if(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e),void 0!==t)return t}t=++a0t,1073741824&a0t&&(a0t=0);if(o0t)r0t.set(e,t);else{if(void 0!==n0t&&!1===n0t(e))throw new Error("Non-extensible objects are not allowed as keys.");if(i0t)Object.defineProperty(e,s0t,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[s0t]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[s0t]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return t0t(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function t0t(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return KJt(t)}var n0t=Object.isExtensible,i0t=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var r0t,o0t="function"==typeof WeakMap;o0t&&(r0t=new WeakMap);var a0t=0,s0t="__immutablehash__";"function"==typeof Symbol&&(s0t=Symbol(s0t));var l0t=16,c0t=255,u0t=0,d0t={},p0t=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=b0t(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=v0t(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,i){return e(t,i,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(RJt);p0t.prototype[OJt]=!0;var f0t=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,i=0;return t&&ZKt(this),this._iter.__iterate((function(r){return e(r,t?n.size-++i:i++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,i=this._iter.__iterator(1,t),r=0;return t&&ZKt(this),new SJt((function(){var o=i.next();return o.done?o:EJt(e,t?n.size-++r:r++,o.value,o)}))},t}(jJt),h0t=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new SJt((function(){var t=n.next();return t.done?t:EJt(e,t.value,t.value,t)}))},t}(zJt),m0t=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){F0t(t);var i=aJt(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new SJt((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){F0t(i);var r=aJt(i);return EJt(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(RJt);function g0t(e){var t=D0t(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=A0t,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var i=e.__iterator(t,n);return new SJt((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function v0t(e,t,n){var i=D0t(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,XKt);return o===XKt?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(2,r);return new SJt((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return EJt(i,s,t.call(n,a[1],s,e),r)}))},i}function b0t(e,t){var n=this,i=D0t(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=g0t(e);return t.reverse=function(){return e.flip()},t}),i.get=function(n,i){return e.get(t?n:-1-n,i)},i.has=function(n){return e.has(t?n:-1-n)},i.includes=function(t){return e.includes(t)},i.cacheResult=A0t,i.__iterate=function(n,i){var r=this,o=0;return i&&ZKt(e),e.__iterate((function(e,a){return n(e,t?a:i?r.size-++o:o++,r)}),!i)},i.__iterator=function(i,r){var o=0;r&&ZKt(e);var a=e.__iterator(2,!r);return new SJt((function(){var e=a.next();if(e.done)return e;var s=e.value;return EJt(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function y0t(e,t,n,i){var r=D0t(e);return i&&(r.has=function(i){var r=e.get(i,XKt);return r!==XKt&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,XKt);return o!==XKt&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(2,o),s=0;return new SJt((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return EJt(r,i?c:s++,u,o)}}))},r}function O0t(e,t,n,i){var r=e.size;if(eJt(t,n,r))return e;var o=tJt(t,r),a=nJt(n,r);if(o!=o||a!=a)return O0t(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var c=D0t(e);return c.size=0===s?s:e.size&&s||void 0,!i&&vJt(e)&&s>=0&&(c.get=function(t,n){return(t=KKt(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,i?n:c-1,r)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new SJt(CJt);var r=e.__iterator(t,n),a=0,l=0;return new SJt((function(){for(;a++<o;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:EJt(t,l-1,0===t?void 0:e.value[1],e)}))},c}function w0t(e,t,n,i){var r=D0t(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(2,o),l=!0,c=0;return new SJt((function(){var e,o,u;do{if((e=s.next()).done)return i||1===r?e:EJt(r,c++,0===r?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return 2===r?e:EJt(r,o,u,e)}))},r}function _0t(e,t){var n=lJt(e),i=[e].concat(t).map((function(e){return aJt(e)?n&&(e=fJt(e)):e=n?UJt(e):qJt(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var r=i[0];if(r===e||n&&lJt(r)||uJt(e)&&uJt(r))return r}var o=new MJt(i);return n?o=o.toKeyedSeq():uJt(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function x0t(e,t,n){var i=D0t(e);return i.__iterateUncached=function(r,o){if(o)return this.cacheResult().__iterate(r,o);var a=0,s=!1;return function e(l,c){l.__iterate((function(o,l){return(!t||c<t)&&aJt(o)?e(o,c+1):(a++,!1===r(o,n?l:a-1,i)&&(s=!0)),!s}),o)}(e,0),a},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(i,r),a=[],s=0;return new SJt((function(){for(;o;){var e=o.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(a.length<t)||!aJt(l))return n?e:EJt(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function k0t(e,t,n){t||(t=I0t);var i=lJt(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?RJt(o):uJt(e)?jJt(o):zJt(o)}function S0t(e,t,n){if(t||(t=I0t),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return E0t(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return E0t(t,e,n)?n:e}))}function E0t(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function C0t(e,t,n,i){var r=D0t(e),o=new MJt(n).map((function(e){return e.size}));return r.size=i?o.max():o.min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(1,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=n.map((function(e){return e=pJt(e),TJt(r?e.reverse():e)})),a=0,s=!1;return new SJt((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=i?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:EJt(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function P0t(e,t){return e===t?e:vJt(e)?t:e.constructor(t)}function F0t(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function T0t(e){return lJt(e)?fJt:uJt(e)?hJt:mJt}function D0t(e){return Object.create((lJt(e)?RJt:uJt(e)?jJt:zJt).prototype)}function A0t(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):$Jt.prototype.cacheResult.call(this)}function I0t(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e<t?-1:0}function $0t(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function R0t(e,t){if(!e)throw new Error(t)}function j0t(e){R0t(e!==1/0,"Cannot perform this action with an infinite size.")}function z0t(e){if(IJt(e)&&"string"!=typeof e)return e;if(wJt(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function M0t(e){return"object"==typeof e&&(yJt(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function L0t(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function N0t(e,t,n){return yJt(e)?e.get(t,n):function(e,t){return yJt(e)?e.has(t):M0t(e)&&AJt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function Q0t(e){if(Array.isArray(e))return $0t(e);var t={};for(var n in e)AJt.call(e,n)&&(t[n]=e[n]);return t}function B0t(e,t,n,i){i||(i=n,n=void 0);var r=U0t(yJt(e),e,z0t(t),0,n,i);return r===XKt?n:r}function U0t(e,t,n,i,r,o){var a=t===XKt;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!M0t(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(L0t)+"]: "+t);var c=n[i],u=a?XKt:N0t(t,c,XKt),d=U0t(u===XKt?e:yJt(u),u,n,i+1,r,o);return d===u?t:d===XKt?function(e,t){if(!M0t(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(yJt(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!AJt.call(e,t))return e;var n=Q0t(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!M0t(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(yJt(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(AJt.call(e,t)&&n===e[t])return e;var i=Q0t(e);return i[t]=n,i}(a?e?g1t():{}:t,c,d)}function q0t(e,t){return function(e,t,n){return B0t(e,t,XKt,(function(){return n}))}(this,e,t)}function W0t(e){return function(e,t){return B0t(e,t,(function(){return XKt}))}(this,e)}function G0t(e,t,n,i){return B0t(e,[t],n,i)}function V0t(e,t,n){return 1===arguments.length?e(this):G0t(this,e,t,n)}function X0t(e,t,n){return B0t(this,e,t,n)}function H0t(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=fJt(t[r]);0!==o.size&&i.push(o)}return 0===i.length?e:0!==e.toSeq().size||e.__ownerID||1!==i.length?e.withMutations((function(e){for(var t=n?function(t,i){G0t(e,i,XKt,(function(e){return e===XKt?t:n(e,t,i)}))}:function(t,n){e.set(n,t)},r=0;r<i.length;r++)i[r].forEach(t)})):e.constructor(i[0])}function Y0t(e,t,n){return Z0t(e,t,function(e){function t(n,i,r){return M0t(n)&&M0t(i)?Z0t(n,[i],t):e?e(n,i,r):i}return t}(n))}function Z0t(e,t,n){if(!M0t(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(yJt(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var i=Array.isArray(e),r=e,o=i?hJt:fJt,a=i?function(t){r===e&&(r=Q0t(r)),r.push(t)}:function(t,i){var o=AJt.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=Q0t(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function K0t(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return B0t(this,e,g1t(),(function(e){return Z0t(e,t)}))}function J0t(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return B0t(this,e,g1t(),(function(e){return Y0t(e,t)}))}function e1t(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function t1t(){return this.__ownerID?this:this.__ensureOwner(new YKt)}function n1t(){return this.__ensureOwner()}function i1t(){return this.__altered}f0t.prototype.cacheResult=p0t.prototype.cacheResult=h0t.prototype.cacheResult=m0t.prototype.cacheResult=A0t;var r1t=function(e){function t(t){return null==t?g1t():VJt(t)&&!wJt(t)?t:g1t().withMutations((function(n){var i=e(t);j0t(i.size),i.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return g1t().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return v1t(this,e,t)},t.prototype.remove=function(e){return v1t(this,e,XKt)},t.prototype.deleteAll=function(e){var t=pJt(e);return 0===t.size?this:this.withMutations((function(e){t.forEach((function(t){return e.remove(t)}))}))},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):g1t()},t.prototype.sort=function(e){return B1t(k0t(this,e))},t.prototype.sortBy=function(e,t){return B1t(k0t(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(i,r){n.set(r,e.call(t,i,r,n))}))}))},t.prototype.__iterator=function(e,t){return new p1t(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?m1t(this.size,this._root,e,this.__hash):0===this.size?g1t():(this.__ownerID=e,this.__altered=!1,this)},t}(fJt);r1t.isMap=VJt;var o1t=r1t.prototype;o1t[GJt]=!0,o1t.delete=o1t.remove,o1t.removeAll=o1t.deleteAll,o1t.setIn=q0t,o1t.removeIn=o1t.deleteIn=W0t,o1t.update=V0t,o1t.updateIn=X0t,o1t.merge=o1t.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return H0t(this,e)},o1t.mergeWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"!=typeof e)throw new TypeError("Invalid merger function: "+e);return H0t(this,t,e)},o1t.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Y0t(this,e)},o1t.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Y0t(this,t,e)},o1t.mergeIn=K0t,o1t.mergeDeepIn=J0t,o1t.withMutations=e1t,o1t.wasAltered=i1t,o1t.asImmutable=n1t,o1t["@@transducer/init"]=o1t.asMutable=t1t,o1t["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},o1t["@@transducer/result"]=function(e){return e.asImmutable()};var a1t=function(e,t){this.ownerID=e,this.entries=t};a1t.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(YJt(n,r[o][0]))return r[o][1];return i},a1t.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===XKt,l=this.entries,c=0,u=l.length;c<u&&!YJt(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(HKt(a),(s||!d)&&HKt(o),!s||1!==l.length){if(!d&&!s&&l.length>=x1t)return function(e,t,n,i){e||(e=new YKt);for(var r=new u1t(e,e0t(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}(e,l,i,r);var p=e&&e===this.ownerID,f=p?l:$0t(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new a1t(e,f)}};var s1t=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};s1t.prototype.get=function(e,t,n,i){void 0===t&&(t=e0t(n));var r=1<<((0===e?t:t>>>e)&VKt),o=this.bitmap;return 0==(o&r)?i:this.nodes[w1t(o&r-1)].get(e+5,t,n,i)},s1t.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=e0t(i));var s=(0===t?n:n>>>t)&VKt,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&r===XKt)return this;var d=w1t(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=b1t(f,e,t+5,n,i,r,o,a);if(h===f)return this;if(!u&&h&&p.length>=k1t)return function(e,t,n,i,r){for(var o=0,a=new Array(GKt),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new l1t(e,o+1,a)}(e,p,c,s,h);if(u&&!h&&2===p.length&&y1t(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&y1t(h))return h;var m=e&&e===this.ownerID,g=u?h?c:c^l:c|l,v=u?h?_1t(p,d,h,m):function(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}(p,d,m):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(p,d,h,m);return m?(this.bitmap=g,this.nodes=v,this):new s1t(e,g,v)};var l1t=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};l1t.prototype.get=function(e,t,n,i){void 0===t&&(t=e0t(n));var r=(0===e?t:t>>>e)&VKt,o=this.nodes[r];return o?o.get(e+5,t,n,i):i},l1t.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=e0t(i));var s=(0===t?n:n>>>t)&VKt,l=r===XKt,c=this.nodes,u=c[s];if(l&&!u)return this;var d=b1t(u,e,t+5,n,i,r,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<S1t)return function(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==i&&(r|=l,a[o++]=u)}return new s1t(e,r,a)}(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=_1t(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new l1t(e,p,h)};var c1t=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};c1t.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(YJt(n,r[o][0]))return r[o][1];return i},c1t.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=e0t(i));var s=r===XKt;if(n!==this.keyHash)return s?this:(HKt(a),HKt(o),O1t(this,e,t,n,[i,r]));for(var l=this.entries,c=0,u=l.length;c<u&&!YJt(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(HKt(a),(s||!d)&&HKt(o),s&&2===u)return new u1t(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:$0t(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new c1t(e,this.keyHash,f)};var u1t=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};u1t.prototype.get=function(e,t,n,i){return YJt(n,this.entry[0])?this.entry[1]:i},u1t.prototype.update=function(e,t,n,i,r,o,a){var s=r===XKt,l=YJt(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(HKt(a),s?void HKt(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new u1t(e,this.keyHash,[i,r]):(HKt(o),O1t(this,e,t,e0t(i),[i,r])))},a1t.prototype.iterate=c1t.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},s1t.prototype.iterate=l1t.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},u1t.prototype.iterate=function(e,t){return e(this.entry)};var d1t,p1t=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&h1t(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,i=t.index++,r=void 0;if(n.entry){if(0===i)return f1t(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return f1t(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return f1t(e,o.entry);t=this._stack=h1t(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(SJt);function f1t(e,t){return EJt(e,t[0],t[1])}function h1t(e,t){return{node:e,index:0,__prev:t}}function m1t(e,t,n,i){var r=Object.create(o1t);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function g1t(){return d1t||(d1t=m1t(0))}function v1t(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=b1t(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===XKt?-1:1:0)}else{if(n===XKt)return e;r=1,i=new a1t(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?m1t(r,i):g1t()}function b1t(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===XKt?e:(HKt(s),HKt(a),new u1t(t,i,[r,o]))}function y1t(e){return e.constructor===u1t||e.constructor===c1t}function O1t(e,t,n,i,r){if(e.keyHash===i)return new c1t(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&VKt,s=(0===n?i:i>>>n)&VKt,l=a===s?[O1t(e,t,n+5,i,r)]:(o=new u1t(t,i,r),a<s?[e,o]:[o,e]);return new s1t(t,1<<a|1<<s,l)}function w1t(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function _1t(e,t,n,i){var r=i?e:$0t(e);return r[t]=n,r}var x1t=8,k1t=16,S1t=8,E1t="@@__IMMUTABLE_LIST__@@";function C1t(e){return Boolean(e&&e[E1t])}var P1t=function(e){function t(t){var n=R1t();if(null==t)return n;if(C1t(t))return t;var i=e(t),r=i.size;return 0===r?n:(j0t(r),r>0&&r<GKt?$1t(0,r,5,null,new T1t(i.toArray())):n.withMutations((function(e){e.setSize(r),i.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=KKt(this,e))>=0&&e<this.size){var n=M1t(this,e+=this._origin);return n&&n.array[e&VKt]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=KKt(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?L1t(e,t).set(0,n):L1t(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=N1t(e._capacity)?i=j1t(i,e.__ownerID,0,t,n,o):r=j1t(r,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return $1t(e._origin,e._capacity,e._level,r,i)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):R1t()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){L1t(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return L1t(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){L1t(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return L1t(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],o=e("string"!=typeof r&&PJt(r)?r:[r]);0!==o.size&&n.push(o)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return L1t(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(i){for(var r=0;r<n.size;r++)i.set(r,e.call(t,i.get(r),r,i))}))},t.prototype.slice=function(e,t){var n=this.size;return eJt(e,t,n)?this:L1t(this,tJt(e,n),nJt(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=I1t(this,t);return new SJt((function(){var r=i();return r===A1t?{value:void 0,done:!0}:EJt(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=I1t(this,t);(n=r())!==A1t&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?$1t(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?R1t():(this.__ownerID=e,this.__altered=!1,this)},t}(hJt);P1t.isList=C1t;var F1t=P1t.prototype;F1t[E1t]=!0,F1t.delete=F1t.remove,F1t.merge=F1t.concat,F1t.setIn=q0t,F1t.deleteIn=F1t.removeIn=W0t,F1t.update=V0t,F1t.updateIn=X0t,F1t.mergeIn=K0t,F1t.mergeDeepIn=J0t,F1t.withMutations=e1t,F1t.wasAltered=i1t,F1t.asImmutable=n1t,F1t["@@transducer/init"]=F1t.asMutable=t1t,F1t["@@transducer/step"]=function(e,t){return e.push(t)},F1t["@@transducer/result"]=function(e){return e.asImmutable()};var T1t=function(e,t){this.array=e,this.ownerID=t};T1t.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&VKt;if(i>=this.array.length)return new T1t([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!r)return this;var s=z1t(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},T1t.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&VKt;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-5,n))===o&&r===this.array.length-1)return this}var a=z1t(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var D1t,A1t={};function I1t(e,t){var n=e._origin,i=e._capacity,r=N1t(i),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,c=i-a;c>GKt&&(c=GKt);return function(){if(l===c)return A1t;var e=t?--c:l++;return s&&s[e]}}(e,l):function(e,r,o){var s,l=e&&e.array,c=o>n?0:n-o>>r,u=1+(i-o>>r);u>GKt&&(u=GKt);return function(){for(;;){if(s){var e=s();if(e!==A1t)return e;s=null}if(c===u)return A1t;var n=t?--u:c++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function $1t(e,t,n,i,r,o,a){var s=Object.create(F1t);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function R1t(){return D1t||(D1t=$1t(0,0,5))}function j1t(e,t,n,i,r,o){var a,s=i>>>n&VKt,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var c=e&&e.array[s],u=j1t(c,t,n-5,i,r,o);return u===c?e:((a=z1t(e,t)).array[s]=u,a)}return l&&e.array[s]===r?e:(o&&HKt(o),a=z1t(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function z1t(e,t){return t&&e&&t===e.ownerID?e:new T1t(e?e.array.slice():[],t)}function M1t(e,t){if(t>=N1t(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&VKt],i-=5;return n}}function L1t(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new YKt,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new T1t(c&&c.array.length?[void 0,c]:[],i),u+=1<<(l+=5);u&&(a+=u,r+=u,s+=u,o+=u);for(var d=N1t(o),p=N1t(s);p>=1<<l+5;)c=new T1t(c&&c.array.length?[c]:[],i),l+=5;var f=e._tail,h=p<d?M1t(e,s-1):p>d?new T1t([],i):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=z1t(c,i),g=l;g>5;g-=5){var v=d>>>g&VKt;m=m.array[v]=z1t(m.array[v],i)}m.array[d>>>5&VKt]=f}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=5,c=null,h=h&&h.removeBefore(i,0,a);else if(a>r||p<d){for(u=0;c;){var b=a>>>l&VKt;if(b!==p>>>l&VKt)break;b&&(u+=(1<<l)*b),l-=5,c=c.array[b]}c&&a>r&&(c=c.removeBefore(i,l,a-u)),c&&p<d&&(c=c.removeAfter(i,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):$1t(a,s,l,c,h)}function N1t(e){return e<GKt?0:e-1>>>5<<5}var Q1t,B1t=function(e){function t(e){return null==e?q1t():XJt(e)?e:q1t().withMutations((function(t){var n=fJt(e);j0t(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):q1t()},t.prototype.set=function(e,t){return W1t(this,e,t)},t.prototype.remove=function(e){return W1t(this,e,XKt)},t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?U1t(t,n,e,this.__hash):0===this.size?q1t():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(r1t);function U1t(e,t,n,i){var r=Object.create(B1t.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function q1t(){return Q1t||(Q1t=U1t(g1t(),R1t()))}function W1t(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===XKt){if(!l)return e;a.size>=GKt&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):U1t(i,r)}B1t.isOrderedMap=XJt,B1t.prototype[OJt]=!0,B1t.prototype.delete=B1t.prototype.remove;var G1t="@@__IMMUTABLE_STACK__@@";function V1t(e){return Boolean(e&&e[G1t])}var X1t=function(e){function t(e){return null==e?K1t():V1t(e)?e:K1t().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=KKt(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,i=arguments.length-1;i>=0;i--)n={value:e[i],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Z1t(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&V1t(t))return t;j0t(t.size);var n=this.size,i=this._head;return t.__iterate((function(e){n++,i={value:e,next:i}}),!0),this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):Z1t(n,i)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):K1t()},t.prototype.slice=function(t,n){if(eJt(t,n,this.size))return this;var i=tJt(t,this.size);if(nJt(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,o=this._head;i--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Z1t(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Z1t(this.size,this._head,e,this.__hash):0===this.size?K1t():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new MJt(this.toArray()).__iterate((function(t,i){return e(t,i,n)}),t);for(var i=0,r=this._head;r&&!1!==e(r.value,i++,this);)r=r.next;return i},t.prototype.__iterator=function(e,t){if(t)return new MJt(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new SJt((function(){if(i){var t=i.value;return i=i.next,EJt(e,n++,t)}return{value:void 0,done:!0}}))},t}(hJt);X1t.isStack=V1t;var H1t,Y1t=X1t.prototype;function Z1t(e,t,n,i){var r=Object.create(Y1t);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function K1t(){return H1t||(H1t=Z1t(0))}Y1t[G1t]=!0,Y1t.shift=Y1t.pop,Y1t.unshift=Y1t.push,Y1t.unshiftAll=Y1t.pushAll,Y1t.withMutations=e1t,Y1t.wasAltered=i1t,Y1t.asImmutable=n1t,Y1t["@@transducer/init"]=Y1t.asMutable=t1t,Y1t["@@transducer/step"]=function(e,t){return e.unshift(t)},Y1t["@@transducer/result"]=function(e){return e.asImmutable()};var J1t="@@__IMMUTABLE_SET__@@";function e2t(e){return Boolean(e&&e[J1t])}function t2t(e){return e2t(e)&&wJt(e)}function n2t(e,t){if(e===t)return!0;if(!aJt(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||lJt(e)!==lJt(t)||uJt(e)!==uJt(t)||wJt(e)!==wJt(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!dJt(e);if(wJt(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&YJt(r[1],e)&&(n||YJt(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!YJt(t,e.get(i,XKt)):!YJt(e.get(i,XKt),t))return a=!1,!1}));return a&&e.size===s}function i2t(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function r2t(e){if(!e||"object"!=typeof e)return e;if(!aJt(e)){if(!M0t(e))return e;e=$Jt(e)}if(lJt(e)){var t={};return e.__iterate((function(e,n){t[n]=r2t(e)})),t}var n=[];return e.__iterate((function(e){n.push(r2t(e))})),n}var o2t=function(e){function t(t){return null==t?u2t():e2t(t)&&!wJt(t)?t:u2t().withMutations((function(n){var i=e(t);j0t(i.size),i.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(fJt(e).keySeq())},t.intersect=function(e){return(e=pJt(e).toArray()).length?s2t.intersect.apply(t(e.pop()),e):u2t()},t.union=function(e){return(e=pJt(e).toArray()).length?s2t.union.apply(t(e.pop()),e):u2t()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return l2t(this,this._map.set(e,e))},t.prototype.remove=function(e){return l2t(this,this._map.remove(e))},t.prototype.clear=function(){return l2t(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(i.push(o),r.push(a))})),this.withMutations((function(e){i.forEach((function(t){return e.remove(t)})),r.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var i=0;i<t.length;i++)e(t[i]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return E2t(k0t(this,e))},t.prototype.sortBy=function(e,t){return E2t(k0t(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){return this._map.__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?this.__empty():(this.__ownerID=e,this._map=t,this)},t}(mJt);o2t.isSet=e2t;var a2t,s2t=o2t.prototype;function l2t(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function c2t(e,t){var n=Object.create(s2t);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function u2t(){return a2t||(a2t=c2t(g1t()))}s2t[J1t]=!0,s2t.delete=s2t.remove,s2t.merge=s2t.concat=s2t.union,s2t.withMutations=e1t,s2t.asImmutable=n1t,s2t["@@transducer/init"]=s2t.asMutable=t1t,s2t["@@transducer/step"]=function(e,t){return e.add(t)},s2t["@@transducer/result"]=function(e){return e.asImmutable()},s2t.__empty=u2t,s2t.__make=c2t;var d2t,p2t=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(R0t(0!==i,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),i=void 0===i?1:Math.abs(i),n<e&&(i=-i),this._start=e,this._end=n,this._step=i,this.size=Math.max(0,Math.ceil((n-e)/i-1)+1),0===this.size){if(d2t)return d2t;d2t=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+KKt(this,e)*this._step:t},t.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},t.prototype.slice=function(e,n){return eJt(e,n,this.size)?this:(e=tJt(e,this.size),(n=nJt(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;o!==n&&!1!==e(r,t?n-++o:o++,this);)r+=t?-i:i;return o},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;return new SJt((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,EJt(e,t?n-++o:o++,a)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:n2t(this,e)},t}(jJt);function f2t(e,t,n){for(var i=z0t(t),r=0;r!==i.length;)if((e=N0t(e,i[r++],XKt))===XKt)return n;return e}function h2t(){j0t(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}pJt.isIterable=aJt,pJt.isKeyed=lJt,pJt.isIndexed=uJt,pJt.isAssociative=dJt,pJt.isOrdered=wJt,pJt.Iterator=SJt,i2t(pJt,{toArray:function(){j0t(this.size);var e=new Array(this.size||0),t=lJt(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new f0t(this)},toJS:function(){return r2t(this)},toKeyedSeq:function(){return new p0t(this,!0)},toMap:function(){return r1t(this.toKeyedSeq())},toObject:h2t,toOrderedMap:function(){return B1t(this.toKeyedSeq())},toOrderedSet:function(){return E2t(lJt(this)?this.valueSeq():this)},toSet:function(){return o2t(lJt(this)?this.valueSeq():this)},toSetSeq:function(){return new h0t(this)},toSeq:function(){return uJt(this)?this.toIndexedSeq():lJt(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return X1t(lJt(this)?this.valueSeq():this)},toList:function(){return P1t(lJt(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return P0t(this,_0t(this,e))},includes:function(e){return this.some((function(t){return YJt(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){j0t(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return P0t(this,y0t(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},forEach:function(e,t){return j0t(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){j0t(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return P0t(this,v0t(this,e,t))},reduce:function(e,t,n){return b2t(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return b2t(this,e,t,n,arguments.length<2,!0)},reverse:function(){return P0t(this,b0t(this,!0))},slice:function(e,t){return P0t(this,O0t(this,e,t,!0))},some:function(e,t){return!this.every(w2t(e),t)},sort:function(e){return P0t(this,k0t(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return ZKt(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=r1t().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return n2t(this,e)},entrySeq:function(){var e=this;if(e._cache)return new MJt(e._cache);var t=e.toSeq().map(O2t).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(w2t(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,o){if(e.call(t,n,r,o))return i=[r,n],!1})),i},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(JKt,null,e)},flatMap:function(e,t){return P0t(this,function(e,t,n){var i=T0t(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return P0t(this,x0t(this,e,!0))},fromEntrySeq:function(){return new m0t(this)},get:function(e,t){return this.find((function(t,n){return YJt(n,e)}),void 0,t)},getIn:function(e,t){return f2t(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=lJt(e),r=(wJt(e)?B1t():r1t()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=T0t(e);return r.map((function(t){return P0t(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,XKt)!==XKt},hasIn:function(e){return function(e,t){return f2t(e,t,XKt)!==XKt}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:pJt(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:pJt(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return YJt(t,e)}))},keySeq:function(){return this.toSeq().map(y2t).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return S0t(this,e)},maxBy:function(e,t){return S0t(this,t,e)},min:function(e){return S0t(this,e?_2t(e):k2t)},minBy:function(e,t){return S0t(this,t?_2t(t):k2t,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return P0t(this,w0t(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(w2t(e),t)},sortBy:function(e,t){return P0t(this,k0t(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,t){return P0t(this,function(e,t,n){var i=D0t(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(2,r),s=!0;return new SJt((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var r=e.value,l=r[0],c=r[1];return t.call(n,c,l,o)?2===i?e:EJt(i,l,c,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(w2t(e),t)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=wJt(e),n=lJt(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+S2t(e0t(e),e0t(t))|0}:function(e,t){i=i+S2t(e0t(e),e0t(t))|0}:t?function(e){i=31*i+e0t(e)|0}:function(e){i=i+e0t(e)|0});return function(e,t){return t=ZJt(t,3432918353),t=ZJt(t<<15|t>>>-15,461845907),t=ZJt(t<<13|t>>>-13,5),t=ZJt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=KJt((t=ZJt(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var m2t=pJt.prototype;m2t[oJt]=!0,m2t[kJt]=m2t.values,m2t.toJSON=m2t.toArray,m2t.__toStringMapper=L0t,m2t.inspect=m2t.toSource=function(){return this.toString()},m2t.chain=m2t.flatMap,m2t.contains=m2t.includes,i2t(fJt,{flip:function(){return P0t(this,g0t(this))},mapEntries:function(e,t){var n=this,i=0;return P0t(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return P0t(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var g2t=fJt.prototype;g2t[sJt]=!0,g2t[kJt]=m2t.entries,g2t.toJSON=h2t,g2t.__toStringMapper=function(e,t){return L0t(t)+": "+L0t(e)},i2t(hJt,{toKeyedSeq:function(){return new p0t(this,!1)},filter:function(e,t){return P0t(this,y0t(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return P0t(this,b0t(this,!1))},slice:function(e,t){return P0t(this,O0t(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=tJt(e,e<0?this.count():this.size);var i=this.slice(0,e);return P0t(this,1===n?i:i.concat($0t(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return P0t(this,x0t(this,e,!1))},get:function(e,t){return(e=KKt(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=KKt(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return P0t(this,function(e,t){var n=D0t(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(1,i),a=0;return new SJt((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?EJt(n,a++,t):EJt(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat($0t(arguments)),t=C0t(this.toSeq(),jJt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),P0t(this,n)},keySeq:function(){return p2t(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return P0t(this,w0t(this,e,t,!1))},zip:function(){var e=[this].concat($0t(arguments));return P0t(this,C0t(this,x2t,e))},zipAll:function(){var e=[this].concat($0t(arguments));return P0t(this,C0t(this,x2t,e,!0))},zipWith:function(e){var t=$0t(arguments);return t[0]=this,P0t(this,C0t(this,e,t))}});var v2t=hJt.prototype;function b2t(e,t,n,i,r,o){return j0t(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function y2t(e,t){return t}function O2t(e,t){return[t,e]}function w2t(e){return function(){return!e.apply(this,arguments)}}function _2t(e){return function(){return-e.apply(this,arguments)}}function x2t(){return $0t(arguments)}function k2t(e,t){return e<t?1:e>t?-1:0}function S2t(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}v2t[cJt]=!0,v2t[OJt]=!0,i2t(mJt,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),mJt.prototype.has=m2t.includes,mJt.prototype.contains=mJt.prototype.includes,i2t(RJt,fJt.prototype),i2t(jJt,hJt.prototype),i2t(zJt,mJt.prototype);var E2t=function(e){function t(e){return null==e?T2t():t2t(e)?e:T2t().withMutations((function(t){var n=mJt(e);j0t(n.size),n.forEach((function(e){return t.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(fJt(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(o2t);E2t.isOrderedSet=t2t;var C2t,P2t=E2t.prototype;function F2t(e,t){var n=Object.create(P2t);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function T2t(){return C2t||(C2t=F2t(q1t()))}P2t[OJt]=!0,P2t.zip=v2t.zip,P2t.zipWith=v2t.zipWith,P2t.__empty=T2t,P2t.__make=F2t;var D2t={exports:{}};
|
|
297
|
+
***************************************************************************** */function Ant(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}function Int(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))}function $nt(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function Rnt(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}function jnt(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var znt,Mnt=function(e){var t,i=e.children,o=Ant(e,["children"]),a=Efe();return n.jsxs(n.Fragment,{children:[n.jsx(Lnt,{}),n.jsx(r.Dialog,Dnt({},o,{modalProps:Dnt(Dnt({},o.modalProps||{}),{className:No(a,"lt-reach-dialog",{"lt-reach-dialog-mobile":Qo.isAnyMobileApp},null===(t=o.modalProps)||void 0===t?void 0:t.className)})},{children:i}))]})},Lnt=i.createGlobalStyle(znt||(znt=jnt(['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n max-height: calc(100vh - 32px);\n overflow-y: auto;\n }\n\n .dialog-content-host {\n min-height: 0;\n height: auto;\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n max-height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'],['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n max-height: calc(100vh - 32px);\n overflow-y: auto;\n }\n\n .dialog-content-host {\n min-height: 0;\n height: auto;\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n max-height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n']))),Nnt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Qnt=function(e){return e&&e.Math==Math&&e},Bnt=Qnt("object"==typeof globalThis&&globalThis)||Qnt("object"==typeof window&&window)||Qnt("object"==typeof self&&self)||Qnt("object"==typeof Nnt&&Nnt)||Function("return this")(),Unt={},qnt=function(e){try{return!!e()}catch(e){return!0}},Wnt=!qnt((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Gnt={},Vnt={}.propertyIsEnumerable,Xnt=Object.getOwnPropertyDescriptor,Hnt=Xnt&&!Vnt.call({1:2},1);Gnt.f=Hnt?function(e){var t=Xnt(this,e);return!!t&&t.enumerable}:Vnt;var Ynt=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Znt={}.toString,Knt=function(e){return Znt.call(e).slice(8,-1)},Jnt=Knt,eit="".split,tit=qnt((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==Jnt(e)?eit.call(e,""):Object(e)}:Object,nit=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},iit=tit,rit=nit,oit=function(e){return iit(rit(e))},ait=function(e){return"object"==typeof e?null!==e:"function"==typeof e},sit=ait,lit=function(e,t){if(!sit(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!sit(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!sit(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!sit(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},cit={}.hasOwnProperty,uit=function(e,t){return cit.call(e,t)},dit=ait,pit=Bnt.document,fit=dit(pit)&&dit(pit.createElement),hit=function(e){return fit?pit.createElement(e):{}},mit=hit,git=!Wnt&&!qnt((function(){return 7!=Object.defineProperty(mit("div"),"a",{get:function(){return 7}}).a})),vit=Wnt,bit=Gnt,yit=Ynt,Oit=oit,wit=lit,_it=uit,xit=git,kit=Object.getOwnPropertyDescriptor;Unt.f=vit?kit:function(e,t){if(e=Oit(e),t=wit(t,!0),xit)try{return kit(e,t)}catch(e){}if(_it(e,t))return yit(!bit.f.call(e,t),e[t])};var Sit={},Eit=ait,Cit=function(e){if(!Eit(e))throw TypeError(String(e)+" is not an object");return e},Pit=Wnt,Fit=git,Tit=Cit,Dit=lit,Ait=Object.defineProperty;Sit.f=Pit?Ait:function(e,t,n){if(Tit(e),t=Dit(t,!0),Tit(n),Fit)try{return Ait(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Iit=Sit,$it=Ynt,Rit=Wnt?function(e,t,n){return Iit.f(e,t,$it(1,n))}:function(e,t,n){return e[t]=n,e},jit={exports:{}},zit=Bnt,Mit=Rit,Lit=function(e,t){try{Mit(zit,e,t)}catch(n){zit[e]=t}return t},Nit=Lit,Qit="__core-js_shared__",Bit=Bnt[Qit]||Nit(Qit,{}),Uit=Bit,qit=Function.toString;"function"!=typeof Uit.inspectSource&&(Uit.inspectSource=function(e){return qit.call(e)});var Wit=Uit.inspectSource,Git=Wit,Vit=Bnt.WeakMap,Xit="function"==typeof Vit&&/native code/.test(Git(Vit)),Hit={exports:{}},Yit=Bit;(Hit.exports=function(e,t){return Yit[e]||(Yit[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var Zit,Kit,Jit,ert=0,trt=Math.random(),nrt=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++ert+trt).toString(36)},irt=Hit.exports,rrt=nrt,ort=irt("keys"),art=function(e){return ort[e]||(ort[e]=rrt(e))},srt={},lrt=Xit,crt=ait,urt=Rit,drt=uit,prt=art,frt=srt,hrt=Bnt.WeakMap;if(lrt){var mrt=new hrt,grt=mrt.get,vrt=mrt.has,brt=mrt.set;Zit=function(e,t){return brt.call(mrt,e,t),t},Kit=function(e){return grt.call(mrt,e)||{}},Jit=function(e){return vrt.call(mrt,e)}}else{var yrt=prt("state");frt[yrt]=!0,Zit=function(e,t){return urt(e,yrt,t),t},Kit=function(e){return drt(e,yrt)?e[yrt]:{}},Jit=function(e){return drt(e,yrt)}}var Ort={set:Zit,get:Kit,has:Jit,enforce:function(e){return Jit(e)?Kit(e):Zit(e,{})},getterFor:function(e){return function(t){var n;if(!crt(t)||(n=Kit(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},wrt=Bnt,_rt=Rit,xrt=uit,krt=Lit,Srt=Wit,Ert=Ort.get,Crt=Ort.enforce,Prt=String(String).split("String");(jit.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||xrt(n,"name")||_rt(n,"name",t),Crt(n).source=Prt.join("string"==typeof t?t:"")),e!==wrt?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:_rt(e,t,n)):o?e[t]=n:krt(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Ert(this).source||Srt(this)}));var Frt=Bnt,Trt=Bnt,Drt=function(e){return"function"==typeof e?e:void 0},Art=function(e,t){return arguments.length<2?Drt(Frt[e])||Drt(Trt[e]):Frt[e]&&Frt[e][t]||Trt[e]&&Trt[e][t]},Irt={},$rt=Math.ceil,Rrt=Math.floor,jrt=function(e){return isNaN(e=+e)?0:(e>0?Rrt:$rt)(e)},zrt=jrt,Mrt=Math.min,Lrt=function(e){return e>0?Mrt(zrt(e),9007199254740991):0},Nrt=jrt,Qrt=Math.max,Brt=Math.min,Urt=oit,qrt=Lrt,Wrt=function(e,t){var n=Nrt(e);return n<0?Qrt(n+t,0):Brt(n,t)},Grt=function(e){return function(t,n,i){var r,o=Urt(t),a=qrt(o.length),s=Wrt(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Vrt={includes:Grt(!0),indexOf:Grt(!1)},Xrt=uit,Hrt=oit,Yrt=Vrt.indexOf,Zrt=srt,Krt=function(e,t){var n,i=Hrt(e),r=0,o=[];for(n in i)!Xrt(Zrt,n)&&Xrt(i,n)&&o.push(n);for(;t.length>r;)Xrt(i,n=t[r++])&&(~Yrt(o,n)||o.push(n));return o},Jrt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],eot=Krt,tot=Jrt.concat("length","prototype");Irt.f=Object.getOwnPropertyNames||function(e){return eot(e,tot)};var not={};not.f=Object.getOwnPropertySymbols;var iot=Irt,rot=not,oot=Cit,aot=Art("Reflect","ownKeys")||function(e){var t=iot.f(oot(e)),n=rot.f;return n?t.concat(n(e)):t},sot=uit,lot=aot,cot=Unt,uot=Sit,dot=function(e,t){for(var n=lot(t),i=uot.f,r=cot.f,o=0;o<n.length;o++){var a=n[o];sot(e,a)||i(e,a,r(t,a))}},pot=qnt,fot=/#|\.prototype\./,hot=function(e,t){var n=got[mot(e)];return n==bot||n!=vot&&("function"==typeof t?pot(t):!!t)},mot=hot.normalize=function(e){return String(e).replace(fot,".").toLowerCase()},got=hot.data={},vot=hot.NATIVE="N",bot=hot.POLYFILL="P",yot=hot,Oot=Bnt,wot=Unt.f,_ot=Rit,xot=jit.exports,kot=Lit,Sot=dot,Eot=yot,Cot=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?Oot:c?Oot[s]||kot(s,{}):(Oot[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=wot(n,i))&&a.value:n[i],!Eot(l?i:s+(c?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;Sot(o,r)}(e.sham||r&&r.sham)&&_ot(o,"sham",!0),xot(n,i,o,e)}},Pot=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Fot=nit,Tot=function(e){return Object(Fot(e))},Dot=Pot,Aot=Tot,Iot=tit,$ot=Lrt,Rot=function(e){return function(t,n,i,r){Dot(n);var o=Aot(t),a=Iot(o),s=$ot(o.length),l=e?s-1:0,c=e?-1:1;if(i<2)for(;;){if(l in a){r=a[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in a&&(r=n(r,a[l],l,o));return r}},jot={left:Rot(!1),right:Rot(!0)},zot=qnt,Mot=function(e,t){var n=[][e];return!!n&&zot((function(){n.call(null,t||function(){throw 1},1)}))},Lot=Wnt,Not=qnt,Qot=uit,Bot=Object.defineProperty,Uot={},qot=function(e){throw e},Wot=Cot,Got=jot.left,Vot=function(e,t){if(Qot(Uot,e))return Uot[e];t||(t={});var n=[][e],i=!!Qot(t,"ACCESSORS")&&t.ACCESSORS,r=Qot(t,0)?t[0]:qot,o=Qot(t,1)?t[1]:void 0;return Uot[e]=!!n&&!Not((function(){if(i&&!Lot)return!0;var e={length:-1};i?Bot(e,1,{enumerable:!0,get:qot}):e[1]=1,n.call(e,r,o)}))},Xot=Mot("reduce"),Hot=Vot("reduce",{1:0});Wot({target:"Array",proto:!0,forced:!Xot||!Hot},{reduce:function(e){return Got(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var Yot=Krt,Zot=Jrt,Kot=Object.keys||function(e){return Yot(e,Zot)},Jot=Wnt,eat=qnt,tat=Kot,nat=not,iat=Gnt,rat=Tot,oat=tit,aat=Object.assign,sat=Object.defineProperty,lat=!aat||eat((function(){if(Jot&&1!==aat({b:1},aat(sat({},"a",{enumerable:!0,get:function(){sat(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=aat({},e)[n]||tat(aat({},t)).join("")!=i}))?function(e,t){for(var n=rat(e),i=arguments.length,r=1,o=nat.f,a=iat.f;i>r;)for(var s,l=oat(arguments[r++]),c=o?tat(l).concat(o(l)):tat(l),u=c.length,d=0;u>d;)s=c[d++],Jot&&!a.call(l,s)||(n[s]=l[s]);return n}:aat,cat=lat;Cot({target:"Object",stat:!0,forced:Object.assign!==cat},{assign:cat});var uat=qnt,dat=!!Object.getOwnPropertySymbols&&!uat((function(){return!String(Symbol())})),pat=dat&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,fat=Bnt,hat=Hit.exports,mat=uit,gat=nrt,vat=dat,bat=pat,yat=hat("wks"),Oat=fat.Symbol,wat=bat?Oat:Oat&&Oat.withoutSetter||gat,_at=function(e){return mat(yat,e)||(vat&&mat(Oat,e)?yat[e]=Oat[e]:yat[e]=wat("Symbol."+e)),yat[e]},xat=ait,kat=Knt,Sat=_at("match"),Eat=function(e){var t;return xat(e)&&(void 0!==(t=e[Sat])?!!t:"RegExp"==kat(e))},Cat=Eat,Pat=function(e){if(Cat(e))throw TypeError("The method doesn't accept regular expressions");return e},Fat=_at("match"),Tat=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Fat]=!1,"/./"[e](t)}catch(e){}}return!1},Dat=Pat,Aat=nit;function Iat(e,t){var n=e||[],i=t||[],r=n.map((function(e){return e.id})),o=i.filter((function(e){return!r.includes(e.id)}));return n.concat(o)}Cot({target:"String",proto:!0,forced:!Tat("includes")},{includes:function(e){return!!~String(Aat(this)).indexOf(Dat(e),arguments.length>1?arguments[1]:void 0)}});var $at,Rat=Sit,jat=Cit,zat=Kot,Mat=Wnt?Object.defineProperties:function(e,t){jat(e);for(var n,i=zat(t),r=i.length,o=0;r>o;)Rat.f(e,n=i[o++],t[n]);return e},Lat=Art("document","documentElement"),Nat=Cit,Qat=Mat,Bat=Jrt,Uat=srt,qat=Lat,Wat=hit,Gat=art("IE_PROTO"),Vat=function(){},Xat=function(e){return"<script>"+e+"</"+"script>"},Hat=function(){try{$at=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Hat=$at?function(e){e.write(Xat("")),e.close();var t=e.parentWindow.Object;return e=null,t}($at):((t=Wat("iframe")).style.display="none",qat.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Xat("document.F=Object")),e.close(),e.F);for(var n=Bat.length;n--;)delete Hat.prototype[Bat[n]];return Hat()};Uat[Gat]=!0;var Yat=Object.create||function(e,t){var n;return null!==e?(Vat.prototype=Nat(e),n=new Vat,Vat.prototype=null,n[Gat]=e):n=Hat(),void 0===t?n:Qat(n,t)},Zat=Yat,Kat=Sit,Jat=_at("unscopables"),est=Array.prototype;null==est[Jat]&&Kat.f(est,Jat,{configurable:!0,value:Zat(null)});var tst,nst,ist,rst=function(e){est[Jat][e]=!0},ost={},ast=!qnt((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),sst=uit,lst=Tot,cst=ast,ust=art("IE_PROTO"),dst=Object.prototype,pst=cst?Object.getPrototypeOf:function(e){return e=lst(e),sst(e,ust)?e[ust]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?dst:null},fst=pst,hst=Rit,mst=uit,gst=_at("iterator"),vst=!1;[].keys&&("next"in(ist=[].keys())?(nst=fst(fst(ist)))!==Object.prototype&&(tst=nst):vst=!0),null==tst&&(tst={}),mst(tst,gst)||hst(tst,gst,(function(){return this}));var bst={IteratorPrototype:tst,BUGGY_SAFARI_ITERATORS:vst},yst=Sit.f,Ost=uit,wst=_at("toStringTag"),_st=function(e,t,n){e&&!Ost(e=n?e:e.prototype,wst)&&yst(e,wst,{configurable:!0,value:t})},xst=bst.IteratorPrototype,kst=Yat,Sst=Ynt,Est=_st,Cst=ost,Pst=function(){return this},Fst=ait,Tst=Cit,Dst=function(e){if(!Fst(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},Ast=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return Tst(n),Dst(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),Ist=Cot,$st=function(e,t,n){var i=t+" Iterator";return e.prototype=kst(xst,{next:Sst(1,n)}),Est(e,i,!1),Cst[i]=Pst,e},Rst=pst,jst=Ast,zst=_st,Mst=Rit,Lst=jit.exports,Nst=ost,Qst=bst.IteratorPrototype,Bst=bst.BUGGY_SAFARI_ITERATORS,Ust=_at("iterator"),qst="keys",Wst="values",Gst="entries",Vst=function(){return this},Xst=oit,Hst=rst,Yst=ost,Zst=Ort,Kst=function(e,t,n,i,r,o,a){$st(n,t,i);var s,l,c,u=function(e){if(e===r&&m)return m;if(!Bst&&e in f)return f[e];switch(e){case qst:case Wst:case Gst:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,f=e.prototype,h=f[Ust]||f["@@iterator"]||r&&f[r],m=!Bst&&h||u(r),g="Array"==t&&f.entries||h;if(g&&(s=Rst(g.call(new e)),Qst!==Object.prototype&&s.next&&(Rst(s)!==Qst&&(jst?jst(s,Qst):"function"!=typeof s[Ust]&&Mst(s,Ust,Vst)),zst(s,d,!0))),r==Wst&&h&&h.name!==Wst&&(p=!0,m=function(){return h.call(this)}),f[Ust]!==m&&Mst(f,Ust,m),Nst[t]=m,r)if(l={values:u(Wst),keys:o?m:u(qst),entries:u(Gst)},a)for(c in l)(Bst||p||!(c in f))&&Lst(f,c,l[c]);else Ist({target:t,proto:!0,forced:Bst||p},l);return l},Jst="Array Iterator",elt=Zst.set,tlt=Zst.getterFor(Jst),nlt=Kst(Array,"Array",(function(e,t){elt(this,{type:Jst,target:Xst(e),index:0,kind:t})}),(function(){var e=tlt(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");Yst.Arguments=Yst.Array,Hst("keys"),Hst("values"),Hst("entries");var ilt=Bnt,rlt={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},olt=nlt,alt=Rit,slt=_at,llt=slt("iterator"),clt=slt("toStringTag"),ult=olt.values;for(var dlt in rlt){var plt=ilt[dlt],flt=plt&&plt.prototype;if(flt){if(flt[llt]!==ult)try{alt(flt,llt,ult)}catch(e){flt[llt]=ult}if(flt[clt]||alt(flt,clt,dlt),rlt[dlt])for(var hlt in olt)if(flt[hlt]!==olt[hlt])try{alt(flt,hlt,olt[hlt])}catch(e){flt[hlt]=olt[hlt]}}}var mlt,glt,vlt,blt,ylt,Olt,wlt,_lt,xlt,klt,Slt,Elt,Clt,Plt,Flt,Tlt,Dlt,Alt,Ilt,$lt=function(e){var t=RD().formatMessage,i=Efe();return n.jsx(r.TooltipHost,Dnt({},e,{className:No(i,"lt-reach-tooltip"),role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||t({id:e.resourceKey},e.values||{}):null,calloutProps:Dnt(Dnt({},e.calloutProps),{calloutWidth:e.width,hidden:e.hidden}),dir:"auto"},{children:e.children}))},Rlt=function(e){var t,n;return i.css(ylt||(ylt=jnt(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?i.css(mlt||(mlt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):i.css(glt||(glt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Yde),(null==e?void 0:e.color)?i.css(vlt||(vlt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):i.css(blt||(blt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),null!==(t=null==e?void 0:e.blockPadding)&&void 0!==t?t:3,null!==(n=null==e?void 0:e.inlinePadding)&&void 0!==n?n:Dse,Ase)},jlt=function(e){var t=e.tooltipResourceKey,i=e.className,r=Ant(e,["tooltipResourceKey","className"]);return n.jsx($lt,Dnt({resourceKey:t,className:i},{children:n.jsx(zlt,Dnt({},r,{"data-highlight-bubble":!0}))}))},zlt=v.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(Olt||(Olt=jnt(["\n ",";\n\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n flex: 1 1 auto;\n }\n"],["\n ",";\n\n &:empty {\n display: none;\n }\n\n min-height: 30px;\n padding: ","px ","px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n\n cursor: ",";\n\n > * {\n flex: 1 1 auto;\n }\n"])),Rlt(),6,15,Hse,(function(e){return e.readOnly?"inherit":"pointer"})),Mlt=v.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(wlt||(wlt=jnt(["\n &:empty {\n display: none;\n }\n\n padding: 10px 0;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"],["\n &:empty {\n display: none;\n }\n\n padding: 10px 0;\n\n cursor: ",";\n\n > * {\n opacity: ",";\n flex: 1 1 auto;\n }\n"])),(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4})),Llt=function(e){var t=e.showDialog,i=e.onClose,o=e.onClosed,a=e.handleSave,s=e.titleResource,l=e.disableSave,c=e.saveButtonResourceId,u=e.children,d=e.className,p=RD().formatMessage;return n.jsxs(Mnt,Dnt({hidden:!t,modalProps:{isBlocking:!0,onDismissed:o},dialogContentProps:{type:r.DialogType.normal,title:p({id:s})},onDismiss:i},{children:[n.jsx(Nlt,Dnt({className:d},{children:u})),n.jsxs(r.DialogFooter,{children:[n.jsx(r.DefaultButton,Dnt({onClick:i,"data-button":"cancel"},{children:n.jsx(tA,{id:"Generic.Cancel"})})),n.jsx(r.PrimaryButton,Dnt({disabled:l,onClick:a,"data-button":"save"},{children:n.jsx(tA,{id:c||"Generic.Save"})}))]})]}))},Nlt=v.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(_lt||(_lt=jnt(["\n min-height: 45px;\n\n > *:not(:last-child) {\n margin-bottom: ","px;\n }\n"],["\n min-height: 45px;\n\n > *:not(:last-child) {\n margin-bottom: ","px;\n }\n"])),Ase),Qlt=v.default(Llt).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(xlt||(xlt=jnt(["\n width: 400px;\n"],["\n width: 400px;\n"]))),Blt=v.default(r.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(klt||(klt=jnt(["\n && {\n &:not([disabled]) {\n color: ",";\n i {\n color: inherit;\n }\n }\n }\n"],["\n && {\n &:not([disabled]) {\n color: ",";\n i {\n color: inherit;\n }\n }\n }\n"])),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default})),Ult=function(e){var t=e.checked,i=e.readOnly,r=e.onChange,o=e.className,a=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,c=e.ariaLabelResourceKey,u=RD().formatMessage,d=t?s||a||"CheckboxComposite":a||"Checkbox";return n.jsx(qlt,Dnt({className:o},{children:i?n.jsx(Glt,{}):n.jsx($lt,Dnt({resourceKey:l},{children:n.jsx(Wlt,{iconProps:{iconName:d},onClick:function(){return r(!t)},ariaLabel:c?u({id:c}):null})}))}))},qlt=v.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(Slt||(Slt=jnt(["\n margin-block: 0;\n margin-inline: 6px 21px;\n\n @media (min-width: 700px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"],["\n margin-block: 0;\n margin-inline: 6px 21px;\n\n @media (min-width: 700px) {\n margin-block: 0;\n margin-inline: 18px 10px;\n }\n"]))),Wlt=v.default(Blt).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(Elt||(Elt=jnt(["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n font-size: ","px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n font-size: inherit;\n margin: 0;\n }\n\n @media (min-width: 700px) {\n font-size: ","px;\n }\n }\n"])),Vse,20),Glt=v.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(Clt||(Clt=jnt(["\n width: 22px;\n"],["\n width: 22px;\n"]))),Vlt=i.css(Plt||(Plt=jnt(["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"],["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),Xlt=v.default.a.withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(Flt||(Flt=jnt(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),Vlt),Hlt=v.default(o.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(Tlt||(Tlt=jnt(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),Vlt),Ylt=i.css(Dlt||(Dlt=jnt(["\n height: auto;\n box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);\n\n span {\n line-height: ","px !important;\n }\n\n .ms-MessageBar-text {\n color: #fff !important;\n margin: 15px 8px;\n\n @media (max-width: 479px) {\n margin-bottom: 8px;\n }\n }\n\n .ms-MessageBar-icon {\n color: #fff !important;\n }\n\n &.ms-MessageBar--error {\n background-color: #c24844 !important;\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !important;\n }\n }\n"],["\n height: auto;\n box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);\n\n span {\n line-height: ","px !important;\n }\n\n .ms-MessageBar-text {\n color: #fff !important;\n margin: 15px 8px;\n\n @media (max-width: 479px) {\n margin-bottom: 8px;\n }\n }\n\n .ms-MessageBar-icon {\n color: #fff !important;\n }\n\n &.ms-MessageBar--error {\n background-color: #c24844 !important;\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !important;\n }\n }\n"])),20),Zlt=function(){var e=fpe().hideNotification,i=t.useContext(ppe),r=i.isNotificationBarVisible,o=Ant(i,["isNotificationBarVisible"]),a=RD().formatMessage,s=o.messageId||o.text;return r?n.jsx(Klt,Dnt({className:"notification-wrapper","data-notification-bar":!0},{children:n.jsx(Jlt,Dnt({messageBarType:o.messageBarType,className:o.className,actions:o.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:a({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&n.jsx($lt,Dnt({text:o.text,resourceKey:o.messageId,values:o.messageValues},{children:o.text||n.jsx(tA,{id:o.messageId,values:o.messageValues||{}})}))}))})):null},Klt=v.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(Alt||(Alt=jnt(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),Jlt=v.default(r.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(Ilt||(Ilt=jnt(["\n ","\n\n .ms-MessageBar-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n &:not(.notification-bar--undo) {\n .ms-MessageBar-text {\n font-size: ","px;\n }\n\n .ms-MessageBar-icon {\n font-size: ","px;\n }\n\n .ms-MessageBar-dismissal {\n i {\n font-size: ","px;\n }\n }\n }\n\n &.ms-messageBar--info {\n background-color: white !important;\n\n .ms-MessageBar-icon,\n .ms-MessageBar-text,\n .ms-MessageBar-dismissal i {\n font-size: ","px;\n color: black !important;\n }\n }\n\n &.ms-MessageBar--success {\n background-color: #498526 !important;\n }\n\n &.ms-MessageBar--warning {\n background-color: #b95e06 !important;\n }\n\n &.notification-bar--undo {\n position: relative;\n\n .ms-MessageBar-icon {\n display: none !important;\n }\n\n .ms-MessageBar-text {\n font-size: ","px !important;\n font-weight: 500 !important;\n\n @media (max-width: 700px) {\n font-size: ","px !important;\n }\n }\n\n .ms-MessageBar-actionsOneline {\n padding-right: ","px;\n\n > div {\n width: 100%;\n display: flex;\n }\n }\n\n .ms-MessageBar-dismissOneline {\n position: absolute;\n right: 12px;\n top: calc(50% - 8px);\n z-index: 1;\n width: 35px;\n\n i {\n font-size: ","px;\n font-weight: bold;\n }\n }\n }\n"],["\n ","\n\n .ms-MessageBar-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n &:not(.notification-bar--undo) {\n .ms-MessageBar-text {\n font-size: ","px;\n }\n\n .ms-MessageBar-icon {\n font-size: ","px;\n }\n\n .ms-MessageBar-dismissal {\n i {\n font-size: ","px;\n }\n }\n }\n\n &.ms-messageBar--info {\n background-color: white !important;\n\n .ms-MessageBar-icon,\n .ms-MessageBar-text,\n .ms-MessageBar-dismissal i {\n font-size: ","px;\n color: black !important;\n }\n }\n\n &.ms-MessageBar--success {\n background-color: #498526 !important;\n }\n\n &.ms-MessageBar--warning {\n background-color: #b95e06 !important;\n }\n\n &.notification-bar--undo {\n position: relative;\n\n .ms-MessageBar-icon {\n display: none !important;\n }\n\n .ms-MessageBar-text {\n font-size: ","px !important;\n font-weight: 500 !important;\n\n @media (max-width: 700px) {\n font-size: ","px !important;\n }\n }\n\n .ms-MessageBar-actionsOneline {\n padding-right: ","px;\n\n > div {\n width: 100%;\n display: flex;\n }\n }\n\n .ms-MessageBar-dismissOneline {\n position: absolute;\n right: 12px;\n top: calc(50% - 8px);\n z-index: 1;\n width: 35px;\n\n i {\n font-size: ","px;\n font-weight: bold;\n }\n }\n }\n"])),Ylt,Xse,Vse,Vse,Xse,Vse,Hse,Ise,20),ect=function(e){var i,o=RD().formatMessage,a=dre(),s=ure(),l=noe(),c=l.searchAccounts,u=l.getUserAvatarUrl,d=t.useRef(),p=Sj();t.useEffect((function(){e.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,e.autoFocus]);var f=(null===(i=s.subscription.directories)||void 0===i?void 0:i.length)>1,h=!e.selectionMode||e.selectionMode===r.SelectionMode.multiple,m=e.selectedItems||[],g=f,v={defaultSelectedItems:(e.defaultSelectedItems||[]).map((function(e){return b(e)})),resolveDelay:500,onResolveSuggestions:function(e){return y(e,g)},onGetMoreResults:function(e){return y(e,!1)},getTextFromItem:function(e){return e.text},onChange:function(t){return function(t){var n=t.map((function(e){return{id:(t=e).id,tokenUniqueId:t.tokenUniqueId,tenantId:t.tenantId,displayName:t.text,userPrincipalName:t.accountType!==Gie.Group?t.userPrincipalName:null,mail:jre(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));e.onChange&&e.onChange(n)}(t)},pickerSuggestionsProps:{noResultsFoundText:o({id:"Generic.noResultsFound"}),searchForMoreText:g&&!e.localOnly?o({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:o({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:e.disabled,pickerCalloutProps:{calloutMaxWidth:p.width<Bse?300:0,className:"lt-reach-picker-callout"},inputProps:{id:e.inputId,required:e.required,"aria-required":e.required,"aria-label":e.inputAriaLabelResourceKey?o({id:e.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:o({id:"AriaLabel.removeUserButton"})};return e.onEmptyInputFocus&&(v.onEmptyResolveSuggestions=function(){return function(e){if(function(e){return void 0!==e.length}(e))return O(e).map(b);return e.then((function(e){return O(e).map(b)}))}(e.onEmptyInputFocus())}),e.placeholderStringResourceKey&&0===m.length&&(v.inputProps.placeholder=o({id:e.placeholderStringResourceKey})),e.selectedItems&&(v.selectedItems=m.map((function(e){return b(e)}))),n.jsx(nct,Dnt({className:No(e.className,"people-picker")},{children:n.jsx(r.NormalPeoplePicker,Dnt({},v,{componentRef:d,itemLimit:h?void 0:1}))}));function b(e){var t=jre(e.mail)?null:e.mail,n=jre(e.userPrincipalName)?null:e.userPrincipalName,i=IE(e.displayName||e.mail||e.userPrincipalName),r=e.type===Gie.User?n:e.type===Gie.Group?t:null,o={id:e.id,tokenUniqueId:e.tokenUniqueId,tenantId:e.tenantId,userPrincipalName:e.userPrincipalName,text:e.displayName||e.mail,secondaryText:(r||"")+(t&&t!==r?" (".concat(t,")"):""),tertiaryText:t,imageInitials:i,initialsColor:$E(i),key:r,accountType:e.type,authenticationType:e.authenticationType};return a.avatars&&u(e.userPrincipalName).subscribe((function(e){return o.imageUrl=e})),o}function y(t,n){return Int(this,void 0,void 0,(function(){var i,r,o;return $nt(this,(function(a){switch(a.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&OE(t)&&{mail:t,userPrincipalName:t,displayName:t,type:Gie.User},a.label=1;case 1:return a.trys.push([1,3,,4]),[4,c({search:t,type:e.accountType,includePendingInvitationUsers:e.includePendingInvitationUsers,includePendingRegistrationUsers:e.includePendingRegistrationUsers,localOnly:e.localOnly||n,excludeApiUsers:e.excludeApiUsers})];case 2:return r=a.sent(),i&&r.every((function(e){return!function(e,t){return(e.userPrincipalName||"").toLowerCase()===t.userPrincipalName.toLowerCase()||(e.mail||"").toLowerCase()===t.mail.toLowerCase()}(e,i)}))&&r.push(i),e.additionalSearch&&(o=e.additionalSearch(t))&&(r=r.concat(o)),[2,O(r).map(b)];case 3:return a.sent(),[2,i&&[i].map(b)];case 4:return[2]}}))}))}function O(t){if(!e.selectedItems&&!e.defaultSelectedItems&&!e.excludedItems)return t;var n=(e.excludedItems||[]).concat(e.selectedItems||e.defaultSelectedItems||[]);return t.filter((function(e){return n.every((function(t){return!function(e,t){if(e.id&&t.id)return e.id===t.id;if(e.tokenUniqueId&&t.tokenUniqueId)return e.tokenUniqueId===t.tokenUniqueId;return e.userPrincipalName===t.userPrincipalName}(t,e)}))}))}};var tct,nct=v.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(tct||(tct=jnt(["\n .ms-BasePicker-text {\n padding: 3px 6px;\n }\n\n input.ms-BasePicker-input {\n font-size: 14px;\n }\n"],["\n .ms-BasePicker-text {\n padding: 3px 6px;\n }\n\n input.ms-BasePicker-input {\n font-size: 14px;\n }\n"]))),ict=Cot,rct=Unt.f,oct=Lrt,act=Pat,sct=nit,lct=Tat,cct="".startsWith,uct=Math.min,dct=lct("startsWith"),pct=!dct&&!!function(){var e=rct(String.prototype,"startsWith");return e&&!e.writable}();ict({target:"String",proto:!0,forced:!pct&&!dct},{startsWith:function(e){var t=String(sct(this));act(e);var n=oct(uct(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return cct?cct.call(t,i,n):t.slice(n,n+i.length)===i}});var fct=Cit,hct=function(){var e=fct(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},mct=jit.exports,gct=Cit,vct=qnt,bct=hct,yct="toString",Oct=RegExp.prototype,wct=Oct.toString,_ct=vct((function(){return"/a/b"!=wct.call({source:"a",flags:"b"})})),xct=wct.name!=yct;(_ct||xct)&&mct(RegExp.prototype,yct,(function(){var e=gct(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in Oct)?bct.call(e):n)}),{unsafe:!0});var kct,Sct=function(e){var t=e.fileName,i=e.url;return n.jsx(Ect,Dnt({href:i,target:"_blank",download:t,onMouseDown:function(e){return e.preventDefault()}},{children:n.jsx("span",{children:t})}))},Ect=v.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(kct||(kct=jnt(["\n margin-bottom: ","px;\n &&& {\n width: 100%;\n display: block;\n color: ",";\n line-height: 1.5em;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n margin-bottom: ","px;\n }\n"],["\n margin-bottom: ","px;\n &&& {\n width: 100%;\n display: block;\n color: ",";\n line-height: 1.5em;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n margin-bottom: ","px;\n }\n"])),3,(function(e){return e.theme.palette.accent}),Dse),Cct=function(e){var t=e.fileName,i=e.url,r=e.onPlay;return i?n.jsxs(Act,Dnt({className:"lt-reach-embedded-audio"},{children:[n.jsx(Sct,{fileName:t,url:i}),n.jsxs("audio",Dnt({onPlay:function(){return null==r?void 0:r(i)},controls:!0,title:t,controlsList:"nodownload"},{children:[n.jsx("source",{src:i,type:"audio/mpeg"}),n.jsx(tA,{id:"Generic.audioReplayError",tagName:"p"})]}))]})):null};function Pct(e){var t=LK.getType(e);return t&&t.toString().startsWith("audio/")}var Fct,Tct,Dct,Act=v.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(Fct||(Fct=jnt(["\n width: 100%;\n"],["\n width: 100%;\n"])));v.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(Tct||(Tct=jnt(["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"],["\n margin-top: ","px;\n &:first-child {\n margin-top: ","px;\n\n > h2 {\n margin-top: 0;\n }\n }\n"])),Ise,Dse),v.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(Dct||(Dct=jnt(["\n margin: ","px 0 ","px 0;\n font-weight: normal;\n font-size: ","px;\n color: ",";\n"],["\n margin: ","px 0 ","px 0;\n font-weight: normal;\n font-size: ","px;\n color: ",";\n"])),Ise,Ise,20,(function(e){return e.theme.textColors.default}));var Ict,$ct,Rct,jct,zct,Mct,Lct=function(e){var t=e.children,i=e.deleteButton,r=e.domIdentifier,o=e.backgroundColor,a=e.className;return n.jsxs(Bct,Dnt({className:a},{children:[i&&n.jsx(Qct,{children:i}),n.jsx(Nct,Dnt({"data-attachment":r,backgroundColor:o},{children:t}))]}))},Nct=v.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(Ict||(Ict=jnt(["\n width: auto;\n border-radius: ","px;\n overflow: hidden;\n /* fix for iOS and Safari: overflow: hidden with border-radius */\n transform: translateZ(0);\n\n ","\n"],["\n width: auto;\n border-radius: ","px;\n overflow: hidden;\n /* fix for iOS and Safari: overflow: hidden with border-radius */\n transform: translateZ(0);\n\n ","\n"])),10,(function(e){return e.backgroundColor?"background-color: ".concat(e.backgroundColor,";"):"background-color: ".concat(e.theme.palette.white,";")})),Qct=v.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})($ct||($ct=jnt(["\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n background-color: ",";\n border-top-right-radius: ","px;\n border-bottom-left-radius: ","px;\n"],["\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n background-color: ",";\n border-top-right-radius: ","px;\n border-bottom-left-radius: ","px;\n"])),(function(e){return e.theme.palette.white}),9,10),Bct=v.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(Rct||(Rct=jnt(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),Ase),Uct=v.default(r.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(jct||(jct=jnt(["\n &&:not([disabled]) {\n color: ",";\n\n i {\n color: ",";\n }\n }\n"],["\n &&:not([disabled]) {\n color: ",";\n\n i {\n color: ",";\n }\n }\n"])),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default}),(function(e){var t;return null!==(t=e.color)&&void 0!==t?t:e.theme.textColors.default}));v.default.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(zct||(zct=jnt(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),v.default(Uct).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(Mct||(Mct=jnt(["\n && {\n font-weight: bold;\n display: flex;\n flex-direction: row;\n justify-content: center;\n color: ",";\n }\n"],["\n && {\n font-weight: bold;\n display: flex;\n flex-direction: row;\n justify-content: center;\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}));var qct,Wct,Gct,Vct,Xct=function(e){var t=e.children,i=Ant(e,["children"]),o=Efe();return n.jsx(r.FocusTrapCallout,Dnt({},i,{className:No(o,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:Dnt({isClickableOutsideFocusTrap:!0},i.focusTrapProps)},{children:t}))},Hct=function(e){var i=RD().formatMessage,o=t.useState(!1),a=o[0],s=o[1],l=t.useContext(ipe).theme.palette.accent;return n.jsxs(Mnt,Dnt({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!e.hideCloseButton,type:e.hideCloseButton?r.DialogType.normal:r.DialogType.close,title:i({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[n.jsx(Yct,{children:n.jsx(tA,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues})}),n.jsx(Zct,{"data-verify-item-input":!0,onChange:function(t,n){var i=n===e.compareValue;i!==a&&s(i)},ariaLabel:i({id:e.inputAriaLabelResourceKey})}),e.children,n.jsxs(r.DialogFooter,{children:[n.jsx(r.DefaultButton,Dnt({onClick:e.onCancel,disabled:e.disabled},{children:n.jsx(tA,{id:"Generic.Cancel"})})),n.jsx(Kct,Dnt({onClick:e.onConfirm,"data-delete-button":!0,disabled:!a||e.disabled},{children:n.jsx(tA,{id:"Generic.Delete"})}))]})]}))},Yct=v.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(qct||(qct=jnt(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),Zct=v.default(r.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(Wct||(Wct=jnt(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Ase),Kct=v.default(r.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(Gct||(Gct=jnt(["\n &&:not([disabled]) {\n background-color: ",";\n border-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n }\n"],["\n &&:not([disabled]) {\n background-color: ",";\n border-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n }\n"])),(function(e){return e.theme.palette.red}),(function(e){return e.theme.palette.red}),(function(e){return e.theme.palette.white}),(function(e){return e.theme.palette.redDark}),(function(e){return e.theme.palette.redDark}),(function(e){return e.theme.palette.white})),Jct=function(e){var i=e.showDialog,o=e.titleResourceKey,a=e.titleResourceValues,s=e.infoResourceKey,l=e.infoResourceValues,c=e.onConfirm,u=e.onClose,d=e.width,p=e.children,f=RD().formatMessage,h=t.useContext(ipe).theme.palette.accent;return n.jsxs(Mnt,Dnt({hidden:!i,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:r.DialogType.normal,subText:s?f({id:s},l):"",title:f({id:o},a),titleProps:{style:{color:h}}},onDismiss:u},{children:[p,n.jsxs(r.DialogFooter,{children:[n.jsx(r.DefaultButton,Dnt({onClick:u,"data-cancel-button":!0},{children:n.jsx(tA,{id:"Generic.Cancel"})})),n.jsx(r.PrimaryButton,Dnt({"data-ok-button":!0,onClick:function(){null==c||c(),null==u||u()}},{children:n.jsx(tA,{id:"Generic.Ok"})}))]})]}))},eut=function(e){var i=e.onConfirm,o=e.onCancel,a=RD().formatMessage,s=t.useContext(ipe).theme.palette.accent;return n.jsx(Mnt,Dnt({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:r.DialogType.close,title:a({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:o},{children:n.jsxs(tut,{children:[n.jsx(tA,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"}),n.jsxs(r.DialogFooter,{children:[n.jsx(r.PrimaryButton,Dnt({onClick:i},{children:n.jsx(tA,{id:"Events.editor.recurrence.reset"})})),n.jsx(r.DefaultButton,Dnt({onClick:o},{children:n.jsx(tA,{id:"Generic.Cancel"})}))]})]})}))},tut=v.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(Vct||(Vct=jnt(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),nut=function(e){var i=e.value,r=t.useContext(hA).language,o=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=Dnt(Dnt({},aut),n||{}),r=(+e-+t)/1e3;if(Math.abs(r)<i.second)return{value:Math.round(r),unit:"second"};var o=r/60;if(Math.abs(o)<i.minute)return{value:Math.round(o),unit:"minute"};var a=r/iut;if(Math.abs(a)<i.hour)return{value:Math.round(a),unit:"hour"};var s=r/rut;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/out;if(Math.round(Math.abs(l))>0&&Math.abs(l)<i.week)return{value:Math.round(l),unit:"week"};var c=new Date(e),u=new Date(t),d=c.getFullYear()-u.getFullYear(),p=12*d+c.getMonth()-u.getMonth();if(Math.round(Math.abs(p))>0&&Math.abs(p)<i.month)return{value:Math.round(p),unit:"month"};return{value:Math.round(d),unit:"year"}}(i),a=o.value,s=o.unit;return n.jsx(qD,Dnt({locale:r},{children:n.jsx(KD,{value:a,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0})}))},iut=3600,rut=86400,out=604800;var aut={second:45,minute:45,hour:22,day:6,week:4,month:12};var sut,lut,cut,uut,dut,put,fut,hut,mut,gut=function(e){var i,r,o=(i=e.value,r=e.dateOnly,t.useMemo((function(){var e=zE(i),t=Wv(e,{year:"numeric",month:"long",day:"numeric",weekday:"long",hour:r?void 0:"numeric",minute:r?void 0:"numeric"},{locale:Lie()}),n={dateTime:e.toISOString(),title:t};return{date:e,timeProps:n}}),[r,i])),a=o.date,s=o.timeProps,l=!e.showAsAbsolute&&(e.showAsRelative||ME(e.value))&&!e.dateOnly;return!e.showWeekDay&&l?n.jsx(but,Dnt({className:No(e.className)},s,{dir:"auto"},{children:n.jsx(nut,{value:a})})):n.jsxs(but,Dnt({className:No(e.className)},s,{dir:"auto"},{children:[n.jsx(nA,{weekday:e.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:a}),!e.dateOnly&&n.jsxs(n.Fragment,{children:[" ",n.jsx(iA,{value:a})]})]}))},vut=function(e){var t=e.startDate,i=e.endDate,r=e.dateOnly,o=e.className;if(!t)return null;if(!i)return n.jsx("div",Dnt({className:o,dir:"auto"},{children:n.jsx(gut,{value:t,showWeekDay:!0,dateOnly:r})}));var a=new Date(t),s=new Date(i);return Zm(a,s)?n.jsxs("div",Dnt({className:o,dir:"auto"},{children:[n.jsx(gut,{value:t,showWeekDay:!0,dateOnly:r}),!r&&n.jsxs(n.Fragment,{children:[" - ",n.jsx(iA,{value:s})]})]})):n.jsxs("div",Dnt({className:o,dir:"auto"},{children:[n.jsx(gut,{value:t,showWeekDay:!0,dateOnly:r})," - ",n.jsx(gut,{value:i,showWeekDay:!0,dateOnly:r})]}))},but=v.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(sut||(sut=jnt(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"]))),yut=v.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(lut||(lut=jnt(["\n margin: 1em 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n\n ::before {\n content: '';\n position: absolute;\n left: 0;\n display: block;\n width: 100%;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n }\n\n span {\n padding: 0.5em;\n text-transform: uppercase;\n z-index: 1;\n color: ",";\n background-color: #fff;\n\n @media all and (max-width: 767px) {\n background-color: ",";\n }\n }\n"],["\n margin: 1em 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n\n ::before {\n content: '';\n position: absolute;\n left: 0;\n display: block;\n width: 100%;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n }\n\n span {\n padding: 0.5em;\n text-transform: uppercase;\n z-index: 1;\n color: ",";\n background-color: #fff;\n\n @media all and (max-width: 767px) {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.palette.neutralTertiary}),Yde),Out=function(e){var t,i=e.children,o=Ant(e,["children"]);return n.jsx(r.Dropdown,Dnt({},o,{calloutProps:Dnt(Dnt({},o.calloutProps||{}),{className:No(u9,"lt-reach-dropdown",null===(t=o.calloutProps)||void 0===t?void 0:t.className)})},{children:i}))},wut=function(e){var t=e.svg,i=e.icon,o=e.styleDefinition,a=e.emptyMessageResources,s=void 0===a?["EmptySearchResult.info1","EmptySearchResult.info2"]:a,l=e.additionalButton,c=e.className,u=(null==o?void 0:o.size)||"large";return n.jsx(_ut,Dnt({className:c,offset:null==o?void 0:o.offset,"data-nothing-found":!0},{children:n.jsxs(xut,Dnt({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===u},{children:[i&&n.jsx(r.Icon,{iconName:i}),!i&&t,s.map((function(e,t){return n.jsx("p",{children:n.jsx(tA,{id:e})},t)})),l]}))}))},_ut=v.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(dut||(dut=jnt(["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"],["\n min-width: 300px;\n max-width: 100%;\n\n ","\n"])),(function(e){return e.offset?i.css(cut||(cut=jnt(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):i.css(uut||(uut=jnt(["\n margin: auto; /* ensure it's vertically centered in a flex container */\n "],["\n margin: auto; /* ensure it's vertically centered in a flex container */\n "])))})),xut=v.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(hut||(hut=jnt(["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n word-break: normal;\n margin: ","px 0;\n\n > p {\n font-size: ","px;\n margin: 0;\n min-width: 100%;\n width: ","px;\n }\n\n ","\n\n ","\n\n svg {\n color: ",";\n height: auto;\n max-width: 400px; /* it ensures svg is not too big */\n }\n\n > p + p {\n margin-top: ","px;\n }\n\n @media (max-width: ","px) {\n svg {\n transform: scale(0.8);\n }\n p {\n font-size: ","px;\n }\n }\n\n && button {\n height: ","px;\n align-items: center;\n margin-top: ","px;\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n\n span {\n font-weight: normal;\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n word-break: normal;\n margin: ","px 0;\n\n > p {\n font-size: ","px;\n margin: 0;\n min-width: 100%;\n width: ","px;\n }\n\n ","\n\n ","\n\n svg {\n color: ",";\n height: auto;\n max-width: 400px; /* it ensures svg is not too big */\n }\n\n > p + p {\n margin-top: ","px;\n }\n\n @media (max-width: ","px) {\n svg {\n transform: scale(0.8);\n }\n p {\n font-size: ","px;\n }\n }\n\n && button {\n height: ","px;\n align-items: center;\n margin-top: ","px;\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n\n span {\n font-weight: normal;\n }\n }\n"])),Ase,Hse,Dse,(function(e){return!e.hasLargeSvgStyle&&i.css(put||(put=jnt(["\n > p {\n font-size: ","px;\n color: ",";\n }\n\n svg {\n margin-bottom: ","px;\n }\n "],["\n > p {\n font-size: ","px;\n color: ",";\n }\n\n svg {\n margin-bottom: ","px;\n }\n "])),Vse,e.theme.palette.neutralSecondary,Ise)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&i.css(fut||(fut=jnt(["\n > p {\n font-size: ","px;\n font-weight: 500;\n margin: ","px 0 0;\n color: ",";\n opacity: 80%;\n }\n\n > i {\n font-size: 100px;\n padding-bottom: ","px;\n padding-top: ","px;\n\n @media (min-height: ","px) {\n padding-top: 150px;\n }\n }\n "],["\n > p {\n font-size: ","px;\n font-weight: 500;\n margin: ","px 0 0;\n color: ",";\n opacity: 80%;\n }\n\n > i {\n font-size: 100px;\n padding-bottom: ","px;\n padding-top: ","px;\n\n @media (min-height: ","px) {\n padding-top: 150px;\n }\n }\n "])),32,Ase,(function(e){return e.theme.palette.accent}),Ise,Ise,zse)}),(function(e){return e.theme.palette.accent}),3,Use,24,Ise,Ise),kut=function(e,t){return null!=e&&(e&t)===t};v.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(mut||(mut=jnt(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var Sut=Cot,Eut=Pot,Cut=Tot,Put=qnt,Fut=Mot,Tut=[],Dut=Tut.sort,Aut=Put((function(){Tut.sort(void 0)})),Iut=Put((function(){Tut.sort(null)})),$ut=Fut("sort");Sut({target:"Array",proto:!0,forced:Aut||!Iut||!$ut},{sort:function(e){return void 0===e?Dut.call(Cut(this)):Dut.call(Cut(this),Eut(e))}});var Rut=function(e){var t=e.languages,i=e.translations,r=e.onChange,o=e.placeholderStringResource,a=e.customPlaceholder,s=RD(),l=s.formatMessage;return n.jsx(n.Fragment,{children:Eoe.apply(void 0,Rnt([s],t,!1)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(e){return n.jsx(Qut,{children:n.jsx(But,{"data-translation-field":e.code,placeholder:null!=a?a:l({id:o},{lang:e.localizedName}),label:e.localizedName,value:i[e.code],onChange:function(t,n){var o;r(Dnt(Dnt({},i),((o={})[e.code]=n,o)))},dir:"auto"})},e.code)}))})};v.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(jut||(jut=jnt(["\n display: flex;\n flex-flow: column;\n flex: 1 1 100%;\n"],["\n display: flex;\n flex-flow: column;\n flex: 1 1 100%;\n"])));var jut,zut,Mut,Lut,Nut,Qut=v.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(zut||(zut=jnt(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),But=v.default(r.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(Mut||(Mut=jnt(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));v.default.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(Lut||(Lut=jnt(["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"],["\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: bold;\n padding-top: 10px;\n"]))),v.default.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(Nut||(Nut=jnt(["\n display: flex;\n"],["\n display: flex;\n"])));var Uut,qut=function(e){var i=t.useState(null==e.delay),o=i[0],a=i[1];return t.useEffect((function(){if(null!=!e.delay){var t=setTimeout((function(){return a(!0)}),e.delay);return function(){return clearTimeout(t)}}}),[e.delay]),o?n.jsx(Wut,Dnt({className:e.className},{children:n.jsx(r.Spinner,Dnt({},e,{className:""}))})):null},Wut=v.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(Uut||(Uut=jnt(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 10%;\n > .ms-Spinner {\n flex: 0 0 auto;\n > .ms-Spinner-circle {\n border-color: #b2b2b2 !important;\n border-top-color: #929292 !important;\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-top: 10%;\n > .ms-Spinner {\n flex: 0 0 auto;\n > .ms-Spinner-circle {\n border-color: #b2b2b2 !important;\n border-top-color: #929292 !important;\n }\n }\n"]))),Gut=Bnt.Promise,Vut=jit.exports,Xut=Art,Hut=Sit,Yut=Wnt,Zut=_at("species"),Kut={exports:{}},Jut=ost,edt=_at("iterator"),tdt=Array.prototype,ndt=Pot,idt=function(e,t,n){if(ndt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},rdt={};rdt[_at("toStringTag")]="z";var odt="[object z]"===String(rdt),adt=Knt,sdt=_at("toStringTag"),ldt="Arguments"==adt(function(){return arguments}()),cdt=odt?adt:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),sdt))?n:ldt?adt(t):"Object"==(i=adt(t))&&"function"==typeof t.callee?"Arguments":i},udt=cdt,ddt=ost,pdt=_at("iterator"),fdt=Cit,hdt=Cit,mdt=function(e){return void 0!==e&&(Jut.Array===e||tdt[edt]===e)},gdt=Lrt,vdt=idt,bdt=function(e){if(null!=e)return e[pdt]||e["@@iterator"]||ddt[udt(e)]},ydt=function(e,t,n,i){try{return i?t(fdt(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&fdt(r.call(e)),t}},Odt=function(e,t){this.stopped=e,this.result=t},wdt=Kut.exports=function(e,t,n,i,r){var o,a,s,l,c,u,d,p=vdt(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=bdt(e)))throw TypeError("Target is not iterable");if(mdt(a)){for(s=0,l=gdt(e.length);l>s;s++)if((c=i?p(hdt(d=e[s])[0],d[1]):p(e[s]))&&c instanceof Odt)return c;return new Odt(!1)}o=a.call(e)}for(u=o.next;!(d=u.call(o)).done;)if("object"==typeof(c=ydt(o,p,d.value,i))&&c&&c instanceof Odt)return c;return new Odt(!1)};wdt.stop=function(e){return new Odt(!0,e)};var _dt=_at("iterator"),xdt=!1;try{var kdt=0,Sdt={next:function(){return{done:!!kdt++}},return:function(){xdt=!0}};Sdt[_dt]=function(){return this},Array.from(Sdt,(function(){throw 2}))}catch(e){}var Edt,Cdt,Pdt,Fdt=Cit,Tdt=Pot,Ddt=_at("species"),Adt=function(e,t){var n,i=Fdt(e).constructor;return void 0===i||null==(n=Fdt(i)[Ddt])?t:Tdt(n)},Idt=Art("navigator","userAgent")||"",$dt=/(iphone|ipod|ipad).*applewebkit/i.test(Idt),Rdt=Bnt,jdt=qnt,zdt=Knt,Mdt=idt,Ldt=Lat,Ndt=hit,Qdt=$dt,Bdt=Rdt.location,Udt=Rdt.setImmediate,qdt=Rdt.clearImmediate,Wdt=Rdt.process,Gdt=Rdt.MessageChannel,Vdt=Rdt.Dispatch,Xdt=0,Hdt={},Ydt="onreadystatechange",Zdt=function(e){if(Hdt.hasOwnProperty(e)){var t=Hdt[e];delete Hdt[e],t()}},Kdt=function(e){return function(){Zdt(e)}},Jdt=function(e){Zdt(e.data)},ept=function(e){Rdt.postMessage(e+"",Bdt.protocol+"//"+Bdt.host)};Udt&&qdt||(Udt=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return Hdt[++Xdt]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},Edt(Xdt),Xdt},qdt=function(e){delete Hdt[e]},"process"==zdt(Wdt)?Edt=function(e){Wdt.nextTick(Kdt(e))}:Vdt&&Vdt.now?Edt=function(e){Vdt.now(Kdt(e))}:Gdt&&!Qdt?(Pdt=(Cdt=new Gdt).port2,Cdt.port1.onmessage=Jdt,Edt=Mdt(Pdt.postMessage,Pdt,1)):!Rdt.addEventListener||"function"!=typeof postMessage||Rdt.importScripts||jdt(ept)||"file:"===Bdt.protocol?Edt=Ydt in Ndt("script")?function(e){Ldt.appendChild(Ndt("script")).onreadystatechange=function(){Ldt.removeChild(this),Zdt(e)}}:function(e){setTimeout(Kdt(e),0)}:(Edt=ept,Rdt.addEventListener("message",Jdt,!1)));var tpt,npt,ipt,rpt,opt,apt,spt,lpt,cpt={set:Udt,clear:qdt},upt=Bnt,dpt=Unt.f,ppt=Knt,fpt=cpt.set,hpt=$dt,mpt=upt.MutationObserver||upt.WebKitMutationObserver,gpt=upt.process,vpt=upt.Promise,bpt="process"==ppt(gpt),ypt=dpt(upt,"queueMicrotask"),Opt=ypt&&ypt.value;Opt||(tpt=function(){var e,t;for(bpt&&(e=gpt.domain)&&e.exit();npt;){t=npt.fn,npt=npt.next;try{t()}catch(e){throw npt?rpt():ipt=void 0,e}}ipt=void 0,e&&e.enter()},bpt?rpt=function(){gpt.nextTick(tpt)}:mpt&&!hpt?(opt=!0,apt=document.createTextNode(""),new mpt(tpt).observe(apt,{characterData:!0}),rpt=function(){apt.data=opt=!opt}):vpt&&vpt.resolve?(spt=vpt.resolve(void 0),lpt=spt.then,rpt=function(){lpt.call(spt,tpt)}):rpt=function(){fpt.call(upt,tpt)});var wpt=Opt||function(e){var t={fn:e,next:void 0};ipt&&(ipt.next=t),npt||(npt=t,rpt()),ipt=t},_pt={},xpt=Pot,kpt=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=xpt(t),this.reject=xpt(n)};_pt.f=function(e){return new kpt(e)};var Spt,Ept,Cpt=Cit,Ppt=ait,Fpt=_pt,Tpt=Bnt,Dpt=Idt,Apt=Bnt.process,Ipt=Apt&&Apt.versions,$pt=Ipt&&Ipt.v8;$pt?Ept=(Spt=$pt.split("."))[0]+Spt[1]:Dpt&&(!(Spt=Dpt.match(/Edge\/(\d+)/))||Spt[1]>=74)&&(Spt=Dpt.match(/Chrome\/(\d+)/))&&(Ept=Spt[1]);var Rpt,jpt,zpt,Mpt,Lpt=Ept&&+Ept,Npt=Cot,Qpt=Bnt,Bpt=Art,Upt=Gut,qpt=jit.exports,Wpt=function(e,t,n){for(var i in t)Vut(e,i,t[i],n);return e},Gpt=_st,Vpt=function(e){var t=Xut(e),n=Hut.f;Yut&&t&&!t[Zut]&&n(t,Zut,{configurable:!0,get:function(){return this}})},Xpt=ait,Hpt=Pot,Ypt=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},Zpt=Knt,Kpt=Wit,Jpt=Kut.exports,eft=function(e,t){if(!t&&!xdt)return!1;var n=!1;try{var i={};i[_dt]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},tft=Adt,nft=cpt.set,ift=wpt,rft=function(e,t){if(Cpt(e),Ppt(t)&&t.constructor===e)return t;var n=Fpt.f(e);return(0,n.resolve)(t),n.promise},oft=function(e,t){var n=Tpt.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},aft=_pt,sft=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},lft=Ort,cft=yot,uft=Lpt,dft=_at("species"),pft="Promise",fft=lft.get,hft=lft.set,mft=lft.getterFor(pft),gft=Upt,vft=Qpt.TypeError,bft=Qpt.document,yft=Qpt.process,Oft=Bpt("fetch"),wft=aft.f,_ft=wft,xft="process"==Zpt(yft),kft=!!(bft&&bft.createEvent&&Qpt.dispatchEvent),Sft="unhandledrejection",Eft=cft(pft,(function(){if(!(Kpt(gft)!==String(gft))){if(66===uft)return!0;if(!xft&&"function"!=typeof PromiseRejectionEvent)return!0}if(uft>=51&&/native code/.test(gft))return!1;var e=gft.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[dft]=t,!(e.then((function(){}))instanceof t)})),Cft=Eft||!eft((function(e){gft.all(e).catch((function(){}))})),Pft=function(e){var t;return!(!Xpt(e)||"function"!=typeof(t=e.then))&&t},Fft=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;ift((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,c,u=i[a++],d=o?u.ok:u.fail,p=u.resolve,f=u.reject,h=u.domain;try{d?(o||(2===t.rejection&&Ift(e,t),t.rejection=1),!0===d?s=r:(h&&h.enter(),s=d(r),h&&(h.exit(),c=!0)),s===u.promise?f(vft("Promise-chain cycle")):(l=Pft(s))?l.call(s,p,f):p(s)):f(r)}catch(e){h&&!c&&h.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Dft(e,t)}))}},Tft=function(e,t,n){var i,r;kft?((i=bft.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),Qpt.dispatchEvent(i)):i={promise:t,reason:n},(r=Qpt["on"+e])?r(i):e===Sft&&oft("Unhandled promise rejection",n)},Dft=function(e,t){nft.call(Qpt,(function(){var n,i=t.value;if(Aft(t)&&(n=sft((function(){xft?yft.emit("unhandledRejection",i,e):Tft(Sft,e,i)})),t.rejection=xft||Aft(t)?2:1,n.error))throw n.value}))},Aft=function(e){return 1!==e.rejection&&!e.parent},Ift=function(e,t){nft.call(Qpt,(function(){xft?yft.emit("rejectionHandled",e):Tft("rejectionhandled",e,t.value)}))},$ft=function(e,t,n,i){return function(r){e(t,n,r,i)}},Rft=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,Fft(e,t,!0))},jft=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw vft("Promise can't be resolved itself");var r=Pft(n);r?ift((function(){var i={done:!1};try{r.call(n,$ft(jft,e,i,t),$ft(Rft,e,i,t))}catch(n){Rft(e,i,n,t)}})):(t.value=n,t.state=1,Fft(e,t,!1))}catch(n){Rft(e,{done:!1},n,t)}}};Eft&&(gft=function(e){Ypt(this,gft,pft),Hpt(e),Rpt.call(this);var t=fft(this);try{e($ft(jft,this,t),$ft(Rft,this,t))}catch(e){Rft(this,t,e)}},(Rpt=function(e){hft(this,{type:pft,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Wpt(gft.prototype,{then:function(e,t){var n=mft(this),i=wft(tft(this,gft));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=xft?yft.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&Fft(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),jpt=function(){var e=new Rpt,t=fft(e);this.promise=e,this.resolve=$ft(jft,e,t),this.reject=$ft(Rft,e,t)},aft.f=wft=function(e){return e===gft||e===zpt?new jpt(e):_ft(e)},"function"==typeof Upt&&(Mpt=Upt.prototype.then,qpt(Upt.prototype,"then",(function(e,t){var n=this;return new gft((function(e,t){Mpt.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Oft&&Npt({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return rft(gft,Oft.apply(Qpt,arguments))}}))),Npt({global:!0,wrap:!0,forced:Eft},{Promise:gft}),Gpt(gft,pft,!1),Vpt(pft),zpt=Bpt(pft),Npt({target:pft,stat:!0,forced:Eft},{reject:function(e){var t=wft(this);return t.reject.call(void 0,e),t.promise}}),Npt({target:pft,stat:!0,forced:Eft},{resolve:function(e){return rft(this,e)}}),Npt({target:pft,stat:!0,forced:Cft},{all:function(e){var t=this,n=wft(t),i=n.resolve,r=n.reject,o=sft((function(){var n=Hpt(t.resolve),o=[],a=0,s=1;Jpt(e,(function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=wft(t),i=n.reject,r=sft((function(){var r=Hpt(t.resolve);Jpt(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var zft={},Mft=qnt;function Lft(e,t){return RegExp(e,t)}zft.UNSUPPORTED_Y=Mft((function(){var e=Lft("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),zft.BROKEN_CARET=Mft((function(){var e=Lft("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var Nft=hct,Qft=zft,Bft=RegExp.prototype.exec,Uft=String.prototype.replace,qft=Bft,Wft=function(){var e=/a/,t=/b*/g;return Bft.call(e,"a"),Bft.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Gft=Qft.UNSUPPORTED_Y||Qft.BROKEN_CARET,Vft=void 0!==/()??/.exec("")[1];(Wft||Vft||Gft)&&(qft=function(e){var t,n,i,r,o=this,a=Gft&&o.sticky,s=Nft.call(o),l=o.source,c=0,u=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),Vft&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Wft&&(t=o.lastIndex),i=Bft.call(a?n:o,u),a?i?(i.input=i.input.slice(c),i[0]=i[0].slice(c),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:Wft&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),Vft&&i&&i.length>1&&Uft.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var Xft=qft;Cot({target:"RegExp",proto:!0,forced:/./.exec!==Xft},{exec:Xft});var Hft,Yft=jit.exports,Zft=qnt,Kft=_at,Jft=Xft,eht=Rit,tht=Kft("species"),nht=!Zft((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),iht="$0"==="a".replace(/./,"$0"),rht=Kft("replace"),oht=!!/./[rht]&&""===/./[rht]("a","$0"),aht=!Zft((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),sht=function(e,t,n,i){var r=Kft(e),o=!Zft((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!Zft((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[tht]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!nht||!iht||oht)||"split"===e&&!aht){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===Jft?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:iht,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:oht}),c=l[0],u=l[1];Yft(String.prototype,e,c),Yft(RegExp.prototype,r,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}i&&eht(RegExp.prototype[r],"sham",!0)},lht=jrt,cht=nit,uht=function(e){return function(t,n){var i,r,o=String(cht(t)),a=lht(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},dht={codeAt:uht(!1),charAt:uht(!0)}.charAt,pht=function(e,t,n){return t+(n?dht(e,t).length:1)},fht=Knt,hht=Xft,mht=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==fht(e))throw TypeError("RegExp#exec called on incompatible receiver");return hht.call(e,t)},ght=sht,vht=Eat,bht=Cit,yht=nit,Oht=Adt,wht=pht,_ht=Lrt,xht=mht,kht=Xft,Sht=qnt,Eht=[].push,Cht=Math.min,Pht=4294967295,Fht=!Sht((function(){return!RegExp(Pht,"y")}));ght("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(yht(this)),r=void 0===n?Pht:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!vht(e))return t.call(i,e,r);for(var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,d=new RegExp(e.source,c+"g");(o=kht.call(d,i))&&!((a=d.lastIndex)>u&&(l.push(i.slice(u,o.index)),o.length>1&&o.index<i.length&&Eht.apply(l,o.slice(1)),s=o[0].length,u=a,l.length>=r));)d.lastIndex===o.index&&d.lastIndex++;return u===i.length?!s&&d.test("")||l.push(""):l.push(i.slice(u)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=yht(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=bht(e),s=String(this),l=Oht(a,RegExp),c=a.unicode,u=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Fht?"y":"g"),d=new l(Fht?a:"^(?:"+a.source+")",u),p=void 0===r?Pht:r>>>0;if(0===p)return[];if(0===s.length)return null===xht(d,s)?[s]:[];for(var f=0,h=0,m=[];h<s.length;){d.lastIndex=Fht?h:0;var g,v=xht(d,Fht?s:s.slice(h));if(null===v||(g=Cht(_ht(d.lastIndex+(Fht?0:h)),s.length))===f)h=wht(s,h,c);else{if(m.push(s.slice(f,h)),m.length===p)return m;for(var b=1;b<=v.length-1;b++)if(m.push(v[b]),m.length===p)return m;h=f=g}}return m.push(s.slice(f)),m}]}),!Fht),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(Hft||(Hft={}));var Tht=function(e){var t=e.fileName,i=e.url,r=e.onPlay;if(!i)return null;var o="safari"===dO.name?"".concat(i,"#t=0.1"):i;return n.jsxs("div",Dnt({className:"lt-reach-embedded-video"},{children:[n.jsx(Sct,{fileName:t,url:i}),n.jsxs("video",Dnt({onPlay:function(){return null==r?void 0:r(i)},preload:"metadata",controls:!0,title:t,width:"auto",height:"auto"},{children:[n.jsx("source",{src:o,type:"video/mp4"}),n.jsx(tA,{id:"Generic.videoReplayError",tagName:"p"})]}))]}))};function Dht(e){var t,n="mac"===Qo.deviceInfo.operatingSystem,i=null===(t=LK.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(Hft.mp4)||(n?i.startsWith(Hft.quicktime):i.startsWith(Hft.webm)))}var Aht,Iht,$ht=function(e,t){var n=e/2,i=t/2,r=Math.abs(e)+Math.abs(t);return"\n box-shadow: ".concat(n,"px ").concat(i,"px ").concat(r,"px grey;\n ")},Rht=function(e){return"\n &:-moz-placeholder {\n ".concat(e,";\n }\n &::-moz-placeholder {\n ").concat(e,";\n }\n &:-ms-input-placeholder {\n ").concat(e,";\n }\n &::-webkit-input-placeholder {\n ").concat(e,";\n }\n ")},jht=function(e,t,n){return i.css(Iht||(Iht=jnt(["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "],["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "])),t*n*e,t,n,e)};function zht(e){var t=new Image,n=new Promise((function(e){t.onload=function(t){var n=t.currentTarget;e({width:n.width,height:n.height})}}));return t.src=e,n}function Mht(e){return Int(this,void 0,void 0,(function(){return $nt(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(zht))];case 1:return[2,t.sent()]}}))}))}function Lht(e){return Pct(e)?"MusicInCollectionFill":Dht(e)?"Video":Bht(null==e?void 0:e.split(".").pop().toLowerCase())}function Nht(e){switch(e){case"WordDocument":return"#1C5FC0";case"ExcelDocument":return"#138147";case"PowerPointDocument":return"#CA4B27";case"VisioDocument":return"#1C5FBF";case"PDF":return"#CF1700";default:return"#000"}}function Qht(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function Bht(e){switch(null==e?void 0:e.toLowerCase()){case"vsdx":return"VisioDocument";case"rar":case"zip":case"7z":return"ZipFolder";case"pdf":return"PDF";case"doc":case"docx":return"WordDocument";case"xls":case"xlsx":case"csv":return"ExcelDocument";case"ppt":case"pptx":case"potx":case"ppsx":return"PowerPointDocument";case"mp4":case"webm":case"mpeg":case"avi":case"ogv":return"Video";case"aac":case"mp3":case"oga":case"opus":case"wav":case"weba":return"MusicInCollectionFill";case"bmp":case"gif":case"ico":case"jpeg":case"jpg":case"png":case"svg":case"tif":case"webp":return"FileImage";default:return"Page"}}function Uht(){var e=zY(),n=jY(),i=n.createApiUrl,r=n.fetchFromApi,o=t.useContext(cA).identifier,a=mh(),s=Tle().interaction,l=null==o?void 0:o.id;return t.useMemo((function(){return{exchangeShortLivedToken:function(e){return Int(this,void 0,void 0,(function(){var t,n;return $nt(this,(function(i){switch(i.label){case 0:return e?(t={method:"POST",headers:$Y(e,l)},[4,r("/file_access_token/types/short_lived",t)]):[2,null];case 1:return[2,200!==(n=i.sent()).status?null:n.text()]}}))}))},getPublishableItemShortLivedToken:function(t,n){return e.custom("".concat(t,"/").concat(n,"/file_access_token/types/short_lived")).get().then((function(e){return e.body().data()}))},createDownloadClickHandler:function(e,t,n,i){var r=this;return function(){return Int(r,void 0,void 0,(function(){var r;return $nt(this,(function(o){switch(o.label){case 0:return[4,t()];case 1:return r=o.sent(),window.open(r,"ios"===a.deviceInfo.operatingSystem?"_self":e),s({event:sle.downloadFile,action:lle.click,value:Ele(r),item:{id:n,type:"content",parentId:i}}),[2]}}))}))}}}}),[l,r,i,e,module])}var qht,Wht,Ght,Vht,Xht,Hht,Yht,Zht,Kht,Jht,emt,tmt,nmt,imt,rmt,omt,amt,smt,lmt=function(e){var t=e.files,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,a=e.onPlayVideo,s=e.onPlayAudio,l=e.disabled,c=e.parentId,u=e.className;if(!t||0===t.length)return null;var d=t.filter((function(e){return r&&Pct(e.filename)})),p=t.filter((function(e){return r&&Dht(e.filename)})),f=t.filter((function(e){return!d.includes(e)&&!p.includes(e)}));return n.jsxs(n.Fragment,{children:[p.length>0&&n.jsx(umt,Dnt({className:u,"data-preload-video":"safari"===dO.name},{children:p.map((function(e){return n.jsx(dmt,{children:n.jsx(Tht,{fileName:e.filename,url:r(e.id),onPlay:function(t){return a(t,e.id)}})},e.id)}))})),d.length>0&&n.jsx(cmt,Dnt({className:u},{children:d.map((function(e){return n.jsx(pmt,{children:n.jsx(Cct,{fileName:e.filename,url:r(e.id),onPlay:function(t){return s(t,e.id)}})},e.id)}))})),f.length>0&&n.jsx(cmt,Dnt({className:u},{children:f.map((function(e){return n.jsx(pmt,{children:n.jsx(fmt,{attachment:e,disabled:l,getFileUrl:r,fileAccessToken:o,onDeleteClick:i,parentId:c})},e.id)}))}))]})},cmt=v.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(qht||(qht=jnt(["\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n margin: 0;\n padding: 0;\n list-style: none;\n\n audio {\n width: 100%;\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n margin: 0;\n padding: 0;\n list-style: none;\n\n audio {\n width: 100%;\n }\n"]))),umt=v.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(Wht||(Wht=jnt(["\n margin: 0;\n padding: 0;\n list-style: none;\n\n video {\n width: 100%;\n border-radius: ","px;\n overflow: hidden;\n }\n\n &[data-preload-video='true'] {\n video {\n box-shadow: inset 0 0 0 0.5px #707070, 0 0 0 0.5px #707070;\n background-color: #e4e4e4;\n }\n }\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n\n video {\n width: 100%;\n border-radius: ","px;\n overflow: hidden;\n }\n\n &[data-preload-video='true'] {\n video {\n box-shadow: inset 0 0 0 0.5px #707070, 0 0 0 0.5px #707070;\n background-color: #e4e4e4;\n }\n }\n"])),20),dmt=v.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(Ght||(Ght=jnt(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),Dse),pmt=v.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(Vht||(Vht=jnt(["\n width: 100%;\n &:not(:first-child) {\n margin-top: ","px;\n }\n\n @media (min-width: ","px) {\n width: calc(50% - ","px);\n\n &:nth-child(2) {\n margin-top: 0;\n }\n }\n"],["\n width: 100%;\n &:not(:first-child) {\n margin-top: ","px;\n }\n\n @media (min-width: ","px) {\n width: calc(50% - ","px);\n\n &:nth-child(2) {\n margin-top: 0;\n }\n }\n"])),Dse,zse,5),fmt=function(e){var t=e.attachment,i=e.onDeleteClick,o=e.getFileUrl,a=e.fileAccessToken,s=e.disabled,l=e.parentId,c=RD().formatMessage,u=!s&&i,d=Uht(),p=d.exchangeShortLivedToken,f=d.createDownloadClickHandler;return n.jsxs(hmt,{children:[t.isUploadInProgress&&n.jsx(wmt,{children:n.jsx(_mt,{size:r.SpinnerSize.medium})}),n.jsx(gmt,Dnt({takeFullWidth:!u},{children:function(){var e=this;if(t.hasError)return n.jsxs(vmt,{children:[n.jsx(xmt,{iconName:"Warning"}),n.jsx(Omt,Dnt({title:t.filename},{children:t.filename}))]});var i=Lht(t.filename);if(o)return n.jsxs(mmt,Dnt({title:t.filename,onClick:f("_blank",(function(){return Int(e,void 0,void 0,(function(){var e;return $nt(this,(function(n){switch(n.label){case 0:return[4,p(a)];case 1:return e=n.sent(),[2,o(t.id,e)]}}))}))}),t.id,l)},{children:[n.jsx(bmt,{iconName:i}),n.jsx(Omt,{children:t.filename})]}));return n.jsxs(vmt,{children:[n.jsx(bmt,{iconName:i}),n.jsx(Omt,Dnt({title:t.filename},{children:t.filename}))]})}()})),u&&n.jsx(ymt,{iconProps:{iconName:"Delete"},onClick:function(){return i(t)},disabled:t.isUploadInProgress,ariaLabel:c({id:"AriaLabel.removeAttachmentButton"})})]})},hmt=v.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(Xht||(Xht=jnt(["\n position: relative;\n display: flex;\n border: 1px solid #95989a;\n border-radius: 2px;\n background-color: ",";\n"],["\n position: relative;\n display: flex;\n border: 1px solid #95989a;\n border-radius: 2px;\n background-color: ",";\n"])),(function(e){return e.theme.palette.white})),mmt=v.default(r.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(Hht||(Hht=jnt(["\n display: flex;\n align-items: center;\n width: 100%;\n color: ",";\n box-sizing: border-box;\n padding: ","px;\n border: 0;\n height: auto;\n\n &:hover {\n background-color: initial;\n color: ",";\n }\n\n & > span {\n max-width: 100%;\n }\n\n // make the entire tile clickable\n button::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 0;\n }\n"],["\n display: flex;\n align-items: center;\n width: 100%;\n color: ",";\n box-sizing: border-box;\n padding: ","px;\n border: 0;\n height: auto;\n\n &:hover {\n background-color: initial;\n color: ",";\n }\n\n & > span {\n max-width: 100%;\n }\n\n // make the entire tile clickable\n button::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 0;\n }\n"])),(function(e){return e.theme.textColors.default}),Dse,(function(e){return e.theme.textColors.default})),gmt=v.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(Kht||(Kht=jnt(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?i.css(Yht||(Yht=jnt(["\n width: 100%;\n "],["\n width: 100%;\n "]))):i.css(Zht||(Zht=jnt(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),vmt=v.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(Jht||(Jht=jnt(["\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: ","px;\n"],["\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: ","px;\n"])),Dse),bmt=v.default(r.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(emt||(emt=jnt(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),Dse),ymt=v.default(r.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(tmt||(tmt=jnt(["\n margin: 0 auto;\n height: auto;\n width: auto;\n padding: 0 8px;\n\n && {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 18px;\n margin: 0;\n }\n"],["\n margin: 0 auto;\n height: auto;\n width: auto;\n padding: 0 8px;\n\n && {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 18px;\n margin: 0;\n }\n"])),(function(e){return e.theme.textColors.default})),Omt=v.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(nmt||(nmt=jnt(["\n font-size: 14px;\n flex: 1;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n"],["\n font-size: 14px;\n flex: 1;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n text-decoration: none;\n"]))),wmt=v.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(imt||(imt=jnt(["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 100;\n\n display: flex;\n align-items: center;\n justify-content: center;\n"],["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 100;\n\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),_mt=v.default(qut).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(rmt||(rmt=jnt(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),xmt=v.default(r.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(omt||(omt=jnt(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),kmt=function(e){var t,i=e.children,r=Ant(e,["children"]);return n.jsxs(n.Fragment,{children:[n.jsx(Smt,{}),n.jsx(Mnt,Dnt({},r,{modalProps:Dnt(Dnt({},r.modalProps||{}),{className:No({"lt-reach-dialog-mobile-full-height":Qo.isAnyMobileApp},null===(t=r.modalProps)||void 0===t?void 0:t.className)})},{children:i}))]})},Smt=i.createGlobalStyle(amt||(amt=jnt(['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'],['\n /**\n Mobile overrides\n */\n .lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n height: calc(100vh - 32px);\n }\n }\n }\n\n .browser-name-ios-webview.lt-reach-dialog-mobile-full-height {\n .ms-Dialog-main {\n .ms-Modal-scrollableContent {\n // 8 more pixels, because if you open the app from within another app (e.g. Testflight)\n // it has an additional "backbar" there which takes up space\n height: calc(100vh - 32px - env(safe-area-inset-top) - 8px);\n }\n }\n }\n'])));!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(smt||(smt={}));var Emt=function(e){var t=e.className,i=e.offsetTop,r=void 0===i?0:i,o=e.positionBottomOnMobile,a=e.domIdentifier,s=e.offsetRight,l=void 0===s?0:s,c=e.children;return n.jsxs(Fmt,Dnt({offsetTop:r,offsetRight:l,className:t,positionBottomOnMobile:o,"data-fab":a},{children:[n.jsx(Dmt,{}),c]}))},Cmt=function(e){var t=e.iconName,i=e.onClick,r=e.tooltipResourceKey,o=e.useSecondaryBgColor,a=e.domIdentifier,s=e.className,l=RD().formatMessage;return n.jsxs($lt,Dnt({className:s,resourceKey:r},{children:[n.jsx(Dmt,{}),n.jsx(Amt,{"data-fab":a,iconProps:{iconName:t},onClick:i,ariaLabel:l({id:r}),useSecondaryBgColor:o})]}))},Pmt=function(e){var i=e.iconName,o=e.tooltipResourceKey,a=e.titleResourceKey,s=e.showCloseButton,l=e.useSecondaryBgColor,c=e.children,u=e.domIdentifier,d=e.useMobileFullHeight,p=RD().formatMessage,f=t.useState(!1),h=f[0],m=f[1],g=t.useRef(null),v=Qo.isAnyMobileApp;return n.jsxs(n.Fragment,{children:[n.jsx("div",Dnt({ref:g},{children:n.jsx(Cmt,{"data-fab":u,tooltipResourceKey:o,iconName:i,onClick:function(){return m(!h)},useSecondaryBgColor:l})})),h&&v&&d&&n.jsxs(kmt,Dnt({hidden:!h,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:r.DialogType.close,title:p({id:a})},onDismiss:function(){return m(!1)}},{children:[n.jsx(Xmt,{}),c]})),h&&v&&!d&&n.jsxs(Mnt,Dnt({hidden:!h},{children:[c,n.jsx(r.DialogFooter,{children:n.jsx(r.DefaultButton,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}})})]})),h&&!v&&n.jsx(Xct,Dnt({target:g.current,directionalHint:r.DirectionalHint.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:n.jsxs(Gmt,{children:[c,s&&n.jsx(Vmt,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}})]})}))]})},Fmt=v.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(Rmt||(Rmt=jnt(["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"],["\n position: fixed;\n margin: 0 10px;\n right: ","px;\n z-index: 11;\n\n ","\n"])),(function(e){return e.offsetRight+20}),(function(e){return e.positionBottomOnMobile?i.css(Imt||(Imt=jnt(["\n bottom: 20px;\n @media (min-width: ","px) {\n bottom: unset;\n top: ","px;\n }\n "],["\n bottom: 20px;\n @media (min-width: ","px) {\n bottom: unset;\n top: ","px;\n }\n "])),Mse,e.offsetTop+20):i.css($mt||($mt=jnt(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),Tmt=function(e){return i.css(Mmt||(Mmt=jnt(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "],["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n font-size: 20px;\n\n border-radius: 50%;\n box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n margin-bottom: 15px;\n\n ","\n "])),e?i.css(jmt||(jmt=jnt(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){return e.theme.palette.themeTertiary})):i.css(zmt||(zmt=jnt(["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n }\n "])),(function(e){return e.theme.palette.neutralTertiary}),(function(e){return e.theme.palette.neutralPrimary}),(function(e){return e.theme.palette.neutralTertiaryAlt})))},Dmt=i.createGlobalStyle(Lmt||(Lmt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){return s9("\n [data-fab] button:focus::after,\n button[data-fab]:focus::after {\n outline-color: ".concat(e.theme.palette.themePrimary,";\n outline-offset: 5px;\n border-radius: 50%;\n }\n "))})),Amt=v.default(r.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(Nmt||(Nmt=jnt(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return Tmt(e.useSecondaryBgColor)}));v.default($lt).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(Qmt||(Qmt=jnt(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return Tmt(e.useSecondaryBgColor)}));var Imt,$mt,Rmt,jmt,zmt,Mmt,Lmt,Nmt,Qmt,Bmt,Umt,qmt,Wmt,Gmt=v.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(Bmt||(Bmt=jnt(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),Ase),Vmt=v.default(r.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(Umt||(Umt=jnt(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),Xmt=i.createGlobalStyle(qmt||(qmt=jnt(["\n .dialog-mobile-full-height {\n .ms-Dialog-main {\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n\n .ms-Dialog-title {\n padding-bottom: 0;\n }\n\n .dialog-content-host {\n height: 466px;\n }\n}\n"],["\n .dialog-mobile-full-height {\n .ms-Dialog-main {\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n\n .ms-Dialog-title {\n padding-bottom: 0;\n }\n\n .dialog-content-host {\n height: 466px;\n }\n}\n"])),Bse),Hmt=function(e){var i=e.tagName,r=void 0===i?"div":i,o=e.id,a=e.values,s=e.dir,l=e.className;return t.createElement(r,{className:l,dir:s},n.jsx(tA,{id:o,values:a}))},Ymt=function(e){var t=e.icon,i=e.resourceKey,o=e.className,a=e.values,s="string"==typeof t?n.jsx(r.Icon,{iconName:t}):t;return n.jsxs(Zmt,Dnt({className:o},{children:[s,n.jsx(tA,{id:i,values:a,tagName:"span"})]}))},Zmt=v.default.div.withConfig({displayName:"IconLabel__Host",componentId:"sc-1fvi114-0"})(Wmt||(Wmt=jnt(["\n display: flex;\n align-items: center;\n\n > *:first-child {\n margin-right: ","px;\n }\n\n i {\n font-size: 24px;\n }\n\n > span {\n font-size: ","px;\n }\n"],["\n display: flex;\n align-items: center;\n\n > *:first-child {\n margin-right: ","px;\n }\n\n i {\n font-size: 24px;\n }\n\n > span {\n font-size: ","px;\n }\n"])),6,Hse),Kmt={},Jmt=new XZ;var egt=new XZ;function tgt(e){var n=t.useRef(!0);t.useEffect((function(){n.current||egt.next(),n.current=!1}),e)}var ngt,igt,rgt,ogt,agt=function(e){var i=e.groupName,r=e.groupId,o=e.keywordName,a=e.language,s=e.underlined,l=e.onClick,c=e.tabIndex,u=ure(),d=Toe(t.useContext(Ppe).selectedKeywordGroups,u,r,o,i,a);return l?n.jsx(lgt,Dnt({onClick:l,tabIndex:c},{children:n.jsx(cgt,Dnt({underlined:!0,dir:"auto"},{children:d}))})):n.jsx(cgt,Dnt({underlined:s,dir:"auto"},{children:d}))},sgt=function(e){var i=e.groupId,r=e.keywordName,o=ure(),a=Toe(t.useContext(Ppe).selectedKeywordGroups,o,i,r);return tgt([a]),n.jsx(cgt,Dnt({underlined:!0},{children:a}))},lgt=v.default(Uct).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(ngt||(ngt=jnt(["\n z-index: 1;\n height: inherit;\n padding: 0;\n > span {\n width: 100%;\n color: ",";\n }\n"],["\n z-index: 1;\n height: inherit;\n padding: 0;\n > span {\n width: 100%;\n color: ",";\n }\n"])),(function(e){return e.theme.palette.neutralSecondaryAlt})),cgt=v.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(rgt||(rgt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&i.css(igt||(igt=jnt(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),ugt=function(e){var t=e.modified,i=RD();return t?n.jsxs(dgt,Dnt({className:"ms-fontColor-neutralTertiary"},{children:["(",n.jsx($lt,Dnt({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=i.formatDate(t,{day:"2-digit",month:"2-digit",year:"numeric"}),n=i.formatTime(t);return"".concat(e," ").concat(n)}()}},{children:n.jsx(tA,{id:"Generic.wasModified"})})),")"]})):null},dgt=v.default.div.withConfig({displayName:"Modified__Host",componentId:"gp1v6i-0"})(ogt||(ogt=jnt(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),Yse);function pgt(){return pgt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},pgt.apply(this,arguments)}var fgt=function(e){return m.createElement("svg",pgt({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),m.createElement("path",{d:"M303.95 99.623c0-6.623-5.377-12-12-12h-223c-6.623 0-12 5.377-12 12s5.377 12 12 12h223c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M109.95 111.623h231.857c6.113 0 11.143 5.417 11.143 12s-5.03 12-11.143 12H109.95c6.113 0 11.143-5.417 11.143-12s-5.03-12-11.143-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M328.95 147.623c0-6.623-5.377-12-12-12h-229c-6.623 0-12 5.377-12 12s5.377 12 12 12h229c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M72.95 159.623h181c-6.583 0-12 5.417-12 12s5.417 12 12 12h-181c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M354.95 195.623c0-6.623-5.377-12-12-12h-249c-6.623 0-12 5.377-12 12s5.377 12 12 12h249c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m287.318 41.85-140.914-4.921-6.98 199.878 140.914 4.921 6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m281.417 34.091-140.914 4.921 6.98 199.878 140.914-4.921-6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M270.614 121.843a3.922 3.922 0 0 0 2.186-5.094l-12.336-30.881a3.921 3.921 0 0 0-5.094-2.187 3.922 3.922 0 0 0-2.186 5.095l12.335 30.881a3.923 3.923 0 0 0 5.095 2.186Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M257.614 132.166c-13.771-34.474-20.534-54.646-13.585-57.422l.021-.008c6.947-2.729 15.939 16.546 29.696 50.986l-16.132 6.444Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m257.875 130.779 14.726-5.882c15.927 39.871 28.772 71.236 21.136 74.286-7.636 3.05-19.935-28.532-35.862-68.404ZM94.857 6.66c6.969 3.252 17.655 10.686 17.655 10.686-4.646 6.505-6.504 16.262-6.504 16.262 10.686 5.111 6.04 13.009 6.04 13.009-6.04 1.394-20.444-2.323-20.444-2.323-3.252 11.615-16.261 3.717-16.261 3.717 1.858-11.616 2.787-24.16 2.787-24.16-6.04-6.97-4.646-18.585-4.646-18.585C81.847 8.518 94.857 6.66 94.857 6.66Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M80.314 30.738c5.111 11.615 13.939 13.938 13.939 13.938 5.576 3.717 23.231-16.726 23.231-16.726 2.788 7.434-.929 19.514-.929 19.514-.929 6.04-6.969 13.474-6.969 13.474-5.111 3.717-21.373 2.323-21.373 2.323-9.757-5.575-14.868-8.828-14.868-8.828 1.859-9.757 6.505-14.403 6.505-14.403l.464-9.292Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M65.554 32.465c-2.788 10.222-2.323 17.191-2.323 17.191 5.111 7.898 18.585 14.403 18.585 14.403l8.828-12.545c4.181-3.252 14.867 2.323 14.867 2.323 6.505 2.788 13.01-13.009 13.01-13.009-10.686-10.222-15.333-14.868-15.333-14.868-5.11-7.434-6.504-13.938-6.504-13.938l-4.647-7.899c-4.646 4.646-4.181 26.019-4.181 26.019C90.179 34.788 71.594 32 71.594 32l-6.04.465Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m59.887 23.474-5.555 9.305 5.4 7.121 10.694 3.229c8.278-1.275 12.592-3.061 12.592-3.061 3.727-7.798 5.745-9.934 5.745-9.934l5.045-5.341 5.483-4.521.042-5.822-6.7-1.679c-6.172 2.254-12.943 5.358-12.943 5.358-3.685 1.976-14.171 6.016-14.171 6.016l-5.632-.671Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M102.724 12.771c-5.576 4.646-20.908 16.726-20.908 16.726-5.576 3.717-12.08 10.222-12.08 10.222l2.787 7.898c4.647 4.182 11.616 6.969 11.616 6.969 9.292 3.253 18.12 1.859 18.12 1.859 7.899-12.545 10.686-19.514 10.686-19.514 3.253-9.757 5.576-19.514 5.576-19.514-6.04-2.788-15.797-4.646-15.797-4.646Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M86.898 11.688c-6.505 2.323-17.191 6.04-17.191 6.04l-6.04 9.293-.465 13.474c6.505.929 18.12 3.717 18.12 3.717-.929-6.505-2.323-12.081-2.323-12.081l-.465-6.969 8.364-13.474Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function hgt(){return hgt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},hgt.apply(this,arguments)}var mgt=function(e){return m.createElement("svg",hgt({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),m.createElement("path",{d:"M341.375 39.358c0-6.623-5.377-12-12-12h-248.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h248.5c6.623 0 12-5.377 12-12ZM394.625 63.358c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h337.75c6.623 0 12-5.377 12-12ZM384.625 135.309c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h327.75c6.623 0 12-5.377 12-12ZM151.75 75.358H16c-6.623 0-12 5.377-12 12s5.377 12 12 12h135.75c-6.623 0-12-5.377-12-12s5.377-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M58.688 99.358h153.75c6.623 0 12 5.377 12 12s-5.377 12-12 12H58.688c6.623 0 12-5.377 12-12s-5.377-12-12-12ZM368.778 98.309c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M198.494 11.655 94.626 18.918a5.483 5.483 0 0 0-5.084 5.849l8.792 125.734a5.483 5.483 0 0 0 5.849 5.084l103.867-7.263-9.556-136.667ZM202.138 11.4l103.867-7.263a5.483 5.483 0 0 1 5.849 5.084l8.792 125.734a5.483 5.483 0 0 1-5.084 5.849l-103.867 7.263L202.138 11.4Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m195.257 43.926.191 2.733-3.645.255-.509-7.289 3.644-.255.191 2.734 5.467-.383-1.465-20.955-91.112 6.371 8.283 118.445 91.111-6.371-1.465-20.956-5.467.382.191 2.734-3.644.255-.51-7.289 3.645-.255.191 2.733 5.466-.382-5.097-72.889-5.466.382ZM209.835 42.907l.191 2.733 3.644-.255-.509-7.289-3.645.255.191 2.733-5.466.383-1.466-20.956 91.112-6.371 8.282 118.445-91.111 6.371L209.592 118l5.467-.382.191 2.733 3.645-.254-.51-7.289-3.645.255.192 2.733-5.467.382-5.097-72.889 5.467-.382Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m193.498 44.964 18.223-1.274M198.723 119.676l18.222-1.274M193.243 41.32l18.223-1.274M198.468 116.032l18.222-1.275",style:{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeMiterlimit:1.5}}),m.createElement("path",{d:"m123.999 46.162 60.133-4.205M124.954 59.829l60.134-4.205M125.91 73.496l60.134-4.205M126.866 87.162l60.133-4.205M127.821 100.829l60.134-4.205M128.777 114.496l60.134-4.205M129.733 128.163l60.133-4.205M282.087 28.698l-57.401 4.014 2.74 39.178 57.4-4.014-2.739-39.178ZM285.591 78.81l-57.4 4.014 2.739 39.178 57.401-4.014-2.74-39.178Z",style:{fill:"none",stroke:"currentColor",strokeOpacity:.2,strokeWidth:2}}))};function ggt(){return ggt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ggt.apply(this,arguments)}var vgt=function(e){return m.createElement("svg",ggt({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),m.createElement("path",{d:"M306.436 12c0-6.623-5.377-12-12-12h-153.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.5c6.623 0 12-5.377 12-12ZM372.436 60c0-6.623-5.377-12-12-12H50.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h309.75c6.623 0 12-5.377 12-12ZM343.325 72.049h-153.75c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.75c-6.623 0-12-5.377-12-12s5.377-12 12-12ZM282.436 36c0-6.623-5.377-12-12-12H74.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h195.75c6.623 0 12-5.377 12-12ZM282.436 132c0-6.623-5.377-12-12-12h-129.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h129.5c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M356.686 108c0-6.623-5.377-12-12-12H68.936c-6.623 0-12 5.377-12 12s5.377 12 12 12h275.75c6.623 0 12-5.377 12-12ZM392.95 108c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m324.66 39.281-87.775-6.288-7.646 106.726 87.775 6.288 7.646-106.726Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m319.316 43.911-77.801-5.574-5.574 77.801 77.801 5.573 5.574-77.8Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M314.299 74.522 227.54 59.795l-17.906 105.491 86.759 14.727 17.906-105.491Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m308.533 78.615-76.9-13.053-13.054 76.9 76.9 13.053 13.054-76.9Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M240.587 19.16 93.266 33.322l10.047 104.518 147.321-14.162L240.587 19.16Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m168.075 38.186 7.654 79.633M186.507 83.631l41.808-4.019M187.751 96.571l41.808-4.019M188.995 109.511l41.808-4.018",style:{fill:"none",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m232.394 27.985-17.918 1.722 2.105 21.899 17.918-1.722-2.105-21.899Z",style:{fill:"currentColor",fillOpacity:.2}}))};function bgt(){return bgt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},bgt.apply(this,arguments)}var ygt,Ogt,wgt,_gt,xgt,kgt,Sgt,Egt,Cgt,Pgt,Fgt,Tgt=function(e){return m.createElement("svg",bgt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),m.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),m.createElement("path",{d:"M248 12c0-6.623-5.377-12-12-12H136c-6.623 0-12 5.377-12 12s5.377 12 12 12h100c6.623 0 12-5.377 12-12ZM320 36c0-6.623-5.377-12-12-12H62c-6.623 0-12 5.377-12 12s5.377 12 12 12h246c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M105 48h245c6.583 0 12 5.417 12 12s-5.417 12-12 12H105c6.583 0 12-5.417 12-12s-5.417-12-12-12ZM36 72h268c-6.583 0-12 5.417-12 12s5.417 12 12 12H36c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M320 108c0-6.623-5.377-12-12-12H142c-6.623 0-12 5.377-12 12s5.377 12 12 12h166c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m290.483 107.633-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M259.221 66.661 122.533 78.619l.608 6.951 136.688-11.959-.608-6.95ZM233.685 81.664l-110.046 9.628.608 6.951 110.046-9.628-.608-6.951Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.222 31.003a1.175 1.175 0 0 0-.465-.814.774.774 0 0 0-.814-.233L235.71 34.84l5.814-9.3c.581.233 1.279.465 1.86.7 2.907.93 6.047.814 7.907-1.163 1.977-1.977 2.093-5 1.163-7.907a23.214 23.214 0 0 0-5.7-8.953 22.876 22.876 0 0 0-8.837-5.7 11.406 11.406 0 0 0-3.372-.581h-1.047a6.055 6.055 0 0 0-3.6 1.628c-1.977 1.977-2.093 5-1.163 7.907.233.581.465 1.279.7 1.86l-12.093 7.558a21.654 21.654 0 0 0-8.14-1.86c-3.372 0-6.512.93-8.721 3.256-3.14 3.14-3.837 7.791-2.791 12.558.233 1.047.581 2.093.93 3.256l-94.188 8.253a1.115 1.115 0 0 0-1.049 1.281l6.4 73.256c.036.324.204.619.465.814.267.198.602.282.93.233l6.86-1.4c.233 0 .349-.116.581-.233l6.86-6.279c.443-.348.96-.588 1.512-.7.44-.036.881.044 1.279.233l21.86 9.535a.703.703 0 0 0 .465.116h.233l22.555-5.345c.349-.116.581-.233.7-.581l6.86-12.558a2.665 2.665 0 0 1 2.907-1.279l16.633 4.188h.116l18.372 2.209c10.7 1.047 23.372 2.093 25.93 2.093a.701.701 0 0 0 .465-.116c2.558-.93 13.14-7.326 19.884-11.512a1.768 1.768 0 0 1 1.512-.349l12.791.814a2.477 2.477 0 0 1 1.744.814l8.14 8.488c.322.359.851.456 1.279.233l7.442-3.256c.472-.179.762-.662.7-1.163l-6.636-74.885Zm-1.739 76.63-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"currentColor",fillOpacity:.2}}))},Dgt=function(e){var t=e.images,i=e.selectedIndex,o=e.hidden,a=e.onClose,s=e.imageUrlResolver,l=kj((function(){return Int(this,void 0,void 0,(function(){var e;return $nt(this,(function(n){switch(n.label){case 0:return e=t.map((function(e){return null!=e.width&&null!=e.height?Promise.resolve({width:e.width,height:e.height}):zht(s(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,n.sent()]}}))}))}),null,[t]),c=l[0],u=l[1],d=l[2];return u||d?null:n.jsx(r.Layer,{children:n.jsx(Agt,{images:t.map((function(e,t){return function(e,t){var n=Math.min(t.width,2500),i=Math.trunc(t.height/t.width*n);return{thumbnail:e.previewUrl,large:s(e.imageId,n,i),width:n,height:i,caption:e.imageTitle}}(e,c[t])})),selectedIndex:i,hidden:o,onClose:a})})},Agt=function(e){var i=e.images,r=e.hidden,o=e.selectedIndex,a=e.onClose,s=RD().formatMessage,l=t.useRef(null),c=t.useRef();return t.useEffect((function(){var e;if(!r)return clearTimeout(c.current),c.current=setTimeout((function(){return e=function(){var e=new Pfe(l.current,Tfe,i.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:o});return e.listen("close",a),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[r,o]),n.jsxs(n.Fragment,{children:[n.jsx(Igt,{enforceArrowVisibility:!Qo.isNativeMobileApp}),n.jsxs("div",Dnt({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[n.jsx("div",{className:"pswp__bg"}),n.jsxs("div",Dnt({className:"pswp__scroll-wrap"},{children:[n.jsxs("div",Dnt({className:"pswp__container"},{children:[n.jsx("div",{className:"pswp__item"}),n.jsx("div",{className:"pswp__item"}),n.jsx("div",{className:"pswp__item"})]})),n.jsxs("div",Dnt({className:"pswp__ui pswp__ui--hidden"},{children:[n.jsxs("div",Dnt({className:"pswp__top-bar"},{children:[n.jsx("div",{className:"pswp__counter"}),n.jsx("button",{className:"pswp__button pswp__button--close",title:s({id:"ImageViewer.closeCaption"})}),n.jsx("button",{className:"pswp__button pswp__button--fs",title:s({id:"ImageViewer.toggleFullscreenCaption"})}),n.jsx("div",Dnt({className:"pswp__preloader"},{children:n.jsx("div",Dnt({className:"pswp__preloader__icn"},{children:n.jsx("div",Dnt({className:"pswp__preloader__cut"},{children:n.jsx("div",{className:"pswp__preloader__donut"})}))}))}))]})),n.jsx("div",Dnt({className:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},{children:n.jsx("div",{className:"pswp__share-tooltip"})})),n.jsx("button",{className:"pswp__button pswp__button--arrow--left",title:s({id:"ImageView.previousCaption"})}),n.jsx("button",{className:"pswp__button pswp__button--arrow--right",title:s({id:"ImageView.nextCaption"})}),n.jsx("div",Dnt({className:"pswp__caption"},{children:n.jsx("div",{className:"pswp__caption__center"})}))]}))]}))]}))]})},Igt=i.createGlobalStyle(Ogt||(Ogt=jnt(["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"],["\n.browser-name-ios-webview {\n .pswp__top-bar {\n padding-top: calc(env(safe-area-inset-top));\n height: calc(initial + env(safe-area-inset-top));\n\n .pswp__counter {\n padding-top: env(safe-area-inset-top);\n }\n }\n}\n\n.pswp__caption__center {\n && {\n text-align: center;\n }\n}\n\n","\n"])),(function(e){return e.enforceArrowVisibility&&i.css(ygt||(ygt=jnt(["\n .pswp--touch .pswp__button--arrow--left,\n .pswp--touch .pswp__button--arrow--right {\n visibility: visible !important;\n }\n "],["\n .pswp--touch .pswp__button--arrow--left,\n .pswp--touch .pswp__button--arrow--right {\n visibility: visible !important;\n }\n "])))})),$gt=function(e){var i=e.images,o=e.imageUrlResolver,a=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,c=RD().formatMessage,u=t.useState(null),d=u[0],p=u[1],f=t.useContext(ipe).theme.palette;if(!i||0===i.length)return null;var h=i.length>4,m=i.length>1,g=i[0];return n.jsxs(jgt,Dnt({"data-multi-images":m,className:l,singleImageHeight:g.height,singleImageWidth:g.width},{children:[n.jsx("div",Dnt({"data-gallery-wrapper":!0},{children:m?n.jsxs(n.Fragment,{children:[n.jsx(Mgt,Dnt({backgroundColor:null!=s?s:f.neutralLight,applyRoundedCorners:!a},{children:i.slice(0,4).map((function(e,t){return n.jsx(Lgt,Dnt({href:e.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),v(t)},"aria-label":c({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:n.jsx(Ngt,{src:e.previewUrl,imageFit:r.ImageFit.centerCover,alt:e.imageTitle||""})}),t)}))})),h&&n.jsxs(Qgt,Dnt({onClick:function(){return v(4)}},{children:["+",i.length-4]}))]}):n.jsx(Rgt,{image:g,onClick:function(){return v(0)},disableRoundedCorners:a})})),n.jsx(Dgt,{images:i,selectedIndex:d,hidden:null==d,onClose:function(){p(null)},imageUrlResolver:o})]}));function v(e){p(e)}},Rgt=function(e){var t=e.image,i=e.onClick,r=e.disableRoundedCorners,o=RD().formatMessage;return n.jsx(zgt,Dnt({href:t.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":o({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:n.jsx("img",{src:t.previewUrl,alt:""})}))},jgt=v.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(_gt||(_gt=jnt(["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"],["\n overflow: hidden;\n width: 100%;\n\n position: relative;\n\n &:after {\n content: '';\n display: block;\n font-size: 0;\n }\n\n > [data-gallery-wrapper] {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &[data-multi-images='false'] {\n [data-gallery-wrapper] {\n display: flex;\n }\n\n ","\n }\n\n &[data-multi-images='true'] {\n &:after {\n padding-bottom: calc(2 / 3 * 100%); // fixed image area aspect ratio 3:2\n }\n }\n"])),(function(e){return e.singleImageWidth&&e.singleImageHeight&&i.css(wgt||(wgt=jnt(["\n &:after {\n // fallback for old browsers - that do not suport min function\n // the image aspect ratio is maintained\n padding-bottom: calc(\n ",'* 100%\n );\n\n // the image can have any aspect ratio from a 1:1 aspect ratio to any wider aspect ratio,\n // but it cannot get "taller" than 1:1\n @supports (padding-bottom: min(100%, ',"px)) {\n padding-bottom: min(\n min(100%, ","px, ","px),\n calc(\n ","*\n min(100%, ","px)\n )\n );\n }\n }\n "],["\n &:after {\n // fallback for old browsers - that do not suport min function\n // the image aspect ratio is maintained\n padding-bottom: calc(\n ",'* 100%\n );\n\n // the image can have any aspect ratio from a 1:1 aspect ratio to any wider aspect ratio,\n // but it cannot get "taller" than 1:1\n @supports (padding-bottom: min(100%, ',"px)) {\n padding-bottom: min(\n min(100%, ","px, ","px),\n calc(\n ","*\n min(100%, ","px)\n )\n );\n }\n }\n "])),e.singleImageHeight/e.singleImageWidth,e.singleImageWidth,e.singleImageHeight,e.singleImageWidth,e.singleImageHeight/e.singleImageWidth,e.singleImageWidth)})),zgt=v.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(kgt||(kgt=jnt(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n height: auto;\n\n max-height: 100%;\n\n overflow: hidden;\n\n // fallback for old browsers\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n width: auto;\n }\n\n img {\n max-width: 100%;\n height: 100%;\n width: 100%;\n\n @supports (height: min(100%, 0px)) {\n height: auto;\n width: auto;\n }\n }\n\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n\n ","\n"])),(function(e){return e.applyRoundedCorners&&i.css(xgt||(xgt=jnt(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),Mgt=v.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(Egt||(Egt=jnt(["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"],["\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n background-color: ",";\n\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 1fr);\n\n // case: gallery with 3 images\n // the first image will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(3) {\n grid-row: auto / span 2;\n }\n\n // case: gallery with 2 images\n // the images will span across the 2 grid tracks (2 rows)\n > a:first-child:nth-last-child(2),\n > a:nth-child(2):last-child {\n grid-row: auto / span 2;\n }\n\n ","\n"])),(function(e){return e.backgroundColor}),(function(e){return e.applyRoundedCorners&&i.css(Sgt||(Sgt=jnt(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),Lgt=v.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(Cgt||(Cgt=jnt(["\n display: block;\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n"],["\n display: block;\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n\n &:focus {\n &::before {\n outline-offset: -10px !important;\n }\n\n img {\n opacity: 0.6;\n }\n }\n"]))),Ngt=v.default(r.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(Pgt||(Pgt=jnt(["\n height: 100%;\n"],["\n height: 100%;\n"]))),Qgt=v.default(r.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(Fgt||(Fgt=jnt(["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n width: auto;\n height: auto;\n color: white;\n background: transparent;\n\n &:hover {\n background: transparent;\n }\n }\n\n position: absolute;\n bottom: 15px;\n right: 15px;\n\n font-size: ","px;\n @media (min-width: ","px) {\n font-size: ","px;\n }\n\n @supports (filter: drop-shadow(0 1px 2px #000000cc)) {\n filter: drop-shadow(0 1px 2px #000000cc);\n }\n\n @supports not (filter: drop-shadow(0 1px 2px #000000cc)) {\n text-shadow: 0 1px 2px #000000cc;\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n width: auto;\n height: auto;\n color: white;\n background: transparent;\n\n &:hover {\n background: transparent;\n }\n }\n\n position: absolute;\n bottom: 15px;\n right: 15px;\n\n font-size: ","px;\n @media (min-width: ","px) {\n font-size: ","px;\n }\n\n @supports (filter: drop-shadow(0 1px 2px #000000cc)) {\n filter: drop-shadow(0 1px 2px #000000cc);\n }\n\n @supports not (filter: drop-shadow(0 1px 2px #000000cc)) {\n text-shadow: 0 1px 2px #000000cc;\n }\n"])),Vse,zse,28);var Bgt,Ugt,qgt,Wgt,Ggt,Vgt,Xgt=function(e){var t=e.icon,i=e.isActive,o=e.disabled,a=e.tooltipResourceKey,s=e.onClick,l=e.link,c=e.className,u=Ant(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=RD().formatMessage;if(!l&&!s)return null;var p=No("header-button",c),f=l?n.jsx(Zgt,Dnt({className:p,to:l},u,{children:n.jsx(r.Icon,{iconName:t})})):n.jsx(Ygt,Dnt({className:p,disabled:o,onClick:function(e){return s(e.currentTarget)},iconProps:{iconName:t},ariaLabel:d({id:a}),"data-button-type":"header-btn",isActive:i},u));return n.jsx(Hgt,Dnt({className:"tooltip-container"},{children:n.jsx($lt,Dnt({resourceKey:a},{children:f}))}))},Hgt=v.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(Bgt||(Bgt=jnt(["\n height: 100%;\n"],["\n height: 100%;\n"]))),Ygt=v.default(r.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(Wgt||(Wgt=jnt(['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"],['\n && {\n display: flex;\n padding: 0 5px;\n background-color: transparent;\n height: 100%;\n margin: 0 -1.5px; // this removes the "gap" between two side by side active buttons\n\n ',";\n ","\n }\n"])),(function(e){return!e.isActive&&i.css(Ugt||(Ugt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&i.css(qgt||(qgt=jnt(["\n background-color: ",";\n color: ",";\n\n &&:hover {\n background-color: ",";\n color: ",";\n }\n "],["\n background-color: ",";\n color: ",";\n\n &&:hover {\n background-color: ",";\n color: ",";\n }\n "])),e.theme.palette.themeSecondary,e.theme.textColors.onSecondary,e.theme.palette.themeSecondary,e.theme.textColors.onSecondary)})),Zgt=v.default(o.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(Vgt||(Vgt=jnt(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return i.css(Ggt||(Ggt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),Kgt="\t\n\v\f\r \u2028\u2029\ufeff",Jgt=nit,evt="[\t\n\v\f\r \u2028\u2029\ufeff]",tvt=RegExp("^"+evt+evt+"*"),nvt=RegExp(evt+evt+"*$"),ivt=function(e){return function(t){var n=String(Jgt(t));return 1&e&&(n=n.replace(tvt,"")),2&e&&(n=n.replace(nvt,"")),n}},rvt={start:ivt(1),end:ivt(2),trim:ivt(3)},ovt=qnt,avt=Kgt,svt=rvt.trim,lvt=function(e){return ovt((function(){return!!avt[e]()||"
"!="
"[e]()||avt[e].name!==e}))};Cot({target:"String",proto:!0,forced:lvt("trim")},{trim:function(){return svt(this)}});var cvt,uvt,dvt,pvt,fvt,hvt,mvt,gvt,vvt,bvt,yvt,Ovt,wvt,_vt,xvt,kvt,Svt,Evt=function(e){var i=e.url,r=e.target,o=e.ariaLabel,a=e.children,s=e.className,l=e.style,c=Ant(e,["url","target","ariaLabel","children","className","style"]);dre();var u=Iue(),d=t.useContext(aA);d.onOpenExternalLink;var p=d.tryGetInternalLink,f=!r&&p(i,u);return f?n.jsx(Hlt,Dnt({className:s,to:f,"data-link":Fse.Internal,"aria-label":o,style:l,dir:"auto"},c,{children:a})):n.jsx(Cvt,Dnt({url:i,target:r,className:s,ariaLabel:o,style:l},c,{children:a}))},Cvt=function(e){var t=e.url,i=e.target,r=e.ariaLabel,o=e.onClick,a=e.className,s=e.children,l=e.style,c=Ant(e,["url","target","ariaLabel","onClick","className","children","style"]);return n.jsx(Xlt,Dnt({href:t,onClick:function(e){return null==o?void 0:o(e)},className:a,target:void 0===i?"_blank":i,rel:"noopener noreferrer","aria-label":r,"data-link":Fse.External,style:l,dir:"auto"},c,{children:s}))},Pvt=i.css(cvt||(cvt=jnt(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n width: 32px;\n text-decoration: none !important;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n width: 32px;\n text-decoration: none !important;\n"]))),Fvt=v.default(Evt).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(uvt||(uvt=jnt(["\n ","\n"],["\n ","\n"])),Pvt),Tvt=v.default(Cvt).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(dvt||(dvt=jnt(["\n ","\n"],["\n ","\n"])),Pvt),Dvt=v.default(r.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(fvt||(fvt=jnt(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&i.css(pvt||(pvt=jnt(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),Avt=v.default((function(e){var t,i=e.iconName,o=e.ariaLabel,a=e.ariaLabelResourceKey,s=e.onClick,l=e.to,c=e.target,u=e.tooltipText,d=e.tooltipResourceKey,p=e.disabled,f=e.className,h=Ant(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=RD().formatMessage,g=o||(null===(t=null==a?void 0:a.trim())||void 0===t?void 0:t.length)>0&&m({id:a});return n.jsxs($lt,Dnt({resourceKey:d,text:u},{children:[l&&!s&&n.jsx(Fvt,Dnt({url:l,ariaLabel:g,target:c},h,{children:n.jsx(r.Icon,{iconName:i,className:f})})),s&&!l&&n.jsx(Dvt,Dnt({disabled:p,iconProps:{iconName:i},onClick:s,className:f,ariaLabel:g},h)),s&&l&&n.jsx(Tvt,Dnt({url:l,target:c,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:n.jsx(r.Icon,{iconName:i,className:f})}))]}))})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(mvt||(mvt=jnt(["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"],["\n background-color: transparent;\n &:not([disabled]) {\n color: ",";\n }\n\n ","\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.isActive&&i.css(hvt||(hvt=jnt(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),Ivt=function(e){var i=e.shouldAutoFocus,r=void 0===i||i,a=RD(),s=t.useState(null),l=s[0],c=s[1],u=o.useLocation(),d=t.useContext(ipe).theme.textColors,p=t.useRef();return t.useEffect((function(){return efe(h),r&&setTimeout((function(){var e;return p&&(null===(e=p.current)||void 0===e?void 0:e.focus())})),function(){tfe(h)}}),[]),t.useEffect((function(){c("")}),[u.pathname]),n.jsxs(jvt,Dnt({className:No("search-field",e.className),useLightTheme:e.useLightTheme},{children:[n.jsx($vt,{className:"search-input",useLightTheme:e.useLightTheme,default:!0,value:l||e.searchText||"",onChange:function(e,t){return f(t)},onKeyDown:function(t){"Enter"===t.key&&e.onExecuteSearch&&e.onExecuteSearch(l);"Escape"===t.key&&f("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:e.placeholder||a.formatMessage({id:"TopBar.search"}),componentRef:function(e){return p.current=e},ariaLabel:a.formatMessage({id:"TopBar.search"}),"data-search-input":!0}),e.searching&&n.jsx(Rvt,{className:"search-spinner"}),n.jsx(zvt,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var t;c(null),null===(t=e.onClear)||void 0===t||t.call(e)},color:!e.useLightTheme&&d.onPrimary})]}));function f(t){var n;c(t),null===(n=e.onChange)||void 0===n||n.call(e,t)}function h(){return!(!l&&!e.searchText)&&(f(""),!0)}},$vt=v.default(r.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(bvt||(bvt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?i.css(gvt||(gvt=jnt(["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "],["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "])),(function(e){return e.theme.textColors.default}),Rht("color: ".concat(e.theme.textColors.default))):i.css(vvt||(vvt=jnt(["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "],["\n .ms-TextField-field {\n color: ",";\n ",";\n }\n "])),(function(e){return e.theme.textColors.onPrimary}),Rht("color: ".concat(e.theme.textColors.onPrimary)))})),Rvt=v.default(r.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(yvt||(yvt=jnt(["\n display: flex;\n align-items: center;\n padding-right: 8px;\n\n color: ",";\n background-color: ",";\n"],["\n display: flex;\n align-items: center;\n padding-right: 8px;\n\n color: ",";\n background-color: ",";\n"])),(function(e){return e.theme.textColors.onPrimary}),(function(e){return e.theme.palette.themeDarker})),jvt=v.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(_vt||(_vt=jnt(["\n flex: 1 1 auto;\n height: 100%;\n\n display: flex;\n flex-flow: row nowrap;\n align-items: stretch;\n\n > .ms-TextField {\n flex: 1 1 auto;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0;\n\n > .ms-TextField-wrapper {\n flex: 1 0 auto;\n\n .ms-TextField-fieldGroup {\n border: none;\n background: none;\n\n > input {\n border: 0;\n height: 100%;\n font-size: 18px;\n\n &::-ms-clear {\n display: none;\n }\n }\n }\n }\n }\n\n input {\n &.ms-TextField-field {\n min-width: 100%;\n width: 30px;\n }\n\n ",";\n }\n\n i {\n display: flex;\n justify-content: space-around;\n flex-flow: row nowrap;\n align-items: center;\n\n margin-right: 1em;\n margin-left: 0.5em;\n cursor: pointer;\n }\n\n button {\n height: 100%;\n margin: 0 4px;\n }\n\n ","\n"],["\n flex: 1 1 auto;\n height: 100%;\n\n display: flex;\n flex-flow: row nowrap;\n align-items: stretch;\n\n > .ms-TextField {\n flex: 1 1 auto;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0;\n\n > .ms-TextField-wrapper {\n flex: 1 0 auto;\n\n .ms-TextField-fieldGroup {\n border: none;\n background: none;\n\n > input {\n border: 0;\n height: 100%;\n font-size: 18px;\n\n &::-ms-clear {\n display: none;\n }\n }\n }\n }\n }\n\n input {\n &.ms-TextField-field {\n min-width: 100%;\n width: 30px;\n }\n\n ",";\n }\n\n i {\n display: flex;\n justify-content: space-around;\n flex-flow: row nowrap;\n align-items: center;\n\n margin-right: 1em;\n margin-left: 0.5em;\n cursor: pointer;\n }\n\n button {\n height: 100%;\n margin: 0 4px;\n }\n\n ","\n"])),Rht("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?i.css(Ovt||(Ovt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):i.css(wvt||(wvt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),zvt=v.default(Blt).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(xvt||(xvt=jnt(["\n align-self: center;\n"],["\n align-self: center;\n"]))),Mvt=function(e){var i=e.onSearchInputFieldVisibilityChanged,r=e.isToolbarMode,o=e.onExecuteSearch,a=e.onSearchTextChange,s=e.searchText,l=e.showSearchBoxInput,c=e.className,u=e.shouldAutoFocus,d=t.useState(!!s),p=d[0],f=d[1],h=l||p||!!s;return t.useEffect((function(){null==i||i(h)}),[h]),n.jsxs(n.Fragment,{children:[h&&n.jsx(Ivt,{onChange:a,onExecuteSearch:o,searchText:s,onClear:function(){null==a||a(""),m(!1)},shouldAutoFocus:u,className:c,useLightTheme:r}),!h&&(r?n.jsx(Avt,{iconName:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"}):n.jsx(Xgt,{icon:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search"}))]});function m(e){f(e),null==i||i(e)}},Lvt=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Nvt=Cit,Qvt=nit,Bvt=Lvt,Uvt=mht;sht("search",1,(function(e,t,n){return[function(t){var n=Qvt(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=Nvt(e),o=String(this),a=r.lastIndex;Bvt(a,0)||(r.lastIndex=0);var s=Uvt(r,o);return Bvt(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]})),v.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(kvt||(kvt=jnt(["\n height: 100%;\n display: flex;\n width: 100%;\n"],["\n height: 100%;\n display: flex;\n width: 100%;\n"]))),function(e){e.ASC="SortUp",e.DESC="SortDown"}(Svt||(Svt={})),v.default(r.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(qvt||(qvt=jnt(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),v.default.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(Vvt||(Vvt=jnt(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?i.css(Wvt||(Wvt=jnt(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):i.css(Gvt||(Gvt=jnt(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),v.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(Xvt||(Xvt=jnt(["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"],["\n text-align: right;\n padding: 10px 5px;\n white-space: nowrap;\n\n :hover {\n cursor: ",";\n }\n\n :first-child {\n text-align: left;\n\n span {\n padding-left: 0;\n padding-right: 15px;\n }\n }\n"])),(function(e){var t=e.isLoading,n=e.disableSort;return t?"wait":n?"default":"pointer"})),v.default.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(Hvt||(Hvt=jnt(["\n text-align: right;\n padding: 2px 5px;\n white-space: ",";\n\n :first-child {\n text-align: left;\n }\n"],["\n text-align: right;\n padding: 2px 5px;\n white-space: ",";\n\n :first-child {\n text-align: left;\n }\n"])),(function(e){return e.noWrap?"nowrap":""}));var qvt,Wvt,Gvt,Vvt,Xvt,Hvt,Yvt,Zvt,Kvt,Jvt=v.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(Yvt||(Yvt=jnt(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));v.default.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(Zvt||(Zvt=jnt(["\n width: 100%;\n border-collapse: collapse;\n\n :hover {\n cursor: ",";\n }\n\n "," {\n transition: opacity 0.1s linear;\n opacity: ",";\n }\n"],["\n width: 100%;\n border-collapse: collapse;\n\n :hover {\n cursor: ",";\n }\n\n "," {\n transition: opacity 0.1s linear;\n opacity: ",";\n }\n"])),(function(e){return e.isLoading?"wait":"default"}),Jvt,(function(e){return e.isLoading?"0.6":"1"})),v.default(qut).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(Kvt||(Kvt=jnt(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var ebt,tbt,nbt=function(e){return n.jsx(ibt,Dnt({},e,{"data-toggle-button":!0}))},ibt=v.default(r.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(ebt||(ebt=jnt(["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-inline-start: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"],["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-inline-start: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.semanticColors.inputBackgroundCheckedHovered})),rbt=function(e){return i.css(tbt||(tbt=jnt(["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: ",";\n left: 100%;\n display: block;\n width: 12px;\n height: 12px;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n background-color: ",";\n }\n "],["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: ",";\n left: 100%;\n display: block;\n width: 12px;\n height: 12px;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n background-color: ",";\n }\n "])),null!=e?e:"3px",(function(e){return e.theme.palette.accent}))};function obt(e,t,n,i){return(i?e.translations[Soe(t)]||e.translations[t.subscription.defaultLanguage]:e.translations[t.preferredUiLanguage]||e.translations[Soe(t)])||e.name||n.formatMessage({id:"Groups.defaultName"})}var abt=sht,sbt=Cit,lbt=Tot,cbt=Lrt,ubt=jrt,dbt=nit,pbt=pht,fbt=mht,hbt=Math.max,mbt=Math.min,gbt=Math.floor,vbt=/\$([$&'`]|\d\d?|<[^>]*>)/g,bbt=/\$([$&'`]|\d\d?)/g,ybt=function(e){return void 0===e?e:String(e)};abt("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=dbt(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var c=sbt(e),u=String(this),d="function"==typeof i;d||(i=String(i));var p=c.global;if(p){var f=c.unicode;c.lastIndex=0}for(var h=[];;){var m=fbt(c,u);if(null===m)break;if(h.push(m),!p)break;""===String(m[0])&&(c.lastIndex=pbt(u,cbt(c.lastIndex),f))}for(var g="",v=0,b=0;b<h.length;b++){m=h[b];for(var y=String(m[0]),O=hbt(mbt(ubt(m.index),u.length),0),w=[],_=1;_<m.length;_++)w.push(ybt(m[_]));var x=m.groups;if(d){var k=[y].concat(w,O,u);void 0!==x&&k.push(x);var S=String(i.apply(void 0,k))}else S=s(y,u,O,w,x,i);O>=v&&(g+=u.slice(v,O)+S,v=O+y.length)}return g+u.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,c=bbt;return void 0!==o&&(o=lbt(o),c=vbt),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var d=gbt(u/10);return 0===d?t:d<=l?void 0===r[d-1]?a.charAt(1):r[d-1]+a.charAt(1):t}c=r[u-1]}return void 0===c?"":c}))}}));var Obt,wbt=zse-$se,_bt=Mse-$se;function xbt(e){if(!e)return!1;var t=e.split("://");if(t.length<2)return!1;var n=t.shift();if("https"!==n&&"http"!==n)return!1;t[0].startsWith("www.")&&(t=t[0].split("^www.").slice(-1));var i=t[0].split(/^(?:\d{1,3}\.){3}\d{1,3}/);if(i.length<2){var r=t[0].split(/^(?:[a-z\d]([a-z\d-]*[a-z\d])*\.?)+[a-z]{2,}/i);if(r.length<2)return!1;t=r.slice(-1)}else t=i.slice(-1);if(!(t=t[0].split(/^:\d+/).slice(-1))[0].length)return!0;var o=t[0].split(/^(?:\/[a-z\d%_.~:#+-]+)*\/?/i);if(o.length<2)return!1;if(!(t=o.slice(-1))[0].length)return!0;if(t[0].startsWith("?")){var a=t[0].split(/^\?[;&a-z\d%_.~+=-]*/i);if(a.length<2)return!1;t=a.slice(-1)}if(t[0].startsWith("#")){var s=t[0].split(/^#[-a-z\d_]*/);if(s.length<2)return!1;t=s.slice(-1)}return!t[0].length||"/"===t[0]}function kbt(e){return e?"https://www.google.com/maps/search/?api=1&".concat(Zy.stringify({query:e})):null}function Sbt(e,t){var n;if(!e.useExternalContent)return null;var i=e.contents[t];return(null==i?void 0:i.active)&&(null==i?void 0:i.externalUrl)?i.externalUrl:null===(n=Object.values(e.contents).find((function(e){return e.active&&e.externalUrl})))||void 0===n?void 0:n.externalUrl}v.default.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(Obt||(Obt=jnt(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n [data-content-toolbar] {\n margin-bottom: 0;\n }\n\n > * {\n margin-top: ","px;\n }\n\n > [data-nothing-found],\n > [data-empty-unread-list] {\n margin-top: auto;\n }\n\n @media all and (max-width: ","px) {\n max-width: calc(100vw - ","px);\n margin-left: ","px;\n margin-right: ","px;\n }\n\n @media all and (min-width: ","px) {\n margin: 0 auto;\n\n > * {\n margin-top: ","px;\n }\n\n max-width: ","px;\n }\n\n @media all and (min-width: ","px) {\n max-width: ","px;\n }\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n [data-content-toolbar] {\n margin-bottom: 0;\n }\n\n > * {\n margin-top: ","px;\n }\n\n > [data-nothing-found],\n > [data-empty-unread-list] {\n margin-top: auto;\n }\n\n @media all and (max-width: ","px) {\n max-width: calc(100vw - ","px);\n margin-left: ","px;\n margin-right: ","px;\n }\n\n @media all and (min-width: ","px) {\n margin: 0 auto;\n\n > * {\n margin-top: ","px;\n }\n\n max-width: ","px;\n }\n\n @media all and (min-width: ","px) {\n max-width: ","px;\n }\n"])),Dse,Bse,Ase,10,10,zse,Ase,wbt,Mse,_bt);var Ebt,Cbt,Pbt,Fbt,Tbt,Dbt=v.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(Cbt||(Cbt=jnt(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"],["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\n );\n\n ","\n\n @media (min-width: ","px) {\n height: calc((","px * (1 / ",")));\n }\n\n @media (min-width: ","px) {\n width: ","px;\n height: 100%;\n }\n\n .video-view-container {\n height: 100%;\n }\n"])),10,Zse,(function(e){return e.showPlaceholder&&i.css(Ebt||(Ebt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),zse,wbt,Zse,Mse,(function(e){return e.defaultWidth||250}));v.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(Fbt||(Fbt=jnt(["\n display: flex;\n align-items: center;\n\n ","\n"],["\n display: flex;\n align-items: center;\n\n ","\n"])),(function(e){return e.isInvalid&&i.css(Pbt||(Pbt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),v.default(r.Icon).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(Tbt||(Tbt=jnt(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),Dse);var Abt,Ibt,$bt,Rbt,jbt,zbt,Mbt,Lbt,Nbt,Qbt,Bbt=function(e){var t=e.enterDuration,i=e.leaveDuration,r=e.children,o=e.style,a=e.className,s=!!t,l=!!i,c="common-opacity-animation_".concat(t,"_").concat(i);return n.jsxs(n.Fragment,{children:[n.jsx(Ubt,{name:c,enterDuration:t,leaveDuration:i}),n.jsx(phe,Dnt({style:o,className:a,transitionName:c,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:t,transitionEnterTimeout:t},{children:r}))]})},Ubt=i.createGlobalStyle(Abt||(Abt=jnt(["\n ."," {\n &-enter, &-apear {\n opacity: 0;\n &-active {\n opacity: 1;\n transition: opacity ","ms ease-in;\n }\n }\n &-leave {\n opacity: 1;\n &-active {\n opacity: 0;\n transition: opacity ","ms ease-in;\n }\n }\n }\n"],["\n ."," {\n &-enter, &-apear {\n opacity: 0;\n &-active {\n opacity: 1;\n transition: opacity ","ms ease-in;\n }\n }\n &-leave {\n opacity: 1;\n &-active {\n opacity: 0;\n transition: opacity ","ms ease-in;\n }\n }\n }\n"])),(function(e){return e.name}),(function(e){return e.enterDuration}),(function(e){return e.leaveDuration})),qbt=function(e){var t=e.finalHeight,i=e.enterDuration,r=e.leaveDuration,o=e.children,a=e.style,s=e.className,l=!!i,c=!!r,u="common-ease-animation_".concat(i,"_").concat(r);return n.jsxs(n.Fragment,{children:[n.jsx(Wbt,{name:u,enterDuration:i,leaveDuration:r,finalHeight:t}),n.jsx(phe,Dnt({style:a,className:s,transitionName:u,transitionAppear:l,transitionEnter:l,transitionLeave:c,transitionLeaveTimeout:r,transitionAppearTimeout:i,transitionEnterTimeout:i},{children:o}))]})},Wbt=i.createGlobalStyle(Ibt||(Ibt=jnt(["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"],["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"])),(function(e){return e.name}),(function(e){return"number"==typeof e.finalHeight?"".concat(e.finalHeight,"px"):e.finalHeight}),(function(e){return e.enterDuration}),(function(e){return"number"==typeof e.finalHeight?"".concat(e.finalHeight,"px"):e.finalHeight}),(function(e){return e.leaveDuration})),Gbt=function(e){var i=e.contentLanguageCode,r=e.originalContent,o=e.content,a=e.onTranslate,s=e.onContentChange,l=e.itemType,c=e.itemId,u=e.tooltipResourceKey,d=e.showLabel,p=RD().formatMessage,f=ure(),h=dre(),m=t.useState(null),g=m[0],v=m[1],b=t.useState(r===o),y=b[0],O=b[1],w=fpe().showError,_=Tle().interaction,x=Soe(f);if(t.useEffect((function(){return v(null)}),[r]),!h.automaticTranslation)return null;var k=p({id:"Generic.translate"});return i&&i!==x&&xoe.includes(x)&&!_oe.includes(x)?n.jsx($lt,Dnt({resourceKey:y?"Generic.translateTo":u,values:{language:p({id:"Generic.languages.".concat(x)})}},{children:n.jsx(Vbt,Dnt({"aria-label":d?null:k,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return Int(this,void 0,void 0,(function(){var e;return $nt(this,(function(t){switch(t.label){case 0:return y?g?(s(g),O(!1),[3,4]):[3,1]:(s(r),O(!0),_({event:sle.translateContent,value:null,action:lle.click,item:{id:c,type:l}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,a(x)];case 2:return e=t.sent(),s(e),v(e),O(!1),[3,4];case 3:return t.sent(),w("Generic.error"),[3,4];case 4:return _({event:sle.translateContent,value:x,itemType:l,action:lle.click,itemId:c,item:{id:c,type:l}}),[2]}}))}))}},{children:d&&k}))})):null},Vbt=v.default(Uct).withConfig({displayName:"AutoTranslateButton__StyledActionButton",componentId:"ke3nk3-0"})($bt||($bt=jnt(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),Xbt=v.default(r.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(Rbt||(Rbt=jnt(["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-input:not(.is-disabled) + label.is-checked {\n &:hover {\n &::before,\n &::after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),Hbt=function(i){var r=i.comment,o=i.showEdit,a=i.showDelete,s=i.onDelete,l=i.isEditMode,c=i.toggleEditMode,u=i.originalContent,d=i.currentContent,p=i.setContent,f=i.handleTranslate,h=i.showAutoTranslate,m=i.onReply,g=i.disabled,v=RD().formatMessage,b=ure(),y=t.useState(!1),O=y[0],w=y[1],_=t.useRef(null);return b.isPublicUser&&!h?null:b.isPublicUser&&h?n.jsx(Gbt,{"data-auto-translate-button":r.id,originalContent:u,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:f,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id}):n.jsxs(n.Fragment,{children:[n.jsx("div",Dnt({ref:_},{children:n.jsx(Zbt,{"data-menu-button":r.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return w(!O)},ariaLabel:v({id:"AriaLabel.contextMenuButton"}),disabled:g})})),O&&n.jsx(Jbt,Dnt({"data-context-menu":!0,target:_.current,onDismiss:function(){return w(!1)}},{children:n.jsxs(Ybt,{children:[n.jsx($lt,Dnt({resourceKey:"Comment.replyButton.tooltip",values:{name:r.sender.displayName}},{children:n.jsx(Kbt,{"data-reply-button":r.id,iconProps:{iconName:"Reply"},onClick:function(){null==m||m(r,r.sender),w(!1)},text:v({id:"Comment.replyButton"})})})),h&&n.jsx(Gbt,{"data-auto-translate-button":r.id,originalContent:u,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:f,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id}),o&&n.jsx($lt,Dnt({resourceKey:"Comment.edit.tooltip"},{children:n.jsx(Kbt,{"data-edit-button":r.id,iconProps:{iconName:"Edit"},onClick:function(){c(!0),w(!1)},text:v({id:"Generic.edit"}),disabled:!r.id||l})})),a&&n.jsx($lt,Dnt({resourceKey:"Comment.delete.tooltip"},{children:n.jsx(Kbt,{"data-delete-button":r.id,iconProps:{iconName:"Delete"},onClick:function(){s(r),w(!1)},text:v({id:"Generic.Delete"}),disabled:!r.id||l})}))]})}))]})},Ybt=v.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(jbt||(jbt=jnt(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),Zbt=v.default(Blt).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(zbt||(zbt=jnt(["\n && {\n width: auto;\n padding: 0 24px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"],["\n && {\n width: auto;\n padding: 0 24px;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"])),20),Kbt=v.default(Uct).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(Mbt||(Mbt=jnt(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),Jbt=v.default(Xct).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(Lbt||(Lbt=jnt(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),Dse);v.default(r.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(Nbt||(Nbt=jnt(["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"],["\n padding: 0 12px;\n\n i {\n margin: 0 8px 0 0;\n }\n"]))),v.default(r.DefaultButton).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(Qbt||(Qbt=jnt(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var eyt,tyt,nyt,iyt,ryt,oyt=v.default(r.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(eyt||(eyt=jnt(["\n && {\n padding: ","px;\n color: ",";\n\n &:hover {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 14px;\n }\n }\n"],["\n && {\n padding: ","px;\n color: ",";\n\n &:hover {\n color: ",";\n }\n\n &:disabled {\n background-color: transparent;\n }\n\n i {\n font-size: 14px;\n }\n }\n"])),6,(function(e){return e.theme.textColors.default}),(function(e){return e.theme.textColors.default})),ayt=function(e){var i=e.toggleAll,r=e.className,o=t.useContext(ipe).theme.palette.accent;return n.jsxs(syt,Dnt({className:r},{children:[n.jsx(lyt,Dnt({onClick:function(){return i(!0)},"data-button-toggle":"selectAll",color:o},{children:n.jsx(tA,{id:"Generic.SelectAll"})})),n.jsx(lyt,Dnt({onClick:function(){return i(!1)},"data-button-toggle":"clearAll",color:o},{children:n.jsx(tA,{id:"Generic.ClearAll"})}))]}))},syt=v.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(tyt||(tyt=jnt(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),Dse),lyt=v.default(Uct).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(nyt||(nyt=jnt(["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"],["\n && {\n height: 20px;\n padding-left: 0;\n padding-right: 8px;\n font-size: 10pt;\n }\n"])));v.default((function(e){var t=e.iconName,i=e.textKey,a=Ant(e,["iconName","textKey"]);return n.jsxs(o.NavLink,Dnt({},a,{children:[t&&n.jsx(r.Icon,{iconName:t}),n.jsx(tA,{id:i})]}))})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(iyt||(iyt=jnt(["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"],["\n && {\n font-size: initial;\n font-weight: bold;\n margin: 0 0 ","px 0;\n\n display: flex;\n align-items: center;\n align-self: flex-start;\n\n color: ",";\n }\n\n > i {\n padding-right: 8px;\n }\n"])),Dse,(function(e){return e.theme.palette.accent})),v.default(Blt).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(ryt||(ryt=jnt([""],[""])));var cyt,uyt,dyt,pyt,fyt=function(e){var i=e.language,r=e.channel,o=e.role,a=e.className,s=ure(),l=t.useContext(Ppe).channels,c=gyt(function(){if(!l)return r;return l.find((function(e){return e.id===r.id||e.name===r.name}))}(),s,i);return n.jsx(hyt,Dnt({title:c,className:a,role:o,dir:"auto"},{children:c}))},hyt=v.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(cyt||(cyt=jnt(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),myt=function(e){var t=e.channels,i=e.language;return n.jsx(n.Fragment,{children:t.map((function(e,t){return n.jsxs("span",{children:[t>0&&", ",n.jsx(fyt,{channel:e,language:i})]},e.id)}))})};function gyt(e,t,n){if(null==e)return null;n||(n=Soe(t));var i=e.translations||{};return n&&i[n]||i[t.subscription.defaultLanguage]||e.name}v.default(fyt).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(uyt||(uyt=jnt(["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"],["\n margin-left: ","px;\n flex: 1 1 auto;\n font-size: ",";\n font-weight: bold;\n"])),(function(e){return e.applyMargin?"37":"0"}),Gse),v.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(dyt||(dyt=jnt(["\n display: flex;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n min-height: 62px;\n padding: ","px ","px;\n\n ","\n\n .channel-drag-source {\n display: flex;\n align-items: center;\n flex: 0 0 auto;\n margin-right: 12px;\n\n i {\n font-size: ","px;\n }\n }\n"],["\n display: flex;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n min-height: 62px;\n padding: ","px ","px;\n\n ","\n\n .channel-drag-source {\n display: flex;\n align-items: center;\n flex: 0 0 auto;\n margin-right: 12px;\n\n i {\n font-size: ","px;\n }\n }\n"])),Dse,15,$ht(2,2),Gse),v.default(Blt).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(pyt||(pyt=jnt(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),Gse);var vyt,byt,yyt,Oyt,wyt,_yt,xyt,kyt,Syt,Eyt=function(e){var t=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.visibleChannelsCount,a=void 0===o?3:o,s=e.onChannelClick,l=e.className;if(!t||0===t.length)return null;var c=t.length>a;return n.jsxs(Fyt,Dnt({className:l,"data-has-more-indicator":c},{children:[n.jsx(Cyt,{channels:t.slice(0,a),language:i,channelStyleDefinition:r,onChannelClick:s}),c&&n.jsx(Pyt,{channels:t.slice(a),language:i,styleDefinition:r,onChannelClick:s})]}))},Cyt=function(e){var t=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.onChannelClick;return n.jsx(Tyt,Dnt({"data-channels":!0},{children:t.map((function(e){var a=n.jsx(fyt,{channel:e,language:i});return o?n.jsx(Dyt,Dnt({bubbleCount:t.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return o(e)},"data-rounded-outline":!0},{children:a}),e.id):n.jsx(Ayt,Dnt({bubbleCount:t.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:a}),e.id)}))}))},Pyt=function(e){var i=e.channels,r=e.language,o=e.styleDefinition,a=e.onChannelClick,s=t.useRef(),l=t.useState(!1),c=l[0],u=l[1];return n.jsxs($yt,Dnt({ref:s},{children:[n.jsx(Ryt,Dnt({onClick:function(){return u(!0)},backgroundColor:null==o?void 0:o.backgroundColor,color:null==o?void 0:o.color,"data-channels-indicator":!0},{children:"+".concat(i.length)})),c&&n.jsx(jyt,Dnt({target:s.current,onDismiss:function(){return u(!1)}},{children:n.jsx(zyt,{children:i.map((function(e){return n.jsx("li",{children:a?n.jsx(Uct,Dnt({onClick:function(){return a(e)}},{children:n.jsx(fyt,{channel:e,language:r})})):n.jsx(fyt,{channel:e,language:r})},e.id)}))})}))]}))},Fyt=v.default.div.withConfig({displayName:"ChannelList__Host",componentId:"sc-3nkw9-0"})(vyt||(vyt=jnt(["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),6),Tyt=v.default.div.withConfig({displayName:"ChannelList__ChannelsHost",componentId:"sc-3nkw9-1"})(byt||(byt=jnt(["\n display: flex;\n align-items: center;\n gap: ","px;\n"],["\n display: flex;\n align-items: center;\n gap: ","px;\n"])),6),Dyt=v.default(Uct).withConfig({displayName:"ChannelList__ClickableChannelTitle",componentId:"sc-3nkw9-2"})(yyt||(yyt=jnt(["\n z-index: 1;\n height: inherit;\n padding: 0;\n\n ","\n span {\n width: 100%;\n }\n"],["\n z-index: 1;\n height: inherit;\n padding: 0;\n\n ","\n span {\n width: 100%;\n }\n"])),(function(e){return Iyt(e.bubbleCount,e.backgroundColor,e.color)})),Ayt=v.default.span.withConfig({displayName:"ChannelList__StyledChannelTitle",componentId:"sc-3nkw9-3"})(Oyt||(Oyt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){return Iyt(e.bubbleCount,e.backgroundColor,e.color)})),Iyt=function(e,t,n){return i.css(wyt||(wyt=jnt(["\n width: fit-content;\n\n ","\n\n ","\n "],["\n width: fit-content;\n\n ","\n\n ","\n "])),e&&"\n max-width: calc(\n (100% - ".concat(6*(e-1),"px) / ").concat(e,"\n );"),Rlt({backgroundColor:t,color:n}))},$yt=v.default.div.withConfig({displayName:"ChannelList__IndicatorHost",componentId:"sc-3nkw9-4"})(_yt||(_yt=jnt([""],[""]))),Ryt=v.default(Uct).withConfig({displayName:"ChannelList__Indicator",componentId:"sc-3nkw9-5"})(xyt||(xyt=jnt(["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"],["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"])),(function(e){return Rlt({backgroundColor:e.backgroundColor,color:e.color,inlinePadding:8})})),jyt=v.default(Xct).withConfig({displayName:"ChannelList__StyledCallout",componentId:"sc-3nkw9-6"})(kyt||(kyt=jnt(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),zyt=v.default.ul.withConfig({displayName:"ChannelList__CalloutList",componentId:"sc-3nkw9-7"})(Syt||(Syt=jnt(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),Myt=function(e){var t=e.channels,i=e.buildChannelFilterUrl,r=e.language,o=e.channelBackgroundColor,a=e.onClick,s=e.className;return(null==t?void 0:t.length)?n.jsx(nOt,Dnt({className:s,"data-channels":t.map((function(e){return e.name})).join(",")},{children:t.map((function(e){var t=n.jsx(rOt,Dnt({backgroundColor:o},{children:n.jsx(fyt,{channel:e,language:r})}));return n.jsxs(iOt,{children:[i&&n.jsx(oOt,Dnt({"data-channel":!0,to:i(Lyt(e)?e.name:e),"data-rounded-outline":!0},{children:t})),a&&n.jsx(sOt,Dnt({"data-rounded-outline":!0,onClick:function(){return Lyt(e)?a(e.name,e):a(e)}},{children:t})),!a&&!i&&n.jsx(aOt,{children:t})]},e.id)}))})):null};function Lyt(e){return null!=e.id}var Nyt,Qyt,Byt,Uyt,qyt,Wyt,Gyt,Vyt,Xyt,Hyt,Yyt,Zyt,Kyt,Jyt,eOt,tOt,nOt=v.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(Nyt||(Nyt=jnt(["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n\n span {\n white-space: break-spaces;\n }\n }\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n font-size: ","px;\n\n &&& {\n margin: 0;\n padding: 0;\n list-style: none;\n\n li {\n margin: 0;\n\n span {\n white-space: break-spaces;\n }\n }\n }\n"])),Hse),iOt=v.default.li.withConfig({displayName:"ClickableChannelTitles__ChannelItem",componentId:"sc-1a7ny18-1"})(Qyt||(Qyt=jnt(["\n &:last-child > * {\n margin-inline: 0;\n }\n"],["\n &:last-child > * {\n margin-inline: 0;\n }\n"]))),rOt=v.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-2"})(Byt||(Byt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?Rlt({backgroundColor:e.backgroundColor}):Rlt()})),oOt=v.default(o.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-3"})(Uyt||(Uyt=jnt(["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"],["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"])),(function(e){return e.theme.textColors.default}),6),aOt=v.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-4"})(qyt||(qyt=jnt(["\n display: block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"],["\n display: block;\n margin-block: 2px;\n\n margin-inline: 0 ","px;\n"])),6),sOt=v.default(Uct).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-5"})(Wyt||(Wyt=jnt(["\n height: auto;\n padding: 0;\n margin-block: 2px;\n margin-inline: 0 ","px;\n"],["\n height: auto;\n padding: 0;\n margin-block: 2px;\n margin-inline: 0 ","px;\n"])),6),lOt=function(e){var t=e.searchText,i=e.onSearchTextChange,r=e.onExecuteSearch,o=e.onSearchIconClick,a=e.onSearchInputFieldVisibilityChanged;return n.jsxs(n.Fragment,{children:[n.jsx(cOt,{children:n.jsx(Mvt,{searchText:t,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:a,isToolbarMode:!0})}),n.jsx(uOt,{children:n.jsx(Avt,{iconName:"Search",onClick:o,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"})})]})},cOt=v.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(Gyt||(Gyt=jnt(["\n display: flex;\n justify-content: flex-end;\n max-width: 300px;\n flex-grow: 1;\n @media (max-width: ","px) {\n display: none;\n }\n"],["\n display: flex;\n justify-content: flex-end;\n max-width: 300px;\n flex-grow: 1;\n @media (max-width: ","px) {\n display: none;\n }\n"])),Use),uOt=v.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(Vyt||(Vyt=jnt(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),Mse),dOt=function(e){var i=e.leftSide,r=e.hideLeftSide,o=e.rightSide,a=e.hideRightSide,s=e.search,l=e.className,c=e.children,u=t.useState(!1),d=u[0],p=u[1];return n.jsxs(pOt,Dnt({className:l,"data-content-toolbar":!0},{children:[n.jsxs(mOt,{children:[i&&!r&&n.jsx(fOt,{children:i}),(o||s)&&!a&&n.jsxs(hOt,{children:[s&&n.jsx(lOt,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?f():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}}),o]})]}),c,s&&d&&n.jsx(gOt,{children:n.jsx(Ivt,{onClear:f,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0})})]}));function f(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),p(!1)}},pOt=v.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(Xyt||(Xyt=jnt(["\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n justify-content: center;\n background-color: ",";\n box-shadow: 1px 1px 4px grey;\n padding: ","px;\n min-height: 36px;\n\n // min-width required if you want to use overflow:hidden or similar stuff on parent elements\n // see: https://stackoverflow.com/questions/43809612/prevent-a-child-element-from-overflowing-its-parent-in-flexbox\n min-width: 0;\n"],["\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n justify-content: center;\n background-color: ",";\n box-shadow: 1px 1px 4px grey;\n padding: ","px;\n min-height: 36px;\n\n // min-width required if you want to use overflow:hidden or similar stuff on parent elements\n // see: https://stackoverflow.com/questions/43809612/prevent-a-child-element-from-overflowing-its-parent-in-flexbox\n min-width: 0;\n"])),(function(e){return e.theme.palette.white}),3),fOt=v.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(Hyt||(Hyt=jnt(["\n display: flex;\n\n flex-wrap: nowrap;\n flex: 1 1 auto;\n\n min-width: 0;\n"],["\n display: flex;\n\n flex-wrap: nowrap;\n flex: 1 1 auto;\n\n min-width: 0;\n"]))),hOt=v.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(Yyt||(Yyt=jnt(["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n flex: 1 1 auto;\n"],["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n flex: 1 1 auto;\n"]))),mOt=v.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(Zyt||(Zyt=jnt(["\n display: flex;\n flex: 1 1 auto;\n\n min-width: 0;\n"],["\n display: flex;\n flex: 1 1 auto;\n\n min-width: 0;\n"]))),gOt=v.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(Kyt||(Kyt=jnt(["\n display: flex;\n width: 100%;\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n display: flex;\n width: 100%;\n @media (min-width: ","px) {\n display: none;\n }\n"])),Mse);v.default(dOt).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(Jyt||(Jyt=jnt(["\n margin-top: ","px;\n margin-bottom: ","px;\n\n flex: 0 0 auto;\n\n @media (min-width: ","px) {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n"],["\n margin-top: ","px;\n margin-bottom: ","px;\n\n flex: 0 0 auto;\n\n @media (min-width: ","px) {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n"])),Dse,Dse,Mse,Ase,Ase),v.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(eOt||(eOt=jnt(["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n line-height: 1.5em;\n span {\n flex: 1 1 100%;\n }\n"]))),v.default.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(tOt||(tOt=jnt([""],[""])));var vOt,bOt,yOt,OOt,wOt,_Ot,xOt,kOt,SOt,EOt,COt,POt=function(e){var i=e.onEmojiSelected,o=e.disabled,a=t.useRef(null),s=t.useState(!1),l=s[0],c=s[1],u=RD().formatMessage;return n.jsxs(n.Fragment,{children:[n.jsx(FOt,Dnt({ref:a},{children:n.jsx(Blt,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return c(!0)},disabled:o,ariaLabel:u({id:"AriaLabel.emojiButton"})})})),l&&n.jsx(TOt,Dnt({directionalHint:r.DirectionalHint.topCenter,target:a.current,onDismiss:function(){return c(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:n.jsx(AOt,{onSelect:function(e){c(!1),i(e.native)}})}))]})},FOt=v.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(vOt||(vOt=jnt([""],[""]))),TOt=v.default(Xct).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(bOt||(bOt=jnt(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),DOt=t.lazy((function(){return Promise.resolve().then((function(){return EJr}))})),AOt=function(e){var i=e.onSelect,r=Sj();return n.jsx(t.Suspense,Dnt({fallback:n.jsx(IOt,Dnt({isSmaller:r.width<zse},{children:n.jsx(qut,{})}))},{children:n.jsx(DOt,{onSelect:i})}))},IOt=v.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(yOt||(yOt=jnt(["\n // we set an initial width which is similar to what the emoji picker will be once it's loaded\n // we have to do this so the callout is rendered in the correct place\n width: ","px;\n height: 400px;\n"],["\n // we set an initial width which is similar to what the emoji picker will be once it's loaded\n // we have to do this so the callout is rendered in the correct place\n width: ","px;\n height: 400px;\n"])),(function(e){return e.isSmaller?319:400})),$Ot=function(){var e=hh();return n.jsx(ROt,{children:n.jsx("a",Dnt({href:"https://giphy.com",target:"_blank",rel:"noreferrer"},{children:n.jsx("img",{src:"".concat(e.webAppUrl,"/assets/giphy/PoweredBy_200px-White_HorizText.png"),alt:"Giphy Attribution"})}))})},ROt=v.default.div.withConfig({displayName:"GiphyAttribution__AttributionHost",componentId:"wzd9dv-0"})(OOt||(OOt=jnt(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),jOt=function(e){var i,o,a=e.onGifClick,s=e.className,l=Ph(),c=RD().formatMessage,u=new Eve.GiphyFetch(l.giphy.apiKey),d=t.useState(null),p=d[0],f=d[1],h=STe(p,500)[0],m=Sj(),g=kj((function(){if(!h)return u.trending({limit:21});return u.search(h,{limit:21})}),null,[h]),v=g[0],b=g[1],y=m.width<550?80:100;return n.jsxs(zOt,Dnt({className:s},{children:[n.jsx(r.SearchBox,{placeholder:c({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return f(t)},autoFocus:!0}),n.jsxs(MOt,Dnt({columnWidth:y,"data-gif-grid":!0},{children:[b&&n.jsx(qut,{delay:300}),0===(null===(i=null==v?void 0:v.data)||void 0===i?void 0:i.length)&&n.jsx(tA,{id:"Generic.noResultsFound"}),null===(o=null==v?void 0:v.data)||void 0===o?void 0:o.map((function(e){return n.jsx(LOt,{gif:e,width:y,height:y,noLink:!0,hideAttribution:!0,onGifClick:a},e.id)}))]}))]}))},zOt=v.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(wOt||(wOt=jnt(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),MOt=v.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(_Ot||(_Ot=jnt(["\n margin-top: ","px;\n display: grid;\n grid-template-columns: repeat(auto-fit, ","px);\n grid-gap: ","px;\n justify-content: space-around;\n"],["\n margin-top: ","px;\n display: grid;\n grid-template-columns: repeat(auto-fit, ","px);\n grid-gap: ","px;\n justify-content: space-around;\n"])),Dse,(function(e){return e.columnWidth}),6),LOt=v.default(fhe.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(xOt||(xOt=jnt(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),NOt=function(e){var t=e.target,i=e.onGifClick,o=e.onDismiss;return n.jsxs(QOt,Dnt({directionalHint:r.DirectionalHint.topCenter,target:t,onDismiss:o,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[n.jsx(BOt,{onGifClick:i}),n.jsx($Ot,{})]}))},QOt=v.default(Xct).withConfig({displayName:"GifSelectorCallout__StyledCallout",componentId:"zlblkl-0"})(kOt||(kOt=jnt(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),BOt=v.default(jOt).withConfig({displayName:"GifSelectorCallout__StyledGifSelector",componentId:"zlblkl-1"})(SOt||(SOt=jnt(["\n & [data-gif-grid] {\n overflow-y: auto;\n height: 400px;\n }\n"],["\n & [data-gif-grid] {\n overflow-y: auto;\n height: 400px;\n }\n"])));i.createGlobalStyle(EOt||(EOt=jnt(["\n .lt-reach.dialog-gif-selector {\n .ms-Dialog-main {\n width: 400px !important;\n\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n}\n"],["\n .lt-reach.dialog-gif-selector {\n .ms-Dialog-main {\n width: 400px !important;\n\n @media (max-width: ","px) {\n width: 100% !important;\n }\n }\n}\n"])),Bse),v.default(jOt).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(COt||(COt=jnt(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Dse);var UOt,qOt,WOt,GOt,VOt,XOt,HOt=function(e){var i=e.disabled,r=e.onGifClick,o=dre(),a=RD().formatMessage,s=t.useRef(),l=t.useState(!1),c=l[0],u=l[1];return o.giphy?n.jsxs("div",{children:[n.jsx("div",Dnt({ref:s},{children:n.jsx(Blt,{iconProps:{iconName:"Gif"},onClick:function(){return u(!0)},disabled:i,"data-button-type":"gif",ariaLabel:a({id:"AriaLabel.gifButton"})})})),c&&n.jsx(n.Fragment,{children:n.jsx(NOt,{target:s.current,onGifClick:function(e){u(!1),r({id:e.id.toString(),filename:e.title,url:e.embed_url,type:zre.Giphy})},onDismiss:function(){return u(!1)}})})]}):null},YOt=function(e){var i=e.gifInfo,r=e.className,o=Ph(),a=t.useState(),s=a[0],l=a[1];return t.useEffect((function(){new Eve.GiphyFetch(o.giphy.apiKey).gif(i.id).then((function(e){return l(e.data)}))}),[o.giphy.apiKey,i.id]),s?n.jsx(ZOt,Dnt({className:r},{children:n.jsx(KOt,{gif:s,width:300,noLink:!0,hideAttribution:!0})})):null},ZOt=v.default.div.withConfig({displayName:"GifView__Host",componentId:"bfkyy5-0"})(UOt||(UOt=jnt([""],[""]))),KOt=v.default(fhe.Gif).withConfig({displayName:"GifView__StyledGif",componentId:"bfkyy5-1"})(qOt||(qOt=jnt(["\n && {\n max-width: 100%;\n }\n\n @media (max-width: ","px) {\n /* because the style is inline set we need to overwrite it via !important */\n width: auto !important;\n height: auto !important;\n > div {\n width: auto !important;\n height: auto !important;\n\n img {\n max-width: 100%;\n height: auto;\n }\n }\n }\n"],["\n && {\n max-width: 100%;\n }\n\n @media (max-width: ","px) {\n /* because the style is inline set we need to overwrite it via !important */\n width: auto !important;\n height: auto !important;\n > div {\n width: auto !important;\n height: auto !important;\n\n img {\n max-width: 100%;\n height: auto;\n }\n }\n }\n"])),Bse),JOt=function(e){var t=e.attachments,i=e.onDeleteClick,r=e.className,o=RD().formatMessage,a=t.filter((function(e){return e.type===zre.Giphy}));return 0===a.length?null:n.jsx(ewt,Dnt({className:r,"data-gif-attachment-list":!0},{children:a.map((function(e){return n.jsx(twt,Dnt({domIdentifier:"gif",deleteButton:n.jsx(oyt,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})})},{children:n.jsx(YOt,{gifInfo:e})}),e.id)}))}))},ewt=v.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(WOt||(WOt=jnt(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),twt=v.default(Lct).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(GOt||(GOt=jnt(["\n width: auto;\n"],["\n width: auto;\n"]))),nwt=function(e){var t=e.attachments,i=e.className,r=t.filter((function(e){return e.type===zre.Giphy}));return 0===r.length?null:n.jsx(iwt,Dnt({className:i,"data-gif-url-preview":r[0].id},{children:n.jsx(rwt,{children:n.jsx(YOt,{gifInfo:r[0]})})}))},iwt=v.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(VOt||(VOt=jnt(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),rwt=v.default(Lct).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(XOt||(XOt=jnt(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),Dse);var owt,awt,swt,lwt=function(e){var i,o,a=t.useRef(null),s=t.useState(!1),l=s[0],c=s[1];return n.jsxs(cwt,Dnt({className:e.className},((i={})[e.dataAttribute]=!0,i),{ref:a},{children:[n.jsx(uwt,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return Int(this,void 0,void 0,(function(){var t,n;return $nt(this,(function(i){switch(i.label){case 0:return(t=e.disabled)?[3,3]:(n=e.onIconClick)?[4,e.onIconClick()]:[3,2];case 1:n=i.sent(),i.label=2;case 2:t=n,i.label=3;case 3:return t||c(!l),[2]}}))}))},ariaLabel:e.ariaLabel,disabled:e.disabled}),l&&n.jsx(dwt,Dnt({className:"icon-with-callout-content",target:a,directionalHint:null==e.directionalHint?r.DirectionalHint.rightCenter:e.directionalHint,gapSpace:4,onDismiss:function(){var t;c(!1),null===(t=e.onCalloutDismissed)||void 0===t||t.call(e)},calloutWidth:null!==(o=e.calloutWidth)&&void 0!==o?o:0},{children:e.children}))]}))},cwt=v.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(owt||(owt=jnt(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),uwt=v.default(Blt).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(awt||(awt=jnt(["\n width: auto;\n height: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n"],["\n width: auto;\n height: auto;\n padding: 0;\n\n &[disabled] {\n background: transparent;\n }\n"]))),dwt=v.default(Xct).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(swt||(swt=jnt(["\n && {\n font-family: 'Roboto', sans-serif;\n padding: 10px;\n max-width: 700px !important;\n\n h2 {\n margin: 10px;\n }\n }\n"],["\n && {\n font-family: 'Roboto', sans-serif;\n padding: 10px;\n max-width: 700px !important;\n\n h2 {\n margin: 10px;\n }\n }\n"]))),pwt="video-view-container";function fwt(e,t){return void 0===t&&(t=!1),null==e||0===e.trim().length||t&&function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.innerText.trim().length&&null===t.querySelector("div")}(e)}var hwt,mwt,gwt,vwt,bwt,ywt,Owt,wwt,_wt,xwt=function(e){var i=e.onNextClick,r=e.onPrevClick,o=e.onFirstClick,a=e.hidePrevButton,s=e.hideNextButton,l=e.isLoadingNextPage,c=e.className,u=RD().formatMessage,d=t.useContext(ipe).theme.palette;return s&&a?null:n.jsxs(kwt,Dnt({className:c},{children:[n.jsx($lt,Dnt({resourceKey:"Lib.paging.goToFirstPage"},{children:n.jsx(Ewt,{ariaLabel:u({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:a,onClick:o,color:d.accent,"data-horizontal-pager-first-page-button":!0})})),n.jsx(Cwt,{iconProps:{iconName:"ChevronLeftSmall"},text:u({id:"Generic.previous.page.button.text"}),isHidden:a,onClick:r,color:d.accent,"data-horizontal-pager-back-button":!0}),n.jsx(Pwt,{iconProps:{iconName:"ChevronRightSmall"},text:u({id:"Generic.next.page.button.text"}),disabled:l,isHidden:s,onClick:i,color:d.accent,"data-horizontal-pager-more-button":!0})]}))},kwt=v.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(hwt||(hwt=jnt(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),Ase),Swt=v.default(Uct).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(gwt||(gwt=jnt(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&i.css(mwt||(mwt=jnt(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),Ewt=v.default(Swt).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(vwt||(vwt=jnt([""],[""]))),Cwt=v.default(Swt).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(bwt||(bwt=jnt([""],[""]))),Pwt=v.default(Swt).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(ywt||(ywt=jnt(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));v.default.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(Owt||(Owt=jnt(["\n margin: 0;\n text-align: center;\n color: ",";\n"],["\n margin: 0;\n text-align: center;\n color: ",";\n"])),(function(e){return e.theme.palette.neutralSecondary})),v.default.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(wwt||(wwt=jnt(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),Rse),v.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(_wt||(_wt=jnt(["\n height: ","px;\n"],["\n height: ","px;\n"])),Ase);var Fwt=Knt,Twt=Array.isArray||function(e){return"Array"==Fwt(e)},Dwt=Twt,Awt=Lrt,Iwt=idt,$wt=function(e,t,n,i,r,o,a,s){for(var l,c=r,u=0,d=!!a&&Iwt(a,s,3);u<i;){if(u in n){if(l=d?d(n[u],u,t):n[u],o>0&&Dwt(l))c=$wt(e,t,l,Awt(l.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=l}c++}u++}return c},Rwt=$wt,jwt=ait,zwt=Twt,Mwt=_at("species"),Lwt=Rwt,Nwt=Tot,Qwt=Lrt,Bwt=Pot,Uwt=function(e,t){var n;return zwt(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!zwt(n.prototype)?jwt(n)&&null===(n=n[Mwt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function qwt(e,n,i){var r=function(e){var n=t.useState(0),i=n[0],r=n[1],o=t.useState({pages:{},paginationToken:null,hasNextPage:!0}),a=o[0],s=o[1];return{state:a,setInitialPages:function(e,t,n){s({pages:{0:Rnt([],e||[],!0)},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){s((function(r){var o;return{pages:PTe(r.pages,(o={},o[e]={$set:t},o)),paginationToken:n,hasNextPage:i}}))},lastFetchedPageIndex:i,updateLastFetchedPageIndex:function(t){r(t?e*t:function(t){return t+e})},updateItem:function(e,t){s((function(n){for(var i=Dnt({},n.pages),r=Object.keys(i).length,o=0;o<r;){var a=Object.keys(i)[o++],s=i[a];if(s.find((function(t){return t.id===e}))){i[a]=s.map((function(n){return n.id===e?t:n}));break}}return Dnt(Dnt({},n),{pages:i})}))},insertToTheFront:function(t){for(var n,o,l=Rnt([t],(null===(n=a.pages)||void 0===n?void 0:n[0])||[],!0),c=Dnt(Dnt({},a.pages),{0:l}),u=Object.keys(c).length,d=0;d<u;){var p=0===d,f=Object.keys(c)[d],h=c[f].length;if(p&&h>e&&h<=2*e){i<2*e&&r(i+e);break}if(h<=e)break;var m=c[f].pop(),g=null!==(o=Object.keys(c)[d+1])&&void 0!==o?o:p?2*e:+f+e,v=c[g];if(!v){a.hasNextPage||(c[g]=[m],r(i+e));break}v.unshift(m),d++}s(Dnt(Dnt({},a),{pages:c}))},deleteItem:function(t){for(var n=Dnt({},a.pages),o=Object.keys(n).length,l=0;l<o;){var c=Object.keys(n)[l],u=n[c].find((function(e){return e.id===t}));if(u){n[c]=n[c].filter((function(e){return e.id!==t}));break}l++}for(var d=!1;l<o;){if(!n[c=Object.keys(n)[l++]].length&&l===o){delete n[c],d=!0;break}var p=Object.keys(n)[l],f=p?n[p]:null;if(!f)break;var h=f.shift();n[c].push(h)}s(Dnt(Dnt({},a),{pages:n}));var m=(d||n[0].length===e)&&i>e;return m&&r(i-e),m}}}(e),o=r.state,a=r.setInitialPages,s=r.updatePageItems,l=r.lastFetchedPageIndex,c=r.updateLastFetchedPageIndex,u=r.updateItem,d=r.insertToTheFront,p=r.deleteItem,f=t.useState(0),h=f[0],m=f[1],g=t.useState(!0),v=g[0],b=g[1],y=t.useState(!1),O=y[0],w=y[1],_=t.useState(null),x=_[0],k=_[1];t.useEffect((function(){E()}),Rnt([e],i||[],!0));var S=Object.keys(o.pages).flatMap((function(e){return o.pages[e]})).slice(h-e,h);return{items:S,isInitialLoading:v,isLoadingNextPage:O,error:x,getFirstPage:function(){return m(e)},getPrevPage:function(){return m(h-e)},getNextPage:function(){return Int(this,void 0,void 0,(function(){return $nt(this,(function(t){switch(t.label){case 0:return m(h+e),o.hasNextPage&&h===l-e?[4,C(o.paginationToken)]:[3,2];case 1:t.sent(),c(),t.label=2;case 2:return[2]}}))}))},isFirstPage:h===e,isLastPage:h===l&&!o.hasNextPage,isEmpty:!v&&0===(null==S?void 0:S.length),insertToTheFront:d,updateItem:u,onBeforeDeleteItem:function(t){var n=p(t);!o.hasNextPage&&n&&h>=l&&h>0&&m(h-e);w(!0)},onAfterDeleteItem:function(){return Int(this,void 0,void 0,(function(){return $nt(this,(function(t){switch(t.label){case 0:return o.hasNextPage?o.paginationToken!==2*e?[3,2]:[4,E()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,C(+o.paginationToken-e)];case 3:t.sent(),c(),t.label=4;case 4:return w(!1),[2]}}))}))}};function E(){return Int(this,void 0,void 0,(function(){var t,i;return $nt(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,3,4]),[4,n(2*e,null)];case 1:return t=r.sent(),a(t.items,t.paginationToken,t.hasNextPage),t.items.length<=e?(c(1),m(e)):(c(2),m(e)),[3,4];case 2:return i=r.sent(),sO.error(i),k(i),[3,4];case 3:return b(!1),[7];case 4:return[2]}}))}))}function C(t){return Int(this,void 0,void 0,(function(){var i,r;return $nt(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),w(!0),[4,n(e,t)];case 1:return i=o.sent(),s(t,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=o.sent(),sO.error(r),k(x),[3,4];case 3:return w(!1),[7];case 4:return[2]}}))}))}}Cot({target:"Array",proto:!0},{flatMap:function(e){var t,n=Nwt(this),i=Qwt(n.length);return Bwt(e),(t=Uwt(n,0)).length=Lwt(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),rst("flatMap");var Wwt,Gwt,Vwt,Xwt,Hwt,Ywt,Zwt,Kwt=function(e){var i=e.onNextClick,r=e.onPrevClick,o=e.hidePagination,a=e.disablePrevButton,s=e.disableNextButton,l=e.children,c=e.className,u=t.useContext(ipe).theme.palette,d=RD().formatMessage;return o?n.jsx(n.Fragment,{children:l}):n.jsxs(Jwt,Dnt({className:c},{children:[n.jsx(t_t,{disabled:a,onClick:r,iconProps:{iconName:"ChevronUpSmall"},color:u.accent,ariaLabel:d({id:"Lib.paging.previous"})}),n.jsx(i_t,{children:l}),n.jsx(n_t,{disabled:s,onClick:i,iconProps:{iconName:"ChevronDownSmall"},color:u.accent,ariaLabel:d({id:"Lib.paging.next"})})]}))},Jwt=v.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(Wwt||(Wwt=jnt(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),e_t=v.default(Blt).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(Gwt||(Gwt=jnt(["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"],["\n width: 100%;\n height: 20px;\n position: relative;\n\n &&[disabled] {\n background-color: transparent;\n }\n\n &&:not([disabled]):hover {\n color: ",";\n\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.2;\n }\n }\n"])),Kde),t_t=v.default(e_t).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(Vwt||(Vwt=jnt(["\n &:not([disabled]):hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"],["\n &:not([disabled]):hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"])),(function(e){return e.color})),n_t=v.default(e_t).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(Xwt||(Xwt=jnt(["\n &:not([disabled]):hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"],["\n &:not([disabled]):hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"])),(function(e){return e.color})),i_t=v.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(Hwt||(Hwt=jnt(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),Ase,15),r_t=t.createContext(null);v.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(Ywt||(Ywt=jnt(["\n width: 100%;\n"],["\n width: 100%;\n"]))),v.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(Zwt||(Zwt=jnt(["\n display: contents;\n"],["\n display: contents;\n"])));var o_t,a_t,s_t,l_t,c_t,u_t,d_t,p_t,f_t,h_t=i.css(o_t||(o_t=jnt(["\n .ms-Dropdown,\n .ms-Dropdown-title {\n border: none;\n &:focus::after {\n border: none;\n }\n }\n\n .ms-Dropdown-title,\n .ms-Dropdown-caretDownWrapper {\n line-height: 32px;\n }\n"],["\n .ms-Dropdown,\n .ms-Dropdown-title {\n border: none;\n &:focus::after {\n border: none;\n }\n }\n\n .ms-Dropdown-title,\n .ms-Dropdown-caretDownWrapper {\n line-height: 32px;\n }\n"]))),m_t=i.css(a_t||(a_t=jnt(["\n ","\n\n @media (min-width: ","px) {\n padding-right: ","px;\n }\n"],["\n ","\n\n @media (min-width: ","px) {\n padding-right: ","px;\n }\n"])),h_t,Mse,Ase),g_t=i.css(s_t||(s_t=jnt(["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n flex: 0 0 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"],["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n flex: 0 0 50px;\n font-size: 16px;\n color: ",";\n text-align: center;\n }\n"])),(function(e){return e.theme.textColors.default}),(function(e){return e.theme.textColors.default})),v_t=i.css(l_t||(l_t=jnt(["\n .content-toolbar-dropdown {\n min-width: 300px;\n .ms-Dropdown-item {\n padding: 0;\n border: 0;\n > span {\n width: 100%;\n }\n }\n\n @media (max-width: ","px) {\n max-width: 80% !important;\n }\n }\n"],["\n .content-toolbar-dropdown {\n min-width: 300px;\n .ms-Dropdown-item {\n padding: 0;\n border: 0;\n > span {\n width: 100%;\n }\n }\n\n @media (max-width: ","px) {\n max-width: 80% !important;\n }\n }\n"])),Use),b_t="AllChannels",y_t=i.createGlobalStyle(c_t||(c_t=jnt(["\n ","\n"],["\n ","\n"])),v_t),O_t=v.default(Out).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(u_t||(u_t=jnt(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),m_t),w_t=v.default(o.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(d_t||(d_t=jnt(["\n ","\n"],["\n ","\n"])),g_t),__t=v.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(p_t||(p_t=jnt(["\n ",";\n"],["\n ",";\n"])),g_t),x_t=function(e){var t=e.handler,i=e.disabled;return dre().unreadTracking?n.jsx(Avt,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:t,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0}):null},k_t=function(e){var t=e.onClick,i=e.to,r=e.disabled;return n.jsx(Avt,{tooltipResourceKey:"Generic.showManageView",disabled:r,iconName:"edit",to:null==i?void 0:i.url,target:null==i?void 0:i.target,onClick:t,"data-toolbar-manage-button":!0,ariaLabelResourceKey:"AriaLabel.goToManageView"})};e.EventView=void 0,(f_t=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",f_t.MyBookedEvents="booked",f_t.PastEvents="past";var S_t,E_t,C_t,P_t,F_t=i.createGlobalStyle(S_t||(S_t=jnt(["\n ","\n"],["\n ","\n"])),v_t),T_t=v.default(Out).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(E_t||(E_t=jnt(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),m_t),D_t=v.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(C_t||(C_t=jnt(["\n ",";\n"],["\n ",";\n"])),g_t);function A_t(){var e=jY(),n=e.createApiUrl,i=e.fetchFromApi,r=t.useContext(Pj).onRequestToken;return t.useMemo((function(){return{uploadImage:function(e,t,n,o,a){return Int(this,void 0,void 0,(function(){var s,l,c;return $nt(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image.".concat(LK.getExtension(a.type))),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:$Y(l,t)},[2,i("".concat(e,"/attachments/").concat(o,"/images/").concat(n),c)]}}))}))},uploadFile:function(e,t,n,o,a){return Int(this,void 0,void 0,(function(){var s,l,c;return $nt(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=u.sent(),c={method:"POST",body:s,headers:$Y(l,t)},[2,i("".concat(e,"/attachments/").concat(o,"/files/").concat(n),c)]}}))}))},getFileUrl:function(e,t,i,r,o){if(null!=o||(o=i.fileAccessToken),!o)return null;return n("".concat(e,"/attachments/").concat(i.attachmentContainerId,"/files/").concat(r),{subscriptionId:t,access_token:o})},getImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)},getChatMessageImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)}};function e(e,t,i,r,o,a,s){var l;return l=null==a?"".concat(e,"/attachments/").concat(r,"/images/").concat(o):"default"===a?"".concat(e,"/attachments/").concat(r,"/images/").concat(o,"/default"):"".concat(e,"/attachments/").concat(r,"/images/").concat(o,"/").concat(a,"/").concat(s||""),n(l,{subscriptionId:t,access_token:i})}}),[r,i,n])}function I_t(){var e=zY();return t.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return Int(this,void 0,void 0,(function(){var t;return $nt(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,Eoe.apply(void 0,Rnt([e],t,!1))]}}))}))},resolveActiveLanguages:function(e){return Int(this,void 0,void 0,(function(){return $nt(this,(function(t){switch(t.label){case 0:return[4,n()];case 1:return[2,t.sent().filter((function(t){return e.languages.find((function(e){return e.code===t.code}))}))]}}))}))},resolveUserLanguage:function(e){return Int(this,void 0,void 0,(function(){var t;return $nt(this,(function(i){switch(i.label){case 0:return t=e.subscription.languages,[4,n()];case 1:return[2,i.sent().filter((function(e){return t.find((function(t){return t.code===e.code}))}))]}}))}))}};function n(){return t||(t=e.all("languages").getAll().then((function(e){return e.body().map((function(e){return e.data()}))})))}}),[e])}function $_t(){var e=jY(),n=e.createApiUrl,i=e.fetchFromApi;return t.useMemo((function(){return{getVideoThumbnailUrl:function(e,t,i,r,o,a,s,l){void 0===s&&(s=0);return n("/videos/".concat(encodeURIComponent(r),"/thumbnail/").concat("number"==typeof s?s:0,"/").concat(l||""),{access_token:e,subscriptionId:t,videoSource:i,itemId:o,hasCustomThumbnail:a})},getBannerVideoThumbnailUrl:function(e,t,i,r,o,a){return n("/".concat(r,"/").concat(t,"/videos/banner/thumbnail/").concat("number"==typeof o?o:0,"/").concat(a||""),{access_token:e,subscriptionId:i})},uploadCustomVideoThumbnail:function(e,t,n,r,o){return Int(this,void 0,void 0,(function(){var a,s;return $nt(this,(function(l){switch(l.label){case 0:return(a=new FormData).append("file",o),s={method:"POST",body:a,headers:$Y(e,n)},[4,i("/editor/".concat(t,"/videos/").concat(encodeURIComponent(r),"/thumbnail"),s)];case 1:return[2,l.sent()]}}))}))}}}),[n,i])}i.createGlobalStyle(P_t||(P_t=jnt(["\n *:not(input):not(textarea) {\n -webkit-user-select: none; /* disable selection/Copy of UIWebView */\n -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */\n }\n"],["\n *:not(input):not(textarea) {\n -webkit-user-select: none; /* disable selection/Copy of UIWebView */\n -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */\n }\n"])));var R_t,j_t,z_t,M_t,L_t,N_t,Q_t,B_t,U_t,q_t,W_t,G_t,V_t,X_t,H_t=function(){function e(){this.type=e.type}return e.create=function(t){var n=new e;return n.upn=t,n},e.type="user_avatar_update",e}(),Y_t=function(e){var i=dre(),r=t.useState(null),o=r[0],a=r[1],s=noe().getUserAvatarUrl;if(Rpe(H_t.type,(function(t){return t.upn===e.upn&&c(e.upn,e.tenantId),!1}),[e.upn]),t.useEffect((function(){var t=c(e.upn,e.tenantId);return function(){return null==t?void 0:t.unsubscribe()}}),[e.upn]),!i.avatars)return null;var l=IE(e.text||e.displayName||e.upn);return n.jsx(Z_t,Dnt({},e,!e.ignoreOverrides&&{"data-avatar":!0},{text:e.text,imageUrl:o,imageShouldFadeIn:!1,imageInitials:l,initialsColor:$E(l),secondaryText:!e.forceShowSecondaryText&&jre(e.secondaryText)?null:e.secondaryText}));function c(e,t){return null==e?(a(null),null):s(e,t).subscribe((function(e){a(e)}),(function(e){return console.log(e)}))}},Z_t=v.default(r.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(R_t||(R_t=jnt(["\n && {\n .ms-Persona-image {\n img {\n max-width: 100%;\n width: auto;\n height: auto;\n }\n }\n }\n"],["\n && {\n .ms-Persona-image {\n img {\n max-width: 100%;\n width: auto;\n height: auto;\n }\n }\n }\n"]))),K_t=function(e){var t=e.className,i=e.iconName,r=e.tooltipResourceKey,o=e.tooltipText,a=e.children;return a?n.jsxs(ext,Dnt({className:t},{children:[i&&n.jsx($lt,Dnt({resourceKey:r,text:o},{children:n.jsx(J_t,{iconName:i},"icon")})),n.jsx(txt,Dnt({dir:"auto"},{children:a}))]})):null},J_t=v.default(r.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(j_t||(j_t=jnt(["\n && {\n cursor: default;\n display: flex;\n padding-inline-end: 8px;\n padding-top: 1px;\n }\n"],["\n && {\n cursor: default;\n display: flex;\n padding-inline-end: 8px;\n padding-top: 1px;\n }\n"]))),ext=v.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(z_t||(z_t=jnt(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),txt=v.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContent",componentId:"sc-yfrgje-2"})(M_t||(M_t=jnt([""],[""]))),nxt=function(e){var t=e.email;return jre(t)?null:n.jsx(K_t,Dnt({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:n.jsx(uxt,Dnt({href:"mailto:".concat(t)},{children:t}))}))},ixt=function(e){var t=e.value,i=RD().formatMessage;return null==t?null:n.jsx(K_t,Dnt({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:n.jsx(uxt,Dnt({href:"tel:".concat(t)},{children:i({id:"Generic.callMobile"},{number:t})}))}))},rxt=function(e){var t=e.value,i=RD().formatMessage;return null==t?null:(t="string"==typeof t?[t]:t,n.jsx(n.Fragment,{children:t.map((function(e,t){return n.jsx(K_t,Dnt({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:n.jsx(uxt,Dnt({href:"tel:".concat(e)},{children:i({id:"Generic.callOffice"},{number:e})}))}),e+t)}))}))},oxt=function(e){var t=e.value,i=e.tooltipResourceKey,r=dre();return null==t?null:n.jsx(K_t,Dnt({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?n.jsx(uxt,Dnt({target:"_blank",rel:"noopener noreferrer",href:kbt(t)},{children:t})):n.jsx(n.Fragment,{children:t})}))},axt=function(e){var t=e.value;return null==t?null:n.jsx(K_t,Dnt({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:t}))},sxt=function(e){var t=e.value;return null==t?null:n.jsx(K_t,Dnt({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:t}))},lxt=function(e){var t=e.value,i=Due().buildPath,r=dre();if(!(null==t?void 0:t.userId)||!r.chat)return null;var o={id:t.userId,displayName:t.displayName,userPrincipalName:t.userPrincipalName};return n.jsx(K_t,Dnt({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:n.jsx(dxt,Dnt({to:"".concat(i("chats/new"),"?").concat(Zy.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName}))},{children:n.jsx(tA,{id:"Generic.sendChatMessage"})}))}))},cxt=i.css(L_t||(L_t=jnt(["\n color: ",";\n &:hover {\n text-decoration: underline;\n }\n"],["\n color: ",";\n &:hover {\n text-decoration: underline;\n }\n"])),(function(e){return e.theme.palette.accent})),uxt=v.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(N_t||(N_t=jnt(["\n ","\n"],["\n ","\n"])),cxt),dxt=v.default(o.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(Q_t||(Q_t=jnt(["\n ","\n"],["\n ","\n"])),cxt),pxt={mobilePhone:ixt,department:axt,address:oxt},fxt=function(e){var i=e.className,r=e.value,o=e.definition,a=function(){var e=ure(),t=RD().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=vE(e.preferredUiLanguage),o=i.translations||{},a=Object.keys(n);return r&&o[r]||o[e.subscription.defaultLanguage]||i.label||a.some((function(e){return e===i.name}))&&t({id:"Generic.".concat(i.name)})||i.name},getPropertyIcon:function(e){var t,i;return null!==(i=null===(t=n[e.name])||void 0===t?void 0:t.iconName)&&void 0!==i?i:"UserOptional"}}}(),s=a.getPropertyLabel,l=a.getPropertyIcon;if(null==r)return null;var c=s(o),u=l(o),d=pxt[o.name];return d?t.createElement(d,{value:r}):n.jsx(K_t,Dnt({iconName:u,tooltipText:c,className:i},{children:r}))},hxt=function(e){var t,i,r,o,a,s=e.user,l=e.ignoredProperties,c=void 0===l?[]:l;return n.jsxs(n.Fragment,{children:[!c.includes("department")&&n.jsx(axt,{value:null===(t=s.properties)||void 0===t?void 0:t.department}),!c.includes("jobTitle")&&n.jsx(sxt,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle}),!c.includes("mobilePhone")&&n.jsx(ixt,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone}),!c.includes("businessPhones")&&n.jsx(rxt,{value:null===(o=s.properties)||void 0===o?void 0:o.businessPhones}),!c.includes("chatMessage")&&n.jsx(lxt,{value:s}),!c.includes("officeLocation")&&n.jsx(oxt,{value:null===(a=s.properties)||void 0===a?void 0:a.officeLocation})]})},mxt=function(e){var t=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,o=ure();return n.jsxs(n.Fragment,{children:[!r.includes("chatMessage")&&n.jsx(lxt,{value:t}),o.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return n.jsx(fxt,{definition:e,value:null===(i=t.properties)||void 0===i?void 0:i[e.name]},e.name)}))]})},gxt=["displayName","department","jobTitle"],vxt=function(e){var t,i=e.upn,o=e.showAvatar,a=e.id,s=noe(),l=s.getUserInfo,c=s.getUserInfoById,u=kj((function(){return i?l(i):c(a)}),null,[i,a]),d=u[0],p=u[1];if(u[2])return n.jsx(bxt,{children:i?n.jsx(tA,{id:"Profile.CannotLoadInfo",values:{upn:i}}):n.jsx(tA,{id:"Profile.CannotLoadInfoByUserId"})});if(p)return n.jsx(wxt,{});var f=o?gxt:[];return n.jsxs(yxt,Dnt({"data-user-details":!0},{children:[o&&n.jsx(Y_t,{upn:d.userPrincipalName,size:r.PersonaSize.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle}),n.jsxs(Oxt,{children:[n.jsx(nxt,{email:null!==(t=d.mail)&&void 0!==t?t:d.userPrincipalName}),d.isDirectoryUser?n.jsx(hxt,{user:d,ignoredProperties:f}):n.jsx(mxt,{user:d,ignoredProperties:f})]})]}))},bxt=v.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(B_t||(B_t=jnt(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),yxt=v.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(U_t||(U_t=jnt(["\n font-size: ","px;\n .ms-Persona {\n margin-bottom: 8px;\n }\n\n .persona-card-children {\n cursor: pointer;\n }\n"],["\n font-size: ","px;\n .ms-Persona {\n margin-bottom: 8px;\n }\n\n .persona-card-children {\n cursor: pointer;\n }\n"])),Hse),Oxt=v.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(q_t||(q_t=jnt(["\n display: flex;\n flex: 1 1 auto;\n flex-flow: column;\n > div {\n &:not(:last-child) {\n padding-bottom: ","px;\n }\n }\n"],["\n display: flex;\n flex: 1 1 auto;\n flex-flow: column;\n > div {\n &:not(:last-child) {\n padding-bottom: ","px;\n }\n }\n"])),Dse),wxt=v.default(qut).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(W_t||(W_t=jnt(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),_xt=function(e){var i=e.upn,o=e.className,a=e.children,s=e.readOnly,l=e.domIdentifier,c=t.useRef(null),u=ure(),d=t.useState(!1),p=d[0],f=d[1];return s?n.jsx(kxt,Dnt({className:o},{children:a})):n.jsxs(n.Fragment,{children:[n.jsx(kxt,Dnt({ref:c,className:o},{children:n.jsx(Sxt,Dnt({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),f(!p)},ariaLabel:i,dir:"auto"},{children:a}),"children")})),p&&!u.isPublicUser&&n.jsx(Xct,Dnt({className:"persona-card-callout",directionalHint:r.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return f(!1)},target:c.current},{children:n.jsx(xxt,{children:n.jsx(vxt,{upn:i,showAvatar:!0})})}),"callout")]})},xxt=v.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(G_t||(G_t=jnt(["\n padding: ","px ","px;\n max-width: 300px;\n\n @media (min-width: ","px) {\n max-width: 450px;\n }\n"],["\n padding: ","px ","px;\n max-width: 300px;\n\n @media (min-width: ","px) {\n max-width: 450px;\n }\n"])),15,Ase,Mse),kxt=v.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(V_t||(V_t=jnt(["\n display: inline-flex;\n align-items: flex-start;\n font-weight: inherit;\n"],["\n display: inline-flex;\n align-items: flex-start;\n font-weight: inherit;\n"]))),Sxt=v.default(r.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(X_t||(X_t=jnt(["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n min-width: auto;\n height: auto;\n background-color: transparent;\n color: inherit;\n font-weight: inherit;\n\n &:hover {\n background-color: transparent;\n color: inherit;\n }\n\n .ms-Button-label {\n margin: 0;\n font-weight: inherit;\n }\n }\n"],["\n && {\n margin: 0;\n padding: 0;\n border: 0;\n min-width: auto;\n height: auto;\n background-color: transparent;\n color: inherit;\n font-weight: inherit;\n\n &:hover {\n background-color: transparent;\n color: inherit;\n }\n\n .ms-Button-label {\n margin: 0;\n font-weight: inherit;\n }\n }\n"])));function Ext(){return Ext=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ext.apply(this,arguments)}var Cxt=function(e){return m.createElement("svg",Ext({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),m.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),m.createElement("path",{d:"M134.231 141.48h149.1c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603-6.914 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h-39.522c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h71.856c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603H162.974c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602H91.118c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602h44.911c6.913 0 12.602 5.689 12.602 12.603 0 6.913-5.689 12.602-12.602 12.602H64.172c-6.914 0-12.603 5.689-12.603 12.603s5.689 12.603 12.603 12.603h70.059c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602v-.006Zm192.708-63.014c0 6.764 5.565 12.329 12.329 12.329 6.763 0 12.329-5.565 12.329-12.329 0-6.763-5.566-12.329-12.329-12.329h-.001c-6.763 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M237.898 60.069c0-4.967-4.033-9-9-9h-58.712c-4.967 0-9 4.033-9 9v45.014c0 4.967 4.033 9 9 9h58.712c4.967 0 9-4.033 9-9V60.069Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M90.299 68.815a32.862 32.862 0 0 1-23.217-18.138 1.364 1.364 0 0 1-.133-.589 1.377 1.377 0 0 1 1.64-1.343l14.747 2.964c3.116.644 6.364.001 9-1.781h.006a11.784 11.784 0 0 0 5.016-7.658l1.9-10.113c1.196-6.529-3.112-12.905-9.616-14.232l-14.751-2.964a1.37 1.37 0 0 1-.661-2.348 31.961 31.961 0 0 1 28.134-7.833c12.566 2.547 22.559 12.193 25.548 24.661a6.579 6.579 0 0 0 .938 1.004 7.774 7.774 0 0 0 3.616 1.753l26.592 5.344a819741.64 819741.64 0 0 0 119.067 23.943c6.256 1.287 10.396 7.424 9.247 13.707-1.019 5.418-5.796 9.38-11.309 9.38-.761 0-1.52-.076-2.266-.226l-55.525-11.174-28.93-5.826-64.138-12.884-.027-.006a1.668 1.668 0 0 0-.7-.007h-.022a1.621 1.621 0 0 0-.562.24 1.58 1.58 0 0 0-.444.441c-7.215 10.867-20.371 16.297-33.15 13.685Zm188.988 8.736a5.483 5.483 0 0 1-3.036.917c-3.008 0-5.485-2.476-5.485-5.485 0-3.009 2.477-5.485 5.485-5.485a5.49 5.49 0 0 1 4.567 2.446c1.666 2.507.975 5.94-1.531 7.607Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2,fillRule:"evenodd"}}),m.createElement("path",{d:"M237.898 30.672c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V30.672ZM218.72 21.083c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V21.083ZM199.542 16.973c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V16.973ZM180.364 19.713c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V19.713Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m162.903 110.39-17.592-16.8a10.428 10.428 0 0 1-3.933-8.151V65.39a8.809 8.809 0 0 1 4.147-7.536c2.597-1.617 25.763-10.645 25.915-10.739 4.419-2.471 5.974-2.074 8.321 2.135a9.067 9.067 0 0 1 1.219 4.608 8.791 8.791 0 0 1-4.359 7.66c-2.719 1.585-8.564 4.617-11.981 6.682-3.417 2.065-2.248 7.486 1.645 8.538 19.185 5.184 32.008 12.3 38.107 27.065M171.556 114.083h58.712c4.937 0 9 4.063 9 9v35.425h-76.712v-35.425c0-4.937 4.063-9 9-9Z",style:{fill:"#fff",fillRule:"evenodd",stroke:"currentColor",strokeWidth:2}}))};function Pxt(){return Pxt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Pxt.apply(this,arguments)}var Fxt=function(e){return m.createElement("svg",Pxt({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),m.createElement("path",{d:"M113.854 72h30.104c-6.623 0-12 5.377-12 12s5.377 12 12 12h-24.165c-6.623 0-12 5.377-12 12s5.377 12 12 12h74.873c6.623 0 12-5.377 12-12s-5.377-12-12-12h64.042c6.623 0 12-5.377 12-12s-5.377-12-12-12h1.125c-6.288 0-11.393-5.377-11.393-12s5.105-12 11.393-12h37.769c6.623 0 12-5.377 12-12s-5.377-12-12-12h-52.706c6.623 0 12-5.377 12-12s-5.377-12-12-12h-58.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h-22.167c-6.622 0-12 5.377-12 12s5.378 12 12 12h-50.375c-6.288 0-11.394 5.377-11.394 12s5.106 12 11.394 12Zm186.998 12c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m211.775 81.467 1.122-6.522-5.059-5.013 4.488-7.838-65.735-11.306c-.466-21.056-14.403-38.978-33.804-42.314-22.3-3.836-44.233 12.903-48.531 37.887-4.297 24.985 10.784 48.09 33.084 51.925 19.401 3.337 38.525-8.899 45.999-28.589l68.436 11.77ZM110.464 21.98c15.292 2.63 24.847 18.963 21.901 36.095-2.947 17.133-17.41 29.335-32.702 26.705-15.292-2.63-24.847-18.963-21.901-36.096 2.947-17.133 17.41-29.335 32.702-26.704Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M146.128 59.052c.317-1.091.547-2.172.748-3.27.307-1.69.51-3.341.715-4.99l-2-.007c.191 1.627.397 3.255.486 4.946.058 1.101.066 2.192.001 3.313l.05.008ZM145.614 61.745a30.11 30.11 0 0 1-1.108 3.121c-.649 1.565-1.387 3.03-2.111 4.5l1.887.662c.359-1.623.719-3.247.994-4.943a32.34 32.34 0 0 0 .387-3.332l-.049-.008Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"m331.063 28.601-42.249 11.755 8.449 30.367 10.563-2.939-4.225-15.183 10.562-2.939 1.286 4.621 10.562-2.939 2.249 8.081 10.562-2.939-7.759-27.885Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m213.696 41.343.517 6.969 6.031 4.296 1.236 6.484 116.184-32.328c5.101-1.42 8.09-6.713 6.671-11.814-1.42-5.101-6.713-8.09-11.814-6.67L213.696 41.343Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function Txt(){return Txt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Txt.apply(this,arguments)}var Dxt,Axt,Ixt,$xt,Rxt,jxt,zxt=function(e){return m.createElement("svg",Txt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),m.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),m.createElement("path",{d:"M114.881 160.609h149.1c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603-6.913 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h-39.521c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h71.856c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603H143.624c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602H71.768c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602h44.911c6.914 0 12.603 5.689 12.603 12.603 0 6.913-5.689 12.602-12.603 12.602H44.822c-6.913 0-12.602 5.69-12.602 12.603 0 6.914 5.689 12.603 12.602 12.603h70.059c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602v-.006Zm192.708-63.014c0 6.764 5.566 12.329 12.329 12.329 6.764 0 12.329-5.565 12.329-12.329 0-6.763-5.565-12.329-12.329-12.329h-.001c-6.762 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.483 63.514a2.002 2.002 0 0 0-2.259-1.702L140.205 82.896a2.001 2.001 0 0 0-1.702 2.259l12.251 87.169a2.002 2.002 0 0 0 2.259 1.703l150.018-21.084a2.002 2.002 0 0 0 1.703-2.259l-12.251-87.17Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M247.683 137.397a31.742 31.742 0 0 0 6.393-19.103c0-17.41-14.326-31.737-31.736-31.737s-31.737 14.327-31.737 31.737a31.758 31.758 0 0 0 12.643 25.35c13.903 10.472 33.959 7.652 44.437-6.247ZM236.661 99.29c9.222 6.97 12.111 19.693 6.803 29.962l-37.479-28.242c8.408-7.932 21.435-8.661 30.676-1.716v-.004Zm-35.443 8.055 37.471 28.244a23.806 23.806 0 0 1-16.354 6.51c-13.054 0-23.796-10.742-23.796-23.797a23.8 23.8 0 0 1 2.671-10.954l.008-.003Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M207.614 8.507a1.585 1.585 0 0 0-2.694.379l-28.129 66.441a1.586 1.586 0 0 0-.126.619 1.595 1.595 0 0 0 1.808 1.571l73.48-10.327a1.587 1.587 0 0 0 1.012-2.569L207.614 8.507Z",style:{fill:"none",fillRule:"nonzero",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M205.054.078a7.937 7.937 0 0 1 8.96 6.752 7.938 7.938 0 0 1-6.752 8.96 7.936 7.936 0 0 1-8.959-6.752 7.936 7.936 0 0 1 6.751-8.96Z",style:{fill:"currentColor"}}))},Mxt=function(e){var t=e.info,i="number"==typeof t;return n.jsx(Lxt,Dnt({isNumber:i,"data-badge-info":t},{children:n.jsx(Nxt,Dnt({isNumber:i},{children:"number"==typeof t&&t}))}))},Lxt=v.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(Ixt||(Ixt=jnt(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?i.css(Dxt||(Dxt=jnt(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):i.css(Axt||(Axt=jnt(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),Nxt=v.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(Rxt||(Rxt=jnt(["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"],["\n background-color: ",";\n border-color: ",";\n color: ",";\n ","\n\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n align-self: center;\n"])),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.palette.themeSecondary}),(function(e){return e.theme.textColors.onSecondary}),(function(e){var t=e.isNumber?22:14;return i.css($xt||($xt=jnt(["\n border-radius: ","px;\n min-width: ","px;\n height: ","px;\n padding: ","px;\n box-sizing: border-box;\n font-size: ","px;\n "],["\n border-radius: ","px;\n min-width: ","px;\n height: ","px;\n padding: ","px;\n box-sizing: border-box;\n font-size: ","px;\n "])),t,t,t,6,Yse)}));function Qxt(){return Qxt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Qxt.apply(this,arguments)}var Bxt,Uxt=function(e){return m.createElement("svg",Qxt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),jxt||(jxt=m.createElement("path",{d:"M1536 704q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45zM0 256h2048v1024h-128V384H128v677l448-447 640 640 256-256 283 282h-182l-101-102-101 102h-310L576 794l-448 449v421h512v128H0V256zm768 1792v-640h1280v640H768zm128-512v384h1024v-384H896zm256 256v-128h512v128h-512z",fill:"#fff"})))};function qxt(t){return n.jsx(Zxt,Dnt({"data-page-alert":!0},{children:n.jsxs(Kxt,{children:[t.errorType&&n.jsx(Jxt,Dnt({onClick:t.onClick},{children:t.errorType===e.ErrorType.LoginError?n.jsx(Fxt,{}):t.errorType===e.ErrorType.GenericError?n.jsx(Cxt,{}):t.errorType===e.ErrorType.Error403?n.jsx(zxt,{}):n.jsx(Tgt,{})})),n.jsx(ekt,{children:t.alertText}),n.jsx(tkt,{children:t.children})]})}))}e.ErrorType=void 0,(Bxt=e.ErrorType||(e.ErrorType={})).GenericError="genericError",Bxt.Error404="error404",Bxt.Error403="error403",Bxt.LoginError="loginError";var Wxt,Gxt,Vxt,Xxt,Hxt,Yxt,Zxt=v.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(Wxt||(Wxt=jnt(["\n display: flex;\n flex-flow: column nowrap;\n align-items: stretch;\n flex: 1 0 100%;\n height: 100%;\n background-color: ",";\n"],["\n display: flex;\n flex-flow: column nowrap;\n align-items: stretch;\n flex: 1 0 100%;\n height: 100%;\n background-color: ",";\n"])),(function(e){return e.theme.palette.white})),Kxt=v.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(Gxt||(Gxt=jnt(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),Jxt=v.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(Vxt||(Vxt=jnt(["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n\n @media (max-width: ","px) {\n > svg {\n transform: scale(0.8);\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n\n @media (max-width: ","px) {\n > svg {\n transform: scale(0.8);\n }\n }\n"])),(function(e){return e.theme.palette.accent}),Use),ekt=v.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(Xxt||(Xxt=jnt(["\n color: ",";\n font-size: ","px;\n font-weight: 500;\n min-width: 100%;\n opacity: 80%;\n white-space: pre-wrap;\n width: 200px;\n"],["\n color: ",";\n font-size: ","px;\n font-weight: 500;\n min-width: 100%;\n opacity: 80%;\n white-space: pre-wrap;\n width: 200px;\n"])),(function(e){return e.theme.palette.accent}),32),tkt=v.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(Hxt||(Hxt=jnt(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),nkt=v.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(Yxt||(Yxt=jnt(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),ikt={exports:{}},rkt=Object.getOwnPropertySymbols,okt=Object.prototype.hasOwnProperty,akt=Object.prototype.propertyIsEnumerable;function skt(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var lkt=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,r=skt(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))okt.call(n,a)&&(r[a]=n[a]);if(rkt){i=rkt(n);for(var s=0;s<i.length;s++)akt.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},ckt="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ukt=Function.call.bind(Object.prototype.hasOwnProperty),dkt=function(){};if("production"!==process.env.NODE_ENV){var pkt=ckt,fkt={},hkt=ukt;dkt=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function mkt(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(hkt(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((i||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,pkt)}catch(e){a=e}if(!a||a instanceof Error||dkt((i||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in fkt)){fkt[a.message]=!0;var l=r?r():"";dkt("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}mkt.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(fkt={})};var gkt=mkt,vkt=w.default,bkt=lkt,ykt=ckt,Okt=ukt,wkt=gkt,_kt=function(){};function xkt(){return null}"production"!==process.env.NODE_ENV&&(_kt=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function kkt(){}function Skt(){}Skt.resetWarningCache=kkt;if("production"!==process.env.NODE_ENV){var Ekt=w.default;ikt.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bigint:l("bigint"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(xkt),arrayOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+r+" `"+o+"` of type `"+d(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,i,r,o+"["+l+"]",ykt);if(c instanceof Error)return c}return null}))},element:s((function(t,n,i,r,o){var s=t[n];return e(s)?null:new a("Invalid "+r+" `"+o+"` of type `"+d(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return vkt.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+d(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,o,s){if(!(t[n]instanceof e)){var l=e.name||i;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:i)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var c;return null}))},node:s((function(e,t,n,i,r){return u(e[t])?null:new a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var c in s)if(Okt(s,c)){var u=e(s,c,i,r,o+"."+c,ykt);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&_kt(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),xkt;function t(t,n,i,r,s){for(var l=t[n],c=0;c<e.length;c++)if(o(l,e[c]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new a("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+u+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&_kt("Invalid argument supplied to oneOfType, expected an instance of array."),xkt;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return _kt("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),xkt}return s((function(t,n,i,r,o){for(var s=[],l=0;l<e.length;l++){var c=(0,e[l])(t,n,i,r,o,ykt);if(null==c)return null;c.data&&Okt(c.data,"expectedType")&&s.push(c.data.expectedType)}return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var f=e[u];if("function"!=typeof f)return c(i,r,o,u,p(f));var h=f(s,u,i,r,o+"."+u,ykt);if(h)return h}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var u=bkt({},t[n],e);for(var f in u){var h=e[f];if(Okt(e,f)&&"function"!=typeof h)return c(i,r,o,f,p(h));if(!h)return new a("Invalid "+r+" `"+o+"` key `"+f+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(s,f,i,r,o+"."+f,ykt);if(m)return m}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,s,l,c,u,d,p){if(c=c||i,d=d||l,p!==ykt){if(t){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+l;!n[h]&&r<3&&(_kt("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,r++)}}return null==s[l]?o?null===s[l]?new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,l,c,u,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,i,r,o,s){var l=t[n];return d(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+p(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function c(e,t,n,i,r){return new a((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!u(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function p(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(e){var t=p(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return a.prototype=Error.prototype,r.checkPropTypes=wkt,r.resetWarningCache=wkt.resetWarningCache,r.PropTypes=r,r}(Ekt.isElement,!0)}else ikt.exports=function(){function e(e,t,n,i,r,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Skt,resetWarningCache:kkt};return n.PropTypes=n,n}();var Ckt=ikt.exports,Pkt=Object.freeze({__proto__:null,useCurrentUser:ure,useAccountApi:noe,useAuthenticationContext:Fj,useEnvironmentConfig:mh,useNotificationContext:fpe,usePromise:kj,LinkContext:aA,TextLink:Evt,logger:sO,createId:cO,ResourceContext:hA,usePluginSettings:function(){var e=t.useContext(Rue).settings;return null!=e?e:{}},usePluginStorage:Lue,usePluginDeviceStore:Lue,usePluginSubscriptionStore:function(){return t.useContext(Rue).subscriptionStore},usePluginSubscriptionStoreValue:function(e,n){var i=this,r=t.useContext(Rue).subscriptionStore,o=kj((function(){return r.get(e).catch(Que)}),void 0,e9(e9([],n||[],!0),[e],!1)),a=o[0],s=o[1],l=o[2],c=o[3],u=o[4];return{data:a,set:function(t){return K6(i,void 0,void 0,(function(){var n;return J6(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),Que(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:u,remove:function(){return K6(i,void 0,void 0,(function(){var t;return J6(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),Que(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return t.useContext(Rue).userStore},usePluginUserStoreValue:function(e,n){var i=this,r=t.useContext(Rue).userStore,o=kj((function(){return r.get(e).catch(Que)}),void 0,e9(e9([],n||[],!0),[e],!1)),a=o[0],s=o[1],l=o[2],c=o[3],u=o[4];return{data:a,set:function(t){return K6(i,void 0,void 0,(function(){var n;return J6(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),Que(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:u,remove:function(){return K6(i,void 0,void 0,(function(){var t;return J6(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),Que(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:hh().apiEndpoint}},AccountType:Gie,PeoplePicker:ect,GutterToggle:Ult,EditorSettingsDialog:Qlt,Spinner:r.Spinner,SelectionMode:r.SelectionMode,EditorHighlight:jlt,useTheme:function(){return t.useContext(ipe).theme},useSubscriptionHandlePathBuilder:Due,useSubscriptionWebAppUrl:Aue});var Fkt,Tkt,Dkt,Akt=[{name:"@reach/core",packageDefinition:Dnt({default:{}},Pkt)}],Ikt=[{name:"react",packageDefinition:Dnt(Dnt({},g.default),{default:g.default})},{name:"react-dom",packageDefinition:Dnt(Dnt({},O),{default:O})},{name:"react-is",packageDefinition:Dnt(Dnt({},w.default),{default:w.default})},{name:"prop-types",packageDefinition:Dnt({default:Ckt},Ckt)},{name:"react-router-dom",packageDefinition:Dnt({default:b},b)},{name:"styled-components",packageDefinition:{default:v.default,createGlobalStyle:i.createGlobalStyle,css:i.css,useTheme:i.useTheme,isStyledComponent:i.isStyledComponent,keyframes:i.keyframes,withTheme:i.withTheme,ThemeProvider:i.ThemeProvider,ThemeContext:i.ThemeContext,ThemeConsumer:i.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:r.Checkbox,Label:r.Label,PrimaryButton:r.PrimaryButton,Icon:r.Icon,Link:r.Link,TextField:r.TextField,ActionButton:r.ActionButton,IconButton:r.IconButton,DefaultButton:r.DefaultButton,Spinner:r.Spinner,Dropdown:r.Dropdown,ProgressIndicator:r.ProgressIndicator,Shimmer:r.Shimmer,ShimmerElementsGroup:r.ShimmerElementsGroup,ShimmerElementType:r.ShimmerElementType,DirectionalHint:r.DirectionalHint,PersonaSize:r.PersonaSize,TooltipHost:r.TooltipHost,DialogType:r.DialogType,Dialog:Mnt,DialogFooter:r.DialogFooter,ChoiceGroup:r.ChoiceGroup}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:tA,useIntl:RD,FormattedDate:nA,FormattedTime:iA,IntlProvider:qD}},{name:"@apollo/client",packageDefinition:{default:{},gql:MU,useQuery:function(e,t){return iq(e,t,!1)},ApolloClient:TU,ApolloProvider:XU,from:oQ,ApolloLink:rQ,fromPromise:KN,split:aQ,HttpLink:hQ,InMemoryCache:uU,useLazyQuery:function(e,t){return iq(e,t,!0)},useMutation:rq,ApolloError:pU,useApolloClient:HU,useSubscription:function(e,n){var i=t.useReducer((function(e){return e+1}),0),r=i[1],o=t.useContext(GU()),a=n?ko(ko({},n),{subscription:e}):{subscription:e},s=t.useState({loading:!a.skip,error:void 0,data:void 0}),l=s[0],c=s[1],u=t.useRef(),d=(u.current||(u.current=new JU({options:a,context:o,setResult:c})),u.current);return d.setOptions(a,!0),d.context=o,__DEV__&&nq(r),t.useEffect((function(){return d.afterExecute()})),t.useEffect((function(){return function(){d.cleanup(),u.current=void 0}}),[]),d.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:Az}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:aq}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:GL}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:oq}}],$kt=function(e){var i=e.color,o=e.onColorChange,a=e.className,s=t.useState(i),l=s[0],c=s[1];return t.useEffect((function(){c(i)}),[i]),n.jsx(Rkt,Dnt({className:a},{children:n.jsx(r.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){c(e),null==o||o(e)}(t.str)}})}))},Rkt=v.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(Fkt||(Fkt=jnt(["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"],["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"])),Ase);v.default.time.withConfig({displayName:"DateTimeDisplay__Host",componentId:"sc-17lnikl-0"})(Tkt||(Tkt=jnt(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"]))),function(e){e[e.xxs=0]="xxs",e[e.xs=1]="xs",e[e.sm=2]="sm",e[e.md=3]="md",e[e.lg=4]="lg",e[e.xl=5]="xl"}(Dkt||(Dkt={}));var jkt,zkt,Mkt,Lkt,Nkt,Qkt,Bkt,Ukt,qkt,Wkt,Gkt,Vkt=function(e){var i=e.backgroundColor,r=e.className,o=e.displayName,a=e.noInitials,s=e.size,l=void 0===s?Dkt.sm:s,c=e.tenantId,u=e.userPrincipalName,d=noe().getUserAvatarUrlPromise,p=t.useState(),f=p[0],h=p[1],m=t.useState(!1),g=m[0],v=m[1],b=a?o:IE(o);return t.useEffect((function(){u&&d(u,c).then((function(e){h(e)}))}),[d,c,u]),n.jsx(Hkt,Dnt({$backgroundColor:i||RE(b),className:r,$size:l},{children:f&&!g?n.jsx(Ykt,{alt:u,src:f,onError:function(){return v(!0)}}):n.jsx(Xkt,{children:b})}))},Xkt=v.default.span.withConfig({displayName:"Avatar__InitialsLabel",componentId:"sc-188jqn1-0"})(jkt||(jkt=jnt(["\n color: #f5f4f3;\n font-weight: 700;\n"],["\n color: #f5f4f3;\n font-weight: 700;\n"]))),Hkt=v.default.div.withConfig({displayName:"Avatar__Wrapper",componentId:"sc-188jqn1-1"})(Ukt||(Ukt=jnt(["\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n overflow: hidden;\n\n "," {\n font-family: Anybody, Arial, sans-serif;\n line-height: normal;\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n"],["\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n overflow: hidden;\n\n "," {\n font-family: Anybody, Arial, sans-serif;\n line-height: normal;\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n"])),(function(e){return e.$backgroundColor}),Xkt,(function(e){return e.$size===Dkt.xl&&i.css(zkt||(zkt=jnt(["\n height: 62px;\n width: 62px;\n\n "," {\n font-size: 24px;\n max-height: 22px; // nudge initials to visually align at center\n }\n "],["\n height: 62px;\n width: 62px;\n\n "," {\n font-size: 24px;\n max-height: 22px; // nudge initials to visually align at center\n }\n "])),Xkt)}),(function(e){return e.$size===Dkt.lg&&i.css(Mkt||(Mkt=jnt(["\n height: 48px;\n width: 48px;\n\n "," {\n font-size: 20px;\n max-height: 18px; // nudge initials to visually align at center\n }\n "],["\n height: 48px;\n width: 48px;\n\n "," {\n font-size: 20px;\n max-height: 18px; // nudge initials to visually align at center\n }\n "])),Xkt)}),(function(e){return e.$size===Dkt.md&&i.css(Lkt||(Lkt=jnt(["\n height: 40px;\n width: 40px;\n\n "," {\n font-size: 16px;\n max-height: 14px; // nudge initials to visually align at center\n }\n "],["\n height: 40px;\n width: 40px;\n\n "," {\n font-size: 16px;\n max-height: 14px; // nudge initials to visually align at center\n }\n "])),Xkt)}),(function(e){return e.$size===Dkt.sm&&i.css(Nkt||(Nkt=jnt(["\n height: 32px;\n width: 32px;\n\n "," {\n font-size: 12px;\n max-height: 10px; // nudge initials to visually align at center\n }\n "],["\n height: 32px;\n width: 32px;\n\n "," {\n font-size: 12px;\n max-height: 10px; // nudge initials to visually align at center\n }\n "])),Xkt)}),(function(e){return e.$size===Dkt.xs&&i.css(Qkt||(Qkt=jnt(["\n height: 24px;\n width: 24px;\n\n "," {\n font-size: 12px;\n max-height: 10px; // nudge initials to visually align at center\n }\n "],["\n height: 24px;\n width: 24px;\n\n "," {\n font-size: 12px;\n max-height: 10px; // nudge initials to visually align at center\n }\n "])),Xkt)}),(function(e){return e.$size===Dkt.xxs&&i.css(Bkt||(Bkt=jnt(["\n height: 20px;\n width: 20px;\n\n "," {\n font-size: 10px;\n max-height: 8px; // nudge initials to visually align at center\n }\n "],["\n height: 20px;\n width: 20px;\n\n "," {\n font-size: 10px;\n max-height: 8px; // nudge initials to visually align at center\n }\n "])),Xkt)})),Ykt=v.default.img.withConfig({displayName:"Avatar__Image",componentId:"sc-188jqn1-2"})(qkt||(qkt=jnt(["\n animation: fadein 150ms ease-in;\n height: 100%;\n width: 100%;\n\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n"],["\n animation: fadein 150ms ease-in;\n height: 100%;\n width: 100%;\n\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n"])));v.default.div.withConfig({displayName:"GroupAvatar__GroupAvatarContainer",componentId:"vedfuf-0"})(Wkt||(Wkt=jnt(["\n display: inline-flex;\n"],["\n display: inline-flex;\n"]))),v.default(Vkt).withConfig({displayName:"GroupAvatar__StyledAvatar",componentId:"vedfuf-1"})(Gkt||(Gkt=jnt(["\n border: 2px solid #ffffff;\n margin-right: -8px;\n\n &:last-child {\n margin-right: 0;\n }\n"],["\n border: 2px solid #ffffff;\n margin-right: -8px;\n\n &:last-child {\n margin-right: 0;\n }\n"])));var Zkt,Kkt,Jkt,eSt,tSt,nSt,iSt,rSt,oSt,aSt=function(e){var t=e.className,i=e.displayName,r=e.size,o=void 0===r?Dkt.md:r,a=e.subtitle,s=e.title,l=e.userPrincipalName;return n.jsxs(sSt,Dnt({className:t},{children:[n.jsx(Vkt,{displayName:i,size:o,userPrincipalName:l}),n.jsxs(lSt,Dnt({$size:o},{children:[s&&n.jsx(cSt,{children:s}),a&&n.jsx(uSt,Dnt({as:"string"==typeof a?"span":"div"},{children:a}))]}))]}))},sSt=v.default.div.withConfig({displayName:"Persona__Wrapper",componentId:"sc-1qmmt03-0"})(Zkt||(Zkt=jnt(["\n align-items: center;\n display: flex;\n gap: 16px;\n max-width: 100%;\n"],["\n align-items: center;\n display: flex;\n gap: 16px;\n max-width: 100%;\n"]))),lSt=v.default.div.withConfig({displayName:"Persona__TextWrapper",componentId:"sc-1qmmt03-1"})(Kkt||(Kkt=jnt(["\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n max-width: ",";\n\n & > span {\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"],["\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n max-width: ",";\n\n & > span {\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"])),(function(e){var t=e.$size;return"calc(100% - 16px - ".concat(t===Dkt.sm?32:t===Dkt.md?40:48,"px)")})),cSt=v.default.span.withConfig({displayName:"Persona__Title",componentId:"sc-1qmmt03-2"})(Jkt||(Jkt=jnt(["\n font-size: 16px;\n font-weight: 700;\n line-height: 26px;\n"],["\n font-size: 16px;\n font-weight: 700;\n line-height: 26px;\n"]))),uSt=v.default.span.withConfig({displayName:"Persona__Subtitle",componentId:"sc-1qmmt03-3"})(eSt||(eSt=jnt(["\n color: var(--color-neutral-800);\n font-size: 12px;\n letter-spacing: 0.18px;\n line-height: 14px;\n"],["\n color: var(--color-neutral-800);\n font-size: 12px;\n letter-spacing: 0.18px;\n line-height: 14px;\n"]))),dSt=function(e){var t=e.className,i=e.defaultSVG,r=e.hoveredSVG,o=e.size,a=Ant(e,["className","defaultSVG","hoveredSVG","size"]);return n.jsxs(pSt,Dnt({className:t,$size:o},a,{children:[n.jsx(fSt,Dnt({"data-icon":!0,"data-icon-state":"default"},{children:i})),n.jsx(fSt,Dnt({"data-icon":!0,"data-icon-state":"hovered"},{children:null!=r?r:i}))]}))},pSt=v.default.div.withConfig({displayName:"Icon__Host",componentId:"sc-1x5jnq2-0"})((function(e){var t=e.$size,n=e.theme.reach2Theme;return i.css(iSt||(iSt=jnt(["\n align-items: center;\n display: flex;\n justify-content: center;\n\n ","\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n :hover {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n "],["\n align-items: center;\n display: flex;\n justify-content: center;\n\n ","\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n :hover {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n "])),t?i.css(tSt||(tSt=jnt(["\n svg {\n height: ","px;\n width: ","px;\n }\n "],["\n svg {\n height: ","px;\n width: ","px;\n }\n "])),t,t):i.css(nSt||(nSt=jnt(["\n svg {\n height: ",";\n width: ",";\n }\n "],["\n svg {\n height: ",";\n width: ",";\n }\n "])),n.spacing[24],n.spacing[24]))})),fSt=v.default.div.withConfig({displayName:"Icon__Inner",componentId:"sc-1x5jnq2-1"})(rSt||(rSt=jnt(["\n display: none;\n"],["\n display: none;\n"])));function hSt(){return hSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},hSt.apply(this,arguments)}var mSt,gSt=function(e){return m.createElement("svg",hSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),oSt||(oSt=m.createElement("path",{d:"M7 2.5a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h7.5c3.29 0 6-2.71 6-6 0-1.922-.985-3.568-2.41-4.669C18.615 9.99 19 9.055 19 8c0-3.014-2.486-5.5-5.5-5.5H7Zm2 4h4.5c.852 0 1.5.648 1.5 1.5s-.648 1.5-1.5 1.5H9v-3Zm0 7h5.5c1.128 0 2 .872 2 2 0 1.128-.872 2-2 2H9v-4Z",fill:"#0F0E0E"})))};function vSt(){return vSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},vSt.apply(this,arguments)}var bSt,ySt=function(e){return m.createElement("svg",vSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),mSt||(mSt=m.createElement("path",{d:"M3.25 6a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.75.75 0 1 0 0 1.5h14.5a.75.75 0 1 0 0-1.5H6.75ZM3.25 11a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.751.751 0 1 0 0 1.5h14.5a.751.751 0 1 0 0-1.5H6.75ZM3.25 16a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm3.5.5a.751.751 0 1 0 0 1.5h14.5a.751.751 0 1 0 0-1.5H6.75Z",fill:"#0F0E0E"})))};function OSt(){return OSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},OSt.apply(this,arguments)}var wSt,_St=function(e){return m.createElement("svg",OSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),bSt||(bSt=m.createElement("path",{d:"M15.243 7.99a.75.75 0 0 0-.523.23L12 10.94 9.28 8.22a.75.75 0 1 0-1.06 1.06L10.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L12 13.06l2.72 2.72a.751.751 0 1 0 1.06-1.06L13.06 12l2.72-2.72a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function xSt(){return xSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xSt.apply(this,arguments)}var kSt,SSt,ESt,CSt=function(e){return m.createElement("svg",xSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),wSt||(wSt=m.createElement("path",{d:"M17.46 2.964a3.57 3.57 0 0 0-2.532 1.044L12.38 6.556c-1.205 1.204-1.303 3.043-.423 4.426l-.976.976c-1.383-.88-3.222-.783-4.426.422l-2.548 2.548a3.594 3.594 0 0 0 0 5.065 3.594 3.594 0 0 0 5.065 0l2.548-2.548c1.205-1.204 1.302-3.043.422-4.426l.976-.976c1.383.88 3.222.782 4.426-.423l2.548-2.548a3.593 3.593 0 0 0 0-5.064 3.57 3.57 0 0 0-2.532-1.044Zm0 1.49c.531 0 1.062.205 1.472.614a2.07 2.07 0 0 1 0 2.944l-2.548 2.548c-.63.63-1.545.764-2.308.424l1.639-1.638a.748.748 0 0 0-.236-1.236.75.75 0 0 0-.825.175l-1.638 1.639a2.059 2.059 0 0 1 .424-2.308l2.548-2.548c.41-.409.94-.614 1.472-.614Zm-8.372 8.373c.286 0 .568.07.835.19l-1.638 1.637a.75.75 0 1 0 1.06 1.06l1.638-1.637c.34.763.207 1.677-.424 2.307l-2.548 2.549a2.07 2.07 0 0 1-2.944-.001 2.07 2.07 0 0 1 0-2.943l2.55-2.549c.409-.409.94-.613 1.47-.613Z",fill:"#0F0E0E"})))};function PSt(){return PSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},PSt.apply(this,arguments)}var FSt,TSt=function(e){return m.createElement("svg",PSt({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),kSt||(kSt=m.createElement("rect",{x:.5,y:.5,width:19,height:19,rx:3.5,fill:"#0F0E0E"})),SSt||(SSt=m.createElement("rect",{x:.5,y:.5,width:19,height:19,rx:3.5,stroke:"#0F0E0E"})),ESt||(ESt=m.createElement("path",{d:"M14.854 5.86a.73.73 0 0 0-.502.221l-6.296 6.297-2.404-2.404a.73.73 0 1 0-1.032 1.032l2.92 2.92a.73.73 0 0 0 1.032 0l6.812-6.813a.73.73 0 0 0-.53-1.252Z",fill:"#fff"})))};function DSt(){return DSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},DSt.apply(this,arguments)}var ASt,ISt=function(e){return m.createElement("svg",DSt({width:24,height:25,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),FSt||(FSt=m.createElement("path",{d:"M15.993 9.787a.75.75 0 0 0-.523.23L12 13.487l-3.47-3.47a.75.75 0 1 0-1.06 1.06l4 4a.75.75 0 0 0 1.06 0l4-4a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function $St(){return $St=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$St.apply(this,arguments)}var RSt,jSt=function(e){return m.createElement("svg",$St({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ASt||(ASt=m.createElement("path",{d:"M13.985 6.993a.75.75 0 0 0-.515.227l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 1 0 1.06-1.06l-3.47-3.47 3.47-3.47a.75.75 0 0 0-.545-1.287Z",fill:"#0F0E0E"})))};function zSt(){return zSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},zSt.apply(this,arguments)}var MSt,LSt=function(e){return m.createElement("svg",zSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),RSt||(RSt=m.createElement("path",{d:"M10.003 6.992a.75.75 0 0 0-.522 1.288l3.47 3.47-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 0 0-.538-.228Z",fill:"#0F0E0E"})))};function NSt(){return NSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},NSt.apply(this,arguments)}var QSt,BSt=function(e){return m.createElement("svg",NSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),MSt||(MSt=m.createElement("path",{d:"M3.509 4.994a1.05 1.05 0 1 1 1.485-1.485L12 10.515l7.006-7.005a1.05 1.05 0 1 1 1.484 1.484L13.485 12l7.005 7.006a1.05 1.05 0 1 1-1.484 1.484L12 13.485 4.994 20.49a1.05 1.05 0 1 1-1.484-1.484L10.515 12 3.51 4.994Z",fill:"#0F0E0E"})))};function USt(){return USt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},USt.apply(this,arguments)}var qSt,WSt=function(e){return m.createElement("svg",USt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),QSt||(QSt=m.createElement("path",{d:"M19.743 3.49a.75.75 0 0 0-.523.23L12 10.94 4.78 3.72a.75.75 0 1 0-1.06 1.06L10.94 12l-7.22 7.22a.75.75 0 1 0 1.06 1.06L12 13.06l7.22 7.22a.751.751 0 1 0 1.06-1.06L13.06 12l7.22-7.22a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function GSt(){return GSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},GSt.apply(this,arguments)}var VSt,XSt=function(e){return m.createElement("svg",GSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),qSt||(qSt=m.createElement("path",{d:"M12 1.999c-5.514 0-10 4.486-10 10 0 1.638.431 3.168 1.13 4.533l-1.083 3.881c-.253.902.639 1.793 1.54 1.541l3.885-1.084C8.835 21.568 10.364 22 12 22c5.514 0 10-4.486 10-10s-4.486-10-10-10Zm0 1.5c4.703 0 8.5 3.797 8.5 8.5 0 4.703-3.797 8.5-8.5 8.5-1.5 0-2.905-.39-4.129-1.072a.75.75 0 0 0-.566-.068L3.61 20.39l1.032-3.69a.75.75 0 0 0-.068-.568A8.445 8.445 0 0 1 3.5 11.999c0-4.703 3.797-8.5 8.5-8.5ZM16.75 8l-9.5.001a.75.75 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm0 3.249-9.5.001a.751.751 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm-5 3.251-4.5.001a.75.75 0 1 0 0 1.5l4.5-.001a.751.751 0 1 0 0-1.5Z",fill:"#0F0E0E"})))};function HSt(){return HSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},HSt.apply(this,arguments)}var YSt,ZSt=function(e){return m.createElement("svg",HSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),VSt||(VSt=m.createElement("path",{d:"M21.735 4.493a.75.75 0 0 0-.515.227L8.25 17.69l-5.47-5.47a.75.75 0 1 0-1.06 1.06l6 6a.75.75 0 0 0 1.06 0l13.5-13.5a.75.75 0 0 0-.545-1.287Z",fill:"#0F0E0E"})))};function KSt(){return KSt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},KSt.apply(this,arguments)}var JSt,eEt=function(e){return m.createElement("svg",KSt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),YSt||(YSt=m.createElement("path",{d:"m13.671 6.469 3.86 3.859-8.665 8.666a1.227 1.227 0 0 1-.484.298l-5.059 1.675a.232.232 0 0 1-.236-.055.228.228 0 0 1-.055-.233l1.675-5.061c.06-.18.163-.348.298-.483l8.666-8.666Zm6.51 1.21-.853.852-3.86-3.86.852-.85a2.707 2.707 0 0 1 1.93-.799c.732 0 1.415.283 1.93.798a2.733 2.733 0 0 1 0 3.86Z",fill:"#0F0E0E",stroke:"#0F0E0E",strokeWidth:1.042})))};function tEt(){return tEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},tEt.apply(this,arguments)}var nEt,iEt=function(e){return m.createElement("svg",tEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),JSt||(JSt=m.createElement("path",{d:"M18 3.032c-.898 0-1.795.34-2.475 1.02L4.457 15.12a1.75 1.75 0 0 0-.445.758L2.53 21.071a.75.75 0 0 0 .926.927l5.196-1.483v-.001c.285-.082.546-.234.757-.445L20.474 9.002a3.51 3.51 0 0 0 0-4.95 3.488 3.488 0 0 0-2.475-1.02Zm0 1.491c.51 0 1.02.197 1.412.59.788.788.789 2.041.001 2.828l-.97.97-2.827-2.828.97-.97c.392-.393.903-.59 1.413-.59Zm-3.445 2.62 2.828 2.829-9.037 9.037a.254.254 0 0 1-.108.063L4.34 20.186l1.113-3.898a.248.248 0 0 1 .064-.108l9.037-9.036Z",fill:"#000"})))};function rEt(){return rEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},rEt.apply(this,arguments)}var oEt,aEt=function(e){return m.createElement("svg",rEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),nEt||(nEt=m.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2ZM9 8.25a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm6 0a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm-7.175 5.752a.748.748 0 0 1 .644.284A4.466 4.466 0 0 0 12 16a4.467 4.467 0 0 0 3.531-1.714.749.749 0 1 1 1.179.928A5.959 5.959 0 0 1 12 17.5a5.957 5.957 0 0 1-4.71-2.286.75.75 0 0 1 .535-1.212Z",fill:"#0F0E0E"})))};function sEt(){return sEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},sEt.apply(this,arguments)}var lEt,cEt=function(e){return m.createElement("svg",sEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),oEt||(oEt=m.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2Zm0 1.5c4.703 0 8.5 3.797 8.5 8.5 0 4.703-3.797 8.5-8.5 8.5A8.489 8.489 0 0 1 3.5 12c0-4.703 3.797-8.5 8.5-8.5ZM9 8.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm6 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-7.113 5.742a.75.75 0 0 0-.596 1.222A5.985 5.985 0 0 0 12 17.5a5.985 5.985 0 0 0 4.709-2.286.75.75 0 1 0-1.179-.928A4.473 4.473 0 0 1 12 16a4.472 4.472 0 0 1-3.53-1.714.75.75 0 0 0-.583-.294Z",fill:"#0F0E0E"})))};function uEt(){return uEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},uEt.apply(this,arguments)}var dEt,pEt=function(e){return m.createElement("svg",uEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),lEt||(lEt=m.createElement("path",{d:"M13.118 4.138c-.241-.435-.665-.684-1.118-.684-.453 0-.877.249-1.117.684l-7.74 13.984a1.28 1.28 0 0 0-.003 1.28c.223.38.638.619 1.12.619h15.481c.483 0 .897-.239 1.12-.619a1.28 1.28 0 0 0-.002-1.28L13.118 4.138ZM11.771 8.75v-.007a.23.23 0 0 1 .315-.216l.196-.483-.196.483a.229.229 0 0 1 .076.05l.368-.368-.368.368a.229.229 0 0 1 .067.166V13.757a.227.227 0 0 1-.14.215.23.23 0 0 1-.318-.215V8.75Zm-1.29-4.834c.318-.573.908-.869 1.52-.869.61 0 1.2.296 1.518.87L21.26 17.9c.625 1.128-.23 2.58-1.519 2.58H4.26c-1.288 0-2.143-1.452-1.519-2.58l7.74-13.984Zm1.18 12.745a.479.479 0 1 1 .678.677.479.479 0 0 1-.678-.677Z",fill:"#000",stroke:"#0F0E0E",strokeWidth:1.042})))};function fEt(){return fEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},fEt.apply(this,arguments)}var hEt,mEt=function(e){return m.createElement("svg",fEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),dEt||(dEt=m.createElement("path",{d:"M7 2a1 1 0 0 0-.929.629l-4 10a1 1 0 0 0 1.858.743l.749-1.872h4.645l.748 1.871a.99.99 0 0 0 .479.51l.959-2.302-3.58-8.95A1.001 1.001 0 0 0 7 2Zm8.976 3a1 1 0 0 0-.899.615l-5 12a1 1 0 1 0 1.846.77L12.916 16h6.168l.993 2.385a1 1 0 1 0 1.846-.77l-5-12A1 1 0 0 0 15.976 5ZM7 5.692 8.523 9.5H5.478L7 5.692ZM16 8.6l2.25 5.4h-4.5L16 8.6ZM11 20a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H11Z",fill:"#0F0E0E"})))};function gEt(){return gEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},gEt.apply(this,arguments)}var vEt,bEt=function(e){return m.createElement("svg",gEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),hEt||(hEt=m.createElement("path",{d:"M7 2a.75.75 0 0 0-.695.469l-4.25 10.5a.75.75 0 1 0 1.39.562l.823-2.031h5.464l.823 2.031a.74.74 0 0 0 .175.25l.786-1.873-3.82-9.44A.75.75 0 0 0 7 2Zm0 2.749L9.125 10h-4.25L7 4.749ZM15.98 5a.75.75 0 0 0-.671.46l-5.25 12.5a.75.75 0 1 0 1.382.58l1.079-2.566 6.972.026 1.067 2.54a.75.75 0 1 0 1.382-.58l-5.25-12.5A.75.75 0 0 0 15.98 5ZM16 7.687l2.86 6.811-5.712-.022L16 7.686ZM10.75 20.5a.751.751 0 1 0 0 1.5h10.5a.751.751 0 1 0 0-1.5h-10.5Z",fill:"#0F0E0E"})))};function yEt(){return yEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},yEt.apply(this,arguments)}var OEt,wEt=function(e){return m.createElement("svg",yEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),vEt||(vEt=m.createElement("path",{d:"M14.72 3.491a.752.752 0 0 0-.085.009H9.25a.75.75 0 1 0 0 1.5h4.405L8.236 19H4.25a.751.751 0 1 0 0 1.5h4.376a.75.75 0 0 0 .24 0h5.884a.751.751 0 1 0 0-1.5H9.845l5.419-14h3.486a.75.75 0 1 0 0-1.5h-3.876a.75.75 0 0 0-.154-.009Z",fill:"#0F0E0E"})))};function _Et(){return _Et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_Et.apply(this,arguments)}var xEt,kEt=function(e){return m.createElement("svg",_Et({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),OEt||(OEt=m.createElement("path",{d:"M10.735 4.493a.75.75 0 0 0-.515.227l-7 7a.75.75 0 0 0 0 1.06l7 7a.75.75 0 1 0 1.06-1.06L5.56 13h14.69a.75.75 0 1 0 0-1.5H5.56l5.72-5.72a.75.75 0 0 0-.545-1.287Z",fill:"#0F0E0E"})))};function SEt(){return SEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},SEt.apply(this,arguments)}var EEt,CEt=function(e){return m.createElement("svg",SEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),xEt||(xEt=m.createElement("path",{d:"M2 12c0 5.511 4.489 10 10 10a1 1 0 1 0 0-2c-4.43 0-8-3.57-8-8s3.57-8 8-8a1 1 0 1 0 0-2C6.489 2 2 6.489 2 12Zm12.445 8.315a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm2.918-1.952a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm.007-12.72a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm1.944 9.804a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm.005-6.886a1 1 0 1 0 2 0 1 1 0 0 0-2 0ZM20 12a1 1 0 1 0 2 0 1 1 0 0 0-2 0Z",fill:"#0F0E0E"})))};function PEt(){return PEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},PEt.apply(this,arguments)}var FEt,TEt=function(e){return m.createElement("svg",PEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),EEt||(EEt=m.createElement("path",{d:"M12 2C6.489 2 2 6.489 2 12s4.489 10 10 10a9.99 9.99 0 0 0 3.514-.635.998.998 0 0 0 .395-1.63 1.002 1.002 0 0 0-1.099-.242A7.976 7.976 0 0 1 12 20c-4.43 0-8-3.57-8-8s3.57-8 8-8 8 3.57 8 8v1c0 1.117-.883 2-2 2s-2-.883-2-2V8a1 1 0 0 0-1.99-.148A4.145 4.145 0 0 0 11.5 7C8.95 7 7 9.32 7 12s1.95 5 4.5 5c1.328 0 2.49-.633 3.302-1.614A3.998 3.998 0 0 0 18 17c2.197 0 4-1.803 4-4v-1c0-5.511-4.489-10-10-10Zm-.5 7c1.31 0 2.5 1.27 2.5 3s-1.19 3-2.5 3S9 13.73 9 12s1.19-3 2.5-3Z",fill:"#0F0E0E"})))};function DEt(){return DEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},DEt.apply(this,arguments)}var AEt,IEt=function(e){return m.createElement("svg",DEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),FEt||(FEt=m.createElement("path",{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10c1.234 0 2.42-.224 3.514-.635a.748.748 0 0 0 .29-1.219.75.75 0 0 0-.818-.185A8.475 8.475 0 0 1 12 20.5 8.489 8.489 0 0 1 3.5 12c0-4.703 3.797-8.5 8.5-8.5 4.703 0 8.5 3.797 8.5 8.5v1.25c0 1.252-.998 2.25-2.25 2.25A2.239 2.239 0 0 1 16 13.25v-5.5a.751.751 0 1 0-1.5 0v.533C13.71 7.493 12.666 7 11.5 7 8.971 7 7 9.298 7 12s1.971 5 4.5 5c1.436 0 2.691-.742 3.509-1.877A3.756 3.756 0 0 0 18.25 17 3.761 3.761 0 0 0 22 13.25V12c0-5.514-4.486-10-10-10Zm-.5 6.5c1.607 0 3 1.515 3 3.5s-1.393 3.5-3 3.5-3-1.515-3-3.5 1.393-3.5 3-3.5Z",fill:"#0F0E0E"})))};function $Et(){return $Et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$Et.apply(this,arguments)}var REt,jEt=function(e){return m.createElement("svg",$Et({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),AEt||(AEt=m.createElement("path",{d:"M11.5 16.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z",fill:"#0F0E0E"})))};function zEt(){return zEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},zEt.apply(this,arguments)}var MEt,LEt=function(e){return m.createElement("svg",zEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),REt||(REt=m.createElement("path",{d:"M5.228 2.5a.75.75 0 0 0-.215.038l-1.5.5a.75.75 0 0 0 .474 1.424L4.5 4.29V7.25a.75.75 0 1 0 1.5 0v-4a.75.75 0 0 0-.772-.75ZM10.75 5a.75.75 0 1 0 0 1.5h9a.75.75 0 1 0 0-1.5h-9ZM5.052 9c-.75 0-1.315.413-1.61.781-.296.369-.41.752-.41.752a.75.75 0 1 0 1.436.434s.038-.117.143-.248c.106-.132.19-.219.44-.219.207 0 .244.046.321.15a.834.834 0 0 1 .128.39c0 .202-.04.263-.17.394-.132.13-.378.282-.678.438-.299.156-.644.313-.978.58-.334.265-.674.737-.674 1.298a.75.75 0 0 0 .75.75h3a.751.751 0 1 0 0-1.5H5.645c.248-.14.503-.264.745-.505.337-.337.61-.861.61-1.456 0-.417-.115-.863-.42-1.278A1.928 1.928 0 0 0 5.051 9Zm5.698 2.5a.751.751 0 1 0 0 1.5h9a.752.752 0 0 0 .537-1.284.75.75 0 0 0-.537-.216h-9ZM5.052 16c-1.111 0-1.83.718-1.83.718a.75.75 0 1 0 1.056 1.064s.29-.282.774-.282c.199 0 .33.061.39.11.06.048.058.058.058.092 0 .261-.04.243-.057.255A.44.44 0 0 1 5.25 18a.75.75 0 0 0 0 1.5c-.008 0 .266.043.4.112.134.07.1.04.1.051 0 .13-.022.153-.099.213a.763.763 0 0 1-.445.124c-.516 0-.992-.339-.992-.339a.75.75 0 1 0-.928 1.178s.795.661 1.92.661c.49 0 .974-.133 1.37-.443a1.8 1.8 0 0 0 .674-1.394c0-.45-.23-.774-.496-1.032.145-.272.246-.58.246-.929 0-.502-.252-.968-.617-1.262-.365-.293-.834-.44-1.331-.44Zm5.698 2a.751.751 0 1 0 0 1.5h9a.752.752 0 0 0 .537-1.284.75.75 0 0 0-.537-.216h-9Z",fill:"#0F0E0E"})))};function NEt(){return NEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},NEt.apply(this,arguments)}var QEt,BEt,UEt=function(e){return m.createElement("svg",NEt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),MEt||(MEt=m.createElement("path",{d:"M10.25 3C6.255 3 3 6.255 3 10.25s3.255 7.25 7.25 7.25c1.728 0 3.317-.61 4.565-1.625l4.905 4.905a.75.75 0 1 0 1.06-1.06l-4.905-4.905A7.213 7.213 0 0 0 17.5 10.25C17.5 6.255 14.245 3 10.25 3Zm0 1.5A5.739 5.739 0 0 1 16 10.25a5.727 5.727 0 0 1-1.604 3.985.746.746 0 0 0-.16.16A5.727 5.727 0 0 1 10.25 16a5.739 5.739 0 0 1-5.75-5.75 5.739 5.739 0 0 1 5.75-5.75Z",fill:"#0F0E0E"})))};function qEt(){return qEt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},qEt.apply(this,arguments)}var WEt,GEt,VEt,XEt,HEt,YEt,ZEt,KEt=function(e){return m.createElement("svg",qEt({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),QEt||(QEt=m.createElement("rect",{x:.5,y:.5,width:19,height:19,rx:3.5,fill:"#fff"})),BEt||(BEt=m.createElement("rect",{x:.5,y:.5,width:19,height:19,rx:3.5,stroke:"#C2BCB9"})))},JEt=v.default.div.withConfig({displayName:"Skeleton__Host",componentId:"sc-rex4m6-0"})(WEt||(WEt=jnt(["\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n"])));v.default.div.withConfig({displayName:"Skeleton__SkeletonInlineGroup",componentId:"sc-rex4m6-1"})(GEt||(GEt=jnt(["\n display: flex;\n gap: ",";\n align-items: center;\n width: 100%;\n"],["\n display: flex;\n gap: ",";\n align-items: center;\n width: 100%;\n"])),(function(e){return"".concat(e.gap||16,"px")})),v.default.div.withConfig({displayName:"Skeleton__SkeletonBlockGroup",componentId:"sc-rex4m6-2"})(VEt||(VEt=jnt(["\n display: flex;\n flex-direction: column;\n gap: ",";\n width: 100%;\n ","\n"],["\n display: flex;\n flex-direction: column;\n gap: ",";\n width: 100%;\n ","\n"])),(function(e){return"".concat(e.gap||4,"px")}),(function(e){return e.marginTop&&"margin-top: ".concat(e.marginTop,"px;")})),v.default.div.withConfig({displayName:"Skeleton__Avatar",componentId:"sc-rex4m6-3"})(XEt||(XEt=jnt(["\n width: ","px;\n height: ","px;\n border-radius: 50%;\n flex: 0 0 auto;\n animation: skeleton-loading 1s linear infinite alternate;\n"],["\n width: ","px;\n height: ","px;\n border-radius: 50%;\n flex: 0 0 auto;\n animation: skeleton-loading 1s linear infinite alternate;\n"])),(function(e){var t;return null!==(t=e.size)&&void 0!==t?t:36}),(function(e){var t;return null!==(t=e.size)&&void 0!==t?t:36})),v.default.div.withConfig({displayName:"Skeleton__Line",componentId:"sc-rex4m6-4"})(HEt||(HEt=jnt(["\n width: ",";\n ",";\n max-width: 100%;\n animation: skeleton-loading 1s linear infinite alternate;\n"],["\n width: ",";\n ",";\n max-width: 100%;\n animation: skeleton-loading 1s linear infinite alternate;\n"])),(function(e){var t;return null!==(t=e.width)&&void 0!==t?t:"auto"}),(function(e){return e.height?"height: ".concat(e.height,"px"):"height: 20px"})),v.default.div.withConfig({displayName:"PageScrollIndicator__Host",componentId:"sc-2wrh76-0"})(YEt||(YEt=jnt(["\n position: relative;\n z-index: 3;\n width: 100%;\n height: 4px;\n background: var(--color-neutral-300);\n"],["\n position: relative;\n z-index: 3;\n width: 100%;\n height: 4px;\n background: var(--color-neutral-300);\n"]))),v.default.div.attrs((function(e){var t=e.progress;return{style:{width:"".concat(t,"%")}}})).withConfig({displayName:"PageScrollIndicator__ProgressBar",componentId:"sc-2wrh76-1"})(ZEt||(ZEt=jnt(["\n height: 4px;\n background: var(--color-coral-500);\n"],["\n height: 4px;\n background: var(--color-coral-500);\n"])));var eCt=function(e){var t=e.size,i=e.className;return n.jsx(OCt,{defaultSVG:n.jsx(CEt,{}),size:t,className:i})};v.default(eCt).withConfig({displayName:"SpinnerLoader__PageSpinnerLoader",componentId:"sc-1y3keaq-0"})(tCt||(tCt=jnt(["\n position: absolute;\n left: ",";\n top: ",";\n"],["\n position: absolute;\n left: ",";\n top: ",";\n"])),(function(e){var t;return"calc(50% - ".concat((null!==(t=e.size)&&void 0!==t?t:24)/2,"px)")}),(function(e){var t;return"calc(50% - ".concat((null!==(t=e.size)&&void 0!==t?t:24)/2,"px)")}));var tCt,nCt,iCt,rCt,oCt,aCt,sCt,lCt,cCt,uCt,dCt,pCt,fCt,hCt,mCt,gCt,vCt,bCt,yCt,OCt=v.default(dSt).withConfig({displayName:"SpinnerLoader__SpinnerIcon",componentId:"sc-1y3keaq-1"})(nCt||(nCt=jnt(["\n animation: spinner-animation 1s linear infinite;\n\n @keyframes spinner-animation {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(90deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 75% {\n transform: rotate(270deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"],["\n animation: spinner-animation 1s linear infinite;\n\n @keyframes spinner-animation {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(90deg);\n }\n 50% {\n transform: rotate(180deg);\n }\n 75% {\n transform: rotate(270deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"]))),wCt=function(){return n.jsxs(_Ct,{children:[n.jsx(xCt,{}),n.jsx(xCt,{}),n.jsx(xCt,{})]})},_Ct=v.default.div.withConfig({displayName:"ButtonLoading__Container",componentId:"sc-1nus3mb-0"})(iCt||(iCt=jnt(["\n display: flex;\n gap: 8px;\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n\n & > * {\n animation: loading 1.25s ease-in infinite;\n }\n\n & > *:nth-child(2) {\n animation-delay: 0.42s;\n }\n\n & > *:nth-child(3) {\n animation-delay: 0.84s;\n }\n\n @keyframes loading {\n 0% {\n background-color: var(--color-neutral-50);\n }\n 66% {\n background-color: var(--color-coral-700);\n }\n }\n"],["\n display: flex;\n gap: 8px;\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n\n & > * {\n animation: loading 1.25s ease-in infinite;\n }\n\n & > *:nth-child(2) {\n animation-delay: 0.42s;\n }\n\n & > *:nth-child(3) {\n animation-delay: 0.84s;\n }\n\n @keyframes loading {\n 0% {\n background-color: var(--color-neutral-50);\n }\n 66% {\n background-color: var(--color-coral-700);\n }\n }\n"]))),xCt=v.default.div.withConfig({displayName:"ButtonLoading__Dot",componentId:"sc-1nus3mb-1"})(rCt||(rCt=jnt(["\n background-color: var(--color-coral-700);\n border-radius: 50%;\n height: 8px;\n width: 8px;\n"],["\n background-color: var(--color-coral-700);\n border-radius: 50%;\n height: 8px;\n width: 8px;\n"]))),kCt=t.forwardRef((function(e,t){var i=e.className,r=e.disabled,o=e.domIdentifier,a=e.icon,s=e.iconPosition,l=void 0===s?"left":s,c=e.isLoading,u=e.label,d=e.onClick,p=e.size,f=void 0===p?"Default":p;return n.jsxs(ECt,Dnt({className:i,disabled:r||c,"data-button":o,isLoading:c,isSmall:"Small"===f,onClick:d,ref:t},{children:[c&&n.jsx(wCt,{}),a&&"left"===l&&n.jsx(dSt,{size:"Small"===f&&22,defaultSVG:a}),n.jsx("span",{children:u}),a&&"right"===l&&n.jsx(dSt,{size:"Small"===f&&22,defaultSVG:a})]}))})),SCt=i.css(aCt||(aCt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.theme.reach2Theme;return i.css(oCt||(oCt=jnt(["\n align-items: center;\n appearance: none;\n background-color: transparent;\n border: 0;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0;\n\n &:disabled {\n color: ",";\n cursor: default;\n\n path {\n fill: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: 0 0 0 2px ",";\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n "],["\n align-items: center;\n appearance: none;\n background-color: transparent;\n border: 0;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0;\n\n &:disabled {\n color: ",";\n cursor: default;\n\n path {\n fill: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: 0 0 0 2px ",";\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n "])),t.colors.foreground.buttonDisabled,t.colors.foreground.iconDisabled,t.colors.background.interaction.primary,t.colors.foreground.button)})),ECt=v.default.button.withConfig({displayName:"BaseButton__StyledButton",componentId:"sc-10vs599-0"})((function(e){var t=e.isLoading,n=e.isSmall,r=e.theme.reach2Theme;return i.css(uCt||(uCt=jnt(["\n ","\n\n border-radius: ",";\n\n ","\n\n ","\n "],["\n ","\n\n border-radius: ",";\n\n ","\n\n ","\n "])),SCt,r.radius.button,n?i.css(sCt||(sCt=jnt(["\n gap: 6px;\n height: ",";\n padding: 6px ",";\n ","\n "],["\n gap: 6px;\n height: ",";\n padding: 6px ",";\n ","\n "])),r.spacing[32],r.spacing[16],r.typography.buttonLabel2):i.css(lCt||(lCt=jnt(["\n gap: ",";\n height: 46px;\n padding: "," ",";\n ","\n "],["\n gap: ",";\n height: 46px;\n padding: "," ",";\n ","\n "])),r.spacing[8],r.spacing[8],r.spacing[24],r.typography.buttonLabel1),t&&i.css(cCt||(cCt=jnt(["\n position: relative;\n\n & > *:not(:first-child) {\n visibility: hidden;\n }\n "],["\n position: relative;\n\n & > *:not(:first-child) {\n visibility: hidden;\n }\n "]))))})),CCt=t.forwardRef((function(e,t){var i=e.className,r=e.defaultSVG,o=e.disabled,a=e.domIdentifier,s=e.hoveredSVG,l=e.iconSize,c=e.onClick,u=Ant(e,["className","defaultSVG","disabled","domIdentifier","hoveredSVG","iconSize","onClick"]);return n.jsx(PCt,Dnt({className:i,"data-button":a,disabled:o,onClick:c,ref:t},u,{children:n.jsx(dSt,{defaultSVG:r,hoveredSVG:s,size:l})}))})),PCt=v.default.button.withConfig({displayName:"BaseIconButton__StyledButton",componentId:"sc-59hzmr-0"})(dCt||(dCt=jnt(["\n ","\n\n :disabled {\n [data-icon-state='default']:not(:only-of-type) {\n display: flex;\n }\n\n [data-icon-state='hovered'] {\n display: none;\n }\n }\n\n :focus-visible,\n :hover {\n [data-icon-state='default'] {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n ","\n\n :disabled {\n [data-icon-state='default']:not(:only-of-type) {\n display: flex;\n }\n\n [data-icon-state='hovered'] {\n display: none;\n }\n }\n\n :focus-visible,\n :hover {\n [data-icon-state='default'] {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),SCt),FCt=t.forwardRef((function(e,t){var i=e.buttonSize,r=void 0===i?"Medium":i,o=e.className,a=e.defaultSVG,s=e.disabled,l=e.hoveredSVG,c=e.isSelected,u=e.onClick;return n.jsx(TCt,{className:o,defaultSVG:a,disabled:s,hoveredSVG:!s&&l,iconSize:function(e){switch(e){case"Large":return 28;case"Small":return 20;default:return 24}}(r),onClick:u,ref:t,$buttonSize:r,$isSelected:c})})),TCt=v.default(CCt).withConfig({displayName:"IconButton__StyledBaseIconButton",componentId:"sc-1s09ne0-0"})((function(e){var t=e.$buttonSize,n=e.$isSelected,r=e.theme.reach2Theme;return i.css(vCt||(vCt=jnt(["\n border-radius: ",";\n\n ","\n\n ","\n\n ","\n\n ","\n "],["\n border-radius: ",";\n\n ","\n\n ","\n\n ","\n\n ","\n "])),r.radius.button,n?i.css(pCt||(pCt=jnt(["\n background-color: ",";\n\n [data-icon-state='default'] {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n "],["\n background-color: ",";\n\n [data-icon-state='default'] {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n "])),r.colors.theme.inverted.active):i.css(fCt||(fCt=jnt(["\n &:hover:not(:disabled) {\n background-color: ",";\n }\n\n &:focus:active:not(:disabled) {\n background-color: ",";\n }\n "],["\n &:hover:not(:disabled) {\n background-color: ",";\n }\n\n &:focus:active:not(:disabled) {\n background-color: ",";\n }\n "])),r.colors.theme.inverted.hover,r.colors.theme.inverted.pressed),"Large"===t&&i.css(hCt||(hCt=jnt(["\n width: 44px;\n height: 44px;\n padding: ",";\n "],["\n width: 44px;\n height: 44px;\n padding: ",";\n "])),r.spacing[8]),"Medium"===t&&i.css(mCt||(mCt=jnt(["\n width: ",";\n height: ",";\n padding: ",";\n "],["\n width: ",";\n height: ",";\n padding: ",";\n "])),r.spacing[32],r.spacing[32],r.spacing[4]),"Small"===t&&i.css(gCt||(gCt=jnt(["\n width: 28px;\n height: 28px;\n padding: ",";\n "],["\n width: 28px;\n height: 28px;\n padding: ",";\n "])),r.spacing[4]))})),DCt=v.default(FCt).withConfig({displayName:"BackButton__StyledIconButton",componentId:"sc-18svzaj-0"})(bCt||(bCt=jnt(["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"],["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"])));!function(e){e.Row="row",e.Column="column"}(yCt||(yCt={}));var ACt,ICt,$Ct,RCt,jCt,zCt,MCt,LCt,NCt,QCt,BCt=t.forwardRef((function(e,t){var i=e.className,r=e.defaultSVG,o=e.disabled,a=e.domIdentifier,s=e.hoveredSVG,l=e.iconSize,c=e.isSelected,u=e.label,d=e.labelDirection,p=e.labelGap,f=e.onClick,h=e.secondarySVG,m=Ant(e,["className","defaultSVG","disabled","domIdentifier","hoveredSVG","iconSize","isSelected","label","labelDirection","labelGap","onClick","secondarySVG"]);return n.jsxs(UCt,Dnt({className:i,"data-button":a,disabled:o,onClick:f,ref:t,$isSelected:c,$shouldAddMarginRight:!!h},m,{children:[n.jsxs(qCt,Dnt({flexDirection:d,"data-icon-host":!0,className:i,gap:p},{children:[n.jsx(GCt,Dnt({size:l,"data-icon":!0,"data-icon-state":"default"},{children:c?s:r})),s&&n.jsx(GCt,Dnt({size:l,"data-icon":!0,"data-icon-state":"hovered"},{children:s})),u&&n.jsx(WCt,Dnt({"data-icon-label":!0},{children:u}))]})),h]}))})),UCt=v.default.button.withConfig({displayName:"ContentActionButton__StyledButton",componentId:"p9fvi8-0"})((function(e){var t=e.$isSelected,n=e.$shouldAddMarginRight;return i.css($Ct||($Ct=jnt(["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n border-radius: 8px;\n background-color: transparent;\n box-sizing: border-box;\n padding: 4px 8px;\n\n font-size: 12px;\n line-height: 14px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n & > [data-icon-host='true'] {\n ","\n }\n\n ","\n "],["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n border-radius: 8px;\n background-color: transparent;\n box-sizing: border-box;\n padding: 4px 8px;\n\n font-size: 12px;\n line-height: 14px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-of-type) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n\n & > [data-icon-host='true'] {\n ","\n }\n\n ","\n "])),n?"margin-right: 8px":"",t?i.css(ACt||(ACt=jnt(["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n path {\n fill: var(--color-primary-500);\n }\n "],["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n path {\n fill: var(--color-primary-500);\n }\n "]))):i.css(ICt||(ICt=jnt(["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "],["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "]))))})),qCt=v.default.span.withConfig({displayName:"ContentActionButton__IconWrapper",componentId:"p9fvi8-1"})(RCt||(RCt=jnt(["\n color: var(--color-neutral-950);\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: ","px;\n\n [data-icon-state='default'] {\n display: flex;\n }\n"],["\n color: var(--color-neutral-950);\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: ","px;\n\n [data-icon-state='default'] {\n display: flex;\n }\n"])),(function(e){return"var(--icon-label-direction,".concat(e.flexDirection,")")}),(function(e){return"".concat(e.gap)})),WCt=v.default.p.withConfig({displayName:"ContentActionButton__Label",componentId:"p9fvi8-2"})(jCt||(jCt=jnt(["\n margin: 0;\n"],["\n margin: 0;\n"]))),GCt=v.default.span.withConfig({displayName:"ContentActionButton__Inner",componentId:"p9fvi8-3"})(zCt||(zCt=jnt(["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"],["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"])),(function(e){var t;return"".concat(null!==(t=e.size)&&void 0!==t?t:20,"px")}),(function(e){var t;return"".concat(null!==(t=e.size)&&void 0!==t?t:20,"px")}));v.default(CCt).withConfig({displayName:"FloatingButton__StyledBaseIconButton",componentId:"y80uu1-0"})((function(e){var t=e.$buttonSize,n=e.theme.reach2Theme;return i.css(NCt||(NCt=jnt(["\n background-color: ",";\n border-radius: 100%;\n box-shadow: ",";\n\n ","\n\n ","\n\n &:disabled {\n background-color: ",";\n }\n\n &:focus:active {\n background-color: ",";\n }\n\n &:hover:not(:disabled) {\n background-color: ",";\n }\n "],["\n background-color: ",";\n border-radius: 100%;\n box-shadow: ",";\n\n ","\n\n ","\n\n &:disabled {\n background-color: ",";\n }\n\n &:focus:active {\n background-color: ",";\n }\n\n &:hover:not(:disabled) {\n background-color: ",";\n }\n "])),n.colors.theme.primary,n.shadows.hardFloat,"Large"===t&&i.css(MCt||(MCt=jnt(["\n height: ",";\n width: ",";\n "],["\n height: ",";\n width: ",";\n "])),n.spacing[80],n.spacing[80]),"Small"===t&&i.css(LCt||(LCt=jnt(["\n height: 60px;\n width: 60px;\n "],["\n height: 60px;\n width: 60px;\n "]))),n.colors.theme.disabled,n.colors.theme.pressed,n.colors.theme.hover)})),v.default.div.withConfig({displayName:"ProfileButton__Host",componentId:"rvofml-0"})((function(e){var t=e.theme.reach2Theme;return i.css(QCt||(QCt=jnt(["\n align-items: center;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n padding: ",";\n "],["\n align-items: center;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n padding: ",";\n "])),t.colors.foreground.primary,t.spacing[4],t.spacing[16])}));var VCt,XCt,HCt,YCt,ZCt,KCt,JCt,ePt,tPt,nPt,iPt,rPt,oPt,aPt,sPt,lPt,cPt,uPt,dPt,pPt,fPt,hPt,mPt,gPt,vPt,bPt,yPt,OPt,wPt=v.default(kCt).withConfig({displayName:"StandardButton__PrimaryButton",componentId:"sc-1jz1k1f-0"})((function(e){var t=e.theme.reach2Theme;return i.css(VCt||(VCt=jnt(["\n background-color: ",";\n\n &:disabled {\n background-color: ",";\n }\n\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n box-shadow: 1px 1px ",";\n }\n "],["\n background-color: ",";\n\n &:disabled {\n background-color: ",";\n }\n\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n box-shadow: 1px 1px ",";\n }\n "])),t.colors.theme.primary,t.colors.theme.disabled,t.colors.theme.pressed,t.colors.theme.hover,t.colors.foreground.primary)})),_Pt=v.default(kCt).withConfig({displayName:"StandardButton__SecondaryButton",componentId:"sc-1jz1k1f-1"})((function(e){var t=e.theme.reach2Theme;return i.css(XCt||(XCt=jnt(["\n border: 1px solid ",";\n\n &:disabled {\n background-color: ",";\n border-color: ",";\n }\n\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:focus-visible {\n background-color: ",";\n border-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n box-shadow: 1px 1px ",";\n }\n "],["\n border: 1px solid ",";\n\n &:disabled {\n background-color: ",";\n border-color: ",";\n }\n\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:focus-visible {\n background-color: ",";\n border-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n box-shadow: 1px 1px ",";\n }\n "])),t.colors.stroke.border.primary,t.colors.background.interaction.disabled,t.colors.stroke.border.disabled,t.colors.background.interaction.pressed,t.colors.background.primary,t.colors.background.primary,t.colors.background.interaction.hover,t.colors.foreground.primary)})),xPt=v.default(kCt).withConfig({displayName:"StandardButton__TertiaryButton",componentId:"sc-1jz1k1f-2"})((function(e){var t=e.theme.reach2Theme;return i.css(HCt||(HCt=jnt(["\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n }\n "],["\n &:active:not(:disabled) {\n background-color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n background-color: ",";\n }\n "])),t.colors.background.interaction.pressed,t.colors.background.interaction.hover)})),kPt=v.default(kCt).withConfig({displayName:"StandardButton__LinkButton",componentId:"sc-1jz1k1f-3"})((function(e){var t=e.theme.reach2Theme;return i.css(YCt||(YCt=jnt(["\n color: ",";\n text-decoration: underline;\n\n &:disabled {\n text-decoration: none;\n }\n\n &:active:not(:disabled) {\n color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n color: ",";\n }\n "],["\n color: ",";\n text-decoration: underline;\n\n &:disabled {\n text-decoration: none;\n }\n\n &:active:not(:disabled) {\n color: ",";\n }\n\n &:hover:not(:disabled, :active, :focus-visible) {\n color: ",";\n }\n "])),t.colors.foreground.primary,t.colors.foreground.tertiary,t.colors.foreground.secondary)})),SPt={body1:"span",body2:"span",buttonLabel1:"span",buttonLabel2:"span",caption1:"span",caption2:"span",h1:"h1",h2:"h2",h3:"h3",h4:"h4",inherit:"span",subtitle1:"span",subtitle2:"span"},EPt=v.default((function(e){var t=e.as,i=e.children,r=e.variant,o=Ant(e,["as","children","variant"]),a=t||SPt[r||"body1"];return n.jsx(a,Dnt({},o,{children:i}))})).withConfig({displayName:"Typography",componentId:"sc-3hhr8c-0"})((function(e){var t=e.align,n=e.decoration,r=e.italic,o=e.noWrap,a=e.theme.reach2Theme,s=e.variant,l=void 0===s?"body1":s,c=e.weight;return i.css(ZCt||(ZCt=jnt(["\n ","\n\n font-style: ",";\n font-weight: ",";\n text-align: ",";\n text-decoration: ",";\n\n ",";\n "],["\n ","\n\n font-style: ",";\n font-weight: ",";\n text-align: ",";\n text-decoration: ",";\n\n ",";\n "])),a.typography[l],r?"italic":"","semibold"===c?500:c||"",t||"",n||"",o&&"\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n ")})),CPt=function(e){var t=e.error,i=e.value;return"string"==typeof i?n.jsx(PPt,{children:i&&n.jsxs(n.Fragment,{children:[t&&n.jsx(pEt,{}),n.jsx(FPt,Dnt({$error:t,variant:"caption1"},{children:i}))]})}):null},PPt=v.default.span.withConfig({displayName:"Legend__LegendWrapper",componentId:"sc-5f72yn-0"})((function(e){var t=e.theme.reach2Theme;return i.css(KCt||(KCt=jnt(["\n align-items: center;\n display: flex;\n gap: ",";\n height: ",";\n\n > svg {\n height: 12px;\n width: 12px;\n\n & > path {\n stroke: ",";\n }\n }\n "],["\n align-items: center;\n display: flex;\n gap: ",";\n height: ",";\n\n > svg {\n height: 12px;\n width: 12px;\n\n & > path {\n stroke: ",";\n }\n }\n "])),t.spacing[4],t.typography.caption1.lineHeight,t.colors.feedback.error.background)})),FPt=v.default(EPt).withConfig({displayName:"Legend__StyledLegend",componentId:"sc-5f72yn-1"})((function(e){var t=e.$error,n=e.theme.reach2Theme;return i.css(JCt||(JCt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),t?n.colors.feedback.error.background:"inherit")})),TPt=function(e){var t=e.className,i=e.error,r=e.icon,o=e.label,a=e.onClick,s=e.onClose;return n.jsxs(IPt,Dnt({className:t,onClick:function(){return null==a?void 0:a()},$clickable:!!a,$error:i},{children:[r&&n.jsx(APt,{$error:i,defaultSVG:r,size:20}),n.jsx($Pt,Dnt({$error:i,variant:"body2"},{children:o})),s&&n.jsx(DPt,{defaultSVG:n.jsx(_St,{}),iconSize:20,onClick:function(e){e.stopPropagation(),s()},$error:i})]}))},DPt=v.default(CCt).withConfig({displayName:"Tag__CancelIconButton",componentId:"kgrxus-0"})(nPt||(nPt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.$error,n=e.theme.reach2Theme;return i.css(tPt||(tPt=jnt(["\n border-radius: ",";\n cursor: pointer;\n\n ","\n\n &:hover {\n background: ",";\n }\n\n &:active {\n background: ",";\n }\n "],["\n border-radius: ",";\n cursor: pointer;\n\n ","\n\n &:hover {\n background: ",";\n }\n\n &:active {\n background: ",";\n }\n "])),n.radius.button,t&&i.css(ePt||(ePt=jnt(["\n * {\n fill: ",";\n }\n "],["\n * {\n fill: ",";\n }\n "])),n.colors.feedback.error.background),t?n.colors.background.tag.closeButtonErrorHover:n.colors.background.tag.closeButtonHover,t?n.colors.background.tag.closeButtonErrorPressed:n.colors.background.tag.closeButtonPressed)})),APt=v.default(dSt).withConfig({displayName:"Tag__StyledIcon",componentId:"kgrxus-1"})((function(e){var t=e.$error,n=e.theme.reach2Theme;return i.css(rPt||(rPt=jnt(["\n ","\n "],["\n ","\n "])),t&&i.css(iPt||(iPt=jnt(["\n * {\n fill: ",";\n }\n "],["\n * {\n fill: ",";\n }\n "])),n.colors.feedback.error.background))})),IPt=v.default.div.withConfig({displayName:"Tag__StyledTag",componentId:"kgrxus-2"})(aPt||(aPt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.$clickable,n=e.$error,r=e.theme.reach2Theme;return i.css(oPt||(oPt=jnt(["\n align-items: center;\n background-color: ",";\n border: none;\n border-radius: ",";\n cursor: ",";\n display: flex;\n flex-shrink: 0;\n gap: ",";\n padding: 0 ",";\n "],["\n align-items: center;\n background-color: ",";\n border: none;\n border-radius: ",";\n cursor: ",";\n display: flex;\n flex-shrink: 0;\n gap: ",";\n padding: 0 ",";\n "])),n?r.colors.feedback.error.foreground:r.colors.background.primary,r.radius.rounded,t?"pointer":"default",r.spacing[4],r.spacing[8])})),$Pt=v.default(EPt).withConfig({displayName:"Tag__StyledTypography",componentId:"kgrxus-3"})(lPt||(lPt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.$error,n=e.theme.reach2Theme;return i.css(sPt||(sPt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),t?n.colors.feedback.error.background:"")})),RPt=function(e,i){var r=e.className,o=e.disabled,a=e.error,s=e.errorSelectedValues,l=e.label,c=e.leftIcon,u=e.legend,d=e.onBlur,p=e.onChange,f=e.onFocus,h=e.onKeyDown,m=e.onSelectedValuesChange,g=e.placeholder,v=e.readOnly,b=e.rightIcon,y=e.selectedValues,O=e.size,w=void 0===O?"Large":O,_=e.style,x=e.value,k=Ant(e,["className","disabled","error","errorSelectedValues","label","leftIcon","legend","onBlur","onChange","onFocus","onKeyDown","onSelectedValuesChange","placeholder","readOnly","rightIcon","selectedValues","size","style","value"]),S=t.useRef(null),E=i||S,C=t.useState(!1),P=C[0],F=C[1];return n.jsxs(jPt,Dnt({className:r,$disabled:o,style:_},{children:[l&&n.jsx(EPt,Dnt({variant:"body2",weight:"bold"},{children:l})),n.jsxs(zPt,Dnt({id:"input-wrapper",$disabled:o,$error:a||!!(null==s?void 0:s.length),$focus:P,$readOnly:v,$size:w,onClick:function(){null==E||E.current.focus()}},{children:[c,null==y?void 0:y.map((function(e){return n.jsx(MPt,{error:null==s?void 0:s.includes(e),label:e,onClose:function(){return function(e){m(y.filter((function(t){return t!==e})))}(e)}},e)})),n.jsx("input",Dnt({},k,{disabled:o||v,placeholder:(null==y?void 0:y.length)?void 0:g,onBlur:function(e){F(!1),null==d||d(e)},onChange:function(e){return null==p?void 0:p(e.target.value)},onFocus:function(e){F(!0),null==f||f(e)},onKeyDown:function(e){!function(e){if(y){var t=x.trim();if("Enter"===e.key&&t&&!y.includes(t)){var n=Rnt(Rnt([],y,!0),[t],!1);null==m||m(n),p("")}else"Backspace"===e.key&&!x&&y.length>0&&(n=y.slice(0,y.length-1),null==m||m(n))}}(e),null==h||h(e)},ref:E,value:x})),b]})),n.jsx(CPt,{error:a||!!(null==s?void 0:s.length),value:u})]}))},jPt=v.default.div.withConfig({displayName:"Input__Wrapper",componentId:"dyyr4z-0"})((function(e){var t=e.$disabled,n=e.theme.reach2Theme;return i.css(cPt||(cPt=jnt(["\n align-items: flex-start;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n "],["\n align-items: flex-start;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n "])),t?n.colors.foreground.disabled:n.colors.foreground.primary,n.spacing[4])})),zPt=v.default.div.withConfig({displayName:"Input__InputWrapper",componentId:"dyyr4z-1"})((function(e){var t=e.$disabled,n=e.$error,r=e.$focus,o=e.$readOnly,a=e.$size,s=e.theme.reach2Theme;return i.css(vPt||(vPt=jnt(["\n align-items: center;\n border: "," solid\n ",";\n border-radius: ",";\n box-sizing: border-box;\n cursor: text;\n display: flex;\n flex-wrap: wrap;\n gap: ",";\n padding: ","\n ",";\n width: 100%;\n\n &:hover {\n ","\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n > input {\n ",";\n border: none;\n color: ",";\n flex: 1;\n width: 100%;\n\n &::placeholder {\n color: ",";\n }\n\n &:disabled {\n background: ",";\n\n ","\n }\n }\n\n > svg {\n height: ",";\n width: ",";\n\n ","\n }\n "],["\n align-items: center;\n border: "," solid\n ",";\n border-radius: ",";\n box-sizing: border-box;\n cursor: text;\n display: flex;\n flex-wrap: wrap;\n gap: ",";\n padding: ","\n ",";\n width: 100%;\n\n &:hover {\n ","\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n > input {\n ",";\n border: none;\n color: ",";\n flex: 1;\n width: 100%;\n\n &::placeholder {\n color: ",";\n }\n\n &:disabled {\n background: ",";\n\n ","\n }\n }\n\n > svg {\n height: ",";\n width: ",";\n\n ","\n }\n "])),s.strokeWidth.thin,s.colors.stroke.input.default,s.radius.rounded,s.spacing[8],"Large"===a?s.spacing[8]:s.spacing[4],s.spacing[16],!t&&!o&&!r&&i.css(uPt||(uPt=jnt(["\n border-color: ",";\n box-shadow: ",";\n\n & > input::placeholder {\n color: ",";\n }\n "],["\n border-color: ",";\n box-shadow: ",";\n\n & > input::placeholder {\n color: ",";\n }\n "])),s.colors.stroke.border.primary,s.shadows.sharp,s.colors.foreground.secondary),r&&i.css(dPt||(dPt=jnt(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),s.colors.stroke.border.primary),o&&i.css(pPt||(pPt=jnt(["\n background-color: ",";\n border-color: ",";\n cursor: default;\n "],["\n background-color: ",";\n border-color: ",";\n cursor: default;\n "])),s.colors.background.interaction.disabled,s.colors.background.interaction.disabled),n&&i.css(fPt||(fPt=jnt(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),s.colors.feedback.error.background),t&&i.css(hPt||(hPt=jnt(["\n background-color: ",";\n border-color: ",";\n cursor: not-allowed;\n "],["\n background-color: ",";\n border-color: ",";\n cursor: not-allowed;\n "])),s.colors.background.interaction.disabled,s.colors.stroke.border.disabled),"Large"===a?s.typography.body1:s.typography.body2,s.colors.foreground.primary,s.colors.foreground.tertiary,s.colors.background.interaction.disabled,!o&&i.css(mPt||(mPt=jnt(["\n color: ",";\n cursor: not-allowed;\n\n &::placeholder {\n color: ",";\n }\n "],["\n color: ",";\n cursor: not-allowed;\n\n &::placeholder {\n color: ",";\n }\n "])),s.colors.foreground.disabled,s.colors.foreground.disabled),"Large"===a?"24px":"20px","Large"===a?"24px":"20px",t&&i.css(gPt||(gPt=jnt(["\n & > path {\n fill: ",";\n }\n "],["\n & > path {\n fill: ",";\n }\n "])),s.colors.foreground.iconDisabled))})),MPt=v.default(TPt).withConfig({displayName:"Input__StyledTag",componentId:"dyyr4z-2"})((function(e){var t=e.theme.reach2Theme;return i.css(bPt||(bPt=jnt(["\n max-width: calc(100% - ",");\n\n & > span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n "],["\n max-width: calc(100% - ",");\n\n & > span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n "])),t.spacing[32])})),LPt=t.forwardRef(RPt);v.default.div.withConfig({displayName:"OTPInput__Host",componentId:"sc-x2sm3g-0"})(yPt||(yPt=jnt(["\n display: flex;\n flex-direction: row;\n gap: 16px;\n margin: 0 20px;\n"],["\n display: flex;\n flex-direction: row;\n gap: 16px;\n margin: 0 20px;\n"]))),v.default.input.withConfig({displayName:"OTPInput__SingleInput",componentId:"sc-x2sm3g-1"})(OPt||(OPt=jnt(["\n width: 50px;\n height: 80px;\n border: 0;\n border-radius: 4px;\n background-color: var(--color-neutral-100);\n font-size: 40px;\n font-weight: 700;\n line-height: 48px;\n text-align: center;\n && {\n font-family: Anybody;\n }\n"],["\n width: 50px;\n height: 80px;\n border: 0;\n border-radius: 4px;\n background-color: var(--color-neutral-100);\n font-size: 40px;\n font-weight: 700;\n line-height: 48px;\n text-align: center;\n && {\n font-family: Anybody;\n }\n"])));var NPt,QPt,BPt,UPt,qPt,WPt,GPt,VPt,XPt=v.default.div.withConfig({displayName:"SearchInput__IconWrapper",componentId:"nc7qsi-0"})((function(e){var t=e.theme.reach2Theme;return i.css(NPt||(NPt=jnt(["\n position: absolute;\n right: ",";\n "],["\n position: absolute;\n right: ",";\n "])),t.spacing[16])})),HPt=v.default(LPt).withConfig({displayName:"SearchInput__StyledInput",componentId:"nc7qsi-1"})((function(e){var t=e.size,n=e.theme.reach2Theme;return i.css(QPt||(QPt=jnt(["\n position: relative;\n\n #input-wrapper {\n & > input {\n padding-right: ",";\n }\n }\n "],["\n position: relative;\n\n #input-wrapper {\n & > input {\n padding-right: ",";\n }\n }\n "])),"Large"===t?n.spacing[40]:n.spacing[32])}));v.default.div.withConfig({displayName:"Textarea__Wrapper",componentId:"ectbhv-0"})((function(e){var t=e.$disabled,n=e.theme.reach2Theme;return i.css(BPt||(BPt=jnt(["\n align-items: flex-start;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n "],["\n align-items: flex-start;\n color: ",";\n display: flex;\n flex-direction: column;\n gap: ",";\n "])),t?n.colors.foreground.disabled:n.colors.foreground.primary,n.spacing[4])})),v.default.textarea.withConfig({displayName:"Textarea__StyledTextarea",componentId:"ectbhv-1"})((function(e){var t=e.$error,n=e.$readOnly,r=e.theme.reach2Theme;return i.css(VPt||(VPt=jnt(["\n ",";\n\n border: "," solid\n ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n padding: "," ","\n "," ",";\n resize: none;\n width: 100%;\n\n &::placeholder {\n color: ",";\n }\n\n &:hover:not(:disabled, :focus) {\n ","\n }\n\n &:focus {\n border-color: ",";\n }\n\n &:disabled {\n ","\n\n &::placeholder {\n color: ",";\n }\n }\n\n ","\n\n ","\n "],["\n ",";\n\n border: "," solid\n ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n padding: "," ","\n "," ",";\n resize: none;\n width: 100%;\n\n &::placeholder {\n color: ",";\n }\n\n &:hover:not(:disabled, :focus) {\n ","\n }\n\n &:focus {\n border-color: ",";\n }\n\n &:disabled {\n ","\n\n &::placeholder {\n color: ",";\n }\n }\n\n ","\n\n ","\n "])),r.typography.body1,r.strokeWidth.thin,r.colors.stroke.input.default,r.radius.rounded,r.colors.foreground.primary,r.spacing[12],r.spacing[4],r.spacing[4],r.spacing[12],r.colors.foreground.tertiary,!n&&i.css(UPt||(UPt=jnt(["\n border-color: ",";\n box-shadow: ",";\n "],["\n border-color: ",";\n box-shadow: ",";\n "])),r.colors.stroke.border.primary,r.shadows.sharp),r.colors.stroke.border.primary,!n&&i.css(qPt||(qPt=jnt(["\n background-color: ",";\n border-color: ",";\n color: ",";\n cursor: not-allowed;\n "],["\n background-color: ",";\n border-color: ",";\n color: ",";\n cursor: not-allowed;\n "])),r.colors.background.interaction.disabled,r.colors.stroke.border.disabled,r.colors.foreground.disabled),r.colors.foreground.disabled,n&&i.css(WPt||(WPt=jnt(["\n background-color: ",";\n border-color: ",";\n cursor: default;\n "],["\n background-color: ",";\n border-color: ",";\n cursor: default;\n "])),r.colors.background.interaction.disabled,r.colors.background.interaction.disabled),t&&i.css(GPt||(GPt=jnt(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),r.colors.feedback.error.background))}));var YPt,ZPt,KPt,JPt,eFt,tFt,nFt,iFt,rFt,oFt,aFt,sFt,lFt,cFt,uFt,dFt,pFt,fFt,hFt,mFt,gFt,vFt,bFt,yFt,OFt,wFt,_Ft,xFt,kFt,SFt,EFt,CFt,PFt,FFt,TFt,DFt=function(e){var i=e.className,r=e.disabled,o=e.hasDivider,a=e.icon,s=e.id,l=e.isFocused,c=e.isSelected,u=e.label,d=e.onClick,p=e.sublabel,f=e.tailIcon,h=Ant(e,["className","disabled","hasDivider","icon","id","isFocused","isSelected","label","onClick","sublabel","tailIcon"]);return t.createElement(AFt,Dnt({},h,{className:i,disabled:r,id:s,key:u,onClick:d,$hasDivider:o,$isFocused:l,$isLarge:!!p,$isSelected:c}),n.jsxs(IFt,{children:[n.jsxs($Ft,{children:[n.jsx(dSt,{defaultSVG:a}),n.jsx(EPt,Dnt({variant:"body1"},{children:u}))]}),f&&n.jsx(dSt,{defaultSVG:f})]}),p&&n.jsx(RFt,Dnt({variant:"body2"},{children:p})))},AFt=v.default.button.withConfig({displayName:"MenuItem__ItemButton",componentId:"aicz53-0"})((function(e){var t=e.$hasDivider,n=e.$isFocused,r=e.$isLarge,o=e.$isSelected,a=e.theme.reach2Theme;return i.css(eFt||(eFt=jnt(["\n appearance: none;\n background-color: transparent;\n border: 0;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n height: ",";\n padding: "," ",";\n width: 100%;\n\n ","\n\n &:disabled {\n cursor: default;\n\n path {\n fill: ",";\n }\n\n span {\n color: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: ",";\n z-index: 1;\n outline: none;\n }\n\n ","\n\n ","\n "],["\n appearance: none;\n background-color: transparent;\n border: 0;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n height: ",";\n padding: "," ",";\n width: 100%;\n\n ","\n\n &:disabled {\n cursor: default;\n\n path {\n fill: ",";\n }\n\n span {\n color: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: ",";\n z-index: 1;\n outline: none;\n }\n\n ","\n\n ","\n "])),r?"auto":"42px",a.spacing[8],a.spacing[24],t&&i.css(YPt||(YPt=jnt(["\n border-bottom: "," solid\n ",";\n "],["\n border-bottom: "," solid\n ",";\n "])),a.strokeWidth.thin,a.colors.stroke.divider.primary),a.colors.foreground.disabled,a.colors.foreground.disabled,a.shadows.focusButton,n&&!o&&i.css(ZPt||(ZPt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),a.colors.background.interaction.hover),o?i.css(KPt||(KPt=jnt(["\n &,\n &.focusedItem {\n background-color: ",";\n }\n "],["\n &,\n &.focusedItem {\n background-color: ",";\n }\n "])),a.colors.theme.interactionSelected):i.css(JPt||(JPt=jnt(["\n &:focus:active {\n background-color: ",";\n }\n\n &:hover:not(:disabled) {\n background-color: ",";\n }\n "],["\n &:focus:active {\n background-color: ",";\n }\n\n &:hover:not(:disabled) {\n background-color: ",";\n }\n "])),a.colors.background.interaction.pressed,a.colors.background.interaction.hover))})),IFt=v.default.div.withConfig({displayName:"MenuItem__LabelWrapper",componentId:"aicz53-1"})(tFt||(tFt=jnt(["\n align-items: center;\n display: flex;\n justify-content: space-between;\n width: 100%;\n"],["\n align-items: center;\n display: flex;\n justify-content: space-between;\n width: 100%;\n"]))),$Ft=v.default.div.withConfig({displayName:"MenuItem__Head",componentId:"aicz53-2"})((function(e){var t=e.theme.reach2Theme;return i.css(nFt||(nFt=jnt(["\n align-items: center;\n display: flex;\n gap: ",";\n "],["\n align-items: center;\n display: flex;\n gap: ",";\n "])),t.spacing[8])})),RFt=v.default(EPt).withConfig({displayName:"MenuItem__Sublabel",componentId:"aicz53-3"})((function(e){var t=e.theme.reach2Theme;return i.css(iFt||(iFt=jnt(["\n color: ",";\n margin-left: ",";\n "],["\n color: ",";\n margin-left: ",";\n "])),t.colors.foreground.tertiary,t.spacing[32])})),jFt=function(e,i){var r=e.children,o=e.className,a=e.title,s=t.useState(null),l=s[0],c=s[1],u=t.Children.map(r,(function(e,n){if(t.isValidElement(e)){var i=n===l?"focusedItem":"";return t.cloneElement(e,{className:No(e.props.className,i),tabIndex:0===n?0:-1})}return e}));return n.jsxs(zFt,Dnt({ref:i,onKeyDown:function(e){var n=t.Children.count(r);if("ArrowDown"===e.key||"ArrowUp"===e.key){e.preventDefault();var i="ArrowDown"===e.key?1:-1;c(((null!=l?l:0)+i+n)%n)}},className:o},{children:[a&&n.jsx(MFt,Dnt({variant:"body2"},{children:a})),u]}))},zFt=v.default.div.withConfig({displayName:"MenuList__Host",componentId:"ucfoxb-0"})(rFt||(rFt=jnt(["\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n\n .focusedItem {\n background-color: ",";\n }\n"],["\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n\n .focusedItem {\n background-color: ",";\n }\n"])),(function(e){return e.theme.reach2Theme.colors.background.interaction.hover})),MFt=v.default(EPt).withConfig({displayName:"MenuList__StyledTypography",componentId:"ucfoxb-1"})((function(e){var t=e.theme.reach2Theme;return i.css(oFt||(oFt=jnt(["\n font-weight: 700;\n padding: "," ",";\n "],["\n font-weight: 700;\n padding: "," ",";\n "])),t.spacing[8],t.spacing[24])})),LFt=t.forwardRef(jFt),NFt=function(e){var t=e.align,i=e.alignOffset,r=e.anchor,o=e.children,a=e.className,s=e.collisionPadding,l=e.isOpen,c=e.onCloseAutoFocus,u=e.onOpenAutoFocus,d=e.onOpenChange,p=e.side,f=e.sideOffset,h=e.trigger,m=Efe();return n.jsxs(ZIe,Dnt({open:l,onOpenChange:d},{children:[null!=r&&n.jsx(KIe,Dnt({asChild:!0},{children:r})),null!=h&&n.jsx(JIe,Dnt({asChild:!0},{children:h})),n.jsx(e$e,{children:n.jsx(QFt,Dnt({className:No(m,a)},{children:n.jsx(BFt,Dnt({align:t,alignOffset:i,className:"PopoverContent",collisionPadding:s,hideWhenDetached:!0,onOpenAutoFocus:void 0!==u?u:function(e){return e.preventDefault()},onCloseAutoFocus:c,side:p,sideOffset:f},{children:o}))}))})]}))},QFt=v.default.div.withConfig({displayName:"BasePopover__PopoverOverrides",componentId:"sc-1vqo814-0"})(aFt||(aFt=jnt(["\n [data-radix-popper-content-wrapper] {\n z-index: 3 !important;\n\n .PopoverContent {\n animation-duration: 0.6s;\n animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n\n &[data-side='top'] {\n animation-name: slideUp;\n }\n\n &[data-side='bottom'] {\n animation-name: slideDown;\n }\n }\n\n @keyframes slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n @keyframes slideUp {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n }\n"],["\n [data-radix-popper-content-wrapper] {\n z-index: 3 !important;\n\n .PopoverContent {\n animation-duration: 0.6s;\n animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n\n &[data-side='top'] {\n animation-name: slideUp;\n }\n\n &[data-side='bottom'] {\n animation-name: slideDown;\n }\n }\n\n @keyframes slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n @keyframes slideUp {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n }\n"]))),BFt=v.default(t$e).withConfig({displayName:"BasePopover__StyledContent",componentId:"sc-1vqo814-1"})((function(e){var t=e.theme.reach2Theme;return i.css(sFt||(sFt=jnt(["\n background: ",";\n ","\n "],["\n background: ",";\n ","\n "])),t.colors.background.secondary,xfe)})),UFt=v.default.div.withConfig({displayName:"Select__Container",componentId:"sc-2sxoub-0"})((function(e){var t=e.$disabled,n=e.$error,r=e.$open,o=e.$size,a=e.theme.reach2Theme;return i.css(uFt||(uFt=jnt(["\n align-items: flex-start;\n background: ",";\n border: ",";\n\n border-radius: ",";\n cursor: ",";\n display: flex;\n gap: ",";\n padding: ",";\n\n &:focus-visible {\n outline: none;\n }\n\n ","\n\n ","\n "],["\n align-items: flex-start;\n background: ",";\n border: ",";\n\n border-radius: ",";\n cursor: ",";\n display: flex;\n gap: ",";\n padding: ",";\n\n &:focus-visible {\n outline: none;\n }\n\n ","\n\n ","\n "])),t&&a.colors.background.interaction.disabled,n?"".concat(a.strokeWidth.thin," solid\n ").concat(a.colors.stroke.input.error,";"):"".concat(a.strokeWidth.thin," solid\n ").concat(a.colors.stroke.border.disabled,";"),a.radius.rounded,t&&"not-allowed",a.spacing[8],"Large"===o?"".concat(a.spacing[12]," ").concat(a.spacing[16]):"".concat(a.spacing[4]," ").concat(a.spacing[12]),!t&&!n&&!r&&i.css(lFt||(lFt=jnt(["\n &:hover {\n border: "," solid\n ",";\n box-shadow: ",";\n\n input::placeholder {\n color: ",";\n }\n }\n\n &:focus-within {\n border: "," solid\n ",";\n box-shadow: none;\n }\n "],["\n &:hover {\n border: "," solid\n ",";\n box-shadow: ",";\n\n input::placeholder {\n color: ",";\n }\n }\n\n &:focus-within {\n border: "," solid\n ",";\n box-shadow: none;\n }\n "])),a.strokeWidth.thin,a.colors.stroke.border.focus,a.shadows.sharp,a.colors.foreground.secondary,a.strokeWidth.thick,a.colors.stroke.border.primary),r&&i.css(cFt||(cFt=jnt(["\n border: "," solid\n ",";\n box-shadow: none;\n "],["\n border: "," solid\n ",";\n box-shadow: none;\n "])),a.strokeWidth.thick,a.colors.stroke.border.primary))})),qFt=v.default.div.withConfig({displayName:"Select__EmptyStateContainer",componentId:"sc-2sxoub-1"})(pFt||(pFt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.theme.reach2Theme;return i.css(dFt||(dFt=jnt(["\n padding-left: ",";\n text-align: left;\n "],["\n padding-left: ",";\n text-align: left;\n "])),t.spacing[24])})),WFt=v.default.div.withConfig({displayName:"Select__Host",componentId:"sc-2sxoub-2"})((function(e){var t=e.theme.reach2Theme;return i.css(fFt||(fFt=jnt(["\n display: flex;\n flex-direction: column;\n gap: ",";\n "],["\n display: flex;\n flex-direction: column;\n gap: ",";\n "])),t.spacing[4])})),GFt=v.default.div.withConfig({displayName:"Select__InnerContainer",componentId:"sc-2sxoub-3"})((function(e){var t=e.$shouldWrap,n=e.theme.reach2Theme;return i.css(hFt||(hFt=jnt(["\n ","\n\n align-items: center;\n display: flex;\n flex-grow: 1;\n flex-wrap: ",";\n gap: ",";\n max-height: 120px;\n overflow: hidden auto;\n "],["\n ","\n\n align-items: center;\n display: flex;\n flex-grow: 1;\n flex-wrap: ",";\n gap: ",";\n max-height: 120px;\n overflow: hidden auto;\n "])),kfe(!1,!0),t?"wrap":"nowrap",n.spacing[8])})),VFt=v.default(dSt).withConfig({displayName:"Select__StyledIcon",componentId:"sc-2sxoub-4"})(mFt||(mFt=jnt(["\n flex-shrink: 0;\n"],["\n flex-shrink: 0;\n"]))),XFt=v.default.input.withConfig({displayName:"Select__Input",componentId:"sc-2sxoub-5"})((function(e){var t=e.$searchable,n=e.$size,r=e.theme.reach2Theme;return i.css(bFt||(bFt=jnt(["\n ",";\n\n border: none;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &::placeholder {\n color: ",";\n }\n\n ","\n\n &:disabled {\n background: ",";\n color: ",";\n cursor: not-allowed;\n }\n\n &:focus-visible {\n outline: none;\n }\n "],["\n ",";\n\n border: none;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &::placeholder {\n color: ",";\n }\n\n ","\n\n &:disabled {\n background: ",";\n color: ",";\n cursor: not-allowed;\n }\n\n &:focus-visible {\n outline: none;\n }\n "])),"Large"===n?r.typography.body1:r.typography.body2,r.colors.foreground.tertiary,t?i.css(gFt||(gFt=jnt(["\n width: auto;\n cursor: text;\n "],["\n width: auto;\n cursor: text;\n "]))):i.css(vFt||(vFt=jnt(["\n flex-grow: 1;\n cursor: default;\n "],["\n flex-grow: 1;\n cursor: default;\n "]))),r.colors.background.interaction.disabled,r.colors.foreground.disabled)})),HFt=v.default.div.withConfig({displayName:"Select__LabelHost",componentId:"sc-2sxoub-6"})((function(e){var t=e.theme.reach2Theme;return i.css(yFt||(yFt=jnt(["\n align-items: center;\n display: flex;\n gap: ",";\n "],["\n align-items: center;\n display: flex;\n gap: ",";\n "])),t.spacing[4])})),YFt=v.default(EPt).withConfig({displayName:"Select__StyledEmptyStateTypography",componentId:"sc-2sxoub-7"})(wFt||(wFt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.theme.reach2Theme;return i.css(OFt||(OFt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),t.colors.foreground.tertiary)})),ZFt=v.default(dSt).withConfig({displayName:"Select__StyledErrorIcon",componentId:"sc-2sxoub-8"})((function(e){var t=e.theme.reach2Theme;return i.css(_Ft||(_Ft=jnt(["\n * {\n stroke: ",";\n }\n "],["\n * {\n stroke: ",";\n }\n "])),t.colors.feedback.error.background)})),KFt=v.default(EPt).withConfig({displayName:"Select__StyledErrorTypography",componentId:"sc-2sxoub-9"})(kFt||(kFt=jnt(["\n ","\n"],["\n ","\n"])),(function(e){var t=e.theme.reach2Theme;return i.css(xFt||(xFt=jnt(["\n color: ",";\n "],["\n color: ",";\n "])),t.colors.feedback.error.background)})),JFt=v.default(dSt).withConfig({displayName:"Select__StyledOpenPopoverIcon",componentId:"sc-2sxoub-10"})((function(e){var t=e.$disabled,n=e.theme.reach2Theme;return i.css(EFt||(EFt=jnt(["\n * {\n ","\n }\n "],["\n * {\n ","\n }\n "])),t&&i.css(SFt||(SFt=jnt(["\n cursor: not-allowed;\n stroke: ",";\n "],["\n cursor: not-allowed;\n stroke: ",";\n "])),n.colors.foreground.iconDisabled))})),eTt=v.default(NFt).withConfig({displayName:"Select__StyledPopover",componentId:"sc-2sxoub-11"})((function(e){var t=e.$height,n=e.theme.reach2Theme;return i.css(CFt||(CFt=jnt(["\n .PopoverContent {\n ","\n\n border: "," solid\n ",";\n border-radius: ",";\n box-shadow: ",";\n box-sizing: border-box;\n max-height: ",";\n overflow-y: auto;\n padding: "," 0;\n width: var(--radix-popper-anchor-width);\n }\n "],["\n .PopoverContent {\n ","\n\n border: "," solid\n ",";\n border-radius: ",";\n box-shadow: ",";\n box-sizing: border-box;\n max-height: ",";\n overflow-y: auto;\n padding: "," 0;\n width: var(--radix-popper-anchor-width);\n }\n "])),kfe(!1,!0),n.strokeWidth.thin,n.colors.foreground.primary,n.radius.rounded,n.shadows.sharp,t?"".concat(t,"px"):"164px",n.spacing[16])}));v.default.li.withConfig({displayName:"UserSelect__UserListItem",componentId:"sc-8be19k-0"})((function(e){var t=e.$isSelected,n=e.theme.reach2Theme;return i.css(FFt||(FFt=jnt(["\n cursor: pointer;\n display: flex;\n justify-content: space-between;\n padding: "," ",";\n\n &:hover {\n background-color: ",";\n }\n\n ","\n "],["\n cursor: pointer;\n display: flex;\n justify-content: space-between;\n padding: "," ",";\n\n &:hover {\n background-color: ",";\n }\n\n ","\n "])),n.spacing[8],n.spacing[24],n.colors.background.interaction.hover,t&&i.css(PFt||(PFt=jnt(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),n.colors.theme.interactionSelected))})),function(e){e[e.normal=0]="normal",e[e.close=1]="close"}(TFt||(TFt={}));var tTt,nTt,iTt,rTt,oTt,aTt,sTt,lTt,cTt,uTt,dTt,pTt,fTt,hTt,mTt,gTt,vTt,bTt,yTt,OTt,wTt,_Tt,xTt=t.forwardRef((function(e,t){var i=e.className,r=e.children,o=e.isBlocking,a=e.isOpen,s=e.onDismiss,l=e.title,c=e.titleSize,u=void 0===c?"large":c,d=e.triggerButton,p=e.type,f=void 0===p?TFt.close:p,h=Efe(),m=RD().formatMessage;return n.jsxs(_$e,Dnt({open:a,onOpenChange:function(e){return e||null==s?void 0:s()}},{children:[null!=d&&n.jsx(x$e,Dnt({asChild:!0},{children:d})),n.jsx(k$e,{children:n.jsx(kTt,{children:n.jsxs(STt,Dnt({className:No(h,i),ref:t,onInteractOutside:o?function(e){return e.preventDefault()}:void 0},{children:[(l||f===TFt.close)&&n.jsxs(ETt,Dnt({"data-dialog-header":!0,$hasTitle:!!l},{children:[l&&n.jsx(PTt,Dnt({"data-dialog-header-title":!0,$titleSize:u},{children:l})),f===TFt.close&&n.jsx(P$e,Dnt({asChild:!0},{children:n.jsx(FCt,{"aria-label":m({id:"Generic.close"}),defaultSVG:n.jsx(WSt,{}),hoveredSVG:n.jsx(BSt,{}),onClick:s})}))]})),n.jsx(CTt,Dnt({"data-dialog-inner":!0},{children:r}))]}))})})]}))})),kTt=v.default(S$e).withConfig({displayName:"BaseDialog__StyledOverlay",componentId:"sc-1mpyir9-0"})(tTt||(tTt=jnt(["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"],["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"]))),STt=v.default(E$e).withConfig({displayName:"BaseDialog__StyledContent",componentId:"sc-1mpyir9-1"})(nTt||(nTt=jnt(["\n background-color: white;\n color: var(--text-color-default);\n overflow: hidden;\n width: auto;\n z-index: 3;\n\n &:focus {\n outline: none;\n }\n"],["\n background-color: white;\n color: var(--text-color-default);\n overflow: hidden;\n width: auto;\n z-index: 3;\n\n &:focus {\n outline: none;\n }\n"]))),ETt=v.default.div.withConfig({displayName:"BaseDialog__Header",componentId:"sc-1mpyir9-2"})(iTt||(iTt=jnt(["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n justify-content: ",";\n padding: 24px 24px 0;\n"],["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n justify-content: ",";\n padding: 24px 24px 0;\n"])),(function(e){return e.$hasTitle?"space-between":"flex-end"})),CTt=v.default.div.withConfig({displayName:"BaseDialog__Inner",componentId:"sc-1mpyir9-3"})(rTt||(rTt=jnt(["\n box-sizing: border-box;\n height: 100%;\n"],["\n box-sizing: border-box;\n height: 100%;\n"]))),PTt=v.default(C$e).withConfig({displayName:"BaseDialog__StyledTitle",componentId:"sc-1mpyir9-4"})(oTt||(oTt=jnt(["\n font-size: ",";\n font-weight: 700;\n line-height: ",";\n\n @media screen and (min-width: ","px) {\n font-size: ",";\n line-height: ",";\n }\n"],["\n font-size: ",";\n font-weight: 700;\n line-height: ",";\n\n @media screen and (min-width: ","px) {\n font-size: ",";\n line-height: ",";\n }\n"])),(function(e){return"large"===e.$titleSize?"24px":"16px"}),(function(e){return"large"===e.$titleSize?"29px":"19px"}),Mse,(function(e){return"large"===e.$titleSize?"28px":"20px"}),(function(e){return"large"===e.$titleSize?"34px":"24px"})),FTt=t.forwardRef((function(e,t){var i=e.cancelButtonLabel,r=e.children,o=e.disableSave,a=e.dismissOnSave,s=void 0===a||a,l=e.footerContent,c=e.hideCancelButton,u=e.hideFooterDivider,d=e.isSaving,p=e.onCancel,f=e.onSave,h=e.saveButtonLabel,m=Ant(e,["cancelButtonLabel","children","disableSave","dismissOnSave","footerContent","hideCancelButton","hideFooterDivider","isSaving","onCancel","onSave","saveButtonLabel"]),g=RD().formatMessage;return n.jsxs(TTt,Dnt({ref:t},m,{children:[n.jsx(DTt,Dnt({"data-dialog-body":!0},{children:r})),(f||!c)&&n.jsxs(ATt,Dnt({"data-dialog-footer":!0,$hasContent:!!l,$hideBorder:u},{children:[l,n.jsxs(ITt,{children:[!c&&n.jsx(_Pt,{label:i||g({id:"Generic.Cancel"}),onClick:null!=p?p:m.onDismiss}),f&&n.jsx(wPt,{disabled:o,isLoading:d,label:h||g({id:"Generic.Save"}),onClick:function(){var e;null==f||f(),s&&(null===(e=m.onDismiss)||void 0===e||e.call(m))}})]})]}))]}))})),TTt=v.default(xTt).withConfig({displayName:"Dialog__StyledBaseDialog",componentId:"sc-1wziofc-0"})(uTt||(uTt=jnt(["\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n left: 50%;\n max-height: 85vh;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n ","\n\n ","\n"],["\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n left: 50%;\n max-height: 85vh;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n ","\n\n ","\n"])),xfe,(function(e){return e.maxwidth?i.css(aTt||(aTt=jnt(["\n max-width: ","px;\n "],["\n max-width: ","px;\n "])),e.maxwidth):i.css(sTt||(sTt=jnt(["\n max-width: 90vw;\n "],["\n max-width: 90vw;\n "])))}),(function(e){return e.minwidth?i.css(lTt||(lTt=jnt(["\n min-width: ","px;\n "],["\n min-width: ","px;\n "])),e.minwidth):i.css(cTt||(cTt=jnt(["\n min-width: 288px;\n "],["\n min-width: 288px;\n "])))})),DTt=v.default.div.withConfig({displayName:"Dialog__Body",componentId:"sc-1wziofc-1"})((function(e){var t=e.theme.reach2Theme;return i.css(dTt||(dTt=jnt(["\n height: calc(100% - 87px);\n overflow-y: auto;\n padding: ",";\n "],["\n height: calc(100% - 87px);\n overflow-y: auto;\n padding: ",";\n "])),t.spacing[24])})),ATt=v.default.div.withConfig({displayName:"Dialog__Footer",componentId:"sc-1wziofc-2"})((function(e){var t=e.$hasContent,n=e.$hideBorder,r=e.theme.reach2Theme;return i.css(fTt||(fTt=jnt(["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n gap: ",";\n justify-content: ",";\n margin-top: ",";\n padding: "," ","\n ",";\n width: 100%;\n\n ","\n "],["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n gap: ",";\n justify-content: ",";\n margin-top: ",";\n padding: "," ","\n ",";\n width: 100%;\n\n ","\n "])),r.spacing[8],t?"space-between":"flex-end",r.spacing[24],r.spacing[16],r.spacing[24],r.spacing[24],!n&&i.css(pTt||(pTt=jnt(["\n border-top: 1px solid var(--color-neutral-100);\n "],["\n border-top: 1px solid var(--color-neutral-100);\n "]))))})),ITt=v.default.div.withConfig({displayName:"Dialog__FooterActionsWrapper",componentId:"sc-1wziofc-3"})((function(e){var t=e.theme.reach2Theme;return i.css(hTt||(hTt=jnt(["\n display: flex;\n gap: ",";\n "],["\n display: flex;\n gap: ",";\n "])),t.spacing[12])})),$Tt=function(e){var t=e.isOpen,i=e.onDismiss,r=e.title,o=e.triggerButton,a=e.hideHeader,s=e.customActionButton,l=e.className,c=e.children,u=Ant(e,["isOpen","onDismiss","title","triggerButton","hideHeader","customActionButton","className","children"]),d=Efe();return n.jsxs(RTt,{children:[o,n.jsxs(lQe,Dnt({"data-modal":!0,isOpen:t,onDidDismiss:function(){return i()},className:d},u,{children:[!a&&n.jsx(MTt,{title:r,onDismiss:i,customActionButton:s,className:l}),n.jsx(jTt,Dnt({forceOverscroll:!1},{children:n.jsx(zTt,Dnt({"data-inlinemodal-content":!0,className:l},{children:c}))}))]}))]})},RTt=v.default.div.withConfig({displayName:"MobileInlineModal__Host",componentId:"sc-12osu96-0"})(mTt||(mTt=jnt(["\n display: flex;\n"],["\n display: flex;\n"]))),jTt=v.default(JNe).withConfig({displayName:"MobileInlineModal__StyledIonContent",componentId:"sc-12osu96-1"})(gTt||(gTt=jnt(["\n --padding-bottom: 0;\n"],["\n --padding-bottom: 0;\n"]))),zTt=v.default.div.withConfig({displayName:"MobileInlineModal__Content",componentId:"sc-12osu96-2"})(vTt||(vTt=jnt(["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"],["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"]))),MTt=function(e){var t=e.title,i=e.customActionButton,r=e.onDismiss,o=e.className;return n.jsx(LTt,Dnt({class:"ion-no-border","data-inlinemodal-header":!0,className:o},{children:n.jsxs(NTt,{children:[i||n.jsx(QTt,{onClick:r}),n.jsx(BTt,{children:t})]})}))},LTt=v.default(eQe).withConfig({displayName:"MobileInlineModal__StyledIonHeader",componentId:"sc-12osu96-3"})(bTt||(bTt=jnt(["\n background: var(--mobile-modal-background-color);\n"],["\n background: var(--mobile-modal-background-color);\n"]))),NTt=v.default.div.withConfig({displayName:"MobileInlineModal__Inner",componentId:"sc-12osu96-4"})(yTt||(yTt=jnt(["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"],["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"]))),QTt=v.default((function(e){var t=e.onClick,i=e.className;return n.jsx(DCt,{defaultSVG:n.jsx(kEt,{}),onClick:t,className:i})})).withConfig({displayName:"MobileInlineModal__StyledBackButton",componentId:"sc-12osu96-5"})(OTt||(OTt=jnt(["\n position: absolute;\n left: 0;\n top: 0;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n"]))),BTt=v.default.h2.withConfig({displayName:"MobileInlineModal__Title",componentId:"sc-12osu96-6"})(wTt||(wTt=jnt(["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"],["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"]))),UTt=439;v.default(xTt).withConfig({displayName:"Panel__StyledBaseDialog",componentId:"sc-mvozll-0"})(_Tt||(_Tt=jnt(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"],["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"])),UTt,UTt,(function(e){return e.isOpen?"contentEaseIn":"contentEaseOut"}),(function(e){return e.isOpen?"1":"0"}),UTt,UTt);var qTt,WTt,GTt,VTt=t.forwardRef((function(e,i){return!t.useContext(ZTt)||e.neverStackChildren?n.jsx(HTt,Dnt({ref:i},e)):n.jsx(XTt,Dnt({},e))})),XTt=function(e){var n=e.isOpen,i=e.onDismiss,r=e.initialBreakpoint,o=e.children,a=t.useContext(ZTt).addNewLayer;return t.useEffect((function(){n&&a(o,i,r)}),[n]),null},HTt=t.forwardRef((function(e,t){var i=e.isOpen,r=e.onDismiss,o=e.initialBreakpoint,a=e.breakpoints,s=e.className,l=e.children,c=Efe();return n.jsx(lQe,Dnt({isOpen:i,ref:t,onDidDismiss:r,initialBreakpoint:o,breakpoints:null!=a?a:[0,o,1],className:c,handleBehavior:"cycle"},{children:n.jsx(JNe,Dnt({forceOverscroll:!1},{children:n.jsx(YTt,Dnt({className:s},{children:l(r)}))}))}))})),YTt=v.default.div.withConfig({displayName:"ModalBottomSheet__Host",componentId:"sc-14p349p-0"})((function(e){var t=e.theme.reach2Theme;return i.css(qTt||(qTt=jnt(["\n padding-bottom: ",";\n padding-top: ",";\n\n @media screen and (min-width: ","px) {\n padding-top: ",";\n }\n "],["\n padding-bottom: ",";\n padding-top: ",";\n\n @media screen and (min-width: ","px) {\n padding-top: ",";\n }\n "])),t.spacing[32],t.spacing[48],zse,t.spacing[32])})),ZTt=t.createContext(null);v.default.div.withConfig({displayName:"Modal__Host",componentId:"wik3mt-0"})(WTt||(WTt=jnt(["\n display: flex;\n"],["\n display: flex;\n"]))),v.default(VTt).withConfig({displayName:"Modal__StyledModalBottomSheet",componentId:"wik3mt-1"})((function(e){var t=e.theme.reach2Theme;return i.css(GTt||(GTt=jnt(["\n padding-left: ",";\n padding-right: ",";\n "],["\n padding-left: ",";\n padding-right: ",";\n "])),t.spacing[24],t.spacing[24])}));var KTt=Cot,JTt=Wnt,eDt=Bnt,tDt=uit,nDt=ait,iDt=Sit.f,rDt=dot,oDt=eDt.Symbol;if(JTt&&"function"==typeof oDt&&(!("description"in oDt.prototype)||void 0!==oDt().description)){var aDt={},sDt=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof sDt?new oDt(e):void 0===e?oDt():oDt(e);return""===e&&(aDt[t]=!0),t};rDt(sDt,oDt);var lDt=sDt.prototype=oDt.prototype;lDt.constructor=sDt;var cDt=lDt.toString,uDt="Symbol(test)"==String(oDt("test")),dDt=/^Symbol\((.*)\)[^)]+$/;iDt(lDt,"description",{configurable:!0,get:function(){var e=nDt(this)?this.valueOf():this,t=cDt.call(e);if(tDt(aDt,e))return"";var n=uDt?t.slice(7,-1):t.replace(dDt,"$1");return""===n?void 0:n}}),KTt({global:!0,forced:!0},{Symbol:sDt})}var pDt,fDt,hDt,mDt,gDt=i.css(pDt||(pDt=jnt(["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"],["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"])));v.default(oQe).withConfig({displayName:"ConfirmationDialog__StyledIonActionSheet",componentId:"sc-m2uptd-0"})(fDt||(fDt=jnt(["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"],["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"])),gDt),v.default(FTt).withConfig({displayName:"ConfirmationDialog__StyledDialog",componentId:"sc-m2uptd-1"})(hDt||(hDt=jnt(["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-body] {\n padding-top: 8px;\n }\n\n [data-dialog-footer] {\n margin-top: 8px;\n }\n"],["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-body] {\n padding-top: 8px;\n }\n\n [data-dialog-footer] {\n margin-top: 8px;\n }\n"]))),v.default.div.withConfig({displayName:"ConfirmationDialog__Description",componentId:"sc-m2uptd-2"})(mDt||(mDt=jnt(["\n color: var(--color-neutral-800);\n ","\n"],["\n color: var(--color-neutral-800);\n ","\n"])),gDt);var vDt,bDt=v.default.div.withConfig({displayName:"Card__StyledCard",componentId:"ez92s6-0"})(vDt||(vDt=jnt(["\n display: flex;\n flex-direction: column;\n border-radius: 8px;\n background: white;\n box-sizing: border-box;\n"],["\n display: flex;\n flex-direction: column;\n border-radius: 8px;\n background: white;\n box-sizing: border-box;\n"])));v.default.button.withConfig({displayName:"TabGroup__TabButton",componentId:"sc-1t9m4tc-0"})((function(e){var t=e.theme.reach2Theme;return i.css(yDt||(yDt=jnt(["\n background-color: transparent;\n border: 0;\n padding: 0;\n\n &:focus:not(:active) "," {\n border-color: ",";\n border-radius: ",";\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n "],["\n background-color: transparent;\n border: 0;\n padding: 0;\n\n &:focus:not(:active) "," {\n border-color: ",";\n border-radius: ",";\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n "])),EDt,t.colors.stroke.border.primary,t.radius.minimal)}));var yDt,ODt,wDt,_Dt,xDt,kDt,SDt,EDt=v.default.span.withConfig({displayName:"TabGroup__TypographyWrapper",componentId:"sc-1t9m4tc-1"})((function(e){var t=e.$isDisabled,n=e.theme.reach2Theme;return i.css(ODt||(ODt=jnt(["\n border: "," solid transparent;\n color: ",";\n display: inline-block;\n padding: "," ",";\n "],["\n border: "," solid transparent;\n color: ",";\n display: inline-block;\n padding: "," ",";\n "])),n.strokeWidth.thick,t?n.colors.foreground.disabled:void 0,n.spacing[4],n.spacing[8])}));function CDt(e,n,i){return void 0===n&&(n=20),void 0===i&&(i=.8),t.useMemo((function(){var t=function(e,t,n){void 0===t&&(t=20),void 0===n&&(n=.8);var i=Math.floor(100*e/(window.innerHeight-t))/100;return i>=n?1:i}(e,n,i);return{initialBreakpoint:t,breakpoints:1!==t?[0,t,1]:[0,1]}}),[])}v.default.div.withConfig({displayName:"TabGroup__Underline",componentId:"sc-1t9m4tc-2"})((function(e){var t=e.$isDisabled,n=e.$isHovering,r=e.theme.reach2Theme,o=e.$visible;return i.css(wDt||(wDt=jnt(["\n background-color: ",";\n border-radius: ",";\n height: 2px;\n margin-top: ",";\n max-width: ",";\n transition: all 200ms ease-in-out;\n "],["\n background-color: ",";\n border-radius: ",";\n height: 2px;\n margin-top: ",";\n max-width: ",";\n transition: all 200ms ease-in-out;\n "])),t&&o?r.colors.stroke.divider.disabled:o?r.colors.stroke.divider.tabs:n?r.colors.stroke.divider.secondary:"transparent",r.radius.minimal,r.spacing[4],n||o?"100%":0)})),v.default.div.withConfig({displayName:"TabGroup__TabGroupWrapper",componentId:"sc-1t9m4tc-3"})((function(e){var t=e.theme.reach2Theme;return i.css(_Dt||(_Dt=jnt(["\n display: flex;\n gap: ",";\n "],["\n display: flex;\n gap: ",";\n "])),t.spacing[16])})),v.default.button.withConfig({displayName:"Table__TableExpandButton",componentId:"u0tsva-0"})((function(e){var t=e.$isExpanded,n=e.theme.reach2Theme;return i.css(xDt||(xDt=jnt(["\n ","\n cursor: pointer;\n margin-left: -","; // allow column title to align w/ cell text\n transform: ",";\n transition: transform 150ms ease-in-out;\n "],["\n ","\n cursor: pointer;\n margin-left: -","; // allow column title to align w/ cell text\n transform: ",";\n transition: transform 150ms ease-in-out;\n "])),SCt,n.spacing[24],t?"rotate(90deg)":void 0)})),v.default.div.withConfig({displayName:"Table__TableExpandIconPlaceholder",componentId:"u0tsva-1"})((function(e){var t=e.theme.reach2Theme;return i.css(kDt||(kDt=jnt(["\n display: inline-block;\n height: ",";\n margin-left: -","; // allow column title to align w/ cell text\n width: ",";\n "],["\n display: inline-block;\n height: ",";\n margin-left: -","; // allow column title to align w/ cell text\n width: ",";\n "])),t.spacing[24],t.spacing[24],t.spacing[24])})),v.default(Tnt).withConfig({displayName:"Table__StyledTable",componentId:"u0tsva-2"})(SDt||(SDt=jnt(["\n /* Ant Design Table overrides */\n .ant-table-column-sorters {\n justify-content: flex-start;\n gap: ",";\n }\n\n .ant-table-column-title {\n flex: unset;\n }\n\n .ant-table-thead th.ant-table-column-has-sorters:focus-visible {\n color: inherit;\n }\n\n .ant-table-thead tr {\n & > th,\n & > td {\n border-bottom: unset !important;\n }\n }\n\n .ant-table-row:not(.ant-table-row-level-0),\n .ant-table-tbody\n .ant-table-row:not(.ant-table-row-level-0).ant-table-row-selected\n > .ant-table-cell {\n background-color: ",";\n }\n\n table tr td.ant-table-selection-column {\n padding-inline-end: ",";\n padding-inline-start: ",";\n }\n\n .ant-spin .ant-spin-dot-item {\n background-color: ",";\n }\n\n .ant-table-cell {\n height: 56px;\n }\n\n .ant-table-cell-with-append {\n display: flex;\n align-items: center;\n }\n\n /* Ant Design Pagination overrides */\n .ant-pagination {\n &-item {\n background-color: ",";\n border-radius: 100%;\n\n &:not(.ant-pagination-item-active) {\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n\n &:focus-visible {\n border: "," solid\n ",";\n outline: none;\n }\n }\n\n &-active {\n background-color: ",";\n border: none;\n\n &:focus-visible {\n border: "," solid\n ",";\n outline: none !important;\n }\n\n a,\n a:hover {\n color: ",";\n }\n }\n }\n\n &-prev,\n &-next {\n background-color: ",";\n border-radius: 100%;\n\n .ant-pagination-item-link {\n border-radius: 100%;\n\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n }\n\n &:focus-visible .ant-pagination-item-link {\n border: "," solid\n ",";\n outline: none !important;\n }\n\n svg {\n fill: ",";\n }\n\n &.ant-pagination-disabled {\n &:hover,\n &:active {\n background-color: ",";\n }\n\n svg {\n fill: ",";\n }\n }\n }\n }\n\n /* Ant Design Checkbox overrides */\n .ant-checkbox .ant-checkbox-inner {\n border: "," solid\n ",";\n height: 20px;\n width: 20px;\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n\n .ant-checkbox-checked .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n\n &::after {\n height: 13px;\n top: 45%;\n width: 6px;\n }\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox-checked:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n\n .ant-checkbox-indeterminate .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n\n &::after {\n background-color: ",";\n height: 2px;\n width: 10px;\n }\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox-indeterminate:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n"],["\n /* Ant Design Table overrides */\n .ant-table-column-sorters {\n justify-content: flex-start;\n gap: ",";\n }\n\n .ant-table-column-title {\n flex: unset;\n }\n\n .ant-table-thead th.ant-table-column-has-sorters:focus-visible {\n color: inherit;\n }\n\n .ant-table-thead tr {\n & > th,\n & > td {\n border-bottom: unset !important;\n }\n }\n\n .ant-table-row:not(.ant-table-row-level-0),\n .ant-table-tbody\n .ant-table-row:not(.ant-table-row-level-0).ant-table-row-selected\n > .ant-table-cell {\n background-color: ",";\n }\n\n table tr td.ant-table-selection-column {\n padding-inline-end: ",";\n padding-inline-start: ",";\n }\n\n .ant-spin .ant-spin-dot-item {\n background-color: ",";\n }\n\n .ant-table-cell {\n height: 56px;\n }\n\n .ant-table-cell-with-append {\n display: flex;\n align-items: center;\n }\n\n /* Ant Design Pagination overrides */\n .ant-pagination {\n &-item {\n background-color: ",";\n border-radius: 100%;\n\n &:not(.ant-pagination-item-active) {\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n\n &:focus-visible {\n border: "," solid\n ",";\n outline: none;\n }\n }\n\n &-active {\n background-color: ",";\n border: none;\n\n &:focus-visible {\n border: "," solid\n ",";\n outline: none !important;\n }\n\n a,\n a:hover {\n color: ",";\n }\n }\n }\n\n &-prev,\n &-next {\n background-color: ",";\n border-radius: 100%;\n\n .ant-pagination-item-link {\n border-radius: 100%;\n\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n }\n\n &:focus-visible .ant-pagination-item-link {\n border: "," solid\n ",";\n outline: none !important;\n }\n\n svg {\n fill: ",";\n }\n\n &.ant-pagination-disabled {\n &:hover,\n &:active {\n background-color: ",";\n }\n\n svg {\n fill: ",";\n }\n }\n }\n }\n\n /* Ant Design Checkbox overrides */\n .ant-checkbox .ant-checkbox-inner {\n border: "," solid\n ",";\n height: 20px;\n width: 20px;\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n\n .ant-checkbox-checked .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n\n &::after {\n height: 13px;\n top: 45%;\n width: 6px;\n }\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox-checked:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n\n .ant-checkbox-indeterminate .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n\n &::after {\n background-color: ",";\n height: 2px;\n width: 10px;\n }\n }\n\n .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover\n .ant-checkbox-indeterminate:not(.ant-checkbox-disabled)\n .ant-checkbox-inner {\n background-color: ",";\n border-color: ",";\n }\n"])),Vde.spacing[12],Vde.colors.background.tertiary,Vde.spacing[24],Vde.spacing[24],Vde.colors.theme.primary,Vde.colors.background.secondary,Vde.colors.background.interaction.hover,Vde.colors.background.interaction.pressed,Vde.strokeWidth.thicker,Vde.colors.stroke.border.primary,Vde.colors.theme.interactionSelected,Vde.strokeWidth.thicker,Vde.colors.stroke.border.primary,Vde.colors.theme.pressed,Vde.colors.background.secondary,Vde.colors.background.interaction.hover,Vde.colors.background.interaction.pressed,Vde.strokeWidth.thicker,Vde.colors.stroke.border.primary,Vde.colors.foreground.icon,Vde.colors.background.secondary,Vde.colors.foreground.iconDisabled,Vde.strokeWidth.thin,Vde.colors.stroke.border.disabled,Vde.colors.background.interaction.hover,Vde.colors.stroke.border.disabled,Vde.colors.background.inverted,Vde.colors.background.inverted,Vde.colors.foreground.secondary,Vde.colors.foreground.secondary,Vde.colors.background.inverted,Vde.colors.background.inverted,Vde.colors.foreground.iconInverted,Vde.colors.foreground.secondary,Vde.colors.foreground.secondary);var PDt=function(e){var i=e.onRequestToken,r=e.children,o=e.subscriptionId,a=t.useState(null),s=a[0],l=a[1],c=t.useMemo((function(){return{onRequestToken:null!=i?i:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Eo(void 0,void 0,void 0,(function(){return Co(this,(function(e){return[2,null!=i||null!=s]}))}))},getCurrentEmail:function(){return Eo(void 0,void 0,void 0,(function(){return Co(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Eo(void 0,void 0,void 0,(function(){return Co(this,(function(n){return sO.error(e,t),[2,Promise.reject(e)]}))}))}}}),[o,s]);return n.jsx(Pj.Provider,ko({value:c},{children:r}))},FDt="0.5.0-preview.1133",TDt="142660",DDt="713e3d02e9ddffc4a3d0fc8fc2d0ab2ea24281b9",ADt=G,IDt=M,$Dt=Sn("match"),RDt=function(e){var t;return ADt(e)&&(void 0!==(t=e[$Dt])?!!t:"RegExp"==IDt(e))},jDt=RDt,zDt=Sn("match"),MDt=function(e){if(jDt(e))throw TypeError("The method doesn't accept regular expressions");return e},LDt=B,NDt=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[zDt]=!1,"/./"[e](t)}catch(e){}}return!1};un({target:"String",proto:!0,forced:!NDt("includes")},{includes:function(e){return!!~String(LDt(this)).indexOf(MDt(e),arguments.length>1?arguments[1]:void 0)}});var QDt,BDt,UDt={configType:"local",authentication:{azuread:{clientId:"781a9147-6ddc-43fb-9cce-e01d7838ffe6",apiScope:"api://781a9147-6ddc-43fb-9cce-e01d7838ffe6/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/",signInPolicy:"common"},b2c:{postLogoutRedirectUri:"https://livetilesglobal.com/products/livetiles-reach",clientId:"b13f12ba-c1c5-41da-8e22-1252b5fed0e4",basePolicyUrl:"https://condenseappexternaldev.b2clogin.com/condenseappexternaldev.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternaldev.onmicrosoft.com/web/access_as_user"},teams:{clientId:"c17acfe6-6106-47e6-b9ac-12c6a9e78db6",scopes:["email","openid","profile","offline_access"],extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"],basePolicyUrl:"https://login.microsoftonline.com/"}},apiEndpoint:"http://localhost:5000/api/v1",api2Endpoint:"http://localhost:5000/api/v2",api3Endpoint:"http://localhost:5000/api/v3",webSocketsEndpoint:"ws://localhost:5000/api/v2",productWebsite:"https://reach.livetilesglobal.com/",supportUrl:"https://support.livetilesglobal.com/hc/en-us/categories/360001273732-Reach",releaseNotesUrl:"https://support.livetilesglobal.com/hc/en-us/sections/900001715263-Reach",privacyUrl:"https://livetilesglobal.com/livetiles-privacy-policy",eulaUrl:"https://livetilesglobal.com/livetiles-privacy-policy",unsplash:{appName:"Condense",apiKey:"N/A",clientId:"8b17ad8ed176954881976b7e08a2a6305d01b9b708455c14bbd43780ff6b62ba"},canva:{apiKey:"6vvsr2srHeve85SXxMX1k1LD"},zendeskMessaging:{enable:!0,apiKey:"816bfec7-3beb-457a-a4a1-f462c9cb403f"},webAppUrl:"http://localhost:3000",hyperfish:{regionJumperUrl:"https://antrearegionjumper.azurewebsites.net/api/antrearegionjumper",regionJumperKey:"T1YDqmyQX/bXhFapRLdaPBenzRLMCCNafSVwzmwI7fYnkwj6wLL0Hg=="},maxFileSizeInMb:100,giphy:{apiKey:"idBrSgzpBdNCqLmXPRaoHz9DFGKK79wU"},oneSignal:{appId:"dd89af4f-325e-447e-a030-654043cfbc6a"},analytics:{regions:{global:{dashboardHostName:"superset.test.analytics.livetiles.io",ingestionHostName:"api.test.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"2bea68bc-88a7-4476-b7ec-047ecc32aafb"}]}}}},qDt={configType:"production",authentication:{azuread:{clientId:"d492530a-8cff-481c-90da-9c3c3f1be7da",apiScope:"api://d492530a-8cff-481c-90da-9c3c3f1be7da/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"]},b2c:{clientId:"cc9987a7-c666-4be1-a81c-f80dba7ef2e9",basePolicyUrl:"https://condenseappexternal.b2clogin.com/condenseappexternal.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternal.onmicrosoft.com/web/access_as_user"},teams:{clientId:"a7c1920d-3ac0-42db-9757-078a2b321fd8"}},apiEndpoint:"https://api.reach.livetiles.io/api/v1",api2Endpoint:"https://api.reach.livetiles.io/api/v2",api3Endpoint:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:"wss://ws.reach.livetiles.io/api/v2",webAppUrl:"https://reach.livetiles.io",additionalWebAppUrls:["https://app.reach.livetiles.io","https://app.condense.ch"],appInsightsKey:"c4758fee-1409-47a9-a508-03efd775256c",canva:{apiKey:"mYnapNU5aDqD-1xEMFZkpdzT"},giphy:{apiKey:"jqAFrpqGDwOFqeu8Rn6YfjRGkKhlxZyn"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"},analytics:{regions:{global:{dashboardHostName:"superset-euw.analytics.livetiles.io",ingestionHostName:"api-euw.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"a44aca36-7e16-447d-b7ed-5e341572a682"}]},australia:{dashboardHostName:"superset-aue.analytics.livetiles.io",ingestionHostName:"api-aue.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"7223a003-7e72-4410-b187-254270088d05"}]},usa:{dashboardHostName:"superset-use.analytics.livetiles.io",ingestionHostName:"api-use.analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"e528a9f3-ff8e-4c3a-b484-586b0dba9ca2"}]}}}},WDt=require("deepmerge"),GDt=["//localhost","//api:5000","//api.dev.reach.livetiles.io","//api.test.reach.livetiles.io","//api.staging.reach.livetiles.io","//api-dev.condense.ch","//api-test.condense.ch","//api-staging.condense.ch"],VDt=function(e){var i=e.children,r=hh(),o=r.apiEndpoint,a=r.additionalVideoSources,s=t.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!GDt.some((function(e){return o.toLowerCase().includes(e)}));if(!e)return sO.info("Will use non prod client config..."),ko(ko({},UDt),{additionalVideoSources:a});var t=WDt(UDt,qDt,{arrayMerge:function(e,t){return t}});return ko(ko({},t),{additionalVideoSources:a})}())}),[o]);return n.jsx(Ch.Provider,ko({value:s},{children:i}))},XDt=function(){function e(){this.storage={}}return e.prototype.remove=function(e){return delete this.storage[e],Promise.resolve()},e.prototype.clearAll=function(){return this.storage={},Promise.resolve()},e.prototype.getObject=function(e){var t;return Promise.resolve(null!==(t=this.storage[e])&&void 0!==t?t:null)},e.prototype.set=function(e,t){return this.storage[e]=t,Promise.resolve()},e.prototype.getString=function(e){return Eo(this,void 0,void 0,(function(){return Co(this,(function(t){switch(t.label){case 0:return[4,this.getObject(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.setString=function(e,t){return Eo(this,void 0,void 0,(function(){return Co(this,(function(n){switch(n.label){case 0:return[4,this.set(e,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.getAllKeys=function(){return Promise.resolve(Object.keys(this.storage))},e}(),HDt=new XDt,YDt=function(e){var t=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?n.jsx(ZDt,ko({subscriptionId:t},{children:i})):n.jsx(n.Fragment,{children:i})},ZDt=function(e){var i=e.subscriptionId,r=e.children,o=t.useContext(Pj).setToken,a=lA(),s=Cpe().getSubscriptionBySubscriptionIdentifier,l=jY().fetchFromApi,c=t.useContext(oA),u=c.handleFatalError,d=c.handleAccessDeniedError,p=kj((function(){return Eo(this,void 0,void 0,(function(){var e,t,n;return Co(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+i,[4,a.getString(e)];case 1:return(t=r.sent())?(o(t),[2,!0]):[4,s(i)];case 2:return r.sent().allowPublicAccess?[4,v(i)]:[3,5];case 3:return n=r.sent(),o(n),[4,a.setString(e,n)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[i]),f=p[0],h=p[1],m=p[2];if(m)return sO.error(m),u({error:m}),null;if(h)return null;if(!f){var g={message:"Public access is not enabled for the subscription ".concat(i,"!")};return sO.error(g.message),d({error:g}),null}return n.jsx(n.Fragment,{children:r});function v(e){return l("/subscriptions/".concat(e,"/public_access_token")).then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},KDt=function(e){var i=e.children,r=t.useState(),o=r[0],a=r[1],s=t.useState(),l=s[0],c=s[1],u=t.useState(),d=u[0],p=u[1],f=t.useMemo((function(){return{handleFatalError:a,handleAccessDeniedError:c,handleNotFoundError:p}}),[a,c,p]);return n.jsx(oA.Provider,ko({value:f},{children:n.jsx(JDt,ko({fatalError:o,notFoundError:d,accessDeniedError:l},{children:i}))}))},JDt=function(e){var t=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,o=e.children;return t?n.jsx(eAt,{messageId:t.messageId,error:t.error}):i?n.jsx(eAt,{messageId:"AccessDenied.genericMessage",error:i.error}):r?n.jsx(eAt,{messageId:"NotFound.message"}):n.jsx(n.Fragment,{children:o})},eAt=function(i){var r=i.messageId,o=i.error,a=RD().formatMessage,s=t.useState(!1),l=s[0],c=s[1];return n.jsx(qxt,ko({errorType:e.ErrorType.GenericError,alertText:a({id:r||"FatalError.genericMessage"}),onClick:function(){return c(!l)}},{children:l&&n.jsxs(tAt,{children:[n.jsx(tA,{id:"Generic.error.details"}),n.jsx(nAt,{children:JSON.stringify(o)||"Not provided"})]})}))},tAt=v.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(QDt||(QDt=Ro(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Ase),nAt=v.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(BDt||(BDt=Ro(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),iAt=function(e){var i=e.children,r=Aue(),o=t.useMemo((function(){return{onShare:function(){return Eo(void 0,void 0,void 0,(function(){return Co(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return n.jsx(aA.Provider,ko({value:o},{children:i}));function a(e){window.open(e,"_blank")}function s(e){window.open("".concat(r).concat(e))}},rAt=function(){return null},oAt=Object.freeze({__proto__:null,Page:rAt,NavLinkSidebarItem:rAt,PageMenuActionItem:rAt});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: ".concat(FDt," (").concat(TDt,") [").concat(DDt,"]")),window.__did_initialize_reach_context)return;r.initializeIcons()}();var aAt=function(e){var t=e.disableAnalytics,i=e.appName,r=e.children;return t?n.jsx(zle,{children:r}):n.jsx(Dle,ko({appName:i},{children:r}))},sAt=function(e){var i,r=e.children,o=e.language,a=e.languageFallback,s=void 0===a?"default":a,l=e.locale,c=e.subscriptionId,u=t.useContext(ipe).setTheme,d=t.useContext(hA).changeSettings,p=function(){var e=ioe().getCurrentUser,t=EJ();return{getCurrentUser:function(n){return K6(this,void 0,void 0,(function(){var i=this;return J6(this,(function(r){switch(r.label){case 0:return[4,t.fetchQuery(["fetchCurrentUser",n],(function(){return K6(i,void 0,void 0,(function(){return J6(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}().getCurrentUser,f=kj((function(){var e,t,n;return Eo(this,void 0,void 0,(function(){var i,r,a,f;return Co(this,(function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,p(c)];case 1:return i=h.sent(),(null===(e=null==i?void 0:i.subscription)||void 0===e?void 0:e.theme)&&u(i.subscription.theme),r=vE(o,"default"===s?i.preferredUiLanguage:null,gE(),null===(t=i.subscription)||void 0===t?void 0:t.defaultLanguage),a=function(e,t,n){return n?Uie(t)||Uie(qie())||Uie(Wie())||Uie(null==e?void 0:e.preferredLocale)||Uie(null==e?void 0:e.preferredUiLanguage)||"en":Uie(t)||Uie(null==e?void 0:e.preferredLocale)||Uie(qie())||Uie(null==e?void 0:e.preferredUiLanguage)||Uie(Wie())||"en"}(i,l,"browser"===s),d(r,a).then((function(){return null}),sO.error),"browser"===s?(i.preferredContentLanguage=o||gE()||(null===(n=i.subscription)||void 0===n?void 0:n.defaultLanguage)||"en",i.preferredLocale=a,i.preferredUiLanguage=r):o&&(i.preferredContentLanguage=o),[2,i];case 2:throw f=h.sent(),sO.error(f),f;case 3:return[2]}}))}))})),h=f[0],m=f[1],g=f[2],v=f[3],b=t.useContext(oA),y=b.handleFatalError,O=b.handleNotFoundError,w=b.handleAccessDeniedError,_=t.useMemo((function(){return{isLibUser:!0,refreshUser:function(e){return Promise.resolve(e&&v(e))},user:h}}),[h]);return g?(403===(null===(i=null==g?void 0:g.response)||void 0===i?void 0:i.statusCode)?w({error:g}):y({error:g}),null):m?null:null==h?(O({}),null):n.jsx(lre.Provider,ko({value:_},{children:r}))},lAt=function(){return t.useEffect((function(){!function(){var e="https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap";if(!document.querySelector('head link[href="'.concat(e,'"]'))){var t=document.createElement("link");t.href="https://fonts.gstatic.com/",t.rel="preconnect",t.crossOrigin="";var n=document.createElement("link");n.href=e,n.rel="stylesheet",document.head.prepend(n),document.head.prepend(t)}}()}),[]),n.jsxs(n.Fragment,{children:[n.jsx(a9,{}),n.jsx(c9,{})]})};var cAt=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,uAt=/[\0-\x1F\x7F-\x9F]/,dAt=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,pAt=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\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\u09FD\u0A76\u0AF0\u0C84\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\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\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]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;function fAt(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function hAt(e){return Object.prototype.toString.call(e)}function mAt(e){return"[object Function]"===hAt(e)}function gAt(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var vAt={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var bAt={"http:":{validate:function(e,t,n){var i=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var i=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},yAt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function OAt(e){var t=e.re=function(e){var t={};return t.src_Any=cAt.source,t.src_Cc=uAt.source,t.src_Z=dAt.source,t.src_P=pAt.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var r=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var i={validate:null,link:null};if(e.__compiled__[t]=i,function(e){return"[object Object]"===hAt(e)}(n))return!function(e){return"[object RegExp]"===hAt(e)}(n.validate)?mAt(n.validate)?i.validate=n.validate:o(t,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(mAt(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===hAt(e)}(n)?o(t,n):r.push(t)}})),r.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(gAt).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function wAt(e,t){var n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}function _At(e,t){var n=new wAt(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function xAt(e,t){if(!(this instanceof xAt))return new xAt(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||vAt.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=fAt({},vAt,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=fAt({},bAt,e),this.__compiled__={},this.__tlds__=yAt,this.__tlds_replaced__=!1,this.re={},OAt(this)}xAt.prototype.add=function(e,t){return this.__schemas__[e]=t,OAt(this),this},xAt.prototype.set=function(e){return this.__opts__=fAt(this.__opts__,e),this},xAt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},xAt.prototype.pretest=function(e){return this.re.pretest.test(e)},xAt.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},xAt.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(_At(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(_At(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},xAt.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),OAt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,OAt(this),this)},xAt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},xAt.prototype.onCompile=function(){};var kAt=xAt,SAt={exports:{}};!function(e,t){var n;n=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),t=JSON.parse('{"vi":{"Đ":"D","đ":"d"}}');function n(n,i){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},o=i.replacement||"-",a=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return i.lower&&(a=a.toLowerCase()),i.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"")),a}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(SAt);var EAt=SAt.exports;function CAt(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function PAt(){return PAt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},PAt.apply(this,arguments)}function FAt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TAt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function DAt(e,t,n){return t&&TAt(e.prototype,t),n&&TAt(e,n),e}function AAt(e){return AAt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},AAt(e)}function IAt(e){return IAt="function"==typeof Symbol&&"symbol"===AAt(Symbol.iterator)?function(e){return AAt(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":AAt(e)},IAt(e)}function $At(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RAt(e,t){return!t||"object"!==IAt(t)&&"function"!=typeof t?$At(e):t}function jAt(e){return jAt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},jAt(e)}function zAt(e,t){return zAt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},zAt(e,t)}function MAt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zAt(e,t)}function LAt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NAt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function QAt(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var BAt=function(e){return e===Object(e)?Object.keys(e):[]},UAt=function(e){return e===Object(e)?Object.values(e):[]};function qAt(e,t){var n=Object.assign({},e);return VAt(e)&&VAt(t)&&BAt(t).forEach((function(i){VAt(t[i])&&i in e?n[i]=qAt(e[i],t[i]):Object.assign(n,pb({},i,t[i]))})),n}var WAt=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.reduce((function(e,t){return qAt(e,t)}),e)},GAt=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},VAt=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},XAt=function(e){return(e||[]).filter(Boolean)},HAt=function(e){return"&"===e[0]},YAt=function(e){return!HAt(e)},ZAt=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},KAt=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=BAt(e),i={},r=0,o=n.length;r<o;r+=1){var a=n[r],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(i[a]=e[a])}return i},JAt=function(e,t){for(var n=t.map(ZAt),i=BAt(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(ZAt(s))>=0)&&(r[s]=e[s])}return r},eIt=function e(t,n){for(var i=WAt.apply(void 0,[{},GAt(t,n)].concat(FBe(UAt(JAt(t,n))))),r=BAt(i).filter(HAt),o=0,a=r.length;o<a;o+=1){var s=r[o],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=WAt({},i,l)):i[s]=l}return i};function tIt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function nIt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tIt(Object(n),!0).forEach((function(t){pb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tIt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var iIt=["animationName"],rIt=function(e){var t=e.style,n=e.className;return nIt(nIt({},t?{style:KAt(t,iIt)}:{}),n?{className:n}:{})},oIt=t.createContext(rIt);oIt.Provider;var aIt=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return BAt(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},sIt={},lIt=function(e){return function(t,n){var i,r=n||sIt;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=aIt(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function cIt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function uIt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cIt(Object(n),!0).forEach((function(t){pb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cIt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var dIt=function(e){var t=e&&BAt(e)[0];return t&&t.split("__")[0].split("--")[0]},pIt=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(FBe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),FBe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(FBe(r)):r}};function fIt(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rIt,o=n||dIt(i)||(null==t?void 0:t.className),a="function"==typeof t?t:lIt((function(e,n){var a=aIt(e);CTe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),CTe(!n||VAt(n),"Optional second parameter must be a plain object.");var s=a.filter(HAt),l=a.filter(YAt),c=l.length>0?function(e){return UAt(JAt(e,l))}:function(e){return[e]},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(eIt(e,s))},d=pIt(o,l,s);return fIt(uIt(uIt(uIt({},(t||n)&&{style:WAt.apply(void 0,[{}].concat(FBe(u(n)),FBe(u(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=uIt({},"function"==typeof t?t:{style:t}),l=FBe(new Set([].concat(FBe(s.className?s.className.split(" "):[]),FBe(o?o.split(" "):[])))),c=i?XAt(l.map((function(e){return i[e]}))):l,u=r(uIt(uIt({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,u),a}function hIt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function mIt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hIt(Object(n),!0).forEach((function(t){pb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hIt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var gIt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return mIt(mIt(mIt({},e),"function"==typeof t?t:{}),{},{style:mIt(mIt({},e.style),"function"==typeof t?t.style:t)})}),{})},vIt=function(e,n,i){var r=n.style,o=n.className,a=n.classNames,s=t.useContext(oIt);return t.useMemo((function(){return fIt({style:r,className:o,classNames:a},s)}),[r,o,a,s])(i,e)},bIt=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},yIt="__id__",OIt="__display__",wIt=function(e,t){CTe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(OIt),i=e.indexOf(yIt);return n<0&&(n=null),i<0&&(i=null),CTe(null!==n||null!==i,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==i?"id"===t&&i<=n||"display"===t&&n<=i?0:1:0},_It=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=NAt(t.exec(e.toString()),3),i=n[1],r=n[2];return CTe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},xIt=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},kIt=function(){},SIt=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:kIt,o=_It(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=xIt(t)+1,n})),l=0,c=0;null!==(i=o.exec(e));){var u=s.find((function(e){return!!i[e]})),d=s.indexOf(u),p=t[d],f=p.markup,h=p.displayTransform,m=u+wIt(f,"id"),g=u+wIt(f,"display"),v=i[m],b=h(v,i[g]),y=e.substring(l,i.index);r(y,l,c),c+=y.length,n(i[0],i.index,c,v,b,d,l),c+=b.length,l=o.lastIndex}l<e.length&&r(e.substring(l),l,c)},EIt=function(e,t){var n="";return SIt(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},CIt=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},a=function(e,t,o,a,s,l,c){void 0===i&&o+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return SIt(e,t,a,o),void 0===i?e.length:i},PIt=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},FIt=function(e,t){var n=[];return SIt(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},TIt=function(e,t){return"".concat(e,"-").concat(t)},DIt=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},AIt=function(e){var t=bIt(e),n=e[e.indexOf(OIt)+OIt.length],i=e[e.indexOf(yIt)+yIt.length];return new RegExp(t.replace(OIt,"([^".concat(bIt(n||""),"]+?)")).replace(yIt,"([^".concat(bIt(i||""),"]+?)")))},IIt=function(e){return t.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?$It(i,n):AIt(n),displayTransform:r||function(e,t){return t||e}}}))},$It=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=xIt(t);return CTe(n===i,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(i,")")),e},RIt=[{base:"A",letters:/(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(Ꜳ|[\uA732])/g},{base:"AE",letters:/(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(Ꜵ|[\uA734])/g},{base:"AU",letters:/(Ꜷ|[\uA736])/g},{base:"AV",letters:/(Ꜹ|Ꜻ|[\uA738\uA73A])/g},{base:"AY",letters:/(Ꜽ|[\uA73C])/g},{base:"B",letters:/(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(DZ|DŽ|[\u01F1\u01C4])/g},{base:"Dz",letters:/(Dz|Dž|[\u01F2\u01C5])/g},{base:"E",letters:/(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(LJ|[\u01C7])/g},{base:"Lj",letters:/(Lj|[\u01C8])/g},{base:"M",letters:/(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(NJ|[\u01CA])/g},{base:"Nj",letters:/(Nj|[\u01CB])/g},{base:"O",letters:/(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(Œ|[\u0152])/g},{base:"OI",letters:/(Ƣ|[\u01A2])/g},{base:"OO",letters:/(Ꝏ|[\uA74E])/g},{base:"OU",letters:/(Ȣ|[\u0222])/g},{base:"P",letters:/(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(Þ|[\u00DE])/g},{base:"TZ",letters:/(Ꜩ|[\uA728])/g},{base:"U",letters:/(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(Ꝡ|[\uA760])/g},{base:"W",letters:/(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(ꜳ|[\uA733])/g},{base:"ae",letters:/(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(ꜵ|[\uA735])/g},{base:"au",letters:/(ꜷ|[\uA737])/g},{base:"av",letters:/(ꜹ|ꜻ|[\uA739\uA73B])/g},{base:"ay",letters:/(ꜽ|[\uA73D])/g},{base:"b",letters:/(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(dz|dž|[\u01F3\u01C6])/g},{base:"e",letters:/(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(ƕ|[\u0195])/g},{base:"i",letters:/(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(ij|[\u0133])/g},{base:"j",letters:/(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(lj|[\u01C9])/g},{base:"m",letters:/(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(nj|[\u01CC])/g},{base:"o",letters:/(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(œ|[\u0153])/g},{base:"oi",letters:/(ƣ|[\u01A3])/g},{base:"ou",letters:/(ȣ|[\u0223])/g},{base:"oo",letters:/(ꝏ|[\uA74F])/g},{base:"p",letters:/(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(ß|[\u00DF])/g},{base:"t",letters:/(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(þ|[\u00FE])/g},{base:"tz",letters:/(ꜩ|[\uA729])/g},{base:"u",letters:/(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(ꝡ|[\uA761])/g},{base:"w",letters:/(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],jIt=function(e){return function(e){var t=e;return RIt.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},zIt=function(e,t,n){return n?jIt(e).indexOf(jIt(t)):e.toLowerCase().indexOf(t.toLowerCase())},MIt=function(e){return"number"==typeof e},LIt=function(e){return e===Object(e)?Object.keys(e):[]},NIt=function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function QIt(e,t){return function(n){var i=function(i){var r=i.style,o=i.className,a=i.classNames,s=QAt(i,["style","className","classNames"]),l=t?t(s):void 0,c=vIt(e,{style:r,className:o,classNames:a},l);return g.default.createElement(n,PAt({},s,{style:c}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var BIt=function(e){function n(){var e;return FAt(this,n),LAt($At(e=RAt(this,jAt(n).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return MAt(n,e),DAt(n,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var i={left:t,top:n};this.setState(i),this.props.onCaretPositionChange(i)}}}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.selectionStart,r=n.selectionEnd,o=n.value,a=n.style,s=n.children,l=n.containerRef,c=IIt(s);i===r&&(e=CIt(o,c,i,"START"));var u=[],d={},p=u,f=0;return SIt(o,c,(function(e,n,i,r,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);p.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(MIt(e)&&e>=i&&e<=i+n.length){var o=e-i;p.push(t.renderSubstring(n.substring(0,o),f)),p=[t.renderSubstring(n.substring(o),f)]}else p.push(t.renderSubstring(n,f));f++})),p.push(" "),p!==u&&u.push(this.renderHighlighterCaret(p)),g.default.createElement("div",PAt({},a,{ref:l}),u)}},{key:"renderSubstring",value:function(e,t){return g.default.createElement("span",PAt({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,n,i,r){var o={id:e,display:n,key:r},a=t.Children.toArray(this.props.children)[i];return g.default.cloneElement(a,o)}},{key:"renderHighlighterCaret",value:function(e){return g.default.createElement("span",PAt({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),n}(t.Component);LAt(BIt,"propTypes",{selectionStart:l0.number,selectionEnd:l0.number,value:l0.string.isRequired,onCaretPositionChange:l0.func.isRequired,containerRef:l0.oneOfType([l0.func,l0.shape({current:"undefined"==typeof Element?l0.any:l0.instanceOf(Element)})]),children:l0.oneOfType([l0.element,l0.arrayOf(l0.element)]).isRequired}),LAt(BIt,"defaultProps",{value:""});var UIt=QIt({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(BIt),qIt=function(e){function t(){return FAt(this,t),RAt(this,jAt(t).apply(this,arguments))}return MAt(t,e),DAt(t,[{key:"render",value:function(){var e=NIt(this.props,["style","classNames","className"],LIt(t.propTypes));return g.default.createElement("li",PAt({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,i=e.suggestion,r=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(i,t,s,r,o):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,i=t.query,r=t.style,o=zIt(e,i,n);return-1===o?g.default.createElement("span",r("display"),e):g.default.createElement("span",r("display"),e.substring(0,o),g.default.createElement("b",r("highlight"),e.substring(o,o+i.length)),e.substring(o+i.length))}}]),t}(t.Component);LAt(qIt,"propTypes",{id:l0.string.isRequired,query:l0.string.isRequired,index:l0.number.isRequired,ignoreAccents:l0.bool,suggestion:l0.oneOfType([l0.string,l0.shape({id:l0.oneOfType([l0.string,l0.number]).isRequired,display:l0.string})]).isRequired,renderSuggestion:l0.func,focused:l0.bool});var WIt=QIt({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(qIt);function GIt(){var e=vIt(),t=e("spinner");return g.default.createElement("div",e,g.default.createElement("div",t,g.default.createElement("div",t(["element","element1"])),g.default.createElement("div",t(["element","element2"])),g.default.createElement("div",t(["element","element3"])),g.default.createElement("div",t(["element","element4"])),g.default.createElement("div",t(["element","element5"]))))}var VIt=function(e){function n(){var e,t;FAt(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return LAt($At(t=RAt(this,(e=jAt(n)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,n){t.props.onMouseEnter&&t.props.onMouseEnter(e)})),LAt($At(t),"select",(function(e,n){t.props.onSelect(e,n)})),LAt($At(t),"setUlElement",(function(e){t.ulElement=e})),t}return MAt(n,e),DAt(n,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,i=t.bottom,r=this.ulElement.getBoundingClientRect().top;i=i-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:i>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=i-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,i=e.isOpened,r=e.style,o=e.onMouseDown,a=e.containerRef,s=e.position,l=e.left,c=e.top;return i?g.default.createElement("div",PAt({},gIt({position:s||"absolute",left:l,top:c},r),{onMouseDown:o,ref:a}),g.default.createElement("ul",PAt({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},r("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var i=n.results,r=n.queryInfo;return[].concat(CAt(t),CAt(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,n,i){var r=this,o=i===this.props.focusIndex,a=n.childIndex,s=n.query,l=t.Children.toArray(this.props.children)[a].props.renderSuggestion,c=this.props.ignoreAccents;return g.default.createElement(WIt,{style:this.props.style("item"),key:"".concat(a,"-").concat(XIt(e)),id:TIt(this.props.id,i),query:s,index:i,ignoreAccents:c,renderSuggestion:l,suggestion:e,focused:o,onClick:function(){return r.select(e,n)},onMouseEnter:function(){return r.handleMouseEnter(i)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return g.default.createElement(GIt,{style:this.props.style("loadingIndicator")})}}]),n}(t.Component);LAt(VIt,"propTypes",{id:l0.string.isRequired,suggestions:l0.object.isRequired,a11ySuggestionsListLabel:l0.string,focusIndex:l0.number,position:l0.string,left:l0.number,top:l0.number,scrollFocusedIntoView:l0.bool,isLoading:l0.bool,isOpened:l0.bool.isRequired,onSelect:l0.func,ignoreAccents:l0.bool,containerRef:l0.oneOfType([l0.func,l0.shape({current:"undefined"==typeof Element?l0.any:l0.instanceOf(Element)})]),children:l0.oneOfType([l0.element,l0.arrayOf(l0.element)]).isRequired}),LAt(VIt,"defaultProps",{suggestions:{},onSelect:function(){return null}});var XIt=function(e){return"string"==typeof e?e:e.id},HIt=QIt({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(VIt);function YIt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ZIt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YIt(n,!0).forEach((function(t){LAt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YIt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var KIt={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},JIt=!1,e$t={singleLine:l0.bool,allowSpaceInQuery:l0.bool,allowSuggestionsAboveCursor:l0.bool,forceSuggestionsAboveCursor:l0.bool,ignoreAccents:l0.bool,a11ySuggestionsListLabel:l0.string,value:l0.string,onKeyDown:l0.func,onSelect:l0.func,onBlur:l0.func,onChange:l0.func,suggestionsPortalHost:"undefined"==typeof Element?l0.any:l0.PropTypes.instanceOf(Element),inputRef:l0.oneOfType([l0.func,l0.shape({current:"undefined"==typeof Element?l0.any:l0.instanceOf(Element)})]),children:l0.oneOfType([l0.element,l0.arrayOf(l0.element)]).isRequired},t$t=function(e){function n(e){var i;return FAt(this,n),LAt($At(i=RAt(this,jAt(n).call(this,e))),"setContainerElement",(function(e){i.containerElement=e})),LAt($At(i),"getInputProps",(function(){var e=i.props,t=e.readOnly,n=e.disabled,r=e.style;return ZIt({},NIt(i.props,["style","classNames","className"],LIt(e$t)),{},r("input"),{value:i.getPlainText()},!t&&!n&&{onChange:i.handleChange,onSelect:i.handleSelect,onKeyDown:i.handleKeyDown,onBlur:i.handleBlur,onCompositionStart:i.handleCompositionStart,onCompositionEnd:i.handleCompositionEnd,onScroll:i.updateHighlighterScroll},{},i.isOpened()&&{role:"combobox","aria-controls":i.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":TIt(i.uuidSuggestionsOverlay,i.state.focusIndex)})})),LAt($At(i),"renderControl",(function(){var e=i.props,t=e.singleLine,n=e.style,r=i.getInputProps();return g.default.createElement("div",n("control"),i.renderHighlighter(),t?i.renderInput(r):i.renderTextarea(r))})),LAt($At(i),"renderInput",(function(e){return g.default.createElement("input",PAt({type:"text",ref:i.setInputRef},e))})),LAt($At(i),"renderTextarea",(function(e){return g.default.createElement("textarea",PAt({ref:i.setInputRef},e))})),LAt($At(i),"setInputRef",(function(e){i.inputElement=e;var t=i.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),LAt($At(i),"setSuggestionsElement",(function(e){i.suggestionsElement=e})),LAt($At(i),"renderSuggestionsOverlay",(function(){if(!MIt(i.state.selectionStart))return null;var e=i.state.suggestionsPosition,t=e.position,n=e.left,r=e.top,o=g.default.createElement(HIt,{id:i.uuidSuggestionsOverlay,style:i.props.style("suggestions"),position:t,left:n,top:r,focusIndex:i.state.focusIndex,scrollFocusedIntoView:i.state.scrollFocusedIntoView,containerRef:i.setSuggestionsElement,suggestions:i.state.suggestions,onSelect:i.addMention,onMouseDown:i.handleSuggestionsMouseDown,onMouseEnter:i.handleSuggestionsMouseEnter,isLoading:i.isLoading(),isOpened:i.isOpened(),ignoreAccents:i.props.ignoreAccents,a11ySuggestionsListLabel:i.props.a11ySuggestionsListLabel},i.props.children);return i.props.suggestionsPortalHost?y.default.createPortal(o,i.props.suggestionsPortalHost):o})),LAt($At(i),"renderHighlighter",(function(){var e=i.state,t=e.selectionStart,n=e.selectionEnd,r=i.props,o=r.singleLine,a=r.children,s=r.value,l=r.style;return g.default.createElement(UIt,{containerRef:i.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:t,selectionEnd:n,onCaretPositionChange:i.handleCaretPositionChange},a)})),LAt($At(i),"setHighlighterElement",(function(e){i.highlighterElement=e})),LAt($At(i),"handleCaretPositionChange",(function(e){i.setState({caretPosition:e})})),LAt($At(i),"getPlainText",(function(){return EIt(i.props.value||"",IIt(i.props.children))})),LAt($At(i),"executeOnChange",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o,a;return i.props.onChange?(o=i.props).onChange.apply(o,[e].concat(n)):i.props.valueLink?(a=i.props.valueLink).requestChange.apply(a,[e.target.value].concat(n)):void 0})),LAt($At(i),"handleChange",(function(e){if(JIt=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=i.props.value||"",n=IIt(i.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=EIt(e,i),l=s.length-t.length;"undefined"===r&&(r=a+l),"undefined"===o&&(o=r),r===o&&o===a&&s.length===t.length&&(r-=1);var c=t.slice(r,a),u=Math.min(r,a),d=o;r===a&&(d=Math.max(o,r+l));var p=CIt(e,i,u,"START"),f=CIt(e,i,d,"END"),h=CIt(e,i,u,"NULL"),m=CIt(e,i,d,"NULL"),g=null===h||null===m,v=PIt(e,p,f,c);if(!g){var b=EIt(v,i);if(b!==t){for(u=0;t[u]===b[u];)u++;c=t.slice(u,a),d=s.lastIndexOf(t.substring(a)),p=CIt(e,i,u,"START"),f=CIt(e,i,d,"END"),v=PIt(e,p,f,c)}}return v}(t,r,{selectionStartBefore:i.state.selectionStart,selectionEndBefore:i.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},n);r=EIt(o,n);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,c=function(e,t,n){var i=n,r=!1;if(SIt(e,t,(function(e,t,o,a,s,l,c){o<=n&&o+s.length>n&&(i=o,r=!0)})),r)return i}(t,n,a);void 0!==c&&i.state.selectionEnd>c&&(s=a=c,l=!0),i.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var u=FIt(o,n),d={target:{value:o}};i.executeOnChange(d,o,r,u)}})),LAt($At(i),"handleSelect",(function(e){if(i.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!JIt){var t=i.inputElement;e.target.selectionStart===e.target.selectionEnd?i.updateMentionsQueries(t.value,e.target.selectionStart):i.clearSuggestions(),i.updateHighlighterScroll(),i.props.onSelect(e)}})),LAt($At(i),"handleKeyDown",(function(e){if(0!==DIt(i.state.suggestions)&&i.suggestionsElement)switch(Object.values(KIt).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case KIt.ESC:return void i.clearSuggestions();case KIt.DOWN:return void i.shiftFocus(1);case KIt.UP:return void i.shiftFocus(-1);case KIt.RETURN:case KIt.TAB:return void i.selectFocused();default:return}else i.props.onKeyDown(e)})),LAt($At(i),"shiftFocus",(function(e){var t=DIt(i.state.suggestions);i.setState({focusIndex:(t+i.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),LAt($At(i),"selectFocused",(function(){var e=i.state,t=e.suggestions,n=e.focusIndex,r=Object.values(t).reduce((function(e,t){var n=t.results,i=t.queryInfo;return[].concat(CAt(e),CAt(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[n],o=r.result,a=r.queryInfo;i.addMention(o,a),i.setState({focusIndex:0})})),LAt($At(i),"handleBlur",(function(e){var t=i._suggestionsMouseDown;i._suggestionsMouseDown=!1,t||i.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){i.updateHighlighterScroll()}),1),i.props.onBlur(e,t)})),LAt($At(i),"handleSuggestionsMouseDown",(function(e){i._suggestionsMouseDown=!0})),LAt($At(i),"handleSuggestionsMouseEnter",(function(e){i.setState({focusIndex:e,scrollFocusedIntoView:!1})})),LAt($At(i),"updateSuggestionsPosition",(function(){var e=i.state.caretPosition,t=i.props,n=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&i.suggestionsElement){var a=i.suggestionsElement,s=i.highlighterElement,l=s.getBoundingClientRect(),c=n$t(s,"font-size"),u={left:l.left+e.left,top:l.top+e.top+c},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var p={};if(n){p.position="fixed";var f=u.left,h=u.top;f-=n$t(a,"margin-left"),h-=n$t(a,"margin-top"),f-=s.scrollLeft,h-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);f+a.offsetWidth>m?p.left=Math.max(0,m-a.offsetWidth):p.left=f,r&&h+a.offsetHeight>d&&a.offsetHeight<h-c||o?p.top=Math.max(0,h-a.offsetHeight-c):p.top=h}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>i.containerElement.offsetWidth?p.right=0:p.left=g,r&&u.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-c-s.scrollTop?p.top=v-a.offsetHeight-c:p.top=v}p.left===i.state.suggestionsPosition.left&&p.top===i.state.suggestionsPosition.top&&p.position===i.state.suggestionsPosition.position||i.setState({suggestionsPosition:p})}}})),LAt($At(i),"updateHighlighterScroll",(function(){var e=i.inputElement,t=i.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),LAt($At(i),"handleCompositionStart",(function(){JIt=!0})),LAt($At(i),"handleCompositionEnd",(function(){JIt=!1})),LAt($At(i),"setSelection",(function(e,t){if(null!==e&&null!==t){var n=i.inputElement;if(n.setSelectionRange)n.setSelectionRange(e,t);else if(n.createTextRange){var r=n.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),LAt($At(i),"updateMentionsQueries",(function(e,t){i._queryId++,i.suggestions={},i.setState({suggestions:{}});var n=i.props.value||"",r=i.props.children,o=IIt(r),a=CIt(n,o,t,"NULL");if(null!==a){var s=function(e,t){var n=FIt(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(n.substring(0,a),o),l=e.substring(s,t);g.default.Children.forEach(r,(function(t,n){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,i=bIt(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,i.props),o=l.match(r);if(o){var a=s+l.indexOf(o[1],o.index);i.queryData(o[2],n,a,a+o[1].length,e)}}}))}})),LAt($At(i),"clearSuggestions",(function(){i._queryId++,i.suggestions={},i.setState({suggestions:{},focusIndex:0})})),LAt($At(i),"queryData",(function(e,n,r,o,a){var s=i.props,l=s.children,c=s.ignoreAccents,u=function(e,t){return e instanceof Array?function(n,i){for(var r=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;zIt(s,n,t)>=0&&r.push(e[o])}return r}:e}(t.Children.toArray(l)[n].props.data,c),d=u(e,i.updateSuggestions.bind(null,i._queryId,n,e,r,o,a));d instanceof Array&&i.updateSuggestions(i._queryId,n,e,r,o,a,d)})),LAt($At(i),"updateSuggestions",(function(e,t,n,r,o,a,s){if(e===i._queryId){i.suggestions=ZIt({},i.suggestions,LAt({},t,{queryInfo:{childIndex:t,query:n,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=i.state.focusIndex,c=DIt(i.suggestions);i.setState({suggestions:i.suggestions,focusIndex:l>=c?Math.max(c-1,0):l})}})),LAt($At(i),"addMention",(function(e,n){var r=e.id,o=e.display,a=n.childIndex,s=n.querySequenceStart,l=n.querySequenceEnd,c=n.plainTextValue,u=i.props.value||"",d=IIt(i.props.children),p=t.Children.toArray(i.props.children)[a].props,f=p.markup,h=p.displayTransform,m=p.appendSpaceOnAdd,g=p.onAdd,v=CIt(u,d,s,"START"),b=v+l-s,y=function(e,t,n){return e.replace(yIt,t).replace(OIt,n)}(f,r,o);m&&(y+=" ");var O=PIt(u,v,b,y);i.inputElement.focus();var w=h(r,o);m&&(w+=" ");var _=s+w.length;i.setState({selectionStart:_,selectionEnd:_,setSelectionAfterMentionChange:!0});var x={target:{value:O}},k=FIt(O,d),S=PIt(c,s,l,w);i.executeOnChange(x,O,S,k),g&&g(r,o,v,b),i.clearSuggestions()})),LAt($At(i),"isLoading",(function(){var e=!1;return g.default.Children.forEach(i.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),LAt($At(i),"isOpened",(function(){return MIt(i.state.selectionStart)&&(0!==DIt(i.state.suggestions)||i.isLoading())})),LAt($At(i),"_queryId",0),i.suggestions={},i.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),i.handleCopy=i.handleCopy.bind($At(i)),i.handleCut=i.handleCut.bind($At(i)),i.handlePaste=i.handlePaste.bind($At(i)),i.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},i}return MAt(n,e),DAt(n,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return g.default.createElement("div",PAt({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.value,a=r.children,s=IIt(a),l=CIt(o,s,n,"START"),c=CIt(o,s,i,"END"),u=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=PIt(o,l,c,u||d).replace(/\r/g,""),f=EIt(p,s),h={target:ZIt({},e.target,{value:p})};this.executeOnChange(h,p,f,FIt(p,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=IIt(o),l=CIt(a,s,n,"START"),c=CIt(a,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",a.slice(l,c))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=IIt(o),l=CIt(a,s,n,"START"),c=CIt(a,s,i,"END"),u=[a.slice(0,l),a.slice(c)].join(""),d=EIt(u,s),p={target:ZIt({},e.target,{value:d})};this.executeOnChange(p,u,d,FIt(a,s))}}}]),n}(g.default.Component);LAt(t$t,"propTypes",e$t),LAt(t$t,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var n$t=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},i$t=QIt({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:ZIt({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(t$t),r$t={fontWeight:"inherit"},o$t=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,o=vIt(r$t,{style:n,className:i,classNames:r});return g.default.createElement("strong",o,t)};o$t.propTypes={onAdd:l0.func,onRemove:l0.func,renderSuggestion:l0.func,trigger:l0.oneOfType([l0.string,l0.instanceOf(RegExp)]),markup:l0.string,displayTransform:l0.func,allowSpaceInQuery:l0.bool,isLoading:l0.bool},o$t.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1};var a$t=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function s$t(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=a$t.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var i=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof i&&i.length>0?i:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var l$t=[".DS_Store","Thumbs.db"];function c$t(e){return Eo(this,void 0,void 0,(function(){return Co(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?d$t(e.dataTransfer,e.type):u$t(e))];var n}))}))}function u$t(e){return(null!==e.target&&e.target.files?f$t(e.target.files):[]).map((function(e){return s$t(e)}))}function d$t(e,t){return Eo(this,void 0,void 0,(function(){var n;return Co(this,(function(i){switch(i.label){case 0:return e.items?(n=f$t(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(h$t))]):[3,2];case 1:return[2,p$t(m$t(i.sent()))];case 2:return[2,p$t(f$t(e.files).map((function(e){return s$t(e)})))]}}))}))}function p$t(e){return e.filter((function(e){return-1===l$t.indexOf(e.name)}))}function f$t(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function h$t(e){if("function"!=typeof e.webkitGetAsEntry)return g$t(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?b$t(t):g$t(e)}function m$t(e){return e.reduce((function(e,t){return Do(e,Array.isArray(t)?m$t(t):[t])}),[])}function g$t(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=s$t(t);return Promise.resolve(n)}function v$t(e){return Eo(this,void 0,void 0,(function(){return Co(this,(function(t){return[2,e.isDirectory?b$t(e):y$t(e)]}))}))}function b$t(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Eo(o,void 0,void 0,(function(){var o,a,s;return Co(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return o=l.sent(),e(o),[3,4];case 3:return a=l.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(v$t)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function y$t(e){return Eo(this,void 0,void 0,(function(){return Co(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=s$t(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function O$t(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=(e.type||"").toLowerCase(),o=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function w$t(e,t,n){if(_$t(e.size)){if(_$t(t)&&_$t(n))return e.size>=t&&e.size<=n;if(_$t(t))return e.size>=t;if(_$t(n))return e.size<=n}return!0}function _$t(e){return null!=e}function x$t(e,t,n,i){return e.every((function(e){return O$t(e,t)&&w$t(e,n,i)}))}function k$t(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function S$t(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function E$t(e){e.preventDefault()}function C$t(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function P$t(e){return-1!==e.indexOf("Edge/")}function F$t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return C$t(e)||P$t(e)}function T$t(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return t.some((function(t){return!k$t(e)&&t&&t.apply(void 0,[e].concat(i)),k$t(e)}))}}function D$t(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function A$t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function I$t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function $$t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I$t(n,!0).forEach((function(t){R$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I$t(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function R$t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j$t(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var z$t=t.forwardRef((function(e,n){var i=e.children,r=N$t(j$t(e,["children"])),o=r.open,a=j$t(r,["open"]);return t.useImperativeHandle(n,(function(){return{open:o}}),[o]),g.default.createElement(t.Fragment,null,i($$t({},a,{open:o})))}));z$t.displayName="Dropzone",z$t.propTypes={children:l0.func,accept:l0.oneOfType([l0.string,l0.arrayOf(l0.string)]),multiple:l0.bool,preventDropOnDocument:l0.bool,noClick:l0.bool,noKeyboard:l0.bool,noDrag:l0.bool,noDragEventsBubbling:l0.bool,minSize:l0.number,maxSize:l0.number,disabled:l0.bool,getFilesFromEvent:l0.func,onFileDialogCancel:l0.func,onDragEnter:l0.func,onDragLeave:l0.func,onDragOver:l0.func,onDrop:l0.func,onDropAccepted:l0.func,onDropRejected:l0.func};var M$t,L$t={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function N$t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.accept,i=e.disabled,r=void 0!==i&&i,o=e.getFilesFromEvent,a=void 0===o?c$t:o,s=e.maxSize,l=void 0===s?1/0:s,c=e.minSize,u=void 0===c?0:c,d=e.multiple,p=void 0===d||d,f=e.onDragEnter,h=e.onDragLeave,m=e.onDragOver,g=e.onDrop,v=e.onDropAccepted,b=e.onDropRejected,y=e.onFileDialogCancel,O=e.preventDropOnDocument,w=void 0===O||O,_=e.noClick,x=void 0!==_&&_,k=e.noKeyboard,S=void 0!==k&&k,E=e.noDrag,C=void 0!==E&&E,P=e.noDragEventsBubbling,F=void 0!==P&&P,T=t.useRef(null),D=t.useRef(null),A=t.useReducer(Q$t,L$t),I=A$t(A,2),$=I[0],R=I[1],j=$.isFocused,z=$.isFileDialogActive,M=$.draggedFiles,L=t.useCallback((function(){D.current&&(R({type:"openDialog"}),D.current.value=null,D.current.click())}),[R]),N=function(){z&&setTimeout((function(){D.current&&(D.current.files.length||(R({type:"closeDialog"}),"function"==typeof y&&y()))}),300)};t.useEffect((function(){return window.addEventListener("focus",N,!1),function(){window.removeEventListener("focus",N,!1)}}),[D,z,y]);var Q=t.useCallback((function(e){T.current&&T.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),L()))}),[T,D]),B=t.useCallback((function(){R({type:"focus"})}),[]),U=t.useCallback((function(){R({type:"blur"})}),[]),q=t.useCallback((function(){x||(F$t()?setTimeout(L,0):L())}),[D,x]),W=t.useRef([]),G=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),W.current=[])};t.useEffect((function(){return w&&(document.addEventListener("dragover",E$t,!1),document.addEventListener("drop",G,!1)),function(){w&&(document.removeEventListener("dragover",E$t),document.removeEventListener("drop",G))}}),[T,w]);var V=t.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===W.current.indexOf(e.target)&&(W.current=[].concat(D$t(W.current),[e.target])),S$t(e)&&Promise.resolve(a(e)).then((function(t){k$t(e)&&!F||(R({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),f&&f(e))}))}),[a,f,F]),X=t.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return S$t(e)&&m&&m(e),!1}),[m,F]),H=t.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=W.current.filter((function(t){return t!==e.target&&T.current&&T.current.contains(t)}));W.current=t,t.length>0||(R({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),S$t(e)&&h&&h(e))}),[T,h,F]),Y=t.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),W.current=[],R({type:"reset"}),S$t(e)&&Promise.resolve(a(e)).then((function(t){if(!k$t(e)||F){var i=[],r=[];t.forEach((function(e){O$t(e,n)&&w$t(e,u,l)?i.push(e):r.push(e)})),!p&&i.length>1&&r.push.apply(r,D$t(i.splice(0))),R({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),g&&g(i,r,e),r.length>0&&b&&b(r,e),i.length>0&&v&&v(i,e)}}))}),[p,n,u,l,a,g,v,b,F]),Z=function(e){return r?null:e},K=function(e){return S?null:Z(e)},J=function(e){return C?null:Z(e)},ee=function(e){F&&e.stopPropagation()},te=t.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,p=j$t(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return $$t(R$t({onKeyDown:K(T$t(i,Q)),onFocus:K(T$t(o,B)),onBlur:K(T$t(a,U)),onClick:Z(T$t(s,q)),onDragEnter:J(T$t(l,V)),onDragOver:J(T$t(c,X)),onDragLeave:J(T$t(u,H)),onDrop:J(T$t(d,Y))},n,T),r||S?{}:{tabIndex:0},{},p)}}),[T,Q,B,U,q,V,X,H,Y,S,C,r]),ne=t.useCallback((function(e){e.stopPropagation()}),[]),ie=t.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,i=void 0===t?"ref":t,r=e.onChange,o=e.onClick,a=j$t(e,["refKey","onChange","onClick"]),s=R$t({accept:n,multiple:p,type:"file",style:{display:"none"},onChange:Z(T$t(r,Y)),onClick:Z(T$t(o,ne)),autoComplete:"off",tabIndex:-1},i,D);return $$t({},s,{},a)}}),[D,n,p,Y,r]),re=M.length,oe=p||re<=1,ae=re>0&&x$t(M,n,u,l),se=re>0&&(!ae||!oe);return $$t({},$,{isDragAccept:ae,isDragReject:se,isFocused:j&&!r,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:D,open:Z(L)})}function Q$t(e,t){switch(t.type){case"focus":return $$t({},e,{isFocused:!0});case"blur":return $$t({},e,{isFocused:!1});case"openDialog":return $$t({},e,{isFileDialogActive:!0});case"closeDialog":return $$t({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return $$t({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return $$t({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return $$t({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(M$t||(M$t={}));var B$t={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:X(e)}function r(e){return l(e)?e:H(e)}function o(e){return a(e)&&!c(e)?e:Y(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[f])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,b=v-1,y={},O={value:!1},w={value:!1};function _(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function E(e){return void 0===e.size&&(e.size=e.__iterate(P)),e.size}function C(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function P(){return!0}function F(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,$=1,R=2,j="function"==typeof Symbol&&Symbol.iterator,z="@@iterator",M=j||z;function L(e){this.next=e}function N(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function Q(){return{value:void 0,done:!0}}function B(e){return!!W(e)}function U(e){return e&&"function"==typeof e.next}function q(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(j&&e[j]||e[z]);if("function"==typeof t)return t}function G(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function X(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function H(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}L.prototype.toString=function(){return"[Iterator]"},L.KEYS=I,L.VALUES=$,L.ENTRIES=R,L.prototype.inspect=L.prototype.toSource=function(){return this.toString()},L.prototype[M]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(X,V),X.prototype.toKeyedSeq=function(){return this},t(H,V),H.of=function(){return H(arguments)},H.prototype.toIndexedSeq=function(){return this},H.prototype.toString=function(){return this.__toString("Seq [","]")},H.prototype.__iterate=function(e,t){return de(this,e,t,!1)},H.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(Y,V),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=X,V.Set=Y,V.Indexed=H;var Z,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():B(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ue(e){return G(e)?new te(e):U(e)?new re(e):B(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new L((function(){var e=r[n?o-a:a];return a++>o?Q():N(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,H(t).map((function(n,i){return he(e,n,i,t)}))):ge(t)?e.call(i,n,X(t).map((function(n,i){return he(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?H(e).map(me).toList():ge(e)?X(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function be(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,y)):!ve(e.get(i,y),t))return d=!1,!1}));return d&&e.size===p}function ye(e,t){if(!(this instanceof ye))return new ye(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function Oe(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(Oe(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function _e(){throw TypeError("Abstract")}function xe(){}function ke(){}function Se(){}V.prototype[ee]=!0,t(te,H),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new L((function(){return r>i?Q():N(e,r,n[t?i-r++:r++])}))},t(ne,X),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new L((function(){var a=i[t?r-o:o];return o++>r?Q():N(e,a,n[a])}))},ne.prototype[h]=!0,t(ie,H),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(U(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=q(this._iterable);if(!U(n))return new L(Q);var i=0;return new L((function(){var t=n.next();return t.done?t:N(e,i++,t.value)}))},t(re,H),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new L((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return N(e,r,i[r++])}))},t(ye,H),ye.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ye.prototype.get=function(e,t){return this.has(e)?this._value:t},ye.prototype.includes=function(e){return ve(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:new ye(this._value,D(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},ye.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ye.prototype.__iterator=function(e,t){var n=this,i=0;return new L((function(){return i<n.size?N(e,i++,n._value):Q()}))},ye.prototype.equals=function(e){return e instanceof ye?ve(this._value,e._value):be(e)},t(we,H),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return F(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new L((function(){var a=r;return r+=t?-i:i,o>n?Q():N(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:be(this,e)},t(_e,n),t(xe,_e),t(ke,_e),t(Se,_e),_e.Keyed=xe,_e.Indexed=ke,_e.Set=Se;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function Pe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ce(n)}if("string"===t)return e.length>Le?Fe(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Fe(e){var t=Be[e];return void 0===t&&(t=Te(e),Qe===Ne&&(Qe=0,Be={}),Qe++,Be[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ce(t)}function De(e){var t;if(je&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Me]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Me]))return t;if(void 0!==(t=$e(e)))return t}if(t=++ze,1073741824&ze&&(ze=0),je)Re.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Me,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Me]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Me]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function $e(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,je="function"==typeof WeakMap;je&&(Re=new WeakMap);var ze=0,Me="__immutablehash__";"function"==typeof Symbol&&(Me=Symbol(Me));var Le=16,Ne=255,Qe=0,Be={};function Ue(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():We(e)&&!u(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(qe,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,y)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,_n(e),t,n);return i===y?void 0:i},qe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},qe.prototype.merge=function(){return pt(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},qe.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},qe.prototype.mergeDeep=function(){return pt(this,ft,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},qe.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},qe.prototype.sort=function(e){return Bt(dn(this,e))},qe.prototype.sortBy=function(e,t){return Bt(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},qe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qe.isMap=We;var Ge,Ve="@@__IMMUTABLE_MAP__@@",Xe=qe.prototype;function He(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return N(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function it(e,t,n,i){var r=Object.create(Xe);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ge||(Ge=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=_(O),a=_(w);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===y?-1:1:0)}else{if(n===y)return e;r=1,i=new He(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===y?e:(x(s),x(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&b,s=(0===n?i:i>>>n)&b;return new Ye(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ct(e,t,n,i){e||(e=new k);for(var r=new Je(e,Pe(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ut(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==i&&(r|=l,a[o++]=u)}return new Ye(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return fe(e)}))),r.push(l)}return mt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,y,(function(e){return e===y?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function gt(e,t,n,i){var r=e===y,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.value,c=r?y:e.get(l,y),u=gt(c,t,n,i);return u===c?e:u===y?e.remove(l):(r?rt():e).set(l,u)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function bt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function yt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Xe[Ve]=!0,Xe[m]=Xe.remove,Xe.removeIn=Xe.deleteIn,He.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},He.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===y,l=this.entries,c=0,u=l.length;c<u&&!ve(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ct(e,l,i,r);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new He(e,f)}},Ye.prototype.get=function(e,t,n,i){void 0===t&&(t=Pe(n));var r=1<<((0===e?t:t>>>e)&b),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},Ye.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=(0===t?n:n>>>t)&b,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&r===y)return this;var d=vt(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=at(f,e,t+g,n,i,r,o,a);if(h===f)return this;if(!u&&h&&p.length>=_t)return dt(e,p,c,s,h);if(u&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,v=u?h?c:c^l:c|l,O=u?h?bt(p,d,h,m):Ot(p,d,m):yt(p,d,h,m);return m?(this.bitmap=v,this.nodes=O,this):new Ye(e,v,O)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Pe(n));var r=(0===e?t:t>>>e)&b,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=(0===t?n:n>>>t)&b,l=r===y,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,i,r,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<xt)return ut(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=bt(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new Ze(e,p,h)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=r===y;if(n!==this.keyHash)return s?this:(x(a),x(o),lt(this,e,t,n,[i,r]));for(var l=this.entries,c=0,u=l.length;c<u&&!ve(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(x(a),(s||!d)&&x(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new Ke(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,o,a){var s=r===y,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,Pe(i),[i,r])))},He.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Ye.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,L),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return Q()};var wt=v/4,_t=v/2,xt=v/4;function kt(e){var t=$t();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?It(0,i,g,null,new Pt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=C(this,e))>=0&&e<this.size){var n=Mt(this,e+=this._origin);return n&&n.array[e&b]}return t},kt.prototype.set=function(e,t){return Rt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):$t()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Lt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},kt.prototype.pop=function(){return Lt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Lt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Lt(this,1)},kt.prototype.merge=function(){return Nt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Nt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Nt(this,ft,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Nt(this,ht(t),n)},kt.prototype.setSize=function(e){return Lt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:Lt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new L((function(){var t=i();return t===Dt?Q():N(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Et="@@__IMMUTABLE_LIST__@@",Ct=kt.prototype;function Pt(e,t){this.array=e,this.ownerID=t}Ct[Et]=!0,Ct[m]=Ct.remove,Ct.setIn=Xe.setIn,Ct.deleteIn=Ct.removeIn=Xe.removeIn,Ct.update=Xe.update,Ct.updateIn=Xe.updateIn,Ct.mergeIn=Xe.mergeIn,Ct.mergeDeepIn=Xe.mergeDeepIn,Ct.withMutations=Xe.withMutations,Ct.asMutable=Xe.asMutable,Ct.asImmutable=Xe.asImmutable,Ct.wasAltered=Xe.wasAltered,Pt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&b;if(i>=this.array.length)return new Pt([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=zt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Pt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&b;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=zt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Qt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,c=i-a;return c>v&&(c=v),function(){if(l===c)return Dt;var e=t?--c:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,c=o>n?0:n-o>>r,u=1+(i-o>>r);return u>v&&(u=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===u)return Dt;var n=t?--u:c++;s=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){var s=Object.create(Ct);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function $t(){return Ft||(Ft=It(0,0,g))}function Rt(e,t,n){if((t=C(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Lt(e,t).set(0,n):Lt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=_(w);return t>=Qt(e._capacity)?i=jt(i,e.__ownerID,0,t,n,o):r=jt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function jt(e,t,n,i,r,o){var a,s=i>>>n&b,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var c=e&&e.array[s],u=jt(c,t,n-g,i,r,o);return u===c?e:((a=zt(e,t)).array[s]=u,a)}return l&&e.array[s]===r?e:(x(o),a=zt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function zt(e,t){return t&&e&&t===e.ownerID?e:new Pt(e?e.array.slice():[],t)}function Mt(e,t){if(t>=Qt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&b],i-=g;return n}}function Lt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new Pt(c&&c.array.length?[void 0,c]:[],i),u+=1<<(l+=g);u&&(a+=u,r+=u,s+=u,o+=u);for(var d=Qt(o),p=Qt(s);p>=1<<l+g;)c=new Pt(c&&c.array.length?[c]:[],i),l+=g;var f=e._tail,h=p<d?Mt(e,s-1):p>d?new Pt([],i):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=zt(c,i),v=l;v>g;v-=g){var y=d>>>v&b;m=m.array[y]=zt(m.array[y],i)}m.array[d>>>g&b]=f}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,c=null,h=h&&h.removeBefore(i,0,a);else if(a>r||p<d){for(u=0;c;){var O=a>>>l&b;if(O!==p>>>l&b)break;O&&(u+=(1<<l)*O),l-=g,c=c.array[O]}c&&a>r&&(c=c.removeBefore(i,l,a-u)),c&&p<d&&(c=c.removeAfter(i,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,c,h)}function Nt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],c=r(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return fe(e)}))),i.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Qt(e){return e<v?0:e-1>>>g<<g}function Bt(e){return null==e?Wt():Ut(e)?e:Wt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return We(e)&&u(e)}function qt(e,t,n,i){var r=Object.create(Bt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return Tt||(Tt=qt(rt(),$t()))}function Gt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===y){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Xt(e){this._iter=e,this.size=e.size}function Ht(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){var t=yn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=On,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var i=e.__iterator(t,n);return new L((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===$?I:$,n)},t}function Kt(e,t,n){var i=yn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,y);return o===y?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(R,r);return new L((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return N(i,s,t.call(n,a[1],s,e),r)}))},i}function Jt(e,t){var n=yn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=yn(e);return i&&(r.has=function(i){var r=e.get(i,y);return r!==y&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,y);return o!==y&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(R,o),s=0;return new L((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return N(r,i?c:s++,u,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(u(e)?Bt():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=bn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var c=yn(e);return c.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=C(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,i?n:c-1,r)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),a=0,l=0;return new L((function(){for(;a++<o;)r.next();if(++l>s)return Q();var e=r.next();return i||t===$?e:N(t,l-1,t===I?void 0:e.value[1],e)}))},c}function on(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(R,r),s=!0;return new L((function(){if(!s)return Q();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],c=r[1];return t.call(n,c,l,o)?i===R?e:N(i,l,c,e):(s=!1,Q())}))},i}function an(e,t,n,i){var r=yn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(R,o),l=!0,c=0;return new L((function(){var e,o,u;do{if((e=s.next()).done)return i||r===$?e:N(r,c++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return r===R?e:N(r,o,u,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(r);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,r){return(!t||c<t)&&a(e)?l(e,c+1):!1===i(e,n?r:o++,u)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new L((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(i===R&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:N(i,l++,c,e);s.push(o),o=c.__iterator(i,r)}else o=s.pop()}return Q()}))},i}function cn(e,t,n){var i=bn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function un(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator($,i),a=0;return new L((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?N(n,a++,t):N(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?X(o):l(e)?H(o):Y(o)}function pn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=yn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator($,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new L((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?Q():N(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ue(e.size),E(e)}function bn(e){return s(e)?i:l(e)?r:o}function yn(e){return Object.create((s(e)?X:l(e)?H:Y).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=q(e);if(!t){if(!G(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);Cn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(Bt,qe),Bt.of=function(){return this(arguments)},Bt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Bt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Bt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Wt()},Bt.prototype.set=function(e,t){return Gt(this,e,t)},Bt.prototype.remove=function(e){return Gt(this,e,y)},Bt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Bt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Bt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Bt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Bt.isOrderedMap=Ut,Bt.prototype[h]=!0,Bt.prototype[m]=Bt.prototype.remove,t(Vt,X),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=Kt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator($,t),i=t?vn(this):0;return new L((function(){var r=n.next();return r.done?r:N(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Xt,H),Xt.prototype.includes=function(e){return this._iter.includes(e)},Xt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Xt.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t),i=0;return new L((function(){var t=n.next();return t.done?t:N(e,i++,t.value,t)}))},t(Ht,Y),Ht.prototype.has=function(e){return this._iter.includes(e)},Ht.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t);return new L((function(){var t=n.next();return t.done?t:N(e,t.value,t.value,t)}))},t(Yt,X),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t);return new L((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return N(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Xt.prototype.cacheResult=Vt.prototype.cacheResult=Ht.prototype.cacheResult=Yt.prototype.cacheResult=On,t(xn,xe),xn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},xn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},xn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=xn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function En(e){return e._name||e.constructor.name||"Record"}function Cn(e,t){try{t.forEach(Pn.bind(void 0,e))}catch(e){}}function Pn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){Oe(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Fn(e){return null==e?jn():Tn(e)&&!u(e)?e:jn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Xe.removeIn,kn.merge=Xe.merge,kn.mergeWith=Xe.mergeWith,kn.mergeIn=Xe.mergeIn,kn.mergeDeep=Xe.mergeDeep,kn.mergeDeepWith=Xe.mergeDeepWith,kn.mergeDeepIn=Xe.mergeDeepIn,kn.setIn=Xe.setIn,kn.update=Xe.update,kn.updateIn=Xe.updateIn,kn.withMutations=Xe.withMutations,kn.asMutable=Xe.asMutable,kn.asImmutable=Xe.asImmutable,t(Fn,Se),Fn.of=function(){return this(arguments)},Fn.fromKeys=function(e){return this(i(e).keySeq())},Fn.prototype.toString=function(){return this.__toString("Set {","}")},Fn.prototype.has=function(e){return this._map.has(e)},Fn.prototype.add=function(e){return $n(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return $n(this,this._map.remove(e))},Fn.prototype.clear=function(){return $n(this,this._map.clear())},Fn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return zn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return zn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.prototype;function $n(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Rn(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Dn||(Dn=Rn(rt()))}function zn(e){return null==e?Bn():Mn(e)?e:Bn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Mn(e){return Tn(e)&&u(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Xe.withMutations,In.asMutable=Xe.asMutable,In.asImmutable=Xe.asImmutable,In.__empty=jn,In.__make=Rn,t(zn,Fn),zn.of=function(){return this(arguments)},zn.fromKeys=function(e){return this(i(e).keySeq())},zn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},zn.isOrderedSet=Mn;var Ln,Nn=zn.prototype;function Qn(e,t){var n=Object.create(Nn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Bn(){return Ln||(Ln=Qn(Wt()))}function Un(e){return null==e?Hn():qn(e)?e:Hn().unshiftAll(e)}function qn(e){return!(!e||!e[Gn])}Nn[h]=!0,Nn.__empty=Bn,Nn.__make=Qn,t(Un,ke),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=C(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Xn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Xn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Hn()},Un.prototype.slice=function(e,t){if(F(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Xn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Xn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new L((function(){if(i){var t=i.value;return i=i.next,N(e,n++,t)}return Q()}))},Un.isStack=qn;var Wn,Gn="@@__IMMUTABLE_STACK__@@",Vn=Un.prototype;function Xn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Hn(){return Wn||(Wn=Xn(0))}function Yn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Gn]=!0,Vn.withMutations=Xe.withMutations,Vn.asMutable=Xe.asMutable,Vn.asImmutable=Xe.asImmutable,Vn.wasAltered=Xe.wasAltered,n.Iterator=L,Yn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Xt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Bt(this.toKeyedSeq())},toOrderedSet:function(){return zn(s(this)?this.valueSeq():this)},toSet:function(){return Fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ht(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){Ue(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator($)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return be(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(P)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=_n(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,y):y)===y)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,y)!==y},hasIn:function(e){return this.getIn(e,y)!==y},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[M]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Yn(i,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Pe(e),Pe(t))|0}:function(e,t){i=i+li(Pe(e),Pe(t))|0}:t?function(e){i=31*i+Pe(e)|0}:function(e){i=i+Pe(e)|0});return si(r,i)}function si(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ce((t=Ee(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[M]=Zn.entries,Kn.__toJS=Zn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Yn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Jt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return mn(this,1===n?i:i.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=C(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=C(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),H.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),r.prototype[f]=!0,r.prototype[h]=!0,Yn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Zn.includes,Yn(X,i.prototype),Yn(H,r.prototype),Yn(Y,o.prototype),Yn(xe,i.prototype),Yn(ke,r.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:V,Collection:_e,Map:qe,OrderedMap:Bt,List:kt,Stack:Un,Set:Fn,OrderedSet:zn,Record:xn,Range:we,Repeat:ye,is:ve,fromJS:fe}}()}(B$t);var U$t=B$t.exports.OrderedMap,q$t={createFromArray:function(e){return U$t(e.map((function(e){return[e.getKey(),e]})))}},W$t=q$t;var G$t=B$t.exports,V$t=G$t.Map,X$t=G$t.OrderedSet,H$t=G$t.Record,Y$t=X$t(),Z$t={style:Y$t,entity:null},K$t=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(e){return this.getStyle().includes(e)},i.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return i.create(n)},i.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return i.create(n)},i.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return i.create(n)},i.create=function(e){if(!e)return J$t;var t=V$t({style:Y$t,entity:null}).merge(e),n=eRt.get(t);if(n)return n;var r=new i(t);return eRt=eRt.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?X$t(t):t,entity:Array.isArray(n)?X$t(n):n})},i}(H$t(Z$t)),J$t=new K$t,eRt=V$t([[V$t(Z$t),J$t]]);K$t.EMPTY=J$t;var tRt=K$t;var nRt=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&i(r,a),r=a),o})),n(e.last())&&i(r,e.count())}};var iRt=tRt,rRt=nRt,oRt=B$t.exports,aRt=oRt.List,sRt=oRt.Map,lRt=oRt.OrderedSet,cRt=oRt.Record,uRt=oRt.Repeat,dRt=lRt(),pRt=cRt({key:"",type:"unstyled",text:"",characterList:aRt(),depth:0,data:sRt()}),fRt=function(e){var t,n;function i(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=aRt(uRt(iRt.EMPTY,n.length))),e}(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():dRt},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){rRt(this.getCharacterList(),hRt,e,t)},r.findEntityRanges=function(e,t){rRt(this.getCharacterList(),mRt,e,t)},i}(pRt);function hRt(e,t){return e.getStyle()===t.getStyle()}function mRt(e,t){return e.getEntity()===t.getEntity()}var gRt=fRt;var vRt=tRt,bRt=nRt,yRt=B$t.exports,ORt=yRt.List,wRt=yRt.Map,_Rt=yRt.OrderedSet,xRt=yRt.Record,kRt=yRt.Repeat,SRt=_Rt(),ERt={parent:null,characterList:ORt(),data:wRt(),depth:0,key:"",text:"",type:"unstyled",children:ORt(),prevSibling:null,nextSibling:null},CRt=function(e,t){return e.getStyle()===t.getStyle()},PRt=function(e,t){return e.getEntity()===t.getEntity()},FRt=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=ORt(kRt(vRt.EMPTY,n.length))),e},TRt=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ERt;return e.call(this,FRt(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():SRt},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(e,t){bRt(this.getCharacterList(),CRt,e,t)},r.findEntityRanges=function(e,t){bRt(this.getCharacterList(),PRt,e,t)},i}(xRt(ERt)),DRt=TRt,ARt=tRt,IRt=B$t.exports.Map;function $Rt(e,t,n,i){var r=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),c=r.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(IRt([[s,r.get(s)]])).map((function(e,t){var r,c;o===s?(r=a,c=l):(r=t===o?a:0,c=t===s?l:e.getLength());for(var u,d=e.getCharacterList();r<c;)u=d.get(r),d=d.set(r,i?ARt.applyStyle(u,n):ARt.removeStyle(u,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(c),selectionBefore:t,selectionAfter:t})}var RRt={add:function(e,t,n){return $Rt(e,t,n,!0)},remove:function(e,t,n){return $Rt(e,t,n,!1)}},jRt=tRt;var zRt=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,jRt.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},MRt=zRt,LRt=B$t.exports;var NRt=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(LRt.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return MRt(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},QRt={getRemovalRange:function(e,t,n,i,r){var o=n.split(" ");o=o.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=i,l=null,c=null,u=0;u<o.length;u++){if(e<(a=s+o[u].length)&&s<t)null!==l||(l=s),c=a;else if(null!==l)break;s=a}var d=i+n.length,p=l===i,f=c===d;return(!p&&f||p&&!f)&&("forward"===r?c!==d&&c++:l!==i&&l--),{start:l,end:c}}},BRt="production"!==Jh.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var URt=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if(BRt(t),!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,(function(){return String(i[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},qRt=URt;var WRt=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||("production"!==Jh.env.NODE_ENV?qRt(!1,"Entity key not found in this range."):qRt(!1)),n},GRt=QRt,VRt=WRt,XRt=URt;function HRt(e,t,n,i,r,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),c=e.__get(r).getMutability(),u=a?s:l;if("MUTABLE"===c)return n;var d=VRt(t,r).filter((function(e){return u<=e.end&&u>=e.start}));1!=d.length&&("production"!==Jh.env.NODE_ENV?XRt(!1,"There should only be one entity range within this removal range."):XRt(!1));var p=d[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});o||(a?l=p.end:s=p.start);var f=GRt.getRemovalRange(s,l,t.getText().slice(p.start,p.end),p.start,i);return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1})}var YRt=function(e,t,n,i,r){var o=i.getStartOffset(),a=i.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return i;var c=i;if(s&&s===l)c=HRt(e,t,c,r,s,!0,!0);else if(s&&l){var u=HRt(e,t,c,r,s,!1,!0),d=HRt(e,n,c,r,l,!1,!1);c=c.merge({anchorOffset:u.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=HRt(e,t,c,r,s,!1,!0);c=c.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var f=HRt(e,n,c,r,l,!1,!1);c=c.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return c},ZRt={},KRt=Math.pow(2,24);var JRt=function(){for(var e;void 0===e||ZRt.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*KRt).toString(32);return ZRt[e]=!0,e},ejt=DRt,tjt=JRt,njt=B$t.exports.OrderedMap,ijt=function(e){return e.first()instanceof ejt?function(e){var t,n={};return njt(e.withMutations((function(e){e.forEach((function(i,r){var o=i.getKey(),a=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),c=i.getParentKey(),u=tjt();if(n[o]=u,a&&(e.get(a)?e.setIn([a,"prevSibling"],u):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],u):e.setIn([o,"prevSibling"],null)),c&&e.get(c)){var d=e.get(c).getChildKeys();e.setIn([c,"children"],d.set(d.indexOf(i.getKey()),u))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],u),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],u):e.setIn([o,"children"],i.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return njt(e.toArray().map((function(e){var t=tjt();return[t,e.set("key",t)]})))}(e)},rjt=tRt,ojt=nRt,ajt=URt;function sjt(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,o=n<i.count()?i.get(n):void 0,a=r?r.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,c=function(e,t,n){var i;return ojt(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(i={start:e,end:t})})),"object"!=typeof i&&("production"!==Jh.env.NODE_ENV?ajt(!1,"Removal range must exist within character list."):ajt(!1)),i}(i,s,n),u=c.start,d=c.end;u<d;)l=i.get(u),i=i.set(u,rjt.applyEntity(l,null)),u++;return t.set("characterList",i)}return t}var ljt=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=sjt(i,s,a);l!==s&&(r[o]=l);var c=t.getEndKey(),u=t.getEndOffset(),d=n.get(c);o===c&&(d=l);var p=sjt(i,d,u);return p!==d&&(r[c]=p),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},cjt=ijt,ujt=ljt,djt=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=ujt(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),c=s.indexOf(r)+1;return cjt(a.slice(l,c).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:a.slice(i,o),characterList:s.slice(i,o)}):t===n?e.merge({text:a.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var pjt=function(e,t,n){var i=e;if(n===i.count())t.forEach((function(e){i=i.push(e)}));else if(0===n)t.reverse().forEach((function(e){i=i.unshift(e)}));else{var r=i.slice(0,n),o=i.slice(n);i=r.concat(t,o).toList()}return i},fjt=W$t,hjt=DRt,mjt=pjt,gjt=URt,vjt=ijt,bjt=B$t.exports.List,yjt=function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),c=s.getCharacterList(),u=r,d=o+i.getText().length,p=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":p=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":p=i.getData()}var f=s.getType();l&&"unstyled"===f&&(f=i.getType());var h=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:mjt(c,i.getCharacterList(),o),type:f,data:p});return e.merge({blockMap:n.set(r,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:d,focusKey:u,focusOffset:d,isBackward:!1})})},Ojt=function(e,t,n,i,r,o){var a=n.first()instanceof hjt,s=[],l=i.size,c=n.get(r),u=i.first(),d=i.last(),p=d.getLength(),f=d.getKey(),h=a&&(!c.getChildKeys().isEmpty()||!u.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(h?s.push(e):s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),o=i.slice(0,t),a=r.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,i)),i.slice(h?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),o=i.length,a=i.slice(t,o),s=r.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,i))):s.push(e)}));var m=fjt.createFromArray(s);return a&&(m=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),o=i.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),i=e,r=[];for(t.get(n)&&r.push(n);i&&i.getNextSiblingKey();){var o=i.getNextSiblingKey();if(!o)break;r.push(o),i=t.get(o)}return r}(i,e),c=l[l.length-1];if(t.get(o)?(t.setIn([r,"nextSibling"],o),t.setIn([o,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var u=e.get(s).getChildKeys(),d=u.indexOf(r)+1,p=u.toArray();p.splice.apply(p,[d,0].concat(l)),t.setIn([s,"children"],bjt(p))}}))}(m,0,c,u)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})},wjt=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Jh.env.NODE_ENV?gjt(!1,"`insertFragment` should only be called with a collapsed selection state."):gjt(!1));var r=e.getBlockMap(),o=vjt(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof hjt&&(l.getChildKeys().isEmpty()||("production"!==Jh.env.NODE_ENV?gjt(!1,"`insertFragment` should not be called when a container node is selected."):gjt(!1))),1===o.size?yjt(e,t,r,o.first(),a,s,i):Ojt(e,t,r,o,a,s)},_jt=pjt,xjt=URt,kjt=B$t.exports.Repeat;var Sjt=function(e,t,n,i){t.isCollapsed()||("production"!==Jh.env.NODE_ENV?xjt(!1,"`insertText` should only be called with a collapsed range."):xjt(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),c=l.getText(),u=l.merge({text:c.slice(0,s)+n+c.slice(s,l.getLength()),characterList:_jt(l.getCharacterList(),kjt(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:o.set(a,u),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},Ejt=B$t.exports.Map;var Cjt=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(Ejt([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},Pjt=DRt,Fjt=function(e,t){if(!(e instanceof Pjt))return null;var n=e.getNextSiblingKey();if(n)return n;var i=e.getParentKey();if(!i)return null;for(var r=t.get(i);r&&!r.getNextSiblingKey();){var o=r.getParentKey();r=o?t.get(o):null}return r?r.getNextSiblingKey():null},Tjt=DRt,Djt=Fjt,Ajt=B$t.exports;Ajt.List;var Ijt=Ajt.Map,$jt=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},Rjt=function(e,t){var n=[];if(!e)return n;for(var i=t.get(e);i&&i.getParentKey();){var r=i.getParentKey();r&&n.push(r),i=r?t.get(r):null}return n},jjt=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getNextSiblingKey();i&&!t.get(i);)i=n.get(i).getNextSiblingKey()||null;return i},zjt=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getPrevSiblingKey();i&&!t.get(i);)i=n.get(i).getPrevSiblingKey()||null;return i},Mjt=function(e,t,n,i){return e.withMutations((function(r){if($jt(t.getKey(),r,(function(e){return e.merge({nextSibling:jjt(e,r,i),prevSibling:zjt(e,r,i)})})),$jt(n.getKey(),r,(function(e){return e.merge({nextSibling:jjt(e,r,i),prevSibling:zjt(e,r,i)})})),Rjt(t.getKey(),i).forEach((function(e){return $jt(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:jjt(e,r,i),prevSibling:zjt(e,r,i)})}))})),$jt(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),$jt(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:jjt(e,r,i)})})),$jt(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:zjt(e,r,i)})})),$jt(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),Rjt(n.getKey(),i).forEach((function(e){$jt(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:jjt(e,r,i),prevSibling:zjt(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=Djt(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?Djt(r,t):null}return n}(n,i).forEach((function(e){return $jt(e,r,(function(e){return e.merge({nextSibling:jjt(e,r,i),prevSibling:zjt(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();$jt(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),$jt(o,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=o?e.get(o):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){$jt(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);$jt(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}$jt(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},Ljt=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var i=e.slice(0,t),r=e.slice(n);e=i.concat(r).toList()}return e},Njt=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),c=i.get(a),u=l instanceof Tjt,d=[];if(u){var p=c.getChildKeys(),f=Rjt(a,i);c.getNextSiblingKey()&&(d=d.concat(f)),p.isEmpty()||(d=d.concat(f.concat([a]))),d=d.concat(Rjt(Djt(c,i),i))}n=l===c?Ljt(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(c.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,o)+c.getText().slice(s),characterList:n}),m=u&&0===o&&0===s&&c.getParentKey()===r&&null==c.getPrevSiblingKey()?Ijt([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(Ijt([[a,null]])).map((function(e,t){return t===r?h:null})),g=i.merge(m).filter((function(e){return!!e}));return u&&l!==c&&(g=Mjt(g,l,c,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},Qjt=DRt,Bjt=JRt,Ujt=B$t.exports,qjt=URt,Wjt=Cjt,Gjt=Ujt.List,Vjt=Ujt.Map,Xjt=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},Hjt=function(e,t){t.isCollapsed()||("production"!==Jh.env.NODE_ENV?qjt(!1,"Selection range must be collapsed."):qjt(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),o=r.getText();if(!o){var a=r.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return Wjt(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),c=Bjt(),u=r instanceof Qjt,d=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:c,text:o.slice(s),characterList:l.slice(s),data:Vjt()}),f=i.toSeq().takeUntil((function(e){return e===r})),h=i.toSeq().skipUntil((function(e){return e===r})).rest(),m=f.concat([[n,d],[c,p]],h).toOrderedMap();return u&&(r.getChildKeys().isEmpty()||("production"!==Jh.env.NODE_ENV?qjt(!1,"ContentBlockNode must not have children"):qjt(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();Xjt(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,o=t.toArray();return o.splice(n,0,r),e.merge({children:Gjt(o)})})),Xjt(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),Xjt(i,e,(function(e){return e.merge({nextSibling:r})})),Xjt(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(m,d,p)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})},Yjt=tRt,Zjt=RRt,Kjt=NRt,Jjt=YRt,ezt=djt,tzt=wjt,nzt=Sjt,izt=URt,rzt=Cjt,ozt=ljt,azt=Njt,szt=Hjt,lzt=B$t.exports.OrderedSet,czt={replaceText:function(e,t,n,i,r){var o=ozt(e,t),a=azt(o,t),s=Yjt.create({style:i||lzt(),entity:r||null});return nzt(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==Jh.env.NODE_ENV?izt(!1,"Target range must be collapsed for `insertText`."):izt(!1)),czt.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=ezt(e,t),r=czt.removeRange(e,t,"backward");return czt.replaceWithFragment(r,n,i)},replaceWithFragment:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",r=ozt(e,t),o=azt(r,t);return tzt(o,o.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),i=t.getAnchorKey(),r=t.getFocusKey(),o=e.getBlockForKey(i),a=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),c=o.getEntityAt(s),u=a.getEntityAt(l-1);if(i===r&&c&&c===u){var d=Jjt(e.getEntityMap(),o,a,t,n);return azt(e,d)}var p=ozt(e,t);return azt(p,t)},splitBlock:function(e,t){var n=ozt(e,t),i=azt(n,t);return szt(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return Zjt.add(e,t,n)},removeInlineStyle:function(e,t,n){return Zjt.remove(e,t,n)},setBlockType:function(e,t,n){return rzt(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return rzt(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return rzt(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=ozt(e,t);return Kjt(i,t,n)}},uzt=czt;var dzt=function(e){return Object.keys(e).map((function(t){return e[t]}))};function pzt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fzt=nRt,hzt=dzt,mzt=B$t.exports,gzt=mzt.List,vzt=mzt.Repeat,bzt=mzt.Record,yzt=function(){return!0},Ozt=bzt({start:null,end:null}),wzt=bzt({start:null,end:null,decoratorKey:null,leaves:null}),_zt={generate:function(e,t,n){var i=t.getLength();if(!i)return gzt.of(new wzt({start:0,end:0,decoratorKey:null,leaves:gzt.of(new Ozt({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):gzt(vzt(null,i)),a=t.getCharacterList();return fzt(o,kzt,yzt,(function(e,t){r.push(new wzt({start:e,end:t,decoratorKey:o.get(e),leaves:xzt(a.slice(e,t).toList(),e)}))})),gzt(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new wzt(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){pzt(e,t,n[t])}))}return e}({},n,{leaves:null!=t?gzt(Array.isArray(t)?t:hzt(t)).map((function(e){return Ozt(e)})):null}))}};function xzt(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return fzt(i,kzt,yzt,(function(e,i){n.push(new Ozt({start:e+t,end:i+t}))})),gzt(n)}function kzt(e,t){return e===t}var Szt=_zt;var Ezt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},i}((0,B$t.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),Czt=Ezt;var Pzt=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))};function Fzt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tzt=Czt,Dzt=URt,Azt=Pzt,Izt=(0,B$t.exports.Map)(),$zt=Azt();function Rzt(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var jzt={getLastCreatedEntityKey:function(){return Rzt("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),jzt.__getLastCreatedEntityKey()},create:function(e,t,n){return Rzt("DraftEntity.create","contentState.createEntity"),jzt.__create(e,t,n)},add:function(e){return Rzt("DraftEntity.add","contentState.addEntity"),jzt.__add(e)},get:function(e){return Rzt("DraftEntity.get","contentState.getEntity"),jzt.__get(e)},__getAll:function(){return Izt},__loadWithEntities:function(e){Izt=e,$zt=Azt()},mergeData:function(e,t){return Rzt("DraftEntity.mergeData","contentState.mergeEntityData"),jzt.__mergeData(e,t)},replaceData:function(e,t){return Rzt("DraftEntity.replaceData","contentState.replaceEntityData"),jzt.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return $zt},__create:function(e,t,n){return jzt.__add(new Tzt({type:e,mutability:t,data:n||{}}))},__add:function(e){return $zt=Azt(),Izt=Izt.set($zt,e),$zt},__get:function(e){var t=Izt.get(e);return t||("production"!==Jh.env.NODE_ENV?Dzt(!1,"Unknown DraftEntity key: %s.",e):Dzt(!1)),t},__mergeData:function(e,t){var n=jzt.__get(e),i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Fzt(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return Izt=Izt.set(e,r),r},__replaceData:function(e,t){var n=jzt.__get(e).set("data",t);return Izt=Izt.set(e,n),n}},zzt=jzt;var Mzt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,n){var i=this.getAnchorKey(),r=this.getFocusKey();if(i===r&&i===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==i&&e!==r)return!1;var s=e===i?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},i.createEmpty=function(e){return new i({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},i}((0,B$t.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),Lzt=Mzt,Nzt=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},Qzt=new RegExp("\r","g");var Bzt=function(e){return e.replace(Qzt,"")};function Uzt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){qzt(e,t,n[t])}))}return e}function qzt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wzt=W$t,Gzt=tRt,Vzt=gRt,Xzt=DRt,Hzt=zzt,Yzt=Lzt,Zzt=JRt,Kzt=dzt,Jzt=Nzt,eMt=B$t.exports,tMt=Bzt,nMt=eMt.List,iMt=eMt.Record,rMt=eMt.Repeat,oMt=eMt.Map,aMt=eMt.OrderedMap,sMt=iMt({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),lMt=Jzt("draft_tree_data_support")?Xzt:Vzt,cMt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getEntityMap=function(){return Hzt},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(e){return this.getBlockMap().get(e)},r.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},r.getLastCreatedEntityKey=function(){return Hzt.__getLastCreatedEntityKey()},r.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(e,t,n){return Hzt.__create(e,t,n),this},r.mergeEntityData=function(e,t){return Hzt.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return Hzt.__replaceData(e,t),this},r.addEntity=function(e){return Hzt.__add(e),this},r.getEntity=function(e){return Hzt.__get(e)},r.getAllEntities=function(){return Hzt.__getAll()},r.loadWithEntities=function(e){return Hzt.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=Wzt.createFromArray(n),o=r.isEmpty()?new Yzt:Yzt.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||Hzt,selectionBefore:o,selectionAfter:o})},i.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=tMt(e),new lMt({key:Zzt(),text:e,type:"unstyled",characterList:nMt(rMt(Gzt.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(Uzt({},e,{blockMap:aMt(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new Yzt(e.selectionBefore),selectionAfter:new Yzt(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new lMt(Uzt({},e,{data:oMt(e.data),characterList:null!=t?nMt((Array.isArray(t)?t:Kzt(t)).map((function(e){return Gzt.fromJS(e)}))):void 0}))},i}(sMt),uMt=cMt,dMt=URt,pMt="LTR",fMt=null;function hMt(e){return e===pMt||"RTL"===e}function mMt(e){return hMt(e)||("production"!==Jh.env.NODE_ENV?dMt(!1,"`dir` must be a strong direction to be converted to HTML Direction"):dMt(!1)),e===pMt?"ltr":"rtl"}function gMt(e){fMt=e}var vMt={NEUTRAL:"NEUTRAL",LTR:pMt,RTL:"RTL",isStrong:hMt,getHTMLDir:mMt,getHTMLDirIfDifferent:function(e,t){return hMt(e)||("production"!==Jh.env.NODE_ENV?dMt(!1,"`dir` must be a strong direction to be converted to HTML Direction"):dMt(!1)),hMt(t)||("production"!==Jh.env.NODE_ENV?dMt(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):dMt(!1)),e===t?null:mMt(e)},setGlobalDir:gMt,initGlobalDir:function(){gMt(pMt)},getGlobalDir:function(){return fMt||this.initGlobalDir(),fMt||("production"!==Jh.env.NODE_ENV?dMt(!1,"Global direction not set."):dMt(!1)),fMt}},bMt=vMt,yMt=URt,OMt="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",wMt="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",_Mt=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+OMt+wMt+"]"),xMt=new RegExp("["+OMt+wMt+"]");function kMt(e){var t=_Mt.exec(e);return null==t?null:t[0]}function SMt(e){var t=kMt(e);return null==t?bMt.NEUTRAL:xMt.exec(t)?bMt.RTL:bMt.LTR}function EMt(e,t){if(t=t||bMt.NEUTRAL,!e.length)return t;var n=SMt(e);return n===bMt.NEUTRAL?t:n}function CMt(e,t){return t||(t=bMt.getGlobalDir()),bMt.isStrong(t)||("production"!==Jh.env.NODE_ENV?yMt(!1,"Fallback direction must be a strong direction"):yMt(!1)),EMt(e,t)}var PMt={firstStrongChar:kMt,firstStrongCharDir:SMt,resolveBlockDir:EMt,getDirection:CMt,isDirectionLTR:function(e,t){return CMt(e,t)===bMt.LTR},isDirectionRTL:function(e,t){return CMt(e,t)===bMt.RTL}},FMt=PMt;function TMt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DMt,AMt=FMt,IMt=vMt,$Mt=URt,RMt=function(){function e(e){TMt(this,"_defaultDir",void 0),TMt(this,"_lastDir",void 0),e?IMt.isStrong(e)||("production"!==Jh.env.NODE_ENV?$Mt(!1,"Default direction must be a strong direction (LTR or RTL)"):$Mt(!1)):e=IMt.getGlobalDir(),this._defaultDir=e,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(e){return this._lastDir=AMt.getDirection(e,this._lastDir),this._lastDir},e}(),jMt=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},zMt=RMt,MMt=B$t.exports,LMt=jMt,NMt=MMt.OrderedMap,QMt={getDirectionMap:function(e,t){DMt?DMt.reset():DMt=new zMt;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return LMt(DMt).getDirection(e.getText())})),r=NMt(n.keySeq().zip(i));return null!=t&&MMt.is(t,r)?t:r}};function BMt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){UMt(e,t,n[t])}))}return e}function UMt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qMt=Szt,WMt=uMt,GMt=QMt,VMt=Lzt,XMt=B$t.exports,HMt=XMt.OrderedSet,YMt=XMt.Record,ZMt=XMt.Stack,KMt=XMt.OrderedMap,JMt=XMt.List,eLt=YMt({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:ZMt(),selection:null,treeMap:null,undoStack:ZMt()}),tLt=function(){t.createEmpty=function(e){return t.createWithContent(WMt.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var i=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:ZMt(),redoStack:ZMt(),decorator:n||null,selection:VMt.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=BMt({},e,{treeMap:iLt(n,e.decorator),directionMap:GMt.getDirectionMap(n)});return new t(new eLt(i))},t.fromJS=function(e){return new t(new eLt(BMt({},e,{directionMap:null!=e.directionMap?KMt(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?HMt(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?WMt.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?ZMt(e.redoStack.map((function(e){return WMt.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new VMt(e.selection):e.selection,treeMap:null!=e.treeMap?KMt(e.treeMap).map((function(e){return JMt(e).map((function(e){return qMt.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?ZMt(e.undoStack.map((function(e){return WMt.fromJS(e)}))):e.undoStack,currentContent:WMt.fromJS(e.currentContent)})))},t.set=function(e,n){var i=e.getImmutable().withMutations((function(t){var i=t.get("decorator"),r=i;null===n.decorator?r=null:n.decorator&&(r=n.decorator);var o=n.currentContent||e.getCurrentContent();if(r!==i){var a,s=t.get("treeMap");return a=r&&i?function(e,t,n,i,r){return n.merge(t.toSeq().filter((function(t){return i.getDecorations(t,e)!==r.getDecorations(t,e)})).map((function(t){return qMt.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):iLt(o,r),void t.merge({decorator:r,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),o=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return qMt.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){UMt(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i>0)return r.getInlineStyleAt(i-1);if(r.getLength())return r.getInlineStyleAt(0);return oLt(e,n)}(t,n):function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i<r.getLength())return r.getInlineStyleAt(i);if(i>0)return r.getInlineStyleAt(i-1);return oLt(e,n)}(t,n)},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(e,t){return nLt(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),nLt(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new VMt({anchorKey:i,anchorOffset:r,focusKey:i,focusOffset:r,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=GMt.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),c=n;a!==s.getSelectionAfter()||rLt(e,i)?(l=l.push(s),c=c.set("selectionBefore",a)):"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i||(c=c.set("selectionBefore",s.getSelectionBefore()));var u=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(i)&&(u=null);var p={currentContent:c,directionMap:o,undoStack:l,redoStack:ZMt(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:u};return t.set(e,p)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=GMt.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=GMt.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:e.getUndoStack().push(r),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:i.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function nLt(e,t,n){return tLt.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function iLt(e,t){return e.getBlockMap().map((function(n){return qMt.generate(e,n,t)})).toOrderedMap()}function rLt(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function oLt(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):HMt()}var aLt=tLt,sLt=DRt,lLt=Fjt,cLt=B$t.exports,uLt=URt,dLt=cLt.OrderedMap,pLt=cLt.List,fLt=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},hLt=function(e,t,n,i,r){if(!r)return e;var o="after"===i,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),c=t.getNextSiblingKey(),u=t.getPrevSiblingKey(),d=n.getParentKey(),p=o?n.getNextSiblingKey():s,f=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){fLt(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),fLt(u,e,(function(e){return e.merge({nextSibling:c})})),fLt(c,e,(function(e){return e.merge({prevSibling:u})})),fLt(p,e,(function(e){return e.merge({prevSibling:a})})),fLt(f,e,(function(e){return e.merge({nextSibling:a})})),fLt(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=o?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,a),e.merge({children:pLt(r)})})),fLt(a,e,(function(e){return e.merge({nextSibling:p,prevSibling:f,parent:d})}))}))},mLt=function(e,t,n,i){"replace"===i&&("production"!==Jh.env.NODE_ENV?uLt(!1,"Replacing blocks is not supported."):uLt(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==Jh.env.NODE_ENV?uLt(!1,"Block cannot be moved next to itself."):uLt(!1));var a=e.getBlockMap(),s=t instanceof sLt,l=[t],c=a.delete(o);s&&(l=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=lLt(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),r=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||a||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var u=c.toSeq().takeUntil((function(e){return e===n})),d=c.toSeq().skipUntil((function(e){return e===n})).skip(1),p=l.map((function(e){return[e.getKey(),e]})),f=dLt();if("before"===i){var h=e.getBlockBefore(r);h&&h.getKey()===t.getKey()&&("production"!==Jh.env.NODE_ENV?uLt(!1,"Block cannot be moved next to itself."):uLt(!1)),f=u.concat([].concat(p,[[r,n]]),d).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===o&&("production"!==Jh.env.NODE_ENV?uLt(!1,"Block cannot be moved next to itself."):uLt(!1)),f=u.concat([[r,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:hLt(f,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function gLt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){vLt(e,t,n[t])}))}return e}function vLt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bLt=W$t,yLt=tRt,OLt=gRt,wLt=DRt,_Lt=uzt,xLt=aLt,kLt=JRt,SLt=B$t.exports,ELt=mLt,CLt=Nzt("draft_tree_data_support"),PLt=CLt?wLt:OLt,FLt=SLt.List,TLt=SLt.Repeat,DLt={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=_Lt.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=_Lt.splitBlock(o,a),l=s.getSelectionAfter(),c=_Lt.setBlockType(s,l,"atomic"),u=yLt.create({entity:t}),d={key:kLt(),type:"atomic",text:n,characterList:FLt(TLt(u,n.length))},p={key:kLt(),type:"unstyled"};CLt&&(d=gLt({},d,{nextSibling:p.key}),p=gLt({},p,{prevSibling:d.key}));var f=[new PLt(d),new PLt(p)],h=bLt.createFromArray(f),m=_Lt.replaceWithFragment(c,l,h),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return xLt.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,o=e.getCurrentContent(),a=e.getSelection();if("before"===i||"after"===i){var s=o.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=ELt(o,t,s,i)}else{var l=_Lt.removeRange(o,n,"backward"),c=l.getSelectionAfter(),u=l.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())r=ELt(l,t,u,"before");else if(c.getEndOffset()===u.getLength())r=ELt(l,t,u,"after");else{var d=_Lt.splitBlock(l,c),p=d.getSelectionAfter(),f=d.getBlockForKey(p.getFocusKey());r=ELt(d,t,f,"before")}}var h=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return xLt.push(e,h,"move-block")}},ALt=DLt;var ILt=B$t.exports.List,$Lt=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(i,r){var o=0;(0,i.strategy)(e,(function(e,t){(function(e,t,n){for(var i=t;i<n;i++)if(null!=e[i])return!1;return!0})(n,e,t)&&(!function(e,t,n,i){for(var r=t;r<n;r++)e[r]=i}(n,e,t,r+"."+o),o++)}),t)})),ILt(n)},t.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},t.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},e}();var RLt=$Lt;function jLt(e){return e.replace(/\//g,"-")}var zLt=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(jLt).join(" "):Array.prototype.map.call(arguments,jLt).join(" ")},MLt=g.default,LLt=zLt,NLt=(0,B$t.exports.Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:MLt.createElement("ul",{className:LLt("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:MLt.createElement("ol",{className:LLt("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:MLt.createElement("pre",{className:LLt("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),QLt={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},BLt={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",c="name",u="type",d="vendor",p="version",f="architecture",h="console",m="mobile",g="tablet",v="smarttv",b="wearable",y="embedded",O="Amazon",w="Apple",_="ASUS",x="BlackBerry",k="Firefox",S="Google",E="Huawei",C="LG",P="Microsoft",F="Motorola",T="Opera",D="Samsung",A="Sony",I="Xiaomi",$="Zebra",R="Facebook",j=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},z=function(e,t){return typeof e===s&&-1!==M(t).indexOf(M(e))},M=function(e){return e.toLowerCase()},L=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},N=function(e,t){for(var n,o,s,l,c,u,d=0;d<t.length&&!c;){var p=t[d],f=t[d+1];for(n=o=0;n<p.length&&!c;)if(c=p[n++].exec(e))for(s=0;s<f.length;s++)u=c[++o],typeof(l=f[s])===a&&l.length>0?2===l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,u):this[l[0]]=l[1]:3===l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=u?u.replace(l[1],l[2]):i:this[l[0]]=u?l[1].call(this,u,l[2]):i:4===l.length&&(this[l[0]]=u?l[3].call(this,u.replace(l[1],l[2])):i):this[l]=u||i;d+=2}},Q=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(z(t[n][r],e))return"?"===n?i:n}else if(z(t[n],e))return"?"===n?i:n;return e},B={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},U={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,p],[/opios[\/ ]+([\w\.]+)/i],[p,[c,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[c,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[c,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[c,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[c,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[c,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[c,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[c,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,R],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[c,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[c,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[p,Q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[c,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[c,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[c,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,M]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows (ce|mobile); ppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[f,/ower/,"",M]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,M]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,D],[u,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,D],[u,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[u,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[u,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,E],[u,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,E],[u,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,I],[u,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,I],[u,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[u,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[u,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[u,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,F],[u,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,F],[u,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,C],[u,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,C],[u,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[u,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[u,m]],[/(pixel c)\b/i],[l,[d,S],[u,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,S],[u,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,A],[u,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,A],[u,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[u,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,O],[u,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,O],[u,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[u,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,x],[u,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,_],[u,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,_],[u,m]],[/(nexus 9)/i],[l,[d,"HTC"],[u,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[u,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[u,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[u,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[u,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[u,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[u,g]],[/(surface duo)/i],[l,[d,P],[u,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[u,m]],[/(u304aa)/i],[l,[d,"AT&T"],[u,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[u,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[u,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[u,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[u,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[u,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[u,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[u,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[u,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[u,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[u,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[u,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[u,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[u,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[u,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[u,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[u,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[u,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[u,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[u,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[u,g]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[u,g]],[/(sprint) (\w+)/i],[d,l,[u,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,P],[u,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,$],[u,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,$],[u,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[u,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[u,h]],[/(playstation [345portablevi]+)/i],[l,[d,A],[u,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,P],[u,h]],[/smart-tv.+(samsung)/i],[d,[u,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,D],[u,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,C],[u,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[u,v]],[/crkey/i],[[l,"Chromecast"],[d,S],[u,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,O],[u,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[u,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,L],[l,L],[u,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,v]],[/((pebble))app/i],[d,l,[u,b]],[/droid.+; (glass) \d/i],[l,[d,S],[u,b]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,$],[u,b]],[/(quest( 2)?)/i],[l,[d,R],[u,b]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[u,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[u,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[u,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[c,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[p,Q,B]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[p,Q,B]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,p],[/\(bb(10);/i],[p,[c,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[c,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[c,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],p],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,p],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,p]]},q=function(e,t){if(typeof e===a&&(t=e,e=i),!(this instanceof q))return new q(e,t).getResult();var r=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(U,t):U;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,N.call(e,r,l.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:i}(e.version),e},this.getCPU=function(){var e={};return e.architecture=i,N.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,N.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,N.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,N.call(e,r,l.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===s&&e.length>255?L(e,255):e,this},this.setUA(r),this};q.VERSION="0.7.31",q.BROWSER=j([c,p,"major"]),q.CPU=j([f]),q.DEVICE=j([l,d,u,h,m,v,g,b,y]),q.ENGINE=q.OS=j([c,p]),e.exports&&(t=e.exports=q),t.UAParser=q;var W=typeof n!==o&&(n.jQuery||n.Zepto);if(W&&!W.ua){var G=new q;W.ua=G.getResult(),W.ua.get=function(){return G.getUA()},W.ua.set=function(e){G.setUA(e);var t=G.getResult();for(var n in t)W.ua[n]=t[n]}}}("object"==typeof window?window:k)}(BLt,BLt.exports);var ULt="Unknown",qLt={"Mac OS":"Mac OS X"};var WLt=(new(0,BLt.exports)).getResult(),GLt=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(WLt.browser.version),VLt={browserArchitecture:WLt.cpu.architecture||ULt,browserFullVersion:WLt.browser.version||ULt,browserMinorVersion:GLt.minor||ULt,browserName:WLt.browser.name||ULt,browserVersion:WLt.browser.major||ULt,deviceName:WLt.device.model||ULt,engineName:WLt.engine.name||ULt,engineVersion:WLt.engine.version||ULt,platformArchitecture:WLt.cpu.architecture||ULt,platformName:function(e){return qLt[e]||e}(WLt.os.name)||ULt,platformVersion:WLt.os.version||ULt,platformFullVersion:WLt.os.version||ULt},XLt=VLt,HLt=URt,YLt=/\./,ZLt=/\|\|/,KLt=/\s+\-\s+/,JLt=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,eNt=/^(\d*)(.*)/;function tNt(e,t){var n=e.split(ZLt);return n.length>1?n.some((function(e){return pNt.contains(e,t)})):function(e,t){var n=e.split(KLt);if(n.length>0&&n.length<=2||("production"!==Jh.env.NODE_ENV?HLt(!1,'the "-" operator expects exactly 2 operands'):HLt(!1)),1===n.length)return nNt(n[0],t);var i=n[0],r=n[1];return sNt(i)&&sNt(r)||("production"!==Jh.env.NODE_ENV?HLt(!1,'operands to the "-" operator must be simple (no modifiers)'):HLt(!1)),nNt(">="+i,t)&&nNt("<="+r,t)}(e=n[0].trim(),t)}function nNt(e,t){if(""===(e=e.trim()))return!0;var n=t.split(YLt),i=oNt(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return iNt(n,o);case"<=":return function(e,t){var n=dNt(e,t);return-1===n||0===n}(n,o);case">=":return rNt(n,o);case">":return function(e,t){return 1===dNt(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,o=parseInt(i[r],10);aNt(o)&&(i[r]=o+1+"");return rNt(e,n)&&iNt(e,i)}(n,o);default:return function(e,t){return 0===dNt(e,t)}(n,o)}}function iNt(e,t){return-1===dNt(e,t)}function rNt(e,t){var n=dNt(e,t);return 1===n||0===n}function oNt(e){var t=e.split(YLt),n=t[0].match(JLt);return n||("production"!==Jh.env.NODE_ENV?HLt(!1,"expected regex to match but it did not"):HLt(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function aNt(e){return!isNaN(e)&&isFinite(e)}function sNt(e){return!oNt(e).modifier}function lNt(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function cNt(e,t){var n=e.match(eNt)[1],i=t.match(eNt)[1],r=parseInt(n,10),o=parseInt(i,10);return aNt(r)&&aNt(o)&&r!==o?uNt(r,o):uNt(e,t)}function uNt(e,t){return typeof e!=typeof t&&("production"!==Jh.env.NODE_ENV?HLt(!1,'"a" and "b" must be of the same type'):HLt(!1)),e>t?1:e<t?-1:0}function dNt(e,t){for(var n=function(e,t){lNt(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var i=t[n].match(/^[x*]$/i);if(i&&(t[n]=e[n]="0","*"===i[0]&&n===t.length-1))for(var r=n;r<e.length;r++)e[r]="0"}return lNt(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=cNt(i[o],r[o]);if(a)return a}return 0}var pNt={contains:function(e,t){return tNt(e.trim(),t.trim())}},fNt=pNt,hNt=Object.prototype.hasOwnProperty;var mNt=function(e,t,n){if(!e)return null;var i={};for(var r in e)hNt.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var gNt=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},vNt=XLt,bNt=fNt;function yNt(e,t,n,i){if(e===n)return!0;if(!n.startsWith(e))return!1;var r=n.slice(e.length);return!!t&&(r=i?i(r):r,bNt.contains(r,t))}function ONt(e){return"Windows"===vNt.platformName?e.replace(/^\s*NT/,""):e}var wNt=mNt({isBrowser:function(e){return yNt(vNt.browserName,vNt.browserFullVersion,e)},isBrowserArchitecture:function(e){return yNt(vNt.browserArchitecture,null,e)},isDevice:function(e){return yNt(vNt.deviceName,null,e)},isEngine:function(e){return yNt(vNt.engineName,vNt.engineVersion,e)},isPlatform:function(e){return yNt(vNt.platformName,vNt.platformFullVersion,e,ONt)},isPlatformArchitecture:function(e){return yNt(vNt.platformArchitecture,null,e)}},gNt);var _Nt=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var xNt=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},kNt=xNt;var SNt=function e(t){if(kNt(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var o=e(n.childNodes[r]);if(o)return o}}return null},ENt=_Nt,CNt=SNt;var PNt=function(e){for(var t=e;t&&t!==ENt(e).documentElement;){var n=CNt(t);if(null!=n)return n;t=t.parentNode}return null};var FNt=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function TNt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DNt=wNt,ANt=PNt,INt=FNt,$Nt=URt,RNt=jMt,jNt=B$t.exports.Map,zNt={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},MNt=DNt.isBrowser("IE <= 11"),LNt=function(){function e(e){var t=this;TNt(this,"observer",void 0),TNt(this,"container",void 0),TNt(this,"mutations",void 0),TNt(this,"onCharData",void 0),this.container=e,this.mutations=jNt();var n=INt(e);n.MutationObserver&&!MNt?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Jh.env.NODE_ENV?$Nt(!1,"Expected target to be an instance of Node"):$Nt(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,zNt):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},t.stopAndFlushMutations=function(){var e=this.observer;e?(this.registerMutations(e.takeRecords()),e.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var t=this.mutations;return this.mutations=jNt(),t},t.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},t.getMutationTextContent=function(e){var t=e.type,n=e.target,i=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return MNt?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(i&&i.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=RNt(ANt(e.target));this.mutations=this.mutations.set(n,t)}},e}(),NNt="-",QNt={encode:function(e,t,n){return e+NNt+t+NNt+n},decode:function(e){var t=e.split(NNt).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(NNt),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},BNt={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105},UNt={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var qNt=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},WNt=URt,GNt=qNt;var VNt=function(e){var t=e.editorContainer;return t||("production"!==Jh.env.NODE_ENV?WNt(!1,"Missing editorNode"):WNt(!1)),GNt(t.firstChild)||("production"!==Jh.env.NODE_ENV?WNt(!1,"editorNode.firstChild is not an HTMLElement"):WNt(!1)),t.firstChild},XNt=QNt,HNt=jMt;var YNt=function(e,t,n,i,r){var o=HNt(e.getSelection());if(!t||!i)return"production"!==Jh.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=XNt.decode(t),s=a.blockKey,l=e.getBlockTree(s),c=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),u=XNt.decode(i),d=u.blockKey,p=e.getBlockTree(d),f=p&&p.getIn([u.decoratorKey,"leaves",u.leafKey]);if(!c||!f)return"production"!==Jh.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=c.get("start"),m=f.get("start"),g=c?h+n:null,v=f?m+r:null,b=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(b)return o;var y=!1;if(s===d){var O=c.get("end"),w=f.get("end");y=m===h&&w===O?r<n:m<h}else{var _=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();y=_===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:y})},ZNt=PNt,KNt=SNt,JNt=YNt,eQt=URt,tQt=xNt,nQt=jMt;function iQt(e,t,n){var i=t,r=ZNt(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==Jh.env.NODE_ENV?eQt(!1,"Unknown node in selection range."):eQt(!1)),e===i)&&(i=i.firstChild,tQt(i)||("production"!==Jh.env.NODE_ENV?eQt(!1,"Invalid DraftEditorContents node."):eQt(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==Jh.env.NODE_ENV?eQt(!1,"Invalid DraftEditorContents structure."):eQt(!1)),n>0&&(n=i.childNodes.length));if(0===n){var o=null;if(null!=r)o=r;else{var a=function(e){for(;e.firstChild&&(tQt(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||KNt(e.firstChild));)e=e.firstChild;return e}(i);o=nQt(KNt(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,c=null;if(KNt(s)){var u=function(e){for(;e.lastChild&&(tQt(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||KNt(e.lastChild));)e=e.lastChild;return e}(s);l=nQt(KNt(u)),c=rQt(u)}else l=nQt(r),c=rQt(s);return{key:l,offset:c}}function rQt(e){var t=e.textContent;return"\n"===t?0:t.length}var oQt=function(e,t,n,i,r,o){var a=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:JNt(e,nQt(ZNt(n)),i,nQt(ZNt(r)),o),needsRecovery:!1};var l=null,c=null,u=!0;return a?(l={key:nQt(ZNt(n)),offset:i},c=iQt(t,r,o)):s?(c={key:nQt(ZNt(r)),offset:o},l=iQt(t,n,i)):(l=iQt(t,n,i),c=iQt(t,r,o),n===r&&i===o&&(u=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:JNt(e,l.key,l.offset,c.key,c.offset),needsRecovery:u}},aQt=oQt;var sQt=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==i||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:aQt(e,t,i,r,o,a)},lQt=UNt,cQt=aLt,uQt=VNt,dQt=sQt;var pQt=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();lQt.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=dQt(n,uQt(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?cQt.forceSelection(n,r):cQt.acceptSelection(n,r),e.update(n))}};var fQt={notEmptyKey:function(e){return null!=e&&""!=e}},hQt=fQt.notEmptyKey;function mQt(e,t){return hQt(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var gQt=function(e,t){var n;if(t.isCollapsed()){var i=t.getAnchorKey(),r=t.getAnchorOffset();return r>0?(n=e.getBlockForKey(i).getEntityAt(r-1))!==e.getBlockForKey(i).getEntityAt(r)?null:mQt(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),mQt(e.getEntityMap(),n)},vQt=LNt,bQt=uzt,yQt=QNt,OQt=aLt,wQt=BNt,_Qt=VNt,xQt=sQt,kQt=gQt,SQt=jMt,EQt=!1,CQt=!1,PQt=null;var FQt={onCompositionStart:function(e){CQt=!0,function(e){PQt||(PQt=new vQt(_Qt(e))).start()}(e)},onCompositionEnd:function(e){EQt=!1,CQt=!1,setTimeout((function(){EQt||FQt.resolveComposition(e)}),20)},onSelect:pQt,onKeyDown:function(e,t){if(!CQt)return FQt.resolveComposition(e),void e._onKeyDown(t);t.which!==wQt.RIGHT&&t.which!==wQt.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===wQt.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!CQt){var t=SQt(PQt).stopAndFlushMutations();PQt=null,EQt=!0;var n=OQt.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=yQt.decode(t),o=r.blockKey,a=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),c=l.start,u=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:c,focusOffset:u,isBackward:!1}),p=kQt(i,d),f=i.getBlockForKey(o).getInlineStyleAt(c);i=bQt.replaceText(i,d,e,f,p),n=OQt.set(n,{currentContent:i})}));var r=xQt(n,_Qt(e)).selectionState;e.restoreEditorDOM();var o=OQt.acceptSelection(n,r);e.update(OQt.push(o,i,"insert-characters"))}else e.update(n)}}},TQt=FQt,DQt=UJ;function AQt(){return AQt=DQt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},AQt.apply(this,arguments)}var IQt=QNt,$Qt=g.default,RQt=FMt,jQt=vMt,zQt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.children,i=e.contentState,r=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,c=t.getKey(),u=s.get("leaves"),d=r.getComponentForKey(o),p=r.getPropsForKey(o),f=IQt.encode(c,parseInt(o,10),0),h=l.slice(u.first().get("start"),u.last().get("end")),m=jQt.getHTMLDirIfDifferent(RQt.getDirection(h),a);return $Qt.createElement(d,AQt({},p,{contentState:i,decoratedText:h,dir:m,key:f,entityKey:t.getEntityAt(s.get("start")),offsetKey:f}),n)},i}($Qt.Component),MQt=zQt;function LQt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NQt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var QQt=g.default,BQt=URt,UQt=xNt,qQt=wNt.isBrowser("IE <= 11");var WQt=function(e){var t,n;function i(t){var n;return NQt(LQt(n=e.call(this,t)||this),"_forceFlag",void 0),NQt(LQt(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;UQt(t)||("production"!==Jh.env.NODE_ENV?BQt(!1,"node is not an Element"):BQt(!1));var i=t;return n?!function(e){return qQt?"\n"===e.textContent:"BR"===e.tagName}(i):i.textContent!==e.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},qQt?QQt.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):QQt.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return qQt?QQt.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):QQt.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):QQt.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(QQt.Component),GQt=WQt,VQt=xNt;var XQt=function(e){return!(!e||!e.ownerDocument)&&(VQt(e)&&"BR"===e.nodeName)};var HQt=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))},YQt=HQt;var ZQt=function(e){return YQt(e)&&3==e.nodeType},KQt=ZQt;var JQt=function e(t,n){return!(!t||!n)&&(t===n||!KQt(t)&&(KQt(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var eBt=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}},tBt=UNt,nBt=JQt,iBt=eBt,rBt=_Nt,oBt=URt,aBt=xNt,sBt=wNt.isBrowser("IE");function lBt(e,t){if(!e)return"[empty]";var n=cBt(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(aBt(n)||("production"!==Jh.env.NODE_ENV?oBt(!1,"Node must be an Element if it is not a text node."):oBt(!1)),n.outerHTML)}function cBt(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return rBt(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var r=e.cloneNode();1===r.nodeType&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)r.appendChild(cBt(o[a],t));return r}function uBt(e,t){for(var n=e,i=n;n;){if(aBt(n)&&i.hasAttribute("contenteditable"))return lBt(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function dBt(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function pBt(e,t,n,i){var r=iBt();if(e.extend&&null!=t&&nBt(r,t)){n>dBt(t)&&tBt.logSelectionStateFailure({anonymizedDom:uBt(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw tBt.logSelectionStateFailure({anonymizedDom:uBt(t,(function(t){var n=[];return t===r&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:r?r.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:o,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function fBt(e,t,n,i){var r=rBt(t).createRange();if(n>dBt(t)&&tBt.logSelectionStateFailure({anonymizedDom:uBt(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),sBt)try{e.addRange(r)}catch(e){"production"!==Jh.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var hBt=function(e,t,n,i,r){var o=rBt(t);if(nBt(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),c=e.getFocusKey(),u=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var p=s,f=l;s=c,l=u,c=p,u=f,d=!1}var h=s===n&&i<=l&&r>=l,m=c===n&&i<=u&&r>=u;if(h&&m)return a.removeAllRanges(),fBt(a,t,l-i,e),void pBt(a,t,u-i,e);if(d){if(m&&(a.removeAllRanges(),fBt(a,t,u-i,e)),h){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),fBt(a,t,l-i,e),pBt(a,g,v,e)}}else h&&(a.removeAllRanges(),fBt(a,t,l-i,e)),m&&pBt(a,t,u-i,e)}},mBt=UJ;function gBt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vBt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bBt=GQt,yBt=g.default,OBt=URt,wBt=XQt,_Bt=hBt,xBt=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return vBt(gBt(t=e.call.apply(e,[this].concat(i))||this),"leaf",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,i=t.start,r=t.text,o=n.getKey(),a=i+r.length;if(e.hasEdgeWithin(o,i,a)){var s=this.leaf;s||("production"!==Jh.env.NODE_ENV?OBt(!1,"Missing node"):OBt(!1));var l,c=s.firstChild;c||("production"!==Jh.env.NODE_ENV?OBt(!1,"Missing child"):OBt(!1)),c.nodeType===Node.TEXT_NODE?l=c:wBt(c)?l=s:(l=c.firstChild)||("production"!==Jh.env.NODE_ENV?OBt(!1,"Missing targetNode"):OBt(!1)),_Bt(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Jh.env.NODE_ENV?OBt(!1,"Missing leafNode"):OBt(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var i=this.props,r=i.customStyleMap,o=i.customStyleFn,a=i.offsetKey,s=i.styleSet,l=s.reduce((function(e,t){var n={},i=r[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(n.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),mBt(e,i,n)}),{});if(o){var c=o(s,t);l=mBt(l,c)}return yBt.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},yBt.createElement(bBt,null,n))},i}(yBt.Component),kBt=xBt;var SBt=MQt,EBt=kBt,CBt=QNt,PBt=B$t.exports,FBt=g.default,TBt=zLt;PBt.List;var DBt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,i=e.customStyleFn,r=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,c=e.selection,u=e.tree,d=t.getKey(),p=t.getText(),f=u.size-1,h=this.props.children||u.map((function(e,u){var h=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var o=CBt.encode(d,u,n),a=e.get("start"),m=e.get("end");return FBt.createElement(EBt,{key:o,offsetKey:o,block:t,start:a,selection:l?c:null,forceSelection:s,text:p.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:h===f&&n===g})})).toArray();return h&&o?FBt.createElement(SBt,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:p,key:u}):v})).toArray();return FBt.createElement("div",{"data-offset-key":CBt.encode(d,0,0),className:TBt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},i}(FBt.Component),ABt=DBt;function IBt(e,t){return!!t&&(e===t.documentElement||e===t.body)}var $Bt={getTop:function(e){var t=e.ownerDocument;return IBt(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;IBt(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return IBt(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;IBt(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},RBt=$Bt,jBt=/-(.)/g;var zBt=function(e){return e.replace(jBt,(function(e,t){return t.toUpperCase()}))},MBt=/([A-Z])/g;var LBt=function(e){return e.replace(MBt,"-$1").toLowerCase()},NBt=zBt,QBt=LBt;function BBt(e){return null==e?e:String(e)}var UBt=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return BBt(n.getPropertyValue(QBt(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return BBt(n.getPropertyValue(QBt(t)));if("display"===t)return"none"}return e.currentStyle?BBt("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[NBt(t)]):BBt(e.style&&e.style[NBt(t)])};function qBt(e,t){var n=WBt.get(e,t);return"auto"===n||"scroll"===n}var WBt={get:UBt,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(qBt(e,"overflow")||qBt(e,"overflowY")||qBt(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},GBt=WBt,VBt=JQt;var XBt=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!VBt(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}};var HBt=function(e){var t=XBt(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},YBt="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var ZBt=function(e){return(e=e||document).scrollingElement?e.scrollingElement:YBt||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var KBt=ZBt,JBt=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}};var eUt=function(e){var t=KBt(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=JBt(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,o=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,o)),n};function tUt(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function nUt(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function iUt(){return{width:window.innerWidth||tUt(),height:window.innerHeight||nUt()}}iUt.withoutScrollbars=function(){return{width:tUt(),height:nUt()}};var rUt=iUt,oUt=UJ;function aUt(){return aUt=oUt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},aUt.apply(this,arguments)}function sUt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lUt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){cUt(e,t,n[t])}))}return e}function cUt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uUt=ABt,dUt=QNt,pUt=g.default,fUt=RBt,hUt=GBt,mUt=HBt,gUt=eUt,vUt=rUt,bUt=URt,yUt=qNt;B$t.exports.List;var OUt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},wUt=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),i=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:i}},_Ut=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},xUt=function(e,t,n,i,r,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=i(e);return s&&(a.className=s),void 0!==r.customEditable&&(a=lUt({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},kUt=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return cUt(sUt(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",pUt.createRef()),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,n=t.block,i=t.direction,r=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||r!==e.tree||i!==e.direction||OUt(e.selection,e.block.getKey())&&e.forceSelection;return o||a},r.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var i,r=hUt.getScrollParent(n),o=gUt(r);if(r===window){var a=mUt(n);(i=a.y+a.height-vUt().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{yUt(n)||("production"!==Jh.env.NODE_ENV?bUt(!1,"blockNode is not an HTMLElement"):bUt(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&fUt.setTop(r,fUt.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,c=t.editorKey,u=t.editorState,d=t.customStyleFn,p=t.customStyleMap,f=t.direction,h=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=dUt.encode(n,0,0),d=s.getBlockForKey(n),p=_Ut(d,o),f=p.CustomComponent||i,h=wUt(d,r),m=h.Element,g=h.wrapperTemplate,v=xUt(d,c,l,a,p,null),b=lUt({},e.props,{tree:u.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push(pUt.createElement(m,v,pUt.createElement(f,b))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var i=[],r=!0,o=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var c=s.value;if(c.type!==t)break;i.push(c)}}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(i[0]),i.length+1);var u=i.reverse(),d=u[0].key;n.push(pUt.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":dUt.encode(d,0,0)},u))}(g,m,t),t}),[]));var b=n.getKey(),y=dUt.encode(b,0,0),O=_Ut(n,o),w=O.CustomComponent,_=null!=w?pUt.createElement(w,aUt({},this.props,{tree:u.getBlockTree(b),blockProps:O.customProps,offsetKey:y,block:n})):pUt.createElement(uUt,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:f,forceSelection:h,hasSelection:OUt(m,b),selection:m,tree:g});if(n.getParentKey())return _;var x=wUt(n,r).Element,k=xUt(n,c,y,a,O,this.wrapperRef);return pUt.createElement(x,k,_)},i}(pUt.Component),SUt=UJ;function EUt(){return EUt=SUt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},EUt.apply(this,arguments)}var CUt=kUt,PUt=QNt,FUt=g.default,TUt=jMt,DUt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return r!==o||a!==s||l!==c||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,c=a.getCurrentContent(),u=a.getSelection(),d=a.mustForceSelection(),p=a.getDecorator(),f=TUt(a.getDirectionMap()),h=[],m=c.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:c,customStyleFn:o,customStyleMap:r,decorator:p,editorKey:s,editorState:a,forceSelection:d,selection:u,block:m,direction:l||f.get(g),tree:a.getBlockTree(g)},b=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:FUt.createElement(CUt,EUt({key:g},v)),wrapperTemplate:b,key:g,offsetKey:PUt.encode(g,0,0)});var y=m.getNextSiblingKey();m=y?c.getBlockForKey(y):null}for(var O=[],w=0;w<h.length;){var _=h[w];if(_.wrapperTemplate){var x=[];do{x.push(h[w].block),w++}while(w<h.length&&h[w].wrapperTemplate===_.wrapperTemplate);var k=FUt.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},x);O.push(k)}else O.push(_.block),w++}return FUt.createElement("div",{"data-contents":"true"},O)},i}(FUt.Component),AUt=DUt,IUt=UJ;function $Ut(){return $Ut=IUt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$Ut.apply(this,arguments)}function RUt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jUt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zUt=kBt,MUt=QNt,LUt=g.default,NUt=RBt,QUt=GBt,BUt=FMt,UUt=vMt,qUt=zLt,WUt=HBt,GUt=eUt,VUt=rUt,XUt=URt,HUt=qNt,YUt=jMt,ZUt=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},KUt=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return jUt(RUt(t=e.call.apply(e,[this].concat(i))||this),"_node",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||ZUt(e.selection,e.block.getKey())&&e.forceSelection},r.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var i,r=QUt.getScrollParent(n),o=GUt(r);if(r===window){var a=WUt(n);(i=a.y+a.height-VUt().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{HUt(n)||("production"!==Jh.env.NODE_ENV?XUt(!1,"blockNode is not an HTMLElement"):XUt(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&NUt.setTop(r,NUt.getTop(r)+i+10)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),i=t.getText(),r=this.props.tree.size-1,o=ZUt(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var c=l.size-1,u=l.map((function(a,l){var u=MUt.encode(n,s,l),d=a.get("start"),p=a.get("end");return LUt.createElement(zUt,{key:u,offsetKey:u,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,p),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===c})})).toArray(),d=a.get("decoratorKey");if(null==d)return u;if(!e.props.decorator)return u;var p=YUt(e.props.decorator),f=p.getComponentForKey(d);if(!f)return u;var h=p.getPropsForKey(d),m=MUt.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),b=i.slice(g,v),y=t.getEntityAt(a.get("start")),O=UUt.getHTMLDirIfDifferent(BUt.getDirection(b),e.props.direction),w={contentState:e.props.contentState,decoratedText:b,dir:O,start:g,end:v,blockKey:n,entityKey:y,offsetKey:m};return LUt.createElement(f,$Ut({},h,w,{key:m}),u)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=qUt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return LUt.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(LUt.Component),JUt=KUt;var eqt=function(e){var t=e||"",n=arguments.length;if(n>1)for(var i=1;i<n;i++){var r=arguments[i];r&&(t=(t?t+" ":"")+r)}return t},tqt=UJ;function nqt(){return nqt=tqt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},nqt.apply(this,arguments)}function iqt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){rqt(e,t,n[t])}))}return e}function rqt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oqt=JUt,aqt=QNt,sqt=g.default,lqt=zLt,cqt=eqt,uqt=jMt,dqt=function(e,t,n,i){return lqt({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===i,"public/DraftStyleDefault/listRTL":"RTL"===i})},pqt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return r!==o||a!==s||l!==c||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,c=e.textDirectionality,u=a.getCurrentContent(),d=a.getSelection(),p=a.mustForceSelection(),f=a.getDecorator(),h=uqt(a.getDirectionMap()),m=u.getBlocksAsArray(),g=[],v=null,b=null,y=0;y<m.length;y++){var O=m[y],w=O.getKey(),_=O.getType(),x=n(O),k=void 0,S=void 0,E=void 0;x&&(k=x.component,S=x.props,E=x.editable);var C=c||h.get(w),P=aqt.encode(w,0,0),F={contentState:u,block:O,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:f,direction:C,forceSelection:p,offsetKey:P,preventScroll:l,selection:d,tree:a.getBlockTree(w)},T=t.get(_)||t.get("unstyled"),D=T.wrapper,A=T.element||t.get("unstyled").element,I=O.getDepth(),$="";if(i&&($=i(O)),"li"===A)$=cqt($,dqt(_,I,b!==D||null===v||I>v,C));var R=k||oqt,j={className:$,"data-block":!0,"data-editor":s,"data-offset-key":P,key:w};void 0!==E&&(j=iqt({},j,{contentEditable:E,suppressContentEditableWarning:!0}));var z=sqt.createElement(A,j,sqt.createElement(R,nqt({},F,{key:w})));g.push({block:z,wrapperTemplate:D,key:w,offsetKey:P}),v=D?O.getDepth():null,b=D}for(var M=[],L=0;L<g.length;){var N=g[L];if(N.wrapperTemplate){var Q=[];do{Q.push(g[L].block),L++}while(L<g.length&&g[L].wrapperTemplate===N.wrapperTemplate);var B=sqt.cloneElement(N.wrapperTemplate,{key:N.key+"-wrap","data-offset-key":N.offsetKey},Q);M.push(B)}else M.push(N.block),L++}return sqt.createElement("div",{"data-contents":"true"},M)},i}(sqt.Component),fqt=pqt,hqt=Nzt("draft_tree_data_support")?AUt:fqt,mqt={isImage:function(e){return"image"===gqt(e)[0]},isJpeg:function(e){var t=gqt(e);return mqt.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function gqt(e){return e.split("/")}var vqt=mqt,bqt=URt;var yqt=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&("production"!==Jh.env.NODE_ENV?bqt(!1,"toArray: Array-like object expected"):bqt(!1)),"number"!=typeof t&&("production"!==Jh.env.NODE_ENV?bqt(!1,"toArray: Object needs a length property"):bqt(!1)),0===t||t-1 in e||("production"!==Jh.env.NODE_ENV?bqt(!1,"toArray: Object should have keys for indices"):bqt(!1)),"function"==typeof e.callee&&("production"!==Jh.env.NODE_ENV?bqt(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):bqt(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),i=0;i<t;i++)n[i]=e[i];return n}(e):[e]};function Oqt(e){return function(){return e}}var wqt=function(){};wqt.thatReturns=Oqt,wqt.thatReturnsFalse=Oqt(!1),wqt.thatReturnsTrue=Oqt(!0),wqt.thatReturnsNull=Oqt(null),wqt.thatReturnsThis=function(){return this},wqt.thatReturnsArgument=function(e){return e};var _qt=wqt,xqt=vqt,kqt=yqt,Sqt=_qt,Eqt=new RegExp("\r\n","g"),Cqt={"text/rtf":1,"text/html":1};function Pqt(e){if("file"==e.kind)return e.getAsFile()}var Fqt=function(){function e(e){this.data=e,this.types=e.types?kqt(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return Cqt[e]}))},t.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(Eqt,"\n"):null},t.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var i=t[n].type;if(!xqt.isImage(i))return!1}return!0},t.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(Pqt).filter(Sqt.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),Tqt=Fqt,Dqt=URt,Aqt=/\.textClipping$/,Iqt={"text/plain":!0,"text/html":!0,"text/rtf":!0};var $qt=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!k.FileReader||e.type&&!(e.type in Iqt))return void t("");if(""===e.type){var n="";return Aqt.test(e.name)&&(n=e.name.replace(Aqt,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==Jh.env.NODE_ENV?Dqt(!1,'We should be calling "FileReader.readAsText" which returns a string'):Dqt(!1)),t(e)},i.onerror=function(){t("")},i.readAsText(e)}(r,(function(r){n++,r&&i.push(r.slice(0,5e3)),n==e.length&&t(i.join("\r"))}))}))};var Rqt=function(e){return"handled"===e||!0===e},jqt=Tqt,zqt=uzt,Mqt=aLt,Lqt=PNt,Nqt=_Nt,Qqt=$qt,Bqt=YNt,Uqt=FNt,qqt=Rqt,Wqt=jMt;var Gqt={onDragEnd:function(e){e.exitCurrentMode(),Vqt(e)},onDrop:function(e,t){var n=new jqt(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=Nqt(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var o=r.caretRangeFromPoint(e.x,e.y);n=o.startContainer,i=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=Wqt(n),i=Wqt(i);var a=Wqt(Lqt(n));return Bqt(t,a,i,a,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&qqt(e.props.handleDroppedFiles(r,o)))return;Qqt(o,(function(t){t&&e.update(Xqt(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&qqt(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=zqt.moveText(e.getCurrentContent(),e.getSelection(),t);return Mqt.push(e,n,"insert-fragment")}(i,r)):e.update(Xqt(i,r,n.getText()))),Vqt(e)}}}};function Vqt(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:Uqt(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function Xqt(e,t,n){var i=zqt.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return Mqt.push(e,i,"insert-fragment")}var Hqt=Gqt;var Yqt=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),o=!1;return i.some((function(e){return r===e.get("start")?(o=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,i,r,o=1,a={},s=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Jh.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(i="setImmediate$"+Math.random()+"$",r=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&d(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(t){e.postMessage(i+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var r={callback:e,args:t};return a[o]=r,n(o),o++},c.clearImmediate=u}function u(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{u(e),s=!1}}}}}("undefined"==typeof self?k:self);var Zqt=k.setImmediate,Kqt=uzt,Jqt=aLt,eWt=gQt,tWt=Rqt,nWt=Yqt,iWt=jMt,rWt=Zqt,oWt=wNt.isBrowser("Firefox");function aWt(e,t,n,i,r){var o=Kqt.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return Jqt.push(e,o,"insert-characters",r)}var sWt=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,i=t.data;if(i)if(e.props.handleBeforeInput&&tWt(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),o=r.getStartOffset(),a=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(aWt(n,i,n.getCurrentInlineStyle(),eWt(n.getCurrentContent(),n.getSelection()),!0));var s=aWt(n,i,n.getCurrentInlineStyle(),eWt(n.getCurrentContent(),n.getSelection()),!1),l=!1;if(l||(l=nWt(e._latestCommittedEditorState)),!l){var c=n.getBlockTree(a),u=s.getBlockTree(a);l=c.size!==u.size||c.zip(u).some((function(e){var t=e[0],n=e[1],r=t.get("start"),a=r+(r>=o?i.length:0),s=t.get("end"),l=s+(s>=o?i.length:0),c=n.get("start"),u=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==c||l!==u||null!=d&&u-c!=s-r}))}if(l||(l=function(e){return oWt&&("'"==e||"/"==e)}(i)),l||(l=iWt(s.getDirectionMap()).get(a)!==iWt(n.getDirectionMap()).get(a)),l)return t.preventDefault(),s=Jqt.set(s,{forceSelection:!0}),void e.update(s);s=Jqt.set(s,{nativelyRenderedContent:s.getCurrentContent()}),e._pendingStateFromBeforeInput=s,rWt((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},lWt=aLt,cWt=JQt,uWt=eBt;var dWt=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&uWt(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&cWt(r,i.anchorNode)&&cWt(r,i.focusNode)&&i.removeAllRanges()}var o=e._latestEditorState,a=o.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(lWt.acceptSelection(o,s))}},pWt=aLt;var fWt=function(e,t){e.setMode("composite"),e.update(pWt.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},hWt=djt;var mWt=function(e){var t=e.getSelection();return t.isCollapsed()?null:hWt(e.getCurrentContent(),t)},gWt=mWt;var vWt=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(gWt(e._latestEditorState))};var bWt=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1},yWt=uzt,OWt=aLt,wWt=GBt,_Wt=mWt,xWt=eUt,kWt=bWt;var SWt=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(kWt(o)){var a=o;n=xWt(wWt.getScrollParent(a))}var s=_Wt(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=yWt.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return OWt.push(e,t,"remove-range")}(i))}),0)}};var EWt=function(e,t){e.setMode("drag"),t.preventDefault()};var CWt=function(e){e._internalDrag=!0,e.setMode("drag")},PWt=aLt,FWt=wNt;var TWt=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var r=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),FWt.isBrowser("Chrome < 60.0.3081.0")?e.update(PWt.forceSelection(n,r)):e.update(PWt.acceptSelection(n,r))}},DWt=URt,AWt=/[\uD800-\uDFFF]/;function IWt(e){return 55296<=e&&e<=57343}function $Wt(e){return AWt.test(e)}function RWt(e,t){return 1+IWt(e.charCodeAt(t))}function jWt(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!$Wt(e))return e.substr(t,n);var i=e.length;if(i<=0||t>i||n<=0)return"";var r=0;if(t>0){for(;t>0&&r<i;t--)r+=RWt(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=RWt(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=RWt(e,o);return e.substring(r,o)}var zWt={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=RWt(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:RWt,hasSurrogateUnit:$Wt,isCodeUnitInSurrogateRange:IWt,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Jh.env.NODE_ENV?DWt(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):DWt(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),i=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=i&&i<=57343},strlen:function(e){if(!$Wt(e))return e.length;for(var t=0,n=0;n<e.length;n+=RWt(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var i=Math.abs(n-t);return jWt(e,t=t<n?t:n,i)},substr:jWt},MWt=zWt,LWt=_qt;function NWt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var QWt="production"!==Jh.env.NODE_ENV?function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];NWt.apply(void 0,[t].concat(i))}}:LWt,BWt=QWt,UWt=BWt;var qWt=function(e,t){var n=e.getSelection();"production"!==Jh.env.NODE_ENV&&UWt(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),o=n.getStartOffset(),a=r,s=0;if(t>o){var l=i.getKeyBefore(r);if(null==l)a=r;else a=l,s=i.getBlockForKey(l).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},WWt=uzt,GWt=Nzt("draft_tree_data_support");var VWt=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(GWt&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(GWt)if(i.getAnchorOffset()===r.getBlockForKey(a).getLength()){var c=r.getBlockForKey(l.nextSibling);if(!c||0===c.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((o=t(e))===i)return r}return WWt.removeRange(r,o,n)},XWt=aLt,HWt=MWt,YWt=qWt,ZWt=VWt;var KWt=function(e){var t=ZWt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return YWt(e,o?HWt.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return XWt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},JWt=uzt,eGt=QNt,tGt=aLt,nGt=fQt.notEmptyKey,iGt=PNt,rGt=KWt,oGt=jMt,aGt=wNt.isEngine("Gecko");var sGt=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.isCollapsed,o=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!o){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var a=i.parentNode;if(null==a)return;i.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==i&&a.removeChild(s)}var l=i.textContent,c=e._latestEditorState,u=oGt(iGt(i)),d=eGt.decode(u),p=d.blockKey,f=d.decoratorKey,h=d.leafKey,m=c.getBlockTree(p).getIn([f,"leaves",h]),g=m.start,v=m.end,b=c.getCurrentContent(),y=b.getBlockForKey(p),O=y.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==O){var w,_,x,k,S=c.getSelection(),E=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),C=y.getEntityAt(g),P=nGt(C)?b.getEntity(C):null,F="MUTABLE"===(null!=P?P.getMutability():null),T=F?"spellcheck-change":"apply-entity",D=JWt.replaceText(b,E,l,y.getInlineStyleAt(g),F?y.getEntityAt(g):null);if(aGt)w=n.anchorOffset,_=n.focusOffset,k=(x=g+Math.min(w,_))+Math.abs(w-_),w=x,_=k;else{var A=l.length-O.length;x=S.getStartOffset(),k=S.getEndOffset(),w=r?k+A:x,_=k+A}var I=D.merge({selectionBefore:b.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:w,focusOffset:_})});e.update(tGt.push(c,I,T))}else{var $=t.nativeEvent.inputType;if($){var R=function(e,t){return"deleteContentBackward"===e?rGt(t):t}($,c);if(R!==c)return e.restoreEditorDOM(),void e.update(R)}}}},lGt=BNt;var cGt=function(e){return e.which===lGt.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},uGt=cGt,dGt=wNt.isPlatform("Mac OS X"),pGt={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return dGt&&e.altKey},usesMacOSHeuristics:function(){return dGt},hasCommandModifier:function(e){return dGt?!!e.metaKey&&!e.altKey:pGt.isCtrlKeyCommand(e)},isSoftNewlineEvent:uGt},fGt=pGt,hGt=uzt,mGt=aLt,gGt=djt,vGt=jMt,bGt=null,yGt={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),o=t.getBlockForKey(r).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(r);if(null==a)return e;i=n.set("focusKey",a).set("focusOffset",0)}else i=n.set("focusOffset",o)}else i=n;i=vGt(i),bGt=gGt(t,i);var s=hGt.removeRange(t,i,"forward");return s===t?e:mGt.push(e,s,"remove-range")},paste:function(e){if(!bGt)return e;var t=hGt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),bGt);return mGt.push(e,t,"insert-fragment")}},OGt=yGt,wGt=URt;var _Gt=wNt.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],i=e.endContainer;null!=i;i=i.parentNode){var r=i===e.commonAncestorContainer;r?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),r)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(i)}"production"!==Jh.env.NODE_ENV?wGt(!1,"Found an unexpected detached subtree when getting range client rects."):wGt(!1)}:function(e){return Array.from(e.getClientRects())},xGt=_Gt,kGt=MWt,SGt=_Nt,EGt=xGt,CGt=URt;function PGt(e,t){for(var n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),o=Math.max(o,s.bottom))}return r<=i&&r-n<t&&o-i<t}function FGt(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}var TGt=function(e){e.collapsed||("production"!==Jh.env.NODE_ENV?CGt(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):CGt(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=SGt(e),i=n.createElement("div");i.style.fontFamily=t.fontFamily,i.style.fontSize=t.fontSize,i.style.fontStyle=t.fontStyle,i.style.fontWeight=t.fontWeight,i.style.lineHeight=t.lineHeight,i.style.position="absolute",i.textContent="M";var r=n.body;r||("production"!==Jh.env.NODE_ENV?CGt(!1,"Missing document.body"):CGt(!1)),r.appendChild(i);var o=i.getBoundingClientRect();return r.removeChild(i),o.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);PGt(EGt(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==Jh.env.NODE_ENV?CGt(!1,"Found unexpected detached subtree when traversing."):CGt(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var o=i,a=r-1;;){for(var s=o.nodeValue,l=a;l>=0;l--)if(!(null!=s&&l>0&&kGt.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!PGt(EGt(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=FGt(o=o.childNodes[l])}return e.setStart(i,r),e},DGt=aLt,AGt=TGt,IGt=oQt,$Gt=qWt,RGt=VWt;var jGt=function(e,t){var n=RGt(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return $Gt(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=AGt(i),IGt(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:DGt.push(e,n,"remove-range")},zGt="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),MGt=new RegExp("^(?:"+zGt+")*(?:"+"['‘’]|(?!"+zGt+").)*(?:(?!"+zGt+").)"),LGt=new RegExp("(?:(?!"+zGt+").)(?:"+"['‘’]|(?!"+zGt+").)*(?:"+zGt+")*$");function NGt(e,t){var n=t?LGt.exec(e):MGt.exec(e);return n?n[0]:e}var QGt={getBackward:function(e){return NGt(e,!0)},getForward:function(e){return NGt(e,!1)}},BGt=QGt,UGt=aLt,qGt=qWt,WGt=VWt;var GGt=function(e){var t=WGt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return qGt(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=BGt.getBackward(r);return qGt(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:UGt.push(e,t,"remove-range")},VGt=BWt;var XGt=function(e,t){var n=e.getSelection();"production"!==Jh.env.NODE_ENV&&VGt(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=r;return t>a.getBlockForKey(r).getText().length-o?(s=a.getKeyAfter(r),i=0):i=o+t,n.merge({focusKey:s,focusOffset:i})},HGt=QGt,YGt=aLt,ZGt=XGt,KGt=VWt;var JGt=function(e){var t=KGt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=HGt.getForward(r);return ZGt(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:YGt.push(e,t,"remove-range")},eVt=uzt,tVt=aLt;var nVt=aLt;var iVt=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return nVt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},rVt=aLt;var oVt=function(e){var t=e.getSelection(),n=t.getStartKey();return rVt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},aVt=aLt,sVt=MWt,lVt=XGt,cVt=VWt;var uVt=function(e){var t=cVt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return lVt(e,o?sVt.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return aVt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},dVt=uzt,pVt=aLt,fVt=djt;var hVt=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(i=t.set("anchorOffset",n-1),r=t):r=(i=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=fVt(a,i),c=dVt.removeRange(a,i,"backward"),u=c.getSelectionAfter(),d=u.getAnchorOffset()-1,p=u.merge({anchorOffset:d,focusOffset:d}),f=dVt.replaceWithFragment(c,p,l),h=pVt.push(e,f,"insert-fragment");return pVt.acceptSelection(h,r)},mVt=aLt;var gVt=function(e,t,n){var i=mVt.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(mVt.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(mVt.set(i,{nativelyRenderedContent:r}))}},vVt=uzt,bVt=aLt,yVt=BNt,OVt=OGt,wVt=wNt,_Vt=Rqt,xVt=jGt,kVt=GGt,SVt=JGt,EVt=function(e){var t=eVt.splitBlock(e.getCurrentContent(),e.getSelection());return tVt.push(e,t,"split-block")},CVt=iVt,PVt=oVt,FVt=KWt,TVt=uVt,DVt=hVt,AVt=gVt,IVt=fGt.isOptionKeyCommand,$Vt=wVt.isBrowser("Chrome");var RVt=function(e,t){var n=t.which,i=e._latestEditorState;function r(n){var i=e.props[n];return!!i&&(i(t),!0)}switch(n){case yVt.RETURN:if(t.preventDefault(),e.props.handleReturn&&_Vt(e.props.handleReturn(t,i)))return;break;case yVt.ESC:if(t.preventDefault(),r("onEscape"))return;break;case yVt.TAB:if(r("onTab"))return;break;case yVt.UP:if(r("onUpArrow"))return;break;case yVt.RIGHT:if(r("onRightArrow"))return;break;case yVt.DOWN:if(r("onDownArrow"))return;break;case yVt.LEFT:if(r("onLeftArrow"))return;break;case yVt.SPACE:$Vt&&IVt(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!_Vt(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return bVt.redo(t);case"delete":return TVt(t);case"delete-word":return SVt(t);case"backspace":return FVt(t);case"backspace-word":return kVt(t);case"backspace-to-start-of-line":return xVt(t,n);case"split-block":return EVt(t);case"transpose-characters":return DVt(t);case"move-selection-to-start-of-block":return PVt(t);case"move-selection-to-end-of-block":return CVt(t);case"secondary-cut":return OVt.cut(t);case"secondary-paste":return OVt.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else AVt(t,i,e.update);else if(n===yVt.SPACE&&$Vt&&IVt(t)){var s=vVt.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(bVt.push(i,s,"insert-characters"))}};var jVt=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_uri",void 0),this._uri=e}return e.prototype.toString=function(){return this._uri},e}(),zVt=jVt,MVt=URt,LVt=wNt.isBrowser("IE <= 9");var NVt=function(e){var t,n=null;return!LVt&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Jh.env.NODE_ENV?MVt(!1,"Missing doc.documentElement"):MVt(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},QVt=xNt;var BVt=function(e){return!(!e||!e.ownerDocument)&&(QVt(e)&&"A"===e.nodeName)},UVt=xNt;var qVt,WVt=function(e){return!(!e||!e.ownerDocument)&&(UVt(e)&&"IMG"===e.nodeName)};function GVt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){VVt(e,t,n[t])}))}return e}function VVt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var XVt=tRt,HVt=gRt,YVt=DRt,ZVt=NLt,KVt=zzt,JVt=zVt,eXt=zLt,tXt=JRt,nXt=NVt,iXt=Nzt,rXt=B$t.exports,oXt=rXt.List,aXt=rXt.Map,sXt=rXt.OrderedSet,lXt=BVt,cXt=XQt,uXt=qNt,dXt=WVt,pXt=iXt("draft_tree_data_support"),fXt=new RegExp("\r","g"),hXt=new RegExp("\n","g"),mXt=new RegExp("^\n","g"),gXt=new RegExp(" ","g"),vXt=new RegExp(" ?","g"),bXt=new RegExp("​?","g"),yXt=["bold","bolder","500","600","700","800","900"],OXt=["light","lighter","normal","100","200","300","400"],wXt=["className","href","rel","target","title"],_Xt=["alt","className","height","src","width"],xXt=(VVt(qVt={},eXt("public/DraftStyleDefault/depth0"),0),VVt(qVt,eXt("public/DraftStyleDefault/depth1"),1),VVt(qVt,eXt("public/DraftStyleDefault/depth2"),2),VVt(qVt,eXt("public/DraftStyleDefault/depth3"),3),VVt(qVt,eXt("public/DraftStyleDefault/depth4"),4),qVt),kXt=aXt({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),SXt=function(e){var t={};return e.mapKeys((function(e,n){var i=[n.element];void 0!==n.aliasedElements&&i.push.apply(i,n.aliasedElements),i.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),aXt(t)},EXt=function(e){if(uXt(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},CXt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(xXt).some((function(n){e.classList.contains(n)&&(t=xXt[n])})),t},PXt=function(e){if(!lXt(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},FXt=function(e){if(!dXt(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},TXt=function(e,t){if(!uXt(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){yXt.indexOf(i)>=0?e.add("BOLD"):OXt.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},DXt=function(e){return"ul"===e||"ol"===e},AXt=function(){function e(e,t){VVt(this,"characterList",oXt()),VVt(this,"currentBlockType","unstyled"),VVt(this,"currentDepth",0),VVt(this,"currentEntity",null),VVt(this,"currentText",""),VVt(this,"wrapper",null),VVt(this,"blockConfigs",[]),VVt(this,"contentBlocks",[]),VVt(this,"entityMap",KVt),VVt(this,"blockTypeMap",void 0),VVt(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=oXt(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=KVt,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],sXt())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(pXt?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key||tXt(),n=GVt({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:oXt(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=oXt(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],o=r.nodeName.toLowerCase();if("body"===o||DXt(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;DXt(o)&&(this.wrapper=o,DXt(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var l=this.blockTypeMap.get(o);if(void 0===l)if("#text"!==o)if("br"!==o)if(FXt(r))this._addImgNode(r,t);else if(PXt(r))this._addAnchorNode(r,n,t);else{var c=t;kXt.has(o)&&(c=c.add(kXt.get(o))),c=TXt(r,c);var u=EXt(r);null!=u&&(c=c.add(u)),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),c))}else this._addBreakNode(r,t);else this._addTextNode(r,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!pXt&&uXt(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var f=r;this.currentDepth=CXt(f,this.currentDepth)}var h=tXt(),m=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:m,type:l})),this.currentDepth=d,this.wrapper=p}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=XVt.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(i))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,i=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==i?Math.min(t,i[0]):t)>(n=void 0!==(i=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-i[0]):n)?(this.currentText="",this.characterList=oXt()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},t._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(mXt,"")).replace(hXt," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){cXt(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(dXt(e)){var n=e,i={};_Xt.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),iXt("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},t._addAnchorNode=function(e,t,n){if(lXt(e)){var i=e,r={};wXt.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new JVt(i.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",r||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,i=0;i<=n;i++){var r=e[i];r.parent=t,r.prevSibling=i>0?e[i-1].key:null,r.nextSibling=i<n?e[i+1].key:null,r.children=oXt(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new YVt(GVt({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return oXt(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},t._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var n=t._extractTextFromBlockConfigs(e.childConfigs),i=n.text,r=n.characterList;t.contentBlocks.push(new HVt(GVt({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=oXt(),r=0;r<=t;r++){var o=e[r];n+=o.text,i=i.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",i=i.push(i.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,i=i.concat(a.characterList)}return{text:n,characterList:i}},e}(),IXt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nXt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ZVt,i=t(e=e.trim().replace(fXt,"").replace(gXt," ").replace(vXt,"").replace(bXt,""));if(!i)return null;var r=SXt(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new AXt(r,o).addDOMNode(i).getContentBlocks()};function $Xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RXt=gRt,jXt=DRt,zXt=IXt,MXt=JRt,LXt=NVt,NXt=Nzt,QXt=B$t.exports,BXt=Bzt,UXt=QXt.List,qXt=QXt.Repeat,WXt=NXt("draft_tree_data_support"),GXt=WXt?jXt:RXt,VXt={processHTML:function(e,t){return zXt(e,LXt,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=BXt(i);var o=MXt(),a={key:o,type:n,text:i,characterList:UXt(qXt(t,i.length))};if(WXt&&0!==r){var s=r-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){$Xt(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new GXt(a)),e}),[])}};var XXt=function(e,t,n,i){var r=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},HXt=uzt,YXt=aLt,ZXt=XXt,KXt=jMt,JXt={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===i.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return JXt.toggleInlineStyle(e,"BOLD");case"italic":return JXt.toggleInlineStyle(e,"ITALIC");case"underline":return JXt.toggleInlineStyle(e,"UNDERLINE");case"code":return JXt.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return JXt.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return JXt.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=HXt.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=YXt.push(e,t,"insert-characters");return YXt.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockBefore(i);if(r&&"atomic"===r.getType()){var o=n.getBlockMap().delete(r.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return YXt.push(e,a,"remove-range")}var s=JXt.tryToRemoveBlockStyle(e);return s?YXt.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockForKey(i).getLength();if(t.getStartOffset()<r)return null;var o=n.getBlockAfter(i);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=HXt.removeRange(n,a,"forward");return s!==n?YXt.push(e,s,"remove-range"):null},onTab:function(e,t,n){var i=t.getSelection(),r=i.getAnchorKey();if(r!==i.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(r),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=a.getDepth();if(!e.shiftKey&&l===n)return t;var c=ZXt(o,i,e.shiftKey?-1:1,n);return YXt.push(t,c,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),o=e.getCurrentContent(),a=n;if(i!==r&&0===n.getEndOffset()){var s=KXt(o.getBlockBefore(r));r=s.getKey(),a=a.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}var l=o.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()}));if(l)return e;var c=o.getBlockForKey(i).getType()===t?"unstyled":t;return YXt.push(e,HXt.setBlockType(o,a,c),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?JXt.toggleBlockType(e,"code-block"):JXt.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return YXt.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?HXt.removeInlineStyle(o,n,t):HXt.applyInlineStyle(o,n,t),YXt.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=HXt.applyEntity(e.getCurrentContent(),t,n);return YXt.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var i=t.getAnchorKey(),r=e.getCurrentContent(),o=r.getBlockForKey(i).getType(),a=r.getBlockBefore(i);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return HXt.setBlockType(r,t,"unstyled")}return null}},eHt=JXt,tHt=/\r\n?|\n/g;var nHt=function(e){return e.split(tHt)},iHt=W$t,rHt=tRt,oHt=Tqt,aHt=uzt,sHt=VXt,lHt=aLt,cHt=eHt,uHt=gQt,dHt=$qt,pHt=Rqt,fHt=nHt;function hHt(e,t,n){var i=aHt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return lHt.push(e,i.set("entityMap",n),"insert-fragment")}var mHt=function(e,t){t.preventDefault();var n=new oHt(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&pHt(e.props.handlePastedFiles(i)))return;return void dHt(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=fHt(t),o=rHt.create({style:n.getCurrentInlineStyle(),entity:uHt(n.getCurrentContent(),n.getSelection())}),a=cHt.getCurrentBlockType(n),s=sHt.processText(i,o,a),l=iHt.createFromArray(s),c=aHt.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(lHt.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!pHt(e.props.handlePastedText(a,s,l))){if(a&&(o=fHt(a)),!e.props.stripPastedStyles){var c=e.getClipboard();if(n.isRichText()&&c){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===c.size&&c.first().getText()===a)return void e.update(hHt(e._latestEditorState,c))}else if(c&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,c))return void e.update(hHt(e._latestEditorState,c));if(s){var u=sHt.processHTML(s,e.props.blockRenderMap);if(u){var d=u.contentBlocks,p=u.entityMap;if(d){var f=iHt.createFromArray(d);return void e.update(hHt(e._latestEditorState,f,p))}}}e.setClipboard(null)}if(o.length){var h=rHt.create({style:l.getCurrentInlineStyle(),entity:uHt(l.getCurrentContent(),l.getSelection())}),m=cHt.getCurrentBlockType(l),g=sHt.processText(o,h,m),v=iHt.createFromArray(g);e.update(hHt(e._latestEditorState,v))}}},gHt=wNt,vHt=sWt,bHt=dWt,yHt=fWt,OHt=vWt,wHt=SWt,_Ht=EWt,xHt=CWt,kHt=TWt,SHt=sGt,EHt=RVt,CHt=mHt,PHt=pQt,FHt=gHt.isBrowser("Chrome"),THt=gHt.isBrowser("Firefox"),DHt=FHt||THt?PHt:function(e){},AHt={onBeforeInput:vHt,onBlur:bHt,onCompositionStart:yHt,onCopy:OHt,onCut:wHt,onDragOver:_Ht,onDragStart:xHt,onFocus:kHt,onInput:SHt,onKeyDown:EHt,onPaste:CHt,onSelect:PHt,onMouseUp:DHt,onKeyUp:DHt},IHt=y.default.unstable_flushControlled;var $Ht=g.default,RHt=zLt,jHt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},r.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=RHt({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return $Ht.createElement("div",{className:t},$Ht.createElement("div",{className:RHt("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}($Ht.Component),zHt=jHt,MHt=fGt,LHt=BNt,NHt=wNt,QHt=NHt.isPlatform("Mac OS X"),BHt=QHt&&NHt.isBrowser("Firefox < 29"),UHt=MHt.hasCommandModifier,qHt=MHt.isCtrlKeyCommand;function WHt(e){return QHt&&e.altKey||qHt(e)}var GHt=function(e){switch(e.keyCode){case 66:return UHt(e)?"bold":null;case 68:return qHt(e)?"delete":null;case 72:return qHt(e)?"backspace":null;case 73:return UHt(e)?"italic":null;case 74:return UHt(e)?"code":null;case 75:return QHt&&qHt(e)?"secondary-cut":null;case 77:case 79:return qHt(e)?"split-block":null;case 84:return QHt&&qHt(e)?"transpose-characters":null;case 85:return UHt(e)?"underline":null;case 87:return QHt&&qHt(e)?"backspace-word":null;case 89:return qHt(e)?QHt?"secondary-paste":"redo":null;case 90:return function(e){return UHt(e)?e.shiftKey?"redo":"undo":null}(e)||null;case LHt.RETURN:return"split-block";case LHt.DELETE:return function(e){return!QHt&&e.shiftKey?null:WHt(e)?"delete-word":"delete"}(e);case LHt.BACKSPACE:return function(e){return UHt(e)&&QHt?"backspace-to-start-of-line":WHt(e)?"backspace-word":"backspace"}(e);case LHt.LEFT:return BHt&&UHt(e)?"move-selection-to-start-of-block":null;case LHt.RIGHT:return BHt&&UHt(e)?"move-selection-to-end-of-block":null;default:return null}},VHt=UJ;function XHt(){return XHt=VHt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},XHt.apply(this,arguments)}function HHt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){ZHt(e,t,n[t])}))}return e}function YHt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZHt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KHt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var JHt=NLt,eYt=QLt,tYt=TQt,nYt=hqt,iYt=Hqt,rYt=AHt,oYt=IHt,aYt=zHt,sYt=aLt,lYt=g.default,cYt=RBt,uYt=GBt,dYt=zLt,pYt=JRt,fYt=GHt,hYt=eUt,mYt=Nzt,gYt=URt,vYt=qNt,bYt=jMt,yYt=wNt.isBrowser("IE"),OYt=!yYt,wYt={edit:rYt,composite:tYt,drag:iYt,cut:null,render:null},_Yt=!1,xYt=function(e){function t(){return e.apply(this,arguments)||this}KHt(t,e);var n=t.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var e=this.props.editor;e._latestEditorState=this.props.editorState,e._blockSelectEvents=!0},t}(lYt.Component),kYt=function(e){function t(t){var n;return ZHt(YHt(n=e.call(this,t)||this),"_blockSelectEvents",void 0),ZHt(YHt(n),"_clipboard",void 0),ZHt(YHt(n),"_handler",void 0),ZHt(YHt(n),"_dragCount",void 0),ZHt(YHt(n),"_internalDrag",void 0),ZHt(YHt(n),"_editorKey",void 0),ZHt(YHt(n),"_placeholderAccessibilityID",void 0),ZHt(YHt(n),"_latestEditorState",void 0),ZHt(YHt(n),"_latestCommittedEditorState",void 0),ZHt(YHt(n),"_pendingStateFromBeforeInput",void 0),ZHt(YHt(n),"_onBeforeInput",void 0),ZHt(YHt(n),"_onBlur",void 0),ZHt(YHt(n),"_onCharacterData",void 0),ZHt(YHt(n),"_onCompositionEnd",void 0),ZHt(YHt(n),"_onCompositionStart",void 0),ZHt(YHt(n),"_onCopy",void 0),ZHt(YHt(n),"_onCut",void 0),ZHt(YHt(n),"_onDragEnd",void 0),ZHt(YHt(n),"_onDragOver",void 0),ZHt(YHt(n),"_onDragStart",void 0),ZHt(YHt(n),"_onDrop",void 0),ZHt(YHt(n),"_onInput",void 0),ZHt(YHt(n),"_onFocus",void 0),ZHt(YHt(n),"_onKeyDown",void 0),ZHt(YHt(n),"_onKeyPress",void 0),ZHt(YHt(n),"_onKeyUp",void 0),ZHt(YHt(n),"_onMouseDown",void 0),ZHt(YHt(n),"_onMouseUp",void 0),ZHt(YHt(n),"_onPaste",void 0),ZHt(YHt(n),"_onSelect",void 0),ZHt(YHt(n),"editor",void 0),ZHt(YHt(n),"editorContainer",void 0),ZHt(YHt(n),"focus",void 0),ZHt(YHt(n),"blur",void 0),ZHt(YHt(n),"setMode",void 0),ZHt(YHt(n),"exitCurrentMode",void 0),ZHt(YHt(n),"restoreEditorDOM",void 0),ZHt(YHt(n),"setClipboard",void 0),ZHt(YHt(n),"getClipboard",void 0),ZHt(YHt(n),"getEditorKey",void 0),ZHt(YHt(n),"update",void 0),ZHt(YHt(n),"onDragEnter",void 0),ZHt(YHt(n),"onDragLeave",void 0),ZHt(YHt(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),ZHt(YHt(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=uYt.getScrollParent(r),a=e||hYt(o),s=a.x,l=a.y;vYt(r)||("production"!==Jh.env.NODE_ENV?gYt(!1,"editorNode is not an HTMLElement"):gYt(!1)),r.focus(),o===window?window.scrollTo(s,l):cYt.setTop(o,l),i||n.update(sYt.forceSelection(t,t.getSelection()))}})),ZHt(YHt(n),"blur",(function(){var e=n.editor;e&&(vYt(e)||("production"!==Jh.env.NODE_ENV?gYt(!1,"editorNode is not an HTMLElement"):gYt(!1)),e.blur())})),ZHt(YHt(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=HHt({},wYt.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=HHt({},wYt,{edit:a});n._handler=s[e]})),ZHt(YHt(n),"exitCurrentMode",(function(){n.setMode("edit")})),ZHt(YHt(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),ZHt(YHt(n),"setClipboard",(function(e){n._clipboard=e})),ZHt(YHt(n),"getClipboard",(function(){return n._clipboard})),ZHt(YHt(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),ZHt(YHt(n),"onDragEnter",(function(){n._dragCount++})),ZHt(YHt(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=t.editorKey||pYt(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=t.editorState,n._latestCommittedEditorState=t.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},"production"!==Jh.env.NODE_ENV&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach((function(e){t.hasOwnProperty(e)&&console.warn("Supplying an `".concat(e,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")})),n.state={contentsKey:0},n}KHt(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var i=t._handler&&t._handler[e];i&&(oYt?oYt((function(){return i(t,n)})):i(t,n))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:bYt(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return lYt.createElement(aYt,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,c=e.textAlignment,u=e.textDirectionality,d=dYt({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===c,"DraftEditor/alignRight":"right"===c,"DraftEditor/alignCenter":"center"===c}),p=this.props.role||"textbox",f="combobox"===p?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:HHt({},eYt,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:u};return lYt.createElement("div",{className:d},this._renderPlaceholder(),lYt.createElement("div",{className:dYt("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},lYt.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:f,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:dYt({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:l?null:p,spellCheck:OYt&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},lYt.createElement(xYt,{editor:this,editorState:a}),lYt.createElement(nYt,XHt({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!_Yt&&mYt("draft_ods_enabled")&&(_Yt=!0),this.setMode("edit"),yYt&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):k.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(lYt.Component);ZHt(kYt,"defaultProps",{blockRenderMap:JHt,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:fYt,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var SYt=kYt,EYt=E(Object.freeze({__proto__:null})),CYt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},PYt=CYt,FYt=MWt.strlen;var TYt=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var o=e.getText(),a=e.getEntityAt(i);n.push({offset:FYt(o.slice(0,i)),length:FYt(o.slice(i,r)),key:Number(t[PYt.stringify(a)])})})),n},DYt=MWt,AYt=nRt,IYt=function(e,t){return e===t},$Yt=function(e){return!!e},RYt=[];var jYt=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var i=[],r=t.map((function(e){return e.has(n)})).toList();return AYt(r,IYt,$Yt,(function(t,r){var o=e.getText();i.push({offset:DYt.strlen(o.slice(0,t)),length:DYt.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(RYt,n.toJS())};function zYt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MYt=gRt,LYt=DRt,NYt=CYt,QYt=TYt,BYt=jYt,UYt=URt,qYt=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:BYt(e),entityRanges:QYt(e,t),data:e.getData().toObject()}},WYt=function(e,t,n,i){if(e instanceof MYt)n.push(qYt(e,t));else{e instanceof LYt||("production"!==Jh.env.NODE_ENV?UYt(!1,"block is not a BlockNode"):UYt(!1));var r=e.getParentKey(),o=i[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){zYt(e,t,n[t])}))}return e}({},qYt(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},GYt=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=NYt.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),WYt(e,n,i,r)})),{blocks:i,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,i=t.entityMap,r={};return Object.keys(i).forEach((function(t,n){var i=e.getEntity(NYt.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function VYt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){XYt(e,t,n[t])}))}return e}function XYt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HYt=JRt,YYt=URt,ZYt=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},KYt={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Jh.env.NODE_ENV?YYt(!1,"Invalid raw state"):YYt(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var i=n.pop();t(i);var r=i.children;Array.isArray(r)||("production"!==Jh.env.NODE_ENV?YYt(!1,"Invalid tree raw block"):YYt(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=VYt({},e);ZYt(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?VYt({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,VYt({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=ZYt(e),r=e.depth||0,o=VYt({},e,{children:[]});if(i){var a=n[0];if(null==a&&0===r)t.push(o);else if(null==a||a.depth<r-1){var s={key:HYt(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===r-1)a.children.push(o);else{for(;null!=a&&a.depth>=r;)n.shift(),a=n[0];r>0?a.children.push(o):t.push(o)}}else t.push(o)})),VYt({},e,{blocks:t})}},JYt=KYt,eZt=BWt,tZt={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is missing parent -> child pointer on %s",n),!1;var r=e.getChildKeys().map((function(e){return t.get(e)}));if(!r.every((function(e){return e.getParentKey()===n})))return"production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is missing child -> parent pointer on %s",n),!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return"production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var a=e.getNextSiblingKey();if(null!=a&&t.get(a).getPrevSiblingKey()!==n)return"production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Jh.env.NODE_ENV&&eZt(!0,"Leaf node %s has children",n),!1)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return"production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,i=t.shift().getKey(),r=[];null!=i;){var o=e.get(i),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&r.unshift(s);var l=a.map((function(t){return e.get(t)})),c=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==c)return"production"!==Jh.env.NODE_ENV&&eZt(!0,"%s has no first child",i),!1;i=c.getKey()}else i=null!=o.getNextSiblingKey()?o.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==Jh.env.NODE_ENV&&eZt(!0,"Tree is not connected. %s nodes were seen instead of %s",n,e.size),!1)},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}},nZt=tZt,iZt=tRt,rZt=B$t.exports.List;var oZt=function(e,t){var n=e.map((function(e,n){var i=t[n];return iZt.create({style:e,entity:i})}));return rZt(n)},aZt=MWt.substr;var sZt=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=aZt(e,0,t.offset).length,r=i+aZt(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},lZt=MWt,cZt=B$t.exports.OrderedSet,uZt=lZt.substr,dZt=cZt();var pZt=function(e,t){var n=Array(e.length).fill(dZt);return t&&t.forEach((function(t){for(var i=uZt(e,0,t.offset).length,r=i+uZt(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function fZt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){hZt(e,t,n[t])}))}return e}function hZt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mZt=gRt,gZt=DRt,vZt=uMt,bZt=zzt,yZt=JYt,OZt=nZt,wZt=Lzt,_Zt=oZt,xZt=sZt,kZt=pZt,SZt=JRt,EZt=B$t.exports,CZt=URt,PZt=Nzt("draft_tree_data_support"),FZt=EZt.List,TZt=EZt.Map,DZt=EZt.OrderedMap,AZt=function(e,t){var n=e.key,i=e.type,r=e.data;return{text:e.text,depth:e.depth||0,type:i||"unstyled",key:n||SZt(),data:TZt(r),characterList:IZt(e,t)}},IZt=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return _Zt(kZt(n,r||[]),xZt(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return fZt({},e,{key:t[e.key]})}))))},$Zt=function(e){return fZt({},e,{key:e.key||SZt()})},RZt=function(e,t,n){var i=t.map((function(e){return fZt({},e,{parentRef:n})}));return e.concat(i.reverse())},jZt=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=PZt&&!n?yZt.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!PZt)return function(e,t){return DZt(e.map((function(e){var n=new mZt(AZt(e,t));return[n.getKey(),n]})))}(n?yZt.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map($Zt).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==Jh.env.NODE_ENV?CZt(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):CZt(!1));var o=i.children.map($Zt),a=new gZt(fZt({},AZt(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:FZt(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=RZt([],o,a);s.length>0;){var l=s.pop(),c=l.parentRef,u=c.getChildKeys(),d=u.indexOf(l.key),p=Array.isArray(l.children);if(!p){p||("production"!==Jh.env.NODE_ENV?CZt(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):CZt(!1));break}var f=l.children.map($Zt),h=new gZt(fZt({},AZt(l,t),{parent:c.getKey(),children:FZt(f.map((function(e){return e.key}))),prevSibling:0===d?null:u.get(d-1),nextSibling:d===u.size-1?null:u.get(d+1)}));n=n.set(h.getKey(),h),s=RZt(s,f,h)}return n}),DZt())}(i,t);return"production"!==Jh.env.NODE_ENV&&(OZt.isValidTree(r)||("production"!==Jh.env.NODE_ENV?CZt(!1,"Should be a valid tree"):CZt(!1))),r},zZt=function(e){Array.isArray(e.blocks)||("production"!==Jh.env.NODE_ENV?CZt(!1,"invalid RawDraftContentState"):CZt(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,o=i.mutability,a=i.data;n[e]=bZt.__create(r,o,a||{})})),n}(e),n=jZt(e,t),i=n.isEmpty()?new wZt:wZt.createEmpty(n.first().getKey());return new vZt({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},MZt=xGt;var LZt=function(e){var t=MZt(e),n=0,i=0,r=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,i=a.right,r=a.bottom,o=a.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,o=s.left}for(var l=1;l<t.length;l++){var c=t[l];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),i=Math.max(i,c.right),r=Math.max(r,c.bottom),o=Math.min(o,c.left))}}return{top:n,right:i,bottom:r,left:o,width:i-o,height:r-n}},NZt=LZt;var QZt=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=NZt(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},BZt={Editor:SYt,EditorBlock:JUt,EditorState:aLt,CompositeDecorator:RLt,Entity:zzt,EntityInstance:Czt,BlockMapBuilder:W$t,CharacterMetadata:tRt,ContentBlock:gRt,ContentState:uMt,RawDraftContentState:EYt,SelectionState:Lzt,AtomicBlockUtils:ALt,KeyBindingUtil:fGt,Modifier:uzt,RichUtils:eHt,DefaultDraftBlockRenderMap:NLt,DefaultDraftInlineStyle:QLt,convertFromHTML:IXt,convertFromRaw:zZt,convertToRaw:GYt,genKey:JRt,getDefaultKeyBinding:GHt,getVisibleSelectionRect:QZt};function UZt(e,t,n,i,r,o){var a=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+a}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+a}):e.offset>=t&&e.offset+e.length<=t+n&&r>0?Object.assign({},e,{offset:e.offset+r}):e.offset<t&&e.offset+e.length<=t+n&&e.offset+e.length>t&&r>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+r,length:e.offset-t+e.length})]:e.offset>=t&&e.offset+e.length>t+n&&t+n>e.offset&&o>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+o,length:e.offset+e.length-(t+n)})]:e}var qZt=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},WZt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"},GZt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function VZt(e){if(-1!==GZt.indexOf(e.type))return _.default.renderToStaticMarkup(e);var t=_.default.renderToStaticMarkup(g.default.cloneElement(e,{},"\r")).split("\r");return CTe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),CTe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function XZt(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}function HZt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==e)return e;if("string"==typeof e)return e;if(g.default.isValidElement(e)){if(XZt(e))return _.default.renderToStaticMarkup(e);var n=VZt(e);if(null!==t&&"object"===bm(n)){var i=n.start,r=n.end;return i+t+r}return n}if(CTe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var o=e.start,a=e.end;return o+t+a}return e}var YZt=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(g.default.isValidElement(t)){var i=VZt(t);if("string"==typeof i)return 0;var r=i[n].length,o=g.default.Children.toArray(t.props.children)[0];return r+(o&&g.default.isValidElement(o)?e(o,n):0)}return"object"===bm(t)&&t[n]?t[n].length:0},ZZt=function(){var e=arguments.length>1?arguments[1]:void 0;return e},KZt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ZZt,i=FBe(e.text),r=n;if(n.__isMiddleware&&(r=n(ZZt)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(qZt),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),c=r(s,l),u=FBe(HZt(c,l)||l),d=YZt(c,"start"),p=YZt(c,"end"),f=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?UZt(t,n.offset,n.length,u.length,d,p):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=f(o),a=f(a),i=[].concat(FBe(i.slice(0,n.offset)),FBe(u),FBe(i.slice(n.offset+n.length)))},l=0;l<o.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:a,entityRanges:o})}return e},JZt=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},eKt=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function tKt(e){switch(e){case"BOLD":return g.default.createElement("strong",null);case"ITALIC":return g.default.createElement("em",null);case"UNDERLINE":return g.default.createElement("u",null);case"CODE":return g.default.createElement("code",null);default:return{start:"",end:""}}}var nKt=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},iKt=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return CTe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},rKt=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},oKt=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},aKt=function(e,t){return t.offset+t.length-(e.offset+e.length)},sKt=function(e,t){for(var n=0;n<e.length;){if(!t.every(oKt.bind(null,e[n])))return e.slice(n);n++}return[]},lKt=function(e,t,n){return t+HZt(e(n.style)).start},cKt=function(e,t,n){return HZt(e(n.style)).end+t},uKt=function(e){return function(t){return e(t)}};uKt.__isMiddleware=!0;var dKt=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function pKt(e){return CTe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:g.default.isValidElement(e)?function(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}(e)?_.default.renderToStaticMarkup(e):VZt(e):Object.prototype.hasOwnProperty.call(e,"element")&&g.default.isValidElement(e.element)?Object.assign({},e,VZt(e.element)):(CTe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e)}function fKt(e,t){if(CTe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=VZt(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(g.default.isValidElement(e.nest)){var o=VZt(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return CTe(Object.prototype.hasOwnProperty.call(e,"nestStart")&&Object.prototype.hasOwnProperty.call(e,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e}var hKt=["1","a","i"],mKt={unstyled:g.default.createElement("p",null),paragraph:g.default.createElement("p",null),"header-one":g.default.createElement("h1",null),"header-two":g.default.createElement("h2",null),"header-three":g.default.createElement("h3",null),"header-four":g.default.createElement("h4",null),"header-five":g.default.createElement("h5",null),"header-six":g.default.createElement("h6",null),blockquote:g.default.createElement("blockquote",null),"unordered-list-item":{element:g.default.createElement("li",null),nest:g.default.createElement("ul",null)},"ordered-list-item":{element:g.default.createElement("li",null),nest:function(e){var t=hKt[e%3];return g.default.createElement("ol",{type:t})}},media:g.default.createElement("figure",null),atomic:g.default.createElement("figure",null)},gKt=function(e,t){return t},vKt=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,o=e.entityToHTML,a=void 0===o?gKt:o;return function(e){var t;CTe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(dKt(mKt)):eKt(dKt(r),dKt(mKt));var i=BZt.convertToRaw(e),o=[],s=i.blocks.map((function(e){var r=e.type,s=e.depth,l="",c="",u=t(e);if(!u)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(u.nest)for(;s+1!==o.length||r!==o[s].type;)if(s+1===o.length){var d=o[s];l+=fKt(t(d),s).nestEnd,c+=fKt(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var p=o[o.length-1];l+=fKt(t(p),s).nestEnd,o=o.slice(0,-1)}else c+=fKt(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+fKt(t(n),s).nestEnd}),""),o=[];var f,h=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:uKt;CTe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(tKt):eKt(JZt(n),JZt(tKt));for(var i="",r=[],o=e.inlineStyleRanges.sort(qZt),a=FBe(e.text),s=0;s<a.length;s++){var l=rKt(s,o),c=nKt(r,l),u=nKt(l,r),d=nKt(r,c),p=sKt(d,u),f=p.concat(u).sort(aKt),h=f.reduce(lKt.bind(null,t),"");i+=c.concat(p).reduce(cKt.bind(null,t),"")+h+a[s],r=(r=iKt(r,p.concat(c))).concat(f),CTe(r.length===l.length,"Character ".concat(s,": ").concat(r.length-l.length," styles left on stack that should no longer be there"))}return r.reduceRight((function(e,n){return e+HZt(t(n.style)).end}),i)}(KZt(function(e){for(var t=FBe(e.text),n=e.entityRanges.sort(qZt),i=e.inlineStyleRanges.sort(qZt),r="",o=function(e){var o=t[e];if(void 0!==WZt[o]){var a=WZt[o],s=FBe(r).length;r+=a;var l=function(e){return UZt(e,s,o.length,a.length,0,0)};n=n.map(l),i=i.map(l)}else r+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,a),n),m=pKt(t(e));return f="string"==typeof m?m:m.start+h+m.end,0===h.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(f=g.default.isValidElement(m.empty)?_.default.renderToStaticMarkup(m.empty):m.empty),l+c+f})).join("");return s=o.reduce((function(e,n){return e+fKt(t(n),n.depth).nestEnd}),s)}},bKt={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:X(e)}function r(e){return l(e)?e:H(e)}function o(e){return a(e)&&!c(e)?e:Y(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[f])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,b=v-1,y={},O={value:!1},w={value:!1};function _(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function E(e){return void 0===e.size&&(e.size=e.__iterate(P)),e.size}function C(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function P(){return!0}function F(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,$=1,R=2,j="function"==typeof Symbol&&Symbol.iterator,z="@@iterator",M=j||z;function L(e){this.next=e}function N(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function Q(){return{value:void 0,done:!0}}function B(e){return!!W(e)}function U(e){return e&&"function"==typeof e.next}function q(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(j&&e[j]||e[z]);if("function"==typeof t)return t}function G(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function X(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function H(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}L.prototype.toString=function(){return"[Iterator]"},L.KEYS=I,L.VALUES=$,L.ENTRIES=R,L.prototype.inspect=L.prototype.toSource=function(){return this.toString()},L.prototype[M]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(X,V),X.prototype.toKeyedSeq=function(){return this},t(H,V),H.of=function(){return H(arguments)},H.prototype.toIndexedSeq=function(){return this},H.prototype.toString=function(){return this.__toString("Seq [","]")},H.prototype.__iterate=function(e,t){return de(this,e,t,!1)},H.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(Y,V),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=X,V.Set=Y,V.Indexed=H;var Z,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():B(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=ue(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ue(e){return G(e)?new te(e):U(e)?new re(e):B(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new L((function(){var e=r[n?o-a:a];return a++>o?Q():N(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,H(t).map((function(n,i){return he(e,n,i,t)}))):ge(t)?e.call(i,n,X(t).map((function(n,i){return he(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?H(e).map(me).toList():ge(e)?X(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function be(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,y)):!ve(e.get(i,y),t))return d=!1,!1}));return d&&e.size===p}function ye(e,t){if(!(this instanceof ye))return new ye(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(K)return K;K=this}}function Oe(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(Oe(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(J)return J;J=this}}function _e(){throw TypeError("Abstract")}function xe(){}function ke(){}function Se(){}V.prototype[ee]=!0,t(te,H),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new L((function(){return r>i?Q():N(e,r,n[t?i-r++:r++])}))},t(ne,X),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new L((function(){var a=i[t?r-o:o];return o++>r?Q():N(e,a,n[a])}))},ne.prototype[h]=!0,t(ie,H),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(U(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=q(this._iterable);if(!U(n))return new L(Q);var i=0;return new L((function(){var t=n.next();return t.done?t:N(e,i++,t.value)}))},t(re,H),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new L((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return N(e,r,i[r++])}))},t(ye,H),ye.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ye.prototype.get=function(e,t){return this.has(e)?this._value:t},ye.prototype.includes=function(e){return ve(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:new ye(this._value,D(t,n)-T(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},ye.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ye.prototype.__iterator=function(e,t){var n=this,i=0;return new L((function(){return i<n.size?N(e,i++,n._value):Q()}))},ye.prototype.equals=function(e){return e instanceof ye?ve(this._value,e._value):be(e)},t(we,H),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return F(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new L((function(){var a=r;return r+=t?-i:i,o>n?Q():N(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:be(this,e)},t(_e,n),t(xe,_e),t(ke,_e),t(Se,_e),_e.Keyed=xe,_e.Indexed=ke,_e.Set=Se;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function Pe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ce(n)}if("string"===t)return e.length>Le?Fe(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Fe(e){var t=Be[e];return void 0===t&&(t=Te(e),Qe===Ne&&(Qe=0,Be={}),Qe++,Be[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ce(t)}function De(e){var t;if(je&&void 0!==(t=Re.get(e)))return t;if(void 0!==(t=e[Me]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Me]))return t;if(void 0!==(t=$e(e)))return t}if(t=++ze,1073741824&ze&&(ze=0),je)Re.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Me,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Me]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Me]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function $e(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Re,je="function"==typeof WeakMap;je&&(Re=new WeakMap);var ze=0,Me="__immutablehash__";"function"==typeof Symbol&&(Me=Symbol(Me));var Le=16,Ne=255,Qe=0,Be={};function Ue(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():We(e)&&!u(e)?e:rt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(qe,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,y)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return y}))},qe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},qe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=gt(this,_n(e),t,n);return i===y?void 0:i},qe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},qe.prototype.merge=function(){return pt(this,void 0,arguments)},qe.prototype.mergeWith=function(t){return pt(this,t,e.call(arguments,1))},qe.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},qe.prototype.mergeDeep=function(){return pt(this,ft,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ht(t),n)},qe.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},qe.prototype.sort=function(e){return Bt(dn(this,e))},qe.prototype.sortBy=function(e,t){return Bt(dn(this,t,e))},qe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},qe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},qe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qe.isMap=We;var Ge,Ve="@@__IMMUTABLE_MAP__@@",Xe=qe.prototype;function He(e,t){this.ownerID=e,this.entries=t}function Ye(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return N(e,t[0],t[1])}function nt(e,t){return{node:e,index:0,__prev:t}}function it(e,t,n,i){var r=Object.create(Xe);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ge||(Ge=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=_(O),a=_(w);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===y?-1:1:0)}else{if(n===y)return e;r=1,i=new He(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===y?e:(x(s),x(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&b,s=(0===n?i:i>>>n)&b;return new Ye(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ct(e,t,n,i){e||(e=new k);for(var r=new Je(e,Pe(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ut(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==i&&(r|=l,a[o++]=u)}return new Ye(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return fe(e)}))),r.push(l)}return mt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,y,(function(e){return e===y?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function gt(e,t,n,i){var r=e===y,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.value,c=r?y:e.get(l,y),u=gt(c,t,n,i);return u===c?e:u===y?e.remove(l):(r?rt():e).set(l,u)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function bt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function yt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Xe[Ve]=!0,Xe[m]=Xe.remove,Xe.removeIn=Xe.deleteIn,He.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},He.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===y,l=this.entries,c=0,u=l.length;c<u&&!ve(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ct(e,l,i,r);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new He(e,f)}},Ye.prototype.get=function(e,t,n,i){void 0===t&&(t=Pe(n));var r=1<<((0===e?t:t>>>e)&b),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},Ye.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=(0===t?n:n>>>t)&b,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&r===y)return this;var d=vt(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=at(f,e,t+g,n,i,r,o,a);if(h===f)return this;if(!u&&h&&p.length>=_t)return dt(e,p,c,s,h);if(u&&!h&&2===p.length&&st(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&st(h))return h;var m=e&&e===this.ownerID,v=u?h?c:c^l:c|l,O=u?h?bt(p,d,h,m):Ot(p,d,m):yt(p,d,h,m);return m?(this.bitmap=v,this.nodes=O,this):new Ye(e,v,O)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Pe(n));var r=(0===e?t:t>>>e)&b,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=(0===t?n:n>>>t)&b,l=r===y,c=this.nodes,u=c[s];if(l&&!u)return this;var d=at(u,e,t+g,n,i,r,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<xt)return ut(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=bt(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new Ze(e,p,h)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Pe(i));var s=r===y;if(n!==this.keyHash)return s?this:(x(a),x(o),lt(this,e,t,n,[i,r]));for(var l=this.entries,c=0,u=l.length;c<u&&!ve(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(x(a),(s||!d)&&x(o),s&&2===u)return new Je(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:S(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new Ke(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,o,a){var s=r===y,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,Pe(i),[i,r])))},He.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Ye.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,L),et.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return Q()};var wt=v/4,_t=v/2,xt=v/4;function kt(e){var t=$t();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Ue(i),i>0&&i<v?It(0,i,g,null,new Pt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function St(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=C(this,e))>=0&&e<this.size){var n=Mt(this,e+=this._origin);return n&&n.array[e&b]}return t},kt.prototype.set=function(e,t){return Rt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):$t()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Lt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},kt.prototype.pop=function(){return Lt(this,0,-1)},kt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Lt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},kt.prototype.shift=function(){return Lt(this,1)},kt.prototype.merge=function(){return Nt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Nt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Nt(this,ft,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Nt(this,ht(t),n)},kt.prototype.setSize=function(e){return Lt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:Lt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new L((function(){var t=i();return t===Dt?Q():N(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Et="@@__IMMUTABLE_LIST__@@",Ct=kt.prototype;function Pt(e,t){this.array=e,this.ownerID=t}Ct[Et]=!0,Ct[m]=Ct.remove,Ct.setIn=Xe.setIn,Ct.deleteIn=Ct.removeIn=Xe.removeIn,Ct.update=Xe.update,Ct.updateIn=Xe.updateIn,Ct.mergeIn=Xe.mergeIn,Ct.mergeDeepIn=Xe.mergeDeepIn,Ct.withMutations=Xe.withMutations,Ct.asMutable=Xe.asMutable,Ct.asImmutable=Xe.asImmutable,Ct.wasAltered=Xe.wasAltered,Pt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&b;if(i>=this.array.length)return new Pt([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=zt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Pt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&b;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=zt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Qt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,c=i-a;return c>v&&(c=v),function(){if(l===c)return Dt;var e=t?--c:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,c=o>n?0:n-o>>r,u=1+(i-o>>r);return u>v&&(u=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===u)return Dt;var n=t?--u:c++;s=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){var s=Object.create(Ct);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function $t(){return Ft||(Ft=It(0,0,g))}function Rt(e,t,n){if((t=C(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Lt(e,t).set(0,n):Lt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=_(w);return t>=Qt(e._capacity)?i=jt(i,e.__ownerID,0,t,n,o):r=jt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function jt(e,t,n,i,r,o){var a,s=i>>>n&b,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var c=e&&e.array[s],u=jt(c,t,n-g,i,r,o);return u===c?e:((a=zt(e,t)).array[s]=u,a)}return l&&e.array[s]===r?e:(x(o),a=zt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function zt(e,t){return t&&e&&t===e.ownerID?e:new Pt(e?e.array.slice():[],t)}function Mt(e,t){if(t>=Qt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&b],i-=g;return n}}function Lt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new Pt(c&&c.array.length?[void 0,c]:[],i),u+=1<<(l+=g);u&&(a+=u,r+=u,s+=u,o+=u);for(var d=Qt(o),p=Qt(s);p>=1<<l+g;)c=new Pt(c&&c.array.length?[c]:[],i),l+=g;var f=e._tail,h=p<d?Mt(e,s-1):p>d?new Pt([],i):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=zt(c,i),v=l;v>g;v-=g){var y=d>>>v&b;m=m.array[y]=zt(m.array[y],i)}m.array[d>>>g&b]=f}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,c=null,h=h&&h.removeBefore(i,0,a);else if(a>r||p<d){for(u=0;c;){var O=a>>>l&b;if(O!==p>>>l&b)break;O&&(u+=(1<<l)*O),l-=g,c=c.array[O]}c&&a>r&&(c=c.removeBefore(i,l,a-u)),c&&p<d&&(c=c.removeAfter(i,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,c,h)}function Nt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],c=r(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return fe(e)}))),i.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Qt(e){return e<v?0:e-1>>>g<<g}function Bt(e){return null==e?Wt():Ut(e)?e:Wt().withMutations((function(t){var n=i(e);Ue(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ut(e){return We(e)&&u(e)}function qt(e,t,n,i){var r=Object.create(Bt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return Tt||(Tt=qt(rt(),$t()))}function Gt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===y){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Xt(e){this._iter=e,this.size=e.size}function Ht(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){var t=yn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=On,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===R){var i=e.__iterator(t,n);return new L((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===$?I:$,n)},t}function Kt(e,t,n){var i=yn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,y);return o===y?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(R,r);return new L((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return N(i,s,t.call(n,a[1],s,e),r)}))},i}function Jt(e,t){var n=yn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=yn(e);return i&&(r.has=function(i){var r=e.get(i,y);return r!==y&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,y);return o!==y&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(R,o),s=0;return new L((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return N(r,i?c:s++,u,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(u(e)?Bt():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=bn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var c=yn(e);return c.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=C(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,i?n:c-1,r)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),a=0,l=0;return new L((function(){for(;a++<o;)r.next();if(++l>s)return Q();var e=r.next();return i||t===$?e:N(t,l-1,t===I?void 0:e.value[1],e)}))},c}function on(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(R,r),s=!0;return new L((function(){if(!s)return Q();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],c=r[1];return t.call(n,c,l,o)?i===R?e:N(i,l,c,e):(s=!1,Q())}))},i}function an(e,t,n,i){var r=yn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(R,o),l=!0,c=0;return new L((function(){var e,o,u;do{if((e=s.next()).done)return i||r===$?e:N(r,c++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return r===R?e:N(r,o,u,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(r);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function ln(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,c){var u=this;e.__iterate((function(e,r){return(!t||c<t)&&a(e)?l(e,c+1):!1===i(e,n?r:o++,u)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new L((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(i===R&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:N(i,l++,c,e);s.push(o),o=c.__iterator(i,r)}else o=s.pop()}return Q()}))},i}function cn(e,t,n){var i=bn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function un(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator($,i),a=0;return new L((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?N(n,a++,t):N(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?X(o):l(e)?H(o):Y(o)}function pn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=yn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator($,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new L((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?Q():N(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ue(e.size),E(e)}function bn(e){return s(e)?i:l(e)?r:o}function yn(e){return Object.create((s(e)?X:l(e)?H:Y).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=q(e);if(!t){if(!G(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);Cn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(Bt,qe),Bt.of=function(){return this(arguments)},Bt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Bt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Bt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Wt()},Bt.prototype.set=function(e,t){return Gt(this,e,t)},Bt.prototype.remove=function(e){return Gt(this,e,y)},Bt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Bt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Bt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Bt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?qt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Bt.isOrderedMap=Ut,Bt.prototype[h]=!0,Bt.prototype[m]=Bt.prototype.remove,t(Vt,X),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=Kt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator($,t),i=t?vn(this):0;return new L((function(){var r=n.next();return r.done?r:N(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Xt,H),Xt.prototype.includes=function(e){return this._iter.includes(e)},Xt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Xt.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t),i=0;return new L((function(){var t=n.next();return t.done?t:N(e,i++,t.value,t)}))},t(Ht,Y),Ht.prototype.has=function(e){return this._iter.includes(e)},Ht.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t);return new L((function(){var t=n.next();return t.done?t:N(e,t.value,t.value,t)}))},t(Yt,X),Yt.prototype.entrySeq=function(){return this._iter.toSeq()},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator($,t);return new L((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=a(i);return N(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Xt.prototype.cacheResult=Vt.prototype.cacheResult=Ht.prototype.cacheResult=Yt.prototype.cacheResult=On,t(xn,xe),xn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},xn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},xn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=xn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function En(e){return e._name||e.constructor.name||"Record"}function Cn(e,t){try{t.forEach(Pn.bind(void 0,e))}catch(e){}}function Pn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){Oe(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Fn(e){return null==e?jn():Tn(e)&&!u(e)?e:jn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Xe.removeIn,kn.merge=Xe.merge,kn.mergeWith=Xe.mergeWith,kn.mergeIn=Xe.mergeIn,kn.mergeDeep=Xe.mergeDeep,kn.mergeDeepWith=Xe.mergeDeepWith,kn.mergeDeepIn=Xe.mergeDeepIn,kn.setIn=Xe.setIn,kn.update=Xe.update,kn.updateIn=Xe.updateIn,kn.withMutations=Xe.withMutations,kn.asMutable=Xe.asMutable,kn.asImmutable=Xe.asImmutable,t(Fn,Se),Fn.of=function(){return this(arguments)},Fn.fromKeys=function(e){return this(i(e).keySeq())},Fn.prototype.toString=function(){return this.__toString("Set {","}")},Fn.prototype.has=function(e){return this._map.has(e)},Fn.prototype.add=function(e){return $n(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return $n(this,this._map.remove(e))},Fn.prototype.clear=function(){return $n(this,this._map.clear())},Fn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return zn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return zn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.prototype;function $n(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Rn(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Dn||(Dn=Rn(rt()))}function zn(e){return null==e?Bn():Mn(e)?e:Bn().withMutations((function(t){var n=o(e);Ue(n.size),n.forEach((function(e){return t.add(e)}))}))}function Mn(e){return Tn(e)&&u(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Xe.withMutations,In.asMutable=Xe.asMutable,In.asImmutable=Xe.asImmutable,In.__empty=jn,In.__make=Rn,t(zn,Fn),zn.of=function(){return this(arguments)},zn.fromKeys=function(e){return this(i(e).keySeq())},zn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},zn.isOrderedSet=Mn;var Ln,Nn=zn.prototype;function Qn(e,t){var n=Object.create(Nn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Bn(){return Ln||(Ln=Qn(Wt()))}function Un(e){return null==e?Hn():qn(e)?e:Hn().unshiftAll(e)}function qn(e){return!(!e||!e[Gn])}Nn[h]=!0,Nn.__empty=Bn,Nn.__make=Qn,t(Un,ke),Un.of=function(){return this(arguments)},Un.prototype.toString=function(){return this.__toString("Stack [","]")},Un.prototype.get=function(e,t){var n=this._head;for(e=C(this,e);n&&e--;)n=n.next;return n?n.value:t},Un.prototype.peek=function(){return this._head&&this._head.value},Un.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Xn(e,t)},Un.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Ue(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Xn(t,n)},Un.prototype.pop=function(){return this.slice(1)},Un.prototype.unshift=function(){return this.push.apply(this,arguments)},Un.prototype.unshiftAll=function(e){return this.pushAll(e)},Un.prototype.shift=function(){return this.pop.apply(this,arguments)},Un.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Hn()},Un.prototype.slice=function(e,t){if(F(e,t,this.size))return this;var n=T(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Xn(i,r)},Un.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Xn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Un.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},Un.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new L((function(){if(i){var t=i.value;return i=i.next,N(e,n++,t)}return Q()}))},Un.isStack=qn;var Wn,Gn="@@__IMMUTABLE_STACK__@@",Vn=Un.prototype;function Xn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Hn(){return Wn||(Wn=Xn(0))}function Yn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Gn]=!0,Vn.withMutations=Xe.withMutations,Vn.asMutable=Xe.asMutable,Vn.asImmutable=Xe.asImmutable,Vn.wasAltered=Xe.wasAltered,n.Iterator=L,Yn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Xt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Bt(this.toKeyedSeq())},toOrderedSet:function(){return zn(s(this)?this.valueSeq():this)},toSet:function(){return Fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Ht(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Un(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(R)},every:function(e,t){Ue(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return mn(this,Kt(this,e,t))},reduce:function(e,t,n){var i,r;return Ue(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator($)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return be(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(P)},flatMap:function(e,t){return mn(this,cn(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Yt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=_n(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,y):y)===y)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,y)!==y},hasIn:function(e){return this.getIn(e,y)!==y},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[M]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Yn(i,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Pe(e),Pe(t))|0}:function(e,t){i=i+li(Pe(e),Pe(t))|0}:t?function(e){i=31*i+Pe(e)|0}:function(e){i=i+Pe(e)|0});return si(r,i)}function si(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ce((t=Ee(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[M]=Zn.entries,Kn.__toJS=Zn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Yn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Jt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return mn(this,1===n?i:i.concat(S(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,ln(this,e,!1))},get:function(e,t){return(e=C(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=C(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,un(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=hn(this.toSeq(),H.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),r.prototype[f]=!0,r.prototype[h]=!0,Yn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Zn.includes,Yn(X,i.prototype),Yn(H,r.prototype),Yn(Y,o.prototype),Yn(xe,i.prototype),Yn(ke,r.prototype),Yn(Se,o.prototype),{Iterable:n,Seq:V,Collection:_e,Map:qe,OrderedMap:Bt,List:kt,Stack:Un,Set:Fn,OrderedSet:zn,Record:xn,Range:we,Repeat:ye,is:ve,fromJS:fe}}()}(bKt);var yKt=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function OKt(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=yKt(e)):t=yKt(e);return t.body}var wKt=" ",_Kt=new RegExp("\r","g"),xKt=new RegExp("\n","g"),kKt=new RegExp(" ","g"),SKt=new RegExp("\r","g"),EKt=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],CKt={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},PKt=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},FKt=function(e,t,n){},TKt=function(e,t,n){return n},DKt=function(e,t){},AKt=function(e){return[]},IKt=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function $Kt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:bKt.exports.Map();return!0===n?{text:"\r",inlines:[bKt.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[bKt.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function RKt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:bKt.exports.Map();return{text:"\r",inlines:[bKt.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function jKt(e,t){switch(e){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===t?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function zKt(e,t,n){return jKt(e,n)}function MKt(e,t,n){var i=CKt[e];if(i)n=n.add(i).toOrderedSet();else if(t instanceof HTMLElement){var r=t;n=n.withMutations((function(e){"bold"===r.style.fontWeight&&e.add("BOLD"),"italic"===r.style.fontStyle&&e.add("ITALIC"),"underline"===r.style.textDecoration&&e.add("UNDERLINE"),"line-through"===r.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function LKt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:bKt.exports.OrderedSet();return MKt(e,t,n)}function NKt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),o="\r"===r&&"\r"===i,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(o&&(a||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(t.text===wKt||"\n"===t.text)return e;i!==wKt&&"\n"!==i||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var l=0===e.text.length&&t.isNewline;return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks),isNewline:l}}function QKt(e,t,n,i,r,o,a,s,l,c,u,d,p,f,h,m){var g=e.nodeName.toLowerCase(),v=!1,b="unstyled";if("#text"===g){var y=e.textContent;if(""===y.trim()&&null===i)return{text:"",inlines:[],entities:[],blocks:[]};if(""===y.trim()&&"code-block"!==i)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:wKt,inlines:[bKt.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(y=y.replace(xKt,wKt));var O=Array(y.length).fill(m),w=0;return l(y,u,d,p,f).sort(qZt).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+w;null==r&&(r=y.substr(o,i));var a=y.split("");a.splice.bind(a,o,i).apply(a,r.split("")),y=a.join(""),O.splice.bind(O,o,i).apply(O,Array(r.length).fill(t)),w+=r.length-i})),{text:y,inlines:Array(y.length).fill(t),entities:O,blocks:[]}}if("br"===g){var _=i;return null===_?$Kt("unstyled",o,!0):$Kt(_||"unstyled",o,h.flat)}var x={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=MKt(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,i=null);var k,S,E=c(g,e,n,i);if(!1===E)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(E=E||{})?(k=E,S=bKt.exports.Map()):(k="string"==typeof E?E:E.type,S=E.data?bKt.exports.Map(E.data):bKt.exports.Map()),i||-1===r.indexOf(g)&&!k)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===k&&(i=k,v=!0,x=$Kt(k,o,!0,S));else{var C=jKt(g,n);x=RKt(C,o),i=C,v=!0,b="ul"===n?"unordered-list-item":"ordered-list-item"}else x=RKt(k||jKt(g,n),o,S),i=k||jKt(g,n),v=!0;var P=e.firstChild;null!=P||!m||"atomic"!==k&&"atomic"!==i||(P=document.createTextNode("a")),null!=P&&(g=P.nodeName.toLowerCase());for(var F=null;P;){F=s(g,P,u,d,p,f),x=NKt(x,QKt(P,t,n,i,r,o,a,s,l,c,u,d,p,f,h,F||m),h.flat);var T=P.nextSibling;if(T&&r.indexOf(g)>=0&&i){var D=c(g,P,n,i),A=void 0,I=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,I=bKt.exports.Map()):(A=D.type||jKt(g,n),I=D.data?bKt.exports.Map(D.data):bKt.exports.Map()),x=NKt(x,$Kt(A,o,h.flat,I),h.flat))}T&&(g=T.nodeName.toLowerCase()),P=T}return v&&(x=NKt(x,RKt(b,o,bKt.exports.Map()),h.flat)),x}function BKt(e,t,n,i,r,o,a,s,l,c,u){var d=u(e=e.trim().replace(_Kt,"").replace(kKt,wKt));if(!d)return null;var p=function(e){return EKt.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?EKt.concat(["div"]):["div"],f=QKt(d,bKt.exports.OrderedSet(),"ul",null,p,-1,t,n,i,r,o,a,s,l,c);return 0===f.text.indexOf("\r")&&(f={text:f.text.slice(1),inlines:f.inlines.slice(1),entities:f.entities.slice(1),blocks:f.blocks}),"\r"===f.text.slice(-1)&&(f.text=f.text.slice(0,-1),f.inlines=f.inlines.slice(0,-1),f.entities=f.entities.slice(0,-1),f.blocks.pop()),0===f.blocks.length&&f.blocks.push({type:"unstyled",data:bKt.exports.Map(),depth:0}),f.text.split("\r").length===f.blocks.length+1&&f.blocks.unshift({type:"unstyled",data:bKt.exports.Map(),depth:0}),f}function UKt(e,t,n,i,r,o,a,s,l,c,u,d){var p=BKt(e,t,n,i,r,o,a,s,l,c,u);if(null==p)return[];var f=0;return p.text.split("\r").map((function(e,t){e=e.replace(SKt,"");var n=f+e.length,i=IKt(p).inlines.slice(f,n),r=IKt(p).entities.slice(f,n),o=bKt.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),BZt.CharacterMetadata.create(n)})));return f=n+1,new BZt.ContentBlock({key:d(),type:IKt(p).blocks[t].type,data:IKt(p).blocks[t].data,depth:IKt(p).blocks[t].depth,text:e,characterList:o})}))}var qKt=function(e){var t=e.htmlToStyle,n=void 0===t?TKt:t,i=e.htmlToEntity,r=void 0===i?DKt:i,o=e.textToEntity,a=void 0===o?AKt:o,s=e.htmlToBlock,l=void 0===s?FKt:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:OKt,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:BZt.genKey,s=BZt.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():BZt.Entity.create.apply(BZt.Entity,arguments)},u=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):BZt.Entity.get.apply(BZt.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):BZt.Entity.mergeData.apply(BZt.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):BZt.Entity.replaceData.apply(BZt.Entity,arguments)},f=UKt(e,PKt(n,LKt),PKt(r,DKt),PKt(a,AKt),PKt(l,zKt),c,u,d,p,t,i,o),h=BZt.BlockMapBuilder.createFromArray(f),m=f[0].getKey();return s.merge({blockMap:h,selectionBefore:BZt.SelectionState.createEmpty(m),selectionAfter:BZt.SelectionState.createEmpty(m)})}},WKt=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?qKt({}).apply(void 0,arguments):qKt.apply(void 0,arguments)};u1('/**\n * Draft v0.11.6\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:rgba(255,255,255,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}');var GKt=32,VKt=31,XKt={};function HKt(e){e&&(e.value=!0)}function YKt(){}function ZKt(e){return void 0===e.size&&(e.size=e.__iterate(JKt)),e.size}function KKt(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?ZKt(e)+t:t}function JKt(){return!0}function eJt(e,t,n){return(0===e&&!rJt(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function tJt(e,t){return iJt(e,t,0)}function nJt(e,t){return iJt(e,t,t)}function iJt(e,t,n){return void 0===e?n:rJt(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function rJt(e){return e<0||0===e&&1/e==-1/0}var oJt="@@__IMMUTABLE_ITERABLE__@@";function aJt(e){return Boolean(e&&e[oJt])}var sJt="@@__IMMUTABLE_KEYED__@@";function lJt(e){return Boolean(e&&e[sJt])}var cJt="@@__IMMUTABLE_INDEXED__@@";function uJt(e){return Boolean(e&&e[cJt])}function dJt(e){return lJt(e)||uJt(e)}var pJt=function(e){return aJt(e)?e:$Jt(e)},fJt=function(e){function t(e){return lJt(e)?e:RJt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pJt),hJt=function(e){function t(e){return uJt(e)?e:jJt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pJt),mJt=function(e){function t(e){return aJt(e)&&!dJt(e)?e:zJt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(pJt);pJt.Keyed=fJt,pJt.Indexed=hJt,pJt.Set=mJt;var gJt="@@__IMMUTABLE_SEQ__@@";function vJt(e){return Boolean(e&&e[gJt])}function bJt(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function yJt(e){return aJt(e)||bJt(e)}var OJt="@@__IMMUTABLE_ORDERED__@@";function wJt(e){return Boolean(e&&e[OJt])}var _Jt="function"==typeof Symbol&&Symbol.iterator,xJt="@@iterator",kJt=_Jt||xJt,SJt=function(e){this.next=e};function EJt(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function CJt(){return{value:void 0,done:!0}}function PJt(e){return!!DJt(e)}function FJt(e){return e&&"function"==typeof e.next}function TJt(e){var t=DJt(e);return t&&t.call(e)}function DJt(e){var t=e&&(_Jt&&e[_Jt]||e["@@iterator"]);if("function"==typeof t)return t}SJt.prototype.toString=function(){return"[Iterator]"},SJt.KEYS=0,SJt.VALUES=1,SJt.ENTRIES=2,SJt.prototype.inspect=SJt.prototype.toSource=function(){return this.toString()},SJt.prototype[kJt]=function(){return this};var AJt=Object.prototype.hasOwnProperty;function IJt(e){return!(!Array.isArray(e)&&"string"!=typeof e)||e&&"object"==typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var $Jt=function(e){function t(e){return null==e?BJt():yJt(e)?e.toSeq():function(e){var t=WJt(e);if(t)return t;if("object"==typeof e)return new LJt(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var i=n.length,r=0;r!==i;){var o=n[t?i-++r:r++];if(!1===e(o[1],o[0],this))break}return r}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var i=n.length,r=0;return new SJt((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return EJt(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(pJt),RJt=function(e){function t(e){return null==e?BJt().toKeyedSeq():aJt(e)?lJt(e)?e.toSeq():e.fromEntrySeq():bJt(e)?e.toSeq():UJt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}($Jt),jJt=function(e){function t(e){return null==e?BJt():aJt(e)?lJt(e)?e.entrySeq():e.toIndexedSeq():bJt(e)?e.toSeq().entrySeq():qJt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}($Jt),zJt=function(e){function t(e){return(aJt(e)&&!dJt(e)?e:jJt(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}($Jt);$Jt.isSeq=vJt,$Jt.Keyed=RJt,$Jt.Set=zJt,$Jt.Indexed=jJt,$Jt.prototype[gJt]=!0;var MJt=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[KKt(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var o=t?i-++r:r++;if(!1===e(n[o],o,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new SJt((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return EJt(e,o,n[o])}))},t}(jJt),LJt=function(e){function t(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return AJt.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,o=0;o!==r;){var a=i[t?r-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,o=0;return new SJt((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return EJt(e,a,n[a])}))},t}(RJt);LJt.prototype[OJt]=!0;var NJt,QJt=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=TJt(this._collection),i=0;if(FJt(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=TJt(this._collection);if(!FJt(n))return new SJt(CJt);var i=0;return new SJt((function(){var t=n.next();return t.done?t:EJt(e,i++,t.value)}))},t}(jJt);function BJt(){return NJt||(NJt=new MJt([]))}function UJt(e){var t=Array.isArray(e)?new MJt(e):PJt(e)?new QJt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new LJt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function qJt(e){var t=WJt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function WJt(e){return IJt(e)?new MJt(e):PJt(e)?new QJt(e):void 0}var GJt="@@__IMMUTABLE_MAP__@@";function VJt(e){return Boolean(e&&e[GJt])}function XJt(e){return VJt(e)&&wJt(e)}function HJt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function YJt(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(HJt(e)&&HJt(t)&&e.equals(t))}var ZJt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function KJt(e){return e>>>1&1073741824|3221225471&e}var JJt=Object.prototype.valueOf;function e0t(e){switch(typeof e){case"boolean":return e?1108378657:1108378656;case"number":return function(e){if(e!=e||e===1/0)return 0;var t=0|e;t!==e&&(t^=4294967295*e);for(;e>4294967295;)t^=e/=4294967295;return KJt(t)}(e);case"string":return e.length>l0t?function(e){var t=d0t[e];void 0===t&&(t=t0t(e),u0t===c0t&&(u0t=0,d0t={}),u0t++,d0t[e]=t);return t}(e):t0t(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?KJt(e.hashCode(e)):(e.valueOf!==JJt&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(o0t&&void 0!==(t=r0t.get(e)))return t;if(void 0!==(t=e[s0t]))return t;if(!i0t){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[s0t]))return t;if(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e),void 0!==t)return t}t=++a0t,1073741824&a0t&&(a0t=0);if(o0t)r0t.set(e,t);else{if(void 0!==n0t&&!1===n0t(e))throw new Error("Non-extensible objects are not allowed as keys.");if(i0t)Object.defineProperty(e,s0t,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[s0t]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[s0t]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return t0t(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function t0t(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return KJt(t)}var n0t=Object.isExtensible,i0t=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var r0t,o0t="function"==typeof WeakMap;o0t&&(r0t=new WeakMap);var a0t=0,s0t="__immutablehash__";"function"==typeof Symbol&&(s0t=Symbol(s0t));var l0t=16,c0t=255,u0t=0,d0t={},p0t=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=b0t(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=v0t(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,i){return e(t,i,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(RJt);p0t.prototype[OJt]=!0;var f0t=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,i=0;return t&&ZKt(this),this._iter.__iterate((function(r){return e(r,t?n.size-++i:i++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,i=this._iter.__iterator(1,t),r=0;return t&&ZKt(this),new SJt((function(){var o=i.next();return o.done?o:EJt(e,t?n.size-++r:r++,o.value,o)}))},t}(jJt),h0t=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new SJt((function(){var t=n.next();return t.done?t:EJt(e,t.value,t.value,t)}))},t}(zJt),m0t=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){F0t(t);var i=aJt(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new SJt((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){F0t(i);var r=aJt(i);return EJt(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(RJt);function g0t(e){var t=D0t(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=A0t,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var i=e.__iterator(t,n);return new SJt((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function v0t(e,t,n){var i=D0t(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,XKt);return o===XKt?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(2,r);return new SJt((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return EJt(i,s,t.call(n,a[1],s,e),r)}))},i}function b0t(e,t){var n=this,i=D0t(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=g0t(e);return t.reverse=function(){return e.flip()},t}),i.get=function(n,i){return e.get(t?n:-1-n,i)},i.has=function(n){return e.has(t?n:-1-n)},i.includes=function(t){return e.includes(t)},i.cacheResult=A0t,i.__iterate=function(n,i){var r=this,o=0;return i&&ZKt(e),e.__iterate((function(e,a){return n(e,t?a:i?r.size-++o:o++,r)}),!i)},i.__iterator=function(i,r){var o=0;r&&ZKt(e);var a=e.__iterator(2,!r);return new SJt((function(){var e=a.next();if(e.done)return e;var s=e.value;return EJt(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function y0t(e,t,n,i){var r=D0t(e);return i&&(r.has=function(i){var r=e.get(i,XKt);return r!==XKt&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,XKt);return o!==XKt&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(2,o),s=0;return new SJt((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return EJt(r,i?c:s++,u,o)}}))},r}function O0t(e,t,n,i){var r=e.size;if(eJt(t,n,r))return e;var o=tJt(t,r),a=nJt(n,r);if(o!=o||a!=a)return O0t(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var c=D0t(e);return c.size=0===s?s:e.size&&s||void 0,!i&&vJt(e)&&s>=0&&(c.get=function(t,n){return(t=KKt(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,i?n:c-1,r)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new SJt(CJt);var r=e.__iterator(t,n),a=0,l=0;return new SJt((function(){for(;a++<o;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:EJt(t,l-1,0===t?void 0:e.value[1],e)}))},c}function w0t(e,t,n,i){var r=D0t(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(2,o),l=!0,c=0;return new SJt((function(){var e,o,u;do{if((e=s.next()).done)return i||1===r?e:EJt(r,c++,0===r?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(n,u,o,a))}while(l);return 2===r?e:EJt(r,o,u,e)}))},r}function _0t(e,t){var n=lJt(e),i=[e].concat(t).map((function(e){return aJt(e)?n&&(e=fJt(e)):e=n?UJt(e):qJt(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var r=i[0];if(r===e||n&&lJt(r)||uJt(e)&&uJt(r))return r}var o=new MJt(i);return n?o=o.toKeyedSeq():uJt(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function x0t(e,t,n){var i=D0t(e);return i.__iterateUncached=function(r,o){if(o)return this.cacheResult().__iterate(r,o);var a=0,s=!1;return function e(l,c){l.__iterate((function(o,l){return(!t||c<t)&&aJt(o)?e(o,c+1):(a++,!1===r(o,n?l:a-1,i)&&(s=!0)),!s}),o)}(e,0),a},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(i,r),a=[],s=0;return new SJt((function(){for(;o;){var e=o.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(a.length<t)||!aJt(l))return n?e:EJt(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function k0t(e,t,n){t||(t=I0t);var i=lJt(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?RJt(o):uJt(e)?jJt(o):zJt(o)}function S0t(e,t,n){if(t||(t=I0t),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return E0t(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return E0t(t,e,n)?n:e}))}function E0t(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function C0t(e,t,n,i){var r=D0t(e),o=new MJt(n).map((function(e){return e.size}));return r.size=i?o.max():o.min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(1,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=n.map((function(e){return e=pJt(e),TJt(r?e.reverse():e)})),a=0,s=!1;return new SJt((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=i?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:EJt(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function P0t(e,t){return e===t?e:vJt(e)?t:e.constructor(t)}function F0t(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function T0t(e){return lJt(e)?fJt:uJt(e)?hJt:mJt}function D0t(e){return Object.create((lJt(e)?RJt:uJt(e)?jJt:zJt).prototype)}function A0t(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):$Jt.prototype.cacheResult.call(this)}function I0t(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e<t?-1:0}function $0t(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function R0t(e,t){if(!e)throw new Error(t)}function j0t(e){R0t(e!==1/0,"Cannot perform this action with an infinite size.")}function z0t(e){if(IJt(e)&&"string"!=typeof e)return e;if(wJt(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function M0t(e){return"object"==typeof e&&(yJt(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function L0t(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function N0t(e,t,n){return yJt(e)?e.get(t,n):function(e,t){return yJt(e)?e.has(t):M0t(e)&&AJt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function Q0t(e){if(Array.isArray(e))return $0t(e);var t={};for(var n in e)AJt.call(e,n)&&(t[n]=e[n]);return t}function B0t(e,t,n,i){i||(i=n,n=void 0);var r=U0t(yJt(e),e,z0t(t),0,n,i);return r===XKt?n:r}function U0t(e,t,n,i,r,o){var a=t===XKt;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!M0t(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(L0t)+"]: "+t);var c=n[i],u=a?XKt:N0t(t,c,XKt),d=U0t(u===XKt?e:yJt(u),u,n,i+1,r,o);return d===u?t:d===XKt?function(e,t){if(!M0t(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(yJt(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!AJt.call(e,t))return e;var n=Q0t(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!M0t(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(yJt(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(AJt.call(e,t)&&n===e[t])return e;var i=Q0t(e);return i[t]=n,i}(a?e?g1t():{}:t,c,d)}function q0t(e,t){return function(e,t,n){return B0t(e,t,XKt,(function(){return n}))}(this,e,t)}function W0t(e){return function(e,t){return B0t(e,t,(function(){return XKt}))}(this,e)}function G0t(e,t,n,i){return B0t(e,[t],n,i)}function V0t(e,t,n){return 1===arguments.length?e(this):G0t(this,e,t,n)}function X0t(e,t,n){return B0t(this,e,t,n)}function H0t(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=fJt(t[r]);0!==o.size&&i.push(o)}return 0===i.length?e:0!==e.toSeq().size||e.__ownerID||1!==i.length?e.withMutations((function(e){for(var t=n?function(t,i){G0t(e,i,XKt,(function(e){return e===XKt?t:n(e,t,i)}))}:function(t,n){e.set(n,t)},r=0;r<i.length;r++)i[r].forEach(t)})):e.constructor(i[0])}function Y0t(e,t,n){return Z0t(e,t,function(e){function t(n,i,r){return M0t(n)&&M0t(i)?Z0t(n,[i],t):e?e(n,i,r):i}return t}(n))}function Z0t(e,t,n){if(!M0t(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(yJt(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var i=Array.isArray(e),r=e,o=i?hJt:fJt,a=i?function(t){r===e&&(r=Q0t(r)),r.push(t)}:function(t,i){var o=AJt.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=Q0t(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function K0t(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return B0t(this,e,g1t(),(function(e){return Z0t(e,t)}))}function J0t(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return B0t(this,e,g1t(),(function(e){return Y0t(e,t)}))}function e1t(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function t1t(){return this.__ownerID?this:this.__ensureOwner(new YKt)}function n1t(){return this.__ensureOwner()}function i1t(){return this.__altered}f0t.prototype.cacheResult=p0t.prototype.cacheResult=h0t.prototype.cacheResult=m0t.prototype.cacheResult=A0t;var r1t=function(e){function t(t){return null==t?g1t():VJt(t)&&!wJt(t)?t:g1t().withMutations((function(n){var i=e(t);j0t(i.size),i.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return g1t().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return v1t(this,e,t)},t.prototype.remove=function(e){return v1t(this,e,XKt)},t.prototype.deleteAll=function(e){var t=pJt(e);return 0===t.size?this:this.withMutations((function(e){t.forEach((function(t){return e.remove(t)}))}))},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):g1t()},t.prototype.sort=function(e){return B1t(k0t(this,e))},t.prototype.sortBy=function(e,t){return B1t(k0t(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(i,r){n.set(r,e.call(t,i,r,n))}))}))},t.prototype.__iterator=function(e,t){return new p1t(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?m1t(this.size,this._root,e,this.__hash):0===this.size?g1t():(this.__ownerID=e,this.__altered=!1,this)},t}(fJt);r1t.isMap=VJt;var o1t=r1t.prototype;o1t[GJt]=!0,o1t.delete=o1t.remove,o1t.removeAll=o1t.deleteAll,o1t.setIn=q0t,o1t.removeIn=o1t.deleteIn=W0t,o1t.update=V0t,o1t.updateIn=X0t,o1t.merge=o1t.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return H0t(this,e)},o1t.mergeWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"!=typeof e)throw new TypeError("Invalid merger function: "+e);return H0t(this,t,e)},o1t.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Y0t(this,e)},o1t.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Y0t(this,t,e)},o1t.mergeIn=K0t,o1t.mergeDeepIn=J0t,o1t.withMutations=e1t,o1t.wasAltered=i1t,o1t.asImmutable=n1t,o1t["@@transducer/init"]=o1t.asMutable=t1t,o1t["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},o1t["@@transducer/result"]=function(e){return e.asImmutable()};var a1t=function(e,t){this.ownerID=e,this.entries=t};a1t.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(YJt(n,r[o][0]))return r[o][1];return i},a1t.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===XKt,l=this.entries,c=0,u=l.length;c<u&&!YJt(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(HKt(a),(s||!d)&&HKt(o),!s||1!==l.length){if(!d&&!s&&l.length>=x1t)return function(e,t,n,i){e||(e=new YKt);for(var r=new u1t(e,e0t(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}(e,l,i,r);var p=e&&e===this.ownerID,f=p?l:$0t(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new a1t(e,f)}};var s1t=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};s1t.prototype.get=function(e,t,n,i){void 0===t&&(t=e0t(n));var r=1<<((0===e?t:t>>>e)&VKt),o=this.bitmap;return 0==(o&r)?i:this.nodes[w1t(o&r-1)].get(e+5,t,n,i)},s1t.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=e0t(i));var s=(0===t?n:n>>>t)&VKt,l=1<<s,c=this.bitmap,u=0!=(c&l);if(!u&&r===XKt)return this;var d=w1t(c&l-1),p=this.nodes,f=u?p[d]:void 0,h=b1t(f,e,t+5,n,i,r,o,a);if(h===f)return this;if(!u&&h&&p.length>=k1t)return function(e,t,n,i,r){for(var o=0,a=new Array(GKt),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new l1t(e,o+1,a)}(e,p,c,s,h);if(u&&!h&&2===p.length&&y1t(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&y1t(h))return h;var m=e&&e===this.ownerID,g=u?h?c:c^l:c|l,v=u?h?_1t(p,d,h,m):function(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}(p,d,m):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(p,d,h,m);return m?(this.bitmap=g,this.nodes=v,this):new s1t(e,g,v)};var l1t=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};l1t.prototype.get=function(e,t,n,i){void 0===t&&(t=e0t(n));var r=(0===e?t:t>>>e)&VKt,o=this.nodes[r];return o?o.get(e+5,t,n,i):i},l1t.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=e0t(i));var s=(0===t?n:n>>>t)&VKt,l=r===XKt,c=this.nodes,u=c[s];if(l&&!u)return this;var d=b1t(u,e,t+5,n,i,r,o,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<S1t)return function(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==i&&(r|=l,a[o++]=u)}return new s1t(e,r,a)}(e,c,p,s)}else p++;var f=e&&e===this.ownerID,h=_1t(c,s,d,f);return f?(this.count=p,this.nodes=h,this):new l1t(e,p,h)};var c1t=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};c1t.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(YJt(n,r[o][0]))return r[o][1];return i},c1t.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=e0t(i));var s=r===XKt;if(n!==this.keyHash)return s?this:(HKt(a),HKt(o),O1t(this,e,t,n,[i,r]));for(var l=this.entries,c=0,u=l.length;c<u&&!YJt(i,l[c][0]);c++);var d=c<u;if(d?l[c][1]===r:s)return this;if(HKt(a),(s||!d)&&HKt(o),s&&2===u)return new u1t(e,this.keyHash,l[1^c]);var p=e&&e===this.ownerID,f=p?l:$0t(l);return d?s?c===u-1?f.pop():f[c]=f.pop():f[c]=[i,r]:f.push([i,r]),p?(this.entries=f,this):new c1t(e,this.keyHash,f)};var u1t=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};u1t.prototype.get=function(e,t,n,i){return YJt(n,this.entry[0])?this.entry[1]:i},u1t.prototype.update=function(e,t,n,i,r,o,a){var s=r===XKt,l=YJt(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(HKt(a),s?void HKt(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new u1t(e,this.keyHash,[i,r]):(HKt(o),O1t(this,e,t,e0t(i),[i,r])))},a1t.prototype.iterate=c1t.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},s1t.prototype.iterate=l1t.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},u1t.prototype.iterate=function(e,t){return e(this.entry)};var d1t,p1t=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&h1t(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,i=t.index++,r=void 0;if(n.entry){if(0===i)return f1t(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return f1t(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return f1t(e,o.entry);t=this._stack=h1t(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(SJt);function f1t(e,t){return EJt(e,t[0],t[1])}function h1t(e,t){return{node:e,index:0,__prev:t}}function m1t(e,t,n,i){var r=Object.create(o1t);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function g1t(){return d1t||(d1t=m1t(0))}function v1t(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=b1t(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===XKt?-1:1:0)}else{if(n===XKt)return e;r=1,i=new a1t(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?m1t(r,i):g1t()}function b1t(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===XKt?e:(HKt(s),HKt(a),new u1t(t,i,[r,o]))}function y1t(e){return e.constructor===u1t||e.constructor===c1t}function O1t(e,t,n,i,r){if(e.keyHash===i)return new c1t(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&VKt,s=(0===n?i:i>>>n)&VKt,l=a===s?[O1t(e,t,n+5,i,r)]:(o=new u1t(t,i,r),a<s?[e,o]:[o,e]);return new s1t(t,1<<a|1<<s,l)}function w1t(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function _1t(e,t,n,i){var r=i?e:$0t(e);return r[t]=n,r}var x1t=8,k1t=16,S1t=8,E1t="@@__IMMUTABLE_LIST__@@";function C1t(e){return Boolean(e&&e[E1t])}var P1t=function(e){function t(t){var n=R1t();if(null==t)return n;if(C1t(t))return t;var i=e(t),r=i.size;return 0===r?n:(j0t(r),r>0&&r<GKt?$1t(0,r,5,null,new T1t(i.toArray())):n.withMutations((function(e){e.setSize(r),i.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=KKt(this,e))>=0&&e<this.size){var n=M1t(this,e+=this._origin);return n&&n.array[e&VKt]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=KKt(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?L1t(e,t).set(0,n):L1t(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=N1t(e._capacity)?i=j1t(i,e.__ownerID,0,t,n,o):r=j1t(r,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return $1t(e._origin,e._capacity,e._level,r,i)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):R1t()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){L1t(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return L1t(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){L1t(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return L1t(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],o=e("string"!=typeof r&&PJt(r)?r:[r]);0!==o.size&&n.push(o)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return L1t(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(i){for(var r=0;r<n.size;r++)i.set(r,e.call(t,i.get(r),r,i))}))},t.prototype.slice=function(e,t){var n=this.size;return eJt(e,t,n)?this:L1t(this,tJt(e,n),nJt(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=I1t(this,t);return new SJt((function(){var r=i();return r===A1t?{value:void 0,done:!0}:EJt(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=I1t(this,t);(n=r())!==A1t&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?$1t(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?R1t():(this.__ownerID=e,this.__altered=!1,this)},t}(hJt);P1t.isList=C1t;var F1t=P1t.prototype;F1t[E1t]=!0,F1t.delete=F1t.remove,F1t.merge=F1t.concat,F1t.setIn=q0t,F1t.deleteIn=F1t.removeIn=W0t,F1t.update=V0t,F1t.updateIn=X0t,F1t.mergeIn=K0t,F1t.mergeDeepIn=J0t,F1t.withMutations=e1t,F1t.wasAltered=i1t,F1t.asImmutable=n1t,F1t["@@transducer/init"]=F1t.asMutable=t1t,F1t["@@transducer/step"]=function(e,t){return e.push(t)},F1t["@@transducer/result"]=function(e){return e.asImmutable()};var T1t=function(e,t){this.array=e,this.ownerID=t};T1t.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&VKt;if(i>=this.array.length)return new T1t([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!r)return this;var s=z1t(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},T1t.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&VKt;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-5,n))===o&&r===this.array.length-1)return this}var a=z1t(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var D1t,A1t={};function I1t(e,t){var n=e._origin,i=e._capacity,r=N1t(i),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,c=i-a;c>GKt&&(c=GKt);return function(){if(l===c)return A1t;var e=t?--c:l++;return s&&s[e]}}(e,l):function(e,r,o){var s,l=e&&e.array,c=o>n?0:n-o>>r,u=1+(i-o>>r);u>GKt&&(u=GKt);return function(){for(;;){if(s){var e=s();if(e!==A1t)return e;s=null}if(c===u)return A1t;var n=t?--u:c++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function $1t(e,t,n,i,r,o,a){var s=Object.create(F1t);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function R1t(){return D1t||(D1t=$1t(0,0,5))}function j1t(e,t,n,i,r,o){var a,s=i>>>n&VKt,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var c=e&&e.array[s],u=j1t(c,t,n-5,i,r,o);return u===c?e:((a=z1t(e,t)).array[s]=u,a)}return l&&e.array[s]===r?e:(o&&HKt(o),a=z1t(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function z1t(e,t){return t&&e&&t===e.ownerID?e:new T1t(e?e.array.slice():[],t)}function M1t(e,t){if(t>=N1t(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&VKt],i-=5;return n}}function L1t(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new YKt,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new T1t(c&&c.array.length?[void 0,c]:[],i),u+=1<<(l+=5);u&&(a+=u,r+=u,s+=u,o+=u);for(var d=N1t(o),p=N1t(s);p>=1<<l+5;)c=new T1t(c&&c.array.length?[c]:[],i),l+=5;var f=e._tail,h=p<d?M1t(e,s-1):p>d?new T1t([],i):f;if(f&&p>d&&a<o&&f.array.length){for(var m=c=z1t(c,i),g=l;g>5;g-=5){var v=d>>>g&VKt;m=m.array[v]=z1t(m.array[v],i)}m.array[d>>>5&VKt]=f}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=5,c=null,h=h&&h.removeBefore(i,0,a);else if(a>r||p<d){for(u=0;c;){var b=a>>>l&VKt;if(b!==p>>>l&VKt)break;b&&(u+=(1<<l)*b),l-=5,c=c.array[b]}c&&a>r&&(c=c.removeBefore(i,l,a-u)),c&&p<d&&(c=c.removeAfter(i,l,p-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):$1t(a,s,l,c,h)}function N1t(e){return e<GKt?0:e-1>>>5<<5}var Q1t,B1t=function(e){function t(e){return null==e?q1t():XJt(e)?e:q1t().withMutations((function(t){var n=fJt(e);j0t(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):q1t()},t.prototype.set=function(e,t){return W1t(this,e,t)},t.prototype.remove=function(e){return W1t(this,e,XKt)},t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?U1t(t,n,e,this.__hash):0===this.size?q1t():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(r1t);function U1t(e,t,n,i){var r=Object.create(B1t.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function q1t(){return Q1t||(Q1t=U1t(g1t(),R1t()))}function W1t(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===XKt){if(!l)return e;a.size>=GKt&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):U1t(i,r)}B1t.isOrderedMap=XJt,B1t.prototype[OJt]=!0,B1t.prototype.delete=B1t.prototype.remove;var G1t="@@__IMMUTABLE_STACK__@@";function V1t(e){return Boolean(e&&e[G1t])}var X1t=function(e){function t(e){return null==e?K1t():V1t(e)?e:K1t().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=KKt(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,i=arguments.length-1;i>=0;i--)n={value:e[i],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Z1t(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&V1t(t))return t;j0t(t.size);var n=this.size,i=this._head;return t.__iterate((function(e){n++,i={value:e,next:i}}),!0),this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):Z1t(n,i)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):K1t()},t.prototype.slice=function(t,n){if(eJt(t,n,this.size))return this;var i=tJt(t,this.size);if(nJt(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,o=this._head;i--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Z1t(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Z1t(this.size,this._head,e,this.__hash):0===this.size?K1t():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new MJt(this.toArray()).__iterate((function(t,i){return e(t,i,n)}),t);for(var i=0,r=this._head;r&&!1!==e(r.value,i++,this);)r=r.next;return i},t.prototype.__iterator=function(e,t){if(t)return new MJt(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new SJt((function(){if(i){var t=i.value;return i=i.next,EJt(e,n++,t)}return{value:void 0,done:!0}}))},t}(hJt);X1t.isStack=V1t;var H1t,Y1t=X1t.prototype;function Z1t(e,t,n,i){var r=Object.create(Y1t);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function K1t(){return H1t||(H1t=Z1t(0))}Y1t[G1t]=!0,Y1t.shift=Y1t.pop,Y1t.unshift=Y1t.push,Y1t.unshiftAll=Y1t.pushAll,Y1t.withMutations=e1t,Y1t.wasAltered=i1t,Y1t.asImmutable=n1t,Y1t["@@transducer/init"]=Y1t.asMutable=t1t,Y1t["@@transducer/step"]=function(e,t){return e.unshift(t)},Y1t["@@transducer/result"]=function(e){return e.asImmutable()};var J1t="@@__IMMUTABLE_SET__@@";function e2t(e){return Boolean(e&&e[J1t])}function t2t(e){return e2t(e)&&wJt(e)}function n2t(e,t){if(e===t)return!0;if(!aJt(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||lJt(e)!==lJt(t)||uJt(e)!==uJt(t)||wJt(e)!==wJt(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!dJt(e);if(wJt(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&YJt(r[1],e)&&(n||YJt(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!YJt(t,e.get(i,XKt)):!YJt(e.get(i,XKt),t))return a=!1,!1}));return a&&e.size===s}function i2t(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function r2t(e){if(!e||"object"!=typeof e)return e;if(!aJt(e)){if(!M0t(e))return e;e=$Jt(e)}if(lJt(e)){var t={};return e.__iterate((function(e,n){t[n]=r2t(e)})),t}var n=[];return e.__iterate((function(e){n.push(r2t(e))})),n}var o2t=function(e){function t(t){return null==t?u2t():e2t(t)&&!wJt(t)?t:u2t().withMutations((function(n){var i=e(t);j0t(i.size),i.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(fJt(e).keySeq())},t.intersect=function(e){return(e=pJt(e).toArray()).length?s2t.intersect.apply(t(e.pop()),e):u2t()},t.union=function(e){return(e=pJt(e).toArray()).length?s2t.union.apply(t(e.pop()),e):u2t()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return l2t(this,this._map.set(e,e))},t.prototype.remove=function(e){return l2t(this,this._map.remove(e))},t.prototype.clear=function(){return l2t(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(i.push(o),r.push(a))})),this.withMutations((function(e){i.forEach((function(t){return e.remove(t)})),r.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var i=0;i<t.length;i++)e(t[i]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return E2t(k0t(this,e))},t.prototype.sortBy=function(e,t){return E2t(k0t(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){return this._map.__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?this.__empty():(this.__ownerID=e,this._map=t,this)},t}(mJt);o2t.isSet=e2t;var a2t,s2t=o2t.prototype;function l2t(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function c2t(e,t){var n=Object.create(s2t);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function u2t(){return a2t||(a2t=c2t(g1t()))}s2t[J1t]=!0,s2t.delete=s2t.remove,s2t.merge=s2t.concat=s2t.union,s2t.withMutations=e1t,s2t.asImmutable=n1t,s2t["@@transducer/init"]=s2t.asMutable=t1t,s2t["@@transducer/step"]=function(e,t){return e.add(t)},s2t["@@transducer/result"]=function(e){return e.asImmutable()},s2t.__empty=u2t,s2t.__make=c2t;var d2t,p2t=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(R0t(0!==i,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),i=void 0===i?1:Math.abs(i),n<e&&(i=-i),this._start=e,this._end=n,this._step=i,this.size=Math.max(0,Math.ceil((n-e)/i-1)+1),0===this.size){if(d2t)return d2t;d2t=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+KKt(this,e)*this._step:t},t.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},t.prototype.slice=function(e,n){return eJt(e,n,this.size)?this:(e=tJt(e,this.size),(n=nJt(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;o!==n&&!1!==e(r,t?n-++o:o++,this);)r+=t?-i:i;return o},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;return new SJt((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,EJt(e,t?n-++o:o++,a)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:n2t(this,e)},t}(jJt);function f2t(e,t,n){for(var i=z0t(t),r=0;r!==i.length;)if((e=N0t(e,i[r++],XKt))===XKt)return n;return e}function h2t(){j0t(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}pJt.isIterable=aJt,pJt.isKeyed=lJt,pJt.isIndexed=uJt,pJt.isAssociative=dJt,pJt.isOrdered=wJt,pJt.Iterator=SJt,i2t(pJt,{toArray:function(){j0t(this.size);var e=new Array(this.size||0),t=lJt(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new f0t(this)},toJS:function(){return r2t(this)},toKeyedSeq:function(){return new p0t(this,!0)},toMap:function(){return r1t(this.toKeyedSeq())},toObject:h2t,toOrderedMap:function(){return B1t(this.toKeyedSeq())},toOrderedSet:function(){return E2t(lJt(this)?this.valueSeq():this)},toSet:function(){return o2t(lJt(this)?this.valueSeq():this)},toSetSeq:function(){return new h0t(this)},toSeq:function(){return uJt(this)?this.toIndexedSeq():lJt(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return X1t(lJt(this)?this.valueSeq():this)},toList:function(){return P1t(lJt(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return P0t(this,_0t(this,e))},includes:function(e){return this.some((function(t){return YJt(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){j0t(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return P0t(this,y0t(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},forEach:function(e,t){return j0t(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){j0t(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return P0t(this,v0t(this,e,t))},reduce:function(e,t,n){return b2t(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return b2t(this,e,t,n,arguments.length<2,!0)},reverse:function(){return P0t(this,b0t(this,!0))},slice:function(e,t){return P0t(this,O0t(this,e,t,!0))},some:function(e,t){return!this.every(w2t(e),t)},sort:function(e){return P0t(this,k0t(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return ZKt(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=r1t().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return n2t(this,e)},entrySeq:function(){var e=this;if(e._cache)return new MJt(e._cache);var t=e.toSeq().map(O2t).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(w2t(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,o){if(e.call(t,n,r,o))return i=[r,n],!1})),i},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(JKt,null,e)},flatMap:function(e,t){return P0t(this,function(e,t,n){var i=T0t(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return P0t(this,x0t(this,e,!0))},fromEntrySeq:function(){return new m0t(this)},get:function(e,t){return this.find((function(t,n){return YJt(n,e)}),void 0,t)},getIn:function(e,t){return f2t(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=lJt(e),r=(wJt(e)?B1t():r1t()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=T0t(e);return r.map((function(t){return P0t(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,XKt)!==XKt},hasIn:function(e){return function(e,t){return f2t(e,t,XKt)!==XKt}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:pJt(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:pJt(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return YJt(t,e)}))},keySeq:function(){return this.toSeq().map(y2t).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return S0t(this,e)},maxBy:function(e,t){return S0t(this,t,e)},min:function(e){return S0t(this,e?_2t(e):k2t)},minBy:function(e,t){return S0t(this,t?_2t(t):k2t,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return P0t(this,w0t(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(w2t(e),t)},sortBy:function(e,t){return P0t(this,k0t(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,t){return P0t(this,function(e,t,n){var i=D0t(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(2,r),s=!0;return new SJt((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var r=e.value,l=r[0],c=r[1];return t.call(n,c,l,o)?2===i?e:EJt(i,l,c,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(w2t(e),t)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=wJt(e),n=lJt(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+S2t(e0t(e),e0t(t))|0}:function(e,t){i=i+S2t(e0t(e),e0t(t))|0}:t?function(e){i=31*i+e0t(e)|0}:function(e){i=i+e0t(e)|0});return function(e,t){return t=ZJt(t,3432918353),t=ZJt(t<<15|t>>>-15,461845907),t=ZJt(t<<13|t>>>-13,5),t=ZJt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=KJt((t=ZJt(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var m2t=pJt.prototype;m2t[oJt]=!0,m2t[kJt]=m2t.values,m2t.toJSON=m2t.toArray,m2t.__toStringMapper=L0t,m2t.inspect=m2t.toSource=function(){return this.toString()},m2t.chain=m2t.flatMap,m2t.contains=m2t.includes,i2t(fJt,{flip:function(){return P0t(this,g0t(this))},mapEntries:function(e,t){var n=this,i=0;return P0t(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return P0t(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var g2t=fJt.prototype;g2t[sJt]=!0,g2t[kJt]=m2t.entries,g2t.toJSON=h2t,g2t.__toStringMapper=function(e,t){return L0t(t)+": "+L0t(e)},i2t(hJt,{toKeyedSeq:function(){return new p0t(this,!1)},filter:function(e,t){return P0t(this,y0t(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return P0t(this,b0t(this,!1))},slice:function(e,t){return P0t(this,O0t(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=tJt(e,e<0?this.count():this.size);var i=this.slice(0,e);return P0t(this,1===n?i:i.concat($0t(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return P0t(this,x0t(this,e,!1))},get:function(e,t){return(e=KKt(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=KKt(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return P0t(this,function(e,t){var n=D0t(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(1,i),a=0;return new SJt((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?EJt(n,a++,t):EJt(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat($0t(arguments)),t=C0t(this.toSeq(),jJt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),P0t(this,n)},keySeq:function(){return p2t(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return P0t(this,w0t(this,e,t,!1))},zip:function(){var e=[this].concat($0t(arguments));return P0t(this,C0t(this,x2t,e))},zipAll:function(){var e=[this].concat($0t(arguments));return P0t(this,C0t(this,x2t,e,!0))},zipWith:function(e){var t=$0t(arguments);return t[0]=this,P0t(this,C0t(this,e,t))}});var v2t=hJt.prototype;function b2t(e,t,n,i,r,o){return j0t(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function y2t(e,t){return t}function O2t(e,t){return[t,e]}function w2t(e){return function(){return!e.apply(this,arguments)}}function _2t(e){return function(){return-e.apply(this,arguments)}}function x2t(){return $0t(arguments)}function k2t(e,t){return e<t?1:e>t?-1:0}function S2t(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}v2t[cJt]=!0,v2t[OJt]=!0,i2t(mJt,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),mJt.prototype.has=m2t.includes,mJt.prototype.contains=mJt.prototype.includes,i2t(RJt,fJt.prototype),i2t(jJt,hJt.prototype),i2t(zJt,mJt.prototype);var E2t=function(e){function t(e){return null==e?T2t():t2t(e)?e:T2t().withMutations((function(t){var n=mJt(e);j0t(n.size),n.forEach((function(e){return t.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(fJt(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(o2t);E2t.isOrderedSet=t2t;var C2t,P2t=E2t.prototype;function F2t(e,t){var n=Object.create(P2t);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function T2t(){return C2t||(C2t=F2t(q1t()))}P2t[OJt]=!0,P2t.zip=v2t.zip,P2t.zipWith=v2t.zipWith,P2t.__empty=T2t,P2t.__make=F2t;var D2t={exports:{}};
|
|
298
298
|
/*!
|
|
299
299
|
Copyright (c) 2015 Jed Watson.
|
|
300
300
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|