@livetiles/reach-components-react 0.4.115 → 0.4.116

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.umd.js CHANGED
@@ -170,7 +170,7 @@ var RX=function(){return RX=Object.assign||function(e){for(var t,n=1,i=arguments
170
170
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
171
171
  PERFORMANCE OF THIS SOFTWARE.
172
172
  ***************************************************************************** */
173
- var HPe=function(){return HPe=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},HPe.apply(this,arguments)};function KPe(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 JPe(e,t,n,i){return new(n||(n=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(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(o,s)}l((i=i.apply(e,t||[])).next())}))}function eEe(e,t){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function tEe(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}function nEe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var iEe,rEe=function(e){var n,r=e.children,a=KPe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(aEe,{},void 0),t.jsx(i.Dialog,HPe({},a,{modalProps:HPe(HPe({},a.modalProps||{}),{className:za(d4,"lt-reach-dialog",{"lt-reach-dialog-mobile":sd.isAnyMobileApp},null===(n=a.modalProps)||void 0===n?void 0:n.className)})},{children:r}),void 0)]},void 0)},aEe=n.createGlobalStyle(iEe||(iEe=nEe(['\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']))),oEe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},sEe=function(e){return e&&e.Math==Math&&e},lEe=sEe("object"==typeof globalThis&&globalThis)||sEe("object"==typeof window&&window)||sEe("object"==typeof self&&self)||sEe("object"==typeof oEe&&oEe)||Function("return this")(),uEe={},cEe=function(e){try{return!!e()}catch(e){return!0}},dEe=!cEe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),pEe={},hEe={}.propertyIsEnumerable,fEe=Object.getOwnPropertyDescriptor,mEe=fEe&&!hEe.call({1:2},1);pEe.f=mEe?function(e){var t=fEe(this,e);return!!t&&t.enumerable}:hEe;var gEe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},vEe={}.toString,bEe=function(e){return vEe.call(e).slice(8,-1)},yEe=bEe,OEe="".split,wEe=cEe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==yEe(e)?OEe.call(e,""):Object(e)}:Object,_Ee=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},kEe=wEe,xEe=_Ee,SEe=function(e){return kEe(xEe(e))},PEe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},EEe=PEe,CEe=function(e,t){if(!EEe(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!EEe(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!EEe(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!EEe(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},FEe={}.hasOwnProperty,TEe=function(e,t){return FEe.call(e,t)},DEe=PEe,AEe=lEe.document,IEe=DEe(AEe)&&DEe(AEe.createElement),REe=function(e){return IEe?AEe.createElement(e):{}},LEe=REe,$Ee=!dEe&&!cEe((function(){return 7!=Object.defineProperty(LEe("div"),"a",{get:function(){return 7}}).a})),QEe=dEe,zEe=pEe,jEe=gEe,NEe=SEe,MEe=CEe,UEe=TEe,BEe=$Ee,qEe=Object.getOwnPropertyDescriptor;uEe.f=QEe?qEe:function(e,t){if(e=NEe(e),t=MEe(t,!0),BEe)try{return qEe(e,t)}catch(e){}if(UEe(e,t))return jEe(!zEe.f.call(e,t),e[t])};var GEe={},WEe=PEe,XEe=function(e){if(!WEe(e))throw TypeError(String(e)+" is not an object");return e},VEe=dEe,YEe=$Ee,ZEe=XEe,HEe=CEe,KEe=Object.defineProperty;GEe.f=VEe?KEe:function(e,t,n){if(ZEe(e),t=HEe(t,!0),ZEe(n),YEe)try{return KEe(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 JEe=GEe,eCe=gEe,tCe=dEe?function(e,t,n){return JEe.f(e,t,eCe(1,n))}:function(e,t,n){return e[t]=n,e},nCe={exports:{}},iCe=lEe,rCe=tCe,aCe=function(e,t){try{rCe(iCe,e,t)}catch(n){iCe[e]=t}return t},oCe=aCe,sCe="__core-js_shared__",lCe=lEe[sCe]||oCe(sCe,{}),uCe=lCe,cCe=Function.toString;"function"!=typeof uCe.inspectSource&&(uCe.inspectSource=function(e){return cCe.call(e)});var dCe=uCe.inspectSource,pCe=dCe,hCe=lEe.WeakMap,fCe="function"==typeof hCe&&/native code/.test(pCe(hCe)),mCe={exports:{}},gCe=lCe;(mCe.exports=function(e,t){return gCe[e]||(gCe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var vCe,bCe,yCe,OCe=0,wCe=Math.random(),_Ce=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++OCe+wCe).toString(36)},kCe=mCe.exports,xCe=_Ce,SCe=kCe("keys"),PCe=function(e){return SCe[e]||(SCe[e]=xCe(e))},ECe={},CCe=fCe,FCe=PEe,TCe=tCe,DCe=TEe,ACe=PCe,ICe=ECe,RCe=lEe.WeakMap;if(CCe){var LCe=new RCe,$Ce=LCe.get,QCe=LCe.has,zCe=LCe.set;vCe=function(e,t){return zCe.call(LCe,e,t),t},bCe=function(e){return $Ce.call(LCe,e)||{}},yCe=function(e){return QCe.call(LCe,e)}}else{var jCe=ACe("state");ICe[jCe]=!0,vCe=function(e,t){return TCe(e,jCe,t),t},bCe=function(e){return DCe(e,jCe)?e[jCe]:{}},yCe=function(e){return DCe(e,jCe)}}var NCe={set:vCe,get:bCe,has:yCe,enforce:function(e){return yCe(e)?bCe(e):vCe(e,{})},getterFor:function(e){return function(t){var n;if(!FCe(t)||(n=bCe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},MCe=lEe,UCe=tCe,BCe=TEe,qCe=aCe,GCe=dCe,WCe=NCe.get,XCe=NCe.enforce,VCe=String(String).split("String");(nCe.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,o=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||BCe(n,"name")||UCe(n,"name",t),XCe(n).source=VCe.join("string"==typeof t?t:"")),e!==MCe?(r?!o&&e[t]&&(a=!0):delete e[t],a?e[t]=n:UCe(e,t,n)):a?e[t]=n:qCe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&WCe(this).source||GCe(this)}));var YCe=lEe,ZCe=lEe,HCe=function(e){return"function"==typeof e?e:void 0},KCe=function(e,t){return arguments.length<2?HCe(YCe[e])||HCe(ZCe[e]):YCe[e]&&YCe[e][t]||ZCe[e]&&ZCe[e][t]},JCe={},eFe=Math.ceil,tFe=Math.floor,nFe=function(e){return isNaN(e=+e)?0:(e>0?tFe:eFe)(e)},iFe=nFe,rFe=Math.min,aFe=function(e){return e>0?rFe(iFe(e),9007199254740991):0},oFe=nFe,sFe=Math.max,lFe=Math.min,uFe=SEe,cFe=aFe,dFe=function(e,t){var n=oFe(e);return n<0?sFe(n+t,0):lFe(n,t)},pFe=function(e){return function(t,n,i){var r,a=uFe(t),o=cFe(a.length),s=dFe(i,o);if(e&&n!=n){for(;o>s;)if((r=a[s++])!=r)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},hFe={includes:pFe(!0),indexOf:pFe(!1)},fFe=TEe,mFe=SEe,gFe=hFe.indexOf,vFe=ECe,bFe=function(e,t){var n,i=mFe(e),r=0,a=[];for(n in i)!fFe(vFe,n)&&fFe(i,n)&&a.push(n);for(;t.length>r;)fFe(i,n=t[r++])&&(~gFe(a,n)||a.push(n));return a},yFe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],OFe=bFe,wFe=yFe.concat("length","prototype");JCe.f=Object.getOwnPropertyNames||function(e){return OFe(e,wFe)};var _Fe={};_Fe.f=Object.getOwnPropertySymbols;var kFe=JCe,xFe=_Fe,SFe=XEe,PFe=KCe("Reflect","ownKeys")||function(e){var t=kFe.f(SFe(e)),n=xFe.f;return n?t.concat(n(e)):t},EFe=TEe,CFe=PFe,FFe=uEe,TFe=GEe,DFe=cEe,AFe=/#|\.prototype\./,IFe=function(e,t){var n=LFe[RFe(e)];return n==QFe||n!=$Fe&&("function"==typeof t?DFe(t):!!t)},RFe=IFe.normalize=function(e){return String(e).replace(AFe,".").toLowerCase()},LFe=IFe.data={},$Fe=IFe.NATIVE="N",QFe=IFe.POLYFILL="P",zFe=IFe,jFe=lEe,NFe=uEe.f,MFe=tCe,UFe=nCe.exports,BFe=aCe,qFe=function(e,t){for(var n=CFe(t),i=TFe.f,r=FFe.f,a=0;a<n.length;a++){var o=n[a];EFe(e,o)||i(e,o,r(t,o))}},GFe=zFe,WFe=function(e,t){var n,i,r,a,o,s=e.target,l=e.global,u=e.stat;if(n=l?jFe:u?jFe[s]||BFe(s,{}):(jFe[s]||{}).prototype)for(i in t){if(a=t[i],r=e.noTargetGet?(o=NFe(n,i))&&o.value:n[i],!GFe(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof a==typeof r)continue;qFe(a,r)}(e.sham||r&&r.sham)&&MFe(a,"sham",!0),UFe(n,i,a,e)}},XFe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},VFe=_Ee,YFe=function(e){return Object(VFe(e))},ZFe=XFe,HFe=YFe,KFe=wEe,JFe=aFe,eTe=function(e){return function(t,n,i,r){ZFe(n);var a=HFe(t),o=KFe(a),s=JFe(a.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in o){r=o[l],l+=u;break}if(l+=u,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=u)l in o&&(r=n(r,o[l],l,a));return r}},tTe={left:eTe(!1),right:eTe(!0)},nTe=cEe,iTe=function(e,t){var n=[][e];return!!n&&nTe((function(){n.call(null,t||function(){throw 1},1)}))},rTe=dEe,aTe=cEe,oTe=TEe,sTe=Object.defineProperty,lTe={},uTe=function(e){throw e},cTe=WFe,dTe=tTe.left,pTe=function(e,t){if(oTe(lTe,e))return lTe[e];t||(t={});var n=[][e],i=!!oTe(t,"ACCESSORS")&&t.ACCESSORS,r=oTe(t,0)?t[0]:uTe,a=oTe(t,1)?t[1]:void 0;return lTe[e]=!!n&&!aTe((function(){if(i&&!rTe)return!0;var e={length:-1};i?sTe(e,1,{enumerable:!0,get:uTe}):e[1]=1,n.call(e,r,a)}))},hTe=iTe("reduce"),fTe=pTe("reduce",{1:0});cTe({target:"Array",proto:!0,forced:!hTe||!fTe},{reduce:function(e){return dTe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var mTe=bFe,gTe=yFe,vTe=Object.keys||function(e){return mTe(e,gTe)},bTe=dEe,yTe=cEe,OTe=vTe,wTe=_Fe,_Te=pEe,kTe=YFe,xTe=wEe,STe=Object.assign,PTe=Object.defineProperty,ETe=!STe||yTe((function(){if(bTe&&1!==STe({b:1},STe(PTe({},"a",{enumerable:!0,get:function(){PTe(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!=STe({},e)[n]||OTe(STe({},t)).join("")!=i}))?function(e,t){for(var n=kTe(e),i=arguments.length,r=1,a=wTe.f,o=_Te.f;i>r;)for(var s,l=xTe(arguments[r++]),u=a?OTe(l).concat(a(l)):OTe(l),c=u.length,d=0;c>d;)s=u[d++],bTe&&!o.call(l,s)||(n[s]=l[s]);return n}:STe,CTe=ETe;WFe({target:"Object",stat:!0,forced:Object.assign!==CTe},{assign:CTe});var FTe=cEe,TTe=!!Object.getOwnPropertySymbols&&!FTe((function(){return!String(Symbol())})),DTe=TTe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ATe=lEe,ITe=mCe.exports,RTe=TEe,LTe=_Ce,$Te=TTe,QTe=DTe,zTe=ITe("wks"),jTe=ATe.Symbol,NTe=QTe?jTe:jTe&&jTe.withoutSetter||LTe,MTe=function(e){return RTe(zTe,e)||($Te&&RTe(jTe,e)?zTe[e]=jTe[e]:zTe[e]=NTe("Symbol."+e)),zTe[e]},UTe=PEe,BTe=bEe,qTe=MTe("match"),GTe=function(e){var t;return UTe(e)&&(void 0!==(t=e[qTe])?!!t:"RegExp"==BTe(e))},WTe=GTe,XTe=function(e){if(WTe(e))throw TypeError("The method doesn't accept regular expressions");return e},VTe=MTe("match"),YTe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[VTe]=!1,"/./"[e](t)}catch(e){}}return!1},ZTe=XTe,HTe=_Ee;function KTe(e,t){var n=e||[],i=t||[],r=n.map((function(e){return e.id})),a=i.filter((function(e){return!r.includes(e.id)}));return n.concat(a)}WFe({target:"String",proto:!0,forced:!YTe("includes")},{includes:function(e){return!!~String(HTe(this)).indexOf(ZTe(e),arguments.length>1?arguments[1]:void 0)}});var JTe,eDe=GEe,tDe=XEe,nDe=vTe,iDe=dEe?Object.defineProperties:function(e,t){tDe(e);for(var n,i=nDe(t),r=i.length,a=0;r>a;)eDe.f(e,n=i[a++],t[n]);return e},rDe=KCe("document","documentElement"),aDe=XEe,oDe=iDe,sDe=yFe,lDe=ECe,uDe=rDe,cDe=REe,dDe=PCe("IE_PROTO"),pDe=function(){},hDe=function(e){return"<script>"+e+"</"+"script>"},fDe=function(){try{JTe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;fDe=JTe?function(e){e.write(hDe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(JTe):((t=cDe("iframe")).style.display="none",uDe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(hDe("document.F=Object")),e.close(),e.F);for(var n=sDe.length;n--;)delete fDe.prototype[sDe[n]];return fDe()};lDe[dDe]=!0;var mDe=Object.create||function(e,t){var n;return null!==e?(pDe.prototype=aDe(e),n=new pDe,pDe.prototype=null,n[dDe]=e):n=fDe(),void 0===t?n:oDe(n,t)},gDe=mDe,vDe=GEe,bDe=MTe("unscopables"),yDe=Array.prototype;null==yDe[bDe]&&vDe.f(yDe,bDe,{configurable:!0,value:gDe(null)});var ODe,wDe,_De,kDe=function(e){yDe[bDe][e]=!0},xDe={},SDe=!cEe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),PDe=TEe,EDe=YFe,CDe=SDe,FDe=PCe("IE_PROTO"),TDe=Object.prototype,DDe=CDe?Object.getPrototypeOf:function(e){return e=EDe(e),PDe(e,FDe)?e[FDe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?TDe:null},ADe=DDe,IDe=tCe,RDe=TEe,LDe=MTe("iterator"),$De=!1;[].keys&&("next"in(_De=[].keys())?(wDe=ADe(ADe(_De)))!==Object.prototype&&(ODe=wDe):$De=!0),null==ODe&&(ODe={}),RDe(ODe,LDe)||IDe(ODe,LDe,(function(){return this}));var QDe={IteratorPrototype:ODe,BUGGY_SAFARI_ITERATORS:$De},zDe=GEe.f,jDe=TEe,NDe=MTe("toStringTag"),MDe=function(e,t,n){e&&!jDe(e=n?e:e.prototype,NDe)&&zDe(e,NDe,{configurable:!0,value:t})},UDe=QDe.IteratorPrototype,BDe=mDe,qDe=gEe,GDe=MDe,WDe=xDe,XDe=function(){return this},VDe=PEe,YDe=XEe,ZDe=function(e){if(!VDe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},HDe=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 YDe(n),ZDe(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),KDe=WFe,JDe=function(e,t,n){var i=t+" Iterator";return e.prototype=BDe(UDe,{next:qDe(1,n)}),GDe(e,i,!1),WDe[i]=XDe,e},eAe=DDe,tAe=HDe,nAe=MDe,iAe=tCe,rAe=nCe.exports,aAe=xDe,oAe=QDe.IteratorPrototype,sAe=QDe.BUGGY_SAFARI_ITERATORS,lAe=MTe("iterator"),uAe="keys",cAe="values",dAe="entries",pAe=function(){return this},hAe=SEe,fAe=kDe,mAe=xDe,gAe=NCe,vAe=function(e,t,n,i,r,a,o){JDe(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!sAe&&e in h)return h[e];switch(e){case uAe:case cAe:case dAe:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,f=h[lAe]||h["@@iterator"]||r&&h[r],m=!sAe&&f||c(r),g="Array"==t&&h.entries||f;if(g&&(s=eAe(g.call(new e)),oAe!==Object.prototype&&s.next&&(eAe(s)!==oAe&&(tAe?tAe(s,oAe):"function"!=typeof s[lAe]&&iAe(s,lAe,pAe)),nAe(s,d,!0))),r==cAe&&f&&f.name!==cAe&&(p=!0,m=function(){return f.call(this)}),h[lAe]!==m&&iAe(h,lAe,m),aAe[t]=m,r)if(l={values:c(cAe),keys:a?m:c(uAe),entries:c(dAe)},o)for(u in l)(sAe||p||!(u in h))&&rAe(h,u,l[u]);else KDe({target:t,proto:!0,forced:sAe||p},l);return l},bAe="Array Iterator",yAe=gAe.set,OAe=gAe.getterFor(bAe),wAe=vAe(Array,"Array",(function(e,t){yAe(this,{type:bAe,target:hAe(e),index:0,kind:t})}),(function(){var e=OAe(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");mAe.Arguments=mAe.Array,fAe("keys"),fAe("values"),fAe("entries");var _Ae=lEe,kAe={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},xAe=wAe,SAe=tCe,PAe=MTe,EAe=PAe("iterator"),CAe=PAe("toStringTag"),FAe=xAe.values;for(var TAe in kAe){var DAe=_Ae[TAe],AAe=DAe&&DAe.prototype;if(AAe){if(AAe[EAe]!==FAe)try{SAe(AAe,EAe,FAe)}catch(e){AAe[EAe]=FAe}if(AAe[CAe]||SAe(AAe,CAe,TAe),kAe[TAe])for(var IAe in xAe)if(AAe[IAe]!==xAe[IAe])try{SAe(AAe,IAe,xAe[IAe])}catch(e){AAe[IAe]=xAe[IAe]}}}var RAe,LAe,$Ae,QAe,zAe,jAe,NAe,MAe,UAe,BAe,qAe,GAe,WAe,XAe,VAe,YAe,ZAe,HAe,KAe,JAe=function(e){var n=zC().formatMessage;return t.jsx(i.TooltipHost,HPe({},e,{className:void 0,role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||n({id:e.resourceKey},e.values||{}):null,calloutProps:{calloutWidth:e.width,hidden:e.hidden},dir:"auto"},{children:e.children}),void 0)},eIe=function(e){return n.css(zAe||(zAe=nEe(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?n.css(RAe||(RAe=nEe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):n.css(LAe||(LAe=nEe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Ale),(null==e?void 0:e.color)?n.css($Ae||($Ae=nEe(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):n.css(QAe||(QAe=nEe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,Ere,Cre)},tIe=function(e){var n=e.tooltipResourceKey,i=e.className,r=KPe(e,["tooltipResourceKey","className"]);return t.jsx(JAe,HPe({resourceKey:n,className:i},{children:t.jsx(nIe,HPe({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},nIe=m.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(jAe||(jAe=nEe(["\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"])),eIe(),6,15,qre,(function(e){return e.readOnly?"inherit":"pointer"})),iIe=m.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(NAe||(NAe=nEe(["\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})),rIe=function(e){var n=e.showDialog,r=e.onClose,a=e.onClosed,o=e.handleSave,s=e.titleResource,l=e.disableSave,u=e.saveButtonResourceId,c=e.children,d=e.className,p=zC().formatMessage;return t.jsxs(rEe,HPe({hidden:!n,modalProps:{isBlocking:!0,onDismissed:a},dialogContentProps:{type:i.DialogType.normal,title:p({id:s})},onDismiss:r},{children:[t.jsx(aIe,HPe({className:d},{children:c}),void 0),t.jsxs(i.DialogFooter,{children:[t.jsx(i.DefaultButton,HPe({onClick:r,"data-button":"cancel"},{children:t.jsx(rF,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(i.PrimaryButton,HPe({disabled:l,onClick:o,"data-button":"save"},{children:t.jsx(rF,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},aIe=m.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(MAe||(MAe=nEe(["\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"])),Cre),oIe=m.default(rIe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(UAe||(UAe=nEe(["\n width: 400px;\n"],["\n width: 400px;\n"]))),sIe=m.default(i.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(BAe||(BAe=nEe(["\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})),lIe=function(e){var n=e.checked,i=e.readOnly,r=e.onChange,a=e.className,o=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,u=e.ariaLabelResourceKey,c=zC().formatMessage,d=n?s||o||"CheckboxComposite":o||"Checkbox";return t.jsx(uIe,HPe({className:a},{children:i?t.jsx(dIe,{},void 0):t.jsx(JAe,HPe({resourceKey:l},{children:t.jsx(cIe,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},uIe=m.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(qAe||(qAe=nEe(["\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"]))),cIe=m.default(sIe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(GAe||(GAe=nEe(["\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"])),Ure,20),dIe=m.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(WAe||(WAe=nEe(["\n width: 22px;\n"],["\n width: 22px;\n"]))),pIe=n.css(XAe||(XAe=nEe(["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"],["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),hIe=m.default(i.Link).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(VAe||(VAe=nEe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),pIe),fIe=m.default(a.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(YAe||(YAe=nEe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),pIe),mIe=n.css(ZAe||(ZAe=nEe(["\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),gIe=function(){var e=Yle().hideNotification,n=r.useContext(Vle),i=n.isNotificationBarVisible,a=KPe(n,["isNotificationBarVisible"]),o=zC().formatMessage,s=a.messageId||a.text;return i?t.jsx(vIe,HPe({className:"notification-wrapper","data-notification-bar":!0},{children:t.jsx(bIe,HPe({messageBarType:a.messageBarType,className:a.className,actions:a.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&t.jsx(JAe,HPe({text:a.text,resourceKey:a.messageId,values:a.messageValues},{children:a.text||t.jsx(rF,{id:a.messageId,values:a.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},vIe=m.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(HAe||(HAe=nEe(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),bIe=m.default(i.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(KAe||(KAe=nEe(["\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"])),mIe,Bre,Ure,Ure,Bre,Ure,qre,Fre,20),yIe=function(e){var n,a=zC().formatMessage,o=ste(),s=ote(),l=Kte(),u=l.searchAccounts,c=l.getUserAvatarUrl,d=r.useRef(),p=FI();r.useEffect((function(){e.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,e.autoFocus]);var h=(null===(n=s.subscription.directories)||void 0===n?void 0:n.length)>1,f=!e.selectionMode||e.selectionMode===i.SelectionMode.multiple,m=e.selectedItems||[],g=h,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!==Uee.Group?t.userPrincipalName:null,mail:Ate(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));e.onChange&&e.onChange(n)}(t)},pickerSuggestionsProps:{noResultsFoundText:a({id:"Generic.noResultsFound"}),searchForMoreText:g&&!e.localOnly?a({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:a({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:e.disabled,pickerCalloutProps:{calloutMaxWidth:p.width<Qre?300:0,className:"lt-reach-picker-callout"},inputProps:{id:e.inputId,required:e.required,"aria-required":e.required,"aria-label":e.inputAriaLabelResourceKey?a({id:e.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:a({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=a({id:e.placeholderStringResourceKey})),e.selectedItems&&(v.selectedItems=m.map((function(e){return b(e)}))),t.jsx(wIe,HPe({className:za(e.className,"people-picker")},{children:t.jsx(i.NormalPeoplePicker,HPe({},v,{componentRef:d,itemLimit:f?void 0:1}),void 0)}),void 0);function b(e){var t=Ate(e.mail)?null:e.mail,n=Ate(e.userPrincipalName)?null:e.userPrincipalName,i=TP(e.displayName||e.mail||e.userPrincipalName),r=e.type===Uee.User?n:e.type===Uee.Group?t:null,a={id:e.id,tokenUniqueId:e.tokenUniqueId,tenantId:e.tenantId,userPrincipalName:e.userPrincipalName,text:e.displayName||e.mail,secondaryText:(r||"")+(t&&t!==r?" ("+t+")":""),tertiaryText:t,imageInitials:i,initialsColor:DP(i),key:r,accountType:e.type,authenticationType:e.authenticationType};return o.avatars&&c(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function y(t,n){return JPe(this,void 0,void 0,(function(){var i,r,a;return eEe(this,(function(o){switch(o.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&gP(t)&&{mail:t,userPrincipalName:t,displayName:t,type:Uee.User},o.label=1;case 1:return o.trys.push([1,3,,4]),[4,u({search:t,type:e.accountType,includePendingInvitationUsers:e.includePendingInvitationUsers,includePendingRegistrationUsers:e.includePendingRegistrationUsers,localOnly:e.localOnly||n,excludeApiUsers:e.excludeApiUsers})];case 2:return r=o.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&&(a=e.additionalSearch(t))&&(r=r.concat(a)),[2,O(r).map(b)];case 3:return o.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 OIe,wIe=m.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(OIe||(OIe=nEe(["\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"]))),_Ie=WFe,kIe=uEe.f,xIe=aFe,SIe=XTe,PIe=_Ee,EIe=YTe,CIe="".startsWith,FIe=Math.min,TIe=EIe("startsWith"),DIe=!TIe&&!!function(){var e=kIe(String.prototype,"startsWith");return e&&!e.writable}();_Ie({target:"String",proto:!0,forced:!DIe&&!TIe},{startsWith:function(e){var t=String(PIe(this));SIe(e);var n=xIe(FIe(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return CIe?CIe.call(t,i,n):t.slice(n,n+i.length)===i}});var AIe=XEe,IIe=function(){var e=AIe(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},RIe=nCe.exports,LIe=XEe,$Ie=cEe,QIe=IIe,zIe="toString",jIe=RegExp.prototype,NIe=jIe.toString,MIe=$Ie((function(){return"/a/b"!=NIe.call({source:"a",flags:"b"})})),UIe=NIe.name!=zIe;(MIe||UIe)&&RIe(RegExp.prototype,zIe,(function(){var e=LIe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in jIe)?QIe.call(e):n)}),{unsafe:!0});var BIe,qIe=function(e){var n=e.fileName,i=e.url;return t.jsx(GIe,HPe({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:t.jsx("span",{children:n},void 0)}),void 0)},GIe=m.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(BIe||(BIe=nEe(["\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}),Ere),WIe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;return i?t.jsxs(HIe,HPe({className:"lt-reach-embedded-audio"},{children:[t.jsx(qIe,{fileName:n,url:i},void 0),t.jsxs("audio",HPe({onPlay:function(){return null==r?void 0:r(i)},controls:!0,title:n,controlsList:"nodownload"},{children:[t.jsx("source",{src:i,type:"audio/mpeg"},void 0),t.jsx(rF,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function XIe(e){var t=BY.getType(e);return t&&t.toString().startsWith("audio/")}var VIe,YIe,ZIe,HIe=m.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(VIe||(VIe=nEe(["\n width: 100%;\n"],["\n width: 100%;\n"])));m.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(YIe||(YIe=nEe(["\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"])),Fre,Ere),m.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(ZIe||(ZIe=nEe(["\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"])),Fre,Fre,20,(function(e){return e.theme.textColors.default}));var KIe,JIe,eRe,tRe,nRe,iRe,rRe=function(e){var n=e.children,i=e.deleteButton,r=e.domIdentifier,a=e.backgroundColor,o=e.className;return t.jsxs(sRe,HPe({className:o},{children:[i&&t.jsx(oRe,{children:i},void 0),t.jsx(aRe,HPe({"data-attachment":r,backgroundColor:a},{children:n}),void 0)]}),void 0)},aRe=m.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(KIe||(KIe=nEe(["\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: "+e.backgroundColor+";":"background-color: "+e.theme.palette.white+";"})),oRe=m.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(JIe||(JIe=nEe(["\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),sRe=m.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(eRe||(eRe=nEe(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),Cre),lRe=m.default(i.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(tRe||(tRe=nEe(["\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}));m.default.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(nRe||(nRe=nEe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),m.default(lRe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(iRe||(iRe=nEe(["\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 uRe,cRe,dRe,pRe,hRe=function(e){var n=e.children,r=KPe(e,["children"]);return t.jsx(i.FocusTrapCallout,HPe({},r,{className:za(d4,"lt-reach-callout",null==r?void 0:r.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},fRe=function(e){var n=zC().formatMessage,a=r.useState(!1),o=a[0],s=a[1],l=r.useContext(jle).theme.palette.accent;return t.jsxs(rEe,HPe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!e.hideCloseButton,type:e.hideCloseButton?i.DialogType.normal:i.DialogType.close,title:n({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[t.jsx(mRe,{children:t.jsx(rF,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues},void 0)},void 0),t.jsx(gRe,{"data-verify-item-input":!0,onChange:function(t,n){var i=n===e.compareValue;i!==o&&s(i)},ariaLabel:n({id:e.inputAriaLabelResourceKey})},void 0),e.children,t.jsxs(i.DialogFooter,{children:[t.jsx(i.DefaultButton,HPe({onClick:e.onCancel,disabled:e.disabled},{children:t.jsx(rF,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(vRe,HPe({onClick:e.onConfirm,"data-delete-button":!0,disabled:!o||e.disabled},{children:t.jsx(rF,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},mRe=m.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(uRe||(uRe=nEe(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),gRe=m.default(i.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(cRe||(cRe=nEe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Cre),vRe=m.default(i.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(dRe||(dRe=nEe(["\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})),bRe=function(e){var n=e.showDialog,a=e.titleResourceKey,o=e.titleResourceValues,s=e.infoResourceKey,l=e.infoResourceValues,u=e.onConfirm,c=e.onClose,d=e.width,p=e.children,h=zC().formatMessage,f=r.useContext(jle).theme.palette.accent;return t.jsxs(rEe,HPe({hidden:!n,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:i.DialogType.normal,subText:s?h({id:s},l):"",title:h({id:a},o),titleProps:{style:{color:f}}},onDismiss:c},{children:[p,t.jsxs(i.DialogFooter,{children:[t.jsx(i.DefaultButton,HPe({onClick:c,"data-cancel-button":!0},{children:t.jsx(rF,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(i.PrimaryButton,HPe({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:t.jsx(rF,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},yRe=function(e){var n=e.onConfirm,a=e.onCancel,o=zC().formatMessage,s=r.useContext(jle).theme.palette.accent;return t.jsx(rEe,HPe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:i.DialogType.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:a},{children:t.jsxs(ORe,{children:[t.jsx(rF,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),t.jsxs(i.DialogFooter,{children:[t.jsx(i.PrimaryButton,HPe({onClick:n},{children:t.jsx(rF,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),t.jsx(i.DefaultButton,HPe({onClick:a},{children:t.jsx(rF,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},ORe=m.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(pRe||(pRe=nEe(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),wRe=function(e){var n=e.value,i=r.useContext(vF).language,a=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=HPe(HPe({},SRe),n||{}),r=(+e-+t)/1e3;if(Math.abs(r)<i.second)return{value:Math.round(r),unit:"second"};var a=r/60;if(Math.abs(a)<i.minute)return{value:Math.round(a),unit:"minute"};var o=r/_Re;if(Math.abs(o)<i.hour)return{value:Math.round(o),unit:"hour"};var s=r/kRe;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/xRe;if(Math.round(Math.abs(l))>0&&Math.abs(l)<i.week)return{value:Math.round(l),unit:"week"};var u=new Date(e),c=new Date(t),d=u.getFullYear()-c.getFullYear(),p=12*d+u.getMonth()-c.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"}}(n),o=a.value,s=a.unit;return t.jsx(XC,HPe({locale:i},{children:t.jsx(tF,{value:o,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)},_Re=3600,kRe=86400,xRe=604800;var SRe={second:45,minute:45,hour:22,day:6,week:4,month:12};var PRe,ERe,CRe=function(e){var n,i,a=(n=e.value,i=e.dateOnly,r.useMemo((function(){var e=IP(n),t=tu(e,{year:"numeric",month:"long",day:"numeric",weekday:"long",hour:i?void 0:"numeric",minute:i?void 0:"numeric"},{locale:Mee()}),r={dateTime:e.toISOString(),title:t};return{date:e,timeProps:r}}),[i,n])),o=a.date,s=a.timeProps,l=!e.showAsAbsolute&&(e.showAsRelative||RP(e.value))&&!e.dateOnly;return!e.showWeekDay&&l?t.jsx(TRe,HPe({className:za(e.className)},s,{dir:"auto"},{children:t.jsx(wRe,{value:o},void 0)}),void 0):t.jsxs(TRe,HPe({className:za(e.className)},s,{dir:"auto"},{children:[t.jsx(aF,{weekday:e.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:o},void 0),!e.dateOnly&&t.jsxs(t.Fragment,{children:[" ",t.jsx(oF,{value:o},void 0)]},void 0)]}),void 0)},FRe=function(e){var n=e.startDate,i=e.endDate,r=e.dateOnly,a=e.className;if(!n)return null;if(!i)return t.jsx("div",HPe({className:a,dir:"auto"},{children:t.jsx(CRe,{value:n,showWeekDay:!0,dateOnly:r},void 0)}),void 0);var o=new Date(n),s=new Date(i);return ss(o,s)?t.jsxs("div",HPe({className:a,dir:"auto"},{children:[t.jsx(CRe,{value:n,showWeekDay:!0,dateOnly:r},void 0),!r&&t.jsxs(t.Fragment,{children:[" - ",t.jsx(oF,{value:s},void 0)]},void 0)]}),void 0):t.jsxs("div",HPe({className:a,dir:"auto"},{children:[t.jsx(CRe,{value:n,showWeekDay:!0,dateOnly:r},void 0)," - ",t.jsx(CRe,{value:i,showWeekDay:!0,dateOnly:r},void 0)]}),void 0)},TRe=m.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(PRe||(PRe=nEe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));m.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(ERe||(ERe=nEe(["\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}),Ale);var DRe,ARe,IRe,RRe,LRe,$Re,QRe,zRe=function(e){var n,r=e.children,a=KPe(e,["children"]);return t.jsx(i.Dropdown,HPe({},a,{calloutProps:HPe(HPe({},a.calloutProps||{}),{className:za(d4,"lt-reach-dropdown",null===(n=a.calloutProps)||void 0===n?void 0:n.className)})},{children:r}),void 0)},jRe=function(e){var n=e.svg,r=e.icon,a=e.styleDefinition,o=e.emptyMessageResources,s=void 0===o?["EmptySearchResult.info1","EmptySearchResult.info2"]:o,l=e.additionalButton,u=e.className,c=(null==a?void 0:a.size)||"large";return t.jsx(NRe,HPe({className:u,offset:null==a?void 0:a.offset,"data-nothing-found":!0},{children:t.jsxs(MRe,HPe({hasLargeParagraphStyle:!r,hasLargeSvgStyle:"large"===c},{children:[r&&t.jsx(i.Icon,{iconName:r},void 0),!r&&n,s.map((function(e,n){return t.jsx("p",{children:t.jsx(rF,{id:e},void 0)},n)})),l]}),void 0)}),void 0)},NRe=m.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(IRe||(IRe=nEe(["\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?n.css(DRe||(DRe=nEe(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):n.css(ARe||(ARe=nEe(["\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 "])))})),MRe=m.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})($Re||($Re=nEe(["\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"])),Cre,qre,Ere,(function(e){return!e.hasLargeSvgStyle&&n.css(RRe||(RRe=nEe(["\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 "])),Ure,e.theme.palette.neutralSecondary,Fre)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&n.css(LRe||(LRe=nEe(["\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,Cre,(function(e){return e.theme.palette.accent}),Fre,Fre,Are)}),(function(e){return e.theme.palette.accent}),3,zre,24,Fre,Fre),URe=function(e,t){return null!=e&&(e&t)===t};m.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(QRe||(QRe=nEe(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var BRe=WFe,qRe=XFe,GRe=YFe,WRe=cEe,XRe=iTe,VRe=[],YRe=VRe.sort,ZRe=WRe((function(){VRe.sort(void 0)})),HRe=WRe((function(){VRe.sort(null)})),KRe=XRe("sort");BRe({target:"Array",proto:!0,forced:ZRe||!HRe||!KRe},{sort:function(e){return void 0===e?YRe.call(GRe(this)):YRe.call(GRe(this),qRe(e))}});var JRe=function(e){var n=e.languages,i=e.translations,r=e.onChange,a=e.placeholderStringResource,o=e.customPlaceholder,s=zC(),l=s.formatMessage;return t.jsx(t.Fragment,{children:_ne.apply(void 0,tEe([s],n)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(e){return t.jsx(aLe,{children:t.jsx(oLe,{"data-translation-field":e.code,placeholder:null!=o?o:l({id:a},{lang:e.localizedName}),label:e.localizedName,value:i[e.code],onChange:function(t,n){var a;r(HPe(HPe({},i),((a={})[e.code]=n,a)))},dir:"auto"},void 0)},e.code)}))},void 0)};m.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(eLe||(eLe=nEe(["\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 eLe,tLe,nLe,iLe,rLe,aLe=m.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(tLe||(tLe=nEe(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),oLe=m.default(i.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(nLe||(nLe=nEe(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));m.default.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(iLe||(iLe=nEe(["\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"]))),m.default.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(rLe||(rLe=nEe(["\n display: flex;\n"],["\n display: flex;\n"])));var sLe,lLe=function(e){var n=r.useState(null==e.delay),a=n[0],o=n[1];return r.useEffect((function(){if(null!=!e.delay){var t=setTimeout((function(){return o(!0)}),e.delay);return function(){return clearTimeout(t)}}}),[e.delay]),a?t.jsx(uLe,HPe({className:e.className},{children:t.jsx(i.Spinner,HPe({},e,{className:""}),void 0)}),void 0):null},uLe=m.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(sLe||(sLe=nEe(["\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"]))),cLe=lEe.Promise,dLe=nCe.exports,pLe=KCe,hLe=GEe,fLe=dEe,mLe=MTe("species"),gLe={exports:{}},vLe=xDe,bLe=MTe("iterator"),yLe=Array.prototype,OLe=XFe,wLe=function(e,t,n){if(OLe(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)}},_Le={};_Le[MTe("toStringTag")]="z";var kLe="[object z]"===String(_Le),xLe=bEe,SLe=MTe("toStringTag"),PLe="Arguments"==xLe(function(){return arguments}()),ELe=kLe?xLe: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),SLe))?n:PLe?xLe(t):"Object"==(i=xLe(t))&&"function"==typeof t.callee?"Arguments":i},CLe=ELe,FLe=xDe,TLe=MTe("iterator"),DLe=XEe,ALe=XEe,ILe=function(e){return void 0!==e&&(vLe.Array===e||yLe[bLe]===e)},RLe=aFe,LLe=wLe,$Le=function(e){if(null!=e)return e[TLe]||e["@@iterator"]||FLe[CLe(e)]},QLe=function(e,t,n,i){try{return i?t(DLe(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&DLe(r.call(e)),t}},zLe=function(e,t){this.stopped=e,this.result=t},jLe=gLe.exports=function(e,t,n,i,r){var a,o,s,l,u,c,d,p=LLe(t,n,i?2:1);if(r)a=e;else{if("function"!=typeof(o=$Le(e)))throw TypeError("Target is not iterable");if(ILe(o)){for(s=0,l=RLe(e.length);l>s;s++)if((u=i?p(ALe(d=e[s])[0],d[1]):p(e[s]))&&u instanceof zLe)return u;return new zLe(!1)}a=o.call(e)}for(c=a.next;!(d=c.call(a)).done;)if("object"==typeof(u=QLe(a,p,d.value,i))&&u&&u instanceof zLe)return u;return new zLe(!1)};jLe.stop=function(e){return new zLe(!0,e)};var NLe=MTe("iterator"),MLe=!1;try{var ULe=0,BLe={next:function(){return{done:!!ULe++}},return:function(){MLe=!0}};BLe[NLe]=function(){return this},Array.from(BLe,(function(){throw 2}))}catch(e){}var qLe,GLe,WLe,XLe=XEe,VLe=XFe,YLe=MTe("species"),ZLe=function(e,t){var n,i=XLe(e).constructor;return void 0===i||null==(n=XLe(i)[YLe])?t:VLe(n)},HLe=KCe("navigator","userAgent")||"",KLe=/(iphone|ipod|ipad).*applewebkit/i.test(HLe),JLe=lEe,e$e=cEe,t$e=bEe,n$e=wLe,i$e=rDe,r$e=REe,a$e=KLe,o$e=JLe.location,s$e=JLe.setImmediate,l$e=JLe.clearImmediate,u$e=JLe.process,c$e=JLe.MessageChannel,d$e=JLe.Dispatch,p$e=0,h$e={},f$e="onreadystatechange",m$e=function(e){if(h$e.hasOwnProperty(e)){var t=h$e[e];delete h$e[e],t()}},g$e=function(e){return function(){m$e(e)}},v$e=function(e){m$e(e.data)},b$e=function(e){JLe.postMessage(e+"",o$e.protocol+"//"+o$e.host)};s$e&&l$e||(s$e=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return h$e[++p$e]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},qLe(p$e),p$e},l$e=function(e){delete h$e[e]},"process"==t$e(u$e)?qLe=function(e){u$e.nextTick(g$e(e))}:d$e&&d$e.now?qLe=function(e){d$e.now(g$e(e))}:c$e&&!a$e?(WLe=(GLe=new c$e).port2,GLe.port1.onmessage=v$e,qLe=n$e(WLe.postMessage,WLe,1)):!JLe.addEventListener||"function"!=typeof postMessage||JLe.importScripts||e$e(b$e)||"file:"===o$e.protocol?qLe=f$e in r$e("script")?function(e){i$e.appendChild(r$e("script")).onreadystatechange=function(){i$e.removeChild(this),m$e(e)}}:function(e){setTimeout(g$e(e),0)}:(qLe=b$e,JLe.addEventListener("message",v$e,!1)));var y$e,O$e,w$e,_$e,k$e,x$e,S$e,P$e,E$e={set:s$e,clear:l$e},C$e=lEe,F$e=uEe.f,T$e=bEe,D$e=E$e.set,A$e=KLe,I$e=C$e.MutationObserver||C$e.WebKitMutationObserver,R$e=C$e.process,L$e=C$e.Promise,$$e="process"==T$e(R$e),Q$e=F$e(C$e,"queueMicrotask"),z$e=Q$e&&Q$e.value;z$e||(y$e=function(){var e,t;for($$e&&(e=R$e.domain)&&e.exit();O$e;){t=O$e.fn,O$e=O$e.next;try{t()}catch(e){throw O$e?_$e():w$e=void 0,e}}w$e=void 0,e&&e.enter()},$$e?_$e=function(){R$e.nextTick(y$e)}:I$e&&!A$e?(k$e=!0,x$e=document.createTextNode(""),new I$e(y$e).observe(x$e,{characterData:!0}),_$e=function(){x$e.data=k$e=!k$e}):L$e&&L$e.resolve?(S$e=L$e.resolve(void 0),P$e=S$e.then,_$e=function(){P$e.call(S$e,y$e)}):_$e=function(){D$e.call(C$e,y$e)});var j$e=z$e||function(e){var t={fn:e,next:void 0};w$e&&(w$e.next=t),O$e||(O$e=t,_$e()),w$e=t},N$e={},M$e=XFe,U$e=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=M$e(t),this.reject=M$e(n)};N$e.f=function(e){return new U$e(e)};var B$e,q$e,G$e=XEe,W$e=PEe,X$e=N$e,V$e=lEe,Y$e=HLe,Z$e=lEe.process,H$e=Z$e&&Z$e.versions,K$e=H$e&&H$e.v8;K$e?q$e=(B$e=K$e.split("."))[0]+B$e[1]:Y$e&&(!(B$e=Y$e.match(/Edge\/(\d+)/))||B$e[1]>=74)&&(B$e=Y$e.match(/Chrome\/(\d+)/))&&(q$e=B$e[1]);var J$e,eQe,tQe,nQe,iQe=q$e&&+q$e,rQe=WFe,aQe=lEe,oQe=KCe,sQe=cLe,lQe=nCe.exports,uQe=function(e,t,n){for(var i in t)dLe(e,i,t[i],n);return e},cQe=MDe,dQe=function(e){var t=pLe(e),n=hLe.f;fLe&&t&&!t[mLe]&&n(t,mLe,{configurable:!0,get:function(){return this}})},pQe=PEe,hQe=XFe,fQe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},mQe=bEe,gQe=dCe,vQe=gLe.exports,bQe=function(e,t){if(!t&&!MLe)return!1;var n=!1;try{var i={};i[NLe]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},yQe=ZLe,OQe=E$e.set,wQe=j$e,_Qe=function(e,t){if(G$e(e),W$e(t)&&t.constructor===e)return t;var n=X$e.f(e);return(0,n.resolve)(t),n.promise},kQe=function(e,t){var n=V$e.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},xQe=N$e,SQe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},PQe=NCe,EQe=zFe,CQe=iQe,FQe=MTe("species"),TQe="Promise",DQe=PQe.get,AQe=PQe.set,IQe=PQe.getterFor(TQe),RQe=sQe,LQe=aQe.TypeError,$Qe=aQe.document,QQe=aQe.process,zQe=oQe("fetch"),jQe=xQe.f,NQe=jQe,MQe="process"==mQe(QQe),UQe=!!($Qe&&$Qe.createEvent&&aQe.dispatchEvent),BQe="unhandledrejection",qQe=EQe(TQe,(function(){if(!(gQe(RQe)!==String(RQe))){if(66===CQe)return!0;if(!MQe&&"function"!=typeof PromiseRejectionEvent)return!0}if(CQe>=51&&/native code/.test(RQe))return!1;var e=RQe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[FQe]=t,!(e.then((function(){}))instanceof t)})),GQe=qQe||!bQe((function(e){RQe.all(e).catch((function(){}))})),WQe=function(e){var t;return!(!pQe(e)||"function"!=typeof(t=e.then))&&t},XQe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;wQe((function(){for(var r=t.value,a=1==t.state,o=0;i.length>o;){var s,l,u,c=i[o++],d=a?c.ok:c.fail,p=c.resolve,h=c.reject,f=c.domain;try{d?(a||(2===t.rejection&&HQe(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?h(LQe("Promise-chain cycle")):(l=WQe(s))?l.call(s,p,h):p(s)):h(r)}catch(e){f&&!u&&f.exit(),h(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&YQe(e,t)}))}},VQe=function(e,t,n){var i,r;UQe?((i=$Qe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),aQe.dispatchEvent(i)):i={promise:t,reason:n},(r=aQe["on"+e])?r(i):e===BQe&&kQe("Unhandled promise rejection",n)},YQe=function(e,t){OQe.call(aQe,(function(){var n,i=t.value;if(ZQe(t)&&(n=SQe((function(){MQe?QQe.emit("unhandledRejection",i,e):VQe(BQe,e,i)})),t.rejection=MQe||ZQe(t)?2:1,n.error))throw n.value}))},ZQe=function(e){return 1!==e.rejection&&!e.parent},HQe=function(e,t){OQe.call(aQe,(function(){MQe?QQe.emit("rejectionHandled",e):VQe("rejectionhandled",e,t.value)}))},KQe=function(e,t,n,i){return function(r){e(t,n,r,i)}},JQe=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,XQe(e,t,!0))},eze=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw LQe("Promise can't be resolved itself");var r=WQe(n);r?wQe((function(){var i={done:!1};try{r.call(n,KQe(eze,e,i,t),KQe(JQe,e,i,t))}catch(n){JQe(e,i,n,t)}})):(t.value=n,t.state=1,XQe(e,t,!1))}catch(n){JQe(e,{done:!1},n,t)}}};qQe&&(RQe=function(e){fQe(this,RQe,TQe),hQe(e),J$e.call(this);var t=DQe(this);try{e(KQe(eze,this,t),KQe(JQe,this,t))}catch(e){JQe(this,t,e)}},(J$e=function(e){AQe(this,{type:TQe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=uQe(RQe.prototype,{then:function(e,t){var n=IQe(this),i=jQe(yQe(this,RQe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=MQe?QQe.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&XQe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),eQe=function(){var e=new J$e,t=DQe(e);this.promise=e,this.resolve=KQe(eze,e,t),this.reject=KQe(JQe,e,t)},xQe.f=jQe=function(e){return e===RQe||e===tQe?new eQe(e):NQe(e)},"function"==typeof sQe&&(nQe=sQe.prototype.then,lQe(sQe.prototype,"then",(function(e,t){var n=this;return new RQe((function(e,t){nQe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof zQe&&rQe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return _Qe(RQe,zQe.apply(aQe,arguments))}}))),rQe({global:!0,wrap:!0,forced:qQe},{Promise:RQe}),cQe(RQe,TQe,!1),dQe(TQe),tQe=oQe(TQe),rQe({target:TQe,stat:!0,forced:qQe},{reject:function(e){var t=jQe(this);return t.reject.call(void 0,e),t.promise}}),rQe({target:TQe,stat:!0,forced:qQe},{resolve:function(e){return _Qe(this,e)}}),rQe({target:TQe,stat:!0,forced:GQe},{all:function(e){var t=this,n=jQe(t),i=n.resolve,r=n.reject,a=SQe((function(){var n=hQe(t.resolve),a=[],o=0,s=1;vQe(e,(function(e){var l=o++,u=!1;a.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,a[l]=e,--s||i(a))}),r)})),--s||i(a)}));return a.error&&r(a.value),n.promise},race:function(e){var t=this,n=jQe(t),i=n.reject,r=SQe((function(){var r=hQe(t.resolve);vQe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var tze={},nze=cEe;function ize(e,t){return RegExp(e,t)}tze.UNSUPPORTED_Y=nze((function(){var e=ize("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),tze.BROKEN_CARET=nze((function(){var e=ize("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var rze=IIe,aze=tze,oze=RegExp.prototype.exec,sze=String.prototype.replace,lze=oze,uze=function(){var e=/a/,t=/b*/g;return oze.call(e,"a"),oze.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),cze=aze.UNSUPPORTED_Y||aze.BROKEN_CARET,dze=void 0!==/()??/.exec("")[1];(uze||dze||cze)&&(lze=function(e){var t,n,i,r,a=this,o=cze&&a.sticky,s=rze.call(a),l=a.source,u=0,c=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),dze&&(n=new RegExp("^"+l+"$(?!\\s)",s)),uze&&(t=a.lastIndex),i=oze.call(o?n:a,c),o?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:uze&&i&&(a.lastIndex=a.global?i.index+i[0].length:t),dze&&i&&i.length>1&&sze.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var pze=lze;WFe({target:"RegExp",proto:!0,forced:/./.exec!==pze},{exec:pze});var hze,fze=nCe.exports,mze=cEe,gze=MTe,vze=pze,bze=tCe,yze=gze("species"),Oze=!mze((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),wze="$0"==="a".replace(/./,"$0"),_ze=gze("replace"),kze=!!/./[_ze]&&""===/./[_ze]("a","$0"),xze=!mze((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]})),Sze=function(e,t,n,i){var r=gze(e),a=!mze((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),o=a&&!mze((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[yze]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!a||!o||"replace"===e&&(!Oze||!wze||kze)||"split"===e&&!xze){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===vze?a&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:wze,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:kze}),u=l[0],c=l[1];fze(String.prototype,e,u),fze(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&bze(RegExp.prototype[r],"sham",!0)},Pze=nFe,Eze=_Ee,Cze=function(e){return function(t,n){var i,r,a=String(Eze(t)),o=Pze(n),s=a.length;return o<0||o>=s?e?"":void 0:(i=a.charCodeAt(o))<55296||i>56319||o+1===s||(r=a.charCodeAt(o+1))<56320||r>57343?e?a.charAt(o):i:e?a.slice(o,o+2):r-56320+(i-55296<<10)+65536}},Fze={codeAt:Cze(!1),charAt:Cze(!0)}.charAt,Tze=function(e,t,n){return t+(n?Fze(e,t).length:1)},Dze=bEe,Aze=pze,Ize=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"!==Dze(e))throw TypeError("RegExp#exec called on incompatible receiver");return Aze.call(e,t)},Rze=Sze,Lze=GTe,$ze=XEe,Qze=_Ee,zze=ZLe,jze=Tze,Nze=aFe,Mze=Ize,Uze=pze,Bze=cEe,qze=[].push,Gze=Math.min,Wze=4294967295,Xze=!Bze((function(){return!RegExp(Wze,"y")}));Rze("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(Qze(this)),r=void 0===n?Wze:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!Lze(e))return t.call(i,e,r);for(var a,o,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(a=Uze.call(d,i))&&!((o=d.lastIndex)>c&&(l.push(i.slice(c,a.index)),a.length>1&&a.index<i.length&&qze.apply(l,a.slice(1)),s=a[0].length,c=o,l.length>=r));)d.lastIndex===a.index&&d.lastIndex++;return c===i.length?!s&&d.test("")||l.push(""):l.push(i.slice(c)),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=Qze(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,r,n):i.call(String(r),t,n)},function(e,r){var a=n(i,e,this,r,i!==t);if(a.done)return a.value;var o=$ze(e),s=String(this),l=zze(o,RegExp),u=o.unicode,c=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Xze?"y":"g"),d=new l(Xze?o:"^(?:"+o.source+")",c),p=void 0===r?Wze:r>>>0;if(0===p)return[];if(0===s.length)return null===Mze(d,s)?[s]:[];for(var h=0,f=0,m=[];f<s.length;){d.lastIndex=Xze?f:0;var g,v=Mze(d,Xze?s:s.slice(f));if(null===v||(g=Gze(Nze(d.lastIndex+(Xze?0:f)),s.length))===h)f=jze(s,f,u);else{if(m.push(s.slice(h,f)),m.length===p)return m;for(var b=1;b<=v.length-1;b++)if(m.push(v[b]),m.length===p)return m;f=h=g}}return m.push(s.slice(h)),m}]}),!Xze),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(hze||(hze={}));var Vze=function(e){var n=e.fileName,i=e.url,r=e.onPlay;if(!i)return null;var a="safari"===lO?i+"#t=0.1":i;return t.jsxs("div",HPe({className:"lt-reach-embedded-video"},{children:[t.jsx(qIe,{fileName:n,url:i},void 0),t.jsxs("video",HPe({onPlay:function(){return null==r?void 0:r(i)},preload:"metadata",controls:!0,title:n,width:"auto",height:"auto"},{children:[t.jsx("source",{src:a,type:"video/mp4"},void 0),t.jsx(rF,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function Yze(e){var t,n="mac"===sd.deviceInfo.operatingSystem,i=null===(t=BY.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(hze.mp4)||(n?i.startsWith(hze.quicktime):i.startsWith(hze.webm)))}var Zze,Hze,Kze=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},Jze=function(e){return"\n &:-moz-placeholder {\n "+e+";\n }\n &::-moz-placeholder {\n "+e+";\n }\n &:-ms-input-placeholder {\n "+e+";\n }\n &::-webkit-input-placeholder {\n "+e+";\n }\n "},eje=function(e,t,i){return n.css(Hze||(Hze=nEe(["\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*i*e,t,i,e)};function tje(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 nje(e){return JPe(this,void 0,void 0,(function(){return eEe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(tje))];case 1:return[2,t.sent()]}}))}))}function ije(e){return XIe(e)?"MusicInCollectionFill":Yze(e)?"Video":oje(null==e?void 0:e.split(".").pop().toLowerCase())}function rje(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 aje(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function oje(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 sje(){var e=MX(),t=NX(),n=t.createApiUrl,i=t.fetchFromApi,a=r.useContext(pF).identifier,o=Ry(),s=xae().interaction,l=null==a?void 0:a.id;return r.useMemo((function(){return{exchangeShortLivedToken:function(e){return JPe(this,void 0,void 0,(function(){var t,n;return eEe(this,(function(r){switch(r.label){case 0:return e?(t={method:"POST",headers:zX(e,l)},[4,i("/file_access_token/types/short_lived",t)]):[2,null];case 1:return[2,200!==(n=r.sent()).status?null:n.text()]}}))}))},getPublishableItemShortLivedToken:function(t,n){return e.custom(t+"/"+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 JPe(r,void 0,void 0,(function(){var r;return eEe(this,(function(a){switch(a.label){case 0:return[4,t()];case 1:return r=a.sent(),window.open(r,"ios"===o.deviceInfo.operatingSystem?"_self":e),s({event:tae.downloadFile,action:nae.click,value:Oae(r),item:{id:n,type:"content",parentId:i}}),[2]}}))}))}}}}),[l,i,n,e,module])}var lje,uje,cje,dje,pje,hje,fje,mje,gje,vje,bje,yje,Oje,wje,_je,kje,xje,Sje,Pje=function(e){var n=e.files,i=e.onDeleteClick,r=e.getFileUrl,a=e.fileAccessToken,o=e.onPlayVideo,s=e.onPlayAudio,l=e.disabled,u=e.parentId,c=e.className;if(!n||0===n.length)return null;var d=n.filter((function(e){return r&&XIe(e.filename)})),p=n.filter((function(e){return r&&Yze(e.filename)})),h=n.filter((function(e){return!d.includes(e)&&!p.includes(e)}));return t.jsxs(t.Fragment,{children:[p.length>0&&t.jsx(Cje,HPe({className:c,"data-preload-video":"safari"===lO},{children:p.map((function(e){return t.jsx(Fje,{children:t.jsx(Vze,{fileName:e.filename,url:r(e.id),onPlay:function(t){return o(t,e.id)}},void 0)},e.id)}))}),void 0),d.length>0&&t.jsx(Eje,HPe({className:c},{children:d.map((function(e){return t.jsx(Tje,{children:t.jsx(WIe,{fileName:e.filename,url:r(e.id),onPlay:function(t){return s(t,e.id)}},void 0)},e.id)}))}),void 0),h.length>0&&t.jsx(Eje,HPe({className:c},{children:h.map((function(e){return t.jsx(Tje,{children:t.jsx(Dje,{attachment:e,disabled:l,getFileUrl:r,fileAccessToken:a,onDeleteClick:i,parentId:u},void 0)},e.id)}))}),void 0)]},void 0)},Eje=m.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(lje||(lje=nEe(["\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"]))),Cje=m.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(uje||(uje=nEe(["\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),Fje=m.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(cje||(cje=nEe(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),Ere),Tje=m.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(dje||(dje=nEe(["\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"])),Ere,Are,5),Dje=function(e){var n=e.attachment,r=e.onDeleteClick,a=e.getFileUrl,o=e.fileAccessToken,s=e.disabled,l=e.parentId,u=zC().formatMessage,c=!s&&r,d=sje(),p=d.exchangeShortLivedToken,h=d.createDownloadClickHandler;return t.jsxs(Aje,{children:[n.isUploadInProgress&&t.jsx(jje,{children:t.jsx(Nje,{size:i.SpinnerSize.medium},void 0)},void 0),t.jsx(Rje,HPe({takeFullWidth:!c},{children:function(){var e=this;if(n.hasError)return t.jsxs(Lje,{children:[t.jsx(Mje,{iconName:"Warning"},void 0),t.jsx(zje,HPe({title:n.filename},{children:n.filename}),void 0)]},void 0);var i=ije(n.filename);if(a)return t.jsxs(Ije,HPe({title:n.filename,onClick:h("_blank",(function(){return JPe(e,void 0,void 0,(function(){var e;return eEe(this,(function(t){switch(t.label){case 0:return[4,p(o)];case 1:return e=t.sent(),[2,a(n.id,e)]}}))}))}),n.id,l)},{children:[t.jsx($je,{iconName:i},void 0),t.jsx(zje,{children:n.filename},void 0)]}),void 0);return t.jsxs(Lje,{children:[t.jsx($je,{iconName:i},void 0),t.jsx(zje,HPe({title:n.filename},{children:n.filename}),void 0)]},void 0)}()}),void 0),c&&t.jsx(Qje,{iconProps:{iconName:"Delete"},onClick:function(){return r(n)},disabled:n.isUploadInProgress,ariaLabel:u({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},Aje=m.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(pje||(pje=nEe(["\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})),Ije=m.default(i.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(hje||(hje=nEe(["\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}),Ere,(function(e){return e.theme.textColors.default})),Rje=m.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(gje||(gje=nEe(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?n.css(fje||(fje=nEe(["\n width: 100%;\n "],["\n width: 100%;\n "]))):n.css(mje||(mje=nEe(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),Lje=m.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(vje||(vje=nEe(["\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"])),Ere),$je=m.default(i.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(bje||(bje=nEe(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),Ere),Qje=m.default(i.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(yje||(yje=nEe(["\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})),zje=m.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(Oje||(Oje=nEe(["\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"]))),jje=m.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(wje||(wje=nEe(["\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"]))),Nje=m.default(lLe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(_je||(_je=nEe(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),Mje=m.default(i.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(kje||(kje=nEe(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),Uje=function(e){var n,i=e.children,r=KPe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(Bje,{},void 0),t.jsx(rEe,HPe({},r,{modalProps:HPe(HPe({},r.modalProps||{}),{className:za({"lt-reach-dialog-mobile-full-height":sd.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},Bje=n.createGlobalStyle(xje||(xje=nEe(['\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"}(Sje||(Sje={}));var qje=function(e){var n=e.className,i=e.offsetTop,r=void 0===i?0:i,a=e.positionBottomOnMobile,o=e.domIdentifier,s=e.offsetRight,l=void 0===s?0:s,u=e.children;return t.jsxs(Xje,HPe({offsetTop:r,offsetRight:l,className:n,positionBottomOnMobile:a,"data-fab":o},{children:[t.jsx(Yje,{},void 0),u]}),void 0)},Gje=function(e){var n=e.iconName,i=e.onClick,r=e.tooltipResourceKey,a=e.useSecondaryBgColor,o=e.domIdentifier,s=e.className,l=zC().formatMessage;return t.jsxs(JAe,HPe({className:s,resourceKey:r},{children:[t.jsx(Yje,{},void 0),t.jsx(Zje,{"data-fab":o,iconProps:{iconName:n},onClick:i,ariaLabel:l({id:r}),useSecondaryBgColor:a},void 0)]}),void 0)},Wje=function(e){var n=e.iconName,a=e.tooltipResourceKey,o=e.titleResourceKey,s=e.showCloseButton,l=e.useSecondaryBgColor,u=e.children,c=e.domIdentifier,d=e.useMobileFullHeight,p=zC().formatMessage,h=r.useState(!1),f=h[0],m=h[1],g=r.useRef(null),v=sd.isAnyMobileApp;return t.jsxs(t.Fragment,{children:[t.jsx("div",HPe({ref:g},{children:t.jsx(Gje,{"data-fab":c,tooltipResourceKey:a,iconName:n,onClick:function(){return m(!f)},useSecondaryBgColor:l},void 0)}),void 0),f&&v&&d&&t.jsxs(Uje,HPe({hidden:!f,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:i.DialogType.close,title:p({id:o})},onDismiss:function(){return m(!1)}},{children:[t.jsx(pNe,{},void 0),u]}),void 0),f&&v&&!d&&t.jsxs(rEe,HPe({hidden:!f},{children:[u,t.jsx(i.DialogFooter,{children:t.jsx(i.DefaultButton,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)},void 0)]}),void 0),f&&!v&&t.jsx(hRe,HPe({target:g.current,directionalHint:i.DirectionalHint.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:t.jsxs(cNe,{children:[u,s&&t.jsx(dNe,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)]},void 0)}),void 0)]},void 0)},Xje=m.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(Jje||(Jje=nEe(["\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?n.css(Hje||(Hje=nEe(["\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 "])),Ire,e.offsetTop+20):n.css(Kje||(Kje=nEe(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),Vje=function(e){return n.css(nNe||(nNe=nEe(["\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?n.css(eNe||(eNe=nEe(["\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})):n.css(tNe||(tNe=nEe(["\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})))},Yje=n.createGlobalStyle(iNe||(iNe=nEe(["\n ","\n"],["\n ","\n"])),(function(e){return l4("\n [data-fab] button:focus::after,\n button[data-fab]:focus::after {\n outline-color: "+e.theme.palette.themePrimary+";\n outline-offset: 5px;\n border-radius: 50%;\n }\n ")})),Zje=m.default(i.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(rNe||(rNe=nEe(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return Vje(e.useSecondaryBgColor)}));m.default(JAe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(aNe||(aNe=nEe(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return Vje(e.useSecondaryBgColor)}));var Hje,Kje,Jje,eNe,tNe,nNe,iNe,rNe,aNe,oNe,sNe,lNe,uNe,cNe=m.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(oNe||(oNe=nEe(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),Cre),dNe=m.default(i.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(sNe||(sNe=nEe(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),pNe=n.createGlobalStyle(lNe||(lNe=nEe(["\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"])),Qre),hNe=function(e){var n=e.tagName,i=void 0===n?"div":n,a=e.id,o=e.values,s=e.dir,l=e.className;return r.createElement(i,{className:l,dir:s},t.jsx(rF,{id:a,values:o},void 0))},fNe=function(e){var n=e.icon,r=e.resourceKey,a=e.className,o=e.values,s="string"==typeof n?t.jsx(i.Icon,{iconName:n},void 0):n;return t.jsxs(mNe,HPe({className:a},{children:[s,t.jsx(rF,{id:r,values:o,tagName:"span"},void 0)]}),void 0)},mNe=m.default.div(uNe||(uNe=nEe(["\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,qre),gNe={},vNe=new KV;var bNe=new KV;function yNe(e){var t=r.useRef(!0);r.useEffect((function(){t.current||bNe.next(),t.current=!1}),e)}var ONe,wNe,_Ne,kNe,xNe=function(e){var n=e.groupName,i=e.groupId,a=e.keywordName,o=e.language,s=e.underlined,l=e.onClick,u=e.tabIndex,c=ote(),d=Pne(r.useContext(cue).selectedKeywordGroups,c,i,a,n,o);return l?t.jsx(PNe,HPe({onClick:l,tabIndex:u},{children:t.jsx(ENe,HPe({underlined:!0,dir:"auto"},{children:d}),void 0)}),void 0):t.jsx(ENe,HPe({underlined:s,dir:"auto"},{children:d}),void 0)},SNe=function(e){var n=e.groupId,i=e.keywordName,a=ote(),o=Pne(r.useContext(cue).selectedKeywordGroups,a,n,i);return yNe([o]),t.jsx(ENe,HPe({underlined:!0},{children:o}),void 0)},PNe=m.default(lRe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(ONe||(ONe=nEe(["\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})),ENe=m.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(_Ne||(_Ne=nEe(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&n.css(wNe||(wNe=nEe(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),CNe=function(e){var n=e.modified,i=zC();return n?t.jsxs(FNe,HPe({className:"ms-fontColor-neutralTertiary"},{children:["(",t.jsx(JAe,HPe({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=i.formatDate(n,{day:"2-digit",month:"2-digit",year:"numeric"}),t=i.formatTime(n);return e+" "+t}()}},{children:t.jsx(rF,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},FNe=m.default.div(kNe||(kNe=nEe(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),Gre);function TNe(){return TNe=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},TNe.apply(this,arguments)}var DNe=function(e){return g.createElement("svg",TNe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),g.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}}),g.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"}}),g.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),g.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}}),g.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"}}),g.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}}),g.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}}),g.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}}),g.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"}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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 ANe(){return ANe=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},ANe.apply(this,arguments)}var INe=function(e){return g.createElement("svg",ANe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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 RNe(){return RNe=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},RNe.apply(this,arguments)}var LNe=function(e){return g.createElement("svg",RNe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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 $Ne(){return $Ne=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},$Ne.apply(this,arguments)}var QNe,zNe,jNe,NNe,MNe,UNe,BNe,qNe,GNe,WNe,XNe,VNe=function(e){return g.createElement("svg",$Ne({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),g.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),g.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}}),g.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"}}),g.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}}),g.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),g.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"}}),g.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}}),g.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"}}),g.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"}}),g.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"}}),g.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}}),g.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}}))},YNe=function(e){var n=e.images,r=e.selectedIndex,a=e.hidden,o=e.onClose,s=e.imageUrlResolver,l=CI((function(){return JPe(this,void 0,void 0,(function(){var e;return eEe(this,(function(t){switch(t.label){case 0:return e=n.map((function(e){return null!=e.width&&null!=e.height?Promise.resolve({width:e.width,height:e.height}):tje(s(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),u=l[0],c=l[1],d=l[2];return c||d?null:t.jsx(i.Layer,{children:t.jsx(ZNe,{images:n.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,u[t])})),selectedIndex:r,hidden:a,onClose:o},void 0)},void 0)},ZNe=function(e){var n=e.images,i=e.hidden,a=e.selectedIndex,o=e.onClose,s=zC().formatMessage,l=r.useRef(null),u=r.useRef();return r.useEffect((function(){var e;if(!i)return clearTimeout(u.current),u.current=setTimeout((function(){return e=function(){var e=new Hue(l.current,Jue,n.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:a});return e.listen("close",o),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[i,a]),t.jsxs(t.Fragment,{children:[t.jsx(HNe,{enforceArrowVisibility:!sd.isNativeMobileApp},void 0),t.jsxs("div",HPe({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[t.jsx("div",{className:"pswp__bg"},void 0),t.jsxs("div",HPe({className:"pswp__scroll-wrap"},{children:[t.jsxs("div",HPe({className:"pswp__container"},{children:[t.jsx("div",{className:"pswp__item"},void 0),t.jsx("div",{className:"pswp__item"},void 0),t.jsx("div",{className:"pswp__item"},void 0)]}),void 0),t.jsxs("div",HPe({className:"pswp__ui pswp__ui--hidden"},{children:[t.jsxs("div",HPe({className:"pswp__top-bar"},{children:[t.jsx("div",{className:"pswp__counter"},void 0),t.jsx("button",{className:"pswp__button pswp__button--close",title:s({id:"ImageViewer.closeCaption"})},void 0),t.jsx("button",{className:"pswp__button pswp__button--fs",title:s({id:"ImageViewer.toggleFullscreenCaption"})},void 0),t.jsx("div",HPe({className:"pswp__preloader"},{children:t.jsx("div",HPe({className:"pswp__preloader__icn"},{children:t.jsx("div",HPe({className:"pswp__preloader__cut"},{children:t.jsx("div",{className:"pswp__preloader__donut"},void 0)}),void 0)}),void 0)}),void 0)]}),void 0),t.jsx("div",HPe({className:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},{children:t.jsx("div",{className:"pswp__share-tooltip"},void 0)}),void 0),t.jsx("button",{className:"pswp__button pswp__button--arrow--left",title:s({id:"ImageView.previousCaption"})},void 0),t.jsx("button",{className:"pswp__button pswp__button--arrow--right",title:s({id:"ImageView.nextCaption"})},void 0),t.jsx("div",HPe({className:"pswp__caption"},{children:t.jsx("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},HNe=n.createGlobalStyle(zNe||(zNe=nEe(["\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&&n.css(QNe||(QNe=nEe(["\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 "])))})),KNe=function(e){var n=e.images,a=e.imageUrlResolver,o=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,u=zC().formatMessage,c=r.useState(null),d=c[0],p=c[1],h=r.useContext(jle).theme.palette;if(!n||0===n.length)return null;var f=n.length>4,m=n.length>1,g=n[0];return t.jsxs(eMe,HPe({"data-multi-images":m,className:l,singleImageHeight:g.height,singleImageWidth:g.width},{children:[t.jsx("div",HPe({"data-gallery-wrapper":!0},{children:m?t.jsxs(t.Fragment,{children:[t.jsx(nMe,HPe({backgroundColor:null!=s?s:h.neutralLight,applyRoundedCorners:!o},{children:n.slice(0,4).map((function(e,n){return t.jsx(iMe,HPe({href:e.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),v(n)},"aria-label":u({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:t.jsx(rMe,{src:e.previewUrl,imageFit:i.ImageFit.centerCover,alt:e.imageTitle||""},void 0)}),n)}))}),void 0),f&&t.jsxs(aMe,HPe({onClick:function(){return v(4)}},{children:["+",n.length-4]}),void 0)]},void 0):t.jsx(JNe,{image:g,onClick:function(){return v(0)},disableRoundedCorners:o},void 0)}),void 0),t.jsx(YNe,{images:n,selectedIndex:d,hidden:null==d,onClose:function(){p(null)},imageUrlResolver:a},void 0)]}),void 0);function v(e){p(e)}},JNe=function(e){var n=e.image,i=e.onClick,r=e.disableRoundedCorners,a=zC().formatMessage;return t.jsx(tMe,HPe({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":a({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:t.jsx("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},eMe=m.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(NNe||(NNe=nEe(["\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&&n.css(jNe||(jNe=nEe(["\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)})),tMe=m.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(UNe||(UNe=nEe(["\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&&n.css(MNe||(MNe=nEe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),nMe=m.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(qNe||(qNe=nEe(["\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&&n.css(BNe||(BNe=nEe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),iMe=m.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(GNe||(GNe=nEe(["\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"]))),rMe=m.default(i.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(WNe||(WNe=nEe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),aMe=m.default(i.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(XNe||(XNe=nEe(["\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"])),Ure,Are,28);var oMe,sMe,lMe,uMe,cMe,dMe,pMe=function(e){var n=e.icon,r=e.isActive,a=e.disabled,o=e.tooltipResourceKey,s=e.onClick,l=e.link,u=e.className,c=KPe(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=zC().formatMessage;if(!l&&!s)return null;var p=za("header-button",u),h=l?t.jsx(mMe,HPe({className:p,to:l},c,{children:t.jsx(i.Icon,{iconName:n},void 0)}),void 0):t.jsx(fMe,HPe({className:p,disabled:a,onClick:function(e){return s(e.currentTarget)},iconProps:{iconName:n},ariaLabel:d({id:o}),"data-button-type":"header-btn",isActive:r},c),void 0);return t.jsx(hMe,HPe({className:"tooltip-container"},{children:t.jsx(JAe,HPe({resourceKey:o},{children:h}),void 0)}),void 0)},hMe=m.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(oMe||(oMe=nEe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),fMe=m.default(i.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(uMe||(uMe=nEe(['\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&&n.css(sMe||(sMe=nEe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&n.css(lMe||(lMe=nEe(["\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)})),mMe=m.default(a.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(dMe||(dMe=nEe(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return n.css(cMe||(cMe=nEe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),gMe="\t\n\v\f\r                 \u2028\u2029\ufeff",vMe=_Ee,bMe="[\t\n\v\f\r                 \u2028\u2029\ufeff]",yMe=RegExp("^"+bMe+bMe+"*"),OMe=RegExp(bMe+bMe+"*$"),wMe=function(e){return function(t){var n=String(vMe(t));return 1&e&&(n=n.replace(yMe,"")),2&e&&(n=n.replace(OMe,"")),n}},_Me={start:wMe(1),end:wMe(2),trim:wMe(3)},kMe=cEe,xMe=gMe,SMe=_Me.trim,PMe=function(e){return kMe((function(){return!!xMe[e]()||"​…᠎"!="​…᠎"[e]()||xMe[e].name!==e}))};WFe({target:"String",proto:!0,forced:PMe("trim")},{trim:function(){return SMe(this)}});var EMe,CMe,FMe,TMe,DMe,AMe,IMe,RMe,LMe,$Me,QMe,zMe,jMe,NMe,MMe,UMe,BMe,qMe=function(e){var n=e.url,i=e.target,a=e.ariaLabel,o=e.children,s=e.className,l=e.style,u=KPe(e,["url","target","ariaLabel","children","className","style"]);ste();var c=Pse(),d=r.useContext(uF);d.onOpenExternalLink;var p=d.tryGetInternalLink,h=!i&&p(n,c);return h?t.jsx(fIe,HPe({className:s,to:h,"data-link":Sre.Internal,"aria-label":a,style:l,dir:"auto"},u,{children:o}),void 0):t.jsx(GMe,HPe({url:n,target:i,className:s,ariaLabel:a,style:l},u,{children:o}),void 0)},GMe=function(e){var n=e.url,i=e.target,r=e.ariaLabel,a=e.onClick,o=e.className,s=e.children,l=e.style,u=KPe(e,["url","target","ariaLabel","onClick","className","children","style"]);return t.jsx(hIe,HPe({href:n,onClick:function(e){return null==a?void 0:a(e)},className:o,target:void 0===i?"_blank":i,rel:"noopener noreferrer","aria-label":r,"data-link":Sre.External,style:l,dir:"auto"},u,{children:s}),void 0)},WMe=n.css(EMe||(EMe=nEe(["\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"]))),XMe=m.default(qMe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(CMe||(CMe=nEe(["\n ","\n"],["\n ","\n"])),WMe),VMe=m.default(GMe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(FMe||(FMe=nEe(["\n ","\n"],["\n ","\n"])),WMe),YMe=m.default(i.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(DMe||(DMe=nEe(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&n.css(TMe||(TMe=nEe(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),ZMe=m.default((function(e){var n,r=e.iconName,a=e.ariaLabel,o=e.ariaLabelResourceKey,s=e.onClick,l=e.to,u=e.target,c=e.tooltipText,d=e.tooltipResourceKey,p=e.disabled,h=e.className,f=KPe(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=zC().formatMessage,g=a||(null===(n=null==o?void 0:o.trim())||void 0===n?void 0:n.length)>0&&m({id:o});return t.jsxs(JAe,HPe({resourceKey:d,text:c},{children:[l&&!s&&t.jsx(XMe,HPe({url:l,ariaLabel:g,target:u},f,{children:t.jsx(i.Icon,{iconName:r,className:h},void 0)}),void 0),s&&!l&&t.jsx(YMe,HPe({disabled:p,iconProps:{iconName:r},onClick:s,className:h,ariaLabel:g},f),void 0),s&&l&&t.jsx(VMe,HPe({url:l,target:u,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:t.jsx(i.Icon,{iconName:r,className:h},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(IMe||(IMe=nEe(["\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&&n.css(AMe||(AMe=nEe(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),HMe=function(e){var n=e.shouldAutoFocus,i=void 0===n||n,o=zC(),s=r.useState(null),l=s[0],u=s[1],c=a.useLocation(),d=r.useContext(jle).theme.textColors,p=r.useRef();return r.useEffect((function(){return $ue(f),i&&setTimeout((function(){var e;return p&&(null===(e=p.current)||void 0===e?void 0:e.focus())})),function(){Que(f)}}),[]),r.useEffect((function(){u("")}),[c.pathname]),t.jsxs(eUe,HPe({className:za("search-field",e.className),useLightTheme:e.useLightTheme},{children:[t.jsx(KMe,{className:"search-input",useLightTheme:e.useLightTheme,default:!0,value:l||e.searchText||"",onChange:function(e,t){return h(t)},onKeyDown:function(t){"Enter"===t.key&&e.onExecuteSearch&&e.onExecuteSearch(l);"Escape"===t.key&&h("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:e.placeholder||o.formatMessage({id:"TopBar.search"}),componentRef:function(e){return p.current=e},ariaLabel:o.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),e.searching&&t.jsx(JMe,{className:"search-spinner"},void 0),t.jsx(tUe,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var t;u(null),null===(t=e.onClear)||void 0===t||t.call(e)},color:!e.useLightTheme&&d.onPrimary},void 0)]}),void 0);function h(t){var n;u(t),null===(n=e.onChange)||void 0===n||n.call(e,t)}function f(){return!(!l&&!e.searchText)&&(h(""),!0)}},KMe=m.default(i.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})($Me||($Me=nEe(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?n.css(RMe||(RMe=nEe(["\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}),Jze("color: "+e.theme.textColors.default)):n.css(LMe||(LMe=nEe(["\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}),Jze("color: "+e.theme.textColors.onPrimary))})),JMe=m.default(i.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(QMe||(QMe=nEe(["\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})),eUe=m.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(NMe||(NMe=nEe(["\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"])),Jze("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?n.css(zMe||(zMe=nEe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):n.css(jMe||(jMe=nEe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),tUe=m.default(sIe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(MMe||(MMe=nEe(["\n align-self: center;\n"],["\n align-self: center;\n"]))),nUe=function(e){var n=e.onSearchInputFieldVisibilityChanged,i=e.isToolbarMode,a=e.onExecuteSearch,o=e.onSearchTextChange,s=e.searchText,l=e.showSearchBoxInput,u=e.className,c=e.shouldAutoFocus,d=r.useState(!!s),p=d[0],h=d[1],f=l||p||!!s;return r.useEffect((function(){null==n||n(f)}),[f]),t.jsxs(t.Fragment,{children:[f&&t.jsx(HMe,{onChange:o,onExecuteSearch:a,searchText:s,onClear:function(){null==o||o(""),m(!1)},shouldAutoFocus:c,className:u,useLightTheme:i},void 0),!f&&(i?t.jsx(ZMe,{iconName:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):t.jsx(pMe,{icon:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function m(e){h(e),null==n||n(e)}},iUe=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},rUe=XEe,aUe=_Ee,oUe=iUe,sUe=Ize;Sze("search",1,(function(e,t,n){return[function(t){var n=aUe(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=rUe(e),a=String(this),o=r.lastIndex;oUe(o,0)||(r.lastIndex=0);var s=sUe(r,a);return oUe(r.lastIndex,o)||(r.lastIndex=o),null===s?-1:s.index}]})),m.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(UMe||(UMe=nEe(["\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"}(BMe||(BMe={})),m.default(i.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(lUe||(lUe=nEe(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),m.default.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(dUe||(dUe=nEe(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?n.css(uUe||(uUe=nEe(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):n.css(cUe||(cUe=nEe(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),m.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(pUe||(pUe=nEe(["\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"})),m.default.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(hUe||(hUe=nEe(["\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 lUe,uUe,cUe,dUe,pUe,hUe,fUe,mUe,gUe,vUe=m.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(fUe||(fUe=nEe(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));m.default.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(mUe||(mUe=nEe(["\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"}),vUe,(function(e){return e.isLoading?"0.6":"1"})),m.default(lLe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(gUe||(gUe=nEe(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var bUe,yUe,OUe=function(e){return t.jsx(wUe,HPe({},e,{"data-toggle-button":!0}),void 0)},wUe=m.default(i.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(bUe||(bUe=nEe(["\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})),_Ue=function(e){return n.css(yUe||(yUe=nEe(["\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 kUe(e,t,n,i){return(i?e.translations[wne(t)]||e.translations[t.subscription.defaultLanguage]:e.translations[t.preferredUiLanguage]||e.translations[wne(t)])||e.name||n.formatMessage({id:"Groups.defaultName"})}var xUe=Sze,SUe=XEe,PUe=YFe,EUe=aFe,CUe=nFe,FUe=_Ee,TUe=Tze,DUe=Ize,AUe=Math.max,IUe=Math.min,RUe=Math.floor,LUe=/\$([$&'`]|\d\d?|<[^>]*>)/g,$Ue=/\$([$&'`]|\d\d?)/g,QUe=function(e){return void 0===e?e:String(e)};xUe("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,a=i.REPLACE_KEEPS_$0,o=r?"$":"$0";return[function(n,i){var r=FUe(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&a||"string"==typeof i&&-1===i.indexOf(o)){var l=n(t,e,this,i);if(l.done)return l.value}var u=SUe(e),c=String(this),d="function"==typeof i;d||(i=String(i));var p=u.global;if(p){var h=u.unicode;u.lastIndex=0}for(var f=[];;){var m=DUe(u,c);if(null===m)break;if(f.push(m),!p)break;""===String(m[0])&&(u.lastIndex=TUe(c,EUe(u.lastIndex),h))}for(var g="",v=0,b=0;b<f.length;b++){m=f[b];for(var y=String(m[0]),O=AUe(IUe(CUe(m.index),c.length),0),w=[],_=1;_<m.length;_++)w.push(QUe(m[_]));var k=m.groups;if(d){var x=[y].concat(w,O,c);void 0!==k&&x.push(k);var S=String(i.apply(void 0,x))}else S=s(y,c,O,w,k,i);O>=v&&(g+=c.slice(v,O)+S,v=O+y.length)}return g+c.slice(v)}];function s(e,n,i,r,a,o){var s=i+e.length,l=r.length,u=$Ue;return void 0!==a&&(a=PUe(a),u=LUe),t.call(o,u,(function(t,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return t;if(c>l){var d=RUe(c/10);return 0===d?t:d<=l?void 0===r[d-1]?o.charAt(1):r[d-1]+o.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var zUe,jUe=Are-Tre,NUe=Ire-Tre;function MUe(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 a=t[0].split(/^(?:\/[a-z\d%_.~:#+-]+)*\/?/i);if(a.length<2)return!1;if(!(t=a.slice(-1))[0].length)return!0;if(t[0].startsWith("?")){var o=t[0].split(/^\?[;&a-z\d%_.~+=-]*/i);if(o.length<2)return!1;t=o.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 UUe(e){return e?"https://www.google.com/maps/search/?api=1&"+Vy.stringify({query:e}):null}function BUe(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}m.default.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(zUe||(zUe=nEe(["\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"])),Ere,Qre,Cre,10,10,Are,Cre,jUe,Ire,NUe);var qUe,GUe,WUe,XUe,VUe,YUe=m.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(GUe||(GUe=nEe(["\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,Wre,(function(e){return e.showPlaceholder&&n.css(qUe||(qUe=nEe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),Are,jUe,Wre,Ire,(function(e){return e.defaultWidth||250}));m.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(XUe||(XUe=nEe(["\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&&n.css(WUe||(WUe=nEe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),m.default(i.Icon).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(VUe||(VUe=nEe(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),Ere);var ZUe,HUe,KUe,JUe,eBe,tBe,nBe,iBe,rBe,aBe=function(e){var n=e.enterDuration,i=e.leaveDuration,r=e.children,a=e.style,o=e.className,s=!!n,l=!!i,u="common-opacity-animation_"+n+"_"+i;return t.jsxs(t.Fragment,{children:[t.jsx(oBe,{name:u,enterDuration:n,leaveDuration:i},void 0),t.jsx(Lce,HPe({style:a,className:o,transitionName:u,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:n,transitionEnterTimeout:n},{children:r}),void 0)]},void 0)},oBe=n.createGlobalStyle(ZUe||(ZUe=nEe(["\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})),sBe=function(e){var n=e.contentLanguageCode,i=e.originalContent,a=e.content,o=e.onTranslate,s=e.onContentChange,l=e.itemType,u=e.itemId,c=e.tooltipResourceKey,d=e.showLabel,p=zC().formatMessage,h=ote(),f=ste(),m=r.useState(null),g=m[0],v=m[1],b=r.useState(i===a),y=b[0],O=b[1],w=Yle().showError,_=xae().interaction,k=wne(h);if(r.useEffect((function(){return v(null)}),[i]),!f.automaticTranslation)return null;var x=p({id:"Generic.translate"});return n&&n!==k&&yne.includes(k)&&!bne.includes(k)?t.jsx(JAe,HPe({resourceKey:y?"Generic.translateTo":c,values:{language:p({id:"Generic.languages."+k})}},{children:t.jsx(lBe,HPe({"aria-label":d?null:x,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return JPe(this,void 0,void 0,(function(){var e;return eEe(this,(function(t){switch(t.label){case 0:return y?g?(s(g),O(!1),[3,4]):[3,1]:(s(i),O(!0),_({event:tae.translateContent,value:null,action:nae.click,item:{id:u,type:l}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(k)];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:tae.translateContent,value:k,itemType:l,action:nae.click,itemId:u,item:{id:u,type:l}}),[2]}}))}))}},{children:d&&x}),void 0)}),void 0):null},lBe=m.default(lRe)(HUe||(HUe=nEe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),uBe=m.default(i.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(KUe||(KUe=nEe(["\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})),cBe=function(n){var i=n.comment,a=n.showEdit,o=n.showDelete,s=n.onDelete,l=n.isEditMode,u=n.toggleEditMode,c=n.originalContent,d=n.currentContent,p=n.setContent,h=n.handleTranslate,f=n.showAutoTranslate,m=n.onReply,g=n.disabled,v=zC().formatMessage,b=ote(),y=r.useState(!1),O=y[0],w=y[1],_=r.useRef(null);return b.isPublicUser&&!f?null:b.isPublicUser&&f?t.jsx(sBe,{"data-auto-translate-button":i.id,originalContent:c,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:i.id},void 0):t.jsxs(t.Fragment,{children:[t.jsx("div",HPe({ref:_},{children:t.jsx(pBe,{"data-menu-button":i.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return w(!O)},ariaLabel:v({id:"AriaLabel.contextMenuButton"}),disabled:g},void 0)}),void 0),O&&t.jsx(fBe,HPe({"data-context-menu":!0,target:_.current,onDismiss:function(){return w(!1)}},{children:t.jsxs(dBe,{children:[t.jsx(JAe,HPe({resourceKey:"Comment.replyButton.tooltip",values:{name:i.sender.displayName}},{children:t.jsx(hBe,{"data-reply-button":i.id,iconProps:{iconName:"Reply"},onClick:function(){null==m||m(i,i.sender),w(!1)},text:v({id:"Comment.replyButton"})},void 0)}),void 0),f&&t.jsx(sBe,{"data-auto-translate-button":i.id,originalContent:c,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:i.id},void 0),a&&t.jsx(JAe,HPe({resourceKey:"Comment.edit.tooltip"},{children:t.jsx(hBe,{"data-edit-button":i.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),w(!1)},text:v({id:"Generic.edit"}),disabled:!i.id||l},void 0)}),void 0),o&&t.jsx(JAe,HPe({resourceKey:"Comment.delete.tooltip"},{children:t.jsx(hBe,{"data-delete-button":i.id,iconProps:{iconName:"Delete"},onClick:function(){s(i),w(!1)},text:v({id:"Generic.Delete"}),disabled:!i.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},dBe=m.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(JUe||(JUe=nEe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),pBe=m.default(sIe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(eBe||(eBe=nEe(["\n && {\n width: auto;\n padding: 0;\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;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"])),20),hBe=m.default(lRe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(tBe||(tBe=nEe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),fBe=m.default(hRe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(nBe||(nBe=nEe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),Ere);m.default(i.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(iBe||(iBe=nEe(["\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"]))),m.default(i.DefaultButton).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(rBe||(rBe=nEe(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var mBe,gBe,vBe,bBe,yBe,OBe=m.default(i.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(mBe||(mBe=nEe(["\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})),wBe=function(e){var n=e.toggleAll,i=e.className,a=r.useContext(jle).theme.palette.accent;return t.jsxs(_Be,HPe({className:i},{children:[t.jsx(kBe,HPe({onClick:function(){return n(!0)},"data-button-toggle":"selectAll",color:a},{children:t.jsx(rF,{id:"Generic.SelectAll"},void 0)}),void 0),t.jsx(kBe,HPe({onClick:function(){return n(!1)},"data-button-toggle":"clearAll",color:a},{children:t.jsx(rF,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},_Be=m.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(gBe||(gBe=nEe(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),Ere),kBe=m.default(lRe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(vBe||(vBe=nEe(["\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"])));m.default((function(e){var n=e.iconName,r=e.textKey,o=KPe(e,["iconName","textKey"]);return t.jsxs(a.NavLink,HPe({},o,{children:[n&&t.jsx(i.Icon,{iconName:n},void 0),t.jsx(rF,{id:r},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(bBe||(bBe=nEe(["\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"])),Ere,(function(e){return e.theme.palette.accent})),m.default(sIe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(yBe||(yBe=nEe([""],[""])));var xBe,SBe,PBe,EBe,CBe=function(e){var n=e.language,i=e.channel,a=e.role,o=e.className,s=ote(),l=r.useContext(cue).channels,u=DBe(function(){if(!l)return i;return l.find((function(e){return e.id===i.id||e.name===i.name}))}(),s,n);return t.jsx(FBe,HPe({title:u,className:o,role:a,dir:"auto"},{children:u}),void 0)},FBe=m.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(xBe||(xBe=nEe(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),TBe=function(e){var n=e.channels,i=e.language;return t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsxs("span",{children:[n>0&&", ",t.jsx(CBe,{channel:e,language:i},void 0)]},e.id)}))},void 0)};function DBe(e,t,n){if(null==e)return null;n||(n=wne(t));var i=e.translations||{};return n&&i[n]||i[t.subscription.defaultLanguage]||e.name}m.default(CBe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(SBe||(SBe=nEe(["\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"}),Mre),m.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(PBe||(PBe=nEe(["\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"])),Ere,15,Kze(2,2),Mre),m.default(sIe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(EBe||(EBe=nEe(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),Mre);var ABe,IBe,RBe,LBe,$Be,QBe,zBe,jBe,NBe,MBe,UBe,BBe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,a=e.visibleChannelsCount,o=void 0===a?3:a,s=e.onChannelClick,l=e.className;if(!n||0===n.length)return null;var u=n.length>o;return t.jsxs(WBe,HPe({className:l,"data-has-more-indicator":u},{children:[t.jsx(qBe,{channels:n.slice(0,o),language:i,channelStyleDefinition:r,onChannelClick:s},void 0),u&&t.jsx(GBe,{channels:n.slice(o),language:i,styleDefinition:r,onChannelClick:s},void 0)]}),void 0)},qBe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,a=e.onChannelClick;return t.jsx(XBe,HPe({"data-channels":!0},{children:n.map((function(e){var o=t.jsx(CBe,{channel:e,language:i},void 0);return a?t.jsx(VBe,HPe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return a(e)},"data-rounded-outline":!0},{children:o}),e.id):t.jsx(YBe,HPe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:o}),e.id)}))}),void 0)},GBe=function(e){var n=e.channels,i=e.language,a=e.styleDefinition,o=e.onChannelClick,s=r.useRef(),l=r.useState(!1),u=l[0],c=l[1];return t.jsxs(HBe,HPe({ref:s},{children:[t.jsx(KBe,HPe({onClick:function(){return c(!0)},backgroundColor:null==a?void 0:a.backgroundColor,color:null==a?void 0:a.color,"data-channels-indicator":!0},{children:"+"+n.length}),void 0),u&&t.jsx(JBe,HPe({target:s.current,onDismiss:function(){return c(!1)}},{children:t.jsx(eqe,{children:n.map((function(e){return t.jsx("li",{children:o?t.jsx(lRe,HPe({onClick:function(){return o(e)}},{children:t.jsx(CBe,{channel:e,language:i},void 0)}),void 0):t.jsx(CBe,{channel:e,language:i},void 0)},e.id)}))},void 0)}),void 0)]}),void 0)},WBe=m.default.div(ABe||(ABe=nEe(["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\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\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),56),XBe=m.default.div(IBe||(IBe=nEe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),VBe=m.default(lRe)(RBe||(RBe=nEe(["\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 ZBe(e.bubbleCount,e.backgroundColor,e.color)})),YBe=m.default.span(LBe||(LBe=nEe(["\n ","\n"],["\n ","\n"])),(function(e){return ZBe(e.bubbleCount,e.backgroundColor,e.color)})),ZBe=function(e,t,i){return n.css(zBe||(zBe=nEe(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&n.css($Be||($Be=nEe(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&n.css(QBe||(QBe=nEe(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),eIe({backgroundColor:t,color:i}))},HBe=m.default.div(jBe||(jBe=nEe([""],[""]))),KBe=m.default(lRe)(NBe||(NBe=nEe(["\n &&& {\n z-index: 1;\n margin-inline-start: ","px;\n height: auto;\n\n ","\n }\n"],["\n &&& {\n z-index: 1;\n margin-inline-start: ","px;\n height: auto;\n\n ","\n }\n"])),6,(function(e){return eIe({backgroundColor:e.backgroundColor,color:e.color})})),JBe=m.default(hRe)(MBe||(MBe=nEe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),eqe=m.default.ul(UBe||(UBe=nEe(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),tqe=function(e){var n=e.channels,i=e.buildChannelFilterUrl,r=e.language,a=e.channelBackgroundColor,o=e.onClick,s=e.className;return(null==n?void 0:n.length)?t.jsx(yqe,HPe({className:s,"data-channels":n.map((function(e){return e.name})).join(",")},{children:n.map((function(e){var n=t.jsx(wqe,HPe({backgroundColor:a},{children:t.jsx(CBe,{channel:e,language:r},void 0)}),void 0);return t.jsxs(Oqe,{children:[i&&t.jsx(_qe,HPe({"data-channel":!0,to:i(nqe(e)?e.name:e),"data-rounded-outline":!0},{children:n}),void 0),o&&t.jsx(xqe,HPe({"data-rounded-outline":!0,onClick:function(){return nqe(e)?o(e.name,e):o(e)}},{children:n}),void 0),!o&&!i&&t.jsx(kqe,{children:n},void 0)]},e.id)}))}),void 0):null};function nqe(e){return null!=e.id}var iqe,rqe,aqe,oqe,sqe,lqe,uqe,cqe,dqe,pqe,hqe,fqe,mqe,gqe,vqe,bqe,yqe=m.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(iqe||(iqe=nEe(["\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"])),qre),Oqe=m.default.li.withConfig({displayName:"ClickableChannelTitles__ChannelItem",componentId:"sc-1a7ny18-1"})(rqe||(rqe=nEe(["\n &:last-child > * {\n margin-inline: 0;\n }\n"],["\n &:last-child > * {\n margin-inline: 0;\n }\n"]))),wqe=m.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-2"})(aqe||(aqe=nEe(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?eIe({backgroundColor:e.backgroundColor}):eIe()})),_qe=m.default(a.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-3"})(oqe||(oqe=nEe(["\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),kqe=m.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-4"})(sqe||(sqe=nEe(["\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),xqe=m.default(lRe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-5"})(lqe||(lqe=nEe(["\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),Sqe=function(e){var n=e.searchText,i=e.onSearchTextChange,r=e.onExecuteSearch,a=e.onSearchIconClick,o=e.onSearchInputFieldVisibilityChanged;return t.jsxs(t.Fragment,{children:[t.jsx(Pqe,{children:t.jsx(nUe,{searchText:n,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:o,isToolbarMode:!0},void 0)},void 0),t.jsx(Eqe,{children:t.jsx(ZMe,{iconName:"Search",onClick:a,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},Pqe=m.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(uqe||(uqe=nEe(["\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"])),zre),Eqe=m.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(cqe||(cqe=nEe(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),Ire),Cqe=function(e){var n=e.leftSide,i=e.hideLeftSide,a=e.rightSide,o=e.hideRightSide,s=e.search,l=e.className,u=e.children,c=r.useState(!1),d=c[0],p=c[1];return t.jsxs(Fqe,HPe({className:l,"data-content-toolbar":!0},{children:[t.jsxs(Aqe,{children:[n&&!i&&t.jsx(Tqe,{children:n},void 0),(a||s)&&!o&&t.jsxs(Dqe,{children:[s&&t.jsx(Sqe,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?h():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}},void 0),a]},void 0)]},void 0),u,s&&d&&t.jsx(Iqe,{children:t.jsx(HMe,{onClear:h,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function h(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),p(!1)}},Fqe=m.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(dqe||(dqe=nEe(["\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),Tqe=m.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(pqe||(pqe=nEe(["\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"]))),Dqe=m.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(hqe||(hqe=nEe(["\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"]))),Aqe=m.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(fqe||(fqe=nEe(["\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"]))),Iqe=m.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(mqe||(mqe=nEe(["\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"])),Ire);m.default(Cqe).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(gqe||(gqe=nEe(["\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"])),Ere,Ere,Ire,Cre,Cre),m.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(vqe||(vqe=nEe(["\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"]))),m.default.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(bqe||(bqe=nEe([""],[""])));var Rqe,Lqe,$qe,Qqe,zqe,jqe,Nqe,Mqe,Uqe,Bqe,qqe,Gqe=function(e){var n=e.onEmojiSelected,a=e.disabled,o=r.useRef(null),s=r.useState(!1),l=s[0],u=s[1],c=zC().formatMessage;return t.jsxs(t.Fragment,{children:[t.jsx(Wqe,HPe({ref:o},{children:t.jsx(sIe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:a,ariaLabel:c({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&t.jsx(Xqe,HPe({directionalHint:i.DirectionalHint.topCenter,target:o.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:t.jsx(Yqe,{onSelect:function(e){u(!1),n(e.native)}},void 0)}),void 0)]},void 0)},Wqe=m.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(Rqe||(Rqe=nEe([""],[""]))),Xqe=m.default(hRe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(Lqe||(Lqe=nEe(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),Vqe=r.lazy((function(){return Promise.resolve().then((function(){return MYi}))})),Yqe=function(e){var n=e.onSelect,i=FI();return t.jsx(r.Suspense,HPe({fallback:t.jsx(Zqe,HPe({isSmaller:i.width<Are},{children:t.jsx(lLe,{},void 0)}),void 0)},{children:t.jsx(Vqe,{onSelect:n},void 0)}),void 0)},Zqe=m.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})($qe||($qe=nEe(["\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})),Hqe=function(){var e=Iy();return t.jsx(Kqe,{children:t.jsx("a",HPe({href:"https://giphy.com",target:"_blank",rel:"noreferrer"},{children:t.jsx("img",{src:e.webAppUrl+"/assets/giphy/PoweredBy_200px-White_HorizText.png",alt:"Giphy Attribution"},void 0)}),void 0)},void 0)},Kqe=m.default.div(Qqe||(Qqe=nEe(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),Jqe=function(e){var n,a,o=e.onGifClick,s=e.className,l=Xy(),u=zC().formatMessage,c=new Vhe.GiphyFetch(l.giphy.apiKey),d=r.useState(null),p=d[0],h=d[1],f=XPe(p,500)[0],m=FI(),g=CI((function(){if(!f)return c.trending({limit:21});return c.search(f,{limit:21})}),null,[f]),v=g[0],b=g[1],y=m.width<550?80:100;return t.jsxs(eGe,HPe({className:s},{children:[t.jsx(i.SearchBox,{placeholder:u({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return h(t)},autoFocus:!0},void 0),t.jsxs(tGe,HPe({columnWidth:y,"data-gif-grid":!0},{children:[b&&t.jsx(lLe,{delay:300},void 0),0===(null===(n=null==v?void 0:v.data)||void 0===n?void 0:n.length)&&t.jsx(rF,{id:"Generic.noResultsFound"},void 0),null===(a=null==v?void 0:v.data)||void 0===a?void 0:a.map((function(e){return t.jsx(nGe,{gif:e,width:y,height:y,noLink:!0,hideAttribution:!0,onGifClick:o},e.id)}))]}),void 0)]}),void 0)},eGe=m.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(zqe||(zqe=nEe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),tGe=m.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(jqe||(jqe=nEe(["\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"])),Ere,(function(e){return e.columnWidth}),6),nGe=m.default($ce.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(Nqe||(Nqe=nEe(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),iGe=function(e){var n=e.target,r=e.onGifClick,a=e.onDismiss;return t.jsxs(rGe,HPe({directionalHint:i.DirectionalHint.topCenter,target:n,onDismiss:a,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[t.jsx(aGe,{onGifClick:r},void 0),t.jsx(Hqe,{},void 0)]}),void 0)},rGe=m.default(hRe)(Mqe||(Mqe=nEe(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),aGe=m.default(Jqe)(Uqe||(Uqe=nEe(["\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"])));n.createGlobalStyle(Bqe||(Bqe=nEe(["\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"])),Qre),m.default(Jqe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(qqe||(qqe=nEe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Ere);var oGe,sGe,lGe,uGe,cGe,dGe,pGe=function(e){var n=e.disabled,i=e.onGifClick,a=ste(),o=zC().formatMessage,s=r.useRef(),l=r.useState(!1),u=l[0],c=l[1];return a.giphy?t.jsxs("div",{children:[t.jsx("div",HPe({ref:s},{children:t.jsx(sIe,{iconProps:{iconName:"Gif"},onClick:function(){return c(!0)},disabled:n,"data-button-type":"gif",ariaLabel:o({id:"AriaLabel.gifButton"})},void 0)}),void 0),u&&t.jsx(t.Fragment,{children:t.jsx(iGe,{target:s.current,onGifClick:function(e){c(!1),i({id:e.id.toString(),filename:e.title,url:e.embed_url,type:Ite.Giphy})},onDismiss:function(){return c(!1)}},void 0)},void 0)]},void 0):null},hGe=function(e){var n=e.gifInfo,i=e.className,a=Xy(),o=r.useState(),s=o[0],l=o[1];return r.useEffect((function(){new Vhe.GiphyFetch(a.giphy.apiKey).gif(n.id).then((function(e){return l(e.data)}))}),[a.giphy.apiKey,n.id]),s?t.jsx(fGe,HPe({className:i},{children:t.jsx(mGe,{gif:s,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},fGe=m.default.div(oGe||(oGe=nEe([""],[""]))),mGe=m.default($ce.Gif)(sGe||(sGe=nEe(["\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"])),Qre),gGe=function(e){var n=e.attachments,i=e.onDeleteClick,r=e.className,a=zC().formatMessage,o=n.filter((function(e){return e.type===Ite.Giphy}));return 0===o.length?null:t.jsx(vGe,HPe({className:r,"data-gif-attachment-list":!0},{children:o.map((function(e){return t.jsx(bGe,HPe({domIdentifier:"gif",deleteButton:t.jsx(OBe,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:a({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:t.jsx(hGe,{gifInfo:e},void 0)}),e.id)}))}),void 0)},vGe=m.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(lGe||(lGe=nEe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),bGe=m.default(rRe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(uGe||(uGe=nEe(["\n width: auto;\n"],["\n width: auto;\n"]))),yGe=function(e){var n=e.attachments,i=e.className,r=n.filter((function(e){return e.type===Ite.Giphy}));return 0===r.length?null:t.jsx(OGe,HPe({className:i,"data-gif-url-preview":r[0].id},{children:t.jsx(wGe,{children:t.jsx(hGe,{gifInfo:r[0]},void 0)},void 0)}),void 0)},OGe=m.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(cGe||(cGe=nEe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),wGe=m.default(rRe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(dGe||(dGe=nEe(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),Ere);var _Ge,kGe,xGe,SGe=function(e){var n,a,o=r.useRef(null),s=r.useState(!1),l=s[0],u=s[1];return t.jsxs(PGe,HPe({className:e.className},((n={})[e.dataAttribute]=!0,n),{ref:o},{children:[t.jsx(EGe,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return JPe(this,void 0,void 0,(function(){var t,n;return eEe(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||u(!l),[2]}}))}))},ariaLabel:e.ariaLabel,disabled:e.disabled},void 0),l&&t.jsx(CGe,HPe({className:"icon-with-callout-content",target:o,directionalHint:null==e.directionalHint?i.DirectionalHint.rightCenter:e.directionalHint,gapSpace:4,onDismiss:function(){var t;u(!1),null===(t=e.onCalloutDismissed)||void 0===t||t.call(e)},calloutWidth:null!==(a=e.calloutWidth)&&void 0!==a?a:0},{children:e.children}),void 0)]}),void 0)},PGe=m.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(_Ge||(_Ge=nEe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),EGe=m.default(sIe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(kGe||(kGe=nEe(["\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"]))),CGe=m.default(hRe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(xGe||(xGe=nEe(["\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"]))),FGe="video-view-container";function TGe(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 DGe=["ar-dz","ar-kw","ar-ly","ar-ma","ar-sa","ar-tn","ar","bg","bn","ca","cs","da","de-at","de-ch","de","el","en","en-au","en-ca","en-gb","en-ie","en-il","en-nz","en-sg","es-do","es-us","es","et","fa","fi","fr-ca","fr-ch","fr","gu","he","hi","hr","hu","id","it-ch","it","ja","kn","ko","lt","lv","ml","mr","ms-my","ms","nb","nl-be","nl","pl","pt-br","pt","ro","ru","sk","sl","sr-cyrl","sr-latn","sr","sv","sw","ta","te","th","tr","uk","vi","zh-cn","zh-hk","zh-tw"];function AGe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),DGe.find((function(t){return t===e}))):null}function IGe(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}function RGe(){return navigator.language}var LGe,$Ge,QGe,zGe,jGe,NGe,MGe,UGe,BGe,qGe=function(e){var n=e.onNextClick,i=e.onPrevClick,a=e.onFirstClick,o=e.hidePrevButton,s=e.hideNextButton,l=e.isLoadingNextPage,u=e.className,c=zC().formatMessage,d=r.useContext(jle).theme.palette;return s&&o?null:t.jsxs(GGe,HPe({className:u},{children:[t.jsx(JAe,HPe({resourceKey:"Lib.paging.goToFirstPage"},{children:t.jsx(XGe,{ariaLabel:c({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:o,onClick:a,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),t.jsx(VGe,{iconProps:{iconName:"ChevronLeftSmall"},text:c({id:"Generic.previous.page.button.text"}),isHidden:o,onClick:i,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),t.jsx(YGe,{iconProps:{iconName:"ChevronRightSmall"},text:c({id:"Generic.next.page.button.text"}),disabled:l,isHidden:s,onClick:n,color:d.accent,"data-horizontal-pager-more-button":!0},void 0)]}),void 0)},GGe=m.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(LGe||(LGe=nEe(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),Cre),WGe=m.default(lRe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(QGe||(QGe=nEe(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&n.css($Ge||($Ge=nEe(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),XGe=m.default(WGe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(zGe||(zGe=nEe([""],[""]))),VGe=m.default(WGe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(jGe||(jGe=nEe([""],[""]))),YGe=m.default(WGe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(NGe||(NGe=nEe(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));m.default.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(MGe||(MGe=nEe(["\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})),m.default.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(UGe||(UGe=nEe(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),Dre),m.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(BGe||(BGe=nEe(["\n height: ","px;\n"],["\n height: ","px;\n"])),Cre);var ZGe=bEe,HGe=Array.isArray||function(e){return"Array"==ZGe(e)},KGe=HGe,JGe=aFe,eWe=wLe,tWe=function(e,t,n,i,r,a,o,s){for(var l,u=r,c=0,d=!!o&&eWe(o,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],a>0&&KGe(l))u=tWe(e,t,l,JGe(l.length),u,a-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},nWe=tWe,iWe=PEe,rWe=HGe,aWe=MTe("species"),oWe=nWe,sWe=YFe,lWe=aFe,uWe=XFe,cWe=function(e,t){var n;return rWe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!rWe(n.prototype)?iWe(n)&&null===(n=n[aWe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function dWe(e,t,n){var i=function(e){var t=r.useState(0),n=t[0],i=t[1],a=r.useState({pages:{},paginationToken:null,hasNextPage:!0}),o=a[0],s=a[1];return{state:o,setInitialPages:function(e,t,n){s({pages:{0:tEe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){s((function(r){var a;return{pages:ZPe(r.pages,(a={},a[e]={$set:t},a)),paginationToken:n,hasNextPage:i}}))},lastFetchedPageIndex:n,updateLastFetchedPageIndex:function(t){i(t?e*t:function(t){return t+e})},updateItem:function(e,t){s((function(n){for(var i=HPe({},n.pages),r=Object.keys(i).length,a=0;a<r;){var o=Object.keys(i)[a++],s=i[o];if(s.find((function(t){return t.id===e}))){i[o]=s.map((function(n){return n.id===e?t:n}));break}}return HPe(HPe({},n),{pages:i})}))},insertToTheFront:function(t){for(var r,a,l=tEe([t],(null===(r=o.pages)||void 0===r?void 0:r[0])||[]),u=HPe(HPe({},o.pages),{0:l}),c=Object.keys(u).length,d=0;d<c;){var p=0===d,h=Object.keys(u)[d],f=u[h].length;if(p&&f>e&&f<=2*e){n<2*e&&i(n+e);break}if(f<=e)break;var m=u[h].pop(),g=null!==(a=Object.keys(u)[d+1])&&void 0!==a?a:p?2*e:+h+e,v=u[g];if(!v){o.hasNextPage||(u[g]=[m],i(n+e));break}v.unshift(m),d++}s(HPe(HPe({},o),{pages:u}))},deleteItem:function(t){for(var r=HPe({},o.pages),a=Object.keys(r).length,l=0;l<a;){var u=Object.keys(r)[l],c=r[u].find((function(e){return e.id===t}));if(c){r[u]=r[u].filter((function(e){return e.id!==t}));break}l++}for(var d=!1;l<a;){if(!r[u=Object.keys(r)[l++]].length&&l===a){delete r[u],d=!0;break}var p=Object.keys(r)[l],h=p?r[p]:null;if(!h)break;var f=h.shift();r[u].push(f)}s(HPe(HPe({},o),{pages:r}));var m=(d||r[0].length===e)&&n>e;return m&&i(n-e),m}}}(e),a=i.state,o=i.setInitialPages,s=i.updatePageItems,l=i.lastFetchedPageIndex,u=i.updateLastFetchedPageIndex,c=i.updateItem,d=i.insertToTheFront,p=i.deleteItem,h=r.useState(0),f=h[0],m=h[1],g=r.useState(!0),v=g[0],b=g[1],y=r.useState(!1),O=y[0],w=y[1],_=r.useState(null),k=_[0],x=_[1];r.useEffect((function(){P()}),tEe([e],n||[]));var S=Object.keys(a.pages).flatMap((function(e){return a.pages[e]})).slice(f-e,f);return{items:S,isInitialLoading:v,isLoadingNextPage:O,error:k,getFirstPage:function(){return m(e)},getPrevPage:function(){return m(f-e)},getNextPage:function(){return JPe(this,void 0,void 0,(function(){return eEe(this,(function(t){switch(t.label){case 0:return m(f+e),a.hasNextPage&&f===l-e?[4,E(a.paginationToken)]:[3,2];case 1:t.sent(),u(),t.label=2;case 2:return[2]}}))}))},isFirstPage:f===e,isLastPage:f===l&&!a.hasNextPage,isEmpty:!v&&0===(null==S?void 0:S.length),insertToTheFront:d,updateItem:c,onBeforeDeleteItem:function(t){var n=p(t);!a.hasNextPage&&n&&f>=l&&f>0&&m(f-e);w(!0)},onAfterDeleteItem:function(){return JPe(this,void 0,void 0,(function(){return eEe(this,(function(t){switch(t.label){case 0:return a.hasNextPage?a.paginationToken!==2*e?[3,2]:[4,P()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,E(+a.paginationToken-e)];case 3:t.sent(),u(),t.label=4;case 4:return w(!1),[2]}}))}))}};function P(){return JPe(this,void 0,void 0,(function(){var n,i;return eEe(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,3,4]),[4,t(2*e,null)];case 1:return n=r.sent(),o(n.items,n.paginationToken,n.hasNextPage),n.items.length<=e?(u(1),m(e)):(u(2),m(e)),[3,4];case 2:return i=r.sent(),rO.error(i),x(i),[3,4];case 3:return b(!1),[7];case 4:return[2]}}))}))}function E(n){return JPe(this,void 0,void 0,(function(){var i,r;return eEe(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,3,4]),w(!0),[4,t(e,n)];case 1:return i=a.sent(),s(n,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=a.sent(),rO.error(r),x(k),[3,4];case 3:return w(!1),[7];case 4:return[2]}}))}))}}WFe({target:"Array",proto:!0},{flatMap:function(e){var t,n=sWe(this),i=lWe(n.length);return uWe(e),(t=cWe(n,0)).length=oWe(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),kDe("flatMap");var pWe,hWe,fWe,mWe,gWe,vWe,bWe,yWe=function(e){var n=e.onNextClick,i=e.onPrevClick,a=e.hidePagination,o=e.disablePrevButton,s=e.disableNextButton,l=e.children,u=e.className,c=r.useContext(jle).theme.palette,d=zC().formatMessage;return a?t.jsx(t.Fragment,{children:l},void 0):t.jsxs(OWe,HPe({className:u},{children:[t.jsx(_We,{disabled:o,onClick:i,iconProps:{iconName:"ChevronUpSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.previous"})},void 0),t.jsx(xWe,{children:l},void 0),t.jsx(kWe,{disabled:s,onClick:n,iconProps:{iconName:"ChevronDownSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.next"})},void 0)]}),void 0)},OWe=m.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(pWe||(pWe=nEe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),wWe=m.default(sIe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(hWe||(hWe=nEe(["\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"])),Rle),_We=m.default(wWe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(fWe||(fWe=nEe(["\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})),kWe=m.default(wWe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(mWe||(mWe=nEe(["\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})),xWe=m.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(gWe||(gWe=nEe(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),Cre,15),SWe=r.createContext(null);m.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(vWe||(vWe=nEe(["\n width: 100%;\n"],["\n width: 100%;\n"]))),m.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(bWe||(bWe=nEe(["\n display: contents;\n"],["\n display: contents;\n"])));var PWe,EWe,CWe,FWe,TWe,DWe,AWe,IWe,RWe,LWe=n.css(PWe||(PWe=nEe(["\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"]))),$We=n.css(EWe||(EWe=nEe(["\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"])),LWe,Ire,Cre),QWe=n.css(CWe||(CWe=nEe(["\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})),zWe=n.css(FWe||(FWe=nEe(["\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"])),zre),jWe="AllChannels",NWe=n.createGlobalStyle(TWe||(TWe=nEe(["\n ","\n"],["\n ","\n"])),zWe),MWe=m.default(zRe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(DWe||(DWe=nEe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),$We),UWe=m.default(a.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(AWe||(AWe=nEe(["\n ","\n"],["\n ","\n"])),QWe),BWe=m.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(IWe||(IWe=nEe(["\n ",";\n"],["\n ",";\n"])),QWe),qWe=function(e){var n=e.handler,i=e.disabled;return ste().unreadTracking?t.jsx(ZMe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},GWe=function(e){var n=e.onClick,i=e.to,r=e.disabled;return t.jsx(ZMe,{tooltipResourceKey:"Generic.showManageView",disabled:r,iconName:"edit",to:null==i?void 0:i.url,target:null==i?void 0:i.target,onClick:n,"data-toolbar-manage-button":!0,ariaLabelResourceKey:"AriaLabel.goToManageView"},void 0)};e.EventView=void 0,(RWe=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",RWe.MyBookedEvents="booked",RWe.PastEvents="past";var WWe,XWe,VWe,YWe,ZWe=n.createGlobalStyle(WWe||(WWe=nEe(["\n ","\n"],["\n ","\n"])),zWe),HWe=m.default(zRe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(XWe||(XWe=nEe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),$We),KWe=m.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(VWe||(VWe=nEe(["\n ",";\n"],["\n ",";\n"])),QWe);function JWe(){var e=NX(),t=e.createApiUrl,n=e.fetchFromApi,i=r.useContext(AI).onRequestToken;return r.useMemo((function(){return{uploadImage:function(e,t,r,a,o){return JPe(this,void 0,void 0,(function(){var s,l,u;return eEe(this,(function(c){switch(c.label){case 0:return(s=new FormData).append("image",o,o.name||"image."+BY.getExtension(o.type)),[4,i()];case 1:return l=c.sent(),u={method:"POST",body:s,headers:zX(l,t)},[2,n(e+"/attachments/"+a+"/images/"+r,u)]}}))}))},uploadFile:function(e,t,r,a,o){return JPe(this,void 0,void 0,(function(){var s,l,u;return eEe(this,(function(c){switch(c.label){case 0:return(s=new FormData).append("file",o),[4,i()];case 1:return l=c.sent(),u={method:"POST",body:s,headers:zX(l,t)},[2,n(e+"/attachments/"+a+"/files/"+r,u)]}}))}))},getFileUrl:function(e,n,i,r,a){if(null!=a||(a=i.fileAccessToken),!a)return null;return t(e+"/attachments/"+i.attachmentContainerId+"/files/"+r,{subscriptionId:n,access_token:a})},getImageUrl:function(t,n,i,r,a,o){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,a,o)},getChatMessageImageUrl:function(t,n,i,r,a,o){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,a,o)}};function e(e,n,i,r,a,o,s){return t(null==o?e+"/attachments/"+r+"/images/"+a:"default"===o?e+"/attachments/"+r+"/images/"+a+"/default":e+"/attachments/"+r+"/images/"+a+"/"+o+"/"+(s||""),{subscriptionId:n,access_token:i})}}),[i,n,t])}function eXe(){var e=MX();return r.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return JPe(this,void 0,void 0,(function(){var t;return eEe(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,_ne.apply(void 0,tEe([e],t))]}}))}))},resolveActiveLanguages:function(e){return JPe(this,void 0,void 0,(function(){return eEe(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 JPe(this,void 0,void 0,(function(){var t;return eEe(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 tXe(){var e=NX(),t=e.createApiUrl,n=e.fetchFromApi;return r.useMemo((function(){return{getVideoThumbnailUrl:function(e,n,i,r,a,o,s,l){void 0===s&&(s=0);return t("/videos/"+encodeURIComponent(r)+"/thumbnail/"+("number"==typeof s?s:0)+"/"+(l||""),{access_token:e,subscriptionId:n,videoSource:i,itemId:a,hasCustomThumbnail:o})},getBannerVideoThumbnailUrl:function(e,n,i,r,a,o){return t("/"+r+"/"+n+"/videos/banner/thumbnail/"+("number"==typeof a?a:0)+"/"+(o||""),{access_token:e,subscriptionId:i})},uploadCustomVideoThumbnail:function(e,t,i,r,a){return JPe(this,void 0,void 0,(function(){var o,s;return eEe(this,(function(l){switch(l.label){case 0:return(o=new FormData).append("file",a),s={method:"POST",body:o,headers:zX(e,i)},[4,n("/editor/"+t+"/videos/"+encodeURIComponent(r)+"/thumbnail",s)];case 1:return[2,l.sent()]}}))}))}}}),[t,n])}n.createGlobalStyle(YWe||(YWe=nEe(["\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 nXe,iXe,rXe,aXe,oXe,sXe,lXe,uXe,cXe,dXe,pXe,hXe,fXe,mXe,gXe=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}(),vXe=function(e){var n=ste(),i=r.useState(null),a=i[0],o=i[1],s=Kte().getUserAvatarUrl;if(vue(gXe.type,(function(t){return t.upn===e.upn&&u(e.upn,e.tenantId),!1}),[e.upn]),r.useEffect((function(){var t=u(e.upn,e.tenantId);return function(){return null==t?void 0:t.unsubscribe()}}),[e.upn]),!n.avatars)return null;var l=TP(e.text||e.displayName||e.upn);return t.jsx(bXe,HPe({},e,{"data-avatar":!0,text:e.text,imageUrl:a,imageShouldFadeIn:!1,imageInitials:l,initialsColor:DP(l),secondaryText:!e.forceShowSecondaryText&&Ate(e.secondaryText)?null:e.secondaryText}),void 0);function u(e,t){return null==e?(o(null),null):s(e,t).subscribe((function(e){o(e)}),(function(e){return console.log(e)}))}},bXe=m.default(i.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(nXe||(nXe=nEe(["\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"]))),yXe=function(e){var n=e.className,i=e.iconName,r=e.tooltipResourceKey,a=e.tooltipText,o=e.children;return o?t.jsxs(wXe,HPe({className:n},{children:[i&&t.jsx(JAe,HPe({resourceKey:r,text:a},{children:t.jsx(OXe,{iconName:i},"icon")}),void 0),t.jsx(_Xe,HPe({dir:"auto"},{children:o}),void 0)]}),void 0):null},OXe=m.default(i.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(iXe||(iXe=nEe(["\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"]))),wXe=m.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(rXe||(rXe=nEe(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),_Xe=m.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContent",componentId:"sc-yfrgje-2"})(aXe||(aXe=nEe([""],[""]))),kXe=function(e){var n=e.email;return Ate(n)?null:t.jsx(yXe,HPe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:t.jsx(DXe,HPe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},xXe=function(e){var n=e.value,i=zC().formatMessage;return null==n?null:t.jsx(yXe,HPe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:t.jsx(DXe,HPe({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},SXe=function(e){var n=e.value,i=zC().formatMessage;return null==n?null:(n="string"==typeof n?[n]:n,t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsx(yXe,HPe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:t.jsx(DXe,HPe({href:"tel:"+e},{children:i({id:"Generic.callOffice"},{number:e})}),void 0)}),e+n)}))},void 0))},PXe=function(e){var n=e.value,i=e.tooltipResourceKey,r=ste();return null==n?null:t.jsx(yXe,HPe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?t.jsx(DXe,HPe({target:"_blank",rel:"noopener noreferrer",href:UUe(n)},{children:n}),void 0):t.jsx(t.Fragment,{children:n},void 0)}),void 0)},EXe=function(e){var n=e.value;return null==n?null:t.jsx(yXe,HPe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},CXe=function(e){var n=e.value;return null==n?null:t.jsx(yXe,HPe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},FXe=function(e){var n=e.value,i=xse().buildPath,r=ste();if(!(null==n?void 0:n.userId)||!r.chat)return null;var a={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return t.jsx(yXe,HPe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:t.jsx(AXe,HPe({to:i("chats/new")+"?"+Vy.stringify({userId:a.id,userDisplayName:a.displayName,userPrincipalName:a.userPrincipalName})},{children:t.jsx(rF,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},TXe=n.css(oXe||(oXe=nEe(["\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})),DXe=m.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(sXe||(sXe=nEe(["\n ","\n"],["\n ","\n"])),TXe),AXe=m.default(a.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(lXe||(lXe=nEe(["\n ","\n"],["\n ","\n"])),TXe),IXe={mobilePhone:xXe,department:EXe,address:PXe},RXe=function(e){var n=e.className,i=e.value,a=e.definition,o=function(){var e=ote(),t=zC().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=hP(e.preferredUiLanguage),a=i.translations||{},o=Object.keys(n);return r&&a[r]||a[e.subscription.defaultLanguage]||i.label||o.some((function(e){return e===i.name}))&&t({id:"Generic."+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=o.getPropertyLabel,l=o.getPropertyIcon;if(null==i)return null;var u=s(a),c=l(a),d=IXe[a.name];return d?r.createElement(d,{value:i}):t.jsx(yXe,HPe({iconName:c,tooltipText:u,className:n},{children:i}),void 0)},LXe=function(e){var n,i,r,a,o,s=e.user,l=e.ignoredProperties,u=void 0===l?[]:l;return t.jsxs(t.Fragment,{children:[!u.includes("department")&&t.jsx(EXe,{value:null===(n=s.properties)||void 0===n?void 0:n.department},void 0),!u.includes("jobTitle")&&t.jsx(CXe,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle},void 0),!u.includes("mobilePhone")&&t.jsx(xXe,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone},void 0),!u.includes("businessPhones")&&t.jsx(SXe,{value:null===(a=s.properties)||void 0===a?void 0:a.businessPhones},void 0),!u.includes("chatMessage")&&t.jsx(FXe,{value:s},void 0),!u.includes("officeLocation")&&t.jsx(PXe,{value:null===(o=s.properties)||void 0===o?void 0:o.officeLocation},void 0)]},void 0)},$Xe=function(e){var n=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,a=ote();return t.jsxs(t.Fragment,{children:[!r.includes("chatMessage")&&t.jsx(FXe,{value:n},void 0),a.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return t.jsx(RXe,{definition:e,value:null===(i=n.properties)||void 0===i?void 0:i[e.name]},e.name)}))]},void 0)},QXe=["displayName","department","jobTitle"],zXe=function(e){var n,r=e.upn,a=e.showAvatar,o=e.id,s=Kte(),l=s.getUserInfo,u=s.getUserInfoById,c=CI((function(){return r?l(r):u(o)}),null,[r,o]),d=c[0],p=c[1];if(c[2])return t.jsx(jXe,{children:r?t.jsx(rF,{id:"Profile.CannotLoadInfo",values:{upn:r}},void 0):t.jsx(rF,{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(p)return t.jsx(UXe,{},void 0);var h=a?QXe:[];return t.jsxs(NXe,HPe({"data-user-details":!0},{children:[a&&t.jsx(vXe,{upn:d.userPrincipalName,size:i.PersonaSize.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle},void 0),t.jsxs(MXe,{children:[t.jsx(kXe,{email:null!==(n=d.mail)&&void 0!==n?n:d.userPrincipalName},void 0),d.isDirectoryUser?t.jsx(LXe,{user:d,ignoredProperties:h},void 0):t.jsx($Xe,{user:d,ignoredProperties:h},void 0)]},void 0)]}),void 0)},jXe=m.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(uXe||(uXe=nEe(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),NXe=m.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(cXe||(cXe=nEe(["\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"])),qre),MXe=m.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(dXe||(dXe=nEe(["\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"])),Ere),UXe=m.default(lLe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(pXe||(pXe=nEe(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),BXe=function(e){var n=e.upn,a=e.className,o=e.children,s=e.readOnly,l=e.domIdentifier,u=r.useRef(null),c=ote(),d=r.useState(!1),p=d[0],h=d[1];return s?t.jsx(GXe,HPe({className:a},{children:o}),void 0):t.jsxs(t.Fragment,{children:[t.jsx(GXe,HPe({ref:u,className:a},{children:t.jsx(WXe,HPe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),h(!p)},ariaLabel:n,dir:"auto"},{children:o}),"children")}),void 0),p&&!c.isPublicUser&&t.jsx(hRe,HPe({className:"persona-card-callout",directionalHint:i.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return h(!1)},target:u.current},{children:t.jsx(qXe,{children:t.jsx(zXe,{upn:n,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},qXe=m.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(hXe||(hXe=nEe(["\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,Cre,Ire),GXe=m.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(fXe||(fXe=nEe(["\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"]))),WXe=m.default(i.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(mXe||(mXe=nEe(["\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 XXe(){return XXe=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},XXe.apply(this,arguments)}var VXe=function(e){return g.createElement("svg",XXe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),g.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),g.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}}),g.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}}),g.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"}}),g.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}}),g.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 YXe(){return YXe=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},YXe.apply(this,arguments)}var ZXe=function(e){return g.createElement("svg",YXe({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),g.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}}),g.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}}),g.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"}}),g.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}}),g.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 HXe(){return HXe=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},HXe.apply(this,arguments)}var KXe,JXe,eVe,tVe,nVe,iVe,rVe=function(e){return g.createElement("svg",HXe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),g.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),g.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}}),g.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}}),g.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"}}),g.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}}),g.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"}}))},aVe=function(e){var n=e.info,i="number"==typeof n;return t.jsx(oVe,HPe({isNumber:i,"data-badge-info":n},{children:t.jsx(sVe,HPe({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},oVe=m.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(eVe||(eVe=nEe(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?n.css(KXe||(KXe=nEe(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):n.css(JXe||(JXe=nEe(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),sVe=m.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(nVe||(nVe=nEe(["\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 n.css(tVe||(tVe=nEe(["\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,Gre)}));function lVe(){return lVe=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},lVe.apply(this,arguments)}var uVe,cVe=function(e){return g.createElement("svg",lVe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),iVe||(iVe=g.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 dVe(n){return t.jsx(bVe,HPe({"data-page-alert":!0},{children:t.jsxs(yVe,{children:[n.errorType&&t.jsx(OVe,HPe({onClick:n.onClick},{children:n.errorType===e.ErrorType.LoginError?t.jsx(ZXe,{},void 0):n.errorType===e.ErrorType.GenericError?t.jsx(VXe,{},void 0):n.errorType===e.ErrorType.Error403?t.jsx(rVe,{},void 0):t.jsx(VNe,{},void 0)}),void 0),t.jsx(wVe,{children:n.alertText},void 0),t.jsx(_Ve,{children:n.children},void 0)]},void 0)}),void 0)}e.ErrorType=void 0,(uVe=e.ErrorType||(e.ErrorType={})).GenericError="genericError",uVe.Error404="error404",uVe.Error403="error403",uVe.LoginError="loginError";var pVe,hVe,fVe,mVe,gVe,vVe,bVe=m.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(pVe||(pVe=nEe(["\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})),yVe=m.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(hVe||(hVe=nEe(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),OVe=m.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(fVe||(fVe=nEe(["\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}),zre),wVe=m.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(mVe||(mVe=nEe(["\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),_Ve=m.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(gVe||(gVe=nEe(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),kVe=m.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(vVe||(vVe=nEe(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),xVe={exports:{}},SVe=Object.getOwnPropertySymbols,PVe=Object.prototype.hasOwnProperty,EVe=Object.prototype.propertyIsEnumerable;function CVe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var FVe=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=CVe(e),a=1;a<arguments.length;a++){for(var o in n=Object(arguments[a]))PVe.call(n,o)&&(r[o]=n[o]);if(SVe){i=SVe(n);for(var s=0;s<i.length;s++)EVe.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},TVe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",DVe=Function.call.bind(Object.prototype.hasOwnProperty),AVe=function(){};if("production"!==process.env.NODE_ENV){var IVe=TVe,RVe={},LVe=DVe;AVe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function $Ve(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var a in e)if(LVe(e,a)){var o;try{if("function"!=typeof e[a]){var s=Error((i||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}o=e[a](t,a,i,n,null,IVe)}catch(e){o=e}if(!o||o instanceof Error||AVe((i||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),o instanceof Error&&!(o.message in RVe)){RVe[o.message]=!0;var l=r?r():"";AVe("Failed "+n+" type: "+o.message+(null!=l?l:""))}}}$Ve.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(RVe={})};var QVe=$Ve,zVe=w.default,jVe=FVe,NVe=TVe,MVe=DVe,UVe=QVe,BVe=function(){};function qVe(){return null}"production"!==process.env.NODE_ENV&&(BVe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function GVe(){}function WVe(){}WVe.resetWarningCache=GVe;if("production"!==process.env.NODE_ENV){var XVe=w.default;xVe.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(qVe),arrayOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new o("Invalid "+r+" `"+a+"` of type `"+d(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,a+"["+l+"]",NVe);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,a){var s=t[n];return e(s)?null:new o("Invalid "+r+" `"+a+"` of type `"+d(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var a=e[t];return zVe.isValidElementType(a)?null:new o("Invalid "+i+" `"+r+"` of type `"+d(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,a,s){if(!(t[n]instanceof e)){var l=e.name||i;return new o("Invalid "+a+" `"+s+"` of type `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:i)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var u;return null}))},node:s((function(e,t,n,i,r){return c(e[t])?null:new o("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(MVe(s,u)){var c=e(s,u,i,r,a+"."+u,NVe);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&BVe(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."),qVe;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(a(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new o("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&BVe("Invalid argument supplied to oneOfType, expected an instance of array."),qVe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return BVe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+h(n)+" at index "+t+"."),qVe}return s((function(t,n,i,r,a){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,i,r,a,NVe);if(null==u)return null;u.data&&MVe(u.data,"expectedType")&&s.push(u.data.expectedType)}return new o("Invalid "+r+" `"+a+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,i,r,a){var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var c in e){var h=e[c];if("function"!=typeof h)return u(i,r,a,c,p(h));var f=h(s,c,i,r,a+"."+c,NVe);if(f)return f}return null}))},exact:function(e){return s((function(t,n,i,r,a){var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var c=jVe({},t[n],e);for(var h in c){var f=e[h];if(MVe(e,h)&&"function"!=typeof f)return u(i,r,a,h,p(f));if(!f)return new o("Invalid "+r+" `"+a+"` key `"+h+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=f(s,h,i,r,a+"."+h,NVe);if(m)return m}return null}))}};function a(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function o(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 a(a,s,l,u,c,d,p){if(u=u||i,d=d||l,p!==NVe){if(t){var h=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 h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var f=u+":"+l;!n[f]&&r<3&&(BVe("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. 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[f]=!0,r++)}}return null==s[l]?a?null===s[l]?new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=a.bind(null,!1);return s.isRequired=a.bind(null,!0),s}function l(e){return s((function(t,n,i,r,a,s){var l=t[n];return d(l)!==e?new o("Invalid "+r+" `"+a+"` of type `"+p(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function u(e,t,n,i,r){return new o((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function c(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(c);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,a=i.call(t);if(i!==t.entries){for(;!(r=a.next()).done;)if(!c(r.value))return!1}else for(;!(r=a.next()).done;){var o=r.value;if(o&&!c(o[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 h(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 o.prototype=Error.prototype,r.checkPropTypes=UVe,r.resetWarningCache=UVe.resetWarningCache,r.PropTypes=r,r}(XVe.isElement,!0)}else xVe.exports=function(){function e(e,t,n,i,r,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var o=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 o.name="Invariant Violation",o}}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:WVe,resetWarningCache:GVe};return n.PropTypes=n,n}();var VVe=xVe.exports,YVe=Object.freeze({__proto__:null,useCurrentUser:ote,useAccountApi:Kte,useAuthenticationContext:II,useEnvironmentConfig:Ry,useNotificationContext:Yle,usePromise:CI,LinkContext:uF,TextLink:qMe,logger:rO,createId:oO,ResourceContext:vF,usePluginSettings:function(){var e=r.useContext(Cse).settings;return null!=e?e:{}},usePluginStorage:Ase,usePluginDeviceStore:Ase,usePluginSubscriptionStore:function(){return r.useContext(Cse).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,i=r.useContext(Cse).subscriptionStore,a=CI((function(){return i.get(e).catch(Rse)}),void 0,t4(t4([],t||[]),[e])),o=a[0],s=a[1],l=a[2],u=a[3],c=a[4];return{data:o,set:function(t){return J3(n,void 0,void 0,(function(){var n;return e4(this,(function(r){switch(r.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,i.set(e,t).catch((function(e){return u(n),Rse(e)}))];case 1:return[2,r.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return J3(n,void 0,void 0,(function(){var t;return e4(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,i.delete(e).catch((function(e){return u(t),Rse(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return r.useContext(Cse).userStore},usePluginUserStoreValue:function(e,t){var n=this,i=r.useContext(Cse).userStore,a=CI((function(){return i.get(e).catch(Rse)}),void 0,t4(t4([],t||[]),[e])),o=a[0],s=a[1],l=a[2],u=a[3],c=a[4];return{data:o,set:function(t){return J3(n,void 0,void 0,(function(){var n;return e4(this,(function(r){switch(r.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,i.set(e,t).catch((function(e){return u(n),Rse(e)}))];case 1:return[2,r.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return J3(n,void 0,void 0,(function(){var t;return e4(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,i.delete(e).catch((function(e){return u(t),Rse(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Iy().apiEndpoint}},AccountType:Uee,PeoplePicker:yIe,GutterToggle:lIe,EditorSettingsDialog:oIe,Spinner:i.Spinner,SelectionMode:i.SelectionMode,EditorHighlight:tIe,useTheme:function(){return r.useContext(jle).theme},useSubscriptionHandlePathBuilder:xse,useSubscriptionWebAppUrl:Sse});var ZVe,HVe=[{name:"@reach/core",packageDefinition:HPe({default:{}},YVe)}],KVe=[{name:"react",packageDefinition:HPe(HPe({},v.default),{default:v.default})},{name:"react-dom",packageDefinition:HPe(HPe({},O),{default:O})},{name:"react-is",packageDefinition:HPe(HPe({},w.default),{default:w.default})},{name:"prop-types",packageDefinition:HPe({default:VVe},VVe)},{name:"react-router-dom",packageDefinition:HPe({default:b},b)},{name:"styled-components",packageDefinition:{default:m.default,createGlobalStyle:n.createGlobalStyle,css:n.css,useTheme:n.useTheme,isStyledComponent:n.isStyledComponent,keyframes:n.keyframes,withTheme:n.withTheme,ThemeProvider:n.ThemeProvider,ThemeContext:n.ThemeContext,ThemeConsumer:n.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:i.Checkbox,Label:i.Label,PrimaryButton:i.PrimaryButton,Icon:i.Icon,Link:i.Link,TextField:i.TextField,ActionButton:i.ActionButton,IconButton:i.IconButton,DefaultButton:i.DefaultButton,Spinner:i.Spinner,Dropdown:i.Dropdown,ProgressIndicator:i.ProgressIndicator,Shimmer:i.Shimmer,ShimmerElementsGroup:i.ShimmerElementsGroup,ShimmerElementType:i.ShimmerElementType,DirectionalHint:i.DirectionalHint,PersonaSize:i.PersonaSize,TooltipHost:i.TooltipHost,DialogType:i.DialogType,Dialog:rEe,DialogFooter:i.DialogFooter,ChoiceGroup:i.ChoiceGroup}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:rF,useIntl:zC,FormattedDate:aF,FormattedTime:oF,IntlProvider:XC}},{name:"@apollo/client",packageDefinition:{default:{},gql:UN,useQuery:function(e,t){return sM(e,t,!1)},ApolloClient:RN,ApolloProvider:KN,from:uz,ApolloLink:lz,fromPromise:nz,split:cz,HttpLink:bz,InMemoryCache:fN,useLazyQuery:function(e,t){return sM(e,t,!0)},useMutation:lM,ApolloError:gN,useApolloClient:JN,useSubscription:function(e,t){var n=r.useReducer((function(e){return e+1}),0),i=n[1],a=r.useContext(ZN()),o=t?ka(ka({},t),{subscription:e}):{subscription:e},s=r.useState({loading:!o.skip,error:void 0,data:void 0}),l=s[0],u=s[1],c=r.useRef(),d=(c.current||(c.current=new iM({options:o,context:a,setResult:u})),c.current);return d.setOptions(o,!0),d.context=a,__DEV__&&oM(i),r.useEffect((function(){return d.afterExecute()})),r.useEffect((function(){return function(){d.cleanup(),c.current=void 0}}),[]),d.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:$R}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:cM}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:Z$}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:uM}}],JVe=function(e){var n=e.color,a=e.onColorChange,o=e.className,s=r.useState(n),l=s[0],u=s[1];return r.useEffect((function(){u(n)}),[n]),t.jsx(eYe,HPe({className:o},{children:t.jsx(i.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){u(e),null==a||a(e)}(t.str)}},void 0)}),void 0)},eYe=m.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(ZVe||(ZVe=nEe(["\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"])),Cre),tYe=function(e){var n=e.children,i={data:[],getUser:function(){},identify:function(e,t){return Promise.resolve(void 0)},interaction:function(e){return Promise.resolve(void 0)},load:function(e,t){},onItemRead:function(e){},onSearchTermChange:function(e){return Promise.resolve(void 0)},activity:function(e){},contextualProperties:null,setContextualProperties:function(e){}};return t.jsx(kae.Provider,ka({value:i},{children:n}),void 0)},nYe=function(e){var n=e.onRequestToken,i=e.children,a=e.subscriptionId,o=r.useState(null),s=o[0],l=o[1],u=r.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(n){return rO.error(e,t),[2,Promise.reject(e)]}))}))}}}),[a,s]);return t.jsx(AI.Provider,ka({value:u},{children:i}),void 0)},iYe="0.4.115",rYe="141487",aYe="eb5bd688de15d49cadb6eda3b58a5e18f80a0663",oYe=W,sYe=z,lYe=Sn("match"),uYe=function(e){var t;return oYe(e)&&(void 0!==(t=e[lYe])?!!t:"RegExp"==sYe(e))},cYe=uYe,dYe=Sn("match"),pYe=function(e){if(cYe(e))throw TypeError("The method doesn't accept regular expressions");return e},hYe=U,fYe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[dYe]=!1,"/./"[e](t)}catch(e){}}return!1};cn({target:"String",proto:!0,forced:!fYe("includes")},{includes:function(e){return!!~String(hYe(this)).indexOf(pYe(e),arguments.length>1?arguments[1]:void 0)}});var mYe,gYe,vYe={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:"00bc5e79-67a0-447f-b841-daab4017898e"}]}}}},bYe={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"}]}}}},yYe=require("deepmerge"),OYe=["//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"],wYe=function(e){var n=e.children,i=Iy(),a=i.apiEndpoint,o=i.additionalVideoSources,s=r.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!OYe.some((function(e){return a.toLowerCase().includes(e)}));if(!e)return rO.info("Will use non prod client config..."),ka(ka({},vYe),{additionalVideoSources:o});var t=yYe(vYe,bYe,{arrayMerge:function(e,t){return t}});return ka(ka({},t),{additionalVideoSources:o})}())}),[a]);return t.jsx(Wy.Provider,ka({value:s},{children:n}),void 0)},_Ye=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 Sa(this,void 0,void 0,(function(){return Pa(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 Sa(this,void 0,void 0,(function(){return Pa(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}(),kYe=new _Ye,xYe=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(SYe,ka({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},SYe=function(e){var n=e.subscriptionId,i=e.children,a=r.useContext(AI).setToken,o=dF(),s=uue().getSubscriptionBySubscriptionIdentifier,l=NX().fetchFromApi,u=r.useContext(lF),c=u.handleFatalError,d=u.handleAccessDeniedError,p=CI((function(){return Sa(this,void 0,void 0,(function(){var e,t,i;return Pa(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,o.getString(e)];case 1:return(t=r.sent())?(a(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),a(i),[4,o.setString(e,i)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[n]),h=p[0],f=p[1],m=p[2];if(m)return rO.error(m),c({error:m}),null;if(f)return null;if(!h){var g={message:"Public access is not enabled for the subscription "+n+"!"};return rO.error(g.message),d({error:g}),null}return t.jsx(t.Fragment,{children:i},void 0);function v(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},PYe=function(e){var n=e.children,i=r.useState(),a=i[0],o=i[1],s=r.useState(),l=s[0],u=s[1],c=r.useState(),d=c[0],p=c[1],h=r.useMemo((function(){return{handleFatalError:o,handleAccessDeniedError:u,handleNotFoundError:p}}),[o,u,p]);return t.jsx(lF.Provider,ka({value:h},{children:t.jsx(EYe,ka({fatalError:a,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},EYe=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,a=e.children;return n?t.jsx(CYe,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(CYe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(CYe,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:a},void 0)},CYe=function(n){var i=n.messageId,a=n.error,o=zC().formatMessage,s=r.useState(!1),l=s[0],u=s[1];return t.jsx(dVe,ka({errorType:e.ErrorType.GenericError,alertText:o({id:i||"FatalError.genericMessage"}),onClick:function(){return u(!l)}},{children:l&&t.jsxs(FYe,{children:[t.jsx(rF,{id:"Generic.error.details"},void 0),t.jsx(TYe,{children:JSON.stringify(a)||"Not provided"},void 0)]},void 0)}),void 0)},FYe=m.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(mYe||(mYe=Ra(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Cre),TYe=m.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(gYe||(gYe=Ra(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),DYe=function(e){var n=e.children,i=Sse(),a=r.useMemo((function(){return{onShare:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(uF.Provider,ka({value:a},{children:n}),void 0);function o(e){window.open(e,"_blank")}function s(e){window.open(""+i+e)}},AYe=function(){return null},IYe=Object.freeze({__proto__:null,Page:AYe,NavLinkSidebarItem:AYe,PageMenuActionItem:AYe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+iYe+" ("+rYe+") ["+aYe+"]"),window.__did_initialize_reach_context)return;i.initializeIcons()}();var RYe=function(e){var n=e.disableAnalytics,i=e.appName,r=e.children;return n?t.jsx(tYe,{children:r},void 0):t.jsx(Sae,ka({appName:i},{children:r}),void 0)},LYe=function(e){var n,i=e.children,a=e.language,o=e.languageFallback,s=void 0===o?"default":o,l=e.locale,u=e.subscriptionId,c=r.useContext(jle).setTheme,d=r.useContext(vF).changeSettings,p=function(){var e=Jte().getCurrentUser,t=CZ();return{getCurrentUser:function(n){return J3(this,void 0,void 0,(function(){var i=this;return e4(this,(function(r){switch(r.label){case 0:return[4,t.fetchQuery(["fetchCurrentUser",n],(function(){return J3(i,void 0,void 0,(function(){return e4(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}().getCurrentUser,h=CI((function(){var e,t,n;return Sa(this,void 0,void 0,(function(){var i,r,o,h;return Pa(this,(function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,p(u)];case 1:return i=f.sent(),(null===(e=null==i?void 0:i.subscription)||void 0===e?void 0:e.theme)&&c(i.subscription.theme),r=hP(a,"default"===s?i.preferredUiLanguage:null,pP(),null===(t=i.subscription)||void 0===t?void 0:t.defaultLanguage),o=function(e,t,n){return n?AGe(t)||AGe(IGe())||AGe(RGe())||AGe(null==e?void 0:e.preferredLocale)||AGe(null==e?void 0:e.preferredUiLanguage)||"en":AGe(t)||AGe(null==e?void 0:e.preferredLocale)||AGe(IGe())||AGe(null==e?void 0:e.preferredUiLanguage)||AGe(RGe())||"en"}(i,l,"browser"===s),d(r,o).then((function(){return null}),rO.error),"browser"===s?(i.preferredContentLanguage=a||pP()||(null===(n=i.subscription)||void 0===n?void 0:n.defaultLanguage)||"en",i.preferredLocale=o,i.preferredUiLanguage=r):a&&(i.preferredContentLanguage=a),[2,i];case 2:throw h=f.sent(),rO.error(h),h;case 3:return[2]}}))}))})),f=h[0],m=h[1],g=h[2],v=h[3],b=r.useContext(lF),y=b.handleFatalError,O=b.handleNotFoundError,w=b.handleAccessDeniedError,_=r.useMemo((function(){return{isLibUser:!0,refreshUser:function(e){return Promise.resolve(e&&v(e))},user:f}}),[f]);return g?(403===(null===(n=null==g?void 0:g.response)||void 0===n?void 0:n.statusCode)?w({error:g}):y({error:g}),null):m?null:null==f?(O({}),null):t.jsx(rte.Provider,ka({value:_},{children:i}),void 0)},$Ye=function(){return r.useEffect((function(){!function(){var e="https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap";if(!document.querySelector('head link[href="'+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)}}()}),[]),t.jsxs(t.Fragment,{children:[t.jsx(s4,{},void 0),t.jsx(c4,{},void 0)]},void 0)};var QYe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,zYe=/[\0-\x1F\x7F-\x9F]/,jYe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,NYe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 MYe(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 UYe(e){return Object.prototype.toString.call(e)}function BYe(e){return"[object Function]"===UYe(e)}function qYe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var GYe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var WYe={"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}}},XYe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function VYe(e){var t=e.re=function(e){var t={};return t.src_Any=QYe.source,t.src_Cc=zYe.source,t.src_Z=jYe.source,t.src_P=NYe.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 a(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]"===UYe(e)}(n))return!function(e){return"[object RegExp]"===UYe(e)}(n.validate)?BYe(n.validate)?i.validate=n.validate:a(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(BYe(n.normalize)?i.normalize=n.normalize:n.normalize?a(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===UYe(e)}(n)?a(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 o=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(qYe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","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 YYe(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 ZYe(e,t){var n=new YYe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function HYe(e,t){if(!(this instanceof HYe))return new HYe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||GYe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=MYe({},GYe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=MYe({},WYe,e),this.__compiled__={},this.__tlds__=XYe,this.__tlds_replaced__=!1,this.re={},VYe(this)}HYe.prototype.add=function(e,t){return this.__schemas__[e]=t,VYe(this),this},HYe.prototype.set=function(e){return this.__opts__=MYe(this.__opts__,e),this},HYe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,a,o,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))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,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))&&(a=i.index+i[1].length,o=i.index+i[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},HYe.prototype.pretest=function(e){return this.re.pretest.test(e)},HYe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},HYe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(ZYe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(ZYe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},HYe.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(),VYe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,VYe(this),this)},HYe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},HYe.prototype.onCompile=function(){};var KYe=HYe,JYe={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]||{},a=i.replacement||"-",o=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+a+"]+","g"),a);return i.lower&&(o=o.toLowerCase()),i.strict&&(o=o.replace(new RegExp("[^a-zA-Z0-9"+a+"]","g"),"")),o}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(JYe);var eZe=JYe.exports;function tZe(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 nZe(){return nZe=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},nZe.apply(this,arguments)}function iZe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rZe(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 aZe(e,t,n){return t&&rZe(e.prototype,t),n&&rZe(e,n),e}function oZe(e){return oZe="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},oZe(e)}function sZe(e){return sZe="function"==typeof Symbol&&"symbol"===oZe(Symbol.iterator)?function(e){return oZe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":oZe(e)},sZe(e)}function lZe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uZe(e,t){return!t||"object"!==sZe(t)&&"function"!=typeof t?lZe(e):t}function cZe(e){return cZe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},cZe(e)}function dZe(e,t){return dZe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},dZe(e,t)}function pZe(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&&dZe(e,t)}function hZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fZe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function mZe(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function gZe(e){return function(e){if(Array.isArray(e))return lu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||uu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var vZe=function(e){return e===Object(e)?Object.keys(e):[]},bZe=function(e){return e===Object(e)?Object.values(e):[]};function yZe(e,t){var n=Object.assign({},e);return _Ze(e)&&_Ze(t)&&vZe(t).forEach((function(i){_Ze(t[i])&&i in e?n[i]=yZe(e[i],t[i]):Object.assign(n,wu({},i,t[i]))})),n}var OZe=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 yZe(e,t)}),e)},wZe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},_Ze=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},kZe=function(e){return(e||[]).filter(Boolean)},xZe=function(e){return"&"===e[0]},SZe=function(e){return!xZe(e)},PZe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},EZe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=vZe(e),i={},r=0,a=n.length;r<a;r+=1){var o=n[r],s="[object Object]"!==Object.prototype.toString.call(e[o])||":"===o[0]||"@"===o[0]||t.indexOf(o)>=0;s&&(i[o]=e[o])}return i},CZe=function(e,t){for(var n=t.map(PZe),i=vZe(e),r={},a=0,o=i.length;a<o;a+=1){var s=i[a];(t.indexOf(s)>=0||n.indexOf(PZe(s))>=0)&&(r[s]=e[s])}return r},FZe=function e(t,n){for(var i=OZe.apply(void 0,[{},wZe(t,n)].concat(gZe(bZe(CZe(t,n))))),r=vZe(i).filter(xZe),a=0,o=r.length;a<o;a+=1){var s=r[a],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=OZe({},i,l)):i[s]=l}return i};function TZe(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 DZe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TZe(Object(n),!0).forEach((function(t){wu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TZe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var AZe=["animationName"],IZe=function(e){var t=e.style,n=e.className;return DZe(DZe({},t?{style:EZe(t,AZe)}:{}),n?{className:n}:{})},RZe=r.createContext(IZe);RZe.Provider;var LZe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return vZe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},$Ze={},QZe=function(e){return function(t,n){var i,r=n||$Ze;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var a=LZe(t).join(" ");return a in i?i[a]:i[a]=e(t||[],n)}};function zZe(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 jZe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zZe(Object(n),!0).forEach((function(t){wu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zZe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var NZe=function(e){var t=e&&vZe(e)[0];return t&&t.split("__")[0].split("--")[0]},MZe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(gZe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),gZe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(gZe(r)):r}};function UZe(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:IZe,a=n||NZe(i)||(null==t?void 0:t.className),o="function"==typeof t?t:QZe((function(e,n){var o=LZe(e);YPe(Array.isArray(o),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),YPe(!n||_Ze(n),"Optional second parameter must be a plain object.");var s=o.filter(xZe),l=o.filter(SZe),u=l.length>0?function(e){return bZe(CZe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(FZe(e,s))},d=MZe(a,l,s);return UZe(jZe(jZe(jZe({},(t||n)&&{style:OZe.apply(void 0,[{}].concat(gZe(c(n)),gZe(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=jZe({},"function"==typeof t?t:{style:t}),l=gZe(new Set([].concat(gZe(s.className?s.className.split(" "):[]),gZe(a?a.split(" "):[])))),u=i?kZe(l.map((function(e){return i[e]}))):l,c=r(jZe(jZe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(o,c),o}function BZe(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 qZe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?BZe(Object(n),!0).forEach((function(t){wu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BZe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var GZe=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 qZe(qZe(qZe({},e),"function"==typeof t?t:{}),{},{style:qZe(qZe({},e.style),"function"==typeof t?t.style:t)})}),{})},WZe=function(e,t,n){var i=t.style,a=t.className,o=t.classNames,s=r.useContext(RZe);return r.useMemo((function(){return UZe({style:i,className:a,classNames:o},s)}),[i,a,o,s])(n,e)},XZe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},VZe="__id__",YZe="__display__",ZZe=function(e,t){YPe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(YZe),i=e.indexOf(VZe);return n<0&&(n=null),i<0&&(i=null),YPe(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},HZe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=fZe(t.exec(e.toString()),3),i=n[1],r=n[2];return YPe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},KZe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},JZe=function(){},eHe=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:JZe,a=HZe(t.map((function(e){return e.regex}))),o=2,s=t.map((function(e){var t=e.markup,n=o;return o+=KZe(t)+1,n})),l=0,u=0;null!==(i=a.exec(e));){var c=s.find((function(e){return!!i[e]})),d=s.indexOf(c),p=t[d],h=p.markup,f=p.displayTransform,m=c+ZZe(h,"id"),g=c+ZZe(h,"display"),v=i[m],b=f(v,i[g]),y=e.substring(l,i.index);r(y,l,u),u+=y.length,n(i[0],i.index,u,v,b,d,l),u+=b.length,l=a.lastIndex}l<e.length&&r(e.substring(l),l,u)},tHe=function(e,t){var n="";return eHe(e,t,(function(e,t,i,r,a){n+=a}),(function(e){n+=e})),n},nHe=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var a=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},o=function(e,t,a,o,s,l,u){void 0===i&&a+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return eHe(e,t,o,a),void 0===i?e.length:i},iHe=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},rHe=function(e,t){var n=[];return eHe(e,t,(function(e,t,i,r,a,o,s){n.push({id:r,display:a,childIndex:o,index:t,plainTextIndex:i})})),n},aHe=function(e,t){return"".concat(e,"-").concat(t)},oHe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},sHe=function(e){var t=XZe(e),n=e[e.indexOf(YZe)+YZe.length],i=e[e.indexOf(VZe)+VZe.length];return new RegExp(t.replace(YZe,"([^".concat(XZe(n||""),"]+?)")).replace(VZe,"([^".concat(XZe(i||""),"]+?)")))},lHe=function(e){return r.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?uHe(i,n):sHe(n),displayTransform:r||function(e,t){return t||e}}}))},uHe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=KZe(t);return YPe(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},cHe=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\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:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\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:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\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:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\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:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\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:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\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:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\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:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\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:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],dHe=function(e){return function(e){var t=e;return cHe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},pHe=function(e,t,n){return n?dHe(e).indexOf(dHe(t)):e.toLowerCase().indexOf(t.toLowerCase())},hHe=function(e){return"number"==typeof e},fHe=function(e){return e===Object(e)?Object.keys(e):[]},mHe=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 a=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!a.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function gHe(e,t){return function(n){var i=function(i){var r=i.style,a=i.className,o=i.classNames,s=mZe(i,["style","className","classNames"]),l=t?t(s):void 0,u=WZe(e,{style:r,className:a,classNames:o},l);return v.default.createElement(n,nZe({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var vHe=function(e){function t(){var e;return iZe(this,t),hZe(lZe(e=uZe(this,cZe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return pZe(t,e),aZe(t,[{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,a=n.value,o=n.style,s=n.children,l=n.containerRef,u=lHe(s);i===r&&(e=nHe(a,u,i,"START"));var c=[],d={},p=c,h=0;return eHe(a,u,(function(e,n,i,r,a,o,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,a,o,l))}),(function(n,i,r){if(hHe(e)&&e>=i&&e<=i+n.length){var a=e-i;p.push(t.renderSubstring(n.substring(0,a),h)),p=[t.renderSubstring(n.substring(a),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==c&&c.push(this.renderHighlighterCaret(p)),v.default.createElement("div",nZe({},o,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return v.default.createElement("span",nZe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,i){var a={id:e,display:t,key:i},o=r.Children.toArray(this.props.children)[n];return v.default.cloneElement(o,a)}},{key:"renderHighlighterCaret",value:function(e){return v.default.createElement("span",nZe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(r.Component);hZe(vHe,"propTypes",{selectionStart:cH.number,selectionEnd:cH.number,value:cH.string.isRequired,onCaretPositionChange:cH.func.isRequired,containerRef:cH.oneOfType([cH.func,cH.shape({current:"undefined"==typeof Element?cH.any:cH.instanceOf(Element)})]),children:cH.oneOfType([cH.element,cH.arrayOf(cH.element)]).isRequired}),hZe(vHe,"defaultProps",{value:""});var bHe=gHe({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}}))(vHe),yHe=function(e){function t(){return iZe(this,t),uZe(this,cZe(t).apply(this,arguments))}return pZe(t,e),aZe(t,[{key:"render",value:function(){var e=mHe(this.props,["style","classNames","className"],fHe(t.propTypes));return v.default.createElement("li",nZe({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,a=e.focused,o=this.getDisplay(),s=this.renderHighlightedDisplay(o,t);return n?n(i,t,s,r,a):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,a=pHe(e,i,n);return-1===a?v.default.createElement("span",r("display"),e):v.default.createElement("span",r("display"),e.substring(0,a),v.default.createElement("b",r("highlight"),e.substring(a,a+i.length)),e.substring(a+i.length))}}]),t}(r.Component);hZe(yHe,"propTypes",{id:cH.string.isRequired,query:cH.string.isRequired,index:cH.number.isRequired,ignoreAccents:cH.bool,suggestion:cH.oneOfType([cH.string,cH.shape({id:cH.oneOfType([cH.string,cH.number]).isRequired,display:cH.string})]).isRequired,renderSuggestion:cH.func,focused:cH.bool});var OHe=gHe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(yHe);function wHe(){var e=WZe(),t=e("spinner");return v.default.createElement("div",e,v.default.createElement("div",t,v.default.createElement("div",t(["element","element1"])),v.default.createElement("div",t(["element","element2"])),v.default.createElement("div",t(["element","element3"])),v.default.createElement("div",t(["element","element4"])),v.default.createElement("div",t(["element","element5"]))))}var _He=function(e){function t(){var e,n;iZe(this,t);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return hZe(lZe(n=uZe(this,(e=cZe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),hZe(lZe(n),"select",(function(e,t){n.props.onSelect(e,t)})),hZe(lZe(n),"setUlElement",(function(e){n.ulElement=e})),n}return pZe(t,e),aZe(t,[{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,a=e.onMouseDown,o=e.containerRef,s=e.position,l=e.left,u=e.top;return i?v.default.createElement("div",nZe({},GZe({position:s||"absolute",left:l,top:u},r),{onMouseDown:a,ref:o}),v.default.createElement("ul",nZe({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(tZe(t),tZe(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var i=this,a=n===this.props.focusIndex,o=t.childIndex,s=t.query,l=r.Children.toArray(this.props.children)[o].props.renderSuggestion,u=this.props.ignoreAccents;return v.default.createElement(OHe,{style:this.props.style("item"),key:"".concat(o,"-").concat(kHe(e)),id:aHe(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:a,onClick:function(){return i.select(e,t)},onMouseEnter:function(){return i.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return v.default.createElement(wHe,{style:this.props.style("loadingIndicator")})}}]),t}(r.Component);hZe(_He,"propTypes",{id:cH.string.isRequired,suggestions:cH.object.isRequired,a11ySuggestionsListLabel:cH.string,focusIndex:cH.number,position:cH.string,left:cH.number,top:cH.number,scrollFocusedIntoView:cH.bool,isLoading:cH.bool,isOpened:cH.bool.isRequired,onSelect:cH.func,ignoreAccents:cH.bool,containerRef:cH.oneOfType([cH.func,cH.shape({current:"undefined"==typeof Element?cH.any:cH.instanceOf(Element)})]),children:cH.oneOfType([cH.element,cH.arrayOf(cH.element)]).isRequired}),hZe(_He,"defaultProps",{suggestions:{},onSelect:function(){return null}});var kHe=function(e){return"string"==typeof e?e:e.id},xHe=gHe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(_He);function SHe(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 PHe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?SHe(n,!0).forEach((function(t){hZe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SHe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var EHe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},CHe=!1,FHe={singleLine:cH.bool,allowSpaceInQuery:cH.bool,allowSuggestionsAboveCursor:cH.bool,forceSuggestionsAboveCursor:cH.bool,ignoreAccents:cH.bool,a11ySuggestionsListLabel:cH.string,value:cH.string,onKeyDown:cH.func,onSelect:cH.func,onBlur:cH.func,onChange:cH.func,suggestionsPortalHost:"undefined"==typeof Element?cH.any:cH.PropTypes.instanceOf(Element),inputRef:cH.oneOfType([cH.func,cH.shape({current:"undefined"==typeof Element?cH.any:cH.instanceOf(Element)})]),children:cH.oneOfType([cH.element,cH.arrayOf(cH.element)]).isRequired},THe=function(e){function t(e){var n;return iZe(this,t),hZe(lZe(n=uZe(this,cZe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),hZe(lZe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return PHe({},mHe(n.props,["style","classNames","className"],fHe(FHe)),{},r("input"),{value:n.getPlainText()},!t&&!i&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":aHe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),hZe(lZe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return v.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),hZe(lZe(n),"renderInput",(function(e){return v.default.createElement("input",nZe({type:"text",ref:n.setInputRef},e))})),hZe(lZe(n),"renderTextarea",(function(e){return v.default.createElement("textarea",nZe({ref:n.setInputRef},e))})),hZe(lZe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),hZe(lZe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),hZe(lZe(n),"renderSuggestionsOverlay",(function(){if(!hHe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,a=v.default.createElement(xHe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:i,top:r,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?y.default.createPortal(a,n.props.suggestionsPortalHost):a})),hZe(lZe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,a=r.singleLine,o=r.children,s=r.value,l=r.style;return v.default.createElement(bHe,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:a,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},o)})),hZe(lZe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),hZe(lZe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),hZe(lZe(n),"getPlainText",(function(){return tHe(n.props.value||"",lHe(n.props.children))})),hZe(lZe(n),"executeOnChange",(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];var a,o;return n.props.onChange?(a=n.props).onChange.apply(a,[e].concat(i)):n.props.valueLink?(o=n.props.valueLink).requestChange.apply(o,[e.target.value].concat(i)):void 0})),hZe(lZe(n),"handleChange",(function(e){if(CHe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=lHe(n.props.children),r=e.target.value,a=function(e,t,n,i){var r=n.selectionStartBefore,a=n.selectionEndBefore,o=n.selectionEndAfter,s=tHe(e,i),l=s.length-t.length;"undefined"===r&&(r=o+l),"undefined"===a&&(a=r),r===a&&a===o&&s.length===t.length&&(r-=1);var u=t.slice(r,o),c=Math.min(r,o),d=a;r===o&&(d=Math.max(a,r+l));var p=nHe(e,i,c,"START"),h=nHe(e,i,d,"END"),f=nHe(e,i,c,"NULL"),m=nHe(e,i,d,"NULL"),g=null===f||null===m,v=iHe(e,p,h,u);if(!g){var b=tHe(v,i);if(b!==t){for(c=0;t[c]===b[c];)c++;u=t.slice(c,o),d=s.lastIndexOf(t.substring(o)),p=nHe(e,i,c,"START"),h=nHe(e,i,d,"END"),v=iHe(e,p,h,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=tHe(a,i);var o=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(eHe(e,t,(function(e,t,a,o,s,l,u){a<=n&&a+s.length>n&&(i=a,r=!0)})),r)return i}(t,i,o);void 0!==u&&n.state.selectionEnd>u&&(s=o=u,l=!0),n.setState({selectionStart:o,selectionEnd:s,setSelectionAfterMentionChange:l});var c=rHe(a,i),d={target:{value:a}};n.executeOnChange(d,a,r,c)}})),hZe(lZe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!CHe){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),hZe(lZe(n),"handleKeyDown",(function(e){if(0!==oHe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(EHe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case EHe.ESC:return void n.clearSuggestions();case EHe.DOWN:return void n.shiftFocus(1);case EHe.UP:return void n.shiftFocus(-1);case EHe.RETURN:case EHe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),hZe(lZe(n),"shiftFocus",(function(e){var t=oHe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),hZe(lZe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,i=e.focusIndex,r=Object.values(t).reduce((function(e,t){var n=t.results,i=t.queryInfo;return[].concat(tZe(e),tZe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],a=r.result,o=r.queryInfo;n.addMention(a,o),n.setState({focusIndex:0})})),hZe(lZe(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),hZe(lZe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),hZe(lZe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),hZe(lZe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,a=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var o=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=DHe(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(o){var p={};if(i){p.position="fixed";var h=c.left,f=c.top;h-=DHe(o,"margin-left"),f-=DHe(o,"margin-top"),h-=s.scrollLeft,f-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);h+o.offsetWidth>m?p.left=Math.max(0,m-o.offsetWidth):p.left=h,r&&f+o.offsetHeight>d&&o.offsetHeight<f-u||a?p.top=Math.max(0,f-o.offsetHeight-u):p.top=f}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+o.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=g,r&&c.top-s.scrollTop+o.offsetHeight>d&&o.offsetHeight<l.top-u-s.scrollTop?p.top=v-o.offsetHeight-u:p.top=v}p.left===n.state.suggestionsPosition.left&&p.top===n.state.suggestionsPosition.top&&p.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:p})}}})),hZe(lZe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),hZe(lZe(n),"handleCompositionStart",(function(){CHe=!0})),hZe(lZe(n),"handleCompositionEnd",(function(){CHe=!1})),hZe(lZe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var i=n.inputElement;if(i.setSelectionRange)i.setSelectionRange(e,t);else if(i.createTextRange){var r=i.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),hZe(lZe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,a=lHe(r),o=nHe(i,a,t,"NULL");if(null!==o){var s=function(e,t){var n=rHe(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,o),a),l=e.substring(s,t);v.default.Children.forEach(r,(function(t,i){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=XZe(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),a=l.match(r);if(a){var o=s+l.indexOf(a[1],a.index);n.queryData(a[2],i,o,o+a[1].length,e)}}}))}})),hZe(lZe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),hZe(lZe(n),"queryData",(function(e,t,i,a,o){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],a=0,o=e.length;a<o;++a){var s=e[a].display||e[a].id;pHe(s,n,t)>=0&&r.push(e[a])}return r}:e}(r.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,i,a,o));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,i,a,o,d)})),hZe(lZe(n),"updateSuggestions",(function(e,t,i,r,a,o,s){if(e===n._queryId){n.suggestions=PHe({},n.suggestions,hZe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:a,plainTextValue:o},results:s}));var l=n.state.focusIndex,u=oHe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),hZe(lZe(n),"addMention",(function(e,t){var i=e.id,a=e.display,o=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=lHe(n.props.children),p=r.Children.toArray(n.props.children)[o].props,h=p.markup,f=p.displayTransform,m=p.appendSpaceOnAdd,g=p.onAdd,v=nHe(c,d,s,"START"),b=v+l-s,y=function(e,t,n){return e.replace(VZe,t).replace(YZe,n)}(h,i,a);m&&(y+=" ");var O=iHe(c,v,b,y);n.inputElement.focus();var w=f(i,a);m&&(w+=" ");var _=s+w.length;n.setState({selectionStart:_,selectionEnd:_,setSelectionAfterMentionChange:!0});var k={target:{value:O}},x=rHe(O,d),S=iHe(u,s,l,w);n.executeOnChange(k,O,S,x),g&&g(i,a,v,b),n.clearSuggestions()})),hZe(lZe(n),"isLoading",(function(){var e=!1;return v.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),hZe(lZe(n),"isOpened",(function(){return hHe(n.state.selectionStart)&&(0!==oHe(n.state.suggestions)||n.isLoading())})),hZe(lZe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(lZe(n)),n.handleCut=n.handleCut.bind(lZe(n)),n.handlePaste=n.handlePaste.bind(lZe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return pZe(t,e),aZe(t,[{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 v.default.createElement("div",nZe({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,a=r.value,o=r.children,s=lHe(o),l=nHe(a,s,n,"START"),u=nHe(a,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=iHe(a,l,u,c||d).replace(/\r/g,""),h=tHe(p,s),f={target:PHe({},e.target,{value:p})};this.executeOnChange(f,p,h,rHe(p,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,a=r.children,o=r.value,s=lHe(a),l=nHe(o,s,n,"START"),u=nHe(o,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",o.slice(l,u))}},{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,a=r.children,o=r.value,s=lHe(a),l=nHe(o,s,n,"START"),u=nHe(o,s,i,"END"),c=[o.slice(0,l),o.slice(u)].join(""),d=tHe(c,s),p={target:PHe({},e.target,{value:d})};this.executeOnChange(p,c,d,rHe(o,s))}}}]),t}(v.default.Component);hZe(THe,"propTypes",FHe),hZe(THe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var DHe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},AHe=gHe({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:PHe({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}}))(THe),IHe={fontWeight:"inherit"},RHe=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,a=WZe(IHe,{style:n,className:i,classNames:r});return v.default.createElement("strong",a,t)};RHe.propTypes={onAdd:cH.func,onRemove:cH.func,renderSuggestion:cH.func,trigger:cH.oneOfType([cH.string,cH.instanceOf(RegExp)]),markup:cH.string,displayTransform:cH.func,allowSpaceInQuery:cH.bool,isLoading:cH.bool},RHe.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 LHe=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 $He(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=LHe.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 QHe=[".DS_Store","Thumbs.db"];function zHe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?NHe(e.dataTransfer,e.type):jHe(e))];var n}))}))}function jHe(e){return(null!==e.target&&e.target.files?UHe(e.target.files):[]).map((function(e){return $He(e)}))}function NHe(e,t){return Sa(this,void 0,void 0,(function(){var n;return Pa(this,(function(i){switch(i.label){case 0:return e.items?(n=UHe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(BHe))]):[3,2];case 1:return[2,MHe(qHe(i.sent()))];case 2:return[2,MHe(UHe(e.files).map((function(e){return $He(e)})))]}}))}))}function MHe(e){return e.filter((function(e){return-1===QHe.indexOf(e.name)}))}function UHe(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function BHe(e){if("function"!=typeof e.webkitGetAsEntry)return GHe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?XHe(t):GHe(e)}function qHe(e){return e.reduce((function(e,t){return Ta(e,Array.isArray(t)?qHe(t):[t])}),[])}function GHe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=$He(t);return Promise.resolve(n)}function WHe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,e.isDirectory?XHe(e):VHe(e)]}))}))}function XHe(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var a=this;t.readEntries((function(t){return Sa(a,void 0,void 0,(function(){var a,o,s;return Pa(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 a=l.sent(),e(a),[3,4];case 3:return o=l.sent(),n(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(WHe)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function VHe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=$He(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function YHe(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(),a=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function ZHe(e,t,n){if(HHe(e.size)){if(HHe(t)&&HHe(n))return e.size>=t&&e.size<=n;if(HHe(t))return e.size>=t;if(HHe(n))return e.size<=n}return!0}function HHe(e){return null!=e}function KHe(e,t,n,i){return e.every((function(e){return YHe(e,t)&&ZHe(e,n,i)}))}function JHe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function eKe(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 tKe(e){e.preventDefault()}function nKe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function iKe(e){return-1!==e.indexOf("Edge/")}function rKe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return nKe(e)||iKe(e)}function aKe(){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!JHe(e)&&t&&t.apply(void 0,[e].concat(i)),JHe(e)}))}}function oKe(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 sKe(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,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function lKe(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 uKe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lKe(n,!0).forEach((function(t){cKe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lKe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dKe(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var pKe=r.forwardRef((function(e,t){var n=e.children,i=mKe(dKe(e,["children"])),a=i.open,o=dKe(i,["open"]);return r.useImperativeHandle(t,(function(){return{open:a}}),[a]),v.default.createElement(r.Fragment,null,n(uKe({},o,{open:a})))}));pKe.displayName="Dropzone",pKe.propTypes={children:cH.func,accept:cH.oneOfType([cH.string,cH.arrayOf(cH.string)]),multiple:cH.bool,preventDropOnDocument:cH.bool,noClick:cH.bool,noKeyboard:cH.bool,noDrag:cH.bool,noDragEventsBubbling:cH.bool,minSize:cH.number,maxSize:cH.number,disabled:cH.bool,getFilesFromEvent:cH.func,onFileDialogCancel:cH.func,onDragEnter:cH.func,onDragLeave:cH.func,onDragOver:cH.func,onDrop:cH.func,onDropAccepted:cH.func,onDropRejected:cH.func};var hKe,fKe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function mKe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,i=void 0!==n&&n,a=e.getFilesFromEvent,o=void 0===a?zHe:a,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,p=void 0===d||d,h=e.onDragEnter,f=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,k=void 0!==_&&_,x=e.noKeyboard,S=void 0!==x&&x,P=e.noDrag,E=void 0!==P&&P,C=e.noDragEventsBubbling,F=void 0!==C&&C,T=r.useRef(null),D=r.useRef(null),A=r.useReducer(gKe,fKe),I=sKe(A,2),R=I[0],L=I[1],$=R.isFocused,Q=R.isFileDialogActive,z=R.draggedFiles,j=r.useCallback((function(){D.current&&(L({type:"openDialog"}),D.current.value=null,D.current.click())}),[L]),N=function(){Q&&setTimeout((function(){D.current&&(D.current.files.length||(L({type:"closeDialog"}),"function"==typeof y&&y()))}),300)};r.useEffect((function(){return window.addEventListener("focus",N,!1),function(){window.removeEventListener("focus",N,!1)}}),[D,Q,y]);var M=r.useCallback((function(e){T.current&&T.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),j()))}),[T,D]),U=r.useCallback((function(){L({type:"focus"})}),[]),B=r.useCallback((function(){L({type:"blur"})}),[]),q=r.useCallback((function(){k||(rKe()?setTimeout(j,0):j())}),[D,k]),G=r.useRef([]),W=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),G.current=[])};r.useEffect((function(){return w&&(document.addEventListener("dragover",tKe,!1),document.addEventListener("drop",W,!1)),function(){w&&(document.removeEventListener("dragover",tKe),document.removeEventListener("drop",W))}}),[T,w]);var X=r.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===G.current.indexOf(e.target)&&(G.current=[].concat(oKe(G.current),[e.target])),eKe(e)&&Promise.resolve(o(e)).then((function(t){JHe(e)&&!F||(L({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),h&&h(e))}))}),[o,h,F]),V=r.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return eKe(e)&&m&&m(e),!1}),[m,F]),Y=r.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=G.current.filter((function(t){return t!==e.target&&T.current&&T.current.contains(t)}));G.current=t,t.length>0||(L({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),eKe(e)&&f&&f(e))}),[T,f,F]),Z=r.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),G.current=[],L({type:"reset"}),eKe(e)&&Promise.resolve(o(e)).then((function(n){if(!JHe(e)||F){var i=[],r=[];n.forEach((function(e){YHe(e,t)&&ZHe(e,c,l)?i.push(e):r.push(e)})),!p&&i.length>1&&r.push.apply(r,oKe(i.splice(0))),L({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,t,c,l,o,g,v,b,F]),H=function(e){return i?null:e},K=function(e){return S?null:H(e)},J=function(e){return E?null:H(e)},ee=function(e){F&&e.stopPropagation()},te=r.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onKeyDown,a=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,p=dKe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return uKe(cKe({onKeyDown:K(aKe(r,M)),onFocus:K(aKe(a,U)),onBlur:K(aKe(o,B)),onClick:H(aKe(s,q)),onDragEnter:J(aKe(l,X)),onDragOver:J(aKe(u,V)),onDragLeave:J(aKe(c,Y)),onDrop:J(aKe(d,Z))},n,T),i||S?{}:{tabIndex:0},{},p)}}),[T,M,U,B,q,X,V,Y,Z,S,E,i]),ne=r.useCallback((function(e){e.stopPropagation()}),[]),ie=r.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,i=void 0===n?"ref":n,r=e.onChange,a=e.onClick,o=dKe(e,["refKey","onChange","onClick"]),s=cKe({accept:t,multiple:p,type:"file",style:{display:"none"},onChange:H(aKe(r,Z)),onClick:H(aKe(a,ne)),autoComplete:"off",tabIndex:-1},i,D);return uKe({},s,{},o)}}),[D,t,p,Z,i]),re=z.length,ae=p||re<=1,oe=re>0&&KHe(z,t,c,l),se=re>0&&(!oe||!ae);return uKe({},R,{isDragAccept:oe,isDragReject:se,isFocused:$&&!i,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:D,open:H(j)})}function gKe(e,t){switch(t.type){case"focus":return uKe({},e,{isFocused:!0});case"blur":return uKe({},e,{isFocused:!1});case"openDialog":return uKe({},e,{isFileDialogActive:!0});case"closeDialog":return uKe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return uKe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return uKe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return uKe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(hKe||(hKe={}));var vKe={exports:{}};!function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=i.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=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};function r(e){return e&&e.__esModule?e:{default:e}}t.default=u;var a=n(3),o=r(n(4)),s=n(14),l=r(n(15));function u(e){var t=e.activeClassName,n=void 0===t?"":t,r=e.activeIndex,o=void 0===r?-1:r,u=e.activeStyle,c=e.autoEscape,d=e.caseSensitive,p=void 0!==d&&d,h=e.className,f=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,b=void 0===v?{}:v,y=e.highlightTag,O=void 0===y?"mark":y,w=e.sanitize,_=e.searchWords,k=e.textToHighlight,x=e.unhighlightClassName,S=void 0===x?"":x,P=e.unhighlightStyle,E=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),C=(0,a.findAll)({autoEscape:c,caseSensitive:p,findChunks:f,sanitize:w,searchWords:_,textToHighlight:k}),F=O,T=-1,D="",A=void 0,I=(0,l.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",i({className:h},E,{children:C.map((function(e,t){var i=k.substr(e.start,e.end-e.start);if(e.highlight){T++;var r=void 0;r="object"==typeof g?p?g[i]:(g=I(g))[i.toLowerCase()]:g;var a=T===+o;D=r+" "+(a?n:""),A=!0===a&&null!=u?Object.assign({},b,u):b;var l={children:i,className:D,key:t,style:A};return"string"!=typeof F&&(l.highlightIndex=T),(0,s.createElement)(F,l)}return(0,s.createElement)("span",{children:i,className:S,key:t,style:P})}))}))}u.propTypes={activeClassName:o.default.string,activeIndex:o.default.number,activeStyle:o.default.object,autoEscape:o.default.bool,className:o.default.string,findChunks:o.default.func,highlightClassName:o.default.oneOfType([o.default.object,o.default.string]),highlightStyle:o.default.object,highlightTag:o.default.oneOfType([o.default.node,o.default.func,o.default.string]),sanitize:o.default.func,searchWords:o.default.arrayOf(o.default.oneOfType([o.default.string,o.default.instanceOf(RegExp)])).isRequired,textToHighlight:o.default.string.isRequired,unhighlightClassName:o.default.string,unhighlightStyle:o.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return i.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return i.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return i.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return i.findChunks}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,a=e.caseSensitive,o=void 0!==a&&a,s=e.findChunks,l=void 0===s?i:s,u=e.sanitize,c=e.searchWords,d=e.textToHighlight;return r({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:o,sanitize:u,searchWords:c,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var i=Math.max(n.end,t.end);e.push({start:n.start,end:i})}else e.push(n,t);return e}),[])},i=function(e){var t=e.autoEscape,n=e.caseSensitive,i=e.sanitize,r=void 0===i?a:i,o=e.searchWords,s=e.textToHighlight;return s=r(s),o.filter((function(e){return e})).reduce((function(e,i){i=r(i),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var a=new RegExp(i,n?"g":"gi"),o=void 0;o=a.exec(s);){var l=o.index,u=a.lastIndex;u>l&&e.push({start:l,end:u}),o.index==a.lastIndex&&a.lastIndex++}return e}),[])};t.findChunks=i;var r=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,i=[],r=function(e,t,n){t-e>0&&i.push({start:e,end:t,highlight:n})};if(0===t.length)r(0,n,!1);else{var a=0;t.forEach((function(e){r(a,e.start,!1),r(e.start,e.end,!0),a=e.end})),r(a,n,!1)}return i};function a(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,i,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(e){i=o}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=s(p);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new f(e,t)),1!==u.length||c||s(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){(function(t){var i=n(7),r=n(8),a=n(9),o=n(10),s=n(11),l=n(12);e.exports=function(e,n){var u="function"==typeof Symbol&&Symbol.iterator;var c="<<anonymous>>",d={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:f(i.thatReturnsNull),arrayOf:function(e){return f((function(t,n,i,r,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var o=t[n];if(!Array.isArray(o))return new h("Invalid "+r+" `"+a+"` of type `"+v(o)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<o.length;l++){var u=e(o,l,i,r,a+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:f((function(t,n,i,r,a){var o=t[n];return e(o)?null:new h("Invalid "+r+" `"+a+"` of type `"+v(o)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return f((function(t,n,i,r,a){if(!(t[n]instanceof e)){var o=e.name||c;return new h("Invalid "+r+" `"+a+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `")+i+"`, expected instance of `"+o+"`.")}var s;return null}))},node:f((function(e,t,n,i,r){return g(e[t])?null:new h("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,n,i,r,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var o=t[n],l=v(o);if("object"!==l)return new h("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in o)if(o.hasOwnProperty(u)){var c=e(o,u,i,r,a+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return f((function(t,n,i,r,a){for(var o=t[n],s=0;s<e.length;s++)if(p(o,e[s]))return null;return new h("Invalid "+r+" `"+a+"` of value `"+o+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),i.thatReturnsNull;for(var n=0;n<e.length;n++){var r=e[n];if("function"!=typeof r)return a(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",y(r),n),i.thatReturnsNull}return f((function(t,n,i,r,a){for(var o=0;o<e.length;o++)if(null==(0,e[o])(t,n,i,r,a,s))return null;return new h("Invalid "+r+" `"+a+"` supplied to `"+i+"`.")}))},shape:function(e){return f((function(t,n,i,r,a){var o=t[n],l=v(o);if("object"!==l)return new h("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(o,u,i,r,a+"."+u,s);if(d)return d}}return null}))},exact:function(e){return f((function(t,n,i,r,a){var l=t[n],u=v(l);if("object"!==u)return new h("Invalid "+r+" `"+a+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=o({},t[n],e);for(var d in c){var p=e[d];if(!p)return new h("Invalid "+r+" `"+a+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=p(l,d,i,r,a+"."+d,s);if(f)return f}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){this.message=e,this.stack=""}function f(e){if("production"!==t.env.NODE_ENV)var i={},o=0;function l(l,u,d,p,f,m,g){if(p=p||c,m=m||d,g!==s)if(n)r(!1,"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");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var v=p+":"+d;!i[v]&&o<3&&(a(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. 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.",m,p),i[v]=!0,o++)}return null==u[d]?l?null===u[d]?new h("The "+f+" `"+m+"` is marked as required in `"+p+"`, but its value is `null`."):new h("The "+f+" `"+m+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(u,d,p,f,m)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function m(e){return f((function(t,n,i,r,a,o){var s=t[n];return v(s)!==e?new h("Invalid "+r+" `"+a+"` of type `"+b(s)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function g(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(g);if(null===t||e(t))return!0;var n=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var i,r=n.call(t);if(n!==t.entries){for(;!(i=r.next()).done;)if(!g(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!g(a[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function b(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function y(e){var t=b(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,d.checkPropTypes=l,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){(function(t){var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,i,r,a,o,s,l){if(n(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[i,r,a,o,s,l],d=0;(u=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}}).call(t,n(5))},function(e,t,n){(function(t){var i=n(7);if("production"!==t.env.NODE_ENV){var r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,a="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}};i=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];r.apply(void 0,[t].concat(i))}}}e.exports=i}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=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 o,s,l=a(e),u=1;u<arguments.length;u++){for(var c in o=Object(arguments[u]))i.call(o,c)&&(l[c]=o[c]);if(n){s=n(o);for(var d=0;d<s.length;d++)r.call(o,s[d])&&(l[s[d]]=o[s[d]])}}return l}},function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var i=n(8),r=n(9),a=n(11),o={};e.exports=function(e,n,s,l,u){if("production"!==t.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var d;try{i("function"==typeof e[c],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",s,c,typeof e[c]),d=e[c](n,c,l,s,null,a)}catch(e){d=e}if(r(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,c,typeof d),d instanceof Error&&!(d.message in o)){o[d.message]=!0;var p=u?u():"";r(!1,"Failed %s type: %s%s",s,d.message,null!=p?p:"")}}}}).call(t,n(5))},function(e,t,n){var i=n(7),r=n(8),a=n(11);e.exports=function(){function e(e,t,n,i,o,s){s!==a&&r(!1,"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")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t){e.exports=v.default},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=void 0,r=[],a=void 0,o=!1,s=function(e,n){return t(e,r[n])},l=function(){for(var t=arguments.length,n=Array(t),l=0;l<t;l++)n[l]=arguments[l];return o&&i===this&&n.length===r.length&&n.every(s)?a:(o=!0,i=this,r=n,a=e.apply(this,n))};return l}}])}(vKe);var bKe=S(vKe.exports),yKe={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 o(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function a(e){return o(e)&&!u(e)?e:Z(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[h])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",f="@@__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 k(e){e&&(e.value=!0)}function x(){}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 P(e){return void 0===e.size&&(e.size=e.__iterate(C)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function C(){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,R=1,L=2,$="function"==typeof Symbol&&Symbol.iterator,Q="@@iterator",z=$||Q;function j(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 M(){return{value:void 0,done:!0}}function U(e){return!!G(e)}function B(e){return e&&"function"==typeof e.next}function q(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&($&&e[$]||e[Q]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function V(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=R,j.ENTRIES=L,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[z]=function(){return this},t(X,n),X.of=function(){return X(arguments)},X.prototype.toSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq {","}")},X.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},X.prototype.__iterate=function(e,t){return de(this,e,t,!0)},X.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(V,X),V.prototype.toKeyedSeq=function(){return this},t(Y,X),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=ae,X.Keyed=V,X.Set=Z,X.Indexed=Y;var H,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 ae(e){return!(!e||!e[ee])}function oe(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():B(e)?new re(e).fromEntrySeq():U(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=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(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 ce(e){return W(e)?new te(e):B(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new j((function(){var e=r[n?a-o:o];return o++>a?M():N(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(e,t){return t?fe(t,e,"",{"":e}):me(e)}function fe(e,t,n,i){return Array.isArray(t)?e.call(i,n,Y(t).map((function(n,i){return fe(e,n,i,t)}))):ge(t)?e.call(i,n,V(t).map((function(n,i){return fe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?V(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(!o(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)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(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 a=e;e=t,t=a}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 ke(){}function xe(){}function Se(){}X.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[E(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 j((function(){return r>i?M():N(e,r,n[t?i-r++:r++])}))},t(ne,V),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,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new j((function(){var o=i[t?r-a:a];return a++>r?M():N(e,o,n[o])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(B(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(!B(n))return new j(M);var i=0;return new j((function(){var t=n.next();return t.done?t:N(e,i++,t.value)}))},t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},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 j((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,Y),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 j((function(){return i<n.size?N(e,i++,n._value):M()}))},ye.prototype.equals=function(e){return e instanceof ye?ve(this._value,e._value):be(e)},t(we,Y),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+E(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,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new j((function(){var o=r;return r+=t?-i:i,a>n?M():N(e,a++,o)}))},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(ke,_e),t(xe,_e),t(Se,_e),_e.Keyed=ke,_e.Indexed=xe,_e.Set=Se;var Pe="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 Ee(e){return e>>>1&1073741824|3221225471&e}function Ce(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 Ee(n)}if("string"===t)return e.length>je?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=Ue[e];return void 0===t&&(t=Te(e),Me===Ne&&(Me=0,Ue={}),Me++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if($e&&void 0!==(t=Le.get(e)))return t;if(void 0!==(t=e[ze]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[ze]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Qe,1073741824&Qe&&(Qe=0),$e)Le.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,ze,{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[ze]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[ze]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Re(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Le,$e="function"==typeof WeakMap;$e&&(Le=new WeakMap);var Qe=0,ze="__immutablehash__";"function"==typeof Symbol&&(ze=Symbol(ze));var je=16,Ne=255,Me=0,Ue={};function Be(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(qe,ke),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 at(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},qe.prototype.remove=function(e){return at(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,ht,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ft(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 Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(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 x)},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=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ze(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(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(Ve);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return We||(We=it(0))}function at(e,t,n){var i,r;if(e._root){var a=_(O),o=_(w);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===y?-1:1:0)}else{if(n===y)return e;r=1,i=new Ye(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 ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===y?e:(k(s),k(o),new Je(t,i,[r,a]))}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 a,o=(0===n?e.keyHash:e.keyHash>>>n)&b,s=(0===n?i:i>>>n)&b;return new Ze(t,1<<o|1<<s,o===s?[lt(e,t,n+g,i,r)]:(a=new Je(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Je(e,Ce(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Ze(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new He(e,a+1,o)}function pt(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(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,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?y:e.get(l,y),c=gt(u,t,n,i);return c===u?e:c===y?e.remove(l):(r?rt():e).set(l,c)}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 a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ye.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===y,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ye(e,h)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&b),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&b,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===y)return this;var d=vt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=ot(h,e,t+g,n,i,r,a,o);if(f===h)return this;if(!c&&f&&p.length>=_t)return dt(e,p,u,s,f);if(c&&!f&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?bt(p,d,f,m):Ot(p,d,m):yt(p,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new Ze(e,v,O)},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=(0===e?t:t>>>e)&b,a=this.nodes[r];return a?a.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&b,l=r===y,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+g,n,i,r,a,o);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<kt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=bt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new He(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ke.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=r===y;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ke(e,this.keyHash,h)},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,a,o){var s=r===y,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,Ce(i),[i,r])))},Ye.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},Ze.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),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 a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return M()};var wt=v/4,_t=v/2,kt=v/4;function xt(e){var t=Rt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Be(i),i>0&&i<v?It(0,i,g,null,new Ct(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[Pt])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=zt(this,e+=this._origin);return n&&n.array[e&b]}return t},xt.prototype.set=function(e,t){return Lt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.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):Rt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return jt(this,0,-1)},xt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},xt.prototype.shift=function(){return jt(this,1)},xt.prototype.merge=function(){return Nt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Nt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Nt(this,ht,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Nt(this,ft(t),n)},xt.prototype.setSize=function(e){return jt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:jt(this,T(e,n),D(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?M():N(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},xt.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)},xt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=xt.prototype;function Ct(e,t){this.array=e,this.ownerID=t}Et[Pt]=!0,Et[m]=Et.remove,Et.setIn=Ve.setIn,Et.deleteIn=Et.removeIn=Ve.removeIn,Et.update=Ve.update,Et.updateIn=Ve.updateIn,Et.mergeIn=Ve.mergeIn,Et.mergeDeepIn=Ve.mergeDeepIn,Et.withMutations=Ve.withMutations,Et.asMutable=Ve.asMutable,Et.asImmutable=Ve.asImmutable,Et.wasAltered=Ve.wasAltered,Ct.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 Ct([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-g,n))===o&&a)return this}if(a&&!r)return this;var s=Qt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ct.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 a=this.array[r];if((i=a&&a.removeAfter(e,t-g,n))===a&&r===this.array.length-1)return this}var o=Qt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Mt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(u===c)return Dt;var n=t?--c:u++;s=o(l&&l[n],r-g,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(Et);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Rt(){return Ft||(Ft=It(0,0,g))}function Lt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a=_(w);return t>=Mt(e._capacity)?i=$t(i,e.__ownerID,0,t,n,a):r=$t(r,e.__ownerID,e._level,t,n,a),a.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 $t(e,t,n,i,r,a){var o,s=i>>>n&b,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=$t(u,t,n-g,i,r,a);return c===u?e:((o=Qt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Qt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Qt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function zt(e,t){if(t>=Mt(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 jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Mt(a),p=Mt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?zt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&o<a&&h.array.length){for(var m=u=Qt(u,i),v=l;v>g;v-=g){var y=d>>>v&b;m=m.array[y]=Qt(m.array[y],i)}m.array[d>>>g&b]=h}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=p)o-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||p<d){for(c=0;u;){var O=o>>>l&b;if(O!==p>>>l&b)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,f)}function Nt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),mt(e,t,i)}function Mt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():Bt(e)?e:Gt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Bt(e){return Ge(e)&&c(e)}function qt(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Gt(){return Tt||(Tt=qt(rt(),Rt()))}function Wt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===y){if(!l)return e;o.size>=v&&o.size>=2*a.size?(r=o.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=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.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 Xt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Vt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Ht(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===L){var i=e.__iterator(t,n);return new j((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===R?I:R,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 a=e.get(i,y);return a===y?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(L,r);return new j((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return N(i,s,t.call(n,o[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=Ht(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 a=e.get(i,y);return a!==y&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(L,a),s=0;return new j((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return N(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=bn(e);return r.map((function(t){return mn(e,a(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 a=T(t,r),o=D(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=yn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new j((function(){for(;o++<a;)r.next();if(++l>s)return M();var e=r.next();return i||t===R?e:N(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(L,r),s=!0;return new j((function(){if(!s)return M();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===L?e:N(i,l,u,e):(s=!1,M())}))},i}function on(e,t,n,i){var r=yn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(L,a),l=!0,u=0;return new j((function(){var e,a,c;do{if((e=s.next()).done)return i||r===R?e:N(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===L?e:N(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(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 a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===L&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:N(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return M()}))},i}function un(e,t,n){var i=bn(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(R,i),o=0;return new j((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?N(n,o++,t):N(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?V(a):l(e)?Y(a):Z(a)}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 hn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return hn(t,e,n)?n:e}))}function hn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function fn(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(R,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),o=0,s=!1;return new j((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?M():N(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return ae(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function bn(e){return s(e)?i:l(e)?r:a}function yn(e){return Object.create((s(e)?V:l(e)?Y:Z).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.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(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);En(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=qe(a)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,qe),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Gt()},Ut.prototype.set=function(e,t){return Wt(this,e,t)},Ut.prototype.remove=function(e){return Wt(this,e,y)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.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)},Ut.isOrderedMap=Bt,Ut.prototype[f]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Xt,V),Xt.prototype.get=function(e,t){return this._iter.get(e,t)},Xt.prototype.has=function(e){return this._iter.has(e)},Xt.prototype.valueSeq=function(){return this._iter.valueSeq()},Xt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Xt.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},Xt.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)},Xt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:N(e,t?--i:i++,r.value,r)}))},Xt.prototype[f]=!0,t(Vt,Y),Vt.prototype.includes=function(e){return this._iter.includes(e)},Vt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Vt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),i=0;return new j((function(){var t=n.next();return t.done?t:N(e,i++,t.value,t)}))},t(Yt,Z),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new j((function(){var t=n.next();return t.done?t:N(e,t.value,t.value,t)}))},t(Zt,V),Zt.prototype.entrySeq=function(){return this._iter.toSeq()},Zt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=o(i);return N(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Zt.prototype.cacheResult=On,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.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},kn.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()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.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)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.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 xn=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Pn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(Cn.bind(void 0,e))}catch(e){}}function Cn(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?$n():Tn(e)&&!c(e)?e:$n().withMutations((function(t){var n=a(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}xn[m]=xn.remove,xn.deleteIn=xn.removeIn=Ve.removeIn,xn.merge=Ve.merge,xn.mergeWith=Ve.mergeWith,xn.mergeIn=Ve.mergeIn,xn.mergeDeep=Ve.mergeDeep,xn.mergeDeepWith=Ve.mergeDeepWith,xn.mergeDeepIn=Ve.mergeDeepIn,xn.setIn=Ve.setIn,xn.update=Ve.update,xn.updateIn=Ve.updateIn,xn.withMutations=Ve.withMutations,xn.asMutable=Ve.asMutable,xn.asImmutable=Ve.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 Rn(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Fn.prototype.clear=function(){return Rn(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++)a(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 a(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 a(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 Qn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return Qn(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 Rn(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 Ln(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function $n(){return Dn||(Dn=Ln(rt()))}function Qn(e){return null==e?Un():zn(e)?e:Un().withMutations((function(t){var n=a(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function zn(e){return Tn(e)&&c(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ve.withMutations,In.asMutable=Ve.asMutable,In.asImmutable=Ve.asImmutable,In.__empty=$n,In.__make=Ln,t(Qn,Fn),Qn.of=function(){return this(arguments)},Qn.fromKeys=function(e){return this(i(e).keySeq())},Qn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Qn.isOrderedSet=zn;var jn,Nn=Qn.prototype;function Mn(e,t){var n=Object.create(Nn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Mn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Nn[f]=!0,Nn.__empty=Un,Nn.__make=Mn,t(Bn,xe),Bn.of=function(){return this(arguments)},Bn.prototype.toString=function(){return this.__toString("Stack [","]")},Bn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},Bn.prototype.peek=function(){return this._head&&this._head.value},Bn.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):Vn(e,t)},Bn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Be(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):Vn(t,n)},Bn.prototype.pop=function(){return this.slice(1)},Bn.prototype.unshift=function(){return this.push.apply(this,arguments)},Bn.prototype.unshiftAll=function(e){return this.pushAll(e)},Bn.prototype.shift=function(){return this.pop.apply(this,arguments)},Bn.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):Yn()},Bn.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 xe.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):Vn(i,r)},Bn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Vn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Bn.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},Bn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new j((function(){if(i){var t=i.value;return i=i.next,N(e,n++,t)}return M()}))},Bn.isStack=qn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=Bn.prototype;function Vn(e,t,n,i){var r=Object.create(Xn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Yn(){return Gn||(Gn=Vn(0))}function Zn(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}Xn[Wn]=!0,Xn.withMutations=Ve.withMutations,Xn.asMutable=Ve.asMutable,Xn.asImmutable=Ve.asImmutable,Xn.wasAltered=Ve.wasAltered,n.Iterator=j,Zn(n,{toArray:function(){Be(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Vt(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 Xt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){Be(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Qn(s(this)?this.valueSeq():this)},toSet:function(){return Fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Bn(s(this)?this.valueSeq():this)},toList:function(){return xt(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(L)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))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,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Be(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Be(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 Be(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),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(R)},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 P(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(C)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Zt(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 a=n.value;if((i=i&&i.get?i.get(a,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):ai)},minBy:function(e,t){return pn(this,t?ni(t):ai,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,on(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,an(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=oi(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[z]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=ii,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"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){}}(),Zn(i,{flip:function(){return mn(this,Ht(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,a){return e.call(t,[a,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 ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Ce(e),Ce(t))|0}:function(e,t){i=i+li(Ce(e),Ce(t))|0}:t?function(e){i=31*i+Ce(e)|0}:function(e){i=i+Ce(e)|0});return si(r,i)}function si(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Pe(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[z]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Zn(r,{toKeyedSeq:function(){return new Xt(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=E(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=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=fn(this.toSeq(),Y.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,on(this,e,t,!1))},zip:function(){return mn(this,fn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,fn(this,e,t))}}),r.prototype[h]=!0,r.prototype[f]=!0,Zn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,a.prototype),Zn(ke,i.prototype),Zn(xe,r.prototype),Zn(Se,a.prototype),{Iterable:n,Seq:X,Collection:_e,Map:qe,OrderedMap:Ut,List:xt,Stack:Bn,Set:Fn,OrderedSet:Qn,Record:kn,Range:we,Repeat:ye,is:ve,fromJS:he}}()}(yKe);var OKe=yKe.exports.OrderedMap,wKe={createFromArray:function(e){return OKe(e.map((function(e){return[e.getKey(),e]})))}},_Ke=wKe;var kKe=yKe.exports,xKe=kKe.Map,SKe=kKe.OrderedSet,PKe=kKe.Record,EKe=SKe(),CKe={style:EKe,entity:null},FKe=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 TKe;var t=xKe({style:EKe,entity:null}).merge(e),n=DKe.get(t);if(n)return n;var r=new i(t);return DKe=DKe.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?SKe(t):t,entity:Array.isArray(n)?SKe(n):n})},i}(PKe(CKe)),TKe=new FKe,DKe=xKe([[xKe(CKe),TKe]]);FKe.EMPTY=TKe;var AKe=FKe;var IKe=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,a,o){return t(e,a)||(n(e)&&i(r,o),r=o),a})),n(e.last())&&i(r,e.count())}};var RKe=AKe,LKe=IKe,$Ke=yKe.exports,QKe=$Ke.List,zKe=$Ke.Map,jKe=$Ke.OrderedSet,NKe=$Ke.Record,MKe=$Ke.Repeat,UKe=jKe(),BKe=NKe({key:"",type:"unstyled",text:"",characterList:QKe(),depth:0,data:zKe()}),qKe=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=QKe(MKe(RKe.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():UKe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){LKe(this.getCharacterList(),GKe,e,t)},r.findEntityRanges=function(e,t){LKe(this.getCharacterList(),WKe,e,t)},i}(BKe);function GKe(e,t){return e.getStyle()===t.getStyle()}function WKe(e,t){return e.getEntity()===t.getEntity()}var XKe=qKe;var VKe=AKe,YKe=IKe,ZKe=yKe.exports,HKe=ZKe.List,KKe=ZKe.Map,JKe=ZKe.OrderedSet,eJe=ZKe.Record,tJe=ZKe.Repeat,nJe=JKe(),iJe={parent:null,characterList:HKe(),data:KKe(),depth:0,key:"",text:"",type:"unstyled",children:HKe(),prevSibling:null,nextSibling:null},rJe=function(e,t){return e.getStyle()===t.getStyle()},aJe=function(e,t){return e.getEntity()===t.getEntity()},oJe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=HKe(tJe(VKe.EMPTY,n.length))),e},sJe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:iJe;return e.call(this,oJe(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():nJe},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){YKe(this.getCharacterList(),rJe,e,t)},r.findEntityRanges=function(e,t){YKe(this.getCharacterList(),aJe,e,t)},i}(eJe(iJe)),lJe=sJe,uJe=AKe,cJe=yKe.exports.Map;function dJe(e,t,n,i){var r=e.getBlockMap(),a=t.getStartKey(),o=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===s})).concat(cJe([[s,r.get(s)]])).map((function(e,t){var r,u;a===s?(r=o,u=l):(r=t===a?o:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?uJe.applyStyle(c,n):uJe.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var pJe={add:function(e,t,n){return dJe(e,t,n,!0)},remove:function(e,t,n){return dJe(e,t,n,!1)}},hJe=AKe;var fJe=function(e,t,n,i){for(var r=t,a=e.getCharacterList();r<n;)a=a.set(r,hJe.applyEntity(a.get(r),i)),r++;return e.set("characterList",a)},mJe=fJe,gJe=yKe.exports;var vJe=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).toOrderedMap().merge(gJe.OrderedMap([[o,i.get(o)]])).map((function(e,t){var i=t===r?a:0,l=t===o?s:e.getLength();return mJe(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},bJe={getRemovalRange:function(e,t,n,i,r){var a=n.split(" ");a=a.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<a.length-1)return e+" ";return e}));for(var o,s=i,l=null,u=null,c=0;c<a.length;c++){if(e<(o=s+a[c].length)&&s<t)null!==l||(l=s),u=o;else if(null!==l)break;s=o}var d=i+n.length,p=l===i,h=u===d;return(!p&&h||p&&!h)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},yJe="production"!==uo.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var OJe=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(yJe(t),!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;(a=new Error(t.replace(/%s/g,(function(){return String(i[o++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}},wJe=OJe;var _Je=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"!==uo.env.NODE_ENV?wJe(!1,"Entity key not found in this range."):wJe(!1)),n},kJe=bJe,xJe=_Je,SJe=OJe;function PJe(e,t,n,i,r,a,o){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=o?s:l;if("MUTABLE"===u)return n;var d=xJe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==uo.env.NODE_ENV?SJe(!1,"There should only be one entity range within this removal range."):SJe(!1));var p=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});a||(o?l=p.end:s=p.start);var h=kJe.getRemovalRange(s,l,t.getText().slice(p.start,p.end),p.start,i);return n.merge({anchorOffset:h.start,focusOffset:h.end,isBackward:!1})}var EJe=function(e,t,n,i,r){var a=i.getStartOffset(),o=i.getEndOffset(),s=t.getEntityAt(a),l=n.getEntityAt(o-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=PJe(e,t,u,r,s,!0,!0);else if(s&&l){var c=PJe(e,t,u,r,s,!1,!0),d=PJe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=PJe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var h=PJe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return u},CJe={},FJe=Math.pow(2,24);var TJe=function(){for(var e;void 0===e||CJe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*FJe).toString(32);return CJe[e]=!0,e},DJe=lJe,AJe=TJe,IJe=yKe.exports.OrderedMap,RJe=function(e){return e.first()instanceof DJe?function(e){var t,n={};return IJe(e.withMutations((function(e){e.forEach((function(i,r){var a=i.getKey(),o=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=AJe();if(n[a]=c,o&&(e.get(o)?e.setIn([o,"prevSibling"],c):e.setIn([a,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([a,"prevSibling"],null)),u&&e.get(u)){var d=e.get(u).getChildKeys();e.setIn([u,"children"],d.set(d.indexOf(i.getKey()),c))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([a,"prevSibling"],n[t.getKey()])),t=e.get(a);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([a,"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 IJe(e.toArray().map((function(e){var t=AJe();return[t,e.set("key",t)]})))}(e)},LJe=AKe,$Je=IKe,QJe=OJe;function zJe(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,a=n<i.count()?i.get(n):void 0,o=r?r.getEntity():void 0,s=a?a.getEntity():void 0;if(s&&s===o&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return $Je(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"!==uo.env.NODE_ENV?QJe(!1,"Removal range must exist within character list."):QJe(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,LJe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var jJe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},a=t.getStartKey(),o=t.getStartOffset(),s=n.get(a),l=zJe(i,s,o);l!==s&&(r[a]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);a===u&&(d=l);var p=zJe(i,d,c);return p!==d&&(r[u]=p),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},NJe=RJe,MJe=jJe,UJe=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),a=t.getEndOffset(),o=MJe(e,t).getBlockMap(),s=o.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return NJe(o.slice(l,u).map((function(e,t){var o=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:o.slice(i,a),characterList:s.slice(i,a)}):t===n?e.merge({text:o.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:o.slice(0,a),characterList:s.slice(0,a)}):e})))};var BJe=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),a=i.slice(n);i=r.concat(t,a).toList()}return i},qJe=_Ke,GJe=lJe,WJe=BJe,XJe=OJe,VJe=RJe,YJe=yKe.exports.List,ZJe=function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),u=s.getCharacterList(),c=r,d=a+i.getText().length,p=null;switch(o){case"MERGE_OLD_DATA_TO_NEW_DATA":p=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":p=i.getData()}var h=s.getType();l&&"unstyled"===h&&(h=i.getType());var f=s.merge({text:l.slice(0,a)+i.getText()+l.slice(a),characterList:WJe(u,i.getCharacterList(),a),type:h,data:p});return e.merge({blockMap:n.set(r,f),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},HJe=function(e,t,n,i,r,a){var o=n.first()instanceof GJe,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),p=d.getLength(),h=d.getKey(),f=o&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(f?s.push(e):s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.slice(0,t),o=r.slice(0,t),s=n.first();return e.merge({text:a+s.getText(),characterList:o.concat(s.getCharacterList()),type:a?e.getType():s.getType(),data:s.getData()})}(e,a,i)),i.slice(f?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.length,o=i.slice(t,a),s=r.slice(t,a),l=n.last();return l.merge({text:l.getText()+o,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,a,i))):s.push(e)}));var m=qJe.createFromArray(s);return o&&(m=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),a=i.getKey(),o=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 a=i.getNextSiblingKey();if(!a)break;r.push(a),i=t.get(a)}return r}(i,e),u=l[l.length-1];if(t.get(a)?(t.setIn([r,"nextSibling"],a),t.setIn([a,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],o),o&&t.setIn([o,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(r)+1,p=c.toArray();p.splice.apply(p,[d,0].concat(l)),t.setIn([s,"children"],YJe(p))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:h,anchorOffset:p,focusKey:h,focusOffset:p,isBackward:!1})})},KJe=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==uo.env.NODE_ENV?XJe(!1,"`insertFragment` should only be called with a collapsed selection state."):XJe(!1));var r=e.getBlockMap(),a=VJe(n),o=t.getStartKey(),s=t.getStartOffset(),l=r.get(o);return l instanceof GJe&&(l.getChildKeys().isEmpty()||("production"!==uo.env.NODE_ENV?XJe(!1,"`insertFragment` should not be called when a container node is selected."):XJe(!1))),1===a.size?ZJe(e,t,r,a.first(),o,s,i):HJe(e,t,r,a,o,s)},JJe=BJe,e0e=OJe,t0e=yKe.exports.Repeat;var n0e=function(e,t,n,i){t.isCollapsed()||("production"!==uo.env.NODE_ENV?e0e(!1,"`insertText` should only be called with a collapsed range."):e0e(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var a=e.getBlockMap(),o=t.getStartKey(),s=t.getStartOffset(),l=a.get(o),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:JJe(l.getCharacterList(),t0e(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:a.set(o,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},i0e=yKe.exports.Map;var r0e=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),a=e.getBlockMap(),o=a.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(i0e([[r,a.get(r)]])).map(n);return e.merge({blockMap:a.merge(o),selectionBefore:t,selectionAfter:t})},a0e=lJe,o0e=function(e,t){if(!(e instanceof a0e))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 a=r.getParentKey();r=a?t.get(a):null}return r?r.getNextSiblingKey():null},s0e=lJe,l0e=o0e,u0e=yKe.exports;u0e.List;var c0e=u0e.Map,d0e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},p0e=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},h0e=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},f0e=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},m0e=function(e,t,n,i){return e.withMutations((function(r){if(d0e(t.getKey(),r,(function(e){return e.merge({nextSibling:h0e(e,r,i),prevSibling:f0e(e,r,i)})})),d0e(n.getKey(),r,(function(e){return e.merge({nextSibling:h0e(e,r,i),prevSibling:f0e(e,r,i)})})),p0e(t.getKey(),i).forEach((function(e){return d0e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:h0e(e,r,i),prevSibling:f0e(e,r,i)})}))})),d0e(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),d0e(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:h0e(e,r,i)})})),d0e(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:f0e(e,r,i)})})),d0e(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),p0e(n.getKey(),i).forEach((function(e){d0e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:h0e(e,r,i),prevSibling:f0e(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=l0e(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?l0e(r,t):null}return n}(n,i).forEach((function(e){return d0e(e,r,(function(e){return e.merge({nextSibling:h0e(e,r,i),prevSibling:f0e(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var a=t.getPrevSiblingKey();d0e(n.getKey(),r,(function(e){return e.merge({prevSibling:a})})),d0e(a,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var o=a?e.get(a):null,s=o?o.getParentKey():null;if(t.getChildKeys().forEach((function(e){d0e(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);d0e(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}d0e(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},g0e=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},v0e=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(o),c=l instanceof s0e,d=[];if(c){var p=u.getChildKeys(),h=p0e(o,i);u.getNextSiblingKey()&&(d=d.concat(h)),p.isEmpty()||(d=d.concat(h.concat([o]))),d=d.concat(p0e(l0e(u,i),i))}n=l===u?g0e(l.getCharacterList(),a,s):l.getCharacterList().slice(0,a).concat(u.getCharacterList().slice(s));var f=l.merge({text:l.getText().slice(0,a)+u.getText().slice(s),characterList:n}),m=c&&0===a&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?c0e([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).filter((function(e,t){return-1===d.indexOf(t)})).concat(c0e([[o,null]])).map((function(e,t){return t===r?f:null})),g=i.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(g=m0e(g,l,u,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:a,focusKey:r,focusOffset:a,isBackward:!1})})},b0e=lJe,y0e=TJe,O0e=yKe.exports,w0e=OJe,_0e=r0e,k0e=O0e.List,x0e=O0e.Map,S0e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},P0e=function(e,t){t.isCollapsed()||("production"!==uo.env.NODE_ENV?w0e(!1,"Selection range must be collapsed."):w0e(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),a=r.getText();if(!a){var o=r.getType();if("unordered-list-item"===o||"ordered-list-item"===o)return _0e(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=y0e(),c=r instanceof b0e,d=r.merge({text:a.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:u,text:a.slice(s),characterList:l.slice(s),data:x0e()}),h=i.toSeq().takeUntil((function(e){return e===r})),f=i.toSeq().skipUntil((function(e){return e===r})).rest(),m=h.concat([[n,d],[u,p]],f).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==uo.env.NODE_ENV?w0e(!1,"ContentBlockNode must not have children"):w0e(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();S0e(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,a=t.toArray();return a.splice(n,0,r),e.merge({children:k0e(a)})})),S0e(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),S0e(i,e,(function(e){return e.merge({nextSibling:r})})),S0e(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(m,d,p)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},E0e=AKe,C0e=pJe,F0e=vJe,T0e=EJe,D0e=UJe,A0e=KJe,I0e=n0e,R0e=OJe,L0e=r0e,$0e=jJe,Q0e=v0e,z0e=P0e,j0e=yKe.exports.OrderedSet,N0e={replaceText:function(e,t,n,i,r){var a=$0e(e,t),o=Q0e(a,t),s=E0e.create({style:i||j0e(),entity:r||null});return I0e(o,o.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==uo.env.NODE_ENV?R0e(!1,"Target range must be collapsed for `insertText`."):R0e(!1)),N0e.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=D0e(e,t),r=N0e.removeRange(e,t,"backward");return N0e.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=$0e(e,t),a=Q0e(r,t);return A0e(a,a.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,a,o;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(),a=e.getBlockForKey(i),o=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=a.getEntityAt(s),c=o.getEntityAt(l-1);if(i===r&&u&&u===c){var d=T0e(e.getEntityMap(),a,o,t,n);return Q0e(e,d)}var p=$0e(e,t);return Q0e(p,t)},splitBlock:function(e,t){var n=$0e(e,t),i=Q0e(n,t);return z0e(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return C0e.add(e,t,n)},removeInlineStyle:function(e,t,n){return C0e.remove(e,t,n)},setBlockType:function(e,t,n){return L0e(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return L0e(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return L0e(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=$0e(e,t);return F0e(i,t,n)}},M0e=N0e;var U0e=function(e){return Object.keys(e).map((function(t){return e[t]}))};function B0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q0e=IKe,G0e=U0e,W0e=yKe.exports,X0e=W0e.List,V0e=W0e.Repeat,Y0e=W0e.Record,Z0e=function(){return!0},H0e=Y0e({start:null,end:null}),K0e=Y0e({start:null,end:null,decoratorKey:null,leaves:null}),J0e={generate:function(e,t,n){var i=t.getLength();if(!i)return X0e.of(new K0e({start:0,end:0,decoratorKey:null,leaves:X0e.of(new H0e({start:0,end:0}))}));var r=[],a=n?n.getDecorations(t,e):X0e(V0e(null,i)),o=t.getCharacterList();return q0e(a,t1e,Z0e,(function(e,t){r.push(new K0e({start:e,end:t,decoratorKey:a.get(e),leaves:e1e(o.slice(e,t).toList(),e)}))})),X0e(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new K0e(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){B0e(e,t,n[t])}))}return e}({},n,{leaves:null!=t?X0e(Array.isArray(t)?t:G0e(t)).map((function(e){return H0e(e)})):null}))}};function e1e(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return q0e(i,t1e,Z0e,(function(e,i){n.push(new H0e({start:e+t,end:i+t}))})),X0e(n)}function t1e(e,t){return e===t}var n1e=J0e;var i1e=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,yKe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),r1e=i1e;var a1e=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 o1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s1e=r1e,l1e=OJe,u1e=a1e,c1e=(0,yKe.exports.Map)(),d1e=u1e();function p1e(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var h1e={getLastCreatedEntityKey:function(){return p1e("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),h1e.__getLastCreatedEntityKey()},create:function(e,t,n){return p1e("DraftEntity.create","contentState.createEntity"),h1e.__create(e,t,n)},add:function(e){return p1e("DraftEntity.add","contentState.addEntity"),h1e.__add(e)},get:function(e){return p1e("DraftEntity.get","contentState.getEntity"),h1e.__get(e)},__getAll:function(){return c1e},__loadWithEntities:function(e){c1e=e,d1e=u1e()},mergeData:function(e,t){return p1e("DraftEntity.mergeData","contentState.mergeEntityData"),h1e.__mergeData(e,t)},replaceData:function(e,t){return p1e("DraftEntity.replaceData","contentState.replaceEntityData"),h1e.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return d1e},__create:function(e,t,n){return h1e.__add(new s1e({type:e,mutability:t,data:n||{}}))},__add:function(e){return d1e=u1e(),c1e=c1e.set(d1e,e),d1e},__get:function(e){var t=c1e.get(e);return t||("production"!==uo.env.NODE_ENV?l1e(!1,"Unknown DraftEntity key: %s.",e):l1e(!1)),t},__mergeData:function(e,t){var n=h1e.__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){o1e(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return c1e=c1e.set(e,r),r},__replaceData:function(e,t){var n=h1e.__get(e).set("data",t);return c1e=c1e.set(e,n),n}},f1e=h1e;var m1e=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 a=this.getStartOffset(),o=this.getEndOffset();return t<=a&&a<=n||t<=o&&o<=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,yKe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),g1e=m1e,v1e=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},b1e=new RegExp("\r","g");var y1e=function(e){return e.replace(b1e,"")};function O1e(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){w1e(e,t,n[t])}))}return e}function w1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _1e=_Ke,k1e=AKe,x1e=XKe,S1e=lJe,P1e=f1e,E1e=g1e,C1e=TJe,F1e=U0e,T1e=v1e,D1e=yKe.exports,A1e=y1e,I1e=D1e.List,R1e=D1e.Record,L1e=D1e.Repeat,$1e=D1e.Map,Q1e=D1e.OrderedMap,z1e=R1e({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),j1e=T1e("draft_tree_data_support")?S1e:x1e,N1e=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 P1e},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 P1e.__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 P1e.__create(e,t,n),this},r.mergeEntityData=function(e,t){return P1e.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return P1e.__replaceData(e,t),this},r.addEntity=function(e){return P1e.__add(e),this},r.getEntity=function(e){return P1e.__get(e)},r.getAllEntities=function(){return P1e.__getAll()},r.loadWithEntities=function(e){return P1e.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=_1e.createFromArray(n),a=r.isEmpty()?new E1e:E1e.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||P1e,selectionBefore:a,selectionAfter:a})},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=A1e(e),new j1e({key:C1e(),text:e,type:"unstyled",characterList:I1e(L1e(k1e.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(O1e({},e,{blockMap:Q1e(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new E1e(e.selectionBefore),selectionAfter:new E1e(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new j1e(O1e({},e,{data:$1e(e.data),characterList:null!=t?I1e((Array.isArray(t)?t:F1e(t)).map((function(e){return k1e.fromJS(e)}))):void 0}))},i}(z1e),M1e=N1e,U1e=OJe,B1e="LTR",q1e=null;function G1e(e){return e===B1e||"RTL"===e}function W1e(e){return G1e(e)||("production"!==uo.env.NODE_ENV?U1e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):U1e(!1)),e===B1e?"ltr":"rtl"}function X1e(e){q1e=e}var V1e={NEUTRAL:"NEUTRAL",LTR:B1e,RTL:"RTL",isStrong:G1e,getHTMLDir:W1e,getHTMLDirIfDifferent:function(e,t){return G1e(e)||("production"!==uo.env.NODE_ENV?U1e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):U1e(!1)),G1e(t)||("production"!==uo.env.NODE_ENV?U1e(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):U1e(!1)),e===t?null:W1e(e)},setGlobalDir:X1e,initGlobalDir:function(){X1e(B1e)},getGlobalDir:function(){return q1e||this.initGlobalDir(),q1e||("production"!==uo.env.NODE_ENV?U1e(!1,"Global direction not set."):U1e(!1)),q1e}},Y1e=V1e,Z1e=OJe,H1e="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",K1e="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",J1e=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+H1e+K1e+"]"),e2e=new RegExp("["+H1e+K1e+"]");function t2e(e){var t=J1e.exec(e);return null==t?null:t[0]}function n2e(e){var t=t2e(e);return null==t?Y1e.NEUTRAL:e2e.exec(t)?Y1e.RTL:Y1e.LTR}function i2e(e,t){if(t=t||Y1e.NEUTRAL,!e.length)return t;var n=n2e(e);return n===Y1e.NEUTRAL?t:n}function r2e(e,t){return t||(t=Y1e.getGlobalDir()),Y1e.isStrong(t)||("production"!==uo.env.NODE_ENV?Z1e(!1,"Fallback direction must be a strong direction"):Z1e(!1)),i2e(e,t)}var a2e={firstStrongChar:t2e,firstStrongCharDir:n2e,resolveBlockDir:i2e,getDirection:r2e,isDirectionLTR:function(e,t){return r2e(e,t)===Y1e.LTR},isDirectionRTL:function(e,t){return r2e(e,t)===Y1e.RTL}},o2e=a2e;function s2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l2e,u2e=o2e,c2e=V1e,d2e=OJe,p2e=function(){function e(e){s2e(this,"_defaultDir",void 0),s2e(this,"_lastDir",void 0),e?c2e.isStrong(e)||("production"!==uo.env.NODE_ENV?d2e(!1,"Default direction must be a strong direction (LTR or RTL)"):d2e(!1)):e=c2e.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=u2e.getDirection(e,this._lastDir),this._lastDir},e}(),h2e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},f2e=p2e,m2e=yKe.exports,g2e=h2e,v2e=m2e.OrderedMap,b2e={getDirectionMap:function(e,t){l2e?l2e.reset():l2e=new f2e;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return g2e(l2e).getDirection(e.getText())})),r=v2e(n.keySeq().zip(i));return null!=t&&m2e.is(t,r)?t:r}};function y2e(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){O2e(e,t,n[t])}))}return e}function O2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w2e=n1e,_2e=M1e,k2e=b2e,x2e=g1e,S2e=yKe.exports,P2e=S2e.OrderedSet,E2e=S2e.Record,C2e=S2e.Stack,F2e=S2e.OrderedMap,T2e=S2e.List,D2e=E2e({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:C2e(),selection:null,treeMap:null,undoStack:C2e()}),A2e=function(){t.createEmpty=function(e){return t.createWithContent(_2e.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:C2e(),redoStack:C2e(),decorator:n||null,selection:x2e.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=y2e({},e,{treeMap:R2e(n,e.decorator),directionMap:k2e.getDirectionMap(n)});return new t(new D2e(i))},t.fromJS=function(e){return new t(new D2e(y2e({},e,{directionMap:null!=e.directionMap?F2e(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?P2e(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?_2e.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?C2e(e.redoStack.map((function(e){return _2e.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new x2e(e.selection):e.selection,treeMap:null!=e.treeMap?F2e(e.treeMap).map((function(e){return T2e(e).map((function(e){return w2e.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?C2e(e.undoStack.map((function(e){return _2e.fromJS(e)}))):e.undoStack,currentContent:_2e.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 a=n.currentContent||e.getCurrentContent();if(r!==i){var o,s=t.get("treeMap");return o=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 w2e.generate(e,t,i)})))}(a,a.getBlockMap(),s,r,i):R2e(a,r),void t.merge({decorator:r,treeMap:o,nativelyRenderedContent:null})}a!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),a=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==a.get(t)})).map((function(e){return w2e.generate(r,e,i)})))}(e,a.getBlockMap(),a.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){O2e(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 $2e(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 $2e(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 I2e(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),I2e(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new x2e({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 a=k2e.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:a,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var o=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;o!==s.getSelectionAfter()||L2e(e,i)?(l=l.push(s),u=u.set("selectionBefore",o)):"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i||(u=u.set("selectionBefore",s.getSelectionBefore()));var c=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(i)&&(c=null);var p={currentContent:u,directionMap:a,undoStack:l,redoStack:C2e(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};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(),a=k2e.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,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(),a=k2e.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,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 I2e(e,t,n){return A2e.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function R2e(e,t){return e.getBlockMap().map((function(n){return w2e.generate(e,n,t)})).toOrderedMap()}function L2e(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function $2e(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):P2e()}var Q2e=A2e,z2e=lJe,j2e=o0e,N2e=yKe.exports,M2e=OJe,U2e=N2e.OrderedMap,B2e=N2e.List,q2e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},G2e=function(e,t,n,i,r){if(!r)return e;var a="after"===i,o=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),p=a?n.getNextSiblingKey():s,h=a?s:n.getPrevSiblingKey();return e.withMutations((function(e){q2e(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(o))})})),q2e(c,e,(function(e){return e.merge({nextSibling:u})})),q2e(u,e,(function(e){return e.merge({prevSibling:c})})),q2e(p,e,(function(e){return e.merge({prevSibling:o})})),q2e(h,e,(function(e){return e.merge({nextSibling:o})})),q2e(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=a?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,o),e.merge({children:B2e(r)})})),q2e(o,e,(function(e){return e.merge({nextSibling:p,prevSibling:h,parent:d})}))}))},W2e=function(e,t,n,i){"replace"===i&&("production"!==uo.env.NODE_ENV?M2e(!1,"Replacing blocks is not supported."):M2e(!1));var r=n.getKey(),a=t.getKey();a===r&&("production"!==uo.env.NODE_ENV?M2e(!1,"Block cannot be moved next to itself."):M2e(!1));var o=e.getBlockMap(),s=t instanceof z2e,l=[t],u=o.delete(a);s&&(l=[],u=o.withMutations((function(e){var n=t.getNextSiblingKey(),i=j2e(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===a})).takeWhile((function(e){var t=e.getKey(),r=t===a,o=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||o||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var c=u.toSeq().takeUntil((function(e){return e===n})),d=u.toSeq().skipUntil((function(e){return e===n})).skip(1),p=l.map((function(e){return[e.getKey(),e]})),h=U2e();if("before"===i){var f=e.getBlockBefore(r);f&&f.getKey()===t.getKey()&&("production"!==uo.env.NODE_ENV?M2e(!1,"Block cannot be moved next to itself."):M2e(!1)),h=c.concat([].concat(p,[[r,n]]),d).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===a&&("production"!==uo.env.NODE_ENV?M2e(!1,"Block cannot be moved next to itself."):M2e(!1)),h=c.concat([[r,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:G2e(h,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:a,focusKey:a})})};function X2e(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){V2e(e,t,n[t])}))}return e}function V2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y2e=_Ke,Z2e=AKe,H2e=XKe,K2e=lJe,J2e=M0e,e3e=Q2e,t3e=TJe,n3e=yKe.exports,i3e=W2e,r3e=v1e("draft_tree_data_support"),a3e=r3e?K2e:H2e,o3e=n3e.List,s3e=n3e.Repeat,l3e={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),a=J2e.removeRange(i,r,"backward"),o=a.getSelectionAfter(),s=J2e.splitBlock(a,o),l=s.getSelectionAfter(),u=J2e.setBlockType(s,l,"atomic"),c=Z2e.create({entity:t}),d={key:t3e(),type:"atomic",text:n,characterList:o3e(s3e(c,n.length))},p={key:t3e(),type:"unstyled"};r3e&&(d=X2e({},d,{nextSibling:p.key}),p=X2e({},p,{prevSibling:d.key}));var h=[new a3e(d),new a3e(p)],f=Y2e.createFromArray(h),m=J2e.replaceWithFragment(u,l,f),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return e3e.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,a=e.getCurrentContent(),o=e.getSelection();if("before"===i||"after"===i){var s=a.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=i3e(a,t,s,i)}else{var l=J2e.removeRange(a,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=i3e(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=i3e(l,t,c,"after");else{var d=J2e.splitBlock(l,u),p=d.getSelectionAfter(),h=d.getBlockForKey(p.getFocusKey());r=i3e(d,t,h,"before")}}var f=r.merge({selectionBefore:o,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return e3e.push(e,f,"move-block")}};var u3e=yKe.exports.List,c3e=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 a=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+"."+a),a++)}),t)})),u3e(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 d3e=c3e;function p3e(e){return e.replace(/\//g,"-")}var h3e=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(p3e).join(" "):Array.prototype.map.call(arguments,p3e).join(" ")},f3e=v.default,m3e=h3e,g3e=(0,yKe.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:f3e.createElement("ul",{className:m3e("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:f3e.createElement("ol",{className:m3e("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:f3e.createElement("pre",{className:m3e("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),v3e={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},b3e={exports:{}};!function(e,t){!function(n,i){var r="function",a="undefined",o="object",s="string",l="model",u="name",c="type",d="vendor",p="version",h="architecture",f="console",m="mobile",g="tablet",v="smarttv",b="wearable",y="embedded",O="Amazon",w="Apple",_="ASUS",k="BlackBerry",x="Firefox",S="Google",P="Huawei",E="LG",C="Microsoft",F="Motorola",T="Opera",D="Samsung",A="Sony",I="Xiaomi",R="Zebra",L="Facebook",$=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},Q=function(e,t){return typeof e===s&&-1!==z(t).indexOf(z(e))},z=function(e){return e.toLowerCase()},j=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===a?e:e.substring(0,255)},N=function(e,t){for(var n,a,s,l,u,c,d=0;d<t.length&&!u;){var p=t[d],h=t[d+1];for(n=a=0;n<p.length&&!u;)if(u=p[n++].exec(e))for(s=0;s<h.length;s++)c=u[++a],typeof(l=h[s])===o&&l.length>0?2===l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):i:this[l[0]]=c?l[1].call(this,c,l[2]):i:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):i):this[l]=c||i;d+=2}},M=function(e,t){for(var n in t)if(typeof t[n]===o&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(Q(t[n][r],e))return"?"===n?i:n}else if(Q(t[n],e))return"?"===n?i:n;return e},U={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"},B={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,p],[/opios[\/ ]+([\w\.]+)/i],[p,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[u,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],[u,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[u,x]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,L],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[p,M,{"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],[u,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[u,"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],[u,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,z]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[h,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[h,"armhf"]],[/windows (ce|mobile); ppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[h,/ower/,"",z]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[h,z]]],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],[c,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,D],[c,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[c,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[c,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,P],[c,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,P],[c,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],[c,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,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"],[c,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,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],[c,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,F],[c,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,E],[c,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,E],[c,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,m]],[/(pixel c)\b/i],[l,[d,S],[c,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,S],[c,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],[c,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,A],[c,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,O],[c,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,O],[c,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,k],[c,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,_],[c,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,_],[c,m]],[/(nexus 9)/i],[l,[d,"HTC"],[c,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,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,[c,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,[c,g]],[/(surface duo)/i],[l,[d,C],[c,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,m]],[/(u304aa)/i],[l,[d,"AT&T"],[c,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,g]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,g]],[/(sprint) (\w+)/i],[d,l,[c,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,C],[c,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,R],[c,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,R],[c,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,f]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,f]],[/(playstation [345portablevi]+)/i],[l,[d,A],[c,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,C],[c,f]],[/smart-tv.+(samsung)/i],[d,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,D],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,E],[c,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[d,S],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,O],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,j],[l,j],[c,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,v]],[/((pebble))app/i],[d,l,[c,b]],[/droid.+; (glass) \d/i],[l,[d,S],[c,b]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,R],[c,b]],[/(quest( 2)?)/i],[l,[d,L],[c,b]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[u,"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],[u,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[p,M,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[p,M,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,p],[/\(bb(10);/i],[p,[u,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"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],[u,p],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,p]]},q=function(e,t){if(typeof e===o&&(t=e,e=i),!(this instanceof q))return new q(e,t).getResult();var r=e||(typeof n!==a&&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}(B,t):B;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?j(e,255):e,this},this.setUA(r),this};q.VERSION="0.7.31",q.BROWSER=$([u,p,"major"]),q.CPU=$([h]),q.DEVICE=$([l,d,c,f,m,v,g,b,y]),q.ENGINE=q.OS=$([u,p]),e.exports&&(t=e.exports=q),t.UAParser=q;var G=typeof n!==a&&(n.jQuery||n.Zepto);if(G&&!G.ua){var W=new q;G.ua=W.getResult(),G.ua.get=function(){return W.getUA()},G.ua.set=function(e){W.setUA(e);var t=W.getResult();for(var n in t)G.ua[n]=t[n]}}}("object"==typeof window?window:x)}(b3e,b3e.exports);var y3e="Unknown",O3e={"Mac OS":"Mac OS X"};var w3e=(new(0,b3e.exports)).getResult(),_3e=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(w3e.browser.version),k3e={browserArchitecture:w3e.cpu.architecture||y3e,browserFullVersion:w3e.browser.version||y3e,browserMinorVersion:_3e.minor||y3e,browserName:w3e.browser.name||y3e,browserVersion:w3e.browser.major||y3e,deviceName:w3e.device.model||y3e,engineName:w3e.engine.name||y3e,engineVersion:w3e.engine.version||y3e,platformArchitecture:w3e.cpu.architecture||y3e,platformName:function(e){return O3e[e]||e}(w3e.os.name)||y3e,platformVersion:w3e.os.version||y3e,platformFullVersion:w3e.os.version||y3e},x3e=k3e,S3e=OJe,P3e=/\./,E3e=/\|\|/,C3e=/\s+\-\s+/,F3e=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,T3e=/^(\d*)(.*)/;function D3e(e,t){var n=e.split(E3e);return n.length>1?n.some((function(e){return U3e.contains(e,t)})):function(e,t){var n=e.split(C3e);if(n.length>0&&n.length<=2||("production"!==uo.env.NODE_ENV?S3e(!1,'the "-" operator expects exactly 2 operands'):S3e(!1)),1===n.length)return A3e(n[0],t);var i=n[0],r=n[1];return Q3e(i)&&Q3e(r)||("production"!==uo.env.NODE_ENV?S3e(!1,'operands to the "-" operator must be simple (no modifiers)'):S3e(!1)),A3e(">="+i,t)&&A3e("<="+r,t)}(e=n[0].trim(),t)}function A3e(e,t){if(""===(e=e.trim()))return!0;var n=t.split(P3e),i=L3e(e),r=i.modifier,a=i.rangeComponents;switch(r){case"<":return I3e(n,a);case"<=":return function(e,t){var n=M3e(e,t);return-1===n||0===n}(n,a);case">=":return R3e(n,a);case">":return function(e,t){return 1===M3e(e,t)}(n,a);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,a=parseInt(i[r],10);$3e(a)&&(i[r]=a+1+"");return R3e(e,n)&&I3e(e,i)}(n,a);default:return function(e,t){return 0===M3e(e,t)}(n,a)}}function I3e(e,t){return-1===M3e(e,t)}function R3e(e,t){var n=M3e(e,t);return 1===n||0===n}function L3e(e){var t=e.split(P3e),n=t[0].match(F3e);return n||("production"!==uo.env.NODE_ENV?S3e(!1,"expected regex to match but it did not"):S3e(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function $3e(e){return!isNaN(e)&&isFinite(e)}function Q3e(e){return!L3e(e).modifier}function z3e(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function j3e(e,t){var n=e.match(T3e)[1],i=t.match(T3e)[1],r=parseInt(n,10),a=parseInt(i,10);return $3e(r)&&$3e(a)&&r!==a?N3e(r,a):N3e(e,t)}function N3e(e,t){return typeof e!=typeof t&&("production"!==uo.env.NODE_ENV?S3e(!1,'"a" and "b" must be of the same type'):S3e(!1)),e>t?1:e<t?-1:0}function M3e(e,t){for(var n=function(e,t){z3e(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 z3e(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],a=0;a<r.length;a++){var o=j3e(i[a],r[a]);if(o)return o}return 0}var U3e={contains:function(e,t){return D3e(e.trim(),t.trim())}},B3e=U3e,q3e=Object.prototype.hasOwnProperty;var G3e=function(e,t,n){if(!e)return null;var i={};for(var r in e)q3e.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var W3e=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},X3e=x3e,V3e=B3e;function Y3e(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,V3e.contains(r,t))}function Z3e(e){return"Windows"===X3e.platformName?e.replace(/^\s*NT/,""):e}var H3e=G3e({isBrowser:function(e){return Y3e(X3e.browserName,X3e.browserFullVersion,e)},isBrowserArchitecture:function(e){return Y3e(X3e.browserArchitecture,null,e)},isDevice:function(e){return Y3e(X3e.deviceName,null,e)},isEngine:function(e){return Y3e(X3e.engineName,X3e.engineVersion,e)},isPlatform:function(e){return Y3e(X3e.platformName,X3e.platformFullVersion,e,Z3e)},isPlatformArchitecture:function(e){return Y3e(X3e.platformArchitecture,null,e)}},W3e);var K3e=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var J3e=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},e4e=J3e;var t4e=function e(t){if(e4e(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var a=e(n.childNodes[r]);if(a)return a}}return null},n4e=K3e,i4e=t4e;var r4e=function(e){for(var t=e;t&&t!==n4e(e).documentElement;){var n=i4e(t);if(null!=n)return n;t=t.parentNode}return null};var a4e=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function o4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s4e=H3e,l4e=r4e,u4e=a4e,c4e=OJe,d4e=h2e,p4e=yKe.exports.Map,h4e={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},f4e=s4e.isBrowser("IE <= 11"),m4e=function(){function e(e){var t=this;o4e(this,"observer",void 0),o4e(this,"container",void 0),o4e(this,"mutations",void 0),o4e(this,"onCharData",void 0),this.container=e,this.mutations=p4e();var n=u4e(e);n.MutationObserver&&!f4e?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==uo.env.NODE_ENV?c4e(!1,"Expected target to be an instance of Node"):c4e(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,h4e):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=p4e(),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 f4e?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=d4e(l4e(e.target));this.mutations=this.mutations.set(n,t)}},e}(),g4e="-",v4e={encode:function(e,t,n){return e+g4e+t+g4e+n},decode:function(e){var t=e.split(g4e).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(g4e),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},b4e={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},y4e={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var O4e=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},w4e=OJe,_4e=O4e;var k4e=function(e){var t=e.editorContainer;return t||("production"!==uo.env.NODE_ENV?w4e(!1,"Missing editorNode"):w4e(!1)),_4e(t.firstChild)||("production"!==uo.env.NODE_ENV?w4e(!1,"editorNode.firstChild is not an HTMLElement"):w4e(!1)),t.firstChild},x4e=v4e,S4e=h2e;var P4e=function(e,t,n,i,r){var a=S4e(e.getSelection());if(!t||!i)return"production"!==uo.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var o=x4e.decode(t),s=o.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([o.decoratorKey,"leaves",o.leafKey]),c=x4e.decode(i),d=c.blockKey,p=e.getBlockTree(d),h=p&&p.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!h)return"production"!==uo.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var f=u.get("start"),m=h.get("start"),g=u?f+n:null,v=h?m+r:null,b=a.getAnchorKey()===s&&a.getAnchorOffset()===g&&a.getFocusKey()===d&&a.getFocusOffset()===v;if(b)return a;var y=!1;if(s===d){var O=u.get("end"),w=h.get("end");y=m===f&&w===O?r<n:m<f}else{var _=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();y=_===d}return a.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:y})},E4e=r4e,C4e=t4e,F4e=P4e,T4e=OJe,D4e=J3e,A4e=h2e;function I4e(e,t,n){var i=t,r=E4e(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==uo.env.NODE_ENV?T4e(!1,"Unknown node in selection range."):T4e(!1)),e===i)&&(i=i.firstChild,D4e(i)||("production"!==uo.env.NODE_ENV?T4e(!1,"Invalid DraftEditorContents node."):T4e(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==uo.env.NODE_ENV?T4e(!1,"Invalid DraftEditorContents structure."):T4e(!1)),n>0&&(n=i.childNodes.length));if(0===n){var a=null;if(null!=r)a=r;else{var o=function(e){for(;e.firstChild&&(D4e(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||C4e(e.firstChild));)e=e.firstChild;return e}(i);a=A4e(C4e(o))}return{key:a,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(C4e(s)){var c=function(e){for(;e.lastChild&&(D4e(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||C4e(e.lastChild));)e=e.lastChild;return e}(s);l=A4e(C4e(c)),u=R4e(c)}else l=A4e(r),u=R4e(s);return{key:l,offset:u}}function R4e(e){var t=e.textContent;return"\n"===t?0:t.length}var L4e=function(e,t,n,i,r,a){var o=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(o&&s)return{selectionState:F4e(e,A4e(E4e(n)),i,A4e(E4e(r)),a),needsRecovery:!1};var l=null,u=null,c=!0;return o?(l={key:A4e(E4e(n)),offset:i},u=I4e(t,r,a)):s?(u={key:A4e(E4e(r)),offset:a},l=I4e(t,n,i)):(l=I4e(t,n,i),u=I4e(t,r,a),n===r&&i===a&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:F4e(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},$4e=L4e;var Q4e=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,a=n.focusNode,o=n.focusOffset;return 0===n.rangeCount||null==i||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:$4e(e,t,i,r,a,o)},z4e=y4e,j4e=Q2e,N4e=k4e,M4e=Q4e;var U4e=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();z4e.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=M4e(n,N4e(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?j4e.forceSelection(n,r):j4e.acceptSelection(n,r),e.update(n))}};var B4e={notEmptyKey:function(e){return null!=e&&""!=e}},q4e=B4e.notEmptyKey;function G4e(e,t){return q4e(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var W4e=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:G4e(e.getEntityMap(),n):null}var a=t.getStartKey(),o=t.getStartOffset(),s=e.getBlockForKey(a);return n=o===s.getLength()?null:s.getEntityAt(o),G4e(e.getEntityMap(),n)},X4e=m4e,V4e=M0e,Y4e=v4e,Z4e=Q2e,H4e=b4e,K4e=k4e,J4e=Q4e,e6e=W4e,t6e=h2e,n6e=!1,i6e=!1,r6e=null;var a6e={onCompositionStart:function(e){i6e=!0,function(e){r6e||(r6e=new X4e(K4e(e))).start()}(e)},onCompositionEnd:function(e){n6e=!1,i6e=!1,setTimeout((function(){n6e||a6e.resolveComposition(e)}),20)},onSelect:U4e,onKeyDown:function(e,t){if(!i6e)return a6e.resolveComposition(e),void e._onKeyDown(t);t.which!==H4e.RIGHT&&t.which!==H4e.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===H4e.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!i6e){var t=t6e(r6e).stopAndFlushMutations();r6e=null,n6e=!0;var n=Z4e.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=Y4e.decode(t),a=r.blockKey,o=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(a).getIn([o,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:a,focusKey:a,anchorOffset:u,focusOffset:c,isBackward:!1}),p=e6e(i,d),h=i.getBlockForKey(a).getInlineStyleAt(u);i=V4e.replaceText(i,d,e,h,p),n=Z4e.set(n,{currentContent:i})}));var r=J4e(n,K4e(e)).selectionState;e.restoreEditorDOM();var a=Z4e.acceptSelection(n,r);e.update(Z4e.push(a,i,"insert-characters"))}else e.update(n)}}},o6e=a6e,s6e=GZ;function l6e(){return l6e=s6e||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},l6e.apply(this,arguments)}var u6e=v4e,c6e=v.default,d6e=o2e,p6e=V1e,h6e=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,a=e.decoratorKey,o=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(a),p=r.getPropsForKey(a),h=u6e.encode(u,parseInt(a,10),0),f=l.slice(c.first().get("start"),c.last().get("end")),m=p6e.getHTMLDirIfDifferent(d6e.getDirection(f),o);return c6e.createElement(d,l6e({},p,{contentState:i,decoratedText:f,dir:m,key:h,entityKey:t.getEntityAt(s.get("start")),offsetKey:h}),n)},i}(c6e.Component),f6e=h6e;function m6e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v6e=v.default,b6e=OJe,y6e=J3e,O6e=H3e.isBrowser("IE <= 11");var w6e=function(e){var t,n;function i(t){var n;return g6e(m6e(n=e.call(this,t)||this),"_forceFlag",void 0),g6e(m6e(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;y6e(t)||("production"!==uo.env.NODE_ENV?b6e(!1,"node is not an Element"):b6e(!1));var i=t;return n?!function(e){return O6e?"\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},O6e?v6e.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):v6e.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return O6e?v6e.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):v6e.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):v6e.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(v6e.Component),_6e=w6e,k6e=J3e;var x6e=function(e){return!(!e||!e.ownerDocument)&&(k6e(e)&&"BR"===e.nodeName)};var S6e=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))};var P6e=function(e){return S6e(e)&&3==e.nodeType};var E6e=function e(t,n){return!(!t||!n)&&(t===n||!P6e(t)&&(P6e(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var C6e=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}},F6e=y4e,T6e=E6e,D6e=C6e,A6e=K3e,I6e=OJe,R6e=J3e,L6e=H3e.isBrowser("IE");function $6e(e,t){if(!e)return"[empty]";var n=Q6e(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(R6e(n)||("production"!==uo.env.NODE_ENV?I6e(!1,"Node must be an Element if it is not a text node."):I6e(!1)),n.outerHTML)}function Q6e(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return A6e(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 a=e.childNodes,o=0;o<a.length;o++)r.appendChild(Q6e(a[o],t));return r}function z6e(e,t){for(var n=e,i=n;n;){if(R6e(n)&&i.hasAttribute("contenteditable"))return $6e(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function j6e(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function N6e(e,t,n,i){var r=D6e();if(e.extend&&null!=t&&T6e(r,t)){n>j6e(t)&&F6e.logSelectionStateFailure({anonymizedDom:z6e(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var a=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(o){throw F6e.logSelectionStateFailure({anonymizedDom:z6e(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:a,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:o?""+o:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),o}}else if(t&&e.rangeCount>0){var o=e.getRangeAt(0);o.setEnd(t,n),e.addRange(o.cloneRange())}}function M6e(e,t,n,i){var r=A6e(t).createRange();if(n>j6e(t)&&F6e.logSelectionStateFailure({anonymizedDom:z6e(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),L6e)try{e.addRange(r)}catch(e){"production"!==uo.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var U6e=function(e,t,n,i,r){var a=A6e(t);if(T6e(a.documentElement,t)){var o=a.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!o.extend&&d){var p=s,h=l;s=u,l=c,u=p,c=h,d=!1}var f=s===n&&i<=l&&r>=l,m=u===n&&i<=c&&r>=c;if(f&&m)return o.removeAllRanges(),M6e(o,t,l-i,e),void N6e(o,t,c-i,e);if(d){if(m&&(o.removeAllRanges(),M6e(o,t,c-i,e)),f){var g=o.focusNode,v=o.focusOffset;o.removeAllRanges(),M6e(o,t,l-i,e),N6e(o,g,v,e)}}else f&&(o.removeAllRanges(),M6e(o,t,l-i,e)),m&&N6e(o,t,c-i,e)}},B6e=GZ;function q6e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W6e=_6e,X6e=v.default,V6e=OJe,Y6e=x6e,Z6e=U6e,H6e=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 G6e(q6e(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,a=n.getKey(),o=i+r.length;if(e.hasEdgeWithin(a,i,o)){var s=this.leaf;s||("production"!==uo.env.NODE_ENV?V6e(!1,"Missing node"):V6e(!1));var l,u=s.firstChild;u||("production"!==uo.env.NODE_ENV?V6e(!1,"Missing child"):V6e(!1)),u.nodeType===Node.TEXT_NODE?l=u:Y6e(u)?l=s:(l=u.firstChild)||("production"!==uo.env.NODE_ENV?V6e(!1,"Missing targetNode"):V6e(!1)),Z6e(e,l,a,i,o)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==uo.env.NODE_ENV?V6e(!1,"Missing leafNode"):V6e(!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,a=i.customStyleFn,o=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()),B6e(e,i,n)}),{});if(a){var u=a(s,t);l=B6e(l,u)}return X6e.createElement("span",{"data-offset-key":o,ref:function(t){return e.leaf=t},style:l},X6e.createElement(W6e,null,n))},i}(X6e.Component),K6e=H6e;var J6e=f6e,e5e=K6e,t5e=v4e,n5e=yKe.exports,i5e=v.default,r5e=h3e;n5e.List;var a5e=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,a=e.decorator,o=e.direction,s=e.forceSelection,l=e.hasSelection,u=e.selection,c=e.tree,d=t.getKey(),p=t.getText(),h=c.size-1,f=this.props.children||c.map((function(e,c){var f=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var a=t5e.encode(d,c,n),o=e.get("start"),m=e.get("end");return i5e.createElement(e5e,{key:a,offsetKey:a,block:t,start:o,selection:l?u:null,forceSelection:s,text:p.slice(o,m),styleSet:t.getInlineStyleAt(o),customStyleMap:r,customStyleFn:i,isLast:f===h&&n===g})})).toArray();return f&&a?i5e.createElement(J6e,{block:t,children:v,contentState:n,decorator:a,decoratorKey:f,direction:o,leafSet:e,text:p,key:c}):v})).toArray();return i5e.createElement("div",{"data-offset-key":t5e.encode(d,0,0),className:r5e({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===o,"public/DraftStyleDefault/rtl":"RTL"===o})},f)},i}(i5e.Component),o5e=a5e;function s5e(e,t){return!!t&&(e===t.documentElement||e===t.body)}var l5e={getTop:function(e){var t=e.ownerDocument;return s5e(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;s5e(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return s5e(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;s5e(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},u5e=l5e,c5e=/-(.)/g;var d5e=function(e){return e.replace(c5e,(function(e,t){return t.toUpperCase()}))},p5e=/([A-Z])/g;var h5e=function(e){return e.replace(p5e,"-$1").toLowerCase()},f5e=d5e,m5e=h5e;function g5e(e){return null==e?e:String(e)}var v5e=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return g5e(n.getPropertyValue(m5e(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return g5e(n.getPropertyValue(m5e(t)));if("display"===t)return"none"}return e.currentStyle?g5e("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[f5e(t)]):g5e(e.style&&e.style[f5e(t)])};function b5e(e,t){var n=y5e.get(e,t);return"auto"===n||"scroll"===n}var y5e={get:v5e,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(b5e(e,"overflow")||b5e(e,"overflowY")||b5e(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},O5e=y5e,w5e=E6e;var _5e=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!w5e(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 k5e=function(e){var t=_5e(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},x5e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var S5e=function(e){return(e=e||document).scrollingElement?e.scrollingElement:x5e||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var P5e=S5e,E5e=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 C5e=function(e){var t=P5e(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=E5e(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,a=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,a)),n};function F5e(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function T5e(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function D5e(){return{width:window.innerWidth||F5e(),height:window.innerHeight||T5e()}}D5e.withoutScrollbars=function(){return{width:F5e(),height:T5e()}};var A5e=D5e,I5e=GZ;function R5e(){return R5e=I5e||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},R5e.apply(this,arguments)}function L5e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5e(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){Q5e(e,t,n[t])}))}return e}function Q5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z5e=o5e,j5e=v4e,N5e=v.default,M5e=u5e,U5e=O5e,B5e=k5e,q5e=C5e,G5e=A5e,W5e=OJe,X5e=O4e;yKe.exports.List;var V5e=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},Y5e=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}},Z5e=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},H5e=function(e,t,n,i,r,a){var o={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:a},s=i(e);return s&&(o.className=s),void 0!==r.customEditable&&(o=$5e({},o,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),o},K5e=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 Q5e(L5e(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",N5e.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,a=!n.getChildKeys().isEmpty(),o=n!==e.block||r!==e.tree||i!==e.direction||V5e(e.selection,e.block.getKey())&&e.forceSelection;return a||o},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=U5e.getScrollParent(n),a=q5e(r);if(r===window){var o=B5e(n);(i=o.y+o.height-G5e().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{X5e(n)||("production"!==uo.env.NODE_ENV?W5e(!1,"blockNode is not an HTMLElement"):W5e(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+a.y))>0&&M5e.setTop(r,M5e.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,a=t.blockRendererFn,o=t.blockStyleFn,s=t.contentState,l=t.decorator,u=t.editorKey,c=t.editorState,d=t.customStyleFn,p=t.customStyleMap,h=t.direction,f=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=j5e.encode(n,0,0),d=s.getBlockForKey(n),p=Z5e(d,a),h=p.CustomComponent||i,f=Y5e(d,r),m=f.Element,g=f.wrapperTemplate,v=H5e(d,u,l,o,p,null),b=$5e({},e.props,{tree:c.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push(N5e.createElement(m,v,N5e.createElement(h,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,a=!1,o=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var u=s.value;if(u.type!==t)break;i.push(u)}}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push(N5e.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":j5e.encode(d,0,0)},c))}(g,m,t),t}),[]));var b=n.getKey(),y=j5e.encode(b,0,0),O=Z5e(n,a),w=O.CustomComponent,_=null!=w?N5e.createElement(w,R5e({},this.props,{tree:c.getBlockTree(b),blockProps:O.customProps,offsetKey:y,block:n})):N5e.createElement(z5e,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:h,forceSelection:f,hasSelection:V5e(m,b),selection:m,tree:g});if(n.getParentKey())return _;var k=Y5e(n,r).Element,x=H5e(n,u,y,o,O,this.wrapperRef);return N5e.createElement(k,x,_)},i}(N5e.Component),J5e=GZ;function e9e(){return e9e=J5e||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},e9e.apply(this,arguments)}var t9e=K5e,n9e=v4e,i9e=v.default,r9e=h2e,a9e=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(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.textDirectionality,u=o.getCurrentContent(),c=o.getSelection(),d=o.mustForceSelection(),p=o.getDecorator(),h=r9e(o.getDirectionMap()),f=[],m=u.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:a,customStyleMap:r,decorator:p,editorKey:s,editorState:o,forceSelection:d,selection:c,block:m,direction:l||h.get(g),tree:o.getBlockTree(g)},b=(t.get(m.getType())||t.get("unstyled")).wrapper;f.push({block:i9e.createElement(t9e,e9e({key:g},v)),wrapperTemplate:b,key:g,offsetKey:n9e.encode(g,0,0)});var y=m.getNextSiblingKey();m=y?u.getBlockForKey(y):null}for(var O=[],w=0;w<f.length;){var _=f[w];if(_.wrapperTemplate){var k=[];do{k.push(f[w].block),w++}while(w<f.length&&f[w].wrapperTemplate===_.wrapperTemplate);var x=i9e.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},k);O.push(x)}else O.push(_.block),w++}return i9e.createElement("div",{"data-contents":"true"},O)},i}(i9e.Component),o9e=a9e,s9e=GZ;function l9e(){return l9e=s9e||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},l9e.apply(this,arguments)}function u9e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d9e=K6e,p9e=v4e,h9e=v.default,f9e=u5e,m9e=O5e,g9e=o2e,v9e=V1e,b9e=h3e,y9e=k5e,O9e=C5e,w9e=A5e,_9e=OJe,k9e=O4e,x9e=h2e,S9e=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},P9e=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 c9e(u9e(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||S9e(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=m9e.getScrollParent(n),a=O9e(r);if(r===window){var o=y9e(n);(i=o.y+o.height-w9e().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{k9e(n)||("production"!==uo.env.NODE_ENV?_9e(!1,"blockNode is not an HTMLElement"):_9e(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+a.y))>0&&f9e.setTop(r,f9e.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,a=S9e(this.props.selection,n);return this.props.tree.map((function(o,s){var l=o.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(o,l){var c=p9e.encode(n,s,l),d=o.get("start"),p=o.get("end");return h9e.createElement(d9e,{key:c,offsetKey:c,block:t,start:d,selection:a?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===u})})).toArray(),d=o.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var p=x9e(e.props.decorator),h=p.getComponentForKey(d);if(!h)return c;var f=p.getPropsForKey(d),m=p9e.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),b=i.slice(g,v),y=t.getEntityAt(o.get("start")),O=v9e.getHTMLDirIfDifferent(g9e.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 h9e.createElement(h,l9e({},f,w,{key:m}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=b9e({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return h9e.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(h9e.Component),E9e=P9e;var C9e=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},F9e=GZ;function T9e(){return T9e=F9e||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},T9e.apply(this,arguments)}function D9e(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){A9e(e,t,n[t])}))}return e}function A9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I9e=E9e,R9e=v4e,L9e=v.default,$9e=h3e,Q9e=C9e,z9e=h2e,j9e=function(e,t,n,i){return $9e({"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})},N9e=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(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=o.getCurrentContent(),d=o.getSelection(),p=o.mustForceSelection(),h=o.getDecorator(),f=z9e(o.getDirectionMap()),m=c.getBlocksAsArray(),g=[],v=null,b=null,y=0;y<m.length;y++){var O=m[y],w=O.getKey(),_=O.getType(),k=n(O),x=void 0,S=void 0,P=void 0;k&&(x=k.component,S=k.props,P=k.editable);var E=u||f.get(w),C=R9e.encode(w,0,0),F={contentState:c,block:O,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:a,decorator:h,direction:E,forceSelection:p,offsetKey:C,preventScroll:l,selection:d,tree:o.getBlockTree(w)},T=t.get(_)||t.get("unstyled"),D=T.wrapper,A=T.element||t.get("unstyled").element,I=O.getDepth(),R="";if(i&&(R=i(O)),"li"===A)R=Q9e(R,j9e(_,I,b!==D||null===v||I>v,E));var L=x||I9e,$={className:R,"data-block":!0,"data-editor":s,"data-offset-key":C,key:w};void 0!==P&&($=D9e({},$,{contentEditable:P,suppressContentEditableWarning:!0}));var Q=L9e.createElement(A,$,L9e.createElement(L,T9e({},F,{key:w})));g.push({block:Q,wrapperTemplate:D,key:w,offsetKey:C}),v=D?O.getDepth():null,b=D}for(var z=[],j=0;j<g.length;){var N=g[j];if(N.wrapperTemplate){var M=[];do{M.push(g[j].block),j++}while(j<g.length&&g[j].wrapperTemplate===N.wrapperTemplate);var U=L9e.cloneElement(N.wrapperTemplate,{key:N.key+"-wrap","data-offset-key":N.offsetKey},M);z.push(U)}else z.push(N.block),j++}return L9e.createElement("div",{"data-contents":"true"},z)},i}(L9e.Component),M9e=N9e,U9e=v1e("draft_tree_data_support")?o9e:M9e,B9e={isImage:function(e){return"image"===q9e(e)[0]},isJpeg:function(e){var t=q9e(e);return B9e.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function q9e(e){return e.split("/")}var G9e=B9e,W9e=OJe;var X9e=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"!==uo.env.NODE_ENV?W9e(!1,"toArray: Array-like object expected"):W9e(!1)),"number"!=typeof t&&("production"!==uo.env.NODE_ENV?W9e(!1,"toArray: Object needs a length property"):W9e(!1)),0===t||t-1 in e||("production"!==uo.env.NODE_ENV?W9e(!1,"toArray: Object should have keys for indices"):W9e(!1)),"function"==typeof e.callee&&("production"!==uo.env.NODE_ENV?W9e(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):W9e(!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 V9e(e){return function(){return e}}var Y9e=function(){};Y9e.thatReturns=V9e,Y9e.thatReturnsFalse=V9e(!1),Y9e.thatReturnsTrue=V9e(!0),Y9e.thatReturnsNull=V9e(null),Y9e.thatReturnsThis=function(){return this},Y9e.thatReturnsArgument=function(e){return e};var Z9e=Y9e,H9e=G9e,K9e=X9e,J9e=Z9e,e8e=new RegExp("\r\n","g"),t8e={"text/rtf":1,"text/html":1};function n8e(e){if("file"==e.kind)return e.getAsFile()}var i8e=function(){function e(e){this.data=e,this.types=e.types?K9e(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return t8e[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(e8e,"\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(!H9e.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(n8e).filter(J9e.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),r8e=i8e,a8e=OJe,o8e=/\.textClipping$/,s8e={"text/plain":!0,"text/html":!0,"text/rtf":!0};var l8e=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!x.FileReader||e.type&&!(e.type in s8e))return void t("");if(""===e.type){var n="";return o8e.test(e.name)&&(n=e.name.replace(o8e,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==uo.env.NODE_ENV?a8e(!1,'We should be calling "FileReader.readAsText" which returns a string'):a8e(!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 u8e=function(e){return"handled"===e||!0===e},c8e=r8e,d8e=M0e,p8e=Q2e,h8e=r4e,f8e=K3e,m8e=l8e,g8e=P4e,v8e=a4e,b8e=u8e,y8e=h2e;var O8e={onDragEnd:function(e){e.exitCurrentMode(),w8e(e)},onDrop:function(e,t){var n=new c8e(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=f8e(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var a=r.caretRangeFromPoint(e.x,e.y);n=a.startContainer,i=a.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=y8e(n),i=y8e(i);var o=y8e(h8e(n));return g8e(t,o,i,o,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var a=n.getFiles();if(a.length>0){if(e.props.handleDroppedFiles&&b8e(e.props.handleDroppedFiles(r,a)))return;m8e(a,(function(t){t&&e.update(_8e(i,r,t))}))}else{var o=e._internalDrag?"internal":"external";e.props.handleDrop&&b8e(e.props.handleDrop(r,n,o))||(e._internalDrag?e.update(function(e,t){var n=d8e.moveText(e.getCurrentContent(),e.getSelection(),t);return p8e.push(e,n,"insert-fragment")}(i,r)):e.update(_8e(i,r,n.getText()))),w8e(e)}}}};function w8e(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:v8e(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function _8e(e,t,n){var i=d8e.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return p8e.push(e,i,"insert-fragment")}var k8e=O8e;var x8e=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),a=!1;return i.some((function(e){return r===e.get("start")?(a=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(a=!0,!0)}))})),a};!function(e,t){if(!e.setImmediate){var n,i,r,a=1,o={},s=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){uo.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)},u.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 o[a]=r,n(a),a++},u.clearImmediate=c}function c(e){delete o[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=o[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{c(e),s=!1}}}}}("undefined"==typeof self?x:self);var S8e=x.setImmediate,P8e=M0e,E8e=Q2e,C8e=W4e,F8e=u8e,T8e=x8e,D8e=h2e,A8e=S8e,I8e=H3e.isBrowser("Firefox");function R8e(e,t,n,i,r){var a=P8e.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return E8e.push(e,a,"insert-characters",r)}var L8e=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&&F8e(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),a=r.getStartOffset(),o=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(R8e(n,i,n.getCurrentInlineStyle(),C8e(n.getCurrentContent(),n.getSelection()),!0));var s,l=R8e(n,i,n.getCurrentInlineStyle(),C8e(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=T8e(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(o),d=l.getBlockTree(o);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),o=r+(r>=a?i.length:0),s=t.get("end"),l=s+(s>=a?i.length:0),u=n.get("start"),c=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||o!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=I8e&&("'"==s||"/"==s)),u||(u=D8e(l.getDirectionMap()).get(o)!==D8e(n.getDirectionMap()).get(o)),u)return t.preventDefault(),l=E8e.set(l,{forceSelection:!0}),void e.update(l);l=E8e.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,A8e((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},$8e=Q2e,Q8e=E6e,z8e=C6e;var j8e=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&z8e(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&Q8e(r,i.anchorNode)&&Q8e(r,i.focusNode)&&i.removeAllRanges()}var a=e._latestEditorState,o=a.getSelection();if(o.getHasFocus()){var s=o.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update($8e.acceptSelection(a,s))}},N8e=Q2e;var M8e=function(e,t){e.setMode("composite"),e.update(N8e.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},U8e=UJe;var B8e=function(e){var t=e.getSelection();return t.isCollapsed()?null:U8e(e.getCurrentContent(),t)},q8e=B8e;var G8e=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(q8e(e._latestEditorState))};var W8e=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},X8e=M0e,V8e=Q2e,Y8e=O5e,Z8e=B8e,H8e=C5e,K8e=W8e;var J8e=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),a=t.target;if(r.isCollapsed())t.preventDefault();else{if(K8e(a)){var o=a;n=H8e(Y8e.getScrollParent(o))}var s=Z8e(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=X8e.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return V8e.push(e,t,"remove-range")}(i))}),0)}};var e7e=function(e,t){e.setMode("drag"),t.preventDefault()};var t7e=function(e){e._internalDrag=!0,e.setMode("drag")},n7e=Q2e,i7e=H3e;var r7e=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),i7e.isBrowser("Chrome < 60.0.3081.0")?e.update(n7e.forceSelection(n,r)):e.update(n7e.acceptSelection(n,r))}},a7e=OJe,o7e=/[\uD800-\uDFFF]/;function s7e(e){return 55296<=e&&e<=57343}function l7e(e){return o7e.test(e)}function u7e(e,t){return 1+s7e(e.charCodeAt(t))}function c7e(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!l7e(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+=u7e(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=u7e(e,r-1);r<0&&(r=0)}var a=i;if(n<i)for(a=r;n>0&&a<i;n--)a+=u7e(e,a);return e.substring(r,a)}var d7e={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=u7e(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:u7e,hasSurrogateUnit:l7e,isCodeUnitInSurrogateRange:s7e,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==uo.env.NODE_ENV?a7e(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):a7e(!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(!l7e(e))return e.length;for(var t=0,n=0;n<e.length;n+=u7e(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 c7e(e,t=t<n?t:n,i)},substr:c7e},p7e=d7e,h7e=Z9e;function f7e(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,a="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}var m7e="production"!==uo.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];f7e.apply(void 0,[t].concat(i))}}:h7e,g7e=m7e,v7e=g7e;var b7e=function(e,t){var n=e.getSelection();"production"!==uo.env.NODE_ENV&&v7e(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),a=n.getStartOffset(),o=r,s=0;if(t>a){var l=i.getKeyBefore(r);if(null==l)o=r;else o=l,s=i.getBlockForKey(l).getText().length}else s=a-t;return n.merge({focusKey:o,focusOffset:s,isBackward:!0})},y7e=M0e,O7e=v1e("draft_tree_data_support");var w7e=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),a=i,o=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(o);if(O7e&&"forward"===n&&o!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(O7e)if(i.getAnchorOffset()===r.getBlockForKey(o).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((a=t(e))===i)return r}return y7e.removeRange(r,a,n)},_7e=Q2e,k7e=p7e,x7e=b7e,S7e=w7e;var P7e=function(e){var t=S7e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r-1];return x7e(e,a?k7e.getUTF16Length(a,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return _7e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},E7e=M0e,C7e=v4e,F7e=Q2e,T7e=B4e.notEmptyKey,D7e=r4e,A7e=P7e,I7e=h2e,R7e=H3e.isEngine("Gecko");var L7e=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,a=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!a){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var o=i.parentNode;if(null==o)return;i.nodeValue=o.textContent;for(var s=o.firstChild;null!=s;s=s.nextSibling)s!==i&&o.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=I7e(D7e(i)),d=C7e.decode(c),p=d.blockKey,h=d.decoratorKey,f=d.leafKey,m=u.getBlockTree(p).getIn([h,"leaves",f]),g=m.start,v=m.end,b=u.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,_,k,x,S=u.getSelection(),P=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),E=y.getEntityAt(g),C=T7e(E)?b.getEntity(E):null,F="MUTABLE"===(null!=C?C.getMutability():null),T=F?"spellcheck-change":"apply-entity",D=E7e.replaceText(b,P,l,y.getInlineStyleAt(g),F?y.getEntityAt(g):null);if(R7e)w=n.anchorOffset,_=n.focusOffset,x=(k=g+Math.min(w,_))+Math.abs(w-_),w=k,_=x;else{var A=l.length-O.length;k=S.getStartOffset(),x=S.getEndOffset(),w=r?x+A:k,_=x+A}var I=D.merge({selectionBefore:b.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:w,focusOffset:_})});e.update(F7e.push(u,I,T))}else{var R=t.nativeEvent.inputType;if(R){var L=function(e,t){return"deleteContentBackward"===e?A7e(t):t}(R,u);if(L!==u)return e.restoreEditorDOM(),void e.update(L)}}}},$7e=b4e;var Q7e=function(e){return e.which===$7e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},z7e=Q7e,j7e=H3e.isPlatform("Mac OS X"),N7e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return j7e&&e.altKey},usesMacOSHeuristics:function(){return j7e},hasCommandModifier:function(e){return j7e?!!e.metaKey&&!e.altKey:N7e.isCtrlKeyCommand(e)},isSoftNewlineEvent:z7e},M7e=N7e,U7e=M0e,B7e=Q2e,q7e=UJe,G7e=h2e,W7e=null,X7e={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),a=t.getBlockForKey(r).getLength();if(a===n.getAnchorOffset()){var o=t.getKeyAfter(r);if(null==o)return e;i=n.set("focusKey",o).set("focusOffset",0)}else i=n.set("focusOffset",a)}else i=n;i=G7e(i),W7e=q7e(t,i);var s=U7e.removeRange(t,i,"forward");return s===t?e:B7e.push(e,s,"remove-range")},paste:function(e){if(!W7e)return e;var t=U7e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),W7e);return B7e.push(e,t,"insert-fragment")}},V7e=X7e,Y7e=OJe;var Z7e=H3e.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 a,o=Array.from(t.getClientRects());if(n.push(o),r)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(i)}"production"!==uo.env.NODE_ENV?Y7e(!1,"Found an unexpected detached subtree when getting range client rects."):Y7e(!1)}:function(e){return Array.from(e.getClientRects())},H7e=p7e,K7e=K3e,J7e=Z7e,eet=OJe;function tet(e,t){for(var n=1/0,i=1/0,r=-1/0,a=-1/0,o=0;o<e.length;o++){var s=e[o];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),a=Math.max(a,s.bottom))}return r<=i&&r-n<t&&a-i<t}function net(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 iet=function(e){e.collapsed||("production"!==uo.env.NODE_ENV?eet(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):eet(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=K7e(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"!==uo.env.NODE_ENV?eet(!1,"Missing document.body"):eet(!1)),r.appendChild(i);var a=i.getBoundingClientRect();return r.removeChild(i),a.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);tet(J7e(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==uo.env.NODE_ENV?eet(!1,"Found unexpected detached subtree when traversing."):eet(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var a=i,o=r-1;;){for(var s=a.nodeValue,l=o;l>=0;l--)if(!(null!=s&&l>0&&H7e.isSurrogatePair(s,l-1))){if(e.setStart(a,l),!tet(J7e(e),n))break;i=a,r=l}if(-1===l||0===a.childNodes.length)break;o=net(a=a.childNodes[l])}return e.setStart(i,r),e},ret=Q2e,aet=iet,oet=L4e,set=b7e,uet=w7e;var cet=function(e,t){var n=uet(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return set(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=aet(i),oet(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:ret.push(e,n,"remove-range")},det="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),pet=new RegExp("^(?:"+det+")*(?:"+"['‘’]|(?!"+det+").)*(?:(?!"+det+").)"),het=new RegExp("(?:(?!"+det+").)(?:"+"['‘’]|(?!"+det+").)*(?:"+det+")*$");function fet(e,t){var n=t?het.exec(e):pet.exec(e);return n?n[0]:e}var met={getBackward:function(e){return fet(e,!0)},getForward:function(e){return fet(e,!1)}},get=met,vet=Q2e,bet=b7e,yet=w7e;var Oet=function(e){var t=yet(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return bet(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),a=get.getBackward(r);return bet(e,a.length||1)}),"backward");return t===e.getCurrentContent()?e:vet.push(e,t,"remove-range")},wet=g7e;var _et=function(e,t){var n=e.getSelection();"production"!==uo.env.NODE_ENV&&wet(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),a=n.getStartOffset(),o=e.getCurrentContent(),s=r;return t>o.getBlockForKey(r).getText().length-a?(s=o.getKeyAfter(r),i=0):i=a+t,n.merge({focusKey:s,focusOffset:i})},ket=met,xet=Q2e,Pet=_et,Eet=w7e;var Cet=function(e){var t=Eet(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),a=ket.getForward(r);return Pet(e,a.length||1)}),"forward");return t===e.getCurrentContent()?e:xet.push(e,t,"remove-range")},Fet=M0e,Tet=Q2e;var Det=Q2e;var Aet=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return Det.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},Iet=Q2e;var Ret=function(e){var t=e.getSelection(),n=t.getStartKey();return Iet.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},Let=Q2e,$et=p7e,Qet=_et,zet=w7e;var jet=function(e){var t=zet(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r];return Qet(e,a?$et.getUTF16Length(a,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Let.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},Net=M0e,Met=Q2e,Uet=UJe;var Bet=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,a=t.getAnchorKey(),o=e.getCurrentContent(),s=o.getBlockForKey(a).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=Uet(o,i),u=Net.removeRange(o,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,p=c.merge({anchorOffset:d,focusOffset:d}),h=Net.replaceWithFragment(u,p,l),f=Met.push(e,h,"insert-fragment");return Met.acceptSelection(f,r)},qet=Q2e;var Get=function(e,t,n){var i=qet.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(qet.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(qet.set(i,{nativelyRenderedContent:r}))}},Wet=M0e,Xet=Q2e,Vet=b4e,Yet=V7e,Zet=H3e,Het=u8e,Ket=cet,Jet=Oet,ett=Cet,ttt=function(e){var t=Fet.splitBlock(e.getCurrentContent(),e.getSelection());return Tet.push(e,t,"split-block")},ntt=Aet,itt=Ret,rtt=P7e,att=jet,ott=Bet,stt=Get,ltt=M7e.isOptionKeyCommand,utt=Zet.isBrowser("Chrome");var ctt=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 Vet.RETURN:if(t.preventDefault(),e.props.handleReturn&&Het(e.props.handleReturn(t,i)))return;break;case Vet.ESC:if(t.preventDefault(),r("onEscape"))return;break;case Vet.TAB:if(r("onTab"))return;break;case Vet.UP:if(r("onUpArrow"))return;break;case Vet.RIGHT:if(r("onRightArrow"))return;break;case Vet.DOWN:if(r("onDownArrow"))return;break;case Vet.LEFT:if(r("onLeftArrow"))return;break;case Vet.SPACE:utt&&ltt(t)&&t.preventDefault()}var a=e.props.keyBindingFn(t);if(null!=a&&""!==a)if("undo"!==a){if(t.preventDefault(),!e.props.handleKeyCommand||!Het(e.props.handleKeyCommand(a,i,t.timeStamp))){var o=function(e,t,n){switch(e){case"redo":return Xet.redo(t);case"delete":return att(t);case"delete-word":return ett(t);case"backspace":return rtt(t);case"backspace-word":return Jet(t);case"backspace-to-start-of-line":return Ket(t,n);case"split-block":return ttt(t);case"transpose-characters":return ott(t);case"move-selection-to-start-of-block":return itt(t);case"move-selection-to-end-of-block":return ntt(t);case"secondary-cut":return Yet.cut(t);case"secondary-paste":return Yet.paste(t);default:return t}}(a,i,t);o!==i&&e.update(o)}}else stt(t,i,e.update);else if(n===Vet.SPACE&&utt&&ltt(t)){var s=Wet.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(Xet.push(i,s,"insert-characters"))}};var dtt=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}(),ptt=dtt,htt=OJe,ftt=H3e.isBrowser("IE <= 9");var mtt=function(e){var t,n=null;return!ftt&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==uo.env.NODE_ENV?htt(!1,"Missing doc.documentElement"):htt(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},gtt=J3e;var vtt=function(e){return!(!e||!e.ownerDocument)&&(gtt(e)&&"A"===e.nodeName)},btt=J3e;var ytt,Ott=function(e){return!(!e||!e.ownerDocument)&&(btt(e)&&"IMG"===e.nodeName)};function wtt(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){_tt(e,t,n[t])}))}return e}function _tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ktt=AKe,xtt=XKe,Stt=lJe,Ptt=g3e,Ett=f1e,Ctt=ptt,Ftt=h3e,Ttt=TJe,Dtt=mtt,Att=v1e,Itt=yKe.exports,Rtt=Itt.List,Ltt=Itt.Map,$tt=Itt.OrderedSet,Qtt=vtt,ztt=x6e,jtt=O4e,Ntt=Ott,Mtt=Att("draft_tree_data_support"),Utt=new RegExp("\r","g"),Btt=new RegExp("\n","g"),qtt=new RegExp("^\n","g"),Gtt=new RegExp("&nbsp;","g"),Wtt=new RegExp("&#13;?","g"),Xtt=new RegExp("&#8203;?","g"),Vtt=["bold","bolder","500","600","700","800","900"],Ytt=["light","lighter","normal","100","200","300","400"],Ztt=["className","href","rel","target","title"],Htt=["alt","className","height","src","width"],Ktt=(_tt(ytt={},Ftt("public/DraftStyleDefault/depth0"),0),_tt(ytt,Ftt("public/DraftStyleDefault/depth1"),1),_tt(ytt,Ftt("public/DraftStyleDefault/depth2"),2),_tt(ytt,Ftt("public/DraftStyleDefault/depth3"),3),_tt(ytt,Ftt("public/DraftStyleDefault/depth4"),4),ytt),Jtt=Ltt({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),ent=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)}))})),Ltt(t)},tnt=function(e){if(jtt(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},nnt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(Ktt).some((function(n){e.classList.contains(n)&&(t=Ktt[n])})),t},int=function(e){if(!Qtt(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},rnt=function(e){if(!Ntt(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},ant=function(e,t){if(!jtt(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,a=n.style.textDecoration;return t.withMutations((function(e){Vtt.indexOf(i)>=0?e.add("BOLD"):Ytt.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===a&&e.add("UNDERLINE"),"line-through"===a&&e.add("STRIKETHROUGH"),"none"===a&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},ont=function(e){return"ul"===e||"ol"===e},snt=function(){function e(e,t){_tt(this,"characterList",Rtt()),_tt(this,"currentBlockType","unstyled"),_tt(this,"currentDepth",0),_tt(this,"currentEntity",null),_tt(this,"currentText",""),_tt(this,"wrapper",null),_tt(this,"blockConfigs",[]),_tt(this,"contentBlocks",[]),_tt(this,"entityMap",Ett),_tt(this,"blockTypeMap",void 0),_tt(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=Rtt(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=Ett,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],$tt())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(Mtt?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||Ttt(),n=wtt({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:Rtt(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=Rtt(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],a=r.nodeName.toLowerCase();if("body"===a||ont(a)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var o=this.currentDepth,s=this.wrapper;ont(a)&&(this.wrapper=a,ont(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=o,this.wrapper=s}else{var l=this.blockTypeMap.get(a);if(void 0===l)if("#text"!==a)if("br"!==a)if(rnt(r))this._addImgNode(r,t);else if(int(r))this._addAnchorNode(r,n,t);else{var u=t;Jtt.has(a)&&(u=u.add(Jtt.get(a))),u=ant(r,u);var c=tnt(r);null!=c&&(u=u.add(c)),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),u))}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"===a?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(a,this.wrapper)||l[0]||"unstyled"),!Mtt&&jtt(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var h=r;this.currentDepth=nnt(h,this.currentDepth)}var f=Ttt(),m=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:f,childConfigs:m,type:l})),this.currentDepth=d,this.wrapper=p}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=ktt.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=Rtt()):(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(qtt,"")).replace(Btt," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){ztt(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(Ntt(e)){var n=e,i={};Htt.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),Att("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(Qtt(e)){var i=e,r={};Ztt.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new Ctt(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=Rtt(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new Stt(wtt({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return Rtt(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 xtt(wtt({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=Rtt(),r=0;r<=t;r++){var a=e[r];n+=a.text,i=i.concat(a.characterList),""!==n&&"unstyled"!==a.type&&(n+="\n",i=i.push(i.last()));var o=this._extractTextFromBlockConfigs(a.childConfigs);n+=o.text,i=i.concat(o.characterList)}return{text:n,characterList:i}},e}(),lnt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dtt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ptt,i=t(e=e.trim().replace(Utt,"").replace(Gtt," ").replace(Wtt,"").replace(Xtt,""));if(!i)return null;var r=ent(n),a=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new snt(r,a).addDOMNode(i).getContentBlocks()};function unt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cnt=XKe,dnt=lJe,pnt=lnt,hnt=TJe,fnt=mtt,mnt=v1e,gnt=yKe.exports,vnt=y1e,bnt=gnt.List,ynt=gnt.Repeat,Ont=mnt("draft_tree_data_support"),wnt=Ont?dnt:cnt,_nt={processHTML:function(e,t){return pnt(e,fnt,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=vnt(i);var a=hnt(),o={key:a,type:n,text:i,characterList:bnt(ynt(t,i.length))};if(Ont&&0!==r){var s=r-1;o=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){unt(e,t,n[t])}))}return e}({},o,{prevSibling:(e[s]=e[s].merge({nextSibling:a})).getKey()})}return e.push(new wnt(o)),e}),[])}};var knt=function(e,t,n,i){var r=t.getStartKey(),a=t.getEndKey(),o=e.getBlockMap(),s=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).concat([[a,o.get(a)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return o=o.merge(s),e.merge({blockMap:o,selectionBefore:t,selectionAfter:t})},xnt=M0e,Snt=Q2e,Pnt=knt,Ent=h2e,Cnt={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 Cnt.toggleInlineStyle(e,"BOLD");case"italic":return Cnt.toggleInlineStyle(e,"ITALIC");case"underline":return Cnt.toggleInlineStyle(e,"UNDERLINE");case"code":return Cnt.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return Cnt.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return Cnt.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=xnt.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=Snt.push(e,t,"insert-characters");return Snt.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 a=n.getBlockMap().delete(r.getKey()),o=n.merge({blockMap:a,selectionAfter:t});if(o!==n)return Snt.push(e,o,"remove-range")}var s=Cnt.tryToRemoveBlockStyle(e);return s?Snt.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 a=n.getBlockAfter(i);if(!a||"atomic"!==a.getType())return null;var o=t.merge({focusKey:a.getKey(),focusOffset:a.getLength()}),s=xnt.removeRange(n,o,"forward");return s!==n?Snt.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 a=t.getCurrentContent(),o=a.getBlockForKey(r),s=o.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=o.getDepth();if(!e.shiftKey&&l===n)return t;var u=Pnt(a,i,e.shiftKey?-1:1,n);return Snt.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),a=e.getCurrentContent(),o=n;if(i!==r&&0===n.getEndOffset()){var s=Ent(a.getBlockBefore(r));r=s.getKey(),o=o.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}var l=a.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 u=a.getBlockForKey(i).getType()===t?"unstyled":t;return Snt.push(e,xnt.setBlockType(a,o,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?Cnt.toggleBlockType(e,"code-block"):Cnt.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return Snt.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,a=e.getCurrentContent();return r=i.has(t)?xnt.removeInlineStyle(a,n,t):xnt.applyInlineStyle(a,n,t),Snt.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=xnt.applyEntity(e.getCurrentContent(),t,n);return Snt.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(),a=r.getBlockForKey(i).getType(),o=r.getBlockBefore(i);if("code-block"===a&&o&&"code-block"===o.getType()&&0!==o.getLength())return null;if("unstyled"!==a)return xnt.setBlockType(r,t,"unstyled")}return null}},Fnt=Cnt,Tnt=/\r\n?|\n/g;var Dnt=_Ke,Ant=AKe,Int=r8e,Rnt=M0e,Lnt=_nt,$nt=Q2e,Qnt=Fnt,znt=W4e,jnt=l8e,Nnt=u8e,Mnt=function(e){return e.split(Tnt)};function Unt(e,t,n){var i=Rnt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return $nt.push(e,i.set("entityMap",n),"insert-fragment")}var Bnt=function(e,t){t.preventDefault();var n=new Int(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&Nnt(e.props.handlePastedFiles(i)))return;return void jnt(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=Mnt(t),a=Ant.create({style:n.getCurrentInlineStyle(),entity:znt(n.getCurrentContent(),n.getSelection())}),o=Qnt.getCurrentBlockType(n),s=Lnt.processText(i,a,o),l=Dnt.createFromArray(s),u=Rnt.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update($nt.push(n,u,"insert-fragment"))}}))}}var a=[],o=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!Nnt(e.props.handlePastedText(o,s,l))){if(o&&(a=Mnt(o)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===a.length&&1===u.size&&u.first().getText()===o)return void e.update(Unt(e._latestEditorState,u))}else if(u&&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]}))}(a,u))return void e.update(Unt(e._latestEditorState,u));if(s){var c=Lnt.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,p=c.entityMap;if(d){var h=Dnt.createFromArray(d);return void e.update(Unt(e._latestEditorState,h,p))}}}e.setClipboard(null)}if(a.length){var f=Ant.create({style:l.getCurrentInlineStyle(),entity:znt(l.getCurrentContent(),l.getSelection())}),m=Qnt.getCurrentBlockType(l),g=Lnt.processText(a,f,m),v=Dnt.createFromArray(g);e.update(Unt(e._latestEditorState,v))}}},qnt=H3e,Gnt=L8e,Wnt=j8e,Xnt=M8e,Vnt=G8e,Ynt=J8e,Znt=e7e,Hnt=t7e,Knt=r7e,Jnt=L7e,eit=ctt,tit=Bnt,nit=U4e,iit=qnt.isBrowser("Chrome"),rit=qnt.isBrowser("Firefox"),ait=iit||rit?nit:function(e){},oit={onBeforeInput:Gnt,onBlur:Wnt,onCompositionStart:Xnt,onCopy:Vnt,onCut:Ynt,onDragOver:Znt,onDragStart:Hnt,onFocus:Knt,onInput:Jnt,onKeyDown:eit,onPaste:tit,onSelect:nit,onMouseUp:ait,onKeyUp:ait},sit=y.default.unstable_flushControlled;var lit=v.default,uit=h3e,cit=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=uit({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return lit.createElement("div",{className:t},lit.createElement("div",{className:uit("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(lit.Component),dit=cit,pit=M7e,hit=b4e,fit=H3e,mit=fit.isPlatform("Mac OS X"),git=mit&&fit.isBrowser("Firefox < 29"),vit=pit.hasCommandModifier,bit=pit.isCtrlKeyCommand;function yit(e){return mit&&e.altKey||bit(e)}var Oit=function(e){switch(e.keyCode){case 66:return vit(e)?"bold":null;case 68:return bit(e)?"delete":null;case 72:return bit(e)?"backspace":null;case 73:return vit(e)?"italic":null;case 74:return vit(e)?"code":null;case 75:return mit&&bit(e)?"secondary-cut":null;case 77:case 79:return bit(e)?"split-block":null;case 84:return mit&&bit(e)?"transpose-characters":null;case 85:return vit(e)?"underline":null;case 87:return mit&&bit(e)?"backspace-word":null;case 89:return bit(e)?mit?"secondary-paste":"redo":null;case 90:return function(e){return vit(e)?e.shiftKey?"redo":"undo":null}(e)||null;case hit.RETURN:return"split-block";case hit.DELETE:return function(e){return!mit&&e.shiftKey?null:yit(e)?"delete-word":"delete"}(e);case hit.BACKSPACE:return function(e){return vit(e)&&mit?"backspace-to-start-of-line":yit(e)?"backspace-word":"backspace"}(e);case hit.LEFT:return git&&vit(e)?"move-selection-to-start-of-block":null;case hit.RIGHT:return git&&vit(e)?"move-selection-to-end-of-block":null;default:return null}},wit=GZ;function _it(){return _it=wit||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},_it.apply(this,arguments)}function kit(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){Sit(e,t,n[t])}))}return e}function xit(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sit(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pit(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Eit=g3e,Cit=v3e,Fit=o6e,Tit=U9e,Dit=k8e,Ait=oit,Iit=sit,Rit=dit,Lit=Q2e,$it=v.default,Qit=u5e,zit=O5e,jit=h3e,Nit=TJe,Mit=Oit,Uit=C5e,Bit=v1e,qit=OJe,Git=O4e,Wit=h2e,Xit=H3e.isBrowser("IE"),Vit=!Xit,Yit={edit:Ait,composite:Fit,drag:Dit,cut:null,render:null},Zit=!1,Hit=function(e){function t(){return e.apply(this,arguments)||this}Pit(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}($it.Component),Kit=function(e){function t(t){var n;return Sit(xit(n=e.call(this,t)||this),"_blockSelectEvents",void 0),Sit(xit(n),"_clipboard",void 0),Sit(xit(n),"_handler",void 0),Sit(xit(n),"_dragCount",void 0),Sit(xit(n),"_internalDrag",void 0),Sit(xit(n),"_editorKey",void 0),Sit(xit(n),"_placeholderAccessibilityID",void 0),Sit(xit(n),"_latestEditorState",void 0),Sit(xit(n),"_latestCommittedEditorState",void 0),Sit(xit(n),"_pendingStateFromBeforeInput",void 0),Sit(xit(n),"_onBeforeInput",void 0),Sit(xit(n),"_onBlur",void 0),Sit(xit(n),"_onCharacterData",void 0),Sit(xit(n),"_onCompositionEnd",void 0),Sit(xit(n),"_onCompositionStart",void 0),Sit(xit(n),"_onCopy",void 0),Sit(xit(n),"_onCut",void 0),Sit(xit(n),"_onDragEnd",void 0),Sit(xit(n),"_onDragOver",void 0),Sit(xit(n),"_onDragStart",void 0),Sit(xit(n),"_onDrop",void 0),Sit(xit(n),"_onInput",void 0),Sit(xit(n),"_onFocus",void 0),Sit(xit(n),"_onKeyDown",void 0),Sit(xit(n),"_onKeyPress",void 0),Sit(xit(n),"_onKeyUp",void 0),Sit(xit(n),"_onMouseDown",void 0),Sit(xit(n),"_onMouseUp",void 0),Sit(xit(n),"_onPaste",void 0),Sit(xit(n),"_onSelect",void 0),Sit(xit(n),"editor",void 0),Sit(xit(n),"editorContainer",void 0),Sit(xit(n),"focus",void 0),Sit(xit(n),"blur",void 0),Sit(xit(n),"setMode",void 0),Sit(xit(n),"exitCurrentMode",void 0),Sit(xit(n),"restoreEditorDOM",void 0),Sit(xit(n),"setClipboard",void 0),Sit(xit(n),"getClipboard",void 0),Sit(xit(n),"getEditorKey",void 0),Sit(xit(n),"update",void 0),Sit(xit(n),"onDragEnter",void 0),Sit(xit(n),"onDragLeave",void 0),Sit(xit(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),Sit(xit(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var a=zit.getScrollParent(r),o=e||Uit(a),s=o.x,l=o.y;Git(r)||("production"!==uo.env.NODE_ENV?qit(!1,"editorNode is not an HTMLElement"):qit(!1)),r.focus(),a===window?window.scrollTo(s,l):Qit.setTop(a,l),i||n.update(Lit.forceSelection(t,t.getSelection()))}})),Sit(xit(n),"blur",(function(){var e=n.editor;e&&(Git(e)||("production"!==uo.env.NODE_ENV?qit(!1,"editorNode is not an HTMLElement"):qit(!1)),e.blur())})),Sit(xit(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,a=t.onCopy,o=kit({},Yit.edit);i&&(o.onPaste=i),r&&(o.onCut=r),a&&(o.onCopy=a);var s=kit({},Yit,{edit:o});n._handler=s[e]})),Sit(xit(n),"exitCurrentMode",(function(){n.setMode("edit")})),Sit(xit(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),Sit(xit(n),"setClipboard",(function(e){n._clipboard=e})),Sit(xit(n),"getClipboard",(function(){return n._clipboard})),Sit(xit(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),Sit(xit(n),"onDragEnter",(function(){n._dragCount++})),Sit(xit(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||Nit(),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"!==uo.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}Pit(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&&(Iit?Iit((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:Wit(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return $it.createElement(Rit,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,a=e.customStyleMap,o=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=jit({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),p=this.props.role||"textbox",h="combobox"===p?!!this.props.ariaExpanded:null,f={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:kit({},Cit,a),customStyleFn:r,editorKey:this._editorKey,editorState:o,preventScroll:s,textDirectionality:c};return $it.createElement("div",{className:d},this._renderPlaceholder(),$it.createElement("div",{className:jit("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},$it.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:h,"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:jit({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:Vit&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},$it.createElement(Hit,{editor:this,editorState:o}),$it.createElement(Tit,_it({},f,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!Zit&&Bit("draft_ods_enabled")&&(Zit=!0),this.setMode("edit"),Xit&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):x.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}($it.Component);Sit(Kit,"defaultProps",{blockRenderMap:Eit,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:Mit,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var Jit=Kit,ert=P(Object.freeze({__proto__:null})),trt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},nrt=trt,irt=p7e.strlen;var rrt=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var a=e.getText(),o=e.getEntityAt(i);n.push({offset:irt(a.slice(0,i)),length:irt(a.slice(i,r)),key:Number(t[nrt.stringify(o)])})})),n},art=p7e,ort=IKe,srt=function(e,t){return e===t},lrt=function(e){return!!e},urt=[];var crt=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 ort(r,srt,lrt,(function(t,r){var a=e.getText();i.push({offset:art.strlen(a.slice(0,t)),length:art.strlen(a.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(urt,n.toJS())};function drt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var prt=XKe,hrt=lJe,frt=trt,mrt=rrt,grt=crt,vrt=OJe,brt=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:grt(e),entityRanges:mrt(e,t),data:e.getData().toObject()}},yrt=function(e,t,n,i){if(e instanceof prt)n.push(brt(e,t));else{e instanceof hrt||("production"!==uo.env.NODE_ENV?vrt(!1,"block is not a BlockNode"):vrt(!1));var r=e.getParentKey(),a=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){drt(e,t,n[t])}))}return e}({},brt(e,t),{children:[]});r?i[r].children.push(a):n.push(a)}},Ort=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},a={},o=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=frt.stringify(i);a[r]||(a[r]=i,n[r]="".concat(o),o++)})),yrt(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(frt.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function wrt(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){_rt(e,t,n[t])}))}return e}function _rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var krt=TJe,xrt=OJe,Srt=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},Prt={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==uo.env.NODE_ENV?xrt(!1,"Invalid raw state"):xrt(!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"!==uo.env.NODE_ENV?xrt(!1,"Invalid tree raw block"):xrt(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=wrt({},e);Srt(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?wrt({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,wrt({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=Srt(e),r=e.depth||0,a=wrt({},e,{children:[]});if(i){var o=n[0];if(null==o&&0===r)t.push(a);else if(null==o||o.depth<r-1){var s={key:krt(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=o&&o.children.push(s),s.children.push(a)}else if(o.depth===r-1)o.children.push(a);else{for(;null!=o&&o.depth>=r;)n.shift(),o=n[0];r>0?o.children.push(a):t.push(a)}}else t.push(a)})),wrt({},e,{blocks:t})}},Ert=Prt,Crt=g7e,Frt={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==uo.env.NODE_ENV&&Crt(!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"!==uo.env.NODE_ENV&&Crt(!0,"Tree is missing child -> parent pointer on %s",n),!1;var a=e.getPrevSiblingKey();if(null!=a&&t.get(a).getNextSiblingKey()!==n)return"production"!==uo.env.NODE_ENV&&Crt(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==uo.env.NODE_ENV&&Crt(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==a&&a===o?("production"!==uo.env.NODE_ENV&&Crt(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==uo.env.NODE_ENV&&Crt(!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"!==uo.env.NODE_ENV&&Crt(!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 a=e.get(i),o=a.getChildKeys(),s=a.getNextSiblingKey();if(o.size>0){null!=s&&r.unshift(s);var l=o.map((function(t){return e.get(t)})),u=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==uo.env.NODE_ENV&&Crt(!0,"%s has no first child",i),!1;i=u.getKey()}else i=null!=a.getNextSiblingKey()?a.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==uo.env.NODE_ENV&&Crt(!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)}},Trt=Frt,Drt=AKe,Art=yKe.exports.List;var Irt=function(e,t){var n=e.map((function(e,n){var i=t[n];return Drt.create({style:e,entity:i})}));return Art(n)},Rrt=p7e.substr;var Lrt=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=Rrt(e,0,t.offset).length,r=i+Rrt(e,t.offset,t.length).length,a=i;a<r;a++)n[a]=t.key})),n},$rt=p7e,Qrt=yKe.exports.OrderedSet,zrt=$rt.substr,jrt=Qrt();var Nrt=function(e,t){var n=Array(e.length).fill(jrt);return t&&t.forEach((function(t){for(var i=zrt(e,0,t.offset).length,r=i+zrt(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function Mrt(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){Urt(e,t,n[t])}))}return e}function Urt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Brt=XKe,qrt=lJe,Grt=M1e,Wrt=f1e,Xrt=Ert,Vrt=Trt,Yrt=g1e,Zrt=Irt,Hrt=Lrt,Krt=Nrt,Jrt=TJe,eat=yKe.exports,tat=OJe,nat=v1e("draft_tree_data_support"),iat=eat.List,rat=eat.Map,aat=eat.OrderedMap,oat=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||Jrt(),data:rat(r),characterList:sat(e,t)}},sat=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,a=i||[];return Zrt(Krt(n,r||[]),Hrt(n,a.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return Mrt({},e,{key:t[e.key]})}))))},lat=function(e){return Mrt({},e,{key:e.key||Jrt()})},uat=function(e,t,n){var i=t.map((function(e){return Mrt({},e,{parentRef:n})}));return e.concat(i.reverse())},cat=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=nat&&!n?Xrt.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!nat)return function(e,t){return aat(e.map((function(e){var n=new Brt(oat(e,t));return[n.getKey(),n]})))}(n?Xrt.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(lat).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==uo.env.NODE_ENV?tat(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):tat(!1));var a=i.children.map(lat),o=new qrt(Mrt({},oat(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:iat(a.map((function(e){return e.key})))}));n=n.set(o.getKey(),o);for(var s=uat([],a,o);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),p=Array.isArray(l.children);if(!p){p||("production"!==uo.env.NODE_ENV?tat(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):tat(!1));break}var h=l.children.map(lat),f=new qrt(Mrt({},oat(l,t),{parent:u.getKey(),children:iat(h.map((function(e){return e.key}))),prevSibling:0===d?null:c.get(d-1),nextSibling:d===c.size-1?null:c.get(d+1)}));n=n.set(f.getKey(),f),s=uat(s,h,f)}return n}),aat())}(i,t);return"production"!==uo.env.NODE_ENV&&(Vrt.isValidTree(r)||("production"!==uo.env.NODE_ENV?tat(!1,"Should be a valid tree"):tat(!1))),r},dat=function(e){Array.isArray(e.blocks)||("production"!==uo.env.NODE_ENV?tat(!1,"invalid RawDraftContentState"):tat(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,a=i.mutability,o=i.data;n[e]=Wrt.__create(r,a,o||{})})),n}(e),n=cat(e,t),i=n.isEmpty()?new Yrt:Yrt.createEmpty(n.first().getKey());return new Grt({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},pat=Z7e;var hat=function(e){var t=pat(e),n=0,i=0,r=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var o=t[1];n=o.top,i=o.right,r=o.bottom,a=o.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,a=s.left}for(var l=1;l<t.length;l++){var u=t[l];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),i=Math.max(i,u.right),r=Math.max(r,u.bottom),a=Math.min(a,u.left))}}return{top:n,right:i,bottom:r,left:a,width:i-a,height:r-n}},fat=hat;var mat=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=fat(n),r=i.top,a=i.right,o=i.bottom,s=i.left;return 0===r&&0===a&&0===o&&0===s?null:i},gat={Editor:Jit,EditorBlock:E9e,EditorState:Q2e,CompositeDecorator:d3e,Entity:f1e,EntityInstance:r1e,BlockMapBuilder:_Ke,CharacterMetadata:AKe,ContentBlock:XKe,ContentState:M1e,RawDraftContentState:ert,SelectionState:g1e,AtomicBlockUtils:l3e,KeyBindingUtil:M7e,Modifier:M0e,RichUtils:Fnt,DefaultDraftBlockRenderMap:g3e,DefaultDraftInlineStyle:v3e,convertFromHTML:lnt,convertFromRaw:dat,convertToRaw:Ort,genKey:TJe,getDefaultKeyBinding:Oit,getVisibleSelectionRect:mat};function vat(e,t,n,i,r,a){var o=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+o}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+o}):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&&a>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+a,length:e.offset+e.length-(t+n)})]:e}var bat=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},yat={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"},Oat=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function wat(e){if(-1!==Oat.indexOf(e.type))return _.default.renderToStaticMarkup(e);var t=_.default.renderToStaticMarkup(v.default.cloneElement(e,{},"\r")).split("\r");return YPe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),YPe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function _at(e){return v.default.isValidElement(e)&&v.default.Children.count(e.props.children)>0}function kat(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(v.default.isValidElement(e)){if(_at(e))return _.default.renderToStaticMarkup(e);var n=wat(e);if(null!==t&&"object"===Fo(n)){var i=n.start,r=n.end;return i+t+r}return n}if(YPe(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 a=e.start,o=e.end;return a+t+o}return e}var xat=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(v.default.isValidElement(t)){var i=wat(t);if("string"==typeof i)return 0;var r=i[n].length,a=v.default.Children.toArray(t.props.children)[0];return r+(a&&v.default.isValidElement(a)?e(a,n):0)}return"object"===Fo(t)&&t[n]?t[n].length:0},Sat=function(){var e=arguments.length>1?arguments[1]:void 0;return e},Pat=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Sat,i=gZe(e.text),r=n;if(n.__isMiddleware&&(r=n(Sat)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var a=e.entityRanges.sort(bat),o=e.inlineStyleRanges,s=function(e){var n=a[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),u=r(s,l),c=gZe(kat(u,l)||l),d=xat(u,"start"),p=xat(u,"end"),h=function(t){return t.reduce((function(t,i,r){var a=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?vat(t,n.offset,n.length,c.length,d,p):t}(i,r);return Array.isArray(a)?t.concat(a):t.concat([a])}),[])};a=h(a),o=h(o),i=[].concat(gZe(i.slice(0,n.offset)),gZe(c),gZe(i.slice(n.offset+n.length)))},l=0;l<a.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:o,entityRanges:a})}return e},Eat=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},Cat=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function Fat(e){switch(e){case"BOLD":return v.default.createElement("strong",null);case"ITALIC":return v.default.createElement("em",null);case"UNDERLINE":return v.default.createElement("u",null);case"CODE":return v.default.createElement("code",null);default:return{start:"",end:""}}}var Tat=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},Dat=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return YPe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},Aat=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},Iat=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},Rat=function(e,t){return t.offset+t.length-(e.offset+e.length)},Lat=function(e,t){for(var n=0;n<e.length;){if(!t.every(Iat.bind(null,e[n])))return e.slice(n);n++}return[]},$at=function(e,t,n){return t+kat(e(n.style)).start},Qat=function(e,t,n){return kat(e(n.style)).end+t},zat=function(e){return function(t){return e(t)}};zat.__isMiddleware=!0;var jat=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function Nat(e){return YPe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:v.default.isValidElement(e)?function(e){return v.default.isValidElement(e)&&v.default.Children.count(e.props.children)>0}(e)?_.default.renderToStaticMarkup(e):wat(e):Object.prototype.hasOwnProperty.call(e,"element")&&v.default.isValidElement(e.element)?Object.assign({},e,wat(e.element)):(YPe(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 Mat(e,t){if(YPe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=wat(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(v.default.isValidElement(e.nest)){var a=wat(e.nest),o=a.start,s=a.end;return Object.assign({},e,{nestStart:o,nestEnd:s})}return YPe(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 Uat=["1","a","i"],Bat={unstyled:v.default.createElement("p",null),paragraph:v.default.createElement("p",null),"header-one":v.default.createElement("h1",null),"header-two":v.default.createElement("h2",null),"header-three":v.default.createElement("h3",null),"header-four":v.default.createElement("h4",null),"header-five":v.default.createElement("h5",null),"header-six":v.default.createElement("h6",null),blockquote:v.default.createElement("blockquote",null),"unordered-list-item":{element:v.default.createElement("li",null),nest:v.default.createElement("ul",null)},"ordered-list-item":{element:v.default.createElement("li",null),nest:function(e){var t=Uat[e%3];return v.default.createElement("ol",{type:t})}},media:v.default.createElement("figure",null),atomic:v.default.createElement("figure",null)},qat=function(e,t){return t},Gat=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,a=e.entityToHTML,o=void 0===a?qat:a;return function(e){var t;YPe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(jat(Bat)):Cat(jat(r),jat(Bat));var i=gat.convertToRaw(e),a=[],s=i.blocks.map((function(e){var r=e.type,s=e.depth,l="",u="",c=t(e);if(!c)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(c.nest)for(;s+1!==a.length||r!==a[s].type;)if(s+1===a.length){var d=a[s];l+=Mat(t(d),s).nestEnd,u+=Mat(t(e),s).nestStart,a[s]=e}else if(s+1<a.length){var p=a[a.length-1];l+=Mat(t(p),s).nestEnd,a=a.slice(0,-1)}else u+=Mat(t(e),s).nestStart,a.push(e);else l=a.reduceRight((function(e,n){return e+Mat(t(n),s).nestEnd}),""),a=[];var h,f=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zat;YPe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(Fat):Cat(Eat(n),Eat(Fat));for(var i="",r=[],a=e.inlineStyleRanges.sort(bat),o=gZe(e.text),s=0;s<o.length;s++){var l=Aat(s,a),u=Tat(r,l),c=Tat(l,r),d=Tat(r,u),p=Lat(d,c),h=p.concat(c).sort(Rat),f=h.reduce($at.bind(null,t),"");i+=u.concat(p).reduce(Qat.bind(null,t),"")+f+o[s],r=(r=Dat(r,p.concat(u))).concat(h),YPe(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+kat(t(n.style)).end}),i)}(Pat(function(e){for(var t=gZe(e.text),n=e.entityRanges.sort(bat),i=e.inlineStyleRanges.sort(bat),r="",a=function(e){var a=t[e];if(void 0!==yat[a]){var o=yat[a],s=gZe(r).length;r+=o;var l=function(e){return vat(e,s,a.length,o.length,0,0)};n=n.map(l),i=i.map(l)}else r+=a},o=0;o<t.length;o++)a(o);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,o),n),m=Nat(t(e));return h="string"==typeof m?m:m.start+f+m.end,0===f.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(h=v.default.isValidElement(m.empty)?_.default.renderToStaticMarkup(m.empty):m.empty),l+u+h})).join("");return s=a.reduce((function(e,n){return e+Mat(t(n),n.depth).nestEnd}),s)}},Wat={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 o(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function a(e){return o(e)&&!u(e)?e:Z(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[h])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",f="@@__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 k(e){e&&(e.value=!0)}function x(){}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 P(e){return void 0===e.size&&(e.size=e.__iterate(C)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function C(){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,R=1,L=2,$="function"==typeof Symbol&&Symbol.iterator,Q="@@iterator",z=$||Q;function j(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 M(){return{value:void 0,done:!0}}function U(e){return!!G(e)}function B(e){return e&&"function"==typeof e.next}function q(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&($&&e[$]||e[Q]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function V(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=R,j.ENTRIES=L,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[z]=function(){return this},t(X,n),X.of=function(){return X(arguments)},X.prototype.toSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq {","}")},X.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},X.prototype.__iterate=function(e,t){return de(this,e,t,!0)},X.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(V,X),V.prototype.toKeyedSeq=function(){return this},t(Y,X),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=ae,X.Keyed=V,X.Set=Z,X.Indexed=Y;var H,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 ae(e){return!(!e||!e[ee])}function oe(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():B(e)?new re(e).fromEntrySeq():U(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=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(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 ce(e){return W(e)?new te(e):B(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new j((function(){var e=r[n?a-o:o];return o++>a?M():N(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(e,t){return t?fe(t,e,"",{"":e}):me(e)}function fe(e,t,n,i){return Array.isArray(t)?e.call(i,n,Y(t).map((function(n,i){return fe(e,n,i,t)}))):ge(t)?e.call(i,n,V(t).map((function(n,i){return fe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?V(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(!o(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)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(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 a=e;e=t,t=a}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 ke(){}function xe(){}function Se(){}X.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[E(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 j((function(){return r>i?M():N(e,r,n[t?i-r++:r++])}))},t(ne,V),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,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new j((function(){var o=i[t?r-a:a];return a++>r?M():N(e,o,n[o])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(B(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(!B(n))return new j(M);var i=0;return new j((function(){var t=n.next();return t.done?t:N(e,i++,t.value)}))},t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},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 j((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,Y),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 j((function(){return i<n.size?N(e,i++,n._value):M()}))},ye.prototype.equals=function(e){return e instanceof ye?ve(this._value,e._value):be(e)},t(we,Y),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+E(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,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new j((function(){var o=r;return r+=t?-i:i,a>n?M():N(e,a++,o)}))},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(ke,_e),t(xe,_e),t(Se,_e),_e.Keyed=ke,_e.Indexed=xe,_e.Set=Se;var Pe="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 Ee(e){return e>>>1&1073741824|3221225471&e}function Ce(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 Ee(n)}if("string"===t)return e.length>je?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=Ue[e];return void 0===t&&(t=Te(e),Me===Ne&&(Me=0,Ue={}),Me++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if($e&&void 0!==(t=Le.get(e)))return t;if(void 0!==(t=e[ze]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[ze]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Qe,1073741824&Qe&&(Qe=0),$e)Le.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,ze,{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[ze]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[ze]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Re(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Le,$e="function"==typeof WeakMap;$e&&(Le=new WeakMap);var Qe=0,ze="__immutablehash__";"function"==typeof Symbol&&(ze=Symbol(ze));var je=16,Ne=255,Me=0,Ue={};function Be(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(qe,ke),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 at(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},qe.prototype.remove=function(e){return at(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,ht,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ft(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 Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(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 x)},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=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ze(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(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(Ve);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return We||(We=it(0))}function at(e,t,n){var i,r;if(e._root){var a=_(O),o=_(w);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===y?-1:1:0)}else{if(n===y)return e;r=1,i=new Ye(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 ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===y?e:(k(s),k(o),new Je(t,i,[r,a]))}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 a,o=(0===n?e.keyHash:e.keyHash>>>n)&b,s=(0===n?i:i>>>n)&b;return new Ze(t,1<<o|1<<s,o===s?[lt(e,t,n+g,i,r)]:(a=new Je(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Je(e,Ce(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Ze(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new He(e,a+1,o)}function pt(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(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,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?y:e.get(l,y),c=gt(u,t,n,i);return c===u?e:c===y?e.remove(l):(r?rt():e).set(l,c)}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 a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ye.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===y,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ye(e,h)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&b),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&b,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===y)return this;var d=vt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=ot(h,e,t+g,n,i,r,a,o);if(f===h)return this;if(!c&&f&&p.length>=_t)return dt(e,p,u,s,f);if(c&&!f&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?bt(p,d,f,m):Ot(p,d,m):yt(p,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new Ze(e,v,O)},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=(0===e?t:t>>>e)&b,a=this.nodes[r];return a?a.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&b,l=r===y,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+g,n,i,r,a,o);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<kt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=bt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new He(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ke.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=r===y;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ke(e,this.keyHash,h)},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,a,o){var s=r===y,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,Ce(i),[i,r])))},Ye.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},Ze.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),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 a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return M()};var wt=v/4,_t=v/2,kt=v/4;function xt(e){var t=Rt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Be(i),i>0&&i<v?It(0,i,g,null,new Ct(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[Pt])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=zt(this,e+=this._origin);return n&&n.array[e&b]}return t},xt.prototype.set=function(e,t){return Lt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.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):Rt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return jt(this,0,-1)},xt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},xt.prototype.shift=function(){return jt(this,1)},xt.prototype.merge=function(){return Nt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Nt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Nt(this,ht,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Nt(this,ft(t),n)},xt.prototype.setSize=function(e){return jt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:jt(this,T(e,n),D(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?M():N(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},xt.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)},xt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=xt.prototype;function Ct(e,t){this.array=e,this.ownerID=t}Et[Pt]=!0,Et[m]=Et.remove,Et.setIn=Ve.setIn,Et.deleteIn=Et.removeIn=Ve.removeIn,Et.update=Ve.update,Et.updateIn=Ve.updateIn,Et.mergeIn=Ve.mergeIn,Et.mergeDeepIn=Ve.mergeDeepIn,Et.withMutations=Ve.withMutations,Et.asMutable=Ve.asMutable,Et.asImmutable=Ve.asImmutable,Et.wasAltered=Ve.wasAltered,Ct.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 Ct([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-g,n))===o&&a)return this}if(a&&!r)return this;var s=Qt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ct.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 a=this.array[r];if((i=a&&a.removeAfter(e,t-g,n))===a&&r===this.array.length-1)return this}var o=Qt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Mt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(u===c)return Dt;var n=t?--c:u++;s=o(l&&l[n],r-g,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(Et);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Rt(){return Ft||(Ft=It(0,0,g))}function Lt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a=_(w);return t>=Mt(e._capacity)?i=$t(i,e.__ownerID,0,t,n,a):r=$t(r,e.__ownerID,e._level,t,n,a),a.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 $t(e,t,n,i,r,a){var o,s=i>>>n&b,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=$t(u,t,n-g,i,r,a);return c===u?e:((o=Qt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Qt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Qt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function zt(e,t){if(t>=Mt(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 jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Mt(a),p=Mt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?zt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&o<a&&h.array.length){for(var m=u=Qt(u,i),v=l;v>g;v-=g){var y=d>>>v&b;m=m.array[y]=Qt(m.array[y],i)}m.array[d>>>g&b]=h}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=p)o-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||p<d){for(c=0;u;){var O=o>>>l&b;if(O!==p>>>l&b)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,f)}function Nt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),mt(e,t,i)}function Mt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():Bt(e)?e:Gt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Bt(e){return Ge(e)&&c(e)}function qt(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Gt(){return Tt||(Tt=qt(rt(),Rt()))}function Wt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===y){if(!l)return e;o.size>=v&&o.size>=2*a.size?(r=o.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=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.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 Xt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Vt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Ht(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===L){var i=e.__iterator(t,n);return new j((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===R?I:R,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 a=e.get(i,y);return a===y?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(L,r);return new j((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return N(i,s,t.call(n,o[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=Ht(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 a=e.get(i,y);return a!==y&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(L,a),s=0;return new j((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return N(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=bn(e);return r.map((function(t){return mn(e,a(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 a=T(t,r),o=D(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=yn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new j((function(){for(;o++<a;)r.next();if(++l>s)return M();var e=r.next();return i||t===R?e:N(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(L,r),s=!0;return new j((function(){if(!s)return M();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===L?e:N(i,l,u,e):(s=!1,M())}))},i}function on(e,t,n,i){var r=yn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(L,a),l=!0,u=0;return new j((function(){var e,a,c;do{if((e=s.next()).done)return i||r===R?e:N(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===L?e:N(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(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 a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===L&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:N(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return M()}))},i}function un(e,t,n){var i=bn(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(R,i),o=0;return new j((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?N(n,o++,t):N(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?V(a):l(e)?Y(a):Z(a)}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 hn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return hn(t,e,n)?n:e}))}function hn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function fn(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(R,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),o=0,s=!1;return new j((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?M():N(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return ae(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function bn(e){return s(e)?i:l(e)?r:a}function yn(e){return Object.create((s(e)?V:l(e)?Y:Z).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.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(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);En(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=qe(a)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,qe),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Gt()},Ut.prototype.set=function(e,t){return Wt(this,e,t)},Ut.prototype.remove=function(e){return Wt(this,e,y)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.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)},Ut.isOrderedMap=Bt,Ut.prototype[f]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Xt,V),Xt.prototype.get=function(e,t){return this._iter.get(e,t)},Xt.prototype.has=function(e){return this._iter.has(e)},Xt.prototype.valueSeq=function(){return this._iter.valueSeq()},Xt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Xt.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},Xt.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)},Xt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:N(e,t?--i:i++,r.value,r)}))},Xt.prototype[f]=!0,t(Vt,Y),Vt.prototype.includes=function(e){return this._iter.includes(e)},Vt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Vt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),i=0;return new j((function(){var t=n.next();return t.done?t:N(e,i++,t.value,t)}))},t(Yt,Z),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new j((function(){var t=n.next();return t.done?t:N(e,t.value,t.value,t)}))},t(Zt,V),Zt.prototype.entrySeq=function(){return this._iter.toSeq()},Zt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=o(i);return N(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Zt.prototype.cacheResult=On,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.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},kn.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()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.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)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.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 xn=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Pn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(Cn.bind(void 0,e))}catch(e){}}function Cn(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?$n():Tn(e)&&!c(e)?e:$n().withMutations((function(t){var n=a(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}xn[m]=xn.remove,xn.deleteIn=xn.removeIn=Ve.removeIn,xn.merge=Ve.merge,xn.mergeWith=Ve.mergeWith,xn.mergeIn=Ve.mergeIn,xn.mergeDeep=Ve.mergeDeep,xn.mergeDeepWith=Ve.mergeDeepWith,xn.mergeDeepIn=Ve.mergeDeepIn,xn.setIn=Ve.setIn,xn.update=Ve.update,xn.updateIn=Ve.updateIn,xn.withMutations=Ve.withMutations,xn.asMutable=Ve.asMutable,xn.asImmutable=Ve.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 Rn(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Fn.prototype.clear=function(){return Rn(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++)a(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 a(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 a(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 Qn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return Qn(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 Rn(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 Ln(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function $n(){return Dn||(Dn=Ln(rt()))}function Qn(e){return null==e?Un():zn(e)?e:Un().withMutations((function(t){var n=a(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function zn(e){return Tn(e)&&c(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ve.withMutations,In.asMutable=Ve.asMutable,In.asImmutable=Ve.asImmutable,In.__empty=$n,In.__make=Ln,t(Qn,Fn),Qn.of=function(){return this(arguments)},Qn.fromKeys=function(e){return this(i(e).keySeq())},Qn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Qn.isOrderedSet=zn;var jn,Nn=Qn.prototype;function Mn(e,t){var n=Object.create(Nn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Mn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Nn[f]=!0,Nn.__empty=Un,Nn.__make=Mn,t(Bn,xe),Bn.of=function(){return this(arguments)},Bn.prototype.toString=function(){return this.__toString("Stack [","]")},Bn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},Bn.prototype.peek=function(){return this._head&&this._head.value},Bn.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):Vn(e,t)},Bn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Be(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):Vn(t,n)},Bn.prototype.pop=function(){return this.slice(1)},Bn.prototype.unshift=function(){return this.push.apply(this,arguments)},Bn.prototype.unshiftAll=function(e){return this.pushAll(e)},Bn.prototype.shift=function(){return this.pop.apply(this,arguments)},Bn.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):Yn()},Bn.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 xe.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):Vn(i,r)},Bn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Vn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Bn.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},Bn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new j((function(){if(i){var t=i.value;return i=i.next,N(e,n++,t)}return M()}))},Bn.isStack=qn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=Bn.prototype;function Vn(e,t,n,i){var r=Object.create(Xn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Yn(){return Gn||(Gn=Vn(0))}function Zn(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}Xn[Wn]=!0,Xn.withMutations=Ve.withMutations,Xn.asMutable=Ve.asMutable,Xn.asImmutable=Ve.asImmutable,Xn.wasAltered=Ve.wasAltered,n.Iterator=j,Zn(n,{toArray:function(){Be(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Vt(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 Xt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){Be(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Qn(s(this)?this.valueSeq():this)},toSet:function(){return Fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Bn(s(this)?this.valueSeq():this)},toList:function(){return xt(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(L)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))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,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Be(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Be(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 Be(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),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(R)},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 P(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(C)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Zt(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 a=n.value;if((i=i&&i.get?i.get(a,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):ai)},minBy:function(e,t){return pn(this,t?ni(t):ai,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,on(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,an(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=oi(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[z]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=ii,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"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){}}(),Zn(i,{flip:function(){return mn(this,Ht(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,a){return e.call(t,[a,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 ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Ce(e),Ce(t))|0}:function(e,t){i=i+li(Ce(e),Ce(t))|0}:t?function(e){i=31*i+Ce(e)|0}:function(e){i=i+Ce(e)|0});return si(r,i)}function si(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Pe(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[z]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Zn(r,{toKeyedSeq:function(){return new Xt(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=E(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=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=fn(this.toSeq(),Y.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,on(this,e,t,!1))},zip:function(){return mn(this,fn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,fn(this,e,t))}}),r.prototype[h]=!0,r.prototype[f]=!0,Zn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,a.prototype),Zn(ke,i.prototype),Zn(xe,r.prototype),Zn(Se,a.prototype),{Iterable:n,Seq:X,Collection:_e,Map:qe,OrderedMap:Ut,List:xt,Stack:Bn,Set:Fn,OrderedSet:Qn,Record:kn,Range:we,Repeat:ye,is:ve,fromJS:he}}()}(Wat);var Xat=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function Vat(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=Xat(e)):t=Xat(e);return t.body}var Yat=" ",Zat=new RegExp("\r","g"),Hat=new RegExp("\n","g"),Kat=new RegExp("&nbsp;","g"),Jat=new RegExp("\r","g"),eot=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],tot={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},not=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},iot=function(e,t,n){},rot=function(e,t,n){return n},aot=function(e,t){},oot=function(e){return[]},sot=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function lot(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Wat.exports.Map();return!0===n?{text:"\r",inlines:[Wat.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[Wat.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function uot(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Wat.exports.Map();return{text:"\r",inlines:[Wat.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function cot(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 dot(e,t,n){return cot(e,n)}function pot(e,t,n){var i=tot[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 hot(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Wat.exports.OrderedSet();return pot(e,t,n)}function fot(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),a="\r"===r&&"\r"===i,o="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(a&&(o||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===Yat||"\n"===t.text)return e;i!==Yat&&"\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 mot(e,t,n,i,r,a,o,s,l,u,c,d,p,h,f,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:Yat,inlines:[Wat.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(y=y.replace(Hat,Yat));var O=Array(y.length).fill(m),w=0;return l(y,c,d,p,h).sort(bat).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,a=n+w;null==r&&(r=y.substr(a,i));var o=y.split("");o.splice.bind(o,a,i).apply(o,r.split("")),y=o.join(""),O.splice.bind(O,a,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===_?lot("unstyled",a,!0):lot(_||"unstyled",a,f.flat)}var k={text:"",inlines:[],entities:[],blocks:[]};t=o(g,e,t=pot(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(a+=1),n=g,i=null);var x,S,P=u(g,e,n,i);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(x=P,S=Wat.exports.Map()):(x="string"==typeof P?P:P.type,S=P.data?Wat.exports.Map(P.data):Wat.exports.Map()),i||-1===r.indexOf(g)&&!x)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===x&&(i=x,v=!0,k=lot(x,a,!0,S));else{var E=cot(g,n);k=uot(E,a),i=E,v=!0,b="ul"===n?"unordered-list-item":"ordered-list-item"}else k=uot(x||cot(g,n),a,S),i=x||cot(g,n),v=!0;var C=e.firstChild;null!=C||!m||"atomic"!==x&&"atomic"!==i||(C=document.createTextNode("a")),null!=C&&(g=C.nodeName.toLowerCase());for(var F=null;C;){F=s(g,C,c,d,p,h),k=fot(k,mot(C,t,n,i,r,a,o,s,l,u,c,d,p,h,f,F||m),f.flat);var T=C.nextSibling;if(T&&r.indexOf(g)>=0&&i){var D=u(g,C,n,i),A=void 0,I=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,I=Wat.exports.Map()):(A=D.type||cot(g,n),I=D.data?Wat.exports.Map(D.data):Wat.exports.Map()),k=fot(k,lot(A,a,f.flat,I),f.flat))}T&&(g=T.nodeName.toLowerCase()),C=T}return v&&(k=fot(k,uot(b,a,Wat.exports.Map()),f.flat)),k}function got(e,t,n,i,r,a,o,s,l,u,c){var d=c(e=e.trim().replace(Zat,"").replace(Kat,Yat));if(!d)return null;var p=function(e){return eot.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?eot.concat(["div"]):["div"],h=mot(d,Wat.exports.OrderedSet(),"ul",null,p,-1,t,n,i,r,a,o,s,l,u);return 0===h.text.indexOf("\r")&&(h={text:h.text.slice(1),inlines:h.inlines.slice(1),entities:h.entities.slice(1),blocks:h.blocks}),"\r"===h.text.slice(-1)&&(h.text=h.text.slice(0,-1),h.inlines=h.inlines.slice(0,-1),h.entities=h.entities.slice(0,-1),h.blocks.pop()),0===h.blocks.length&&h.blocks.push({type:"unstyled",data:Wat.exports.Map(),depth:0}),h.text.split("\r").length===h.blocks.length+1&&h.blocks.unshift({type:"unstyled",data:Wat.exports.Map(),depth:0}),h}function vot(e,t,n,i,r,a,o,s,l,u,c,d){var p=got(e,t,n,i,r,a,o,s,l,u,c);if(null==p)return[];var h=0;return p.text.split("\r").map((function(e,t){e=e.replace(Jat,"");var n=h+e.length,i=sot(p).inlines.slice(h,n),r=sot(p).entities.slice(h,n),a=Wat.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),gat.CharacterMetadata.create(n)})));return h=n+1,new gat.ContentBlock({key:d(),type:sot(p).blocks[t].type,data:sot(p).blocks[t].data,depth:sot(p).blocks[t].depth,text:e,characterList:a})}))}var bot=function(e){var t=e.htmlToStyle,n=void 0===t?rot:t,i=e.htmlToEntity,r=void 0===i?aot:i,a=e.textToEntity,o=void 0===a?oot:a,s=e.htmlToBlock,l=void 0===s?iot: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]:Vat,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:gat.genKey,s=gat.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():gat.Entity.create.apply(gat.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):gat.Entity.get.apply(gat.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):gat.Entity.mergeData.apply(gat.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):gat.Entity.replaceData.apply(gat.Entity,arguments)},h=vot(e,not(n,hot),not(r,aot),not(o,oot),not(l,dot),u,c,d,p,t,i,a),f=gat.BlockMapBuilder.createFromArray(h),m=h[0].getKey();return s.merge({blockMap:f,selectionBefore:gat.SelectionState.createEmpty(m),selectionAfter:gat.SelectionState.createEmpty(m)})}},yot=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?bot({}).apply(void 0,arguments):bot.apply(void 0,arguments)};pK('/**\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 Oot=32,wot=31,_ot={};function kot(e){e&&(e.value=!0)}function xot(){}function Sot(e){return void 0===e.size&&(e.size=e.__iterate(Eot)),e.size}function Pot(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?Sot(e)+t:t}function Eot(){return!0}function Cot(e,t,n){return(0===e&&!Aot(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function Fot(e,t){return Dot(e,t,0)}function Tot(e,t){return Dot(e,t,t)}function Dot(e,t,n){return void 0===e?n:Aot(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Aot(e){return e<0||0===e&&1/e==-1/0}var Iot="@@__IMMUTABLE_ITERABLE__@@";function Rot(e){return Boolean(e&&e[Iot])}var Lot="@@__IMMUTABLE_KEYED__@@";function $ot(e){return Boolean(e&&e[Lot])}var Qot="@@__IMMUTABLE_INDEXED__@@";function zot(e){return Boolean(e&&e[Qot])}function jot(e){return $ot(e)||zot(e)}var Not=function(e){return Rot(e)?e:lst(e)},Mot=function(e){function t(e){return $ot(e)?e:ust(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Not),Uot=function(e){function t(e){return zot(e)?e:cst(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Not),Bot=function(e){function t(e){return Rot(e)&&!jot(e)?e:dst(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Not);Not.Keyed=Mot,Not.Indexed=Uot,Not.Set=Bot;var qot="@@__IMMUTABLE_SEQ__@@";function Got(e){return Boolean(e&&e[qot])}function Wot(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function Xot(e){return Rot(e)||Wot(e)}var Vot="@@__IMMUTABLE_ORDERED__@@";function Yot(e){return Boolean(e&&e[Vot])}var Zot="function"==typeof Symbol&&Symbol.iterator,Hot="@@iterator",Kot=Zot||Hot,Jot=function(e){this.next=e};function est(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 tst(){return{value:void 0,done:!0}}function nst(e){return!!ast(e)}function ist(e){return e&&"function"==typeof e.next}function rst(e){var t=ast(e);return t&&t.call(e)}function ast(e){var t=e&&(Zot&&e[Zot]||e["@@iterator"]);if("function"==typeof t)return t}Jot.prototype.toString=function(){return"[Iterator]"},Jot.KEYS=0,Jot.VALUES=1,Jot.ENTRIES=2,Jot.prototype.inspect=Jot.prototype.toSource=function(){return this.toString()},Jot.prototype[Kot]=function(){return this};var ost=Object.prototype.hasOwnProperty;function sst(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 lst=function(e){function t(e){return null==e?gst():Xot(e)?e.toSeq():function(e){var t=yst(e);if(t)return t;if("object"==typeof e)return new hst(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 a=n[t?i-++r:r++];if(!1===e(a[1],a[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 Jot((function(){if(r===i)return{value:void 0,done:!0};var a=n[t?i-++r:r++];return est(e,a[0],a[1])}))}return this.__iteratorUncached(e,t)},t}(Not),ust=function(e){function t(e){return null==e?gst().toKeyedSeq():Rot(e)?$ot(e)?e.toSeq():e.fromEntrySeq():Wot(e)?e.toSeq():vst(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(lst),cst=function(e){function t(e){return null==e?gst():Rot(e)?$ot(e)?e.entrySeq():e.toIndexedSeq():Wot(e)?e.toSeq().entrySeq():bst(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}(lst),dst=function(e){function t(e){return(Rot(e)&&!jot(e)?e:cst(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}(lst);lst.isSeq=Got,lst.Keyed=ust,lst.Set=dst,lst.Indexed=cst,lst.prototype[qot]=!0;var pst=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[Pot(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var a=t?i-++r:r++;if(!1===e(n[a],a,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new Jot((function(){if(r===i)return{value:void 0,done:!0};var a=t?i-++r:r++;return est(e,a,n[a])}))},t}(cst),hst=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 ost.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,a=0;a!==r;){var o=i[t?r-++a:a++];if(!1===e(n[o],o,this))break}return a},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,a=0;return new Jot((function(){if(a===r)return{value:void 0,done:!0};var o=i[t?r-++a:a++];return est(e,o,n[o])}))},t}(ust);hst.prototype[Vot]=!0;var fst,mst=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=rst(this._collection),i=0;if(ist(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=rst(this._collection);if(!ist(n))return new Jot(tst);var i=0;return new Jot((function(){var t=n.next();return t.done?t:est(e,i++,t.value)}))},t}(cst);function gst(){return fst||(fst=new pst([]))}function vst(e){var t=Array.isArray(e)?new pst(e):nst(e)?new mst(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new hst(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function bst(e){var t=yst(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function yst(e){return sst(e)?new pst(e):nst(e)?new mst(e):void 0}var Ost="@@__IMMUTABLE_MAP__@@";function wst(e){return Boolean(e&&e[Ost])}function _st(e){return wst(e)&&Yot(e)}function kst(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function xst(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!!(kst(e)&&kst(t)&&e.equals(t))}var Sst="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 Pst(e){return e>>>1&1073741824|3221225471&e}var Est=Object.prototype.valueOf;function Cst(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 Pst(t)}(e);case"string":return e.length>$st?function(e){var t=jst[e];void 0===t&&(t=Fst(e),zst===Qst&&(zst=0,jst={}),zst++,jst[e]=t);return t}(e):Fst(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?Pst(e.hashCode(e)):(e.valueOf!==Est&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(Ist&&void 0!==(t=Ast.get(e)))return t;if(void 0!==(t=e[Lst]))return t;if(!Dst){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Lst]))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=++Rst,1073741824&Rst&&(Rst=0);if(Ist)Ast.set(e,t);else{if(void 0!==Tst&&!1===Tst(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Dst)Object.defineProperty(e,Lst,{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[Lst]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Lst]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return Fst(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function Fst(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Pst(t)}var Tst=Object.isExtensible,Dst=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Ast,Ist="function"==typeof WeakMap;Ist&&(Ast=new WeakMap);var Rst=0,Lst="__immutablehash__";"function"==typeof Symbol&&(Lst=Symbol(Lst));var $st=16,Qst=255,zst=0,jst={},Nst=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=Wst(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=Gst(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}(ust);Nst.prototype[Vot]=!0;var Mst=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&&Sot(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&&Sot(this),new Jot((function(){var a=i.next();return a.done?a:est(e,t?n.size-++r:r++,a.value,a)}))},t}(cst),Ust=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 Jot((function(){var t=n.next();return t.done?t:est(e,t.value,t.value,t)}))},t}(dst),Bst=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){ilt(t);var i=Rot(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 Jot((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){ilt(i);var r=Rot(i);return est(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(ust);function qst(e){var t=alt(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=olt,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 Jot((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 Gst(e,t,n){var i=alt(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,_ot);return a===_ot?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(2,r);return new Jot((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return est(i,s,t.call(n,o[1],s,e),r)}))},i}function Wst(e,t){var n=this,i=alt(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=qst(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=olt,i.__iterate=function(n,i){var r=this,a=0;return i&&Sot(e),e.__iterate((function(e,o){return n(e,t?o:i?r.size-++a:a++,r)}),!i)},i.__iterator=function(i,r){var a=0;r&&Sot(e);var o=e.__iterator(2,!r);return new Jot((function(){var e=o.next();if(e.done)return e;var s=e.value;return est(i,t?s[0]:r?n.size-++a:a++,s[1],e)}))},i}function Xst(e,t,n,i){var r=alt(e);return i&&(r.has=function(i){var r=e.get(i,_ot);return r!==_ot&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,_ot);return a!==_ot&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(2,a),s=0;return new Jot((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return est(r,i?u:s++,c,a)}}))},r}function Vst(e,t,n,i){var r=e.size;if(Cot(t,n,r))return e;var a=Fot(t,r),o=Tot(n,r);if(a!=a||o!=o)return Vst(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=alt(e);return u.size=0===s?s:e.size&&s||void 0,!i&&Got(e)&&s>=0&&(u.get=function(t,n){return(t=Pot(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new Jot(tst);var r=e.__iterator(t,n),o=0,l=0;return new Jot((function(){for(;o++<a;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:est(t,l-1,0===t?void 0:e.value[1],e)}))},u}function Yst(e,t,n,i){var r=alt(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(2,a),l=!0,u=0;return new Jot((function(){var e,a,c;do{if((e=s.next()).done)return i||1===r?e:est(r,u++,0===r?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return 2===r?e:est(r,a,c,e)}))},r}function Zst(e,t){var n=$ot(e),i=[e].concat(t).map((function(e){return Rot(e)?n&&(e=Mot(e)):e=n?vst(e):bst(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&&$ot(r)||zot(e)&&zot(r))return r}var a=new pst(i);return n?a=a.toKeyedSeq():zot(e)||(a=a.toSetSeq()),(a=a.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),a}function Hst(e,t,n){var i=alt(e);return i.__iterateUncached=function(r,a){if(a)return this.cacheResult().__iterate(r,a);var o=0,s=!1;return function e(l,u){l.__iterate((function(a,l){return(!t||u<t)&&Rot(a)?e(a,u+1):(o++,!1===r(a,n?l:o-1,i)&&(s=!0)),!s}),a)}(e,0),o},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(i,r),o=[],s=0;return new Jot((function(){for(;a;){var e=a.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(o.length<t)||!Rot(l))return n?e:est(i,s++,l,e);o.push(a),a=l.__iterator(i,r)}else a=o.pop()}return{value:void 0,done:!0}}))},i}function Kst(e,t,n){t||(t=slt);var i=$ot(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?ust(a):zot(e)?cst(a):dst(a)}function Jst(e,t,n){if(t||(t=slt),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return elt(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return elt(t,e,n)?n:e}))}function elt(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function tlt(e,t,n,i){var r=alt(e),a=new pst(n).map((function(e){return e.size}));return r.size=i?a.max():a.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 a=n.map((function(e){return e=Not(e),rst(r?e.reverse():e)})),o=0,s=!1;return new Jot((function(){var n;return s||(n=a.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}:est(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function nlt(e,t){return e===t?e:Got(e)?t:e.constructor(t)}function ilt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function rlt(e){return $ot(e)?Mot:zot(e)?Uot:Bot}function alt(e){return Object.create(($ot(e)?ust:zot(e)?cst:dst).prototype)}function olt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):lst.prototype.cacheResult.call(this)}function slt(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 llt(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 ult(e,t){if(!e)throw new Error(t)}function clt(e){ult(e!==1/0,"Cannot perform this action with an infinite size.")}function dlt(e){if(sst(e)&&"string"!=typeof e)return e;if(Yot(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function plt(e){return"object"==typeof e&&(Xot(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function hlt(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function flt(e,t,n){return Xot(e)?e.get(t,n):function(e,t){return Xot(e)?e.has(t):plt(e)&&ost.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function mlt(e){if(Array.isArray(e))return llt(e);var t={};for(var n in e)ost.call(e,n)&&(t[n]=e[n]);return t}function glt(e,t,n,i){i||(i=n,n=void 0);var r=vlt(Xot(e),e,dlt(t),0,n,i);return r===_ot?n:r}function vlt(e,t,n,i,r,a){var o=t===_ot;if(i===n.length){var s=o?r:t,l=a(s);return l===s?t:l}if(!o&&!plt(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(hlt)+"]: "+t);var u=n[i],c=o?_ot:flt(t,u,_ot),d=vlt(c===_ot?e:Xot(c),c,n,i+1,r,a);return d===c?t:d===_ot?function(e,t){if(!plt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Xot(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!ost.call(e,t))return e;var n=mlt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!plt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Xot(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(ost.call(e,t)&&n===e[t])return e;var i=mlt(e);return i[t]=n,i}(o?e?qlt():{}:t,u,d)}function blt(e,t){return function(e,t,n){return glt(e,t,_ot,(function(){return n}))}(this,e,t)}function ylt(e){return function(e,t){return glt(e,t,(function(){return _ot}))}(this,e)}function Olt(e,t,n,i){return glt(e,[t],n,i)}function wlt(e,t,n){return 1===arguments.length?e(this):Olt(this,e,t,n)}function _lt(e,t,n){return glt(this,e,t,n)}function klt(e,t,n){for(var i=[],r=0;r<t.length;r++){var a=Mot(t[r]);0!==a.size&&i.push(a)}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){Olt(e,i,_ot,(function(e){return e===_ot?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 xlt(e,t,n){return Slt(e,t,function(e){function t(n,i,r){return plt(n)&&plt(i)?Slt(n,[i],t):e?e(n,i,r):i}return t}(n))}function Slt(e,t,n){if(!plt(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(Xot(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,a=i?Uot:Mot,o=i?function(t){r===e&&(r=mlt(r)),r.push(t)}:function(t,i){var a=ost.call(r,i),o=a&&n?n(r[i],t,i):t;a&&o===r[i]||(r===e&&(r=mlt(r)),r[i]=o)},s=0;s<t.length;s++)a(t[s]).forEach(o);return r}function Plt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return glt(this,e,qlt(),(function(e){return Slt(e,t)}))}function Elt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return glt(this,e,qlt(),(function(e){return xlt(e,t)}))}function Clt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Flt(){return this.__ownerID?this:this.__ensureOwner(new xot)}function Tlt(){return this.__ensureOwner()}function Dlt(){return this.__altered}Mst.prototype.cacheResult=Nst.prototype.cacheResult=Ust.prototype.cacheResult=Bst.prototype.cacheResult=olt;var Alt=function(e){function t(t){return null==t?qlt():wst(t)&&!Yot(t)?t:qlt().withMutations((function(n){var i=e(t);clt(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 qlt().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 Glt(this,e,t)},t.prototype.remove=function(e){return Glt(this,e,_ot)},t.prototype.deleteAll=function(e){var t=Not(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):qlt()},t.prototype.sort=function(e){return gut(Kst(this,e))},t.prototype.sortBy=function(e,t){return gut(Kst(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 Nlt(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?Blt(this.size,this._root,e,this.__hash):0===this.size?qlt():(this.__ownerID=e,this.__altered=!1,this)},t}(Mot);Alt.isMap=wst;var Ilt=Alt.prototype;Ilt[Ost]=!0,Ilt.delete=Ilt.remove,Ilt.removeAll=Ilt.deleteAll,Ilt.setIn=blt,Ilt.removeIn=Ilt.deleteIn=ylt,Ilt.update=wlt,Ilt.updateIn=_lt,Ilt.merge=Ilt.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return klt(this,e)},Ilt.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 klt(this,t,e)},Ilt.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return xlt(this,e)},Ilt.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return xlt(this,t,e)},Ilt.mergeIn=Plt,Ilt.mergeDeepIn=Elt,Ilt.withMutations=Clt,Ilt.wasAltered=Dlt,Ilt.asImmutable=Tlt,Ilt["@@transducer/init"]=Ilt.asMutable=Flt,Ilt["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Ilt["@@transducer/result"]=function(e){return e.asImmutable()};var Rlt=function(e,t){this.ownerID=e,this.entries=t};Rlt.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(xst(n,r[a][0]))return r[a][1];return i},Rlt.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===_ot,l=this.entries,u=0,c=l.length;u<c&&!xst(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(kot(o),(s||!d)&&kot(a),!s||1!==l.length){if(!d&&!s&&l.length>=Hlt)return function(e,t,n,i){e||(e=new xot);for(var r=new zlt(e,Cst(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:llt(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Rlt(e,h)}};var Llt=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Llt.prototype.get=function(e,t,n,i){void 0===t&&(t=Cst(n));var r=1<<((0===e?t:t>>>e)&wot),a=this.bitmap;return 0==(a&r)?i:this.nodes[Ylt(a&r-1)].get(e+5,t,n,i)},Llt.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Cst(i));var s=(0===t?n:n>>>t)&wot,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===_ot)return this;var d=Ylt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=Wlt(h,e,t+5,n,i,r,a,o);if(f===h)return this;if(!c&&f&&p.length>=Klt)return function(e,t,n,i,r){for(var a=0,o=new Array(Oot),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new $lt(e,a+1,o)}(e,p,u,s,f);if(c&&!f&&2===p.length&&Xlt(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&Xlt(f))return f;var m=e&&e===this.ownerID,g=c?f?u:u^l:u|l,v=c?f?Zlt(p,d,f,m):function(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];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 a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}(p,d,f,m);return m?(this.bitmap=g,this.nodes=v,this):new Llt(e,g,v)};var $lt=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};$lt.prototype.get=function(e,t,n,i){void 0===t&&(t=Cst(n));var r=(0===e?t:t>>>e)&wot,a=this.nodes[r];return a?a.get(e+5,t,n,i):i},$lt.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Cst(i));var s=(0===t?n:n>>>t)&wot,l=r===_ot,u=this.nodes,c=u[s];if(l&&!c)return this;var d=Wlt(c,e,t+5,n,i,r,a,o);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<Jlt)return function(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Llt(e,r,o)}(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=Zlt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new $lt(e,p,f)};var Qlt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};Qlt.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(xst(n,r[a][0]))return r[a][1];return i},Qlt.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Cst(i));var s=r===_ot;if(n!==this.keyHash)return s?this:(kot(o),kot(a),Vlt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!xst(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(kot(o),(s||!d)&&kot(a),s&&2===c)return new zlt(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:llt(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Qlt(e,this.keyHash,h)};var zlt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};zlt.prototype.get=function(e,t,n,i){return xst(n,this.entry[0])?this.entry[1]:i},zlt.prototype.update=function(e,t,n,i,r,a,o){var s=r===_ot,l=xst(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(kot(o),s?void kot(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new zlt(e,this.keyHash,[i,r]):(kot(a),Vlt(this,e,t,Cst(i),[i,r])))},Rlt.prototype.iterate=Qlt.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},Llt.prototype.iterate=$lt.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},zlt.prototype.iterate=function(e,t){return e(this.entry)};var jlt,Nlt=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Ult(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 Mlt(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Mlt(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var a=n.nodes[this._reverse?r-i:i];if(a){if(a.entry)return Mlt(e,a.entry);t=this._stack=Ult(a,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(Jot);function Mlt(e,t){return est(e,t[0],t[1])}function Ult(e,t){return{node:e,index:0,__prev:t}}function Blt(e,t,n,i){var r=Object.create(Ilt);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function qlt(){return jlt||(jlt=Blt(0))}function Glt(e,t,n){var i,r;if(e._root){var a={value:!1},o={value:!1};if(i=Wlt(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===_ot?-1:1:0)}else{if(n===_ot)return e;r=1,i=new Rlt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?Blt(r,i):qlt()}function Wlt(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===_ot?e:(kot(s),kot(o),new zlt(t,i,[r,a]))}function Xlt(e){return e.constructor===zlt||e.constructor===Qlt}function Vlt(e,t,n,i,r){if(e.keyHash===i)return new Qlt(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&wot,s=(0===n?i:i>>>n)&wot,l=o===s?[Vlt(e,t,n+5,i,r)]:(a=new zlt(t,i,r),o<s?[e,a]:[a,e]);return new Llt(t,1<<o|1<<s,l)}function Ylt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Zlt(e,t,n,i){var r=i?e:llt(e);return r[t]=n,r}var Hlt=8,Klt=16,Jlt=8,eut="@@__IMMUTABLE_LIST__@@";function tut(e){return Boolean(e&&e[eut])}var nut=function(e){function t(t){var n=uut();if(null==t)return n;if(tut(t))return t;var i=e(t),r=i.size;return 0===r?n:(clt(r),r>0&&r<Oot?lut(0,r,5,null,new rut(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=Pot(this,e))>=0&&e<this.size){var n=put(this,e+=this._origin);return n&&n.array[e&wot]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=Pot(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?hut(e,t).set(0,n):hut(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a={value:!1};t>=fut(e._capacity)?i=cut(i,e.__ownerID,0,t,n,a):r=cut(r,e.__ownerID,e._level,t,n,a);if(!a.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return lut(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):uut()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){hut(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return hut(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){hut(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return hut(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],a=e("string"!=typeof r&&nst(r)?r:[r]);0!==a.size&&n.push(a)}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 hut(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 Cot(e,t,n)?this:hut(this,Fot(e,n),Tot(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=sut(this,t);return new Jot((function(){var r=i();return r===out?{value:void 0,done:!0}:est(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=sut(this,t);(n=r())!==out&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?lut(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?uut():(this.__ownerID=e,this.__altered=!1,this)},t}(Uot);nut.isList=tut;var iut=nut.prototype;iut[eut]=!0,iut.delete=iut.remove,iut.merge=iut.concat,iut.setIn=blt,iut.deleteIn=iut.removeIn=ylt,iut.update=wlt,iut.updateIn=_lt,iut.mergeIn=Plt,iut.mergeDeepIn=Elt,iut.withMutations=Clt,iut.wasAltered=Dlt,iut.asImmutable=Tlt,iut["@@transducer/init"]=iut.asMutable=Flt,iut["@@transducer/step"]=function(e,t){return e.push(t)},iut["@@transducer/result"]=function(e){return e.asImmutable()};var rut=function(e,t){this.array=e,this.ownerID=t};rut.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&wot;if(i>=this.array.length)return new rut([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-5,n))===o&&a)return this}if(a&&!r)return this;var s=dut(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},rut.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&wot;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-5,n))===a&&r===this.array.length-1)return this}var o=dut(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var aut,out={};function sut(e,t){var n=e._origin,i=e._capacity,r=fut(i),a=e._tail;return o(e._root,e._level,0);function o(e,s,l){return 0===s?function(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;u>Oot&&(u=Oot);return function(){if(l===u)return out;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);c>Oot&&(c=Oot);return function(){for(;;){if(s){var e=s();if(e!==out)return e;s=null}if(u===c)return out;var n=t?--c:u++;s=o(l&&l[n],r-5,a+(n<<r))}}}(e,s,l)}}function lut(e,t,n,i,r,a,o){var s=Object.create(iut);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function uut(){return aut||(aut=lut(0,0,5))}function cut(e,t,n,i,r,a){var o,s=i>>>n&wot,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=cut(u,t,n-5,i,r,a);return c===u?e:((o=dut(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(a&&kot(a),o=dut(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function dut(e,t){return t&&e&&t===e.ownerID?e:new rut(e?e.array.slice():[],t)}function put(e,t){if(t>=fut(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&wot],i-=5;return n}}function hut(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new xot,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new rut(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=fut(a),p=fut(s);p>=1<<l+5;)u=new rut(u&&u.array.length?[u]:[],i),l+=5;var h=e._tail,f=p<d?put(e,s-1):p>d?new rut([],i):h;if(h&&p>d&&o<a&&h.array.length){for(var m=u=dut(u,i),g=l;g>5;g-=5){var v=d>>>g&wot;m=m.array[v]=dut(m.array[v],i)}m.array[d>>>5&wot]=h}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=p)o-=p,s-=p,l=5,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||p<d){for(c=0;u;){var b=o>>>l&wot;if(b!==p>>>l&wot)break;b&&(c+=(1<<l)*b),l-=5,u=u.array[b]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):lut(o,s,l,u,f)}function fut(e){return e<Oot?0:e-1>>>5<<5}var mut,gut=function(e){function t(e){return null==e?but():_st(e)?e:but().withMutations((function(t){var n=Mot(e);clt(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):but()},t.prototype.set=function(e,t){return yut(this,e,t)},t.prototype.remove=function(e){return yut(this,e,_ot)},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?vut(t,n,e,this.__hash):0===this.size?but():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(Alt);function vut(e,t,n,i){var r=Object.create(gut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function but(){return mut||(mut=vut(qlt(),uut()))}function yut(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===_ot){if(!l)return e;o.size>=Oot&&o.size>=2*a.size?(r=o.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=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):vut(i,r)}gut.isOrderedMap=_st,gut.prototype[Vot]=!0,gut.prototype.delete=gut.prototype.remove;var Out="@@__IMMUTABLE_STACK__@@";function wut(e){return Boolean(e&&e[Out])}var _ut=function(e){function t(e){return null==e?Put():wut(e)?e:Put().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=Pot(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):Sut(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&wut(t))return t;clt(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):Sut(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):Put()},t.prototype.slice=function(t,n){if(Cot(t,n,this.size))return this;var i=Fot(t,this.size);if(Tot(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,a=this._head;i--;)a=a.next;return this.__ownerID?(this.size=r,this._head=a,this.__hash=void 0,this.__altered=!0,this):Sut(r,a)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Sut(this.size,this._head,e,this.__hash):0===this.size?Put():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new pst(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 pst(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new Jot((function(){if(i){var t=i.value;return i=i.next,est(e,n++,t)}return{value:void 0,done:!0}}))},t}(Uot);_ut.isStack=wut;var kut,xut=_ut.prototype;function Sut(e,t,n,i){var r=Object.create(xut);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Put(){return kut||(kut=Sut(0))}xut[Out]=!0,xut.shift=xut.pop,xut.unshift=xut.push,xut.unshiftAll=xut.pushAll,xut.withMutations=Clt,xut.wasAltered=Dlt,xut.asImmutable=Tlt,xut["@@transducer/init"]=xut.asMutable=Flt,xut["@@transducer/step"]=function(e,t){return e.unshift(t)},xut["@@transducer/result"]=function(e){return e.asImmutable()};var Eut="@@__IMMUTABLE_SET__@@";function Cut(e){return Boolean(e&&e[Eut])}function Fut(e){return Cut(e)&&Yot(e)}function Tut(e,t){if(e===t)return!0;if(!Rot(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||$ot(e)!==$ot(t)||zot(e)!==zot(t)||Yot(e)!==Yot(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!jot(e);if(Yot(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&xst(r[1],e)&&(n||xst(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 a=e;e=t,t=a}var o=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!xst(t,e.get(i,_ot)):!xst(e.get(i,_ot),t))return o=!1,!1}));return o&&e.size===s}function Dut(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 Aut(e){if(!e||"object"!=typeof e)return e;if(!Rot(e)){if(!plt(e))return e;e=lst(e)}if($ot(e)){var t={};return e.__iterate((function(e,n){t[n]=Aut(e)})),t}var n=[];return e.__iterate((function(e){n.push(Aut(e))})),n}var Iut=function(e){function t(t){return null==t?zut():Cut(t)&&!Yot(t)?t:zut().withMutations((function(n){var i=e(t);clt(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(Mot(e).keySeq())},t.intersect=function(e){return(e=Not(e).toArray()).length?Lut.intersect.apply(t(e.pop()),e):zut()},t.union=function(e){return(e=Not(e).toArray()).length?Lut.union.apply(t(e.pop()),e):zut()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return $ut(this,this._map.set(e,e))},t.prototype.remove=function(e){return $ut(this,this._map.remove(e))},t.prototype.clear=function(){return $ut(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(a){var o=e.call(t,a,a,n);o!==a&&(i.push(a),r.push(o))})),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 ect(Kst(this,e))},t.prototype.sortBy=function(e,t){return ect(Kst(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}(Bot);Iut.isSet=Cut;var Rut,Lut=Iut.prototype;function $ut(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 Qut(e,t){var n=Object.create(Lut);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zut(){return Rut||(Rut=Qut(qlt()))}Lut[Eut]=!0,Lut.delete=Lut.remove,Lut.merge=Lut.concat=Lut.union,Lut.withMutations=Clt,Lut.asImmutable=Tlt,Lut["@@transducer/init"]=Lut.asMutable=Flt,Lut["@@transducer/step"]=function(e,t){return e.add(t)},Lut["@@transducer/result"]=function(e){return e.asImmutable()},Lut.__empty=zut,Lut.__make=Qut;var jut,Nut=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(ult(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(jut)return jut;jut=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+Pot(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 Cot(e,n,this.size)?this:(e=Fot(e,this.size),(n=Tot(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,a=0;a!==n&&!1!==e(r,t?n-++a:a++,this);)r+=t?-i:i;return a},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,a=0;return new Jot((function(){if(a===n)return{value:void 0,done:!0};var o=r;return r+=t?-i:i,est(e,t?n-++a:a++,o)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:Tut(this,e)},t}(cst);function Mut(e,t,n){for(var i=dlt(t),r=0;r!==i.length;)if((e=flt(e,i[r++],_ot))===_ot)return n;return e}function Uut(){clt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}Not.isIterable=Rot,Not.isKeyed=$ot,Not.isIndexed=zot,Not.isAssociative=jot,Not.isOrdered=Yot,Not.Iterator=Jot,Dut(Not,{toArray:function(){clt(this.size);var e=new Array(this.size||0),t=$ot(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Mst(this)},toJS:function(){return Aut(this)},toKeyedSeq:function(){return new Nst(this,!0)},toMap:function(){return Alt(this.toKeyedSeq())},toObject:Uut,toOrderedMap:function(){return gut(this.toKeyedSeq())},toOrderedSet:function(){return ect($ot(this)?this.valueSeq():this)},toSet:function(){return Iut($ot(this)?this.valueSeq():this)},toSetSeq:function(){return new Ust(this)},toSeq:function(){return zot(this)?this.toIndexedSeq():$ot(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return _ut($ot(this)?this.valueSeq():this)},toList:function(){return nut($ot(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 nlt(this,Zst(this,e))},includes:function(e){return this.some((function(t){return xst(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){clt(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return nlt(this,Xst(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 clt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){clt(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 nlt(this,Gst(this,e,t))},reduce:function(e,t,n){return Wut(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return Wut(this,e,t,n,arguments.length<2,!0)},reverse:function(){return nlt(this,Wst(this,!0))},slice:function(e,t){return nlt(this,Vst(this,e,t,!0))},some:function(e,t){return!this.every(Yut(e),t)},sort:function(e){return nlt(this,Kst(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 Sot(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=Alt().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return Tut(this,e)},entrySeq:function(){var e=this;if(e._cache)return new pst(e._cache);var t=e.toSeq().map(Vut).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Yut(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,a){if(e.call(t,n,r,a))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(Eot,null,e)},flatMap:function(e,t){return nlt(this,function(e,t,n){var i=rlt(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return nlt(this,Hst(this,e,!0))},fromEntrySeq:function(){return new Bst(this)},get:function(e,t){return this.find((function(t,n){return xst(n,e)}),void 0,t)},getIn:function(e,t){return Mut(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=$ot(e),r=(Yot(e)?gut():Alt()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=rlt(e);return r.map((function(t){return nlt(e,a(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,_ot)!==_ot},hasIn:function(e){return function(e,t){return Mut(e,t,_ot)!==_ot}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:Not(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:Not(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return xst(t,e)}))},keySeq:function(){return this.toSeq().map(Xut).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Jst(this,e)},maxBy:function(e,t){return Jst(this,t,e)},min:function(e){return Jst(this,e?Zut(e):Kut)},minBy:function(e,t){return Jst(this,t?Zut(t):Kut,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 nlt(this,Yst(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Yut(e),t)},sortBy:function(e,t){return nlt(this,Kst(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 nlt(this,function(e,t,n){var i=alt(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(2,r),s=!0;return new Jot((function(){if(!s)return{value:void 0,done:!0};var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?2===i?e:est(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Yut(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=Yot(e),n=$ot(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+Jut(Cst(e),Cst(t))|0}:function(e,t){i=i+Jut(Cst(e),Cst(t))|0}:t?function(e){i=31*i+Cst(e)|0}:function(e){i=i+Cst(e)|0});return function(e,t){return t=Sst(t,3432918353),t=Sst(t<<15|t>>>-15,461845907),t=Sst(t<<13|t>>>-13,5),t=Sst((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Pst((t=Sst(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var But=Not.prototype;But[Iot]=!0,But[Kot]=But.values,But.toJSON=But.toArray,But.__toStringMapper=hlt,But.inspect=But.toSource=function(){return this.toString()},But.chain=But.flatMap,But.contains=But.includes,Dut(Mot,{flip:function(){return nlt(this,qst(this))},mapEntries:function(e,t){var n=this,i=0;return nlt(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return nlt(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var qut=Mot.prototype;qut[Lot]=!0,qut[Kot]=But.entries,qut.toJSON=Uut,qut.__toStringMapper=function(e,t){return hlt(t)+": "+hlt(e)},Dut(Uot,{toKeyedSeq:function(){return new Nst(this,!1)},filter:function(e,t){return nlt(this,Xst(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 nlt(this,Wst(this,!1))},slice:function(e,t){return nlt(this,Vst(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=Fot(e,e<0?this.count():this.size);var i=this.slice(0,e);return nlt(this,1===n?i:i.concat(llt(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 nlt(this,Hst(this,e,!1))},get:function(e,t){return(e=Pot(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=Pot(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return nlt(this,function(e,t){var n=alt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(1,i),o=0;return new Jot((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?est(n,o++,t):est(n,o++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(llt(arguments)),t=tlt(this.toSeq(),cst.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),nlt(this,n)},keySeq:function(){return Nut(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return nlt(this,Yst(this,e,t,!1))},zip:function(){var e=[this].concat(llt(arguments));return nlt(this,tlt(this,Hut,e))},zipAll:function(){var e=[this].concat(llt(arguments));return nlt(this,tlt(this,Hut,e,!0))},zipWith:function(e){var t=llt(arguments);return t[0]=this,nlt(this,tlt(this,e,t))}});var Gut=Uot.prototype;function Wut(e,t,n,i,r,a){return clt(e.size),e.__iterate((function(e,a,o){r?(r=!1,n=e):n=t.call(i,n,e,a,o)}),a),n}function Xut(e,t){return t}function Vut(e,t){return[t,e]}function Yut(e){return function(){return!e.apply(this,arguments)}}function Zut(e){return function(){return-e.apply(this,arguments)}}function Hut(){return llt(arguments)}function Kut(e,t){return e<t?1:e>t?-1:0}function Jut(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Gut[Qot]=!0,Gut[Vot]=!0,Dut(Bot,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),Bot.prototype.has=But.includes,Bot.prototype.contains=Bot.prototype.includes,Dut(ust,Mot.prototype),Dut(cst,Uot.prototype),Dut(dst,Bot.prototype);var ect=function(e){function t(e){return null==e?rct():Fut(e)?e:rct().withMutations((function(t){var n=Bot(e);clt(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(Mot(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(Iut);ect.isOrderedSet=Fut;var tct,nct=ect.prototype;function ict(e,t){var n=Object.create(nct);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function rct(){return tct||(tct=ict(but()))}nct[Vot]=!0,nct.zip=Gut.zip,nct.zipWith=Gut.zipWith,nct.__empty=rct,nct.__make=ict;var act={exports:{}};
173
+ var HPe=function(){return HPe=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},HPe.apply(this,arguments)};function KPe(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 JPe(e,t,n,i){return new(n||(n=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(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(o,s)}l((i=i.apply(e,t||[])).next())}))}function eEe(e,t){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function tEe(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}function nEe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var iEe,rEe=function(e){var n,r=e.children,a=KPe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(aEe,{},void 0),t.jsx(i.Dialog,HPe({},a,{modalProps:HPe(HPe({},a.modalProps||{}),{className:za(d4,"lt-reach-dialog",{"lt-reach-dialog-mobile":sd.isAnyMobileApp},null===(n=a.modalProps)||void 0===n?void 0:n.className)})},{children:r}),void 0)]},void 0)},aEe=n.createGlobalStyle(iEe||(iEe=nEe(['\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']))),oEe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},sEe=function(e){return e&&e.Math==Math&&e},lEe=sEe("object"==typeof globalThis&&globalThis)||sEe("object"==typeof window&&window)||sEe("object"==typeof self&&self)||sEe("object"==typeof oEe&&oEe)||Function("return this")(),uEe={},cEe=function(e){try{return!!e()}catch(e){return!0}},dEe=!cEe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),pEe={},hEe={}.propertyIsEnumerable,fEe=Object.getOwnPropertyDescriptor,mEe=fEe&&!hEe.call({1:2},1);pEe.f=mEe?function(e){var t=fEe(this,e);return!!t&&t.enumerable}:hEe;var gEe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},vEe={}.toString,bEe=function(e){return vEe.call(e).slice(8,-1)},yEe=bEe,OEe="".split,wEe=cEe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==yEe(e)?OEe.call(e,""):Object(e)}:Object,_Ee=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},kEe=wEe,xEe=_Ee,SEe=function(e){return kEe(xEe(e))},PEe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},EEe=PEe,CEe=function(e,t){if(!EEe(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!EEe(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!EEe(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!EEe(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},FEe={}.hasOwnProperty,TEe=function(e,t){return FEe.call(e,t)},DEe=PEe,AEe=lEe.document,IEe=DEe(AEe)&&DEe(AEe.createElement),REe=function(e){return IEe?AEe.createElement(e):{}},LEe=REe,$Ee=!dEe&&!cEe((function(){return 7!=Object.defineProperty(LEe("div"),"a",{get:function(){return 7}}).a})),QEe=dEe,zEe=pEe,jEe=gEe,NEe=SEe,MEe=CEe,UEe=TEe,BEe=$Ee,qEe=Object.getOwnPropertyDescriptor;uEe.f=QEe?qEe:function(e,t){if(e=NEe(e),t=MEe(t,!0),BEe)try{return qEe(e,t)}catch(e){}if(UEe(e,t))return jEe(!zEe.f.call(e,t),e[t])};var GEe={},WEe=PEe,XEe=function(e){if(!WEe(e))throw TypeError(String(e)+" is not an object");return e},VEe=dEe,YEe=$Ee,ZEe=XEe,HEe=CEe,KEe=Object.defineProperty;GEe.f=VEe?KEe:function(e,t,n){if(ZEe(e),t=HEe(t,!0),ZEe(n),YEe)try{return KEe(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 JEe=GEe,eCe=gEe,tCe=dEe?function(e,t,n){return JEe.f(e,t,eCe(1,n))}:function(e,t,n){return e[t]=n,e},nCe={exports:{}},iCe=lEe,rCe=tCe,aCe=function(e,t){try{rCe(iCe,e,t)}catch(n){iCe[e]=t}return t},oCe=aCe,sCe="__core-js_shared__",lCe=lEe[sCe]||oCe(sCe,{}),uCe=lCe,cCe=Function.toString;"function"!=typeof uCe.inspectSource&&(uCe.inspectSource=function(e){return cCe.call(e)});var dCe=uCe.inspectSource,pCe=dCe,hCe=lEe.WeakMap,fCe="function"==typeof hCe&&/native code/.test(pCe(hCe)),mCe={exports:{}},gCe=lCe;(mCe.exports=function(e,t){return gCe[e]||(gCe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var vCe,bCe,yCe,OCe=0,wCe=Math.random(),_Ce=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++OCe+wCe).toString(36)},kCe=mCe.exports,xCe=_Ce,SCe=kCe("keys"),PCe=function(e){return SCe[e]||(SCe[e]=xCe(e))},ECe={},CCe=fCe,FCe=PEe,TCe=tCe,DCe=TEe,ACe=PCe,ICe=ECe,RCe=lEe.WeakMap;if(CCe){var LCe=new RCe,$Ce=LCe.get,QCe=LCe.has,zCe=LCe.set;vCe=function(e,t){return zCe.call(LCe,e,t),t},bCe=function(e){return $Ce.call(LCe,e)||{}},yCe=function(e){return QCe.call(LCe,e)}}else{var jCe=ACe("state");ICe[jCe]=!0,vCe=function(e,t){return TCe(e,jCe,t),t},bCe=function(e){return DCe(e,jCe)?e[jCe]:{}},yCe=function(e){return DCe(e,jCe)}}var NCe={set:vCe,get:bCe,has:yCe,enforce:function(e){return yCe(e)?bCe(e):vCe(e,{})},getterFor:function(e){return function(t){var n;if(!FCe(t)||(n=bCe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},MCe=lEe,UCe=tCe,BCe=TEe,qCe=aCe,GCe=dCe,WCe=NCe.get,XCe=NCe.enforce,VCe=String(String).split("String");(nCe.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,o=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||BCe(n,"name")||UCe(n,"name",t),XCe(n).source=VCe.join("string"==typeof t?t:"")),e!==MCe?(r?!o&&e[t]&&(a=!0):delete e[t],a?e[t]=n:UCe(e,t,n)):a?e[t]=n:qCe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&WCe(this).source||GCe(this)}));var YCe=lEe,ZCe=lEe,HCe=function(e){return"function"==typeof e?e:void 0},KCe=function(e,t){return arguments.length<2?HCe(YCe[e])||HCe(ZCe[e]):YCe[e]&&YCe[e][t]||ZCe[e]&&ZCe[e][t]},JCe={},eFe=Math.ceil,tFe=Math.floor,nFe=function(e){return isNaN(e=+e)?0:(e>0?tFe:eFe)(e)},iFe=nFe,rFe=Math.min,aFe=function(e){return e>0?rFe(iFe(e),9007199254740991):0},oFe=nFe,sFe=Math.max,lFe=Math.min,uFe=SEe,cFe=aFe,dFe=function(e,t){var n=oFe(e);return n<0?sFe(n+t,0):lFe(n,t)},pFe=function(e){return function(t,n,i){var r,a=uFe(t),o=cFe(a.length),s=dFe(i,o);if(e&&n!=n){for(;o>s;)if((r=a[s++])!=r)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},hFe={includes:pFe(!0),indexOf:pFe(!1)},fFe=TEe,mFe=SEe,gFe=hFe.indexOf,vFe=ECe,bFe=function(e,t){var n,i=mFe(e),r=0,a=[];for(n in i)!fFe(vFe,n)&&fFe(i,n)&&a.push(n);for(;t.length>r;)fFe(i,n=t[r++])&&(~gFe(a,n)||a.push(n));return a},yFe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],OFe=bFe,wFe=yFe.concat("length","prototype");JCe.f=Object.getOwnPropertyNames||function(e){return OFe(e,wFe)};var _Fe={};_Fe.f=Object.getOwnPropertySymbols;var kFe=JCe,xFe=_Fe,SFe=XEe,PFe=KCe("Reflect","ownKeys")||function(e){var t=kFe.f(SFe(e)),n=xFe.f;return n?t.concat(n(e)):t},EFe=TEe,CFe=PFe,FFe=uEe,TFe=GEe,DFe=cEe,AFe=/#|\.prototype\./,IFe=function(e,t){var n=LFe[RFe(e)];return n==QFe||n!=$Fe&&("function"==typeof t?DFe(t):!!t)},RFe=IFe.normalize=function(e){return String(e).replace(AFe,".").toLowerCase()},LFe=IFe.data={},$Fe=IFe.NATIVE="N",QFe=IFe.POLYFILL="P",zFe=IFe,jFe=lEe,NFe=uEe.f,MFe=tCe,UFe=nCe.exports,BFe=aCe,qFe=function(e,t){for(var n=CFe(t),i=TFe.f,r=FFe.f,a=0;a<n.length;a++){var o=n[a];EFe(e,o)||i(e,o,r(t,o))}},GFe=zFe,WFe=function(e,t){var n,i,r,a,o,s=e.target,l=e.global,u=e.stat;if(n=l?jFe:u?jFe[s]||BFe(s,{}):(jFe[s]||{}).prototype)for(i in t){if(a=t[i],r=e.noTargetGet?(o=NFe(n,i))&&o.value:n[i],!GFe(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof a==typeof r)continue;qFe(a,r)}(e.sham||r&&r.sham)&&MFe(a,"sham",!0),UFe(n,i,a,e)}},XFe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},VFe=_Ee,YFe=function(e){return Object(VFe(e))},ZFe=XFe,HFe=YFe,KFe=wEe,JFe=aFe,eTe=function(e){return function(t,n,i,r){ZFe(n);var a=HFe(t),o=KFe(a),s=JFe(a.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in o){r=o[l],l+=u;break}if(l+=u,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=u)l in o&&(r=n(r,o[l],l,a));return r}},tTe={left:eTe(!1),right:eTe(!0)},nTe=cEe,iTe=function(e,t){var n=[][e];return!!n&&nTe((function(){n.call(null,t||function(){throw 1},1)}))},rTe=dEe,aTe=cEe,oTe=TEe,sTe=Object.defineProperty,lTe={},uTe=function(e){throw e},cTe=WFe,dTe=tTe.left,pTe=function(e,t){if(oTe(lTe,e))return lTe[e];t||(t={});var n=[][e],i=!!oTe(t,"ACCESSORS")&&t.ACCESSORS,r=oTe(t,0)?t[0]:uTe,a=oTe(t,1)?t[1]:void 0;return lTe[e]=!!n&&!aTe((function(){if(i&&!rTe)return!0;var e={length:-1};i?sTe(e,1,{enumerable:!0,get:uTe}):e[1]=1,n.call(e,r,a)}))},hTe=iTe("reduce"),fTe=pTe("reduce",{1:0});cTe({target:"Array",proto:!0,forced:!hTe||!fTe},{reduce:function(e){return dTe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var mTe=bFe,gTe=yFe,vTe=Object.keys||function(e){return mTe(e,gTe)},bTe=dEe,yTe=cEe,OTe=vTe,wTe=_Fe,_Te=pEe,kTe=YFe,xTe=wEe,STe=Object.assign,PTe=Object.defineProperty,ETe=!STe||yTe((function(){if(bTe&&1!==STe({b:1},STe(PTe({},"a",{enumerable:!0,get:function(){PTe(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!=STe({},e)[n]||OTe(STe({},t)).join("")!=i}))?function(e,t){for(var n=kTe(e),i=arguments.length,r=1,a=wTe.f,o=_Te.f;i>r;)for(var s,l=xTe(arguments[r++]),u=a?OTe(l).concat(a(l)):OTe(l),c=u.length,d=0;c>d;)s=u[d++],bTe&&!o.call(l,s)||(n[s]=l[s]);return n}:STe,CTe=ETe;WFe({target:"Object",stat:!0,forced:Object.assign!==CTe},{assign:CTe});var FTe=cEe,TTe=!!Object.getOwnPropertySymbols&&!FTe((function(){return!String(Symbol())})),DTe=TTe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ATe=lEe,ITe=mCe.exports,RTe=TEe,LTe=_Ce,$Te=TTe,QTe=DTe,zTe=ITe("wks"),jTe=ATe.Symbol,NTe=QTe?jTe:jTe&&jTe.withoutSetter||LTe,MTe=function(e){return RTe(zTe,e)||($Te&&RTe(jTe,e)?zTe[e]=jTe[e]:zTe[e]=NTe("Symbol."+e)),zTe[e]},UTe=PEe,BTe=bEe,qTe=MTe("match"),GTe=function(e){var t;return UTe(e)&&(void 0!==(t=e[qTe])?!!t:"RegExp"==BTe(e))},WTe=GTe,XTe=function(e){if(WTe(e))throw TypeError("The method doesn't accept regular expressions");return e},VTe=MTe("match"),YTe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[VTe]=!1,"/./"[e](t)}catch(e){}}return!1},ZTe=XTe,HTe=_Ee;function KTe(e,t){var n=e||[],i=t||[],r=n.map((function(e){return e.id})),a=i.filter((function(e){return!r.includes(e.id)}));return n.concat(a)}WFe({target:"String",proto:!0,forced:!YTe("includes")},{includes:function(e){return!!~String(HTe(this)).indexOf(ZTe(e),arguments.length>1?arguments[1]:void 0)}});var JTe,eDe=GEe,tDe=XEe,nDe=vTe,iDe=dEe?Object.defineProperties:function(e,t){tDe(e);for(var n,i=nDe(t),r=i.length,a=0;r>a;)eDe.f(e,n=i[a++],t[n]);return e},rDe=KCe("document","documentElement"),aDe=XEe,oDe=iDe,sDe=yFe,lDe=ECe,uDe=rDe,cDe=REe,dDe=PCe("IE_PROTO"),pDe=function(){},hDe=function(e){return"<script>"+e+"</"+"script>"},fDe=function(){try{JTe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;fDe=JTe?function(e){e.write(hDe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(JTe):((t=cDe("iframe")).style.display="none",uDe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(hDe("document.F=Object")),e.close(),e.F);for(var n=sDe.length;n--;)delete fDe.prototype[sDe[n]];return fDe()};lDe[dDe]=!0;var mDe=Object.create||function(e,t){var n;return null!==e?(pDe.prototype=aDe(e),n=new pDe,pDe.prototype=null,n[dDe]=e):n=fDe(),void 0===t?n:oDe(n,t)},gDe=mDe,vDe=GEe,bDe=MTe("unscopables"),yDe=Array.prototype;null==yDe[bDe]&&vDe.f(yDe,bDe,{configurable:!0,value:gDe(null)});var ODe,wDe,_De,kDe=function(e){yDe[bDe][e]=!0},xDe={},SDe=!cEe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),PDe=TEe,EDe=YFe,CDe=SDe,FDe=PCe("IE_PROTO"),TDe=Object.prototype,DDe=CDe?Object.getPrototypeOf:function(e){return e=EDe(e),PDe(e,FDe)?e[FDe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?TDe:null},ADe=DDe,IDe=tCe,RDe=TEe,LDe=MTe("iterator"),$De=!1;[].keys&&("next"in(_De=[].keys())?(wDe=ADe(ADe(_De)))!==Object.prototype&&(ODe=wDe):$De=!0),null==ODe&&(ODe={}),RDe(ODe,LDe)||IDe(ODe,LDe,(function(){return this}));var QDe={IteratorPrototype:ODe,BUGGY_SAFARI_ITERATORS:$De},zDe=GEe.f,jDe=TEe,NDe=MTe("toStringTag"),MDe=function(e,t,n){e&&!jDe(e=n?e:e.prototype,NDe)&&zDe(e,NDe,{configurable:!0,value:t})},UDe=QDe.IteratorPrototype,BDe=mDe,qDe=gEe,GDe=MDe,WDe=xDe,XDe=function(){return this},VDe=PEe,YDe=XEe,ZDe=function(e){if(!VDe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},HDe=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 YDe(n),ZDe(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),KDe=WFe,JDe=function(e,t,n){var i=t+" Iterator";return e.prototype=BDe(UDe,{next:qDe(1,n)}),GDe(e,i,!1),WDe[i]=XDe,e},eAe=DDe,tAe=HDe,nAe=MDe,iAe=tCe,rAe=nCe.exports,aAe=xDe,oAe=QDe.IteratorPrototype,sAe=QDe.BUGGY_SAFARI_ITERATORS,lAe=MTe("iterator"),uAe="keys",cAe="values",dAe="entries",pAe=function(){return this},hAe=SEe,fAe=kDe,mAe=xDe,gAe=NCe,vAe=function(e,t,n,i,r,a,o){JDe(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!sAe&&e in h)return h[e];switch(e){case uAe:case cAe:case dAe:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,f=h[lAe]||h["@@iterator"]||r&&h[r],m=!sAe&&f||c(r),g="Array"==t&&h.entries||f;if(g&&(s=eAe(g.call(new e)),oAe!==Object.prototype&&s.next&&(eAe(s)!==oAe&&(tAe?tAe(s,oAe):"function"!=typeof s[lAe]&&iAe(s,lAe,pAe)),nAe(s,d,!0))),r==cAe&&f&&f.name!==cAe&&(p=!0,m=function(){return f.call(this)}),h[lAe]!==m&&iAe(h,lAe,m),aAe[t]=m,r)if(l={values:c(cAe),keys:a?m:c(uAe),entries:c(dAe)},o)for(u in l)(sAe||p||!(u in h))&&rAe(h,u,l[u]);else KDe({target:t,proto:!0,forced:sAe||p},l);return l},bAe="Array Iterator",yAe=gAe.set,OAe=gAe.getterFor(bAe),wAe=vAe(Array,"Array",(function(e,t){yAe(this,{type:bAe,target:hAe(e),index:0,kind:t})}),(function(){var e=OAe(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");mAe.Arguments=mAe.Array,fAe("keys"),fAe("values"),fAe("entries");var _Ae=lEe,kAe={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},xAe=wAe,SAe=tCe,PAe=MTe,EAe=PAe("iterator"),CAe=PAe("toStringTag"),FAe=xAe.values;for(var TAe in kAe){var DAe=_Ae[TAe],AAe=DAe&&DAe.prototype;if(AAe){if(AAe[EAe]!==FAe)try{SAe(AAe,EAe,FAe)}catch(e){AAe[EAe]=FAe}if(AAe[CAe]||SAe(AAe,CAe,TAe),kAe[TAe])for(var IAe in xAe)if(AAe[IAe]!==xAe[IAe])try{SAe(AAe,IAe,xAe[IAe])}catch(e){AAe[IAe]=xAe[IAe]}}}var RAe,LAe,$Ae,QAe,zAe,jAe,NAe,MAe,UAe,BAe,qAe,GAe,WAe,XAe,VAe,YAe,ZAe,HAe,KAe,JAe=function(e){var n=zC().formatMessage;return t.jsx(i.TooltipHost,HPe({},e,{className:void 0,role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||n({id:e.resourceKey},e.values||{}):null,calloutProps:{calloutWidth:e.width,hidden:e.hidden},dir:"auto"},{children:e.children}),void 0)},eIe=function(e){return n.css(zAe||(zAe=nEe(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?n.css(RAe||(RAe=nEe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):n.css(LAe||(LAe=nEe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Ale),(null==e?void 0:e.color)?n.css($Ae||($Ae=nEe(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):n.css(QAe||(QAe=nEe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,Ere,Cre)},tIe=function(e){var n=e.tooltipResourceKey,i=e.className,r=KPe(e,["tooltipResourceKey","className"]);return t.jsx(JAe,HPe({resourceKey:n,className:i},{children:t.jsx(nIe,HPe({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},nIe=m.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(jAe||(jAe=nEe(["\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"])),eIe(),6,15,qre,(function(e){return e.readOnly?"inherit":"pointer"})),iIe=m.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(NAe||(NAe=nEe(["\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})),rIe=function(e){var n=e.showDialog,r=e.onClose,a=e.onClosed,o=e.handleSave,s=e.titleResource,l=e.disableSave,u=e.saveButtonResourceId,c=e.children,d=e.className,p=zC().formatMessage;return t.jsxs(rEe,HPe({hidden:!n,modalProps:{isBlocking:!0,onDismissed:a},dialogContentProps:{type:i.DialogType.normal,title:p({id:s})},onDismiss:r},{children:[t.jsx(aIe,HPe({className:d},{children:c}),void 0),t.jsxs(i.DialogFooter,{children:[t.jsx(i.DefaultButton,HPe({onClick:r,"data-button":"cancel"},{children:t.jsx(rF,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(i.PrimaryButton,HPe({disabled:l,onClick:o,"data-button":"save"},{children:t.jsx(rF,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},aIe=m.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(MAe||(MAe=nEe(["\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"])),Cre),oIe=m.default(rIe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(UAe||(UAe=nEe(["\n width: 400px;\n"],["\n width: 400px;\n"]))),sIe=m.default(i.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(BAe||(BAe=nEe(["\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})),lIe=function(e){var n=e.checked,i=e.readOnly,r=e.onChange,a=e.className,o=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,u=e.ariaLabelResourceKey,c=zC().formatMessage,d=n?s||o||"CheckboxComposite":o||"Checkbox";return t.jsx(uIe,HPe({className:a},{children:i?t.jsx(dIe,{},void 0):t.jsx(JAe,HPe({resourceKey:l},{children:t.jsx(cIe,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},uIe=m.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(qAe||(qAe=nEe(["\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"]))),cIe=m.default(sIe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(GAe||(GAe=nEe(["\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"])),Ure,20),dIe=m.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(WAe||(WAe=nEe(["\n width: 22px;\n"],["\n width: 22px;\n"]))),pIe=n.css(XAe||(XAe=nEe(["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"],["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),hIe=m.default(i.Link).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(VAe||(VAe=nEe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),pIe),fIe=m.default(a.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(YAe||(YAe=nEe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),pIe),mIe=n.css(ZAe||(ZAe=nEe(["\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),gIe=function(){var e=Yle().hideNotification,n=r.useContext(Vle),i=n.isNotificationBarVisible,a=KPe(n,["isNotificationBarVisible"]),o=zC().formatMessage,s=a.messageId||a.text;return i?t.jsx(vIe,HPe({className:"notification-wrapper","data-notification-bar":!0},{children:t.jsx(bIe,HPe({messageBarType:a.messageBarType,className:a.className,actions:a.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:o({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&t.jsx(JAe,HPe({text:a.text,resourceKey:a.messageId,values:a.messageValues},{children:a.text||t.jsx(rF,{id:a.messageId,values:a.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},vIe=m.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(HAe||(HAe=nEe(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),bIe=m.default(i.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(KAe||(KAe=nEe(["\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"])),mIe,Bre,Ure,Ure,Bre,Ure,qre,Fre,20),yIe=function(e){var n,a=zC().formatMessage,o=ste(),s=ote(),l=Kte(),u=l.searchAccounts,c=l.getUserAvatarUrl,d=r.useRef(),p=FI();r.useEffect((function(){e.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,e.autoFocus]);var h=(null===(n=s.subscription.directories)||void 0===n?void 0:n.length)>1,f=!e.selectionMode||e.selectionMode===i.SelectionMode.multiple,m=e.selectedItems||[],g=h,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!==Uee.Group?t.userPrincipalName:null,mail:Ate(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));e.onChange&&e.onChange(n)}(t)},pickerSuggestionsProps:{noResultsFoundText:a({id:"Generic.noResultsFound"}),searchForMoreText:g&&!e.localOnly?a({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:a({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:e.disabled,pickerCalloutProps:{calloutMaxWidth:p.width<Qre?300:0,className:"lt-reach-picker-callout"},inputProps:{id:e.inputId,required:e.required,"aria-required":e.required,"aria-label":e.inputAriaLabelResourceKey?a({id:e.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:a({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=a({id:e.placeholderStringResourceKey})),e.selectedItems&&(v.selectedItems=m.map((function(e){return b(e)}))),t.jsx(wIe,HPe({className:za(e.className,"people-picker")},{children:t.jsx(i.NormalPeoplePicker,HPe({},v,{componentRef:d,itemLimit:f?void 0:1}),void 0)}),void 0);function b(e){var t=Ate(e.mail)?null:e.mail,n=Ate(e.userPrincipalName)?null:e.userPrincipalName,i=TP(e.displayName||e.mail||e.userPrincipalName),r=e.type===Uee.User?n:e.type===Uee.Group?t:null,a={id:e.id,tokenUniqueId:e.tokenUniqueId,tenantId:e.tenantId,userPrincipalName:e.userPrincipalName,text:e.displayName||e.mail,secondaryText:(r||"")+(t&&t!==r?" ("+t+")":""),tertiaryText:t,imageInitials:i,initialsColor:DP(i),key:r,accountType:e.type,authenticationType:e.authenticationType};return o.avatars&&c(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function y(t,n){return JPe(this,void 0,void 0,(function(){var i,r,a;return eEe(this,(function(o){switch(o.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&gP(t)&&{mail:t,userPrincipalName:t,displayName:t,type:Uee.User},o.label=1;case 1:return o.trys.push([1,3,,4]),[4,u({search:t,type:e.accountType,includePendingInvitationUsers:e.includePendingInvitationUsers,includePendingRegistrationUsers:e.includePendingRegistrationUsers,localOnly:e.localOnly||n,excludeApiUsers:e.excludeApiUsers})];case 2:return r=o.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&&(a=e.additionalSearch(t))&&(r=r.concat(a)),[2,O(r).map(b)];case 3:return o.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 OIe,wIe=m.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(OIe||(OIe=nEe(["\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"]))),_Ie=WFe,kIe=uEe.f,xIe=aFe,SIe=XTe,PIe=_Ee,EIe=YTe,CIe="".startsWith,FIe=Math.min,TIe=EIe("startsWith"),DIe=!TIe&&!!function(){var e=kIe(String.prototype,"startsWith");return e&&!e.writable}();_Ie({target:"String",proto:!0,forced:!DIe&&!TIe},{startsWith:function(e){var t=String(PIe(this));SIe(e);var n=xIe(FIe(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return CIe?CIe.call(t,i,n):t.slice(n,n+i.length)===i}});var AIe=XEe,IIe=function(){var e=AIe(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},RIe=nCe.exports,LIe=XEe,$Ie=cEe,QIe=IIe,zIe="toString",jIe=RegExp.prototype,NIe=jIe.toString,MIe=$Ie((function(){return"/a/b"!=NIe.call({source:"a",flags:"b"})})),UIe=NIe.name!=zIe;(MIe||UIe)&&RIe(RegExp.prototype,zIe,(function(){var e=LIe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in jIe)?QIe.call(e):n)}),{unsafe:!0});var BIe,qIe=function(e){var n=e.fileName,i=e.url;return t.jsx(GIe,HPe({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:t.jsx("span",{children:n},void 0)}),void 0)},GIe=m.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(BIe||(BIe=nEe(["\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}),Ere),WIe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;return i?t.jsxs(HIe,HPe({className:"lt-reach-embedded-audio"},{children:[t.jsx(qIe,{fileName:n,url:i},void 0),t.jsxs("audio",HPe({onPlay:function(){return null==r?void 0:r(i)},controls:!0,title:n,controlsList:"nodownload"},{children:[t.jsx("source",{src:i,type:"audio/mpeg"},void 0),t.jsx(rF,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function XIe(e){var t=BY.getType(e);return t&&t.toString().startsWith("audio/")}var VIe,YIe,ZIe,HIe=m.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(VIe||(VIe=nEe(["\n width: 100%;\n"],["\n width: 100%;\n"])));m.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(YIe||(YIe=nEe(["\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"])),Fre,Ere),m.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(ZIe||(ZIe=nEe(["\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"])),Fre,Fre,20,(function(e){return e.theme.textColors.default}));var KIe,JIe,eRe,tRe,nRe,iRe,rRe=function(e){var n=e.children,i=e.deleteButton,r=e.domIdentifier,a=e.backgroundColor,o=e.className;return t.jsxs(sRe,HPe({className:o},{children:[i&&t.jsx(oRe,{children:i},void 0),t.jsx(aRe,HPe({"data-attachment":r,backgroundColor:a},{children:n}),void 0)]}),void 0)},aRe=m.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(KIe||(KIe=nEe(["\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: "+e.backgroundColor+";":"background-color: "+e.theme.palette.white+";"})),oRe=m.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(JIe||(JIe=nEe(["\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),sRe=m.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(eRe||(eRe=nEe(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),Cre),lRe=m.default(i.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(tRe||(tRe=nEe(["\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}));m.default.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(nRe||(nRe=nEe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),m.default(lRe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(iRe||(iRe=nEe(["\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 uRe,cRe,dRe,pRe,hRe=function(e){var n=e.children,r=KPe(e,["children"]);return t.jsx(i.FocusTrapCallout,HPe({},r,{className:za(d4,"lt-reach-callout",null==r?void 0:r.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},fRe=function(e){var n=zC().formatMessage,a=r.useState(!1),o=a[0],s=a[1],l=r.useContext(jle).theme.palette.accent;return t.jsxs(rEe,HPe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!e.hideCloseButton,type:e.hideCloseButton?i.DialogType.normal:i.DialogType.close,title:n({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[t.jsx(mRe,{children:t.jsx(rF,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues},void 0)},void 0),t.jsx(gRe,{"data-verify-item-input":!0,onChange:function(t,n){var i=n===e.compareValue;i!==o&&s(i)},ariaLabel:n({id:e.inputAriaLabelResourceKey})},void 0),e.children,t.jsxs(i.DialogFooter,{children:[t.jsx(i.DefaultButton,HPe({onClick:e.onCancel,disabled:e.disabled},{children:t.jsx(rF,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(vRe,HPe({onClick:e.onConfirm,"data-delete-button":!0,disabled:!o||e.disabled},{children:t.jsx(rF,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},mRe=m.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(uRe||(uRe=nEe(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),gRe=m.default(i.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(cRe||(cRe=nEe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Cre),vRe=m.default(i.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(dRe||(dRe=nEe(["\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})),bRe=function(e){var n=e.showDialog,a=e.titleResourceKey,o=e.titleResourceValues,s=e.infoResourceKey,l=e.infoResourceValues,u=e.onConfirm,c=e.onClose,d=e.width,p=e.children,h=zC().formatMessage,f=r.useContext(jle).theme.palette.accent;return t.jsxs(rEe,HPe({hidden:!n,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:i.DialogType.normal,subText:s?h({id:s},l):"",title:h({id:a},o),titleProps:{style:{color:f}}},onDismiss:c},{children:[p,t.jsxs(i.DialogFooter,{children:[t.jsx(i.DefaultButton,HPe({onClick:c,"data-cancel-button":!0},{children:t.jsx(rF,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(i.PrimaryButton,HPe({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:t.jsx(rF,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},yRe=function(e){var n=e.onConfirm,a=e.onCancel,o=zC().formatMessage,s=r.useContext(jle).theme.palette.accent;return t.jsx(rEe,HPe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:i.DialogType.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:a},{children:t.jsxs(ORe,{children:[t.jsx(rF,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),t.jsxs(i.DialogFooter,{children:[t.jsx(i.PrimaryButton,HPe({onClick:n},{children:t.jsx(rF,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),t.jsx(i.DefaultButton,HPe({onClick:a},{children:t.jsx(rF,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},ORe=m.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(pRe||(pRe=nEe(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),wRe=function(e){var n=e.value,i=r.useContext(vF).language,a=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=HPe(HPe({},SRe),n||{}),r=(+e-+t)/1e3;if(Math.abs(r)<i.second)return{value:Math.round(r),unit:"second"};var a=r/60;if(Math.abs(a)<i.minute)return{value:Math.round(a),unit:"minute"};var o=r/_Re;if(Math.abs(o)<i.hour)return{value:Math.round(o),unit:"hour"};var s=r/kRe;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/xRe;if(Math.round(Math.abs(l))>0&&Math.abs(l)<i.week)return{value:Math.round(l),unit:"week"};var u=new Date(e),c=new Date(t),d=u.getFullYear()-c.getFullYear(),p=12*d+u.getMonth()-c.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"}}(n),o=a.value,s=a.unit;return t.jsx(XC,HPe({locale:i},{children:t.jsx(tF,{value:o,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)},_Re=3600,kRe=86400,xRe=604800;var SRe={second:45,minute:45,hour:22,day:6,week:4,month:12};var PRe,ERe,CRe=function(e){var n,i,a=(n=e.value,i=e.dateOnly,r.useMemo((function(){var e=IP(n),t=tu(e,{year:"numeric",month:"long",day:"numeric",weekday:"long",hour:i?void 0:"numeric",minute:i?void 0:"numeric"},{locale:Mee()}),r={dateTime:e.toISOString(),title:t};return{date:e,timeProps:r}}),[i,n])),o=a.date,s=a.timeProps,l=!e.showAsAbsolute&&(e.showAsRelative||RP(e.value))&&!e.dateOnly;return!e.showWeekDay&&l?t.jsx(TRe,HPe({className:za(e.className)},s,{dir:"auto"},{children:t.jsx(wRe,{value:o},void 0)}),void 0):t.jsxs(TRe,HPe({className:za(e.className)},s,{dir:"auto"},{children:[t.jsx(aF,{weekday:e.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:o},void 0),!e.dateOnly&&t.jsxs(t.Fragment,{children:[" ",t.jsx(oF,{value:o},void 0)]},void 0)]}),void 0)},FRe=function(e){var n=e.startDate,i=e.endDate,r=e.dateOnly,a=e.className;if(!n)return null;if(!i)return t.jsx("div",HPe({className:a,dir:"auto"},{children:t.jsx(CRe,{value:n,showWeekDay:!0,dateOnly:r},void 0)}),void 0);var o=new Date(n),s=new Date(i);return ss(o,s)?t.jsxs("div",HPe({className:a,dir:"auto"},{children:[t.jsx(CRe,{value:n,showWeekDay:!0,dateOnly:r},void 0),!r&&t.jsxs(t.Fragment,{children:[" - ",t.jsx(oF,{value:s},void 0)]},void 0)]}),void 0):t.jsxs("div",HPe({className:a,dir:"auto"},{children:[t.jsx(CRe,{value:n,showWeekDay:!0,dateOnly:r},void 0)," - ",t.jsx(CRe,{value:i,showWeekDay:!0,dateOnly:r},void 0)]}),void 0)},TRe=m.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(PRe||(PRe=nEe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));m.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(ERe||(ERe=nEe(["\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}),Ale);var DRe,ARe,IRe,RRe,LRe,$Re,QRe,zRe=function(e){var n,r=e.children,a=KPe(e,["children"]);return t.jsx(i.Dropdown,HPe({},a,{calloutProps:HPe(HPe({},a.calloutProps||{}),{className:za(d4,"lt-reach-dropdown",null===(n=a.calloutProps)||void 0===n?void 0:n.className)})},{children:r}),void 0)},jRe=function(e){var n=e.svg,r=e.icon,a=e.styleDefinition,o=e.emptyMessageResources,s=void 0===o?["EmptySearchResult.info1","EmptySearchResult.info2"]:o,l=e.additionalButton,u=e.className,c=(null==a?void 0:a.size)||"large";return t.jsx(NRe,HPe({className:u,offset:null==a?void 0:a.offset,"data-nothing-found":!0},{children:t.jsxs(MRe,HPe({hasLargeParagraphStyle:!r,hasLargeSvgStyle:"large"===c},{children:[r&&t.jsx(i.Icon,{iconName:r},void 0),!r&&n,s.map((function(e,n){return t.jsx("p",{children:t.jsx(rF,{id:e},void 0)},n)})),l]}),void 0)}),void 0)},NRe=m.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(IRe||(IRe=nEe(["\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?n.css(DRe||(DRe=nEe(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):n.css(ARe||(ARe=nEe(["\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 "])))})),MRe=m.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})($Re||($Re=nEe(["\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"])),Cre,qre,Ere,(function(e){return!e.hasLargeSvgStyle&&n.css(RRe||(RRe=nEe(["\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 "])),Ure,e.theme.palette.neutralSecondary,Fre)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&n.css(LRe||(LRe=nEe(["\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,Cre,(function(e){return e.theme.palette.accent}),Fre,Fre,Are)}),(function(e){return e.theme.palette.accent}),3,zre,24,Fre,Fre),URe=function(e,t){return null!=e&&(e&t)===t};m.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(QRe||(QRe=nEe(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var BRe=WFe,qRe=XFe,GRe=YFe,WRe=cEe,XRe=iTe,VRe=[],YRe=VRe.sort,ZRe=WRe((function(){VRe.sort(void 0)})),HRe=WRe((function(){VRe.sort(null)})),KRe=XRe("sort");BRe({target:"Array",proto:!0,forced:ZRe||!HRe||!KRe},{sort:function(e){return void 0===e?YRe.call(GRe(this)):YRe.call(GRe(this),qRe(e))}});var JRe=function(e){var n=e.languages,i=e.translations,r=e.onChange,a=e.placeholderStringResource,o=e.customPlaceholder,s=zC(),l=s.formatMessage;return t.jsx(t.Fragment,{children:_ne.apply(void 0,tEe([s],n)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(e){return t.jsx(aLe,{children:t.jsx(oLe,{"data-translation-field":e.code,placeholder:null!=o?o:l({id:a},{lang:e.localizedName}),label:e.localizedName,value:i[e.code],onChange:function(t,n){var a;r(HPe(HPe({},i),((a={})[e.code]=n,a)))},dir:"auto"},void 0)},e.code)}))},void 0)};m.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(eLe||(eLe=nEe(["\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 eLe,tLe,nLe,iLe,rLe,aLe=m.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(tLe||(tLe=nEe(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),oLe=m.default(i.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(nLe||(nLe=nEe(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));m.default.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(iLe||(iLe=nEe(["\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"]))),m.default.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(rLe||(rLe=nEe(["\n display: flex;\n"],["\n display: flex;\n"])));var sLe,lLe=function(e){var n=r.useState(null==e.delay),a=n[0],o=n[1];return r.useEffect((function(){if(null!=!e.delay){var t=setTimeout((function(){return o(!0)}),e.delay);return function(){return clearTimeout(t)}}}),[e.delay]),a?t.jsx(uLe,HPe({className:e.className},{children:t.jsx(i.Spinner,HPe({},e,{className:""}),void 0)}),void 0):null},uLe=m.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(sLe||(sLe=nEe(["\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"]))),cLe=lEe.Promise,dLe=nCe.exports,pLe=KCe,hLe=GEe,fLe=dEe,mLe=MTe("species"),gLe={exports:{}},vLe=xDe,bLe=MTe("iterator"),yLe=Array.prototype,OLe=XFe,wLe=function(e,t,n){if(OLe(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)}},_Le={};_Le[MTe("toStringTag")]="z";var kLe="[object z]"===String(_Le),xLe=bEe,SLe=MTe("toStringTag"),PLe="Arguments"==xLe(function(){return arguments}()),ELe=kLe?xLe: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),SLe))?n:PLe?xLe(t):"Object"==(i=xLe(t))&&"function"==typeof t.callee?"Arguments":i},CLe=ELe,FLe=xDe,TLe=MTe("iterator"),DLe=XEe,ALe=XEe,ILe=function(e){return void 0!==e&&(vLe.Array===e||yLe[bLe]===e)},RLe=aFe,LLe=wLe,$Le=function(e){if(null!=e)return e[TLe]||e["@@iterator"]||FLe[CLe(e)]},QLe=function(e,t,n,i){try{return i?t(DLe(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&DLe(r.call(e)),t}},zLe=function(e,t){this.stopped=e,this.result=t},jLe=gLe.exports=function(e,t,n,i,r){var a,o,s,l,u,c,d,p=LLe(t,n,i?2:1);if(r)a=e;else{if("function"!=typeof(o=$Le(e)))throw TypeError("Target is not iterable");if(ILe(o)){for(s=0,l=RLe(e.length);l>s;s++)if((u=i?p(ALe(d=e[s])[0],d[1]):p(e[s]))&&u instanceof zLe)return u;return new zLe(!1)}a=o.call(e)}for(c=a.next;!(d=c.call(a)).done;)if("object"==typeof(u=QLe(a,p,d.value,i))&&u&&u instanceof zLe)return u;return new zLe(!1)};jLe.stop=function(e){return new zLe(!0,e)};var NLe=MTe("iterator"),MLe=!1;try{var ULe=0,BLe={next:function(){return{done:!!ULe++}},return:function(){MLe=!0}};BLe[NLe]=function(){return this},Array.from(BLe,(function(){throw 2}))}catch(e){}var qLe,GLe,WLe,XLe=XEe,VLe=XFe,YLe=MTe("species"),ZLe=function(e,t){var n,i=XLe(e).constructor;return void 0===i||null==(n=XLe(i)[YLe])?t:VLe(n)},HLe=KCe("navigator","userAgent")||"",KLe=/(iphone|ipod|ipad).*applewebkit/i.test(HLe),JLe=lEe,e$e=cEe,t$e=bEe,n$e=wLe,i$e=rDe,r$e=REe,a$e=KLe,o$e=JLe.location,s$e=JLe.setImmediate,l$e=JLe.clearImmediate,u$e=JLe.process,c$e=JLe.MessageChannel,d$e=JLe.Dispatch,p$e=0,h$e={},f$e="onreadystatechange",m$e=function(e){if(h$e.hasOwnProperty(e)){var t=h$e[e];delete h$e[e],t()}},g$e=function(e){return function(){m$e(e)}},v$e=function(e){m$e(e.data)},b$e=function(e){JLe.postMessage(e+"",o$e.protocol+"//"+o$e.host)};s$e&&l$e||(s$e=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return h$e[++p$e]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},qLe(p$e),p$e},l$e=function(e){delete h$e[e]},"process"==t$e(u$e)?qLe=function(e){u$e.nextTick(g$e(e))}:d$e&&d$e.now?qLe=function(e){d$e.now(g$e(e))}:c$e&&!a$e?(WLe=(GLe=new c$e).port2,GLe.port1.onmessage=v$e,qLe=n$e(WLe.postMessage,WLe,1)):!JLe.addEventListener||"function"!=typeof postMessage||JLe.importScripts||e$e(b$e)||"file:"===o$e.protocol?qLe=f$e in r$e("script")?function(e){i$e.appendChild(r$e("script")).onreadystatechange=function(){i$e.removeChild(this),m$e(e)}}:function(e){setTimeout(g$e(e),0)}:(qLe=b$e,JLe.addEventListener("message",v$e,!1)));var y$e,O$e,w$e,_$e,k$e,x$e,S$e,P$e,E$e={set:s$e,clear:l$e},C$e=lEe,F$e=uEe.f,T$e=bEe,D$e=E$e.set,A$e=KLe,I$e=C$e.MutationObserver||C$e.WebKitMutationObserver,R$e=C$e.process,L$e=C$e.Promise,$$e="process"==T$e(R$e),Q$e=F$e(C$e,"queueMicrotask"),z$e=Q$e&&Q$e.value;z$e||(y$e=function(){var e,t;for($$e&&(e=R$e.domain)&&e.exit();O$e;){t=O$e.fn,O$e=O$e.next;try{t()}catch(e){throw O$e?_$e():w$e=void 0,e}}w$e=void 0,e&&e.enter()},$$e?_$e=function(){R$e.nextTick(y$e)}:I$e&&!A$e?(k$e=!0,x$e=document.createTextNode(""),new I$e(y$e).observe(x$e,{characterData:!0}),_$e=function(){x$e.data=k$e=!k$e}):L$e&&L$e.resolve?(S$e=L$e.resolve(void 0),P$e=S$e.then,_$e=function(){P$e.call(S$e,y$e)}):_$e=function(){D$e.call(C$e,y$e)});var j$e=z$e||function(e){var t={fn:e,next:void 0};w$e&&(w$e.next=t),O$e||(O$e=t,_$e()),w$e=t},N$e={},M$e=XFe,U$e=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=M$e(t),this.reject=M$e(n)};N$e.f=function(e){return new U$e(e)};var B$e,q$e,G$e=XEe,W$e=PEe,X$e=N$e,V$e=lEe,Y$e=HLe,Z$e=lEe.process,H$e=Z$e&&Z$e.versions,K$e=H$e&&H$e.v8;K$e?q$e=(B$e=K$e.split("."))[0]+B$e[1]:Y$e&&(!(B$e=Y$e.match(/Edge\/(\d+)/))||B$e[1]>=74)&&(B$e=Y$e.match(/Chrome\/(\d+)/))&&(q$e=B$e[1]);var J$e,eQe,tQe,nQe,iQe=q$e&&+q$e,rQe=WFe,aQe=lEe,oQe=KCe,sQe=cLe,lQe=nCe.exports,uQe=function(e,t,n){for(var i in t)dLe(e,i,t[i],n);return e},cQe=MDe,dQe=function(e){var t=pLe(e),n=hLe.f;fLe&&t&&!t[mLe]&&n(t,mLe,{configurable:!0,get:function(){return this}})},pQe=PEe,hQe=XFe,fQe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},mQe=bEe,gQe=dCe,vQe=gLe.exports,bQe=function(e,t){if(!t&&!MLe)return!1;var n=!1;try{var i={};i[NLe]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},yQe=ZLe,OQe=E$e.set,wQe=j$e,_Qe=function(e,t){if(G$e(e),W$e(t)&&t.constructor===e)return t;var n=X$e.f(e);return(0,n.resolve)(t),n.promise},kQe=function(e,t){var n=V$e.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},xQe=N$e,SQe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},PQe=NCe,EQe=zFe,CQe=iQe,FQe=MTe("species"),TQe="Promise",DQe=PQe.get,AQe=PQe.set,IQe=PQe.getterFor(TQe),RQe=sQe,LQe=aQe.TypeError,$Qe=aQe.document,QQe=aQe.process,zQe=oQe("fetch"),jQe=xQe.f,NQe=jQe,MQe="process"==mQe(QQe),UQe=!!($Qe&&$Qe.createEvent&&aQe.dispatchEvent),BQe="unhandledrejection",qQe=EQe(TQe,(function(){if(!(gQe(RQe)!==String(RQe))){if(66===CQe)return!0;if(!MQe&&"function"!=typeof PromiseRejectionEvent)return!0}if(CQe>=51&&/native code/.test(RQe))return!1;var e=RQe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[FQe]=t,!(e.then((function(){}))instanceof t)})),GQe=qQe||!bQe((function(e){RQe.all(e).catch((function(){}))})),WQe=function(e){var t;return!(!pQe(e)||"function"!=typeof(t=e.then))&&t},XQe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;wQe((function(){for(var r=t.value,a=1==t.state,o=0;i.length>o;){var s,l,u,c=i[o++],d=a?c.ok:c.fail,p=c.resolve,h=c.reject,f=c.domain;try{d?(a||(2===t.rejection&&HQe(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?h(LQe("Promise-chain cycle")):(l=WQe(s))?l.call(s,p,h):p(s)):h(r)}catch(e){f&&!u&&f.exit(),h(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&YQe(e,t)}))}},VQe=function(e,t,n){var i,r;UQe?((i=$Qe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),aQe.dispatchEvent(i)):i={promise:t,reason:n},(r=aQe["on"+e])?r(i):e===BQe&&kQe("Unhandled promise rejection",n)},YQe=function(e,t){OQe.call(aQe,(function(){var n,i=t.value;if(ZQe(t)&&(n=SQe((function(){MQe?QQe.emit("unhandledRejection",i,e):VQe(BQe,e,i)})),t.rejection=MQe||ZQe(t)?2:1,n.error))throw n.value}))},ZQe=function(e){return 1!==e.rejection&&!e.parent},HQe=function(e,t){OQe.call(aQe,(function(){MQe?QQe.emit("rejectionHandled",e):VQe("rejectionhandled",e,t.value)}))},KQe=function(e,t,n,i){return function(r){e(t,n,r,i)}},JQe=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,XQe(e,t,!0))},eze=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw LQe("Promise can't be resolved itself");var r=WQe(n);r?wQe((function(){var i={done:!1};try{r.call(n,KQe(eze,e,i,t),KQe(JQe,e,i,t))}catch(n){JQe(e,i,n,t)}})):(t.value=n,t.state=1,XQe(e,t,!1))}catch(n){JQe(e,{done:!1},n,t)}}};qQe&&(RQe=function(e){fQe(this,RQe,TQe),hQe(e),J$e.call(this);var t=DQe(this);try{e(KQe(eze,this,t),KQe(JQe,this,t))}catch(e){JQe(this,t,e)}},(J$e=function(e){AQe(this,{type:TQe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=uQe(RQe.prototype,{then:function(e,t){var n=IQe(this),i=jQe(yQe(this,RQe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=MQe?QQe.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&XQe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),eQe=function(){var e=new J$e,t=DQe(e);this.promise=e,this.resolve=KQe(eze,e,t),this.reject=KQe(JQe,e,t)},xQe.f=jQe=function(e){return e===RQe||e===tQe?new eQe(e):NQe(e)},"function"==typeof sQe&&(nQe=sQe.prototype.then,lQe(sQe.prototype,"then",(function(e,t){var n=this;return new RQe((function(e,t){nQe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof zQe&&rQe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return _Qe(RQe,zQe.apply(aQe,arguments))}}))),rQe({global:!0,wrap:!0,forced:qQe},{Promise:RQe}),cQe(RQe,TQe,!1),dQe(TQe),tQe=oQe(TQe),rQe({target:TQe,stat:!0,forced:qQe},{reject:function(e){var t=jQe(this);return t.reject.call(void 0,e),t.promise}}),rQe({target:TQe,stat:!0,forced:qQe},{resolve:function(e){return _Qe(this,e)}}),rQe({target:TQe,stat:!0,forced:GQe},{all:function(e){var t=this,n=jQe(t),i=n.resolve,r=n.reject,a=SQe((function(){var n=hQe(t.resolve),a=[],o=0,s=1;vQe(e,(function(e){var l=o++,u=!1;a.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,a[l]=e,--s||i(a))}),r)})),--s||i(a)}));return a.error&&r(a.value),n.promise},race:function(e){var t=this,n=jQe(t),i=n.reject,r=SQe((function(){var r=hQe(t.resolve);vQe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var tze={},nze=cEe;function ize(e,t){return RegExp(e,t)}tze.UNSUPPORTED_Y=nze((function(){var e=ize("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),tze.BROKEN_CARET=nze((function(){var e=ize("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var rze=IIe,aze=tze,oze=RegExp.prototype.exec,sze=String.prototype.replace,lze=oze,uze=function(){var e=/a/,t=/b*/g;return oze.call(e,"a"),oze.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),cze=aze.UNSUPPORTED_Y||aze.BROKEN_CARET,dze=void 0!==/()??/.exec("")[1];(uze||dze||cze)&&(lze=function(e){var t,n,i,r,a=this,o=cze&&a.sticky,s=rze.call(a),l=a.source,u=0,c=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),dze&&(n=new RegExp("^"+l+"$(?!\\s)",s)),uze&&(t=a.lastIndex),i=oze.call(o?n:a,c),o?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:uze&&i&&(a.lastIndex=a.global?i.index+i[0].length:t),dze&&i&&i.length>1&&sze.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var pze=lze;WFe({target:"RegExp",proto:!0,forced:/./.exec!==pze},{exec:pze});var hze,fze=nCe.exports,mze=cEe,gze=MTe,vze=pze,bze=tCe,yze=gze("species"),Oze=!mze((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),wze="$0"==="a".replace(/./,"$0"),_ze=gze("replace"),kze=!!/./[_ze]&&""===/./[_ze]("a","$0"),xze=!mze((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]})),Sze=function(e,t,n,i){var r=gze(e),a=!mze((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),o=a&&!mze((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[yze]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!a||!o||"replace"===e&&(!Oze||!wze||kze)||"split"===e&&!xze){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===vze?a&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:wze,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:kze}),u=l[0],c=l[1];fze(String.prototype,e,u),fze(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&bze(RegExp.prototype[r],"sham",!0)},Pze=nFe,Eze=_Ee,Cze=function(e){return function(t,n){var i,r,a=String(Eze(t)),o=Pze(n),s=a.length;return o<0||o>=s?e?"":void 0:(i=a.charCodeAt(o))<55296||i>56319||o+1===s||(r=a.charCodeAt(o+1))<56320||r>57343?e?a.charAt(o):i:e?a.slice(o,o+2):r-56320+(i-55296<<10)+65536}},Fze={codeAt:Cze(!1),charAt:Cze(!0)}.charAt,Tze=function(e,t,n){return t+(n?Fze(e,t).length:1)},Dze=bEe,Aze=pze,Ize=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"!==Dze(e))throw TypeError("RegExp#exec called on incompatible receiver");return Aze.call(e,t)},Rze=Sze,Lze=GTe,$ze=XEe,Qze=_Ee,zze=ZLe,jze=Tze,Nze=aFe,Mze=Ize,Uze=pze,Bze=cEe,qze=[].push,Gze=Math.min,Wze=4294967295,Xze=!Bze((function(){return!RegExp(Wze,"y")}));Rze("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(Qze(this)),r=void 0===n?Wze:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!Lze(e))return t.call(i,e,r);for(var a,o,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(a=Uze.call(d,i))&&!((o=d.lastIndex)>c&&(l.push(i.slice(c,a.index)),a.length>1&&a.index<i.length&&qze.apply(l,a.slice(1)),s=a[0].length,c=o,l.length>=r));)d.lastIndex===a.index&&d.lastIndex++;return c===i.length?!s&&d.test("")||l.push(""):l.push(i.slice(c)),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=Qze(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,r,n):i.call(String(r),t,n)},function(e,r){var a=n(i,e,this,r,i!==t);if(a.done)return a.value;var o=$ze(e),s=String(this),l=zze(o,RegExp),u=o.unicode,c=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Xze?"y":"g"),d=new l(Xze?o:"^(?:"+o.source+")",c),p=void 0===r?Wze:r>>>0;if(0===p)return[];if(0===s.length)return null===Mze(d,s)?[s]:[];for(var h=0,f=0,m=[];f<s.length;){d.lastIndex=Xze?f:0;var g,v=Mze(d,Xze?s:s.slice(f));if(null===v||(g=Gze(Nze(d.lastIndex+(Xze?0:f)),s.length))===h)f=jze(s,f,u);else{if(m.push(s.slice(h,f)),m.length===p)return m;for(var b=1;b<=v.length-1;b++)if(m.push(v[b]),m.length===p)return m;f=h=g}}return m.push(s.slice(h)),m}]}),!Xze),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(hze||(hze={}));var Vze=function(e){var n=e.fileName,i=e.url,r=e.onPlay;if(!i)return null;var a="safari"===lO?i+"#t=0.1":i;return t.jsxs("div",HPe({className:"lt-reach-embedded-video"},{children:[t.jsx(qIe,{fileName:n,url:i},void 0),t.jsxs("video",HPe({onPlay:function(){return null==r?void 0:r(i)},preload:"metadata",controls:!0,title:n,width:"auto",height:"auto"},{children:[t.jsx("source",{src:a,type:"video/mp4"},void 0),t.jsx(rF,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function Yze(e){var t,n="mac"===sd.deviceInfo.operatingSystem,i=null===(t=BY.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(hze.mp4)||(n?i.startsWith(hze.quicktime):i.startsWith(hze.webm)))}var Zze,Hze,Kze=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},Jze=function(e){return"\n &:-moz-placeholder {\n "+e+";\n }\n &::-moz-placeholder {\n "+e+";\n }\n &:-ms-input-placeholder {\n "+e+";\n }\n &::-webkit-input-placeholder {\n "+e+";\n }\n "},eje=function(e,t,i){return n.css(Hze||(Hze=nEe(["\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*i*e,t,i,e)};function tje(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 nje(e){return JPe(this,void 0,void 0,(function(){return eEe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(tje))];case 1:return[2,t.sent()]}}))}))}function ije(e){return XIe(e)?"MusicInCollectionFill":Yze(e)?"Video":oje(null==e?void 0:e.split(".").pop().toLowerCase())}function rje(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 aje(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function oje(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 sje(){var e=MX(),t=NX(),n=t.createApiUrl,i=t.fetchFromApi,a=r.useContext(pF).identifier,o=Ry(),s=xae().interaction,l=null==a?void 0:a.id;return r.useMemo((function(){return{exchangeShortLivedToken:function(e){return JPe(this,void 0,void 0,(function(){var t,n;return eEe(this,(function(r){switch(r.label){case 0:return e?(t={method:"POST",headers:zX(e,l)},[4,i("/file_access_token/types/short_lived",t)]):[2,null];case 1:return[2,200!==(n=r.sent()).status?null:n.text()]}}))}))},getPublishableItemShortLivedToken:function(t,n){return e.custom(t+"/"+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 JPe(r,void 0,void 0,(function(){var r;return eEe(this,(function(a){switch(a.label){case 0:return[4,t()];case 1:return r=a.sent(),window.open(r,"ios"===o.deviceInfo.operatingSystem?"_self":e),s({event:tae.downloadFile,action:nae.click,value:Oae(r),item:{id:n,type:"content",parentId:i}}),[2]}}))}))}}}}),[l,i,n,e,module])}var lje,uje,cje,dje,pje,hje,fje,mje,gje,vje,bje,yje,Oje,wje,_je,kje,xje,Sje,Pje=function(e){var n=e.files,i=e.onDeleteClick,r=e.getFileUrl,a=e.fileAccessToken,o=e.onPlayVideo,s=e.onPlayAudio,l=e.disabled,u=e.parentId,c=e.className;if(!n||0===n.length)return null;var d=n.filter((function(e){return r&&XIe(e.filename)})),p=n.filter((function(e){return r&&Yze(e.filename)})),h=n.filter((function(e){return!d.includes(e)&&!p.includes(e)}));return t.jsxs(t.Fragment,{children:[p.length>0&&t.jsx(Cje,HPe({className:c,"data-preload-video":"safari"===lO},{children:p.map((function(e){return t.jsx(Fje,{children:t.jsx(Vze,{fileName:e.filename,url:r(e.id),onPlay:function(t){return o(t,e.id)}},void 0)},e.id)}))}),void 0),d.length>0&&t.jsx(Eje,HPe({className:c},{children:d.map((function(e){return t.jsx(Tje,{children:t.jsx(WIe,{fileName:e.filename,url:r(e.id),onPlay:function(t){return s(t,e.id)}},void 0)},e.id)}))}),void 0),h.length>0&&t.jsx(Eje,HPe({className:c},{children:h.map((function(e){return t.jsx(Tje,{children:t.jsx(Dje,{attachment:e,disabled:l,getFileUrl:r,fileAccessToken:a,onDeleteClick:i,parentId:u},void 0)},e.id)}))}),void 0)]},void 0)},Eje=m.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(lje||(lje=nEe(["\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"]))),Cje=m.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(uje||(uje=nEe(["\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),Fje=m.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(cje||(cje=nEe(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),Ere),Tje=m.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(dje||(dje=nEe(["\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"])),Ere,Are,5),Dje=function(e){var n=e.attachment,r=e.onDeleteClick,a=e.getFileUrl,o=e.fileAccessToken,s=e.disabled,l=e.parentId,u=zC().formatMessage,c=!s&&r,d=sje(),p=d.exchangeShortLivedToken,h=d.createDownloadClickHandler;return t.jsxs(Aje,{children:[n.isUploadInProgress&&t.jsx(jje,{children:t.jsx(Nje,{size:i.SpinnerSize.medium},void 0)},void 0),t.jsx(Rje,HPe({takeFullWidth:!c},{children:function(){var e=this;if(n.hasError)return t.jsxs(Lje,{children:[t.jsx(Mje,{iconName:"Warning"},void 0),t.jsx(zje,HPe({title:n.filename},{children:n.filename}),void 0)]},void 0);var i=ije(n.filename);if(a)return t.jsxs(Ije,HPe({title:n.filename,onClick:h("_blank",(function(){return JPe(e,void 0,void 0,(function(){var e;return eEe(this,(function(t){switch(t.label){case 0:return[4,p(o)];case 1:return e=t.sent(),[2,a(n.id,e)]}}))}))}),n.id,l)},{children:[t.jsx($je,{iconName:i},void 0),t.jsx(zje,{children:n.filename},void 0)]}),void 0);return t.jsxs(Lje,{children:[t.jsx($je,{iconName:i},void 0),t.jsx(zje,HPe({title:n.filename},{children:n.filename}),void 0)]},void 0)}()}),void 0),c&&t.jsx(Qje,{iconProps:{iconName:"Delete"},onClick:function(){return r(n)},disabled:n.isUploadInProgress,ariaLabel:u({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},Aje=m.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(pje||(pje=nEe(["\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})),Ije=m.default(i.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(hje||(hje=nEe(["\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}),Ere,(function(e){return e.theme.textColors.default})),Rje=m.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(gje||(gje=nEe(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?n.css(fje||(fje=nEe(["\n width: 100%;\n "],["\n width: 100%;\n "]))):n.css(mje||(mje=nEe(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),Lje=m.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(vje||(vje=nEe(["\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"])),Ere),$je=m.default(i.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(bje||(bje=nEe(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),Ere),Qje=m.default(i.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(yje||(yje=nEe(["\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})),zje=m.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(Oje||(Oje=nEe(["\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"]))),jje=m.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(wje||(wje=nEe(["\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"]))),Nje=m.default(lLe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(_je||(_je=nEe(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),Mje=m.default(i.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(kje||(kje=nEe(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),Uje=function(e){var n,i=e.children,r=KPe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(Bje,{},void 0),t.jsx(rEe,HPe({},r,{modalProps:HPe(HPe({},r.modalProps||{}),{className:za({"lt-reach-dialog-mobile-full-height":sd.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},Bje=n.createGlobalStyle(xje||(xje=nEe(['\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"}(Sje||(Sje={}));var qje=function(e){var n=e.className,i=e.offsetTop,r=void 0===i?0:i,a=e.positionBottomOnMobile,o=e.domIdentifier,s=e.offsetRight,l=void 0===s?0:s,u=e.children;return t.jsxs(Xje,HPe({offsetTop:r,offsetRight:l,className:n,positionBottomOnMobile:a,"data-fab":o},{children:[t.jsx(Yje,{},void 0),u]}),void 0)},Gje=function(e){var n=e.iconName,i=e.onClick,r=e.tooltipResourceKey,a=e.useSecondaryBgColor,o=e.domIdentifier,s=e.className,l=zC().formatMessage;return t.jsxs(JAe,HPe({className:s,resourceKey:r},{children:[t.jsx(Yje,{},void 0),t.jsx(Zje,{"data-fab":o,iconProps:{iconName:n},onClick:i,ariaLabel:l({id:r}),useSecondaryBgColor:a},void 0)]}),void 0)},Wje=function(e){var n=e.iconName,a=e.tooltipResourceKey,o=e.titleResourceKey,s=e.showCloseButton,l=e.useSecondaryBgColor,u=e.children,c=e.domIdentifier,d=e.useMobileFullHeight,p=zC().formatMessage,h=r.useState(!1),f=h[0],m=h[1],g=r.useRef(null),v=sd.isAnyMobileApp;return t.jsxs(t.Fragment,{children:[t.jsx("div",HPe({ref:g},{children:t.jsx(Gje,{"data-fab":c,tooltipResourceKey:a,iconName:n,onClick:function(){return m(!f)},useSecondaryBgColor:l},void 0)}),void 0),f&&v&&d&&t.jsxs(Uje,HPe({hidden:!f,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:i.DialogType.close,title:p({id:o})},onDismiss:function(){return m(!1)}},{children:[t.jsx(pNe,{},void 0),u]}),void 0),f&&v&&!d&&t.jsxs(rEe,HPe({hidden:!f},{children:[u,t.jsx(i.DialogFooter,{children:t.jsx(i.DefaultButton,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)},void 0)]}),void 0),f&&!v&&t.jsx(hRe,HPe({target:g.current,directionalHint:i.DirectionalHint.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:t.jsxs(cNe,{children:[u,s&&t.jsx(dNe,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)]},void 0)}),void 0)]},void 0)},Xje=m.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(Jje||(Jje=nEe(["\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?n.css(Hje||(Hje=nEe(["\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 "])),Ire,e.offsetTop+20):n.css(Kje||(Kje=nEe(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),Vje=function(e){return n.css(nNe||(nNe=nEe(["\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?n.css(eNe||(eNe=nEe(["\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})):n.css(tNe||(tNe=nEe(["\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})))},Yje=n.createGlobalStyle(iNe||(iNe=nEe(["\n ","\n"],["\n ","\n"])),(function(e){return l4("\n [data-fab] button:focus::after,\n button[data-fab]:focus::after {\n outline-color: "+e.theme.palette.themePrimary+";\n outline-offset: 5px;\n border-radius: 50%;\n }\n ")})),Zje=m.default(i.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(rNe||(rNe=nEe(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return Vje(e.useSecondaryBgColor)}));m.default(JAe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(aNe||(aNe=nEe(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return Vje(e.useSecondaryBgColor)}));var Hje,Kje,Jje,eNe,tNe,nNe,iNe,rNe,aNe,oNe,sNe,lNe,uNe,cNe=m.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(oNe||(oNe=nEe(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),Cre),dNe=m.default(i.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(sNe||(sNe=nEe(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),pNe=n.createGlobalStyle(lNe||(lNe=nEe(["\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"])),Qre),hNe=function(e){var n=e.tagName,i=void 0===n?"div":n,a=e.id,o=e.values,s=e.dir,l=e.className;return r.createElement(i,{className:l,dir:s},t.jsx(rF,{id:a,values:o},void 0))},fNe=function(e){var n=e.icon,r=e.resourceKey,a=e.className,o=e.values,s="string"==typeof n?t.jsx(i.Icon,{iconName:n},void 0):n;return t.jsxs(mNe,HPe({className:a},{children:[s,t.jsx(rF,{id:r,values:o,tagName:"span"},void 0)]}),void 0)},mNe=m.default.div(uNe||(uNe=nEe(["\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,qre),gNe={},vNe=new KV;var bNe=new KV;function yNe(e){var t=r.useRef(!0);r.useEffect((function(){t.current||bNe.next(),t.current=!1}),e)}var ONe,wNe,_Ne,kNe,xNe=function(e){var n=e.groupName,i=e.groupId,a=e.keywordName,o=e.language,s=e.underlined,l=e.onClick,u=e.tabIndex,c=ote(),d=Pne(r.useContext(cue).selectedKeywordGroups,c,i,a,n,o);return l?t.jsx(PNe,HPe({onClick:l,tabIndex:u},{children:t.jsx(ENe,HPe({underlined:!0,dir:"auto"},{children:d}),void 0)}),void 0):t.jsx(ENe,HPe({underlined:s,dir:"auto"},{children:d}),void 0)},SNe=function(e){var n=e.groupId,i=e.keywordName,a=ote(),o=Pne(r.useContext(cue).selectedKeywordGroups,a,n,i);return yNe([o]),t.jsx(ENe,HPe({underlined:!0},{children:o}),void 0)},PNe=m.default(lRe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(ONe||(ONe=nEe(["\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})),ENe=m.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(_Ne||(_Ne=nEe(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&n.css(wNe||(wNe=nEe(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),CNe=function(e){var n=e.modified,i=zC();return n?t.jsxs(FNe,HPe({className:"ms-fontColor-neutralTertiary"},{children:["(",t.jsx(JAe,HPe({resourceKey:"Generic.wasModifiedTooltip",values:{modified:function(){var e=i.formatDate(n,{day:"2-digit",month:"2-digit",year:"numeric"}),t=i.formatTime(n);return e+" "+t}()}},{children:t.jsx(rF,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},FNe=m.default.div(kNe||(kNe=nEe(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),Gre);function TNe(){return TNe=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},TNe.apply(this,arguments)}var DNe=function(e){return g.createElement("svg",TNe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),g.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}}),g.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"}}),g.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),g.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}}),g.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"}}),g.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}}),g.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}}),g.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}}),g.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"}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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 ANe(){return ANe=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},ANe.apply(this,arguments)}var INe=function(e){return g.createElement("svg",ANe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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 RNe(){return RNe=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},RNe.apply(this,arguments)}var LNe=function(e){return g.createElement("svg",RNe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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}}),g.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 $Ne(){return $Ne=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},$Ne.apply(this,arguments)}var QNe,zNe,jNe,NNe,MNe,UNe,BNe,qNe,GNe,WNe,XNe,VNe=function(e){return g.createElement("svg",$Ne({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),g.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),g.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}}),g.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"}}),g.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}}),g.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),g.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"}}),g.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}}),g.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"}}),g.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"}}),g.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"}}),g.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}}),g.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}}))},YNe=function(e){var n=e.images,r=e.selectedIndex,a=e.hidden,o=e.onClose,s=e.imageUrlResolver,l=CI((function(){return JPe(this,void 0,void 0,(function(){var e;return eEe(this,(function(t){switch(t.label){case 0:return e=n.map((function(e){return null!=e.width&&null!=e.height?Promise.resolve({width:e.width,height:e.height}):tje(s(e.imageId,1e3))})),[4,Promise.all(e)];case 1:return[2,t.sent()]}}))}))}),null,[n]),u=l[0],c=l[1],d=l[2];return c||d?null:t.jsx(i.Layer,{children:t.jsx(ZNe,{images:n.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,u[t])})),selectedIndex:r,hidden:a,onClose:o},void 0)},void 0)},ZNe=function(e){var n=e.images,i=e.hidden,a=e.selectedIndex,o=e.onClose,s=zC().formatMessage,l=r.useRef(null),u=r.useRef();return r.useEffect((function(){var e;if(!i)return clearTimeout(u.current),u.current=setTimeout((function(){return e=function(){var e=new Hue(l.current,Jue,n.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:a});return e.listen("close",o),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[i,a]),t.jsxs(t.Fragment,{children:[t.jsx(HNe,{enforceArrowVisibility:!sd.isNativeMobileApp},void 0),t.jsxs("div",HPe({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[t.jsx("div",{className:"pswp__bg"},void 0),t.jsxs("div",HPe({className:"pswp__scroll-wrap"},{children:[t.jsxs("div",HPe({className:"pswp__container"},{children:[t.jsx("div",{className:"pswp__item"},void 0),t.jsx("div",{className:"pswp__item"},void 0),t.jsx("div",{className:"pswp__item"},void 0)]}),void 0),t.jsxs("div",HPe({className:"pswp__ui pswp__ui--hidden"},{children:[t.jsxs("div",HPe({className:"pswp__top-bar"},{children:[t.jsx("div",{className:"pswp__counter"},void 0),t.jsx("button",{className:"pswp__button pswp__button--close",title:s({id:"ImageViewer.closeCaption"})},void 0),t.jsx("button",{className:"pswp__button pswp__button--fs",title:s({id:"ImageViewer.toggleFullscreenCaption"})},void 0),t.jsx("div",HPe({className:"pswp__preloader"},{children:t.jsx("div",HPe({className:"pswp__preloader__icn"},{children:t.jsx("div",HPe({className:"pswp__preloader__cut"},{children:t.jsx("div",{className:"pswp__preloader__donut"},void 0)}),void 0)}),void 0)}),void 0)]}),void 0),t.jsx("div",HPe({className:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},{children:t.jsx("div",{className:"pswp__share-tooltip"},void 0)}),void 0),t.jsx("button",{className:"pswp__button pswp__button--arrow--left",title:s({id:"ImageView.previousCaption"})},void 0),t.jsx("button",{className:"pswp__button pswp__button--arrow--right",title:s({id:"ImageView.nextCaption"})},void 0),t.jsx("div",HPe({className:"pswp__caption"},{children:t.jsx("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},HNe=n.createGlobalStyle(zNe||(zNe=nEe(["\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&&n.css(QNe||(QNe=nEe(["\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 "])))})),KNe=function(e){var n=e.images,a=e.imageUrlResolver,o=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,u=zC().formatMessage,c=r.useState(null),d=c[0],p=c[1],h=r.useContext(jle).theme.palette;if(!n||0===n.length)return null;var f=n.length>4,m=n.length>1,g=n[0];return t.jsxs(eMe,HPe({"data-multi-images":m,className:l,singleImageHeight:g.height,singleImageWidth:g.width},{children:[t.jsx("div",HPe({"data-gallery-wrapper":!0},{children:m?t.jsxs(t.Fragment,{children:[t.jsx(nMe,HPe({backgroundColor:null!=s?s:h.neutralLight,applyRoundedCorners:!o},{children:n.slice(0,4).map((function(e,n){return t.jsx(iMe,HPe({href:e.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),v(n)},"aria-label":u({id:"AriaLabel.viewImageGallery"}),"data-clickable-overlay":!0},{children:t.jsx(rMe,{src:e.previewUrl,imageFit:i.ImageFit.centerCover,alt:e.imageTitle||""},void 0)}),n)}))}),void 0),f&&t.jsxs(aMe,HPe({onClick:function(){return v(4)}},{children:["+",n.length-4]}),void 0)]},void 0):t.jsx(JNe,{image:g,onClick:function(){return v(0)},disableRoundedCorners:o},void 0)}),void 0),t.jsx(YNe,{images:n,selectedIndex:d,hidden:null==d,onClose:function(){p(null)},imageUrlResolver:a},void 0)]}),void 0);function v(e){p(e)}},JNe=function(e){var n=e.image,i=e.onClick,r=e.disableRoundedCorners,a=zC().formatMessage;return t.jsx(tMe,HPe({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":a({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:t.jsx("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},eMe=m.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(NNe||(NNe=nEe(["\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&&n.css(jNe||(jNe=nEe(["\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)})),tMe=m.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(UNe||(UNe=nEe(["\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&&n.css(MNe||(MNe=nEe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),nMe=m.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(qNe||(qNe=nEe(["\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&&n.css(BNe||(BNe=nEe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),iMe=m.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(GNe||(GNe=nEe(["\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"]))),rMe=m.default(i.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(WNe||(WNe=nEe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),aMe=m.default(i.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(XNe||(XNe=nEe(["\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"])),Ure,Are,28);var oMe,sMe,lMe,uMe,cMe,dMe,pMe=function(e){var n=e.icon,r=e.isActive,a=e.disabled,o=e.tooltipResourceKey,s=e.onClick,l=e.link,u=e.className,c=KPe(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=zC().formatMessage;if(!l&&!s)return null;var p=za("header-button",u),h=l?t.jsx(mMe,HPe({className:p,to:l},c,{children:t.jsx(i.Icon,{iconName:n},void 0)}),void 0):t.jsx(fMe,HPe({className:p,disabled:a,onClick:function(e){return s(e.currentTarget)},iconProps:{iconName:n},ariaLabel:d({id:o}),"data-button-type":"header-btn",isActive:r},c),void 0);return t.jsx(hMe,HPe({className:"tooltip-container"},{children:t.jsx(JAe,HPe({resourceKey:o},{children:h}),void 0)}),void 0)},hMe=m.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(oMe||(oMe=nEe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),fMe=m.default(i.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(uMe||(uMe=nEe(['\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&&n.css(sMe||(sMe=nEe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&n.css(lMe||(lMe=nEe(["\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)})),mMe=m.default(a.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(dMe||(dMe=nEe(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return n.css(cMe||(cMe=nEe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),gMe="\t\n\v\f\r                 \u2028\u2029\ufeff",vMe=_Ee,bMe="[\t\n\v\f\r                 \u2028\u2029\ufeff]",yMe=RegExp("^"+bMe+bMe+"*"),OMe=RegExp(bMe+bMe+"*$"),wMe=function(e){return function(t){var n=String(vMe(t));return 1&e&&(n=n.replace(yMe,"")),2&e&&(n=n.replace(OMe,"")),n}},_Me={start:wMe(1),end:wMe(2),trim:wMe(3)},kMe=cEe,xMe=gMe,SMe=_Me.trim,PMe=function(e){return kMe((function(){return!!xMe[e]()||"​…᠎"!="​…᠎"[e]()||xMe[e].name!==e}))};WFe({target:"String",proto:!0,forced:PMe("trim")},{trim:function(){return SMe(this)}});var EMe,CMe,FMe,TMe,DMe,AMe,IMe,RMe,LMe,$Me,QMe,zMe,jMe,NMe,MMe,UMe,BMe,qMe=function(e){var n=e.url,i=e.target,a=e.ariaLabel,o=e.children,s=e.className,l=e.style,u=KPe(e,["url","target","ariaLabel","children","className","style"]);ste();var c=Pse(),d=r.useContext(uF);d.onOpenExternalLink;var p=d.tryGetInternalLink,h=!i&&p(n,c);return h?t.jsx(fIe,HPe({className:s,to:h,"data-link":Sre.Internal,"aria-label":a,style:l,dir:"auto"},u,{children:o}),void 0):t.jsx(GMe,HPe({url:n,target:i,className:s,ariaLabel:a,style:l},u,{children:o}),void 0)},GMe=function(e){var n=e.url,i=e.target,r=e.ariaLabel,a=e.onClick,o=e.className,s=e.children,l=e.style,u=KPe(e,["url","target","ariaLabel","onClick","className","children","style"]);return t.jsx(hIe,HPe({href:n,onClick:function(e){return null==a?void 0:a(e)},className:o,target:void 0===i?"_blank":i,rel:"noopener noreferrer","aria-label":r,"data-link":Sre.External,style:l,dir:"auto"},u,{children:s}),void 0)},WMe=n.css(EMe||(EMe=nEe(["\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"]))),XMe=m.default(qMe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(CMe||(CMe=nEe(["\n ","\n"],["\n ","\n"])),WMe),VMe=m.default(GMe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(FMe||(FMe=nEe(["\n ","\n"],["\n ","\n"])),WMe),YMe=m.default(i.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(DMe||(DMe=nEe(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&n.css(TMe||(TMe=nEe(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),ZMe=m.default((function(e){var n,r=e.iconName,a=e.ariaLabel,o=e.ariaLabelResourceKey,s=e.onClick,l=e.to,u=e.target,c=e.tooltipText,d=e.tooltipResourceKey,p=e.disabled,h=e.className,f=KPe(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=zC().formatMessage,g=a||(null===(n=null==o?void 0:o.trim())||void 0===n?void 0:n.length)>0&&m({id:o});return t.jsxs(JAe,HPe({resourceKey:d,text:c},{children:[l&&!s&&t.jsx(XMe,HPe({url:l,ariaLabel:g,target:u},f,{children:t.jsx(i.Icon,{iconName:r,className:h},void 0)}),void 0),s&&!l&&t.jsx(YMe,HPe({disabled:p,iconProps:{iconName:r},onClick:s,className:h,ariaLabel:g},f),void 0),s&&l&&t.jsx(VMe,HPe({url:l,target:u,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:t.jsx(i.Icon,{iconName:r,className:h},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(IMe||(IMe=nEe(["\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&&n.css(AMe||(AMe=nEe(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),HMe=function(e){var n=e.shouldAutoFocus,i=void 0===n||n,o=zC(),s=r.useState(null),l=s[0],u=s[1],c=a.useLocation(),d=r.useContext(jle).theme.textColors,p=r.useRef();return r.useEffect((function(){return $ue(f),i&&setTimeout((function(){var e;return p&&(null===(e=p.current)||void 0===e?void 0:e.focus())})),function(){Que(f)}}),[]),r.useEffect((function(){u("")}),[c.pathname]),t.jsxs(eUe,HPe({className:za("search-field",e.className),useLightTheme:e.useLightTheme},{children:[t.jsx(KMe,{className:"search-input",useLightTheme:e.useLightTheme,default:!0,value:l||e.searchText||"",onChange:function(e,t){return h(t)},onKeyDown:function(t){"Enter"===t.key&&e.onExecuteSearch&&e.onExecuteSearch(l);"Escape"===t.key&&h("")},autoComplete:"off",autoFocus:!1,borderless:!0,placeholder:e.placeholder||o.formatMessage({id:"TopBar.search"}),componentRef:function(e){return p.current=e},ariaLabel:o.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),e.searching&&t.jsx(JMe,{className:"search-spinner"},void 0),t.jsx(tUe,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var t;u(null),null===(t=e.onClear)||void 0===t||t.call(e)},color:!e.useLightTheme&&d.onPrimary},void 0)]}),void 0);function h(t){var n;u(t),null===(n=e.onChange)||void 0===n||n.call(e,t)}function f(){return!(!l&&!e.searchText)&&(h(""),!0)}},KMe=m.default(i.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})($Me||($Me=nEe(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?n.css(RMe||(RMe=nEe(["\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}),Jze("color: "+e.theme.textColors.default)):n.css(LMe||(LMe=nEe(["\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}),Jze("color: "+e.theme.textColors.onPrimary))})),JMe=m.default(i.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(QMe||(QMe=nEe(["\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})),eUe=m.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(NMe||(NMe=nEe(["\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"])),Jze("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?n.css(zMe||(zMe=nEe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):n.css(jMe||(jMe=nEe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),tUe=m.default(sIe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(MMe||(MMe=nEe(["\n align-self: center;\n"],["\n align-self: center;\n"]))),nUe=function(e){var n=e.onSearchInputFieldVisibilityChanged,i=e.isToolbarMode,a=e.onExecuteSearch,o=e.onSearchTextChange,s=e.searchText,l=e.showSearchBoxInput,u=e.className,c=e.shouldAutoFocus,d=r.useState(!!s),p=d[0],h=d[1],f=l||p||!!s;return r.useEffect((function(){null==n||n(f)}),[f]),t.jsxs(t.Fragment,{children:[f&&t.jsx(HMe,{onChange:o,onExecuteSearch:a,searchText:s,onClear:function(){null==o||o(""),m(!1)},shouldAutoFocus:c,className:u,useLightTheme:i},void 0),!f&&(i?t.jsx(ZMe,{iconName:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):t.jsx(pMe,{icon:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function m(e){h(e),null==n||n(e)}},iUe=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},rUe=XEe,aUe=_Ee,oUe=iUe,sUe=Ize;Sze("search",1,(function(e,t,n){return[function(t){var n=aUe(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=rUe(e),a=String(this),o=r.lastIndex;oUe(o,0)||(r.lastIndex=0);var s=sUe(r,a);return oUe(r.lastIndex,o)||(r.lastIndex=o),null===s?-1:s.index}]})),m.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(UMe||(UMe=nEe(["\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"}(BMe||(BMe={})),m.default(i.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(lUe||(lUe=nEe(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),m.default.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(dUe||(dUe=nEe(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?n.css(uUe||(uUe=nEe(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):n.css(cUe||(cUe=nEe(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),m.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(pUe||(pUe=nEe(["\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"})),m.default.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})(hUe||(hUe=nEe(["\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 lUe,uUe,cUe,dUe,pUe,hUe,fUe,mUe,gUe,vUe=m.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(fUe||(fUe=nEe(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));m.default.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(mUe||(mUe=nEe(["\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"}),vUe,(function(e){return e.isLoading?"0.6":"1"})),m.default(lLe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(gUe||(gUe=nEe(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var bUe,yUe,OUe=function(e){return t.jsx(wUe,HPe({},e,{"data-toggle-button":!0}),void 0)},wUe=m.default(i.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(bUe||(bUe=nEe(["\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})),_Ue=function(e){return n.css(yUe||(yUe=nEe(["\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 kUe(e,t,n,i){return(i?e.translations[wne(t)]||e.translations[t.subscription.defaultLanguage]:e.translations[t.preferredUiLanguage]||e.translations[wne(t)])||e.name||n.formatMessage({id:"Groups.defaultName"})}var xUe=Sze,SUe=XEe,PUe=YFe,EUe=aFe,CUe=nFe,FUe=_Ee,TUe=Tze,DUe=Ize,AUe=Math.max,IUe=Math.min,RUe=Math.floor,LUe=/\$([$&'`]|\d\d?|<[^>]*>)/g,$Ue=/\$([$&'`]|\d\d?)/g,QUe=function(e){return void 0===e?e:String(e)};xUe("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,a=i.REPLACE_KEEPS_$0,o=r?"$":"$0";return[function(n,i){var r=FUe(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&a||"string"==typeof i&&-1===i.indexOf(o)){var l=n(t,e,this,i);if(l.done)return l.value}var u=SUe(e),c=String(this),d="function"==typeof i;d||(i=String(i));var p=u.global;if(p){var h=u.unicode;u.lastIndex=0}for(var f=[];;){var m=DUe(u,c);if(null===m)break;if(f.push(m),!p)break;""===String(m[0])&&(u.lastIndex=TUe(c,EUe(u.lastIndex),h))}for(var g="",v=0,b=0;b<f.length;b++){m=f[b];for(var y=String(m[0]),O=AUe(IUe(CUe(m.index),c.length),0),w=[],_=1;_<m.length;_++)w.push(QUe(m[_]));var k=m.groups;if(d){var x=[y].concat(w,O,c);void 0!==k&&x.push(k);var S=String(i.apply(void 0,x))}else S=s(y,c,O,w,k,i);O>=v&&(g+=c.slice(v,O)+S,v=O+y.length)}return g+c.slice(v)}];function s(e,n,i,r,a,o){var s=i+e.length,l=r.length,u=$Ue;return void 0!==a&&(a=PUe(a),u=LUe),t.call(o,u,(function(t,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return t;if(c>l){var d=RUe(c/10);return 0===d?t:d<=l?void 0===r[d-1]?o.charAt(1):r[d-1]+o.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var zUe,jUe=Are-Tre,NUe=Ire-Tre;function MUe(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 a=t[0].split(/^(?:\/[a-z\d%_.~:#+-]+)*\/?/i);if(a.length<2)return!1;if(!(t=a.slice(-1))[0].length)return!0;if(t[0].startsWith("?")){var o=t[0].split(/^\?[;&a-z\d%_.~+=-]*/i);if(o.length<2)return!1;t=o.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 UUe(e){return e?"https://www.google.com/maps/search/?api=1&"+Vy.stringify({query:e}):null}function BUe(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}m.default.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(zUe||(zUe=nEe(["\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"])),Ere,Qre,Cre,10,10,Are,Cre,jUe,Ire,NUe);var qUe,GUe,WUe,XUe,VUe,YUe=m.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(GUe||(GUe=nEe(["\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,Wre,(function(e){return e.showPlaceholder&&n.css(qUe||(qUe=nEe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),Are,jUe,Wre,Ire,(function(e){return e.defaultWidth||250}));m.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(XUe||(XUe=nEe(["\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&&n.css(WUe||(WUe=nEe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),m.default(i.Icon).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(VUe||(VUe=nEe(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),Ere);var ZUe,HUe,KUe,JUe,eBe,tBe,nBe,iBe,rBe,aBe=function(e){var n=e.enterDuration,i=e.leaveDuration,r=e.children,a=e.style,o=e.className,s=!!n,l=!!i,u="common-opacity-animation_"+n+"_"+i;return t.jsxs(t.Fragment,{children:[t.jsx(oBe,{name:u,enterDuration:n,leaveDuration:i},void 0),t.jsx(Lce,HPe({style:a,className:o,transitionName:u,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:n,transitionEnterTimeout:n},{children:r}),void 0)]},void 0)},oBe=n.createGlobalStyle(ZUe||(ZUe=nEe(["\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})),sBe=function(e){var n=e.contentLanguageCode,i=e.originalContent,a=e.content,o=e.onTranslate,s=e.onContentChange,l=e.itemType,u=e.itemId,c=e.tooltipResourceKey,d=e.showLabel,p=zC().formatMessage,h=ote(),f=ste(),m=r.useState(null),g=m[0],v=m[1],b=r.useState(i===a),y=b[0],O=b[1],w=Yle().showError,_=xae().interaction,k=wne(h);if(r.useEffect((function(){return v(null)}),[i]),!f.automaticTranslation)return null;var x=p({id:"Generic.translate"});return n&&n!==k&&yne.includes(k)&&!bne.includes(k)?t.jsx(JAe,HPe({resourceKey:y?"Generic.translateTo":c,values:{language:p({id:"Generic.languages."+k})}},{children:t.jsx(lBe,HPe({"aria-label":d?null:x,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return JPe(this,void 0,void 0,(function(){var e;return eEe(this,(function(t){switch(t.label){case 0:return y?g?(s(g),O(!1),[3,4]):[3,1]:(s(i),O(!0),_({event:tae.translateContent,value:null,action:nae.click,item:{id:u,type:l}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,o(k)];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:tae.translateContent,value:k,itemType:l,action:nae.click,itemId:u,item:{id:u,type:l}}),[2]}}))}))}},{children:d&&x}),void 0)}),void 0):null},lBe=m.default(lRe)(HUe||(HUe=nEe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),uBe=m.default(i.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(KUe||(KUe=nEe(["\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})),cBe=function(n){var i=n.comment,a=n.showEdit,o=n.showDelete,s=n.onDelete,l=n.isEditMode,u=n.toggleEditMode,c=n.originalContent,d=n.currentContent,p=n.setContent,h=n.handleTranslate,f=n.showAutoTranslate,m=n.onReply,g=n.disabled,v=zC().formatMessage,b=ote(),y=r.useState(!1),O=y[0],w=y[1],_=r.useRef(null);return b.isPublicUser&&!f?null:b.isPublicUser&&f?t.jsx(sBe,{"data-auto-translate-button":i.id,originalContent:c,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:i.id},void 0):t.jsxs(t.Fragment,{children:[t.jsx("div",HPe({ref:_},{children:t.jsx(pBe,{"data-menu-button":i.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return w(!O)},ariaLabel:v({id:"AriaLabel.contextMenuButton"}),disabled:g},void 0)}),void 0),O&&t.jsx(fBe,HPe({"data-context-menu":!0,target:_.current,onDismiss:function(){return w(!1)}},{children:t.jsxs(dBe,{children:[t.jsx(JAe,HPe({resourceKey:"Comment.replyButton.tooltip",values:{name:i.sender.displayName}},{children:t.jsx(hBe,{"data-reply-button":i.id,iconProps:{iconName:"Reply"},onClick:function(){null==m||m(i,i.sender),w(!1)},text:v({id:"Comment.replyButton"})},void 0)}),void 0),f&&t.jsx(sBe,{"data-auto-translate-button":i.id,originalContent:c,onContentChange:function(e){w(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:i.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:i.id},void 0),a&&t.jsx(JAe,HPe({resourceKey:"Comment.edit.tooltip"},{children:t.jsx(hBe,{"data-edit-button":i.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),w(!1)},text:v({id:"Generic.edit"}),disabled:!i.id||l},void 0)}),void 0),o&&t.jsx(JAe,HPe({resourceKey:"Comment.delete.tooltip"},{children:t.jsx(hBe,{"data-delete-button":i.id,iconProps:{iconName:"Delete"},onClick:function(){s(i),w(!1)},text:v({id:"Generic.Delete"}),disabled:!i.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},dBe=m.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(JUe||(JUe=nEe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),pBe=m.default(sIe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(eBe||(eBe=nEe(["\n && {\n width: auto;\n padding: 0;\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;\n\n &[disabled] {\n background: transparent;\n }\n\n i {\n margin: 0;\n font-size: ","px;\n }\n }\n"])),20),hBe=m.default(lRe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(tBe||(tBe=nEe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),fBe=m.default(hRe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(nBe||(nBe=nEe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),Ere);m.default(i.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(iBe||(iBe=nEe(["\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"]))),m.default(i.DefaultButton).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(rBe||(rBe=nEe(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var mBe,gBe,vBe,bBe,yBe,OBe=m.default(i.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(mBe||(mBe=nEe(["\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})),wBe=function(e){var n=e.toggleAll,i=e.className,a=r.useContext(jle).theme.palette.accent;return t.jsxs(_Be,HPe({className:i},{children:[t.jsx(kBe,HPe({onClick:function(){return n(!0)},"data-button-toggle":"selectAll",color:a},{children:t.jsx(rF,{id:"Generic.SelectAll"},void 0)}),void 0),t.jsx(kBe,HPe({onClick:function(){return n(!1)},"data-button-toggle":"clearAll",color:a},{children:t.jsx(rF,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},_Be=m.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(gBe||(gBe=nEe(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),Ere),kBe=m.default(lRe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(vBe||(vBe=nEe(["\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"])));m.default((function(e){var n=e.iconName,r=e.textKey,o=KPe(e,["iconName","textKey"]);return t.jsxs(a.NavLink,HPe({},o,{children:[n&&t.jsx(i.Icon,{iconName:n},void 0),t.jsx(rF,{id:r},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(bBe||(bBe=nEe(["\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"])),Ere,(function(e){return e.theme.palette.accent})),m.default(sIe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(yBe||(yBe=nEe([""],[""])));var xBe,SBe,PBe,EBe,CBe=function(e){var n=e.language,i=e.channel,a=e.role,o=e.className,s=ote(),l=r.useContext(cue).channels,u=DBe(function(){if(!l)return i;return l.find((function(e){return e.id===i.id||e.name===i.name}))}(),s,n);return t.jsx(FBe,HPe({title:u,className:o,role:a,dir:"auto"},{children:u}),void 0)},FBe=m.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(xBe||(xBe=nEe(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),TBe=function(e){var n=e.channels,i=e.language;return t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsxs("span",{children:[n>0&&", ",t.jsx(CBe,{channel:e,language:i},void 0)]},e.id)}))},void 0)};function DBe(e,t,n){if(null==e)return null;n||(n=wne(t));var i=e.translations||{};return n&&i[n]||i[t.subscription.defaultLanguage]||e.name}m.default(CBe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(SBe||(SBe=nEe(["\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"}),Mre),m.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(PBe||(PBe=nEe(["\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"])),Ere,15,Kze(2,2),Mre),m.default(sIe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(EBe||(EBe=nEe(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),Mre);var ABe,IBe,RBe,LBe,$Be,QBe,zBe,jBe,NBe,MBe,UBe,BBe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,a=e.visibleChannelsCount,o=void 0===a?3:a,s=e.onChannelClick,l=e.className;if(!n||0===n.length)return null;var u=n.length>o;return t.jsxs(WBe,HPe({className:l,"data-has-more-indicator":u},{children:[t.jsx(qBe,{channels:n.slice(0,o),language:i,channelStyleDefinition:r,onChannelClick:s},void 0),u&&t.jsx(GBe,{channels:n.slice(o),language:i,styleDefinition:r,onChannelClick:s},void 0)]}),void 0)},qBe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,a=e.onChannelClick;return t.jsx(XBe,HPe({"data-channels":!0},{children:n.map((function(e){var o=t.jsx(CBe,{channel:e,language:i},void 0);return a?t.jsx(VBe,HPe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return a(e)},"data-rounded-outline":!0},{children:o}),e.id):t.jsx(YBe,HPe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:o}),e.id)}))}),void 0)},GBe=function(e){var n=e.channels,i=e.language,a=e.styleDefinition,o=e.onChannelClick,s=r.useRef(),l=r.useState(!1),u=l[0],c=l[1];return t.jsxs(HBe,HPe({ref:s},{children:[t.jsx(KBe,HPe({onClick:function(){return c(!0)},backgroundColor:null==a?void 0:a.backgroundColor,color:null==a?void 0:a.color,"data-channels-indicator":!0},{children:"+"+n.length}),void 0),u&&t.jsx(JBe,HPe({target:s.current,onDismiss:function(){return c(!1)}},{children:t.jsx(eqe,{children:n.map((function(e){return t.jsx("li",{children:o?t.jsx(lRe,HPe({onClick:function(){return o(e)}},{children:t.jsx(CBe,{channel:e,language:i},void 0)}),void 0):t.jsx(CBe,{channel:e,language:i},void 0)},e.id)}))},void 0)}),void 0)]}),void 0)},WBe=m.default.div(ABe||(ABe=nEe(["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\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\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),56),XBe=m.default.div(IBe||(IBe=nEe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),VBe=m.default(lRe)(RBe||(RBe=nEe(["\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 ZBe(e.bubbleCount,e.backgroundColor,e.color)})),YBe=m.default.span(LBe||(LBe=nEe(["\n ","\n"],["\n ","\n"])),(function(e){return ZBe(e.bubbleCount,e.backgroundColor,e.color)})),ZBe=function(e,t,i){return n.css(zBe||(zBe=nEe(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&n.css($Be||($Be=nEe(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&n.css(QBe||(QBe=nEe(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),eIe({backgroundColor:t,color:i}))},HBe=m.default.div(jBe||(jBe=nEe([""],[""]))),KBe=m.default(lRe)(NBe||(NBe=nEe(["\n &&& {\n z-index: 1;\n margin-inline-start: ","px;\n height: auto;\n\n ","\n }\n"],["\n &&& {\n z-index: 1;\n margin-inline-start: ","px;\n height: auto;\n\n ","\n }\n"])),6,(function(e){return eIe({backgroundColor:e.backgroundColor,color:e.color})})),JBe=m.default(hRe)(MBe||(MBe=nEe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),eqe=m.default.ul(UBe||(UBe=nEe(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),tqe=function(e){var n=e.channels,i=e.buildChannelFilterUrl,r=e.language,a=e.channelBackgroundColor,o=e.onClick,s=e.className;return(null==n?void 0:n.length)?t.jsx(yqe,HPe({className:s,"data-channels":n.map((function(e){return e.name})).join(",")},{children:n.map((function(e){var n=t.jsx(wqe,HPe({backgroundColor:a},{children:t.jsx(CBe,{channel:e,language:r},void 0)}),void 0);return t.jsxs(Oqe,{children:[i&&t.jsx(_qe,HPe({"data-channel":!0,to:i(nqe(e)?e.name:e),"data-rounded-outline":!0},{children:n}),void 0),o&&t.jsx(xqe,HPe({"data-rounded-outline":!0,onClick:function(){return nqe(e)?o(e.name,e):o(e)}},{children:n}),void 0),!o&&!i&&t.jsx(kqe,{children:n},void 0)]},e.id)}))}),void 0):null};function nqe(e){return null!=e.id}var iqe,rqe,aqe,oqe,sqe,lqe,uqe,cqe,dqe,pqe,hqe,fqe,mqe,gqe,vqe,bqe,yqe=m.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(iqe||(iqe=nEe(["\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"])),qre),Oqe=m.default.li.withConfig({displayName:"ClickableChannelTitles__ChannelItem",componentId:"sc-1a7ny18-1"})(rqe||(rqe=nEe(["\n &:last-child > * {\n margin-inline: 0;\n }\n"],["\n &:last-child > * {\n margin-inline: 0;\n }\n"]))),wqe=m.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-2"})(aqe||(aqe=nEe(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?eIe({backgroundColor:e.backgroundColor}):eIe()})),_qe=m.default(a.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-3"})(oqe||(oqe=nEe(["\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),kqe=m.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-4"})(sqe||(sqe=nEe(["\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),xqe=m.default(lRe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-5"})(lqe||(lqe=nEe(["\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),Sqe=function(e){var n=e.searchText,i=e.onSearchTextChange,r=e.onExecuteSearch,a=e.onSearchIconClick,o=e.onSearchInputFieldVisibilityChanged;return t.jsxs(t.Fragment,{children:[t.jsx(Pqe,{children:t.jsx(nUe,{searchText:n,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:o,isToolbarMode:!0},void 0)},void 0),t.jsx(Eqe,{children:t.jsx(ZMe,{iconName:"Search",onClick:a,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},Pqe=m.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(uqe||(uqe=nEe(["\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"])),zre),Eqe=m.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(cqe||(cqe=nEe(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),Ire),Cqe=function(e){var n=e.leftSide,i=e.hideLeftSide,a=e.rightSide,o=e.hideRightSide,s=e.search,l=e.className,u=e.children,c=r.useState(!1),d=c[0],p=c[1];return t.jsxs(Fqe,HPe({className:l,"data-content-toolbar":!0},{children:[t.jsxs(Aqe,{children:[n&&!i&&t.jsx(Tqe,{children:n},void 0),(a||s)&&!o&&t.jsxs(Dqe,{children:[s&&t.jsx(Sqe,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?h():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}},void 0),a]},void 0)]},void 0),u,s&&d&&t.jsx(Iqe,{children:t.jsx(HMe,{onClear:h,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function h(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),p(!1)}},Fqe=m.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(dqe||(dqe=nEe(["\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),Tqe=m.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(pqe||(pqe=nEe(["\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"]))),Dqe=m.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(hqe||(hqe=nEe(["\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"]))),Aqe=m.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(fqe||(fqe=nEe(["\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"]))),Iqe=m.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(mqe||(mqe=nEe(["\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"])),Ire);m.default(Cqe).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(gqe||(gqe=nEe(["\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"])),Ere,Ere,Ire,Cre,Cre),m.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(vqe||(vqe=nEe(["\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"]))),m.default.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(bqe||(bqe=nEe([""],[""])));var Rqe,Lqe,$qe,Qqe,zqe,jqe,Nqe,Mqe,Uqe,Bqe,qqe,Gqe=function(e){var n=e.onEmojiSelected,a=e.disabled,o=r.useRef(null),s=r.useState(!1),l=s[0],u=s[1],c=zC().formatMessage;return t.jsxs(t.Fragment,{children:[t.jsx(Wqe,HPe({ref:o},{children:t.jsx(sIe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:a,ariaLabel:c({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&t.jsx(Xqe,HPe({directionalHint:i.DirectionalHint.topCenter,target:o.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:t.jsx(Yqe,{onSelect:function(e){u(!1),n(e.native)}},void 0)}),void 0)]},void 0)},Wqe=m.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(Rqe||(Rqe=nEe([""],[""]))),Xqe=m.default(hRe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(Lqe||(Lqe=nEe(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),Vqe=r.lazy((function(){return Promise.resolve().then((function(){return MYi}))})),Yqe=function(e){var n=e.onSelect,i=FI();return t.jsx(r.Suspense,HPe({fallback:t.jsx(Zqe,HPe({isSmaller:i.width<Are},{children:t.jsx(lLe,{},void 0)}),void 0)},{children:t.jsx(Vqe,{onSelect:n},void 0)}),void 0)},Zqe=m.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})($qe||($qe=nEe(["\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})),Hqe=function(){var e=Iy();return t.jsx(Kqe,{children:t.jsx("a",HPe({href:"https://giphy.com",target:"_blank",rel:"noreferrer"},{children:t.jsx("img",{src:e.webAppUrl+"/assets/giphy/PoweredBy_200px-White_HorizText.png",alt:"Giphy Attribution"},void 0)}),void 0)},void 0)},Kqe=m.default.div(Qqe||(Qqe=nEe(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),Jqe=function(e){var n,a,o=e.onGifClick,s=e.className,l=Xy(),u=zC().formatMessage,c=new Vhe.GiphyFetch(l.giphy.apiKey),d=r.useState(null),p=d[0],h=d[1],f=XPe(p,500)[0],m=FI(),g=CI((function(){if(!f)return c.trending({limit:21});return c.search(f,{limit:21})}),null,[f]),v=g[0],b=g[1],y=m.width<550?80:100;return t.jsxs(eGe,HPe({className:s},{children:[t.jsx(i.SearchBox,{placeholder:u({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return h(t)},autoFocus:!0},void 0),t.jsxs(tGe,HPe({columnWidth:y,"data-gif-grid":!0},{children:[b&&t.jsx(lLe,{delay:300},void 0),0===(null===(n=null==v?void 0:v.data)||void 0===n?void 0:n.length)&&t.jsx(rF,{id:"Generic.noResultsFound"},void 0),null===(a=null==v?void 0:v.data)||void 0===a?void 0:a.map((function(e){return t.jsx(nGe,{gif:e,width:y,height:y,noLink:!0,hideAttribution:!0,onGifClick:o},e.id)}))]}),void 0)]}),void 0)},eGe=m.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(zqe||(zqe=nEe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),tGe=m.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(jqe||(jqe=nEe(["\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"])),Ere,(function(e){return e.columnWidth}),6),nGe=m.default($ce.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(Nqe||(Nqe=nEe(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),iGe=function(e){var n=e.target,r=e.onGifClick,a=e.onDismiss;return t.jsxs(rGe,HPe({directionalHint:i.DirectionalHint.topCenter,target:n,onDismiss:a,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[t.jsx(aGe,{onGifClick:r},void 0),t.jsx(Hqe,{},void 0)]}),void 0)},rGe=m.default(hRe)(Mqe||(Mqe=nEe(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),aGe=m.default(Jqe)(Uqe||(Uqe=nEe(["\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"])));n.createGlobalStyle(Bqe||(Bqe=nEe(["\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"])),Qre),m.default(Jqe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(qqe||(qqe=nEe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Ere);var oGe,sGe,lGe,uGe,cGe,dGe,pGe=function(e){var n=e.disabled,i=e.onGifClick,a=ste(),o=zC().formatMessage,s=r.useRef(),l=r.useState(!1),u=l[0],c=l[1];return a.giphy?t.jsxs("div",{children:[t.jsx("div",HPe({ref:s},{children:t.jsx(sIe,{iconProps:{iconName:"Gif"},onClick:function(){return c(!0)},disabled:n,"data-button-type":"gif",ariaLabel:o({id:"AriaLabel.gifButton"})},void 0)}),void 0),u&&t.jsx(t.Fragment,{children:t.jsx(iGe,{target:s.current,onGifClick:function(e){c(!1),i({id:e.id.toString(),filename:e.title,url:e.embed_url,type:Ite.Giphy})},onDismiss:function(){return c(!1)}},void 0)},void 0)]},void 0):null},hGe=function(e){var n=e.gifInfo,i=e.className,a=Xy(),o=r.useState(),s=o[0],l=o[1];return r.useEffect((function(){new Vhe.GiphyFetch(a.giphy.apiKey).gif(n.id).then((function(e){return l(e.data)}))}),[a.giphy.apiKey,n.id]),s?t.jsx(fGe,HPe({className:i},{children:t.jsx(mGe,{gif:s,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},fGe=m.default.div(oGe||(oGe=nEe([""],[""]))),mGe=m.default($ce.Gif)(sGe||(sGe=nEe(["\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"])),Qre),gGe=function(e){var n=e.attachments,i=e.onDeleteClick,r=e.className,a=zC().formatMessage,o=n.filter((function(e){return e.type===Ite.Giphy}));return 0===o.length?null:t.jsx(vGe,HPe({className:r,"data-gif-attachment-list":!0},{children:o.map((function(e){return t.jsx(bGe,HPe({domIdentifier:"gif",deleteButton:t.jsx(OBe,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:a({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:t.jsx(hGe,{gifInfo:e},void 0)}),e.id)}))}),void 0)},vGe=m.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(lGe||(lGe=nEe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),bGe=m.default(rRe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(uGe||(uGe=nEe(["\n width: auto;\n"],["\n width: auto;\n"]))),yGe=function(e){var n=e.attachments,i=e.className,r=n.filter((function(e){return e.type===Ite.Giphy}));return 0===r.length?null:t.jsx(OGe,HPe({className:i,"data-gif-url-preview":r[0].id},{children:t.jsx(wGe,{children:t.jsx(hGe,{gifInfo:r[0]},void 0)},void 0)}),void 0)},OGe=m.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(cGe||(cGe=nEe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),wGe=m.default(rRe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(dGe||(dGe=nEe(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),Ere);var _Ge,kGe,xGe,SGe=function(e){var n,a,o=r.useRef(null),s=r.useState(!1),l=s[0],u=s[1];return t.jsxs(PGe,HPe({className:e.className},((n={})[e.dataAttribute]=!0,n),{ref:o},{children:[t.jsx(EGe,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return JPe(this,void 0,void 0,(function(){var t,n;return eEe(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||u(!l),[2]}}))}))},ariaLabel:e.ariaLabel,disabled:e.disabled},void 0),l&&t.jsx(CGe,HPe({className:"icon-with-callout-content",target:o,directionalHint:null==e.directionalHint?i.DirectionalHint.rightCenter:e.directionalHint,gapSpace:4,onDismiss:function(){var t;u(!1),null===(t=e.onCalloutDismissed)||void 0===t||t.call(e)},calloutWidth:null!==(a=e.calloutWidth)&&void 0!==a?a:0},{children:e.children}),void 0)]}),void 0)},PGe=m.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(_Ge||(_Ge=nEe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),EGe=m.default(sIe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(kGe||(kGe=nEe(["\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"]))),CGe=m.default(hRe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(xGe||(xGe=nEe(["\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"]))),FGe="video-view-container";function TGe(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 DGe=["ar-dz","ar-kw","ar-ly","ar-ma","ar-sa","ar-tn","ar","bg","bn","ca","cs","da","de-at","de-ch","de","el","en","en-au","en-ca","en-gb","en-ie","en-il","en-nz","en-sg","es-do","es-us","es","et","fa","fi","fr-ca","fr-ch","fr","gu","he","hi","hr","hu","id","it-ch","it","ja","kn","ko","lt","lv","ml","mr","ms-my","ms","nb","nl-be","nl","pl","pt-br","pt","ro","ru","sk","sl","sr-cyrl","sr-latn","sr","sv","sw","ta","te","th","tr","uk","vi","zh-cn","zh-hk","zh-tw"];function AGe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),DGe.find((function(t){return t===e}))):null}function IGe(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}function RGe(){return navigator.language}var LGe,$Ge,QGe,zGe,jGe,NGe,MGe,UGe,BGe,qGe=function(e){var n=e.onNextClick,i=e.onPrevClick,a=e.onFirstClick,o=e.hidePrevButton,s=e.hideNextButton,l=e.isLoadingNextPage,u=e.className,c=zC().formatMessage,d=r.useContext(jle).theme.palette;return s&&o?null:t.jsxs(GGe,HPe({className:u},{children:[t.jsx(JAe,HPe({resourceKey:"Lib.paging.goToFirstPage"},{children:t.jsx(XGe,{ariaLabel:c({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:o,onClick:a,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),t.jsx(VGe,{iconProps:{iconName:"ChevronLeftSmall"},text:c({id:"Generic.previous.page.button.text"}),isHidden:o,onClick:i,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),t.jsx(YGe,{iconProps:{iconName:"ChevronRightSmall"},text:c({id:"Generic.next.page.button.text"}),disabled:l,isHidden:s,onClick:n,color:d.accent,"data-horizontal-pager-more-button":!0},void 0)]}),void 0)},GGe=m.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(LGe||(LGe=nEe(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),Cre),WGe=m.default(lRe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(QGe||(QGe=nEe(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&n.css($Ge||($Ge=nEe(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),XGe=m.default(WGe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(zGe||(zGe=nEe([""],[""]))),VGe=m.default(WGe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(jGe||(jGe=nEe([""],[""]))),YGe=m.default(WGe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(NGe||(NGe=nEe(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));m.default.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(MGe||(MGe=nEe(["\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})),m.default.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(UGe||(UGe=nEe(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),Dre),m.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(BGe||(BGe=nEe(["\n height: ","px;\n"],["\n height: ","px;\n"])),Cre);var ZGe=bEe,HGe=Array.isArray||function(e){return"Array"==ZGe(e)},KGe=HGe,JGe=aFe,eWe=wLe,tWe=function(e,t,n,i,r,a,o,s){for(var l,u=r,c=0,d=!!o&&eWe(o,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],a>0&&KGe(l))u=tWe(e,t,l,JGe(l.length),u,a-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},nWe=tWe,iWe=PEe,rWe=HGe,aWe=MTe("species"),oWe=nWe,sWe=YFe,lWe=aFe,uWe=XFe,cWe=function(e,t){var n;return rWe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!rWe(n.prototype)?iWe(n)&&null===(n=n[aWe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function dWe(e,t,n){var i=function(e){var t=r.useState(0),n=t[0],i=t[1],a=r.useState({pages:{},paginationToken:null,hasNextPage:!0}),o=a[0],s=a[1];return{state:o,setInitialPages:function(e,t,n){s({pages:{0:tEe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){s((function(r){var a;return{pages:ZPe(r.pages,(a={},a[e]={$set:t},a)),paginationToken:n,hasNextPage:i}}))},lastFetchedPageIndex:n,updateLastFetchedPageIndex:function(t){i(t?e*t:function(t){return t+e})},updateItem:function(e,t){s((function(n){for(var i=HPe({},n.pages),r=Object.keys(i).length,a=0;a<r;){var o=Object.keys(i)[a++],s=i[o];if(s.find((function(t){return t.id===e}))){i[o]=s.map((function(n){return n.id===e?t:n}));break}}return HPe(HPe({},n),{pages:i})}))},insertToTheFront:function(t){for(var r,a,l=tEe([t],(null===(r=o.pages)||void 0===r?void 0:r[0])||[]),u=HPe(HPe({},o.pages),{0:l}),c=Object.keys(u).length,d=0;d<c;){var p=0===d,h=Object.keys(u)[d],f=u[h].length;if(p&&f>e&&f<=2*e){n<2*e&&i(n+e);break}if(f<=e)break;var m=u[h].pop(),g=null!==(a=Object.keys(u)[d+1])&&void 0!==a?a:p?2*e:+h+e,v=u[g];if(!v){o.hasNextPage||(u[g]=[m],i(n+e));break}v.unshift(m),d++}s(HPe(HPe({},o),{pages:u}))},deleteItem:function(t){for(var r=HPe({},o.pages),a=Object.keys(r).length,l=0;l<a;){var u=Object.keys(r)[l],c=r[u].find((function(e){return e.id===t}));if(c){r[u]=r[u].filter((function(e){return e.id!==t}));break}l++}for(var d=!1;l<a;){if(!r[u=Object.keys(r)[l++]].length&&l===a){delete r[u],d=!0;break}var p=Object.keys(r)[l],h=p?r[p]:null;if(!h)break;var f=h.shift();r[u].push(f)}s(HPe(HPe({},o),{pages:r}));var m=(d||r[0].length===e)&&n>e;return m&&i(n-e),m}}}(e),a=i.state,o=i.setInitialPages,s=i.updatePageItems,l=i.lastFetchedPageIndex,u=i.updateLastFetchedPageIndex,c=i.updateItem,d=i.insertToTheFront,p=i.deleteItem,h=r.useState(0),f=h[0],m=h[1],g=r.useState(!0),v=g[0],b=g[1],y=r.useState(!1),O=y[0],w=y[1],_=r.useState(null),k=_[0],x=_[1];r.useEffect((function(){P()}),tEe([e],n||[]));var S=Object.keys(a.pages).flatMap((function(e){return a.pages[e]})).slice(f-e,f);return{items:S,isInitialLoading:v,isLoadingNextPage:O,error:k,getFirstPage:function(){return m(e)},getPrevPage:function(){return m(f-e)},getNextPage:function(){return JPe(this,void 0,void 0,(function(){return eEe(this,(function(t){switch(t.label){case 0:return m(f+e),a.hasNextPage&&f===l-e?[4,E(a.paginationToken)]:[3,2];case 1:t.sent(),u(),t.label=2;case 2:return[2]}}))}))},isFirstPage:f===e,isLastPage:f===l&&!a.hasNextPage,isEmpty:!v&&0===(null==S?void 0:S.length),insertToTheFront:d,updateItem:c,onBeforeDeleteItem:function(t){var n=p(t);!a.hasNextPage&&n&&f>=l&&f>0&&m(f-e);w(!0)},onAfterDeleteItem:function(){return JPe(this,void 0,void 0,(function(){return eEe(this,(function(t){switch(t.label){case 0:return a.hasNextPage?a.paginationToken!==2*e?[3,2]:[4,P()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,E(+a.paginationToken-e)];case 3:t.sent(),u(),t.label=4;case 4:return w(!1),[2]}}))}))}};function P(){return JPe(this,void 0,void 0,(function(){var n,i;return eEe(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,3,4]),[4,t(2*e,null)];case 1:return n=r.sent(),o(n.items,n.paginationToken,n.hasNextPage),n.items.length<=e?(u(1),m(e)):(u(2),m(e)),[3,4];case 2:return i=r.sent(),rO.error(i),x(i),[3,4];case 3:return b(!1),[7];case 4:return[2]}}))}))}function E(n){return JPe(this,void 0,void 0,(function(){var i,r;return eEe(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,3,4]),w(!0),[4,t(e,n)];case 1:return i=a.sent(),s(n,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=a.sent(),rO.error(r),x(k),[3,4];case 3:return w(!1),[7];case 4:return[2]}}))}))}}WFe({target:"Array",proto:!0},{flatMap:function(e){var t,n=sWe(this),i=lWe(n.length);return uWe(e),(t=cWe(n,0)).length=oWe(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),kDe("flatMap");var pWe,hWe,fWe,mWe,gWe,vWe,bWe,yWe=function(e){var n=e.onNextClick,i=e.onPrevClick,a=e.hidePagination,o=e.disablePrevButton,s=e.disableNextButton,l=e.children,u=e.className,c=r.useContext(jle).theme.palette,d=zC().formatMessage;return a?t.jsx(t.Fragment,{children:l},void 0):t.jsxs(OWe,HPe({className:u},{children:[t.jsx(_We,{disabled:o,onClick:i,iconProps:{iconName:"ChevronUpSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.previous"})},void 0),t.jsx(xWe,{children:l},void 0),t.jsx(kWe,{disabled:s,onClick:n,iconProps:{iconName:"ChevronDownSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.next"})},void 0)]}),void 0)},OWe=m.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(pWe||(pWe=nEe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),wWe=m.default(sIe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(hWe||(hWe=nEe(["\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"])),Rle),_We=m.default(wWe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(fWe||(fWe=nEe(["\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})),kWe=m.default(wWe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(mWe||(mWe=nEe(["\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})),xWe=m.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(gWe||(gWe=nEe(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),Cre,15),SWe=r.createContext(null);m.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(vWe||(vWe=nEe(["\n width: 100%;\n"],["\n width: 100%;\n"]))),m.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(bWe||(bWe=nEe(["\n display: contents;\n"],["\n display: contents;\n"])));var PWe,EWe,CWe,FWe,TWe,DWe,AWe,IWe,RWe,LWe=n.css(PWe||(PWe=nEe(["\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"]))),$We=n.css(EWe||(EWe=nEe(["\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"])),LWe,Ire,Cre),QWe=n.css(CWe||(CWe=nEe(["\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})),zWe=n.css(FWe||(FWe=nEe(["\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"])),zre),jWe="AllChannels",NWe=n.createGlobalStyle(TWe||(TWe=nEe(["\n ","\n"],["\n ","\n"])),zWe),MWe=m.default(zRe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(DWe||(DWe=nEe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),$We),UWe=m.default(a.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(AWe||(AWe=nEe(["\n ","\n"],["\n ","\n"])),QWe),BWe=m.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(IWe||(IWe=nEe(["\n ",";\n"],["\n ",";\n"])),QWe),qWe=function(e){var n=e.handler,i=e.disabled;return ste().unreadTracking?t.jsx(ZMe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},GWe=function(e){var n=e.onClick,i=e.to,r=e.disabled;return t.jsx(ZMe,{tooltipResourceKey:"Generic.showManageView",disabled:r,iconName:"edit",to:null==i?void 0:i.url,target:null==i?void 0:i.target,onClick:n,"data-toolbar-manage-button":!0,ariaLabelResourceKey:"AriaLabel.goToManageView"},void 0)};e.EventView=void 0,(RWe=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",RWe.MyBookedEvents="booked",RWe.PastEvents="past";var WWe,XWe,VWe,YWe,ZWe=n.createGlobalStyle(WWe||(WWe=nEe(["\n ","\n"],["\n ","\n"])),zWe),HWe=m.default(zRe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(XWe||(XWe=nEe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),$We),KWe=m.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(VWe||(VWe=nEe(["\n ",";\n"],["\n ",";\n"])),QWe);function JWe(){var e=NX(),t=e.createApiUrl,n=e.fetchFromApi,i=r.useContext(AI).onRequestToken;return r.useMemo((function(){return{uploadImage:function(e,t,r,a,o){return JPe(this,void 0,void 0,(function(){var s,l,u;return eEe(this,(function(c){switch(c.label){case 0:return(s=new FormData).append("image",o,o.name||"image."+BY.getExtension(o.type)),[4,i()];case 1:return l=c.sent(),u={method:"POST",body:s,headers:zX(l,t)},[2,n(e+"/attachments/"+a+"/images/"+r,u)]}}))}))},uploadFile:function(e,t,r,a,o){return JPe(this,void 0,void 0,(function(){var s,l,u;return eEe(this,(function(c){switch(c.label){case 0:return(s=new FormData).append("file",o),[4,i()];case 1:return l=c.sent(),u={method:"POST",body:s,headers:zX(l,t)},[2,n(e+"/attachments/"+a+"/files/"+r,u)]}}))}))},getFileUrl:function(e,n,i,r,a){if(null!=a||(a=i.fileAccessToken),!a)return null;return t(e+"/attachments/"+i.attachmentContainerId+"/files/"+r,{subscriptionId:n,access_token:a})},getImageUrl:function(t,n,i,r,a,o){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,a,o)},getChatMessageImageUrl:function(t,n,i,r,a,o){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,a,o)}};function e(e,n,i,r,a,o,s){return t(null==o?e+"/attachments/"+r+"/images/"+a:"default"===o?e+"/attachments/"+r+"/images/"+a+"/default":e+"/attachments/"+r+"/images/"+a+"/"+o+"/"+(s||""),{subscriptionId:n,access_token:i})}}),[i,n,t])}function eXe(){var e=MX();return r.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return JPe(this,void 0,void 0,(function(){var t;return eEe(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,_ne.apply(void 0,tEe([e],t))]}}))}))},resolveActiveLanguages:function(e){return JPe(this,void 0,void 0,(function(){return eEe(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 JPe(this,void 0,void 0,(function(){var t;return eEe(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 tXe(){var e=NX(),t=e.createApiUrl,n=e.fetchFromApi;return r.useMemo((function(){return{getVideoThumbnailUrl:function(e,n,i,r,a,o,s,l){void 0===s&&(s=0);return t("/videos/"+encodeURIComponent(r)+"/thumbnail/"+("number"==typeof s?s:0)+"/"+(l||""),{access_token:e,subscriptionId:n,videoSource:i,itemId:a,hasCustomThumbnail:o})},getBannerVideoThumbnailUrl:function(e,n,i,r,a,o){return t("/"+r+"/"+n+"/videos/banner/thumbnail/"+("number"==typeof a?a:0)+"/"+(o||""),{access_token:e,subscriptionId:i})},uploadCustomVideoThumbnail:function(e,t,i,r,a){return JPe(this,void 0,void 0,(function(){var o,s;return eEe(this,(function(l){switch(l.label){case 0:return(o=new FormData).append("file",a),s={method:"POST",body:o,headers:zX(e,i)},[4,n("/editor/"+t+"/videos/"+encodeURIComponent(r)+"/thumbnail",s)];case 1:return[2,l.sent()]}}))}))}}}),[t,n])}n.createGlobalStyle(YWe||(YWe=nEe(["\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 nXe,iXe,rXe,aXe,oXe,sXe,lXe,uXe,cXe,dXe,pXe,hXe,fXe,mXe,gXe=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}(),vXe=function(e){var n=ste(),i=r.useState(null),a=i[0],o=i[1],s=Kte().getUserAvatarUrl;if(vue(gXe.type,(function(t){return t.upn===e.upn&&u(e.upn,e.tenantId),!1}),[e.upn]),r.useEffect((function(){var t=u(e.upn,e.tenantId);return function(){return null==t?void 0:t.unsubscribe()}}),[e.upn]),!n.avatars)return null;var l=TP(e.text||e.displayName||e.upn);return t.jsx(bXe,HPe({},e,{"data-avatar":!0,text:e.text,imageUrl:a,imageShouldFadeIn:!1,imageInitials:l,initialsColor:DP(l),secondaryText:!e.forceShowSecondaryText&&Ate(e.secondaryText)?null:e.secondaryText}),void 0);function u(e,t){return null==e?(o(null),null):s(e,t).subscribe((function(e){o(e)}),(function(e){return console.log(e)}))}},bXe=m.default(i.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(nXe||(nXe=nEe(["\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"]))),yXe=function(e){var n=e.className,i=e.iconName,r=e.tooltipResourceKey,a=e.tooltipText,o=e.children;return o?t.jsxs(wXe,HPe({className:n},{children:[i&&t.jsx(JAe,HPe({resourceKey:r,text:a},{children:t.jsx(OXe,{iconName:i},"icon")}),void 0),t.jsx(_Xe,HPe({dir:"auto"},{children:o}),void 0)]}),void 0):null},OXe=m.default(i.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(iXe||(iXe=nEe(["\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"]))),wXe=m.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(rXe||(rXe=nEe(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),_Xe=m.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContent",componentId:"sc-yfrgje-2"})(aXe||(aXe=nEe([""],[""]))),kXe=function(e){var n=e.email;return Ate(n)?null:t.jsx(yXe,HPe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:t.jsx(DXe,HPe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},xXe=function(e){var n=e.value,i=zC().formatMessage;return null==n?null:t.jsx(yXe,HPe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:t.jsx(DXe,HPe({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},SXe=function(e){var n=e.value,i=zC().formatMessage;return null==n?null:(n="string"==typeof n?[n]:n,t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsx(yXe,HPe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:t.jsx(DXe,HPe({href:"tel:"+e},{children:i({id:"Generic.callOffice"},{number:e})}),void 0)}),e+n)}))},void 0))},PXe=function(e){var n=e.value,i=e.tooltipResourceKey,r=ste();return null==n?null:t.jsx(yXe,HPe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?t.jsx(DXe,HPe({target:"_blank",rel:"noopener noreferrer",href:UUe(n)},{children:n}),void 0):t.jsx(t.Fragment,{children:n},void 0)}),void 0)},EXe=function(e){var n=e.value;return null==n?null:t.jsx(yXe,HPe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},CXe=function(e){var n=e.value;return null==n?null:t.jsx(yXe,HPe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},FXe=function(e){var n=e.value,i=xse().buildPath,r=ste();if(!(null==n?void 0:n.userId)||!r.chat)return null;var a={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return t.jsx(yXe,HPe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:t.jsx(AXe,HPe({to:i("chats/new")+"?"+Vy.stringify({userId:a.id,userDisplayName:a.displayName,userPrincipalName:a.userPrincipalName})},{children:t.jsx(rF,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},TXe=n.css(oXe||(oXe=nEe(["\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})),DXe=m.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(sXe||(sXe=nEe(["\n ","\n"],["\n ","\n"])),TXe),AXe=m.default(a.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(lXe||(lXe=nEe(["\n ","\n"],["\n ","\n"])),TXe),IXe={mobilePhone:xXe,department:EXe,address:PXe},RXe=function(e){var n=e.className,i=e.value,a=e.definition,o=function(){var e=ote(),t=zC().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=hP(e.preferredUiLanguage),a=i.translations||{},o=Object.keys(n);return r&&a[r]||a[e.subscription.defaultLanguage]||i.label||o.some((function(e){return e===i.name}))&&t({id:"Generic."+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=o.getPropertyLabel,l=o.getPropertyIcon;if(null==i)return null;var u=s(a),c=l(a),d=IXe[a.name];return d?r.createElement(d,{value:i}):t.jsx(yXe,HPe({iconName:c,tooltipText:u,className:n},{children:i}),void 0)},LXe=function(e){var n,i,r,a,o,s=e.user,l=e.ignoredProperties,u=void 0===l?[]:l;return t.jsxs(t.Fragment,{children:[!u.includes("department")&&t.jsx(EXe,{value:null===(n=s.properties)||void 0===n?void 0:n.department},void 0),!u.includes("jobTitle")&&t.jsx(CXe,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle},void 0),!u.includes("mobilePhone")&&t.jsx(xXe,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone},void 0),!u.includes("businessPhones")&&t.jsx(SXe,{value:null===(a=s.properties)||void 0===a?void 0:a.businessPhones},void 0),!u.includes("chatMessage")&&t.jsx(FXe,{value:s},void 0),!u.includes("officeLocation")&&t.jsx(PXe,{value:null===(o=s.properties)||void 0===o?void 0:o.officeLocation},void 0)]},void 0)},$Xe=function(e){var n=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,a=ote();return t.jsxs(t.Fragment,{children:[!r.includes("chatMessage")&&t.jsx(FXe,{value:n},void 0),a.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return t.jsx(RXe,{definition:e,value:null===(i=n.properties)||void 0===i?void 0:i[e.name]},e.name)}))]},void 0)},QXe=["displayName","department","jobTitle"],zXe=function(e){var n,r=e.upn,a=e.showAvatar,o=e.id,s=Kte(),l=s.getUserInfo,u=s.getUserInfoById,c=CI((function(){return r?l(r):u(o)}),null,[r,o]),d=c[0],p=c[1];if(c[2])return t.jsx(jXe,{children:r?t.jsx(rF,{id:"Profile.CannotLoadInfo",values:{upn:r}},void 0):t.jsx(rF,{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(p)return t.jsx(UXe,{},void 0);var h=a?QXe:[];return t.jsxs(NXe,HPe({"data-user-details":!0},{children:[a&&t.jsx(vXe,{upn:d.userPrincipalName,size:i.PersonaSize.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle},void 0),t.jsxs(MXe,{children:[t.jsx(kXe,{email:null!==(n=d.mail)&&void 0!==n?n:d.userPrincipalName},void 0),d.isDirectoryUser?t.jsx(LXe,{user:d,ignoredProperties:h},void 0):t.jsx($Xe,{user:d,ignoredProperties:h},void 0)]},void 0)]}),void 0)},jXe=m.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(uXe||(uXe=nEe(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),NXe=m.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(cXe||(cXe=nEe(["\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"])),qre),MXe=m.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(dXe||(dXe=nEe(["\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"])),Ere),UXe=m.default(lLe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(pXe||(pXe=nEe(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),BXe=function(e){var n=e.upn,a=e.className,o=e.children,s=e.readOnly,l=e.domIdentifier,u=r.useRef(null),c=ote(),d=r.useState(!1),p=d[0],h=d[1];return s?t.jsx(GXe,HPe({className:a},{children:o}),void 0):t.jsxs(t.Fragment,{children:[t.jsx(GXe,HPe({ref:u,className:a},{children:t.jsx(WXe,HPe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),h(!p)},ariaLabel:n,dir:"auto"},{children:o}),"children")}),void 0),p&&!c.isPublicUser&&t.jsx(hRe,HPe({className:"persona-card-callout",directionalHint:i.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return h(!1)},target:u.current},{children:t.jsx(qXe,{children:t.jsx(zXe,{upn:n,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},qXe=m.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(hXe||(hXe=nEe(["\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,Cre,Ire),GXe=m.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(fXe||(fXe=nEe(["\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"]))),WXe=m.default(i.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(mXe||(mXe=nEe(["\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 XXe(){return XXe=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},XXe.apply(this,arguments)}var VXe=function(e){return g.createElement("svg",XXe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),g.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),g.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}}),g.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}}),g.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"}}),g.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}}),g.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 YXe(){return YXe=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},YXe.apply(this,arguments)}var ZXe=function(e){return g.createElement("svg",YXe({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),g.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}}),g.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}}),g.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"}}),g.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}}),g.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 HXe(){return HXe=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},HXe.apply(this,arguments)}var KXe,JXe,eVe,tVe,nVe,iVe,rVe=function(e){return g.createElement("svg",HXe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),g.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),g.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}}),g.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}}),g.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"}}),g.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}}),g.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"}}))},aVe=function(e){var n=e.info,i="number"==typeof n;return t.jsx(oVe,HPe({isNumber:i,"data-badge-info":n},{children:t.jsx(sVe,HPe({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},oVe=m.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(eVe||(eVe=nEe(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?n.css(KXe||(KXe=nEe(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):n.css(JXe||(JXe=nEe(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),sVe=m.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(nVe||(nVe=nEe(["\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 n.css(tVe||(tVe=nEe(["\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,Gre)}));function lVe(){return lVe=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},lVe.apply(this,arguments)}var uVe,cVe=function(e){return g.createElement("svg",lVe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),iVe||(iVe=g.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 dVe(n){return t.jsx(bVe,HPe({"data-page-alert":!0},{children:t.jsxs(yVe,{children:[n.errorType&&t.jsx(OVe,HPe({onClick:n.onClick},{children:n.errorType===e.ErrorType.LoginError?t.jsx(ZXe,{},void 0):n.errorType===e.ErrorType.GenericError?t.jsx(VXe,{},void 0):n.errorType===e.ErrorType.Error403?t.jsx(rVe,{},void 0):t.jsx(VNe,{},void 0)}),void 0),t.jsx(wVe,{children:n.alertText},void 0),t.jsx(_Ve,{children:n.children},void 0)]},void 0)}),void 0)}e.ErrorType=void 0,(uVe=e.ErrorType||(e.ErrorType={})).GenericError="genericError",uVe.Error404="error404",uVe.Error403="error403",uVe.LoginError="loginError";var pVe,hVe,fVe,mVe,gVe,vVe,bVe=m.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(pVe||(pVe=nEe(["\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})),yVe=m.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(hVe||(hVe=nEe(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),OVe=m.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(fVe||(fVe=nEe(["\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}),zre),wVe=m.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(mVe||(mVe=nEe(["\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),_Ve=m.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(gVe||(gVe=nEe(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),kVe=m.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(vVe||(vVe=nEe(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),xVe={exports:{}},SVe=Object.getOwnPropertySymbols,PVe=Object.prototype.hasOwnProperty,EVe=Object.prototype.propertyIsEnumerable;function CVe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var FVe=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=CVe(e),a=1;a<arguments.length;a++){for(var o in n=Object(arguments[a]))PVe.call(n,o)&&(r[o]=n[o]);if(SVe){i=SVe(n);for(var s=0;s<i.length;s++)EVe.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},TVe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",DVe=Function.call.bind(Object.prototype.hasOwnProperty),AVe=function(){};if("production"!==process.env.NODE_ENV){var IVe=TVe,RVe={},LVe=DVe;AVe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function $Ve(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var a in e)if(LVe(e,a)){var o;try{if("function"!=typeof e[a]){var s=Error((i||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}o=e[a](t,a,i,n,null,IVe)}catch(e){o=e}if(!o||o instanceof Error||AVe((i||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),o instanceof Error&&!(o.message in RVe)){RVe[o.message]=!0;var l=r?r():"";AVe("Failed "+n+" type: "+o.message+(null!=l?l:""))}}}$Ve.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(RVe={})};var QVe=$Ve,zVe=w.default,jVe=FVe,NVe=TVe,MVe=DVe,UVe=QVe,BVe=function(){};function qVe(){return null}"production"!==process.env.NODE_ENV&&(BVe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function GVe(){}function WVe(){}WVe.resetWarningCache=GVe;if("production"!==process.env.NODE_ENV){var XVe=w.default;xVe.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(qVe),arrayOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new o("Invalid "+r+" `"+a+"` of type `"+d(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,a+"["+l+"]",NVe);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,a){var s=t[n];return e(s)?null:new o("Invalid "+r+" `"+a+"` of type `"+d(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var a=e[t];return zVe.isValidElementType(a)?null:new o("Invalid "+i+" `"+r+"` of type `"+d(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,a,s){if(!(t[n]instanceof e)){var l=e.name||i;return new o("Invalid "+a+" `"+s+"` of type `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:i)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var u;return null}))},node:s((function(e,t,n,i,r){return c(e[t])?null:new o("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(MVe(s,u)){var c=e(s,u,i,r,a+"."+u,NVe);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&BVe(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."),qVe;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(a(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new o("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&BVe("Invalid argument supplied to oneOfType, expected an instance of array."),qVe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return BVe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+h(n)+" at index "+t+"."),qVe}return s((function(t,n,i,r,a){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,i,r,a,NVe);if(null==u)return null;u.data&&MVe(u.data,"expectedType")&&s.push(u.data.expectedType)}return new o("Invalid "+r+" `"+a+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,i,r,a){var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var c in e){var h=e[c];if("function"!=typeof h)return u(i,r,a,c,p(h));var f=h(s,c,i,r,a+"."+c,NVe);if(f)return f}return null}))},exact:function(e){return s((function(t,n,i,r,a){var s=t[n],l=d(s);if("object"!==l)return new o("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var c=jVe({},t[n],e);for(var h in c){var f=e[h];if(MVe(e,h)&&"function"!=typeof f)return u(i,r,a,h,p(f));if(!f)return new o("Invalid "+r+" `"+a+"` key `"+h+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=f(s,h,i,r,a+"."+h,NVe);if(m)return m}return null}))}};function a(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function o(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 a(a,s,l,u,c,d,p){if(u=u||i,d=d||l,p!==NVe){if(t){var h=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 h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var f=u+":"+l;!n[f]&&r<3&&(BVe("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. 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[f]=!0,r++)}}return null==s[l]?a?null===s[l]?new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new o("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=a.bind(null,!1);return s.isRequired=a.bind(null,!0),s}function l(e){return s((function(t,n,i,r,a,s){var l=t[n];return d(l)!==e?new o("Invalid "+r+" `"+a+"` of type `"+p(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function u(e,t,n,i,r){return new o((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function c(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(c);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,a=i.call(t);if(i!==t.entries){for(;!(r=a.next()).done;)if(!c(r.value))return!1}else for(;!(r=a.next()).done;){var o=r.value;if(o&&!c(o[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 h(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 o.prototype=Error.prototype,r.checkPropTypes=UVe,r.resetWarningCache=UVe.resetWarningCache,r.PropTypes=r,r}(XVe.isElement,!0)}else xVe.exports=function(){function e(e,t,n,i,r,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var o=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 o.name="Invariant Violation",o}}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:WVe,resetWarningCache:GVe};return n.PropTypes=n,n}();var VVe=xVe.exports,YVe=Object.freeze({__proto__:null,useCurrentUser:ote,useAccountApi:Kte,useAuthenticationContext:II,useEnvironmentConfig:Ry,useNotificationContext:Yle,usePromise:CI,LinkContext:uF,TextLink:qMe,logger:rO,createId:oO,ResourceContext:vF,usePluginSettings:function(){var e=r.useContext(Cse).settings;return null!=e?e:{}},usePluginStorage:Ase,usePluginDeviceStore:Ase,usePluginSubscriptionStore:function(){return r.useContext(Cse).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,i=r.useContext(Cse).subscriptionStore,a=CI((function(){return i.get(e).catch(Rse)}),void 0,t4(t4([],t||[]),[e])),o=a[0],s=a[1],l=a[2],u=a[3],c=a[4];return{data:o,set:function(t){return J3(n,void 0,void 0,(function(){var n;return e4(this,(function(r){switch(r.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,i.set(e,t).catch((function(e){return u(n),Rse(e)}))];case 1:return[2,r.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return J3(n,void 0,void 0,(function(){var t;return e4(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,i.delete(e).catch((function(e){return u(t),Rse(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return r.useContext(Cse).userStore},usePluginUserStoreValue:function(e,t){var n=this,i=r.useContext(Cse).userStore,a=CI((function(){return i.get(e).catch(Rse)}),void 0,t4(t4([],t||[]),[e])),o=a[0],s=a[1],l=a[2],u=a[3],c=a[4];return{data:o,set:function(t){return J3(n,void 0,void 0,(function(){var n;return e4(this,(function(r){switch(r.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,u(t),[4,i.set(e,t).catch((function(e){return u(n),Rse(e)}))];case 1:return[2,r.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return J3(n,void 0,void 0,(function(){var t;return e4(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,u(void 0),[4,i.delete(e).catch((function(e){return u(t),Rse(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Iy().apiEndpoint}},AccountType:Uee,PeoplePicker:yIe,GutterToggle:lIe,EditorSettingsDialog:oIe,Spinner:i.Spinner,SelectionMode:i.SelectionMode,EditorHighlight:tIe,useTheme:function(){return r.useContext(jle).theme},useSubscriptionHandlePathBuilder:xse,useSubscriptionWebAppUrl:Sse});var ZVe,HVe=[{name:"@reach/core",packageDefinition:HPe({default:{}},YVe)}],KVe=[{name:"react",packageDefinition:HPe(HPe({},v.default),{default:v.default})},{name:"react-dom",packageDefinition:HPe(HPe({},O),{default:O})},{name:"react-is",packageDefinition:HPe(HPe({},w.default),{default:w.default})},{name:"prop-types",packageDefinition:HPe({default:VVe},VVe)},{name:"react-router-dom",packageDefinition:HPe({default:b},b)},{name:"styled-components",packageDefinition:{default:m.default,createGlobalStyle:n.createGlobalStyle,css:n.css,useTheme:n.useTheme,isStyledComponent:n.isStyledComponent,keyframes:n.keyframes,withTheme:n.withTheme,ThemeProvider:n.ThemeProvider,ThemeContext:n.ThemeContext,ThemeConsumer:n.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:i.Checkbox,Label:i.Label,PrimaryButton:i.PrimaryButton,Icon:i.Icon,Link:i.Link,TextField:i.TextField,ActionButton:i.ActionButton,IconButton:i.IconButton,DefaultButton:i.DefaultButton,Spinner:i.Spinner,Dropdown:i.Dropdown,ProgressIndicator:i.ProgressIndicator,Shimmer:i.Shimmer,ShimmerElementsGroup:i.ShimmerElementsGroup,ShimmerElementType:i.ShimmerElementType,DirectionalHint:i.DirectionalHint,PersonaSize:i.PersonaSize,TooltipHost:i.TooltipHost,DialogType:i.DialogType,Dialog:rEe,DialogFooter:i.DialogFooter,ChoiceGroup:i.ChoiceGroup}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:rF,useIntl:zC,FormattedDate:aF,FormattedTime:oF,IntlProvider:XC}},{name:"@apollo/client",packageDefinition:{default:{},gql:UN,useQuery:function(e,t){return sM(e,t,!1)},ApolloClient:RN,ApolloProvider:KN,from:uz,ApolloLink:lz,fromPromise:nz,split:cz,HttpLink:bz,InMemoryCache:fN,useLazyQuery:function(e,t){return sM(e,t,!0)},useMutation:lM,ApolloError:gN,useApolloClient:JN,useSubscription:function(e,t){var n=r.useReducer((function(e){return e+1}),0),i=n[1],a=r.useContext(ZN()),o=t?ka(ka({},t),{subscription:e}):{subscription:e},s=r.useState({loading:!o.skip,error:void 0,data:void 0}),l=s[0],u=s[1],c=r.useRef(),d=(c.current||(c.current=new iM({options:o,context:a,setResult:u})),c.current);return d.setOptions(o,!0),d.context=a,__DEV__&&oM(i),r.useEffect((function(){return d.afterExecute()})),r.useEffect((function(){return function(){d.cleanup(),c.current=void 0}}),[]),d.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:$R}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:cM}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:Z$}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:uM}}],JVe=function(e){var n=e.color,a=e.onColorChange,o=e.className,s=r.useState(n),l=s[0],u=s[1];return r.useEffect((function(){u(n)}),[n]),t.jsx(eYe,HPe({className:o},{children:t.jsx(i.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){u(e),null==a||a(e)}(t.str)}},void 0)}),void 0)},eYe=m.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(ZVe||(ZVe=nEe(["\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"])),Cre),tYe=function(e){var n=e.children,i={data:[],getUser:function(){},identify:function(e,t){return Promise.resolve(void 0)},interaction:function(e){return Promise.resolve(void 0)},load:function(e,t){},onItemRead:function(e){},onSearchTermChange:function(e){return Promise.resolve(void 0)},activity:function(e){},contextualProperties:null,setContextualProperties:function(e){}};return t.jsx(kae.Provider,ka({value:i},{children:n}),void 0)},nYe=function(e){var n=e.onRequestToken,i=e.children,a=e.subscriptionId,o=r.useState(null),s=o[0],l=o[1],u=r.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(n){return rO.error(e,t),[2,Promise.reject(e)]}))}))}}}),[a,s]);return t.jsx(AI.Provider,ka({value:u},{children:i}),void 0)},iYe="0.4.116",rYe="141546",aYe="277894088e4961cc722e0770c78375ddc4a58bcf",oYe=W,sYe=z,lYe=Sn("match"),uYe=function(e){var t;return oYe(e)&&(void 0!==(t=e[lYe])?!!t:"RegExp"==sYe(e))},cYe=uYe,dYe=Sn("match"),pYe=function(e){if(cYe(e))throw TypeError("The method doesn't accept regular expressions");return e},hYe=U,fYe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[dYe]=!1,"/./"[e](t)}catch(e){}}return!1};cn({target:"String",proto:!0,forced:!fYe("includes")},{includes:function(e){return!!~String(hYe(this)).indexOf(pYe(e),arguments.length>1?arguments[1]:void 0)}});var mYe,gYe,vYe={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:"00bc5e79-67a0-447f-b841-daab4017898e"}]}}}},bYe={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"}]}}}},yYe=require("deepmerge"),OYe=["//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"],wYe=function(e){var n=e.children,i=Iy(),a=i.apiEndpoint,o=i.additionalVideoSources,s=r.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!OYe.some((function(e){return a.toLowerCase().includes(e)}));if(!e)return rO.info("Will use non prod client config..."),ka(ka({},vYe),{additionalVideoSources:o});var t=yYe(vYe,bYe,{arrayMerge:function(e,t){return t}});return ka(ka({},t),{additionalVideoSources:o})}())}),[a]);return t.jsx(Wy.Provider,ka({value:s},{children:n}),void 0)},_Ye=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 Sa(this,void 0,void 0,(function(){return Pa(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 Sa(this,void 0,void 0,(function(){return Pa(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}(),kYe=new _Ye,xYe=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(SYe,ka({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},SYe=function(e){var n=e.subscriptionId,i=e.children,a=r.useContext(AI).setToken,o=dF(),s=uue().getSubscriptionBySubscriptionIdentifier,l=NX().fetchFromApi,u=r.useContext(lF),c=u.handleFatalError,d=u.handleAccessDeniedError,p=CI((function(){return Sa(this,void 0,void 0,(function(){var e,t,i;return Pa(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,o.getString(e)];case 1:return(t=r.sent())?(a(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),a(i),[4,o.setString(e,i)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[n]),h=p[0],f=p[1],m=p[2];if(m)return rO.error(m),c({error:m}),null;if(f)return null;if(!h){var g={message:"Public access is not enabled for the subscription "+n+"!"};return rO.error(g.message),d({error:g}),null}return t.jsx(t.Fragment,{children:i},void 0);function v(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},PYe=function(e){var n=e.children,i=r.useState(),a=i[0],o=i[1],s=r.useState(),l=s[0],u=s[1],c=r.useState(),d=c[0],p=c[1],h=r.useMemo((function(){return{handleFatalError:o,handleAccessDeniedError:u,handleNotFoundError:p}}),[o,u,p]);return t.jsx(lF.Provider,ka({value:h},{children:t.jsx(EYe,ka({fatalError:a,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},EYe=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,a=e.children;return n?t.jsx(CYe,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(CYe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(CYe,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:a},void 0)},CYe=function(n){var i=n.messageId,a=n.error,o=zC().formatMessage,s=r.useState(!1),l=s[0],u=s[1];return t.jsx(dVe,ka({errorType:e.ErrorType.GenericError,alertText:o({id:i||"FatalError.genericMessage"}),onClick:function(){return u(!l)}},{children:l&&t.jsxs(FYe,{children:[t.jsx(rF,{id:"Generic.error.details"},void 0),t.jsx(TYe,{children:JSON.stringify(a)||"Not provided"},void 0)]},void 0)}),void 0)},FYe=m.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(mYe||(mYe=Ra(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),Cre),TYe=m.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(gYe||(gYe=Ra(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),DYe=function(e){var n=e.children,i=Sse(),a=r.useMemo((function(){return{onShare:function(){return Sa(void 0,void 0,void 0,(function(){return Pa(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(uF.Provider,ka({value:a},{children:n}),void 0);function o(e){window.open(e,"_blank")}function s(e){window.open(""+i+e)}},AYe=function(){return null},IYe=Object.freeze({__proto__:null,Page:AYe,NavLinkSidebarItem:AYe,PageMenuActionItem:AYe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+iYe+" ("+rYe+") ["+aYe+"]"),window.__did_initialize_reach_context)return;i.initializeIcons()}();var RYe=function(e){var n=e.disableAnalytics,i=e.appName,r=e.children;return n?t.jsx(tYe,{children:r},void 0):t.jsx(Sae,ka({appName:i},{children:r}),void 0)},LYe=function(e){var n,i=e.children,a=e.language,o=e.languageFallback,s=void 0===o?"default":o,l=e.locale,u=e.subscriptionId,c=r.useContext(jle).setTheme,d=r.useContext(vF).changeSettings,p=function(){var e=Jte().getCurrentUser,t=CZ();return{getCurrentUser:function(n){return J3(this,void 0,void 0,(function(){var i=this;return e4(this,(function(r){switch(r.label){case 0:return[4,t.fetchQuery(["fetchCurrentUser",n],(function(){return J3(i,void 0,void 0,(function(){return e4(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}().getCurrentUser,h=CI((function(){var e,t,n;return Sa(this,void 0,void 0,(function(){var i,r,o,h;return Pa(this,(function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,p(u)];case 1:return i=f.sent(),(null===(e=null==i?void 0:i.subscription)||void 0===e?void 0:e.theme)&&c(i.subscription.theme),r=hP(a,"default"===s?i.preferredUiLanguage:null,pP(),null===(t=i.subscription)||void 0===t?void 0:t.defaultLanguage),o=function(e,t,n){return n?AGe(t)||AGe(IGe())||AGe(RGe())||AGe(null==e?void 0:e.preferredLocale)||AGe(null==e?void 0:e.preferredUiLanguage)||"en":AGe(t)||AGe(null==e?void 0:e.preferredLocale)||AGe(IGe())||AGe(null==e?void 0:e.preferredUiLanguage)||AGe(RGe())||"en"}(i,l,"browser"===s),d(r,o).then((function(){return null}),rO.error),"browser"===s?(i.preferredContentLanguage=a||pP()||(null===(n=i.subscription)||void 0===n?void 0:n.defaultLanguage)||"en",i.preferredLocale=o,i.preferredUiLanguage=r):a&&(i.preferredContentLanguage=a),[2,i];case 2:throw h=f.sent(),rO.error(h),h;case 3:return[2]}}))}))})),f=h[0],m=h[1],g=h[2],v=h[3],b=r.useContext(lF),y=b.handleFatalError,O=b.handleNotFoundError,w=b.handleAccessDeniedError,_=r.useMemo((function(){return{isLibUser:!0,refreshUser:function(e){return Promise.resolve(e&&v(e))},user:f}}),[f]);return g?(403===(null===(n=null==g?void 0:g.response)||void 0===n?void 0:n.statusCode)?w({error:g}):y({error:g}),null):m?null:null==f?(O({}),null):t.jsx(rte.Provider,ka({value:_},{children:i}),void 0)},$Ye=function(){return r.useEffect((function(){!function(){var e="https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap";if(!document.querySelector('head link[href="'+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)}}()}),[]),t.jsxs(t.Fragment,{children:[t.jsx(s4,{},void 0),t.jsx(c4,{},void 0)]},void 0)};var QYe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,zYe=/[\0-\x1F\x7F-\x9F]/,jYe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,NYe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 MYe(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 UYe(e){return Object.prototype.toString.call(e)}function BYe(e){return"[object Function]"===UYe(e)}function qYe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var GYe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var WYe={"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}}},XYe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function VYe(e){var t=e.re=function(e){var t={};return t.src_Any=QYe.source,t.src_Cc=zYe.source,t.src_Z=jYe.source,t.src_P=NYe.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 a(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]"===UYe(e)}(n))return!function(e){return"[object RegExp]"===UYe(e)}(n.validate)?BYe(n.validate)?i.validate=n.validate:a(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(BYe(n.normalize)?i.normalize=n.normalize:n.normalize?a(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===UYe(e)}(n)?a(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 o=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(qYe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","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 YYe(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 ZYe(e,t){var n=new YYe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function HYe(e,t){if(!(this instanceof HYe))return new HYe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||GYe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=MYe({},GYe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=MYe({},WYe,e),this.__compiled__={},this.__tlds__=XYe,this.__tlds_replaced__=!1,this.re={},VYe(this)}HYe.prototype.add=function(e,t){return this.__schemas__[e]=t,VYe(this),this},HYe.prototype.set=function(e){return this.__opts__=MYe(this.__opts__,e),this},HYe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,a,o,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))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,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))&&(a=i.index+i[1].length,o=i.index+i[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},HYe.prototype.pretest=function(e){return this.re.pretest.test(e)},HYe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},HYe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(ZYe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(ZYe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},HYe.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(),VYe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,VYe(this),this)},HYe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},HYe.prototype.onCompile=function(){};var KYe=HYe,JYe={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]||{},a=i.replacement||"-",o=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+a+"]+","g"),a);return i.lower&&(o=o.toLowerCase()),i.strict&&(o=o.replace(new RegExp("[^a-zA-Z0-9"+a+"]","g"),"")),o}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(JYe);var eZe=JYe.exports;function tZe(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 nZe(){return nZe=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},nZe.apply(this,arguments)}function iZe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rZe(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 aZe(e,t,n){return t&&rZe(e.prototype,t),n&&rZe(e,n),e}function oZe(e){return oZe="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},oZe(e)}function sZe(e){return sZe="function"==typeof Symbol&&"symbol"===oZe(Symbol.iterator)?function(e){return oZe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":oZe(e)},sZe(e)}function lZe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uZe(e,t){return!t||"object"!==sZe(t)&&"function"!=typeof t?lZe(e):t}function cZe(e){return cZe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},cZe(e)}function dZe(e,t){return dZe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},dZe(e,t)}function pZe(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&&dZe(e,t)}function hZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fZe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function mZe(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function gZe(e){return function(e){if(Array.isArray(e))return lu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||uu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var vZe=function(e){return e===Object(e)?Object.keys(e):[]},bZe=function(e){return e===Object(e)?Object.values(e):[]};function yZe(e,t){var n=Object.assign({},e);return _Ze(e)&&_Ze(t)&&vZe(t).forEach((function(i){_Ze(t[i])&&i in e?n[i]=yZe(e[i],t[i]):Object.assign(n,wu({},i,t[i]))})),n}var OZe=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 yZe(e,t)}),e)},wZe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},_Ze=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},kZe=function(e){return(e||[]).filter(Boolean)},xZe=function(e){return"&"===e[0]},SZe=function(e){return!xZe(e)},PZe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},EZe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=vZe(e),i={},r=0,a=n.length;r<a;r+=1){var o=n[r],s="[object Object]"!==Object.prototype.toString.call(e[o])||":"===o[0]||"@"===o[0]||t.indexOf(o)>=0;s&&(i[o]=e[o])}return i},CZe=function(e,t){for(var n=t.map(PZe),i=vZe(e),r={},a=0,o=i.length;a<o;a+=1){var s=i[a];(t.indexOf(s)>=0||n.indexOf(PZe(s))>=0)&&(r[s]=e[s])}return r},FZe=function e(t,n){for(var i=OZe.apply(void 0,[{},wZe(t,n)].concat(gZe(bZe(CZe(t,n))))),r=vZe(i).filter(xZe),a=0,o=r.length;a<o;a+=1){var s=r[a],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=OZe({},i,l)):i[s]=l}return i};function TZe(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 DZe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TZe(Object(n),!0).forEach((function(t){wu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TZe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var AZe=["animationName"],IZe=function(e){var t=e.style,n=e.className;return DZe(DZe({},t?{style:EZe(t,AZe)}:{}),n?{className:n}:{})},RZe=r.createContext(IZe);RZe.Provider;var LZe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return vZe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},$Ze={},QZe=function(e){return function(t,n){var i,r=n||$Ze;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var a=LZe(t).join(" ");return a in i?i[a]:i[a]=e(t||[],n)}};function zZe(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 jZe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zZe(Object(n),!0).forEach((function(t){wu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zZe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var NZe=function(e){var t=e&&vZe(e)[0];return t&&t.split("__")[0].split("--")[0]},MZe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(gZe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),gZe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(gZe(r)):r}};function UZe(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:IZe,a=n||NZe(i)||(null==t?void 0:t.className),o="function"==typeof t?t:QZe((function(e,n){var o=LZe(e);YPe(Array.isArray(o),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),YPe(!n||_Ze(n),"Optional second parameter must be a plain object.");var s=o.filter(xZe),l=o.filter(SZe),u=l.length>0?function(e){return bZe(CZe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(FZe(e,s))},d=MZe(a,l,s);return UZe(jZe(jZe(jZe({},(t||n)&&{style:OZe.apply(void 0,[{}].concat(gZe(c(n)),gZe(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=jZe({},"function"==typeof t?t:{style:t}),l=gZe(new Set([].concat(gZe(s.className?s.className.split(" "):[]),gZe(a?a.split(" "):[])))),u=i?kZe(l.map((function(e){return i[e]}))):l,c=r(jZe(jZe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(o,c),o}function BZe(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 qZe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?BZe(Object(n),!0).forEach((function(t){wu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BZe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var GZe=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 qZe(qZe(qZe({},e),"function"==typeof t?t:{}),{},{style:qZe(qZe({},e.style),"function"==typeof t?t.style:t)})}),{})},WZe=function(e,t,n){var i=t.style,a=t.className,o=t.classNames,s=r.useContext(RZe);return r.useMemo((function(){return UZe({style:i,className:a,classNames:o},s)}),[i,a,o,s])(n,e)},XZe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},VZe="__id__",YZe="__display__",ZZe=function(e,t){YPe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(YZe),i=e.indexOf(VZe);return n<0&&(n=null),i<0&&(i=null),YPe(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},HZe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=fZe(t.exec(e.toString()),3),i=n[1],r=n[2];return YPe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},KZe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},JZe=function(){},eHe=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:JZe,a=HZe(t.map((function(e){return e.regex}))),o=2,s=t.map((function(e){var t=e.markup,n=o;return o+=KZe(t)+1,n})),l=0,u=0;null!==(i=a.exec(e));){var c=s.find((function(e){return!!i[e]})),d=s.indexOf(c),p=t[d],h=p.markup,f=p.displayTransform,m=c+ZZe(h,"id"),g=c+ZZe(h,"display"),v=i[m],b=f(v,i[g]),y=e.substring(l,i.index);r(y,l,u),u+=y.length,n(i[0],i.index,u,v,b,d,l),u+=b.length,l=a.lastIndex}l<e.length&&r(e.substring(l),l,u)},tHe=function(e,t){var n="";return eHe(e,t,(function(e,t,i,r,a){n+=a}),(function(e){n+=e})),n},nHe=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var a=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},o=function(e,t,a,o,s,l,u){void 0===i&&a+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return eHe(e,t,o,a),void 0===i?e.length:i},iHe=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},rHe=function(e,t){var n=[];return eHe(e,t,(function(e,t,i,r,a,o,s){n.push({id:r,display:a,childIndex:o,index:t,plainTextIndex:i})})),n},aHe=function(e,t){return"".concat(e,"-").concat(t)},oHe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},sHe=function(e){var t=XZe(e),n=e[e.indexOf(YZe)+YZe.length],i=e[e.indexOf(VZe)+VZe.length];return new RegExp(t.replace(YZe,"([^".concat(XZe(n||""),"]+?)")).replace(VZe,"([^".concat(XZe(i||""),"]+?)")))},lHe=function(e){return r.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?uHe(i,n):sHe(n),displayTransform:r||function(e,t){return t||e}}}))},uHe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=KZe(t);return YPe(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},cHe=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\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:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\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:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\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:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\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:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\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:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\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:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\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:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\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:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],dHe=function(e){return function(e){var t=e;return cHe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},pHe=function(e,t,n){return n?dHe(e).indexOf(dHe(t)):e.toLowerCase().indexOf(t.toLowerCase())},hHe=function(e){return"number"==typeof e},fHe=function(e){return e===Object(e)?Object.keys(e):[]},mHe=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 a=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!a.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function gHe(e,t){return function(n){var i=function(i){var r=i.style,a=i.className,o=i.classNames,s=mZe(i,["style","className","classNames"]),l=t?t(s):void 0,u=WZe(e,{style:r,className:a,classNames:o},l);return v.default.createElement(n,nZe({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var vHe=function(e){function t(){var e;return iZe(this,t),hZe(lZe(e=uZe(this,cZe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return pZe(t,e),aZe(t,[{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,a=n.value,o=n.style,s=n.children,l=n.containerRef,u=lHe(s);i===r&&(e=nHe(a,u,i,"START"));var c=[],d={},p=c,h=0;return eHe(a,u,(function(e,n,i,r,a,o,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,a,o,l))}),(function(n,i,r){if(hHe(e)&&e>=i&&e<=i+n.length){var a=e-i;p.push(t.renderSubstring(n.substring(0,a),h)),p=[t.renderSubstring(n.substring(a),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==c&&c.push(this.renderHighlighterCaret(p)),v.default.createElement("div",nZe({},o,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return v.default.createElement("span",nZe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,i){var a={id:e,display:t,key:i},o=r.Children.toArray(this.props.children)[n];return v.default.cloneElement(o,a)}},{key:"renderHighlighterCaret",value:function(e){return v.default.createElement("span",nZe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(r.Component);hZe(vHe,"propTypes",{selectionStart:cH.number,selectionEnd:cH.number,value:cH.string.isRequired,onCaretPositionChange:cH.func.isRequired,containerRef:cH.oneOfType([cH.func,cH.shape({current:"undefined"==typeof Element?cH.any:cH.instanceOf(Element)})]),children:cH.oneOfType([cH.element,cH.arrayOf(cH.element)]).isRequired}),hZe(vHe,"defaultProps",{value:""});var bHe=gHe({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}}))(vHe),yHe=function(e){function t(){return iZe(this,t),uZe(this,cZe(t).apply(this,arguments))}return pZe(t,e),aZe(t,[{key:"render",value:function(){var e=mHe(this.props,["style","classNames","className"],fHe(t.propTypes));return v.default.createElement("li",nZe({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,a=e.focused,o=this.getDisplay(),s=this.renderHighlightedDisplay(o,t);return n?n(i,t,s,r,a):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,a=pHe(e,i,n);return-1===a?v.default.createElement("span",r("display"),e):v.default.createElement("span",r("display"),e.substring(0,a),v.default.createElement("b",r("highlight"),e.substring(a,a+i.length)),e.substring(a+i.length))}}]),t}(r.Component);hZe(yHe,"propTypes",{id:cH.string.isRequired,query:cH.string.isRequired,index:cH.number.isRequired,ignoreAccents:cH.bool,suggestion:cH.oneOfType([cH.string,cH.shape({id:cH.oneOfType([cH.string,cH.number]).isRequired,display:cH.string})]).isRequired,renderSuggestion:cH.func,focused:cH.bool});var OHe=gHe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(yHe);function wHe(){var e=WZe(),t=e("spinner");return v.default.createElement("div",e,v.default.createElement("div",t,v.default.createElement("div",t(["element","element1"])),v.default.createElement("div",t(["element","element2"])),v.default.createElement("div",t(["element","element3"])),v.default.createElement("div",t(["element","element4"])),v.default.createElement("div",t(["element","element5"]))))}var _He=function(e){function t(){var e,n;iZe(this,t);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return hZe(lZe(n=uZe(this,(e=cZe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),hZe(lZe(n),"select",(function(e,t){n.props.onSelect(e,t)})),hZe(lZe(n),"setUlElement",(function(e){n.ulElement=e})),n}return pZe(t,e),aZe(t,[{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,a=e.onMouseDown,o=e.containerRef,s=e.position,l=e.left,u=e.top;return i?v.default.createElement("div",nZe({},GZe({position:s||"absolute",left:l,top:u},r),{onMouseDown:a,ref:o}),v.default.createElement("ul",nZe({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(tZe(t),tZe(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var i=this,a=n===this.props.focusIndex,o=t.childIndex,s=t.query,l=r.Children.toArray(this.props.children)[o].props.renderSuggestion,u=this.props.ignoreAccents;return v.default.createElement(OHe,{style:this.props.style("item"),key:"".concat(o,"-").concat(kHe(e)),id:aHe(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:a,onClick:function(){return i.select(e,t)},onMouseEnter:function(){return i.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return v.default.createElement(wHe,{style:this.props.style("loadingIndicator")})}}]),t}(r.Component);hZe(_He,"propTypes",{id:cH.string.isRequired,suggestions:cH.object.isRequired,a11ySuggestionsListLabel:cH.string,focusIndex:cH.number,position:cH.string,left:cH.number,top:cH.number,scrollFocusedIntoView:cH.bool,isLoading:cH.bool,isOpened:cH.bool.isRequired,onSelect:cH.func,ignoreAccents:cH.bool,containerRef:cH.oneOfType([cH.func,cH.shape({current:"undefined"==typeof Element?cH.any:cH.instanceOf(Element)})]),children:cH.oneOfType([cH.element,cH.arrayOf(cH.element)]).isRequired}),hZe(_He,"defaultProps",{suggestions:{},onSelect:function(){return null}});var kHe=function(e){return"string"==typeof e?e:e.id},xHe=gHe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(_He);function SHe(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 PHe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?SHe(n,!0).forEach((function(t){hZe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SHe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var EHe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},CHe=!1,FHe={singleLine:cH.bool,allowSpaceInQuery:cH.bool,allowSuggestionsAboveCursor:cH.bool,forceSuggestionsAboveCursor:cH.bool,ignoreAccents:cH.bool,a11ySuggestionsListLabel:cH.string,value:cH.string,onKeyDown:cH.func,onSelect:cH.func,onBlur:cH.func,onChange:cH.func,suggestionsPortalHost:"undefined"==typeof Element?cH.any:cH.PropTypes.instanceOf(Element),inputRef:cH.oneOfType([cH.func,cH.shape({current:"undefined"==typeof Element?cH.any:cH.instanceOf(Element)})]),children:cH.oneOfType([cH.element,cH.arrayOf(cH.element)]).isRequired},THe=function(e){function t(e){var n;return iZe(this,t),hZe(lZe(n=uZe(this,cZe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),hZe(lZe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return PHe({},mHe(n.props,["style","classNames","className"],fHe(FHe)),{},r("input"),{value:n.getPlainText()},!t&&!i&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":aHe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),hZe(lZe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return v.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),hZe(lZe(n),"renderInput",(function(e){return v.default.createElement("input",nZe({type:"text",ref:n.setInputRef},e))})),hZe(lZe(n),"renderTextarea",(function(e){return v.default.createElement("textarea",nZe({ref:n.setInputRef},e))})),hZe(lZe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),hZe(lZe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),hZe(lZe(n),"renderSuggestionsOverlay",(function(){if(!hHe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,a=v.default.createElement(xHe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:i,top:r,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?y.default.createPortal(a,n.props.suggestionsPortalHost):a})),hZe(lZe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,a=r.singleLine,o=r.children,s=r.value,l=r.style;return v.default.createElement(bHe,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:a,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},o)})),hZe(lZe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),hZe(lZe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),hZe(lZe(n),"getPlainText",(function(){return tHe(n.props.value||"",lHe(n.props.children))})),hZe(lZe(n),"executeOnChange",(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];var a,o;return n.props.onChange?(a=n.props).onChange.apply(a,[e].concat(i)):n.props.valueLink?(o=n.props.valueLink).requestChange.apply(o,[e.target.value].concat(i)):void 0})),hZe(lZe(n),"handleChange",(function(e){if(CHe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=lHe(n.props.children),r=e.target.value,a=function(e,t,n,i){var r=n.selectionStartBefore,a=n.selectionEndBefore,o=n.selectionEndAfter,s=tHe(e,i),l=s.length-t.length;"undefined"===r&&(r=o+l),"undefined"===a&&(a=r),r===a&&a===o&&s.length===t.length&&(r-=1);var u=t.slice(r,o),c=Math.min(r,o),d=a;r===o&&(d=Math.max(a,r+l));var p=nHe(e,i,c,"START"),h=nHe(e,i,d,"END"),f=nHe(e,i,c,"NULL"),m=nHe(e,i,d,"NULL"),g=null===f||null===m,v=iHe(e,p,h,u);if(!g){var b=tHe(v,i);if(b!==t){for(c=0;t[c]===b[c];)c++;u=t.slice(c,o),d=s.lastIndexOf(t.substring(o)),p=nHe(e,i,c,"START"),h=nHe(e,i,d,"END"),v=iHe(e,p,h,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=tHe(a,i);var o=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(eHe(e,t,(function(e,t,a,o,s,l,u){a<=n&&a+s.length>n&&(i=a,r=!0)})),r)return i}(t,i,o);void 0!==u&&n.state.selectionEnd>u&&(s=o=u,l=!0),n.setState({selectionStart:o,selectionEnd:s,setSelectionAfterMentionChange:l});var c=rHe(a,i),d={target:{value:a}};n.executeOnChange(d,a,r,c)}})),hZe(lZe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!CHe){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),hZe(lZe(n),"handleKeyDown",(function(e){if(0!==oHe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(EHe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case EHe.ESC:return void n.clearSuggestions();case EHe.DOWN:return void n.shiftFocus(1);case EHe.UP:return void n.shiftFocus(-1);case EHe.RETURN:case EHe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),hZe(lZe(n),"shiftFocus",(function(e){var t=oHe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),hZe(lZe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,i=e.focusIndex,r=Object.values(t).reduce((function(e,t){var n=t.results,i=t.queryInfo;return[].concat(tZe(e),tZe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],a=r.result,o=r.queryInfo;n.addMention(a,o),n.setState({focusIndex:0})})),hZe(lZe(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),hZe(lZe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),hZe(lZe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),hZe(lZe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,a=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var o=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=DHe(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(o){var p={};if(i){p.position="fixed";var h=c.left,f=c.top;h-=DHe(o,"margin-left"),f-=DHe(o,"margin-top"),h-=s.scrollLeft,f-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);h+o.offsetWidth>m?p.left=Math.max(0,m-o.offsetWidth):p.left=h,r&&f+o.offsetHeight>d&&o.offsetHeight<f-u||a?p.top=Math.max(0,f-o.offsetHeight-u):p.top=f}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+o.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=g,r&&c.top-s.scrollTop+o.offsetHeight>d&&o.offsetHeight<l.top-u-s.scrollTop?p.top=v-o.offsetHeight-u:p.top=v}p.left===n.state.suggestionsPosition.left&&p.top===n.state.suggestionsPosition.top&&p.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:p})}}})),hZe(lZe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),hZe(lZe(n),"handleCompositionStart",(function(){CHe=!0})),hZe(lZe(n),"handleCompositionEnd",(function(){CHe=!1})),hZe(lZe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var i=n.inputElement;if(i.setSelectionRange)i.setSelectionRange(e,t);else if(i.createTextRange){var r=i.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),hZe(lZe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,a=lHe(r),o=nHe(i,a,t,"NULL");if(null!==o){var s=function(e,t){var n=rHe(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,o),a),l=e.substring(s,t);v.default.Children.forEach(r,(function(t,i){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=XZe(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),a=l.match(r);if(a){var o=s+l.indexOf(a[1],a.index);n.queryData(a[2],i,o,o+a[1].length,e)}}}))}})),hZe(lZe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),hZe(lZe(n),"queryData",(function(e,t,i,a,o){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],a=0,o=e.length;a<o;++a){var s=e[a].display||e[a].id;pHe(s,n,t)>=0&&r.push(e[a])}return r}:e}(r.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,i,a,o));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,i,a,o,d)})),hZe(lZe(n),"updateSuggestions",(function(e,t,i,r,a,o,s){if(e===n._queryId){n.suggestions=PHe({},n.suggestions,hZe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:a,plainTextValue:o},results:s}));var l=n.state.focusIndex,u=oHe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),hZe(lZe(n),"addMention",(function(e,t){var i=e.id,a=e.display,o=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=lHe(n.props.children),p=r.Children.toArray(n.props.children)[o].props,h=p.markup,f=p.displayTransform,m=p.appendSpaceOnAdd,g=p.onAdd,v=nHe(c,d,s,"START"),b=v+l-s,y=function(e,t,n){return e.replace(VZe,t).replace(YZe,n)}(h,i,a);m&&(y+=" ");var O=iHe(c,v,b,y);n.inputElement.focus();var w=f(i,a);m&&(w+=" ");var _=s+w.length;n.setState({selectionStart:_,selectionEnd:_,setSelectionAfterMentionChange:!0});var k={target:{value:O}},x=rHe(O,d),S=iHe(u,s,l,w);n.executeOnChange(k,O,S,x),g&&g(i,a,v,b),n.clearSuggestions()})),hZe(lZe(n),"isLoading",(function(){var e=!1;return v.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),hZe(lZe(n),"isOpened",(function(){return hHe(n.state.selectionStart)&&(0!==oHe(n.state.suggestions)||n.isLoading())})),hZe(lZe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(lZe(n)),n.handleCut=n.handleCut.bind(lZe(n)),n.handlePaste=n.handlePaste.bind(lZe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return pZe(t,e),aZe(t,[{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 v.default.createElement("div",nZe({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,a=r.value,o=r.children,s=lHe(o),l=nHe(a,s,n,"START"),u=nHe(a,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=iHe(a,l,u,c||d).replace(/\r/g,""),h=tHe(p,s),f={target:PHe({},e.target,{value:p})};this.executeOnChange(f,p,h,rHe(p,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,a=r.children,o=r.value,s=lHe(a),l=nHe(o,s,n,"START"),u=nHe(o,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",o.slice(l,u))}},{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,a=r.children,o=r.value,s=lHe(a),l=nHe(o,s,n,"START"),u=nHe(o,s,i,"END"),c=[o.slice(0,l),o.slice(u)].join(""),d=tHe(c,s),p={target:PHe({},e.target,{value:d})};this.executeOnChange(p,c,d,rHe(o,s))}}}]),t}(v.default.Component);hZe(THe,"propTypes",FHe),hZe(THe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var DHe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},AHe=gHe({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:PHe({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}}))(THe),IHe={fontWeight:"inherit"},RHe=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,a=WZe(IHe,{style:n,className:i,classNames:r});return v.default.createElement("strong",a,t)};RHe.propTypes={onAdd:cH.func,onRemove:cH.func,renderSuggestion:cH.func,trigger:cH.oneOfType([cH.string,cH.instanceOf(RegExp)]),markup:cH.string,displayTransform:cH.func,allowSpaceInQuery:cH.bool,isLoading:cH.bool},RHe.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 LHe=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 $He(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=LHe.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 QHe=[".DS_Store","Thumbs.db"];function zHe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?NHe(e.dataTransfer,e.type):jHe(e))];var n}))}))}function jHe(e){return(null!==e.target&&e.target.files?UHe(e.target.files):[]).map((function(e){return $He(e)}))}function NHe(e,t){return Sa(this,void 0,void 0,(function(){var n;return Pa(this,(function(i){switch(i.label){case 0:return e.items?(n=UHe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(BHe))]):[3,2];case 1:return[2,MHe(qHe(i.sent()))];case 2:return[2,MHe(UHe(e.files).map((function(e){return $He(e)})))]}}))}))}function MHe(e){return e.filter((function(e){return-1===QHe.indexOf(e.name)}))}function UHe(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function BHe(e){if("function"!=typeof e.webkitGetAsEntry)return GHe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?XHe(t):GHe(e)}function qHe(e){return e.reduce((function(e,t){return Ta(e,Array.isArray(t)?qHe(t):[t])}),[])}function GHe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=$He(t);return Promise.resolve(n)}function WHe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,e.isDirectory?XHe(e):VHe(e)]}))}))}function XHe(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var a=this;t.readEntries((function(t){return Sa(a,void 0,void 0,(function(){var a,o,s;return Pa(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 a=l.sent(),e(a),[3,4];case 3:return o=l.sent(),n(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(WHe)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function VHe(e){return Sa(this,void 0,void 0,(function(){return Pa(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=$He(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function YHe(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(),a=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function ZHe(e,t,n){if(HHe(e.size)){if(HHe(t)&&HHe(n))return e.size>=t&&e.size<=n;if(HHe(t))return e.size>=t;if(HHe(n))return e.size<=n}return!0}function HHe(e){return null!=e}function KHe(e,t,n,i){return e.every((function(e){return YHe(e,t)&&ZHe(e,n,i)}))}function JHe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function eKe(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 tKe(e){e.preventDefault()}function nKe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function iKe(e){return-1!==e.indexOf("Edge/")}function rKe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return nKe(e)||iKe(e)}function aKe(){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!JHe(e)&&t&&t.apply(void 0,[e].concat(i)),JHe(e)}))}}function oKe(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 sKe(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,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function lKe(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 uKe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lKe(n,!0).forEach((function(t){cKe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lKe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dKe(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var pKe=r.forwardRef((function(e,t){var n=e.children,i=mKe(dKe(e,["children"])),a=i.open,o=dKe(i,["open"]);return r.useImperativeHandle(t,(function(){return{open:a}}),[a]),v.default.createElement(r.Fragment,null,n(uKe({},o,{open:a})))}));pKe.displayName="Dropzone",pKe.propTypes={children:cH.func,accept:cH.oneOfType([cH.string,cH.arrayOf(cH.string)]),multiple:cH.bool,preventDropOnDocument:cH.bool,noClick:cH.bool,noKeyboard:cH.bool,noDrag:cH.bool,noDragEventsBubbling:cH.bool,minSize:cH.number,maxSize:cH.number,disabled:cH.bool,getFilesFromEvent:cH.func,onFileDialogCancel:cH.func,onDragEnter:cH.func,onDragLeave:cH.func,onDragOver:cH.func,onDrop:cH.func,onDropAccepted:cH.func,onDropRejected:cH.func};var hKe,fKe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function mKe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,i=void 0!==n&&n,a=e.getFilesFromEvent,o=void 0===a?zHe:a,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,p=void 0===d||d,h=e.onDragEnter,f=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,k=void 0!==_&&_,x=e.noKeyboard,S=void 0!==x&&x,P=e.noDrag,E=void 0!==P&&P,C=e.noDragEventsBubbling,F=void 0!==C&&C,T=r.useRef(null),D=r.useRef(null),A=r.useReducer(gKe,fKe),I=sKe(A,2),R=I[0],L=I[1],$=R.isFocused,Q=R.isFileDialogActive,z=R.draggedFiles,j=r.useCallback((function(){D.current&&(L({type:"openDialog"}),D.current.value=null,D.current.click())}),[L]),N=function(){Q&&setTimeout((function(){D.current&&(D.current.files.length||(L({type:"closeDialog"}),"function"==typeof y&&y()))}),300)};r.useEffect((function(){return window.addEventListener("focus",N,!1),function(){window.removeEventListener("focus",N,!1)}}),[D,Q,y]);var M=r.useCallback((function(e){T.current&&T.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),j()))}),[T,D]),U=r.useCallback((function(){L({type:"focus"})}),[]),B=r.useCallback((function(){L({type:"blur"})}),[]),q=r.useCallback((function(){k||(rKe()?setTimeout(j,0):j())}),[D,k]),G=r.useRef([]),W=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),G.current=[])};r.useEffect((function(){return w&&(document.addEventListener("dragover",tKe,!1),document.addEventListener("drop",W,!1)),function(){w&&(document.removeEventListener("dragover",tKe),document.removeEventListener("drop",W))}}),[T,w]);var X=r.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===G.current.indexOf(e.target)&&(G.current=[].concat(oKe(G.current),[e.target])),eKe(e)&&Promise.resolve(o(e)).then((function(t){JHe(e)&&!F||(L({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),h&&h(e))}))}),[o,h,F]),V=r.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return eKe(e)&&m&&m(e),!1}),[m,F]),Y=r.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=G.current.filter((function(t){return t!==e.target&&T.current&&T.current.contains(t)}));G.current=t,t.length>0||(L({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),eKe(e)&&f&&f(e))}),[T,f,F]),Z=r.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),G.current=[],L({type:"reset"}),eKe(e)&&Promise.resolve(o(e)).then((function(n){if(!JHe(e)||F){var i=[],r=[];n.forEach((function(e){YHe(e,t)&&ZHe(e,c,l)?i.push(e):r.push(e)})),!p&&i.length>1&&r.push.apply(r,oKe(i.splice(0))),L({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,t,c,l,o,g,v,b,F]),H=function(e){return i?null:e},K=function(e){return S?null:H(e)},J=function(e){return E?null:H(e)},ee=function(e){F&&e.stopPropagation()},te=r.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onKeyDown,a=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,p=dKe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return uKe(cKe({onKeyDown:K(aKe(r,M)),onFocus:K(aKe(a,U)),onBlur:K(aKe(o,B)),onClick:H(aKe(s,q)),onDragEnter:J(aKe(l,X)),onDragOver:J(aKe(u,V)),onDragLeave:J(aKe(c,Y)),onDrop:J(aKe(d,Z))},n,T),i||S?{}:{tabIndex:0},{},p)}}),[T,M,U,B,q,X,V,Y,Z,S,E,i]),ne=r.useCallback((function(e){e.stopPropagation()}),[]),ie=r.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,i=void 0===n?"ref":n,r=e.onChange,a=e.onClick,o=dKe(e,["refKey","onChange","onClick"]),s=cKe({accept:t,multiple:p,type:"file",style:{display:"none"},onChange:H(aKe(r,Z)),onClick:H(aKe(a,ne)),autoComplete:"off",tabIndex:-1},i,D);return uKe({},s,{},o)}}),[D,t,p,Z,i]),re=z.length,ae=p||re<=1,oe=re>0&&KHe(z,t,c,l),se=re>0&&(!oe||!ae);return uKe({},R,{isDragAccept:oe,isDragReject:se,isFocused:$&&!i,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:D,open:H(j)})}function gKe(e,t){switch(t.type){case"focus":return uKe({},e,{isFocused:!0});case"blur":return uKe({},e,{isFocused:!1});case"openDialog":return uKe({},e,{isFileDialogActive:!0});case"closeDialog":return uKe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return uKe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return uKe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return uKe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(hKe||(hKe={}));var vKe={exports:{}};!function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=i.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=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};function r(e){return e&&e.__esModule?e:{default:e}}t.default=u;var a=n(3),o=r(n(4)),s=n(14),l=r(n(15));function u(e){var t=e.activeClassName,n=void 0===t?"":t,r=e.activeIndex,o=void 0===r?-1:r,u=e.activeStyle,c=e.autoEscape,d=e.caseSensitive,p=void 0!==d&&d,h=e.className,f=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,b=void 0===v?{}:v,y=e.highlightTag,O=void 0===y?"mark":y,w=e.sanitize,_=e.searchWords,k=e.textToHighlight,x=e.unhighlightClassName,S=void 0===x?"":x,P=e.unhighlightStyle,E=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),C=(0,a.findAll)({autoEscape:c,caseSensitive:p,findChunks:f,sanitize:w,searchWords:_,textToHighlight:k}),F=O,T=-1,D="",A=void 0,I=(0,l.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",i({className:h},E,{children:C.map((function(e,t){var i=k.substr(e.start,e.end-e.start);if(e.highlight){T++;var r=void 0;r="object"==typeof g?p?g[i]:(g=I(g))[i.toLowerCase()]:g;var a=T===+o;D=r+" "+(a?n:""),A=!0===a&&null!=u?Object.assign({},b,u):b;var l={children:i,className:D,key:t,style:A};return"string"!=typeof F&&(l.highlightIndex=T),(0,s.createElement)(F,l)}return(0,s.createElement)("span",{children:i,className:S,key:t,style:P})}))}))}u.propTypes={activeClassName:o.default.string,activeIndex:o.default.number,activeStyle:o.default.object,autoEscape:o.default.bool,className:o.default.string,findChunks:o.default.func,highlightClassName:o.default.oneOfType([o.default.object,o.default.string]),highlightStyle:o.default.object,highlightTag:o.default.oneOfType([o.default.node,o.default.func,o.default.string]),sanitize:o.default.func,searchWords:o.default.arrayOf(o.default.oneOfType([o.default.string,o.default.instanceOf(RegExp)])).isRequired,textToHighlight:o.default.string.isRequired,unhighlightClassName:o.default.string,unhighlightStyle:o.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return i.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return i.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return i.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return i.findChunks}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,a=e.caseSensitive,o=void 0!==a&&a,s=e.findChunks,l=void 0===s?i:s,u=e.sanitize,c=e.searchWords,d=e.textToHighlight;return r({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:o,sanitize:u,searchWords:c,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var i=Math.max(n.end,t.end);e.push({start:n.start,end:i})}else e.push(n,t);return e}),[])},i=function(e){var t=e.autoEscape,n=e.caseSensitive,i=e.sanitize,r=void 0===i?a:i,o=e.searchWords,s=e.textToHighlight;return s=r(s),o.filter((function(e){return e})).reduce((function(e,i){i=r(i),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var a=new RegExp(i,n?"g":"gi"),o=void 0;o=a.exec(s);){var l=o.index,u=a.lastIndex;u>l&&e.push({start:l,end:u}),o.index==a.lastIndex&&a.lastIndex++}return e}),[])};t.findChunks=i;var r=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,i=[],r=function(e,t,n){t-e>0&&i.push({start:e,end:t,highlight:n})};if(0===t.length)r(0,n,!1);else{var a=0;t.forEach((function(e){r(a,e.start,!1),r(e.start,e.end,!0),a=e.end})),r(a,n,!1)}return i};function a(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,i,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(e){i=o}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=s(p);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new f(e,t)),1!==u.length||c||s(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){(function(t){var i=n(7),r=n(8),a=n(9),o=n(10),s=n(11),l=n(12);e.exports=function(e,n){var u="function"==typeof Symbol&&Symbol.iterator;var c="<<anonymous>>",d={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:f(i.thatReturnsNull),arrayOf:function(e){return f((function(t,n,i,r,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var o=t[n];if(!Array.isArray(o))return new h("Invalid "+r+" `"+a+"` of type `"+v(o)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<o.length;l++){var u=e(o,l,i,r,a+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:f((function(t,n,i,r,a){var o=t[n];return e(o)?null:new h("Invalid "+r+" `"+a+"` of type `"+v(o)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return f((function(t,n,i,r,a){if(!(t[n]instanceof e)){var o=e.name||c;return new h("Invalid "+r+" `"+a+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `")+i+"`, expected instance of `"+o+"`.")}var s;return null}))},node:f((function(e,t,n,i,r){return g(e[t])?null:new h("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,n,i,r,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var o=t[n],l=v(o);if("object"!==l)return new h("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in o)if(o.hasOwnProperty(u)){var c=e(o,u,i,r,a+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return f((function(t,n,i,r,a){for(var o=t[n],s=0;s<e.length;s++)if(p(o,e[s]))return null;return new h("Invalid "+r+" `"+a+"` of value `"+o+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),i.thatReturnsNull;for(var n=0;n<e.length;n++){var r=e[n];if("function"!=typeof r)return a(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",y(r),n),i.thatReturnsNull}return f((function(t,n,i,r,a){for(var o=0;o<e.length;o++)if(null==(0,e[o])(t,n,i,r,a,s))return null;return new h("Invalid "+r+" `"+a+"` supplied to `"+i+"`.")}))},shape:function(e){return f((function(t,n,i,r,a){var o=t[n],l=v(o);if("object"!==l)return new h("Invalid "+r+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(o,u,i,r,a+"."+u,s);if(d)return d}}return null}))},exact:function(e){return f((function(t,n,i,r,a){var l=t[n],u=v(l);if("object"!==u)return new h("Invalid "+r+" `"+a+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=o({},t[n],e);for(var d in c){var p=e[d];if(!p)return new h("Invalid "+r+" `"+a+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=p(l,d,i,r,a+"."+d,s);if(f)return f}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){this.message=e,this.stack=""}function f(e){if("production"!==t.env.NODE_ENV)var i={},o=0;function l(l,u,d,p,f,m,g){if(p=p||c,m=m||d,g!==s)if(n)r(!1,"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");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var v=p+":"+d;!i[v]&&o<3&&(a(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. 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.",m,p),i[v]=!0,o++)}return null==u[d]?l?null===u[d]?new h("The "+f+" `"+m+"` is marked as required in `"+p+"`, but its value is `null`."):new h("The "+f+" `"+m+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(u,d,p,f,m)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function m(e){return f((function(t,n,i,r,a,o){var s=t[n];return v(s)!==e?new h("Invalid "+r+" `"+a+"` of type `"+b(s)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function g(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(g);if(null===t||e(t))return!0;var n=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var i,r=n.call(t);if(n!==t.entries){for(;!(i=r.next()).done;)if(!g(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!g(a[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function b(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function y(e){var t=b(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,d.checkPropTypes=l,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){(function(t){var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,i,r,a,o,s,l){if(n(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[i,r,a,o,s,l],d=0;(u=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}}).call(t,n(5))},function(e,t,n){(function(t){var i=n(7);if("production"!==t.env.NODE_ENV){var r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,a="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}};i=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];r.apply(void 0,[t].concat(i))}}}e.exports=i}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=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 o,s,l=a(e),u=1;u<arguments.length;u++){for(var c in o=Object(arguments[u]))i.call(o,c)&&(l[c]=o[c]);if(n){s=n(o);for(var d=0;d<s.length;d++)r.call(o,s[d])&&(l[s[d]]=o[s[d]])}}return l}},function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var i=n(8),r=n(9),a=n(11),o={};e.exports=function(e,n,s,l,u){if("production"!==t.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var d;try{i("function"==typeof e[c],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",s,c,typeof e[c]),d=e[c](n,c,l,s,null,a)}catch(e){d=e}if(r(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,c,typeof d),d instanceof Error&&!(d.message in o)){o[d.message]=!0;var p=u?u():"";r(!1,"Failed %s type: %s%s",s,d.message,null!=p?p:"")}}}}).call(t,n(5))},function(e,t,n){var i=n(7),r=n(8),a=n(11);e.exports=function(){function e(e,t,n,i,o,s){s!==a&&r(!1,"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")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t){e.exports=v.default},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=void 0,r=[],a=void 0,o=!1,s=function(e,n){return t(e,r[n])},l=function(){for(var t=arguments.length,n=Array(t),l=0;l<t;l++)n[l]=arguments[l];return o&&i===this&&n.length===r.length&&n.every(s)?a:(o=!0,i=this,r=n,a=e.apply(this,n))};return l}}])}(vKe);var bKe=S(vKe.exports),yKe={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 o(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function a(e){return o(e)&&!u(e)?e:Z(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[h])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",f="@@__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 k(e){e&&(e.value=!0)}function x(){}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 P(e){return void 0===e.size&&(e.size=e.__iterate(C)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function C(){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,R=1,L=2,$="function"==typeof Symbol&&Symbol.iterator,Q="@@iterator",z=$||Q;function j(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 M(){return{value:void 0,done:!0}}function U(e){return!!G(e)}function B(e){return e&&"function"==typeof e.next}function q(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&($&&e[$]||e[Q]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function V(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=R,j.ENTRIES=L,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[z]=function(){return this},t(X,n),X.of=function(){return X(arguments)},X.prototype.toSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq {","}")},X.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},X.prototype.__iterate=function(e,t){return de(this,e,t,!0)},X.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(V,X),V.prototype.toKeyedSeq=function(){return this},t(Y,X),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=ae,X.Keyed=V,X.Set=Z,X.Indexed=Y;var H,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 ae(e){return!(!e||!e[ee])}function oe(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():B(e)?new re(e).fromEntrySeq():U(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=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(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 ce(e){return W(e)?new te(e):B(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new j((function(){var e=r[n?a-o:o];return o++>a?M():N(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(e,t){return t?fe(t,e,"",{"":e}):me(e)}function fe(e,t,n,i){return Array.isArray(t)?e.call(i,n,Y(t).map((function(n,i){return fe(e,n,i,t)}))):ge(t)?e.call(i,n,V(t).map((function(n,i){return fe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?V(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(!o(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)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(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 a=e;e=t,t=a}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 ke(){}function xe(){}function Se(){}X.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[E(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 j((function(){return r>i?M():N(e,r,n[t?i-r++:r++])}))},t(ne,V),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,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new j((function(){var o=i[t?r-a:a];return a++>r?M():N(e,o,n[o])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(B(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(!B(n))return new j(M);var i=0;return new j((function(){var t=n.next();return t.done?t:N(e,i++,t.value)}))},t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},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 j((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,Y),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 j((function(){return i<n.size?N(e,i++,n._value):M()}))},ye.prototype.equals=function(e){return e instanceof ye?ve(this._value,e._value):be(e)},t(we,Y),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+E(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,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new j((function(){var o=r;return r+=t?-i:i,a>n?M():N(e,a++,o)}))},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(ke,_e),t(xe,_e),t(Se,_e),_e.Keyed=ke,_e.Indexed=xe,_e.Set=Se;var Pe="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 Ee(e){return e>>>1&1073741824|3221225471&e}function Ce(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 Ee(n)}if("string"===t)return e.length>je?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=Ue[e];return void 0===t&&(t=Te(e),Me===Ne&&(Me=0,Ue={}),Me++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if($e&&void 0!==(t=Le.get(e)))return t;if(void 0!==(t=e[ze]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[ze]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Qe,1073741824&Qe&&(Qe=0),$e)Le.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,ze,{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[ze]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[ze]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Re(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Le,$e="function"==typeof WeakMap;$e&&(Le=new WeakMap);var Qe=0,ze="__immutablehash__";"function"==typeof Symbol&&(ze=Symbol(ze));var je=16,Ne=255,Me=0,Ue={};function Be(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(qe,ke),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 at(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},qe.prototype.remove=function(e){return at(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,ht,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ft(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 Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(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 x)},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=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ze(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(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(Ve);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return We||(We=it(0))}function at(e,t,n){var i,r;if(e._root){var a=_(O),o=_(w);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===y?-1:1:0)}else{if(n===y)return e;r=1,i=new Ye(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 ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===y?e:(k(s),k(o),new Je(t,i,[r,a]))}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 a,o=(0===n?e.keyHash:e.keyHash>>>n)&b,s=(0===n?i:i>>>n)&b;return new Ze(t,1<<o|1<<s,o===s?[lt(e,t,n+g,i,r)]:(a=new Je(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Je(e,Ce(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Ze(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new He(e,a+1,o)}function pt(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(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,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?y:e.get(l,y),c=gt(u,t,n,i);return c===u?e:c===y?e.remove(l):(r?rt():e).set(l,c)}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 a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ye.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===y,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ye(e,h)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&b),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&b,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===y)return this;var d=vt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=ot(h,e,t+g,n,i,r,a,o);if(f===h)return this;if(!c&&f&&p.length>=_t)return dt(e,p,u,s,f);if(c&&!f&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?bt(p,d,f,m):Ot(p,d,m):yt(p,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new Ze(e,v,O)},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=(0===e?t:t>>>e)&b,a=this.nodes[r];return a?a.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&b,l=r===y,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+g,n,i,r,a,o);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<kt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=bt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new He(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ke.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=r===y;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ke(e,this.keyHash,h)},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,a,o){var s=r===y,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,Ce(i),[i,r])))},Ye.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},Ze.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),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 a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return M()};var wt=v/4,_t=v/2,kt=v/4;function xt(e){var t=Rt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Be(i),i>0&&i<v?It(0,i,g,null,new Ct(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[Pt])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=zt(this,e+=this._origin);return n&&n.array[e&b]}return t},xt.prototype.set=function(e,t){return Lt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.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):Rt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return jt(this,0,-1)},xt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},xt.prototype.shift=function(){return jt(this,1)},xt.prototype.merge=function(){return Nt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Nt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Nt(this,ht,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Nt(this,ft(t),n)},xt.prototype.setSize=function(e){return jt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:jt(this,T(e,n),D(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?M():N(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},xt.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)},xt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=xt.prototype;function Ct(e,t){this.array=e,this.ownerID=t}Et[Pt]=!0,Et[m]=Et.remove,Et.setIn=Ve.setIn,Et.deleteIn=Et.removeIn=Ve.removeIn,Et.update=Ve.update,Et.updateIn=Ve.updateIn,Et.mergeIn=Ve.mergeIn,Et.mergeDeepIn=Ve.mergeDeepIn,Et.withMutations=Ve.withMutations,Et.asMutable=Ve.asMutable,Et.asImmutable=Ve.asImmutable,Et.wasAltered=Ve.wasAltered,Ct.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 Ct([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-g,n))===o&&a)return this}if(a&&!r)return this;var s=Qt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ct.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 a=this.array[r];if((i=a&&a.removeAfter(e,t-g,n))===a&&r===this.array.length-1)return this}var o=Qt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Mt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(u===c)return Dt;var n=t?--c:u++;s=o(l&&l[n],r-g,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(Et);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Rt(){return Ft||(Ft=It(0,0,g))}function Lt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a=_(w);return t>=Mt(e._capacity)?i=$t(i,e.__ownerID,0,t,n,a):r=$t(r,e.__ownerID,e._level,t,n,a),a.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 $t(e,t,n,i,r,a){var o,s=i>>>n&b,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=$t(u,t,n-g,i,r,a);return c===u?e:((o=Qt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Qt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Qt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function zt(e,t){if(t>=Mt(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 jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Mt(a),p=Mt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?zt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&o<a&&h.array.length){for(var m=u=Qt(u,i),v=l;v>g;v-=g){var y=d>>>v&b;m=m.array[y]=Qt(m.array[y],i)}m.array[d>>>g&b]=h}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=p)o-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||p<d){for(c=0;u;){var O=o>>>l&b;if(O!==p>>>l&b)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,f)}function Nt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),mt(e,t,i)}function Mt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():Bt(e)?e:Gt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Bt(e){return Ge(e)&&c(e)}function qt(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Gt(){return Tt||(Tt=qt(rt(),Rt()))}function Wt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===y){if(!l)return e;o.size>=v&&o.size>=2*a.size?(r=o.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=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.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 Xt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Vt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Ht(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===L){var i=e.__iterator(t,n);return new j((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===R?I:R,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 a=e.get(i,y);return a===y?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(L,r);return new j((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return N(i,s,t.call(n,o[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=Ht(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 a=e.get(i,y);return a!==y&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(L,a),s=0;return new j((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return N(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=bn(e);return r.map((function(t){return mn(e,a(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 a=T(t,r),o=D(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=yn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new j((function(){for(;o++<a;)r.next();if(++l>s)return M();var e=r.next();return i||t===R?e:N(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(L,r),s=!0;return new j((function(){if(!s)return M();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===L?e:N(i,l,u,e):(s=!1,M())}))},i}function on(e,t,n,i){var r=yn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(L,a),l=!0,u=0;return new j((function(){var e,a,c;do{if((e=s.next()).done)return i||r===R?e:N(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===L?e:N(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(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 a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===L&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:N(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return M()}))},i}function un(e,t,n){var i=bn(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(R,i),o=0;return new j((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?N(n,o++,t):N(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?V(a):l(e)?Y(a):Z(a)}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 hn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return hn(t,e,n)?n:e}))}function hn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function fn(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(R,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),o=0,s=!1;return new j((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?M():N(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return ae(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function bn(e){return s(e)?i:l(e)?r:a}function yn(e){return Object.create((s(e)?V:l(e)?Y:Z).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.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(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);En(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=qe(a)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,qe),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Gt()},Ut.prototype.set=function(e,t){return Wt(this,e,t)},Ut.prototype.remove=function(e){return Wt(this,e,y)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.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)},Ut.isOrderedMap=Bt,Ut.prototype[f]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Xt,V),Xt.prototype.get=function(e,t){return this._iter.get(e,t)},Xt.prototype.has=function(e){return this._iter.has(e)},Xt.prototype.valueSeq=function(){return this._iter.valueSeq()},Xt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Xt.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},Xt.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)},Xt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:N(e,t?--i:i++,r.value,r)}))},Xt.prototype[f]=!0,t(Vt,Y),Vt.prototype.includes=function(e){return this._iter.includes(e)},Vt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Vt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),i=0;return new j((function(){var t=n.next();return t.done?t:N(e,i++,t.value,t)}))},t(Yt,Z),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new j((function(){var t=n.next();return t.done?t:N(e,t.value,t.value,t)}))},t(Zt,V),Zt.prototype.entrySeq=function(){return this._iter.toSeq()},Zt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=o(i);return N(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Zt.prototype.cacheResult=On,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.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},kn.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()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.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)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.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 xn=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Pn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(Cn.bind(void 0,e))}catch(e){}}function Cn(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?$n():Tn(e)&&!c(e)?e:$n().withMutations((function(t){var n=a(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}xn[m]=xn.remove,xn.deleteIn=xn.removeIn=Ve.removeIn,xn.merge=Ve.merge,xn.mergeWith=Ve.mergeWith,xn.mergeIn=Ve.mergeIn,xn.mergeDeep=Ve.mergeDeep,xn.mergeDeepWith=Ve.mergeDeepWith,xn.mergeDeepIn=Ve.mergeDeepIn,xn.setIn=Ve.setIn,xn.update=Ve.update,xn.updateIn=Ve.updateIn,xn.withMutations=Ve.withMutations,xn.asMutable=Ve.asMutable,xn.asImmutable=Ve.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 Rn(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Fn.prototype.clear=function(){return Rn(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++)a(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 a(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 a(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 Qn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return Qn(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 Rn(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 Ln(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function $n(){return Dn||(Dn=Ln(rt()))}function Qn(e){return null==e?Un():zn(e)?e:Un().withMutations((function(t){var n=a(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function zn(e){return Tn(e)&&c(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ve.withMutations,In.asMutable=Ve.asMutable,In.asImmutable=Ve.asImmutable,In.__empty=$n,In.__make=Ln,t(Qn,Fn),Qn.of=function(){return this(arguments)},Qn.fromKeys=function(e){return this(i(e).keySeq())},Qn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Qn.isOrderedSet=zn;var jn,Nn=Qn.prototype;function Mn(e,t){var n=Object.create(Nn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Mn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Nn[f]=!0,Nn.__empty=Un,Nn.__make=Mn,t(Bn,xe),Bn.of=function(){return this(arguments)},Bn.prototype.toString=function(){return this.__toString("Stack [","]")},Bn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},Bn.prototype.peek=function(){return this._head&&this._head.value},Bn.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):Vn(e,t)},Bn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Be(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):Vn(t,n)},Bn.prototype.pop=function(){return this.slice(1)},Bn.prototype.unshift=function(){return this.push.apply(this,arguments)},Bn.prototype.unshiftAll=function(e){return this.pushAll(e)},Bn.prototype.shift=function(){return this.pop.apply(this,arguments)},Bn.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):Yn()},Bn.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 xe.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):Vn(i,r)},Bn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Vn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Bn.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},Bn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new j((function(){if(i){var t=i.value;return i=i.next,N(e,n++,t)}return M()}))},Bn.isStack=qn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=Bn.prototype;function Vn(e,t,n,i){var r=Object.create(Xn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Yn(){return Gn||(Gn=Vn(0))}function Zn(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}Xn[Wn]=!0,Xn.withMutations=Ve.withMutations,Xn.asMutable=Ve.asMutable,Xn.asImmutable=Ve.asImmutable,Xn.wasAltered=Ve.wasAltered,n.Iterator=j,Zn(n,{toArray:function(){Be(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Vt(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 Xt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){Be(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Qn(s(this)?this.valueSeq():this)},toSet:function(){return Fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Bn(s(this)?this.valueSeq():this)},toList:function(){return xt(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(L)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))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,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Be(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Be(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 Be(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),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(R)},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 P(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(C)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Zt(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 a=n.value;if((i=i&&i.get?i.get(a,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):ai)},minBy:function(e,t){return pn(this,t?ni(t):ai,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,on(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,an(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=oi(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[z]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=ii,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"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){}}(),Zn(i,{flip:function(){return mn(this,Ht(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,a){return e.call(t,[a,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 ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Ce(e),Ce(t))|0}:function(e,t){i=i+li(Ce(e),Ce(t))|0}:t?function(e){i=31*i+Ce(e)|0}:function(e){i=i+Ce(e)|0});return si(r,i)}function si(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Pe(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[z]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Zn(r,{toKeyedSeq:function(){return new Xt(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=E(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=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=fn(this.toSeq(),Y.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,on(this,e,t,!1))},zip:function(){return mn(this,fn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,fn(this,e,t))}}),r.prototype[h]=!0,r.prototype[f]=!0,Zn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,a.prototype),Zn(ke,i.prototype),Zn(xe,r.prototype),Zn(Se,a.prototype),{Iterable:n,Seq:X,Collection:_e,Map:qe,OrderedMap:Ut,List:xt,Stack:Bn,Set:Fn,OrderedSet:Qn,Record:kn,Range:we,Repeat:ye,is:ve,fromJS:he}}()}(yKe);var OKe=yKe.exports.OrderedMap,wKe={createFromArray:function(e){return OKe(e.map((function(e){return[e.getKey(),e]})))}},_Ke=wKe;var kKe=yKe.exports,xKe=kKe.Map,SKe=kKe.OrderedSet,PKe=kKe.Record,EKe=SKe(),CKe={style:EKe,entity:null},FKe=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 TKe;var t=xKe({style:EKe,entity:null}).merge(e),n=DKe.get(t);if(n)return n;var r=new i(t);return DKe=DKe.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?SKe(t):t,entity:Array.isArray(n)?SKe(n):n})},i}(PKe(CKe)),TKe=new FKe,DKe=xKe([[xKe(CKe),TKe]]);FKe.EMPTY=TKe;var AKe=FKe;var IKe=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,a,o){return t(e,a)||(n(e)&&i(r,o),r=o),a})),n(e.last())&&i(r,e.count())}};var RKe=AKe,LKe=IKe,$Ke=yKe.exports,QKe=$Ke.List,zKe=$Ke.Map,jKe=$Ke.OrderedSet,NKe=$Ke.Record,MKe=$Ke.Repeat,UKe=jKe(),BKe=NKe({key:"",type:"unstyled",text:"",characterList:QKe(),depth:0,data:zKe()}),qKe=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=QKe(MKe(RKe.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():UKe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){LKe(this.getCharacterList(),GKe,e,t)},r.findEntityRanges=function(e,t){LKe(this.getCharacterList(),WKe,e,t)},i}(BKe);function GKe(e,t){return e.getStyle()===t.getStyle()}function WKe(e,t){return e.getEntity()===t.getEntity()}var XKe=qKe;var VKe=AKe,YKe=IKe,ZKe=yKe.exports,HKe=ZKe.List,KKe=ZKe.Map,JKe=ZKe.OrderedSet,eJe=ZKe.Record,tJe=ZKe.Repeat,nJe=JKe(),iJe={parent:null,characterList:HKe(),data:KKe(),depth:0,key:"",text:"",type:"unstyled",children:HKe(),prevSibling:null,nextSibling:null},rJe=function(e,t){return e.getStyle()===t.getStyle()},aJe=function(e,t){return e.getEntity()===t.getEntity()},oJe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=HKe(tJe(VKe.EMPTY,n.length))),e},sJe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:iJe;return e.call(this,oJe(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():nJe},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){YKe(this.getCharacterList(),rJe,e,t)},r.findEntityRanges=function(e,t){YKe(this.getCharacterList(),aJe,e,t)},i}(eJe(iJe)),lJe=sJe,uJe=AKe,cJe=yKe.exports.Map;function dJe(e,t,n,i){var r=e.getBlockMap(),a=t.getStartKey(),o=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===a})).takeUntil((function(e,t){return t===s})).concat(cJe([[s,r.get(s)]])).map((function(e,t){var r,u;a===s?(r=o,u=l):(r=t===a?o:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?uJe.applyStyle(c,n):uJe.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var pJe={add:function(e,t,n){return dJe(e,t,n,!0)},remove:function(e,t,n){return dJe(e,t,n,!1)}},hJe=AKe;var fJe=function(e,t,n,i){for(var r=t,a=e.getCharacterList();r<n;)a=a.set(r,hJe.applyEntity(a.get(r),i)),r++;return e.set("characterList",a)},mJe=fJe,gJe=yKe.exports;var vJe=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).toOrderedMap().merge(gJe.OrderedMap([[o,i.get(o)]])).map((function(e,t){var i=t===r?a:0,l=t===o?s:e.getLength();return mJe(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},bJe={getRemovalRange:function(e,t,n,i,r){var a=n.split(" ");a=a.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<a.length-1)return e+" ";return e}));for(var o,s=i,l=null,u=null,c=0;c<a.length;c++){if(e<(o=s+a[c].length)&&s<t)null!==l||(l=s),u=o;else if(null!==l)break;s=o}var d=i+n.length,p=l===i,h=u===d;return(!p&&h||p&&!h)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},yJe="production"!==uo.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var OJe=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(yJe(t),!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;(a=new Error(t.replace(/%s/g,(function(){return String(i[o++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}},wJe=OJe;var _Je=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"!==uo.env.NODE_ENV?wJe(!1,"Entity key not found in this range."):wJe(!1)),n},kJe=bJe,xJe=_Je,SJe=OJe;function PJe(e,t,n,i,r,a,o){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=o?s:l;if("MUTABLE"===u)return n;var d=xJe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==uo.env.NODE_ENV?SJe(!1,"There should only be one entity range within this removal range."):SJe(!1));var p=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});a||(o?l=p.end:s=p.start);var h=kJe.getRemovalRange(s,l,t.getText().slice(p.start,p.end),p.start,i);return n.merge({anchorOffset:h.start,focusOffset:h.end,isBackward:!1})}var EJe=function(e,t,n,i,r){var a=i.getStartOffset(),o=i.getEndOffset(),s=t.getEntityAt(a),l=n.getEntityAt(o-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=PJe(e,t,u,r,s,!0,!0);else if(s&&l){var c=PJe(e,t,u,r,s,!1,!0),d=PJe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=PJe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var h=PJe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return u},CJe={},FJe=Math.pow(2,24);var TJe=function(){for(var e;void 0===e||CJe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*FJe).toString(32);return CJe[e]=!0,e},DJe=lJe,AJe=TJe,IJe=yKe.exports.OrderedMap,RJe=function(e){return e.first()instanceof DJe?function(e){var t,n={};return IJe(e.withMutations((function(e){e.forEach((function(i,r){var a=i.getKey(),o=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=AJe();if(n[a]=c,o&&(e.get(o)?e.setIn([o,"prevSibling"],c):e.setIn([a,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([a,"prevSibling"],null)),u&&e.get(u)){var d=e.get(u).getChildKeys();e.setIn([u,"children"],d.set(d.indexOf(i.getKey()),c))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([a,"prevSibling"],n[t.getKey()])),t=e.get(a);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([a,"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 IJe(e.toArray().map((function(e){var t=AJe();return[t,e.set("key",t)]})))}(e)},LJe=AKe,$Je=IKe,QJe=OJe;function zJe(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,a=n<i.count()?i.get(n):void 0,o=r?r.getEntity():void 0,s=a?a.getEntity():void 0;if(s&&s===o&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return $Je(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"!==uo.env.NODE_ENV?QJe(!1,"Removal range must exist within character list."):QJe(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,LJe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var jJe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},a=t.getStartKey(),o=t.getStartOffset(),s=n.get(a),l=zJe(i,s,o);l!==s&&(r[a]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);a===u&&(d=l);var p=zJe(i,d,c);return p!==d&&(r[u]=p),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},NJe=RJe,MJe=jJe,UJe=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),a=t.getEndOffset(),o=MJe(e,t).getBlockMap(),s=o.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return NJe(o.slice(l,u).map((function(e,t){var o=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:o.slice(i,a),characterList:s.slice(i,a)}):t===n?e.merge({text:o.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:o.slice(0,a),characterList:s.slice(0,a)}):e})))};var BJe=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),a=i.slice(n);i=r.concat(t,a).toList()}return i},qJe=_Ke,GJe=lJe,WJe=BJe,XJe=OJe,VJe=RJe,YJe=yKe.exports.List,ZJe=function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),u=s.getCharacterList(),c=r,d=a+i.getText().length,p=null;switch(o){case"MERGE_OLD_DATA_TO_NEW_DATA":p=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":p=i.getData()}var h=s.getType();l&&"unstyled"===h&&(h=i.getType());var f=s.merge({text:l.slice(0,a)+i.getText()+l.slice(a),characterList:WJe(u,i.getCharacterList(),a),type:h,data:p});return e.merge({blockMap:n.set(r,f),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},HJe=function(e,t,n,i,r,a){var o=n.first()instanceof GJe,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),p=d.getLength(),h=d.getKey(),f=o&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(f?s.push(e):s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.slice(0,t),o=r.slice(0,t),s=n.first();return e.merge({text:a+s.getText(),characterList:o.concat(s.getCharacterList()),type:a?e.getType():s.getType(),data:s.getData()})}(e,a,i)),i.slice(f?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),a=i.length,o=i.slice(t,a),s=r.slice(t,a),l=n.last();return l.merge({text:l.getText()+o,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,a,i))):s.push(e)}));var m=qJe.createFromArray(s);return o&&(m=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),a=i.getKey(),o=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 a=i.getNextSiblingKey();if(!a)break;r.push(a),i=t.get(a)}return r}(i,e),u=l[l.length-1];if(t.get(a)?(t.setIn([r,"nextSibling"],a),t.setIn([a,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],o),o&&t.setIn([o,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(r)+1,p=c.toArray();p.splice.apply(p,[d,0].concat(l)),t.setIn([s,"children"],YJe(p))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:h,anchorOffset:p,focusKey:h,focusOffset:p,isBackward:!1})})},KJe=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==uo.env.NODE_ENV?XJe(!1,"`insertFragment` should only be called with a collapsed selection state."):XJe(!1));var r=e.getBlockMap(),a=VJe(n),o=t.getStartKey(),s=t.getStartOffset(),l=r.get(o);return l instanceof GJe&&(l.getChildKeys().isEmpty()||("production"!==uo.env.NODE_ENV?XJe(!1,"`insertFragment` should not be called when a container node is selected."):XJe(!1))),1===a.size?ZJe(e,t,r,a.first(),o,s,i):HJe(e,t,r,a,o,s)},JJe=BJe,e0e=OJe,t0e=yKe.exports.Repeat;var n0e=function(e,t,n,i){t.isCollapsed()||("production"!==uo.env.NODE_ENV?e0e(!1,"`insertText` should only be called with a collapsed range."):e0e(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var a=e.getBlockMap(),o=t.getStartKey(),s=t.getStartOffset(),l=a.get(o),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:JJe(l.getCharacterList(),t0e(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:a.set(o,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},i0e=yKe.exports.Map;var r0e=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),a=e.getBlockMap(),o=a.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(i0e([[r,a.get(r)]])).map(n);return e.merge({blockMap:a.merge(o),selectionBefore:t,selectionAfter:t})},a0e=lJe,o0e=function(e,t){if(!(e instanceof a0e))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 a=r.getParentKey();r=a?t.get(a):null}return r?r.getNextSiblingKey():null},s0e=lJe,l0e=o0e,u0e=yKe.exports;u0e.List;var c0e=u0e.Map,d0e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},p0e=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},h0e=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},f0e=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},m0e=function(e,t,n,i){return e.withMutations((function(r){if(d0e(t.getKey(),r,(function(e){return e.merge({nextSibling:h0e(e,r,i),prevSibling:f0e(e,r,i)})})),d0e(n.getKey(),r,(function(e){return e.merge({nextSibling:h0e(e,r,i),prevSibling:f0e(e,r,i)})})),p0e(t.getKey(),i).forEach((function(e){return d0e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:h0e(e,r,i),prevSibling:f0e(e,r,i)})}))})),d0e(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),d0e(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:h0e(e,r,i)})})),d0e(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:f0e(e,r,i)})})),d0e(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),p0e(n.getKey(),i).forEach((function(e){d0e(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:h0e(e,r,i),prevSibling:f0e(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=l0e(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?l0e(r,t):null}return n}(n,i).forEach((function(e){return d0e(e,r,(function(e){return e.merge({nextSibling:h0e(e,r,i),prevSibling:f0e(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var a=t.getPrevSiblingKey();d0e(n.getKey(),r,(function(e){return e.merge({prevSibling:a})})),d0e(a,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var o=a?e.get(a):null,s=o?o.getParentKey():null;if(t.getChildKeys().forEach((function(e){d0e(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);d0e(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}d0e(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},g0e=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},v0e=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),a=t.getStartOffset(),o=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(o),c=l instanceof s0e,d=[];if(c){var p=u.getChildKeys(),h=p0e(o,i);u.getNextSiblingKey()&&(d=d.concat(h)),p.isEmpty()||(d=d.concat(h.concat([o]))),d=d.concat(p0e(l0e(u,i),i))}n=l===u?g0e(l.getCharacterList(),a,s):l.getCharacterList().slice(0,a).concat(u.getCharacterList().slice(s));var f=l.merge({text:l.getText().slice(0,a)+u.getText().slice(s),characterList:n}),m=c&&0===a&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?c0e([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).filter((function(e,t){return-1===d.indexOf(t)})).concat(c0e([[o,null]])).map((function(e,t){return t===r?f:null})),g=i.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(g=m0e(g,l,u,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:a,focusKey:r,focusOffset:a,isBackward:!1})})},b0e=lJe,y0e=TJe,O0e=yKe.exports,w0e=OJe,_0e=r0e,k0e=O0e.List,x0e=O0e.Map,S0e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},P0e=function(e,t){t.isCollapsed()||("production"!==uo.env.NODE_ENV?w0e(!1,"Selection range must be collapsed."):w0e(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),a=r.getText();if(!a){var o=r.getType();if("unordered-list-item"===o||"ordered-list-item"===o)return _0e(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=y0e(),c=r instanceof b0e,d=r.merge({text:a.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:u,text:a.slice(s),characterList:l.slice(s),data:x0e()}),h=i.toSeq().takeUntil((function(e){return e===r})),f=i.toSeq().skipUntil((function(e){return e===r})).rest(),m=h.concat([[n,d],[u,p]],f).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==uo.env.NODE_ENV?w0e(!1,"ContentBlockNode must not have children"):w0e(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();S0e(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,a=t.toArray();return a.splice(n,0,r),e.merge({children:k0e(a)})})),S0e(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),S0e(i,e,(function(e){return e.merge({nextSibling:r})})),S0e(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(m,d,p)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},E0e=AKe,C0e=pJe,F0e=vJe,T0e=EJe,D0e=UJe,A0e=KJe,I0e=n0e,R0e=OJe,L0e=r0e,$0e=jJe,Q0e=v0e,z0e=P0e,j0e=yKe.exports.OrderedSet,N0e={replaceText:function(e,t,n,i,r){var a=$0e(e,t),o=Q0e(a,t),s=E0e.create({style:i||j0e(),entity:r||null});return I0e(o,o.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==uo.env.NODE_ENV?R0e(!1,"Target range must be collapsed for `insertText`."):R0e(!1)),N0e.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=D0e(e,t),r=N0e.removeRange(e,t,"backward");return N0e.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=$0e(e,t),a=Q0e(r,t);return A0e(a,a.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,a,o;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(),a=e.getBlockForKey(i),o=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=a.getEntityAt(s),c=o.getEntityAt(l-1);if(i===r&&u&&u===c){var d=T0e(e.getEntityMap(),a,o,t,n);return Q0e(e,d)}var p=$0e(e,t);return Q0e(p,t)},splitBlock:function(e,t){var n=$0e(e,t),i=Q0e(n,t);return z0e(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return C0e.add(e,t,n)},removeInlineStyle:function(e,t,n){return C0e.remove(e,t,n)},setBlockType:function(e,t,n){return L0e(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return L0e(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return L0e(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=$0e(e,t);return F0e(i,t,n)}},M0e=N0e;var U0e=function(e){return Object.keys(e).map((function(t){return e[t]}))};function B0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q0e=IKe,G0e=U0e,W0e=yKe.exports,X0e=W0e.List,V0e=W0e.Repeat,Y0e=W0e.Record,Z0e=function(){return!0},H0e=Y0e({start:null,end:null}),K0e=Y0e({start:null,end:null,decoratorKey:null,leaves:null}),J0e={generate:function(e,t,n){var i=t.getLength();if(!i)return X0e.of(new K0e({start:0,end:0,decoratorKey:null,leaves:X0e.of(new H0e({start:0,end:0}))}));var r=[],a=n?n.getDecorations(t,e):X0e(V0e(null,i)),o=t.getCharacterList();return q0e(a,t1e,Z0e,(function(e,t){r.push(new K0e({start:e,end:t,decoratorKey:a.get(e),leaves:e1e(o.slice(e,t).toList(),e)}))})),X0e(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new K0e(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){B0e(e,t,n[t])}))}return e}({},n,{leaves:null!=t?X0e(Array.isArray(t)?t:G0e(t)).map((function(e){return H0e(e)})):null}))}};function e1e(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return q0e(i,t1e,Z0e,(function(e,i){n.push(new H0e({start:e+t,end:i+t}))})),X0e(n)}function t1e(e,t){return e===t}var n1e=J0e;var i1e=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,yKe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),r1e=i1e;var a1e=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 o1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s1e=r1e,l1e=OJe,u1e=a1e,c1e=(0,yKe.exports.Map)(),d1e=u1e();function p1e(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var h1e={getLastCreatedEntityKey:function(){return p1e("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),h1e.__getLastCreatedEntityKey()},create:function(e,t,n){return p1e("DraftEntity.create","contentState.createEntity"),h1e.__create(e,t,n)},add:function(e){return p1e("DraftEntity.add","contentState.addEntity"),h1e.__add(e)},get:function(e){return p1e("DraftEntity.get","contentState.getEntity"),h1e.__get(e)},__getAll:function(){return c1e},__loadWithEntities:function(e){c1e=e,d1e=u1e()},mergeData:function(e,t){return p1e("DraftEntity.mergeData","contentState.mergeEntityData"),h1e.__mergeData(e,t)},replaceData:function(e,t){return p1e("DraftEntity.replaceData","contentState.replaceEntityData"),h1e.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return d1e},__create:function(e,t,n){return h1e.__add(new s1e({type:e,mutability:t,data:n||{}}))},__add:function(e){return d1e=u1e(),c1e=c1e.set(d1e,e),d1e},__get:function(e){var t=c1e.get(e);return t||("production"!==uo.env.NODE_ENV?l1e(!1,"Unknown DraftEntity key: %s.",e):l1e(!1)),t},__mergeData:function(e,t){var n=h1e.__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){o1e(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return c1e=c1e.set(e,r),r},__replaceData:function(e,t){var n=h1e.__get(e).set("data",t);return c1e=c1e.set(e,n),n}},f1e=h1e;var m1e=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 a=this.getStartOffset(),o=this.getEndOffset();return t<=a&&a<=n||t<=o&&o<=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,yKe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),g1e=m1e,v1e=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},b1e=new RegExp("\r","g");var y1e=function(e){return e.replace(b1e,"")};function O1e(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){w1e(e,t,n[t])}))}return e}function w1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _1e=_Ke,k1e=AKe,x1e=XKe,S1e=lJe,P1e=f1e,E1e=g1e,C1e=TJe,F1e=U0e,T1e=v1e,D1e=yKe.exports,A1e=y1e,I1e=D1e.List,R1e=D1e.Record,L1e=D1e.Repeat,$1e=D1e.Map,Q1e=D1e.OrderedMap,z1e=R1e({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),j1e=T1e("draft_tree_data_support")?S1e:x1e,N1e=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 P1e},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 P1e.__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 P1e.__create(e,t,n),this},r.mergeEntityData=function(e,t){return P1e.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return P1e.__replaceData(e,t),this},r.addEntity=function(e){return P1e.__add(e),this},r.getEntity=function(e){return P1e.__get(e)},r.getAllEntities=function(){return P1e.__getAll()},r.loadWithEntities=function(e){return P1e.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=_1e.createFromArray(n),a=r.isEmpty()?new E1e:E1e.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||P1e,selectionBefore:a,selectionAfter:a})},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=A1e(e),new j1e({key:C1e(),text:e,type:"unstyled",characterList:I1e(L1e(k1e.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(O1e({},e,{blockMap:Q1e(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new E1e(e.selectionBefore),selectionAfter:new E1e(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new j1e(O1e({},e,{data:$1e(e.data),characterList:null!=t?I1e((Array.isArray(t)?t:F1e(t)).map((function(e){return k1e.fromJS(e)}))):void 0}))},i}(z1e),M1e=N1e,U1e=OJe,B1e="LTR",q1e=null;function G1e(e){return e===B1e||"RTL"===e}function W1e(e){return G1e(e)||("production"!==uo.env.NODE_ENV?U1e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):U1e(!1)),e===B1e?"ltr":"rtl"}function X1e(e){q1e=e}var V1e={NEUTRAL:"NEUTRAL",LTR:B1e,RTL:"RTL",isStrong:G1e,getHTMLDir:W1e,getHTMLDirIfDifferent:function(e,t){return G1e(e)||("production"!==uo.env.NODE_ENV?U1e(!1,"`dir` must be a strong direction to be converted to HTML Direction"):U1e(!1)),G1e(t)||("production"!==uo.env.NODE_ENV?U1e(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):U1e(!1)),e===t?null:W1e(e)},setGlobalDir:X1e,initGlobalDir:function(){X1e(B1e)},getGlobalDir:function(){return q1e||this.initGlobalDir(),q1e||("production"!==uo.env.NODE_ENV?U1e(!1,"Global direction not set."):U1e(!1)),q1e}},Y1e=V1e,Z1e=OJe,H1e="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",K1e="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",J1e=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+H1e+K1e+"]"),e2e=new RegExp("["+H1e+K1e+"]");function t2e(e){var t=J1e.exec(e);return null==t?null:t[0]}function n2e(e){var t=t2e(e);return null==t?Y1e.NEUTRAL:e2e.exec(t)?Y1e.RTL:Y1e.LTR}function i2e(e,t){if(t=t||Y1e.NEUTRAL,!e.length)return t;var n=n2e(e);return n===Y1e.NEUTRAL?t:n}function r2e(e,t){return t||(t=Y1e.getGlobalDir()),Y1e.isStrong(t)||("production"!==uo.env.NODE_ENV?Z1e(!1,"Fallback direction must be a strong direction"):Z1e(!1)),i2e(e,t)}var a2e={firstStrongChar:t2e,firstStrongCharDir:n2e,resolveBlockDir:i2e,getDirection:r2e,isDirectionLTR:function(e,t){return r2e(e,t)===Y1e.LTR},isDirectionRTL:function(e,t){return r2e(e,t)===Y1e.RTL}},o2e=a2e;function s2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l2e,u2e=o2e,c2e=V1e,d2e=OJe,p2e=function(){function e(e){s2e(this,"_defaultDir",void 0),s2e(this,"_lastDir",void 0),e?c2e.isStrong(e)||("production"!==uo.env.NODE_ENV?d2e(!1,"Default direction must be a strong direction (LTR or RTL)"):d2e(!1)):e=c2e.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=u2e.getDirection(e,this._lastDir),this._lastDir},e}(),h2e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},f2e=p2e,m2e=yKe.exports,g2e=h2e,v2e=m2e.OrderedMap,b2e={getDirectionMap:function(e,t){l2e?l2e.reset():l2e=new f2e;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return g2e(l2e).getDirection(e.getText())})),r=v2e(n.keySeq().zip(i));return null!=t&&m2e.is(t,r)?t:r}};function y2e(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){O2e(e,t,n[t])}))}return e}function O2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w2e=n1e,_2e=M1e,k2e=b2e,x2e=g1e,S2e=yKe.exports,P2e=S2e.OrderedSet,E2e=S2e.Record,C2e=S2e.Stack,F2e=S2e.OrderedMap,T2e=S2e.List,D2e=E2e({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:C2e(),selection:null,treeMap:null,undoStack:C2e()}),A2e=function(){t.createEmpty=function(e){return t.createWithContent(_2e.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:C2e(),redoStack:C2e(),decorator:n||null,selection:x2e.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=y2e({},e,{treeMap:R2e(n,e.decorator),directionMap:k2e.getDirectionMap(n)});return new t(new D2e(i))},t.fromJS=function(e){return new t(new D2e(y2e({},e,{directionMap:null!=e.directionMap?F2e(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?P2e(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?_2e.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?C2e(e.redoStack.map((function(e){return _2e.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new x2e(e.selection):e.selection,treeMap:null!=e.treeMap?F2e(e.treeMap).map((function(e){return T2e(e).map((function(e){return w2e.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?C2e(e.undoStack.map((function(e){return _2e.fromJS(e)}))):e.undoStack,currentContent:_2e.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 a=n.currentContent||e.getCurrentContent();if(r!==i){var o,s=t.get("treeMap");return o=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 w2e.generate(e,t,i)})))}(a,a.getBlockMap(),s,r,i):R2e(a,r),void t.merge({decorator:r,treeMap:o,nativelyRenderedContent:null})}a!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),a=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==a.get(t)})).map((function(e){return w2e.generate(r,e,i)})))}(e,a.getBlockMap(),a.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){O2e(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 $2e(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 $2e(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 I2e(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),I2e(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new x2e({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 a=k2e.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:a,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var o=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;o!==s.getSelectionAfter()||L2e(e,i)?(l=l.push(s),u=u.set("selectionBefore",o)):"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i||(u=u.set("selectionBefore",s.getSelectionBefore()));var c=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(i)&&(c=null);var p={currentContent:u,directionMap:a,undoStack:l,redoStack:C2e(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};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(),a=k2e.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,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(),a=k2e.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:a,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 I2e(e,t,n){return A2e.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function R2e(e,t){return e.getBlockMap().map((function(n){return w2e.generate(e,n,t)})).toOrderedMap()}function L2e(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function $2e(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):P2e()}var Q2e=A2e,z2e=lJe,j2e=o0e,N2e=yKe.exports,M2e=OJe,U2e=N2e.OrderedMap,B2e=N2e.List,q2e=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},G2e=function(e,t,n,i,r){if(!r)return e;var a="after"===i,o=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),p=a?n.getNextSiblingKey():s,h=a?s:n.getPrevSiblingKey();return e.withMutations((function(e){q2e(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(o))})})),q2e(c,e,(function(e){return e.merge({nextSibling:u})})),q2e(u,e,(function(e){return e.merge({prevSibling:c})})),q2e(p,e,(function(e){return e.merge({prevSibling:o})})),q2e(h,e,(function(e){return e.merge({nextSibling:o})})),q2e(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=a?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,o),e.merge({children:B2e(r)})})),q2e(o,e,(function(e){return e.merge({nextSibling:p,prevSibling:h,parent:d})}))}))},W2e=function(e,t,n,i){"replace"===i&&("production"!==uo.env.NODE_ENV?M2e(!1,"Replacing blocks is not supported."):M2e(!1));var r=n.getKey(),a=t.getKey();a===r&&("production"!==uo.env.NODE_ENV?M2e(!1,"Block cannot be moved next to itself."):M2e(!1));var o=e.getBlockMap(),s=t instanceof z2e,l=[t],u=o.delete(a);s&&(l=[],u=o.withMutations((function(e){var n=t.getNextSiblingKey(),i=j2e(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===a})).takeWhile((function(e){var t=e.getKey(),r=t===a,o=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||o||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var c=u.toSeq().takeUntil((function(e){return e===n})),d=u.toSeq().skipUntil((function(e){return e===n})).skip(1),p=l.map((function(e){return[e.getKey(),e]})),h=U2e();if("before"===i){var f=e.getBlockBefore(r);f&&f.getKey()===t.getKey()&&("production"!==uo.env.NODE_ENV?M2e(!1,"Block cannot be moved next to itself."):M2e(!1)),h=c.concat([].concat(p,[[r,n]]),d).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===a&&("production"!==uo.env.NODE_ENV?M2e(!1,"Block cannot be moved next to itself."):M2e(!1)),h=c.concat([[r,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:G2e(h,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:a,focusKey:a})})};function X2e(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){V2e(e,t,n[t])}))}return e}function V2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y2e=_Ke,Z2e=AKe,H2e=XKe,K2e=lJe,J2e=M0e,e3e=Q2e,t3e=TJe,n3e=yKe.exports,i3e=W2e,r3e=v1e("draft_tree_data_support"),a3e=r3e?K2e:H2e,o3e=n3e.List,s3e=n3e.Repeat,l3e={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),a=J2e.removeRange(i,r,"backward"),o=a.getSelectionAfter(),s=J2e.splitBlock(a,o),l=s.getSelectionAfter(),u=J2e.setBlockType(s,l,"atomic"),c=Z2e.create({entity:t}),d={key:t3e(),type:"atomic",text:n,characterList:o3e(s3e(c,n.length))},p={key:t3e(),type:"unstyled"};r3e&&(d=X2e({},d,{nextSibling:p.key}),p=X2e({},p,{prevSibling:d.key}));var h=[new a3e(d),new a3e(p)],f=Y2e.createFromArray(h),m=J2e.replaceWithFragment(u,l,f),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return e3e.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,a=e.getCurrentContent(),o=e.getSelection();if("before"===i||"after"===i){var s=a.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=i3e(a,t,s,i)}else{var l=J2e.removeRange(a,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=i3e(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=i3e(l,t,c,"after");else{var d=J2e.splitBlock(l,u),p=d.getSelectionAfter(),h=d.getBlockForKey(p.getFocusKey());r=i3e(d,t,h,"before")}}var f=r.merge({selectionBefore:o,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return e3e.push(e,f,"move-block")}};var u3e=yKe.exports.List,c3e=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 a=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+"."+a),a++)}),t)})),u3e(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 d3e=c3e;function p3e(e){return e.replace(/\//g,"-")}var h3e=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(p3e).join(" "):Array.prototype.map.call(arguments,p3e).join(" ")},f3e=v.default,m3e=h3e,g3e=(0,yKe.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:f3e.createElement("ul",{className:m3e("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:f3e.createElement("ol",{className:m3e("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:f3e.createElement("pre",{className:m3e("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),v3e={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},b3e={exports:{}};!function(e,t){!function(n,i){var r="function",a="undefined",o="object",s="string",l="model",u="name",c="type",d="vendor",p="version",h="architecture",f="console",m="mobile",g="tablet",v="smarttv",b="wearable",y="embedded",O="Amazon",w="Apple",_="ASUS",k="BlackBerry",x="Firefox",S="Google",P="Huawei",E="LG",C="Microsoft",F="Motorola",T="Opera",D="Samsung",A="Sony",I="Xiaomi",R="Zebra",L="Facebook",$=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},Q=function(e,t){return typeof e===s&&-1!==z(t).indexOf(z(e))},z=function(e){return e.toLowerCase()},j=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===a?e:e.substring(0,255)},N=function(e,t){for(var n,a,s,l,u,c,d=0;d<t.length&&!u;){var p=t[d],h=t[d+1];for(n=a=0;n<p.length&&!u;)if(u=p[n++].exec(e))for(s=0;s<h.length;s++)c=u[++a],typeof(l=h[s])===o&&l.length>0?2===l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):i:this[l[0]]=c?l[1].call(this,c,l[2]):i:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):i):this[l]=c||i;d+=2}},M=function(e,t){for(var n in t)if(typeof t[n]===o&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(Q(t[n][r],e))return"?"===n?i:n}else if(Q(t[n],e))return"?"===n?i:n;return e},U={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"},B={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,p],[/opios[\/ ]+([\w\.]+)/i],[p,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[u,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],[u,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[u,x]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,L],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[p,M,{"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],[u,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[u,"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],[u,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,z]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[h,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[h,"armhf"]],[/windows (ce|mobile); ppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[h,/ower/,"",z]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[h,z]]],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],[c,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,D],[c,m]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[c,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[c,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,P],[c,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,P],[c,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],[c,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,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"],[c,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,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],[c,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,F],[c,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,E],[c,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,E],[c,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,m]],[/(pixel c)\b/i],[l,[d,S],[c,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,S],[c,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],[c,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,A],[c,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,O],[c,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,O],[c,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,k],[c,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,_],[c,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,_],[c,m]],[/(nexus 9)/i],[l,[d,"HTC"],[c,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,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,[c,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,[c,g]],[/(surface duo)/i],[l,[d,C],[c,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,m]],[/(u304aa)/i],[l,[d,"AT&T"],[c,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,g]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,g]],[/(sprint) (\w+)/i],[d,l,[c,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,C],[c,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,R],[c,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,R],[c,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,f]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,f]],[/(playstation [345portablevi]+)/i],[l,[d,A],[c,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,C],[c,f]],[/smart-tv.+(samsung)/i],[d,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,D],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,E],[c,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[d,S],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,O],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,j],[l,j],[c,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,v]],[/((pebble))app/i],[d,l,[c,b]],[/droid.+; (glass) \d/i],[l,[d,S],[c,b]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,R],[c,b]],[/(quest( 2)?)/i],[l,[d,L],[c,b]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,m]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[u,"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],[u,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[p,M,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[p,M,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,p],[/\(bb(10);/i],[p,[u,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"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],[u,p],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,p]]},q=function(e,t){if(typeof e===o&&(t=e,e=i),!(this instanceof q))return new q(e,t).getResult();var r=e||(typeof n!==a&&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}(B,t):B;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?j(e,255):e,this},this.setUA(r),this};q.VERSION="0.7.31",q.BROWSER=$([u,p,"major"]),q.CPU=$([h]),q.DEVICE=$([l,d,c,f,m,v,g,b,y]),q.ENGINE=q.OS=$([u,p]),e.exports&&(t=e.exports=q),t.UAParser=q;var G=typeof n!==a&&(n.jQuery||n.Zepto);if(G&&!G.ua){var W=new q;G.ua=W.getResult(),G.ua.get=function(){return W.getUA()},G.ua.set=function(e){W.setUA(e);var t=W.getResult();for(var n in t)G.ua[n]=t[n]}}}("object"==typeof window?window:x)}(b3e,b3e.exports);var y3e="Unknown",O3e={"Mac OS":"Mac OS X"};var w3e=(new(0,b3e.exports)).getResult(),_3e=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(w3e.browser.version),k3e={browserArchitecture:w3e.cpu.architecture||y3e,browserFullVersion:w3e.browser.version||y3e,browserMinorVersion:_3e.minor||y3e,browserName:w3e.browser.name||y3e,browserVersion:w3e.browser.major||y3e,deviceName:w3e.device.model||y3e,engineName:w3e.engine.name||y3e,engineVersion:w3e.engine.version||y3e,platformArchitecture:w3e.cpu.architecture||y3e,platformName:function(e){return O3e[e]||e}(w3e.os.name)||y3e,platformVersion:w3e.os.version||y3e,platformFullVersion:w3e.os.version||y3e},x3e=k3e,S3e=OJe,P3e=/\./,E3e=/\|\|/,C3e=/\s+\-\s+/,F3e=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,T3e=/^(\d*)(.*)/;function D3e(e,t){var n=e.split(E3e);return n.length>1?n.some((function(e){return U3e.contains(e,t)})):function(e,t){var n=e.split(C3e);if(n.length>0&&n.length<=2||("production"!==uo.env.NODE_ENV?S3e(!1,'the "-" operator expects exactly 2 operands'):S3e(!1)),1===n.length)return A3e(n[0],t);var i=n[0],r=n[1];return Q3e(i)&&Q3e(r)||("production"!==uo.env.NODE_ENV?S3e(!1,'operands to the "-" operator must be simple (no modifiers)'):S3e(!1)),A3e(">="+i,t)&&A3e("<="+r,t)}(e=n[0].trim(),t)}function A3e(e,t){if(""===(e=e.trim()))return!0;var n=t.split(P3e),i=L3e(e),r=i.modifier,a=i.rangeComponents;switch(r){case"<":return I3e(n,a);case"<=":return function(e,t){var n=M3e(e,t);return-1===n||0===n}(n,a);case">=":return R3e(n,a);case">":return function(e,t){return 1===M3e(e,t)}(n,a);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,a=parseInt(i[r],10);$3e(a)&&(i[r]=a+1+"");return R3e(e,n)&&I3e(e,i)}(n,a);default:return function(e,t){return 0===M3e(e,t)}(n,a)}}function I3e(e,t){return-1===M3e(e,t)}function R3e(e,t){var n=M3e(e,t);return 1===n||0===n}function L3e(e){var t=e.split(P3e),n=t[0].match(F3e);return n||("production"!==uo.env.NODE_ENV?S3e(!1,"expected regex to match but it did not"):S3e(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function $3e(e){return!isNaN(e)&&isFinite(e)}function Q3e(e){return!L3e(e).modifier}function z3e(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function j3e(e,t){var n=e.match(T3e)[1],i=t.match(T3e)[1],r=parseInt(n,10),a=parseInt(i,10);return $3e(r)&&$3e(a)&&r!==a?N3e(r,a):N3e(e,t)}function N3e(e,t){return typeof e!=typeof t&&("production"!==uo.env.NODE_ENV?S3e(!1,'"a" and "b" must be of the same type'):S3e(!1)),e>t?1:e<t?-1:0}function M3e(e,t){for(var n=function(e,t){z3e(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 z3e(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],a=0;a<r.length;a++){var o=j3e(i[a],r[a]);if(o)return o}return 0}var U3e={contains:function(e,t){return D3e(e.trim(),t.trim())}},B3e=U3e,q3e=Object.prototype.hasOwnProperty;var G3e=function(e,t,n){if(!e)return null;var i={};for(var r in e)q3e.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var W3e=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},X3e=x3e,V3e=B3e;function Y3e(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,V3e.contains(r,t))}function Z3e(e){return"Windows"===X3e.platformName?e.replace(/^\s*NT/,""):e}var H3e=G3e({isBrowser:function(e){return Y3e(X3e.browserName,X3e.browserFullVersion,e)},isBrowserArchitecture:function(e){return Y3e(X3e.browserArchitecture,null,e)},isDevice:function(e){return Y3e(X3e.deviceName,null,e)},isEngine:function(e){return Y3e(X3e.engineName,X3e.engineVersion,e)},isPlatform:function(e){return Y3e(X3e.platformName,X3e.platformFullVersion,e,Z3e)},isPlatformArchitecture:function(e){return Y3e(X3e.platformArchitecture,null,e)}},W3e);var K3e=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var J3e=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},e4e=J3e;var t4e=function e(t){if(e4e(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var a=e(n.childNodes[r]);if(a)return a}}return null},n4e=K3e,i4e=t4e;var r4e=function(e){for(var t=e;t&&t!==n4e(e).documentElement;){var n=i4e(t);if(null!=n)return n;t=t.parentNode}return null};var a4e=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function o4e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s4e=H3e,l4e=r4e,u4e=a4e,c4e=OJe,d4e=h2e,p4e=yKe.exports.Map,h4e={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},f4e=s4e.isBrowser("IE <= 11"),m4e=function(){function e(e){var t=this;o4e(this,"observer",void 0),o4e(this,"container",void 0),o4e(this,"mutations",void 0),o4e(this,"onCharData",void 0),this.container=e,this.mutations=p4e();var n=u4e(e);n.MutationObserver&&!f4e?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==uo.env.NODE_ENV?c4e(!1,"Expected target to be an instance of Node"):c4e(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,h4e):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=p4e(),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 f4e?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=d4e(l4e(e.target));this.mutations=this.mutations.set(n,t)}},e}(),g4e="-",v4e={encode:function(e,t,n){return e+g4e+t+g4e+n},decode:function(e){var t=e.split(g4e).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(g4e),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},b4e={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},y4e={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var O4e=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},w4e=OJe,_4e=O4e;var k4e=function(e){var t=e.editorContainer;return t||("production"!==uo.env.NODE_ENV?w4e(!1,"Missing editorNode"):w4e(!1)),_4e(t.firstChild)||("production"!==uo.env.NODE_ENV?w4e(!1,"editorNode.firstChild is not an HTMLElement"):w4e(!1)),t.firstChild},x4e=v4e,S4e=h2e;var P4e=function(e,t,n,i,r){var a=S4e(e.getSelection());if(!t||!i)return"production"!==uo.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var o=x4e.decode(t),s=o.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([o.decoratorKey,"leaves",o.leafKey]),c=x4e.decode(i),d=c.blockKey,p=e.getBlockTree(d),h=p&&p.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!h)return"production"!==uo.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),a;var f=u.get("start"),m=h.get("start"),g=u?f+n:null,v=h?m+r:null,b=a.getAnchorKey()===s&&a.getAnchorOffset()===g&&a.getFocusKey()===d&&a.getFocusOffset()===v;if(b)return a;var y=!1;if(s===d){var O=u.get("end"),w=h.get("end");y=m===f&&w===O?r<n:m<f}else{var _=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();y=_===d}return a.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:y})},E4e=r4e,C4e=t4e,F4e=P4e,T4e=OJe,D4e=J3e,A4e=h2e;function I4e(e,t,n){var i=t,r=E4e(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==uo.env.NODE_ENV?T4e(!1,"Unknown node in selection range."):T4e(!1)),e===i)&&(i=i.firstChild,D4e(i)||("production"!==uo.env.NODE_ENV?T4e(!1,"Invalid DraftEditorContents node."):T4e(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==uo.env.NODE_ENV?T4e(!1,"Invalid DraftEditorContents structure."):T4e(!1)),n>0&&(n=i.childNodes.length));if(0===n){var a=null;if(null!=r)a=r;else{var o=function(e){for(;e.firstChild&&(D4e(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||C4e(e.firstChild));)e=e.firstChild;return e}(i);a=A4e(C4e(o))}return{key:a,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(C4e(s)){var c=function(e){for(;e.lastChild&&(D4e(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||C4e(e.lastChild));)e=e.lastChild;return e}(s);l=A4e(C4e(c)),u=R4e(c)}else l=A4e(r),u=R4e(s);return{key:l,offset:u}}function R4e(e){var t=e.textContent;return"\n"===t?0:t.length}var L4e=function(e,t,n,i,r,a){var o=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(o&&s)return{selectionState:F4e(e,A4e(E4e(n)),i,A4e(E4e(r)),a),needsRecovery:!1};var l=null,u=null,c=!0;return o?(l={key:A4e(E4e(n)),offset:i},u=I4e(t,r,a)):s?(u={key:A4e(E4e(r)),offset:a},l=I4e(t,n,i)):(l=I4e(t,n,i),u=I4e(t,r,a),n===r&&i===a&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:F4e(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},$4e=L4e;var Q4e=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,a=n.focusNode,o=n.focusOffset;return 0===n.rangeCount||null==i||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:$4e(e,t,i,r,a,o)},z4e=y4e,j4e=Q2e,N4e=k4e,M4e=Q4e;var U4e=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();z4e.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=M4e(n,N4e(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?j4e.forceSelection(n,r):j4e.acceptSelection(n,r),e.update(n))}};var B4e={notEmptyKey:function(e){return null!=e&&""!=e}},q4e=B4e.notEmptyKey;function G4e(e,t){return q4e(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var W4e=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:G4e(e.getEntityMap(),n):null}var a=t.getStartKey(),o=t.getStartOffset(),s=e.getBlockForKey(a);return n=o===s.getLength()?null:s.getEntityAt(o),G4e(e.getEntityMap(),n)},X4e=m4e,V4e=M0e,Y4e=v4e,Z4e=Q2e,H4e=b4e,K4e=k4e,J4e=Q4e,e6e=W4e,t6e=h2e,n6e=!1,i6e=!1,r6e=null;var a6e={onCompositionStart:function(e){i6e=!0,function(e){r6e||(r6e=new X4e(K4e(e))).start()}(e)},onCompositionEnd:function(e){n6e=!1,i6e=!1,setTimeout((function(){n6e||a6e.resolveComposition(e)}),20)},onSelect:U4e,onKeyDown:function(e,t){if(!i6e)return a6e.resolveComposition(e),void e._onKeyDown(t);t.which!==H4e.RIGHT&&t.which!==H4e.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===H4e.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!i6e){var t=t6e(r6e).stopAndFlushMutations();r6e=null,n6e=!0;var n=Z4e.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=Y4e.decode(t),a=r.blockKey,o=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(a).getIn([o,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:a,focusKey:a,anchorOffset:u,focusOffset:c,isBackward:!1}),p=e6e(i,d),h=i.getBlockForKey(a).getInlineStyleAt(u);i=V4e.replaceText(i,d,e,h,p),n=Z4e.set(n,{currentContent:i})}));var r=J4e(n,K4e(e)).selectionState;e.restoreEditorDOM();var a=Z4e.acceptSelection(n,r);e.update(Z4e.push(a,i,"insert-characters"))}else e.update(n)}}},o6e=a6e,s6e=GZ;function l6e(){return l6e=s6e||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},l6e.apply(this,arguments)}var u6e=v4e,c6e=v.default,d6e=o2e,p6e=V1e,h6e=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,a=e.decoratorKey,o=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(a),p=r.getPropsForKey(a),h=u6e.encode(u,parseInt(a,10),0),f=l.slice(c.first().get("start"),c.last().get("end")),m=p6e.getHTMLDirIfDifferent(d6e.getDirection(f),o);return c6e.createElement(d,l6e({},p,{contentState:i,decoratedText:f,dir:m,key:h,entityKey:t.getEntityAt(s.get("start")),offsetKey:h}),n)},i}(c6e.Component),f6e=h6e;function m6e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v6e=v.default,b6e=OJe,y6e=J3e,O6e=H3e.isBrowser("IE <= 11");var w6e=function(e){var t,n;function i(t){var n;return g6e(m6e(n=e.call(this,t)||this),"_forceFlag",void 0),g6e(m6e(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;y6e(t)||("production"!==uo.env.NODE_ENV?b6e(!1,"node is not an Element"):b6e(!1));var i=t;return n?!function(e){return O6e?"\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},O6e?v6e.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):v6e.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return O6e?v6e.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):v6e.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):v6e.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(v6e.Component),_6e=w6e,k6e=J3e;var x6e=function(e){return!(!e||!e.ownerDocument)&&(k6e(e)&&"BR"===e.nodeName)};var S6e=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))};var P6e=function(e){return S6e(e)&&3==e.nodeType};var E6e=function e(t,n){return!(!t||!n)&&(t===n||!P6e(t)&&(P6e(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var C6e=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}},F6e=y4e,T6e=E6e,D6e=C6e,A6e=K3e,I6e=OJe,R6e=J3e,L6e=H3e.isBrowser("IE");function $6e(e,t){if(!e)return"[empty]";var n=Q6e(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(R6e(n)||("production"!==uo.env.NODE_ENV?I6e(!1,"Node must be an Element if it is not a text node."):I6e(!1)),n.outerHTML)}function Q6e(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return A6e(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 a=e.childNodes,o=0;o<a.length;o++)r.appendChild(Q6e(a[o],t));return r}function z6e(e,t){for(var n=e,i=n;n;){if(R6e(n)&&i.hasAttribute("contenteditable"))return $6e(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function j6e(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function N6e(e,t,n,i){var r=D6e();if(e.extend&&null!=t&&T6e(r,t)){n>j6e(t)&&F6e.logSelectionStateFailure({anonymizedDom:z6e(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var a=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(o){throw F6e.logSelectionStateFailure({anonymizedDom:z6e(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:a,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:o?""+o:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),o}}else if(t&&e.rangeCount>0){var o=e.getRangeAt(0);o.setEnd(t,n),e.addRange(o.cloneRange())}}function M6e(e,t,n,i){var r=A6e(t).createRange();if(n>j6e(t)&&F6e.logSelectionStateFailure({anonymizedDom:z6e(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),L6e)try{e.addRange(r)}catch(e){"production"!==uo.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var U6e=function(e,t,n,i,r){var a=A6e(t);if(T6e(a.documentElement,t)){var o=a.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!o.extend&&d){var p=s,h=l;s=u,l=c,u=p,c=h,d=!1}var f=s===n&&i<=l&&r>=l,m=u===n&&i<=c&&r>=c;if(f&&m)return o.removeAllRanges(),M6e(o,t,l-i,e),void N6e(o,t,c-i,e);if(d){if(m&&(o.removeAllRanges(),M6e(o,t,c-i,e)),f){var g=o.focusNode,v=o.focusOffset;o.removeAllRanges(),M6e(o,t,l-i,e),N6e(o,g,v,e)}}else f&&(o.removeAllRanges(),M6e(o,t,l-i,e)),m&&N6e(o,t,c-i,e)}},B6e=GZ;function q6e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W6e=_6e,X6e=v.default,V6e=OJe,Y6e=x6e,Z6e=U6e,H6e=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 G6e(q6e(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,a=n.getKey(),o=i+r.length;if(e.hasEdgeWithin(a,i,o)){var s=this.leaf;s||("production"!==uo.env.NODE_ENV?V6e(!1,"Missing node"):V6e(!1));var l,u=s.firstChild;u||("production"!==uo.env.NODE_ENV?V6e(!1,"Missing child"):V6e(!1)),u.nodeType===Node.TEXT_NODE?l=u:Y6e(u)?l=s:(l=u.firstChild)||("production"!==uo.env.NODE_ENV?V6e(!1,"Missing targetNode"):V6e(!1)),Z6e(e,l,a,i,o)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==uo.env.NODE_ENV?V6e(!1,"Missing leafNode"):V6e(!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,a=i.customStyleFn,o=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()),B6e(e,i,n)}),{});if(a){var u=a(s,t);l=B6e(l,u)}return X6e.createElement("span",{"data-offset-key":o,ref:function(t){return e.leaf=t},style:l},X6e.createElement(W6e,null,n))},i}(X6e.Component),K6e=H6e;var J6e=f6e,e5e=K6e,t5e=v4e,n5e=yKe.exports,i5e=v.default,r5e=h3e;n5e.List;var a5e=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,a=e.decorator,o=e.direction,s=e.forceSelection,l=e.hasSelection,u=e.selection,c=e.tree,d=t.getKey(),p=t.getText(),h=c.size-1,f=this.props.children||c.map((function(e,c){var f=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var a=t5e.encode(d,c,n),o=e.get("start"),m=e.get("end");return i5e.createElement(e5e,{key:a,offsetKey:a,block:t,start:o,selection:l?u:null,forceSelection:s,text:p.slice(o,m),styleSet:t.getInlineStyleAt(o),customStyleMap:r,customStyleFn:i,isLast:f===h&&n===g})})).toArray();return f&&a?i5e.createElement(J6e,{block:t,children:v,contentState:n,decorator:a,decoratorKey:f,direction:o,leafSet:e,text:p,key:c}):v})).toArray();return i5e.createElement("div",{"data-offset-key":t5e.encode(d,0,0),className:r5e({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===o,"public/DraftStyleDefault/rtl":"RTL"===o})},f)},i}(i5e.Component),o5e=a5e;function s5e(e,t){return!!t&&(e===t.documentElement||e===t.body)}var l5e={getTop:function(e){var t=e.ownerDocument;return s5e(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;s5e(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return s5e(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;s5e(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},u5e=l5e,c5e=/-(.)/g;var d5e=function(e){return e.replace(c5e,(function(e,t){return t.toUpperCase()}))},p5e=/([A-Z])/g;var h5e=function(e){return e.replace(p5e,"-$1").toLowerCase()},f5e=d5e,m5e=h5e;function g5e(e){return null==e?e:String(e)}var v5e=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return g5e(n.getPropertyValue(m5e(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return g5e(n.getPropertyValue(m5e(t)));if("display"===t)return"none"}return e.currentStyle?g5e("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[f5e(t)]):g5e(e.style&&e.style[f5e(t)])};function b5e(e,t){var n=y5e.get(e,t);return"auto"===n||"scroll"===n}var y5e={get:v5e,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(b5e(e,"overflow")||b5e(e,"overflowY")||b5e(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},O5e=y5e,w5e=E6e;var _5e=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!w5e(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 k5e=function(e){var t=_5e(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},x5e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var S5e=function(e){return(e=e||document).scrollingElement?e.scrollingElement:x5e||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var P5e=S5e,E5e=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 C5e=function(e){var t=P5e(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=E5e(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,a=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,a)),n};function F5e(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function T5e(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function D5e(){return{width:window.innerWidth||F5e(),height:window.innerHeight||T5e()}}D5e.withoutScrollbars=function(){return{width:F5e(),height:T5e()}};var A5e=D5e,I5e=GZ;function R5e(){return R5e=I5e||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},R5e.apply(this,arguments)}function L5e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5e(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){Q5e(e,t,n[t])}))}return e}function Q5e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z5e=o5e,j5e=v4e,N5e=v.default,M5e=u5e,U5e=O5e,B5e=k5e,q5e=C5e,G5e=A5e,W5e=OJe,X5e=O4e;yKe.exports.List;var V5e=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},Y5e=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}},Z5e=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},H5e=function(e,t,n,i,r,a){var o={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:a},s=i(e);return s&&(o.className=s),void 0!==r.customEditable&&(o=$5e({},o,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),o},K5e=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 Q5e(L5e(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",N5e.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,a=!n.getChildKeys().isEmpty(),o=n!==e.block||r!==e.tree||i!==e.direction||V5e(e.selection,e.block.getKey())&&e.forceSelection;return a||o},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=U5e.getScrollParent(n),a=q5e(r);if(r===window){var o=B5e(n);(i=o.y+o.height-G5e().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{X5e(n)||("production"!==uo.env.NODE_ENV?W5e(!1,"blockNode is not an HTMLElement"):W5e(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+a.y))>0&&M5e.setTop(r,M5e.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,a=t.blockRendererFn,o=t.blockStyleFn,s=t.contentState,l=t.decorator,u=t.editorKey,c=t.editorState,d=t.customStyleFn,p=t.customStyleMap,h=t.direction,f=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=j5e.encode(n,0,0),d=s.getBlockForKey(n),p=Z5e(d,a),h=p.CustomComponent||i,f=Y5e(d,r),m=f.Element,g=f.wrapperTemplate,v=H5e(d,u,l,o,p,null),b=$5e({},e.props,{tree:c.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push(N5e.createElement(m,v,N5e.createElement(h,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,a=!1,o=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var u=s.value;if(u.type!==t)break;i.push(u)}}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push(N5e.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":j5e.encode(d,0,0)},c))}(g,m,t),t}),[]));var b=n.getKey(),y=j5e.encode(b,0,0),O=Z5e(n,a),w=O.CustomComponent,_=null!=w?N5e.createElement(w,R5e({},this.props,{tree:c.getBlockTree(b),blockProps:O.customProps,offsetKey:y,block:n})):N5e.createElement(z5e,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:h,forceSelection:f,hasSelection:V5e(m,b),selection:m,tree:g});if(n.getParentKey())return _;var k=Y5e(n,r).Element,x=H5e(n,u,y,o,O,this.wrapperRef);return N5e.createElement(k,x,_)},i}(N5e.Component),J5e=GZ;function e9e(){return e9e=J5e||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},e9e.apply(this,arguments)}var t9e=K5e,n9e=v4e,i9e=v.default,r9e=h2e,a9e=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(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.textDirectionality,u=o.getCurrentContent(),c=o.getSelection(),d=o.mustForceSelection(),p=o.getDecorator(),h=r9e(o.getDirectionMap()),f=[],m=u.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:a,customStyleMap:r,decorator:p,editorKey:s,editorState:o,forceSelection:d,selection:c,block:m,direction:l||h.get(g),tree:o.getBlockTree(g)},b=(t.get(m.getType())||t.get("unstyled")).wrapper;f.push({block:i9e.createElement(t9e,e9e({key:g},v)),wrapperTemplate:b,key:g,offsetKey:n9e.encode(g,0,0)});var y=m.getNextSiblingKey();m=y?u.getBlockForKey(y):null}for(var O=[],w=0;w<f.length;){var _=f[w];if(_.wrapperTemplate){var k=[];do{k.push(f[w].block),w++}while(w<f.length&&f[w].wrapperTemplate===_.wrapperTemplate);var x=i9e.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},k);O.push(x)}else O.push(_.block),w++}return i9e.createElement("div",{"data-contents":"true"},O)},i}(i9e.Component),o9e=a9e,s9e=GZ;function l9e(){return l9e=s9e||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},l9e.apply(this,arguments)}function u9e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d9e=K6e,p9e=v4e,h9e=v.default,f9e=u5e,m9e=O5e,g9e=o2e,v9e=V1e,b9e=h3e,y9e=k5e,O9e=C5e,w9e=A5e,_9e=OJe,k9e=O4e,x9e=h2e,S9e=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},P9e=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 c9e(u9e(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||S9e(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=m9e.getScrollParent(n),a=O9e(r);if(r===window){var o=y9e(n);(i=o.y+o.height-w9e().height)>0&&window.scrollTo(a.x,a.y+i+10)}else{k9e(n)||("production"!==uo.env.NODE_ENV?_9e(!1,"blockNode is not an HTMLElement"):_9e(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+a.y))>0&&f9e.setTop(r,f9e.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,a=S9e(this.props.selection,n);return this.props.tree.map((function(o,s){var l=o.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(o,l){var c=p9e.encode(n,s,l),d=o.get("start"),p=o.get("end");return h9e.createElement(d9e,{key:c,offsetKey:c,block:t,start:d,selection:a?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===u})})).toArray(),d=o.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var p=x9e(e.props.decorator),h=p.getComponentForKey(d);if(!h)return c;var f=p.getPropsForKey(d),m=p9e.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),b=i.slice(g,v),y=t.getEntityAt(o.get("start")),O=v9e.getHTMLDirIfDifferent(g9e.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 h9e.createElement(h,l9e({},f,w,{key:m}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=b9e({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return h9e.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(h9e.Component),E9e=P9e;var C9e=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},F9e=GZ;function T9e(){return T9e=F9e||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},T9e.apply(this,arguments)}function D9e(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){A9e(e,t,n[t])}))}return e}function A9e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I9e=E9e,R9e=v4e,L9e=v.default,$9e=h3e,Q9e=C9e,z9e=h2e,j9e=function(e,t,n,i){return $9e({"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})},N9e=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(),a=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&a)return!1;var o=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==a||o!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,a=e.customStyleFn,o=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=o.getCurrentContent(),d=o.getSelection(),p=o.mustForceSelection(),h=o.getDecorator(),f=z9e(o.getDirectionMap()),m=c.getBlocksAsArray(),g=[],v=null,b=null,y=0;y<m.length;y++){var O=m[y],w=O.getKey(),_=O.getType(),k=n(O),x=void 0,S=void 0,P=void 0;k&&(x=k.component,S=k.props,P=k.editable);var E=u||f.get(w),C=R9e.encode(w,0,0),F={contentState:c,block:O,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:a,decorator:h,direction:E,forceSelection:p,offsetKey:C,preventScroll:l,selection:d,tree:o.getBlockTree(w)},T=t.get(_)||t.get("unstyled"),D=T.wrapper,A=T.element||t.get("unstyled").element,I=O.getDepth(),R="";if(i&&(R=i(O)),"li"===A)R=Q9e(R,j9e(_,I,b!==D||null===v||I>v,E));var L=x||I9e,$={className:R,"data-block":!0,"data-editor":s,"data-offset-key":C,key:w};void 0!==P&&($=D9e({},$,{contentEditable:P,suppressContentEditableWarning:!0}));var Q=L9e.createElement(A,$,L9e.createElement(L,T9e({},F,{key:w})));g.push({block:Q,wrapperTemplate:D,key:w,offsetKey:C}),v=D?O.getDepth():null,b=D}for(var z=[],j=0;j<g.length;){var N=g[j];if(N.wrapperTemplate){var M=[];do{M.push(g[j].block),j++}while(j<g.length&&g[j].wrapperTemplate===N.wrapperTemplate);var U=L9e.cloneElement(N.wrapperTemplate,{key:N.key+"-wrap","data-offset-key":N.offsetKey},M);z.push(U)}else z.push(N.block),j++}return L9e.createElement("div",{"data-contents":"true"},z)},i}(L9e.Component),M9e=N9e,U9e=v1e("draft_tree_data_support")?o9e:M9e,B9e={isImage:function(e){return"image"===q9e(e)[0]},isJpeg:function(e){var t=q9e(e);return B9e.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function q9e(e){return e.split("/")}var G9e=B9e,W9e=OJe;var X9e=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"!==uo.env.NODE_ENV?W9e(!1,"toArray: Array-like object expected"):W9e(!1)),"number"!=typeof t&&("production"!==uo.env.NODE_ENV?W9e(!1,"toArray: Object needs a length property"):W9e(!1)),0===t||t-1 in e||("production"!==uo.env.NODE_ENV?W9e(!1,"toArray: Object should have keys for indices"):W9e(!1)),"function"==typeof e.callee&&("production"!==uo.env.NODE_ENV?W9e(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):W9e(!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 V9e(e){return function(){return e}}var Y9e=function(){};Y9e.thatReturns=V9e,Y9e.thatReturnsFalse=V9e(!1),Y9e.thatReturnsTrue=V9e(!0),Y9e.thatReturnsNull=V9e(null),Y9e.thatReturnsThis=function(){return this},Y9e.thatReturnsArgument=function(e){return e};var Z9e=Y9e,H9e=G9e,K9e=X9e,J9e=Z9e,e8e=new RegExp("\r\n","g"),t8e={"text/rtf":1,"text/html":1};function n8e(e){if("file"==e.kind)return e.getAsFile()}var i8e=function(){function e(e){this.data=e,this.types=e.types?K9e(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return t8e[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(e8e,"\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(!H9e.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(n8e).filter(J9e.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),r8e=i8e,a8e=OJe,o8e=/\.textClipping$/,s8e={"text/plain":!0,"text/html":!0,"text/rtf":!0};var l8e=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!x.FileReader||e.type&&!(e.type in s8e))return void t("");if(""===e.type){var n="";return o8e.test(e.name)&&(n=e.name.replace(o8e,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==uo.env.NODE_ENV?a8e(!1,'We should be calling "FileReader.readAsText" which returns a string'):a8e(!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 u8e=function(e){return"handled"===e||!0===e},c8e=r8e,d8e=M0e,p8e=Q2e,h8e=r4e,f8e=K3e,m8e=l8e,g8e=P4e,v8e=a4e,b8e=u8e,y8e=h2e;var O8e={onDragEnd:function(e){e.exitCurrentMode(),w8e(e)},onDrop:function(e,t){var n=new c8e(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=f8e(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var a=r.caretRangeFromPoint(e.x,e.y);n=a.startContainer,i=a.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=y8e(n),i=y8e(i);var o=y8e(h8e(n));return g8e(t,o,i,o,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var a=n.getFiles();if(a.length>0){if(e.props.handleDroppedFiles&&b8e(e.props.handleDroppedFiles(r,a)))return;m8e(a,(function(t){t&&e.update(_8e(i,r,t))}))}else{var o=e._internalDrag?"internal":"external";e.props.handleDrop&&b8e(e.props.handleDrop(r,n,o))||(e._internalDrag?e.update(function(e,t){var n=d8e.moveText(e.getCurrentContent(),e.getSelection(),t);return p8e.push(e,n,"insert-fragment")}(i,r)):e.update(_8e(i,r,n.getText()))),w8e(e)}}}};function w8e(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:v8e(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function _8e(e,t,n){var i=d8e.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return p8e.push(e,i,"insert-fragment")}var k8e=O8e;var x8e=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),a=!1;return i.some((function(e){return r===e.get("start")?(a=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(a=!0,!0)}))})),a};!function(e,t){if(!e.setImmediate){var n,i,r,a=1,o={},s=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){uo.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)},u.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 o[a]=r,n(a),a++},u.clearImmediate=c}function c(e){delete o[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=o[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{c(e),s=!1}}}}}("undefined"==typeof self?x:self);var S8e=x.setImmediate,P8e=M0e,E8e=Q2e,C8e=W4e,F8e=u8e,T8e=x8e,D8e=h2e,A8e=S8e,I8e=H3e.isBrowser("Firefox");function R8e(e,t,n,i,r){var a=P8e.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return E8e.push(e,a,"insert-characters",r)}var L8e=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&&F8e(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),a=r.getStartOffset(),o=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(R8e(n,i,n.getCurrentInlineStyle(),C8e(n.getCurrentContent(),n.getSelection()),!0));var s,l=R8e(n,i,n.getCurrentInlineStyle(),C8e(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=T8e(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(o),d=l.getBlockTree(o);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),o=r+(r>=a?i.length:0),s=t.get("end"),l=s+(s>=a?i.length:0),u=n.get("start"),c=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||o!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=I8e&&("'"==s||"/"==s)),u||(u=D8e(l.getDirectionMap()).get(o)!==D8e(n.getDirectionMap()).get(o)),u)return t.preventDefault(),l=E8e.set(l,{forceSelection:!0}),void e.update(l);l=E8e.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,A8e((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},$8e=Q2e,Q8e=E6e,z8e=C6e;var j8e=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&z8e(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&Q8e(r,i.anchorNode)&&Q8e(r,i.focusNode)&&i.removeAllRanges()}var a=e._latestEditorState,o=a.getSelection();if(o.getHasFocus()){var s=o.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update($8e.acceptSelection(a,s))}},N8e=Q2e;var M8e=function(e,t){e.setMode("composite"),e.update(N8e.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},U8e=UJe;var B8e=function(e){var t=e.getSelection();return t.isCollapsed()?null:U8e(e.getCurrentContent(),t)},q8e=B8e;var G8e=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(q8e(e._latestEditorState))};var W8e=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},X8e=M0e,V8e=Q2e,Y8e=O5e,Z8e=B8e,H8e=C5e,K8e=W8e;var J8e=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),a=t.target;if(r.isCollapsed())t.preventDefault();else{if(K8e(a)){var o=a;n=H8e(Y8e.getScrollParent(o))}var s=Z8e(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=X8e.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return V8e.push(e,t,"remove-range")}(i))}),0)}};var e7e=function(e,t){e.setMode("drag"),t.preventDefault()};var t7e=function(e){e._internalDrag=!0,e.setMode("drag")},n7e=Q2e,i7e=H3e;var r7e=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),i7e.isBrowser("Chrome < 60.0.3081.0")?e.update(n7e.forceSelection(n,r)):e.update(n7e.acceptSelection(n,r))}},a7e=OJe,o7e=/[\uD800-\uDFFF]/;function s7e(e){return 55296<=e&&e<=57343}function l7e(e){return o7e.test(e)}function u7e(e,t){return 1+s7e(e.charCodeAt(t))}function c7e(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!l7e(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+=u7e(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=u7e(e,r-1);r<0&&(r=0)}var a=i;if(n<i)for(a=r;n>0&&a<i;n--)a+=u7e(e,a);return e.substring(r,a)}var d7e={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=u7e(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:u7e,hasSurrogateUnit:l7e,isCodeUnitInSurrogateRange:s7e,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==uo.env.NODE_ENV?a7e(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):a7e(!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(!l7e(e))return e.length;for(var t=0,n=0;n<e.length;n+=u7e(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 c7e(e,t=t<n?t:n,i)},substr:c7e},p7e=d7e,h7e=Z9e;function f7e(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,a="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}var m7e="production"!==uo.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];f7e.apply(void 0,[t].concat(i))}}:h7e,g7e=m7e,v7e=g7e;var b7e=function(e,t){var n=e.getSelection();"production"!==uo.env.NODE_ENV&&v7e(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),a=n.getStartOffset(),o=r,s=0;if(t>a){var l=i.getKeyBefore(r);if(null==l)o=r;else o=l,s=i.getBlockForKey(l).getText().length}else s=a-t;return n.merge({focusKey:o,focusOffset:s,isBackward:!0})},y7e=M0e,O7e=v1e("draft_tree_data_support");var w7e=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),a=i,o=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(o);if(O7e&&"forward"===n&&o!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(O7e)if(i.getAnchorOffset()===r.getBlockForKey(o).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((a=t(e))===i)return r}return y7e.removeRange(r,a,n)},_7e=Q2e,k7e=p7e,x7e=b7e,S7e=w7e;var P7e=function(e){var t=S7e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r-1];return x7e(e,a?k7e.getUTF16Length(a,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return _7e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},E7e=M0e,C7e=v4e,F7e=Q2e,T7e=B4e.notEmptyKey,D7e=r4e,A7e=P7e,I7e=h2e,R7e=H3e.isEngine("Gecko");var L7e=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,a=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!a){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var o=i.parentNode;if(null==o)return;i.nodeValue=o.textContent;for(var s=o.firstChild;null!=s;s=s.nextSibling)s!==i&&o.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=I7e(D7e(i)),d=C7e.decode(c),p=d.blockKey,h=d.decoratorKey,f=d.leafKey,m=u.getBlockTree(p).getIn([h,"leaves",f]),g=m.start,v=m.end,b=u.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,_,k,x,S=u.getSelection(),P=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),E=y.getEntityAt(g),C=T7e(E)?b.getEntity(E):null,F="MUTABLE"===(null!=C?C.getMutability():null),T=F?"spellcheck-change":"apply-entity",D=E7e.replaceText(b,P,l,y.getInlineStyleAt(g),F?y.getEntityAt(g):null);if(R7e)w=n.anchorOffset,_=n.focusOffset,x=(k=g+Math.min(w,_))+Math.abs(w-_),w=k,_=x;else{var A=l.length-O.length;k=S.getStartOffset(),x=S.getEndOffset(),w=r?x+A:k,_=x+A}var I=D.merge({selectionBefore:b.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:w,focusOffset:_})});e.update(F7e.push(u,I,T))}else{var R=t.nativeEvent.inputType;if(R){var L=function(e,t){return"deleteContentBackward"===e?A7e(t):t}(R,u);if(L!==u)return e.restoreEditorDOM(),void e.update(L)}}}},$7e=b4e;var Q7e=function(e){return e.which===$7e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},z7e=Q7e,j7e=H3e.isPlatform("Mac OS X"),N7e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return j7e&&e.altKey},usesMacOSHeuristics:function(){return j7e},hasCommandModifier:function(e){return j7e?!!e.metaKey&&!e.altKey:N7e.isCtrlKeyCommand(e)},isSoftNewlineEvent:z7e},M7e=N7e,U7e=M0e,B7e=Q2e,q7e=UJe,G7e=h2e,W7e=null,X7e={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),a=t.getBlockForKey(r).getLength();if(a===n.getAnchorOffset()){var o=t.getKeyAfter(r);if(null==o)return e;i=n.set("focusKey",o).set("focusOffset",0)}else i=n.set("focusOffset",a)}else i=n;i=G7e(i),W7e=q7e(t,i);var s=U7e.removeRange(t,i,"forward");return s===t?e:B7e.push(e,s,"remove-range")},paste:function(e){if(!W7e)return e;var t=U7e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),W7e);return B7e.push(e,t,"insert-fragment")}},V7e=X7e,Y7e=OJe;var Z7e=H3e.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 a,o=Array.from(t.getClientRects());if(n.push(o),r)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(i)}"production"!==uo.env.NODE_ENV?Y7e(!1,"Found an unexpected detached subtree when getting range client rects."):Y7e(!1)}:function(e){return Array.from(e.getClientRects())},H7e=p7e,K7e=K3e,J7e=Z7e,eet=OJe;function tet(e,t){for(var n=1/0,i=1/0,r=-1/0,a=-1/0,o=0;o<e.length;o++){var s=e[o];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),a=Math.max(a,s.bottom))}return r<=i&&r-n<t&&a-i<t}function net(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 iet=function(e){e.collapsed||("production"!==uo.env.NODE_ENV?eet(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):eet(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=K7e(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"!==uo.env.NODE_ENV?eet(!1,"Missing document.body"):eet(!1)),r.appendChild(i);var a=i.getBoundingClientRect();return r.removeChild(i),a.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);tet(J7e(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==uo.env.NODE_ENV?eet(!1,"Found unexpected detached subtree when traversing."):eet(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var a=i,o=r-1;;){for(var s=a.nodeValue,l=o;l>=0;l--)if(!(null!=s&&l>0&&H7e.isSurrogatePair(s,l-1))){if(e.setStart(a,l),!tet(J7e(e),n))break;i=a,r=l}if(-1===l||0===a.childNodes.length)break;o=net(a=a.childNodes[l])}return e.setStart(i,r),e},ret=Q2e,aet=iet,oet=L4e,set=b7e,uet=w7e;var cet=function(e,t){var n=uet(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return set(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=aet(i),oet(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:ret.push(e,n,"remove-range")},det="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),pet=new RegExp("^(?:"+det+")*(?:"+"['‘’]|(?!"+det+").)*(?:(?!"+det+").)"),het=new RegExp("(?:(?!"+det+").)(?:"+"['‘’]|(?!"+det+").)*(?:"+det+")*$");function fet(e,t){var n=t?het.exec(e):pet.exec(e);return n?n[0]:e}var met={getBackward:function(e){return fet(e,!0)},getForward:function(e){return fet(e,!1)}},get=met,vet=Q2e,bet=b7e,yet=w7e;var Oet=function(e){var t=yet(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return bet(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),a=get.getBackward(r);return bet(e,a.length||1)}),"backward");return t===e.getCurrentContent()?e:vet.push(e,t,"remove-range")},wet=g7e;var _et=function(e,t){var n=e.getSelection();"production"!==uo.env.NODE_ENV&&wet(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),a=n.getStartOffset(),o=e.getCurrentContent(),s=r;return t>o.getBlockForKey(r).getText().length-a?(s=o.getKeyAfter(r),i=0):i=a+t,n.merge({focusKey:s,focusOffset:i})},ket=met,xet=Q2e,Pet=_et,Eet=w7e;var Cet=function(e){var t=Eet(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),a=ket.getForward(r);return Pet(e,a.length||1)}),"forward");return t===e.getCurrentContent()?e:xet.push(e,t,"remove-range")},Fet=M0e,Tet=Q2e;var Det=Q2e;var Aet=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return Det.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},Iet=Q2e;var Ret=function(e){var t=e.getSelection(),n=t.getStartKey();return Iet.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},Let=Q2e,$et=p7e,Qet=_et,zet=w7e;var jet=function(e){var t=zet(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),a=n.getBlockForKey(i).getText()[r];return Qet(e,a?$et.getUTF16Length(a,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Let.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},Net=M0e,Met=Q2e,Uet=UJe;var Bet=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,a=t.getAnchorKey(),o=e.getCurrentContent(),s=o.getBlockForKey(a).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=Uet(o,i),u=Net.removeRange(o,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,p=c.merge({anchorOffset:d,focusOffset:d}),h=Net.replaceWithFragment(u,p,l),f=Met.push(e,h,"insert-fragment");return Met.acceptSelection(f,r)},qet=Q2e;var Get=function(e,t,n){var i=qet.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(qet.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(qet.set(i,{nativelyRenderedContent:r}))}},Wet=M0e,Xet=Q2e,Vet=b4e,Yet=V7e,Zet=H3e,Het=u8e,Ket=cet,Jet=Oet,ett=Cet,ttt=function(e){var t=Fet.splitBlock(e.getCurrentContent(),e.getSelection());return Tet.push(e,t,"split-block")},ntt=Aet,itt=Ret,rtt=P7e,att=jet,ott=Bet,stt=Get,ltt=M7e.isOptionKeyCommand,utt=Zet.isBrowser("Chrome");var ctt=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 Vet.RETURN:if(t.preventDefault(),e.props.handleReturn&&Het(e.props.handleReturn(t,i)))return;break;case Vet.ESC:if(t.preventDefault(),r("onEscape"))return;break;case Vet.TAB:if(r("onTab"))return;break;case Vet.UP:if(r("onUpArrow"))return;break;case Vet.RIGHT:if(r("onRightArrow"))return;break;case Vet.DOWN:if(r("onDownArrow"))return;break;case Vet.LEFT:if(r("onLeftArrow"))return;break;case Vet.SPACE:utt&&ltt(t)&&t.preventDefault()}var a=e.props.keyBindingFn(t);if(null!=a&&""!==a)if("undo"!==a){if(t.preventDefault(),!e.props.handleKeyCommand||!Het(e.props.handleKeyCommand(a,i,t.timeStamp))){var o=function(e,t,n){switch(e){case"redo":return Xet.redo(t);case"delete":return att(t);case"delete-word":return ett(t);case"backspace":return rtt(t);case"backspace-word":return Jet(t);case"backspace-to-start-of-line":return Ket(t,n);case"split-block":return ttt(t);case"transpose-characters":return ott(t);case"move-selection-to-start-of-block":return itt(t);case"move-selection-to-end-of-block":return ntt(t);case"secondary-cut":return Yet.cut(t);case"secondary-paste":return Yet.paste(t);default:return t}}(a,i,t);o!==i&&e.update(o)}}else stt(t,i,e.update);else if(n===Vet.SPACE&&utt&&ltt(t)){var s=Wet.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(Xet.push(i,s,"insert-characters"))}};var dtt=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}(),ptt=dtt,htt=OJe,ftt=H3e.isBrowser("IE <= 9");var mtt=function(e){var t,n=null;return!ftt&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==uo.env.NODE_ENV?htt(!1,"Missing doc.documentElement"):htt(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},gtt=J3e;var vtt=function(e){return!(!e||!e.ownerDocument)&&(gtt(e)&&"A"===e.nodeName)},btt=J3e;var ytt,Ott=function(e){return!(!e||!e.ownerDocument)&&(btt(e)&&"IMG"===e.nodeName)};function wtt(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){_tt(e,t,n[t])}))}return e}function _tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ktt=AKe,xtt=XKe,Stt=lJe,Ptt=g3e,Ett=f1e,Ctt=ptt,Ftt=h3e,Ttt=TJe,Dtt=mtt,Att=v1e,Itt=yKe.exports,Rtt=Itt.List,Ltt=Itt.Map,$tt=Itt.OrderedSet,Qtt=vtt,ztt=x6e,jtt=O4e,Ntt=Ott,Mtt=Att("draft_tree_data_support"),Utt=new RegExp("\r","g"),Btt=new RegExp("\n","g"),qtt=new RegExp("^\n","g"),Gtt=new RegExp("&nbsp;","g"),Wtt=new RegExp("&#13;?","g"),Xtt=new RegExp("&#8203;?","g"),Vtt=["bold","bolder","500","600","700","800","900"],Ytt=["light","lighter","normal","100","200","300","400"],Ztt=["className","href","rel","target","title"],Htt=["alt","className","height","src","width"],Ktt=(_tt(ytt={},Ftt("public/DraftStyleDefault/depth0"),0),_tt(ytt,Ftt("public/DraftStyleDefault/depth1"),1),_tt(ytt,Ftt("public/DraftStyleDefault/depth2"),2),_tt(ytt,Ftt("public/DraftStyleDefault/depth3"),3),_tt(ytt,Ftt("public/DraftStyleDefault/depth4"),4),ytt),Jtt=Ltt({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),ent=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)}))})),Ltt(t)},tnt=function(e){if(jtt(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},nnt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(Ktt).some((function(n){e.classList.contains(n)&&(t=Ktt[n])})),t},int=function(e){if(!Qtt(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},rnt=function(e){if(!Ntt(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},ant=function(e,t){if(!jtt(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,a=n.style.textDecoration;return t.withMutations((function(e){Vtt.indexOf(i)>=0?e.add("BOLD"):Ytt.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===a&&e.add("UNDERLINE"),"line-through"===a&&e.add("STRIKETHROUGH"),"none"===a&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},ont=function(e){return"ul"===e||"ol"===e},snt=function(){function e(e,t){_tt(this,"characterList",Rtt()),_tt(this,"currentBlockType","unstyled"),_tt(this,"currentDepth",0),_tt(this,"currentEntity",null),_tt(this,"currentText",""),_tt(this,"wrapper",null),_tt(this,"blockConfigs",[]),_tt(this,"contentBlocks",[]),_tt(this,"entityMap",Ett),_tt(this,"blockTypeMap",void 0),_tt(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=Rtt(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=Ett,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],$tt())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(Mtt?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||Ttt(),n=wtt({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:Rtt(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=Rtt(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],a=r.nodeName.toLowerCase();if("body"===a||ont(a)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var o=this.currentDepth,s=this.wrapper;ont(a)&&(this.wrapper=a,ont(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=o,this.wrapper=s}else{var l=this.blockTypeMap.get(a);if(void 0===l)if("#text"!==a)if("br"!==a)if(rnt(r))this._addImgNode(r,t);else if(int(r))this._addAnchorNode(r,n,t);else{var u=t;Jtt.has(a)&&(u=u.add(Jtt.get(a))),u=ant(r,u);var c=tnt(r);null!=c&&(u=u.add(c)),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),u))}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"===a?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(a,this.wrapper)||l[0]||"unstyled"),!Mtt&&jtt(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var h=r;this.currentDepth=nnt(h,this.currentDepth)}var f=Ttt(),m=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:f,childConfigs:m,type:l})),this.currentDepth=d,this.wrapper=p}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=ktt.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=Rtt()):(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(qtt,"")).replace(Btt," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){ztt(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(Ntt(e)){var n=e,i={};Htt.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),Att("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(Qtt(e)){var i=e,r={};Ztt.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new Ctt(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=Rtt(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new Stt(wtt({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return Rtt(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 xtt(wtt({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=Rtt(),r=0;r<=t;r++){var a=e[r];n+=a.text,i=i.concat(a.characterList),""!==n&&"unstyled"!==a.type&&(n+="\n",i=i.push(i.last()));var o=this._extractTextFromBlockConfigs(a.childConfigs);n+=o.text,i=i.concat(o.characterList)}return{text:n,characterList:i}},e}(),lnt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dtt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ptt,i=t(e=e.trim().replace(Utt,"").replace(Gtt," ").replace(Wtt,"").replace(Xtt,""));if(!i)return null;var r=ent(n),a=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new snt(r,a).addDOMNode(i).getContentBlocks()};function unt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cnt=XKe,dnt=lJe,pnt=lnt,hnt=TJe,fnt=mtt,mnt=v1e,gnt=yKe.exports,vnt=y1e,bnt=gnt.List,ynt=gnt.Repeat,Ont=mnt("draft_tree_data_support"),wnt=Ont?dnt:cnt,_nt={processHTML:function(e,t){return pnt(e,fnt,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=vnt(i);var a=hnt(),o={key:a,type:n,text:i,characterList:bnt(ynt(t,i.length))};if(Ont&&0!==r){var s=r-1;o=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){unt(e,t,n[t])}))}return e}({},o,{prevSibling:(e[s]=e[s].merge({nextSibling:a})).getKey()})}return e.push(new wnt(o)),e}),[])}};var knt=function(e,t,n,i){var r=t.getStartKey(),a=t.getEndKey(),o=e.getBlockMap(),s=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).concat([[a,o.get(a)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return o=o.merge(s),e.merge({blockMap:o,selectionBefore:t,selectionAfter:t})},xnt=M0e,Snt=Q2e,Pnt=knt,Ent=h2e,Cnt={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 Cnt.toggleInlineStyle(e,"BOLD");case"italic":return Cnt.toggleInlineStyle(e,"ITALIC");case"underline":return Cnt.toggleInlineStyle(e,"UNDERLINE");case"code":return Cnt.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return Cnt.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return Cnt.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=xnt.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=Snt.push(e,t,"insert-characters");return Snt.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 a=n.getBlockMap().delete(r.getKey()),o=n.merge({blockMap:a,selectionAfter:t});if(o!==n)return Snt.push(e,o,"remove-range")}var s=Cnt.tryToRemoveBlockStyle(e);return s?Snt.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 a=n.getBlockAfter(i);if(!a||"atomic"!==a.getType())return null;var o=t.merge({focusKey:a.getKey(),focusOffset:a.getLength()}),s=xnt.removeRange(n,o,"forward");return s!==n?Snt.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 a=t.getCurrentContent(),o=a.getBlockForKey(r),s=o.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=o.getDepth();if(!e.shiftKey&&l===n)return t;var u=Pnt(a,i,e.shiftKey?-1:1,n);return Snt.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),a=e.getCurrentContent(),o=n;if(i!==r&&0===n.getEndOffset()){var s=Ent(a.getBlockBefore(r));r=s.getKey(),o=o.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}var l=a.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 u=a.getBlockForKey(i).getType()===t?"unstyled":t;return Snt.push(e,xnt.setBlockType(a,o,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?Cnt.toggleBlockType(e,"code-block"):Cnt.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return Snt.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,a=e.getCurrentContent();return r=i.has(t)?xnt.removeInlineStyle(a,n,t):xnt.applyInlineStyle(a,n,t),Snt.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=xnt.applyEntity(e.getCurrentContent(),t,n);return Snt.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(),a=r.getBlockForKey(i).getType(),o=r.getBlockBefore(i);if("code-block"===a&&o&&"code-block"===o.getType()&&0!==o.getLength())return null;if("unstyled"!==a)return xnt.setBlockType(r,t,"unstyled")}return null}},Fnt=Cnt,Tnt=/\r\n?|\n/g;var Dnt=_Ke,Ant=AKe,Int=r8e,Rnt=M0e,Lnt=_nt,$nt=Q2e,Qnt=Fnt,znt=W4e,jnt=l8e,Nnt=u8e,Mnt=function(e){return e.split(Tnt)};function Unt(e,t,n){var i=Rnt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return $nt.push(e,i.set("entityMap",n),"insert-fragment")}var Bnt=function(e,t){t.preventDefault();var n=new Int(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&Nnt(e.props.handlePastedFiles(i)))return;return void jnt(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=Mnt(t),a=Ant.create({style:n.getCurrentInlineStyle(),entity:znt(n.getCurrentContent(),n.getSelection())}),o=Qnt.getCurrentBlockType(n),s=Lnt.processText(i,a,o),l=Dnt.createFromArray(s),u=Rnt.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update($nt.push(n,u,"insert-fragment"))}}))}}var a=[],o=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!Nnt(e.props.handlePastedText(o,s,l))){if(o&&(a=Mnt(o)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===a.length&&1===u.size&&u.first().getText()===o)return void e.update(Unt(e._latestEditorState,u))}else if(u&&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]}))}(a,u))return void e.update(Unt(e._latestEditorState,u));if(s){var c=Lnt.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,p=c.entityMap;if(d){var h=Dnt.createFromArray(d);return void e.update(Unt(e._latestEditorState,h,p))}}}e.setClipboard(null)}if(a.length){var f=Ant.create({style:l.getCurrentInlineStyle(),entity:znt(l.getCurrentContent(),l.getSelection())}),m=Qnt.getCurrentBlockType(l),g=Lnt.processText(a,f,m),v=Dnt.createFromArray(g);e.update(Unt(e._latestEditorState,v))}}},qnt=H3e,Gnt=L8e,Wnt=j8e,Xnt=M8e,Vnt=G8e,Ynt=J8e,Znt=e7e,Hnt=t7e,Knt=r7e,Jnt=L7e,eit=ctt,tit=Bnt,nit=U4e,iit=qnt.isBrowser("Chrome"),rit=qnt.isBrowser("Firefox"),ait=iit||rit?nit:function(e){},oit={onBeforeInput:Gnt,onBlur:Wnt,onCompositionStart:Xnt,onCopy:Vnt,onCut:Ynt,onDragOver:Znt,onDragStart:Hnt,onFocus:Knt,onInput:Jnt,onKeyDown:eit,onPaste:tit,onSelect:nit,onMouseUp:ait,onKeyUp:ait},sit=y.default.unstable_flushControlled;var lit=v.default,uit=h3e,cit=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=uit({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return lit.createElement("div",{className:t},lit.createElement("div",{className:uit("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(lit.Component),dit=cit,pit=M7e,hit=b4e,fit=H3e,mit=fit.isPlatform("Mac OS X"),git=mit&&fit.isBrowser("Firefox < 29"),vit=pit.hasCommandModifier,bit=pit.isCtrlKeyCommand;function yit(e){return mit&&e.altKey||bit(e)}var Oit=function(e){switch(e.keyCode){case 66:return vit(e)?"bold":null;case 68:return bit(e)?"delete":null;case 72:return bit(e)?"backspace":null;case 73:return vit(e)?"italic":null;case 74:return vit(e)?"code":null;case 75:return mit&&bit(e)?"secondary-cut":null;case 77:case 79:return bit(e)?"split-block":null;case 84:return mit&&bit(e)?"transpose-characters":null;case 85:return vit(e)?"underline":null;case 87:return mit&&bit(e)?"backspace-word":null;case 89:return bit(e)?mit?"secondary-paste":"redo":null;case 90:return function(e){return vit(e)?e.shiftKey?"redo":"undo":null}(e)||null;case hit.RETURN:return"split-block";case hit.DELETE:return function(e){return!mit&&e.shiftKey?null:yit(e)?"delete-word":"delete"}(e);case hit.BACKSPACE:return function(e){return vit(e)&&mit?"backspace-to-start-of-line":yit(e)?"backspace-word":"backspace"}(e);case hit.LEFT:return git&&vit(e)?"move-selection-to-start-of-block":null;case hit.RIGHT:return git&&vit(e)?"move-selection-to-end-of-block":null;default:return null}},wit=GZ;function _it(){return _it=wit||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},_it.apply(this,arguments)}function kit(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){Sit(e,t,n[t])}))}return e}function xit(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sit(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pit(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Eit=g3e,Cit=v3e,Fit=o6e,Tit=U9e,Dit=k8e,Ait=oit,Iit=sit,Rit=dit,Lit=Q2e,$it=v.default,Qit=u5e,zit=O5e,jit=h3e,Nit=TJe,Mit=Oit,Uit=C5e,Bit=v1e,qit=OJe,Git=O4e,Wit=h2e,Xit=H3e.isBrowser("IE"),Vit=!Xit,Yit={edit:Ait,composite:Fit,drag:Dit,cut:null,render:null},Zit=!1,Hit=function(e){function t(){return e.apply(this,arguments)||this}Pit(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}($it.Component),Kit=function(e){function t(t){var n;return Sit(xit(n=e.call(this,t)||this),"_blockSelectEvents",void 0),Sit(xit(n),"_clipboard",void 0),Sit(xit(n),"_handler",void 0),Sit(xit(n),"_dragCount",void 0),Sit(xit(n),"_internalDrag",void 0),Sit(xit(n),"_editorKey",void 0),Sit(xit(n),"_placeholderAccessibilityID",void 0),Sit(xit(n),"_latestEditorState",void 0),Sit(xit(n),"_latestCommittedEditorState",void 0),Sit(xit(n),"_pendingStateFromBeforeInput",void 0),Sit(xit(n),"_onBeforeInput",void 0),Sit(xit(n),"_onBlur",void 0),Sit(xit(n),"_onCharacterData",void 0),Sit(xit(n),"_onCompositionEnd",void 0),Sit(xit(n),"_onCompositionStart",void 0),Sit(xit(n),"_onCopy",void 0),Sit(xit(n),"_onCut",void 0),Sit(xit(n),"_onDragEnd",void 0),Sit(xit(n),"_onDragOver",void 0),Sit(xit(n),"_onDragStart",void 0),Sit(xit(n),"_onDrop",void 0),Sit(xit(n),"_onInput",void 0),Sit(xit(n),"_onFocus",void 0),Sit(xit(n),"_onKeyDown",void 0),Sit(xit(n),"_onKeyPress",void 0),Sit(xit(n),"_onKeyUp",void 0),Sit(xit(n),"_onMouseDown",void 0),Sit(xit(n),"_onMouseUp",void 0),Sit(xit(n),"_onPaste",void 0),Sit(xit(n),"_onSelect",void 0),Sit(xit(n),"editor",void 0),Sit(xit(n),"editorContainer",void 0),Sit(xit(n),"focus",void 0),Sit(xit(n),"blur",void 0),Sit(xit(n),"setMode",void 0),Sit(xit(n),"exitCurrentMode",void 0),Sit(xit(n),"restoreEditorDOM",void 0),Sit(xit(n),"setClipboard",void 0),Sit(xit(n),"getClipboard",void 0),Sit(xit(n),"getEditorKey",void 0),Sit(xit(n),"update",void 0),Sit(xit(n),"onDragEnter",void 0),Sit(xit(n),"onDragLeave",void 0),Sit(xit(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),Sit(xit(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var a=zit.getScrollParent(r),o=e||Uit(a),s=o.x,l=o.y;Git(r)||("production"!==uo.env.NODE_ENV?qit(!1,"editorNode is not an HTMLElement"):qit(!1)),r.focus(),a===window?window.scrollTo(s,l):Qit.setTop(a,l),i||n.update(Lit.forceSelection(t,t.getSelection()))}})),Sit(xit(n),"blur",(function(){var e=n.editor;e&&(Git(e)||("production"!==uo.env.NODE_ENV?qit(!1,"editorNode is not an HTMLElement"):qit(!1)),e.blur())})),Sit(xit(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,a=t.onCopy,o=kit({},Yit.edit);i&&(o.onPaste=i),r&&(o.onCut=r),a&&(o.onCopy=a);var s=kit({},Yit,{edit:o});n._handler=s[e]})),Sit(xit(n),"exitCurrentMode",(function(){n.setMode("edit")})),Sit(xit(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),Sit(xit(n),"setClipboard",(function(e){n._clipboard=e})),Sit(xit(n),"getClipboard",(function(){return n._clipboard})),Sit(xit(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),Sit(xit(n),"onDragEnter",(function(){n._dragCount++})),Sit(xit(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||Nit(),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"!==uo.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}Pit(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&&(Iit?Iit((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:Wit(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return $it.createElement(Rit,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,a=e.customStyleMap,o=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=jit({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),p=this.props.role||"textbox",h="combobox"===p?!!this.props.ariaExpanded:null,f={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:kit({},Cit,a),customStyleFn:r,editorKey:this._editorKey,editorState:o,preventScroll:s,textDirectionality:c};return $it.createElement("div",{className:d},this._renderPlaceholder(),$it.createElement("div",{className:jit("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},$it.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:h,"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:jit({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:Vit&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},$it.createElement(Hit,{editor:this,editorState:o}),$it.createElement(Tit,_it({},f,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!Zit&&Bit("draft_ods_enabled")&&(Zit=!0),this.setMode("edit"),Xit&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):x.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}($it.Component);Sit(Kit,"defaultProps",{blockRenderMap:Eit,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:Mit,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var Jit=Kit,ert=P(Object.freeze({__proto__:null})),trt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},nrt=trt,irt=p7e.strlen;var rrt=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var a=e.getText(),o=e.getEntityAt(i);n.push({offset:irt(a.slice(0,i)),length:irt(a.slice(i,r)),key:Number(t[nrt.stringify(o)])})})),n},art=p7e,ort=IKe,srt=function(e,t){return e===t},lrt=function(e){return!!e},urt=[];var crt=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 ort(r,srt,lrt,(function(t,r){var a=e.getText();i.push({offset:art.strlen(a.slice(0,t)),length:art.strlen(a.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(urt,n.toJS())};function drt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var prt=XKe,hrt=lJe,frt=trt,mrt=rrt,grt=crt,vrt=OJe,brt=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:grt(e),entityRanges:mrt(e,t),data:e.getData().toObject()}},yrt=function(e,t,n,i){if(e instanceof prt)n.push(brt(e,t));else{e instanceof hrt||("production"!==uo.env.NODE_ENV?vrt(!1,"block is not a BlockNode"):vrt(!1));var r=e.getParentKey(),a=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){drt(e,t,n[t])}))}return e}({},brt(e,t),{children:[]});r?i[r].children.push(a):n.push(a)}},Ort=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},a={},o=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=frt.stringify(i);a[r]||(a[r]=i,n[r]="".concat(o),o++)})),yrt(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(frt.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function wrt(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){_rt(e,t,n[t])}))}return e}function _rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var krt=TJe,xrt=OJe,Srt=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},Prt={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==uo.env.NODE_ENV?xrt(!1,"Invalid raw state"):xrt(!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"!==uo.env.NODE_ENV?xrt(!1,"Invalid tree raw block"):xrt(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=wrt({},e);Srt(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?wrt({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,wrt({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=Srt(e),r=e.depth||0,a=wrt({},e,{children:[]});if(i){var o=n[0];if(null==o&&0===r)t.push(a);else if(null==o||o.depth<r-1){var s={key:krt(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=o&&o.children.push(s),s.children.push(a)}else if(o.depth===r-1)o.children.push(a);else{for(;null!=o&&o.depth>=r;)n.shift(),o=n[0];r>0?o.children.push(a):t.push(a)}}else t.push(a)})),wrt({},e,{blocks:t})}},Ert=Prt,Crt=g7e,Frt={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==uo.env.NODE_ENV&&Crt(!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"!==uo.env.NODE_ENV&&Crt(!0,"Tree is missing child -> parent pointer on %s",n),!1;var a=e.getPrevSiblingKey();if(null!=a&&t.get(a).getNextSiblingKey()!==n)return"production"!==uo.env.NODE_ENV&&Crt(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==uo.env.NODE_ENV&&Crt(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==a&&a===o?("production"!==uo.env.NODE_ENV&&Crt(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==uo.env.NODE_ENV&&Crt(!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"!==uo.env.NODE_ENV&&Crt(!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 a=e.get(i),o=a.getChildKeys(),s=a.getNextSiblingKey();if(o.size>0){null!=s&&r.unshift(s);var l=o.map((function(t){return e.get(t)})),u=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==uo.env.NODE_ENV&&Crt(!0,"%s has no first child",i),!1;i=u.getKey()}else i=null!=a.getNextSiblingKey()?a.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==uo.env.NODE_ENV&&Crt(!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)}},Trt=Frt,Drt=AKe,Art=yKe.exports.List;var Irt=function(e,t){var n=e.map((function(e,n){var i=t[n];return Drt.create({style:e,entity:i})}));return Art(n)},Rrt=p7e.substr;var Lrt=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=Rrt(e,0,t.offset).length,r=i+Rrt(e,t.offset,t.length).length,a=i;a<r;a++)n[a]=t.key})),n},$rt=p7e,Qrt=yKe.exports.OrderedSet,zrt=$rt.substr,jrt=Qrt();var Nrt=function(e,t){var n=Array(e.length).fill(jrt);return t&&t.forEach((function(t){for(var i=zrt(e,0,t.offset).length,r=i+zrt(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function Mrt(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){Urt(e,t,n[t])}))}return e}function Urt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Brt=XKe,qrt=lJe,Grt=M1e,Wrt=f1e,Xrt=Ert,Vrt=Trt,Yrt=g1e,Zrt=Irt,Hrt=Lrt,Krt=Nrt,Jrt=TJe,eat=yKe.exports,tat=OJe,nat=v1e("draft_tree_data_support"),iat=eat.List,rat=eat.Map,aat=eat.OrderedMap,oat=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||Jrt(),data:rat(r),characterList:sat(e,t)}},sat=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,a=i||[];return Zrt(Krt(n,r||[]),Hrt(n,a.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return Mrt({},e,{key:t[e.key]})}))))},lat=function(e){return Mrt({},e,{key:e.key||Jrt()})},uat=function(e,t,n){var i=t.map((function(e){return Mrt({},e,{parentRef:n})}));return e.concat(i.reverse())},cat=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=nat&&!n?Xrt.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!nat)return function(e,t){return aat(e.map((function(e){var n=new Brt(oat(e,t));return[n.getKey(),n]})))}(n?Xrt.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(lat).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==uo.env.NODE_ENV?tat(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):tat(!1));var a=i.children.map(lat),o=new qrt(Mrt({},oat(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:iat(a.map((function(e){return e.key})))}));n=n.set(o.getKey(),o);for(var s=uat([],a,o);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),p=Array.isArray(l.children);if(!p){p||("production"!==uo.env.NODE_ENV?tat(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):tat(!1));break}var h=l.children.map(lat),f=new qrt(Mrt({},oat(l,t),{parent:u.getKey(),children:iat(h.map((function(e){return e.key}))),prevSibling:0===d?null:c.get(d-1),nextSibling:d===c.size-1?null:c.get(d+1)}));n=n.set(f.getKey(),f),s=uat(s,h,f)}return n}),aat())}(i,t);return"production"!==uo.env.NODE_ENV&&(Vrt.isValidTree(r)||("production"!==uo.env.NODE_ENV?tat(!1,"Should be a valid tree"):tat(!1))),r},dat=function(e){Array.isArray(e.blocks)||("production"!==uo.env.NODE_ENV?tat(!1,"invalid RawDraftContentState"):tat(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,a=i.mutability,o=i.data;n[e]=Wrt.__create(r,a,o||{})})),n}(e),n=cat(e,t),i=n.isEmpty()?new Yrt:Yrt.createEmpty(n.first().getKey());return new Grt({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},pat=Z7e;var hat=function(e){var t=pat(e),n=0,i=0,r=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var o=t[1];n=o.top,i=o.right,r=o.bottom,a=o.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,a=s.left}for(var l=1;l<t.length;l++){var u=t[l];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),i=Math.max(i,u.right),r=Math.max(r,u.bottom),a=Math.min(a,u.left))}}return{top:n,right:i,bottom:r,left:a,width:i-a,height:r-n}},fat=hat;var mat=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=fat(n),r=i.top,a=i.right,o=i.bottom,s=i.left;return 0===r&&0===a&&0===o&&0===s?null:i},gat={Editor:Jit,EditorBlock:E9e,EditorState:Q2e,CompositeDecorator:d3e,Entity:f1e,EntityInstance:r1e,BlockMapBuilder:_Ke,CharacterMetadata:AKe,ContentBlock:XKe,ContentState:M1e,RawDraftContentState:ert,SelectionState:g1e,AtomicBlockUtils:l3e,KeyBindingUtil:M7e,Modifier:M0e,RichUtils:Fnt,DefaultDraftBlockRenderMap:g3e,DefaultDraftInlineStyle:v3e,convertFromHTML:lnt,convertFromRaw:dat,convertToRaw:Ort,genKey:TJe,getDefaultKeyBinding:Oit,getVisibleSelectionRect:mat};function vat(e,t,n,i,r,a){var o=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+o}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+o}):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&&a>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+a,length:e.offset+e.length-(t+n)})]:e}var bat=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},yat={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","\n":"<br/>"},Oat=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function wat(e){if(-1!==Oat.indexOf(e.type))return _.default.renderToStaticMarkup(e);var t=_.default.renderToStaticMarkup(v.default.cloneElement(e,{},"\r")).split("\r");return YPe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),YPe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function _at(e){return v.default.isValidElement(e)&&v.default.Children.count(e.props.children)>0}function kat(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(v.default.isValidElement(e)){if(_at(e))return _.default.renderToStaticMarkup(e);var n=wat(e);if(null!==t&&"object"===Fo(n)){var i=n.start,r=n.end;return i+t+r}return n}if(YPe(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 a=e.start,o=e.end;return a+t+o}return e}var xat=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(v.default.isValidElement(t)){var i=wat(t);if("string"==typeof i)return 0;var r=i[n].length,a=v.default.Children.toArray(t.props.children)[0];return r+(a&&v.default.isValidElement(a)?e(a,n):0)}return"object"===Fo(t)&&t[n]?t[n].length:0},Sat=function(){var e=arguments.length>1?arguments[1]:void 0;return e},Pat=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Sat,i=gZe(e.text),r=n;if(n.__isMiddleware&&(r=n(Sat)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var a=e.entityRanges.sort(bat),o=e.inlineStyleRanges,s=function(e){var n=a[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),u=r(s,l),c=gZe(kat(u,l)||l),d=xat(u,"start"),p=xat(u,"end"),h=function(t){return t.reduce((function(t,i,r){var a=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?vat(t,n.offset,n.length,c.length,d,p):t}(i,r);return Array.isArray(a)?t.concat(a):t.concat([a])}),[])};a=h(a),o=h(o),i=[].concat(gZe(i.slice(0,n.offset)),gZe(c),gZe(i.slice(n.offset+n.length)))},l=0;l<a.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:o,entityRanges:a})}return e},Eat=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},Cat=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function Fat(e){switch(e){case"BOLD":return v.default.createElement("strong",null);case"ITALIC":return v.default.createElement("em",null);case"UNDERLINE":return v.default.createElement("u",null);case"CODE":return v.default.createElement("code",null);default:return{start:"",end:""}}}var Tat=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},Dat=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return YPe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},Aat=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},Iat=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},Rat=function(e,t){return t.offset+t.length-(e.offset+e.length)},Lat=function(e,t){for(var n=0;n<e.length;){if(!t.every(Iat.bind(null,e[n])))return e.slice(n);n++}return[]},$at=function(e,t,n){return t+kat(e(n.style)).start},Qat=function(e,t,n){return kat(e(n.style)).end+t},zat=function(e){return function(t){return e(t)}};zat.__isMiddleware=!0;var jat=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function Nat(e){return YPe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:v.default.isValidElement(e)?function(e){return v.default.isValidElement(e)&&v.default.Children.count(e.props.children)>0}(e)?_.default.renderToStaticMarkup(e):wat(e):Object.prototype.hasOwnProperty.call(e,"element")&&v.default.isValidElement(e.element)?Object.assign({},e,wat(e.element)):(YPe(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 Mat(e,t){if(YPe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=wat(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(v.default.isValidElement(e.nest)){var a=wat(e.nest),o=a.start,s=a.end;return Object.assign({},e,{nestStart:o,nestEnd:s})}return YPe(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 Uat=["1","a","i"],Bat={unstyled:v.default.createElement("p",null),paragraph:v.default.createElement("p",null),"header-one":v.default.createElement("h1",null),"header-two":v.default.createElement("h2",null),"header-three":v.default.createElement("h3",null),"header-four":v.default.createElement("h4",null),"header-five":v.default.createElement("h5",null),"header-six":v.default.createElement("h6",null),blockquote:v.default.createElement("blockquote",null),"unordered-list-item":{element:v.default.createElement("li",null),nest:v.default.createElement("ul",null)},"ordered-list-item":{element:v.default.createElement("li",null),nest:function(e){var t=Uat[e%3];return v.default.createElement("ol",{type:t})}},media:v.default.createElement("figure",null),atomic:v.default.createElement("figure",null)},qat=function(e,t){return t},Gat=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,a=e.entityToHTML,o=void 0===a?qat:a;return function(e){var t;YPe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(jat(Bat)):Cat(jat(r),jat(Bat));var i=gat.convertToRaw(e),a=[],s=i.blocks.map((function(e){var r=e.type,s=e.depth,l="",u="",c=t(e);if(!c)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(c.nest)for(;s+1!==a.length||r!==a[s].type;)if(s+1===a.length){var d=a[s];l+=Mat(t(d),s).nestEnd,u+=Mat(t(e),s).nestStart,a[s]=e}else if(s+1<a.length){var p=a[a.length-1];l+=Mat(t(p),s).nestEnd,a=a.slice(0,-1)}else u+=Mat(t(e),s).nestStart,a.push(e);else l=a.reduceRight((function(e,n){return e+Mat(t(n),s).nestEnd}),""),a=[];var h,f=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zat;YPe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(Fat):Cat(Eat(n),Eat(Fat));for(var i="",r=[],a=e.inlineStyleRanges.sort(bat),o=gZe(e.text),s=0;s<o.length;s++){var l=Aat(s,a),u=Tat(r,l),c=Tat(l,r),d=Tat(r,u),p=Lat(d,c),h=p.concat(c).sort(Rat),f=h.reduce($at.bind(null,t),"");i+=u.concat(p).reduce(Qat.bind(null,t),"")+f+o[s],r=(r=Dat(r,p.concat(u))).concat(h),YPe(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+kat(t(n.style)).end}),i)}(Pat(function(e){for(var t=gZe(e.text),n=e.entityRanges.sort(bat),i=e.inlineStyleRanges.sort(bat),r="",a=function(e){var a=t[e];if(void 0!==yat[a]){var o=yat[a],s=gZe(r).length;r+=o;var l=function(e){return vat(e,s,a.length,o.length,0,0)};n=n.map(l),i=i.map(l)}else r+=a},o=0;o<t.length;o++)a(o);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,o),n),m=Nat(t(e));return h="string"==typeof m?m:m.start+f+m.end,0===f.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(h=v.default.isValidElement(m.empty)?_.default.renderToStaticMarkup(m.empty):m.empty),l+u+h})).join("");return s=a.reduce((function(e,n){return e+Mat(t(n),n.depth).nestEnd}),s)}},Wat={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 o(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function a(e){return o(e)&&!u(e)?e:Z(e)}function o(e){return!(!e||!e[d])}function s(e){return!(!e||!e[p])}function l(e){return!(!e||!e[h])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[f])}t(i,n),t(r,n),t(a,n),n.isIterable=o,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=a;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",f="@@__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 k(e){e&&(e.value=!0)}function x(){}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 P(e){return void 0===e.size&&(e.size=e.__iterate(C)),e.size}function E(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P(e)+t:t}function C(){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,R=1,L=2,$="function"==typeof Symbol&&Symbol.iterator,Q="@@iterator",z=$||Q;function j(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 M(){return{value:void 0,done:!0}}function U(e){return!!G(e)}function B(e){return e&&"function"==typeof e.next}function q(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&($&&e[$]||e[Q]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?oe():o(e)?e.toSeq():ue(e)}function V(e){return null==e?oe().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?oe():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Z(e){return(null==e?oe():o(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=R,j.ENTRIES=L,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[z]=function(){return this},t(X,n),X.of=function(){return X(arguments)},X.prototype.toSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq {","}")},X.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},X.prototype.__iterate=function(e,t){return de(this,e,t,!0)},X.prototype.__iterator=function(e,t){return pe(this,e,t,!0)},t(V,X),V.prototype.toKeyedSeq=function(){return this},t(Y,X),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return pe(this,e,t,!1)},t(Z,X),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},X.isSeq=ae,X.Keyed=V,X.Set=Z,X.Indexed=Y;var H,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 ae(e){return!(!e||!e[ee])}function oe(){return H||(H=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():B(e)?new re(e).fromEntrySeq():U(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=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(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 ce(e){return W(e)?new te(e):B(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var a=r.length-1,o=0;o<=a;o++){var s=r[n?a-o:o];if(!1===t(s[1],i?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var a=r.length-1,o=0;return new j((function(){var e=r[n?a-o:o];return o++>a?M():N(t,i?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function he(e,t){return t?fe(t,e,"",{"":e}):me(e)}function fe(e,t,n,i){return Array.isArray(t)?e.call(i,n,Y(t).map((function(n,i){return fe(e,n,i,t)}))):ge(t)?e.call(i,n,V(t).map((function(n,i){return fe(e,n,i,t)}))):t}function me(e){return Array.isArray(e)?Y(e).map(me).toList():ge(e)?V(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(!o(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)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(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 a=e;e=t,t=a}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 ke(){}function xe(){}function Se(){}X.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[E(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 j((function(){return r>i?M():N(e,r,n[t?i-r++:r++])}))},t(ne,V),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,a=0;a<=r;a++){var o=i[t?r-a:a];if(!1===e(n[o],o,this))return a+1}return a},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,a=0;return new j((function(){var o=i[t?r-a:a];return a++>r?M():N(e,o,n[o])}))},ne.prototype[f]=!0,t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=q(this._iterable),i=0;if(B(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(!B(n))return new j(M);var i=0;return new j((function(){var t=n.next();return t.done?t:N(e,i++,t.value)}))},t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,a=0;a<r.length;)if(!1===e(r[a],a++,this))return a;for(;!(n=i.next()).done;){var o=n.value;if(r[a]=o,!1===e(o,a++,this))break}return a},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 j((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,Y),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 j((function(){return i<n.size?N(e,i++,n._value):M()}))},ye.prototype.equals=function(e){return e instanceof ye?ve(this._value,e._value):be(e)},t(we,Y),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+E(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,a=0;a<=n;a++){if(!1===e(r,a,this))return a+1;r+=t?-i:i}return a},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,a=0;return new j((function(){var o=r;return r+=t?-i:i,a>n?M():N(e,a++,o)}))},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(ke,_e),t(xe,_e),t(Se,_e),_e.Keyed=ke,_e.Indexed=xe,_e.Set=Se;var Pe="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 Ee(e){return e>>>1&1073741824|3221225471&e}function Ce(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 Ee(n)}if("string"===t)return e.length>je?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=Ue[e];return void 0===t&&(t=Te(e),Me===Ne&&(Me=0,Ue={}),Me++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ee(t)}function De(e){var t;if($e&&void 0!==(t=Le.get(e)))return t;if(void 0!==(t=e[ze]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[ze]))return t;if(void 0!==(t=Re(e)))return t}if(t=++Qe,1073741824&Qe&&(Qe=0),$e)Le.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,ze,{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[ze]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[ze]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Re(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Le,$e="function"==typeof WeakMap;$e&&(Le=new WeakMap);var Qe=0,ze="__immutablehash__";"function"==typeof Symbol&&(ze=Symbol(ze));var je=16,Ne=255,Me=0,Ue={};function Be(e){Oe(e!==1/0,"Cannot perform this action with an infinite size.")}function qe(e){return null==e?rt():Ge(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ge(e){return!(!e||!e[Xe])}t(qe,ke),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 at(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,y,(function(){return t}))},qe.prototype.remove=function(e){return at(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,ht,arguments)},qe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return pt(this,ft(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 Ut(dn(this,e))},qe.prototype.sortBy=function(e,t){return Ut(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 x)},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=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Ze(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function He(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(Ve);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return We||(We=it(0))}function at(e,t,n){var i,r;if(e._root){var a=_(O),o=_(w);if(i=ot(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===y?-1:1:0)}else{if(n===y)return e;r=1,i=new Ye(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 ot(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===y?e:(k(s),k(o),new Je(t,i,[r,a]))}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 a,o=(0===n?e.keyHash:e.keyHash>>>n)&b,s=(0===n?i:i>>>n)&b;return new Ze(t,1<<o|1<<s,o===s?[lt(e,t,n+g,i,r)]:(a=new Je(t,i,r),o<s?[e,a]:[a,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Je(e,Ce(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}function ct(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Ze(e,r,o)}function dt(e,t,n,i,r){for(var a=0,o=new Array(v),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new He(e,a+1,o)}function pt(e,t,n){for(var r=[],a=0;a<n.length;a++){var s=n[a],l=i(s);o(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&o(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,a=t.next();if(a.done){var o=r?n:e,s=i(o);return s===o?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=a.value,u=r?y:e.get(l,y),c=gt(u,t,n,i);return c===u?e:c===y?e.remove(l):(r?rt():e).set(l,c)}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 a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ye.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===y,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ye(e,h)}},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&b),a=this.bitmap;return 0==(a&r)?i:this.nodes[vt(a&r-1)].get(e+g,t,n,i)},Ze.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&b,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===y)return this;var d=vt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=ot(h,e,t+g,n,i,r,a,o);if(f===h)return this;if(!c&&f&&p.length>=_t)return dt(e,p,u,s,f);if(c&&!f&&2===p.length&&st(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&st(f))return f;var m=e&&e===this.ownerID,v=c?f?u:u^l:u|l,O=c?f?bt(p,d,f,m):Ot(p,d,m):yt(p,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new Ze(e,v,O)},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=(0===e?t:t>>>e)&b,a=this.nodes[r];return a?a.get(e+g,t,n,i):i},He.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&b,l=r===y,u=this.nodes,c=u[s];if(l&&!c)return this;var d=ot(c,e,t+g,n,i,r,a,o);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<kt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=bt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new He(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(ve(n,r[a][0]))return r[a][1];return i},Ke.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Ce(i));var s=r===y;if(n!==this.keyHash)return s?this:(k(o),k(a),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(k(o),(s||!d)&&k(a),s&&2===c)return new Je(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:S(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Ke(e,this.keyHash,h)},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,a,o){var s=r===y,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(k(o),s?void k(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(k(a),lt(this,e,t,Ce(i),[i,r])))},Ye.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},Ze.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,j),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 a=i.nodes[this._reverse?n-r:r];if(a){if(a.entry)return tt(e,a.entry);t=this._stack=nt(a,t)}continue}t=this._stack=this._stack.__prev}return M()};var wt=v/4,_t=v/2,kt=v/4;function xt(e){var t=Rt();if(null==e)return t;if(St(e))return e;var n=r(e),i=n.size;return 0===i?t:(Be(i),i>0&&i<v?It(0,i,g,null,new Ct(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[Pt])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=zt(this,e+=this._origin);return n&&n.array[e&b]}return t},xt.prototype.set=function(e,t){return Lt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.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):Rt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){jt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return jt(this,0,-1)},xt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){jt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},xt.prototype.shift=function(){return jt(this,1)},xt.prototype.merge=function(){return Nt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Nt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Nt(this,ht,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Nt(this,ft(t),n)},xt.prototype.setSize=function(e){return jt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:jt(this,T(e,n),D(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?M():N(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},xt.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)},xt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=xt.prototype;function Ct(e,t){this.array=e,this.ownerID=t}Et[Pt]=!0,Et[m]=Et.remove,Et.setIn=Ve.setIn,Et.deleteIn=Et.removeIn=Ve.removeIn,Et.update=Ve.update,Et.updateIn=Ve.updateIn,Et.mergeIn=Ve.mergeIn,Et.mergeDeepIn=Ve.mergeDeepIn,Et.withMutations=Ve.withMutations,Et.asMutable=Ve.asMutable,Et.asImmutable=Ve.asImmutable,Et.wasAltered=Ve.wasAltered,Ct.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 Ct([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-g,n))===o&&a)return this}if(a&&!r)return this;var s=Qt(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ct.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 a=this.array[r];if((i=a&&a.removeAfter(e,t-g,n))===a&&r===this.array.length-1)return this}var o=Qt(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Mt(i),a=e._tail;return o(e._root,e._level,0);function o(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(u===c)return Dt;var n=t?--c:u++;s=o(l&&l[n],r-g,a+(n<<r))}}}}function It(e,t,n,i,r,a,o){var s=Object.create(Et);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function Rt(){return Ft||(Ft=It(0,0,g))}function Lt(e,t,n){if((t=E(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?jt(e,t).set(0,n):jt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a=_(w);return t>=Mt(e._capacity)?i=$t(i,e.__ownerID,0,t,n,a):r=$t(r,e.__ownerID,e._level,t,n,a),a.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 $t(e,t,n,i,r,a){var o,s=i>>>n&b,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=$t(u,t,n-g,i,r,a);return c===u?e:((o=Qt(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(k(a),o=Qt(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function Qt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function zt(e,t){if(t>=Mt(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 jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=Mt(a),p=Mt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?zt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&o<a&&h.array.length){for(var m=u=Qt(u,i),v=l;v>g;v-=g){var y=d>>>v&b;m=m.array[y]=Qt(m.array[y],i)}m.array[d>>>g&b]=h}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=p)o-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||p<d){for(c=0;u;){var O=o>>>l&b;if(O!==p>>>l&b)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(o,s,l,u,f)}function Nt(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>a&&(a=u.size),o(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return a>e.size&&(e=e.setSize(a)),mt(e,t,i)}function Mt(e){return e<v?0:e-1>>>g<<g}function Ut(e){return null==e?Gt():Bt(e)?e:Gt().withMutations((function(t){var n=i(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Bt(e){return Ge(e)&&c(e)}function qt(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Gt(){return Tt||(Tt=qt(rt(),Rt()))}function Wt(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===y){if(!l)return e;o.size>=v&&o.size>=2*a.size?(r=o.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=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.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 Xt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Vt(e){this._iter=e,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Zt(e){this._iter=e,this.size=e.size}function Ht(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===L){var i=e.__iterator(t,n);return new j((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===R?I:R,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 a=e.get(i,y);return a===y?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(L,r);return new j((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return N(i,s,t.call(n,o[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=Ht(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 a=e.get(i,y);return a!==y&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(L,a),s=0;return new j((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return N(r,i?u:s++,c,a)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=bn(e);return r.map((function(t){return mn(e,a(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 a=T(t,r),o=D(n,r);if(a!=a||o!=o)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=yn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&ae(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),o=0,l=0;return new j((function(){for(;o++<a;)r.next();if(++l>s)return M();var e=r.next();return i||t===R?e:N(t,l-1,t===I?void 0:e.value[1],e)}))},u}function an(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(L,r),s=!0;return new j((function(){if(!s)return M();var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?i===L?e:N(i,l,u,e):(s=!1,M())}))},i}function on(e,t,n,i){var r=yn(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(L,a),l=!0,u=0;return new j((function(){var e,a,c;do{if((e=s.next()).done)return i||r===R?e:N(r,u++,r===I?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return r===L?e:N(r,a,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return o(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 a=r[0];if(a===e||n&&s(a)||l(e)&&l(a))return a}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=yn(e);return i.__iterateUncached=function(i,r){var a=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&o(e)?l(e,u+1):!1===i(e,n?r:a++,c)&&(s=!0),!s}),r)}return l(e,0),a},i.__iteratorUncached=function(i,r){var a=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;a;){var e=a.next();if(!1===e.done){var u=e.value;if(i===L&&(u=u[1]),t&&!(s.length<t)||!o(u))return n?e:N(i,l++,u,e);s.push(a),a=u.__iterator(i,r)}else a=s.pop()}return M()}))},i}function un(e,t,n){var i=bn(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}function cn(e,t){var n=yn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e,i){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(R,i),o=0;return new j((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?N(n,o++,t):N(n,o++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?V(a):l(e)?Y(a):Z(a)}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 hn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return hn(t,e,n)?n:e}))}function hn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function fn(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(R,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var a=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),o=0,s=!1;return new j((function(){var n;return s||(n=a.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?M():N(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return ae(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function bn(e){return s(e)?i:l(e)?r:a}function yn(e){return Object.create((s(e)?V:l(e)?Y:Z).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.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(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function kn(e,t){var n,i=function(a){if(a instanceof i)return a;if(!(this instanceof i))return new i(a);if(!n){n=!0;var o=Object.keys(e);En(r,o),r.size=o.length,r._name=t,r._keys=o,r._defaultValues=e}this._map=qe(a)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,qe),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Gt()},Ut.prototype.set=function(e,t){return Wt(this,e,t)},Ut.prototype.remove=function(e){return Wt(this,e,y)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.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)},Ut.isOrderedMap=Bt,Ut.prototype[f]=!0,Ut.prototype[m]=Ut.prototype.remove,t(Xt,V),Xt.prototype.get=function(e,t){return this._iter.get(e,t)},Xt.prototype.has=function(e){return this._iter.has(e)},Xt.prototype.valueSeq=function(){return this._iter.valueSeq()},Xt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Xt.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},Xt.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)},Xt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:N(e,t?--i:i++,r.value,r)}))},Xt.prototype[f]=!0,t(Vt,Y),Vt.prototype.includes=function(e){return this._iter.includes(e)},Vt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Vt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),i=0;return new j((function(){var t=n.next();return t.done?t:N(e,i++,t.value,t)}))},t(Yt,Z),Yt.prototype.has=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new j((function(){var t=n.next();return t.done?t:N(e,t.value,t.value,t)}))},t(Zt,V),Zt.prototype.entrySeq=function(){return this._iter.toSeq()},Zt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=o(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new j((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){gn(i);var r=o(i);return N(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Zt.prototype.cacheResult=On,t(kn,ke),kn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},kn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kn.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},kn.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()))},kn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},kn.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)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},kn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},kn.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 xn=kn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Pn(e){return e._name||e.constructor.name||"Record"}function En(e,t){try{t.forEach(Cn.bind(void 0,e))}catch(e){}}function Cn(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?$n():Tn(e)&&!c(e)?e:$n().withMutations((function(t){var n=a(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}xn[m]=xn.remove,xn.deleteIn=xn.removeIn=Ve.removeIn,xn.merge=Ve.merge,xn.mergeWith=Ve.mergeWith,xn.mergeIn=Ve.mergeIn,xn.mergeDeep=Ve.mergeDeep,xn.mergeDeepWith=Ve.mergeDeepWith,xn.mergeDeepIn=Ve.mergeDeepIn,xn.setIn=Ve.setIn,xn.update=Ve.update,xn.updateIn=Ve.updateIn,xn.withMutations=Ve.withMutations,xn.asMutable=Ve.asMutable,xn.asImmutable=Ve.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 Rn(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Rn(this,this._map.remove(e))},Fn.prototype.clear=function(){return Rn(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++)a(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 a(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 a(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 Qn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return Qn(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 Rn(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 Ln(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function $n(){return Dn||(Dn=Ln(rt()))}function Qn(e){return null==e?Un():zn(e)?e:Un().withMutations((function(t){var n=a(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function zn(e){return Tn(e)&&c(e)}In[An]=!0,In[m]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ve.withMutations,In.asMutable=Ve.asMutable,In.asImmutable=Ve.asImmutable,In.__empty=$n,In.__make=Ln,t(Qn,Fn),Qn.of=function(){return this(arguments)},Qn.fromKeys=function(e){return this(i(e).keySeq())},Qn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Qn.isOrderedSet=zn;var jn,Nn=Qn.prototype;function Mn(e,t){var n=Object.create(Nn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Mn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Nn[f]=!0,Nn.__empty=Un,Nn.__make=Mn,t(Bn,xe),Bn.of=function(){return this(arguments)},Bn.prototype.toString=function(){return this.__toString("Stack [","]")},Bn.prototype.get=function(e,t){var n=this._head;for(e=E(this,e);n&&e--;)n=n.next;return n?n.value:t},Bn.prototype.peek=function(){return this._head&&this._head.value},Bn.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):Vn(e,t)},Bn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;Be(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):Vn(t,n)},Bn.prototype.pop=function(){return this.slice(1)},Bn.prototype.unshift=function(){return this.push.apply(this,arguments)},Bn.prototype.unshiftAll=function(e){return this.pushAll(e)},Bn.prototype.shift=function(){return this.pop.apply(this,arguments)},Bn.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):Yn()},Bn.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 xe.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):Vn(i,r)},Bn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Vn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Bn.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},Bn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new j((function(){if(i){var t=i.value;return i=i.next,N(e,n++,t)}return M()}))},Bn.isStack=qn;var Gn,Wn="@@__IMMUTABLE_STACK__@@",Xn=Bn.prototype;function Vn(e,t,n,i){var r=Object.create(Xn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Yn(){return Gn||(Gn=Vn(0))}function Zn(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}Xn[Wn]=!0,Xn.withMutations=Ve.withMutations,Xn.asMutable=Ve.asMutable,Xn.asImmutable=Ve.asImmutable,Xn.wasAltered=Ve.wasAltered,n.Iterator=j,Zn(n,{toArray:function(){Be(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Vt(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 Xt(this,!0)},toMap:function(){return qe(this.toKeyedSeq())},toObject:function(){Be(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Qn(s(this)?this.valueSeq():this)},toSet:function(){return Fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Yt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Bn(s(this)?this.valueSeq():this)},toList:function(){return xt(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(L)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))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,a){if(e.call(t,i,r,a))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Be(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Be(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 Be(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,a,o){r?(r=!1,i=t):i=e.call(n,i,t,a,o)})),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(R)},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 P(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(C)},flatMap:function(e,t){return mn(this,un(this,e,t))},flatten:function(e){return mn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Zt(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 a=n.value;if((i=i&&i.get?i.get(a,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):ai)},minBy:function(e,t){return pn(this,t?ni(t):ai,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,on(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,an(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=oi(this))}});var Hn=n.prototype;Hn[d]=!0,Hn[z]=Hn.values,Hn.__toJS=Hn.toArray,Hn.__toStringMapper=ii,Hn.inspect=Hn.toSource=function(){return this.toString()},Hn.chain=Hn.flatMap,Hn.contains=Hn.includes,function(){try{Object.defineProperty(Hn,"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){}}(),Zn(i,{flip:function(){return mn(this,Ht(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,a){return e.call(t,[a,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 ai(e,t){return e<t?1:e>t?-1:0}function oi(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+li(Ce(e),Ce(t))|0}:function(e,t){i=i+li(Ce(e),Ce(t))|0}:t?function(e){i=31*i+Ce(e)|0}:function(e){i=i+Ce(e)|0});return si(r,i)}function si(e,t){return t=Pe(t,3432918353),t=Pe(t<<15|t>>>-15,461845907),t=Pe(t<<13|t>>>-13,5),t=Pe((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ee((t=Pe(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Kn[p]=!0,Kn[z]=Hn.entries,Kn.__toJS=Hn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Zn(r,{toKeyedSeq:function(){return new Xt(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=E(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=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,cn(this,e))},interleave:function(){var e=[this].concat(S(arguments)),t=fn(this.toSeq(),Y.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,on(this,e,t,!1))},zip:function(){return mn(this,fn(this,ri,[this].concat(S(arguments))))},zipWith:function(e){var t=S(arguments);return t[0]=this,mn(this,fn(this,e,t))}}),r.prototype[h]=!0,r.prototype[f]=!0,Zn(a,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=Hn.includes,Zn(V,i.prototype),Zn(Y,r.prototype),Zn(Z,a.prototype),Zn(ke,i.prototype),Zn(xe,r.prototype),Zn(Se,a.prototype),{Iterable:n,Seq:X,Collection:_e,Map:qe,OrderedMap:Ut,List:xt,Stack:Bn,Set:Fn,OrderedSet:Qn,Record:kn,Range:we,Repeat:ye,is:ve,fromJS:he}}()}(Wat);var Xat=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function Vat(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=Xat(e)):t=Xat(e);return t.body}var Yat=" ",Zat=new RegExp("\r","g"),Hat=new RegExp("\n","g"),Kat=new RegExp("&nbsp;","g"),Jat=new RegExp("\r","g"),eot=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],tot={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},not=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},iot=function(e,t,n){},rot=function(e,t,n){return n},aot=function(e,t){},oot=function(e){return[]},sot=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function lot(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Wat.exports.Map();return!0===n?{text:"\r",inlines:[Wat.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[Wat.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function uot(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Wat.exports.Map();return{text:"\r",inlines:[Wat.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function cot(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 dot(e,t,n){return cot(e,n)}function pot(e,t,n){var i=tot[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 hot(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Wat.exports.OrderedSet();return pot(e,t,n)}function fot(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),a="\r"===r&&"\r"===i,o="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(a&&(o||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===Yat||"\n"===t.text)return e;i!==Yat&&"\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 mot(e,t,n,i,r,a,o,s,l,u,c,d,p,h,f,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:Yat,inlines:[Wat.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(y=y.replace(Hat,Yat));var O=Array(y.length).fill(m),w=0;return l(y,c,d,p,h).sort(bat).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,a=n+w;null==r&&(r=y.substr(a,i));var o=y.split("");o.splice.bind(o,a,i).apply(o,r.split("")),y=o.join(""),O.splice.bind(O,a,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===_?lot("unstyled",a,!0):lot(_||"unstyled",a,f.flat)}var k={text:"",inlines:[],entities:[],blocks:[]};t=o(g,e,t=pot(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(a+=1),n=g,i=null);var x,S,P=u(g,e,n,i);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(x=P,S=Wat.exports.Map()):(x="string"==typeof P?P:P.type,S=P.data?Wat.exports.Map(P.data):Wat.exports.Map()),i||-1===r.indexOf(g)&&!x)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===x&&(i=x,v=!0,k=lot(x,a,!0,S));else{var E=cot(g,n);k=uot(E,a),i=E,v=!0,b="ul"===n?"unordered-list-item":"ordered-list-item"}else k=uot(x||cot(g,n),a,S),i=x||cot(g,n),v=!0;var C=e.firstChild;null!=C||!m||"atomic"!==x&&"atomic"!==i||(C=document.createTextNode("a")),null!=C&&(g=C.nodeName.toLowerCase());for(var F=null;C;){F=s(g,C,c,d,p,h),k=fot(k,mot(C,t,n,i,r,a,o,s,l,u,c,d,p,h,f,F||m),f.flat);var T=C.nextSibling;if(T&&r.indexOf(g)>=0&&i){var D=u(g,C,n,i),A=void 0,I=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,I=Wat.exports.Map()):(A=D.type||cot(g,n),I=D.data?Wat.exports.Map(D.data):Wat.exports.Map()),k=fot(k,lot(A,a,f.flat,I),f.flat))}T&&(g=T.nodeName.toLowerCase()),C=T}return v&&(k=fot(k,uot(b,a,Wat.exports.Map()),f.flat)),k}function got(e,t,n,i,r,a,o,s,l,u,c){var d=c(e=e.trim().replace(Zat,"").replace(Kat,Yat));if(!d)return null;var p=function(e){return eot.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?eot.concat(["div"]):["div"],h=mot(d,Wat.exports.OrderedSet(),"ul",null,p,-1,t,n,i,r,a,o,s,l,u);return 0===h.text.indexOf("\r")&&(h={text:h.text.slice(1),inlines:h.inlines.slice(1),entities:h.entities.slice(1),blocks:h.blocks}),"\r"===h.text.slice(-1)&&(h.text=h.text.slice(0,-1),h.inlines=h.inlines.slice(0,-1),h.entities=h.entities.slice(0,-1),h.blocks.pop()),0===h.blocks.length&&h.blocks.push({type:"unstyled",data:Wat.exports.Map(),depth:0}),h.text.split("\r").length===h.blocks.length+1&&h.blocks.unshift({type:"unstyled",data:Wat.exports.Map(),depth:0}),h}function vot(e,t,n,i,r,a,o,s,l,u,c,d){var p=got(e,t,n,i,r,a,o,s,l,u,c);if(null==p)return[];var h=0;return p.text.split("\r").map((function(e,t){e=e.replace(Jat,"");var n=h+e.length,i=sot(p).inlines.slice(h,n),r=sot(p).entities.slice(h,n),a=Wat.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),gat.CharacterMetadata.create(n)})));return h=n+1,new gat.ContentBlock({key:d(),type:sot(p).blocks[t].type,data:sot(p).blocks[t].data,depth:sot(p).blocks[t].depth,text:e,characterList:a})}))}var bot=function(e){var t=e.htmlToStyle,n=void 0===t?rot:t,i=e.htmlToEntity,r=void 0===i?aot:i,a=e.textToEntity,o=void 0===a?oot:a,s=e.htmlToBlock,l=void 0===s?iot: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]:Vat,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:gat.genKey,s=gat.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():gat.Entity.create.apply(gat.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):gat.Entity.get.apply(gat.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):gat.Entity.mergeData.apply(gat.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):gat.Entity.replaceData.apply(gat.Entity,arguments)},h=vot(e,not(n,hot),not(r,aot),not(o,oot),not(l,dot),u,c,d,p,t,i,a),f=gat.BlockMapBuilder.createFromArray(h),m=h[0].getKey();return s.merge({blockMap:f,selectionBefore:gat.SelectionState.createEmpty(m),selectionAfter:gat.SelectionState.createEmpty(m)})}},yot=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?bot({}).apply(void 0,arguments):bot.apply(void 0,arguments)};pK('/**\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 Oot=32,wot=31,_ot={};function kot(e){e&&(e.value=!0)}function xot(){}function Sot(e){return void 0===e.size&&(e.size=e.__iterate(Eot)),e.size}function Pot(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?Sot(e)+t:t}function Eot(){return!0}function Cot(e,t,n){return(0===e&&!Aot(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function Fot(e,t){return Dot(e,t,0)}function Tot(e,t){return Dot(e,t,t)}function Dot(e,t,n){return void 0===e?n:Aot(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Aot(e){return e<0||0===e&&1/e==-1/0}var Iot="@@__IMMUTABLE_ITERABLE__@@";function Rot(e){return Boolean(e&&e[Iot])}var Lot="@@__IMMUTABLE_KEYED__@@";function $ot(e){return Boolean(e&&e[Lot])}var Qot="@@__IMMUTABLE_INDEXED__@@";function zot(e){return Boolean(e&&e[Qot])}function jot(e){return $ot(e)||zot(e)}var Not=function(e){return Rot(e)?e:lst(e)},Mot=function(e){function t(e){return $ot(e)?e:ust(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Not),Uot=function(e){function t(e){return zot(e)?e:cst(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Not),Bot=function(e){function t(e){return Rot(e)&&!jot(e)?e:dst(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Not);Not.Keyed=Mot,Not.Indexed=Uot,Not.Set=Bot;var qot="@@__IMMUTABLE_SEQ__@@";function Got(e){return Boolean(e&&e[qot])}function Wot(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function Xot(e){return Rot(e)||Wot(e)}var Vot="@@__IMMUTABLE_ORDERED__@@";function Yot(e){return Boolean(e&&e[Vot])}var Zot="function"==typeof Symbol&&Symbol.iterator,Hot="@@iterator",Kot=Zot||Hot,Jot=function(e){this.next=e};function est(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 tst(){return{value:void 0,done:!0}}function nst(e){return!!ast(e)}function ist(e){return e&&"function"==typeof e.next}function rst(e){var t=ast(e);return t&&t.call(e)}function ast(e){var t=e&&(Zot&&e[Zot]||e["@@iterator"]);if("function"==typeof t)return t}Jot.prototype.toString=function(){return"[Iterator]"},Jot.KEYS=0,Jot.VALUES=1,Jot.ENTRIES=2,Jot.prototype.inspect=Jot.prototype.toSource=function(){return this.toString()},Jot.prototype[Kot]=function(){return this};var ost=Object.prototype.hasOwnProperty;function sst(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 lst=function(e){function t(e){return null==e?gst():Xot(e)?e.toSeq():function(e){var t=yst(e);if(t)return t;if("object"==typeof e)return new hst(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 a=n[t?i-++r:r++];if(!1===e(a[1],a[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 Jot((function(){if(r===i)return{value:void 0,done:!0};var a=n[t?i-++r:r++];return est(e,a[0],a[1])}))}return this.__iteratorUncached(e,t)},t}(Not),ust=function(e){function t(e){return null==e?gst().toKeyedSeq():Rot(e)?$ot(e)?e.toSeq():e.fromEntrySeq():Wot(e)?e.toSeq():vst(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(lst),cst=function(e){function t(e){return null==e?gst():Rot(e)?$ot(e)?e.entrySeq():e.toIndexedSeq():Wot(e)?e.toSeq().entrySeq():bst(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}(lst),dst=function(e){function t(e){return(Rot(e)&&!jot(e)?e:cst(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}(lst);lst.isSeq=Got,lst.Keyed=ust,lst.Set=dst,lst.Indexed=cst,lst.prototype[qot]=!0;var pst=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[Pot(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var a=t?i-++r:r++;if(!1===e(n[a],a,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new Jot((function(){if(r===i)return{value:void 0,done:!0};var a=t?i-++r:r++;return est(e,a,n[a])}))},t}(cst),hst=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 ost.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,a=0;a!==r;){var o=i[t?r-++a:a++];if(!1===e(n[o],o,this))break}return a},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,a=0;return new Jot((function(){if(a===r)return{value:void 0,done:!0};var o=i[t?r-++a:a++];return est(e,o,n[o])}))},t}(ust);hst.prototype[Vot]=!0;var fst,mst=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=rst(this._collection),i=0;if(ist(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=rst(this._collection);if(!ist(n))return new Jot(tst);var i=0;return new Jot((function(){var t=n.next();return t.done?t:est(e,i++,t.value)}))},t}(cst);function gst(){return fst||(fst=new pst([]))}function vst(e){var t=Array.isArray(e)?new pst(e):nst(e)?new mst(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new hst(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function bst(e){var t=yst(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function yst(e){return sst(e)?new pst(e):nst(e)?new mst(e):void 0}var Ost="@@__IMMUTABLE_MAP__@@";function wst(e){return Boolean(e&&e[Ost])}function _st(e){return wst(e)&&Yot(e)}function kst(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function xst(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!!(kst(e)&&kst(t)&&e.equals(t))}var Sst="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 Pst(e){return e>>>1&1073741824|3221225471&e}var Est=Object.prototype.valueOf;function Cst(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 Pst(t)}(e);case"string":return e.length>$st?function(e){var t=jst[e];void 0===t&&(t=Fst(e),zst===Qst&&(zst=0,jst={}),zst++,jst[e]=t);return t}(e):Fst(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?Pst(e.hashCode(e)):(e.valueOf!==Est&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(Ist&&void 0!==(t=Ast.get(e)))return t;if(void 0!==(t=e[Lst]))return t;if(!Dst){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Lst]))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=++Rst,1073741824&Rst&&(Rst=0);if(Ist)Ast.set(e,t);else{if(void 0!==Tst&&!1===Tst(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Dst)Object.defineProperty(e,Lst,{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[Lst]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Lst]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return Fst(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function Fst(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Pst(t)}var Tst=Object.isExtensible,Dst=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Ast,Ist="function"==typeof WeakMap;Ist&&(Ast=new WeakMap);var Rst=0,Lst="__immutablehash__";"function"==typeof Symbol&&(Lst=Symbol(Lst));var $st=16,Qst=255,zst=0,jst={},Nst=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=Wst(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=Gst(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}(ust);Nst.prototype[Vot]=!0;var Mst=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&&Sot(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&&Sot(this),new Jot((function(){var a=i.next();return a.done?a:est(e,t?n.size-++r:r++,a.value,a)}))},t}(cst),Ust=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 Jot((function(){var t=n.next();return t.done?t:est(e,t.value,t.value,t)}))},t}(dst),Bst=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){ilt(t);var i=Rot(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 Jot((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){ilt(i);var r=Rot(i);return est(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(ust);function qst(e){var t=alt(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=olt,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 Jot((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 Gst(e,t,n){var i=alt(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var a=e.get(i,_ot);return a===_ot?r:t.call(n,a,i,e)},i.__iterateUncached=function(i,r){var a=this;return e.__iterate((function(e,r,o){return!1!==i(t.call(n,e,r,o),r,a)}),r)},i.__iteratorUncached=function(i,r){var a=e.__iterator(2,r);return new Jot((function(){var r=a.next();if(r.done)return r;var o=r.value,s=o[0];return est(i,s,t.call(n,o[1],s,e),r)}))},i}function Wst(e,t){var n=this,i=alt(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=qst(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=olt,i.__iterate=function(n,i){var r=this,a=0;return i&&Sot(e),e.__iterate((function(e,o){return n(e,t?o:i?r.size-++a:a++,r)}),!i)},i.__iterator=function(i,r){var a=0;r&&Sot(e);var o=e.__iterator(2,!r);return new Jot((function(){var e=o.next();if(e.done)return e;var s=e.value;return est(i,t?s[0]:r?n.size-++a:a++,s[1],e)}))},i}function Xst(e,t,n,i){var r=alt(e);return i&&(r.has=function(i){var r=e.get(i,_ot);return r!==_ot&&!!t.call(n,r,i,e)},r.get=function(i,r){var a=e.get(i,_ot);return a!==_ot&&t.call(n,a,i,e)?a:r}),r.__iterateUncached=function(r,a){var o=this,s=0;return e.__iterate((function(e,a,l){if(t.call(n,e,a,l))return s++,r(e,i?a:s-1,o)}),a),s},r.__iteratorUncached=function(r,a){var o=e.__iterator(2,a),s=0;return new Jot((function(){for(;;){var a=o.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return est(r,i?u:s++,c,a)}}))},r}function Vst(e,t,n,i){var r=e.size;if(Cot(t,n,r))return e;var a=Fot(t,r),o=Tot(n,r);if(a!=a||o!=o)return Vst(e.toSeq().cacheResult(),t,n,i);var s,l=o-a;l==l&&(s=l<0?0:l);var u=alt(e);return u.size=0===s?s:e.size&&s||void 0,!i&&Got(e)&&s>=0&&(u.get=function(t,n){return(t=Pot(this,t))>=0&&t<s?e.get(t+a,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var o=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=o++<a))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new Jot(tst);var r=e.__iterator(t,n),o=0,l=0;return new Jot((function(){for(;o++<a;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:est(t,l-1,0===t?void 0:e.value[1],e)}))},u}function Yst(e,t,n,i){var r=alt(e);return r.__iterateUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterate(r,a);var s=!0,l=0;return e.__iterate((function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,r(e,i?a:l-1,o)})),l},r.__iteratorUncached=function(r,a){var o=this;if(a)return this.cacheResult().__iterator(r,a);var s=e.__iterator(2,a),l=!0,u=0;return new Jot((function(){var e,a,c;do{if((e=s.next()).done)return i||1===r?e:est(r,u++,0===r?void 0:e.value[1],e);var d=e.value;a=d[0],c=d[1],l&&(l=t.call(n,c,a,o))}while(l);return 2===r?e:est(r,a,c,e)}))},r}function Zst(e,t){var n=$ot(e),i=[e].concat(t).map((function(e){return Rot(e)?n&&(e=Mot(e)):e=n?vst(e):bst(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&&$ot(r)||zot(e)&&zot(r))return r}var a=new pst(i);return n?a=a.toKeyedSeq():zot(e)||(a=a.toSetSeq()),(a=a.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),a}function Hst(e,t,n){var i=alt(e);return i.__iterateUncached=function(r,a){if(a)return this.cacheResult().__iterate(r,a);var o=0,s=!1;return function e(l,u){l.__iterate((function(a,l){return(!t||u<t)&&Rot(a)?e(a,u+1):(o++,!1===r(a,n?l:o-1,i)&&(s=!0)),!s}),a)}(e,0),o},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(i,r),o=[],s=0;return new Jot((function(){for(;a;){var e=a.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(o.length<t)||!Rot(l))return n?e:est(i,s++,l,e);o.push(a),a=l.__iterator(i,r)}else a=o.pop()}return{value:void 0,done:!0}}))},i}function Kst(e,t,n){t||(t=slt);var i=$ot(e),r=0,a=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return a.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){a[t].length=2}:function(e,t){a[t]=e[1]}),i?ust(a):zot(e)?cst(a):dst(a)}function Jst(e,t,n){if(t||(t=slt),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return elt(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return elt(t,e,n)?n:e}))}function elt(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function tlt(e,t,n,i){var r=alt(e),a=new pst(n).map((function(e){return e.size}));return r.size=i?a.max():a.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 a=n.map((function(e){return e=Not(e),rst(r?e.reverse():e)})),o=0,s=!1;return new Jot((function(){var n;return s||(n=a.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}:est(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function nlt(e,t){return e===t?e:Got(e)?t:e.constructor(t)}function ilt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function rlt(e){return $ot(e)?Mot:zot(e)?Uot:Bot}function alt(e){return Object.create(($ot(e)?ust:zot(e)?cst:dst).prototype)}function olt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):lst.prototype.cacheResult.call(this)}function slt(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 llt(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 ult(e,t){if(!e)throw new Error(t)}function clt(e){ult(e!==1/0,"Cannot perform this action with an infinite size.")}function dlt(e){if(sst(e)&&"string"!=typeof e)return e;if(Yot(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function plt(e){return"object"==typeof e&&(Xot(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function hlt(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function flt(e,t,n){return Xot(e)?e.get(t,n):function(e,t){return Xot(e)?e.has(t):plt(e)&&ost.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function mlt(e){if(Array.isArray(e))return llt(e);var t={};for(var n in e)ost.call(e,n)&&(t[n]=e[n]);return t}function glt(e,t,n,i){i||(i=n,n=void 0);var r=vlt(Xot(e),e,dlt(t),0,n,i);return r===_ot?n:r}function vlt(e,t,n,i,r,a){var o=t===_ot;if(i===n.length){var s=o?r:t,l=a(s);return l===s?t:l}if(!o&&!plt(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(hlt)+"]: "+t);var u=n[i],c=o?_ot:flt(t,u,_ot),d=vlt(c===_ot?e:Xot(c),c,n,i+1,r,a);return d===c?t:d===_ot?function(e,t){if(!plt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Xot(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!ost.call(e,t))return e;var n=mlt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!plt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Xot(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(ost.call(e,t)&&n===e[t])return e;var i=mlt(e);return i[t]=n,i}(o?e?qlt():{}:t,u,d)}function blt(e,t){return function(e,t,n){return glt(e,t,_ot,(function(){return n}))}(this,e,t)}function ylt(e){return function(e,t){return glt(e,t,(function(){return _ot}))}(this,e)}function Olt(e,t,n,i){return glt(e,[t],n,i)}function wlt(e,t,n){return 1===arguments.length?e(this):Olt(this,e,t,n)}function _lt(e,t,n){return glt(this,e,t,n)}function klt(e,t,n){for(var i=[],r=0;r<t.length;r++){var a=Mot(t[r]);0!==a.size&&i.push(a)}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){Olt(e,i,_ot,(function(e){return e===_ot?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 xlt(e,t,n){return Slt(e,t,function(e){function t(n,i,r){return plt(n)&&plt(i)?Slt(n,[i],t):e?e(n,i,r):i}return t}(n))}function Slt(e,t,n){if(!plt(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(Xot(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,a=i?Uot:Mot,o=i?function(t){r===e&&(r=mlt(r)),r.push(t)}:function(t,i){var a=ost.call(r,i),o=a&&n?n(r[i],t,i):t;a&&o===r[i]||(r===e&&(r=mlt(r)),r[i]=o)},s=0;s<t.length;s++)a(t[s]).forEach(o);return r}function Plt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return glt(this,e,qlt(),(function(e){return Slt(e,t)}))}function Elt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return glt(this,e,qlt(),(function(e){return xlt(e,t)}))}function Clt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Flt(){return this.__ownerID?this:this.__ensureOwner(new xot)}function Tlt(){return this.__ensureOwner()}function Dlt(){return this.__altered}Mst.prototype.cacheResult=Nst.prototype.cacheResult=Ust.prototype.cacheResult=Bst.prototype.cacheResult=olt;var Alt=function(e){function t(t){return null==t?qlt():wst(t)&&!Yot(t)?t:qlt().withMutations((function(n){var i=e(t);clt(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 qlt().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 Glt(this,e,t)},t.prototype.remove=function(e){return Glt(this,e,_ot)},t.prototype.deleteAll=function(e){var t=Not(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):qlt()},t.prototype.sort=function(e){return gut(Kst(this,e))},t.prototype.sortBy=function(e,t){return gut(Kst(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 Nlt(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?Blt(this.size,this._root,e,this.__hash):0===this.size?qlt():(this.__ownerID=e,this.__altered=!1,this)},t}(Mot);Alt.isMap=wst;var Ilt=Alt.prototype;Ilt[Ost]=!0,Ilt.delete=Ilt.remove,Ilt.removeAll=Ilt.deleteAll,Ilt.setIn=blt,Ilt.removeIn=Ilt.deleteIn=ylt,Ilt.update=wlt,Ilt.updateIn=_lt,Ilt.merge=Ilt.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return klt(this,e)},Ilt.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 klt(this,t,e)},Ilt.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return xlt(this,e)},Ilt.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return xlt(this,t,e)},Ilt.mergeIn=Plt,Ilt.mergeDeepIn=Elt,Ilt.withMutations=Clt,Ilt.wasAltered=Dlt,Ilt.asImmutable=Tlt,Ilt["@@transducer/init"]=Ilt.asMutable=Flt,Ilt["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Ilt["@@transducer/result"]=function(e){return e.asImmutable()};var Rlt=function(e,t){this.ownerID=e,this.entries=t};Rlt.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(xst(n,r[a][0]))return r[a][1];return i},Rlt.prototype.update=function(e,t,n,i,r,a,o){for(var s=r===_ot,l=this.entries,u=0,c=l.length;u<c&&!xst(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(kot(o),(s||!d)&&kot(a),!s||1!==l.length){if(!d&&!s&&l.length>=Hlt)return function(e,t,n,i){e||(e=new xot);for(var r=new zlt(e,Cst(n),[n,i]),a=0;a<t.length;a++){var o=t[a];r=r.update(e,0,void 0,o[0],o[1])}return r}(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:llt(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Rlt(e,h)}};var Llt=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Llt.prototype.get=function(e,t,n,i){void 0===t&&(t=Cst(n));var r=1<<((0===e?t:t>>>e)&wot),a=this.bitmap;return 0==(a&r)?i:this.nodes[Ylt(a&r-1)].get(e+5,t,n,i)},Llt.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Cst(i));var s=(0===t?n:n>>>t)&wot,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===_ot)return this;var d=Ylt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=Wlt(h,e,t+5,n,i,r,a,o);if(f===h)return this;if(!c&&f&&p.length>=Klt)return function(e,t,n,i,r){for(var a=0,o=new Array(Oot),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[a++]:void 0;return o[i]=r,new $lt(e,a+1,o)}(e,p,u,s,f);if(c&&!f&&2===p.length&&Xlt(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&Xlt(f))return f;var m=e&&e===this.ownerID,g=c?f?u:u^l:u|l,v=c?f?Zlt(p,d,f,m):function(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),a=0,o=0;o<i;o++)o===t&&(a=1),r[o]=e[o+a];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 a=new Array(r),o=0,s=0;s<r;s++)s===t?(a[s]=n,o=-1):a[s]=e[s+o];return a}(p,d,f,m);return m?(this.bitmap=g,this.nodes=v,this):new Llt(e,g,v)};var $lt=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};$lt.prototype.get=function(e,t,n,i){void 0===t&&(t=Cst(n));var r=(0===e?t:t>>>e)&wot,a=this.nodes[r];return a?a.get(e+5,t,n,i):i},$lt.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Cst(i));var s=(0===t?n:n>>>t)&wot,l=r===_ot,u=this.nodes,c=u[s];if(l&&!c)return this;var d=Wlt(c,e,t+5,n,i,r,a,o);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<Jlt)return function(e,t,n,i){for(var r=0,a=0,o=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,o[a++]=c)}return new Llt(e,r,o)}(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=Zlt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new $lt(e,p,f)};var Qlt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};Qlt.prototype.get=function(e,t,n,i){for(var r=this.entries,a=0,o=r.length;a<o;a++)if(xst(n,r[a][0]))return r[a][1];return i},Qlt.prototype.update=function(e,t,n,i,r,a,o){void 0===n&&(n=Cst(i));var s=r===_ot;if(n!==this.keyHash)return s?this:(kot(o),kot(a),Vlt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!xst(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(kot(o),(s||!d)&&kot(a),s&&2===c)return new zlt(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:llt(l);return d?s?u===c-1?h.pop():h[u]=h.pop():h[u]=[i,r]:h.push([i,r]),p?(this.entries=h,this):new Qlt(e,this.keyHash,h)};var zlt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};zlt.prototype.get=function(e,t,n,i){return xst(n,this.entry[0])?this.entry[1]:i},zlt.prototype.update=function(e,t,n,i,r,a,o){var s=r===_ot,l=xst(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(kot(o),s?void kot(a):l?e&&e===this.ownerID?(this.entry[1]=r,this):new zlt(e,this.keyHash,[i,r]):(kot(a),Vlt(this,e,t,Cst(i),[i,r])))},Rlt.prototype.iterate=Qlt.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},Llt.prototype.iterate=$lt.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var a=n[t?r-i:i];if(a&&!1===a.iterate(e,t))return!1}},zlt.prototype.iterate=function(e,t){return e(this.entry)};var jlt,Nlt=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Ult(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 Mlt(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Mlt(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var a=n.nodes[this._reverse?r-i:i];if(a){if(a.entry)return Mlt(e,a.entry);t=this._stack=Ult(a,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(Jot);function Mlt(e,t){return est(e,t[0],t[1])}function Ult(e,t){return{node:e,index:0,__prev:t}}function Blt(e,t,n,i){var r=Object.create(Ilt);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function qlt(){return jlt||(jlt=Blt(0))}function Glt(e,t,n){var i,r;if(e._root){var a={value:!1},o={value:!1};if(i=Wlt(e._root,e.__ownerID,0,void 0,t,n,a,o),!o.value)return e;r=e.size+(a.value?n===_ot?-1:1:0)}else{if(n===_ot)return e;r=1,i=new Rlt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?Blt(r,i):qlt()}function Wlt(e,t,n,i,r,a,o,s){return e?e.update(t,n,i,r,a,o,s):a===_ot?e:(kot(s),kot(o),new zlt(t,i,[r,a]))}function Xlt(e){return e.constructor===zlt||e.constructor===Qlt}function Vlt(e,t,n,i,r){if(e.keyHash===i)return new Qlt(t,i,[e.entry,r]);var a,o=(0===n?e.keyHash:e.keyHash>>>n)&wot,s=(0===n?i:i>>>n)&wot,l=o===s?[Vlt(e,t,n+5,i,r)]:(a=new zlt(t,i,r),o<s?[e,a]:[a,e]);return new Llt(t,1<<o|1<<s,l)}function Ylt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Zlt(e,t,n,i){var r=i?e:llt(e);return r[t]=n,r}var Hlt=8,Klt=16,Jlt=8,eut="@@__IMMUTABLE_LIST__@@";function tut(e){return Boolean(e&&e[eut])}var nut=function(e){function t(t){var n=uut();if(null==t)return n;if(tut(t))return t;var i=e(t),r=i.size;return 0===r?n:(clt(r),r>0&&r<Oot?lut(0,r,5,null,new rut(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=Pot(this,e))>=0&&e<this.size){var n=put(this,e+=this._origin);return n&&n.array[e&wot]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=Pot(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?hut(e,t).set(0,n):hut(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,a={value:!1};t>=fut(e._capacity)?i=cut(i,e.__ownerID,0,t,n,a):r=cut(r,e.__ownerID,e._level,t,n,a);if(!a.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return lut(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):uut()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){hut(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return hut(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){hut(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return hut(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],a=e("string"!=typeof r&&nst(r)?r:[r]);0!==a.size&&n.push(a)}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 hut(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 Cot(e,t,n)?this:hut(this,Fot(e,n),Tot(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=sut(this,t);return new Jot((function(){var r=i();return r===out?{value:void 0,done:!0}:est(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=sut(this,t);(n=r())!==out&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?lut(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?uut():(this.__ownerID=e,this.__altered=!1,this)},t}(Uot);nut.isList=tut;var iut=nut.prototype;iut[eut]=!0,iut.delete=iut.remove,iut.merge=iut.concat,iut.setIn=blt,iut.deleteIn=iut.removeIn=ylt,iut.update=wlt,iut.updateIn=_lt,iut.mergeIn=Plt,iut.mergeDeepIn=Elt,iut.withMutations=Clt,iut.wasAltered=Dlt,iut.asImmutable=Tlt,iut["@@transducer/init"]=iut.asMutable=Flt,iut["@@transducer/step"]=function(e,t){return e.push(t)},iut["@@transducer/result"]=function(e){return e.asImmutable()};var rut=function(e,t){this.array=e,this.ownerID=t};rut.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&wot;if(i>=this.array.length)return new rut([],e);var r,a=0===i;if(t>0){var o=this.array[i];if((r=o&&o.removeBefore(e,t-5,n))===o&&a)return this}if(a&&!r)return this;var s=dut(this,e);if(!a)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},rut.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&wot;if(r>=this.array.length)return this;if(t>0){var a=this.array[r];if((i=a&&a.removeAfter(e,t-5,n))===a&&r===this.array.length-1)return this}var o=dut(this,e);return o.array.splice(r+1),i&&(o.array[r]=i),o};var aut,out={};function sut(e,t){var n=e._origin,i=e._capacity,r=fut(i),a=e._tail;return o(e._root,e._level,0);function o(e,s,l){return 0===s?function(e,o){var s=o===r?a&&a.array:e&&e.array,l=o>n?0:n-o,u=i-o;u>Oot&&(u=Oot);return function(){if(l===u)return out;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,a){var s,l=e&&e.array,u=a>n?0:n-a>>r,c=1+(i-a>>r);c>Oot&&(c=Oot);return function(){for(;;){if(s){var e=s();if(e!==out)return e;s=null}if(u===c)return out;var n=t?--c:u++;s=o(l&&l[n],r-5,a+(n<<r))}}}(e,s,l)}}function lut(e,t,n,i,r,a,o){var s=Object.create(iut);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=a,s.__hash=o,s.__altered=!1,s}function uut(){return aut||(aut=lut(0,0,5))}function cut(e,t,n,i,r,a){var o,s=i>>>n&wot,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=cut(u,t,n-5,i,r,a);return c===u?e:((o=dut(e,t)).array[s]=c,o)}return l&&e.array[s]===r?e:(a&&kot(a),o=dut(e,t),void 0===r&&s===o.array.length-1?o.array.pop():o.array[s]=r,o)}function dut(e,t){return t&&e&&t===e.ownerID?e:new rut(e?e.array.slice():[],t)}function put(e,t){if(t>=fut(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&wot],i-=5;return n}}function hut(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new xot,r=e._origin,a=e._capacity,o=r+t,s=void 0===n?a:n<0?a+n:r+n;if(o===r&&s===a)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,c=0;o+c<0;)u=new rut(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(o+=c,r+=c,s+=c,a+=c);for(var d=fut(a),p=fut(s);p>=1<<l+5;)u=new rut(u&&u.array.length?[u]:[],i),l+=5;var h=e._tail,f=p<d?put(e,s-1):p>d?new rut([],i):h;if(h&&p>d&&o<a&&h.array.length){for(var m=u=dut(u,i),g=l;g>5;g-=5){var v=d>>>g&wot;m=m.array[v]=dut(m.array[v],i)}m.array[d>>>5&wot]=h}if(s<a&&(f=f&&f.removeAfter(i,0,s)),o>=p)o-=p,s-=p,l=5,u=null,f=f&&f.removeBefore(i,0,o);else if(o>r||p<d){for(c=0;u;){var b=o>>>l&wot;if(b!==p>>>l&wot)break;b&&(c+=(1<<l)*b),l-=5,u=u.array[b]}u&&o>r&&(u=u.removeBefore(i,l,o-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(o-=c,s-=c)}return e.__ownerID?(e.size=s-o,e._origin=o,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):lut(o,s,l,u,f)}function fut(e){return e<Oot?0:e-1>>>5<<5}var mut,gut=function(e){function t(e){return null==e?but():_st(e)?e:but().withMutations((function(t){var n=Mot(e);clt(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):but()},t.prototype.set=function(e,t){return yut(this,e,t)},t.prototype.remove=function(e){return yut(this,e,_ot)},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?vut(t,n,e,this.__hash):0===this.size?but():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(Alt);function vut(e,t,n,i){var r=Object.create(gut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function but(){return mut||(mut=vut(qlt(),uut()))}function yut(e,t,n){var i,r,a=e._map,o=e._list,s=a.get(t),l=void 0!==s;if(n===_ot){if(!l)return e;o.size>=Oot&&o.size>=2*a.size?(r=o.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=a.remove(t),r=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;i=a,r=o.set(s,[t,n])}else i=a.set(t,o.size),r=o.set(o.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):vut(i,r)}gut.isOrderedMap=_st,gut.prototype[Vot]=!0,gut.prototype.delete=gut.prototype.remove;var Out="@@__IMMUTABLE_STACK__@@";function wut(e){return Boolean(e&&e[Out])}var _ut=function(e){function t(e){return null==e?Put():wut(e)?e:Put().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=Pot(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):Sut(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&wut(t))return t;clt(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):Sut(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):Put()},t.prototype.slice=function(t,n){if(Cot(t,n,this.size))return this;var i=Fot(t,this.size);if(Tot(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,a=this._head;i--;)a=a.next;return this.__ownerID?(this.size=r,this._head=a,this.__hash=void 0,this.__altered=!0,this):Sut(r,a)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Sut(this.size,this._head,e,this.__hash):0===this.size?Put():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new pst(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 pst(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new Jot((function(){if(i){var t=i.value;return i=i.next,est(e,n++,t)}return{value:void 0,done:!0}}))},t}(Uot);_ut.isStack=wut;var kut,xut=_ut.prototype;function Sut(e,t,n,i){var r=Object.create(xut);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Put(){return kut||(kut=Sut(0))}xut[Out]=!0,xut.shift=xut.pop,xut.unshift=xut.push,xut.unshiftAll=xut.pushAll,xut.withMutations=Clt,xut.wasAltered=Dlt,xut.asImmutable=Tlt,xut["@@transducer/init"]=xut.asMutable=Flt,xut["@@transducer/step"]=function(e,t){return e.unshift(t)},xut["@@transducer/result"]=function(e){return e.asImmutable()};var Eut="@@__IMMUTABLE_SET__@@";function Cut(e){return Boolean(e&&e[Eut])}function Fut(e){return Cut(e)&&Yot(e)}function Tut(e,t){if(e===t)return!0;if(!Rot(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||$ot(e)!==$ot(t)||zot(e)!==zot(t)||Yot(e)!==Yot(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!jot(e);if(Yot(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&xst(r[1],e)&&(n||xst(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 a=e;e=t,t=a}var o=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!xst(t,e.get(i,_ot)):!xst(e.get(i,_ot),t))return o=!1,!1}));return o&&e.size===s}function Dut(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 Aut(e){if(!e||"object"!=typeof e)return e;if(!Rot(e)){if(!plt(e))return e;e=lst(e)}if($ot(e)){var t={};return e.__iterate((function(e,n){t[n]=Aut(e)})),t}var n=[];return e.__iterate((function(e){n.push(Aut(e))})),n}var Iut=function(e){function t(t){return null==t?zut():Cut(t)&&!Yot(t)?t:zut().withMutations((function(n){var i=e(t);clt(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(Mot(e).keySeq())},t.intersect=function(e){return(e=Not(e).toArray()).length?Lut.intersect.apply(t(e.pop()),e):zut()},t.union=function(e){return(e=Not(e).toArray()).length?Lut.union.apply(t(e.pop()),e):zut()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return $ut(this,this._map.set(e,e))},t.prototype.remove=function(e){return $ut(this,this._map.remove(e))},t.prototype.clear=function(){return $ut(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(a){var o=e.call(t,a,a,n);o!==a&&(i.push(a),r.push(o))})),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 ect(Kst(this,e))},t.prototype.sortBy=function(e,t){return ect(Kst(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}(Bot);Iut.isSet=Cut;var Rut,Lut=Iut.prototype;function $ut(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 Qut(e,t){var n=Object.create(Lut);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function zut(){return Rut||(Rut=Qut(qlt()))}Lut[Eut]=!0,Lut.delete=Lut.remove,Lut.merge=Lut.concat=Lut.union,Lut.withMutations=Clt,Lut.asImmutable=Tlt,Lut["@@transducer/init"]=Lut.asMutable=Flt,Lut["@@transducer/step"]=function(e,t){return e.add(t)},Lut["@@transducer/result"]=function(e){return e.asImmutable()},Lut.__empty=zut,Lut.__make=Qut;var jut,Nut=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(ult(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(jut)return jut;jut=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+Pot(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 Cot(e,n,this.size)?this:(e=Fot(e,this.size),(n=Tot(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,a=0;a!==n&&!1!==e(r,t?n-++a:a++,this);)r+=t?-i:i;return a},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,a=0;return new Jot((function(){if(a===n)return{value:void 0,done:!0};var o=r;return r+=t?-i:i,est(e,t?n-++a:a++,o)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:Tut(this,e)},t}(cst);function Mut(e,t,n){for(var i=dlt(t),r=0;r!==i.length;)if((e=flt(e,i[r++],_ot))===_ot)return n;return e}function Uut(){clt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}Not.isIterable=Rot,Not.isKeyed=$ot,Not.isIndexed=zot,Not.isAssociative=jot,Not.isOrdered=Yot,Not.Iterator=Jot,Dut(Not,{toArray:function(){clt(this.size);var e=new Array(this.size||0),t=$ot(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Mst(this)},toJS:function(){return Aut(this)},toKeyedSeq:function(){return new Nst(this,!0)},toMap:function(){return Alt(this.toKeyedSeq())},toObject:Uut,toOrderedMap:function(){return gut(this.toKeyedSeq())},toOrderedSet:function(){return ect($ot(this)?this.valueSeq():this)},toSet:function(){return Iut($ot(this)?this.valueSeq():this)},toSetSeq:function(){return new Ust(this)},toSeq:function(){return zot(this)?this.toIndexedSeq():$ot(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return _ut($ot(this)?this.valueSeq():this)},toList:function(){return nut($ot(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 nlt(this,Zst(this,e))},includes:function(e){return this.some((function(t){return xst(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){clt(this.size);var n=!0;return this.__iterate((function(i,r,a){if(!e.call(t,i,r,a))return n=!1,!1})),n},filter:function(e,t){return nlt(this,Xst(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 clt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){clt(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 nlt(this,Gst(this,e,t))},reduce:function(e,t,n){return Wut(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return Wut(this,e,t,n,arguments.length<2,!0)},reverse:function(){return nlt(this,Wst(this,!0))},slice:function(e,t){return nlt(this,Vst(this,e,t,!0))},some:function(e,t){return!this.every(Yut(e),t)},sort:function(e){return nlt(this,Kst(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 Sot(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=Alt().asMutable();return e.__iterate((function(r,a){i.update(t.call(n,r,a,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return Tut(this,e)},entrySeq:function(){var e=this;if(e._cache)return new pst(e._cache);var t=e.toSeq().map(Vut).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Yut(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,a){if(e.call(t,n,r,a))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(Eot,null,e)},flatMap:function(e,t){return nlt(this,function(e,t,n){var i=rlt(e);return e.toSeq().map((function(r,a){return i(t.call(n,r,a,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return nlt(this,Hst(this,e,!0))},fromEntrySeq:function(){return new Bst(this)},get:function(e,t){return this.find((function(t,n){return xst(n,e)}),void 0,t)},getIn:function(e,t){return Mut(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=$ot(e),r=(Yot(e)?gut():Alt()).asMutable();e.__iterate((function(a,o){r.update(t.call(n,a,o,e),(function(e){return(e=e||[]).push(i?[o,a]:a),e}))}));var a=rlt(e);return r.map((function(t){return nlt(e,a(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,_ot)!==_ot},hasIn:function(e){return function(e,t){return Mut(e,t,_ot)!==_ot}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:Not(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:Not(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return xst(t,e)}))},keySeq:function(){return this.toSeq().map(Xut).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Jst(this,e)},maxBy:function(e,t){return Jst(this,t,e)},min:function(e){return Jst(this,e?Zut(e):Kut)},minBy:function(e,t){return Jst(this,t?Zut(t):Kut,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 nlt(this,Yst(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Yut(e),t)},sortBy:function(e,t){return nlt(this,Kst(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 nlt(this,function(e,t,n){var i=alt(e);return i.__iterateUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterate(i,r);var o=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++o&&i(e,r,a)})),o},i.__iteratorUncached=function(i,r){var a=this;if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(2,r),s=!0;return new Jot((function(){if(!s)return{value:void 0,done:!0};var e=o.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,a)?2===i?e:est(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Yut(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=Yot(e),n=$ot(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+Jut(Cst(e),Cst(t))|0}:function(e,t){i=i+Jut(Cst(e),Cst(t))|0}:t?function(e){i=31*i+Cst(e)|0}:function(e){i=i+Cst(e)|0});return function(e,t){return t=Sst(t,3432918353),t=Sst(t<<15|t>>>-15,461845907),t=Sst(t<<13|t>>>-13,5),t=Sst((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Pst((t=Sst(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var But=Not.prototype;But[Iot]=!0,But[Kot]=But.values,But.toJSON=But.toArray,But.__toStringMapper=hlt,But.inspect=But.toSource=function(){return this.toString()},But.chain=But.flatMap,But.contains=But.includes,Dut(Mot,{flip:function(){return nlt(this,qst(this))},mapEntries:function(e,t){var n=this,i=0;return nlt(this,this.toSeq().map((function(r,a){return e.call(t,[a,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return nlt(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var qut=Mot.prototype;qut[Lot]=!0,qut[Kot]=But.entries,qut.toJSON=Uut,qut.__toStringMapper=function(e,t){return hlt(t)+": "+hlt(e)},Dut(Uot,{toKeyedSeq:function(){return new Nst(this,!1)},filter:function(e,t){return nlt(this,Xst(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 nlt(this,Wst(this,!1))},slice:function(e,t){return nlt(this,Vst(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=Fot(e,e<0?this.count():this.size);var i=this.slice(0,e);return nlt(this,1===n?i:i.concat(llt(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 nlt(this,Hst(this,e,!1))},get:function(e,t){return(e=Pot(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=Pot(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return nlt(this,function(e,t){var n=alt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,a=0;return e.__iterate((function(e){return(!a||!1!==n(t,a++,r))&&!1!==n(e,a++,r)}),i),a},n.__iteratorUncached=function(n,i){var r,a=e.__iterator(1,i),o=0;return new Jot((function(){return(!r||o%2)&&(r=a.next()).done?r:o%2?est(n,o++,t):est(n,o++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(llt(arguments)),t=tlt(this.toSeq(),cst.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),nlt(this,n)},keySeq:function(){return Nut(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return nlt(this,Yst(this,e,t,!1))},zip:function(){var e=[this].concat(llt(arguments));return nlt(this,tlt(this,Hut,e))},zipAll:function(){var e=[this].concat(llt(arguments));return nlt(this,tlt(this,Hut,e,!0))},zipWith:function(e){var t=llt(arguments);return t[0]=this,nlt(this,tlt(this,e,t))}});var Gut=Uot.prototype;function Wut(e,t,n,i,r,a){return clt(e.size),e.__iterate((function(e,a,o){r?(r=!1,n=e):n=t.call(i,n,e,a,o)}),a),n}function Xut(e,t){return t}function Vut(e,t){return[t,e]}function Yut(e){return function(){return!e.apply(this,arguments)}}function Zut(e){return function(){return-e.apply(this,arguments)}}function Hut(){return llt(arguments)}function Kut(e,t){return e<t?1:e>t?-1:0}function Jut(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Gut[Qot]=!0,Gut[Vot]=!0,Dut(Bot,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),Bot.prototype.has=But.includes,Bot.prototype.contains=Bot.prototype.includes,Dut(ust,Mot.prototype),Dut(cst,Uot.prototype),Dut(dst,Bot.prototype);var ect=function(e){function t(e){return null==e?rct():Fut(e)?e:rct().withMutations((function(t){var n=Bot(e);clt(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(Mot(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(Iut);ect.isOrderedSet=Fut;var tct,nct=ect.prototype;function ict(e,t){var n=Object.create(nct);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function rct(){return tct||(tct=ict(but()))}nct[Vot]=!0,nct.zip=Gut.zip,nct.zipWith=Gut.zipWith,nct.__empty=rct,nct.__make=ict;var act={exports:{}};
174
174
  /*!
175
175
  Copyright (c) 2015 Jed Watson.
176
176
  Based on code that is Copyright 2013-2015, Facebook, Inc.