@livetiles/reach-components-react 0.5.0-preview.694 → 0.5.0-preview.696
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm2.js +2 -2
- package/index.umd.js +2 -2
- package/package.json +1 -1
package/index.umd.js
CHANGED
|
@@ -102,7 +102,7 @@ var Rw,jw=function(e,t){return jw=Object.setPrototypeOf||{__proto__:[]}instanceo
|
|
|
102
102
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
103
103
|
PERFORMANCE OF THIS SOFTWARE.
|
|
104
104
|
***************************************************************************** */
|
|
105
|
-
var eB=function(){return eB=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},eB.apply(this,arguments)};function tB(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))}function nB(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var iB=function(e,t,n,i){var r=this;this.env=e,this.apiEndpoint=t,this.getToken=n,this.handleError=i,this.apiCache={},this.createApi=function(e,t){var n=t+e;return null!=r.apiCache[n]?r.apiCache[n]:r.apiCache[n]=r.createApiInternal(e,t)},this.createApiInternal=function(e,t){var n=Ro.fetchBackend(fetch),i=za(r.apiEndpoint,n);return i.addRequestInterceptor((function(n){return tB(r,void 0,void 0,(function(){var i=this;return nB(this,(function(r){return!n.url.startsWith(this.apiEndpoint)||e?[2,n]:[2,this.getToken().then((function(e){return tB(i,void 0,void 0,(function(){return nB(this,(function(i){return n.headers=n.headers||{},n.headers.Authorization="Bearer "+e,rB(this.env,n.headers),t&&(n.headers["subscription-id"]=t),[2,n]}))}))}))]}))}))})),i.addErrorInterceptor((function(e,t){return tB(r,void 0,void 0,(function(){return nB(this,(function(n){switch(n.label){case 0:return[4,this.handleError(e,t)];case 1:return[2,n.sent()]}}))}))})),r.env.isProduction||r.addRequestTimeLogger(i),i},this.addRequestTimeLogger=function(e){e.addRequestInterceptor((function(e){return e.startTime=performance.now(),e})),e.addResponseInterceptor((function(e,t){var n=performance.now()-t.startTime;return ig.verbose("Request '"+t.url+"' took: "+(n/1e3).toFixed(3)+" seconds"),e}))},this.createApiUrl=function(e,t){return t||(t={}),rB(r.env,t),""+r.apiEndpoint+e+"?"+Xm.stringify(t)},this.fetchFromApi=function(e,t){return void 0===t&&(t={}),function(e,t,n,i){return void 0===i&&(i={}),i.headers||(i.headers={}),rB(t,i.headers),fetch(""+e.apiEndpoint+n,i)}({apiEndpoint:r.apiEndpoint},r.env,e,t)}};function rB(e,t){t["X-Condense-Client"]=function(e){if(e.isNativeMobileApp)return e.deviceInfo.platform;if(e.isTeams)return"teams";return"web"}(e),t["X-Condense-Client-Version"]=e.version,t["X-Condense-Client-BuildId"]=e.buildId,t["X-Condense-Preferred-Language"]=pw();try{"ie"!==e.browserName&&(t["X-Condense-Preferred-TimeZone"]=hw())}catch(e){ig.error("Failed to get the timezone",e)}}function oB(e){var
|
|
105
|
+
var eB=function(){return eB=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},eB.apply(this,arguments)};function tB(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))}function nB(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var iB=function(e,t,n,i){var r=this;this.env=e,this.apiEndpoint=t,this.getToken=n,this.handleError=i,this.apiCache={},this.createApi=function(e,t){var n=t+e;return null!=r.apiCache[n]?r.apiCache[n]:r.apiCache[n]=r.createApiInternal(e,t)},this.createApiInternal=function(e,t){var n=Ro.fetchBackend(fetch),i=za(r.apiEndpoint,n);return i.addRequestInterceptor((function(n){return tB(r,void 0,void 0,(function(){var i=this;return nB(this,(function(r){return!n.url.startsWith(this.apiEndpoint)||e?[2,n]:[2,this.getToken().then((function(e){return tB(i,void 0,void 0,(function(){return nB(this,(function(i){return n.headers=n.headers||{},n.headers.Authorization="Bearer "+e,rB(this.env,n.headers),t&&(n.headers["subscription-id"]=t),[2,n]}))}))}))]}))}))})),i.addErrorInterceptor((function(e,t){return tB(r,void 0,void 0,(function(){return nB(this,(function(n){switch(n.label){case 0:return[4,this.handleError(e,t)];case 1:return[2,n.sent()]}}))}))})),r.env.isProduction||r.addRequestTimeLogger(i),i},this.addRequestTimeLogger=function(e){e.addRequestInterceptor((function(e){return e.startTime=performance.now(),e})),e.addResponseInterceptor((function(e,t){var n=performance.now()-t.startTime;return ig.verbose("Request '"+t.url+"' took: "+(n/1e3).toFixed(3)+" seconds"),e}))},this.createApiUrl=function(e,t){return t||(t={}),rB(r.env,t),""+r.apiEndpoint+e+"?"+Xm.stringify(t)},this.fetchFromApi=function(e,t){return void 0===t&&(t={}),function(e,t,n,i){return void 0===i&&(i={}),i.headers||(i.headers={}),rB(t,i.headers),fetch(""+e.apiEndpoint+n,i)}({apiEndpoint:r.apiEndpoint},r.env,e,t)}};function rB(e,t){t["X-Condense-Client"]=function(e){if(e.isNativeMobileApp)return e.deviceInfo.platform;if(e.isTeams)return"teams";return"web"}(e),t["X-Condense-Client-Version"]=e.version,t["X-Condense-Client-BuildId"]=e.buildId,t["X-Condense-Preferred-Language"]=pw();try{"ie"!==e.browserName&&(t["X-Condense-Preferred-TimeZone"]=hw())}catch(e){ig.error("Failed to get the timezone",e)}}function oB(e,t){var n=Am().apiEndpoint,r=Im(),o=Bw(),a=o.onRequestToken,s=o.onHandleError,l=i.useCallback((function(t,n){return tB(this,void 0,void 0,(function(){return nB(this,(function(i){switch(i.label){case 0:return[4,null==e?void 0:e(t,n)];case 1:return!0===i.sent()?[2]:[4,s(t,n)];case 2:return i.sent(),[2]}}))}))}),[e,s]);return i.useMemo((function(){return new iB(r,t||n,a,l)}),[r,n,t,a,l])}function aB(e,t){var n=oB(e,t),r=i.useContext(_S).identifier,o=null==r?void 0:r.id;return i.useMemo((function(){return n.createApi(!1,o)}),[n,o])}function sB(){var e=oB().createApiUrl;return function(t,n,i,r){var o=e(t,eB(eB({},r),{access_token:n,subscriptionId:i}));navigator.sendBeacon(o)}}var lB=BM,uB=Array.isArray||function(e){return"Array"==lB(e)},cB=uB,dB=TR,pB=Xj,hB=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,d=!!a&&pB(a,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&cB(l))u=hB(e,t,l,dB(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},fB=hB,mB=XM,gB=ZM,vB=uB,yB=Aj("species"),bB=fB,OB=function(e){return Object(mB(e))},_B=TR,wB=Qj,xB=function(e,t){var n;return vB(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!vB(n.prototype)?gB(n)&&null===(n=n[yB])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};vj({target:"Array",proto:!0},{flatMap:function(e){var t,n=OB(this),i=_B(n.length);return wB(e),(t=xB(n,0)).length=bB(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var kB,SB=BR,PB=qR,EB=Object.keys||function(e){return SB(e,PB)},CB=gz,FB=yz,TB=EB,DB=MM?Object.defineProperties:function(e,t){FB(e);for(var n,i=TB(t),r=i.length,o=0;r>o;)CB.f(e,n=i[o++],t[n]);return e},AB=yz,IB=DB,LB=qR,$B=Kz,MB=wQ,zB=oz,RB=Zz("IE_PROTO"),jB=function(){},QB=function(e){return"<script>"+e+"</"+"script>"},NB=function(){try{kB=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;NB=kB?function(e){e.write(QB("")),e.close();var t=e.parentWindow.Object;return e=null,t}(kB):((t=zB("iframe")).style.display="none",MB.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(QB("document.F=Object")),e.close(),e.F);for(var n=LB.length;n--;)delete NB.prototype[LB[n]];return NB()};$B[RB]=!0;var UB=Object.create||function(e,t){var n;return null!==e?(jB.prototype=AB(e),n=new jB,jB.prototype=null,n[RB]=e):n=NB(),void 0===t?n:IB(n,t)},BB=UB,qB=gz,GB=Aj("unscopables"),WB=Array.prototype;null==WB[GB]&&qB.f(WB,GB,{configurable:!0,value:BB(null)});(function(e){WB[GB][e]=!0})("flatMap");var XB=function(e){var n=e.gqlClientConfig,r=e.children,o=i.useContext(Uw).onRequestToken,a=i.useRef(null),s=i.useContext(_S).identifier,l=null==s?void 0:s.id,u=aB(),c=i.useCallback((function(){return tB(void 0,void 0,void 0,(function(){var e;return nB(this,(function(t){switch(t.label){case 0:return[4,u.all("subscriptions/gql_token").post(null)];case 1:return e=t.sent(),[2,e.body().data()]}}))}))}),[u]),d=i.useCallback((function(){return tB(this,void 0,void 0,(function(){var e,t;return nB(this,(function(i){switch(i.label){case 0:return[4,c()];case 1:return e=i.sent(),t=new gM(n.webSocketsEndpoint+"/graphql?operationName=webSocketSubscription&"+Xm.stringify({access_token:e,subscriptionId:l}),{reconnect:!0,lazy:!0}),[2,new TM(t)]}}))}))}),[n.webSocketsEndpoint,c,l]),p=i.useMemo((function(){var e=this,t=n.endPoint+"/graphql",i=new xA({uri:t}),r=f$((function(n,i){var r=i.headers;return tB(e,void 0,void 0,(function(){var e;return nB(this,(function(i){switch(i.label){case 0:return[4,o()];case 1:return e=i.sent(),[2,{uri:t+"?operationName="+n.operationName,headers:eB(eB({},r),{"subscription-id":l,authorization:e?"Bearer "+e:""})}]}}))}))})),s=VB((function(){var e;return null!==(e=a.current)&&void 0!==e?e:a.current=d()})),u=mA((function(e){var t=tD(e.query);return"OperationDefinition"===t.kind&&"subscription"===t.operation}),s,r.concat(i));return new jL({link:u,cache:new bL})}),[n.endPoint,o,d,l]);return t.jsx(i$,eB({client:p},{children:r}),void 0)},VB=function(e){return new hA((function(t,n){return sA(e()).flatMap((function(e){return e.request(t,n)}))}))},YB={exports:{}};
|
|
106
106
|
/*!
|
|
107
107
|
Copyright (c) 2017 Jed Watson.
|
|
108
108
|
Licensed under the MIT License (MIT), see
|
|
@@ -268,7 +268,7 @@ const dFe=async(e,t,n,i,r,o)=>{var a;if(e)return e.attachViewToDom(t,n,r,i);if(!
|
|
|
268
268
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
269
269
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
270
270
|
PERFORMANCE OF THIS SOFTWARE.
|
|
271
|
-
***************************************************************************** */function gQe(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 vQe(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))}function yQe(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function bQe(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}function OQe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var _Qe,wQe=function(e){var n,i=e.children,r=gQe(e,["children"]),o=foe();return t.jsxs(t.Fragment,{children:[t.jsx(xQe,{},void 0),t.jsx(a.Dialog,mQe({},r,{modalProps:mQe(mQe({},r.modalProps||{}),{className:HB(o,"lt-reach-dialog",{"lt-reach-dialog-mobile":as.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},xQe=o.createGlobalStyle(_Qe||(_Qe=OQe(['\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']))),kQe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},SQe=function(e){return e&&e.Math==Math&&e},PQe=SQe("object"==typeof globalThis&&globalThis)||SQe("object"==typeof window&&window)||SQe("object"==typeof self&&self)||SQe("object"==typeof kQe&&kQe)||Function("return this")(),EQe={},CQe=function(e){try{return!!e()}catch(e){return!0}},FQe=!CQe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),TQe={},DQe={}.propertyIsEnumerable,AQe=Object.getOwnPropertyDescriptor,IQe=AQe&&!DQe.call({1:2},1);TQe.f=IQe?function(e){var t=AQe(this,e);return!!t&&t.enumerable}:DQe;var LQe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},$Qe={}.toString,MQe=function(e){return $Qe.call(e).slice(8,-1)},zQe=MQe,RQe="".split,jQe=CQe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==zQe(e)?RQe.call(e,""):Object(e)}:Object,QQe=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},NQe=jQe,UQe=QQe,BQe=function(e){return NQe(UQe(e))},qQe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},GQe=qQe,WQe=function(e,t){if(!GQe(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!GQe(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!GQe(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!GQe(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},XQe={}.hasOwnProperty,VQe=function(e,t){return XQe.call(e,t)},YQe=qQe,HQe=PQe.document,ZQe=YQe(HQe)&&YQe(HQe.createElement),KQe=function(e){return ZQe?HQe.createElement(e):{}},JQe=KQe,eNe=!FQe&&!CQe((function(){return 7!=Object.defineProperty(JQe("div"),"a",{get:function(){return 7}}).a})),tNe=FQe,nNe=TQe,iNe=LQe,rNe=BQe,oNe=WQe,aNe=VQe,sNe=eNe,lNe=Object.getOwnPropertyDescriptor;EQe.f=tNe?lNe:function(e,t){if(e=rNe(e),t=oNe(t,!0),sNe)try{return lNe(e,t)}catch(e){}if(aNe(e,t))return iNe(!nNe.f.call(e,t),e[t])};var uNe={},cNe=qQe,dNe=function(e){if(!cNe(e))throw TypeError(String(e)+" is not an object");return e},pNe=FQe,hNe=eNe,fNe=dNe,mNe=WQe,gNe=Object.defineProperty;uNe.f=pNe?gNe:function(e,t,n){if(fNe(e),t=mNe(t,!0),fNe(n),hNe)try{return gNe(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 vNe=uNe,yNe=LQe,bNe=FQe?function(e,t,n){return vNe.f(e,t,yNe(1,n))}:function(e,t,n){return e[t]=n,e},ONe={exports:{}},_Ne=PQe,wNe=bNe,xNe=function(e,t){try{wNe(_Ne,e,t)}catch(n){_Ne[e]=t}return t},kNe=xNe,SNe="__core-js_shared__",PNe=PQe[SNe]||kNe(SNe,{}),ENe=PNe,CNe=Function.toString;"function"!=typeof ENe.inspectSource&&(ENe.inspectSource=function(e){return CNe.call(e)});var FNe=ENe.inspectSource,TNe=FNe,DNe=PQe.WeakMap,ANe="function"==typeof DNe&&/native code/.test(TNe(DNe)),INe={exports:{}},LNe=PNe;(INe.exports=function(e,t){return LNe[e]||(LNe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var $Ne,MNe,zNe,RNe=0,jNe=Math.random(),QNe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++RNe+jNe).toString(36)},NNe=INe.exports,UNe=QNe,BNe=NNe("keys"),qNe=function(e){return BNe[e]||(BNe[e]=UNe(e))},GNe={},WNe=ANe,XNe=qQe,VNe=bNe,YNe=VQe,HNe=qNe,ZNe=GNe,KNe=PQe.WeakMap;if(WNe){var JNe=new KNe,eUe=JNe.get,tUe=JNe.has,nUe=JNe.set;$Ne=function(e,t){return nUe.call(JNe,e,t),t},MNe=function(e){return eUe.call(JNe,e)||{}},zNe=function(e){return tUe.call(JNe,e)}}else{var iUe=HNe("state");ZNe[iUe]=!0,$Ne=function(e,t){return VNe(e,iUe,t),t},MNe=function(e){return YNe(e,iUe)?e[iUe]:{}},zNe=function(e){return YNe(e,iUe)}}var rUe={set:$Ne,get:MNe,has:zNe,enforce:function(e){return zNe(e)?MNe(e):$Ne(e,{})},getterFor:function(e){return function(t){var n;if(!XNe(t)||(n=MNe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},oUe=PQe,aUe=bNe,sUe=VQe,lUe=xNe,uUe=FNe,cUe=rUe.get,dUe=rUe.enforce,pUe=String(String).split("String");(ONe.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||sUe(n,"name")||aUe(n,"name",t),dUe(n).source=pUe.join("string"==typeof t?t:"")),e!==oUe?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:aUe(e,t,n)):o?e[t]=n:lUe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&cUe(this).source||uUe(this)}));var hUe=PQe,fUe=PQe,mUe=function(e){return"function"==typeof e?e:void 0},gUe=function(e,t){return arguments.length<2?mUe(hUe[e])||mUe(fUe[e]):hUe[e]&&hUe[e][t]||fUe[e]&&fUe[e][t]},vUe={},yUe=Math.ceil,bUe=Math.floor,OUe=function(e){return isNaN(e=+e)?0:(e>0?bUe:yUe)(e)},_Ue=OUe,wUe=Math.min,xUe=function(e){return e>0?wUe(_Ue(e),9007199254740991):0},kUe=OUe,SUe=Math.max,PUe=Math.min,EUe=BQe,CUe=xUe,FUe=function(e,t){var n=kUe(e);return n<0?SUe(n+t,0):PUe(n,t)},TUe=function(e){return function(t,n,i){var r,o=EUe(t),a=CUe(o.length),s=FUe(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},DUe={includes:TUe(!0),indexOf:TUe(!1)},AUe=VQe,IUe=BQe,LUe=DUe.indexOf,$Ue=GNe,MUe=function(e,t){var n,i=IUe(e),r=0,o=[];for(n in i)!AUe($Ue,n)&&AUe(i,n)&&o.push(n);for(;t.length>r;)AUe(i,n=t[r++])&&(~LUe(o,n)||o.push(n));return o},zUe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],RUe=MUe,jUe=zUe.concat("length","prototype");vUe.f=Object.getOwnPropertyNames||function(e){return RUe(e,jUe)};var QUe={};QUe.f=Object.getOwnPropertySymbols;var NUe=vUe,UUe=QUe,BUe=dNe,qUe=gUe("Reflect","ownKeys")||function(e){var t=NUe.f(BUe(e)),n=UUe.f;return n?t.concat(n(e)):t},GUe=VQe,WUe=qUe,XUe=EQe,VUe=uNe,YUe=function(e,t){for(var n=WUe(t),i=VUe.f,r=XUe.f,o=0;o<n.length;o++){var a=n[o];GUe(e,a)||i(e,a,r(t,a))}},HUe=CQe,ZUe=/#|\.prototype\./,KUe=function(e,t){var n=eBe[JUe(e)];return n==nBe||n!=tBe&&("function"==typeof t?HUe(t):!!t)},JUe=KUe.normalize=function(e){return String(e).replace(ZUe,".").toLowerCase()},eBe=KUe.data={},tBe=KUe.NATIVE="N",nBe=KUe.POLYFILL="P",iBe=KUe,rBe=PQe,oBe=EQe.f,aBe=bNe,sBe=ONe.exports,lBe=xNe,uBe=YUe,cBe=iBe,dBe=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?rBe:u?rBe[s]||lBe(s,{}):(rBe[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=oBe(n,i))&&a.value:n[i],!cBe(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;uBe(o,r)}(e.sham||r&&r.sham)&&aBe(o,"sham",!0),sBe(n,i,o,e)}},pBe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},hBe=QQe,fBe=function(e){return Object(hBe(e))},mBe=pBe,gBe=fBe,vBe=jQe,yBe=xUe,bBe=function(e){return function(t,n,i,r){mBe(n);var o=gBe(t),a=vBe(o),s=yBe(o.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in a){r=a[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 a&&(r=n(r,a[l],l,o));return r}},OBe={left:bBe(!1),right:bBe(!0)},_Be=CQe,wBe=function(e,t){var n=[][e];return!!n&&_Be((function(){n.call(null,t||function(){throw 1},1)}))},xBe=FQe,kBe=CQe,SBe=VQe,PBe=Object.defineProperty,EBe={},CBe=function(e){throw e},FBe=dBe,TBe=OBe.left,DBe=function(e,t){if(SBe(EBe,e))return EBe[e];t||(t={});var n=[][e],i=!!SBe(t,"ACCESSORS")&&t.ACCESSORS,r=SBe(t,0)?t[0]:CBe,o=SBe(t,1)?t[1]:void 0;return EBe[e]=!!n&&!kBe((function(){if(i&&!xBe)return!0;var e={length:-1};i?PBe(e,1,{enumerable:!0,get:CBe}):e[1]=1,n.call(e,r,o)}))},ABe=wBe("reduce"),IBe=DBe("reduce",{1:0});FBe({target:"Array",proto:!0,forced:!ABe||!IBe},{reduce:function(e){return TBe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var LBe=MUe,$Be=zUe,MBe=Object.keys||function(e){return LBe(e,$Be)},zBe=FQe,RBe=CQe,jBe=MBe,QBe=QUe,NBe=TQe,UBe=fBe,BBe=jQe,qBe=Object.assign,GBe=Object.defineProperty,WBe=!qBe||RBe((function(){if(zBe&&1!==qBe({b:1},qBe(GBe({},"a",{enumerable:!0,get:function(){GBe(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!=qBe({},e)[n]||jBe(qBe({},t)).join("")!=i}))?function(e,t){for(var n=UBe(e),i=arguments.length,r=1,o=QBe.f,a=NBe.f;i>r;)for(var s,l=BBe(arguments[r++]),u=o?jBe(l).concat(o(l)):jBe(l),c=u.length,d=0;c>d;)s=u[d++],zBe&&!a.call(l,s)||(n[s]=l[s]);return n}:qBe,XBe=WBe;dBe({target:"Object",stat:!0,forced:Object.assign!==XBe},{assign:XBe});var VBe=CQe,YBe=!!Object.getOwnPropertySymbols&&!VBe((function(){return!String(Symbol())})),HBe=YBe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ZBe=PQe,KBe=INe.exports,JBe=VQe,eqe=QNe,tqe=YBe,nqe=HBe,iqe=KBe("wks"),rqe=ZBe.Symbol,oqe=nqe?rqe:rqe&&rqe.withoutSetter||eqe,aqe=function(e){return JBe(iqe,e)||(tqe&&JBe(rqe,e)?iqe[e]=rqe[e]:iqe[e]=oqe("Symbol."+e)),iqe[e]},sqe=qQe,lqe=MQe,uqe=aqe("match"),cqe=function(e){var t;return sqe(e)&&(void 0!==(t=e[uqe])?!!t:"RegExp"==lqe(e))},dqe=cqe,pqe=function(e){if(dqe(e))throw TypeError("The method doesn't accept regular expressions");return e},hqe=aqe("match"),fqe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[hqe]=!1,"/./"[e](t)}catch(e){}}return!1},mqe=pqe,gqe=QQe;function vqe(e,t){var n=e||[],i=t||[],r=n.map((function(e){return e.id})),o=i.filter((function(e){return!r.includes(e.id)}));return n.concat(o)}dBe({target:"String",proto:!0,forced:!fqe("includes")},{includes:function(e){return!!~String(gqe(this)).indexOf(mqe(e),arguments.length>1?arguments[1]:void 0)}});var yqe,bqe=uNe,Oqe=dNe,_qe=MBe,wqe=FQe?Object.defineProperties:function(e,t){Oqe(e);for(var n,i=_qe(t),r=i.length,o=0;r>o;)bqe.f(e,n=i[o++],t[n]);return e},xqe=gUe("document","documentElement"),kqe=dNe,Sqe=wqe,Pqe=zUe,Eqe=GNe,Cqe=xqe,Fqe=KQe,Tqe=qNe("IE_PROTO"),Dqe=function(){},Aqe=function(e){return"<script>"+e+"</"+"script>"},Iqe=function(){try{yqe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Iqe=yqe?function(e){e.write(Aqe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(yqe):((t=Fqe("iframe")).style.display="none",Cqe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Aqe("document.F=Object")),e.close(),e.F);for(var n=Pqe.length;n--;)delete Iqe.prototype[Pqe[n]];return Iqe()};Eqe[Tqe]=!0;var Lqe=Object.create||function(e,t){var n;return null!==e?(Dqe.prototype=kqe(e),n=new Dqe,Dqe.prototype=null,n[Tqe]=e):n=Iqe(),void 0===t?n:Sqe(n,t)},$qe=Lqe,Mqe=uNe,zqe=aqe("unscopables"),Rqe=Array.prototype;null==Rqe[zqe]&&Mqe.f(Rqe,zqe,{configurable:!0,value:$qe(null)});var jqe,Qqe,Nqe,Uqe=function(e){Rqe[zqe][e]=!0},Bqe={},qqe=!CQe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Gqe=VQe,Wqe=fBe,Xqe=qqe,Vqe=qNe("IE_PROTO"),Yqe=Object.prototype,Hqe=Xqe?Object.getPrototypeOf:function(e){return e=Wqe(e),Gqe(e,Vqe)?e[Vqe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Yqe:null},Zqe=Hqe,Kqe=bNe,Jqe=VQe,eGe=aqe("iterator"),tGe=!1;[].keys&&("next"in(Nqe=[].keys())?(Qqe=Zqe(Zqe(Nqe)))!==Object.prototype&&(jqe=Qqe):tGe=!0),null==jqe&&(jqe={}),Jqe(jqe,eGe)||Kqe(jqe,eGe,(function(){return this}));var nGe={IteratorPrototype:jqe,BUGGY_SAFARI_ITERATORS:tGe},iGe=uNe.f,rGe=VQe,oGe=aqe("toStringTag"),aGe=function(e,t,n){e&&!rGe(e=n?e:e.prototype,oGe)&&iGe(e,oGe,{configurable:!0,value:t})},sGe=nGe.IteratorPrototype,lGe=Lqe,uGe=LQe,cGe=aGe,dGe=Bqe,pGe=function(){return this},hGe=qQe,fGe=dNe,mGe=function(e){if(!hGe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},gGe=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 fGe(n),mGe(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),vGe=dBe,yGe=function(e,t,n){var i=t+" Iterator";return e.prototype=lGe(sGe,{next:uGe(1,n)}),cGe(e,i,!1),dGe[i]=pGe,e},bGe=Hqe,OGe=gGe,_Ge=aGe,wGe=bNe,xGe=ONe.exports,kGe=Bqe,SGe=nGe.IteratorPrototype,PGe=nGe.BUGGY_SAFARI_ITERATORS,EGe=aqe("iterator"),CGe="keys",FGe="values",TGe="entries",DGe=function(){return this},AGe=BQe,IGe=Uqe,LGe=Bqe,$Ge=rUe,MGe=function(e,t,n,i,r,o,a){yGe(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!PGe&&e in h)return h[e];switch(e){case CGe:case FGe:case TGe:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,f=h[EGe]||h["@@iterator"]||r&&h[r],m=!PGe&&f||c(r),g="Array"==t&&h.entries||f;if(g&&(s=bGe(g.call(new e)),SGe!==Object.prototype&&s.next&&(bGe(s)!==SGe&&(OGe?OGe(s,SGe):"function"!=typeof s[EGe]&&wGe(s,EGe,DGe)),_Ge(s,d,!0))),r==FGe&&f&&f.name!==FGe&&(p=!0,m=function(){return f.call(this)}),h[EGe]!==m&&wGe(h,EGe,m),kGe[t]=m,r)if(l={values:c(FGe),keys:o?m:c(CGe),entries:c(TGe)},a)for(u in l)(PGe||p||!(u in h))&&xGe(h,u,l[u]);else vGe({target:t,proto:!0,forced:PGe||p},l);return l},zGe="Array Iterator",RGe=$Ge.set,jGe=$Ge.getterFor(zGe),QGe=MGe(Array,"Array",(function(e,t){RGe(this,{type:zGe,target:AGe(e),index:0,kind:t})}),(function(){var e=jGe(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");LGe.Arguments=LGe.Array,IGe("keys"),IGe("values"),IGe("entries");var NGe=PQe,UGe={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},BGe=QGe,qGe=bNe,GGe=aqe,WGe=GGe("iterator"),XGe=GGe("toStringTag"),VGe=BGe.values;for(var YGe in UGe){var HGe=NGe[YGe],ZGe=HGe&&HGe.prototype;if(ZGe){if(ZGe[WGe]!==VGe)try{qGe(ZGe,WGe,VGe)}catch(e){ZGe[WGe]=VGe}if(ZGe[XGe]||qGe(ZGe,XGe,YGe),UGe[YGe])for(var KGe in BGe)if(ZGe[KGe]!==BGe[KGe])try{qGe(ZGe,KGe,BGe[KGe])}catch(e){ZGe[KGe]=BGe[KGe]}}}var JGe,eWe,tWe,nWe,iWe,rWe,oWe,aWe,sWe,lWe,uWe,cWe,dWe,pWe,hWe,fWe,mWe,gWe,vWe,yWe=function(e){var n=Xk().formatMessage,i=foe();return t.jsx(a.TooltipHost,mQe({},e,{className:HB(i,"lt-reach-tooltip"),role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||n({id:e.resourceKey},e.values||{}):null,calloutProps:mQe(mQe({},e.calloutProps),{calloutWidth:e.width,hidden:e.hidden}),dir:"auto"},{children:e.children}),void 0)},bWe=function(e){var t,n;return o.css(iWe||(iWe=OQe(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?o.css(JGe||(JGe=OQe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):o.css(eWe||(eWe=OQe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Nie),(null==e?void 0:e.color)?o.css(tWe||(tWe=OQe(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):o.css(nWe||(nWe=OQe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),null!==(t=null==e?void 0:e.blockPadding)&&void 0!==t?t:3,null!==(n=null==e?void 0:e.inlinePadding)&&void 0!==n?n:N7,U7)},OWe=function(e){var n=e.tooltipResourceKey,i=e.className,r=gQe(e,["tooltipResourceKey","className"]);return t.jsx(yWe,mQe({resourceKey:n,className:i},{children:t.jsx(_We,mQe({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},_We=y.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(rWe||(rWe=OQe(["\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"])),bWe(),6,15,ree,(function(e){return e.readOnly?"inherit":"pointer"})),wWe=y.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(oWe||(oWe=OQe(["\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})),xWe=function(e){var n=e.showDialog,i=e.onClose,r=e.onClosed,o=e.handleSave,s=e.titleResource,l=e.disableSave,u=e.saveButtonResourceId,c=e.children,d=e.className,p=Xk().formatMessage;return t.jsxs(wQe,mQe({hidden:!n,modalProps:{isBlocking:!0,onDismissed:r},dialogContentProps:{type:a.DialogType.normal,title:p({id:s})},onDismiss:i},{children:[t.jsx(kWe,mQe({className:d},{children:c}),void 0),t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,mQe({onClick:i,"data-button":"cancel"},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,mQe({disabled:l,onClick:o,"data-button":"save"},{children:t.jsx(hS,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},kWe=y.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(aWe||(aWe=OQe(["\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"])),U7),SWe=y.default(xWe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(sWe||(sWe=OQe(["\n width: 400px;\n"],["\n width: 400px;\n"]))),PWe=y.default(a.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(lWe||(lWe=OQe(["\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})),EWe=function(e){var n=e.checked,i=e.readOnly,r=e.onChange,o=e.className,a=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,u=e.ariaLabelResourceKey,c=Xk().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return t.jsx(CWe,mQe({className:o},{children:i?t.jsx(TWe,{},void 0):t.jsx(yWe,mQe({resourceKey:l},{children:t.jsx(FWe,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},CWe=y.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(uWe||(uWe=OQe(["\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"]))),FWe=y.default(PWe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(cWe||(cWe=OQe(["\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"])),nee,20),TWe=y.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(dWe||(dWe=OQe(["\n width: 22px;\n"],["\n width: 22px;\n"]))),DWe=o.css(pWe||(pWe=OQe(["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"],["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),AWe=y.default.a.withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(hWe||(hWe=OQe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),DWe),IWe=y.default(r.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(fWe||(fWe=OQe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),DWe),LWe=o.css(mWe||(mWe=OQe(["\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),$We=function(){var e=rre().hideNotification,n=i.useContext(ire),r=n.isNotificationBarVisible,o=gQe(n,["isNotificationBarVisible"]),a=Xk().formatMessage,s=o.messageId||o.text;return r?t.jsx(MWe,mQe({className:"notification-wrapper","data-notification-bar":!0},{children:t.jsx(zWe,mQe({messageBarType:o.messageBarType,className:o.className,actions:o.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:a({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&t.jsx(yWe,mQe({text:o.text,resourceKey:o.messageId,values:o.messageValues},{children:o.text||t.jsx(hS,{id:o.messageId,values:o.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},MWe=y.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(gWe||(gWe=OQe(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),zWe=y.default(a.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(vWe||(vWe=OQe(["\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"])),LWe,iee,nee,nee,iee,nee,ree,B7,20),RWe=function(e){var n,r=Xk().formatMessage,o=w6(),s=_6(),l=p9(),u=l.searchAccounts,c=l.getUserAvatarUrl,d=i.useRef(),p=zw();i.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===a.SelectionMode.multiple,m=e.selectedItems||[],g=h,v={defaultSelectedItems:(e.defaultSelectedItems||[]).map((function(e){return y(e)})),resolveDelay:500,onResolveSuggestions:function(e){return b(e,g)},onGetMoreResults:function(e){return b(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!==i6.Group?t.userPrincipalName:null,mail:X6(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));e.onChange&&e.onChange(n)}(t)},pickerSuggestionsProps:{noResultsFoundText:r({id:"Generic.noResultsFound"}),searchForMoreText:g&&!e.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:e.disabled,pickerCalloutProps:{calloutMaxWidth:p.width<Z7?300:0,className:"lt-reach-picker-callout"},inputProps:{id:e.inputId,required:e.required,"aria-required":e.required,"aria-label":e.inputAriaLabelResourceKey?r({id:e.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:r({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(y);return e.then((function(e){return O(e).map(y)}))}(e.onEmptyInputFocus())}),e.placeholderStringResourceKey&&0===m.length&&(v.inputProps.placeholder=r({id:e.placeholderStringResourceKey})),e.selectedItems&&(v.selectedItems=m.map((function(e){return y(e)}))),t.jsx(QWe,mQe({className:HB(e.className,"people-picker")},{children:t.jsx(a.NormalPeoplePicker,mQe({},v,{componentRef:d,itemLimit:f?void 0:1}),void 0)}),void 0);function y(e){var t=X6(e.mail)?null:e.mail,n=X6(e.userPrincipalName)?null:e.userPrincipalName,i=Ew(e.displayName||e.mail||e.userPrincipalName),r=e.type===i6.User?n:e.type===i6.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:Cw(i),key:r,accountType:e.type,authenticationType:e.authenticationType};return o.avatars&&c(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function b(t,n){return vQe(this,void 0,void 0,(function(){var i,r,o;return yQe(this,(function(a){switch(a.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&mw(t)&&{mail:t,userPrincipalName:t,displayName:t,type:i6.User},a.label=1;case 1:return a.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=a.sent(),i&&r.every((function(e){return!function(e,t){return(e.userPrincipalName||"").toLowerCase()===t.userPrincipalName.toLowerCase()||(e.mail||"").toLowerCase()===t.mail.toLowerCase()}(e,i)}))&&r.push(i),e.additionalSearch&&(o=e.additionalSearch(t))&&(r=r.concat(o)),[2,O(r).map(y)];case 3:return a.sent(),[2,i&&[i].map(y)];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 jWe,QWe=y.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(jWe||(jWe=OQe(["\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"]))),NWe=dBe,UWe=EQe.f,BWe=xUe,qWe=pqe,GWe=QQe,WWe=fqe,XWe="".startsWith,VWe=Math.min,YWe=WWe("startsWith"),HWe=!YWe&&!!function(){var e=UWe(String.prototype,"startsWith");return e&&!e.writable}();NWe({target:"String",proto:!0,forced:!HWe&&!YWe},{startsWith:function(e){var t=String(GWe(this));qWe(e);var n=BWe(VWe(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return XWe?XWe.call(t,i,n):t.slice(n,n+i.length)===i}});var ZWe=dNe,KWe=function(){var e=ZWe(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},JWe=ONe.exports,eXe=dNe,tXe=CQe,nXe=KWe,iXe="toString",rXe=RegExp.prototype,oXe=rXe.toString,aXe=tXe((function(){return"/a/b"!=oXe.call({source:"a",flags:"b"})})),sXe=oXe.name!=iXe;(aXe||sXe)&&JWe(RegExp.prototype,iXe,(function(){var e=eXe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in rXe)?nXe.call(e):n)}),{unsafe:!0});var lXe,uXe=function(e){var n=e.fileName,i=e.url;return t.jsx(cXe,mQe({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:t.jsx("span",{children:n},void 0)}),void 0)},cXe=y.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(lXe||(lXe=OQe(["\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}),N7),dXe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;return i?t.jsxs(gXe,mQe({className:"lt-reach-embedded-audio"},{children:[t.jsx(uXe,{fileName:n,url:i},void 0),t.jsxs("audio",mQe({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(hS,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function pXe(e){var t=dG.getType(e);return t&&t.toString().startsWith("audio/")}var hXe,fXe,mXe,gXe=y.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(hXe||(hXe=OQe(["\n width: 100%;\n"],["\n width: 100%;\n"])));y.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(fXe||(fXe=OQe(["\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"])),B7,N7),y.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(mXe||(mXe=OQe(["\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"])),B7,B7,20,(function(e){return e.theme.textColors.default}));var vXe,yXe,bXe,OXe,_Xe,wXe,xXe=function(e){var n=e.children,i=e.deleteButton,r=e.domIdentifier,o=e.backgroundColor,a=e.className;return t.jsxs(PXe,mQe({className:a},{children:[i&&t.jsx(SXe,{children:i},void 0),t.jsx(kXe,mQe({"data-attachment":r,backgroundColor:o},{children:n}),void 0)]}),void 0)},kXe=y.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(vXe||(vXe=OQe(["\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+";"})),SXe=y.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(yXe||(yXe=OQe(["\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),PXe=y.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(bXe||(bXe=OQe(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),U7),EXe=y.default(a.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(OXe||(OXe=OQe(["\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}));y.default.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(_Xe||(_Xe=OQe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),y.default(EXe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(wXe||(wXe=OQe(["\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 CXe,FXe,TXe,DXe,AXe=function(e){var n=e.children,i=gQe(e,["children"]),r=foe();return t.jsx(a.FocusTrapCallout,mQe({},i,{className:HB(r,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},IXe=function(e){var n=Xk().formatMessage,r=i.useState(!1),o=r[0],s=r[1],l=i.useContext(Vie).theme.palette.accent;return t.jsxs(wQe,mQe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!e.hideCloseButton,type:e.hideCloseButton?a.DialogType.normal:a.DialogType.close,title:n({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[t.jsx(LXe,{children:t.jsx(hS,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues},void 0)},void 0),t.jsx($Xe,{"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(a.DialogFooter,{children:[t.jsx(a.DefaultButton,mQe({onClick:e.onCancel,disabled:e.disabled},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(MXe,mQe({onClick:e.onConfirm,"data-delete-button":!0,disabled:!o||e.disabled},{children:t.jsx(hS,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},LXe=y.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(CXe||(CXe=OQe(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),$Xe=y.default(a.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(FXe||(FXe=OQe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),U7),MXe=y.default(a.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(TXe||(TXe=OQe(["\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})),zXe=function(e){var n=e.showDialog,r=e.titleResourceKey,o=e.titleResourceValues,s=e.infoResourceKey,l=e.infoResourceValues,u=e.onConfirm,c=e.onClose,d=e.width,p=e.children,h=Xk().formatMessage,f=i.useContext(Vie).theme.palette.accent;return t.jsxs(wQe,mQe({hidden:!n,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:a.DialogType.normal,subText:s?h({id:s},l):"",title:h({id:r},o),titleProps:{style:{color:f}}},onDismiss:c},{children:[p,t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,mQe({onClick:c,"data-cancel-button":!0},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,mQe({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:t.jsx(hS,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},RXe=function(e){var n=e.onConfirm,r=e.onCancel,o=Xk().formatMessage,s=i.useContext(Vie).theme.palette.accent;return t.jsx(wQe,mQe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:a.DialogType.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:r},{children:t.jsxs(jXe,{children:[t.jsx(hS,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),t.jsxs(a.DialogFooter,{children:[t.jsx(a.PrimaryButton,mQe({onClick:n},{children:t.jsx(hS,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),t.jsx(a.DefaultButton,mQe({onClick:r},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},jXe=y.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(DXe||(DXe=OQe(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),QXe=function(e){var n=e.value,r=i.useContext(PS).language,o=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=mQe(mQe({},qXe),n||{}),r=(+e-+t)/1e3;if(Math.abs(r)<i.second)return{value:Math.round(r),unit:"second"};var o=r/60;if(Math.abs(o)<i.minute)return{value:Math.round(o),unit:"minute"};var a=r/NXe;if(Math.abs(a)<i.hour)return{value:Math.round(a),unit:"hour"};var s=r/UXe;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/BXe;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),a=o.value,s=o.unit;return t.jsx(nS,mQe({locale:r},{children:t.jsx(cS,{value:a,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)},NXe=3600,UXe=86400,BXe=604800;var qXe={second:45,minute:45,hour:22,day:6,week:4,month:12},GXe=function(e){return rs(e).isSame(new Date,"day")};var WXe,XXe,VXe,YXe,HXe,ZXe,KXe,JXe,eVe,tVe=function(e){var n,r=(n=e.value,i.useMemo((function(){var e=rs(n),t=e.toDate(),i={dateTime:t.toISOString(),title:e.format("LLLL")};return{date:t,timeProps:i}}),[n])),o=r.date,a=r.timeProps,s=!e.showAsAbsolute&&(e.showAsRelative||GXe(e.value));return!e.showWeekDay&&s?t.jsx(iVe,mQe({className:HB(e.className)},a,{dir:"auto"},{children:t.jsx(QXe,{value:o},void 0)}),void 0):t.jsxs(iVe,mQe({className:HB(e.className)},a,{dir:"auto"},{children:[t.jsx(fS,{weekday:e.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:o},void 0)," ",t.jsx(mS,{value:o},void 0)]}),void 0)},nVe=function(e){var n=e.startDate,i=e.endDate,r=e.className;if(!n)return null;if(!i)return t.jsx("div",mQe({className:r,dir:"auto"},{children:t.jsx(tVe,{value:n,showWeekDay:!0},void 0)}),void 0);var o=rs(n),a=rs(i);return o.isSame(a,"d")?t.jsxs("div",mQe({className:r,dir:"auto"},{children:[t.jsx(tVe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(mS,{value:a.toDate()},void 0)]}),void 0):t.jsxs("div",mQe({className:r,dir:"auto"},{children:[t.jsx(tVe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(tVe,{value:i,showWeekDay:!0},void 0)]}),void 0)},iVe=y.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(WXe||(WXe=OQe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"]))),rVe=y.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(XXe||(XXe=OQe(["\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}),Nie),oVe=function(e){var n,i=e.children,r=gQe(e,["children"]);return t.jsx(a.Dropdown,mQe({},r,{calloutProps:mQe(mQe({},r.calloutProps||{}),{className:HB(wJ,"lt-reach-dropdown",null===(n=r.calloutProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)},aVe=function(e){var n=e.svg,i=e.icon,r=e.styleDefinition,o=e.emptyMessageResources,s=void 0===o?["EmptySearchResult.info1","EmptySearchResult.info2"]:o,l=e.additionalButton,u=e.className,c=(null==r?void 0:r.size)||"large";return t.jsx(sVe,mQe({className:u,offset:null==r?void 0:r.offset,"data-nothing-found":!0},{children:t.jsxs(lVe,mQe({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===c},{children:[i&&t.jsx(a.Icon,{iconName:i},void 0),!i&&n,s.map((function(e,n){return t.jsx("p",{children:t.jsx(hS,{id:e},void 0)},n)})),l]}),void 0)}),void 0)},sVe=y.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(HXe||(HXe=OQe(["\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?o.css(VXe||(VXe=OQe(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):o.css(YXe||(YXe=OQe(["\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 "])))})),lVe=y.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(JXe||(JXe=OQe(["\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"])),U7,ree,N7,(function(e){return!e.hasLargeSvgStyle&&o.css(ZXe||(ZXe=OQe(["\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 "])),nee,e.theme.palette.neutralSecondary,B7)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&o.css(KXe||(KXe=OQe(["\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,U7,(function(e){return e.theme.palette.accent}),B7,B7,W7)}),(function(e){return e.theme.palette.accent}),3,K7,24,B7,B7),uVe=function(e,t){return null!=e&&(e&t)===t};y.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(eVe||(eVe=OQe(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var cVe=dBe,dVe=pBe,pVe=fBe,hVe=CQe,fVe=wBe,mVe=[],gVe=mVe.sort,vVe=hVe((function(){mVe.sort(void 0)})),yVe=hVe((function(){mVe.sort(null)})),bVe=fVe("sort");cVe({target:"Array",proto:!0,forced:vVe||!yVe||!bVe},{sort:function(e){return void 0===e?gVe.call(pVe(this)):gVe.call(pVe(this),dVe(e))}});var OVe=function(e){var n=e.languages,i=e.translations,r=e.onChange,o=e.placeholderStringResource,a=e.customPlaceholder,s=Xk(),l=s.formatMessage;return t.jsx(t.Fragment,{children:M9.apply(void 0,bQe([s],n)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(e){return t.jsx(PVe,{children:t.jsx(EVe,{"data-translation-field":e.code,placeholder:null!=a?a:l({id:o},{lang:e.localizedName}),label:e.localizedName,value:i[e.code],onChange:function(t,n){var o;r(mQe(mQe({},i),((o={})[e.code]=n,o)))},dir:"auto"},void 0)},e.code)}))},void 0)};y.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(_Ve||(_Ve=OQe(["\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 _Ve,wVe,xVe,kVe,SVe,PVe=y.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(wVe||(wVe=OQe(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),EVe=y.default(a.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(xVe||(xVe=OQe(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));y.default.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(kVe||(kVe=OQe(["\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"]))),y.default.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(SVe||(SVe=OQe(["\n display: flex;\n"],["\n display: flex;\n"])));var CVe,FVe=function(e){var n=i.useState(null==e.delay),r=n[0],o=n[1];return i.useEffect((function(){if(null!=!e.delay){var t=setTimeout((function(){return o(!0)}),e.delay);return function(){return clearTimeout(t)}}}),[e.delay]),r?t.jsx(TVe,mQe({className:e.className},{children:t.jsx(a.Spinner,mQe({},e,{className:""}),void 0)}),void 0):null},TVe=y.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(CVe||(CVe=OQe(["\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"]))),DVe=PQe.Promise,AVe=ONe.exports,IVe=gUe,LVe=uNe,$Ve=FQe,MVe=aqe("species"),zVe=function(e){var t=IVe(e),n=LVe.f;$Ve&&t&&!t[MVe]&&n(t,MVe,{configurable:!0,get:function(){return this}})},RVe={exports:{}},jVe=Bqe,QVe=aqe("iterator"),NVe=Array.prototype,UVe=pBe,BVe=function(e,t,n){if(UVe(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)}},qVe={};qVe[aqe("toStringTag")]="z";var GVe="[object z]"===String(qVe),WVe=MQe,XVe=aqe("toStringTag"),VVe="Arguments"==WVe(function(){return arguments}()),YVe=GVe?WVe: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),XVe))?n:VVe?WVe(t):"Object"==(i=WVe(t))&&"function"==typeof t.callee?"Arguments":i},HVe=YVe,ZVe=Bqe,KVe=aqe("iterator"),JVe=dNe,eYe=dNe,tYe=function(e){return void 0!==e&&(jVe.Array===e||NVe[QVe]===e)},nYe=xUe,iYe=BVe,rYe=function(e){if(null!=e)return e[KVe]||e["@@iterator"]||ZVe[HVe(e)]},oYe=function(e,t,n,i){try{return i?t(JVe(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&JVe(r.call(e)),t}},aYe=function(e,t){this.stopped=e,this.result=t},sYe=RVe.exports=function(e,t,n,i,r){var o,a,s,l,u,c,d,p=iYe(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=rYe(e)))throw TypeError("Target is not iterable");if(tYe(a)){for(s=0,l=nYe(e.length);l>s;s++)if((u=i?p(eYe(d=e[s])[0],d[1]):p(e[s]))&&u instanceof aYe)return u;return new aYe(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=oYe(o,p,d.value,i))&&u&&u instanceof aYe)return u;return new aYe(!1)};sYe.stop=function(e){return new aYe(!0,e)};var lYe=aqe("iterator"),uYe=!1;try{var cYe=0,dYe={next:function(){return{done:!!cYe++}},return:function(){uYe=!0}};dYe[lYe]=function(){return this},Array.from(dYe,(function(){throw 2}))}catch(e){}var pYe,hYe,fYe,mYe=dNe,gYe=pBe,vYe=aqe("species"),yYe=function(e,t){var n,i=mYe(e).constructor;return void 0===i||null==(n=mYe(i)[vYe])?t:gYe(n)},bYe=gUe("navigator","userAgent")||"",OYe=/(iphone|ipod|ipad).*applewebkit/i.test(bYe),_Ye=PQe,wYe=CQe,xYe=MQe,kYe=BVe,SYe=xqe,PYe=KQe,EYe=OYe,CYe=_Ye.location,FYe=_Ye.setImmediate,TYe=_Ye.clearImmediate,DYe=_Ye.process,AYe=_Ye.MessageChannel,IYe=_Ye.Dispatch,LYe=0,$Ye={},MYe="onreadystatechange",zYe=function(e){if($Ye.hasOwnProperty(e)){var t=$Ye[e];delete $Ye[e],t()}},RYe=function(e){return function(){zYe(e)}},jYe=function(e){zYe(e.data)},QYe=function(e){_Ye.postMessage(e+"",CYe.protocol+"//"+CYe.host)};FYe&&TYe||(FYe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return $Ye[++LYe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},pYe(LYe),LYe},TYe=function(e){delete $Ye[e]},"process"==xYe(DYe)?pYe=function(e){DYe.nextTick(RYe(e))}:IYe&&IYe.now?pYe=function(e){IYe.now(RYe(e))}:AYe&&!EYe?(fYe=(hYe=new AYe).port2,hYe.port1.onmessage=jYe,pYe=kYe(fYe.postMessage,fYe,1)):!_Ye.addEventListener||"function"!=typeof postMessage||_Ye.importScripts||wYe(QYe)||"file:"===CYe.protocol?pYe=MYe in PYe("script")?function(e){SYe.appendChild(PYe("script")).onreadystatechange=function(){SYe.removeChild(this),zYe(e)}}:function(e){setTimeout(RYe(e),0)}:(pYe=QYe,_Ye.addEventListener("message",jYe,!1)));var NYe,UYe,BYe,qYe,GYe,WYe,XYe,VYe,YYe={set:FYe,clear:TYe},HYe=PQe,ZYe=EQe.f,KYe=MQe,JYe=YYe.set,eHe=OYe,tHe=HYe.MutationObserver||HYe.WebKitMutationObserver,nHe=HYe.process,iHe=HYe.Promise,rHe="process"==KYe(nHe),oHe=ZYe(HYe,"queueMicrotask"),aHe=oHe&&oHe.value;aHe||(NYe=function(){var e,t;for(rHe&&(e=nHe.domain)&&e.exit();UYe;){t=UYe.fn,UYe=UYe.next;try{t()}catch(e){throw UYe?qYe():BYe=void 0,e}}BYe=void 0,e&&e.enter()},rHe?qYe=function(){nHe.nextTick(NYe)}:tHe&&!eHe?(GYe=!0,WYe=document.createTextNode(""),new tHe(NYe).observe(WYe,{characterData:!0}),qYe=function(){WYe.data=GYe=!GYe}):iHe&&iHe.resolve?(XYe=iHe.resolve(void 0),VYe=XYe.then,qYe=function(){VYe.call(XYe,NYe)}):qYe=function(){JYe.call(HYe,NYe)});var sHe=aHe||function(e){var t={fn:e,next:void 0};BYe&&(BYe.next=t),UYe||(UYe=t,qYe()),BYe=t},lHe={},uHe=pBe,cHe=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=uHe(t),this.reject=uHe(n)};lHe.f=function(e){return new cHe(e)};var dHe,pHe,hHe=dNe,fHe=qQe,mHe=lHe,gHe=PQe,vHe=bYe,yHe=PQe.process,bHe=yHe&&yHe.versions,OHe=bHe&&bHe.v8;OHe?pHe=(dHe=OHe.split("."))[0]+dHe[1]:vHe&&(!(dHe=vHe.match(/Edge\/(\d+)/))||dHe[1]>=74)&&(dHe=vHe.match(/Chrome\/(\d+)/))&&(pHe=dHe[1]);var _He,wHe,xHe,kHe,SHe=pHe&&+pHe,PHe=dBe,EHe=PQe,CHe=gUe,FHe=DVe,THe=ONe.exports,DHe=function(e,t,n){for(var i in t)AVe(e,i,t[i],n);return e},AHe=aGe,IHe=zVe,LHe=qQe,$He=pBe,MHe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},zHe=MQe,RHe=FNe,jHe=RVe.exports,QHe=function(e,t){if(!t&&!uYe)return!1;var n=!1;try{var i={};i[lYe]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},NHe=yYe,UHe=YYe.set,BHe=sHe,qHe=function(e,t){if(hHe(e),fHe(t)&&t.constructor===e)return t;var n=mHe.f(e);return(0,n.resolve)(t),n.promise},GHe=function(e,t){var n=gHe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},WHe=lHe,XHe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},VHe=rUe,YHe=iBe,HHe=SHe,ZHe=aqe("species"),KHe="Promise",JHe=VHe.get,eZe=VHe.set,tZe=VHe.getterFor(KHe),nZe=FHe,iZe=EHe.TypeError,rZe=EHe.document,oZe=EHe.process,aZe=CHe("fetch"),sZe=WHe.f,lZe=sZe,uZe="process"==zHe(oZe),cZe=!!(rZe&&rZe.createEvent&&EHe.dispatchEvent),dZe="unhandledrejection",pZe=YHe(KHe,(function(){if(!(RHe(nZe)!==String(nZe))){if(66===HHe)return!0;if(!uZe&&"function"!=typeof PromiseRejectionEvent)return!0}if(HHe>=51&&/native code/.test(nZe))return!1;var e=nZe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[ZHe]=t,!(e.then((function(){}))instanceof t)})),hZe=pZe||!QHe((function(e){nZe.all(e).catch((function(){}))})),fZe=function(e){var t;return!(!LHe(e)||"function"!=typeof(t=e.then))&&t},mZe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;BHe((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,u,c=i[a++],d=o?c.ok:c.fail,p=c.resolve,h=c.reject,f=c.domain;try{d?(o||(2===t.rejection&&bZe(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?h(iZe("Promise-chain cycle")):(l=fZe(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&&vZe(e,t)}))}},gZe=function(e,t,n){var i,r;cZe?((i=rZe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),EHe.dispatchEvent(i)):i={promise:t,reason:n},(r=EHe["on"+e])?r(i):e===dZe&&GHe("Unhandled promise rejection",n)},vZe=function(e,t){UHe.call(EHe,(function(){var n,i=t.value;if(yZe(t)&&(n=XHe((function(){uZe?oZe.emit("unhandledRejection",i,e):gZe(dZe,e,i)})),t.rejection=uZe||yZe(t)?2:1,n.error))throw n.value}))},yZe=function(e){return 1!==e.rejection&&!e.parent},bZe=function(e,t){UHe.call(EHe,(function(){uZe?oZe.emit("rejectionHandled",e):gZe("rejectionhandled",e,t.value)}))},OZe=function(e,t,n,i){return function(r){e(t,n,r,i)}},_Ze=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,mZe(e,t,!0))},wZe=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw iZe("Promise can't be resolved itself");var r=fZe(n);r?BHe((function(){var i={done:!1};try{r.call(n,OZe(wZe,e,i,t),OZe(_Ze,e,i,t))}catch(n){_Ze(e,i,n,t)}})):(t.value=n,t.state=1,mZe(e,t,!1))}catch(n){_Ze(e,{done:!1},n,t)}}};pZe&&(nZe=function(e){MHe(this,nZe,KHe),$He(e),_He.call(this);var t=JHe(this);try{e(OZe(wZe,this,t),OZe(_Ze,this,t))}catch(e){_Ze(this,t,e)}},(_He=function(e){eZe(this,{type:KHe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=DHe(nZe.prototype,{then:function(e,t){var n=tZe(this),i=sZe(NHe(this,nZe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=uZe?oZe.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&mZe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),wHe=function(){var e=new _He,t=JHe(e);this.promise=e,this.resolve=OZe(wZe,e,t),this.reject=OZe(_Ze,e,t)},WHe.f=sZe=function(e){return e===nZe||e===xHe?new wHe(e):lZe(e)},"function"==typeof FHe&&(kHe=FHe.prototype.then,THe(FHe.prototype,"then",(function(e,t){var n=this;return new nZe((function(e,t){kHe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof aZe&&PHe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return qHe(nZe,aZe.apply(EHe,arguments))}}))),PHe({global:!0,wrap:!0,forced:pZe},{Promise:nZe}),AHe(nZe,KHe,!1),IHe(KHe),xHe=CHe(KHe),PHe({target:KHe,stat:!0,forced:pZe},{reject:function(e){var t=sZe(this);return t.reject.call(void 0,e),t.promise}}),PHe({target:KHe,stat:!0,forced:pZe},{resolve:function(e){return qHe(this,e)}}),PHe({target:KHe,stat:!0,forced:hZe},{all:function(e){var t=this,n=sZe(t),i=n.resolve,r=n.reject,o=XHe((function(){var n=$He(t.resolve),o=[],a=0,s=1;jHe(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=sZe(t),i=n.reject,r=XHe((function(){var r=$He(t.resolve);jHe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var xZe={},kZe=CQe;function SZe(e,t){return RegExp(e,t)}xZe.UNSUPPORTED_Y=kZe((function(){var e=SZe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),xZe.BROKEN_CARET=kZe((function(){var e=SZe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var PZe=KWe,EZe=xZe,CZe=RegExp.prototype.exec,FZe=String.prototype.replace,TZe=CZe,DZe=function(){var e=/a/,t=/b*/g;return CZe.call(e,"a"),CZe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),AZe=EZe.UNSUPPORTED_Y||EZe.BROKEN_CARET,IZe=void 0!==/()??/.exec("")[1];(DZe||IZe||AZe)&&(TZe=function(e){var t,n,i,r,o=this,a=AZe&&o.sticky,s=PZe.call(o),l=o.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),IZe&&(n=new RegExp("^"+l+"$(?!\\s)",s)),DZe&&(t=o.lastIndex),i=CZe.call(a?n:o,c),a?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:DZe&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),IZe&&i&&i.length>1&&FZe.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var LZe=TZe;dBe({target:"RegExp",proto:!0,forced:/./.exec!==LZe},{exec:LZe});var $Ze,MZe=ONe.exports,zZe=CQe,RZe=aqe,jZe=LZe,QZe=bNe,NZe=RZe("species"),UZe=!zZe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),BZe="$0"==="a".replace(/./,"$0"),qZe=RZe("replace"),GZe=!!/./[qZe]&&""===/./[qZe]("a","$0"),WZe=!zZe((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]})),XZe=function(e,t,n,i){var r=RZe(e),o=!zZe((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!zZe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[NZe]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!UZe||!BZe||GZe)||"split"===e&&!WZe){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===jZe?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:BZe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:GZe}),u=l[0],c=l[1];MZe(String.prototype,e,u),MZe(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&QZe(RegExp.prototype[r],"sham",!0)},VZe=OUe,YZe=QQe,HZe=function(e){return function(t,n){var i,r,o=String(YZe(t)),a=VZe(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},ZZe={codeAt:HZe(!1),charAt:HZe(!0)}.charAt,KZe=function(e,t,n){return t+(n?ZZe(e,t).length:1)},JZe=MQe,eKe=LZe,tKe=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"!==JZe(e))throw TypeError("RegExp#exec called on incompatible receiver");return eKe.call(e,t)},nKe=XZe,iKe=cqe,rKe=dNe,oKe=QQe,aKe=yYe,sKe=KZe,lKe=xUe,uKe=tKe,cKe=LZe,dKe=CQe,pKe=[].push,hKe=Math.min,fKe=4294967295,mKe=!dKe((function(){return!RegExp(fKe,"y")}));nKe("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(oKe(this)),r=void 0===n?fKe:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!iKe(e))return t.call(i,e,r);for(var o,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(o=cKe.call(d,i))&&!((a=d.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&pKe.apply(l,o.slice(1)),s=o[0].length,c=a,l.length>=r));)d.lastIndex===o.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=oKe(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=rKe(e),s=String(this),l=aKe(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(mKe?"y":"g"),d=new l(mKe?a:"^(?:"+a.source+")",c),p=void 0===r?fKe:r>>>0;if(0===p)return[];if(0===s.length)return null===uKe(d,s)?[s]:[];for(var h=0,f=0,m=[];f<s.length;){d.lastIndex=mKe?f:0;var g,v=uKe(d,mKe?s:s.slice(f));if(null===v||(g=hKe(lKe(d.lastIndex+(mKe?0:f)),s.length))===h)f=sKe(s,f,u);else{if(m.push(s.slice(h,f)),m.length===p)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===p)return m;f=h=g}}return m.push(s.slice(h)),m}]}),!mKe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}($Ze||($Ze={}));var gKe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;if(!i)return null;var o="safari"===sg?i+"#t=0.1":i;return t.jsxs("div",mQe({className:"lt-reach-embedded-video"},{children:[t.jsx(uXe,{fileName:n,url:i},void 0),t.jsxs("video",mQe({onPlay:function(){return null==r?void 0:r(i)},preload:"metadata",controls:!0,title:n,width:"auto",height:"auto"},{children:[t.jsx("source",{src:o,type:"video/mp4"},void 0),t.jsx(hS,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function vKe(e){var t,n="mac"===as.deviceInfo.operatingSystem,i=null===(t=dG.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith($Ze.mp4)||(n?i.startsWith($Ze.quicktime):i.startsWith($Ze.webm)))}var yKe,bKe,OKe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},_Ke=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 "},wKe=function(e,t,n){return o.css(bKe||(bKe=OQe(["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "],["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "])),t*n*e,t,n,e)};function xKe(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 kKe(e){return vQe(this,void 0,void 0,(function(){return yQe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(xKe))];case 1:return[2,t.sent()]}}))}))}function SKe(e){return pXe(e)?"MusicInCollectionFill":vKe(e)?"Video":CKe(null==e?void 0:e.split(".").pop().toLowerCase())}function PKe(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 EKe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function CKe(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 FKe(){var e=aB(),t=oB(),n=t.createApiUrl,r=t.fetchFromApi,o=i.useContext(_S).identifier,a=Im(),s=zee().interaction,l=null==o?void 0:o.id;return i.useMemo((function(){return{exchangeShortLivedToken:function(e){return vQe(this,void 0,void 0,(function(){var t;return yQe(this,(function(n){switch(n.label){case 0:return e?[4,r("/file_access_token/types/short_lived",{method:"POST",headers:{authorization:"Bearer "+e,"subscription-id":l}})]:[2,null];case 1:return[2,200!==(t=n.sent()).status?null:t.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 vQe(r,void 0,void 0,(function(){var r;return yQe(this,(function(o){switch(o.label){case 0:return[4,t()];case 1:return r=o.sent(),window.open(r,"ios"===a.deviceInfo.operatingSystem?"_self":e),s({event:fee.downloadFile,action:mee.click,value:Iee(r),item:{id:n,type:"content",parentId:i}}),[2]}}))}))}}}}),[l,r,n,e,module])}var TKe,DKe,AKe,IKe,LKe,$Ke,MKe,zKe,RKe,jKe,QKe,NKe,UKe,BKe,qKe,GKe,WKe,XKe,VKe=function(e){var n=e.files,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,a=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&&pXe(e.filename)})),p=n.filter((function(e){return r&&vKe(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(HKe,mQe({className:c,"data-preload-video":"safari"===sg},{children:p.map((function(e){return t.jsx(ZKe,{children:t.jsx(gKe,{fileName:e.filename,url:r(e.id),onPlay:function(t){return a(t,e.id)}},void 0)},e.id)}))}),void 0),d.length>0&&t.jsx(YKe,mQe({className:c},{children:d.map((function(e){return t.jsx(KKe,{children:t.jsx(dXe,{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(YKe,mQe({className:c},{children:h.map((function(e){return t.jsx(KKe,{children:t.jsx(JKe,{attachment:e,disabled:l,getFileUrl:r,fileAccessToken:o,onDeleteClick:i,parentId:u},void 0)},e.id)}))}),void 0)]},void 0)},YKe=y.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(TKe||(TKe=OQe(["\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"]))),HKe=y.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(DKe||(DKe=OQe(["\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),ZKe=y.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(AKe||(AKe=OQe(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),N7),KKe=y.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(IKe||(IKe=OQe(["\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"])),N7,W7,5),JKe=function(e){var n=e.attachment,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,s=e.disabled,l=e.parentId,u=Xk().formatMessage,c=!s&&i,d=FKe(),p=d.exchangeShortLivedToken,h=d.createDownloadClickHandler;return t.jsxs(eJe,{children:[n.isUploadInProgress&&t.jsx(sJe,{children:t.jsx(lJe,{size:a.SpinnerSize.medium},void 0)},void 0),t.jsx(nJe,mQe({takeFullWidth:!c},{children:function(){var e=this;if(n.hasError)return t.jsxs(iJe,{children:[t.jsx(uJe,{iconName:"Warning"},void 0),t.jsx(aJe,mQe({title:n.filename},{children:n.filename}),void 0)]},void 0);var i=SKe(n.filename);if(r)return t.jsxs(tJe,mQe({title:n.filename,onClick:h("_blank",(function(){return vQe(e,void 0,void 0,(function(){var e;return yQe(this,(function(t){switch(t.label){case 0:return[4,p(o)];case 1:return e=t.sent(),[2,r(n.id,e)]}}))}))}),n.id,l)},{children:[t.jsx(rJe,{iconName:i},void 0),t.jsx(aJe,{children:n.filename},void 0)]}),void 0);return t.jsxs(iJe,{children:[t.jsx(rJe,{iconName:i},void 0),t.jsx(aJe,mQe({title:n.filename},{children:n.filename}),void 0)]},void 0)}()}),void 0),c&&t.jsx(oJe,{iconProps:{iconName:"Delete"},onClick:function(){return i(n)},disabled:n.isUploadInProgress,ariaLabel:u({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},eJe=y.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(LKe||(LKe=OQe(["\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})),tJe=y.default(a.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})($Ke||($Ke=OQe(["\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}),N7,(function(e){return e.theme.textColors.default})),nJe=y.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(RKe||(RKe=OQe(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?o.css(MKe||(MKe=OQe(["\n width: 100%;\n "],["\n width: 100%;\n "]))):o.css(zKe||(zKe=OQe(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),iJe=y.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(jKe||(jKe=OQe(["\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"])),N7),rJe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(QKe||(QKe=OQe(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),N7),oJe=y.default(a.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(NKe||(NKe=OQe(["\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})),aJe=y.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(UKe||(UKe=OQe(["\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"]))),sJe=y.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(BKe||(BKe=OQe(["\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"]))),lJe=y.default(FVe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(qKe||(qKe=OQe(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),uJe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(GKe||(GKe=OQe(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),cJe=function(e){var n,i=e.children,r=gQe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(dJe,{},void 0),t.jsx(wQe,mQe({},r,{modalProps:mQe(mQe({},r.modalProps||{}),{className:HB({"lt-reach-dialog-mobile-full-height":as.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},dJe=o.createGlobalStyle(WKe||(WKe=OQe(['\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"}(XKe||(XKe={}));var pJe=function(e){var n=e.className,i=e.offsetTop,r=void 0===i?0:i,o=e.positionBottomOnMobile,a=e.domIdentifier,s=e.offsetRight,l=void 0===s?0:s,u=e.children;return t.jsxs(mJe,mQe({offsetTop:r,offsetRight:l,className:n,positionBottomOnMobile:o,"data-fab":a},{children:[t.jsx(vJe,{},void 0),u]}),void 0)},hJe=function(e){var n=e.iconName,i=e.onClick,r=e.tooltipResourceKey,o=e.useSecondaryBgColor,a=e.domIdentifier,s=e.className,l=Xk().formatMessage;return t.jsxs(yWe,mQe({className:s,resourceKey:r},{children:[t.jsx(vJe,{},void 0),t.jsx(yJe,{"data-fab":a,iconProps:{iconName:n},onClick:i,ariaLabel:l({id:r}),useSecondaryBgColor:o},void 0)]}),void 0)},fJe=function(e){var n=e.iconName,r=e.tooltipResourceKey,o=e.titleResourceKey,s=e.showCloseButton,l=e.useSecondaryBgColor,u=e.children,c=e.domIdentifier,d=e.useMobileFullHeight,p=Xk().formatMessage,h=i.useState(!1),f=h[0],m=h[1],g=i.useRef(null),v=as.isAnyMobileApp;return t.jsxs(t.Fragment,{children:[t.jsx("div",mQe({ref:g},{children:t.jsx(hJe,{"data-fab":c,tooltipResourceKey:r,iconName:n,onClick:function(){return m(!f)},useSecondaryBgColor:l},void 0)}),void 0),f&&v&&d&&t.jsxs(cJe,mQe({hidden:!f,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:a.DialogType.close,title:p({id:o})},onDismiss:function(){return m(!1)}},{children:[t.jsx(LJe,{},void 0),u]}),void 0),f&&v&&!d&&t.jsxs(wQe,mQe({hidden:!f},{children:[u,t.jsx(a.DialogFooter,{children:t.jsx(a.DefaultButton,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)},void 0)]}),void 0),f&&!v&&t.jsx(AXe,mQe({target:g.current,directionalHint:a.DirectionalHint.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:t.jsxs(AJe,{children:[u,s&&t.jsx(IJe,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)]},void 0)}),void 0)]},void 0)},mJe=y.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(_Je||(_Je=OQe(["\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?o.css(bJe||(bJe=OQe(["\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 "])),X7,e.offsetTop+20):o.css(OJe||(OJe=OQe(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),gJe=function(e){return o.css(kJe||(kJe=OQe(["\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?o.css(wJe||(wJe=OQe(["\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})):o.css(xJe||(xJe=OQe(["\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})))},vJe=o.createGlobalStyle(SJe||(SJe=OQe(["\n ","\n"],["\n ","\n"])),(function(e){return bJ("\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 ")})),yJe=y.default(a.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(PJe||(PJe=OQe(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return gJe(e.useSecondaryBgColor)}));y.default(yWe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(EJe||(EJe=OQe(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return gJe(e.useSecondaryBgColor)}));var bJe,OJe,_Je,wJe,xJe,kJe,SJe,PJe,EJe,CJe,FJe,TJe,DJe,AJe=y.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(CJe||(CJe=OQe(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),U7),IJe=y.default(a.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(FJe||(FJe=OQe(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),LJe=o.createGlobalStyle(TJe||(TJe=OQe(["\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"])),Z7),$Je=function(e){var n=e.tagName,r=void 0===n?"div":n,o=e.id,a=e.values,s=e.dir,l=e.className;return i.createElement(r,{className:l,dir:s},t.jsx(hS,{id:o,values:a},void 0))},MJe=function(e){var n=e.icon,i=e.resourceKey,r=e.className,o=e.values,s="string"==typeof n?t.jsx(a.Icon,{iconName:n},void 0):n;return t.jsxs(zJe,mQe({className:r},{children:[s,t.jsx(hS,{id:i,values:o,tagName:"span"},void 0)]}),void 0)},zJe=y.default.div(DJe||(DJe=OQe(["\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,ree),RJe={},jJe=new bq;var QJe=new bq;function NJe(e){var t=i.useRef(!0);i.useEffect((function(){t.current||QJe.next(),t.current=!1}),e)}var UJe,BJe,qJe,GJe,WJe=function(e){var n=e.groupName,r=e.groupId,o=e.keywordName,a=e.keywordId,s=e.language,l=e.underlined,u=e.onClick,c=e.tabIndex,d=_6(),p=Q9(i.useContext(Ore).selectedKeywordGroups,d,r,o,n,s);return u?t.jsx(VJe,mQe({onClick:function(){return u(a)},tabIndex:c},{children:t.jsx(YJe,mQe({underlined:!0,dir:"auto"},{children:p}),void 0)}),void 0):t.jsx(YJe,mQe({underlined:l,dir:"auto"},{children:p}),void 0)},XJe=function(e){var n=e.groupId,r=e.keywordName,o=_6(),a=Q9(i.useContext(Ore).selectedKeywordGroups,o,n,r);return NJe([a]),t.jsx(YJe,mQe({underlined:!0},{children:a}),void 0)},VJe=y.default(EXe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(UJe||(UJe=OQe(["\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})),YJe=y.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(qJe||(qJe=OQe(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&o.css(BJe||(BJe=OQe(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),HJe=function(e){var n=e.modified,i=Xk();return n?t.jsxs(ZJe,mQe({className:"ms-fontColor-neutralTertiary"},{children:["(",t.jsx(yWe,mQe({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(hS,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},ZJe=y.default.div(GJe||(GJe=OQe(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),oee);function KJe(){return KJe=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},KJe.apply(this,arguments)}var JJe=function(e){return m.createElement("svg",KJe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),m.createElement("path",{d:"M303.95 99.623c0-6.623-5.377-12-12-12h-223c-6.623 0-12 5.377-12 12s5.377 12 12 12h223c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M109.95 111.623h231.857c6.113 0 11.143 5.417 11.143 12s-5.03 12-11.143 12H109.95c6.113 0 11.143-5.417 11.143-12s-5.03-12-11.143-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M328.95 147.623c0-6.623-5.377-12-12-12h-229c-6.623 0-12 5.377-12 12s5.377 12 12 12h229c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M72.95 159.623h181c-6.583 0-12 5.417-12 12s5.417 12 12 12h-181c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M354.95 195.623c0-6.623-5.377-12-12-12h-249c-6.623 0-12 5.377-12 12s5.377 12 12 12h249c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m287.318 41.85-140.914-4.921-6.98 199.878 140.914 4.921 6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m281.417 34.091-140.914 4.921 6.98 199.878 140.914-4.921-6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M270.614 121.843a3.922 3.922 0 0 0 2.186-5.094l-12.336-30.881a3.921 3.921 0 0 0-5.094-2.187 3.922 3.922 0 0 0-2.186 5.095l12.335 30.881a3.923 3.923 0 0 0 5.095 2.186Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M257.614 132.166c-13.771-34.474-20.534-54.646-13.585-57.422l.021-.008c6.947-2.729 15.939 16.546 29.696 50.986l-16.132 6.444Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m257.875 130.779 14.726-5.882c15.927 39.871 28.772 71.236 21.136 74.286-7.636 3.05-19.935-28.532-35.862-68.404ZM94.857 6.66c6.969 3.252 17.655 10.686 17.655 10.686-4.646 6.505-6.504 16.262-6.504 16.262 10.686 5.111 6.04 13.009 6.04 13.009-6.04 1.394-20.444-2.323-20.444-2.323-3.252 11.615-16.261 3.717-16.261 3.717 1.858-11.616 2.787-24.16 2.787-24.16-6.04-6.97-4.646-18.585-4.646-18.585C81.847 8.518 94.857 6.66 94.857 6.66Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M80.314 30.738c5.111 11.615 13.939 13.938 13.939 13.938 5.576 3.717 23.231-16.726 23.231-16.726 2.788 7.434-.929 19.514-.929 19.514-.929 6.04-6.969 13.474-6.969 13.474-5.111 3.717-21.373 2.323-21.373 2.323-9.757-5.575-14.868-8.828-14.868-8.828 1.859-9.757 6.505-14.403 6.505-14.403l.464-9.292Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M65.554 32.465c-2.788 10.222-2.323 17.191-2.323 17.191 5.111 7.898 18.585 14.403 18.585 14.403l8.828-12.545c4.181-3.252 14.867 2.323 14.867 2.323 6.505 2.788 13.01-13.009 13.01-13.009-10.686-10.222-15.333-14.868-15.333-14.868-5.11-7.434-6.504-13.938-6.504-13.938l-4.647-7.899c-4.646 4.646-4.181 26.019-4.181 26.019C90.179 34.788 71.594 32 71.594 32l-6.04.465Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m59.887 23.474-5.555 9.305 5.4 7.121 10.694 3.229c8.278-1.275 12.592-3.061 12.592-3.061 3.727-7.798 5.745-9.934 5.745-9.934l5.045-5.341 5.483-4.521.042-5.822-6.7-1.679c-6.172 2.254-12.943 5.358-12.943 5.358-3.685 1.976-14.171 6.016-14.171 6.016l-5.632-.671Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M102.724 12.771c-5.576 4.646-20.908 16.726-20.908 16.726-5.576 3.717-12.08 10.222-12.08 10.222l2.787 7.898c4.647 4.182 11.616 6.969 11.616 6.969 9.292 3.253 18.12 1.859 18.12 1.859 7.899-12.545 10.686-19.514 10.686-19.514 3.253-9.757 5.576-19.514 5.576-19.514-6.04-2.788-15.797-4.646-15.797-4.646Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M86.898 11.688c-6.505 2.323-17.191 6.04-17.191 6.04l-6.04 9.293-.465 13.474c6.505.929 18.12 3.717 18.12 3.717-.929-6.505-2.323-12.081-2.323-12.081l-.465-6.969 8.364-13.474Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function e0e(){return e0e=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},e0e.apply(this,arguments)}var t0e=function(e){return m.createElement("svg",e0e({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),m.createElement("path",{d:"M341.375 39.358c0-6.623-5.377-12-12-12h-248.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h248.5c6.623 0 12-5.377 12-12ZM394.625 63.358c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h337.75c6.623 0 12-5.377 12-12ZM384.625 135.309c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h327.75c6.623 0 12-5.377 12-12ZM151.75 75.358H16c-6.623 0-12 5.377-12 12s5.377 12 12 12h135.75c-6.623 0-12-5.377-12-12s5.377-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M58.688 99.358h153.75c6.623 0 12 5.377 12 12s-5.377 12-12 12H58.688c6.623 0 12-5.377 12-12s-5.377-12-12-12ZM368.778 98.309c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M198.494 11.655 94.626 18.918a5.483 5.483 0 0 0-5.084 5.849l8.792 125.734a5.483 5.483 0 0 0 5.849 5.084l103.867-7.263-9.556-136.667ZM202.138 11.4l103.867-7.263a5.483 5.483 0 0 1 5.849 5.084l8.792 125.734a5.483 5.483 0 0 1-5.084 5.849l-103.867 7.263L202.138 11.4Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m195.257 43.926.191 2.733-3.645.255-.509-7.289 3.644-.255.191 2.734 5.467-.383-1.465-20.955-91.112 6.371 8.283 118.445 91.111-6.371-1.465-20.956-5.467.382.191 2.734-3.644.255-.51-7.289 3.645-.255.191 2.733 5.466-.382-5.097-72.889-5.466.382ZM209.835 42.907l.191 2.733 3.644-.255-.509-7.289-3.645.255.191 2.733-5.466.383-1.466-20.956 91.112-6.371 8.282 118.445-91.111 6.371L209.592 118l5.467-.382.191 2.733 3.645-.254-.51-7.289-3.645.255.192 2.733-5.467.382-5.097-72.889 5.467-.382Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m193.498 44.964 18.223-1.274M198.723 119.676l18.222-1.274M193.243 41.32l18.223-1.274M198.468 116.032l18.222-1.275",style:{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeMiterlimit:1.5}}),m.createElement("path",{d:"m123.999 46.162 60.133-4.205M124.954 59.829l60.134-4.205M125.91 73.496l60.134-4.205M126.866 87.162l60.133-4.205M127.821 100.829l60.134-4.205M128.777 114.496l60.134-4.205M129.733 128.163l60.133-4.205M282.087 28.698l-57.401 4.014 2.74 39.178 57.4-4.014-2.739-39.178ZM285.591 78.81l-57.4 4.014 2.739 39.178 57.401-4.014-2.74-39.178Z",style:{fill:"none",stroke:"currentColor",strokeOpacity:.2,strokeWidth:2}}))};function n0e(){return n0e=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},n0e.apply(this,arguments)}var i0e=function(e){return m.createElement("svg",n0e({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),m.createElement("path",{d:"M306.436 12c0-6.623-5.377-12-12-12h-153.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.5c6.623 0 12-5.377 12-12ZM372.436 60c0-6.623-5.377-12-12-12H50.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h309.75c6.623 0 12-5.377 12-12ZM343.325 72.049h-153.75c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.75c-6.623 0-12-5.377-12-12s5.377-12 12-12ZM282.436 36c0-6.623-5.377-12-12-12H74.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h195.75c6.623 0 12-5.377 12-12ZM282.436 132c0-6.623-5.377-12-12-12h-129.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h129.5c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M356.686 108c0-6.623-5.377-12-12-12H68.936c-6.623 0-12 5.377-12 12s5.377 12 12 12h275.75c6.623 0 12-5.377 12-12ZM392.95 108c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m324.66 39.281-87.775-6.288-7.646 106.726 87.775 6.288 7.646-106.726Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m319.316 43.911-77.801-5.574-5.574 77.801 77.801 5.573 5.574-77.8Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M314.299 74.522 227.54 59.795l-17.906 105.491 86.759 14.727 17.906-105.491Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m308.533 78.615-76.9-13.053-13.054 76.9 76.9 13.053 13.054-76.9Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M240.587 19.16 93.266 33.322l10.047 104.518 147.321-14.162L240.587 19.16Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m168.075 38.186 7.654 79.633M186.507 83.631l41.808-4.019M187.751 96.571l41.808-4.019M188.995 109.511l41.808-4.018",style:{fill:"none",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m232.394 27.985-17.918 1.722 2.105 21.899 17.918-1.722-2.105-21.899Z",style:{fill:"currentColor",fillOpacity:.2}}))};function r0e(){return r0e=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},r0e.apply(this,arguments)}var o0e,a0e,s0e,l0e,u0e,c0e,d0e,p0e,h0e,f0e,m0e,g0e=function(e){return m.createElement("svg",r0e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),m.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),m.createElement("path",{d:"M248 12c0-6.623-5.377-12-12-12H136c-6.623 0-12 5.377-12 12s5.377 12 12 12h100c6.623 0 12-5.377 12-12ZM320 36c0-6.623-5.377-12-12-12H62c-6.623 0-12 5.377-12 12s5.377 12 12 12h246c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M105 48h245c6.583 0 12 5.417 12 12s-5.417 12-12 12H105c6.583 0 12-5.417 12-12s-5.417-12-12-12ZM36 72h268c-6.583 0-12 5.417-12 12s5.417 12 12 12H36c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M320 108c0-6.623-5.377-12-12-12H142c-6.623 0-12 5.377-12 12s5.377 12 12 12h166c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m290.483 107.633-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M259.221 66.661 122.533 78.619l.608 6.951 136.688-11.959-.608-6.95ZM233.685 81.664l-110.046 9.628.608 6.951 110.046-9.628-.608-6.951Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.222 31.003a1.175 1.175 0 0 0-.465-.814.774.774 0 0 0-.814-.233L235.71 34.84l5.814-9.3c.581.233 1.279.465 1.86.7 2.907.93 6.047.814 7.907-1.163 1.977-1.977 2.093-5 1.163-7.907a23.214 23.214 0 0 0-5.7-8.953 22.876 22.876 0 0 0-8.837-5.7 11.406 11.406 0 0 0-3.372-.581h-1.047a6.055 6.055 0 0 0-3.6 1.628c-1.977 1.977-2.093 5-1.163 7.907.233.581.465 1.279.7 1.86l-12.093 7.558a21.654 21.654 0 0 0-8.14-1.86c-3.372 0-6.512.93-8.721 3.256-3.14 3.14-3.837 7.791-2.791 12.558.233 1.047.581 2.093.93 3.256l-94.188 8.253a1.115 1.115 0 0 0-1.049 1.281l6.4 73.256c.036.324.204.619.465.814.267.198.602.282.93.233l6.86-1.4c.233 0 .349-.116.581-.233l6.86-6.279c.443-.348.96-.588 1.512-.7.44-.036.881.044 1.279.233l21.86 9.535a.703.703 0 0 0 .465.116h.233l22.555-5.345c.349-.116.581-.233.7-.581l6.86-12.558a2.665 2.665 0 0 1 2.907-1.279l16.633 4.188h.116l18.372 2.209c10.7 1.047 23.372 2.093 25.93 2.093a.701.701 0 0 0 .465-.116c2.558-.93 13.14-7.326 19.884-11.512a1.768 1.768 0 0 1 1.512-.349l12.791.814a2.477 2.477 0 0 1 1.744.814l8.14 8.488c.322.359.851.456 1.279.233l7.442-3.256c.472-.179.762-.662.7-1.163l-6.636-74.885Zm-1.739 76.63-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"currentColor",fillOpacity:.2}}))},v0e=function(e){var n=e.images,i=e.selectedIndex,r=e.hidden,o=e.onClose,s=e.imageUrlResolver,l=Mw((function(){return vQe(this,void 0,void 0,(function(){var e;return yQe(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}):xKe(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(a.Layer,{children:t.jsx(y0e,{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:i,hidden:r,onClose:o},void 0)},void 0)},y0e=function(e){var n=e.images,r=e.hidden,o=e.selectedIndex,a=e.onClose,s=Xk().formatMessage,l=i.useRef(null),u=i.useRef();return i.useEffect((function(){var e;if(!r)return clearTimeout(u.current),u.current=setTimeout((function(){return e=function(){var e=new goe(l.current,yoe,n.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:o});return e.listen("close",a),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[r,o]),t.jsxs(t.Fragment,{children:[t.jsx(b0e,{enforceArrowVisibility:!as.isNativeMobileApp},void 0),t.jsxs("div",mQe({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[t.jsx("div",{className:"pswp__bg"},void 0),t.jsxs("div",mQe({className:"pswp__scroll-wrap"},{children:[t.jsxs("div",mQe({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",mQe({className:"pswp__ui pswp__ui--hidden"},{children:[t.jsxs("div",mQe({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",mQe({className:"pswp__preloader"},{children:t.jsx("div",mQe({className:"pswp__preloader__icn"},{children:t.jsx("div",mQe({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",mQe({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",mQe({className:"pswp__caption"},{children:t.jsx("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},b0e=o.createGlobalStyle(a0e||(a0e=OQe(["\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&&o.css(o0e||(o0e=OQe(["\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 "])))})),O0e=function(e){var n=e.images,r=e.imageUrlResolver,o=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,u=Xk().formatMessage,c=i.useState(null),d=c[0],p=c[1],h=i.useContext(Vie).theme.palette;if(!n||0===n.length)return null;var f=n.length>4,m=n.length>1,g=n[0];return t.jsxs(w0e,mQe({"data-multi-images":m,className:l,singleImageHeight:g.height,singleImageWidth:g.width},{children:[t.jsx("div",mQe({"data-gallery-wrapper":!0},{children:m?t.jsxs(t.Fragment,{children:[t.jsx(k0e,mQe({backgroundColor:null!=s?s:h.neutralLight,applyRoundedCorners:!o},{children:n.slice(0,4).map((function(e,n){return t.jsx(S0e,mQe({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(P0e,{src:e.previewUrl,imageFit:a.ImageFit.centerCover,alt:e.imageTitle||""},void 0)}),n)}))}),void 0),f&&t.jsxs(E0e,mQe({onClick:function(){return v(4)}},{children:["+",n.length-4]}),void 0)]},void 0):t.jsx(_0e,{image:g,onClick:function(){return v(0)},disableRoundedCorners:o},void 0)}),void 0),t.jsx(v0e,{images:n,selectedIndex:d,hidden:null==d,onClose:function(){p(null)},imageUrlResolver:r},void 0)]}),void 0);function v(e){p(e)}},_0e=function(e){var n=e.image,i=e.onClick,r=e.disableRoundedCorners,o=Xk().formatMessage;return t.jsx(x0e,mQe({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":o({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:t.jsx("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},w0e=y.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(l0e||(l0e=OQe(["\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&&o.css(s0e||(s0e=OQe(["\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)})),x0e=y.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(c0e||(c0e=OQe(["\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&&o.css(u0e||(u0e=OQe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),k0e=y.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(p0e||(p0e=OQe(["\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&&o.css(d0e||(d0e=OQe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),S0e=y.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(h0e||(h0e=OQe(["\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"]))),P0e=y.default(a.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(f0e||(f0e=OQe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),E0e=y.default(a.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(m0e||(m0e=OQe(["\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"])),nee,W7,28);var C0e,F0e,T0e,D0e,A0e,I0e,L0e=function(e){var n=e.icon,i=e.isActive,r=e.disabled,o=e.tooltipResourceKey,s=e.onClick,l=e.link,u=e.className,c=gQe(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=Xk().formatMessage;if(!l&&!s)return null;var p=HB("header-button",u),h=l?t.jsx(z0e,mQe({className:p,to:l},c,{children:t.jsx(a.Icon,{iconName:n},void 0)}),void 0):t.jsx(M0e,mQe({className:p,disabled:r,onClick:function(e){return s(e.currentTarget)},iconProps:{iconName:n},ariaLabel:d({id:o}),"data-button-type":"header-btn",isActive:i},c),void 0);return t.jsx($0e,mQe({className:"tooltip-container"},{children:t.jsx(yWe,mQe({resourceKey:o},{children:h}),void 0)}),void 0)},$0e=y.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(C0e||(C0e=OQe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),M0e=y.default(a.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(D0e||(D0e=OQe(['\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&&o.css(F0e||(F0e=OQe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&o.css(T0e||(T0e=OQe(["\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)})),z0e=y.default(r.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(I0e||(I0e=OQe(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return o.css(A0e||(A0e=OQe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),R0e="\t\n\v\f\r \u2028\u2029\ufeff",j0e=QQe,Q0e="[\t\n\v\f\r \u2028\u2029\ufeff]",N0e=RegExp("^"+Q0e+Q0e+"*"),U0e=RegExp(Q0e+Q0e+"*$"),B0e=function(e){return function(t){var n=String(j0e(t));return 1&e&&(n=n.replace(N0e,"")),2&e&&(n=n.replace(U0e,"")),n}},q0e={start:B0e(1),end:B0e(2),trim:B0e(3)},G0e=CQe,W0e=R0e,X0e=q0e.trim,V0e=function(e){return G0e((function(){return!!W0e[e]()||"
"!="
"[e]()||W0e[e].name!==e}))};dBe({target:"String",proto:!0,forced:V0e("trim")},{trim:function(){return X0e(this)}});var Y0e,H0e,Z0e,K0e,J0e,e1e,t1e,n1e,i1e,r1e,o1e,a1e,s1e,l1e,u1e,c1e,d1e,p1e=function(e){var n=e.url,r=e.target,o=e.ariaLabel,a=e.children,s=e.className,l=e.style,u=gQe(e,["url","target","ariaLabel","children","className","style"]);w6();var c=$ne(),d=i.useContext(yS);d.onOpenExternalLink;var p=d.tryGetInternalLink,h=!r&&p(n,c);return h?t.jsx(IWe,mQe({className:s,to:h,"data-link":j7.Internal,"aria-label":o,style:l,dir:"auto"},u,{children:a}),void 0):t.jsx(h1e,mQe({url:n,target:r,className:s,ariaLabel:o,style:l},u,{children:a}),void 0)},h1e=function(e){var n=e.url,i=e.target,r=e.ariaLabel,o=e.onClick,a=e.className,s=e.children,l=e.style,u=gQe(e,["url","target","ariaLabel","onClick","className","children","style"]);return t.jsx(AWe,mQe({href:n,onClick:function(e){return null==o?void 0:o(e)},className:a,target:void 0===i?"_blank":i,rel:"noopener noreferrer","aria-label":r,"data-link":j7.External,style:l,dir:"auto"},u,{children:s}),void 0)},f1e=o.css(Y0e||(Y0e=OQe(["\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"]))),m1e=y.default(p1e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(H0e||(H0e=OQe(["\n ","\n"],["\n ","\n"])),f1e),g1e=y.default(h1e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(Z0e||(Z0e=OQe(["\n ","\n"],["\n ","\n"])),f1e),v1e=y.default(a.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(J0e||(J0e=OQe(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&o.css(K0e||(K0e=OQe(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),y1e=y.default((function(e){var n,i=e.iconName,r=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=gQe(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=Xk().formatMessage,g=r||(null===(n=null==o?void 0:o.trim())||void 0===n?void 0:n.length)>0&&m({id:o});return t.jsxs(yWe,mQe({resourceKey:d,text:c},{children:[l&&!s&&t.jsx(m1e,mQe({url:l,ariaLabel:g,target:u},f,{children:t.jsx(a.Icon,{iconName:i,className:h},void 0)}),void 0),s&&!l&&t.jsx(v1e,mQe({disabled:p,iconProps:{iconName:i},onClick:s,className:h,ariaLabel:g},f),void 0),s&&l&&t.jsx(g1e,mQe({url:l,target:u,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:t.jsx(a.Icon,{iconName:i,className:h},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(t1e||(t1e=OQe(["\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&&o.css(e1e||(e1e=OQe(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),b1e=function(e){var n=e.shouldAutoFocus,o=void 0===n||n,a=Xk(),s=i.useState(null),l=s[0],u=s[1],c=r.useLocation(),d=i.useContext(Vie).theme.textColors,p=i.useRef();return i.useEffect((function(){return Wre(f),o&&setTimeout((function(){var e;return p&&(null===(e=p.current)||void 0===e?void 0:e.focus())})),function(){Xre(f)}}),[]),i.useEffect((function(){u("")}),[c.pathname]),t.jsxs(w1e,mQe({className:HB("search-field",e.className),useLightTheme:e.useLightTheme},{children:[t.jsx(O1e,{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||a.formatMessage({id:"TopBar.search"}),componentRef:function(e){return p.current=e},ariaLabel:a.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),e.searching&&t.jsx(_1e,{className:"search-spinner"},void 0),t.jsx(x1e,{"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)}},O1e=y.default(a.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(r1e||(r1e=OQe(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?o.css(n1e||(n1e=OQe(["\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}),_Ke("color: "+e.theme.textColors.default)):o.css(i1e||(i1e=OQe(["\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}),_Ke("color: "+e.theme.textColors.onPrimary))})),_1e=y.default(a.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(o1e||(o1e=OQe(["\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})),w1e=y.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(l1e||(l1e=OQe(["\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"])),_Ke("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?o.css(a1e||(a1e=OQe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):o.css(s1e||(s1e=OQe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),x1e=y.default(PWe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(u1e||(u1e=OQe(["\n align-self: center;\n"],["\n align-self: center;\n"]))),k1e=function(e){var n=e.onSearchInputFieldVisibilityChanged,r=e.isToolbarMode,o=e.onExecuteSearch,a=e.onSearchTextChange,s=e.searchText,l=e.showSearchBoxInput,u=e.className,c=e.shouldAutoFocus,d=i.useState(!!s),p=d[0],h=d[1],f=l||p||!!s;return i.useEffect((function(){null==n||n(f)}),[f]),t.jsxs(t.Fragment,{children:[f&&t.jsx(b1e,{onChange:a,onExecuteSearch:o,searchText:s,onClear:function(){null==a||a(""),m(!1)},shouldAutoFocus:c,className:u,useLightTheme:r},void 0),!f&&(r?t.jsx(y1e,{iconName:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):t.jsx(L0e,{icon:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function m(e){h(e),null==n||n(e)}},S1e=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},P1e=dNe,E1e=QQe,C1e=S1e,F1e=tKe;XZe("search",1,(function(e,t,n){return[function(t){var n=E1e(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=P1e(e),o=String(this),a=r.lastIndex;C1e(a,0)||(r.lastIndex=0);var s=F1e(r,o);return C1e(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]})),y.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(c1e||(c1e=OQe(["\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"}(d1e||(d1e={})),y.default(a.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(T1e||(T1e=OQe(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),y.default.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(I1e||(I1e=OQe(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?o.css(D1e||(D1e=OQe(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):o.css(A1e||(A1e=OQe(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),y.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(L1e||(L1e=OQe(["\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"})),y.default.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})($1e||($1e=OQe(["\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 T1e,D1e,A1e,I1e,L1e,$1e,M1e,z1e,R1e,j1e=y.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(M1e||(M1e=OQe(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));y.default.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(z1e||(z1e=OQe(["\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"}),j1e,(function(e){return e.isLoading?"0.6":"1"})),y.default(FVe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(R1e||(R1e=OQe(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var Q1e,N1e,U1e=function(e){return t.jsx(B1e,mQe({},e,{"data-toggle-button":!0}),void 0)},B1e=y.default(a.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(Q1e||(Q1e=OQe(["\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})),q1e=function(e){return o.css(N1e||(N1e=OQe(["\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 G1e(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[$9(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}var W1e=XZe,X1e=dNe,V1e=fBe,Y1e=xUe,H1e=OUe,Z1e=QQe,K1e=KZe,J1e=tKe,e2e=Math.max,t2e=Math.min,n2e=Math.floor,i2e=/\$([$&'`]|\d\d?|<[^>]*>)/g,r2e=/\$([$&'`]|\d\d?)/g,o2e=function(e){return void 0===e?e:String(e)};W1e("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=Z1e(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var u=X1e(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=J1e(u,c);if(null===m)break;if(f.push(m),!p)break;""===String(m[0])&&(u.lastIndex=K1e(c,Y1e(u.lastIndex),h))}for(var g="",v=0,y=0;y<f.length;y++){m=f[y];for(var b=String(m[0]),O=e2e(t2e(H1e(m.index),c.length),0),_=[],w=1;w<m.length;w++)_.push(o2e(m[w]));var x=m.groups;if(d){var k=[b].concat(_,O,c);void 0!==x&&k.push(x);var S=String(i.apply(void 0,k))}else S=s(b,c,O,_,x,i);O>=v&&(g+=c.slice(v,O)+S,v=O+b.length)}return g+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=r2e;return void 0!==o&&(o=V1e(o),u=i2e),t.call(a,u,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=o[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var d=n2e(c/10);return 0===d?t:d<=l?void 0===r[d-1]?a.charAt(1):r[d-1]+a.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var a2e=qQe,s2e=gGe,l2e=FQe,u2e=PQe,c2e=iBe,d2e=function(e,t,n){var i,r;return s2e&&"function"==typeof(i=t.constructor)&&i!==n&&a2e(r=i.prototype)&&r!==n.prototype&&s2e(e,r),e},p2e=uNe.f,h2e=vUe.f,f2e=cqe,m2e=KWe,g2e=xZe,v2e=ONe.exports,y2e=CQe,b2e=rUe.set,O2e=zVe,_2e=aqe("match"),w2e=u2e.RegExp,x2e=w2e.prototype,k2e=/a/g,S2e=/a/g,P2e=new w2e(k2e)!==k2e,E2e=g2e.UNSUPPORTED_Y;if(l2e&&c2e("RegExp",!P2e||E2e||y2e((function(){return S2e[_2e]=!1,w2e(k2e)!=k2e||w2e(S2e)==S2e||"/a/i"!=w2e(k2e,"i")})))){for(var C2e=function(e,t){var n,i=this instanceof C2e,r=f2e(e),o=void 0===t;if(!i&&r&&e.constructor===C2e&&o)return e;P2e?r&&!o&&(e=e.source):e instanceof C2e&&(o&&(t=m2e.call(e)),e=e.source),E2e&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=d2e(P2e?new w2e(e,t):w2e(e,t),i?this:x2e,C2e);return E2e&&n&&b2e(a,{sticky:n}),a},F2e=function(e){e in C2e||p2e(C2e,e,{configurable:!0,get:function(){return w2e[e]},set:function(t){w2e[e]=t}})},T2e=h2e(w2e),D2e=0;T2e.length>D2e;)F2e(T2e[D2e++]);x2e.constructor=C2e,C2e.prototype=x2e,v2e(u2e,"RegExp",C2e)}O2e("RegExp");var A2e,I2e=W7-q7,L2e=X7-q7;function $2e(e){return!!e&&B2e.test(e)}function M2e(e){return e?"https://www.google.com/maps/search/?api=1&"+Xm.stringify({query:e}):null}function z2e(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}y.default.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(A2e||(A2e=OQe(["\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"])),N7,Z7,U7,10,10,W7,U7,I2e,X7,L2e);var R2e,j2e,Q2e,N2e,U2e,B2e=new RegExp("^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~#+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),q2e=y.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(j2e||(j2e=OQe(["\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,aee,(function(e){return e.showPlaceholder&&o.css(R2e||(R2e=OQe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),W7,I2e,aee,X7,(function(e){return e.defaultWidth||250}));y.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(N2e||(N2e=OQe(["\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&&o.css(Q2e||(Q2e=OQe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),y.default(a.Icon).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(U2e||(U2e=OQe(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),N7);var G2e,W2e,X2e,V2e,Y2e,H2e,Z2e,K2e,J2e,e3e,t3e=function(e){var n=e.enterDuration,i=e.leaveDuration,r=e.children,o=e.style,a=e.className,s=!!n,l=!!i,u="common-opacity-animation_"+n+"_"+i;return t.jsxs(t.Fragment,{children:[t.jsx(n3e,{name:u,enterDuration:n,leaveDuration:i},void 0),t.jsx(eae,mQe({style:o,className:a,transitionName:u,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:n,transitionEnterTimeout:n},{children:r}),void 0)]},void 0)},n3e=o.createGlobalStyle(G2e||(G2e=OQe(["\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})),i3e=function(e){var n=e.finalHeight,i=e.enterDuration,r=e.leaveDuration,o=e.children,a=e.style,s=e.className,l=!!i,u=!!r,c="common-ease-animation_"+i+"_"+r;return t.jsxs(t.Fragment,{children:[t.jsx(r3e,{name:c,enterDuration:i,leaveDuration:r,finalHeight:n},void 0),t.jsx(eae,mQe({style:a,className:s,transitionName:c,transitionAppear:l,transitionEnter:l,transitionLeave:u,transitionLeaveTimeout:r,transitionAppearTimeout:i,transitionEnterTimeout:i},{children:o}),void 0)]},void 0)},r3e=o.createGlobalStyle(W2e||(W2e=OQe(["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"],["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"])),(function(e){return e.name}),(function(e){return"number"==typeof e.finalHeight?e.finalHeight+"px":e.finalHeight}),(function(e){return e.enterDuration}),(function(e){return"number"==typeof e.finalHeight?e.finalHeight+"px":e.finalHeight}),(function(e){return e.leaveDuration})),o3e=function(e){var n=e.contentLanguageCode,r=e.originalContent,o=e.content,a=e.onTranslate,s=e.onContentChange,l=e.itemType,u=e.itemId,c=e.tooltipResourceKey,d=e.showLabel,p=Xk().formatMessage,h=_6(),f=w6(),m=i.useState(null),g=m[0],v=m[1],y=i.useState(r===o),b=y[0],O=y[1],_=rre().showError,w=zee().interaction,x=$9(h);if(i.useEffect((function(){return v(null)}),[r]),!f.automaticTranslation)return null;var k=p({id:"Generic.translate"});return n&&n!==x&&I9.includes(x)&&!A9.includes(x)?t.jsx(yWe,mQe({resourceKey:b?"Generic.translateTo":c,values:{language:p({id:"Generic.languages."+x})}},{children:t.jsx(a3e,mQe({"aria-label":d?null:k,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return vQe(this,void 0,void 0,(function(){var e;return yQe(this,(function(t){switch(t.label){case 0:return b?g?(s(g),O(!1),[3,4]):[3,1]:(s(r),O(!0),w({event:fee.translateContent,value:null,action:mee.click,item:{id:u,type:l}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,a(x)];case 2:return e=t.sent(),s(e),v(e),O(!1),[3,4];case 3:return t.sent(),_("Generic.error"),[3,4];case 4:return w({event:fee.translateContent,value:x,itemType:l,action:mee.click,itemId:u,item:{id:u,type:l}}),[2]}}))}))}},{children:d&&k}),void 0)}),void 0):null},a3e=y.default(EXe)(X2e||(X2e=OQe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),s3e=y.default(a.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(V2e||(V2e=OQe(["\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})),l3e=function(n){var r=n.comment,o=n.showEdit,a=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=Xk().formatMessage,y=_6(),b=i.useState(!1),O=b[0],_=b[1],w=i.useRef(null);return y.isPublicUser&&!f?null:y.isPublicUser&&f?t.jsx(o3e,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0):t.jsxs(t.Fragment,{children:[t.jsx("div",mQe({ref:w},{children:t.jsx(c3e,{"data-menu-button":r.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return _(!O)},ariaLabel:v({id:"AriaLabel.contextMenuButton"}),disabled:g},void 0)}),void 0),O&&t.jsx(p3e,mQe({"data-context-menu":!0,target:w.current,onDismiss:function(){return _(!1)}},{children:t.jsxs(u3e,{children:[t.jsx(yWe,mQe({resourceKey:"Comment.replyButton.tooltip",values:{name:r.sender.displayName}},{children:t.jsx(d3e,{"data-reply-button":r.id,iconProps:{iconName:"Reply"},onClick:function(){null==m||m(r,r.sender),_(!1)},text:v({id:"Comment.replyButton"})},void 0)}),void 0),f&&t.jsx(o3e,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0),o&&t.jsx(yWe,mQe({resourceKey:"Comment.edit.tooltip"},{children:t.jsx(d3e,{"data-edit-button":r.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),_(!1)},text:v({id:"Generic.edit"}),disabled:!r.id||l},void 0)}),void 0),a&&t.jsx(yWe,mQe({resourceKey:"Comment.delete.tooltip"},{children:t.jsx(d3e,{"data-delete-button":r.id,iconProps:{iconName:"Delete"},onClick:function(){s(r),_(!1)},text:v({id:"Generic.Delete"}),disabled:!r.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},u3e=y.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(Y2e||(Y2e=OQe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),c3e=y.default(PWe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(H2e||(H2e=OQe(["\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),d3e=y.default(EXe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(Z2e||(Z2e=OQe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),p3e=y.default(AXe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(K2e||(K2e=OQe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),N7);y.default(a.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(J2e||(J2e=OQe(["\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"]))),y.default(a.DefaultButton).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(e3e||(e3e=OQe(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var h3e,f3e,m3e,g3e,v3e,y3e=y.default(a.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(h3e||(h3e=OQe(["\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})),b3e=function(e){var n=e.toggleAll,r=e.className,o=i.useContext(Vie).theme.palette.accent;return t.jsxs(O3e,mQe({className:r},{children:[t.jsx(_3e,mQe({onClick:function(){return n(!0)},"data-button-toggle":"selectAll",color:o},{children:t.jsx(hS,{id:"Generic.SelectAll"},void 0)}),void 0),t.jsx(_3e,mQe({onClick:function(){return n(!1)},"data-button-toggle":"clearAll",color:o},{children:t.jsx(hS,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},O3e=y.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(f3e||(f3e=OQe(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),N7),_3e=y.default(EXe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(m3e||(m3e=OQe(["\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"])));y.default((function(e){var n=e.iconName,i=e.textKey,o=gQe(e,["iconName","textKey"]);return t.jsxs(r.NavLink,mQe({},o,{children:[n&&t.jsx(a.Icon,{iconName:n},void 0),t.jsx(hS,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(g3e||(g3e=OQe(["\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"])),N7,(function(e){return e.theme.palette.accent})),y.default(PWe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(v3e||(v3e=OQe([""],[""])));var w3e,x3e,k3e,S3e,P3e=function(e){var n=e.language,r=e.channel,o=e.role,a=e.className,s=_6(),l=i.useContext(Ore).channels,u=F3e(function(){if(!l)return r;return l.find((function(e){return e.id===r.id||e.name===r.name}))}(),s,n);return t.jsx(E3e,mQe({title:u,className:a,role:o,dir:"auto"},{children:u}),void 0)},E3e=y.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(w3e||(w3e=OQe(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),C3e=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(P3e,{channel:e,language:i},void 0)]},e.id)}))},void 0)};function F3e(e,t,n){if(null==e)return null;n||(n=$9(t));var i=e.translations||{};return n&&i[n]||i[t.subscription.defaultLanguage]||e.name}y.default(P3e).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(x3e||(x3e=OQe(["\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"}),tee),y.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(k3e||(k3e=OQe(["\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"])),N7,15,OKe(2,2),tee),y.default(PWe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(S3e||(S3e=OQe(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),tee);var T3e,D3e,A3e,I3e,L3e,$3e,M3e,z3e,R3e,j3e=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.visibleChannelsCount,a=void 0===o?3:o,s=e.onChannelClick,l=e.className;if(!n||0===n.length)return null;var u=n.length>a;return t.jsxs(U3e,mQe({className:l,"data-has-more-indicator":u},{children:[t.jsx(Q3e,{channels:n.slice(0,a),language:i,channelStyleDefinition:r,onChannelClick:s},void 0),u&&t.jsx(N3e,{channels:n.slice(a),language:i,styleDefinition:r,onChannelClick:s},void 0)]}),void 0)},Q3e=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.onChannelClick;return t.jsx(B3e,mQe({"data-channels":!0},{children:n.map((function(e){var a=t.jsx(P3e,{channel:e,language:i},void 0);return o?t.jsx(q3e,mQe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return o(e)},"data-rounded-outline":!0},{children:a}),e.id):t.jsx(G3e,mQe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:a}),e.id)}))}),void 0)},N3e=function(e){var n=e.channels,r=e.language,o=e.styleDefinition,a=e.onChannelClick,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return t.jsxs(X3e,mQe({ref:s},{children:[t.jsx(V3e,mQe({onClick:function(){return c(!0)},backgroundColor:null==o?void 0:o.backgroundColor,color:null==o?void 0:o.color,"data-channels-indicator":!0},{children:"+"+n.length}),void 0),u&&t.jsx(Y3e,mQe({target:s.current,onDismiss:function(){return c(!1)}},{children:t.jsx(H3e,{children:n.map((function(e){return t.jsx("li",{children:a?t.jsx(EXe,mQe({onClick:function(){return a(e)}},{children:t.jsx(P3e,{channel:e,language:r},void 0)}),void 0):t.jsx(P3e,{channel:e,language:r},void 0)},e.id)}))},void 0)}),void 0)]}),void 0)},U3e=y.default.div(T3e||(T3e=OQe(["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),6),B3e=y.default.div(D3e||(D3e=OQe(["\n display: flex;\n align-items: center;\n gap: ","px;\n"],["\n display: flex;\n align-items: center;\n gap: ","px;\n"])),6),q3e=y.default(EXe)(A3e||(A3e=OQe(["\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 W3e(e.bubbleCount,e.backgroundColor,e.color)})),G3e=y.default.span(I3e||(I3e=OQe(["\n ","\n"],["\n ","\n"])),(function(e){return W3e(e.bubbleCount,e.backgroundColor,e.color)})),W3e=function(e,t,n){return o.css(L3e||(L3e=OQe(["\n width: fit-content;\n\n ","\n\n ","\n "],["\n width: fit-content;\n\n ","\n\n ","\n "])),e&&"\n max-width: calc(\n (100% - "+6*(e-1)+"px) / "+e+"\n );",bWe({backgroundColor:t,color:n}))},X3e=y.default.div($3e||($3e=OQe([""],[""]))),V3e=y.default(EXe)(M3e||(M3e=OQe(["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"],["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"])),(function(e){return bWe({backgroundColor:e.backgroundColor,color:e.color,inlinePadding:8})})),Y3e=y.default(AXe)(z3e||(z3e=OQe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),H3e=y.default.ul(R3e||(R3e=OQe(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),Z3e=function(e){var n=e.channels,i=e.buildChannelFilterUrl,r=e.language,o=e.channelBackgroundColor,a=e.onClick,s=e.className;return(null==n?void 0:n.length)?t.jsx(m4e,mQe({className:s,"data-channels":n.map((function(e){return e.name})).join(",")},{children:n.map((function(e){var n=t.jsx(v4e,mQe({backgroundColor:o},{children:t.jsx(P3e,{channel:e,language:r},void 0)}),void 0);return t.jsxs(g4e,{children:[i&&t.jsx(y4e,mQe({"data-channel":!0,to:i(K3e(e)?e.name:e),"data-rounded-outline":!0},{children:n}),void 0),a&&t.jsx(O4e,mQe({"data-rounded-outline":!0,onClick:function(){return a(K3e(e)?e.name:e)}},{children:n}),void 0),!a&&!i&&t.jsx(b4e,{children:n},void 0)]},e.id)}))}),void 0):null};function K3e(e){return null!=e.id}var J3e,e4e,t4e,n4e,i4e,r4e,o4e,a4e,s4e,l4e,u4e,c4e,d4e,p4e,h4e,f4e,m4e=y.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(J3e||(J3e=OQe(["\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"])),ree),g4e=y.default.li.withConfig({displayName:"ClickableChannelTitles__ChannelItem",componentId:"sc-1a7ny18-1"})(e4e||(e4e=OQe(["\n &:last-child > * {\n margin-inline: 0;\n }\n"],["\n &:last-child > * {\n margin-inline: 0;\n }\n"]))),v4e=y.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-2"})(t4e||(t4e=OQe(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?bWe({backgroundColor:e.backgroundColor}):bWe()})),y4e=y.default(r.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-3"})(n4e||(n4e=OQe(["\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),b4e=y.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-4"})(i4e||(i4e=OQe(["\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),O4e=y.default(EXe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-5"})(r4e||(r4e=OQe(["\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),_4e=function(e){var n=e.searchText,i=e.onSearchTextChange,r=e.onExecuteSearch,o=e.onSearchIconClick,a=e.onSearchInputFieldVisibilityChanged;return t.jsxs(t.Fragment,{children:[t.jsx(w4e,{children:t.jsx(k1e,{searchText:n,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:a,isToolbarMode:!0},void 0)},void 0),t.jsx(x4e,{children:t.jsx(y1e,{iconName:"Search",onClick:o,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},w4e=y.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(o4e||(o4e=OQe(["\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"])),K7),x4e=y.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(a4e||(a4e=OQe(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),X7),k4e=function(e){var n=e.leftSide,r=e.hideLeftSide,o=e.rightSide,a=e.hideRightSide,s=e.search,l=e.className,u=e.children,c=i.useState(!1),d=c[0],p=c[1];return t.jsxs(S4e,mQe({className:l,"data-content-toolbar":!0},{children:[t.jsxs(C4e,{children:[n&&!r&&t.jsx(P4e,{children:n},void 0),(o||s)&&!a&&t.jsxs(E4e,{children:[s&&t.jsx(_4e,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?h():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}},void 0),o]},void 0)]},void 0),u,s&&d&&t.jsx(F4e,{children:t.jsx(b1e,{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)}},S4e=y.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(s4e||(s4e=OQe(["\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),P4e=y.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(l4e||(l4e=OQe(["\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"]))),E4e=y.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(u4e||(u4e=OQe(["\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"]))),C4e=y.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(c4e||(c4e=OQe(["\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"]))),F4e=y.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(d4e||(d4e=OQe(["\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"])),X7);y.default(k4e).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(p4e||(p4e=OQe(["\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"])),N7,N7,X7,U7,U7),y.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(h4e||(h4e=OQe(["\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"]))),y.default.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(f4e||(f4e=OQe([""],[""])));var T4e,D4e,A4e,I4e,L4e,$4e,M4e,z4e,R4e,j4e,Q4e,N4e=function(e){var n=e.onEmojiSelected,r=e.disabled,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1],c=Xk().formatMessage;return t.jsxs(t.Fragment,{children:[t.jsx(U4e,mQe({ref:o},{children:t.jsx(PWe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:r,ariaLabel:c({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&t.jsx(B4e,mQe({directionalHint:a.DirectionalHint.topCenter,target:o.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:t.jsx(G4e,{onSelect:function(e){u(!1),n(e.native)}},void 0)}),void 0)]},void 0)},U4e=y.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(T4e||(T4e=OQe([""],[""]))),B4e=y.default(AXe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(D4e||(D4e=OQe(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),q4e=i.lazy((function(){return Promise.resolve().then((function(){return umr}))})),G4e=function(e){var n=e.onSelect,r=zw();return t.jsx(i.Suspense,mQe({fallback:t.jsx(W4e,mQe({isSmaller:r.width<W7},{children:t.jsx(FVe,{},void 0)}),void 0)},{children:t.jsx(q4e,{onSelect:n},void 0)}),void 0)},W4e=y.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(A4e||(A4e=OQe(["\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})),X4e=function(){var e=Am();return t.jsx(V4e,{children:t.jsx("a",mQe({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)},V4e=y.default.div(I4e||(I4e=OQe(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),Y4e=function(e){var n,r,o=e.onGifClick,s=e.className,l=Wm(),u=Xk().formatMessage,c=new fue.GiphyFetch(l.giphy.apiKey),d=i.useState(null),p=d[0],h=d[1],f=hwe(p,500)[0],m=zw(),g=Mw((function(){if(!f)return c.trending({limit:21});return c.search(f,{limit:21})}),null,[f]),v=g[0],y=g[1],b=m.width<550?80:100;return t.jsxs(H4e,mQe({className:s},{children:[t.jsx(a.SearchBox,{placeholder:u({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return h(t)},autoFocus:!0},void 0),t.jsxs(Z4e,mQe({columnWidth:b,"data-gif-grid":!0},{children:[y&&t.jsx(FVe,{delay:300},void 0),0===(null===(n=null==v?void 0:v.data)||void 0===n?void 0:n.length)&&t.jsx(hS,{id:"Generic.noResultsFound"},void 0),null===(r=null==v?void 0:v.data)||void 0===r?void 0:r.map((function(e){return t.jsx(K4e,{gif:e,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:o},e.id)}))]}),void 0)]}),void 0)},H4e=y.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(L4e||(L4e=OQe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),Z4e=y.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})($4e||($4e=OQe(["\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"])),N7,(function(e){return e.columnWidth}),6),K4e=y.default(tae.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(M4e||(M4e=OQe(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),J4e=function(e){var n=e.target,i=e.onGifClick,r=e.onDismiss;return t.jsxs(e5e,mQe({directionalHint:a.DirectionalHint.topCenter,target:n,onDismiss:r,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[t.jsx(t5e,{onGifClick:i},void 0),t.jsx(X4e,{},void 0)]}),void 0)},e5e=y.default(AXe)(z4e||(z4e=OQe(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),t5e=y.default(Y4e)(R4e||(R4e=OQe(["\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"])));o.createGlobalStyle(j4e||(j4e=OQe(["\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"])),Z7),y.default(Y4e).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(Q4e||(Q4e=OQe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),N7);var n5e,i5e,r5e,o5e,a5e,s5e,l5e=function(e){var n=e.disabled,r=e.onGifClick,o=w6(),a=Xk().formatMessage,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return o.giphy?t.jsxs("div",{children:[t.jsx("div",mQe({ref:s},{children:t.jsx(PWe,{iconProps:{iconName:"Gif"},onClick:function(){return c(!0)},disabled:n,"data-button-type":"gif",ariaLabel:a({id:"AriaLabel.gifButton"})},void 0)}),void 0),u&&t.jsx(t.Fragment,{children:t.jsx(J4e,{target:s.current,onGifClick:function(e){c(!1),r({id:e.id.toString(),filename:e.title,url:e.embed_url,type:V6.Giphy})},onDismiss:function(){return c(!1)}},void 0)},void 0)]},void 0):null},u5e=function(e){var n=e.gifInfo,r=e.className,o=Wm(),a=i.useState(),s=a[0],l=a[1];return i.useEffect((function(){new fue.GiphyFetch(o.giphy.apiKey).gif(n.id).then((function(e){return l(e.data)}))}),[o.giphy.apiKey,n.id]),s?t.jsx(c5e,mQe({className:r},{children:t.jsx(d5e,{gif:s,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},c5e=y.default.div(n5e||(n5e=OQe([""],[""]))),d5e=y.default(tae.Gif)(i5e||(i5e=OQe(["\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"])),Z7),p5e=function(e){var n=e.attachments,i=e.onDeleteClick,r=e.className,o=Xk().formatMessage,a=n.filter((function(e){return e.type===V6.Giphy}));return 0===a.length?null:t.jsx(h5e,mQe({className:r,"data-gif-attachment-list":!0},{children:a.map((function(e){return t.jsx(f5e,mQe({domIdentifier:"gif",deleteButton:t.jsx(y3e,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:t.jsx(u5e,{gifInfo:e},void 0)}),e.id)}))}),void 0)},h5e=y.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(r5e||(r5e=OQe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),f5e=y.default(xXe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(o5e||(o5e=OQe(["\n width: auto;\n"],["\n width: auto;\n"]))),m5e=function(e){var n=e.attachments,i=e.className,r=n.filter((function(e){return e.type===V6.Giphy}));return 0===r.length?null:t.jsx(g5e,mQe({className:i,"data-gif-url-preview":r[0].id},{children:t.jsx(v5e,{children:t.jsx(u5e,{gifInfo:r[0]},void 0)},void 0)}),void 0)},g5e=y.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(a5e||(a5e=OQe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),v5e=y.default(xXe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(s5e||(s5e=OQe(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),N7);var y5e,b5e,O5e,_5e=function(e){var n,r,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1];return t.jsxs(w5e,mQe({className:e.className},((n={})[e.dataAttribute]=!0,n),{ref:o},{children:[t.jsx(x5e,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return vQe(this,void 0,void 0,(function(){var t,n;return yQe(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(k5e,mQe({className:"icon-with-callout-content",target:o,directionalHint:null==e.directionalHint?a.DirectionalHint.rightCenter:e.directionalHint,gapSpace:4,onDismiss:function(){var t;u(!1),null===(t=e.onCalloutDismissed)||void 0===t||t.call(e)},calloutWidth:null!==(r=e.calloutWidth)&&void 0!==r?r:0},{children:e.children}),void 0)]}),void 0)},w5e=y.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(y5e||(y5e=OQe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),x5e=y.default(PWe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(b5e||(b5e=OQe(["\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"]))),k5e=y.default(AXe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(O5e||(O5e=OQe(["\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"]))),S5e="video-view-container";function P5e(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 E5e,C5e,F5e,T5e,D5e,A5e,I5e,L5e,$5e,M5e=function(e){var n=e.onNextClick,r=e.onPrevClick,o=e.onFirstClick,a=e.hidePrevButton,s=e.hideNextButton,l=e.isLoadingNextPage,u=e.className,c=Xk().formatMessage,d=i.useContext(Vie).theme.palette;return s&&a?null:t.jsxs(z5e,mQe({className:u},{children:[t.jsx(yWe,mQe({resourceKey:"Lib.paging.goToFirstPage"},{children:t.jsx(j5e,{ariaLabel:c({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:a,onClick:o,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),t.jsx(Q5e,{iconProps:{iconName:"ChevronLeftSmall"},text:c({id:"Generic.previous.page.button.text"}),isHidden:a,onClick:r,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),t.jsx(N5e,{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)},z5e=y.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(E5e||(E5e=OQe(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),U7),R5e=y.default(EXe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(F5e||(F5e=OQe(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&o.css(C5e||(C5e=OQe(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),j5e=y.default(R5e).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(T5e||(T5e=OQe([""],[""]))),Q5e=y.default(R5e).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(D5e||(D5e=OQe([""],[""]))),N5e=y.default(R5e).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(A5e||(A5e=OQe(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));y.default.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(I5e||(I5e=OQe(["\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})),y.default.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(L5e||(L5e=OQe(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),G7),y.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})($5e||($5e=OQe(["\n height: ","px;\n"],["\n height: ","px;\n"])),U7);var U5e=MQe,B5e=Array.isArray||function(e){return"Array"==U5e(e)},q5e=B5e,G5e=xUe,W5e=BVe,X5e=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,d=!!a&&W5e(a,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&q5e(l))u=X5e(e,t,l,G5e(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},V5e=X5e,Y5e=qQe,H5e=B5e,Z5e=aqe("species"),K5e=V5e,J5e=fBe,e6e=xUe,t6e=pBe,n6e=function(e,t){var n;return H5e(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!H5e(n.prototype)?Y5e(n)&&null===(n=n[Z5e])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function i6e(e,t,n){var r=function(e){var t=i.useState(0),n=t[0],r=t[1],o=i.useState({pages:{},paginationToken:null,hasNextPage:!0}),a=o[0],s=o[1];return{state:a,setInitialPages:function(e,t,n){s({pages:{0:bQe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){s((function(r){var o;return{pages:gwe(r.pages,(o={},o[e]={$set:t},o)),paginationToken:n,hasNextPage:i}}))},lastFetchedPageIndex:n,updateLastFetchedPageIndex:function(t){r(t?e*t:function(t){return t+e})},updateItem:function(e,t){s((function(n){for(var i=mQe({},n.pages),r=Object.keys(i).length,o=0;o<r;){var a=Object.keys(i)[o++],s=i[a];if(s.find((function(t){return t.id===e}))){i[a]=s.map((function(n){return n.id===e?t:n}));break}}return mQe(mQe({},n),{pages:i})}))},insertToTheFront:function(t){for(var i,o,l=bQe([t],(null===(i=a.pages)||void 0===i?void 0:i[0])||[]),u=mQe(mQe({},a.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&&r(n+e);break}if(f<=e)break;var m=u[h].pop(),g=null!==(o=Object.keys(u)[d+1])&&void 0!==o?o:p?2*e:+h+e,v=u[g];if(!v){a.hasNextPage||(u[g]=[m],r(n+e));break}v.unshift(m),d++}s(mQe(mQe({},a),{pages:u}))},deleteItem:function(t){for(var i=mQe({},a.pages),o=Object.keys(i).length,l=0;l<o;){var u=Object.keys(i)[l];if(i[u].find((function(e){return e.id===t}))){i[u]=i[u].filter((function(e){return e.id!==t}));break}l++}for(var c=!1;l<o;){if(!i[u=Object.keys(i)[l++]].length&&l===o){delete i[u],c=!0;break}var d=Object.keys(i)[l],p=d?i[d]:null;if(!p)break;var h=p.shift();i[u].push(h)}s(mQe(mQe({},a),{pages:i}));var f=(c||i[0].length===e)&&n>e;return f&&r(n-e),f}}}(e),o=r.state,a=r.setInitialPages,s=r.updatePageItems,l=r.lastFetchedPageIndex,u=r.updateLastFetchedPageIndex,c=r.updateItem,d=r.insertToTheFront,p=r.deleteItem,h=i.useState(0),f=h[0],m=h[1],g=i.useState(!0),v=g[0],y=g[1],b=i.useState(!1),O=b[0],_=b[1],w=i.useState(null),x=w[0],k=w[1];i.useEffect((function(){P()}),bQe([e],n||[]));var S=Object.keys(o.pages).flatMap((function(e){return o.pages[e]})).slice(f-e,f);return{items:S,isInitialLoading:v,isLoadingNextPage:O,error:x,getFirstPage:function(){return m(e)},getPrevPage:function(){return m(f-e)},getNextPage:function(){return vQe(this,void 0,void 0,(function(){return yQe(this,(function(t){switch(t.label){case 0:return m(f+e),o.hasNextPage&&f===l-e?[4,E(o.paginationToken)]:[3,2];case 1:t.sent(),u(),t.label=2;case 2:return[2]}}))}))},isFirstPage:f===e,isLastPage:f===l&&!o.hasNextPage,isEmpty:!v&&0===(null==S?void 0:S.length),insertToTheFront:d,updateItem:c,onBeforeDeleteItem:function(t){var n=p(t);!o.hasNextPage&&n&&f>=l&&f>0&&m(f-e);_(!0)},onAfterDeleteItem:function(){return vQe(this,void 0,void 0,(function(){return yQe(this,(function(t){switch(t.label){case 0:return o.hasNextPage?o.paginationToken!==2*e?[3,2]:[4,P()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,E(+o.paginationToken-e)];case 3:t.sent(),u(),t.label=4;case 4:return _(!1),[2]}}))}))}};function P(){return vQe(this,void 0,void 0,(function(){var n,i;return yQe(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(),a(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(),ig.error(i),k(i),[3,4];case 3:return y(!1),[7];case 4:return[2]}}))}))}function E(n){return vQe(this,void 0,void 0,(function(){var i,r;return yQe(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),_(!0),[4,t(e,n)];case 1:return i=o.sent(),s(n,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=o.sent(),ig.error(r),k(x),[3,4];case 3:return _(!1),[7];case 4:return[2]}}))}))}}dBe({target:"Array",proto:!0},{flatMap:function(e){var t,n=J5e(this),i=e6e(n.length);return t6e(e),(t=n6e(n,0)).length=K5e(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),Uqe("flatMap");var r6e,o6e,a6e,s6e,l6e,u6e,c6e,d6e=function(e){var n=e.onNextClick,r=e.onPrevClick,o=e.hidePagination,a=e.disablePrevButton,s=e.disableNextButton,l=e.children,u=e.className,c=i.useContext(Vie).theme.palette,d=Xk().formatMessage;return o?t.jsx(t.Fragment,{children:l},void 0):t.jsxs(p6e,mQe({className:u},{children:[t.jsx(f6e,{disabled:a,onClick:r,iconProps:{iconName:"ChevronUpSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.previous"})},void 0),t.jsx(g6e,{children:l},void 0),t.jsx(m6e,{disabled:s,onClick:n,iconProps:{iconName:"ChevronDownSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.next"})},void 0)]}),void 0)},p6e=y.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(r6e||(r6e=OQe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),h6e=y.default(PWe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(o6e||(o6e=OQe(["\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\n &:hover {\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\n &:hover {\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"])),Bie),f6e=y.default(h6e).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(a6e||(a6e=OQe(["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"])),(function(e){return e.color})),m6e=y.default(h6e).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(s6e||(s6e=OQe(["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"])),(function(e){return e.color})),g6e=y.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(l6e||(l6e=OQe(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),U7,15),v6e=i.createContext(null);y.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(u6e||(u6e=OQe(["\n width: 100%;\n"],["\n width: 100%;\n"]))),y.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(c6e||(c6e=OQe(["\n display: contents;\n"],["\n display: contents;\n"])));var y6e,b6e,O6e,_6e,w6e,x6e,k6e,S6e,P6e,E6e=o.css(y6e||(y6e=OQe(["\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"]))),C6e=o.css(b6e||(b6e=OQe(["\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"])),E6e,X7,U7),F6e=o.css(O6e||(O6e=OQe(["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n width: 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 width: 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})),T6e=o.css(_6e||(_6e=OQe(["\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"])),K7),D6e="AllChannels",A6e=o.createGlobalStyle(w6e||(w6e=OQe(["\n ","\n"],["\n ","\n"])),T6e),I6e=y.default(oVe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(x6e||(x6e=OQe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),C6e),L6e=y.default(r.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(k6e||(k6e=OQe(["\n ","\n"],["\n ","\n"])),F6e),$6e=y.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(S6e||(S6e=OQe(["\n ",";\n"],["\n ",";\n"])),F6e),M6e=function(e){var n=e.handler,i=e.disabled;return w6().unreadTracking?t.jsx(y1e,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},z6e=function(e){var n=e.onClick,i=e.to,r=e.disabled;return t.jsx(y1e,{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,(P6e=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",P6e.MyBookedEvents="booked",P6e.PastEvents="past";var R6e,j6e,Q6e,N6e,U6e=o.createGlobalStyle(R6e||(R6e=OQe(["\n ","\n"],["\n ","\n"])),T6e),B6e=y.default(oVe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(j6e||(j6e=OQe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),C6e),q6e=y.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(Q6e||(Q6e=OQe(["\n ",";\n"],["\n ",";\n"])),F6e);function G6e(){var e=oB(),t=e.createApiUrl,n=e.fetchFromApi,r=i.useContext(Uw).onRequestToken;return i.useMemo((function(){return{uploadImage:function(e,t,i,o,a){return vQe(this,void 0,void 0,(function(){var s,l;return yQe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+dG.getExtension(a.type)),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/images/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},uploadFile:function(e,t,i,o,a){return vQe(this,void 0,void 0,(function(){var s,l;return yQe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/files/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},getFileUrl:function(e,n,i,r,o){if(null!=o||(o=i.fileAccessToken),!o)return null;return t(e+"/attachments/"+i.attachmentContainerId+"/files/"+r,{subscriptionId:n,access_token:o})},getImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)},getChatMessageImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)}};function e(e,n,i,r,o,a,s){return t(null==a?e+"/attachments/"+r+"/images/"+o:"default"===a?e+"/attachments/"+r+"/images/"+o+"/default":e+"/attachments/"+r+"/images/"+o+"/"+a+"/"+(s||""),{subscriptionId:n,access_token:i})}}),[r,n,t])}function W6e(){var e=aB();return i.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return vQe(this,void 0,void 0,(function(){var t;return yQe(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,M9.apply(void 0,bQe([e],t))]}}))}))},resolveActiveLanguages:function(e){return vQe(this,void 0,void 0,(function(){return yQe(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 vQe(this,void 0,void 0,(function(){var t;return yQe(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 X6e(){var e=oB().createApiUrl;return i.useMemo((function(){return{getVideoThumbnailUrl:function(t,n,i,r){return e("/videos/"+r+"/thumbnail",{access_token:t,subscriptionId:n,videoSource:i})},getBannerVideoThumbnailUrl:function(t,n,i,r){return e("/"+r+"/"+n+"/videos/banner/thumbnail",{access_token:t,subscriptionId:i})}}}),[e])}o.createGlobalStyle(N6e||(N6e=OQe(["\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 V6e,Y6e,H6e,Z6e,K6e,J6e,e9e,t9e,n9e,i9e,r9e,o9e,a9e,s9e,l9e=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}(),u9e=function(e){var n=w6(),r=i.useState(null),o=r[0],a=r[1],s=p9().getUserAvatarUrl;if(Ere(l9e.type,(function(t){return t.upn===e.upn&&u(e.upn,e.tenantId),!1}),[e.upn]),i.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=Ew(e.text||e.displayName||e.upn);return t.jsx(c9e,mQe({},e,{"data-avatar":!0,text:e.text,imageUrl:o,imageShouldFadeIn:!1,imageInitials:l,initialsColor:Cw(l),secondaryText:!e.forceShowSecondaryText&&X6(e.secondaryText)?null:e.secondaryText}),void 0);function u(e,t){return null==e?(a(null),null):s(e,t).subscribe((function(e){a(e)}),(function(e){return console.log(e)}))}},c9e=y.default(a.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(V6e||(V6e=OQe(["\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"]))),d9e=function(e){var n=e.className,i=e.iconName,r=e.tooltipResourceKey,o=e.tooltipText,a=e.children;return a?t.jsxs(h9e,mQe({className:n},{children:[i&&t.jsx(yWe,mQe({resourceKey:r,text:o},{children:t.jsx(p9e,{iconName:i},"icon")}),void 0),t.jsx(f9e,mQe({dir:"auto"},{children:a}),void 0)]}),void 0):null},p9e=y.default(a.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(Y6e||(Y6e=OQe(["\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"]))),h9e=y.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(H6e||(H6e=OQe(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),f9e=y.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContent",componentId:"sc-yfrgje-2"})(Z6e||(Z6e=OQe([""],[""]))),m9e=function(e){var n=e.email;return X6(n)?null:t.jsx(d9e,mQe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:t.jsx(x9e,mQe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},g9e=function(e){var n=e.value,i=Xk().formatMessage;return null==n?null:t.jsx(d9e,mQe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:t.jsx(x9e,mQe({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},v9e=function(e){var n=e.value,i=Xk().formatMessage;return null==n?null:(n="string"==typeof n?[n]:n,t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsx(d9e,mQe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:t.jsx(x9e,mQe({href:"tel:"+e},{children:i({id:"Generic.callOffice"},{number:e})}),void 0)}),e+n)}))},void 0))},y9e=function(e){var n=e.value,i=e.tooltipResourceKey,r=w6();return null==n?null:t.jsx(d9e,mQe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?t.jsx(x9e,mQe({target:"_blank",rel:"noopener noreferrer",href:M2e(n)},{children:n}),void 0):t.jsx(t.Fragment,{children:n},void 0)}),void 0)},b9e=function(e){var n=e.value;return null==n?null:t.jsx(d9e,mQe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},O9e=function(e){var n=e.value;return null==n?null:t.jsx(d9e,mQe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},_9e=function(e){var n=e.value,i=Ine().buildPath,r=w6();if(!(null==n?void 0:n.userId)||!r.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return t.jsx(d9e,mQe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:t.jsx(k9e,mQe({to:i("chats/new")+"?"+Xm.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:t.jsx(hS,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},w9e=o.css(K6e||(K6e=OQe(["\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})),x9e=y.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(J6e||(J6e=OQe(["\n ","\n"],["\n ","\n"])),w9e),k9e=y.default(r.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(e9e||(e9e=OQe(["\n ","\n"],["\n ","\n"])),w9e),S9e={mobilePhone:g9e,department:b9e,address:y9e},P9e=function(e){var n=e.className,r=e.value,o=e.definition,a=function(){var e=_6(),t=Xk().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=pw(e.preferredUiLanguage),o=i.translations||{},a=Object.keys(n);return r&&o[r]||o[e.subscription.defaultLanguage]||i.label||a.some((function(e){return e===i.name}))&&t({id:"Generic."+i.name})||i.name},getPropertyIcon:function(e){var t,i;return null!==(i=null===(t=n[e.name])||void 0===t?void 0:t.iconName)&&void 0!==i?i:"UserOptional"}}}(),s=a.getPropertyLabel,l=a.getPropertyIcon;if(null==r)return null;var u=s(o),c=l(o),d=S9e[o.name];return d?i.createElement(d,{value:r}):t.jsx(d9e,mQe({iconName:c,tooltipText:u,className:n},{children:r}),void 0)},E9e=function(e){var n,i,r,o,a,s=e.user,l=e.ignoredProperties,u=void 0===l?[]:l;return t.jsxs(t.Fragment,{children:[!u.includes("department")&&t.jsx(b9e,{value:null===(n=s.properties)||void 0===n?void 0:n.department},void 0),!u.includes("jobTitle")&&t.jsx(O9e,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle},void 0),!u.includes("mobilePhone")&&t.jsx(g9e,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone},void 0),!u.includes("businessPhones")&&t.jsx(v9e,{value:null===(o=s.properties)||void 0===o?void 0:o.businessPhones},void 0),!u.includes("chatMessage")&&t.jsx(_9e,{value:s},void 0),!u.includes("officeLocation")&&t.jsx(y9e,{value:null===(a=s.properties)||void 0===a?void 0:a.officeLocation},void 0)]},void 0)},C9e=function(e){var n=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,o=_6();return t.jsxs(t.Fragment,{children:[!r.includes("chatMessage")&&t.jsx(_9e,{value:n},void 0),o.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return t.jsx(P9e,{definition:e,value:null===(i=n.properties)||void 0===i?void 0:i[e.name]},e.name)}))]},void 0)},F9e=["displayName","department","jobTitle"],T9e=function(e){var n,i=e.upn,r=e.showAvatar,o=e.id,s=p9(),l=s.getUserInfo,u=s.getUserInfoById,c=Mw((function(){return i?l(i):u(o)}),null,[i,o]),d=c[0],p=c[1];if(c[2])return t.jsx(D9e,{children:i?t.jsx(hS,{id:"Profile.CannotLoadInfo",values:{upn:i}},void 0):t.jsx(hS,{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(p)return t.jsx(L9e,{},void 0);var h=r?F9e:[];return t.jsxs(A9e,mQe({"data-user-details":!0},{children:[r&&t.jsx(u9e,{upn:d.userPrincipalName,size:a.PersonaSize.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle},void 0),t.jsxs(I9e,{children:[t.jsx(m9e,{email:null!==(n=d.mail)&&void 0!==n?n:d.userPrincipalName},void 0),d.isDirectoryUser?t.jsx(E9e,{user:d,ignoredProperties:h},void 0):t.jsx(C9e,{user:d,ignoredProperties:h},void 0)]},void 0)]}),void 0)},D9e=y.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(t9e||(t9e=OQe(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),A9e=y.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(n9e||(n9e=OQe(["\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"])),ree),I9e=y.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(i9e||(i9e=OQe(["\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"])),N7),L9e=y.default(FVe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(r9e||(r9e=OQe(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),$9e=function(e){var n=e.upn,r=e.className,o=e.children,s=e.readOnly,l=e.domIdentifier,u=i.useRef(null),c=_6(),d=i.useState(!1),p=d[0],h=d[1];return s?t.jsx(z9e,mQe({className:r},{children:o}),void 0):t.jsxs(t.Fragment,{children:[t.jsx(z9e,mQe({ref:u,className:r},{children:t.jsx(R9e,mQe({"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(AXe,mQe({className:"persona-card-callout",directionalHint:a.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return h(!1)},target:u.current},{children:t.jsx(M9e,{children:t.jsx(T9e,{upn:n,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},M9e=y.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(o9e||(o9e=OQe(["\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,U7,X7),z9e=y.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(a9e||(a9e=OQe(["\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"]))),R9e=y.default(a.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(s9e||(s9e=OQe(["\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 j9e(){return j9e=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},j9e.apply(this,arguments)}var Q9e=function(e){return m.createElement("svg",j9e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),m.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),m.createElement("path",{d:"M134.231 141.48h149.1c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603-6.914 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h-39.522c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h71.856c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603H162.974c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602H91.118c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602h44.911c6.913 0 12.602 5.689 12.602 12.603 0 6.913-5.689 12.602-12.602 12.602H64.172c-6.914 0-12.603 5.689-12.603 12.603s5.689 12.603 12.603 12.603h70.059c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602v-.006Zm192.708-63.014c0 6.764 5.565 12.329 12.329 12.329 6.763 0 12.329-5.565 12.329-12.329 0-6.763-5.566-12.329-12.329-12.329h-.001c-6.763 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M237.898 60.069c0-4.967-4.033-9-9-9h-58.712c-4.967 0-9 4.033-9 9v45.014c0 4.967 4.033 9 9 9h58.712c4.967 0 9-4.033 9-9V60.069Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M90.299 68.815a32.862 32.862 0 0 1-23.217-18.138 1.364 1.364 0 0 1-.133-.589 1.377 1.377 0 0 1 1.64-1.343l14.747 2.964c3.116.644 6.364.001 9-1.781h.006a11.784 11.784 0 0 0 5.016-7.658l1.9-10.113c1.196-6.529-3.112-12.905-9.616-14.232l-14.751-2.964a1.37 1.37 0 0 1-.661-2.348 31.961 31.961 0 0 1 28.134-7.833c12.566 2.547 22.559 12.193 25.548 24.661a6.579 6.579 0 0 0 .938 1.004 7.774 7.774 0 0 0 3.616 1.753l26.592 5.344a819741.64 819741.64 0 0 0 119.067 23.943c6.256 1.287 10.396 7.424 9.247 13.707-1.019 5.418-5.796 9.38-11.309 9.38-.761 0-1.52-.076-2.266-.226l-55.525-11.174-28.93-5.826-64.138-12.884-.027-.006a1.668 1.668 0 0 0-.7-.007h-.022a1.621 1.621 0 0 0-.562.24 1.58 1.58 0 0 0-.444.441c-7.215 10.867-20.371 16.297-33.15 13.685Zm188.988 8.736a5.483 5.483 0 0 1-3.036.917c-3.008 0-5.485-2.476-5.485-5.485 0-3.009 2.477-5.485 5.485-5.485a5.49 5.49 0 0 1 4.567 2.446c1.666 2.507.975 5.94-1.531 7.607Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2,fillRule:"evenodd"}}),m.createElement("path",{d:"M237.898 30.672c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V30.672ZM218.72 21.083c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V21.083ZM199.542 16.973c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V16.973ZM180.364 19.713c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V19.713Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m162.903 110.39-17.592-16.8a10.428 10.428 0 0 1-3.933-8.151V65.39a8.809 8.809 0 0 1 4.147-7.536c2.597-1.617 25.763-10.645 25.915-10.739 4.419-2.471 5.974-2.074 8.321 2.135a9.067 9.067 0 0 1 1.219 4.608 8.791 8.791 0 0 1-4.359 7.66c-2.719 1.585-8.564 4.617-11.981 6.682-3.417 2.065-2.248 7.486 1.645 8.538 19.185 5.184 32.008 12.3 38.107 27.065M171.556 114.083h58.712c4.937 0 9 4.063 9 9v35.425h-76.712v-35.425c0-4.937 4.063-9 9-9Z",style:{fill:"#fff",fillRule:"evenodd",stroke:"currentColor",strokeWidth:2}}))};function N9e(){return N9e=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},N9e.apply(this,arguments)}var U9e=function(e){return m.createElement("svg",N9e({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),m.createElement("path",{d:"M113.854 72h30.104c-6.623 0-12 5.377-12 12s5.377 12 12 12h-24.165c-6.623 0-12 5.377-12 12s5.377 12 12 12h74.873c6.623 0 12-5.377 12-12s-5.377-12-12-12h64.042c6.623 0 12-5.377 12-12s-5.377-12-12-12h1.125c-6.288 0-11.393-5.377-11.393-12s5.105-12 11.393-12h37.769c6.623 0 12-5.377 12-12s-5.377-12-12-12h-52.706c6.623 0 12-5.377 12-12s-5.377-12-12-12h-58.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h-22.167c-6.622 0-12 5.377-12 12s5.378 12 12 12h-50.375c-6.288 0-11.394 5.377-11.394 12s5.106 12 11.394 12Zm186.998 12c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m211.775 81.467 1.122-6.522-5.059-5.013 4.488-7.838-65.735-11.306c-.466-21.056-14.403-38.978-33.804-42.314-22.3-3.836-44.233 12.903-48.531 37.887-4.297 24.985 10.784 48.09 33.084 51.925 19.401 3.337 38.525-8.899 45.999-28.589l68.436 11.77ZM110.464 21.98c15.292 2.63 24.847 18.963 21.901 36.095-2.947 17.133-17.41 29.335-32.702 26.705-15.292-2.63-24.847-18.963-21.901-36.096 2.947-17.133 17.41-29.335 32.702-26.704Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M146.128 59.052c.317-1.091.547-2.172.748-3.27.307-1.69.51-3.341.715-4.99l-2-.007c.191 1.627.397 3.255.486 4.946.058 1.101.066 2.192.001 3.313l.05.008ZM145.614 61.745a30.11 30.11 0 0 1-1.108 3.121c-.649 1.565-1.387 3.03-2.111 4.5l1.887.662c.359-1.623.719-3.247.994-4.943a32.34 32.34 0 0 0 .387-3.332l-.049-.008Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"m331.063 28.601-42.249 11.755 8.449 30.367 10.563-2.939-4.225-15.183 10.562-2.939 1.286 4.621 10.562-2.939 2.249 8.081 10.562-2.939-7.759-27.885Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m213.696 41.343.517 6.969 6.031 4.296 1.236 6.484 116.184-32.328c5.101-1.42 8.09-6.713 6.671-11.814-1.42-5.101-6.713-8.09-11.814-6.67L213.696 41.343Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function B9e(){return B9e=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},B9e.apply(this,arguments)}var q9e,G9e,W9e,X9e,V9e,Y9e,H9e=function(e){return m.createElement("svg",B9e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),m.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),m.createElement("path",{d:"M114.881 160.609h149.1c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603-6.913 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h-39.521c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h71.856c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603H143.624c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602H71.768c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602h44.911c6.914 0 12.603 5.689 12.603 12.603 0 6.913-5.689 12.602-12.603 12.602H44.822c-6.913 0-12.602 5.69-12.602 12.603 0 6.914 5.689 12.603 12.602 12.603h70.059c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602v-.006Zm192.708-63.014c0 6.764 5.566 12.329 12.329 12.329 6.764 0 12.329-5.565 12.329-12.329 0-6.763-5.565-12.329-12.329-12.329h-.001c-6.762 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.483 63.514a2.002 2.002 0 0 0-2.259-1.702L140.205 82.896a2.001 2.001 0 0 0-1.702 2.259l12.251 87.169a2.002 2.002 0 0 0 2.259 1.703l150.018-21.084a2.002 2.002 0 0 0 1.703-2.259l-12.251-87.17Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M247.683 137.397a31.742 31.742 0 0 0 6.393-19.103c0-17.41-14.326-31.737-31.736-31.737s-31.737 14.327-31.737 31.737a31.758 31.758 0 0 0 12.643 25.35c13.903 10.472 33.959 7.652 44.437-6.247ZM236.661 99.29c9.222 6.97 12.111 19.693 6.803 29.962l-37.479-28.242c8.408-7.932 21.435-8.661 30.676-1.716v-.004Zm-35.443 8.055 37.471 28.244a23.806 23.806 0 0 1-16.354 6.51c-13.054 0-23.796-10.742-23.796-23.797a23.8 23.8 0 0 1 2.671-10.954l.008-.003Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M207.614 8.507a1.585 1.585 0 0 0-2.694.379l-28.129 66.441a1.586 1.586 0 0 0-.126.619 1.595 1.595 0 0 0 1.808 1.571l73.48-10.327a1.587 1.587 0 0 0 1.012-2.569L207.614 8.507Z",style:{fill:"none",fillRule:"nonzero",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M205.054.078a7.937 7.937 0 0 1 8.96 6.752 7.938 7.938 0 0 1-6.752 8.96 7.936 7.936 0 0 1-8.959-6.752 7.936 7.936 0 0 1 6.751-8.96Z",style:{fill:"currentColor"}}))},Z9e=function(e){var n=e.info,i="number"==typeof n;return t.jsx(K9e,mQe({isNumber:i,"data-badge-info":n},{children:t.jsx(J9e,mQe({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},K9e=y.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(W9e||(W9e=OQe(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?o.css(q9e||(q9e=OQe(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):o.css(G9e||(G9e=OQe(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),J9e=y.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(V9e||(V9e=OQe(["\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 o.css(X9e||(X9e=OQe(["\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,oee)}));function e8e(){return e8e=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},e8e.apply(this,arguments)}var t8e,n8e=function(e){return m.createElement("svg",e8e({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),Y9e||(Y9e=m.createElement("path",{d:"M1536 704q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45zM0 256h2048v1024h-128V384H128v677l448-447 640 640 256-256 283 282h-182l-101-102-101 102h-310L576 794l-448 449v421h512v128H0V256zm768 1792v-640h1280v640H768zm128-512v384h1024v-384H896zm256 256v-128h512v128h-512z",fill:"#fff"})))};function i8e(n){return t.jsx(c8e,mQe({"data-page-alert":!0},{children:t.jsxs(d8e,{children:[n.errorType&&t.jsx(p8e,mQe({onClick:n.onClick},{children:n.errorType===e.ErrorType.LoginError?t.jsx(U9e,{},void 0):n.errorType===e.ErrorType.GenericError?t.jsx(Q9e,{},void 0):n.errorType===e.ErrorType.Error403?t.jsx(H9e,{},void 0):t.jsx(g0e,{},void 0)}),void 0),t.jsx(h8e,{children:n.alertText},void 0),t.jsx(f8e,{children:n.children},void 0)]},void 0)}),void 0)}e.ErrorType=void 0,(t8e=e.ErrorType||(e.ErrorType={})).GenericError="genericError",t8e.Error404="error404",t8e.Error403="error403",t8e.LoginError="loginError";var r8e,o8e,a8e,s8e,l8e,u8e,c8e=y.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(r8e||(r8e=OQe(["\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})),d8e=y.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(o8e||(o8e=OQe(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),p8e=y.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(a8e||(a8e=OQe(["\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}),K7),h8e=y.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(s8e||(s8e=OQe(["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"],["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"])),32,(function(e){return e.theme.palette.accent})),f8e=y.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(l8e||(l8e=OQe(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),m8e=y.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(u8e||(u8e=OQe(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),g8e={exports:{}},v8e=Object.getOwnPropertySymbols,y8e=Object.prototype.hasOwnProperty,b8e=Object.prototype.propertyIsEnumerable;function O8e(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var _8e=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=O8e(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))y8e.call(n,a)&&(r[a]=n[a]);if(v8e){i=v8e(n);for(var s=0;s<i.length;s++)b8e.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},w8e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",x8e=Function.call.bind(Object.prototype.hasOwnProperty),k8e=function(){};if("production"!==process.env.NODE_ENV){var S8e=w8e,P8e={},E8e=x8e;k8e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function C8e(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(E8e(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((i||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,S8e)}catch(e){a=e}if(!a||a instanceof Error||k8e((i||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in P8e)){P8e[a.message]=!0;var l=r?r():"";k8e("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}C8e.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(P8e={})};var F8e=C8e,T8e=_.default,D8e=_8e,A8e=w8e,I8e=x8e,L8e=F8e,$8e=function(){};function M8e(){return null}"production"!==process.env.NODE_ENV&&($8e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function z8e(){}function R8e(){}R8e.resetWarningCache=z8e;if("production"!==process.env.NODE_ENV){var j8e=_.default;g8e.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(M8e),arrayOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+r+" `"+o+"` of type `"+d(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,o+"["+l+"]",A8e);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,o){var s=t[n];return e(s)?null:new a("Invalid "+r+" `"+o+"` of type `"+d(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return T8e.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+d(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,o,s){if(!(t[n]instanceof e)){var l=e.name||i;return new a("Invalid "+o+" `"+s+"` of type `"+((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 a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(I8e(s,u)){var c=e(s,u,i,r,o+"."+u,A8e);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&$8e(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."),M8e;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(o(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new a("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&$8e("Invalid argument supplied to oneOfType, expected an instance of array."),M8e;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return $8e("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+h(n)+" at index "+t+"."),M8e}return s((function(t,n,i,r,o){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,i,r,o,A8e);if(null==u)return null;u.data&&I8e(u.data,"expectedType")&&s.push(u.data.expectedType)}return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var c in e){var h=e[c];if("function"!=typeof h)return u(i,r,o,c,p(h));var f=h(s,c,i,r,o+"."+c,A8e);if(f)return f}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var c=D8e({},t[n],e);for(var h in c){var f=e[h];if(I8e(e,h)&&"function"!=typeof f)return u(i,r,o,h,p(f));if(!f)return new a("Invalid "+r+" `"+o+"` 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,o+"."+h,A8e);if(m)return m}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,s,l,u,c,d,p){if(u=u||i,d=d||l,p!==A8e){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&&($8e("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]?o?null===s[l]?new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,i,r,o,s){var l=t[n];return d(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+p(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function u(e,t,n,i,r){return new a((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function 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,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!c(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function p(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function 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 a.prototype=Error.prototype,r.checkPropTypes=L8e,r.resetWarningCache=L8e.resetWarningCache,r.PropTypes=r,r}(j8e.isElement,!0)}else g8e.exports=function(){function e(e,t,n,i,r,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:R8e,resetWarningCache:z8e};return n.PropTypes=n,n}();var Q8e=g8e.exports,N8e=Object.freeze({__proto__:null,useCurrentUser:_6,useAccountApi:p9,useAuthenticationContext:Bw,useEnvironmentConfig:Im,useNotificationContext:rre,usePromise:Mw,LinkContext:yS,TextLink:p1e,logger:ig,createId:og,ResourceContext:PS,usePluginSettings:function(){var e=i.useContext(zne).settings;return null!=e?e:{}},usePluginStorage:Nne,usePluginDeviceStore:Nne,usePluginSubscriptionStore:function(){return i.useContext(zne).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=i.useContext(zne).subscriptionStore,o=Mw((function(){return r.get(e).catch(Bne)}),void 0,pJ(pJ([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return cJ(n,void 0,void 0,(function(){var n;return dJ(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),Bne(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return cJ(n,void 0,void 0,(function(){var t;return dJ(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),Bne(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return i.useContext(zne).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=i.useContext(zne).userStore,o=Mw((function(){return r.get(e).catch(Bne)}),void 0,pJ(pJ([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return cJ(n,void 0,void 0,(function(){var n;return dJ(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),Bne(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return cJ(n,void 0,void 0,(function(){var t;return dJ(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),Bne(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Am().apiEndpoint}},AccountType:i6,PeoplePicker:RWe,GutterToggle:EWe,EditorSettingsDialog:SWe,Spinner:a.Spinner,SelectionMode:a.SelectionMode,EditorHighlight:OWe,useTheme:function(){return i.useContext(Vie).theme},useSubscriptionHandlePathBuilder:Ine,useSubscriptionWebAppUrl:Lne});var U8e,B8e,q8e=[{name:"@reach/core",packageDefinition:mQe({default:{}},N8e)}],G8e=[{name:"react",packageDefinition:mQe(mQe({},g.default),{default:g.default})},{name:"react-dom",packageDefinition:mQe(mQe({},O),{default:O})},{name:"react-is",packageDefinition:mQe(mQe({},_.default),{default:_.default})},{name:"prop-types",packageDefinition:mQe({default:Q8e},Q8e)},{name:"react-router-dom",packageDefinition:mQe({},v)},{name:"styled-components",packageDefinition:{default:y.default,createGlobalStyle:o.createGlobalStyle,css:o.css,useTheme:o.useTheme,isStyledComponent:o.isStyledComponent,keyframes:o.keyframes,withTheme:o.withTheme,ThemeProvider:o.ThemeProvider,ThemeContext:o.ThemeContext,ThemeConsumer:o.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:a.Checkbox,Label:a.Label,PrimaryButton:a.PrimaryButton,Icon:a.Icon,Link:a.Link,TextField:a.TextField,ActionButton:a.ActionButton,IconButton:a.IconButton,DefaultButton:a.DefaultButton,Spinner:a.Spinner,Dropdown:a.Dropdown,ProgressIndicator:a.ProgressIndicator,Shimmer:a.Shimmer,ShimmerElementsGroup:a.ShimmerElementsGroup,ShimmerElementType:a.ShimmerElementType,DirectionalHint:a.DirectionalHint,PersonaSize:a.PersonaSize,TooltipHost:a.TooltipHost,DialogType:a.DialogType,Dialog:wQe,DialogFooter:a.DialogFooter,ChoiceGroup:a.ChoiceGroup}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:hS,useIntl:Xk,FormattedDate:fS,FormattedTime:mS,IntlProvider:nS}},{name:"@apollo/client",packageDefinition:{default:{},gql:XL,useQuery:function(e,t){return p$(e,t,!1)},ApolloClient:jL,ApolloProvider:i$,from:fA,ApolloLink:hA,fromPromise:sA,split:mA,HttpLink:xA,InMemoryCache:bL,useLazyQuery:function(e,t){return p$(e,t,!0)},useMutation:h$,ApolloError:_L,useApolloClient:r$,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0),r=n[1],o=i.useContext(t$()),a=t?ko(ko({},t),{subscription:e}):{subscription:e},s=i.useState({loading:!a.skip,error:void 0,data:void 0}),l=s[0],u=s[1],c=i.useRef(),d=(c.current||(c.current=new l$({options:a,context:o,setResult:u})),c.current);return d.setOptions(a,!0),d.context=o,__DEV__&&d$(r),i.useEffect((function(){return d.afterExecute()})),i.useEffect((function(){return function(){d.cleanup(),c.current=void 0}}),[]),d.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:gM}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:TM}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:tD}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:f$}}],W8e=function(e){var n=e.color,r=e.onColorChange,o=e.className,s=i.useState(n),l=s[0],u=s[1];return i.useEffect((function(){u(n)}),[n]),t.jsx(X8e,mQe({className:o},{children:t.jsx(a.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){u(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},X8e=y.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(U8e||(U8e=OQe(["\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"])),U7);!function(e){e.Row="row",e.Column="column"}(B8e||(B8e={}));var V8e,Y8e,H8e,Z8e=function(e){var n=e.defaultSVG,i=e.hoveredSVG,r=e.label,o=e.labelDirection,a=void 0===o?B8e.Row:o,s=e.reverseIcon,l=e.size,u=e.className;return t.jsxs(K8e,mQe({flexDirection:a,"data-icon-host":!0},{children:[s&&r,t.jsx(J8e,mQe({size:l,"data-icon-state":"default",className:u},{children:n}),void 0),i&&t.jsx(J8e,mQe({size:l,"data-icon-state":"hovered",className:u},{children:i}),void 0),!s&&r]}),void 0)},K8e=y.default.span.withConfig({displayName:"Icon__Host",componentId:"sc-179by8k-0"})(V8e||(V8e=OQe(["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: 10px;\n --iconTextColor: var(--color-neutral-950);\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: 10px;\n --iconTextColor: var(--color-neutral-950);\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"var(--icon-label-direction,"+e.flexDirection+")"})),J8e=y.default.span.withConfig({displayName:"Icon__Inner",componentId:"sc-179by8k-1"})(Y8e||(Y8e=OQe(["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"],["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"])),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}));function e7e(){return e7e=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},e7e.apply(this,arguments)}var t7e,n7e=function(e){return m.createElement("svg",e7e({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),H8e||(H8e=m.createElement("path",{d:"M10-.001c-5.514 0-10 4.486-10 10 0 1.638.431 3.168 1.13 4.533L.048 18.413c-.253.902.639 1.793 1.54 1.541l3.885-1.084C6.835 19.568 8.364 20 10 20c5.514 0 10-4.486 10-10s-4.486-10-10-10Zm0 1.5c4.703 0 8.5 3.797 8.5 8.5 0 4.703-3.797 8.5-8.5 8.5-1.5 0-2.905-.39-4.129-1.072a.75.75 0 0 0-.566-.068L1.61 18.39l1.032-3.69a.75.75 0 0 0-.068-.568A8.445 8.445 0 0 1 1.5 9.999c0-4.703 3.797-8.5 8.5-8.5ZM14.75 6l-9.5.001a.75.75 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm0 3.249-9.5.001a.75.75 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm-5 3.251-4.5.001a.75.75 0 1 0 0 1.5L9.75 14a.751.751 0 0 0 .537-1.284.75.75 0 0 0-.537-.216Z",fill:"#0F0E0E"})))};function i7e(){return i7e=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},i7e.apply(this,arguments)}var r7e,o7e=function(e){return m.createElement("svg",i7e({width:18,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t7e||(t7e=m.createElement("path",{d:"M14.742.992a.75.75 0 0 0-.522 1.288l1.22 1.22h-.69C8.822 3.5 4 8.322 4 14.25a.75.75 0 1 0 1.5 0A9.238 9.238 0 0 1 14.75 5h.69l-1.22 1.22a.75.75 0 1 0 1.06 1.06l2.436-2.435a.75.75 0 0 0-.004-1.194L15.28 1.22a.75.75 0 0 0-.538-.228ZM3.25 1A3.262 3.262 0 0 0 0 4.25v11.5A3.262 3.262 0 0 0 3.25 19h11.5A3.261 3.261 0 0 0 18 15.75v-4a.751.751 0 1 0-1.5 0v4a1.74 1.74 0 0 1-1.75 1.75H3.25a1.74 1.74 0 0 1-1.75-1.75V4.25c0-.975.775-1.75 1.75-1.75h4a.75.75 0 1 0 0-1.5h-4Z",fill:"#0F0E0E"})))};function a7e(){return a7e=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},a7e.apply(this,arguments)}var s7e,l7e=function(e){return m.createElement("svg",a7e({width:18,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r7e||(r7e=m.createElement("path",{d:"M14.74.99a1 1 0 0 0-.697 1.717l.547.547C8.738 3.34 4 8.128 4 14a1 1 0 1 0 2 0 8.73 8.73 0 0 1 8.577-8.741l-.534.534a1 1 0 1 0 1.414 1.414l2.161-2.161a1 1 0 0 0-.004-1.596l-2.157-2.157a1 1 0 0 0-.718-.303ZM3.25 1A3.265 3.265 0 0 0 0 4.25v11.5A3.265 3.265 0 0 0 3.25 19h11.5A3.265 3.265 0 0 0 18 15.75V12a1 1 0 1 0-2 0v3.75c0 .702-.548 1.25-1.25 1.25H3.25C2.548 17 2 16.452 2 15.75V4.25C2 3.548 2.548 3 3.25 3H7a1 1 0 1 0 0-2H3.25Z",fill:"#0F0E0E"})))};function u7e(){return u7e=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},u7e.apply(this,arguments)}var c7e,d7e=function(e){return m.createElement("svg",u7e({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),s7e||(s7e=m.createElement("path",{d:"M15.46.964a3.57 3.57 0 0 0-2.532 1.044L10.38 4.556C9.176 5.76 9.078 7.599 9.957 8.982l-.975.976c-1.384-.88-3.223-.783-4.427.422l-2.548 2.548a3.594 3.594 0 0 0 0 5.065 3.594 3.594 0 0 0 5.065 0l2.548-2.548c1.205-1.204 1.302-3.043.422-4.426l.976-.976c1.384.88 3.222.782 4.426-.423l2.548-2.548a3.593 3.593 0 0 0 0-5.064A3.57 3.57 0 0 0 15.46.964Zm0 1.49c.531 0 1.063.205 1.472.614a2.07 2.07 0 0 1 0 2.944L14.384 8.56c-.63.63-1.544.764-2.308.424l1.64-1.638a.751.751 0 0 0-.818-1.23.75.75 0 0 0-.243.17l-1.64 1.638a2.06 2.06 0 0 1 .426-2.308l2.547-2.548c.41-.409.941-.614 1.472-.614Zm-8.372 8.373c.286 0 .568.07.835.19l-1.638 1.637a.75.75 0 1 0 1.06 1.06l1.639-1.637c.34.763.206 1.677-.424 2.307L6.01 16.933a2.07 2.07 0 0 1-2.943-.001 2.07 2.07 0 0 1 0-2.943l2.548-2.549c.41-.409.941-.613 1.472-.613Z",fill:"#0F0E0E"})))};function p7e(){return p7e=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},p7e.apply(this,arguments)}var h7e,f7e=function(e){return m.createElement("svg",p7e({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),c7e||(c7e=m.createElement("path",{d:"M15.46.715a3.82 3.82 0 0 0-2.709 1.116L10.203 4.38C8.966 5.616 8.82 7.486 9.64 8.945l-.695.695c-1.46-.821-3.33-.674-4.567.563L1.83 12.751a3.847 3.847 0 0 0 0 5.419 3.848 3.848 0 0 0 5.42 0l2.547-2.548c1.237-1.237 1.384-3.108.563-4.567l.695-.695c1.46.82 3.329.674 4.566-.563l2.548-2.548a3.846 3.846 0 0 0 0-5.418A3.82 3.82 0 0 0 15.46.715Zm0 1.988c.467 0 .933.18 1.295.542a1.817 1.817 0 0 1 0 2.59l-2.548 2.548c-.455.455-1.07.59-1.648.473l1.334-1.334a1.001 1.001 0 0 0-1.415-1.415l-1.334 1.334c-.117-.578.019-1.193.473-1.648l2.548-2.548a1.825 1.825 0 0 1 1.295-.542Zm-8.372 8.372c.12 0 .235.046.353.07l-1.333 1.332a1.002 1.002 0 0 0 1.415 1.416l1.333-1.333c.116.577-.019 1.193-.473 1.647l-2.549 2.549a1.816 1.816 0 0 1-2.59-.001 1.816 1.816 0 0 1 0-2.589l2.55-2.549a1.825 1.825 0 0 1 1.294-.542Z",fill:"#0F0E0E"})))};function m7e(){return m7e=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},m7e.apply(this,arguments)}var g7e;function v7e(){return v7e=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},v7e.apply(this,arguments)}var y7e,b7e=function(e){return m.createElement("svg",v7e({width:3,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),g7e||(g7e=m.createElement("path",{d:"M1.5 12.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z",fill:"#0F0E0E"})))};function O7e(){return O7e=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},O7e.apply(this,arguments)}var _7e,w7e=function(e){return m.createElement("svg",O7e({width:6,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),y7e||(y7e=m.createElement("path",{d:"M1.003.992A.75.75 0 0 0 .481 2.28l3.47 3.47L.48 9.22a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 0 0-.538-.228Z",fill:"#0F0E0E"})))};function x7e(){return x7e=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},x7e.apply(this,arguments)}var k7e,S7e=function(e){return m.createElement("svg",x7e({width:6,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),_7e||(_7e=m.createElement("path",{d:"M4.985.993a.75.75 0 0 0-.515.227l-4 4a.75.75 0 0 0 0 1.06l4 4a.748.748 0 0 0 1.235-.236.75.75 0 0 0-.175-.824L2.06 5.75l3.47-3.47A.75.75 0 0 0 4.985.993Z",fill:"#0F0E0E"})))};function P7e(){return P7e=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},P7e.apply(this,arguments)}var E7e,C7e=function(e){return m.createElement("svg",P7e({width:18,height:18,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),k7e||(k7e=m.createElement("path",{d:"M16.743.49a.75.75 0 0 0-.523.23L9 7.94 1.78.72A.75.75 0 1 0 .72 1.78L7.94 9 .72 16.22a.75.75 0 1 0 1.06 1.06L9 10.06l7.22 7.22a.751.751 0 1 0 1.06-1.06L10.06 9l7.22-7.22a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function F7e(){return F7e=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},F7e.apply(this,arguments)}var T7e,D7e=function(e){return m.createElement("svg",F7e({width:19,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),E7e||(E7e=m.createElement("path",{d:"M7.735.493A.75.75 0 0 0 7.22.72l-7 7a.75.75 0 0 0 0 1.06l7 7a.748.748 0 0 0 1.235-.236.75.75 0 0 0-.175-.824L2.56 9h14.69a.75.75 0 1 0 0-1.5H2.56l5.72-5.72A.75.75 0 0 0 7.735.493Z",fill:"#0F0E0E"})))};function A7e(){return A7e=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},A7e.apply(this,arguments)}var I7e,L7e=function(e){return m.createElement("svg",A7e({width:21,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),T7e||(T7e=m.createElement("path",{d:"M5 0a.75.75 0 0 0-.695.469l-4.25 10.5a.75.75 0 1 0 1.39.562L2.267 9.5h5.465l.823 2.031a.74.74 0 0 0 .174.25l.786-1.873-3.82-9.44A.75.75 0 0 0 5 0Zm0 2.749L7.125 8h-4.25L5 2.749ZM13.98 3a.75.75 0 0 0-.672.46l-5.25 12.5a.75.75 0 1 0 1.383.58l1.078-2.566 6.973.026 1.066 2.54a.75.75 0 1 0 1.383-.58l-5.25-12.5A.75.75 0 0 0 13.98 3ZM14 5.687l2.86 6.811-5.712-.022L14 5.686ZM8.75 18.5a.751.751 0 1 0 0 1.5h10.5a.751.751 0 1 0 0-1.5H8.75Z",fill:"#5C5653"})))};function $7e(){return $7e=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},$7e.apply(this,arguments)}var M7e,z7e=function(e){return m.createElement("svg",$7e({width:11,height:14,viewBox:"0 0 10.5 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),I7e||(I7e=m.createElement("path",{d:"M1.5.667A1.167 1.167 0 0 0 .334 2.02v9.955A1.167 1.167 0 0 0 1.5 13.333h5A3.851 3.851 0 0 0 10.334 9.5c0-1.308-.71-2.414-1.722-3.107.42-.597.722-1.282.722-2.06A3.685 3.685 0 0 0 5.667.667H1.5ZM2.667 3h3C6.417 3 7 3.583 7 4.333s-.583 1.334-1.333 1.334H2.834c-.056 0-.112.003-.167.01V3Zm0 4.989A1.167 1.167 0 0 0 2.834 8H6.5C7.342 8 8 8.658 8 9.5S7.342 11 6.5 11H2.667V7.99Z",fill:"#5C5653"})))};function R7e(){return R7e=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},R7e.apply(this,arguments)}var j7e,Q7e=function(e){return m.createElement("svg",R7e({width:12,height:12,viewBox:"0 0 11.33 12",xmlns:"http://www.w3.org/2000/svg"},e),M7e||(M7e=m.createElement("path",{d:"M7.813.327a.5.5 0 0 0-.057.006h-3.59a.5.5 0 1 0 0 1h2.937l-3.612 9.334H.833a.5.5 0 1 0 0 1h2.918a.496.496 0 0 0 .16 0h3.922a.499.499 0 1 0 0-1h-3.27l3.613-9.334H10.5a.5.5 0 1 0 0-1H7.916a.5.5 0 0 0-.103-.006Z",fill:"#5C5653"})))};function N7e(){return N7e=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},N7e.apply(this,arguments)}var U7e,B7e=function(e){return m.createElement("svg",N7e({width:14,height:9,viewBox:"0 0 14 8.33",xmlns:"http://www.w3.org/2000/svg"},e),j7e||(j7e=m.createElement("path",{d:"M1.167 0a.833.833 0 1 0 0 1.667.833.833 0 0 0 0-1.667ZM3.5.333a.5.5 0 1 0 0 1h9.667a.5.5 0 1 0 0-1H3.5Zm-2.333 3a.833.833 0 1 0 0 1.667.833.833 0 0 0 0-1.667Zm2.333.334a.5.5 0 1 0 0 1h9.667a.5.5 0 1 0 0-1H3.5Zm-2.333 3a.833.833 0 1 0 0 1.666.833.833 0 0 0 0-1.666ZM3.5 7a.5.5 0 1 0 0 1h9.667a.5.5 0 1 0 0-1H3.5Z",fill:"#5C5653"})))};function q7e(){return q7e=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},q7e.apply(this,arguments)}var G7e=function(e){return m.createElement("svg",q7e({width:13,height:14,viewBox:"0 0 13.66 14",xmlns:"http://www.w3.org/2000/svg"},e),U7e||(U7e=m.createElement("path",{d:"M2.485.667a.5.5 0 0 0-.143.025l-1 .333a.5.5 0 1 0 .316.95L2 1.86v1.972a.5.5 0 1 0 1 0V1.167a.5.5 0 0 0-.515-.5Zm3.682 1.666a.5.5 0 1 0 0 1h6a.5.5 0 1 0 0-1h-6ZM2.367 5c-.5 0-.876.275-1.073.52-.197.247-.273.502-.273.502a.5.5 0 1 0 .958.29s.025-.079.095-.166c.07-.088.127-.146.294-.146.137 0 .162.031.213.1.051.07.086.201.086.26 0 .134-.027.175-.114.262-.088.088-.252.189-.451.293-.2.104-.43.209-.653.386-.222.177-.449.492-.449.866a.5.5 0 0 0 .5.5h2a.5.5 0 1 0 0-1h-.737c.166-.093.336-.176.497-.337a1.396 1.396 0 0 0 .126-1.823A1.285 1.285 0 0 0 2.368 5Zm3.8 1.667a.5.5 0 1 0 0 1h6a.5.5 0 1 0 0-1h-6Zm-3.8 3c-.74 0-1.22.478-1.22.478a.5.5 0 1 0 .705.71s.193-.188.516-.188c.132 0 .22.04.26.073.04.032.039.039.039.062 0 .174-.027.161-.038.17A.293.293 0 0 1 2.5 11a.5.5 0 0 0 0 1c-.005 0 .178.028.267.075.09.046.066.026.066.034 0 .086-.014.101-.065.142a.509.509 0 0 1-.297.082c-.345 0-.662-.226-.662-.226a.5.5 0 1 0-.618.786s.53.44 1.28.44c.326 0 .65-.088.913-.295a1.2 1.2 0 0 0 .45-.93c0-.3-.154-.516-.331-.687.096-.181.164-.388.164-.62 0-.334-.168-.645-.412-.84a1.402 1.402 0 0 0-.887-.294ZM6.168 11a.5.5 0 1 0 0 1h6a.5.5 0 1 0 0-1h-6Z",fill:"#5C5653"})))};function W7e(e,t,n){return void 0===t&&(t=20),void 0===n&&(n=.8),i.useMemo((function(){var i=function(e,t,n){void 0===t&&(t=20),void 0===n&&(n=.8);var i=Math.floor(100*e/(window.innerHeight-t))/100;return i>=n?1:i}(e,t,n);return{initialBreakpoint:i,breakpoints:1!==i?[0,i,1]:[0,1]}}),[])}var X7e,V7e,Y7e,H7e,Z7e,K7e=i.forwardRef((function(e,n){var i=e.size,r=void 0===i?"Default":i,o=e.icon,a=e.label,s=e.disabled,l=e.onClick,u=e.domIdentifier,c=e.className;return t.jsxs(eet,mQe({isSmall:"Small"===r,disabled:s,onClick:l,className:c,ref:n,"data-button":u},{children:[o&&t.jsx(tet,{children:o},void 0),a]}),void 0)})),J7e=o.css(X7e||(X7e=OQe(["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n font-weight: 700;\n color: var(--color-neutral-950);\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n &:focus-visible {\n outline: 2px solid var(--color-neutral-950) !important;\n outline-offset: 2px;\n }\n"],["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n font-weight: 700;\n color: var(--color-neutral-950);\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n &:focus-visible {\n outline: 2px solid var(--color-neutral-950) !important;\n outline-offset: 2px;\n }\n"]))),eet=y.default.button.withConfig({displayName:"BaseButton__StyledButton",componentId:"sc-10vs599-0"})(H7e||(H7e=OQe(["\n ","\n gap: 4px;\n\n ","\n"],["\n ","\n gap: 4px;\n\n ","\n"])),J7e,(function(e){return e.isSmall?o.css(V7e||(V7e=OQe(["\n height: 32px;\n padding: 0 15px;\n border-radius: 16px;\n\n font-size: 12px;\n line-height: 12px;\n "],["\n height: 32px;\n padding: 0 15px;\n border-radius: 16px;\n\n font-size: 12px;\n line-height: 12px;\n "]))):o.css(Y7e||(Y7e=OQe(["\n height: 46px;\n padding: 0 24px;\n border-radius: 23px;\n\n font-size: 16px;\n line-height: 16px;\n "],["\n height: 46px;\n padding: 0 24px;\n border-radius: 23px;\n\n font-size: 16px;\n line-height: 16px;\n "])))})),tet=y.default.div.withConfig({displayName:"BaseButton__IconHost",componentId:"sc-10vs599-1"})(Z7e||(Z7e=OQe(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n max-height: 100%;\n width: 24px;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n\n max-height: 100%;\n width: 24px;\n"])));y.default(K7e).withConfig({displayName:"StandardButtons__OutlinedButton",componentId:"sc-1kkequa-0"})(iet||(iet=OQe(["\n background-color: var(--color-neutral-50);\n border: 1px solid var(--color-neutral-700);\n color: var(--color-neutral-800);\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 var(--color-neutral-950);\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"],["\n background-color: var(--color-neutral-50);\n border: 1px solid var(--color-neutral-700);\n color: var(--color-neutral-800);\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 var(--color-neutral-950);\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"])));var net=y.default(K7e).withConfig({displayName:"StandardButtons__PrimaryButton",componentId:"sc-1kkequa-1"})(ret||(ret=OQe(["\n background-color: var(--color-coral-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-primary-500);\n }\n"],["\n background-color: var(--color-coral-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-primary-500);\n }\n"])));y.default(K7e).withConfig({displayName:"StandardButtons__SecondaryButton",componentId:"sc-1kkequa-2"})(oet||(oet=OQe(["\n background-color: var(--color-mint-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-mint-500);\n }\n"],["\n background-color: var(--color-mint-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-mint-500);\n }\n"])));var iet,ret,oet,aet,set,uet,cet,det,pet,het,fet,met=y.default(K7e).withConfig({displayName:"StandardButtons__TertiaryButton",componentId:"sc-1kkequa-3"})(aet||(aet=OQe(["\n &:hover:not([disabled]) {\n background-color: var(--color-neutral-200);\n }\n"],["\n &:hover:not([disabled]) {\n background-color: var(--color-neutral-200);\n }\n"]))),get=y.default(K7e).withConfig({displayName:"StandardButtons__TextButton",componentId:"sc-1kkequa-4"})(set||(set=OQe(["\n color: var(--color-neutral-800);\n padding: 0;\n border-radius: 0;\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"],["\n color: var(--color-neutral-800);\n padding: 0;\n border-radius: 0;\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"]))),vet=i.forwardRef((function(e,n){var i=e.defaultSVG,r=e.hoveredSVG,o=e.secondarySVG,a=e.label,s=e.labelDirection,l=e.iconSize,u=e.onClick,c=e.disabled,d=e.reverseIcon,p=e.className;return t.jsxs(yet,mQe({onClick:u,ref:n,className:p,disabled:c},{children:[t.jsx(Z8e,{defaultSVG:i,hoveredSVG:r,label:a,labelDirection:s,size:l,reverseIcon:d},void 0),o&&t.jsx(bet,{children:o},void 0)]}),void 0)})),yet=y.default.button.withConfig({displayName:"IconActionButton__StyledButton",componentId:"sc-1xa2jyn-0"})(uet||(uet=OQe(["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n padding: 0;\n\n font-size: 12px;\n line-height: 12px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n padding: 0;\n\n font-size: 12px;\n line-height: 12px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"]))),bet=y.default.span.withConfig({displayName:"IconActionButton__SecondaryIconHost",componentId:"sc-1xa2jyn-1"})(cet||(cet=OQe(["\n margin-left: auto;\n"],["\n margin-left: auto;\n"]))),Oet=i.forwardRef((function(e,n){var i=e.defaultSVG,r=e.hoveredSVG,o=e.selectedSVG,a=e.secondarySVG,s=e.label,l=e.labelDirection,u=e.iconSize,c=e.onClick,d=e.disabled,p=e.className;return t.jsx(_et,{onClick:c,ref:n,className:p,disabled:d,isSelected:!!o,defaultSVG:null!=o?o:i,hoveredSVG:null!=o?o:r,label:s,labelDirection:l,iconSize:u,secondarySVG:a},void 0)})),_et=y.default(vet).withConfig({displayName:"ContentActionButton__StyledIconActionButton",componentId:"sc-p9fvi8-0"})(het||(het=OQe(["\n border-radius: 8px;\n padding: 8px 10px;\n\n ","\n"],["\n border-radius: 8px;\n padding: 8px 10px;\n\n ","\n"])),(function(e){return e.isSelected?o.css(det||(det=OQe(["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n "],["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n "]))):o.css(pet||(pet=OQe(["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "],["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "])))}));y.default(r.NavLink).withConfig({displayName:"IconNavLink__StyledNavLink",componentId:"sc-vke3b0-0"})(fet||(fet=OQe(["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"row"===e.direction?"10px":"5px"}));var wet,xet,ket,Pet,Eet,Cet,Fet,Tet,Det,Aet,Iet,Let,$et=y.default(vet).withConfig({displayName:"BackButton__StyledIconActionButton",componentId:"sc-18svzaj-0"})(wet||(wet=OQe(["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"],["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"]))),Met=i.forwardRef((function(e,n){var i=e.buttonSize,r=void 0===i?"Default":i,o=e.defaultSVG,a=e.hoveredSVG,s=e.disabled,l=e.onClick,u=e.className;return t.jsx(zet,{buttonSize:r,disabled:s,onClick:l,className:u,ref:n,defaultSVG:o,hoveredSVG:!s&&a,iconSize:"Small"===r?13:20},void 0)})),zet=y.default(vet).withConfig({displayName:"BaseIconicButton__StyledIconActionButton",componentId:"sc-1788zrp-0"})(Eet||(Eet=OQe(["\n border-radius: 50%;\n [data-icon-state] {\n width: auto;\n height: auto;\n }\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n ","\n"],["\n border-radius: 50%;\n [data-icon-state] {\n width: auto;\n height: auto;\n }\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n ","\n"])),(function(e){var t=e.buttonSize;return"Large"===t?o.css(xet||(xet=OQe(["\n width: 40px;\n height: 40px;\n padding: 10px;\n "],["\n width: 40px;\n height: 40px;\n padding: 10px;\n "]))):"Small"===t?o.css(ket||(ket=OQe(["\n width: 24px;\n height: 24px;\n padding: 5px;\n "],["\n width: 24px;\n height: 24px;\n padding: 5px;\n "]))):o.css(Pet||(Pet=OQe(["\n width: 32px;\n height: 32px;\n padding: 6px;\n "],["\n width: 32px;\n height: 32px;\n padding: 6px;\n "])))})),Ret=function(e){return t.jsx(jet,mQe({},e,{defaultSVG:e.isSelected&&e.hoveredSVG?e.hoveredSVG:e.defaultSVG}),void 0)},jet=y.default(Met).withConfig({displayName:"IconicButtons__PrimaryIconicStyledBaseButton",componentId:"sc-1kri1yx-0"})(Tet||(Tet=OQe(["\n svg {\n fill: var(--color-neutral-800);\n }\n\n ","\n"],["\n svg {\n fill: var(--color-neutral-800);\n }\n\n ","\n"])),(function(e){return e.isSelected?o.css(Cet||(Cet=OQe(["\n background-color: var(--color-coral-200);\n "],["\n background-color: var(--color-coral-200);\n "]))):o.css(Fet||(Fet=OQe(["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-100);\n }\n "],["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-100);\n }\n "])))}));y.default(Met).withConfig({displayName:"IconicButtons__SecondaryIconicStyledBaseButton",componentId:"sc-1kri1yx-1"})(Iet||(Iet=OQe(["\n position: relative;\n background-color: var(--color-coral-400);\n\n &[disabled] {\n background-color: var(--color-neutral-50);\n\n svg {\n fill: var(--color-neutral-800);\n }\n }\n\n ","\n"],["\n position: relative;\n background-color: var(--color-coral-400);\n\n &[disabled] {\n background-color: var(--color-neutral-50);\n\n svg {\n fill: var(--color-neutral-800);\n }\n }\n\n ","\n"])),(function(e){return e.isSelected?o.css(Det||(Det=OQe(["\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n border: 2px solid var(--color-coral-700);\n border-radius: 50%;\n }\n\n background-color: var(--color-coral-500);\n\n svg {\n fill: var(--color-coral-750);\n }\n "],["\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n border: 2px solid var(--color-coral-700);\n border-radius: 50%;\n }\n\n background-color: var(--color-coral-500);\n\n svg {\n fill: var(--color-coral-750);\n }\n "]))):o.css(Aet||(Aet=OQe(["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-500);\n }\n\n svg {\n fill: var(--color-coral-950);\n }\n "],["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-500);\n }\n\n svg {\n fill: var(--color-coral-950);\n }\n "])))})),function(e){e[e.normal=0]="normal",e[e.close=1]="close"}(Let||(Let={}));var Qet,Net,Uet,Bet,qet,Get,Wet,Xet,Vet,Yet,Het,Zet,Ket,Jet,ett,ttt,ntt,itt,rtt,ott=function(e){var n=e.isOpen,i=e.triggerButton,r=e.title,o=e.type,a=void 0===o?Let.close:o,s=e.isBlocking,l=e.onDismiss,u=e.className,c=e.children,d=foe(),p=Xk().formatMessage;return t.jsxs(uke,mQe({open:n,onOpenChange:function(e){return e||null==l?void 0:l()}},{children:[null!=i&&t.jsx(cke,mQe({asChild:!0},{children:i}),void 0),t.jsxs(dke,{children:[t.jsx(att,{},void 0),t.jsxs(stt,mQe({className:HB(d,u),onInteractOutside:s?function(e){return e.preventDefault()}:void 0},{children:[(r||a===Let.close)&&t.jsxs(ltt,mQe({"data-dialog-header":!0},{children:[r&&t.jsx(ctt,mQe({"data-dialog-header-title":!0},{children:r}),void 0),a===Let.close&&t.jsx(mke,mQe({asChild:!0},{children:t.jsx(dtt,mQe({"aria-label":p({id:"Generic.close"})},{children:t.jsx(C7e,{},void 0)}),void 0)}),void 0)]}),void 0),t.jsx(utt,mQe({"data-dialog-inner":!0},{children:c}),void 0)]}),void 0)]},void 0)]}),void 0)},att=y.default(pke).withConfig({displayName:"BaseDialog__StyledOverlay",componentId:"sc-1mpyir9-0"})(Qet||(Qet=OQe(["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"],["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"]))),stt=y.default(hke).withConfig({displayName:"BaseDialog__StyledContent",componentId:"sc-1mpyir9-1"})(Net||(Net=OQe(["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"],["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"]))),ltt=y.default.div.withConfig({displayName:"BaseDialog__Header",componentId:"sc-1mpyir9-2"})(Uet||(Uet=OQe(["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"],["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"]))),utt=y.default.div.withConfig({displayName:"BaseDialog__Inner",componentId:"sc-1mpyir9-3"})(Bet||(Bet=OQe(["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"],["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"]))),ctt=y.default(fke).withConfig({displayName:"BaseDialog__StyledTitle",componentId:"sc-1mpyir9-4"})(qet||(qet=OQe(["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"],["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"])),6),dtt=y.default.button.withConfig({displayName:"BaseDialog__CloseButton",componentId:"sc-1mpyir9-5"})(Get||(Get=OQe(["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"],["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"]))),ptt=y.default(ott).withConfig({displayName:"Dialog__StyledBaseDialog",componentId:"sc-1wziofc-0"})(Het||(Het=OQe(["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"],["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"])),hoe,(function(e){return e.maxwidth?o.css(Wet||(Wet=OQe(["\n max-width: ","px;\n "],["\n max-width: ","px;\n "])),e.maxwidth):o.css(Xet||(Xet=OQe(["\n max-width: 90vw;\n "],["\n max-width: 90vw;\n "])))}),(function(e){return e.minwidth?o.css(Vet||(Vet=OQe(["\n min-width: ","px;\n "],["\n min-width: ","px;\n "])),e.minwidth):o.css(Yet||(Yet=OQe(["\n min-width: 288px;\n "],["\n min-width: 288px;\n "])))})),htt=y.default.div.withConfig({displayName:"Dialog__Footer",componentId:"sc-1wziofc-1"})(Zet||(Zet=OQe(["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n gap: 8px;\n margin-top: 40px;\n"],["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n gap: 8px;\n margin-top: 40px;\n"]))),ftt=function(e){var n=e.isOpen,i=e.onDismiss,r=e.title,o=e.triggerButton,a=e.hideHeader,s=e.className,l=e.children,u=gQe(e,["isOpen","onDismiss","title","triggerButton","hideHeader","className","children"]),c=foe();return t.jsxs(mtt,{children:[o,t.jsxs(VTe,mQe({isOpen:n,onDidDismiss:function(){return i()},className:c},u,{children:[!a&&t.jsx(vtt,{title:r,onDismiss:i},void 0),t.jsx(QTe,mQe({forceOverscroll:!1},{children:t.jsx(gtt,mQe({"data-inlinemodal-content":!0,className:s},{children:l}),void 0)}),void 0)]}),void 0)]},void 0)},mtt=y.default.div.withConfig({displayName:"MobileInlineModal__Host",componentId:"sc-12osu96-0"})(Ket||(Ket=OQe(["\n display: flex;\n"],["\n display: flex;\n"]))),gtt=y.default.div.withConfig({displayName:"MobileInlineModal__Content",componentId:"sc-12osu96-1"})(Jet||(Jet=OQe(["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"],["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"]))),vtt=function(e){var n=e.title,i=e.onDismiss;return t.jsx(ytt,mQe({class:"ion-no-border","data-modal-header":!0},{children:t.jsxs(btt,{children:[t.jsx(Ott,{onClick:i},void 0),t.jsx(_tt,{children:n},void 0)]},void 0)}),void 0)},ytt=y.default(NTe).withConfig({displayName:"MobileInlineModal__StyledIonHeader",componentId:"sc-12osu96-2"})(ett||(ett=OQe(["\n background: var(--mobile-modal-background-color);\n"],["\n background: var(--mobile-modal-background-color);\n"]))),btt=y.default.div.withConfig({displayName:"MobileInlineModal__Inner",componentId:"sc-12osu96-3"})(ttt||(ttt=OQe(["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"],["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"]))),Ott=y.default((function(e){var n=e.onClick,i=e.className;return t.jsx($et,{defaultSVG:t.jsx(D7e,{},void 0),onClick:n,className:i},void 0)})).withConfig({displayName:"MobileInlineModal__StyledBackButton",componentId:"sc-12osu96-4"})(ntt||(ntt=OQe(["\n position: absolute;\n left: 0;\n top: 0;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n"]))),_tt=y.default.h2.withConfig({displayName:"MobileInlineModal__Title",componentId:"sc-12osu96-5"})(itt||(itt=OQe(["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"],["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"]))),wtt=439;y.default(ott).withConfig({displayName:"Panel__StyledBaseDialog",componentId:"sc-mvozll-0"})(rtt||(rtt=OQe(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"],["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"])),wtt,wtt,(function(e){return e.isOpen?"contentEaseIn":"contentEaseOut"}),(function(e){return e.isOpen?"1":"0"}),wtt,wtt);var xtt,ktt,Stt=i.forwardRef((function(e,n){return!i.useContext(Ftt)||e.neverStackChildren?t.jsx(Ett,mQe({ref:n},e),void 0):t.jsx(Ptt,mQe({},e),void 0)})),Ptt=function(e){var t=e.isOpen,n=e.onDismiss,r=e.initialBreakpoint,o=e.children,a=i.useContext(Ftt).addNewLayer;return i.useEffect((function(){t&&a(o,n,r)}),[t]),null},Ett=i.forwardRef((function(e,n){var i=e.isOpen,r=e.onDismiss,o=e.initialBreakpoint,a=e.breakpoints,s=e.className,l=e.children,u=foe();return t.jsx("div",{children:t.jsx(VTe,mQe({isOpen:i,ref:n,onDidDismiss:r,initialBreakpoint:o,breakpoints:null!=a?a:[0,o,1],className:u,handleBehavior:"cycle"},{children:t.jsx(QTe,mQe({forceOverscroll:!1},{children:t.jsx(Ctt,mQe({className:s},{children:l((function(){return null}))}),void 0)}),void 0)}),void 0)},void 0)})),Ctt=y.default.div.withConfig({displayName:"ModalBottomSheet__Host",componentId:"sc-14p349p-0"})(xtt||(xtt=OQe(["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"],["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"])),W7),Ftt=i.createContext(null);y.default.div.withConfig({displayName:"Modal__Host",componentId:"sc-wik3mt-0"})(ktt||(ktt=OQe(["\n display: flex;\n"],["\n display: flex;\n"])));var Ttt=dBe,Dtt=FQe,Att=PQe,Itt=VQe,Ltt=qQe,$tt=uNe.f,Mtt=YUe,ztt=Att.Symbol;if(Dtt&&"function"==typeof ztt&&(!("description"in ztt.prototype)||void 0!==ztt().description)){var Rtt={},jtt=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof jtt?new ztt(e):void 0===e?ztt():ztt(e);return""===e&&(Rtt[t]=!0),t};Mtt(jtt,ztt);var Qtt=jtt.prototype=ztt.prototype;Qtt.constructor=jtt;var Ntt=Qtt.toString,Utt="Symbol(test)"==String(ztt("test")),Btt=/^Symbol\((.*)\)[^)]+$/;$tt(Qtt,"description",{configurable:!0,get:function(){var e=Ltt(this)?this.valueOf():this,t=Ntt.call(e);if(Itt(Rtt,e))return"";var n=Utt?t.slice(7,-1):t.replace(Btt,"$1");return""===n?void 0:n}}),Ttt({global:!0,forced:!0},{Symbol:jtt})}var qtt,Gtt,Wtt,Xtt,Vtt,Ytt=o.css(qtt||(qtt=OQe(["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"],["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"])));y.default(GTe).withConfig({displayName:"ConfirmationDialog__StyledIonActionSheet",componentId:"sc-m2uptd-0"})(Gtt||(Gtt=OQe(["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"],["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"])),Ytt),y.default((function(e){var n=e.hideCancelButton,i=e.onSave,r=e.disableSave,o=e.saveButtonLabel,a=e.cancelButtonLabel,s=e.children,l=gQe(e,["hideCancelButton","onSave","disableSave","saveButtonLabel","cancelButtonLabel","children"]),u=Xk().formatMessage;return t.jsxs(ptt,mQe({},l,{children:[s,(i||!n)&&t.jsxs(htt,{children:[!n&&t.jsx(mke,mQe({asChild:!0},{children:t.jsx(met,{label:a||u({id:"Generic.Cancel"})},void 0)}),void 0),i&&t.jsx(mke,mQe({asChild:!0},{children:t.jsx(net,{disabled:r,onClick:i,label:o||u({id:"Generic.Save"})},void 0)}),void 0)]},void 0)]}),void 0)})).withConfig({displayName:"ConfirmationDialog__StyledDialog",componentId:"sc-m2uptd-1"})(Wtt||(Wtt=OQe(["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-inner] {\n padding-top: 0;\n }\n"],["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-inner] {\n padding-top: 0;\n }\n"]))),y.default.div.withConfig({displayName:"ConfirmationDialog__Description",componentId:"sc-m2uptd-2"})(Xtt||(Xtt=OQe(["\n color: var(--color-neutral-800);\n ","\n"],["\n color: var(--color-neutral-800);\n ","\n"])),Ytt),y.default.time.withConfig({displayName:"DateTimeDisplay__Host",componentId:"sc-17lnikl-0"})(Vtt||(Vtt=OQe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));var Htt=function(e){var n=e.onRequestToken,r=e.children,o=e.subscriptionId,a=i.useState(null),s=a[0],l=a[1],u=i.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(n){return ig.error(e,t),[2,Promise.reject(e)]}))}))}}}),[o,s]);return t.jsx(Uw.Provider,ko({value:u},{children:r}),void 0)},Ztt="0.5.0-preview.694",Ktt="128004",Jtt="951e4c3d9380c909e240dabcd9649dc90b7e6b62",ent=X,tnt=j,nnt=Pn("match"),int=function(e){var t;return ent(e)&&(void 0!==(t=e[nnt])?!!t:"RegExp"==tnt(e))},rnt=Pn("match"),ont=function(e){if(int(e))throw TypeError("The method doesn't accept regular expressions");return e},ant=B,snt=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[rnt]=!1,"/./"[e](t)}catch(e){}}return!1};dn({target:"String",proto:!0,forced:!snt("includes")},{includes:function(e){return!!~String(ant(this)).indexOf(ont(e),arguments.length>1?arguments[1]:void 0)}});var lnt,unt,cnt={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:{hostName:"test.analytics.livetiles.io",regions:{global:"euw",australia:"aue"},dashboards:[{name:"content-engagement",title:"Content Engagement",id:"reach-content-engagement",params:"/?standalone=2"}]}},dnt={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:{hostName:"analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"reach-content-engagement",params:"/?standalone=2"}]}},pnt=require("deepmerge"),hnt=["//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"],fnt=function(e){var n=e.children,r=Am(),o=r.apiEndpoint,a=r.additionalVideoSources,s=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!hnt.some((function(e){return o.toLowerCase().includes(e)}));if(!e)return ig.info("Will use non prod client config..."),ko(ko({},cnt),{additionalVideoSources:a});var t=pnt(cnt,dnt,{arrayMerge:function(e,t){return t}});return ko(ko({},t),{additionalVideoSources:a})}())}),[o]);return t.jsx(Gm.Provider,ko({value:s},{children:n}),void 0)},mnt=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 Po(this,void 0,void 0,(function(){return Eo(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 Po(this,void 0,void 0,(function(){return Eo(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}(),gnt=new mnt,vnt=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(ynt,ko({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},ynt=function(e){var n=e.subscriptionId,r=e.children,o=i.useContext(Uw).setToken,a=OS(),s=function(){var e=oB().fetchFromApi,t=aB();return i.useMemo((function(){return{getSubscriptionBySubscriptionIdentifier:function(t){return e("/subscriptions/"+t).then((function(e){return e.status<=200?e.json():Promise.reject(e.status)}))},getTermsAndConditions:function(){return t.custom("subscriptions/current/terms_and_conditions").get().then((function(e){return e.body().data()}))}}}),[e,t])}().getSubscriptionBySubscriptionIdentifier,l=oB().fetchFromApi,u=i.useContext(vS),c=u.handleFatalError,d=u.handleAccessDeniedError,p=Mw((function(){return Po(this,void 0,void 0,(function(){var e,t,i;return Eo(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,a.getString(e)];case 1:return(t=r.sent())?(o(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),o(i),[4,a.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 ig.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 ig.error(g.message),d({error:g}),null}return t.jsx(t.Fragment,{children:r},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)}))}},bnt=function(e){var n=e.children,r=i.useState(),o=r[0],a=r[1],s=i.useState(),l=s[0],u=s[1],c=i.useState(),d=c[0],p=c[1],h=i.useMemo((function(){return{handleFatalError:a,handleAccessDeniedError:u,handleNotFoundError:p}}),[a,u,p]);return t.jsx(vS.Provider,ko({value:h},{children:t.jsx(Ont,ko({fatalError:o,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},Ont=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,o=e.children;return n?t.jsx(_nt,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(_nt,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(_nt,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:o},void 0)},_nt=function(n){var r=n.messageId,o=n.error,a=Xk().formatMessage,s=i.useState(!1),l=s[0],u=s[1];return t.jsx(i8e,ko({errorType:e.ErrorType.GenericError,alertText:a({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!l)}},{children:l&&t.jsxs(wnt,{children:[t.jsx(hS,{id:"Generic.error.details"},void 0),t.jsx(xnt,{children:JSON.stringify(o)||"Not provided"},void 0)]},void 0)}),void 0)},wnt=y.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(lnt||(lnt=$o(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),U7),xnt=y.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(unt||(unt=$o(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),knt=function(e){var n=e.children,r=Lne(),o=i.useMemo((function(){return{onShare:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(yS.Provider,ko({value:o},{children:n}),void 0);function a(e){window.open(e,"_blank")}function s(e){window.open(""+r+e)}},Snt=function(){return null},Pnt=Object.freeze({__proto__:null,Page:Snt,NavLinkSidebarItem:Snt,PageMenuActionItem:Snt});var Ent=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)},onItemRead:function(e){},onSearchTermChange:function(e){return Promise.resolve(void 0)},activity:function(e){},contextualProperties:null,setContextualProperties:function(e){}};return t.jsx(Mee.Provider,ko({value:i},{children:n}),void 0)};!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+Ztt+" ("+Ktt+") ["+Jtt+"]"),window.__did_initialize_reach_context)return;a.initializeIcons()}();var Cnt=function(e){var n=e.disableAnalytics,i=e.appName,r=e.children;return n?t.jsx(Ent,{children:r},void 0):t.jsx(Ree,ko({appName:i},{children:r}),void 0)},Fnt=function(e){var n,r=e.subscriptionId,o=e.language,a=e.locale,s=e.children,l=i.useContext(Vie).setTheme,u=i.useContext(PS).changeSettings,c=function(){var e=h9().getCurrentUser,t=HG();return{getCurrentUser:function(n){return cJ(this,void 0,void 0,(function(){var i=this;return dJ(this,(function(r){switch(r.label){case 0:return[4,t.fetchQuery(["fetchCurrentUser",n],(function(){return cJ(i,void 0,void 0,(function(){return dJ(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}().getCurrentUser,d=Mw((function(){var e,t;return Po(this,void 0,void 0,(function(){var n,i,s,d;return Eo(this,(function(p){switch(p.label){case 0:return p.trys.push([0,2,,3]),[4,c(r)];case 1:return n=p.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&l(n.subscription.theme),i=pw(o,n.preferredUiLanguage,dw(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),s=t6(n,a),u(i,s).then((function(){return null}),ig.error),o&&(n.preferredContentLanguage=o),[2,n];case 2:throw d=p.sent(),ig.error(d),d;case 3:return[2]}}))}))})),p=d[0],h=d[1],f=d[2],m=d[3],g=i.useContext(vS),v=g.handleFatalError,y=g.handleNotFoundError,b=g.handleAccessDeniedError,O=i.useMemo((function(){return{user:p,refreshUser:function(e){return Promise.resolve(e&&m(e))}}}),[p]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?b({error:f}):v({error:f}),null):h?null:null==p?(y({}),null):t.jsx(b6.Provider,ko({value:O},{children:s}),void 0)},Tnt=function(){return i.useEffect((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),t.jsxs(t.Fragment,{children:[t.jsx(yJ,{},void 0),t.jsx(_J,{},void 0)]},void 0)};var Dnt=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ant=/[\0-\x1F\x7F-\x9F]/,Int=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Lnt=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 $nt(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 Mnt(e){return Object.prototype.toString.call(e)}function znt(e){return"[object Function]"===Mnt(e)}function Rnt(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var jnt={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var Qnt={"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}}},Nnt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Unt(e){var t=e.re=function(e){var t={};return t.src_Any=Dnt.source,t.src_Cc=Ant.source,t.src_Z=Int.source,t.src_P=Lnt.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var r=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var i={validate:null,link:null};if(e.__compiled__[t]=i,function(e){return"[object Object]"===Mnt(e)}(n))return!function(e){return"[object RegExp]"===Mnt(e)}(n.validate)?znt(n.validate)?i.validate=n.validate:o(t,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(znt(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Mnt(e)}(n)?o(t,n):r.push(t)}})),r.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Rnt).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Bnt(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 qnt(e,t){var n=new Bnt(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Gnt(e,t){if(!(this instanceof Gnt))return new Gnt(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||jnt.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=$nt({},jnt,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=$nt({},Qnt,e),this.__compiled__={},this.__tlds__=Nnt,this.__tlds_replaced__=!1,this.re={},Unt(this)}Gnt.prototype.add=function(e,t){return this.__schemas__[e]=t,Unt(this),this},Gnt.prototype.set=function(e){return this.__opts__=$nt(this.__opts__,e),this},Gnt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},Gnt.prototype.pretest=function(e){return this.re.pretest.test(e)},Gnt.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Gnt.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(qnt(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(qnt(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},Gnt.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(),Unt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Unt(this),this)},Gnt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Gnt.prototype.onCompile=function(){};var Wnt=Gnt,Xnt={exports:{}};!function(e,t){var n;n=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),t=JSON.parse('{"vi":{"Đ":"D","đ":"d"}}');function n(n,i){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},o=i.replacement||"-",a=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return i.lower&&(a=a.toLowerCase()),i.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"")),a}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(Xnt);var Vnt=Xnt.exports;function Ynt(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 Hnt(){return Hnt=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},Hnt.apply(this,arguments)}function Znt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Knt(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 Jnt(e,t,n){return t&&Knt(e.prototype,t),n&&Knt(e,n),e}function eit(e){return eit="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},eit(e)}function tit(e){return tit="function"==typeof Symbol&&"symbol"===eit(Symbol.iterator)?function(e){return eit(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":eit(e)},tit(e)}function nit(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iit(e,t){return!t||"object"!==tit(t)&&"function"!=typeof t?nit(e):t}function rit(e){return rit=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},rit(e)}function oit(e,t){return oit=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},oit(e,t)}function ait(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&&oit(e,t)}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 lit(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function uit(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function cit(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function dit(e){return function(e){if(Array.isArray(e))return cit(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return cit(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cit(e,t):void 0}}(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 pit=function(e){return e===Object(e)?Object.keys(e):[]},hit=function(e){return e===Object(e)?Object.values(e):[]};function fit(e,t){var n=Object.assign({},e);return vit(e)&&vit(t)&&pit(t).forEach((function(i){vit(t[i])&&i in e?n[i]=fit(e[i],t[i]):Object.assign(n,Gae({},i,t[i]))})),n}var mit=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 fit(e,t)}),e)},git=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},vit=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},yit=function(e){return(e||[]).filter(Boolean)},bit=function(e){return"&"===e[0]},Oit=function(e){return!bit(e)},_it=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},wit=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=pit(e),i={},r=0,o=n.length;r<o;r+=1){var a=n[r],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(i[a]=e[a])}return i},xit=function(e,t){for(var n=t.map(_it),i=pit(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(_it(s))>=0)&&(r[s]=e[s])}return r},kit=function e(t,n){for(var i=mit.apply(void 0,[{},git(t,n)].concat(dit(hit(xit(t,n))))),r=pit(i).filter(bit),o=0,a=r.length;o<a;o+=1){var s=r[o],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=mit({},i,l)):i[s]=l}return i};function Sit(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 Pit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sit(Object(n),!0).forEach((function(t){Gae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sit(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Eit=["animationName"],Cit=function(e){var t=e.style,n=e.className;return Pit(Pit({},t?{style:wit(t,Eit)}:{}),n?{className:n}:{})},Fit=i.createContext(Cit);Fit.Provider;var Tit=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return pit(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},Dit={},Ait=function(e){return function(t,n){var i,r=n||Dit;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=Tit(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function Iit(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 Lit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Iit(Object(n),!0).forEach((function(t){Gae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iit(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $it=function(e){var t=e&&pit(e)[0];return t&&t.split("__")[0].split("--")[0]},Mit=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(dit(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),dit(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(dit(r)):r}};function zit(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cit,o=n||$it(i)||(null==t?void 0:t.className),a="function"==typeof t?t:Ait((function(e,n){var a=Tit(e);mwe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),mwe(!n||vit(n),"Optional second parameter must be a plain object.");var s=a.filter(bit),l=a.filter(Oit),u=l.length>0?function(e){return hit(xit(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(kit(e,s))},d=Mit(o,l,s);return zit(Lit(Lit(Lit({},(t||n)&&{style:mit.apply(void 0,[{}].concat(dit(c(n)),dit(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=Lit({},"function"==typeof t?t:{style:t}),l=dit(new Set([].concat(dit(s.className?s.className.split(" "):[]),dit(o?o.split(" "):[])))),u=i?yit(l.map((function(e){return i[e]}))):l,c=r(Lit(Lit({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function Rit(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 jit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rit(Object(n),!0).forEach((function(t){Gae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rit(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Qit=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 jit(jit(jit({},e),"function"==typeof t?t:{}),{},{style:jit(jit({},e.style),"function"==typeof t?t.style:t)})}),{})},Nit=function(e,t,n){var r=t.style,o=t.className,a=t.classNames,s=i.useContext(Fit);return i.useMemo((function(){return zit({style:r,className:o,classNames:a},s)}),[r,o,a,s])(n,e)},Uit=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},Bit="__id__",qit="__display__",Git=function(e,t){mwe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(qit),i=e.indexOf(Bit);return n<0&&(n=null),i<0&&(i=null),mwe(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},Wit=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=lit(t.exec(e.toString()),3),i=n[1],r=n[2];return mwe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},Xit=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},Vit=function(){},Yit=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Vit,o=Wit(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=Xit(t)+1,n})),l=0,u=0;null!==(i=o.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+Git(h,"id"),g=c+Git(h,"display"),v=i[m],y=f(v,i[g]),b=e.substring(l,i.index);r(b,l,u),u+=b.length,n(i[0],i.index,u,v,y,d,l),u+=y.length,l=o.lastIndex}l<e.length&&r(e.substring(l),l,u)},Hit=function(e,t){var n="";return Yit(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},Zit=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},a=function(e,t,o,a,s,l,u){void 0===i&&o+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return Yit(e,t,a,o),void 0===i?e.length:i},Kit=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},Jit=function(e,t){var n=[];return Yit(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},ert=function(e,t){return"".concat(e,"-").concat(t)},trt=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},nrt=function(e){var t=Uit(e),n=e[e.indexOf(qit)+qit.length],i=e[e.indexOf(Bit)+Bit.length];return new RegExp(t.replace(qit,"([^".concat(Uit(n||""),"]+?)")).replace(Bit,"([^".concat(Uit(i||""),"]+?)")))},irt=function(e){return i.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?rrt(i,n):nrt(n),displayTransform:r||function(e,t){return t||e}}}))},rrt=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=Xit(t);return mwe(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},ort=[{base:"A",letters:/(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(Ꜳ|[\uA732])/g},{base:"AE",letters:/(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(Ꜵ|[\uA734])/g},{base:"AU",letters:/(Ꜷ|[\uA736])/g},{base:"AV",letters:/(Ꜹ|Ꜻ|[\uA738\uA73A])/g},{base:"AY",letters:/(Ꜽ|[\uA73C])/g},{base:"B",letters:/(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(DZ|DŽ|[\u01F1\u01C4])/g},{base:"Dz",letters:/(Dz|Dž|[\u01F2\u01C5])/g},{base:"E",letters:/(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(LJ|[\u01C7])/g},{base:"Lj",letters:/(Lj|[\u01C8])/g},{base:"M",letters:/(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(NJ|[\u01CA])/g},{base:"Nj",letters:/(Nj|[\u01CB])/g},{base:"O",letters:/(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(Œ|[\u0152])/g},{base:"OI",letters:/(Ƣ|[\u01A2])/g},{base:"OO",letters:/(Ꝏ|[\uA74E])/g},{base:"OU",letters:/(Ȣ|[\u0222])/g},{base:"P",letters:/(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(Þ|[\u00DE])/g},{base:"TZ",letters:/(Ꜩ|[\uA728])/g},{base:"U",letters:/(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(Ꝡ|[\uA760])/g},{base:"W",letters:/(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(ꜳ|[\uA733])/g},{base:"ae",letters:/(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(ꜵ|[\uA735])/g},{base:"au",letters:/(ꜷ|[\uA737])/g},{base:"av",letters:/(ꜹ|ꜻ|[\uA739\uA73B])/g},{base:"ay",letters:/(ꜽ|[\uA73D])/g},{base:"b",letters:/(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(dz|dž|[\u01F3\u01C6])/g},{base:"e",letters:/(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(ƕ|[\u0195])/g},{base:"i",letters:/(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(ij|[\u0133])/g},{base:"j",letters:/(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(lj|[\u01C9])/g},{base:"m",letters:/(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(nj|[\u01CC])/g},{base:"o",letters:/(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(œ|[\u0153])/g},{base:"oi",letters:/(ƣ|[\u01A3])/g},{base:"ou",letters:/(ȣ|[\u0223])/g},{base:"oo",letters:/(ꝏ|[\uA74F])/g},{base:"p",letters:/(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(ß|[\u00DF])/g},{base:"t",letters:/(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(þ|[\u00FE])/g},{base:"tz",letters:/(ꜩ|[\uA729])/g},{base:"u",letters:/(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(ꝡ|[\uA761])/g},{base:"w",letters:/(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],art=function(e){return function(e){var t=e;return ort.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},srt=function(e,t,n){return n?art(e).indexOf(art(t)):e.toLowerCase().indexOf(t.toLowerCase())},lrt=function(e){return"number"==typeof e},urt=function(e){return e===Object(e)?Object.keys(e):[]},crt=function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function drt(e,t){return function(n){var i=function(i){var r=i.style,o=i.className,a=i.classNames,s=uit(i,["style","className","classNames"]),l=t?t(s):void 0,u=Nit(e,{style:r,className:o,classNames:a},l);return g.default.createElement(n,Hnt({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var prt=function(e){function t(){var e;return Znt(this,t),sit(nit(e=iit(this,rit(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return ait(t,e),Jnt(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,o=n.value,a=n.style,s=n.children,l=n.containerRef,u=irt(s);i===r&&(e=Zit(o,u,i,"START"));var c=[],d={},p=c,h=0;return Yit(o,u,(function(e,n,i,r,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);p.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(lrt(e)&&e>=i&&e<=i+n.length){var o=e-i;p.push(t.renderSubstring(n.substring(0,o),h)),p=[t.renderSubstring(n.substring(o),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==c&&c.push(this.renderHighlighterCaret(p)),g.default.createElement("div",Hnt({},a,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return g.default.createElement("span",Hnt({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var o={id:e,display:t,key:r},a=i.Children.toArray(this.props.children)[n];return g.default.cloneElement(a,o)}},{key:"renderHighlighterCaret",value:function(e){return g.default.createElement("span",Hnt({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);sit(prt,"propTypes",{selectionStart:IW.number,selectionEnd:IW.number,value:IW.string.isRequired,onCaretPositionChange:IW.func.isRequired,containerRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired}),sit(prt,"defaultProps",{value:""});var hrt=drt({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}}))(prt),frt=function(e){function t(){return Znt(this,t),iit(this,rit(t).apply(this,arguments))}return ait(t,e),Jnt(t,[{key:"render",value:function(){var e=crt(this.props,["style","classNames","className"],urt(t.propTypes));return g.default.createElement("li",Hnt({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,i=e.suggestion,r=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(i,t,s,r,o):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,i=t.query,r=t.style,o=srt(e,i,n);return-1===o?g.default.createElement("span",r("display"),e):g.default.createElement("span",r("display"),e.substring(0,o),g.default.createElement("b",r("highlight"),e.substring(o,o+i.length)),e.substring(o+i.length))}}]),t}(i.Component);sit(frt,"propTypes",{id:IW.string.isRequired,query:IW.string.isRequired,index:IW.number.isRequired,ignoreAccents:IW.bool,suggestion:IW.oneOfType([IW.string,IW.shape({id:IW.oneOfType([IW.string,IW.number]).isRequired,display:IW.string})]).isRequired,renderSuggestion:IW.func,focused:IW.bool});var mrt=drt({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(frt);function grt(){var e=Nit(),t=e("spinner");return g.default.createElement("div",e,g.default.createElement("div",t,g.default.createElement("div",t(["element","element1"])),g.default.createElement("div",t(["element","element2"])),g.default.createElement("div",t(["element","element3"])),g.default.createElement("div",t(["element","element4"])),g.default.createElement("div",t(["element","element5"]))))}var vrt=function(e){function t(){var e,n;Znt(this,t);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return sit(nit(n=iit(this,(e=rit(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),sit(nit(n),"select",(function(e,t){n.props.onSelect(e,t)})),sit(nit(n),"setUlElement",(function(e){n.ulElement=e})),n}return ait(t,e),Jnt(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,o=e.onMouseDown,a=e.containerRef,s=e.position,l=e.left,u=e.top;return i?g.default.createElement("div",Hnt({},Qit({position:s||"absolute",left:l,top:u},r),{onMouseDown:o,ref:a}),g.default.createElement("ul",Hnt({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(Ynt(t),Ynt(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,o=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=i.Children.toArray(this.props.children)[a].props.renderSuggestion,u=this.props.ignoreAccents;return g.default.createElement(mrt,{style:this.props.style("item"),key:"".concat(a,"-").concat(yrt(e)),id:ert(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:o,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return g.default.createElement(grt,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);sit(vrt,"propTypes",{id:IW.string.isRequired,suggestions:IW.object.isRequired,a11ySuggestionsListLabel:IW.string,focusIndex:IW.number,position:IW.string,left:IW.number,top:IW.number,scrollFocusedIntoView:IW.bool,isLoading:IW.bool,isOpened:IW.bool.isRequired,onSelect:IW.func,ignoreAccents:IW.bool,containerRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired}),sit(vrt,"defaultProps",{suggestions:{},onSelect:function(){return null}});var yrt=function(e){return"string"==typeof e?e:e.id},brt=drt({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(vrt);function Ort(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 _rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ort(n,!0).forEach((function(t){sit(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ort(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var wrt={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},xrt=!1,krt={singleLine:IW.bool,allowSpaceInQuery:IW.bool,allowSuggestionsAboveCursor:IW.bool,forceSuggestionsAboveCursor:IW.bool,ignoreAccents:IW.bool,a11ySuggestionsListLabel:IW.string,value:IW.string,onKeyDown:IW.func,onSelect:IW.func,onBlur:IW.func,onChange:IW.func,suggestionsPortalHost:"undefined"==typeof Element?IW.any:IW.PropTypes.instanceOf(Element),inputRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired},Srt=function(e){function t(e){var n;return Znt(this,t),sit(nit(n=iit(this,rit(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),sit(nit(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return _rt({},crt(n.props,["style","classNames","className"],urt(krt)),{},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":ert(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),sit(nit(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return g.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),sit(nit(n),"renderInput",(function(e){return g.default.createElement("input",Hnt({type:"text",ref:n.setInputRef},e))})),sit(nit(n),"renderTextarea",(function(e){return g.default.createElement("textarea",Hnt({ref:n.setInputRef},e))})),sit(nit(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),sit(nit(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),sit(nit(n),"renderSuggestionsOverlay",(function(){if(!lrt(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,o=g.default.createElement(brt,{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?b.default.createPortal(o,n.props.suggestionsPortalHost):o})),sit(nit(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,o=r.singleLine,a=r.children,s=r.value,l=r.style;return g.default.createElement(hrt,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},a)})),sit(nit(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),sit(nit(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),sit(nit(n),"getPlainText",(function(){return Hit(n.props.value||"",irt(n.props.children))})),sit(nit(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 o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(i)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(i)):void 0})),sit(nit(n),"handleChange",(function(e){if(xrt=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=irt(n.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=Hit(e,i),l=s.length-t.length;"undefined"===r&&(r=a+l),"undefined"===o&&(o=r),r===o&&o===a&&s.length===t.length&&(r-=1);var u=t.slice(r,a),c=Math.min(r,a),d=o;r===a&&(d=Math.max(o,r+l));var p=Zit(e,i,c,"START"),h=Zit(e,i,d,"END"),f=Zit(e,i,c,"NULL"),m=Zit(e,i,d,"NULL"),g=null===f||null===m,v=Kit(e,p,h,u);if(!g){var y=Hit(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,a),d=s.lastIndexOf(t.substring(a)),p=Zit(e,i,c,"START"),h=Zit(e,i,d,"END"),v=Kit(e,p,h,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=Hit(o,i);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(Yit(e,t,(function(e,t,o,a,s,l,u){o<=n&&o+s.length>n&&(i=o,r=!0)})),r)return i}(t,i,a);void 0!==u&&n.state.selectionEnd>u&&(s=a=u,l=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var c=Jit(o,i),d={target:{value:o}};n.executeOnChange(d,o,r,c)}})),sit(nit(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!xrt){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)}})),sit(nit(n),"handleKeyDown",(function(e){if(0!==trt(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(wrt).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case wrt.ESC:return void n.clearSuggestions();case wrt.DOWN:return void n.shiftFocus(1);case wrt.UP:return void n.shiftFocus(-1);case wrt.RETURN:case wrt.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),sit(nit(n),"shiftFocus",(function(e){var t=trt(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),sit(nit(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(Ynt(e),Ynt(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],o=r.result,a=r.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),sit(nit(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)})),sit(nit(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),sit(nit(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),sit(nit(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=Prt(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(a){var p={};if(i){p.position="fixed";var h=c.left,f=c.top;h-=Prt(a,"margin-left"),f-=Prt(a,"margin-top"),h-=s.scrollLeft,f-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);h+a.offsetWidth>m?p.left=Math.max(0,m-a.offsetWidth):p.left=h,r&&f+a.offsetHeight>d&&a.offsetHeight<f-u||o?p.top=Math.max(0,f-a.offsetHeight-u):p.top=f}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=g,r&&c.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-u-s.scrollTop?p.top=v-a.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})}}})),sit(nit(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),sit(nit(n),"handleCompositionStart",(function(){xrt=!0})),sit(nit(n),"handleCompositionEnd",(function(){xrt=!1})),sit(nit(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()}}})),sit(nit(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,o=irt(r),a=Zit(i,o,t,"NULL");if(null!==a){var s=function(e,t){var n=Jit(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,a),o),l=e.substring(s,t);g.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=Uit(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),o=l.match(r);if(o){var a=s+l.indexOf(o[1],o.index);n.queryData(o[2],i,a,a+o[1].length,e)}}}))}})),sit(nit(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),sit(nit(n),"queryData",(function(e,t,r,o,a){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;srt(s,n,t)>=0&&r.push(e[o])}return r}:e}(i.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,o,a));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,o,a,d)})),sit(nit(n),"updateSuggestions",(function(e,t,i,r,o,a,s){if(e===n._queryId){n.suggestions=_rt({},n.suggestions,sit({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,u=trt(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),sit(nit(n),"addMention",(function(e,t){var r=e.id,o=e.display,a=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=irt(n.props.children),p=i.Children.toArray(n.props.children)[a].props,h=p.markup,f=p.displayTransform,m=p.appendSpaceOnAdd,g=p.onAdd,v=Zit(c,d,s,"START"),y=v+l-s,b=function(e,t,n){return e.replace(Bit,t).replace(qit,n)}(h,r,o);m&&(b+=" ");var O=Kit(c,v,y,b);n.inputElement.focus();var _=f(r,o);m&&(_+=" ");var w=s+_.length;n.setState({selectionStart:w,selectionEnd:w,setSelectionAfterMentionChange:!0});var x={target:{value:O}},k=Jit(O,d),S=Kit(u,s,l,_);n.executeOnChange(x,O,S,k),g&&g(r,o,v,y),n.clearSuggestions()})),sit(nit(n),"isLoading",(function(){var e=!1;return g.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),sit(nit(n),"isOpened",(function(){return lrt(n.state.selectionStart)&&(0!==trt(n.state.suggestions)||n.isLoading())})),sit(nit(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(nit(n)),n.handleCut=n.handleCut.bind(nit(n)),n.handlePaste=n.handlePaste.bind(nit(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return ait(t,e),Jnt(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 g.default.createElement("div",Hnt({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.value,a=r.children,s=irt(a),l=Zit(o,s,n,"START"),u=Zit(o,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=Kit(o,l,u,c||d).replace(/\r/g,""),h=Hit(p,s),f={target:_rt({},e.target,{value:p})};this.executeOnChange(f,p,h,Jit(p,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=irt(o),l=Zit(a,s,n,"START"),u=Zit(a,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",a.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,o=r.children,a=r.value,s=irt(o),l=Zit(a,s,n,"START"),u=Zit(a,s,i,"END"),c=[a.slice(0,l),a.slice(u)].join(""),d=Hit(c,s),p={target:_rt({},e.target,{value:d})};this.executeOnChange(p,c,d,Jit(a,s))}}}]),t}(g.default.Component);sit(Srt,"propTypes",krt),sit(Srt,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Prt=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},Ert=drt({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:_rt({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}}))(Srt),Crt={fontWeight:"inherit"},Frt=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,o=Nit(Crt,{style:n,className:i,classNames:r});return g.default.createElement("strong",o,t)};Frt.propTypes={onAdd:IW.func,onRemove:IW.func,renderSuggestion:IW.func,trigger:IW.oneOfType([IW.string,IW.instanceOf(RegExp)]),markup:IW.string,displayTransform:IW.func,allowSpaceInQuery:IW.bool,isLoading:IW.bool},Frt.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 Trt=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 Drt(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=Trt.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 Art=[".DS_Store","Thumbs.db"];function Irt(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?$rt(e.dataTransfer,e.type):Lrt(e))];var n}))}))}function Lrt(e){return(null!==e.target&&e.target.files?zrt(e.target.files):[]).map((function(e){return Drt(e)}))}function $rt(e,t){return Po(this,void 0,void 0,(function(){var n;return Eo(this,(function(i){switch(i.label){case 0:return e.items?(n=zrt(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(Rrt))]):[3,2];case 1:return[2,Mrt(jrt(i.sent()))];case 2:return[2,Mrt(zrt(e.files).map((function(e){return Drt(e)})))]}}))}))}function Mrt(e){return e.filter((function(e){return-1===Art.indexOf(e.name)}))}function zrt(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function Rrt(e){if("function"!=typeof e.webkitGetAsEntry)return Qrt(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Urt(t):Qrt(e)}function jrt(e){return e.reduce((function(e,t){return Do(e,Array.isArray(t)?jrt(t):[t])}),[])}function Qrt(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=Drt(t);return Promise.resolve(n)}function Nrt(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,e.isDirectory?Urt(e):Brt(e)]}))}))}function Urt(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Po(o,void 0,void 0,(function(){var o,a,s;return Eo(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return o=l.sent(),e(o),[3,4];case 3:return a=l.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(Nrt)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function Brt(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=Drt(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function qrt(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=(e.type||"").toLowerCase(),o=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function Grt(e,t,n){if(Wrt(e.size)){if(Wrt(t)&&Wrt(n))return e.size>=t&&e.size<=n;if(Wrt(t))return e.size>=t;if(Wrt(n))return e.size<=n}return!0}function Wrt(e){return null!=e}function Xrt(e,t,n,i){return e.every((function(e){return qrt(e,t)&&Grt(e,n,i)}))}function Vrt(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Yrt(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 Hrt(e){e.preventDefault()}function Zrt(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function Krt(e){return-1!==e.indexOf("Edge/")}function Jrt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return Zrt(e)||Krt(e)}function eot(){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!Vrt(e)&&t&&t.apply(void 0,[e].concat(i)),Vrt(e)}))}}function tot(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 not(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function iot(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 rot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iot(n,!0).forEach((function(t){oot(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iot(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aot(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var sot=i.forwardRef((function(e,t){var n=e.children,r=cot(aot(e,["children"])),o=r.open,a=aot(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:o}}),[o]),g.default.createElement(i.Fragment,null,n(rot({},a,{open:o})))}));sot.displayName="Dropzone",sot.propTypes={children:IW.func,accept:IW.oneOfType([IW.string,IW.arrayOf(IW.string)]),multiple:IW.bool,preventDropOnDocument:IW.bool,noClick:IW.bool,noKeyboard:IW.bool,noDrag:IW.bool,noDragEventsBubbling:IW.bool,minSize:IW.number,maxSize:IW.number,disabled:IW.bool,getFilesFromEvent:IW.func,onFileDialogCancel:IW.func,onDragEnter:IW.func,onDragLeave:IW.func,onDragOver:IW.func,onDrop:IW.func,onDropAccepted:IW.func,onDropRejected:IW.func};var lot,uot={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function cot(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,o=e.getFilesFromEvent,a=void 0===o?Irt:o,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,y=e.onDropRejected,b=e.onFileDialogCancel,O=e.preventDropOnDocument,_=void 0===O||O,w=e.noClick,x=void 0!==w&&w,k=e.noKeyboard,S=void 0!==k&&k,P=e.noDrag,E=void 0!==P&&P,C=e.noDragEventsBubbling,F=void 0!==C&&C,T=i.useRef(null),D=i.useRef(null),A=i.useReducer(dot,uot),I=not(A,2),L=I[0],$=I[1],M=L.isFocused,z=L.isFileDialogActive,R=L.draggedFiles,j=i.useCallback((function(){D.current&&($({type:"openDialog"}),D.current.value=null,D.current.click())}),[$]),Q=function(){z&&setTimeout((function(){D.current&&(D.current.files.length||($({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",Q,!1),function(){window.removeEventListener("focus",Q,!1)}}),[D,z,b]);var N=i.useCallback((function(e){T.current&&T.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),j()))}),[T,D]),U=i.useCallback((function(){$({type:"focus"})}),[]),B=i.useCallback((function(){$({type:"blur"})}),[]),q=i.useCallback((function(){x||(Jrt()?setTimeout(j,0):j())}),[D,x]),G=i.useRef([]),W=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),G.current=[])};i.useEffect((function(){return _&&(document.addEventListener("dragover",Hrt,!1),document.addEventListener("drop",W,!1)),function(){_&&(document.removeEventListener("dragover",Hrt),document.removeEventListener("drop",W))}}),[T,_]);var X=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===G.current.indexOf(e.target)&&(G.current=[].concat(tot(G.current),[e.target])),Yrt(e)&&Promise.resolve(a(e)).then((function(t){Vrt(e)&&!F||($({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),h&&h(e))}))}),[a,h,F]),V=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return Yrt(e)&&m&&m(e),!1}),[m,F]),Y=i.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||($({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Yrt(e)&&f&&f(e))}),[T,f,F]),H=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),G.current=[],$({type:"reset"}),Yrt(e)&&Promise.resolve(a(e)).then((function(n){if(!Vrt(e)||F){var i=[],r=[];n.forEach((function(e){qrt(e,t)&&Grt(e,c,l)?i.push(e):r.push(e)})),!p&&i.length>1&&r.push.apply(r,tot(i.splice(0))),$({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),g&&g(i,r,e),r.length>0&&y&&y(r,e),i.length>0&&v&&v(i,e)}}))}),[p,t,c,l,a,g,v,y,F]),Z=function(e){return r?null:e},K=function(e){return S?null:Z(e)},J=function(e){return E?null:Z(e)},ee=function(e){F&&e.stopPropagation()},te=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,p=aot(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return rot(oot({onKeyDown:K(eot(i,N)),onFocus:K(eot(o,U)),onBlur:K(eot(a,B)),onClick:Z(eot(s,q)),onDragEnter:J(eot(l,X)),onDragOver:J(eot(u,V)),onDragLeave:J(eot(c,Y)),onDrop:J(eot(d,H))},n,T),r||S?{}:{tabIndex:0},{},p)}}),[T,N,U,B,q,X,V,Y,H,S,E,r]),ne=i.useCallback((function(e){e.stopPropagation()}),[]),ie=i.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,o=e.onClick,a=aot(e,["refKey","onChange","onClick"]),s=oot({accept:t,multiple:p,type:"file",style:{display:"none"},onChange:Z(eot(r,H)),onClick:Z(eot(o,ne)),autoComplete:"off",tabIndex:-1},i,D);return rot({},s,{},a)}}),[D,t,p,H,r]),re=R.length,oe=p||re<=1,ae=re>0&&Xrt(R,t,c,l),se=re>0&&(!ae||!oe);return rot({},L,{isDragAccept:ae,isDragReject:se,isFocused:M&&!r,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:D,open:Z(j)})}function dot(e,t){switch(t.type){case"focus":return rot({},e,{isFocused:!0});case"blur":return rot({},e,{isFocused:!1});case"openDialog":return rot({},e,{isFileDialogActive:!0});case"closeDialog":return rot({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return rot({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return rot({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return rot({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(lot||(lot={}));var pot={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 o=n(3),a=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,a=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,y=void 0===v?{}:v,b=e.highlightTag,O=void 0===b?"mark":b,_=e.sanitize,w=e.searchWords,x=e.textToHighlight,k=e.unhighlightClassName,S=void 0===k?"":k,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,o.findAll)({autoEscape:c,caseSensitive:p,findChunks:f,sanitize:_,searchWords:w,textToHighlight:x}),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=x.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 o=T===+a;D=r+" "+(o?n:""),A=!0===o&&null!=u?Object.assign({},y,u):y;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:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightClassName:a.default.string,unhighlightStyle:a.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,o=e.caseSensitive,a=void 0!==o&&o,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:a,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}),[]),t},i=function(e){var t=e.autoEscape,n=e.caseSensitive,i=e.sanitize,r=void 0===i?o:i,a=e.searchWords,s=e.textToHighlight;return s=r(s),a.filter((function(e){return e})).reduce((function(e,i){i=r(i),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(i,n?"g":"gi"),a=void 0;a=o.exec(s);){var l=a.index,u=o.lastIndex;u>l&&e.push({start:l,end:u}),a.index==o.lastIndex&&o.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 o=0;t.forEach((function(e){r(o,e.start,!1),r(e.start,e.end,!0),o=e.end})),r(o,n,!1)}return i};function o(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 o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!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:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();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===a||!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),o=n(9),a=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,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new h("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<a.length;l++){var u=e(a,l,i,r,o+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:f((function(t,n,i,r,o){var a=t[n];return e(a)?null:new h("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return f((function(t,n,i,r,o){if(!(t[n]instanceof e)){var a=e.name||c;return new h("Invalid "+r+" `"+o+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `")+i+"`, expected instance of `"+a+"`.")}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,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var c=e(a,u,i,r,o+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return f((function(t,n,i,r,o){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;return new h("Invalid "+r+" `"+o+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!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 o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(r),n),i.thatReturnsNull}return f((function(t,n,i,r,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,i,r,o,s))return null;return new h("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return f((function(t,n,i,r,o){var a=t[n],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(a,u,i,r,o+"."+u,s);if(d)return d}}return null}))},exact:function(e){return f((function(t,n,i,r,o){var l=t[n],u=v(l);if("object"!==u)return new h("Invalid "+r+" `"+o+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=a({},t[n],e);for(var d in c){var p=e[d];if(!p)return new h("Invalid "+r+" `"+o+"` 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,o+"."+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={},a=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]&&a<3&&(o(!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,a++)}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,o,a){var s=t[n];return v(s)!==e?new h("Invalid "+r+" `"+o+"` of type `"+y(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 o=i.value;if(o&&!g(o[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 y(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 b(e){var t=y(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,o,a,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,o,a,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,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}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),o=2;o<n;o++)i[o-2]=arguments[o];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 o(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 a,s,l=o(e),u=1;u<arguments.length;u++){for(var c in a=Object(arguments[u]))i.call(a,c)&&(l[c]=a[c]);if(n){s=n(a);for(var d=0;d<s.length;d++)r.call(a,s[d])&&(l[s[d]]=a[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),o=n(11),a={};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,o)}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 a)){a[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),o=n(11);e.exports=function(){function e(e,t,n,i,a,s){s!==o&&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=g.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=[],o=void 0,a=!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 a&&i===this&&n.length===r.length&&n.every(s)?o:(a=!0,i=this,r=n,o=e.apply(this,n))};return l}}])}(pot);var hot=S(pot.exports),fot={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(e)?e:H(e)}function a(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(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",f="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},O={value:!1},_={value:!1};function w(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function 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,L=1,$=2,M="function"==typeof Symbol&&Symbol.iterator,z="@@iterator",R=M||z;function j(e){this.next=e}function Q(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 N(){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&&(M&&e[M]||e[z]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function V(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function H(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=L,j.ENTRIES=$,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[R]=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(H,X),H.of=function(){return H(arguments)},H.prototype.toSetSeq=function(){return this},X.isSeq=oe,X.Keyed=V,X.Set=H,X.Indexed=Y;var Z,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():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 o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new j((function(){var e=r[n?o-a:a];return a++>o?N():Q(t,i?e[0]:a-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 ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||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 o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===p}function be(e,t){if(!(this instanceof be))return new be(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 _e(e,t,n){if(!(this instanceof _e))return new _e(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 we(){throw TypeError("Abstract")}function xe(){}function ke(){}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?N():Q(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,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new j((function(){var a=i[t?r-o:o];return o++>r?N():Q(e,a,n[a])}))},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(N);var i=0;return new j((function(){var t=n.next();return t.done?t:Q(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,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new j((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return Q(e,r,i[r++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:new be(this._value,D(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.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},be.prototype.__iterator=function(e,t){var n=this,i=0;return new j((function(){return i<n.size?Q(e,i++,n._value):N()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(_e,Y),_e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_e.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},_e.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},_e.prototype.slice=function(e,t){return F(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new _e(0,0):new _e(this.get(e,this._end),this.get(t,this._end),this._step))},_e.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},_e.prototype.lastIndexOf=function(e){return this.indexOf(e)},_e.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new j((function(){var a=r;return r+=t?-i:i,o>n?N():Q(e,o++,a)}))},_e.prototype.equals=function(e){return e instanceof _e?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(we,n),t(xe,we),t(ke,we),t(Se,we),we.Keyed=xe,we.Indexed=ke,we.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),Ne===Qe&&(Ne=0,Ue={}),Ne++,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(Me&&void 0!==(t=$e.get(e)))return t;if(void 0!==(t=e[Re]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Re]))return t;if(void 0!==(t=Le(e)))return t}if(t=++ze,1073741824&ze&&(ze=0),Me)$e.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,Re,{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[Re]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Re]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Le(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var $e,Me="function"==typeof WeakMap;Me&&($e=new WeakMap);var ze=0,Re="__immutablehash__";"function"==typeof Symbol&&(Re=Symbol(Re));var je=16,Qe=255,Ne=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,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},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,wn(e),t,n);return i===b?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 k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},qe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qe.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function He(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return Q(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 ot(e,t,n){var i,r;if(e._root){var o=w(O),a=w(_);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)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 at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(x(s),x(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new He(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new k);for(var r=new Je(e,Ce(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new He(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?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===b,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=gt(u,t,n,i);return c===u?e:c===b?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 yt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ye.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===b,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(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=_t)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)}},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},He.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=at(h,e,t+g,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=wt)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?yt(p,d,f,m):Ot(p,d,m):bt(p,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new He(e,v,O)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+g,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<xt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=yt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new Ze(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=r===b;if(n!==this.keyHash)return s?this:(x(a),x(o),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(x(a),(s||!d)&&x(o),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,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,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},He.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,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 o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,xt=v/4;function kt(e){var t=Lt();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(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=Rt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return $t(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Lt()},kt.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])}))},kt.prototype.pop=function(){return jt(this,0,-1)},kt.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])}))},kt.prototype.shift=function(){return jt(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,ht,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ft(t),n)},kt.prototype.setSize=function(e){return jt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:jt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?N():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=kt.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&y;if(i>=this.array.length)return new Ct([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=zt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},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&y;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=zt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>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=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){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=o,s.__hash=a,s.__altered=!1,s}function Lt(){return Ft||(Ft=It(0,0,g))}function $t(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,o=w(_);return t>=Nt(e._capacity)?i=Mt(i,e.__ownerID,0,t,n,o):r=Mt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Mt(e,t,n,i,r,o){var a,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Mt(u,t,n-g,i,r,o);return c===u?e:((a=zt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=zt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function zt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function Rt(e,t){if(t>=Nt(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&y],i-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Nt(o),p=Nt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?Rt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&a<o&&h.array.length){for(var m=u=zt(u,i),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=zt(m.array[b],i)}m.array[d>>>g&y]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var O=a>>>l&y;if(O!==p>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,f)}function Qt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Nt(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(),Lt()))}function Wt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(i,r)}function 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 Ht(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(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===$){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===L?I:L,n)},t}function Kt(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator($,r);return new j((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Q(i,s,t.call(n,a[1],s,e),r)}))},i}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator($,o),s=0;return new j((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Q(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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),a=0,l=0;return new j((function(){for(;a++<o;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:Q(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator($,r),s=!0;return new j((function(){if(!s)return N();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===$?e:Q(i,l,u,e):(s=!1,N())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator($,o),l=!0,u=0;return new j((function(){var e,o,c;do{if((e=s.next()).done)return i||r===L?e:Q(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===$?e:Q(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var 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=bn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===$&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:Q(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(L,i),a=0;return new j((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Q(n,a++,t):Q(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?V(o):l(e)?Y(o):H(o)}function pn(e,t,n){if(t||(t=_n),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=bn(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(L,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new j((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?V:l(e)?Y:H).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.prototype.cacheResult.call(this)}function _n(e,t){return e>t?1:e<t?-1:0}function wn(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 xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);En(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(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,b)},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(L,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:Q(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(L,t),i=0;return new j((function(){var t=n.next();return t.done?t:Q(e,i++,t.value,t)}))},t(Yt,H),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(L,t);return new j((function(){var t=n.next();return t.done?t:Q(e,t.value,t.value,t)}))},t(Ht,V),Ht.prototype.entrySeq=function(){return this._iter.toSeq()},Ht.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,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=a(i);return Q(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Ht.prototype.cacheResult=On,t(xn,xe),xn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},xn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},xn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=xn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function 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?Mn():Tn(e)&&!c(e)?e:Mn().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ve.removeIn,kn.merge=Ve.merge,kn.mergeWith=Ve.mergeWith,kn.mergeIn=Ve.mergeIn,kn.mergeDeep=Ve.mergeDeep,kn.mergeDeepWith=Ve.mergeDeepWith,kn.mergeDeepIn=Ve.mergeDeepIn,kn.setIn=Ve.setIn,kn.update=Ve.update,kn.updateIn=Ve.updateIn,kn.withMutations=Ve.withMutations,kn.asMutable=Ve.asMutable,kn.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 Ln(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Fn.prototype.clear=function(){return Ln(this,this._map.clear())},Fn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return zn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return zn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.prototype;function Ln(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 $n(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Mn(){return Dn||(Dn=$n(rt()))}function zn(e){return null==e?Un():Rn(e)?e:Un().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Rn(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=Mn,In.__make=$n,t(zn,Fn),zn.of=function(){return this(arguments)},zn.fromKeys=function(e){return this(i(e).keySeq())},zn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},zn.isOrderedSet=Rn;var jn,Qn=zn.prototype;function Nn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Nn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Qn[f]=!0,Qn.__empty=Un,Qn.__make=Nn,t(Bn,ke),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 ke.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):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,Q(e,n++,t)}return N()}))},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 Hn(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,Hn(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 zn(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 kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator($)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return 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,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(L)},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 ye(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 Ht(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=wn(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[R]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Hn(i,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=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[R]=Zn.entries,Kn.__toJS=Zn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Hn(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,an(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,Hn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Zn.includes,Hn(V,i.prototype),Hn(Y,r.prototype),Hn(H,o.prototype),Hn(xe,i.prototype),Hn(ke,r.prototype),Hn(Se,o.prototype),{Iterable:n,Seq:X,Collection:we,Map:qe,OrderedMap:Ut,List:kt,Stack:Bn,Set:Fn,OrderedSet:zn,Record:xn,Range:_e,Repeat:be,is:ve,fromJS:he}}()}(fot);var mot=fot.exports.OrderedMap,got={createFromArray:function(e){return mot(e.map((function(e){return[e.getKey(),e]})))}},vot=got;var yot=fot.exports,bot=yot.Map,Oot=yot.OrderedSet,_ot=yot.Record,wot=Oot(),xot={style:wot,entity:null},kot=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 Sot;var t=bot({style:wot,entity:null}).merge(e),n=Pot.get(t);if(n)return n;var r=new i(t);return Pot=Pot.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?Oot(t):t,entity:Array.isArray(n)?Oot(n):n})},i}(_ot(xot)),Sot=new kot,Pot=bot([[bot(xot),Sot]]);kot.EMPTY=Sot;var Eot=kot;var Cot=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&i(r,a),r=a),o})),n(e.last())&&i(r,e.count())}};var Fot=Eot,Tot=Cot,Dot=fot.exports,Aot=Dot.List,Iot=Dot.Map,Lot=Dot.OrderedSet,$ot=Dot.Record,Mot=Dot.Repeat,zot=Lot(),Rot=$ot({key:"",type:"unstyled",text:"",characterList:Aot(),depth:0,data:Iot()}),jot=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=Aot(Mot(Fot.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():zot},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){Tot(this.getCharacterList(),Qot,e,t)},r.findEntityRanges=function(e,t){Tot(this.getCharacterList(),Not,e,t)},i}(Rot);function Qot(e,t){return e.getStyle()===t.getStyle()}function Not(e,t){return e.getEntity()===t.getEntity()}var Uot=jot;var Bot=Eot,qot=Cot,Got=fot.exports,Wot=Got.List,Xot=Got.Map,Vot=Got.OrderedSet,Yot=Got.Record,Hot=Got.Repeat,Zot=Vot(),Kot={parent:null,characterList:Wot(),data:Xot(),depth:0,key:"",text:"",type:"unstyled",children:Wot(),prevSibling:null,nextSibling:null},Jot=function(e,t){return e.getStyle()===t.getStyle()},eat=function(e,t){return e.getEntity()===t.getEntity()},tat=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=Wot(Hot(Bot.EMPTY,n.length))),e},nat=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Kot;return e.call(this,tat(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():Zot},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){qot(this.getCharacterList(),Jot,e,t)},r.findEntityRanges=function(e,t){qot(this.getCharacterList(),eat,e,t)},i}(Yot(Kot)),iat=nat,rat=Eot,oat=fot.exports.Map;function aat(e,t,n,i){var r=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(oat([[s,r.get(s)]])).map((function(e,t){var r,u;o===s?(r=a,u=l):(r=t===o?a:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?rat.applyStyle(c,n):rat.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var sat={add:function(e,t,n){return aat(e,t,n,!0)},remove:function(e,t,n){return aat(e,t,n,!1)}},lat=Eot;var uat=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,lat.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},cat=uat,dat=fot.exports;var pat=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(dat.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return cat(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},hat={getRemovalRange:function(e,t,n,i,r){var o=n.split(" ");o=o.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=i,l=null,u=null,c=0;c<o.length;c++){if(e<(a=s+o[c].length)&&s<t)null!==l||(l=s),u=a;else if(null!==l)break;s=a}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}}},fat="production"!==ga.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var mat=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(fat(t),!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,(function(){return String(i[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},gat=mat;var vat=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"!==ga.env.NODE_ENV?gat(!1,"Entity key not found in this range."):gat(!1)),n},yat=hat,bat=vat,Oat=mat;function _at(e,t,n,i,r,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=a?s:l;if("MUTABLE"===u)return n;var d=bat(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==ga.env.NODE_ENV?Oat(!1,"There should only be one entity range within this removal range."):Oat(!1));var p=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});o||(a?l=p.end:s=p.start);var h=yat.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 wat=function(e,t,n,i,r){var o=i.getStartOffset(),a=i.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=_at(e,t,u,r,s,!0,!0);else if(s&&l){var c=_at(e,t,u,r,s,!1,!0),d=_at(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=_at(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var h=_at(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return u},xat={},kat=Math.pow(2,24);var Sat=function(){for(var e;void 0===e||xat.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*kat).toString(32);return xat[e]=!0,e},Pat=iat,Eat=Sat,Cat=fot.exports.OrderedMap,Fat=function(e){return e.first()instanceof Pat?function(e){var t,n={};return Cat(e.withMutations((function(e){e.forEach((function(i,r){var o=i.getKey(),a=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=Eat();if(n[o]=c,a&&(e.get(a)?e.setIn([a,"prevSibling"],c):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([o,"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([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([o,"children"],i.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return Cat(e.toArray().map((function(e){var t=Eat();return[t,e.set("key",t)]})))}(e)},Tat=Eot,Dat=Cot,Aat=mat;function Iat(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,o=n<i.count()?i.get(n):void 0,a=r?r.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return Dat(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"!==ga.env.NODE_ENV?Aat(!1,"Removal range must exist within character list."):Aat(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,Tat.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var Lat=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=Iat(i,s,a);l!==s&&(r[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);o===u&&(d=l);var p=Iat(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)},$at=Fat,Mat=Lat,zat=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=Mat(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return $at(a.slice(l,u).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:a.slice(i,o),characterList:s.slice(i,o)}):t===n?e.merge({text:a.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var Rat=function(e,t,n){var i=e;if(n===i.count())t.forEach((function(e){i=i.push(e)}));else if(0===n)t.reverse().forEach((function(e){i=i.unshift(e)}));else{var r=i.slice(0,n),o=i.slice(n);i=r.concat(t,o).toList()}return i},jat=vot,Qat=iat,Nat=Rat,Uat=mat,Bat=Fat,qat=fot.exports.List,Gat=function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),u=s.getCharacterList(),c=r,d=o+i.getText().length,p=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":p=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":p=i.getData()}var h=s.getType();l&&"unstyled"===h&&(h=i.getType());var f=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:Nat(u,i.getCharacterList(),o),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})})},Wat=function(e,t,n,i,r,o){var a=n.first()instanceof Qat,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),p=d.getLength(),h=d.getKey(),f=a&&(!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(),o=i.slice(0,t),a=r.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,i)),i.slice(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(),o=i.length,a=i.slice(t,o),s=r.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,i))):s.push(e)}));var m=jat.createFromArray(s);return a&&(m=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),o=i.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),i=e,r=[];for(t.get(n)&&r.push(n);i&&i.getNextSiblingKey();){var o=i.getNextSiblingKey();if(!o)break;r.push(o),i=t.get(o)}return r}(i,e),u=l[l.length-1];if(t.get(o)?(t.setIn([r,"nextSibling"],o),t.setIn([o,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],a),a&&t.setIn([a,"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"],qat(p))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:h,anchorOffset:p,focusKey:h,focusOffset:p,isBackward:!1})})},Xat=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==ga.env.NODE_ENV?Uat(!1,"`insertFragment` should only be called with a collapsed selection state."):Uat(!1));var r=e.getBlockMap(),o=Bat(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof Qat&&(l.getChildKeys().isEmpty()||("production"!==ga.env.NODE_ENV?Uat(!1,"`insertFragment` should not be called when a container node is selected."):Uat(!1))),1===o.size?Gat(e,t,r,o.first(),a,s,i):Wat(e,t,r,o,a,s)},Vat=Rat,Yat=mat,Hat=fot.exports.Repeat;var Zat=function(e,t,n,i){t.isCollapsed()||("production"!==ga.env.NODE_ENV?Yat(!1,"`insertText` should only be called with a collapsed range."):Yat(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:Vat(l.getCharacterList(),Hat(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},Kat=fot.exports.Map;var Jat=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(Kat([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},est=iat,tst=function(e,t){if(!(e instanceof est))return null;var n=e.getNextSiblingKey();if(n)return n;var i=e.getParentKey();if(!i)return null;for(var r=t.get(i);r&&!r.getNextSiblingKey();){var o=r.getParentKey();r=o?t.get(o):null}return r?r.getNextSiblingKey():null},nst=iat,ist=tst,rst=fot.exports;rst.List;var ost=rst.Map,ast=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},sst=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},lst=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},ust=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},cst=function(e,t,n,i){return e.withMutations((function(r){if(ast(t.getKey(),r,(function(e){return e.merge({nextSibling:lst(e,r,i),prevSibling:ust(e,r,i)})})),ast(n.getKey(),r,(function(e){return e.merge({nextSibling:lst(e,r,i),prevSibling:ust(e,r,i)})})),sst(t.getKey(),i).forEach((function(e){return ast(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:lst(e,r,i),prevSibling:ust(e,r,i)})}))})),ast(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),ast(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:lst(e,r,i)})})),ast(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:ust(e,r,i)})})),ast(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),sst(n.getKey(),i).forEach((function(e){ast(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:lst(e,r,i),prevSibling:ust(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=ist(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?ist(r,t):null}return n}(n,i).forEach((function(e){return ast(e,r,(function(e){return e.merge({nextSibling:lst(e,r,i),prevSibling:ust(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();ast(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),ast(o,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=o?e.get(o):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){ast(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);ast(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}ast(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},dst=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},pst=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(a),c=l instanceof nst,d=[];if(c){var p=u.getChildKeys(),h=sst(a,i);u.getNextSiblingKey()&&(d=d.concat(h)),p.isEmpty()||(d=d.concat(h.concat([a]))),d=d.concat(sst(ist(u,i),i))}n=l===u?dst(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var f=l.merge({text:l.getText().slice(0,o)+u.getText().slice(s),characterList:n}),m=c&&0===o&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?ost([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(ost([[a,null]])).map((function(e,t){return t===r?f:null})),g=i.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(g=cst(g,l,u,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},hst=iat,fst=Sat,mst=fot.exports,gst=mat,vst=Jat,yst=mst.List,bst=mst.Map,Ost=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},_st=function(e,t){t.isCollapsed()||("production"!==ga.env.NODE_ENV?gst(!1,"Selection range must be collapsed."):gst(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),o=r.getText();if(!o){var a=r.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return vst(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=fst(),c=r instanceof hst,d=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:bst()}),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"!==ga.env.NODE_ENV?gst(!1,"ContentBlockNode must not have children"):gst(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();Ost(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,o=t.toArray();return o.splice(n,0,r),e.merge({children:yst(o)})})),Ost(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),Ost(i,e,(function(e){return e.merge({nextSibling:r})})),Ost(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})})},wst=Eot,xst=sat,kst=pat,Sst=wat,Pst=zat,Est=Xat,Cst=Zat,Fst=mat,Tst=Jat,Dst=Lat,Ast=pst,Ist=_st,Lst=fot.exports.OrderedSet,$st={replaceText:function(e,t,n,i,r){var o=Dst(e,t),a=Ast(o,t),s=wst.create({style:i||Lst(),entity:r||null});return Cst(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==ga.env.NODE_ENV?Fst(!1,"Target range must be collapsed for `insertText`."):Fst(!1)),$st.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=Pst(e,t),r=$st.removeRange(e,t,"backward");return $st.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=Dst(e,t),o=Ast(r,t);return Est(o,o.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),i=t.getAnchorKey(),r=t.getFocusKey(),o=e.getBlockForKey(i),a=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=o.getEntityAt(s),c=a.getEntityAt(l-1);if(i===r&&u&&u===c){var d=Sst(e.getEntityMap(),o,a,t,n);return Ast(e,d)}var p=Dst(e,t);return Ast(p,t)},splitBlock:function(e,t){var n=Dst(e,t),i=Ast(n,t);return Ist(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return xst.add(e,t,n)},removeInlineStyle:function(e,t,n){return xst.remove(e,t,n)},setBlockType:function(e,t,n){return Tst(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return Tst(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return Tst(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=Dst(e,t);return kst(i,t,n)}},Mst=$st;var zst=function(e){return Object.keys(e).map((function(t){return e[t]}))};function Rst(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jst=Cot,Qst=zst,Nst=fot.exports,Ust=Nst.List,Bst=Nst.Repeat,qst=Nst.Record,Gst=function(){return!0},Wst=qst({start:null,end:null}),Xst=qst({start:null,end:null,decoratorKey:null,leaves:null}),Vst={generate:function(e,t,n){var i=t.getLength();if(!i)return Ust.of(new Xst({start:0,end:0,decoratorKey:null,leaves:Ust.of(new Wst({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):Ust(Bst(null,i)),a=t.getCharacterList();return jst(o,Hst,Gst,(function(e,t){r.push(new Xst({start:e,end:t,decoratorKey:o.get(e),leaves:Yst(a.slice(e,t).toList(),e)}))})),Ust(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new Xst(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){Rst(e,t,n[t])}))}return e}({},n,{leaves:null!=t?Ust(Array.isArray(t)?t:Qst(t)).map((function(e){return Wst(e)})):null}))}};function Yst(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return jst(i,Hst,Gst,(function(e,i){n.push(new Wst({start:e+t,end:i+t}))})),Ust(n)}function Hst(e,t){return e===t}var Zst=Vst;var Kst=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,fot.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),Jst=Kst;var elt=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 tlt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nlt=Jst,ilt=mat,rlt=elt,olt=(0,fot.exports.Map)(),alt=rlt();function slt(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var llt={getLastCreatedEntityKey:function(){return slt("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),llt.__getLastCreatedEntityKey()},create:function(e,t,n){return slt("DraftEntity.create","contentState.createEntity"),llt.__create(e,t,n)},add:function(e){return slt("DraftEntity.add","contentState.addEntity"),llt.__add(e)},get:function(e){return slt("DraftEntity.get","contentState.getEntity"),llt.__get(e)},__getAll:function(){return olt},__loadWithEntities:function(e){olt=e,alt=rlt()},mergeData:function(e,t){return slt("DraftEntity.mergeData","contentState.mergeEntityData"),llt.__mergeData(e,t)},replaceData:function(e,t){return slt("DraftEntity.replaceData","contentState.replaceEntityData"),llt.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return alt},__create:function(e,t,n){return llt.__add(new nlt({type:e,mutability:t,data:n||{}}))},__add:function(e){return alt=rlt(),olt=olt.set(alt,e),alt},__get:function(e){var t=olt.get(e);return t||("production"!==ga.env.NODE_ENV?ilt(!1,"Unknown DraftEntity key: %s.",e):ilt(!1)),t},__mergeData:function(e,t){var n=llt.__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){tlt(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return olt=olt.set(e,r),r},__replaceData:function(e,t){var n=llt.__get(e).set("data",t);return olt=olt.set(e,n),n}},ult=llt;var clt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,n){var i=this.getAnchorKey(),r=this.getFocusKey();if(i===r&&i===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==i&&e!==r)return!1;var s=e===i?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},i.createEmpty=function(e){return new i({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},i}((0,fot.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),dlt=clt,plt=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},hlt=new RegExp("\r","g");var flt=function(e){return e.replace(hlt,"")};function mlt(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){glt(e,t,n[t])}))}return e}function glt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vlt=vot,ylt=Eot,blt=Uot,Olt=iat,_lt=ult,wlt=dlt,xlt=Sat,klt=zst,Slt=plt,Plt=fot.exports,Elt=flt,Clt=Plt.List,Flt=Plt.Record,Tlt=Plt.Repeat,Dlt=Plt.Map,Alt=Plt.OrderedMap,Ilt=Flt({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),Llt=Slt("draft_tree_data_support")?Olt:blt,$lt=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 _lt},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 _lt.__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 _lt.__create(e,t,n),this},r.mergeEntityData=function(e,t){return _lt.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return _lt.__replaceData(e,t),this},r.addEntity=function(e){return _lt.__add(e),this},r.getEntity=function(e){return _lt.__get(e)},r.getAllEntities=function(){return _lt.__getAll()},r.loadWithEntities=function(e){return _lt.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=vlt.createFromArray(n),o=r.isEmpty()?new wlt:wlt.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||_lt,selectionBefore:o,selectionAfter:o})},i.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=Elt(e),new Llt({key:xlt(),text:e,type:"unstyled",characterList:Clt(Tlt(ylt.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(mlt({},e,{blockMap:Alt(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new wlt(e.selectionBefore),selectionAfter:new wlt(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new Llt(mlt({},e,{data:Dlt(e.data),characterList:null!=t?Clt((Array.isArray(t)?t:klt(t)).map((function(e){return ylt.fromJS(e)}))):void 0}))},i}(Ilt),Mlt=$lt,zlt=mat,Rlt="LTR",jlt=null;function Qlt(e){return e===Rlt||"RTL"===e}function Nlt(e){return Qlt(e)||("production"!==ga.env.NODE_ENV?zlt(!1,"`dir` must be a strong direction to be converted to HTML Direction"):zlt(!1)),e===Rlt?"ltr":"rtl"}function Ult(e){jlt=e}var Blt={NEUTRAL:"NEUTRAL",LTR:Rlt,RTL:"RTL",isStrong:Qlt,getHTMLDir:Nlt,getHTMLDirIfDifferent:function(e,t){return Qlt(e)||("production"!==ga.env.NODE_ENV?zlt(!1,"`dir` must be a strong direction to be converted to HTML Direction"):zlt(!1)),Qlt(t)||("production"!==ga.env.NODE_ENV?zlt(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):zlt(!1)),e===t?null:Nlt(e)},setGlobalDir:Ult,initGlobalDir:function(){Ult(Rlt)},getGlobalDir:function(){return jlt||this.initGlobalDir(),jlt||("production"!==ga.env.NODE_ENV?zlt(!1,"Global direction not set."):zlt(!1)),jlt}},qlt=Blt,Glt=mat,Wlt="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",Xlt="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",Vlt=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+Wlt+Xlt+"]"),Ylt=new RegExp("["+Wlt+Xlt+"]");function Hlt(e){var t=Vlt.exec(e);return null==t?null:t[0]}function Zlt(e){var t=Hlt(e);return null==t?qlt.NEUTRAL:Ylt.exec(t)?qlt.RTL:qlt.LTR}function Klt(e,t){if(t=t||qlt.NEUTRAL,!e.length)return t;var n=Zlt(e);return n===qlt.NEUTRAL?t:n}function Jlt(e,t){return t||(t=qlt.getGlobalDir()),qlt.isStrong(t)||("production"!==ga.env.NODE_ENV?Glt(!1,"Fallback direction must be a strong direction"):Glt(!1)),Klt(e,t)}var eut={firstStrongChar:Hlt,firstStrongCharDir:Zlt,resolveBlockDir:Klt,getDirection:Jlt,isDirectionLTR:function(e,t){return Jlt(e,t)===qlt.LTR},isDirectionRTL:function(e,t){return Jlt(e,t)===qlt.RTL}},tut=eut;function nut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iut,rut=tut,out=Blt,aut=mat,sut=function(){function e(e){nut(this,"_defaultDir",void 0),nut(this,"_lastDir",void 0),e?out.isStrong(e)||("production"!==ga.env.NODE_ENV?aut(!1,"Default direction must be a strong direction (LTR or RTL)"):aut(!1)):e=out.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=rut.getDirection(e,this._lastDir),this._lastDir},e}(),lut=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},uut=sut,cut=fot.exports,dut=lut,put=cut.OrderedMap,hut={getDirectionMap:function(e,t){iut?iut.reset():iut=new uut;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return dut(iut).getDirection(e.getText())})),r=put(n.keySeq().zip(i));return null!=t&&cut.is(t,r)?t:r}};function fut(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){mut(e,t,n[t])}))}return e}function mut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gut=Zst,vut=Mlt,yut=hut,but=dlt,Out=fot.exports,_ut=Out.OrderedSet,wut=Out.Record,xut=Out.Stack,kut=Out.OrderedMap,Sut=Out.List,Put=wut({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:xut(),selection:null,treeMap:null,undoStack:xut()}),Eut=function(){t.createEmpty=function(e){return t.createWithContent(vut.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:xut(),redoStack:xut(),decorator:n||null,selection:but.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=fut({},e,{treeMap:Fut(n,e.decorator),directionMap:yut.getDirectionMap(n)});return new t(new Put(i))},t.fromJS=function(e){return new t(new Put(fut({},e,{directionMap:null!=e.directionMap?kut(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?_ut(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?vut.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?xut(e.redoStack.map((function(e){return vut.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new but(e.selection):e.selection,treeMap:null!=e.treeMap?kut(e.treeMap).map((function(e){return Sut(e).map((function(e){return gut.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?xut(e.undoStack.map((function(e){return vut.fromJS(e)}))):e.undoStack,currentContent:vut.fromJS(e.currentContent)})))},t.set=function(e,n){var i=e.getImmutable().withMutations((function(t){var i=t.get("decorator"),r=i;null===n.decorator?r=null:n.decorator&&(r=n.decorator);var o=n.currentContent||e.getCurrentContent();if(r!==i){var a,s=t.get("treeMap");return a=r&&i?function(e,t,n,i,r){return n.merge(t.toSeq().filter((function(t){return i.getDecorations(t,e)!==r.getDecorations(t,e)})).map((function(t){return gut.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):Fut(o,r),void t.merge({decorator:r,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),o=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return gut.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){mut(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 Dut(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 Dut(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 Cut(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),Cut(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new but({anchorKey:i,anchorOffset:r,focusKey:i,focusOffset:r,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=yut.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;a!==s.getSelectionAfter()||Tut(e,i)?(l=l.push(s),u=u.set("selectionBefore",a)):"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:o,undoStack:l,redoStack:xut(),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(),o=yut.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=yut.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:e.getUndoStack().push(r),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:i.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function Cut(e,t,n){return Eut.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function Fut(e,t){return e.getBlockMap().map((function(n){return gut.generate(e,n,t)})).toOrderedMap()}function Tut(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function Dut(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):_ut()}var Aut=Eut,Iut=iat,Lut=tst,$ut=fot.exports,Mut=mat,zut=$ut.OrderedMap,Rut=$ut.List,jut=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},Qut=function(e,t,n,i,r){if(!r)return e;var o="after"===i,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),p=o?n.getNextSiblingKey():s,h=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){jut(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),jut(c,e,(function(e){return e.merge({nextSibling:u})})),jut(u,e,(function(e){return e.merge({prevSibling:c})})),jut(p,e,(function(e){return e.merge({prevSibling:a})})),jut(h,e,(function(e){return e.merge({nextSibling:a})})),jut(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=o?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,a),e.merge({children:Rut(r)})})),jut(a,e,(function(e){return e.merge({nextSibling:p,prevSibling:h,parent:d})}))}))},Nut=function(e,t,n,i){"replace"===i&&("production"!==ga.env.NODE_ENV?Mut(!1,"Replacing blocks is not supported."):Mut(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==ga.env.NODE_ENV?Mut(!1,"Block cannot be moved next to itself."):Mut(!1));var a=e.getBlockMap(),s=t instanceof Iut,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=Lut(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),r=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||a||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var 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=zut();if("before"===i){var f=e.getBlockBefore(r);f&&f.getKey()===t.getKey()&&("production"!==ga.env.NODE_ENV?Mut(!1,"Block cannot be moved next to itself."):Mut(!1)),h=c.concat([].concat(p,[[r,n]]),d).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===o&&("production"!==ga.env.NODE_ENV?Mut(!1,"Block cannot be moved next to itself."):Mut(!1)),h=c.concat([[r,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:Qut(h,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function Uut(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){But(e,t,n[t])}))}return e}function But(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qut=vot,Gut=Eot,Wut=Uot,Xut=iat,Vut=Mst,Yut=Aut,Hut=Sat,Zut=fot.exports,Kut=Nut,Jut=plt("draft_tree_data_support"),ect=Jut?Xut:Wut,tct=Zut.List,nct=Zut.Repeat,ict={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=Vut.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=Vut.splitBlock(o,a),l=s.getSelectionAfter(),u=Vut.setBlockType(s,l,"atomic"),c=Gut.create({entity:t}),d={key:Hut(),type:"atomic",text:n,characterList:tct(nct(c,n.length))},p={key:Hut(),type:"unstyled"};Jut&&(d=Uut({},d,{nextSibling:p.key}),p=Uut({},p,{prevSibling:d.key}));var h=[new ect(d),new ect(p)],f=qut.createFromArray(h),m=Vut.replaceWithFragment(u,l,f),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return Yut.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,o=e.getCurrentContent(),a=e.getSelection();if("before"===i||"after"===i){var s=o.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=Kut(o,t,s,i)}else{var l=Vut.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=Kut(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=Kut(l,t,c,"after");else{var d=Vut.splitBlock(l,u),p=d.getSelectionAfter(),h=d.getBlockForKey(p.getFocusKey());r=Kut(d,t,h,"before")}}var f=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return Yut.push(e,f,"move-block")}};var rct=fot.exports.List,oct=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(i,r){var o=0;(0,i.strategy)(e,(function(e,t){(function(e,t,n){for(var i=t;i<n;i++)if(null!=e[i])return!1;return!0})(n,e,t)&&(!function(e,t,n,i){for(var r=t;r<n;r++)e[r]=i}(n,e,t,r+"."+o),o++)}),t)})),rct(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 act=oct;function sct(e){return e.replace(/\//g,"-")}var lct=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(sct).join(" "):Array.prototype.map.call(arguments,sct).join(" ")},uct=g.default,cct=lct,dct=(0,fot.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:uct.createElement("ul",{className:cct("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:uct.createElement("ol",{className:cct("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:uct.createElement("pre",{className:cct("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),pct={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},hct={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",u="name",c="type",d="vendor",p="version",h="architecture",f="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",O="Amazon",_="Apple",w="ASUS",x="BlackBerry",k="Firefox",S="Google",P="Huawei",E="LG",C="Microsoft",F="Motorola",T="Opera",D="Samsung",A="Sony",I="Xiaomi",L="Zebra",$="Facebook",M=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},z=function(e,t){return typeof e===s&&-1!==R(t).indexOf(R(e))},R=function(e){return e.toLowerCase()},j=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},Q=function(e,t){for(var n,o,s,l,u,c,d=0;d<t.length&&!u;){var p=t[d],h=t[d+1];for(n=o=0;n<p.length&&!u;)if(u=p[n++].exec(e))for(s=0;s<h.length;s++)c=u[++o],typeof(l=h[s])===a&&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}},N=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(z(t[n][r],e))return"?"===n?i:n}else if(z(t[n],e))return"?"===n?i:n;return e},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,k]],[/\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,$],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,N,{"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,R]],[/((?: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/,"",R]],[/(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,R]]],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,_],[c,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,_],[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,x],[c,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,w],[c,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,w],[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,L],[c,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,L],[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,y]],[/droid.+; (glass) \d/i],[l,[d,S],[c,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,L],[c,y]],[/(quest( 2)?)/i],[l,[d,$],[c,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,b]],[/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,N,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[p,N,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,x]],[/(?: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===a&&(t=e,e=i),!(this instanceof q))return new q(e,t).getResult();var r=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(B,t):B;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,Q.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,Q.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,Q.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,Q.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,Q.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=M([u,p,"major"]),q.CPU=M([h]),q.DEVICE=M([l,d,c,f,m,v,g,y,b]),q.ENGINE=q.OS=M([u,p]),e.exports&&(t=e.exports=q),t.UAParser=q;var G=typeof n!==o&&(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:k)}(hct,hct.exports);var fct="Unknown",mct={"Mac OS":"Mac OS X"};var gct=(new(0,hct.exports)).getResult(),vct=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(gct.browser.version),yct={browserArchitecture:gct.cpu.architecture||fct,browserFullVersion:gct.browser.version||fct,browserMinorVersion:vct.minor||fct,browserName:gct.browser.name||fct,browserVersion:gct.browser.major||fct,deviceName:gct.device.model||fct,engineName:gct.engine.name||fct,engineVersion:gct.engine.version||fct,platformArchitecture:gct.cpu.architecture||fct,platformName:function(e){return mct[e]||e}(gct.os.name)||fct,platformVersion:gct.os.version||fct,platformFullVersion:gct.os.version||fct},bct=yct,Oct=mat,_ct=/\./,wct=/\|\|/,xct=/\s+\-\s+/,kct=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,Sct=/^(\d*)(.*)/;function Pct(e,t){var n=e.split(wct);return n.length>1?n.some((function(e){return zct.contains(e,t)})):function(e,t){var n=e.split(xct);if(n.length>0&&n.length<=2||("production"!==ga.env.NODE_ENV?Oct(!1,'the "-" operator expects exactly 2 operands'):Oct(!1)),1===n.length)return Ect(n[0],t);var i=n[0],r=n[1];return Act(i)&&Act(r)||("production"!==ga.env.NODE_ENV?Oct(!1,'operands to the "-" operator must be simple (no modifiers)'):Oct(!1)),Ect(">="+i,t)&&Ect("<="+r,t)}(e=n[0].trim(),t)}function Ect(e,t){if(""===(e=e.trim()))return!0;var n=t.split(_ct),i=Tct(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return Cct(n,o);case"<=":return function(e,t){var n=Mct(e,t);return-1===n||0===n}(n,o);case">=":return Fct(n,o);case">":return function(e,t){return 1===Mct(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,o=parseInt(i[r],10);Dct(o)&&(i[r]=o+1+"");return Fct(e,n)&&Cct(e,i)}(n,o);default:return function(e,t){return 0===Mct(e,t)}(n,o)}}function Cct(e,t){return-1===Mct(e,t)}function Fct(e,t){var n=Mct(e,t);return 1===n||0===n}function Tct(e){var t=e.split(_ct),n=t[0].match(kct);return n||("production"!==ga.env.NODE_ENV?Oct(!1,"expected regex to match but it did not"):Oct(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function Dct(e){return!isNaN(e)&&isFinite(e)}function Act(e){return!Tct(e).modifier}function Ict(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function Lct(e,t){var n=e.match(Sct)[1],i=t.match(Sct)[1],r=parseInt(n,10),o=parseInt(i,10);return Dct(r)&&Dct(o)&&r!==o?$ct(r,o):$ct(e,t)}function $ct(e,t){return typeof e!=typeof t&&("production"!==ga.env.NODE_ENV?Oct(!1,'"a" and "b" must be of the same type'):Oct(!1)),e>t?1:e<t?-1:0}function Mct(e,t){for(var n=function(e,t){Ict(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 Ict(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=Lct(i[o],r[o]);if(a)return a}return 0}var zct={contains:function(e,t){return Pct(e.trim(),t.trim())}},Rct=zct,jct=Object.prototype.hasOwnProperty;var Qct=function(e,t,n){if(!e)return null;var i={};for(var r in e)jct.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var Nct=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},Uct=bct,Bct=Rct;function qct(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,Bct.contains(r,t))}function Gct(e){return"Windows"===Uct.platformName?e.replace(/^\s*NT/,""):e}var Wct=Qct({isBrowser:function(e){return qct(Uct.browserName,Uct.browserFullVersion,e)},isBrowserArchitecture:function(e){return qct(Uct.browserArchitecture,null,e)},isDevice:function(e){return qct(Uct.deviceName,null,e)},isEngine:function(e){return qct(Uct.engineName,Uct.engineVersion,e)},isPlatform:function(e){return qct(Uct.platformName,Uct.platformFullVersion,e,Gct)},isPlatformArchitecture:function(e){return qct(Uct.platformArchitecture,null,e)}},Nct);var Xct=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var Vct=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},Yct=Vct;var Hct=function e(t){if(Yct(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var o=e(n.childNodes[r]);if(o)return o}}return null},Zct=Xct,Kct=Hct;var Jct=function(e){for(var t=e;t&&t!==Zct(e).documentElement;){var n=Kct(t);if(null!=n)return n;t=t.parentNode}return null};var edt=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function tdt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ndt=Wct,idt=Jct,rdt=edt,odt=mat,adt=lut,sdt=fot.exports.Map,ldt={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},udt=ndt.isBrowser("IE <= 11"),cdt=function(){function e(e){var t=this;tdt(this,"observer",void 0),tdt(this,"container",void 0),tdt(this,"mutations",void 0),tdt(this,"onCharData",void 0),this.container=e,this.mutations=sdt();var n=rdt(e);n.MutationObserver&&!udt?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==ga.env.NODE_ENV?odt(!1,"Expected target to be an instance of Node"):odt(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,ldt):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=sdt(),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 udt?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=adt(idt(e.target));this.mutations=this.mutations.set(n,t)}},e}(),ddt="-",pdt={encode:function(e,t,n){return e+ddt+t+ddt+n},decode:function(e){var t=e.split(ddt).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(ddt),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},hdt={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},fdt={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var mdt=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},gdt=mat,vdt=mdt;var ydt=function(e){var t=e.editorContainer;return t||("production"!==ga.env.NODE_ENV?gdt(!1,"Missing editorNode"):gdt(!1)),vdt(t.firstChild)||("production"!==ga.env.NODE_ENV?gdt(!1,"editorNode.firstChild is not an HTMLElement"):gdt(!1)),t.firstChild},bdt=pdt,Odt=lut;var _dt=function(e,t,n,i,r){var o=Odt(e.getSelection());if(!t||!i)return"production"!==ga.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=bdt.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=bdt.decode(i),d=c.blockKey,p=e.getBlockTree(d),h=p&&p.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!h)return"production"!==ga.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var f=u.get("start"),m=h.get("start"),g=u?f+n:null,v=h?m+r:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var O=u.get("end"),_=h.get("end");b=m===f&&_===O?r<n:m<f}else{var w=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=w===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},wdt=Jct,xdt=Hct,kdt=_dt,Sdt=mat,Pdt=Vct,Edt=lut;function Cdt(e,t,n){var i=t,r=wdt(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==ga.env.NODE_ENV?Sdt(!1,"Unknown node in selection range."):Sdt(!1)),e===i)&&(i=i.firstChild,Pdt(i)||("production"!==ga.env.NODE_ENV?Sdt(!1,"Invalid DraftEditorContents node."):Sdt(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==ga.env.NODE_ENV?Sdt(!1,"Invalid DraftEditorContents structure."):Sdt(!1)),n>0&&(n=i.childNodes.length));if(0===n){var o=null;if(null!=r)o=r;else{var a=function(e){for(;e.firstChild&&(Pdt(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||xdt(e.firstChild));)e=e.firstChild;return e}(i);o=Edt(xdt(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(xdt(s)){var c=function(e){for(;e.lastChild&&(Pdt(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||xdt(e.lastChild));)e=e.lastChild;return e}(s);l=Edt(xdt(c)),u=Fdt(c)}else l=Edt(r),u=Fdt(s);return{key:l,offset:u}}function Fdt(e){var t=e.textContent;return"\n"===t?0:t.length}var Tdt=function(e,t,n,i,r,o){var a=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:kdt(e,Edt(wdt(n)),i,Edt(wdt(r)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:Edt(wdt(n)),offset:i},u=Cdt(t,r,o)):s?(u={key:Edt(wdt(r)),offset:o},l=Cdt(t,n,i)):(l=Cdt(t,n,i),u=Cdt(t,r,o),n===r&&i===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:kdt(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},Ddt=Tdt;var Adt=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==i||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:Ddt(e,t,i,r,o,a)},Idt=fdt,Ldt=Aut,$dt=ydt,Mdt=Adt;var zdt=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();Idt.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=Mdt(n,$dt(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?Ldt.forceSelection(n,r):Ldt.acceptSelection(n,r),e.update(n))}};var Rdt={notEmptyKey:function(e){return null!=e&&""!=e}},jdt=Rdt.notEmptyKey;function Qdt(e,t){return jdt(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var Ndt=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:Qdt(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),Qdt(e.getEntityMap(),n)},Udt=cdt,Bdt=Mst,qdt=pdt,Gdt=Aut,Wdt=hdt,Xdt=ydt,Vdt=Adt,Ydt=Ndt,Hdt=lut,Zdt=!1,Kdt=!1,Jdt=null;var ept={onCompositionStart:function(e){Kdt=!0,function(e){Jdt||(Jdt=new Udt(Xdt(e))).start()}(e)},onCompositionEnd:function(e){Zdt=!1,Kdt=!1,setTimeout((function(){Zdt||ept.resolveComposition(e)}),20)},onSelect:zdt,onKeyDown:function(e,t){if(!Kdt)return ept.resolveComposition(e),void e._onKeyDown(t);t.which!==Wdt.RIGHT&&t.which!==Wdt.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===Wdt.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!Kdt){var t=Hdt(Jdt).stopAndFlushMutations();Jdt=null,Zdt=!0;var n=Gdt.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=qdt.decode(t),o=r.blockKey,a=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:u,focusOffset:c,isBackward:!1}),p=Ydt(i,d),h=i.getBlockForKey(o).getInlineStyleAt(u);i=Bdt.replaceText(i,d,e,h,p),n=Gdt.set(n,{currentContent:i})}));var r=Vdt(n,Xdt(e)).selectionState;e.restoreEditorDOM();var o=Gdt.acceptSelection(n,r);e.update(Gdt.push(o,i,"insert-characters"))}else e.update(n)}}},tpt=ept,npt=fW;function ipt(){return ipt=npt||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},ipt.apply(this,arguments)}var rpt=pdt,opt=g.default,apt=tut,spt=Blt,lpt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.children,i=e.contentState,r=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(o),p=r.getPropsForKey(o),h=rpt.encode(u,parseInt(o,10),0),f=l.slice(c.first().get("start"),c.last().get("end")),m=spt.getHTMLDirIfDifferent(apt.getDirection(f),a);return opt.createElement(d,ipt({},p,{contentState:i,decoratedText:f,dir:m,key:h,entityKey:t.getEntityAt(s.get("start")),offsetKey:h}),n)},i}(opt.Component),upt=lpt;function cpt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dpt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ppt=g.default,hpt=mat,fpt=Vct,mpt=Wct.isBrowser("IE <= 11");var gpt=function(e){var t,n;function i(t){var n;return dpt(cpt(n=e.call(this,t)||this),"_forceFlag",void 0),dpt(cpt(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;fpt(t)||("production"!==ga.env.NODE_ENV?hpt(!1,"node is not an Element"):hpt(!1));var i=t;return n?!function(e){return mpt?"\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},mpt?ppt.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):ppt.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return mpt?ppt.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):ppt.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):ppt.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(ppt.Component),vpt=gpt,ypt=Vct;var bpt=function(e){return!(!e||!e.ownerDocument)&&(ypt(e)&&"BR"===e.nodeName)};var Opt=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 _pt=function(e){return Opt(e)&&3==e.nodeType};var wpt=function e(t,n){return!(!t||!n)&&(t===n||!_pt(t)&&(_pt(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var xpt=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}},kpt=fdt,Spt=wpt,Ppt=xpt,Ept=Xct,Cpt=mat,Fpt=Vct,Tpt=Wct.isBrowser("IE");function Dpt(e,t){if(!e)return"[empty]";var n=Apt(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(Fpt(n)||("production"!==ga.env.NODE_ENV?Cpt(!1,"Node must be an Element if it is not a text node."):Cpt(!1)),n.outerHTML)}function Apt(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return Ept(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var r=e.cloneNode();1===r.nodeType&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)r.appendChild(Apt(o[a],t));return r}function Ipt(e,t){for(var n=e,i=n;n;){if(Fpt(n)&&i.hasAttribute("contenteditable"))return Dpt(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function Lpt(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function $pt(e,t,n,i){var r=Ppt();if(e.extend&&null!=t&&Spt(r,t)){n>Lpt(t)&&kpt.logSelectionStateFailure({anonymizedDom:Ipt(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw kpt.logSelectionStateFailure({anonymizedDom:Ipt(t,(function(t){var n=[];return t===r&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:r?r.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:o,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function Mpt(e,t,n,i){var r=Ept(t).createRange();if(n>Lpt(t)&&kpt.logSelectionStateFailure({anonymizedDom:Ipt(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),Tpt)try{e.addRange(r)}catch(e){"production"!==ga.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var zpt=function(e,t,n,i,r){var o=Ept(t);if(Spt(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!a.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 a.removeAllRanges(),Mpt(a,t,l-i,e),void $pt(a,t,c-i,e);if(d){if(m&&(a.removeAllRanges(),Mpt(a,t,c-i,e)),f){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),Mpt(a,t,l-i,e),$pt(a,g,v,e)}}else f&&(a.removeAllRanges(),Mpt(a,t,l-i,e)),m&&$pt(a,t,c-i,e)}},Rpt=fW;function jpt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qpt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Npt=vpt,Upt=g.default,Bpt=mat,qpt=bpt,Gpt=zpt,Wpt=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 Qpt(jpt(t=e.call.apply(e,[this].concat(i))||this),"leaf",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,i=t.start,r=t.text,o=n.getKey(),a=i+r.length;if(e.hasEdgeWithin(o,i,a)){var s=this.leaf;s||("production"!==ga.env.NODE_ENV?Bpt(!1,"Missing node"):Bpt(!1));var l,u=s.firstChild;u||("production"!==ga.env.NODE_ENV?Bpt(!1,"Missing child"):Bpt(!1)),u.nodeType===Node.TEXT_NODE?l=u:qpt(u)?l=s:(l=u.firstChild)||("production"!==ga.env.NODE_ENV?Bpt(!1,"Missing targetNode"):Bpt(!1)),Gpt(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==ga.env.NODE_ENV?Bpt(!1,"Missing leafNode"):Bpt(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var i=this.props,r=i.customStyleMap,o=i.customStyleFn,a=i.offsetKey,s=i.styleSet,l=s.reduce((function(e,t){var n={},i=r[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(n.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),Rpt(e,i,n)}),{});if(o){var u=o(s,t);l=Rpt(l,u)}return Upt.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},Upt.createElement(Npt,null,n))},i}(Upt.Component),Xpt=Wpt;var Vpt=upt,Ypt=Xpt,Hpt=pdt,Zpt=fot.exports,Kpt=g.default,Jpt=lct;Zpt.List;var eht=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,i=e.customStyleFn,r=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,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 o=Hpt.encode(d,c,n),a=e.get("start"),m=e.get("end");return Kpt.createElement(Ypt,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:p.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:f===h&&n===g})})).toArray();return f&&o?Kpt.createElement(Vpt,{block:t,children:v,contentState:n,decorator:o,decoratorKey:f,direction:a,leafSet:e,text:p,key:c}):v})).toArray();return Kpt.createElement("div",{"data-offset-key":Hpt.encode(d,0,0),className:Jpt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},f)},i}(Kpt.Component),tht=eht;function nht(e,t){return!!t&&(e===t.documentElement||e===t.body)}var iht={getTop:function(e){var t=e.ownerDocument;return nht(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;nht(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return nht(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;nht(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},rht=iht,oht=/-(.)/g;var aht=function(e){return e.replace(oht,(function(e,t){return t.toUpperCase()}))},sht=/([A-Z])/g;var lht=function(e){return e.replace(sht,"-$1").toLowerCase()},uht=aht,cht=lht;function dht(e){return null==e?e:String(e)}var pht=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return dht(n.getPropertyValue(cht(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return dht(n.getPropertyValue(cht(t)));if("display"===t)return"none"}return e.currentStyle?dht("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[uht(t)]):dht(e.style&&e.style[uht(t)])};function hht(e,t){var n=fht.get(e,t);return"auto"===n||"scroll"===n}var fht={get:pht,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(hht(e,"overflow")||hht(e,"overflowY")||hht(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},mht=fht,ght=wpt;var vht=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!ght(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 yht=function(e){var t=vht(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},bht="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var Oht=function(e){return(e=e||document).scrollingElement?e.scrollingElement:bht||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var _ht=Oht,wht=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 xht=function(e){var t=_ht(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=wht(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,o=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,o)),n};function kht(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function Sht(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function Pht(){return{width:window.innerWidth||kht(),height:window.innerHeight||Sht()}}Pht.withoutScrollbars=function(){return{width:kht(),height:Sht()}};var Eht=Pht,Cht=fW;function Fht(){return Fht=Cht||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},Fht.apply(this,arguments)}function Tht(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dht(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){Aht(e,t,n[t])}))}return e}function Aht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Iht=tht,Lht=pdt,$ht=g.default,Mht=rht,zht=mht,Rht=yht,jht=xht,Qht=Eht,Nht=mat,Uht=mdt;fot.exports.List;var Bht=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},qht=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}},Ght=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},Wht=function(e,t,n,i,r,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=i(e);return s&&(a.className=s),void 0!==r.customEditable&&(a=Dht({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},Xht=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 Aht(Tht(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",$ht.createRef()),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,n=t.block,i=t.direction,r=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||r!==e.tree||i!==e.direction||Bht(e.selection,e.block.getKey())&&e.forceSelection;return o||a},r.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var i,r=zht.getScrollParent(n),o=jht(r);if(r===window){var a=Rht(n);(i=a.y+a.height-Qht().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{Uht(n)||("production"!==ga.env.NODE_ENV?Nht(!1,"blockNode is not an HTMLElement"):Nht(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&Mht.setTop(r,Mht.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,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=Lht.encode(n,0,0),d=s.getBlockForKey(n),p=Ght(d,o),h=p.CustomComponent||i,f=qht(d,r),m=f.Element,g=f.wrapperTemplate,v=Wht(d,u,l,a,p,null),y=Dht({},e.props,{tree:c.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push($ht.createElement(m,v,$ht.createElement(h,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var i=[],r=!0,o=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var u=s.value;if(u.type!==t)break;i.push(u)}}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push($ht.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":Lht.encode(d,0,0)},c))}(g,m,t),t}),[]));var y=n.getKey(),b=Lht.encode(y,0,0),O=Ght(n,o),_=O.CustomComponent,w=null!=_?$ht.createElement(_,Fht({},this.props,{tree:c.getBlockTree(y),blockProps:O.customProps,offsetKey:b,block:n})):$ht.createElement(Iht,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:h,forceSelection:f,hasSelection:Bht(m,y),selection:m,tree:g});if(n.getParentKey())return w;var x=qht(n,r).Element,k=Wht(n,u,b,a,O,this.wrapperRef);return $ht.createElement(x,k,w)},i}($ht.Component),Vht=fW;function Yht(){return Yht=Vht||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Yht.apply(this,arguments)}var Hht=Xht,Zht=pdt,Kht=g.default,Jht=lut,eft=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==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,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,u=a.getCurrentContent(),c=a.getSelection(),d=a.mustForceSelection(),p=a.getDecorator(),h=Jht(a.getDirectionMap()),f=[],m=u.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:o,customStyleMap:r,decorator:p,editorKey:s,editorState:a,forceSelection:d,selection:c,block:m,direction:l||h.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;f.push({block:Kht.createElement(Hht,Yht({key:g},v)),wrapperTemplate:y,key:g,offsetKey:Zht.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?u.getBlockForKey(b):null}for(var O=[],_=0;_<f.length;){var w=f[_];if(w.wrapperTemplate){var x=[];do{x.push(f[_].block),_++}while(_<f.length&&f[_].wrapperTemplate===w.wrapperTemplate);var k=Kht.cloneElement(w.wrapperTemplate,{key:w.key+"-wrap","data-offset-key":w.offsetKey},x);O.push(k)}else O.push(w.block),_++}return Kht.createElement("div",{"data-contents":"true"},O)},i}(Kht.Component),tft=eft,nft=fW;function ift(){return ift=nft||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},ift.apply(this,arguments)}function rft(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aft=Xpt,sft=pdt,lft=g.default,uft=rht,cft=mht,dft=tut,pft=Blt,hft=lct,fft=yht,mft=xht,gft=Eht,vft=mat,yft=mdt,bft=lut,Oft=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},_ft=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 oft(rft(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||Oft(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=cft.getScrollParent(n),o=mft(r);if(r===window){var a=fft(n);(i=a.y+a.height-gft().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{yft(n)||("production"!==ga.env.NODE_ENV?vft(!1,"blockNode is not an HTMLElement"):vft(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&uft.setTop(r,uft.getTop(r)+i+10)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),i=t.getText(),r=this.props.tree.size-1,o=Oft(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(a,l){var c=sft.encode(n,s,l),d=a.get("start"),p=a.get("end");return lft.createElement(aft,{key:c,offsetKey:c,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,p),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),d=a.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var p=bft(e.props.decorator),h=p.getComponentForKey(d);if(!h)return c;var f=p.getPropsForKey(d),m=sft.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),y=i.slice(g,v),b=t.getEntityAt(a.get("start")),O=pft.getHTMLDirIfDifferent(dft.getDirection(y),e.props.direction),_={contentState:e.props.contentState,decoratedText:y,dir:O,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return lft.createElement(h,ift({},f,_,{key:m}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=hft({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return lft.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(lft.Component),wft=_ft;var xft=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},kft=fW;function Sft(){return Sft=kft||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},Sft.apply(this,arguments)}function Pft(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){Eft(e,t,n[t])}))}return e}function Eft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cft=wft,Fft=pdt,Tft=g.default,Dft=lct,Aft=xft,Ift=lut,Lft=function(e,t,n,i){return Dft({"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})},$ft=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==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,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=a.getCurrentContent(),d=a.getSelection(),p=a.mustForceSelection(),h=a.getDecorator(),f=Ift(a.getDirectionMap()),m=c.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var O=m[b],_=O.getKey(),w=O.getType(),x=n(O),k=void 0,S=void 0,P=void 0;x&&(k=x.component,S=x.props,P=x.editable);var E=u||f.get(_),C=Fft.encode(_,0,0),F={contentState:c,block:O,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:h,direction:E,forceSelection:p,offsetKey:C,preventScroll:l,selection:d,tree:a.getBlockTree(_)},T=t.get(w)||t.get("unstyled"),D=T.wrapper,A=T.element||t.get("unstyled").element,I=O.getDepth(),L="";if(i&&(L=i(O)),"li"===A)L=Aft(L,Lft(w,I,y!==D||null===v||I>v,E));var $=k||Cft,M={className:L,"data-block":!0,"data-editor":s,"data-offset-key":C,key:_};void 0!==P&&(M=Pft({},M,{contentEditable:P,suppressContentEditableWarning:!0}));var z=Tft.createElement(A,M,Tft.createElement($,Sft({},F,{key:_})));g.push({block:z,wrapperTemplate:D,key:_,offsetKey:C}),v=D?O.getDepth():null,y=D}for(var R=[],j=0;j<g.length;){var Q=g[j];if(Q.wrapperTemplate){var N=[];do{N.push(g[j].block),j++}while(j<g.length&&g[j].wrapperTemplate===Q.wrapperTemplate);var U=Tft.cloneElement(Q.wrapperTemplate,{key:Q.key+"-wrap","data-offset-key":Q.offsetKey},N);R.push(U)}else R.push(Q.block),j++}return Tft.createElement("div",{"data-contents":"true"},R)},i}(Tft.Component),Mft=$ft,zft=plt("draft_tree_data_support")?tft:Mft,Rft={isImage:function(e){return"image"===jft(e)[0]},isJpeg:function(e){var t=jft(e);return Rft.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function jft(e){return e.split("/")}var Qft=Rft,Nft=mat;var Uft=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"!==ga.env.NODE_ENV?Nft(!1,"toArray: Array-like object expected"):Nft(!1)),"number"!=typeof t&&("production"!==ga.env.NODE_ENV?Nft(!1,"toArray: Object needs a length property"):Nft(!1)),0===t||t-1 in e||("production"!==ga.env.NODE_ENV?Nft(!1,"toArray: Object should have keys for indices"):Nft(!1)),"function"==typeof e.callee&&("production"!==ga.env.NODE_ENV?Nft(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):Nft(!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 Bft(e){return function(){return e}}var qft=function(){};qft.thatReturns=Bft,qft.thatReturnsFalse=Bft(!1),qft.thatReturnsTrue=Bft(!0),qft.thatReturnsNull=Bft(null),qft.thatReturnsThis=function(){return this},qft.thatReturnsArgument=function(e){return e};var Gft=qft,Wft=Qft,Xft=Uft,Vft=Gft,Yft=new RegExp("\r\n","g"),Hft={"text/rtf":1,"text/html":1};function Zft(e){if("file"==e.kind)return e.getAsFile()}var Kft=function(){function e(e){this.data=e,this.types=e.types?Xft(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return Hft[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(Yft,"\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(!Wft.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(Zft).filter(Vft.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),Jft=Kft,emt=mat,tmt=/\.textClipping$/,nmt={"text/plain":!0,"text/html":!0,"text/rtf":!0};var imt=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!k.FileReader||e.type&&!(e.type in nmt))return void t("");if(""===e.type){var n="";return tmt.test(e.name)&&(n=e.name.replace(tmt,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==ga.env.NODE_ENV?emt(!1,'We should be calling "FileReader.readAsText" which returns a string'):emt(!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 rmt=function(e){return"handled"===e||!0===e},omt=Jft,amt=Mst,smt=Aut,lmt=Jct,umt=Xct,cmt=imt,dmt=_dt,pmt=edt,hmt=rmt,fmt=lut;var mmt={onDragEnd:function(e){e.exitCurrentMode(),gmt(e)},onDrop:function(e,t){var n=new omt(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=umt(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var o=r.caretRangeFromPoint(e.x,e.y);n=o.startContainer,i=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=fmt(n),i=fmt(i);var a=fmt(lmt(n));return dmt(t,a,i,a,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&hmt(e.props.handleDroppedFiles(r,o)))return;cmt(o,(function(t){t&&e.update(vmt(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&hmt(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=amt.moveText(e.getCurrentContent(),e.getSelection(),t);return smt.push(e,n,"insert-fragment")}(i,r)):e.update(vmt(i,r,n.getText()))),gmt(e)}}}};function gmt(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:pmt(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function vmt(e,t,n){var i=amt.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return smt.push(e,i,"insert-fragment")}var ymt=mmt;var bmt=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),o=!1;return i.some((function(e){return r===e.get("start")?(o=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,i,r,o=1,a={},s=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){ga.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 a[o]=r,n(o),o++},u.clearImmediate=c}function c(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{c(e),s=!1}}}}}("undefined"==typeof self?k:self);var Omt=k.setImmediate,_mt=Mst,wmt=Aut,xmt=Ndt,kmt=rmt,Smt=bmt,Pmt=lut,Emt=Omt,Cmt=Wct.isBrowser("Firefox");function Fmt(e,t,n,i,r){var o=_mt.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return wmt.push(e,o,"insert-characters",r)}var Tmt=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&&kmt(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),o=r.getStartOffset(),a=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(Fmt(n,i,n.getCurrentInlineStyle(),xmt(n.getCurrentContent(),n.getSelection()),!0));var s,l=Fmt(n,i,n.getCurrentInlineStyle(),xmt(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=Smt(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(a),d=l.getBlockTree(a);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),a=r+(r>=o?i.length:0),s=t.get("end"),l=s+(s>=o?i.length:0),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||a!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=Cmt&&("'"==s||"/"==s)),u||(u=Pmt(l.getDirectionMap()).get(a)!==Pmt(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=wmt.set(l,{forceSelection:!0}),void e.update(l);l=wmt.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,Emt((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},Dmt=Aut,Amt=wpt,Imt=xpt;var Lmt=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&Imt(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&Amt(r,i.anchorNode)&&Amt(r,i.focusNode)&&i.removeAllRanges()}var o=e._latestEditorState,a=o.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(Dmt.acceptSelection(o,s))}},$mt=Aut;var Mmt=function(e,t){e.setMode("composite"),e.update($mt.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},zmt=zat;var Rmt=function(e){var t=e.getSelection();return t.isCollapsed()?null:zmt(e.getCurrentContent(),t)},jmt=Rmt;var Qmt=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(jmt(e._latestEditorState))};var Nmt=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},Umt=Mst,Bmt=Aut,qmt=mht,Gmt=Rmt,Wmt=xht,Xmt=Nmt;var Vmt=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(Xmt(o)){var a=o;n=Wmt(qmt.getScrollParent(a))}var s=Gmt(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=Umt.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return Bmt.push(e,t,"remove-range")}(i))}),0)}};var Ymt=function(e,t){e.setMode("drag"),t.preventDefault()};var Hmt=function(e){e._internalDrag=!0,e.setMode("drag")},Zmt=Aut,Kmt=Wct;var Jmt=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),Kmt.isBrowser("Chrome < 60.0.3081.0")?e.update(Zmt.forceSelection(n,r)):e.update(Zmt.acceptSelection(n,r))}},egt=mat,tgt=/[\uD800-\uDFFF]/;function ngt(e){return 55296<=e&&e<=57343}function igt(e){return tgt.test(e)}function rgt(e,t){return 1+ngt(e.charCodeAt(t))}function ogt(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!igt(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+=rgt(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=rgt(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=rgt(e,o);return e.substring(r,o)}var agt={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=rgt(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:rgt,hasSurrogateUnit:igt,isCodeUnitInSurrogateRange:ngt,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==ga.env.NODE_ENV?egt(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):egt(!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(!igt(e))return e.length;for(var t=0,n=0;n<e.length;n+=rgt(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 ogt(e,t=t<n?t:n,i)},substr:ogt},sgt=agt,lgt=Gft;function ugt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var cgt="production"!==ga.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];ugt.apply(void 0,[t].concat(i))}}:lgt,dgt=cgt,pgt=dgt;var hgt=function(e,t){var n=e.getSelection();"production"!==ga.env.NODE_ENV&&pgt(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),o=n.getStartOffset(),a=r,s=0;if(t>o){var l=i.getKeyBefore(r);if(null==l)a=r;else a=l,s=i.getBlockForKey(l).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},fgt=Mst,mgt=plt("draft_tree_data_support");var ggt=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(mgt&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(mgt)if(i.getAnchorOffset()===r.getBlockForKey(a).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((o=t(e))===i)return r}return fgt.removeRange(r,o,n)},vgt=Aut,ygt=sgt,bgt=hgt,Ogt=ggt;var _gt=function(e){var t=Ogt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return bgt(e,o?ygt.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return vgt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},wgt=Mst,xgt=pdt,kgt=Aut,Sgt=Rdt.notEmptyKey,Pgt=Jct,Egt=_gt,Cgt=lut,Fgt=Wct.isEngine("Gecko");var Tgt=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.isCollapsed,o=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!o){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var a=i.parentNode;if(null==a)return;i.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==i&&a.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=Cgt(Pgt(i)),d=xgt.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,y=u.getCurrentContent(),b=y.getBlockForKey(p),O=b.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==O){var _,w,x,k,S=u.getSelection(),P=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),E=b.getEntityAt(g),C=Sgt(E)?y.getEntity(E):null,F="MUTABLE"===(null!=C?C.getMutability():null),T=F?"spellcheck-change":"apply-entity",D=wgt.replaceText(y,P,l,b.getInlineStyleAt(g),F?b.getEntityAt(g):null);if(Fgt)_=n.anchorOffset,w=n.focusOffset,k=(x=g+Math.min(_,w))+Math.abs(_-w),_=x,w=k;else{var A=l.length-O.length;x=S.getStartOffset(),k=S.getEndOffset(),_=r?k+A:x,w=k+A}var I=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:_,focusOffset:w})});e.update(kgt.push(u,I,T))}else{var L=t.nativeEvent.inputType;if(L){var $=function(e,t){return"deleteContentBackward"===e?Egt(t):t}(L,u);if($!==u)return e.restoreEditorDOM(),void e.update($)}}}},Dgt=hdt;var Agt=function(e){return e.which===Dgt.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},Igt=Agt,Lgt=Wct.isPlatform("Mac OS X"),$gt={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return Lgt&&e.altKey},usesMacOSHeuristics:function(){return Lgt},hasCommandModifier:function(e){return Lgt?!!e.metaKey&&!e.altKey:$gt.isCtrlKeyCommand(e)},isSoftNewlineEvent:Igt},Mgt=$gt,zgt=Mst,Rgt=Aut,jgt=zat,Qgt=lut,Ngt=null,Ugt={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),o=t.getBlockForKey(r).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(r);if(null==a)return e;i=n.set("focusKey",a).set("focusOffset",0)}else i=n.set("focusOffset",o)}else i=n;i=Qgt(i),Ngt=jgt(t,i);var s=zgt.removeRange(t,i,"forward");return s===t?e:Rgt.push(e,s,"remove-range")},paste:function(e){if(!Ngt)return e;var t=zgt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),Ngt);return Rgt.push(e,t,"insert-fragment")}},Bgt=Ugt,qgt=mat;var Ggt=Wct.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],i=e.endContainer;null!=i;i=i.parentNode){var r=i===e.commonAncestorContainer;r?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),r)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(i)}"production"!==ga.env.NODE_ENV?qgt(!1,"Found an unexpected detached subtree when getting range client rects."):qgt(!1)}:function(e){return Array.from(e.getClientRects())},Wgt=sgt,Xgt=Xct,Vgt=Ggt,Ygt=mat;function Hgt(e,t){for(var n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),o=Math.max(o,s.bottom))}return r<=i&&r-n<t&&o-i<t}function Zgt(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 Kgt=function(e){e.collapsed||("production"!==ga.env.NODE_ENV?Ygt(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):Ygt(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=Xgt(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"!==ga.env.NODE_ENV?Ygt(!1,"Missing document.body"):Ygt(!1)),r.appendChild(i);var o=i.getBoundingClientRect();return r.removeChild(i),o.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);Hgt(Vgt(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==ga.env.NODE_ENV?Ygt(!1,"Found unexpected detached subtree when traversing."):Ygt(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var o=i,a=r-1;;){for(var s=o.nodeValue,l=a;l>=0;l--)if(!(null!=s&&l>0&&Wgt.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!Hgt(Vgt(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=Zgt(o=o.childNodes[l])}return e.setStart(i,r),e},Jgt=Aut,evt=Kgt,tvt=Tdt,nvt=hgt,ivt=ggt;var rvt=function(e,t){var n=ivt(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return nvt(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=evt(i),tvt(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:Jgt.push(e,n,"remove-range")},ovt="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),avt=new RegExp("^(?:"+ovt+")*(?:"+"['‘’]|(?!"+ovt+").)*(?:(?!"+ovt+").)"),svt=new RegExp("(?:(?!"+ovt+").)(?:"+"['‘’]|(?!"+ovt+").)*(?:"+ovt+")*$");function lvt(e,t){var n=t?svt.exec(e):avt.exec(e);return n?n[0]:e}var uvt={getBackward:function(e){return lvt(e,!0)},getForward:function(e){return lvt(e,!1)}},cvt=uvt,dvt=Aut,pvt=hgt,hvt=ggt;var fvt=function(e){var t=hvt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return pvt(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=cvt.getBackward(r);return pvt(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:dvt.push(e,t,"remove-range")},mvt=dgt;var gvt=function(e,t){var n=e.getSelection();"production"!==ga.env.NODE_ENV&&mvt(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=r;return t>a.getBlockForKey(r).getText().length-o?(s=a.getKeyAfter(r),i=0):i=o+t,n.merge({focusKey:s,focusOffset:i})},vvt=uvt,yvt=Aut,bvt=gvt,Ovt=ggt;var _vt=function(e){var t=Ovt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=vvt.getForward(r);return bvt(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:yvt.push(e,t,"remove-range")},wvt=Mst,xvt=Aut;var kvt=Aut;var Svt=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return kvt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},Pvt=Aut;var Evt=function(e){var t=e.getSelection(),n=t.getStartKey();return Pvt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},Cvt=Aut,Fvt=sgt,Tvt=gvt,Dvt=ggt;var Avt=function(e){var t=Dvt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return Tvt(e,o?Fvt.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Cvt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},Ivt=Mst,Lvt=Aut,$vt=zat;var Mvt=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(i=t.set("anchorOffset",n-1),r=t):r=(i=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=$vt(a,i),u=Ivt.removeRange(a,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,p=c.merge({anchorOffset:d,focusOffset:d}),h=Ivt.replaceWithFragment(u,p,l),f=Lvt.push(e,h,"insert-fragment");return Lvt.acceptSelection(f,r)},zvt=Aut;var Rvt=function(e,t,n){var i=zvt.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(zvt.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(zvt.set(i,{nativelyRenderedContent:r}))}},jvt=Mst,Qvt=Aut,Nvt=hdt,Uvt=Bgt,Bvt=Wct,qvt=rmt,Gvt=rvt,Wvt=fvt,Xvt=_vt,Vvt=function(e){var t=wvt.splitBlock(e.getCurrentContent(),e.getSelection());return xvt.push(e,t,"split-block")},Yvt=Svt,Hvt=Evt,Zvt=_gt,Kvt=Avt,Jvt=Mvt,eyt=Rvt,tyt=Mgt.isOptionKeyCommand,nyt=Bvt.isBrowser("Chrome");var iyt=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 Nvt.RETURN:if(t.preventDefault(),e.props.handleReturn&&qvt(e.props.handleReturn(t,i)))return;break;case Nvt.ESC:if(t.preventDefault(),r("onEscape"))return;break;case Nvt.TAB:if(r("onTab"))return;break;case Nvt.UP:if(r("onUpArrow"))return;break;case Nvt.RIGHT:if(r("onRightArrow"))return;break;case Nvt.DOWN:if(r("onDownArrow"))return;break;case Nvt.LEFT:if(r("onLeftArrow"))return;break;case Nvt.SPACE:nyt&&tyt(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!qvt(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return Qvt.redo(t);case"delete":return Kvt(t);case"delete-word":return Xvt(t);case"backspace":return Zvt(t);case"backspace-word":return Wvt(t);case"backspace-to-start-of-line":return Gvt(t,n);case"split-block":return Vvt(t);case"transpose-characters":return Jvt(t);case"move-selection-to-start-of-block":return Hvt(t);case"move-selection-to-end-of-block":return Yvt(t);case"secondary-cut":return Uvt.cut(t);case"secondary-paste":return Uvt.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else eyt(t,i,e.update);else if(n===Nvt.SPACE&&nyt&&tyt(t)){var s=jvt.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(Qvt.push(i,s,"insert-characters"))}};var ryt=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}(),oyt=ryt,ayt=mat,syt=Wct.isBrowser("IE <= 9");var lyt=function(e){var t,n=null;return!syt&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==ga.env.NODE_ENV?ayt(!1,"Missing doc.documentElement"):ayt(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},uyt=Vct;var cyt=function(e){return!(!e||!e.ownerDocument)&&(uyt(e)&&"A"===e.nodeName)},dyt=Vct;var pyt,hyt=function(e){return!(!e||!e.ownerDocument)&&(dyt(e)&&"IMG"===e.nodeName)};function fyt(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){myt(e,t,n[t])}))}return e}function myt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gyt=Eot,vyt=Uot,yyt=iat,byt=dct,Oyt=ult,_yt=oyt,wyt=lct,xyt=Sat,kyt=lyt,Syt=plt,Pyt=fot.exports,Eyt=Pyt.List,Cyt=Pyt.Map,Fyt=Pyt.OrderedSet,Tyt=cyt,Dyt=bpt,Ayt=mdt,Iyt=hyt,Lyt=Syt("draft_tree_data_support"),$yt=new RegExp("\r","g"),Myt=new RegExp("\n","g"),zyt=new RegExp("^\n","g"),Ryt=new RegExp(" ","g"),jyt=new RegExp(" ?","g"),Qyt=new RegExp("​?","g"),Nyt=["bold","bolder","500","600","700","800","900"],Uyt=["light","lighter","normal","100","200","300","400"],Byt=["className","href","rel","target","title"],qyt=["alt","className","height","src","width"],Gyt=(myt(pyt={},wyt("public/DraftStyleDefault/depth0"),0),myt(pyt,wyt("public/DraftStyleDefault/depth1"),1),myt(pyt,wyt("public/DraftStyleDefault/depth2"),2),myt(pyt,wyt("public/DraftStyleDefault/depth3"),3),myt(pyt,wyt("public/DraftStyleDefault/depth4"),4),pyt),Wyt=Cyt({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),Xyt=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)}))})),Cyt(t)},Vyt=function(e){if(Ayt(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},Yyt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(Gyt).some((function(n){e.classList.contains(n)&&(t=Gyt[n])})),t},Hyt=function(e){if(!Tyt(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},Zyt=function(e){if(!Iyt(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},Kyt=function(e,t){if(!Ayt(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){Nyt.indexOf(i)>=0?e.add("BOLD"):Uyt.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},Jyt=function(e){return"ul"===e||"ol"===e},ebt=function(){function e(e,t){myt(this,"characterList",Eyt()),myt(this,"currentBlockType","unstyled"),myt(this,"currentDepth",0),myt(this,"currentEntity",null),myt(this,"currentText",""),myt(this,"wrapper",null),myt(this,"blockConfigs",[]),myt(this,"contentBlocks",[]),myt(this,"entityMap",Oyt),myt(this,"blockTypeMap",void 0),myt(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=Eyt(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=Oyt,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],Fyt())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(Lyt?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||xyt(),n=fyt({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:Eyt(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=Eyt(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],o=r.nodeName.toLowerCase();if("body"===o||Jyt(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;Jyt(o)&&(this.wrapper=o,Jyt(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var l=this.blockTypeMap.get(o);if(void 0===l)if("#text"!==o)if("br"!==o)if(Zyt(r))this._addImgNode(r,t);else if(Hyt(r))this._addAnchorNode(r,n,t);else{var u=t;Wyt.has(o)&&(u=u.add(Wyt.get(o))),u=Kyt(r,u);var c=Vyt(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"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!Lyt&&Ayt(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var h=r;this.currentDepth=Yyt(h,this.currentDepth)}var f=xyt(),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=gyt.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=Eyt()):(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(zyt,"")).replace(Myt," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){Dyt(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(Iyt(e)){var n=e,i={};qyt.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),Syt("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(Tyt(e)){var i=e,r={};Byt.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new _yt(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=Eyt(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new yyt(fyt({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return Eyt(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 vyt(fyt({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=Eyt(),r=0;r<=t;r++){var o=e[r];n+=o.text,i=i.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",i=i.push(i.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,i=i.concat(a.characterList)}return{text:n,characterList:i}},e}(),tbt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kyt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:byt,i=t(e=e.trim().replace($yt,"").replace(Ryt," ").replace(jyt,"").replace(Qyt,""));if(!i)return null;var r=Xyt(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new ebt(r,o).addDOMNode(i).getContentBlocks()};function nbt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ibt=Uot,rbt=iat,obt=tbt,abt=Sat,sbt=lyt,lbt=plt,ubt=fot.exports,cbt=flt,dbt=ubt.List,pbt=ubt.Repeat,hbt=lbt("draft_tree_data_support"),fbt=hbt?rbt:ibt,mbt={processHTML:function(e,t){return obt(e,sbt,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=cbt(i);var o=abt(),a={key:o,type:n,text:i,characterList:dbt(pbt(t,i.length))};if(hbt&&0!==r){var s=r-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){nbt(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new fbt(a)),e}),[])}};var gbt=function(e,t,n,i){var r=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},vbt=Mst,ybt=Aut,bbt=gbt,Obt=lut,_bt={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 _bt.toggleInlineStyle(e,"BOLD");case"italic":return _bt.toggleInlineStyle(e,"ITALIC");case"underline":return _bt.toggleInlineStyle(e,"UNDERLINE");case"code":return _bt.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return _bt.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return _bt.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=vbt.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=ybt.push(e,t,"insert-characters");return ybt.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockBefore(i);if(r&&"atomic"===r.getType()){var o=n.getBlockMap().delete(r.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return ybt.push(e,a,"remove-range")}var s=_bt.tryToRemoveBlockStyle(e);return s?ybt.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockForKey(i).getLength();if(t.getStartOffset()<r)return null;var o=n.getBlockAfter(i);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=vbt.removeRange(n,a,"forward");return s!==n?ybt.push(e,s,"remove-range"):null},onTab:function(e,t,n){var i=t.getSelection(),r=i.getAnchorKey();if(r!==i.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(r),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=a.getDepth();if(!e.shiftKey&&l===n)return t;var u=bbt(o,i,e.shiftKey?-1:1,n);return ybt.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),o=e.getCurrentContent(),a=n;if(i!==r&&0===n.getEndOffset()){var s=Obt(o.getBlockBefore(r));r=s.getKey(),a=a.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}var l=o.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()}));if(l)return e;var u=o.getBlockForKey(i).getType()===t?"unstyled":t;return ybt.push(e,vbt.setBlockType(o,a,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?_bt.toggleBlockType(e,"code-block"):_bt.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return ybt.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?vbt.removeInlineStyle(o,n,t):vbt.applyInlineStyle(o,n,t),ybt.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=vbt.applyEntity(e.getCurrentContent(),t,n);return ybt.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var i=t.getAnchorKey(),r=e.getCurrentContent(),o=r.getBlockForKey(i).getType(),a=r.getBlockBefore(i);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return vbt.setBlockType(r,t,"unstyled")}return null}},wbt=_bt,xbt=/\r\n?|\n/g;var kbt=function(e){return e.split(xbt)},Sbt=vot,Pbt=Eot,Ebt=Jft,Cbt=Mst,Fbt=mbt,Tbt=Aut,Dbt=wbt,Abt=Ndt,Ibt=imt,Lbt=rmt,$bt=kbt;function Mbt(e,t,n){var i=Cbt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return Tbt.push(e,i.set("entityMap",n),"insert-fragment")}var zbt=function(e,t){t.preventDefault();var n=new Ebt(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&Lbt(e.props.handlePastedFiles(i)))return;return void Ibt(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=$bt(t),o=Pbt.create({style:n.getCurrentInlineStyle(),entity:Abt(n.getCurrentContent(),n.getSelection())}),a=Dbt.getCurrentBlockType(n),s=Fbt.processText(i,o,a),l=Sbt.createFromArray(s),u=Cbt.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(Tbt.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!Lbt(e.props.handlePastedText(a,s,l))){if(a&&(o=$bt(a)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===u.size&&u.first().getText()===a)return void e.update(Mbt(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]}))}(o,u))return void e.update(Mbt(e._latestEditorState,u));if(s){var c=Fbt.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,p=c.entityMap;if(d){var h=Sbt.createFromArray(d);return void e.update(Mbt(e._latestEditorState,h,p))}}}e.setClipboard(null)}if(o.length){var f=Pbt.create({style:l.getCurrentInlineStyle(),entity:Abt(l.getCurrentContent(),l.getSelection())}),m=Dbt.getCurrentBlockType(l),g=Fbt.processText(o,f,m),v=Sbt.createFromArray(g);e.update(Mbt(e._latestEditorState,v))}}},Rbt=Wct,jbt=Tmt,Qbt=Lmt,Nbt=Mmt,Ubt=Qmt,Bbt=Vmt,qbt=Ymt,Gbt=Hmt,Wbt=Jmt,Xbt=Tgt,Vbt=iyt,Ybt=zbt,Hbt=zdt,Zbt=Rbt.isBrowser("Chrome"),Kbt=Rbt.isBrowser("Firefox"),Jbt=Zbt||Kbt?Hbt:function(e){},eOt={onBeforeInput:jbt,onBlur:Qbt,onCompositionStart:Nbt,onCopy:Ubt,onCut:Bbt,onDragOver:qbt,onDragStart:Gbt,onFocus:Wbt,onInput:Xbt,onKeyDown:Vbt,onPaste:Ybt,onSelect:Hbt,onMouseUp:Jbt,onKeyUp:Jbt},tOt=b.default.unstable_flushControlled;var nOt=g.default,iOt=lct,rOt=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=iOt({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return nOt.createElement("div",{className:t},nOt.createElement("div",{className:iOt("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(nOt.Component),oOt=rOt,aOt=Mgt,sOt=hdt,lOt=Wct,uOt=lOt.isPlatform("Mac OS X"),cOt=uOt&&lOt.isBrowser("Firefox < 29"),dOt=aOt.hasCommandModifier,pOt=aOt.isCtrlKeyCommand;function hOt(e){return uOt&&e.altKey||pOt(e)}var fOt=function(e){switch(e.keyCode){case 66:return dOt(e)?"bold":null;case 68:return pOt(e)?"delete":null;case 72:return pOt(e)?"backspace":null;case 73:return dOt(e)?"italic":null;case 74:return dOt(e)?"code":null;case 75:return uOt&&pOt(e)?"secondary-cut":null;case 77:case 79:return pOt(e)?"split-block":null;case 84:return uOt&&pOt(e)?"transpose-characters":null;case 85:return dOt(e)?"underline":null;case 87:return uOt&&pOt(e)?"backspace-word":null;case 89:return pOt(e)?uOt?"secondary-paste":"redo":null;case 90:return function(e){return dOt(e)?e.shiftKey?"redo":"undo":null}(e)||null;case sOt.RETURN:return"split-block";case sOt.DELETE:return function(e){return!uOt&&e.shiftKey?null:hOt(e)?"delete-word":"delete"}(e);case sOt.BACKSPACE:return function(e){return dOt(e)&&uOt?"backspace-to-start-of-line":hOt(e)?"backspace-word":"backspace"}(e);case sOt.LEFT:return cOt&&dOt(e)?"move-selection-to-start-of-block":null;case sOt.RIGHT:return cOt&&dOt(e)?"move-selection-to-end-of-block":null;default:return null}},mOt=fW;function gOt(){return gOt=mOt||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},gOt.apply(this,arguments)}function vOt(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){bOt(e,t,n[t])}))}return e}function yOt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bOt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OOt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var _Ot=dct,wOt=pct,xOt=tpt,kOt=zft,SOt=ymt,POt=eOt,EOt=tOt,COt=oOt,FOt=Aut,TOt=g.default,DOt=rht,AOt=mht,IOt=lct,LOt=Sat,$Ot=fOt,MOt=xht,zOt=plt,ROt=mat,jOt=mdt,QOt=lut,NOt=Wct.isBrowser("IE"),UOt=!NOt,BOt={edit:POt,composite:xOt,drag:SOt,cut:null,render:null},qOt=!1,GOt=function(e){function t(){return e.apply(this,arguments)||this}OOt(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}(TOt.Component),WOt=function(e){function t(t){var n;return bOt(yOt(n=e.call(this,t)||this),"_blockSelectEvents",void 0),bOt(yOt(n),"_clipboard",void 0),bOt(yOt(n),"_handler",void 0),bOt(yOt(n),"_dragCount",void 0),bOt(yOt(n),"_internalDrag",void 0),bOt(yOt(n),"_editorKey",void 0),bOt(yOt(n),"_placeholderAccessibilityID",void 0),bOt(yOt(n),"_latestEditorState",void 0),bOt(yOt(n),"_latestCommittedEditorState",void 0),bOt(yOt(n),"_pendingStateFromBeforeInput",void 0),bOt(yOt(n),"_onBeforeInput",void 0),bOt(yOt(n),"_onBlur",void 0),bOt(yOt(n),"_onCharacterData",void 0),bOt(yOt(n),"_onCompositionEnd",void 0),bOt(yOt(n),"_onCompositionStart",void 0),bOt(yOt(n),"_onCopy",void 0),bOt(yOt(n),"_onCut",void 0),bOt(yOt(n),"_onDragEnd",void 0),bOt(yOt(n),"_onDragOver",void 0),bOt(yOt(n),"_onDragStart",void 0),bOt(yOt(n),"_onDrop",void 0),bOt(yOt(n),"_onInput",void 0),bOt(yOt(n),"_onFocus",void 0),bOt(yOt(n),"_onKeyDown",void 0),bOt(yOt(n),"_onKeyPress",void 0),bOt(yOt(n),"_onKeyUp",void 0),bOt(yOt(n),"_onMouseDown",void 0),bOt(yOt(n),"_onMouseUp",void 0),bOt(yOt(n),"_onPaste",void 0),bOt(yOt(n),"_onSelect",void 0),bOt(yOt(n),"editor",void 0),bOt(yOt(n),"editorContainer",void 0),bOt(yOt(n),"focus",void 0),bOt(yOt(n),"blur",void 0),bOt(yOt(n),"setMode",void 0),bOt(yOt(n),"exitCurrentMode",void 0),bOt(yOt(n),"restoreEditorDOM",void 0),bOt(yOt(n),"setClipboard",void 0),bOt(yOt(n),"getClipboard",void 0),bOt(yOt(n),"getEditorKey",void 0),bOt(yOt(n),"update",void 0),bOt(yOt(n),"onDragEnter",void 0),bOt(yOt(n),"onDragLeave",void 0),bOt(yOt(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),bOt(yOt(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=AOt.getScrollParent(r),a=e||MOt(o),s=a.x,l=a.y;jOt(r)||("production"!==ga.env.NODE_ENV?ROt(!1,"editorNode is not an HTMLElement"):ROt(!1)),r.focus(),o===window?window.scrollTo(s,l):DOt.setTop(o,l),i||n.update(FOt.forceSelection(t,t.getSelection()))}})),bOt(yOt(n),"blur",(function(){var e=n.editor;e&&(jOt(e)||("production"!==ga.env.NODE_ENV?ROt(!1,"editorNode is not an HTMLElement"):ROt(!1)),e.blur())})),bOt(yOt(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=vOt({},BOt.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=vOt({},BOt,{edit:a});n._handler=s[e]})),bOt(yOt(n),"exitCurrentMode",(function(){n.setMode("edit")})),bOt(yOt(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),bOt(yOt(n),"setClipboard",(function(e){n._clipboard=e})),bOt(yOt(n),"getClipboard",(function(){return n._clipboard})),bOt(yOt(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),bOt(yOt(n),"onDragEnter",(function(){n._dragCount++})),bOt(yOt(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||LOt(),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"!==ga.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}OOt(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&&(EOt?EOt((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:QOt(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return TOt.createElement(COt,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=IOt({"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:vOt({},wOt,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return TOt.createElement("div",{className:d},this._renderPlaceholder(),TOt.createElement("div",{className:IOt("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},TOt.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:IOt({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:UOt&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},TOt.createElement(GOt,{editor:this,editorState:a}),TOt.createElement(kOt,gOt({},f,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!qOt&&zOt("draft_ods_enabled")&&(qOt=!0),this.setMode("edit"),NOt&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):k.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(TOt.Component);bOt(WOt,"defaultProps",{blockRenderMap:_Ot,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:$Ot,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var XOt=WOt,VOt=P(Object.freeze({__proto__:null})),YOt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},HOt=YOt,ZOt=sgt.strlen;var KOt=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var o=e.getText(),a=e.getEntityAt(i);n.push({offset:ZOt(o.slice(0,i)),length:ZOt(o.slice(i,r)),key:Number(t[HOt.stringify(a)])})})),n},JOt=sgt,e_t=Cot,t_t=function(e,t){return e===t},n_t=function(e){return!!e},i_t=[];var r_t=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 e_t(r,t_t,n_t,(function(t,r){var o=e.getText();i.push({offset:JOt.strlen(o.slice(0,t)),length:JOt.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(i_t,n.toJS())};function o_t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a_t=Uot,s_t=iat,l_t=YOt,u_t=KOt,c_t=r_t,d_t=mat,p_t=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:c_t(e),entityRanges:u_t(e,t),data:e.getData().toObject()}},h_t=function(e,t,n,i){if(e instanceof a_t)n.push(p_t(e,t));else{e instanceof s_t||("production"!==ga.env.NODE_ENV?d_t(!1,"block is not a BlockNode"):d_t(!1));var r=e.getParentKey(),o=i[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){o_t(e,t,n[t])}))}return e}({},p_t(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},f_t=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=l_t.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),h_t(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(l_t.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function m_t(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){g_t(e,t,n[t])}))}return e}function g_t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v_t=Sat,y_t=mat,b_t=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},O_t={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==ga.env.NODE_ENV?y_t(!1,"Invalid raw state"):y_t(!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"!==ga.env.NODE_ENV?y_t(!1,"Invalid tree raw block"):y_t(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=m_t({},e);b_t(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?m_t({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,m_t({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=b_t(e),r=e.depth||0,o=m_t({},e,{children:[]});if(i){var a=n[0];if(null==a&&0===r)t.push(o);else if(null==a||a.depth<r-1){var s={key:v_t(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===r-1)a.children.push(o);else{for(;null!=a&&a.depth>=r;)n.shift(),a=n[0];r>0?a.children.push(o):t.push(o)}}else t.push(o)})),m_t({},e,{blocks:t})}},__t=O_t,w_t=dgt,x_t={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==ga.env.NODE_ENV&&w_t(!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"!==ga.env.NODE_ENV&&w_t(!0,"Tree is missing child -> parent pointer on %s",n),!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return"production"!==ga.env.NODE_ENV&&w_t(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var a=e.getNextSiblingKey();if(null!=a&&t.get(a).getPrevSiblingKey()!==n)return"production"!==ga.env.NODE_ENV&&w_t(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==ga.env.NODE_ENV&&w_t(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==ga.env.NODE_ENV&&w_t(!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"!==ga.env.NODE_ENV&&w_t(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,i=t.shift().getKey(),r=[];null!=i;){var o=e.get(i),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&r.unshift(s);var l=a.map((function(t){return e.get(t)})),u=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==ga.env.NODE_ENV&&w_t(!0,"%s has no first child",i),!1;i=u.getKey()}else i=null!=o.getNextSiblingKey()?o.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==ga.env.NODE_ENV&&w_t(!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)}},k_t=x_t,S_t=Eot,P_t=fot.exports.List;var E_t=function(e,t){var n=e.map((function(e,n){var i=t[n];return S_t.create({style:e,entity:i})}));return P_t(n)},C_t=sgt.substr;var F_t=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=C_t(e,0,t.offset).length,r=i+C_t(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},T_t=sgt,D_t=fot.exports.OrderedSet,A_t=T_t.substr,I_t=D_t();var L_t=function(e,t){var n=Array(e.length).fill(I_t);return t&&t.forEach((function(t){for(var i=A_t(e,0,t.offset).length,r=i+A_t(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function $_t(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){M_t(e,t,n[t])}))}return e}function M_t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z_t=Uot,R_t=iat,j_t=Mlt,Q_t=ult,N_t=__t,U_t=k_t,B_t=dlt,q_t=E_t,G_t=F_t,W_t=L_t,X_t=Sat,V_t=fot.exports,Y_t=mat,H_t=plt("draft_tree_data_support"),Z_t=V_t.List,K_t=V_t.Map,J_t=V_t.OrderedMap,ewt=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||X_t(),data:K_t(r),characterList:twt(e,t)}},twt=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return q_t(W_t(n,r||[]),G_t(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return $_t({},e,{key:t[e.key]})}))))},nwt=function(e){return $_t({},e,{key:e.key||X_t()})},iwt=function(e,t,n){var i=t.map((function(e){return $_t({},e,{parentRef:n})}));return e.concat(i.reverse())},rwt=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=H_t&&!n?N_t.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!H_t)return function(e,t){return J_t(e.map((function(e){var n=new z_t(ewt(e,t));return[n.getKey(),n]})))}(n?N_t.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(nwt).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==ga.env.NODE_ENV?Y_t(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Y_t(!1));var o=i.children.map(nwt),a=new R_t($_t({},ewt(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:Z_t(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=iwt([],o,a);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"!==ga.env.NODE_ENV?Y_t(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Y_t(!1));break}var h=l.children.map(nwt),f=new R_t($_t({},ewt(l,t),{parent:u.getKey(),children:Z_t(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=iwt(s,h,f)}return n}),J_t())}(i,t);return"production"!==ga.env.NODE_ENV&&(U_t.isValidTree(r)||("production"!==ga.env.NODE_ENV?Y_t(!1,"Should be a valid tree"):Y_t(!1))),r},owt=function(e){Array.isArray(e.blocks)||("production"!==ga.env.NODE_ENV?Y_t(!1,"invalid RawDraftContentState"):Y_t(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,o=i.mutability,a=i.data;n[e]=Q_t.__create(r,o,a||{})})),n}(e),n=rwt(e,t),i=n.isEmpty()?new B_t:B_t.createEmpty(n.first().getKey());return new j_t({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},awt=Ggt;var swt=function(e){var t=awt(e),n=0,i=0,r=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,i=a.right,r=a.bottom,o=a.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,o=s.left}for(var l=1;l<t.length;l++){var 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),o=Math.min(o,u.left))}}return{top:n,right:i,bottom:r,left:o,width:i-o,height:r-n}},lwt=swt;var uwt=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=lwt(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},cwt={Editor:XOt,EditorBlock:wft,EditorState:Aut,CompositeDecorator:act,Entity:ult,EntityInstance:Jst,BlockMapBuilder:vot,CharacterMetadata:Eot,ContentBlock:Uot,ContentState:Mlt,RawDraftContentState:VOt,SelectionState:dlt,AtomicBlockUtils:ict,KeyBindingUtil:Mgt,Modifier:Mst,RichUtils:wbt,DefaultDraftBlockRenderMap:dct,DefaultDraftInlineStyle:pct,convertFromHTML:tbt,convertFromRaw:owt,convertToRaw:f_t,genKey:Sat,getDefaultKeyBinding:fOt,getVisibleSelectionRect:uwt};function dwt(e,t,n,i,r,o){var a=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+a}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+a}):e.offset>=t&&e.offset+e.length<=t+n&&r>0?Object.assign({},e,{offset:e.offset+r}):e.offset<t&&e.offset+e.length<=t+n&&e.offset+e.length>t&&r>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+r,length:e.offset-t+e.length})]:e.offset>=t&&e.offset+e.length>t+n&&t+n>e.offset&&o>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+o,length:e.offset+e.length-(t+n)})]:e}var pwt=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},hwt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"};function fwt(e){return fwt="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},fwt(e)}var mwt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function gwt(e){if(-1!==mwt.indexOf(e.type))return w.default.renderToStaticMarkup(e);var t=w.default.renderToStaticMarkup(g.default.cloneElement(e,{},"\r")).split("\r");return mwe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),mwe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function vwt(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}function ywt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==e)return e;if("string"==typeof e)return e;if(g.default.isValidElement(e)){if(vwt(e))return w.default.renderToStaticMarkup(e);var n=gwt(e);if(null!==t&&"object"===fwt(n)){var i=n.start,r=n.end;return i+t+r}return n}if(mwe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var o=e.start,a=e.end;return o+t+a}return e}var bwt=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(g.default.isValidElement(t)){var i=gwt(t);if("string"==typeof i)return 0;var r=i[n].length,o=g.default.Children.toArray(t.props.children)[0];return r+(o&&g.default.isValidElement(o)?e(o,n):0)}return"object"===fwt(t)&&t[n]?t[n].length:0},Owt=function(){var e=arguments.length>1?arguments[1]:void 0;return e},_wt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Owt,i=dit(e.text),r=n;if(n.__isMiddleware&&(r=n(Owt)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(pwt),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),u=r(s,l),c=dit(ywt(u,l)||l),d=bwt(u,"start"),p=bwt(u,"end"),h=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?dwt(t,n.offset,n.length,c.length,d,p):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=h(o),a=h(a),i=[].concat(dit(i.slice(0,n.offset)),dit(c),dit(i.slice(n.offset+n.length)))},l=0;l<o.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:a,entityRanges:o})}return e},wwt=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},xwt=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function kwt(e){switch(e){case"BOLD":return g.default.createElement("strong",null);case"ITALIC":return g.default.createElement("em",null);case"UNDERLINE":return g.default.createElement("u",null);case"CODE":return g.default.createElement("code",null);default:return{start:"",end:""}}}var Swt=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},Pwt=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return mwe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},Ewt=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},Cwt=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},Fwt=function(e,t){return t.offset+t.length-(e.offset+e.length)},Twt=function(e,t){for(var n=0;n<e.length;){if(!t.every(Cwt.bind(null,e[n])))return e.slice(n);n++}return[]},Dwt=function(e,t,n){return t+ywt(e(n.style)).start},Awt=function(e,t,n){return ywt(e(n.style)).end+t},Iwt=function(e){return function(t){return e(t)}};Iwt.__isMiddleware=!0;var Lwt=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function $wt(e){return mwe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:g.default.isValidElement(e)?function(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}(e)?w.default.renderToStaticMarkup(e):gwt(e):Object.prototype.hasOwnProperty.call(e,"element")&&g.default.isValidElement(e.element)?Object.assign({},e,gwt(e.element)):(mwe(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 Mwt(e,t){if(mwe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=gwt(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(g.default.isValidElement(e.nest)){var o=gwt(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return mwe(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 zwt=["1","a","i"],Rwt={unstyled:g.default.createElement("p",null),paragraph:g.default.createElement("p",null),"header-one":g.default.createElement("h1",null),"header-two":g.default.createElement("h2",null),"header-three":g.default.createElement("h3",null),"header-four":g.default.createElement("h4",null),"header-five":g.default.createElement("h5",null),"header-six":g.default.createElement("h6",null),blockquote:g.default.createElement("blockquote",null),"unordered-list-item":{element:g.default.createElement("li",null),nest:g.default.createElement("ul",null)},"ordered-list-item":{element:g.default.createElement("li",null),nest:function(e){var t=zwt[e%3];return g.default.createElement("ol",{type:t})}},media:g.default.createElement("figure",null),atomic:g.default.createElement("figure",null)},jwt=function(e,t){return t},Qwt=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,o=e.entityToHTML,a=void 0===o?jwt:o;return function(e){var t;mwe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(Lwt(Rwt)):xwt(Lwt(r),Lwt(Rwt));var i=cwt.convertToRaw(e),o=[],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!==o.length||r!==o[s].type;)if(s+1===o.length){var d=o[s];l+=Mwt(t(d),s).nestEnd,u+=Mwt(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var p=o[o.length-1];l+=Mwt(t(p),s).nestEnd,o=o.slice(0,-1)}else u+=Mwt(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+Mwt(t(n),s).nestEnd}),""),o=[];var h,f=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Iwt;mwe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(kwt):xwt(wwt(n),wwt(kwt));for(var i="",r=[],o=e.inlineStyleRanges.sort(pwt),a=dit(e.text),s=0;s<a.length;s++){var l=Ewt(s,o),u=Swt(r,l),c=Swt(l,r),d=Swt(r,u),p=Twt(d,c),h=p.concat(c).sort(Fwt),f=h.reduce(Dwt.bind(null,t),"");i+=u.concat(p).reduce(Awt.bind(null,t),"")+f+a[s],r=(r=Pwt(r,p.concat(u))).concat(h),mwe(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+ywt(t(n.style)).end}),i)}(_wt(function(e){for(var t=dit(e.text),n=e.entityRanges.sort(pwt),i=e.inlineStyleRanges.sort(pwt),r="",o=function(e){var o=t[e];if(void 0!==hwt[o]){var a=hwt[o],s=dit(r).length;r+=a;var l=function(e){return dwt(e,s,o.length,a.length,0,0)};n=n.map(l),i=i.map(l)}else r+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,a),n),m=$wt(t(e));return h="string"==typeof m?m:m.start+f+m.end,0===f.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(h=g.default.isValidElement(m.empty)?w.default.renderToStaticMarkup(m.empty):m.empty),l+u+h})).join("");return s=o.reduce((function(e,n){return e+Mwt(t(n),n.depth).nestEnd}),s)}},Nwt={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(e)?e:H(e)}function a(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(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",f="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},O={value:!1},_={value:!1};function w(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function 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,L=1,$=2,M="function"==typeof Symbol&&Symbol.iterator,z="@@iterator",R=M||z;function j(e){this.next=e}function Q(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 N(){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&&(M&&e[M]||e[z]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function V(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function H(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=L,j.ENTRIES=$,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[R]=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(H,X),H.of=function(){return H(arguments)},H.prototype.toSetSeq=function(){return this},X.isSeq=oe,X.Keyed=V,X.Set=H,X.Indexed=Y;var Z,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():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 o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new j((function(){var e=r[n?o-a:a];return a++>o?N():Q(t,i?e[0]:a-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 ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||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 o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===p}function be(e,t){if(!(this instanceof be))return new be(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 _e(e,t,n){if(!(this instanceof _e))return new _e(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 we(){throw TypeError("Abstract")}function xe(){}function ke(){}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?N():Q(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,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new j((function(){var a=i[t?r-o:o];return o++>r?N():Q(e,a,n[a])}))},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(N);var i=0;return new j((function(){var t=n.next();return t.done?t:Q(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,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new j((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return Q(e,r,i[r++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:new be(this._value,D(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.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},be.prototype.__iterator=function(e,t){var n=this,i=0;return new j((function(){return i<n.size?Q(e,i++,n._value):N()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(_e,Y),_e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_e.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},_e.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},_e.prototype.slice=function(e,t){return F(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new _e(0,0):new _e(this.get(e,this._end),this.get(t,this._end),this._step))},_e.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},_e.prototype.lastIndexOf=function(e){return this.indexOf(e)},_e.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new j((function(){var a=r;return r+=t?-i:i,o>n?N():Q(e,o++,a)}))},_e.prototype.equals=function(e){return e instanceof _e?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(we,n),t(xe,we),t(ke,we),t(Se,we),we.Keyed=xe,we.Indexed=ke,we.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),Ne===Qe&&(Ne=0,Ue={}),Ne++,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(Me&&void 0!==(t=$e.get(e)))return t;if(void 0!==(t=e[Re]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Re]))return t;if(void 0!==(t=Le(e)))return t}if(t=++ze,1073741824&ze&&(ze=0),Me)$e.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,Re,{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[Re]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Re]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Le(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var $e,Me="function"==typeof WeakMap;Me&&($e=new WeakMap);var ze=0,Re="__immutablehash__";"function"==typeof Symbol&&(Re=Symbol(Re));var je=16,Qe=255,Ne=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,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},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,wn(e),t,n);return i===b?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 k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},qe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qe.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function He(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return Q(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 ot(e,t,n){var i,r;if(e._root){var o=w(O),a=w(_);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)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 at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(x(s),x(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new He(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new k);for(var r=new Je(e,Ce(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new He(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?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===b,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=gt(u,t,n,i);return c===u?e:c===b?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 yt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ye.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===b,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(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=_t)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)}},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},He.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=at(h,e,t+g,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=wt)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?yt(p,d,f,m):Ot(p,d,m):bt(p,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new He(e,v,O)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+g,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<xt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=yt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new Ze(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=r===b;if(n!==this.keyHash)return s?this:(x(a),x(o),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(x(a),(s||!d)&&x(o),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,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,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},He.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,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 o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,xt=v/4;function kt(e){var t=Lt();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(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=Rt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return $t(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Lt()},kt.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])}))},kt.prototype.pop=function(){return jt(this,0,-1)},kt.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])}))},kt.prototype.shift=function(){return jt(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,ht,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ft(t),n)},kt.prototype.setSize=function(e){return jt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:jt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?N():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=kt.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&y;if(i>=this.array.length)return new Ct([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=zt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},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&y;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=zt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>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=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){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=o,s.__hash=a,s.__altered=!1,s}function Lt(){return Ft||(Ft=It(0,0,g))}function $t(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,o=w(_);return t>=Nt(e._capacity)?i=Mt(i,e.__ownerID,0,t,n,o):r=Mt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Mt(e,t,n,i,r,o){var a,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Mt(u,t,n-g,i,r,o);return c===u?e:((a=zt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=zt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function zt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function Rt(e,t){if(t>=Nt(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&y],i-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Nt(o),p=Nt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?Rt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&a<o&&h.array.length){for(var m=u=zt(u,i),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=zt(m.array[b],i)}m.array[d>>>g&y]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var O=a>>>l&y;if(O!==p>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,f)}function Qt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Nt(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(),Lt()))}function Wt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(i,r)}function 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 Ht(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(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===$){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===L?I:L,n)},t}function Kt(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator($,r);return new j((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Q(i,s,t.call(n,a[1],s,e),r)}))},i}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator($,o),s=0;return new j((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Q(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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),a=0,l=0;return new j((function(){for(;a++<o;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:Q(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator($,r),s=!0;return new j((function(){if(!s)return N();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===$?e:Q(i,l,u,e):(s=!1,N())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator($,o),l=!0,u=0;return new j((function(){var e,o,c;do{if((e=s.next()).done)return i||r===L?e:Q(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===$?e:Q(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var 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=bn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===$&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:Q(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(L,i),a=0;return new j((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Q(n,a++,t):Q(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?V(o):l(e)?Y(o):H(o)}function pn(e,t,n){if(t||(t=_n),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=bn(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(L,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new j((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?V:l(e)?Y:H).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.prototype.cacheResult.call(this)}function _n(e,t){return e>t?1:e<t?-1:0}function wn(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 xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);En(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(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,b)},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(L,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:Q(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(L,t),i=0;return new j((function(){var t=n.next();return t.done?t:Q(e,i++,t.value,t)}))},t(Yt,H),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(L,t);return new j((function(){var t=n.next();return t.done?t:Q(e,t.value,t.value,t)}))},t(Ht,V),Ht.prototype.entrySeq=function(){return this._iter.toSeq()},Ht.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,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=a(i);return Q(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Ht.prototype.cacheResult=On,t(xn,xe),xn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},xn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},xn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=xn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function 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?Mn():Tn(e)&&!c(e)?e:Mn().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ve.removeIn,kn.merge=Ve.merge,kn.mergeWith=Ve.mergeWith,kn.mergeIn=Ve.mergeIn,kn.mergeDeep=Ve.mergeDeep,kn.mergeDeepWith=Ve.mergeDeepWith,kn.mergeDeepIn=Ve.mergeDeepIn,kn.setIn=Ve.setIn,kn.update=Ve.update,kn.updateIn=Ve.updateIn,kn.withMutations=Ve.withMutations,kn.asMutable=Ve.asMutable,kn.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 Ln(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Fn.prototype.clear=function(){return Ln(this,this._map.clear())},Fn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return zn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return zn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.prototype;function Ln(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 $n(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Mn(){return Dn||(Dn=$n(rt()))}function zn(e){return null==e?Un():Rn(e)?e:Un().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Rn(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=Mn,In.__make=$n,t(zn,Fn),zn.of=function(){return this(arguments)},zn.fromKeys=function(e){return this(i(e).keySeq())},zn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},zn.isOrderedSet=Rn;var jn,Qn=zn.prototype;function Nn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Nn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Qn[f]=!0,Qn.__empty=Un,Qn.__make=Nn,t(Bn,ke),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 ke.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):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,Q(e,n++,t)}return N()}))},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 Hn(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,Hn(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 zn(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 kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator($)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return 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,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(L)},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 ye(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 Ht(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=wn(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[R]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Hn(i,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=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[R]=Zn.entries,Kn.__toJS=Zn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Hn(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,an(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,Hn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Zn.includes,Hn(V,i.prototype),Hn(Y,r.prototype),Hn(H,o.prototype),Hn(xe,i.prototype),Hn(ke,r.prototype),Hn(Se,o.prototype),{Iterable:n,Seq:X,Collection:we,Map:qe,OrderedMap:Ut,List:kt,Stack:Bn,Set:Fn,OrderedSet:zn,Record:xn,Range:_e,Repeat:be,is:ve,fromJS:he}}()}(Nwt);var Uwt=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function Bwt(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=Uwt(e)):t=Uwt(e);return t.body}var qwt=" ",Gwt=new RegExp("\r","g"),Wwt=new RegExp("\n","g"),Xwt=new RegExp(" ","g"),Vwt=new RegExp("\r","g"),Ywt=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],Hwt={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},Zwt=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},Kwt=function(e,t,n){},Jwt=function(e,t,n){return n},ext=function(e,t){},txt=function(e){return[]},nxt=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function ixt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Nwt.exports.Map();return!0===n?{text:"\r",inlines:[Nwt.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[Nwt.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function rxt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Nwt.exports.Map();return{text:"\r",inlines:[Nwt.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function oxt(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 axt(e,t,n){return oxt(e,n)}function sxt(e,t,n){var i=Hwt[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 lxt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Nwt.exports.OrderedSet();return sxt(e,t,n)}function uxt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),o="\r"===r&&"\r"===i,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(o&&(a||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(t.text===qwt||"\n"===t.text)return e;i!==qwt&&"\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 cxt(e,t,n,i,r,o,a,s,l,u,c,d,p,h,f,m){var g=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===g){var b=e.textContent;if(""===b.trim()&&null===i)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==i)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:qwt,inlines:[Nwt.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(b=b.replace(Wwt,qwt));var O=Array(b.length).fill(m),_=0;return l(b,c,d,p,h).sort(pwt).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+_;null==r&&(r=b.substr(o,i));var a=b.split("");a.splice.bind(a,o,i).apply(a,r.split("")),b=a.join(""),O.splice.bind(O,o,i).apply(O,Array(r.length).fill(t)),_+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:O,blocks:[]}}if("br"===g){var w=i;return null===w?ixt("unstyled",o,!0):ixt(w||"unstyled",o,f.flat)}var x={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=sxt(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,i=null);var k,S,P=u(g,e,n,i);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(k=P,S=Nwt.exports.Map()):(k="string"==typeof P?P:P.type,S=P.data?Nwt.exports.Map(P.data):Nwt.exports.Map()),i||-1===r.indexOf(g)&&!k)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===k&&(i=k,v=!0,x=ixt(k,o,!0,S));else{var E=oxt(g,n);x=rxt(E,o),i=E,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else x=rxt(k||oxt(g,n),o,S),i=k||oxt(g,n),v=!0;var C=e.firstChild;null!=C||!m||"atomic"!==k&&"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),x=uxt(x,cxt(C,t,n,i,r,o,a,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=Nwt.exports.Map()):(A=D.type||oxt(g,n),I=D.data?Nwt.exports.Map(D.data):Nwt.exports.Map()),x=uxt(x,ixt(A,o,f.flat,I),f.flat))}T&&(g=T.nodeName.toLowerCase()),C=T}return v&&(x=uxt(x,rxt(y,o,Nwt.exports.Map()),f.flat)),x}function dxt(e,t,n,i,r,o,a,s,l,u,c){var d=c(e=e.trim().replace(Gwt,"").replace(Xwt,qwt));if(!d)return null;var p=function(e){return Ywt.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?Ywt.concat(["div"]):["div"],h=cxt(d,Nwt.exports.OrderedSet(),"ul",null,p,-1,t,n,i,r,o,a,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:Nwt.exports.Map(),depth:0}),h.text.split("\r").length===h.blocks.length+1&&h.blocks.unshift({type:"unstyled",data:Nwt.exports.Map(),depth:0}),h}function pxt(e,t,n,i,r,o,a,s,l,u,c,d){var p=dxt(e,t,n,i,r,o,a,s,l,u,c);if(null==p)return[];var h=0;return p.text.split("\r").map((function(e,t){e=e.replace(Vwt,"");var n=h+e.length,i=nxt(p).inlines.slice(h,n),r=nxt(p).entities.slice(h,n),o=Nwt.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),cwt.CharacterMetadata.create(n)})));return h=n+1,new cwt.ContentBlock({key:d(),type:nxt(p).blocks[t].type,data:nxt(p).blocks[t].data,depth:nxt(p).blocks[t].depth,text:e,characterList:o})}))}var hxt=function(e){var t=e.htmlToStyle,n=void 0===t?Jwt:t,i=e.htmlToEntity,r=void 0===i?ext:i,o=e.textToEntity,a=void 0===o?txt:o,s=e.htmlToBlock,l=void 0===s?Kwt: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]:Bwt,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:cwt.genKey,s=cwt.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():cwt.Entity.create.apply(cwt.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):cwt.Entity.get.apply(cwt.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):cwt.Entity.mergeData.apply(cwt.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):cwt.Entity.replaceData.apply(cwt.Entity,arguments)},h=pxt(e,Zwt(n,lxt),Zwt(r,ext),Zwt(a,txt),Zwt(l,axt),u,c,d,p,t,i,o),f=cwt.BlockMapBuilder.createFromArray(h),m=h[0].getKey();return s.merge({blockMap:f,selectionBefore:cwt.SelectionState.createEmpty(m),selectionAfter:cwt.SelectionState.createEmpty(m)})}},fxt=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?hxt({}).apply(void 0,arguments):hxt.apply(void 0,arguments)};MX('/**\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 mxt=32,gxt=31,vxt={};function yxt(e){e&&(e.value=!0)}function bxt(){}function Oxt(e){return void 0===e.size&&(e.size=e.__iterate(wxt)),e.size}function _xt(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?Oxt(e)+t:t}function wxt(){return!0}function xxt(e,t,n){return(0===e&&!Ext(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function kxt(e,t){return Pxt(e,t,0)}function Sxt(e,t){return Pxt(e,t,t)}function Pxt(e,t,n){return void 0===e?n:Ext(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Ext(e){return e<0||0===e&&1/e==-1/0}var Cxt="@@__IMMUTABLE_ITERABLE__@@";function Fxt(e){return Boolean(e&&e[Cxt])}var Txt="@@__IMMUTABLE_KEYED__@@";function Dxt(e){return Boolean(e&&e[Txt])}var Axt="@@__IMMUTABLE_INDEXED__@@";function Ixt(e){return Boolean(e&&e[Axt])}function Lxt(e){return Dxt(e)||Ixt(e)}var $xt=function(e){return Fxt(e)?e:ikt(e)},Mxt=function(e){function t(e){return Dxt(e)?e:rkt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}($xt),zxt=function(e){function t(e){return Ixt(e)?e:okt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}($xt),Rxt=function(e){function t(e){return Fxt(e)&&!Lxt(e)?e:akt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}($xt);$xt.Keyed=Mxt,$xt.Indexed=zxt,$xt.Set=Rxt;var jxt="@@__IMMUTABLE_SEQ__@@";function Qxt(e){return Boolean(e&&e[jxt])}function Nxt(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function Uxt(e){return Fxt(e)||Nxt(e)}var Bxt="@@__IMMUTABLE_ORDERED__@@";function qxt(e){return Boolean(e&&e[Bxt])}var Gxt="function"==typeof Symbol&&Symbol.iterator,Wxt="@@iterator",Xxt=Gxt||Wxt,Vxt=function(e){this.next=e};function Yxt(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 Hxt(){return{value:void 0,done:!0}}function Zxt(e){return!!ekt(e)}function Kxt(e){return e&&"function"==typeof e.next}function Jxt(e){var t=ekt(e);return t&&t.call(e)}function ekt(e){var t=e&&(Gxt&&e[Gxt]||e["@@iterator"]);if("function"==typeof t)return t}Vxt.prototype.toString=function(){return"[Iterator]"},Vxt.KEYS=0,Vxt.VALUES=1,Vxt.ENTRIES=2,Vxt.prototype.inspect=Vxt.prototype.toSource=function(){return this.toString()},Vxt.prototype[Xxt]=function(){return this};var tkt=Object.prototype.hasOwnProperty;function nkt(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 ikt=function(e){function t(e){return null==e?dkt():Uxt(e)?e.toSeq():function(e){var t=fkt(e);if(t)return t;if("object"==typeof e)return new lkt(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var i=n.length,r=0;r!==i;){var o=n[t?i-++r:r++];if(!1===e(o[1],o[0],this))break}return r}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var i=n.length,r=0;return new Vxt((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return Yxt(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}($xt),rkt=function(e){function t(e){return null==e?dkt().toKeyedSeq():Fxt(e)?Dxt(e)?e.toSeq():e.fromEntrySeq():Nxt(e)?e.toSeq():pkt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(ikt),okt=function(e){function t(e){return null==e?dkt():Fxt(e)?Dxt(e)?e.entrySeq():e.toIndexedSeq():Nxt(e)?e.toSeq().entrySeq():hkt(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}(ikt),akt=function(e){function t(e){return(Fxt(e)&&!Lxt(e)?e:okt(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}(ikt);ikt.isSeq=Qxt,ikt.Keyed=rkt,ikt.Set=akt,ikt.Indexed=okt,ikt.prototype[jxt]=!0;var skt=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[_xt(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var o=t?i-++r:r++;if(!1===e(n[o],o,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new Vxt((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return Yxt(e,o,n[o])}))},t}(okt),lkt=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 tkt.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,o=0;o!==r;){var a=i[t?r-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,o=0;return new Vxt((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return Yxt(e,a,n[a])}))},t}(rkt);lkt.prototype[Bxt]=!0;var ukt,ckt=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=Jxt(this._collection),i=0;if(Kxt(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=Jxt(this._collection);if(!Kxt(n))return new Vxt(Hxt);var i=0;return new Vxt((function(){var t=n.next();return t.done?t:Yxt(e,i++,t.value)}))},t}(okt);function dkt(){return ukt||(ukt=new skt([]))}function pkt(e){var t=Array.isArray(e)?new skt(e):Zxt(e)?new ckt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new lkt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function hkt(e){var t=fkt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function fkt(e){return nkt(e)?new skt(e):Zxt(e)?new ckt(e):void 0}var mkt="@@__IMMUTABLE_MAP__@@";function gkt(e){return Boolean(e&&e[mkt])}function vkt(e){return gkt(e)&&qxt(e)}function ykt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function bkt(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!!(ykt(e)&&ykt(t)&&e.equals(t))}var Okt="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 _kt(e){return e>>>1&1073741824|3221225471&e}var wkt=Object.prototype.valueOf;function xkt(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 _kt(t)}(e);case"string":return e.length>Dkt?function(e){var t=Lkt[e];void 0===t&&(t=kkt(e),Ikt===Akt&&(Ikt=0,Lkt={}),Ikt++,Lkt[e]=t);return t}(e):kkt(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?_kt(e.hashCode(e)):(e.valueOf!==wkt&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(Ckt&&void 0!==(t=Ekt.get(e)))return t;if(void 0!==(t=e[Tkt]))return t;if(!Pkt){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Tkt]))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=++Fkt,1073741824&Fkt&&(Fkt=0);if(Ckt)Ekt.set(e,t);else{if(void 0!==Skt&&!1===Skt(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Pkt)Object.defineProperty(e,Tkt,{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[Tkt]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Tkt]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return kkt(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function kkt(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return _kt(t)}var Skt=Object.isExtensible,Pkt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Ekt,Ckt="function"==typeof WeakMap;Ckt&&(Ekt=new WeakMap);var Fkt=0,Tkt="__immutablehash__";"function"==typeof Symbol&&(Tkt=Symbol(Tkt));var Dkt=16,Akt=255,Ikt=0,Lkt={},$kt=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=Nkt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=Qkt(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}(rkt);$kt.prototype[Bxt]=!0;var Mkt=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&&Oxt(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&&Oxt(this),new Vxt((function(){var o=i.next();return o.done?o:Yxt(e,t?n.size-++r:r++,o.value,o)}))},t}(okt),zkt=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 Vxt((function(){var t=n.next();return t.done?t:Yxt(e,t.value,t.value,t)}))},t}(akt),Rkt=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){Kkt(t);var i=Fxt(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 Vxt((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){Kkt(i);var r=Fxt(i);return Yxt(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(rkt);function jkt(e){var t=eSt(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=tSt,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 Vxt((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 Qkt(e,t,n){var i=eSt(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,vxt);return o===vxt?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(2,r);return new Vxt((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Yxt(i,s,t.call(n,a[1],s,e),r)}))},i}function Nkt(e,t){var n=this,i=eSt(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=jkt(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=tSt,i.__iterate=function(n,i){var r=this,o=0;return i&&Oxt(e),e.__iterate((function(e,a){return n(e,t?a:i?r.size-++o:o++,r)}),!i)},i.__iterator=function(i,r){var o=0;r&&Oxt(e);var a=e.__iterator(2,!r);return new Vxt((function(){var e=a.next();if(e.done)return e;var s=e.value;return Yxt(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function Ukt(e,t,n,i){var r=eSt(e);return i&&(r.has=function(i){var r=e.get(i,vxt);return r!==vxt&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,vxt);return o!==vxt&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(2,o),s=0;return new Vxt((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Yxt(r,i?u:s++,c,o)}}))},r}function Bkt(e,t,n,i){var r=e.size;if(xxt(t,n,r))return e;var o=kxt(t,r),a=Sxt(n,r);if(o!=o||a!=a)return Bkt(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=eSt(e);return u.size=0===s?s:e.size&&s||void 0,!i&&Qxt(e)&&s>=0&&(u.get=function(t,n){return(t=_xt(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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 Vxt(Hxt);var r=e.__iterator(t,n),a=0,l=0;return new Vxt((function(){for(;a++<o;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:Yxt(t,l-1,0===t?void 0:e.value[1],e)}))},u}function qkt(e,t,n,i){var r=eSt(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(2,o),l=!0,u=0;return new Vxt((function(){var e,o,c;do{if((e=s.next()).done)return i||1===r?e:Yxt(r,u++,0===r?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return 2===r?e:Yxt(r,o,c,e)}))},r}function Gkt(e,t){var n=Dxt(e),i=[e].concat(t).map((function(e){return Fxt(e)?n&&(e=Mxt(e)):e=n?pkt(e):hkt(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&&Dxt(r)||Ixt(e)&&Ixt(r))return r}var o=new skt(i);return n?o=o.toKeyedSeq():Ixt(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function Wkt(e,t,n){var i=eSt(e);return i.__iterateUncached=function(r,o){if(o)return this.cacheResult().__iterate(r,o);var a=0,s=!1;return function e(l,u){l.__iterate((function(o,l){return(!t||u<t)&&Fxt(o)?e(o,u+1):(a++,!1===r(o,n?l:a-1,i)&&(s=!0)),!s}),o)}(e,0),a},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(i,r),a=[],s=0;return new Vxt((function(){for(;o;){var e=o.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(a.length<t)||!Fxt(l))return n?e:Yxt(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function Xkt(e,t,n){t||(t=nSt);var i=Dxt(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?rkt(o):Ixt(e)?okt(o):akt(o)}function Vkt(e,t,n){if(t||(t=nSt),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return Ykt(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return Ykt(t,e,n)?n:e}))}function Ykt(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function Hkt(e,t,n,i){var r=eSt(e),o=new skt(n).map((function(e){return e.size}));return r.size=i?o.max():o.min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(1,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=n.map((function(e){return e=$xt(e),Jxt(r?e.reverse():e)})),a=0,s=!1;return new Vxt((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=i?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:Yxt(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function Zkt(e,t){return e===t?e:Qxt(e)?t:e.constructor(t)}function Kkt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Jkt(e){return Dxt(e)?Mxt:Ixt(e)?zxt:Rxt}function eSt(e){return Object.create((Dxt(e)?rkt:Ixt(e)?okt:akt).prototype)}function tSt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):ikt.prototype.cacheResult.call(this)}function nSt(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 iSt(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 rSt(e,t){if(!e)throw new Error(t)}function oSt(e){rSt(e!==1/0,"Cannot perform this action with an infinite size.")}function aSt(e){if(nkt(e)&&"string"!=typeof e)return e;if(qxt(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function sSt(e){return"object"==typeof e&&(Uxt(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function lSt(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function uSt(e,t,n){return Uxt(e)?e.get(t,n):function(e,t){return Uxt(e)?e.has(t):sSt(e)&&tkt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function cSt(e){if(Array.isArray(e))return iSt(e);var t={};for(var n in e)tkt.call(e,n)&&(t[n]=e[n]);return t}function dSt(e,t,n,i){i||(i=n,n=void 0);var r=pSt(Uxt(e),e,aSt(t),0,n,i);return r===vxt?n:r}function pSt(e,t,n,i,r,o){var a=t===vxt;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!sSt(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(lSt)+"]: "+t);var u=n[i],c=a?vxt:uSt(t,u,vxt),d=pSt(c===vxt?e:Uxt(c),c,n,i+1,r,o);return d===c?t:d===vxt?function(e,t){if(!sSt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Uxt(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!tkt.call(e,t))return e;var n=cSt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!sSt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Uxt(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(tkt.call(e,t)&&n===e[t])return e;var i=cSt(e);return i[t]=n,i}(a?e?jSt():{}:t,u,d)}function hSt(e,t){return function(e,t,n){return dSt(e,t,vxt,(function(){return n}))}(this,e,t)}function fSt(e){return function(e,t){return dSt(e,t,(function(){return vxt}))}(this,e)}function mSt(e,t,n,i){return dSt(e,[t],n,i)}function gSt(e,t,n){return 1===arguments.length?e(this):mSt(this,e,t,n)}function vSt(e,t,n){return dSt(this,e,t,n)}function ySt(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=Mxt(t[r]);0!==o.size&&i.push(o)}return 0===i.length?e:0!==e.toSeq().size||e.__ownerID||1!==i.length?e.withMutations((function(e){for(var t=n?function(t,i){mSt(e,i,vxt,(function(e){return e===vxt?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 bSt(e,t,n){return OSt(e,t,function(e){function t(n,i,r){return sSt(n)&&sSt(i)?OSt(n,[i],t):e?e(n,i,r):i}return t}(n))}function OSt(e,t,n){if(!sSt(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(Uxt(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var i=Array.isArray(e),r=e,o=i?zxt:Mxt,a=i?function(t){r===e&&(r=cSt(r)),r.push(t)}:function(t,i){var o=tkt.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=cSt(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function _St(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return dSt(this,e,jSt(),(function(e){return OSt(e,t)}))}function wSt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return dSt(this,e,jSt(),(function(e){return bSt(e,t)}))}function xSt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function kSt(){return this.__ownerID?this:this.__ensureOwner(new bxt)}function SSt(){return this.__ensureOwner()}function PSt(){return this.__altered}Mkt.prototype.cacheResult=$kt.prototype.cacheResult=zkt.prototype.cacheResult=Rkt.prototype.cacheResult=tSt;var ESt=function(e){function t(t){return null==t?jSt():gkt(t)&&!qxt(t)?t:jSt().withMutations((function(n){var i=e(t);oSt(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 jSt().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 QSt(this,e,t)},t.prototype.remove=function(e){return QSt(this,e,vxt)},t.prototype.deleteAll=function(e){var t=$xt(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):jSt()},t.prototype.sort=function(e){return dPt(Xkt(this,e))},t.prototype.sortBy=function(e,t){return dPt(Xkt(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 $St(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?RSt(this.size,this._root,e,this.__hash):0===this.size?jSt():(this.__ownerID=e,this.__altered=!1,this)},t}(Mxt);ESt.isMap=gkt;var CSt=ESt.prototype;CSt[mkt]=!0,CSt.delete=CSt.remove,CSt.removeAll=CSt.deleteAll,CSt.setIn=hSt,CSt.removeIn=CSt.deleteIn=fSt,CSt.update=gSt,CSt.updateIn=vSt,CSt.merge=CSt.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return ySt(this,e)},CSt.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 ySt(this,t,e)},CSt.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return bSt(this,e)},CSt.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return bSt(this,t,e)},CSt.mergeIn=_St,CSt.mergeDeepIn=wSt,CSt.withMutations=xSt,CSt.wasAltered=PSt,CSt.asImmutable=SSt,CSt["@@transducer/init"]=CSt.asMutable=kSt,CSt["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},CSt["@@transducer/result"]=function(e){return e.asImmutable()};var FSt=function(e,t){this.ownerID=e,this.entries=t};FSt.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(bkt(n,r[o][0]))return r[o][1];return i},FSt.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===vxt,l=this.entries,u=0,c=l.length;u<c&&!bkt(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(yxt(a),(s||!d)&&yxt(o),!s||1!==l.length){if(!d&&!s&&l.length>=WSt)return function(e,t,n,i){e||(e=new bxt);for(var r=new ISt(e,xkt(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:iSt(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 FSt(e,h)}};var TSt=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};TSt.prototype.get=function(e,t,n,i){void 0===t&&(t=xkt(n));var r=1<<((0===e?t:t>>>e)&gxt),o=this.bitmap;return 0==(o&r)?i:this.nodes[qSt(o&r-1)].get(e+5,t,n,i)},TSt.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=xkt(i));var s=(0===t?n:n>>>t)&gxt,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===vxt)return this;var d=qSt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=NSt(h,e,t+5,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=XSt)return function(e,t,n,i,r){for(var o=0,a=new Array(mxt),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new DSt(e,o+1,a)}(e,p,u,s,f);if(c&&!f&&2===p.length&&USt(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&USt(f))return f;var m=e&&e===this.ownerID,g=c?f?u:u^l:u|l,v=c?f?GSt(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),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}(p,d,m):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(p,d,f,m);return m?(this.bitmap=g,this.nodes=v,this):new TSt(e,g,v)};var DSt=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};DSt.prototype.get=function(e,t,n,i){void 0===t&&(t=xkt(n));var r=(0===e?t:t>>>e)&gxt,o=this.nodes[r];return o?o.get(e+5,t,n,i):i},DSt.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=xkt(i));var s=(0===t?n:n>>>t)&gxt,l=r===vxt,u=this.nodes,c=u[s];if(l&&!c)return this;var d=NSt(c,e,t+5,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<VSt)return function(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new TSt(e,r,a)}(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=GSt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new DSt(e,p,f)};var ASt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};ASt.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(bkt(n,r[o][0]))return r[o][1];return i},ASt.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=xkt(i));var s=r===vxt;if(n!==this.keyHash)return s?this:(yxt(a),yxt(o),BSt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!bkt(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(yxt(a),(s||!d)&&yxt(o),s&&2===c)return new ISt(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:iSt(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 ASt(e,this.keyHash,h)};var ISt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};ISt.prototype.get=function(e,t,n,i){return bkt(n,this.entry[0])?this.entry[1]:i},ISt.prototype.update=function(e,t,n,i,r,o,a){var s=r===vxt,l=bkt(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(yxt(a),s?void yxt(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new ISt(e,this.keyHash,[i,r]):(yxt(o),BSt(this,e,t,xkt(i),[i,r])))},FSt.prototype.iterate=ASt.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},TSt.prototype.iterate=DSt.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},ISt.prototype.iterate=function(e,t){return e(this.entry)};var LSt,$St=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&zSt(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 MSt(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return MSt(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return MSt(e,o.entry);t=this._stack=zSt(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(Vxt);function MSt(e,t){return Yxt(e,t[0],t[1])}function zSt(e,t){return{node:e,index:0,__prev:t}}function RSt(e,t,n,i){var r=Object.create(CSt);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function jSt(){return LSt||(LSt=RSt(0))}function QSt(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=NSt(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===vxt?-1:1:0)}else{if(n===vxt)return e;r=1,i=new FSt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?RSt(r,i):jSt()}function NSt(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===vxt?e:(yxt(s),yxt(a),new ISt(t,i,[r,o]))}function USt(e){return e.constructor===ISt||e.constructor===ASt}function BSt(e,t,n,i,r){if(e.keyHash===i)return new ASt(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&gxt,s=(0===n?i:i>>>n)&gxt,l=a===s?[BSt(e,t,n+5,i,r)]:(o=new ISt(t,i,r),a<s?[e,o]:[o,e]);return new TSt(t,1<<a|1<<s,l)}function qSt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function GSt(e,t,n,i){var r=i?e:iSt(e);return r[t]=n,r}var WSt=8,XSt=16,VSt=8,YSt="@@__IMMUTABLE_LIST__@@";function HSt(e){return Boolean(e&&e[YSt])}var ZSt=function(e){function t(t){var n=rPt();if(null==t)return n;if(HSt(t))return t;var i=e(t),r=i.size;return 0===r?n:(oSt(r),r>0&&r<mxt?iPt(0,r,5,null,new JSt(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=_xt(this,e))>=0&&e<this.size){var n=sPt(this,e+=this._origin);return n&&n.array[e&gxt]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=_xt(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?lPt(e,t).set(0,n):lPt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=uPt(e._capacity)?i=oPt(i,e.__ownerID,0,t,n,o):r=oPt(r,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return iPt(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):rPt()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){lPt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return lPt(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){lPt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return lPt(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],o=e("string"!=typeof r&&Zxt(r)?r:[r]);0!==o.size&&n.push(o)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return lPt(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 xxt(e,t,n)?this:lPt(this,kxt(e,n),Sxt(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=nPt(this,t);return new Vxt((function(){var r=i();return r===tPt?{value:void 0,done:!0}:Yxt(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=nPt(this,t);(n=r())!==tPt&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?iPt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?rPt():(this.__ownerID=e,this.__altered=!1,this)},t}(zxt);ZSt.isList=HSt;var KSt=ZSt.prototype;KSt[YSt]=!0,KSt.delete=KSt.remove,KSt.merge=KSt.concat,KSt.setIn=hSt,KSt.deleteIn=KSt.removeIn=fSt,KSt.update=gSt,KSt.updateIn=vSt,KSt.mergeIn=_St,KSt.mergeDeepIn=wSt,KSt.withMutations=xSt,KSt.wasAltered=PSt,KSt.asImmutable=SSt,KSt["@@transducer/init"]=KSt.asMutable=kSt,KSt["@@transducer/step"]=function(e,t){return e.push(t)},KSt["@@transducer/result"]=function(e){return e.asImmutable()};var JSt=function(e,t){this.array=e,this.ownerID=t};JSt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&gxt;if(i>=this.array.length)return new JSt([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!r)return this;var s=aPt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},JSt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&gxt;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-5,n))===o&&r===this.array.length-1)return this}var a=aPt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var ePt,tPt={};function nPt(e,t){var n=e._origin,i=e._capacity,r=uPt(i),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;u>mxt&&(u=mxt);return function(){if(l===u)return tPt;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>r);c>mxt&&(c=mxt);return function(){for(;;){if(s){var e=s();if(e!==tPt)return e;s=null}if(u===c)return tPt;var n=t?--c:u++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function iPt(e,t,n,i,r,o,a){var s=Object.create(KSt);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function rPt(){return ePt||(ePt=iPt(0,0,5))}function oPt(e,t,n,i,r,o){var a,s=i>>>n&gxt,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=oPt(u,t,n-5,i,r,o);return c===u?e:((a=aPt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(o&&yxt(o),a=aPt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function aPt(e,t){return t&&e&&t===e.ownerID?e:new JSt(e?e.array.slice():[],t)}function sPt(e,t){if(t>=uPt(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&gxt],i-=5;return n}}function lPt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new bxt,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new JSt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=uPt(o),p=uPt(s);p>=1<<l+5;)u=new JSt(u&&u.array.length?[u]:[],i),l+=5;var h=e._tail,f=p<d?sPt(e,s-1):p>d?new JSt([],i):h;if(h&&p>d&&a<o&&h.array.length){for(var m=u=aPt(u,i),g=l;g>5;g-=5){var v=d>>>g&gxt;m=m.array[v]=aPt(m.array[v],i)}m.array[d>>>5&gxt]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=5,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var y=a>>>l&gxt;if(y!==p>>>l&gxt)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):iPt(a,s,l,u,f)}function uPt(e){return e<mxt?0:e-1>>>5<<5}var cPt,dPt=function(e){function t(e){return null==e?hPt():vkt(e)?e:hPt().withMutations((function(t){var n=Mxt(e);oSt(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):hPt()},t.prototype.set=function(e,t){return fPt(this,e,t)},t.prototype.remove=function(e){return fPt(this,e,vxt)},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?pPt(t,n,e,this.__hash):0===this.size?hPt():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(ESt);function pPt(e,t,n,i){var r=Object.create(dPt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function hPt(){return cPt||(cPt=pPt(jSt(),rPt()))}function fPt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===vxt){if(!l)return e;a.size>=mxt&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):pPt(i,r)}dPt.isOrderedMap=vkt,dPt.prototype[Bxt]=!0,dPt.prototype.delete=dPt.prototype.remove;var mPt="@@__IMMUTABLE_STACK__@@";function gPt(e){return Boolean(e&&e[mPt])}var vPt=function(e){function t(e){return null==e?_Pt():gPt(e)?e:_Pt().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=_xt(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):OPt(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&gPt(t))return t;oSt(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):OPt(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):_Pt()},t.prototype.slice=function(t,n){if(xxt(t,n,this.size))return this;var i=kxt(t,this.size);if(Sxt(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,o=this._head;i--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):OPt(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?OPt(this.size,this._head,e,this.__hash):0===this.size?_Pt():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new skt(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 skt(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new Vxt((function(){if(i){var t=i.value;return i=i.next,Yxt(e,n++,t)}return{value:void 0,done:!0}}))},t}(zxt);vPt.isStack=gPt;var yPt,bPt=vPt.prototype;function OPt(e,t,n,i){var r=Object.create(bPt);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function _Pt(){return yPt||(yPt=OPt(0))}bPt[mPt]=!0,bPt.shift=bPt.pop,bPt.unshift=bPt.push,bPt.unshiftAll=bPt.pushAll,bPt.withMutations=xSt,bPt.wasAltered=PSt,bPt.asImmutable=SSt,bPt["@@transducer/init"]=bPt.asMutable=kSt,bPt["@@transducer/step"]=function(e,t){return e.unshift(t)},bPt["@@transducer/result"]=function(e){return e.asImmutable()};var wPt="@@__IMMUTABLE_SET__@@";function xPt(e){return Boolean(e&&e[wPt])}function kPt(e){return xPt(e)&&qxt(e)}function SPt(e,t){if(e===t)return!0;if(!Fxt(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||Dxt(e)!==Dxt(t)||Ixt(e)!==Ixt(t)||qxt(e)!==qxt(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!Lxt(e);if(qxt(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&bkt(r[1],e)&&(n||bkt(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!bkt(t,e.get(i,vxt)):!bkt(e.get(i,vxt),t))return a=!1,!1}));return a&&e.size===s}function PPt(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 EPt(e){if(!e||"object"!=typeof e)return e;if(!Fxt(e)){if(!sSt(e))return e;e=ikt(e)}if(Dxt(e)){var t={};return e.__iterate((function(e,n){t[n]=EPt(e)})),t}var n=[];return e.__iterate((function(e){n.push(EPt(e))})),n}var CPt=function(e){function t(t){return null==t?IPt():xPt(t)&&!qxt(t)?t:IPt().withMutations((function(n){var i=e(t);oSt(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(Mxt(e).keySeq())},t.intersect=function(e){return(e=$xt(e).toArray()).length?TPt.intersect.apply(t(e.pop()),e):IPt()},t.union=function(e){return(e=$xt(e).toArray()).length?TPt.union.apply(t(e.pop()),e):IPt()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return DPt(this,this._map.set(e,e))},t.prototype.remove=function(e){return DPt(this,this._map.remove(e))},t.prototype.clear=function(){return DPt(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(i.push(o),r.push(a))})),this.withMutations((function(e){i.forEach((function(t){return e.remove(t)})),r.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var i=0;i<t.length;i++)e(t[i]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return YPt(Xkt(this,e))},t.prototype.sortBy=function(e,t){return YPt(Xkt(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}(Rxt);CPt.isSet=xPt;var FPt,TPt=CPt.prototype;function DPt(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 APt(e,t){var n=Object.create(TPt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function IPt(){return FPt||(FPt=APt(jSt()))}TPt[wPt]=!0,TPt.delete=TPt.remove,TPt.merge=TPt.concat=TPt.union,TPt.withMutations=xSt,TPt.asImmutable=SSt,TPt["@@transducer/init"]=TPt.asMutable=kSt,TPt["@@transducer/step"]=function(e,t){return e.add(t)},TPt["@@transducer/result"]=function(e){return e.asImmutable()},TPt.__empty=IPt,TPt.__make=APt;var LPt,$Pt=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(rSt(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(LPt)return LPt;LPt=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+_xt(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 xxt(e,n,this.size)?this:(e=kxt(e,this.size),(n=Sxt(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;o!==n&&!1!==e(r,t?n-++o:o++,this);)r+=t?-i:i;return o},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;return new Vxt((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,Yxt(e,t?n-++o:o++,a)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:SPt(this,e)},t}(okt);function MPt(e,t,n){for(var i=aSt(t),r=0;r!==i.length;)if((e=uSt(e,i[r++],vxt))===vxt)return n;return e}function zPt(){oSt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}$xt.isIterable=Fxt,$xt.isKeyed=Dxt,$xt.isIndexed=Ixt,$xt.isAssociative=Lxt,$xt.isOrdered=qxt,$xt.Iterator=Vxt,PPt($xt,{toArray:function(){oSt(this.size);var e=new Array(this.size||0),t=Dxt(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Mkt(this)},toJS:function(){return EPt(this)},toKeyedSeq:function(){return new $kt(this,!0)},toMap:function(){return ESt(this.toKeyedSeq())},toObject:zPt,toOrderedMap:function(){return dPt(this.toKeyedSeq())},toOrderedSet:function(){return YPt(Dxt(this)?this.valueSeq():this)},toSet:function(){return CPt(Dxt(this)?this.valueSeq():this)},toSetSeq:function(){return new zkt(this)},toSeq:function(){return Ixt(this)?this.toIndexedSeq():Dxt(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return vPt(Dxt(this)?this.valueSeq():this)},toList:function(){return ZSt(Dxt(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 Zkt(this,Gkt(this,e))},includes:function(e){return this.some((function(t){return bkt(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){oSt(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return Zkt(this,Ukt(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 oSt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){oSt(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 Zkt(this,Qkt(this,e,t))},reduce:function(e,t,n){return NPt(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return NPt(this,e,t,n,arguments.length<2,!0)},reverse:function(){return Zkt(this,Nkt(this,!0))},slice:function(e,t){return Zkt(this,Bkt(this,e,t,!0))},some:function(e,t){return!this.every(qPt(e),t)},sort:function(e){return Zkt(this,Xkt(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 Oxt(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=ESt().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return SPt(this,e)},entrySeq:function(){var e=this;if(e._cache)return new skt(e._cache);var t=e.toSeq().map(BPt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(qPt(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,o){if(e.call(t,n,r,o))return i=[r,n],!1})),i},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(wxt,null,e)},flatMap:function(e,t){return Zkt(this,function(e,t,n){var i=Jkt(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return Zkt(this,Wkt(this,e,!0))},fromEntrySeq:function(){return new Rkt(this)},get:function(e,t){return this.find((function(t,n){return bkt(n,e)}),void 0,t)},getIn:function(e,t){return MPt(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=Dxt(e),r=(qxt(e)?dPt():ESt()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=Jkt(e);return r.map((function(t){return Zkt(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,vxt)!==vxt},hasIn:function(e){return function(e,t){return MPt(e,t,vxt)!==vxt}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:$xt(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:$xt(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return bkt(t,e)}))},keySeq:function(){return this.toSeq().map(UPt).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Vkt(this,e)},maxBy:function(e,t){return Vkt(this,t,e)},min:function(e){return Vkt(this,e?GPt(e):XPt)},minBy:function(e,t){return Vkt(this,t?GPt(t):XPt,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 Zkt(this,qkt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(qPt(e),t)},sortBy:function(e,t){return Zkt(this,Xkt(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 Zkt(this,function(e,t,n){var i=eSt(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(2,r),s=!0;return new Vxt((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?2===i?e:Yxt(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(qPt(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=qxt(e),n=Dxt(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+VPt(xkt(e),xkt(t))|0}:function(e,t){i=i+VPt(xkt(e),xkt(t))|0}:t?function(e){i=31*i+xkt(e)|0}:function(e){i=i+xkt(e)|0});return function(e,t){return t=Okt(t,3432918353),t=Okt(t<<15|t>>>-15,461845907),t=Okt(t<<13|t>>>-13,5),t=Okt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=_kt((t=Okt(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var RPt=$xt.prototype;RPt[Cxt]=!0,RPt[Xxt]=RPt.values,RPt.toJSON=RPt.toArray,RPt.__toStringMapper=lSt,RPt.inspect=RPt.toSource=function(){return this.toString()},RPt.chain=RPt.flatMap,RPt.contains=RPt.includes,PPt(Mxt,{flip:function(){return Zkt(this,jkt(this))},mapEntries:function(e,t){var n=this,i=0;return Zkt(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Zkt(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var jPt=Mxt.prototype;jPt[Txt]=!0,jPt[Xxt]=RPt.entries,jPt.toJSON=zPt,jPt.__toStringMapper=function(e,t){return lSt(t)+": "+lSt(e)},PPt(zxt,{toKeyedSeq:function(){return new $kt(this,!1)},filter:function(e,t){return Zkt(this,Ukt(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 Zkt(this,Nkt(this,!1))},slice:function(e,t){return Zkt(this,Bkt(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=kxt(e,e<0?this.count():this.size);var i=this.slice(0,e);return Zkt(this,1===n?i:i.concat(iSt(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 Zkt(this,Wkt(this,e,!1))},get:function(e,t){return(e=_xt(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=_xt(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Zkt(this,function(e,t){var n=eSt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(1,i),a=0;return new Vxt((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Yxt(n,a++,t):Yxt(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(iSt(arguments)),t=Hkt(this.toSeq(),okt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Zkt(this,n)},keySeq:function(){return $Pt(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return Zkt(this,qkt(this,e,t,!1))},zip:function(){var e=[this].concat(iSt(arguments));return Zkt(this,Hkt(this,WPt,e))},zipAll:function(){var e=[this].concat(iSt(arguments));return Zkt(this,Hkt(this,WPt,e,!0))},zipWith:function(e){var t=iSt(arguments);return t[0]=this,Zkt(this,Hkt(this,e,t))}});var QPt=zxt.prototype;function NPt(e,t,n,i,r,o){return oSt(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function UPt(e,t){return t}function BPt(e,t){return[t,e]}function qPt(e){return function(){return!e.apply(this,arguments)}}function GPt(e){return function(){return-e.apply(this,arguments)}}function WPt(){return iSt(arguments)}function XPt(e,t){return e<t?1:e>t?-1:0}function VPt(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}QPt[Axt]=!0,QPt[Bxt]=!0,PPt(Rxt,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),Rxt.prototype.has=RPt.includes,Rxt.prototype.contains=Rxt.prototype.includes,PPt(rkt,Mxt.prototype),PPt(okt,zxt.prototype),PPt(akt,Rxt.prototype);var YPt=function(e){function t(e){return null==e?JPt():kPt(e)?e:JPt().withMutations((function(t){var n=Rxt(e);oSt(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(Mxt(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(CPt);YPt.isOrderedSet=kPt;var HPt,ZPt=YPt.prototype;function KPt(e,t){var n=Object.create(ZPt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function JPt(){return HPt||(HPt=KPt(hPt()))}ZPt[Bxt]=!0,ZPt.zip=QPt.zip,ZPt.zipWith=QPt.zipWith,ZPt.__empty=JPt,ZPt.__make=KPt;var eEt={exports:{}};
|
|
271
|
+
***************************************************************************** */function gQe(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 vQe(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))}function yQe(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function bQe(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}function OQe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var _Qe,wQe=function(e){var n,i=e.children,r=gQe(e,["children"]),o=foe();return t.jsxs(t.Fragment,{children:[t.jsx(xQe,{},void 0),t.jsx(a.Dialog,mQe({},r,{modalProps:mQe(mQe({},r.modalProps||{}),{className:HB(o,"lt-reach-dialog",{"lt-reach-dialog-mobile":as.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},xQe=o.createGlobalStyle(_Qe||(_Qe=OQe(['\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']))),kQe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},SQe=function(e){return e&&e.Math==Math&&e},PQe=SQe("object"==typeof globalThis&&globalThis)||SQe("object"==typeof window&&window)||SQe("object"==typeof self&&self)||SQe("object"==typeof kQe&&kQe)||Function("return this")(),EQe={},CQe=function(e){try{return!!e()}catch(e){return!0}},FQe=!CQe((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),TQe={},DQe={}.propertyIsEnumerable,AQe=Object.getOwnPropertyDescriptor,IQe=AQe&&!DQe.call({1:2},1);TQe.f=IQe?function(e){var t=AQe(this,e);return!!t&&t.enumerable}:DQe;var LQe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},$Qe={}.toString,MQe=function(e){return $Qe.call(e).slice(8,-1)},zQe=MQe,RQe="".split,jQe=CQe((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==zQe(e)?RQe.call(e,""):Object(e)}:Object,QQe=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},NQe=jQe,UQe=QQe,BQe=function(e){return NQe(UQe(e))},qQe=function(e){return"object"==typeof e?null!==e:"function"==typeof e},GQe=qQe,WQe=function(e,t){if(!GQe(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!GQe(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!GQe(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!GQe(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},XQe={}.hasOwnProperty,VQe=function(e,t){return XQe.call(e,t)},YQe=qQe,HQe=PQe.document,ZQe=YQe(HQe)&&YQe(HQe.createElement),KQe=function(e){return ZQe?HQe.createElement(e):{}},JQe=KQe,eNe=!FQe&&!CQe((function(){return 7!=Object.defineProperty(JQe("div"),"a",{get:function(){return 7}}).a})),tNe=FQe,nNe=TQe,iNe=LQe,rNe=BQe,oNe=WQe,aNe=VQe,sNe=eNe,lNe=Object.getOwnPropertyDescriptor;EQe.f=tNe?lNe:function(e,t){if(e=rNe(e),t=oNe(t,!0),sNe)try{return lNe(e,t)}catch(e){}if(aNe(e,t))return iNe(!nNe.f.call(e,t),e[t])};var uNe={},cNe=qQe,dNe=function(e){if(!cNe(e))throw TypeError(String(e)+" is not an object");return e},pNe=FQe,hNe=eNe,fNe=dNe,mNe=WQe,gNe=Object.defineProperty;uNe.f=pNe?gNe:function(e,t,n){if(fNe(e),t=mNe(t,!0),fNe(n),hNe)try{return gNe(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 vNe=uNe,yNe=LQe,bNe=FQe?function(e,t,n){return vNe.f(e,t,yNe(1,n))}:function(e,t,n){return e[t]=n,e},ONe={exports:{}},_Ne=PQe,wNe=bNe,xNe=function(e,t){try{wNe(_Ne,e,t)}catch(n){_Ne[e]=t}return t},kNe=xNe,SNe="__core-js_shared__",PNe=PQe[SNe]||kNe(SNe,{}),ENe=PNe,CNe=Function.toString;"function"!=typeof ENe.inspectSource&&(ENe.inspectSource=function(e){return CNe.call(e)});var FNe=ENe.inspectSource,TNe=FNe,DNe=PQe.WeakMap,ANe="function"==typeof DNe&&/native code/.test(TNe(DNe)),INe={exports:{}},LNe=PNe;(INe.exports=function(e,t){return LNe[e]||(LNe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var $Ne,MNe,zNe,RNe=0,jNe=Math.random(),QNe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++RNe+jNe).toString(36)},NNe=INe.exports,UNe=QNe,BNe=NNe("keys"),qNe=function(e){return BNe[e]||(BNe[e]=UNe(e))},GNe={},WNe=ANe,XNe=qQe,VNe=bNe,YNe=VQe,HNe=qNe,ZNe=GNe,KNe=PQe.WeakMap;if(WNe){var JNe=new KNe,eUe=JNe.get,tUe=JNe.has,nUe=JNe.set;$Ne=function(e,t){return nUe.call(JNe,e,t),t},MNe=function(e){return eUe.call(JNe,e)||{}},zNe=function(e){return tUe.call(JNe,e)}}else{var iUe=HNe("state");ZNe[iUe]=!0,$Ne=function(e,t){return VNe(e,iUe,t),t},MNe=function(e){return YNe(e,iUe)?e[iUe]:{}},zNe=function(e){return YNe(e,iUe)}}var rUe={set:$Ne,get:MNe,has:zNe,enforce:function(e){return zNe(e)?MNe(e):$Ne(e,{})},getterFor:function(e){return function(t){var n;if(!XNe(t)||(n=MNe(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},oUe=PQe,aUe=bNe,sUe=VQe,lUe=xNe,uUe=FNe,cUe=rUe.get,dUe=rUe.enforce,pUe=String(String).split("String");(ONe.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||sUe(n,"name")||aUe(n,"name",t),dUe(n).source=pUe.join("string"==typeof t?t:"")),e!==oUe?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:aUe(e,t,n)):o?e[t]=n:lUe(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&cUe(this).source||uUe(this)}));var hUe=PQe,fUe=PQe,mUe=function(e){return"function"==typeof e?e:void 0},gUe=function(e,t){return arguments.length<2?mUe(hUe[e])||mUe(fUe[e]):hUe[e]&&hUe[e][t]||fUe[e]&&fUe[e][t]},vUe={},yUe=Math.ceil,bUe=Math.floor,OUe=function(e){return isNaN(e=+e)?0:(e>0?bUe:yUe)(e)},_Ue=OUe,wUe=Math.min,xUe=function(e){return e>0?wUe(_Ue(e),9007199254740991):0},kUe=OUe,SUe=Math.max,PUe=Math.min,EUe=BQe,CUe=xUe,FUe=function(e,t){var n=kUe(e);return n<0?SUe(n+t,0):PUe(n,t)},TUe=function(e){return function(t,n,i){var r,o=EUe(t),a=CUe(o.length),s=FUe(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},DUe={includes:TUe(!0),indexOf:TUe(!1)},AUe=VQe,IUe=BQe,LUe=DUe.indexOf,$Ue=GNe,MUe=function(e,t){var n,i=IUe(e),r=0,o=[];for(n in i)!AUe($Ue,n)&&AUe(i,n)&&o.push(n);for(;t.length>r;)AUe(i,n=t[r++])&&(~LUe(o,n)||o.push(n));return o},zUe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],RUe=MUe,jUe=zUe.concat("length","prototype");vUe.f=Object.getOwnPropertyNames||function(e){return RUe(e,jUe)};var QUe={};QUe.f=Object.getOwnPropertySymbols;var NUe=vUe,UUe=QUe,BUe=dNe,qUe=gUe("Reflect","ownKeys")||function(e){var t=NUe.f(BUe(e)),n=UUe.f;return n?t.concat(n(e)):t},GUe=VQe,WUe=qUe,XUe=EQe,VUe=uNe,YUe=function(e,t){for(var n=WUe(t),i=VUe.f,r=XUe.f,o=0;o<n.length;o++){var a=n[o];GUe(e,a)||i(e,a,r(t,a))}},HUe=CQe,ZUe=/#|\.prototype\./,KUe=function(e,t){var n=eBe[JUe(e)];return n==nBe||n!=tBe&&("function"==typeof t?HUe(t):!!t)},JUe=KUe.normalize=function(e){return String(e).replace(ZUe,".").toLowerCase()},eBe=KUe.data={},tBe=KUe.NATIVE="N",nBe=KUe.POLYFILL="P",iBe=KUe,rBe=PQe,oBe=EQe.f,aBe=bNe,sBe=ONe.exports,lBe=xNe,uBe=YUe,cBe=iBe,dBe=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?rBe:u?rBe[s]||lBe(s,{}):(rBe[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=oBe(n,i))&&a.value:n[i],!cBe(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;uBe(o,r)}(e.sham||r&&r.sham)&&aBe(o,"sham",!0),sBe(n,i,o,e)}},pBe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},hBe=QQe,fBe=function(e){return Object(hBe(e))},mBe=pBe,gBe=fBe,vBe=jQe,yBe=xUe,bBe=function(e){return function(t,n,i,r){mBe(n);var o=gBe(t),a=vBe(o),s=yBe(o.length),l=e?s-1:0,u=e?-1:1;if(i<2)for(;;){if(l in a){r=a[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 a&&(r=n(r,a[l],l,o));return r}},OBe={left:bBe(!1),right:bBe(!0)},_Be=CQe,wBe=function(e,t){var n=[][e];return!!n&&_Be((function(){n.call(null,t||function(){throw 1},1)}))},xBe=FQe,kBe=CQe,SBe=VQe,PBe=Object.defineProperty,EBe={},CBe=function(e){throw e},FBe=dBe,TBe=OBe.left,DBe=function(e,t){if(SBe(EBe,e))return EBe[e];t||(t={});var n=[][e],i=!!SBe(t,"ACCESSORS")&&t.ACCESSORS,r=SBe(t,0)?t[0]:CBe,o=SBe(t,1)?t[1]:void 0;return EBe[e]=!!n&&!kBe((function(){if(i&&!xBe)return!0;var e={length:-1};i?PBe(e,1,{enumerable:!0,get:CBe}):e[1]=1,n.call(e,r,o)}))},ABe=wBe("reduce"),IBe=DBe("reduce",{1:0});FBe({target:"Array",proto:!0,forced:!ABe||!IBe},{reduce:function(e){return TBe(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var LBe=MUe,$Be=zUe,MBe=Object.keys||function(e){return LBe(e,$Be)},zBe=FQe,RBe=CQe,jBe=MBe,QBe=QUe,NBe=TQe,UBe=fBe,BBe=jQe,qBe=Object.assign,GBe=Object.defineProperty,WBe=!qBe||RBe((function(){if(zBe&&1!==qBe({b:1},qBe(GBe({},"a",{enumerable:!0,get:function(){GBe(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!=qBe({},e)[n]||jBe(qBe({},t)).join("")!=i}))?function(e,t){for(var n=UBe(e),i=arguments.length,r=1,o=QBe.f,a=NBe.f;i>r;)for(var s,l=BBe(arguments[r++]),u=o?jBe(l).concat(o(l)):jBe(l),c=u.length,d=0;c>d;)s=u[d++],zBe&&!a.call(l,s)||(n[s]=l[s]);return n}:qBe,XBe=WBe;dBe({target:"Object",stat:!0,forced:Object.assign!==XBe},{assign:XBe});var VBe=CQe,YBe=!!Object.getOwnPropertySymbols&&!VBe((function(){return!String(Symbol())})),HBe=YBe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ZBe=PQe,KBe=INe.exports,JBe=VQe,eqe=QNe,tqe=YBe,nqe=HBe,iqe=KBe("wks"),rqe=ZBe.Symbol,oqe=nqe?rqe:rqe&&rqe.withoutSetter||eqe,aqe=function(e){return JBe(iqe,e)||(tqe&&JBe(rqe,e)?iqe[e]=rqe[e]:iqe[e]=oqe("Symbol."+e)),iqe[e]},sqe=qQe,lqe=MQe,uqe=aqe("match"),cqe=function(e){var t;return sqe(e)&&(void 0!==(t=e[uqe])?!!t:"RegExp"==lqe(e))},dqe=cqe,pqe=function(e){if(dqe(e))throw TypeError("The method doesn't accept regular expressions");return e},hqe=aqe("match"),fqe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[hqe]=!1,"/./"[e](t)}catch(e){}}return!1},mqe=pqe,gqe=QQe;function vqe(e,t){var n=e||[],i=t||[],r=n.map((function(e){return e.id})),o=i.filter((function(e){return!r.includes(e.id)}));return n.concat(o)}dBe({target:"String",proto:!0,forced:!fqe("includes")},{includes:function(e){return!!~String(gqe(this)).indexOf(mqe(e),arguments.length>1?arguments[1]:void 0)}});var yqe,bqe=uNe,Oqe=dNe,_qe=MBe,wqe=FQe?Object.defineProperties:function(e,t){Oqe(e);for(var n,i=_qe(t),r=i.length,o=0;r>o;)bqe.f(e,n=i[o++],t[n]);return e},xqe=gUe("document","documentElement"),kqe=dNe,Sqe=wqe,Pqe=zUe,Eqe=GNe,Cqe=xqe,Fqe=KQe,Tqe=qNe("IE_PROTO"),Dqe=function(){},Aqe=function(e){return"<script>"+e+"</"+"script>"},Iqe=function(){try{yqe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Iqe=yqe?function(e){e.write(Aqe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(yqe):((t=Fqe("iframe")).style.display="none",Cqe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Aqe("document.F=Object")),e.close(),e.F);for(var n=Pqe.length;n--;)delete Iqe.prototype[Pqe[n]];return Iqe()};Eqe[Tqe]=!0;var Lqe=Object.create||function(e,t){var n;return null!==e?(Dqe.prototype=kqe(e),n=new Dqe,Dqe.prototype=null,n[Tqe]=e):n=Iqe(),void 0===t?n:Sqe(n,t)},$qe=Lqe,Mqe=uNe,zqe=aqe("unscopables"),Rqe=Array.prototype;null==Rqe[zqe]&&Mqe.f(Rqe,zqe,{configurable:!0,value:$qe(null)});var jqe,Qqe,Nqe,Uqe=function(e){Rqe[zqe][e]=!0},Bqe={},qqe=!CQe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Gqe=VQe,Wqe=fBe,Xqe=qqe,Vqe=qNe("IE_PROTO"),Yqe=Object.prototype,Hqe=Xqe?Object.getPrototypeOf:function(e){return e=Wqe(e),Gqe(e,Vqe)?e[Vqe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Yqe:null},Zqe=Hqe,Kqe=bNe,Jqe=VQe,eGe=aqe("iterator"),tGe=!1;[].keys&&("next"in(Nqe=[].keys())?(Qqe=Zqe(Zqe(Nqe)))!==Object.prototype&&(jqe=Qqe):tGe=!0),null==jqe&&(jqe={}),Jqe(jqe,eGe)||Kqe(jqe,eGe,(function(){return this}));var nGe={IteratorPrototype:jqe,BUGGY_SAFARI_ITERATORS:tGe},iGe=uNe.f,rGe=VQe,oGe=aqe("toStringTag"),aGe=function(e,t,n){e&&!rGe(e=n?e:e.prototype,oGe)&&iGe(e,oGe,{configurable:!0,value:t})},sGe=nGe.IteratorPrototype,lGe=Lqe,uGe=LQe,cGe=aGe,dGe=Bqe,pGe=function(){return this},hGe=qQe,fGe=dNe,mGe=function(e){if(!hGe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},gGe=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 fGe(n),mGe(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),vGe=dBe,yGe=function(e,t,n){var i=t+" Iterator";return e.prototype=lGe(sGe,{next:uGe(1,n)}),cGe(e,i,!1),dGe[i]=pGe,e},bGe=Hqe,OGe=gGe,_Ge=aGe,wGe=bNe,xGe=ONe.exports,kGe=Bqe,SGe=nGe.IteratorPrototype,PGe=nGe.BUGGY_SAFARI_ITERATORS,EGe=aqe("iterator"),CGe="keys",FGe="values",TGe="entries",DGe=function(){return this},AGe=BQe,IGe=Uqe,LGe=Bqe,$Ge=rUe,MGe=function(e,t,n,i,r,o,a){yGe(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!PGe&&e in h)return h[e];switch(e){case CGe:case FGe:case TGe:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,f=h[EGe]||h["@@iterator"]||r&&h[r],m=!PGe&&f||c(r),g="Array"==t&&h.entries||f;if(g&&(s=bGe(g.call(new e)),SGe!==Object.prototype&&s.next&&(bGe(s)!==SGe&&(OGe?OGe(s,SGe):"function"!=typeof s[EGe]&&wGe(s,EGe,DGe)),_Ge(s,d,!0))),r==FGe&&f&&f.name!==FGe&&(p=!0,m=function(){return f.call(this)}),h[EGe]!==m&&wGe(h,EGe,m),kGe[t]=m,r)if(l={values:c(FGe),keys:o?m:c(CGe),entries:c(TGe)},a)for(u in l)(PGe||p||!(u in h))&&xGe(h,u,l[u]);else vGe({target:t,proto:!0,forced:PGe||p},l);return l},zGe="Array Iterator",RGe=$Ge.set,jGe=$Ge.getterFor(zGe),QGe=MGe(Array,"Array",(function(e,t){RGe(this,{type:zGe,target:AGe(e),index:0,kind:t})}),(function(){var e=jGe(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");LGe.Arguments=LGe.Array,IGe("keys"),IGe("values"),IGe("entries");var NGe=PQe,UGe={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},BGe=QGe,qGe=bNe,GGe=aqe,WGe=GGe("iterator"),XGe=GGe("toStringTag"),VGe=BGe.values;for(var YGe in UGe){var HGe=NGe[YGe],ZGe=HGe&&HGe.prototype;if(ZGe){if(ZGe[WGe]!==VGe)try{qGe(ZGe,WGe,VGe)}catch(e){ZGe[WGe]=VGe}if(ZGe[XGe]||qGe(ZGe,XGe,YGe),UGe[YGe])for(var KGe in BGe)if(ZGe[KGe]!==BGe[KGe])try{qGe(ZGe,KGe,BGe[KGe])}catch(e){ZGe[KGe]=BGe[KGe]}}}var JGe,eWe,tWe,nWe,iWe,rWe,oWe,aWe,sWe,lWe,uWe,cWe,dWe,pWe,hWe,fWe,mWe,gWe,vWe,yWe=function(e){var n=Xk().formatMessage,i=foe();return t.jsx(a.TooltipHost,mQe({},e,{className:HB(i,"lt-reach-tooltip"),role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||n({id:e.resourceKey},e.values||{}):null,calloutProps:mQe(mQe({},e.calloutProps),{calloutWidth:e.width,hidden:e.hidden}),dir:"auto"},{children:e.children}),void 0)},bWe=function(e){var t,n;return o.css(iWe||(iWe=OQe(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px\n ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?o.css(JGe||(JGe=OQe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):o.css(eWe||(eWe=OQe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),Nie),(null==e?void 0:e.color)?o.css(tWe||(tWe=OQe(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):o.css(nWe||(nWe=OQe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),null!==(t=null==e?void 0:e.blockPadding)&&void 0!==t?t:3,null!==(n=null==e?void 0:e.inlinePadding)&&void 0!==n?n:N7,U7)},OWe=function(e){var n=e.tooltipResourceKey,i=e.className,r=gQe(e,["tooltipResourceKey","className"]);return t.jsx(yWe,mQe({resourceKey:n,className:i},{children:t.jsx(_We,mQe({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},_We=y.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(rWe||(rWe=OQe(["\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"])),bWe(),6,15,ree,(function(e){return e.readOnly?"inherit":"pointer"})),wWe=y.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(oWe||(oWe=OQe(["\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})),xWe=function(e){var n=e.showDialog,i=e.onClose,r=e.onClosed,o=e.handleSave,s=e.titleResource,l=e.disableSave,u=e.saveButtonResourceId,c=e.children,d=e.className,p=Xk().formatMessage;return t.jsxs(wQe,mQe({hidden:!n,modalProps:{isBlocking:!0,onDismissed:r},dialogContentProps:{type:a.DialogType.normal,title:p({id:s})},onDismiss:i},{children:[t.jsx(kWe,mQe({className:d},{children:c}),void 0),t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,mQe({onClick:i,"data-button":"cancel"},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,mQe({disabled:l,onClick:o,"data-button":"save"},{children:t.jsx(hS,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)},kWe=y.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(aWe||(aWe=OQe(["\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"])),U7),SWe=y.default(xWe).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(sWe||(sWe=OQe(["\n width: 400px;\n"],["\n width: 400px;\n"]))),PWe=y.default(a.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(lWe||(lWe=OQe(["\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})),EWe=function(e){var n=e.checked,i=e.readOnly,r=e.onChange,o=e.className,a=e.iconName,s=e.activeIconName,l=e.tooltipResourceKey,u=e.ariaLabelResourceKey,c=Xk().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return t.jsx(CWe,mQe({className:o},{children:i?t.jsx(TWe,{},void 0):t.jsx(yWe,mQe({resourceKey:l},{children:t.jsx(FWe,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},CWe=y.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(uWe||(uWe=OQe(["\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"]))),FWe=y.default(PWe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(cWe||(cWe=OQe(["\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"])),nee,20),TWe=y.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(dWe||(dWe=OQe(["\n width: 22px;\n"],["\n width: 22px;\n"]))),DWe=o.css(pWe||(pWe=OQe(["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"],["\n color: var(--link-color, ",");\n text-decoration: underline;\n font-weight: var(--link-font-weight, normal);\n\n &:hover,\n &:visited {\n color: var(--link-color, ",");\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),AWe=y.default.a.withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})(hWe||(hWe=OQe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),DWe),IWe=y.default(r.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(fWe||(fWe=OQe(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),DWe),LWe=o.css(mWe||(mWe=OQe(["\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),$We=function(){var e=rre().hideNotification,n=i.useContext(ire),r=n.isNotificationBarVisible,o=gQe(n,["isNotificationBarVisible"]),a=Xk().formatMessage,s=o.messageId||o.text;return r?t.jsx(MWe,mQe({className:"notification-wrapper","data-notification-bar":!0},{children:t.jsx(zWe,mQe({messageBarType:o.messageBarType,className:o.className,actions:o.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:a({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&t.jsx(yWe,mQe({text:o.text,resourceKey:o.messageId,values:o.messageValues},{children:o.text||t.jsx(hS,{id:o.messageId,values:o.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},MWe=y.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(gWe||(gWe=OQe(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),zWe=y.default(a.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(vWe||(vWe=OQe(["\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"])),LWe,iee,nee,nee,iee,nee,ree,B7,20),RWe=function(e){var n,r=Xk().formatMessage,o=w6(),s=_6(),l=p9(),u=l.searchAccounts,c=l.getUserAvatarUrl,d=i.useRef(),p=zw();i.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===a.SelectionMode.multiple,m=e.selectedItems||[],g=h,v={defaultSelectedItems:(e.defaultSelectedItems||[]).map((function(e){return y(e)})),resolveDelay:500,onResolveSuggestions:function(e){return b(e,g)},onGetMoreResults:function(e){return b(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!==i6.Group?t.userPrincipalName:null,mail:X6(t.tertiaryText)?null:t.tertiaryText,type:t.accountType,authenticationType:t.authenticationType};var t}));e.onChange&&e.onChange(n)}(t)},pickerSuggestionsProps:{noResultsFoundText:r({id:"Generic.noResultsFound"}),searchForMoreText:g&&!e.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:e.disabled,pickerCalloutProps:{calloutMaxWidth:p.width<Z7?300:0,className:"lt-reach-picker-callout"},inputProps:{id:e.inputId,required:e.required,"aria-required":e.required,"aria-label":e.inputAriaLabelResourceKey?r({id:e.inputAriaLabelResourceKey}):null},removeButtonAriaLabel:r({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(y);return e.then((function(e){return O(e).map(y)}))}(e.onEmptyInputFocus())}),e.placeholderStringResourceKey&&0===m.length&&(v.inputProps.placeholder=r({id:e.placeholderStringResourceKey})),e.selectedItems&&(v.selectedItems=m.map((function(e){return y(e)}))),t.jsx(QWe,mQe({className:HB(e.className,"people-picker")},{children:t.jsx(a.NormalPeoplePicker,mQe({},v,{componentRef:d,itemLimit:f?void 0:1}),void 0)}),void 0);function y(e){var t=X6(e.mail)?null:e.mail,n=X6(e.userPrincipalName)?null:e.userPrincipalName,i=Ew(e.displayName||e.mail||e.userPrincipalName),r=e.type===i6.User?n:e.type===i6.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:Cw(i),key:r,accountType:e.type,authenticationType:e.authenticationType};return o.avatars&&c(e.userPrincipalName).subscribe((function(e){return a.imageUrl=e})),a}function b(t,n){return vQe(this,void 0,void 0,(function(){var i,r,o;return yQe(this,(function(a){switch(a.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&mw(t)&&{mail:t,userPrincipalName:t,displayName:t,type:i6.User},a.label=1;case 1:return a.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=a.sent(),i&&r.every((function(e){return!function(e,t){return(e.userPrincipalName||"").toLowerCase()===t.userPrincipalName.toLowerCase()||(e.mail||"").toLowerCase()===t.mail.toLowerCase()}(e,i)}))&&r.push(i),e.additionalSearch&&(o=e.additionalSearch(t))&&(r=r.concat(o)),[2,O(r).map(y)];case 3:return a.sent(),[2,i&&[i].map(y)];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 jWe,QWe=y.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(jWe||(jWe=OQe(["\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"]))),NWe=dBe,UWe=EQe.f,BWe=xUe,qWe=pqe,GWe=QQe,WWe=fqe,XWe="".startsWith,VWe=Math.min,YWe=WWe("startsWith"),HWe=!YWe&&!!function(){var e=UWe(String.prototype,"startsWith");return e&&!e.writable}();NWe({target:"String",proto:!0,forced:!HWe&&!YWe},{startsWith:function(e){var t=String(GWe(this));qWe(e);var n=BWe(VWe(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return XWe?XWe.call(t,i,n):t.slice(n,n+i.length)===i}});var ZWe=dNe,KWe=function(){var e=ZWe(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},JWe=ONe.exports,eXe=dNe,tXe=CQe,nXe=KWe,iXe="toString",rXe=RegExp.prototype,oXe=rXe.toString,aXe=tXe((function(){return"/a/b"!=oXe.call({source:"a",flags:"b"})})),sXe=oXe.name!=iXe;(aXe||sXe)&&JWe(RegExp.prototype,iXe,(function(){var e=eXe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in rXe)?nXe.call(e):n)}),{unsafe:!0});var lXe,uXe=function(e){var n=e.fileName,i=e.url;return t.jsx(cXe,mQe({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:t.jsx("span",{children:n},void 0)}),void 0)},cXe=y.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(lXe||(lXe=OQe(["\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}),N7),dXe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;return i?t.jsxs(gXe,mQe({className:"lt-reach-embedded-audio"},{children:[t.jsx(uXe,{fileName:n,url:i},void 0),t.jsxs("audio",mQe({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(hS,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0):null};function pXe(e){var t=dG.getType(e);return t&&t.toString().startsWith("audio/")}var hXe,fXe,mXe,gXe=y.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(hXe||(hXe=OQe(["\n width: 100%;\n"],["\n width: 100%;\n"])));y.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(fXe||(fXe=OQe(["\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"])),B7,N7),y.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(mXe||(mXe=OQe(["\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"])),B7,B7,20,(function(e){return e.theme.textColors.default}));var vXe,yXe,bXe,OXe,_Xe,wXe,xXe=function(e){var n=e.children,i=e.deleteButton,r=e.domIdentifier,o=e.backgroundColor,a=e.className;return t.jsxs(PXe,mQe({className:a},{children:[i&&t.jsx(SXe,{children:i},void 0),t.jsx(kXe,mQe({"data-attachment":r,backgroundColor:o},{children:n}),void 0)]}),void 0)},kXe=y.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(vXe||(vXe=OQe(["\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+";"})),SXe=y.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(yXe||(yXe=OQe(["\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),PXe=y.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(bXe||(bXe=OQe(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),U7),EXe=y.default(a.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(OXe||(OXe=OQe(["\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}));y.default.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(_Xe||(_Xe=OQe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),y.default(EXe).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(wXe||(wXe=OQe(["\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 CXe,FXe,TXe,DXe,AXe=function(e){var n=e.children,i=gQe(e,["children"]),r=foe();return t.jsx(a.FocusTrapCallout,mQe({},i,{className:HB(r,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},IXe=function(e){var n=Xk().formatMessage,r=i.useState(!1),o=r[0],s=r[1],l=i.useContext(Vie).theme.palette.accent;return t.jsxs(wQe,mQe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{showCloseButton:!e.hideCloseButton,type:e.hideCloseButton?a.DialogType.normal:a.DialogType.close,title:n({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[t.jsx(LXe,{children:t.jsx(hS,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues},void 0)},void 0),t.jsx($Xe,{"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(a.DialogFooter,{children:[t.jsx(a.DefaultButton,mQe({onClick:e.onCancel,disabled:e.disabled},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(MXe,mQe({onClick:e.onConfirm,"data-delete-button":!0,disabled:!o||e.disabled},{children:t.jsx(hS,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},LXe=y.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(CXe||(CXe=OQe(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),$Xe=y.default(a.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(FXe||(FXe=OQe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),U7),MXe=y.default(a.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(TXe||(TXe=OQe(["\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})),zXe=function(e){var n=e.showDialog,r=e.titleResourceKey,o=e.titleResourceValues,s=e.infoResourceKey,l=e.infoResourceValues,u=e.onConfirm,c=e.onClose,d=e.width,p=e.children,h=Xk().formatMessage,f=i.useContext(Vie).theme.palette.accent;return t.jsxs(wQe,mQe({hidden:!n,modalProps:{isBlocking:!0,styles:{scrollableContent:{width:d}}},dialogContentProps:{type:a.DialogType.normal,subText:s?h({id:s},l):"",title:h({id:r},o),titleProps:{style:{color:f}}},onDismiss:c},{children:[p,t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,mQe({onClick:c,"data-cancel-button":!0},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,mQe({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:t.jsx(hS,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)},RXe=function(e){var n=e.onConfirm,r=e.onCancel,o=Xk().formatMessage,s=i.useContext(Vie).theme.palette.accent;return t.jsx(wQe,mQe({modalProps:{isBlocking:!0},hidden:!1,dialogContentProps:{type:a.DialogType.close,title:o({id:"Events.editor.recurrence.resetDialogTitle"}),titleProps:{style:{color:s}}},onDismiss:r},{children:t.jsxs(jXe,{children:[t.jsx(hS,{id:"Events.editor.recurrence.resetDialogDescription",tagName:"span"},void 0),t.jsxs(a.DialogFooter,{children:[t.jsx(a.PrimaryButton,mQe({onClick:n},{children:t.jsx(hS,{id:"Events.editor.recurrence.reset"},void 0)}),void 0),t.jsx(a.DefaultButton,mQe({onClick:r},{children:t.jsx(hS,{id:"Generic.Cancel"},void 0)}),void 0)]},void 0)]},void 0)}),void 0)},jXe=y.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(DXe||(DXe=OQe(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"]))),QXe=function(e){var n=e.value,r=i.useContext(PS).language,o=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=mQe(mQe({},qXe),n||{}),r=(+e-+t)/1e3;if(Math.abs(r)<i.second)return{value:Math.round(r),unit:"second"};var o=r/60;if(Math.abs(o)<i.minute)return{value:Math.round(o),unit:"minute"};var a=r/NXe;if(Math.abs(a)<i.hour)return{value:Math.round(a),unit:"hour"};var s=r/UXe;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/BXe;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),a=o.value,s=o.unit;return t.jsx(nS,mQe({locale:r},{children:t.jsx(cS,{value:a,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)},NXe=3600,UXe=86400,BXe=604800;var qXe={second:45,minute:45,hour:22,day:6,week:4,month:12},GXe=function(e){return rs(e).isSame(new Date,"day")};var WXe,XXe,VXe,YXe,HXe,ZXe,KXe,JXe,eVe,tVe=function(e){var n,r=(n=e.value,i.useMemo((function(){var e=rs(n),t=e.toDate(),i={dateTime:t.toISOString(),title:e.format("LLLL")};return{date:t,timeProps:i}}),[n])),o=r.date,a=r.timeProps,s=!e.showAsAbsolute&&(e.showAsRelative||GXe(e.value));return!e.showWeekDay&&s?t.jsx(iVe,mQe({className:HB(e.className)},a,{dir:"auto"},{children:t.jsx(QXe,{value:o},void 0)}),void 0):t.jsxs(iVe,mQe({className:HB(e.className)},a,{dir:"auto"},{children:[t.jsx(fS,{weekday:e.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:o},void 0)," ",t.jsx(mS,{value:o},void 0)]}),void 0)},nVe=function(e){var n=e.startDate,i=e.endDate,r=e.className;if(!n)return null;if(!i)return t.jsx("div",mQe({className:r,dir:"auto"},{children:t.jsx(tVe,{value:n,showWeekDay:!0},void 0)}),void 0);var o=rs(n),a=rs(i);return o.isSame(a,"d")?t.jsxs("div",mQe({className:r,dir:"auto"},{children:[t.jsx(tVe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(mS,{value:a.toDate()},void 0)]}),void 0):t.jsxs("div",mQe({className:r,dir:"auto"},{children:[t.jsx(tVe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(tVe,{value:i,showWeekDay:!0},void 0)]}),void 0)},iVe=y.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(WXe||(WXe=OQe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"]))),rVe=y.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(XXe||(XXe=OQe(["\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}),Nie),oVe=function(e){var n,i=e.children,r=gQe(e,["children"]);return t.jsx(a.Dropdown,mQe({},r,{calloutProps:mQe(mQe({},r.calloutProps||{}),{className:HB(wJ,"lt-reach-dropdown",null===(n=r.calloutProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)},aVe=function(e){var n=e.svg,i=e.icon,r=e.styleDefinition,o=e.emptyMessageResources,s=void 0===o?["EmptySearchResult.info1","EmptySearchResult.info2"]:o,l=e.additionalButton,u=e.className,c=(null==r?void 0:r.size)||"large";return t.jsx(sVe,mQe({className:u,offset:null==r?void 0:r.offset,"data-nothing-found":!0},{children:t.jsxs(lVe,mQe({hasLargeParagraphStyle:!i,hasLargeSvgStyle:"large"===c},{children:[i&&t.jsx(a.Icon,{iconName:i},void 0),!i&&n,s.map((function(e,n){return t.jsx("p",{children:t.jsx(hS,{id:e},void 0)},n)})),l]}),void 0)}),void 0)},sVe=y.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(HXe||(HXe=OQe(["\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?o.css(VXe||(VXe=OQe(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):o.css(YXe||(YXe=OQe(["\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 "])))})),lVe=y.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(JXe||(JXe=OQe(["\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"])),U7,ree,N7,(function(e){return!e.hasLargeSvgStyle&&o.css(ZXe||(ZXe=OQe(["\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 "])),nee,e.theme.palette.neutralSecondary,B7)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&o.css(KXe||(KXe=OQe(["\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,U7,(function(e){return e.theme.palette.accent}),B7,B7,W7)}),(function(e){return e.theme.palette.accent}),3,K7,24,B7,B7),uVe=function(e,t){return null!=e&&(e&t)===t};y.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(eVe||(eVe=OQe(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var cVe=dBe,dVe=pBe,pVe=fBe,hVe=CQe,fVe=wBe,mVe=[],gVe=mVe.sort,vVe=hVe((function(){mVe.sort(void 0)})),yVe=hVe((function(){mVe.sort(null)})),bVe=fVe("sort");cVe({target:"Array",proto:!0,forced:vVe||!yVe||!bVe},{sort:function(e){return void 0===e?gVe.call(pVe(this)):gVe.call(pVe(this),dVe(e))}});var OVe=function(e){var n=e.languages,i=e.translations,r=e.onChange,o=e.placeholderStringResource,a=e.customPlaceholder,s=Xk(),l=s.formatMessage;return t.jsx(t.Fragment,{children:M9.apply(void 0,bQe([s],n)).sort((function(e,t){return e.localizedName<t.localizedName?-1:1})).map((function(e){return t.jsx(PVe,{children:t.jsx(EVe,{"data-translation-field":e.code,placeholder:null!=a?a:l({id:o},{lang:e.localizedName}),label:e.localizedName,value:i[e.code],onChange:function(t,n){var o;r(mQe(mQe({},i),((o={})[e.code]=n,o)))},dir:"auto"},void 0)},e.code)}))},void 0)};y.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(_Ve||(_Ve=OQe(["\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 _Ve,wVe,xVe,kVe,SVe,PVe=y.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(wVe||(wVe=OQe(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),EVe=y.default(a.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(xVe||(xVe=OQe(["\n margin-top: 5px;\n flex: 1 1 auto;\n"],["\n margin-top: 5px;\n flex: 1 1 auto;\n"])));y.default.div.withConfig({displayName:"FieldTranslationEditor__Header",componentId:"sc-1s8zb6d-3"})(kVe||(kVe=OQe(["\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"]))),y.default.div.withConfig({displayName:"FieldTranslationEditor__Buttons",componentId:"sc-1s8zb6d-4"})(SVe||(SVe=OQe(["\n display: flex;\n"],["\n display: flex;\n"])));var CVe,FVe=function(e){var n=i.useState(null==e.delay),r=n[0],o=n[1];return i.useEffect((function(){if(null!=!e.delay){var t=setTimeout((function(){return o(!0)}),e.delay);return function(){return clearTimeout(t)}}}),[e.delay]),r?t.jsx(TVe,mQe({className:e.className},{children:t.jsx(a.Spinner,mQe({},e,{className:""}),void 0)}),void 0):null},TVe=y.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(CVe||(CVe=OQe(["\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"]))),DVe=PQe.Promise,AVe=ONe.exports,IVe=gUe,LVe=uNe,$Ve=FQe,MVe=aqe("species"),zVe=function(e){var t=IVe(e),n=LVe.f;$Ve&&t&&!t[MVe]&&n(t,MVe,{configurable:!0,get:function(){return this}})},RVe={exports:{}},jVe=Bqe,QVe=aqe("iterator"),NVe=Array.prototype,UVe=pBe,BVe=function(e,t,n){if(UVe(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)}},qVe={};qVe[aqe("toStringTag")]="z";var GVe="[object z]"===String(qVe),WVe=MQe,XVe=aqe("toStringTag"),VVe="Arguments"==WVe(function(){return arguments}()),YVe=GVe?WVe: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),XVe))?n:VVe?WVe(t):"Object"==(i=WVe(t))&&"function"==typeof t.callee?"Arguments":i},HVe=YVe,ZVe=Bqe,KVe=aqe("iterator"),JVe=dNe,eYe=dNe,tYe=function(e){return void 0!==e&&(jVe.Array===e||NVe[QVe]===e)},nYe=xUe,iYe=BVe,rYe=function(e){if(null!=e)return e[KVe]||e["@@iterator"]||ZVe[HVe(e)]},oYe=function(e,t,n,i){try{return i?t(JVe(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&JVe(r.call(e)),t}},aYe=function(e,t){this.stopped=e,this.result=t},sYe=RVe.exports=function(e,t,n,i,r){var o,a,s,l,u,c,d,p=iYe(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=rYe(e)))throw TypeError("Target is not iterable");if(tYe(a)){for(s=0,l=nYe(e.length);l>s;s++)if((u=i?p(eYe(d=e[s])[0],d[1]):p(e[s]))&&u instanceof aYe)return u;return new aYe(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=oYe(o,p,d.value,i))&&u&&u instanceof aYe)return u;return new aYe(!1)};sYe.stop=function(e){return new aYe(!0,e)};var lYe=aqe("iterator"),uYe=!1;try{var cYe=0,dYe={next:function(){return{done:!!cYe++}},return:function(){uYe=!0}};dYe[lYe]=function(){return this},Array.from(dYe,(function(){throw 2}))}catch(e){}var pYe,hYe,fYe,mYe=dNe,gYe=pBe,vYe=aqe("species"),yYe=function(e,t){var n,i=mYe(e).constructor;return void 0===i||null==(n=mYe(i)[vYe])?t:gYe(n)},bYe=gUe("navigator","userAgent")||"",OYe=/(iphone|ipod|ipad).*applewebkit/i.test(bYe),_Ye=PQe,wYe=CQe,xYe=MQe,kYe=BVe,SYe=xqe,PYe=KQe,EYe=OYe,CYe=_Ye.location,FYe=_Ye.setImmediate,TYe=_Ye.clearImmediate,DYe=_Ye.process,AYe=_Ye.MessageChannel,IYe=_Ye.Dispatch,LYe=0,$Ye={},MYe="onreadystatechange",zYe=function(e){if($Ye.hasOwnProperty(e)){var t=$Ye[e];delete $Ye[e],t()}},RYe=function(e){return function(){zYe(e)}},jYe=function(e){zYe(e.data)},QYe=function(e){_Ye.postMessage(e+"",CYe.protocol+"//"+CYe.host)};FYe&&TYe||(FYe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return $Ye[++LYe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},pYe(LYe),LYe},TYe=function(e){delete $Ye[e]},"process"==xYe(DYe)?pYe=function(e){DYe.nextTick(RYe(e))}:IYe&&IYe.now?pYe=function(e){IYe.now(RYe(e))}:AYe&&!EYe?(fYe=(hYe=new AYe).port2,hYe.port1.onmessage=jYe,pYe=kYe(fYe.postMessage,fYe,1)):!_Ye.addEventListener||"function"!=typeof postMessage||_Ye.importScripts||wYe(QYe)||"file:"===CYe.protocol?pYe=MYe in PYe("script")?function(e){SYe.appendChild(PYe("script")).onreadystatechange=function(){SYe.removeChild(this),zYe(e)}}:function(e){setTimeout(RYe(e),0)}:(pYe=QYe,_Ye.addEventListener("message",jYe,!1)));var NYe,UYe,BYe,qYe,GYe,WYe,XYe,VYe,YYe={set:FYe,clear:TYe},HYe=PQe,ZYe=EQe.f,KYe=MQe,JYe=YYe.set,eHe=OYe,tHe=HYe.MutationObserver||HYe.WebKitMutationObserver,nHe=HYe.process,iHe=HYe.Promise,rHe="process"==KYe(nHe),oHe=ZYe(HYe,"queueMicrotask"),aHe=oHe&&oHe.value;aHe||(NYe=function(){var e,t;for(rHe&&(e=nHe.domain)&&e.exit();UYe;){t=UYe.fn,UYe=UYe.next;try{t()}catch(e){throw UYe?qYe():BYe=void 0,e}}BYe=void 0,e&&e.enter()},rHe?qYe=function(){nHe.nextTick(NYe)}:tHe&&!eHe?(GYe=!0,WYe=document.createTextNode(""),new tHe(NYe).observe(WYe,{characterData:!0}),qYe=function(){WYe.data=GYe=!GYe}):iHe&&iHe.resolve?(XYe=iHe.resolve(void 0),VYe=XYe.then,qYe=function(){VYe.call(XYe,NYe)}):qYe=function(){JYe.call(HYe,NYe)});var sHe=aHe||function(e){var t={fn:e,next:void 0};BYe&&(BYe.next=t),UYe||(UYe=t,qYe()),BYe=t},lHe={},uHe=pBe,cHe=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=uHe(t),this.reject=uHe(n)};lHe.f=function(e){return new cHe(e)};var dHe,pHe,hHe=dNe,fHe=qQe,mHe=lHe,gHe=PQe,vHe=bYe,yHe=PQe.process,bHe=yHe&&yHe.versions,OHe=bHe&&bHe.v8;OHe?pHe=(dHe=OHe.split("."))[0]+dHe[1]:vHe&&(!(dHe=vHe.match(/Edge\/(\d+)/))||dHe[1]>=74)&&(dHe=vHe.match(/Chrome\/(\d+)/))&&(pHe=dHe[1]);var _He,wHe,xHe,kHe,SHe=pHe&&+pHe,PHe=dBe,EHe=PQe,CHe=gUe,FHe=DVe,THe=ONe.exports,DHe=function(e,t,n){for(var i in t)AVe(e,i,t[i],n);return e},AHe=aGe,IHe=zVe,LHe=qQe,$He=pBe,MHe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},zHe=MQe,RHe=FNe,jHe=RVe.exports,QHe=function(e,t){if(!t&&!uYe)return!1;var n=!1;try{var i={};i[lYe]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},NHe=yYe,UHe=YYe.set,BHe=sHe,qHe=function(e,t){if(hHe(e),fHe(t)&&t.constructor===e)return t;var n=mHe.f(e);return(0,n.resolve)(t),n.promise},GHe=function(e,t){var n=gHe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},WHe=lHe,XHe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},VHe=rUe,YHe=iBe,HHe=SHe,ZHe=aqe("species"),KHe="Promise",JHe=VHe.get,eZe=VHe.set,tZe=VHe.getterFor(KHe),nZe=FHe,iZe=EHe.TypeError,rZe=EHe.document,oZe=EHe.process,aZe=CHe("fetch"),sZe=WHe.f,lZe=sZe,uZe="process"==zHe(oZe),cZe=!!(rZe&&rZe.createEvent&&EHe.dispatchEvent),dZe="unhandledrejection",pZe=YHe(KHe,(function(){if(!(RHe(nZe)!==String(nZe))){if(66===HHe)return!0;if(!uZe&&"function"!=typeof PromiseRejectionEvent)return!0}if(HHe>=51&&/native code/.test(nZe))return!1;var e=nZe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[ZHe]=t,!(e.then((function(){}))instanceof t)})),hZe=pZe||!QHe((function(e){nZe.all(e).catch((function(){}))})),fZe=function(e){var t;return!(!LHe(e)||"function"!=typeof(t=e.then))&&t},mZe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;BHe((function(){for(var r=t.value,o=1==t.state,a=0;i.length>a;){var s,l,u,c=i[a++],d=o?c.ok:c.fail,p=c.resolve,h=c.reject,f=c.domain;try{d?(o||(2===t.rejection&&bZe(e,t),t.rejection=1),!0===d?s=r:(f&&f.enter(),s=d(r),f&&(f.exit(),u=!0)),s===c.promise?h(iZe("Promise-chain cycle")):(l=fZe(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&&vZe(e,t)}))}},gZe=function(e,t,n){var i,r;cZe?((i=rZe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),EHe.dispatchEvent(i)):i={promise:t,reason:n},(r=EHe["on"+e])?r(i):e===dZe&&GHe("Unhandled promise rejection",n)},vZe=function(e,t){UHe.call(EHe,(function(){var n,i=t.value;if(yZe(t)&&(n=XHe((function(){uZe?oZe.emit("unhandledRejection",i,e):gZe(dZe,e,i)})),t.rejection=uZe||yZe(t)?2:1,n.error))throw n.value}))},yZe=function(e){return 1!==e.rejection&&!e.parent},bZe=function(e,t){UHe.call(EHe,(function(){uZe?oZe.emit("rejectionHandled",e):gZe("rejectionhandled",e,t.value)}))},OZe=function(e,t,n,i){return function(r){e(t,n,r,i)}},_Ze=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,mZe(e,t,!0))},wZe=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw iZe("Promise can't be resolved itself");var r=fZe(n);r?BHe((function(){var i={done:!1};try{r.call(n,OZe(wZe,e,i,t),OZe(_Ze,e,i,t))}catch(n){_Ze(e,i,n,t)}})):(t.value=n,t.state=1,mZe(e,t,!1))}catch(n){_Ze(e,{done:!1},n,t)}}};pZe&&(nZe=function(e){MHe(this,nZe,KHe),$He(e),_He.call(this);var t=JHe(this);try{e(OZe(wZe,this,t),OZe(_Ze,this,t))}catch(e){_Ze(this,t,e)}},(_He=function(e){eZe(this,{type:KHe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=DHe(nZe.prototype,{then:function(e,t){var n=tZe(this),i=sZe(NHe(this,nZe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=uZe?oZe.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&mZe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),wHe=function(){var e=new _He,t=JHe(e);this.promise=e,this.resolve=OZe(wZe,e,t),this.reject=OZe(_Ze,e,t)},WHe.f=sZe=function(e){return e===nZe||e===xHe?new wHe(e):lZe(e)},"function"==typeof FHe&&(kHe=FHe.prototype.then,THe(FHe.prototype,"then",(function(e,t){var n=this;return new nZe((function(e,t){kHe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof aZe&&PHe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return qHe(nZe,aZe.apply(EHe,arguments))}}))),PHe({global:!0,wrap:!0,forced:pZe},{Promise:nZe}),AHe(nZe,KHe,!1),IHe(KHe),xHe=CHe(KHe),PHe({target:KHe,stat:!0,forced:pZe},{reject:function(e){var t=sZe(this);return t.reject.call(void 0,e),t.promise}}),PHe({target:KHe,stat:!0,forced:pZe},{resolve:function(e){return qHe(this,e)}}),PHe({target:KHe,stat:!0,forced:hZe},{all:function(e){var t=this,n=sZe(t),i=n.resolve,r=n.reject,o=XHe((function(){var n=$He(t.resolve),o=[],a=0,s=1;jHe(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=sZe(t),i=n.reject,r=XHe((function(){var r=$He(t.resolve);jHe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var xZe={},kZe=CQe;function SZe(e,t){return RegExp(e,t)}xZe.UNSUPPORTED_Y=kZe((function(){var e=SZe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),xZe.BROKEN_CARET=kZe((function(){var e=SZe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var PZe=KWe,EZe=xZe,CZe=RegExp.prototype.exec,FZe=String.prototype.replace,TZe=CZe,DZe=function(){var e=/a/,t=/b*/g;return CZe.call(e,"a"),CZe.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),AZe=EZe.UNSUPPORTED_Y||EZe.BROKEN_CARET,IZe=void 0!==/()??/.exec("")[1];(DZe||IZe||AZe)&&(TZe=function(e){var t,n,i,r,o=this,a=AZe&&o.sticky,s=PZe.call(o),l=o.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),IZe&&(n=new RegExp("^"+l+"$(?!\\s)",s)),DZe&&(t=o.lastIndex),i=CZe.call(a?n:o,c),a?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:DZe&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),IZe&&i&&i.length>1&&FZe.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var LZe=TZe;dBe({target:"RegExp",proto:!0,forced:/./.exec!==LZe},{exec:LZe});var $Ze,MZe=ONe.exports,zZe=CQe,RZe=aqe,jZe=LZe,QZe=bNe,NZe=RZe("species"),UZe=!zZe((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),BZe="$0"==="a".replace(/./,"$0"),qZe=RZe("replace"),GZe=!!/./[qZe]&&""===/./[qZe]("a","$0"),WZe=!zZe((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]})),XZe=function(e,t,n,i){var r=RZe(e),o=!zZe((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!zZe((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[NZe]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!UZe||!BZe||GZe)||"split"===e&&!WZe){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===jZe?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:BZe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:GZe}),u=l[0],c=l[1];MZe(String.prototype,e,u),MZe(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&QZe(RegExp.prototype[r],"sham",!0)},VZe=OUe,YZe=QQe,HZe=function(e){return function(t,n){var i,r,o=String(YZe(t)),a=VZe(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},ZZe={codeAt:HZe(!1),charAt:HZe(!0)}.charAt,KZe=function(e,t,n){return t+(n?ZZe(e,t).length:1)},JZe=MQe,eKe=LZe,tKe=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"!==JZe(e))throw TypeError("RegExp#exec called on incompatible receiver");return eKe.call(e,t)},nKe=XZe,iKe=cqe,rKe=dNe,oKe=QQe,aKe=yYe,sKe=KZe,lKe=xUe,uKe=tKe,cKe=LZe,dKe=CQe,pKe=[].push,hKe=Math.min,fKe=4294967295,mKe=!dKe((function(){return!RegExp(fKe,"y")}));nKe("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(oKe(this)),r=void 0===n?fKe:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!iKe(e))return t.call(i,e,r);for(var o,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(o=cKe.call(d,i))&&!((a=d.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&pKe.apply(l,o.slice(1)),s=o[0].length,c=a,l.length>=r));)d.lastIndex===o.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=oKe(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=rKe(e),s=String(this),l=aKe(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(mKe?"y":"g"),d=new l(mKe?a:"^(?:"+a.source+")",c),p=void 0===r?fKe:r>>>0;if(0===p)return[];if(0===s.length)return null===uKe(d,s)?[s]:[];for(var h=0,f=0,m=[];f<s.length;){d.lastIndex=mKe?f:0;var g,v=uKe(d,mKe?s:s.slice(f));if(null===v||(g=hKe(lKe(d.lastIndex+(mKe?0:f)),s.length))===h)f=sKe(s,f,u);else{if(m.push(s.slice(h,f)),m.length===p)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===p)return m;f=h=g}}return m.push(s.slice(h)),m}]}),!mKe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}($Ze||($Ze={}));var gKe=function(e){var n=e.fileName,i=e.url,r=e.onPlay;if(!i)return null;var o="safari"===sg?i+"#t=0.1":i;return t.jsxs("div",mQe({className:"lt-reach-embedded-video"},{children:[t.jsx(uXe,{fileName:n,url:i},void 0),t.jsxs("video",mQe({onPlay:function(){return null==r?void 0:r(i)},preload:"metadata",controls:!0,title:n,width:"auto",height:"auto"},{children:[t.jsx("source",{src:o,type:"video/mp4"},void 0),t.jsx(hS,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]}),void 0)};function vKe(e){var t,n="mac"===as.deviceInfo.operatingSystem,i=null===(t=dG.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith($Ze.mp4)||(n?i.startsWith($Ze.quicktime):i.startsWith($Ze.webm)))}var yKe,bKe,OKe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},_Ke=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 "},wKe=function(e,t,n){return o.css(bKe||(bKe=OQe(["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "],["\n display: block;\n display: -webkit-box;\n max-height: ","px;\n font-size: ","px;\n line-height: ",";\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n "])),t*n*e,t,n,e)};function xKe(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 kKe(e){return vQe(this,void 0,void 0,(function(){return yQe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(xKe))];case 1:return[2,t.sent()]}}))}))}function SKe(e){return pXe(e)?"MusicInCollectionFill":vKe(e)?"Video":CKe(null==e?void 0:e.split(".").pop().toLowerCase())}function PKe(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 EKe(e){switch(e){case"VisioDocument":case"WordDocument":case"ExcelDocument":case"PowerPointDocument":return-55;default:return-50}}function CKe(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 FKe(){var e=aB(),t=oB(),n=t.createApiUrl,r=t.fetchFromApi,o=i.useContext(_S).identifier,a=Im(),s=zee().interaction,l=null==o?void 0:o.id;return i.useMemo((function(){return{exchangeShortLivedToken:function(e){return vQe(this,void 0,void 0,(function(){var t;return yQe(this,(function(n){switch(n.label){case 0:return e?[4,r("/file_access_token/types/short_lived",{method:"POST",headers:{authorization:"Bearer "+e,"subscription-id":l}})]:[2,null];case 1:return[2,200!==(t=n.sent()).status?null:t.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 vQe(r,void 0,void 0,(function(){var r;return yQe(this,(function(o){switch(o.label){case 0:return[4,t()];case 1:return r=o.sent(),window.open(r,"ios"===a.deviceInfo.operatingSystem?"_self":e),s({event:fee.downloadFile,action:mee.click,value:Iee(r),item:{id:n,type:"content",parentId:i}}),[2]}}))}))}}}}),[l,r,n,e,module])}var TKe,DKe,AKe,IKe,LKe,$Ke,MKe,zKe,RKe,jKe,QKe,NKe,UKe,BKe,qKe,GKe,WKe,XKe,VKe=function(e){var n=e.files,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,a=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&&pXe(e.filename)})),p=n.filter((function(e){return r&&vKe(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(HKe,mQe({className:c,"data-preload-video":"safari"===sg},{children:p.map((function(e){return t.jsx(ZKe,{children:t.jsx(gKe,{fileName:e.filename,url:r(e.id),onPlay:function(t){return a(t,e.id)}},void 0)},e.id)}))}),void 0),d.length>0&&t.jsx(YKe,mQe({className:c},{children:d.map((function(e){return t.jsx(KKe,{children:t.jsx(dXe,{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(YKe,mQe({className:c},{children:h.map((function(e){return t.jsx(KKe,{children:t.jsx(JKe,{attachment:e,disabled:l,getFileUrl:r,fileAccessToken:o,onDeleteClick:i,parentId:u},void 0)},e.id)}))}),void 0)]},void 0)},YKe=y.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(TKe||(TKe=OQe(["\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"]))),HKe=y.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(DKe||(DKe=OQe(["\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),ZKe=y.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(AKe||(AKe=OQe(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),N7),KKe=y.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(IKe||(IKe=OQe(["\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"])),N7,W7,5),JKe=function(e){var n=e.attachment,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,s=e.disabled,l=e.parentId,u=Xk().formatMessage,c=!s&&i,d=FKe(),p=d.exchangeShortLivedToken,h=d.createDownloadClickHandler;return t.jsxs(eJe,{children:[n.isUploadInProgress&&t.jsx(sJe,{children:t.jsx(lJe,{size:a.SpinnerSize.medium},void 0)},void 0),t.jsx(nJe,mQe({takeFullWidth:!c},{children:function(){var e=this;if(n.hasError)return t.jsxs(iJe,{children:[t.jsx(uJe,{iconName:"Warning"},void 0),t.jsx(aJe,mQe({title:n.filename},{children:n.filename}),void 0)]},void 0);var i=SKe(n.filename);if(r)return t.jsxs(tJe,mQe({title:n.filename,onClick:h("_blank",(function(){return vQe(e,void 0,void 0,(function(){var e;return yQe(this,(function(t){switch(t.label){case 0:return[4,p(o)];case 1:return e=t.sent(),[2,r(n.id,e)]}}))}))}),n.id,l)},{children:[t.jsx(rJe,{iconName:i},void 0),t.jsx(aJe,{children:n.filename},void 0)]}),void 0);return t.jsxs(iJe,{children:[t.jsx(rJe,{iconName:i},void 0),t.jsx(aJe,mQe({title:n.filename},{children:n.filename}),void 0)]},void 0)}()}),void 0),c&&t.jsx(oJe,{iconProps:{iconName:"Delete"},onClick:function(){return i(n)},disabled:n.isUploadInProgress,ariaLabel:u({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},eJe=y.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(LKe||(LKe=OQe(["\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})),tJe=y.default(a.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})($Ke||($Ke=OQe(["\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}),N7,(function(e){return e.theme.textColors.default})),nJe=y.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(RKe||(RKe=OQe(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?o.css(MKe||(MKe=OQe(["\n width: 100%;\n "],["\n width: 100%;\n "]))):o.css(zKe||(zKe=OQe(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),iJe=y.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(jKe||(jKe=OQe(["\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"])),N7),rJe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(QKe||(QKe=OQe(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),N7),oJe=y.default(a.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(NKe||(NKe=OQe(["\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})),aJe=y.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(UKe||(UKe=OQe(["\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"]))),sJe=y.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(BKe||(BKe=OQe(["\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"]))),lJe=y.default(FVe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(qKe||(qKe=OQe(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),uJe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(GKe||(GKe=OQe(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),cJe=function(e){var n,i=e.children,r=gQe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(dJe,{},void 0),t.jsx(wQe,mQe({},r,{modalProps:mQe(mQe({},r.modalProps||{}),{className:HB({"lt-reach-dialog-mobile-full-height":as.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},dJe=o.createGlobalStyle(WKe||(WKe=OQe(['\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"}(XKe||(XKe={}));var pJe=function(e){var n=e.className,i=e.offsetTop,r=void 0===i?0:i,o=e.positionBottomOnMobile,a=e.domIdentifier,s=e.offsetRight,l=void 0===s?0:s,u=e.children;return t.jsxs(mJe,mQe({offsetTop:r,offsetRight:l,className:n,positionBottomOnMobile:o,"data-fab":a},{children:[t.jsx(vJe,{},void 0),u]}),void 0)},hJe=function(e){var n=e.iconName,i=e.onClick,r=e.tooltipResourceKey,o=e.useSecondaryBgColor,a=e.domIdentifier,s=e.className,l=Xk().formatMessage;return t.jsxs(yWe,mQe({className:s,resourceKey:r},{children:[t.jsx(vJe,{},void 0),t.jsx(yJe,{"data-fab":a,iconProps:{iconName:n},onClick:i,ariaLabel:l({id:r}),useSecondaryBgColor:o},void 0)]}),void 0)},fJe=function(e){var n=e.iconName,r=e.tooltipResourceKey,o=e.titleResourceKey,s=e.showCloseButton,l=e.useSecondaryBgColor,u=e.children,c=e.domIdentifier,d=e.useMobileFullHeight,p=Xk().formatMessage,h=i.useState(!1),f=h[0],m=h[1],g=i.useRef(null),v=as.isAnyMobileApp;return t.jsxs(t.Fragment,{children:[t.jsx("div",mQe({ref:g},{children:t.jsx(hJe,{"data-fab":c,tooltipResourceKey:r,iconName:n,onClick:function(){return m(!f)},useSecondaryBgColor:l},void 0)}),void 0),f&&v&&d&&t.jsxs(cJe,mQe({hidden:!f,modalProps:{isBlocking:!1,className:"dialog-mobile-full-height"},dialogContentProps:{showCloseButton:!0,type:a.DialogType.close,title:p({id:o})},onDismiss:function(){return m(!1)}},{children:[t.jsx(LJe,{},void 0),u]}),void 0),f&&v&&!d&&t.jsxs(wQe,mQe({hidden:!f},{children:[u,t.jsx(a.DialogFooter,{children:t.jsx(a.DefaultButton,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)},void 0)]}),void 0),f&&!v&&t.jsx(AXe,mQe({target:g.current,directionalHint:a.DirectionalHint.bottomRightEdge,onDismiss:function(){return m(!1)}},{children:t.jsxs(AJe,{children:[u,s&&t.jsx(IJe,{text:p({id:"Generic.close"}),onClick:function(){return m(!1)}},void 0)]},void 0)}),void 0)]},void 0)},mJe=y.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(_Je||(_Je=OQe(["\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?o.css(bJe||(bJe=OQe(["\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 "])),X7,e.offsetTop+20):o.css(OJe||(OJe=OQe(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)})),gJe=function(e){return o.css(kJe||(kJe=OQe(["\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?o.css(wJe||(wJe=OQe(["\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})):o.css(xJe||(xJe=OQe(["\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})))},vJe=o.createGlobalStyle(SJe||(SJe=OQe(["\n ","\n"],["\n ","\n"])),(function(e){return bJ("\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 ")})),yJe=y.default(a.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(PJe||(PJe=OQe(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return gJe(e.useSecondaryBgColor)}));y.default(yWe).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(EJe||(EJe=OQe(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return gJe(e.useSecondaryBgColor)}));var bJe,OJe,_Je,wJe,xJe,kJe,SJe,PJe,EJe,CJe,FJe,TJe,DJe,AJe=y.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(CJe||(CJe=OQe(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),U7),IJe=y.default(a.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(FJe||(FJe=OQe(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),LJe=o.createGlobalStyle(TJe||(TJe=OQe(["\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"])),Z7),$Je=function(e){var n=e.tagName,r=void 0===n?"div":n,o=e.id,a=e.values,s=e.dir,l=e.className;return i.createElement(r,{className:l,dir:s},t.jsx(hS,{id:o,values:a},void 0))},MJe=function(e){var n=e.icon,i=e.resourceKey,r=e.className,o=e.values,s="string"==typeof n?t.jsx(a.Icon,{iconName:n},void 0):n;return t.jsxs(zJe,mQe({className:r},{children:[s,t.jsx(hS,{id:i,values:o,tagName:"span"},void 0)]}),void 0)},zJe=y.default.div(DJe||(DJe=OQe(["\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,ree),RJe={},jJe=new bq;var QJe=new bq;function NJe(e){var t=i.useRef(!0);i.useEffect((function(){t.current||QJe.next(),t.current=!1}),e)}var UJe,BJe,qJe,GJe,WJe=function(e){var n=e.groupName,r=e.groupId,o=e.keywordName,a=e.keywordId,s=e.language,l=e.underlined,u=e.onClick,c=e.tabIndex,d=_6(),p=Q9(i.useContext(Ore).selectedKeywordGroups,d,r,o,n,s);return u?t.jsx(VJe,mQe({onClick:function(){return u(a)},tabIndex:c},{children:t.jsx(YJe,mQe({underlined:!0,dir:"auto"},{children:p}),void 0)}),void 0):t.jsx(YJe,mQe({underlined:l,dir:"auto"},{children:p}),void 0)},XJe=function(e){var n=e.groupId,r=e.keywordName,o=_6(),a=Q9(i.useContext(Ore).selectedKeywordGroups,o,n,r);return NJe([a]),t.jsx(YJe,mQe({underlined:!0},{children:a}),void 0)},VJe=y.default(EXe).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(UJe||(UJe=OQe(["\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})),YJe=y.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(qJe||(qJe=OQe(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&o.css(BJe||(BJe=OQe(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),HJe=function(e){var n=e.modified,i=Xk();return n?t.jsxs(ZJe,mQe({className:"ms-fontColor-neutralTertiary"},{children:["(",t.jsx(yWe,mQe({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(hS,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},ZJe=y.default.div(GJe||(GJe=OQe(["\n font-size: ","px;\n"],["\n font-size: ","px;\n"])),oee);function KJe(){return KJe=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},KJe.apply(this,arguments)}var JJe=function(e){return m.createElement("svg",KJe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),m.createElement("path",{d:"M303.95 99.623c0-6.623-5.377-12-12-12h-223c-6.623 0-12 5.377-12 12s5.377 12 12 12h223c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M109.95 111.623h231.857c6.113 0 11.143 5.417 11.143 12s-5.03 12-11.143 12H109.95c6.113 0 11.143-5.417 11.143-12s-5.03-12-11.143-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M328.95 147.623c0-6.623-5.377-12-12-12h-229c-6.623 0-12 5.377-12 12s5.377 12 12 12h229c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M72.95 159.623h181c-6.583 0-12 5.417-12 12s5.417 12 12 12h-181c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M354.95 195.623c0-6.623-5.377-12-12-12h-249c-6.623 0-12 5.377-12 12s5.377 12 12 12h249c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m287.318 41.85-140.914-4.921-6.98 199.878 140.914 4.921 6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m281.417 34.091-140.914 4.921 6.98 199.878 140.914-4.921-6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M270.614 121.843a3.922 3.922 0 0 0 2.186-5.094l-12.336-30.881a3.921 3.921 0 0 0-5.094-2.187 3.922 3.922 0 0 0-2.186 5.095l12.335 30.881a3.923 3.923 0 0 0 5.095 2.186Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M257.614 132.166c-13.771-34.474-20.534-54.646-13.585-57.422l.021-.008c6.947-2.729 15.939 16.546 29.696 50.986l-16.132 6.444Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m257.875 130.779 14.726-5.882c15.927 39.871 28.772 71.236 21.136 74.286-7.636 3.05-19.935-28.532-35.862-68.404ZM94.857 6.66c6.969 3.252 17.655 10.686 17.655 10.686-4.646 6.505-6.504 16.262-6.504 16.262 10.686 5.111 6.04 13.009 6.04 13.009-6.04 1.394-20.444-2.323-20.444-2.323-3.252 11.615-16.261 3.717-16.261 3.717 1.858-11.616 2.787-24.16 2.787-24.16-6.04-6.97-4.646-18.585-4.646-18.585C81.847 8.518 94.857 6.66 94.857 6.66Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M80.314 30.738c5.111 11.615 13.939 13.938 13.939 13.938 5.576 3.717 23.231-16.726 23.231-16.726 2.788 7.434-.929 19.514-.929 19.514-.929 6.04-6.969 13.474-6.969 13.474-5.111 3.717-21.373 2.323-21.373 2.323-9.757-5.575-14.868-8.828-14.868-8.828 1.859-9.757 6.505-14.403 6.505-14.403l.464-9.292Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M65.554 32.465c-2.788 10.222-2.323 17.191-2.323 17.191 5.111 7.898 18.585 14.403 18.585 14.403l8.828-12.545c4.181-3.252 14.867 2.323 14.867 2.323 6.505 2.788 13.01-13.009 13.01-13.009-10.686-10.222-15.333-14.868-15.333-14.868-5.11-7.434-6.504-13.938-6.504-13.938l-4.647-7.899c-4.646 4.646-4.181 26.019-4.181 26.019C90.179 34.788 71.594 32 71.594 32l-6.04.465Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m59.887 23.474-5.555 9.305 5.4 7.121 10.694 3.229c8.278-1.275 12.592-3.061 12.592-3.061 3.727-7.798 5.745-9.934 5.745-9.934l5.045-5.341 5.483-4.521.042-5.822-6.7-1.679c-6.172 2.254-12.943 5.358-12.943 5.358-3.685 1.976-14.171 6.016-14.171 6.016l-5.632-.671Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M102.724 12.771c-5.576 4.646-20.908 16.726-20.908 16.726-5.576 3.717-12.08 10.222-12.08 10.222l2.787 7.898c4.647 4.182 11.616 6.969 11.616 6.969 9.292 3.253 18.12 1.859 18.12 1.859 7.899-12.545 10.686-19.514 10.686-19.514 3.253-9.757 5.576-19.514 5.576-19.514-6.04-2.788-15.797-4.646-15.797-4.646Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M86.898 11.688c-6.505 2.323-17.191 6.04-17.191 6.04l-6.04 9.293-.465 13.474c6.505.929 18.12 3.717 18.12 3.717-.929-6.505-2.323-12.081-2.323-12.081l-.465-6.969 8.364-13.474Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function e0e(){return e0e=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},e0e.apply(this,arguments)}var t0e=function(e){return m.createElement("svg",e0e({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),m.createElement("path",{d:"M341.375 39.358c0-6.623-5.377-12-12-12h-248.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h248.5c6.623 0 12-5.377 12-12ZM394.625 63.358c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h337.75c6.623 0 12-5.377 12-12ZM384.625 135.309c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h327.75c6.623 0 12-5.377 12-12ZM151.75 75.358H16c-6.623 0-12 5.377-12 12s5.377 12 12 12h135.75c-6.623 0-12-5.377-12-12s5.377-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M58.688 99.358h153.75c6.623 0 12 5.377 12 12s-5.377 12-12 12H58.688c6.623 0 12-5.377 12-12s-5.377-12-12-12ZM368.778 98.309c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M198.494 11.655 94.626 18.918a5.483 5.483 0 0 0-5.084 5.849l8.792 125.734a5.483 5.483 0 0 0 5.849 5.084l103.867-7.263-9.556-136.667ZM202.138 11.4l103.867-7.263a5.483 5.483 0 0 1 5.849 5.084l8.792 125.734a5.483 5.483 0 0 1-5.084 5.849l-103.867 7.263L202.138 11.4Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m195.257 43.926.191 2.733-3.645.255-.509-7.289 3.644-.255.191 2.734 5.467-.383-1.465-20.955-91.112 6.371 8.283 118.445 91.111-6.371-1.465-20.956-5.467.382.191 2.734-3.644.255-.51-7.289 3.645-.255.191 2.733 5.466-.382-5.097-72.889-5.466.382ZM209.835 42.907l.191 2.733 3.644-.255-.509-7.289-3.645.255.191 2.733-5.466.383-1.466-20.956 91.112-6.371 8.282 118.445-91.111 6.371L209.592 118l5.467-.382.191 2.733 3.645-.254-.51-7.289-3.645.255.192 2.733-5.467.382-5.097-72.889 5.467-.382Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m193.498 44.964 18.223-1.274M198.723 119.676l18.222-1.274M193.243 41.32l18.223-1.274M198.468 116.032l18.222-1.275",style:{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeMiterlimit:1.5}}),m.createElement("path",{d:"m123.999 46.162 60.133-4.205M124.954 59.829l60.134-4.205M125.91 73.496l60.134-4.205M126.866 87.162l60.133-4.205M127.821 100.829l60.134-4.205M128.777 114.496l60.134-4.205M129.733 128.163l60.133-4.205M282.087 28.698l-57.401 4.014 2.74 39.178 57.4-4.014-2.739-39.178ZM285.591 78.81l-57.4 4.014 2.739 39.178 57.401-4.014-2.74-39.178Z",style:{fill:"none",stroke:"currentColor",strokeOpacity:.2,strokeWidth:2}}))};function n0e(){return n0e=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},n0e.apply(this,arguments)}var i0e=function(e){return m.createElement("svg",n0e({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),m.createElement("path",{d:"M306.436 12c0-6.623-5.377-12-12-12h-153.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.5c6.623 0 12-5.377 12-12ZM372.436 60c0-6.623-5.377-12-12-12H50.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h309.75c6.623 0 12-5.377 12-12ZM343.325 72.049h-153.75c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.75c-6.623 0-12-5.377-12-12s5.377-12 12-12ZM282.436 36c0-6.623-5.377-12-12-12H74.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h195.75c6.623 0 12-5.377 12-12ZM282.436 132c0-6.623-5.377-12-12-12h-129.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h129.5c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M356.686 108c0-6.623-5.377-12-12-12H68.936c-6.623 0-12 5.377-12 12s5.377 12 12 12h275.75c6.623 0 12-5.377 12-12ZM392.95 108c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m324.66 39.281-87.775-6.288-7.646 106.726 87.775 6.288 7.646-106.726Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m319.316 43.911-77.801-5.574-5.574 77.801 77.801 5.573 5.574-77.8Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M314.299 74.522 227.54 59.795l-17.906 105.491 86.759 14.727 17.906-105.491Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m308.533 78.615-76.9-13.053-13.054 76.9 76.9 13.053 13.054-76.9Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M240.587 19.16 93.266 33.322l10.047 104.518 147.321-14.162L240.587 19.16Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m168.075 38.186 7.654 79.633M186.507 83.631l41.808-4.019M187.751 96.571l41.808-4.019M188.995 109.511l41.808-4.018",style:{fill:"none",stroke:"currentColor",strokeWidth:1}}),m.createElement("path",{d:"m232.394 27.985-17.918 1.722 2.105 21.899 17.918-1.722-2.105-21.899Z",style:{fill:"currentColor",fillOpacity:.2}}))};function r0e(){return r0e=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},r0e.apply(this,arguments)}var o0e,a0e,s0e,l0e,u0e,c0e,d0e,p0e,h0e,f0e,m0e,g0e=function(e){return m.createElement("svg",r0e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),m.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),m.createElement("path",{d:"M248 12c0-6.623-5.377-12-12-12H136c-6.623 0-12 5.377-12 12s5.377 12 12 12h100c6.623 0 12-5.377 12-12ZM320 36c0-6.623-5.377-12-12-12H62c-6.623 0-12 5.377-12 12s5.377 12 12 12h246c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M105 48h245c6.583 0 12 5.417 12 12s-5.417 12-12 12H105c6.583 0 12-5.417 12-12s-5.417-12-12-12ZM36 72h268c-6.583 0-12 5.417-12 12s5.417 12 12 12H36c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),m.createElement("path",{d:"M320 108c0-6.623-5.377-12-12-12H142c-6.623 0-12 5.377-12 12s5.377 12 12 12h166c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m290.483 107.633-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M259.221 66.661 122.533 78.619l.608 6.951 136.688-11.959-.608-6.95ZM233.685 81.664l-110.046 9.628.608 6.951 110.046-9.628-.608-6.951Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.222 31.003a1.175 1.175 0 0 0-.465-.814.774.774 0 0 0-.814-.233L235.71 34.84l5.814-9.3c.581.233 1.279.465 1.86.7 2.907.93 6.047.814 7.907-1.163 1.977-1.977 2.093-5 1.163-7.907a23.214 23.214 0 0 0-5.7-8.953 22.876 22.876 0 0 0-8.837-5.7 11.406 11.406 0 0 0-3.372-.581h-1.047a6.055 6.055 0 0 0-3.6 1.628c-1.977 1.977-2.093 5-1.163 7.907.233.581.465 1.279.7 1.86l-12.093 7.558a21.654 21.654 0 0 0-8.14-1.86c-3.372 0-6.512.93-8.721 3.256-3.14 3.14-3.837 7.791-2.791 12.558.233 1.047.581 2.093.93 3.256l-94.188 8.253a1.115 1.115 0 0 0-1.049 1.281l6.4 73.256c.036.324.204.619.465.814.267.198.602.282.93.233l6.86-1.4c.233 0 .349-.116.581-.233l6.86-6.279c.443-.348.96-.588 1.512-.7.44-.036.881.044 1.279.233l21.86 9.535a.703.703 0 0 0 .465.116h.233l22.555-5.345c.349-.116.581-.233.7-.581l6.86-12.558a2.665 2.665 0 0 1 2.907-1.279l16.633 4.188h.116l18.372 2.209c10.7 1.047 23.372 2.093 25.93 2.093a.701.701 0 0 0 .465-.116c2.558-.93 13.14-7.326 19.884-11.512a1.768 1.768 0 0 1 1.512-.349l12.791.814a2.477 2.477 0 0 1 1.744.814l8.14 8.488c.322.359.851.456 1.279.233l7.442-3.256c.472-.179.762-.662.7-1.163l-6.636-74.885Zm-1.739 76.63-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"#fff"}}),m.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"currentColor",fillOpacity:.2}}))},v0e=function(e){var n=e.images,i=e.selectedIndex,r=e.hidden,o=e.onClose,s=e.imageUrlResolver,l=Mw((function(){return vQe(this,void 0,void 0,(function(){var e;return yQe(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}):xKe(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(a.Layer,{children:t.jsx(y0e,{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:i,hidden:r,onClose:o},void 0)},void 0)},y0e=function(e){var n=e.images,r=e.hidden,o=e.selectedIndex,a=e.onClose,s=Xk().formatMessage,l=i.useRef(null),u=i.useRef();return i.useEffect((function(){var e;if(!r)return clearTimeout(u.current),u.current=setTimeout((function(){return e=function(){var e=new goe(l.current,yoe,n.map((function(e){return{src:e.large,msrc:e.thumbnail,w:e.width,h:e.height,title:e.caption}})),{index:o});return e.listen("close",a),e.init(),e}()}),200),function(){return null==e?void 0:e.close()}}),[r,o]),t.jsxs(t.Fragment,{children:[t.jsx(b0e,{enforceArrowVisibility:!as.isNativeMobileApp},void 0),t.jsxs("div",mQe({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[t.jsx("div",{className:"pswp__bg"},void 0),t.jsxs("div",mQe({className:"pswp__scroll-wrap"},{children:[t.jsxs("div",mQe({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",mQe({className:"pswp__ui pswp__ui--hidden"},{children:[t.jsxs("div",mQe({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",mQe({className:"pswp__preloader"},{children:t.jsx("div",mQe({className:"pswp__preloader__icn"},{children:t.jsx("div",mQe({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",mQe({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",mQe({className:"pswp__caption"},{children:t.jsx("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},b0e=o.createGlobalStyle(a0e||(a0e=OQe(["\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&&o.css(o0e||(o0e=OQe(["\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 "])))})),O0e=function(e){var n=e.images,r=e.imageUrlResolver,o=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,u=Xk().formatMessage,c=i.useState(null),d=c[0],p=c[1],h=i.useContext(Vie).theme.palette;if(!n||0===n.length)return null;var f=n.length>4,m=n.length>1,g=n[0];return t.jsxs(w0e,mQe({"data-multi-images":m,className:l,singleImageHeight:g.height,singleImageWidth:g.width},{children:[t.jsx("div",mQe({"data-gallery-wrapper":!0},{children:m?t.jsxs(t.Fragment,{children:[t.jsx(k0e,mQe({backgroundColor:null!=s?s:h.neutralLight,applyRoundedCorners:!o},{children:n.slice(0,4).map((function(e,n){return t.jsx(S0e,mQe({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(P0e,{src:e.previewUrl,imageFit:a.ImageFit.centerCover,alt:e.imageTitle||""},void 0)}),n)}))}),void 0),f&&t.jsxs(E0e,mQe({onClick:function(){return v(4)}},{children:["+",n.length-4]}),void 0)]},void 0):t.jsx(_0e,{image:g,onClick:function(){return v(0)},disableRoundedCorners:o},void 0)}),void 0),t.jsx(v0e,{images:n,selectedIndex:d,hidden:null==d,onClose:function(){p(null)},imageUrlResolver:r},void 0)]}),void 0);function v(e){p(e)}},_0e=function(e){var n=e.image,i=e.onClick,r=e.disableRoundedCorners,o=Xk().formatMessage;return t.jsx(x0e,mQe({href:n.previewUrl,onClick:function(e){e.stopPropagation(),e.preventDefault(),i()},applyRoundedCorners:!r,"aria-label":o({id:"AriaLabel.viewImage"}),"data-clickable-overlay":!0},{children:t.jsx("img",{src:n.previewUrl,alt:""},void 0)}),void 0)},w0e=y.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(l0e||(l0e=OQe(["\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&&o.css(s0e||(s0e=OQe(["\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)})),x0e=y.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(c0e||(c0e=OQe(["\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&&o.css(u0e||(u0e=OQe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),k0e=y.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(p0e||(p0e=OQe(["\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&&o.css(d0e||(d0e=OQe(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),S0e=y.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(h0e||(h0e=OQe(["\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"]))),P0e=y.default(a.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(f0e||(f0e=OQe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),E0e=y.default(a.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(m0e||(m0e=OQe(["\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"])),nee,W7,28);var C0e,F0e,T0e,D0e,A0e,I0e,L0e=function(e){var n=e.icon,i=e.isActive,r=e.disabled,o=e.tooltipResourceKey,s=e.onClick,l=e.link,u=e.className,c=gQe(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=Xk().formatMessage;if(!l&&!s)return null;var p=HB("header-button",u),h=l?t.jsx(z0e,mQe({className:p,to:l},c,{children:t.jsx(a.Icon,{iconName:n},void 0)}),void 0):t.jsx(M0e,mQe({className:p,disabled:r,onClick:function(e){return s(e.currentTarget)},iconProps:{iconName:n},ariaLabel:d({id:o}),"data-button-type":"header-btn",isActive:i},c),void 0);return t.jsx($0e,mQe({className:"tooltip-container"},{children:t.jsx(yWe,mQe({resourceKey:o},{children:h}),void 0)}),void 0)},$0e=y.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(C0e||(C0e=OQe(["\n height: 100%;\n"],["\n height: 100%;\n"]))),M0e=y.default(a.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(D0e||(D0e=OQe(['\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&&o.css(F0e||(F0e=OQe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&o.css(T0e||(T0e=OQe(["\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)})),z0e=y.default(r.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(I0e||(I0e=OQe(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return o.css(A0e||(A0e=OQe(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),R0e="\t\n\v\f\r \u2028\u2029\ufeff",j0e=QQe,Q0e="[\t\n\v\f\r \u2028\u2029\ufeff]",N0e=RegExp("^"+Q0e+Q0e+"*"),U0e=RegExp(Q0e+Q0e+"*$"),B0e=function(e){return function(t){var n=String(j0e(t));return 1&e&&(n=n.replace(N0e,"")),2&e&&(n=n.replace(U0e,"")),n}},q0e={start:B0e(1),end:B0e(2),trim:B0e(3)},G0e=CQe,W0e=R0e,X0e=q0e.trim,V0e=function(e){return G0e((function(){return!!W0e[e]()||"
"!="
"[e]()||W0e[e].name!==e}))};dBe({target:"String",proto:!0,forced:V0e("trim")},{trim:function(){return X0e(this)}});var Y0e,H0e,Z0e,K0e,J0e,e1e,t1e,n1e,i1e,r1e,o1e,a1e,s1e,l1e,u1e,c1e,d1e,p1e=function(e){var n=e.url,r=e.target,o=e.ariaLabel,a=e.children,s=e.className,l=e.style,u=gQe(e,["url","target","ariaLabel","children","className","style"]);w6();var c=$ne(),d=i.useContext(yS);d.onOpenExternalLink;var p=d.tryGetInternalLink,h=!r&&p(n,c);return h?t.jsx(IWe,mQe({className:s,to:h,"data-link":j7.Internal,"aria-label":o,style:l,dir:"auto"},u,{children:a}),void 0):t.jsx(h1e,mQe({url:n,target:r,className:s,ariaLabel:o,style:l},u,{children:a}),void 0)},h1e=function(e){var n=e.url,i=e.target,r=e.ariaLabel,o=e.onClick,a=e.className,s=e.children,l=e.style,u=gQe(e,["url","target","ariaLabel","onClick","className","children","style"]);return t.jsx(AWe,mQe({href:n,onClick:function(e){return null==o?void 0:o(e)},className:a,target:void 0===i?"_blank":i,rel:"noopener noreferrer","aria-label":r,"data-link":j7.External,style:l,dir:"auto"},u,{children:s}),void 0)},f1e=o.css(Y0e||(Y0e=OQe(["\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"]))),m1e=y.default(p1e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(H0e||(H0e=OQe(["\n ","\n"],["\n ","\n"])),f1e),g1e=y.default(h1e).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(Z0e||(Z0e=OQe(["\n ","\n"],["\n ","\n"])),f1e),v1e=y.default(a.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(J0e||(J0e=OQe(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&o.css(K0e||(K0e=OQe(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),y1e=y.default((function(e){var n,i=e.iconName,r=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=gQe(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),m=Xk().formatMessage,g=r||(null===(n=null==o?void 0:o.trim())||void 0===n?void 0:n.length)>0&&m({id:o});return t.jsxs(yWe,mQe({resourceKey:d,text:c},{children:[l&&!s&&t.jsx(m1e,mQe({url:l,ariaLabel:g,target:u},f,{children:t.jsx(a.Icon,{iconName:i,className:h},void 0)}),void 0),s&&!l&&t.jsx(v1e,mQe({disabled:p,iconProps:{iconName:i},onClick:s,className:h,ariaLabel:g},f),void 0),s&&l&&t.jsx(g1e,mQe({url:l,target:u,ariaLabel:g,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:t.jsx(a.Icon,{iconName:i,className:h},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(t1e||(t1e=OQe(["\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&&o.css(e1e||(e1e=OQe(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),b1e=function(e){var n=e.shouldAutoFocus,o=void 0===n||n,a=Xk(),s=i.useState(null),l=s[0],u=s[1],c=r.useLocation(),d=i.useContext(Vie).theme.textColors,p=i.useRef();return i.useEffect((function(){return Wre(f),o&&setTimeout((function(){var e;return p&&(null===(e=p.current)||void 0===e?void 0:e.focus())})),function(){Xre(f)}}),[]),i.useEffect((function(){u("")}),[c.pathname]),t.jsxs(w1e,mQe({className:HB("search-field",e.className),useLightTheme:e.useLightTheme},{children:[t.jsx(O1e,{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||a.formatMessage({id:"TopBar.search"}),componentRef:function(e){return p.current=e},ariaLabel:a.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),e.searching&&t.jsx(_1e,{className:"search-spinner"},void 0),t.jsx(x1e,{"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)}},O1e=y.default(a.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(r1e||(r1e=OQe(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?o.css(n1e||(n1e=OQe(["\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}),_Ke("color: "+e.theme.textColors.default)):o.css(i1e||(i1e=OQe(["\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}),_Ke("color: "+e.theme.textColors.onPrimary))})),_1e=y.default(a.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(o1e||(o1e=OQe(["\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})),w1e=y.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(l1e||(l1e=OQe(["\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"])),_Ke("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?o.css(a1e||(a1e=OQe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):o.css(s1e||(s1e=OQe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),x1e=y.default(PWe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(u1e||(u1e=OQe(["\n align-self: center;\n"],["\n align-self: center;\n"]))),k1e=function(e){var n=e.onSearchInputFieldVisibilityChanged,r=e.isToolbarMode,o=e.onExecuteSearch,a=e.onSearchTextChange,s=e.searchText,l=e.showSearchBoxInput,u=e.className,c=e.shouldAutoFocus,d=i.useState(!!s),p=d[0],h=d[1],f=l||p||!!s;return i.useEffect((function(){null==n||n(f)}),[f]),t.jsxs(t.Fragment,{children:[f&&t.jsx(b1e,{onChange:a,onExecuteSearch:o,searchText:s,onClear:function(){null==a||a(""),m(!1)},shouldAutoFocus:c,className:u,useLightTheme:r},void 0),!f&&(r?t.jsx(y1e,{iconName:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):t.jsx(L0e,{icon:"Search",onClick:function(){return m(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function m(e){h(e),null==n||n(e)}},S1e=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},P1e=dNe,E1e=QQe,C1e=S1e,F1e=tKe;XZe("search",1,(function(e,t,n){return[function(t){var n=E1e(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=P1e(e),o=String(this),a=r.lastIndex;C1e(a,0)||(r.lastIndex=0);var s=F1e(r,o);return C1e(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]})),y.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(c1e||(c1e=OQe(["\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"}(d1e||(d1e={})),y.default(a.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(T1e||(T1e=OQe(["\n position: absolute;\n right: 0;\n"],["\n position: absolute;\n right: 0;\n"]))),y.default.span.withConfig({displayName:"SortableTable__Title",componentId:"sc-6tqdpa-1"})(I1e||(I1e=OQe(["\n position: relative;\n padding: 0 5px;\n ","\n"],["\n position: relative;\n padding: 0 5px;\n ","\n"])),(function(e){return e.orderBy?o.css(D1e||(D1e=OQe(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):o.css(A1e||(A1e=OQe(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),y.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(L1e||(L1e=OQe(["\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"})),y.default.td.withConfig({displayName:"SortableTable__Cell",componentId:"sc-6tqdpa-3"})($1e||($1e=OQe(["\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 T1e,D1e,A1e,I1e,L1e,$1e,M1e,z1e,R1e,j1e=y.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(M1e||(M1e=OQe(["\n :nth-child(odd) {\n background: ",";\n }\n"],["\n :nth-child(odd) {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.neutralLighterAlt}));y.default.table.withConfig({displayName:"SortableTable__Table",componentId:"sc-6tqdpa-5"})(z1e||(z1e=OQe(["\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"}),j1e,(function(e){return e.isLoading?"0.6":"1"})),y.default(FVe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(R1e||(R1e=OQe(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var Q1e,N1e,U1e=function(e){return t.jsx(B1e,mQe({},e,{"data-toggle-button":!0}),void 0)},B1e=y.default(a.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(Q1e||(Q1e=OQe(["\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})),q1e=function(e){return o.css(N1e||(N1e=OQe(["\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 G1e(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[$9(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}var W1e=XZe,X1e=dNe,V1e=fBe,Y1e=xUe,H1e=OUe,Z1e=QQe,K1e=KZe,J1e=tKe,e2e=Math.max,t2e=Math.min,n2e=Math.floor,i2e=/\$([$&'`]|\d\d?|<[^>]*>)/g,r2e=/\$([$&'`]|\d\d?)/g,o2e=function(e){return void 0===e?e:String(e)};W1e("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=Z1e(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var u=X1e(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=J1e(u,c);if(null===m)break;if(f.push(m),!p)break;""===String(m[0])&&(u.lastIndex=K1e(c,Y1e(u.lastIndex),h))}for(var g="",v=0,y=0;y<f.length;y++){m=f[y];for(var b=String(m[0]),O=e2e(t2e(H1e(m.index),c.length),0),_=[],w=1;w<m.length;w++)_.push(o2e(m[w]));var x=m.groups;if(d){var k=[b].concat(_,O,c);void 0!==x&&k.push(x);var S=String(i.apply(void 0,k))}else S=s(b,c,O,_,x,i);O>=v&&(g+=c.slice(v,O)+S,v=O+b.length)}return g+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=r2e;return void 0!==o&&(o=V1e(o),u=i2e),t.call(a,u,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=o[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var d=n2e(c/10);return 0===d?t:d<=l?void 0===r[d-1]?a.charAt(1):r[d-1]+a.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var a2e=qQe,s2e=gGe,l2e=FQe,u2e=PQe,c2e=iBe,d2e=function(e,t,n){var i,r;return s2e&&"function"==typeof(i=t.constructor)&&i!==n&&a2e(r=i.prototype)&&r!==n.prototype&&s2e(e,r),e},p2e=uNe.f,h2e=vUe.f,f2e=cqe,m2e=KWe,g2e=xZe,v2e=ONe.exports,y2e=CQe,b2e=rUe.set,O2e=zVe,_2e=aqe("match"),w2e=u2e.RegExp,x2e=w2e.prototype,k2e=/a/g,S2e=/a/g,P2e=new w2e(k2e)!==k2e,E2e=g2e.UNSUPPORTED_Y;if(l2e&&c2e("RegExp",!P2e||E2e||y2e((function(){return S2e[_2e]=!1,w2e(k2e)!=k2e||w2e(S2e)==S2e||"/a/i"!=w2e(k2e,"i")})))){for(var C2e=function(e,t){var n,i=this instanceof C2e,r=f2e(e),o=void 0===t;if(!i&&r&&e.constructor===C2e&&o)return e;P2e?r&&!o&&(e=e.source):e instanceof C2e&&(o&&(t=m2e.call(e)),e=e.source),E2e&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=d2e(P2e?new w2e(e,t):w2e(e,t),i?this:x2e,C2e);return E2e&&n&&b2e(a,{sticky:n}),a},F2e=function(e){e in C2e||p2e(C2e,e,{configurable:!0,get:function(){return w2e[e]},set:function(t){w2e[e]=t}})},T2e=h2e(w2e),D2e=0;T2e.length>D2e;)F2e(T2e[D2e++]);x2e.constructor=C2e,C2e.prototype=x2e,v2e(u2e,"RegExp",C2e)}O2e("RegExp");var A2e,I2e=W7-q7,L2e=X7-q7;function $2e(e){return!!e&&B2e.test(e)}function M2e(e){return e?"https://www.google.com/maps/search/?api=1&"+Xm.stringify({query:e}):null}function z2e(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}y.default.div.withConfig({displayName:"ListItemsContainer",componentId:"sc-1ml8hli-0"})(A2e||(A2e=OQe(["\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"])),N7,Z7,U7,10,10,W7,U7,I2e,X7,L2e);var R2e,j2e,Q2e,N2e,U2e,B2e=new RegExp("^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~#+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),q2e=y.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(j2e||(j2e=OQe(["\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,aee,(function(e){return e.showPlaceholder&&o.css(R2e||(R2e=OQe(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),W7,I2e,aee,X7,(function(e){return e.defaultWidth||250}));y.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(N2e||(N2e=OQe(["\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&&o.css(Q2e||(Q2e=OQe(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.palette.redDark}))})),y.default(a.Icon).withConfig({displayName:"VerificationStatusIcon__StatusIcon",componentId:"sc-b3nb8-1"})(U2e||(U2e=OQe(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),N7);var G2e,W2e,X2e,V2e,Y2e,H2e,Z2e,K2e,J2e,e3e,t3e=function(e){var n=e.enterDuration,i=e.leaveDuration,r=e.children,o=e.style,a=e.className,s=!!n,l=!!i,u="common-opacity-animation_"+n+"_"+i;return t.jsxs(t.Fragment,{children:[t.jsx(n3e,{name:u,enterDuration:n,leaveDuration:i},void 0),t.jsx(eae,mQe({style:o,className:a,transitionName:u,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:n,transitionEnterTimeout:n},{children:r}),void 0)]},void 0)},n3e=o.createGlobalStyle(G2e||(G2e=OQe(["\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})),i3e=function(e){var n=e.finalHeight,i=e.enterDuration,r=e.leaveDuration,o=e.children,a=e.style,s=e.className,l=!!i,u=!!r,c="common-ease-animation_"+i+"_"+r;return t.jsxs(t.Fragment,{children:[t.jsx(r3e,{name:c,enterDuration:i,leaveDuration:r,finalHeight:n},void 0),t.jsx(eae,mQe({style:a,className:s,transitionName:c,transitionAppear:l,transitionEnter:l,transitionLeave:u,transitionLeaveTimeout:r,transitionAppearTimeout:i,transitionEnterTimeout:i},{children:o}),void 0)]},void 0)},r3e=o.createGlobalStyle(W2e||(W2e=OQe(["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"],["\n ."," {\n &-enter, &-apear {\n height: 0;\n\n &-active {\n height: ",";\n transition: height ","ms ease-in;\n }\n }\n\n &-leave {\n height: ",";\n\n &-active {\n height: 0;\n transition: height ","ms ease-in;\n }\n }\n }\n"])),(function(e){return e.name}),(function(e){return"number"==typeof e.finalHeight?e.finalHeight+"px":e.finalHeight}),(function(e){return e.enterDuration}),(function(e){return"number"==typeof e.finalHeight?e.finalHeight+"px":e.finalHeight}),(function(e){return e.leaveDuration})),o3e=function(e){var n=e.contentLanguageCode,r=e.originalContent,o=e.content,a=e.onTranslate,s=e.onContentChange,l=e.itemType,u=e.itemId,c=e.tooltipResourceKey,d=e.showLabel,p=Xk().formatMessage,h=_6(),f=w6(),m=i.useState(null),g=m[0],v=m[1],y=i.useState(r===o),b=y[0],O=y[1],_=rre().showError,w=zee().interaction,x=$9(h);if(i.useEffect((function(){return v(null)}),[r]),!f.automaticTranslation)return null;var k=p({id:"Generic.translate"});return n&&n!==x&&I9.includes(x)&&!A9.includes(x)?t.jsx(yWe,mQe({resourceKey:b?"Generic.translateTo":c,values:{language:p({id:"Generic.languages."+x})}},{children:t.jsx(a3e,mQe({"aria-label":d?null:k,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return vQe(this,void 0,void 0,(function(){var e;return yQe(this,(function(t){switch(t.label){case 0:return b?g?(s(g),O(!1),[3,4]):[3,1]:(s(r),O(!0),w({event:fee.translateContent,value:null,action:mee.click,item:{id:u,type:l}}),[2]);case 1:return t.trys.push([1,3,,4]),[4,a(x)];case 2:return e=t.sent(),s(e),v(e),O(!1),[3,4];case 3:return t.sent(),_("Generic.error"),[3,4];case 4:return w({event:fee.translateContent,value:x,itemType:l,action:mee.click,itemId:u,item:{id:u,type:l}}),[2]}}))}))}},{children:d&&k}),void 0)}),void 0):null},a3e=y.default(EXe)(X2e||(X2e=OQe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),s3e=y.default(a.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(V2e||(V2e=OQe(["\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})),l3e=function(n){var r=n.comment,o=n.showEdit,a=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=Xk().formatMessage,y=_6(),b=i.useState(!1),O=b[0],_=b[1],w=i.useRef(null);return y.isPublicUser&&!f?null:y.isPublicUser&&f?t.jsx(o3e,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0):t.jsxs(t.Fragment,{children:[t.jsx("div",mQe({ref:w},{children:t.jsx(c3e,{"data-menu-button":r.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return _(!O)},ariaLabel:v({id:"AriaLabel.contextMenuButton"}),disabled:g},void 0)}),void 0),O&&t.jsx(p3e,mQe({"data-context-menu":!0,target:w.current,onDismiss:function(){return _(!1)}},{children:t.jsxs(u3e,{children:[t.jsx(yWe,mQe({resourceKey:"Comment.replyButton.tooltip",values:{name:r.sender.displayName}},{children:t.jsx(d3e,{"data-reply-button":r.id,iconProps:{iconName:"Reply"},onClick:function(){null==m||m(r,r.sender),_(!1)},text:v({id:"Comment.replyButton"})},void 0)}),void 0),f&&t.jsx(o3e,{"data-auto-translate-button":r.id,originalContent:c,onContentChange:function(e){_(!1),p(e)},content:d,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:r.contentLanguageCode,showLabel:!0,itemType:e.ItemResourceTypes.Comments,itemId:r.id},void 0),o&&t.jsx(yWe,mQe({resourceKey:"Comment.edit.tooltip"},{children:t.jsx(d3e,{"data-edit-button":r.id,iconProps:{iconName:"Edit"},onClick:function(){u(!0),_(!1)},text:v({id:"Generic.edit"}),disabled:!r.id||l},void 0)}),void 0),a&&t.jsx(yWe,mQe({resourceKey:"Comment.delete.tooltip"},{children:t.jsx(d3e,{"data-delete-button":r.id,iconProps:{iconName:"Delete"},onClick:function(){s(r),_(!1)},text:v({id:"Generic.Delete"}),disabled:!r.id||l},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},u3e=y.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(Y2e||(Y2e=OQe(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),c3e=y.default(PWe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(H2e||(H2e=OQe(["\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),d3e=y.default(EXe).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(Z2e||(Z2e=OQe(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),p3e=y.default(AXe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(K2e||(K2e=OQe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),N7);y.default(a.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(J2e||(J2e=OQe(["\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"]))),y.default(a.DefaultButton).withConfig({displayName:"DefaultGoHomeButton__StyledButton",componentId:"sc-1m1ufrk-0"})(e3e||(e3e=OQe(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var h3e,f3e,m3e,g3e,v3e,y3e=y.default(a.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(h3e||(h3e=OQe(["\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})),b3e=function(e){var n=e.toggleAll,r=e.className,o=i.useContext(Vie).theme.palette.accent;return t.jsxs(O3e,mQe({className:r},{children:[t.jsx(_3e,mQe({onClick:function(){return n(!0)},"data-button-toggle":"selectAll",color:o},{children:t.jsx(hS,{id:"Generic.SelectAll"},void 0)}),void 0),t.jsx(_3e,mQe({onClick:function(){return n(!1)},"data-button-toggle":"clearAll",color:o},{children:t.jsx(hS,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},O3e=y.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(f3e||(f3e=OQe(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),N7),_3e=y.default(EXe).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(m3e||(m3e=OQe(["\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"])));y.default((function(e){var n=e.iconName,i=e.textKey,o=gQe(e,["iconName","textKey"]);return t.jsxs(r.NavLink,mQe({},o,{children:[n&&t.jsx(a.Icon,{iconName:n},void 0),t.jsx(hS,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(g3e||(g3e=OQe(["\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"])),N7,(function(e){return e.theme.palette.accent})),y.default(PWe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(v3e||(v3e=OQe([""],[""])));var w3e,x3e,k3e,S3e,P3e=function(e){var n=e.language,r=e.channel,o=e.role,a=e.className,s=_6(),l=i.useContext(Ore).channels,u=F3e(function(){if(!l)return r;return l.find((function(e){return e.id===r.id||e.name===r.name}))}(),s,n);return t.jsx(E3e,mQe({title:u,className:a,role:o,dir:"auto"},{children:u}),void 0)},E3e=y.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(w3e||(w3e=OQe(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),C3e=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(P3e,{channel:e,language:i},void 0)]},e.id)}))},void 0)};function F3e(e,t,n){if(null==e)return null;n||(n=$9(t));var i=e.translations||{};return n&&i[n]||i[t.subscription.defaultLanguage]||e.name}y.default(P3e).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(x3e||(x3e=OQe(["\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"}),tee),y.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(k3e||(k3e=OQe(["\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"])),N7,15,OKe(2,2),tee),y.default(PWe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(S3e||(S3e=OQe(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),tee);var T3e,D3e,A3e,I3e,L3e,$3e,M3e,z3e,R3e,j3e=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.visibleChannelsCount,a=void 0===o?3:o,s=e.onChannelClick,l=e.className;if(!n||0===n.length)return null;var u=n.length>a;return t.jsxs(U3e,mQe({className:l,"data-has-more-indicator":u},{children:[t.jsx(Q3e,{channels:n.slice(0,a),language:i,channelStyleDefinition:r,onChannelClick:s},void 0),u&&t.jsx(N3e,{channels:n.slice(a),language:i,styleDefinition:r,onChannelClick:s},void 0)]}),void 0)},Q3e=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.onChannelClick;return t.jsx(B3e,mQe({"data-channels":!0},{children:n.map((function(e){var a=t.jsx(P3e,{channel:e,language:i},void 0);return o?t.jsx(q3e,mQe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color,onClick:function(){return o(e)},"data-rounded-outline":!0},{children:a}),e.id):t.jsx(G3e,mQe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:a}),e.id)}))}),void 0)},N3e=function(e){var n=e.channels,r=e.language,o=e.styleDefinition,a=e.onChannelClick,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return t.jsxs(X3e,mQe({ref:s},{children:[t.jsx(V3e,mQe({onClick:function(){return c(!0)},backgroundColor:null==o?void 0:o.backgroundColor,color:null==o?void 0:o.color,"data-channels-indicator":!0},{children:"+"+n.length}),void 0),u&&t.jsx(Y3e,mQe({target:s.current,onDismiss:function(){return c(!1)}},{children:t.jsx(H3e,{children:n.map((function(e){return t.jsx("li",{children:a?t.jsx(EXe,mQe({onClick:function(){return a(e)}},{children:t.jsx(P3e,{channel:e,language:r},void 0)}),void 0):t.jsx(P3e,{channel:e,language:r},void 0)},e.id)}))},void 0)}),void 0)]}),void 0)},U3e=y.default.div(T3e||(T3e=OQe(["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n gap: ","px;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n flex: 1;\n max-width: calc(100% - 52px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),6),B3e=y.default.div(D3e||(D3e=OQe(["\n display: flex;\n align-items: center;\n gap: ","px;\n"],["\n display: flex;\n align-items: center;\n gap: ","px;\n"])),6),q3e=y.default(EXe)(A3e||(A3e=OQe(["\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 W3e(e.bubbleCount,e.backgroundColor,e.color)})),G3e=y.default.span(I3e||(I3e=OQe(["\n ","\n"],["\n ","\n"])),(function(e){return W3e(e.bubbleCount,e.backgroundColor,e.color)})),W3e=function(e,t,n){return o.css(L3e||(L3e=OQe(["\n width: fit-content;\n\n ","\n\n ","\n "],["\n width: fit-content;\n\n ","\n\n ","\n "])),e&&"\n max-width: calc(\n (100% - "+6*(e-1)+"px) / "+e+"\n );",bWe({backgroundColor:t,color:n}))},X3e=y.default.div($3e||($3e=OQe([""],[""]))),V3e=y.default(EXe)(M3e||(M3e=OQe(["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"],["\n &&& {\n height: auto;\n flex: 0 0 40px;\n z-index: 1;\n\n ","\n }\n"])),(function(e){return bWe({backgroundColor:e.backgroundColor,color:e.color,inlinePadding:8})})),Y3e=y.default(AXe)(z3e||(z3e=OQe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),H3e=y.default.ul(R3e||(R3e=OQe(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),Z3e=function(e){var n=e.channels,i=e.buildChannelFilterUrl,r=e.language,o=e.channelBackgroundColor,a=e.onClick,s=e.className;return(null==n?void 0:n.length)?t.jsx(m4e,mQe({className:s,"data-channels":n.map((function(e){return e.name})).join(",")},{children:n.map((function(e){var n=t.jsx(v4e,mQe({backgroundColor:o},{children:t.jsx(P3e,{channel:e,language:r},void 0)}),void 0);return t.jsxs(g4e,{children:[i&&t.jsx(y4e,mQe({"data-channel":!0,to:i(K3e(e)?e.name:e),"data-rounded-outline":!0},{children:n}),void 0),a&&t.jsx(O4e,mQe({"data-rounded-outline":!0,onClick:function(){return a(K3e(e)?e.name:e)}},{children:n}),void 0),!a&&!i&&t.jsx(b4e,{children:n},void 0)]},e.id)}))}),void 0):null};function K3e(e){return null!=e.id}var J3e,e4e,t4e,n4e,i4e,r4e,o4e,a4e,s4e,l4e,u4e,c4e,d4e,p4e,h4e,f4e,m4e=y.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(J3e||(J3e=OQe(["\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"])),ree),g4e=y.default.li.withConfig({displayName:"ClickableChannelTitles__ChannelItem",componentId:"sc-1a7ny18-1"})(e4e||(e4e=OQe(["\n &:last-child > * {\n margin-inline: 0;\n }\n"],["\n &:last-child > * {\n margin-inline: 0;\n }\n"]))),v4e=y.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-2"})(t4e||(t4e=OQe(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?bWe({backgroundColor:e.backgroundColor}):bWe()})),y4e=y.default(r.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-3"})(n4e||(n4e=OQe(["\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),b4e=y.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-4"})(i4e||(i4e=OQe(["\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),O4e=y.default(EXe).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-5"})(r4e||(r4e=OQe(["\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),_4e=function(e){var n=e.searchText,i=e.onSearchTextChange,r=e.onExecuteSearch,o=e.onSearchIconClick,a=e.onSearchInputFieldVisibilityChanged;return t.jsxs(t.Fragment,{children:[t.jsx(w4e,{children:t.jsx(k1e,{searchText:n,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:a,isToolbarMode:!0},void 0)},void 0),t.jsx(x4e,{children:t.jsx(y1e,{iconName:"Search",onClick:o,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},w4e=y.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(o4e||(o4e=OQe(["\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"])),K7),x4e=y.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(a4e||(a4e=OQe(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),X7),k4e=function(e){var n=e.leftSide,r=e.hideLeftSide,o=e.rightSide,a=e.hideRightSide,s=e.search,l=e.className,u=e.children,c=i.useState(!1),d=c[0],p=c[1];return t.jsxs(S4e,mQe({className:l,"data-content-toolbar":!0},{children:[t.jsxs(C4e,{children:[n&&!r&&t.jsx(P4e,{children:n},void 0),(o||s)&&!a&&t.jsxs(E4e,{children:[s&&t.jsx(_4e,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?h():p(!0)},onSearchInputFieldVisibilityChanged:function(e){return p(e)}},void 0),o]},void 0)]},void 0),u,s&&d&&t.jsx(F4e,{children:t.jsx(b1e,{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)}},S4e=y.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(s4e||(s4e=OQe(["\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),P4e=y.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(l4e||(l4e=OQe(["\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"]))),E4e=y.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(u4e||(u4e=OQe(["\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"]))),C4e=y.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(c4e||(c4e=OQe(["\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"]))),F4e=y.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(d4e||(d4e=OQe(["\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"])),X7);y.default(k4e).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(p4e||(p4e=OQe(["\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"])),N7,N7,X7,U7,U7),y.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(h4e||(h4e=OQe(["\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"]))),y.default.div.withConfig({displayName:"DragSource__Host",componentId:"sc-qzjyds-0"})(f4e||(f4e=OQe([""],[""])));var T4e,D4e,A4e,I4e,L4e,$4e,M4e,z4e,R4e,j4e,Q4e,N4e=function(e){var n=e.onEmojiSelected,r=e.disabled,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1],c=Xk().formatMessage;return t.jsxs(t.Fragment,{children:[t.jsx(U4e,mQe({ref:o},{children:t.jsx(PWe,{"data-emoji-button":!0,iconProps:{iconName:"Emoji2"},onClick:function(){return u(!0)},disabled:r,ariaLabel:c({id:"AriaLabel.emojiButton"})},void 0)}),void 0),l&&t.jsx(B4e,mQe({directionalHint:a.DirectionalHint.topCenter,target:o.current,onDismiss:function(){return u(!1)},isBeakVisible:!1,gapSpace:10,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:t.jsx(G4e,{onSelect:function(e){u(!1),n(e.native)}},void 0)}),void 0)]},void 0)},U4e=y.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})(T4e||(T4e=OQe([""],[""]))),B4e=y.default(AXe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(D4e||(D4e=OQe(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),q4e=i.lazy((function(){return Promise.resolve().then((function(){return umr}))})),G4e=function(e){var n=e.onSelect,r=zw();return t.jsx(i.Suspense,mQe({fallback:t.jsx(W4e,mQe({isSmaller:r.width<W7},{children:t.jsx(FVe,{},void 0)}),void 0)},{children:t.jsx(q4e,{onSelect:n},void 0)}),void 0)},W4e=y.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(A4e||(A4e=OQe(["\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})),X4e=function(){var e=Am();return t.jsx(V4e,{children:t.jsx("a",mQe({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)},V4e=y.default.div(I4e||(I4e=OQe(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),Y4e=function(e){var n,r,o=e.onGifClick,s=e.className,l=Wm(),u=Xk().formatMessage,c=new fue.GiphyFetch(l.giphy.apiKey),d=i.useState(null),p=d[0],h=d[1],f=hwe(p,500)[0],m=zw(),g=Mw((function(){if(!f)return c.trending({limit:21});return c.search(f,{limit:21})}),null,[f]),v=g[0],y=g[1],b=m.width<550?80:100;return t.jsxs(H4e,mQe({className:s},{children:[t.jsx(a.SearchBox,{placeholder:u({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return h(t)},autoFocus:!0},void 0),t.jsxs(Z4e,mQe({columnWidth:b,"data-gif-grid":!0},{children:[y&&t.jsx(FVe,{delay:300},void 0),0===(null===(n=null==v?void 0:v.data)||void 0===n?void 0:n.length)&&t.jsx(hS,{id:"Generic.noResultsFound"},void 0),null===(r=null==v?void 0:v.data)||void 0===r?void 0:r.map((function(e){return t.jsx(K4e,{gif:e,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:o},e.id)}))]}),void 0)]}),void 0)},H4e=y.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(L4e||(L4e=OQe(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),Z4e=y.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})($4e||($4e=OQe(["\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"])),N7,(function(e){return e.columnWidth}),6),K4e=y.default(tae.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(M4e||(M4e=OQe(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),J4e=function(e){var n=e.target,i=e.onGifClick,r=e.onDismiss;return t.jsxs(e5e,mQe({directionalHint:a.DirectionalHint.topCenter,target:n,onDismiss:r,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[t.jsx(t5e,{onGifClick:i},void 0),t.jsx(X4e,{},void 0)]}),void 0)},e5e=y.default(AXe)(z4e||(z4e=OQe(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n"]))),t5e=y.default(Y4e)(R4e||(R4e=OQe(["\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"])));o.createGlobalStyle(j4e||(j4e=OQe(["\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"])),Z7),y.default(Y4e).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(Q4e||(Q4e=OQe(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),N7);var n5e,i5e,r5e,o5e,a5e,s5e,l5e=function(e){var n=e.disabled,r=e.onGifClick,o=w6(),a=Xk().formatMessage,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return o.giphy?t.jsxs("div",{children:[t.jsx("div",mQe({ref:s},{children:t.jsx(PWe,{iconProps:{iconName:"Gif"},onClick:function(){return c(!0)},disabled:n,"data-button-type":"gif",ariaLabel:a({id:"AriaLabel.gifButton"})},void 0)}),void 0),u&&t.jsx(t.Fragment,{children:t.jsx(J4e,{target:s.current,onGifClick:function(e){c(!1),r({id:e.id.toString(),filename:e.title,url:e.embed_url,type:V6.Giphy})},onDismiss:function(){return c(!1)}},void 0)},void 0)]},void 0):null},u5e=function(e){var n=e.gifInfo,r=e.className,o=Wm(),a=i.useState(),s=a[0],l=a[1];return i.useEffect((function(){new fue.GiphyFetch(o.giphy.apiKey).gif(n.id).then((function(e){return l(e.data)}))}),[o.giphy.apiKey,n.id]),s?t.jsx(c5e,mQe({className:r},{children:t.jsx(d5e,{gif:s,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},c5e=y.default.div(n5e||(n5e=OQe([""],[""]))),d5e=y.default(tae.Gif)(i5e||(i5e=OQe(["\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"])),Z7),p5e=function(e){var n=e.attachments,i=e.onDeleteClick,r=e.className,o=Xk().formatMessage,a=n.filter((function(e){return e.type===V6.Giphy}));return 0===a.length?null:t.jsx(h5e,mQe({className:r,"data-gif-attachment-list":!0},{children:a.map((function(e){return t.jsx(f5e,mQe({domIdentifier:"gif",deleteButton:t.jsx(y3e,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:t.jsx(u5e,{gifInfo:e},void 0)}),e.id)}))}),void 0)},h5e=y.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(r5e||(r5e=OQe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),f5e=y.default(xXe).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(o5e||(o5e=OQe(["\n width: auto;\n"],["\n width: auto;\n"]))),m5e=function(e){var n=e.attachments,i=e.className,r=n.filter((function(e){return e.type===V6.Giphy}));return 0===r.length?null:t.jsx(g5e,mQe({className:i,"data-gif-url-preview":r[0].id},{children:t.jsx(v5e,{children:t.jsx(u5e,{gifInfo:r[0]},void 0)},void 0)}),void 0)},g5e=y.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(a5e||(a5e=OQe(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),v5e=y.default(xXe).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(s5e||(s5e=OQe(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),N7);var y5e,b5e,O5e,_5e=function(e){var n,r,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1];return t.jsxs(w5e,mQe({className:e.className},((n={})[e.dataAttribute]=!0,n),{ref:o},{children:[t.jsx(x5e,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return vQe(this,void 0,void 0,(function(){var t,n;return yQe(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(k5e,mQe({className:"icon-with-callout-content",target:o,directionalHint:null==e.directionalHint?a.DirectionalHint.rightCenter:e.directionalHint,gapSpace:4,onDismiss:function(){var t;u(!1),null===(t=e.onCalloutDismissed)||void 0===t||t.call(e)},calloutWidth:null!==(r=e.calloutWidth)&&void 0!==r?r:0},{children:e.children}),void 0)]}),void 0)},w5e=y.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(y5e||(y5e=OQe(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),x5e=y.default(PWe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(b5e||(b5e=OQe(["\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"]))),k5e=y.default(AXe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(O5e||(O5e=OQe(["\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"]))),S5e="video-view-container";function P5e(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 E5e,C5e,F5e,T5e,D5e,A5e,I5e,L5e,$5e,M5e=function(e){var n=e.onNextClick,r=e.onPrevClick,o=e.onFirstClick,a=e.hidePrevButton,s=e.hideNextButton,l=e.isLoadingNextPage,u=e.className,c=Xk().formatMessage,d=i.useContext(Vie).theme.palette;return s&&a?null:t.jsxs(z5e,mQe({className:u},{children:[t.jsx(yWe,mQe({resourceKey:"Lib.paging.goToFirstPage"},{children:t.jsx(j5e,{ariaLabel:c({id:"Generic.first.page.button.text"}),iconProps:{iconName:"ChevronLeftEnd6"},isHidden:a,onClick:o,color:d.accent,"data-horizontal-pager-first-page-button":!0},void 0)}),void 0),t.jsx(Q5e,{iconProps:{iconName:"ChevronLeftSmall"},text:c({id:"Generic.previous.page.button.text"}),isHidden:a,onClick:r,color:d.accent,"data-horizontal-pager-back-button":!0},void 0),t.jsx(N5e,{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)},z5e=y.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})(E5e||(E5e=OQe(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),U7),R5e=y.default(EXe).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(F5e||(F5e=OQe(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&o.css(C5e||(C5e=OQe(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),j5e=y.default(R5e).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(T5e||(T5e=OQe([""],[""]))),Q5e=y.default(R5e).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(D5e||(D5e=OQe([""],[""]))),N5e=y.default(R5e).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(A5e||(A5e=OQe(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"])));y.default.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(I5e||(I5e=OQe(["\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})),y.default.div.withConfig({displayName:"PaginationStatus__Host",componentId:"sc-ykj2ti-1"})(L5e||(L5e=OQe(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),G7),y.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})($5e||($5e=OQe(["\n height: ","px;\n"],["\n height: ","px;\n"])),U7);var U5e=MQe,B5e=Array.isArray||function(e){return"Array"==U5e(e)},q5e=B5e,G5e=xUe,W5e=BVe,X5e=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,d=!!a&&W5e(a,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&q5e(l))u=X5e(e,t,l,G5e(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},V5e=X5e,Y5e=qQe,H5e=B5e,Z5e=aqe("species"),K5e=V5e,J5e=fBe,e6e=xUe,t6e=pBe,n6e=function(e,t){var n;return H5e(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!H5e(n.prototype)?Y5e(n)&&null===(n=n[Z5e])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function i6e(e,t,n){var r=function(e){var t=i.useState(0),n=t[0],r=t[1],o=i.useState({pages:{},paginationToken:null,hasNextPage:!0}),a=o[0],s=o[1];return{state:a,setInitialPages:function(e,t,n){s({pages:{0:bQe([],e||[])},paginationToken:t,hasNextPage:n})},updatePageItems:function(e,t,n,i){s((function(r){var o;return{pages:gwe(r.pages,(o={},o[e]={$set:t},o)),paginationToken:n,hasNextPage:i}}))},lastFetchedPageIndex:n,updateLastFetchedPageIndex:function(t){r(t?e*t:function(t){return t+e})},updateItem:function(e,t){s((function(n){for(var i=mQe({},n.pages),r=Object.keys(i).length,o=0;o<r;){var a=Object.keys(i)[o++],s=i[a];if(s.find((function(t){return t.id===e}))){i[a]=s.map((function(n){return n.id===e?t:n}));break}}return mQe(mQe({},n),{pages:i})}))},insertToTheFront:function(t){for(var i,o,l=bQe([t],(null===(i=a.pages)||void 0===i?void 0:i[0])||[]),u=mQe(mQe({},a.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&&r(n+e);break}if(f<=e)break;var m=u[h].pop(),g=null!==(o=Object.keys(u)[d+1])&&void 0!==o?o:p?2*e:+h+e,v=u[g];if(!v){a.hasNextPage||(u[g]=[m],r(n+e));break}v.unshift(m),d++}s(mQe(mQe({},a),{pages:u}))},deleteItem:function(t){for(var i=mQe({},a.pages),o=Object.keys(i).length,l=0;l<o;){var u=Object.keys(i)[l];if(i[u].find((function(e){return e.id===t}))){i[u]=i[u].filter((function(e){return e.id!==t}));break}l++}for(var c=!1;l<o;){if(!i[u=Object.keys(i)[l++]].length&&l===o){delete i[u],c=!0;break}var d=Object.keys(i)[l],p=d?i[d]:null;if(!p)break;var h=p.shift();i[u].push(h)}s(mQe(mQe({},a),{pages:i}));var f=(c||i[0].length===e)&&n>e;return f&&r(n-e),f}}}(e),o=r.state,a=r.setInitialPages,s=r.updatePageItems,l=r.lastFetchedPageIndex,u=r.updateLastFetchedPageIndex,c=r.updateItem,d=r.insertToTheFront,p=r.deleteItem,h=i.useState(0),f=h[0],m=h[1],g=i.useState(!0),v=g[0],y=g[1],b=i.useState(!1),O=b[0],_=b[1],w=i.useState(null),x=w[0],k=w[1];i.useEffect((function(){P()}),bQe([e],n||[]));var S=Object.keys(o.pages).flatMap((function(e){return o.pages[e]})).slice(f-e,f);return{items:S,isInitialLoading:v,isLoadingNextPage:O,error:x,getFirstPage:function(){return m(e)},getPrevPage:function(){return m(f-e)},getNextPage:function(){return vQe(this,void 0,void 0,(function(){return yQe(this,(function(t){switch(t.label){case 0:return m(f+e),o.hasNextPage&&f===l-e?[4,E(o.paginationToken)]:[3,2];case 1:t.sent(),u(),t.label=2;case 2:return[2]}}))}))},isFirstPage:f===e,isLastPage:f===l&&!o.hasNextPage,isEmpty:!v&&0===(null==S?void 0:S.length),insertToTheFront:d,updateItem:c,onBeforeDeleteItem:function(t){var n=p(t);!o.hasNextPage&&n&&f>=l&&f>0&&m(f-e);_(!0)},onAfterDeleteItem:function(){return vQe(this,void 0,void 0,(function(){return yQe(this,(function(t){switch(t.label){case 0:return o.hasNextPage?o.paginationToken!==2*e?[3,2]:[4,P()]:[3,4];case 1:return t.sent(),[3,4];case 2:return[4,E(+o.paginationToken-e)];case 3:t.sent(),u(),t.label=4;case 4:return _(!1),[2]}}))}))}};function P(){return vQe(this,void 0,void 0,(function(){var n,i;return yQe(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(),a(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(),ig.error(i),k(i),[3,4];case 3:return y(!1),[7];case 4:return[2]}}))}))}function E(n){return vQe(this,void 0,void 0,(function(){var i,r;return yQe(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),_(!0),[4,t(e,n)];case 1:return i=o.sent(),s(n,i.items,i.paginationToken,i.hasNextPage),[3,4];case 2:return r=o.sent(),ig.error(r),k(x),[3,4];case 3:return _(!1),[7];case 4:return[2]}}))}))}}dBe({target:"Array",proto:!0},{flatMap:function(e){var t,n=J5e(this),i=e6e(n.length);return t6e(e),(t=n6e(n,0)).length=K5e(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),Uqe("flatMap");var r6e,o6e,a6e,s6e,l6e,u6e,c6e,d6e=function(e){var n=e.onNextClick,r=e.onPrevClick,o=e.hidePagination,a=e.disablePrevButton,s=e.disableNextButton,l=e.children,u=e.className,c=i.useContext(Vie).theme.palette,d=Xk().formatMessage;return o?t.jsx(t.Fragment,{children:l},void 0):t.jsxs(p6e,mQe({className:u},{children:[t.jsx(f6e,{disabled:a,onClick:r,iconProps:{iconName:"ChevronUpSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.previous"})},void 0),t.jsx(g6e,{children:l},void 0),t.jsx(m6e,{disabled:s,onClick:n,iconProps:{iconName:"ChevronDownSmall"},color:c.accent,ariaLabel:d({id:"Lib.paging.next"})},void 0)]}),void 0)},p6e=y.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(r6e||(r6e=OQe(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),h6e=y.default(PWe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(o6e||(o6e=OQe(["\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\n &:hover {\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\n &:hover {\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"])),Bie),f6e=y.default(h6e).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(a6e||(a6e=OQe(["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient("," 0%, white);\n }\n"])),(function(e){return e.color})),m6e=y.default(h6e).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(s6e||(s6e=OQe(["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"],["\n &:hover::before {\n background-image: linear-gradient(white, "," 100%);\n }\n"])),(function(e){return e.color})),g6e=y.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(l6e||(l6e=OQe(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),U7,15),v6e=i.createContext(null);y.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(u6e||(u6e=OQe(["\n width: 100%;\n"],["\n width: 100%;\n"]))),y.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(c6e||(c6e=OQe(["\n display: contents;\n"],["\n display: contents;\n"])));var y6e,b6e,O6e,_6e,w6e,x6e,k6e,S6e,P6e,E6e=o.css(y6e||(y6e=OQe(["\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"]))),C6e=o.css(b6e||(b6e=OQe(["\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"])),E6e,X7,U7),F6e=o.css(O6e||(O6e=OQe(["\n display: flex;\n align-items: center;\n min-height: 35px;\n width: 100%;\n\n span {\n color: ",";\n }\n\n i {\n width: 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 width: 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})),T6e=o.css(_6e||(_6e=OQe(["\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"])),K7),D6e="AllChannels",A6e=o.createGlobalStyle(w6e||(w6e=OQe(["\n ","\n"],["\n ","\n"])),T6e),I6e=y.default(oVe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(x6e||(x6e=OQe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),C6e),L6e=y.default(r.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(k6e||(k6e=OQe(["\n ","\n"],["\n ","\n"])),F6e),$6e=y.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(S6e||(S6e=OQe(["\n ",";\n"],["\n ",";\n"])),F6e),M6e=function(e){var n=e.handler,i=e.disabled;return w6().unreadTracking?t.jsx(y1e,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},z6e=function(e){var n=e.onClick,i=e.to,r=e.disabled;return t.jsx(y1e,{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,(P6e=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",P6e.MyBookedEvents="booked",P6e.PastEvents="past";var R6e,j6e,Q6e,N6e,U6e=o.createGlobalStyle(R6e||(R6e=OQe(["\n ","\n"],["\n ","\n"])),T6e),B6e=y.default(oVe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(j6e||(j6e=OQe(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),C6e),q6e=y.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(Q6e||(Q6e=OQe(["\n ",";\n"],["\n ",";\n"])),F6e);function G6e(){var e=oB(),t=e.createApiUrl,n=e.fetchFromApi,r=i.useContext(Uw).onRequestToken;return i.useMemo((function(){return{uploadImage:function(e,t,i,o,a){return vQe(this,void 0,void 0,(function(){var s,l;return yQe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+dG.getExtension(a.type)),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/images/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},uploadFile:function(e,t,i,o,a){return vQe(this,void 0,void 0,(function(){var s,l;return yQe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("file",a),[4,r()];case 1:return l=u.sent(),[2,n(e+"/attachments/"+o+"/files/"+i,{method:"POST",body:s,headers:{authorization:"Bearer "+l,"subscription-id":t}})]}}))}))},getFileUrl:function(e,n,i,r,o){if(null!=o||(o=i.fileAccessToken),!o)return null;return t(e+"/attachments/"+i.attachmentContainerId+"/files/"+r,{subscriptionId:n,access_token:o})},getImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)},getChatMessageImageUrl:function(t,n,i,r,o,a){return e(t,n,i.fileAccessToken,i.attachmentContainerId,r,o,a)}};function e(e,n,i,r,o,a,s){return t(null==a?e+"/attachments/"+r+"/images/"+o:"default"===a?e+"/attachments/"+r+"/images/"+o+"/default":e+"/attachments/"+r+"/images/"+o+"/"+a+"/"+(s||""),{subscriptionId:n,access_token:i})}}),[r,n,t])}function W6e(){var e=aB();return i.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return vQe(this,void 0,void 0,(function(){var t;return yQe(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,M9.apply(void 0,bQe([e],t))]}}))}))},resolveActiveLanguages:function(e){return vQe(this,void 0,void 0,(function(){return yQe(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 vQe(this,void 0,void 0,(function(){var t;return yQe(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 X6e(){var e=oB().createApiUrl;return i.useMemo((function(){return{getVideoThumbnailUrl:function(t,n,i,r){return e("/videos/"+r+"/thumbnail",{access_token:t,subscriptionId:n,videoSource:i})},getBannerVideoThumbnailUrl:function(t,n,i,r){return e("/"+r+"/"+n+"/videos/banner/thumbnail",{access_token:t,subscriptionId:i})}}}),[e])}o.createGlobalStyle(N6e||(N6e=OQe(["\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 V6e,Y6e,H6e,Z6e,K6e,J6e,e9e,t9e,n9e,i9e,r9e,o9e,a9e,s9e,l9e=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}(),u9e=function(e){var n=w6(),r=i.useState(null),o=r[0],a=r[1],s=p9().getUserAvatarUrl;if(Ere(l9e.type,(function(t){return t.upn===e.upn&&u(e.upn,e.tenantId),!1}),[e.upn]),i.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=Ew(e.text||e.displayName||e.upn);return t.jsx(c9e,mQe({},e,{"data-avatar":!0,text:e.text,imageUrl:o,imageShouldFadeIn:!1,imageInitials:l,initialsColor:Cw(l),secondaryText:!e.forceShowSecondaryText&&X6(e.secondaryText)?null:e.secondaryText}),void 0);function u(e,t){return null==e?(a(null),null):s(e,t).subscribe((function(e){a(e)}),(function(e){return console.log(e)}))}},c9e=y.default(a.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(V6e||(V6e=OQe(["\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"]))),d9e=function(e){var n=e.className,i=e.iconName,r=e.tooltipResourceKey,o=e.tooltipText,a=e.children;return a?t.jsxs(h9e,mQe({className:n},{children:[i&&t.jsx(yWe,mQe({resourceKey:r,text:o},{children:t.jsx(p9e,{iconName:i},"icon")}),void 0),t.jsx(f9e,mQe({dir:"auto"},{children:a}),void 0)]}),void 0):null},p9e=y.default(a.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(Y6e||(Y6e=OQe(["\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"]))),h9e=y.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(H6e||(H6e=OQe(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),f9e=y.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContent",componentId:"sc-yfrgje-2"})(Z6e||(Z6e=OQe([""],[""]))),m9e=function(e){var n=e.email;return X6(n)?null:t.jsx(d9e,mQe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:t.jsx(x9e,mQe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},g9e=function(e){var n=e.value,i=Xk().formatMessage;return null==n?null:t.jsx(d9e,mQe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:t.jsx(x9e,mQe({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},v9e=function(e){var n=e.value,i=Xk().formatMessage;return null==n?null:(n="string"==typeof n?[n]:n,t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsx(d9e,mQe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:t.jsx(x9e,mQe({href:"tel:"+e},{children:i({id:"Generic.callOffice"},{number:e})}),void 0)}),e+n)}))},void 0))},y9e=function(e){var n=e.value,i=e.tooltipResourceKey,r=w6();return null==n?null:t.jsx(d9e,mQe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?t.jsx(x9e,mQe({target:"_blank",rel:"noopener noreferrer",href:M2e(n)},{children:n}),void 0):t.jsx(t.Fragment,{children:n},void 0)}),void 0)},b9e=function(e){var n=e.value;return null==n?null:t.jsx(d9e,mQe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},O9e=function(e){var n=e.value;return null==n?null:t.jsx(d9e,mQe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},_9e=function(e){var n=e.value,i=Ine().buildPath,r=w6();if(!(null==n?void 0:n.userId)||!r.chat)return null;var o={id:n.userId,displayName:n.displayName,userPrincipalName:n.userPrincipalName};return t.jsx(d9e,mQe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:t.jsx(k9e,mQe({to:i("chats/new")+"?"+Xm.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:t.jsx(hS,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},w9e=o.css(K6e||(K6e=OQe(["\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})),x9e=y.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(J6e||(J6e=OQe(["\n ","\n"],["\n ","\n"])),w9e),k9e=y.default(r.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(e9e||(e9e=OQe(["\n ","\n"],["\n ","\n"])),w9e),S9e={mobilePhone:g9e,department:b9e,address:y9e},P9e=function(e){var n=e.className,r=e.value,o=e.definition,a=function(){var e=_6(),t=Xk().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=pw(e.preferredUiLanguage),o=i.translations||{},a=Object.keys(n);return r&&o[r]||o[e.subscription.defaultLanguage]||i.label||a.some((function(e){return e===i.name}))&&t({id:"Generic."+i.name})||i.name},getPropertyIcon:function(e){var t,i;return null!==(i=null===(t=n[e.name])||void 0===t?void 0:t.iconName)&&void 0!==i?i:"UserOptional"}}}(),s=a.getPropertyLabel,l=a.getPropertyIcon;if(null==r)return null;var u=s(o),c=l(o),d=S9e[o.name];return d?i.createElement(d,{value:r}):t.jsx(d9e,mQe({iconName:c,tooltipText:u,className:n},{children:r}),void 0)},E9e=function(e){var n,i,r,o,a,s=e.user,l=e.ignoredProperties,u=void 0===l?[]:l;return t.jsxs(t.Fragment,{children:[!u.includes("department")&&t.jsx(b9e,{value:null===(n=s.properties)||void 0===n?void 0:n.department},void 0),!u.includes("jobTitle")&&t.jsx(O9e,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle},void 0),!u.includes("mobilePhone")&&t.jsx(g9e,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone},void 0),!u.includes("businessPhones")&&t.jsx(v9e,{value:null===(o=s.properties)||void 0===o?void 0:o.businessPhones},void 0),!u.includes("chatMessage")&&t.jsx(_9e,{value:s},void 0),!u.includes("officeLocation")&&t.jsx(y9e,{value:null===(a=s.properties)||void 0===a?void 0:a.officeLocation},void 0)]},void 0)},C9e=function(e){var n=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,o=_6();return t.jsxs(t.Fragment,{children:[!r.includes("chatMessage")&&t.jsx(_9e,{value:n},void 0),o.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return t.jsx(P9e,{definition:e,value:null===(i=n.properties)||void 0===i?void 0:i[e.name]},e.name)}))]},void 0)},F9e=["displayName","department","jobTitle"],T9e=function(e){var n,i=e.upn,r=e.showAvatar,o=e.id,s=p9(),l=s.getUserInfo,u=s.getUserInfoById,c=Mw((function(){return i?l(i):u(o)}),null,[i,o]),d=c[0],p=c[1];if(c[2])return t.jsx(D9e,{children:i?t.jsx(hS,{id:"Profile.CannotLoadInfo",values:{upn:i}},void 0):t.jsx(hS,{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(p)return t.jsx(L9e,{},void 0);var h=r?F9e:[];return t.jsxs(A9e,mQe({"data-user-details":!0},{children:[r&&t.jsx(u9e,{upn:d.userPrincipalName,size:a.PersonaSize.large,text:d.displayName||d.userPrincipalName,secondaryText:d.properties&&d.properties.department,tertiaryText:d.properties&&d.properties.jobTitle},void 0),t.jsxs(I9e,{children:[t.jsx(m9e,{email:null!==(n=d.mail)&&void 0!==n?n:d.userPrincipalName},void 0),d.isDirectoryUser?t.jsx(E9e,{user:d,ignoredProperties:h},void 0):t.jsx(C9e,{user:d,ignoredProperties:h},void 0)]},void 0)]}),void 0)},D9e=y.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(t9e||(t9e=OQe(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),A9e=y.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(n9e||(n9e=OQe(["\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"])),ree),I9e=y.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(i9e||(i9e=OQe(["\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"])),N7),L9e=y.default(FVe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(r9e||(r9e=OQe(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),$9e=function(e){var n=e.upn,r=e.className,o=e.children,s=e.readOnly,l=e.domIdentifier,u=i.useRef(null),c=_6(),d=i.useState(!1),p=d[0],h=d[1];return s?t.jsx(z9e,mQe({className:r},{children:o}),void 0):t.jsxs(t.Fragment,{children:[t.jsx(z9e,mQe({ref:u,className:r},{children:t.jsx(R9e,mQe({"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(AXe,mQe({className:"persona-card-callout",directionalHint:a.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return h(!1)},target:u.current},{children:t.jsx(M9e,{children:t.jsx(T9e,{upn:n,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},M9e=y.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(o9e||(o9e=OQe(["\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,U7,X7),z9e=y.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(a9e||(a9e=OQe(["\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"]))),R9e=y.default(a.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(s9e||(s9e=OQe(["\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 j9e(){return j9e=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},j9e.apply(this,arguments)}var Q9e=function(e){return m.createElement("svg",j9e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),m.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),m.createElement("path",{d:"M134.231 141.48h149.1c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603-6.914 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h-39.522c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h71.856c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603H162.974c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602H91.118c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602h44.911c6.913 0 12.602 5.689 12.602 12.603 0 6.913-5.689 12.602-12.602 12.602H64.172c-6.914 0-12.603 5.689-12.603 12.603s5.689 12.603 12.603 12.603h70.059c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602v-.006Zm192.708-63.014c0 6.764 5.565 12.329 12.329 12.329 6.763 0 12.329-5.565 12.329-12.329 0-6.763-5.566-12.329-12.329-12.329h-.001c-6.763 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M237.898 60.069c0-4.967-4.033-9-9-9h-58.712c-4.967 0-9 4.033-9 9v45.014c0 4.967 4.033 9 9 9h58.712c4.967 0 9-4.033 9-9V60.069Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M90.299 68.815a32.862 32.862 0 0 1-23.217-18.138 1.364 1.364 0 0 1-.133-.589 1.377 1.377 0 0 1 1.64-1.343l14.747 2.964c3.116.644 6.364.001 9-1.781h.006a11.784 11.784 0 0 0 5.016-7.658l1.9-10.113c1.196-6.529-3.112-12.905-9.616-14.232l-14.751-2.964a1.37 1.37 0 0 1-.661-2.348 31.961 31.961 0 0 1 28.134-7.833c12.566 2.547 22.559 12.193 25.548 24.661a6.579 6.579 0 0 0 .938 1.004 7.774 7.774 0 0 0 3.616 1.753l26.592 5.344a819741.64 819741.64 0 0 0 119.067 23.943c6.256 1.287 10.396 7.424 9.247 13.707-1.019 5.418-5.796 9.38-11.309 9.38-.761 0-1.52-.076-2.266-.226l-55.525-11.174-28.93-5.826-64.138-12.884-.027-.006a1.668 1.668 0 0 0-.7-.007h-.022a1.621 1.621 0 0 0-.562.24 1.58 1.58 0 0 0-.444.441c-7.215 10.867-20.371 16.297-33.15 13.685Zm188.988 8.736a5.483 5.483 0 0 1-3.036.917c-3.008 0-5.485-2.476-5.485-5.485 0-3.009 2.477-5.485 5.485-5.485a5.49 5.49 0 0 1 4.567 2.446c1.666 2.507.975 5.94-1.531 7.607Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2,fillRule:"evenodd"}}),m.createElement("path",{d:"M237.898 30.672c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V30.672ZM218.72 21.083c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V21.083ZM199.542 16.973c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V16.973ZM180.364 19.713c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V19.713Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m162.903 110.39-17.592-16.8a10.428 10.428 0 0 1-3.933-8.151V65.39a8.809 8.809 0 0 1 4.147-7.536c2.597-1.617 25.763-10.645 25.915-10.739 4.419-2.471 5.974-2.074 8.321 2.135a9.067 9.067 0 0 1 1.219 4.608 8.791 8.791 0 0 1-4.359 7.66c-2.719 1.585-8.564 4.617-11.981 6.682-3.417 2.065-2.248 7.486 1.645 8.538 19.185 5.184 32.008 12.3 38.107 27.065M171.556 114.083h58.712c4.937 0 9 4.063 9 9v35.425h-76.712v-35.425c0-4.937 4.063-9 9-9Z",style:{fill:"#fff",fillRule:"evenodd",stroke:"currentColor",strokeWidth:2}}))};function N9e(){return N9e=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},N9e.apply(this,arguments)}var U9e=function(e){return m.createElement("svg",N9e({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),m.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),m.createElement("path",{d:"M113.854 72h30.104c-6.623 0-12 5.377-12 12s5.377 12 12 12h-24.165c-6.623 0-12 5.377-12 12s5.377 12 12 12h74.873c6.623 0 12-5.377 12-12s-5.377-12-12-12h64.042c6.623 0 12-5.377 12-12s-5.377-12-12-12h1.125c-6.288 0-11.393-5.377-11.393-12s5.105-12 11.393-12h37.769c6.623 0 12-5.377 12-12s-5.377-12-12-12h-52.706c6.623 0 12-5.377 12-12s-5.377-12-12-12h-58.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h-22.167c-6.622 0-12 5.377-12 12s5.378 12 12 12h-50.375c-6.288 0-11.394 5.377-11.394 12s5.106 12 11.394 12Zm186.998 12c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"m211.775 81.467 1.122-6.522-5.059-5.013 4.488-7.838-65.735-11.306c-.466-21.056-14.403-38.978-33.804-42.314-22.3-3.836-44.233 12.903-48.531 37.887-4.297 24.985 10.784 48.09 33.084 51.925 19.401 3.337 38.525-8.899 45.999-28.589l68.436 11.77ZM110.464 21.98c15.292 2.63 24.847 18.963 21.901 36.095-2.947 17.133-17.41 29.335-32.702 26.705-15.292-2.63-24.847-18.963-21.901-36.096 2.947-17.133 17.41-29.335 32.702-26.704Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M146.128 59.052c.317-1.091.547-2.172.748-3.27.307-1.69.51-3.341.715-4.99l-2-.007c.191 1.627.397 3.255.486 4.946.058 1.101.066 2.192.001 3.313l.05.008ZM145.614 61.745a30.11 30.11 0 0 1-1.108 3.121c-.649 1.565-1.387 3.03-2.111 4.5l1.887.662c.359-1.623.719-3.247.994-4.943a32.34 32.34 0 0 0 .387-3.332l-.049-.008Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"m331.063 28.601-42.249 11.755 8.449 30.367 10.563-2.939-4.225-15.183 10.562-2.939 1.286 4.621 10.562-2.939 2.249 8.081 10.562-2.939-7.759-27.885Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"m213.696 41.343.517 6.969 6.031 4.296 1.236 6.484 116.184-32.328c5.101-1.42 8.09-6.713 6.671-11.814-1.42-5.101-6.713-8.09-11.814-6.67L213.696 41.343Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function B9e(){return B9e=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},B9e.apply(this,arguments)}var q9e,G9e,W9e,X9e,V9e,Y9e,H9e=function(e){return m.createElement("svg",B9e({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),m.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),m.createElement("path",{d:"M114.881 160.609h149.1c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603-6.913 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h-39.521c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h71.856c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603H143.624c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602H71.768c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602h44.911c6.914 0 12.603 5.689 12.603 12.603 0 6.913-5.689 12.602-12.603 12.602H44.822c-6.913 0-12.602 5.69-12.602 12.603 0 6.914 5.689 12.603 12.602 12.603h70.059c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602v-.006Zm192.708-63.014c0 6.764 5.566 12.329 12.329 12.329 6.764 0 12.329-5.565 12.329-12.329 0-6.763-5.565-12.329-12.329-12.329h-.001c-6.762 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),m.createElement("path",{d:"M292.483 63.514a2.002 2.002 0 0 0-2.259-1.702L140.205 82.896a2.001 2.001 0 0 0-1.702 2.259l12.251 87.169a2.002 2.002 0 0 0 2.259 1.703l150.018-21.084a2.002 2.002 0 0 0 1.703-2.259l-12.251-87.17Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M247.683 137.397a31.742 31.742 0 0 0 6.393-19.103c0-17.41-14.326-31.737-31.736-31.737s-31.737 14.327-31.737 31.737a31.758 31.758 0 0 0 12.643 25.35c13.903 10.472 33.959 7.652 44.437-6.247ZM236.661 99.29c9.222 6.97 12.111 19.693 6.803 29.962l-37.479-28.242c8.408-7.932 21.435-8.661 30.676-1.716v-.004Zm-35.443 8.055 37.471 28.244a23.806 23.806 0 0 1-16.354 6.51c-13.054 0-23.796-10.742-23.796-23.797a23.8 23.8 0 0 1 2.671-10.954l.008-.003Z",style:{fill:"currentColor"}}),m.createElement("path",{d:"M207.614 8.507a1.585 1.585 0 0 0-2.694.379l-28.129 66.441a1.586 1.586 0 0 0-.126.619 1.595 1.595 0 0 0 1.808 1.571l73.48-10.327a1.587 1.587 0 0 0 1.012-2.569L207.614 8.507Z",style:{fill:"none",fillRule:"nonzero",stroke:"currentColor",strokeWidth:2}}),m.createElement("path",{d:"M205.054.078a7.937 7.937 0 0 1 8.96 6.752 7.938 7.938 0 0 1-6.752 8.96 7.936 7.936 0 0 1-8.959-6.752 7.936 7.936 0 0 1 6.751-8.96Z",style:{fill:"currentColor"}}))},Z9e=function(e){var n=e.info,i="number"==typeof n;return t.jsx(K9e,mQe({isNumber:i,"data-badge-info":n},{children:t.jsx(J9e,mQe({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},K9e=y.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(W9e||(W9e=OQe(["\n display: flex;\n justify-content: center;\n ","\n"],["\n display: flex;\n justify-content: center;\n ","\n"])),(function(e){return e.isNumber?o.css(q9e||(q9e=OQe(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):o.css(G9e||(G9e=OQe(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),J9e=y.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(V9e||(V9e=OQe(["\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 o.css(X9e||(X9e=OQe(["\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,oee)}));function e8e(){return e8e=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},e8e.apply(this,arguments)}var t8e,n8e=function(e){return m.createElement("svg",e8e({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),Y9e||(Y9e=m.createElement("path",{d:"M1536 704q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45zM0 256h2048v1024h-128V384H128v677l448-447 640 640 256-256 283 282h-182l-101-102-101 102h-310L576 794l-448 449v421h512v128H0V256zm768 1792v-640h1280v640H768zm128-512v384h1024v-384H896zm256 256v-128h512v128h-512z",fill:"#fff"})))};function i8e(n){return t.jsx(c8e,mQe({"data-page-alert":!0},{children:t.jsxs(d8e,{children:[n.errorType&&t.jsx(p8e,mQe({onClick:n.onClick},{children:n.errorType===e.ErrorType.LoginError?t.jsx(U9e,{},void 0):n.errorType===e.ErrorType.GenericError?t.jsx(Q9e,{},void 0):n.errorType===e.ErrorType.Error403?t.jsx(H9e,{},void 0):t.jsx(g0e,{},void 0)}),void 0),t.jsx(h8e,{children:n.alertText},void 0),t.jsx(f8e,{children:n.children},void 0)]},void 0)}),void 0)}e.ErrorType=void 0,(t8e=e.ErrorType||(e.ErrorType={})).GenericError="genericError",t8e.Error404="error404",t8e.Error403="error403",t8e.LoginError="loginError";var r8e,o8e,a8e,s8e,l8e,u8e,c8e=y.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(r8e||(r8e=OQe(["\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})),d8e=y.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(o8e||(o8e=OQe(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),p8e=y.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(a8e||(a8e=OQe(["\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}),K7),h8e=y.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(s8e||(s8e=OQe(["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"],["\n width: 200px;\n min-width: 100%;\n font-size: ","px;\n font-weight: 500;\n color: ",";\n opacity: 80%;\n"])),32,(function(e){return e.theme.palette.accent})),f8e=y.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(l8e||(l8e=OQe(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),m8e=y.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(u8e||(u8e=OQe(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),g8e={exports:{}},v8e=Object.getOwnPropertySymbols,y8e=Object.prototype.hasOwnProperty,b8e=Object.prototype.propertyIsEnumerable;function O8e(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var _8e=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=O8e(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))y8e.call(n,a)&&(r[a]=n[a]);if(v8e){i=v8e(n);for(var s=0;s<i.length;s++)b8e.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},w8e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",x8e=Function.call.bind(Object.prototype.hasOwnProperty),k8e=function(){};if("production"!==process.env.NODE_ENV){var S8e=w8e,P8e={},E8e=x8e;k8e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function C8e(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(E8e(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((i||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,S8e)}catch(e){a=e}if(!a||a instanceof Error||k8e((i||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in P8e)){P8e[a.message]=!0;var l=r?r():"";k8e("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}C8e.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(P8e={})};var F8e=C8e,T8e=_.default,D8e=_8e,A8e=w8e,I8e=x8e,L8e=F8e,$8e=function(){};function M8e(){return null}"production"!==process.env.NODE_ENV&&($8e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function z8e(){}function R8e(){}R8e.resetWarningCache=z8e;if("production"!==process.env.NODE_ENV){var j8e=_.default;g8e.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(M8e),arrayOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+r+" `"+o+"` of type `"+d(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,o+"["+l+"]",A8e);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,o){var s=t[n];return e(s)?null:new a("Invalid "+r+" `"+o+"` of type `"+d(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return T8e.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+d(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,o,s){if(!(t[n]instanceof e)){var l=e.name||i;return new a("Invalid "+o+" `"+s+"` of type `"+((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 a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(I8e(s,u)){var c=e(s,u,i,r,o+"."+u,A8e);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&$8e(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."),M8e;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(o(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===p(t)?String(t):t}));return new a("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&$8e("Invalid argument supplied to oneOfType, expected an instance of array."),M8e;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return $8e("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+h(n)+" at index "+t+"."),M8e}return s((function(t,n,i,r,o){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,i,r,o,A8e);if(null==u)return null;u.data&&I8e(u.data,"expectedType")&&s.push(u.data.expectedType)}return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var c in e){var h=e[c];if("function"!=typeof h)return u(i,r,o,c,p(h));var f=h(s,c,i,r,o+"."+c,A8e);if(f)return f}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=d(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var c=D8e({},t[n],e);for(var h in c){var f=e[h];if(I8e(e,h)&&"function"!=typeof f)return u(i,r,o,h,p(f));if(!f)return new a("Invalid "+r+" `"+o+"` 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,o+"."+h,A8e);if(m)return m}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,s,l,u,c,d,p){if(u=u||i,d=d||l,p!==A8e){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&&($8e("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]?o?null===s[l]?new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,i,r,o,s){var l=t[n];return d(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+p(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function u(e,t,n,i,r){return new a((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function 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,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!c(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function p(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function 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 a.prototype=Error.prototype,r.checkPropTypes=L8e,r.resetWarningCache=L8e.resetWarningCache,r.PropTypes=r,r}(j8e.isElement,!0)}else g8e.exports=function(){function e(e,t,n,i,r,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:R8e,resetWarningCache:z8e};return n.PropTypes=n,n}();var Q8e=g8e.exports,N8e=Object.freeze({__proto__:null,useCurrentUser:_6,useAccountApi:p9,useAuthenticationContext:Bw,useEnvironmentConfig:Im,useNotificationContext:rre,usePromise:Mw,LinkContext:yS,TextLink:p1e,logger:ig,createId:og,ResourceContext:PS,usePluginSettings:function(){var e=i.useContext(zne).settings;return null!=e?e:{}},usePluginStorage:Nne,usePluginDeviceStore:Nne,usePluginSubscriptionStore:function(){return i.useContext(zne).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=i.useContext(zne).subscriptionStore,o=Mw((function(){return r.get(e).catch(Bne)}),void 0,pJ(pJ([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return cJ(n,void 0,void 0,(function(){var n;return dJ(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),Bne(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return cJ(n,void 0,void 0,(function(){var t;return dJ(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),Bne(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return i.useContext(zne).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=i.useContext(zne).userStore,o=Mw((function(){return r.get(e).catch(Bne)}),void 0,pJ(pJ([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return cJ(n,void 0,void 0,(function(){var n;return dJ(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),Bne(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return cJ(n,void 0,void 0,(function(){var t;return dJ(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),Bne(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Am().apiEndpoint}},AccountType:i6,PeoplePicker:RWe,GutterToggle:EWe,EditorSettingsDialog:SWe,Spinner:a.Spinner,SelectionMode:a.SelectionMode,EditorHighlight:OWe,useTheme:function(){return i.useContext(Vie).theme},useSubscriptionHandlePathBuilder:Ine,useSubscriptionWebAppUrl:Lne});var U8e,B8e,q8e=[{name:"@reach/core",packageDefinition:mQe({default:{}},N8e)}],G8e=[{name:"react",packageDefinition:mQe(mQe({},g.default),{default:g.default})},{name:"react-dom",packageDefinition:mQe(mQe({},O),{default:O})},{name:"react-is",packageDefinition:mQe(mQe({},_.default),{default:_.default})},{name:"prop-types",packageDefinition:mQe({default:Q8e},Q8e)},{name:"react-router-dom",packageDefinition:mQe({},v)},{name:"styled-components",packageDefinition:{default:y.default,createGlobalStyle:o.createGlobalStyle,css:o.css,useTheme:o.useTheme,isStyledComponent:o.isStyledComponent,keyframes:o.keyframes,withTheme:o.withTheme,ThemeProvider:o.ThemeProvider,ThemeContext:o.ThemeContext,ThemeConsumer:o.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:a.Checkbox,Label:a.Label,PrimaryButton:a.PrimaryButton,Icon:a.Icon,Link:a.Link,TextField:a.TextField,ActionButton:a.ActionButton,IconButton:a.IconButton,DefaultButton:a.DefaultButton,Spinner:a.Spinner,Dropdown:a.Dropdown,ProgressIndicator:a.ProgressIndicator,Shimmer:a.Shimmer,ShimmerElementsGroup:a.ShimmerElementsGroup,ShimmerElementType:a.ShimmerElementType,DirectionalHint:a.DirectionalHint,PersonaSize:a.PersonaSize,TooltipHost:a.TooltipHost,DialogType:a.DialogType,Dialog:wQe,DialogFooter:a.DialogFooter,ChoiceGroup:a.ChoiceGroup}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:hS,useIntl:Xk,FormattedDate:fS,FormattedTime:mS,IntlProvider:nS}},{name:"@apollo/client",packageDefinition:{default:{},gql:XL,useQuery:function(e,t){return p$(e,t,!1)},ApolloClient:jL,ApolloProvider:i$,from:fA,ApolloLink:hA,fromPromise:sA,split:mA,HttpLink:xA,InMemoryCache:bL,useLazyQuery:function(e,t){return p$(e,t,!0)},useMutation:h$,ApolloError:_L,useApolloClient:r$,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0),r=n[1],o=i.useContext(t$()),a=t?ko(ko({},t),{subscription:e}):{subscription:e},s=i.useState({loading:!a.skip,error:void 0,data:void 0}),l=s[0],u=s[1],c=i.useRef(),d=(c.current||(c.current=new l$({options:a,context:o,setResult:u})),c.current);return d.setOptions(a,!0),d.context=o,__DEV__&&d$(r),i.useEffect((function(){return d.afterExecute()})),i.useEffect((function(){return function(){d.cleanup(),c.current=void 0}}),[]),d.execute(l)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:gM}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:TM}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:tD}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:f$}}],W8e=function(e){var n=e.color,r=e.onColorChange,o=e.className,s=i.useState(n),l=s[0],u=s[1];return i.useEffect((function(){u(n)}),[n]),t.jsx(X8e,mQe({className:o},{children:t.jsx(a.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){u(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},X8e=y.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(U8e||(U8e=OQe(["\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"])),U7);!function(e){e.Row="row",e.Column="column"}(B8e||(B8e={}));var V8e,Y8e,H8e,Z8e=function(e){var n=e.defaultSVG,i=e.hoveredSVG,r=e.label,o=e.labelDirection,a=void 0===o?B8e.Row:o,s=e.reverseIcon,l=e.size,u=e.className;return t.jsxs(K8e,mQe({flexDirection:a,"data-icon-host":!0},{children:[s&&r,t.jsx(J8e,mQe({size:l,"data-icon-state":"default",className:u},{children:n}),void 0),i&&t.jsx(J8e,mQe({size:l,"data-icon-state":"hovered",className:u},{children:i}),void 0),!s&&r]}),void 0)},K8e=y.default.span.withConfig({displayName:"Icon__Host",componentId:"sc-179by8k-0"})(V8e||(V8e=OQe(["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: 10px;\n --iconTextColor: var(--color-neutral-950);\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n display: flex;\n flex-direction: ",";\n justify-content: center;\n align-items: center;\n gap: 10px;\n --iconTextColor: var(--color-neutral-950);\n\n [data-icon-state='default'] {\n display: flex;\n }\n\n color: var(--iconTextColor);\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"var(--icon-label-direction,"+e.flexDirection+")"})),J8e=y.default.span.withConfig({displayName:"Icon__Inner",componentId:"sc-179by8k-1"})(Y8e||(Y8e=OQe(["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"],["\n width: ",";\n height: ",";\n justify-content: center;\n align-items: center;\n display: none;\n\n svg {\n max-width: 100%;\n width: auto;\n height: 100%;\n }\n"])),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}),(function(e){var t;return(null!==(t=e.size)&&void 0!==t?t:20)+"px"}));function e7e(){return e7e=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},e7e.apply(this,arguments)}var t7e,n7e=function(e){return m.createElement("svg",e7e({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),H8e||(H8e=m.createElement("path",{d:"M10-.001c-5.514 0-10 4.486-10 10 0 1.638.431 3.168 1.13 4.533L.048 18.413c-.253.902.639 1.793 1.54 1.541l3.885-1.084C6.835 19.568 8.364 20 10 20c5.514 0 10-4.486 10-10s-4.486-10-10-10Zm0 1.5c4.703 0 8.5 3.797 8.5 8.5 0 4.703-3.797 8.5-8.5 8.5-1.5 0-2.905-.39-4.129-1.072a.75.75 0 0 0-.566-.068L1.61 18.39l1.032-3.69a.75.75 0 0 0-.068-.568A8.445 8.445 0 0 1 1.5 9.999c0-4.703 3.797-8.5 8.5-8.5ZM14.75 6l-9.5.001a.75.75 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm0 3.249-9.5.001a.75.75 0 1 0 0 1.5l9.5-.001a.75.75 0 1 0 0-1.5Zm-5 3.251-4.5.001a.75.75 0 1 0 0 1.5L9.75 14a.751.751 0 0 0 .537-1.284.75.75 0 0 0-.537-.216Z",fill:"#0F0E0E"})))};function i7e(){return i7e=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},i7e.apply(this,arguments)}var r7e,o7e=function(e){return m.createElement("svg",i7e({width:18,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t7e||(t7e=m.createElement("path",{d:"M14.742.992a.75.75 0 0 0-.522 1.288l1.22 1.22h-.69C8.822 3.5 4 8.322 4 14.25a.75.75 0 1 0 1.5 0A9.238 9.238 0 0 1 14.75 5h.69l-1.22 1.22a.75.75 0 1 0 1.06 1.06l2.436-2.435a.75.75 0 0 0-.004-1.194L15.28 1.22a.75.75 0 0 0-.538-.228ZM3.25 1A3.262 3.262 0 0 0 0 4.25v11.5A3.262 3.262 0 0 0 3.25 19h11.5A3.261 3.261 0 0 0 18 15.75v-4a.751.751 0 1 0-1.5 0v4a1.74 1.74 0 0 1-1.75 1.75H3.25a1.74 1.74 0 0 1-1.75-1.75V4.25c0-.975.775-1.75 1.75-1.75h4a.75.75 0 1 0 0-1.5h-4Z",fill:"#0F0E0E"})))};function a7e(){return a7e=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},a7e.apply(this,arguments)}var s7e,l7e=function(e){return m.createElement("svg",a7e({width:18,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r7e||(r7e=m.createElement("path",{d:"M14.74.99a1 1 0 0 0-.697 1.717l.547.547C8.738 3.34 4 8.128 4 14a1 1 0 1 0 2 0 8.73 8.73 0 0 1 8.577-8.741l-.534.534a1 1 0 1 0 1.414 1.414l2.161-2.161a1 1 0 0 0-.004-1.596l-2.157-2.157a1 1 0 0 0-.718-.303ZM3.25 1A3.265 3.265 0 0 0 0 4.25v11.5A3.265 3.265 0 0 0 3.25 19h11.5A3.265 3.265 0 0 0 18 15.75V12a1 1 0 1 0-2 0v3.75c0 .702-.548 1.25-1.25 1.25H3.25C2.548 17 2 16.452 2 15.75V4.25C2 3.548 2.548 3 3.25 3H7a1 1 0 1 0 0-2H3.25Z",fill:"#0F0E0E"})))};function u7e(){return u7e=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},u7e.apply(this,arguments)}var c7e,d7e=function(e){return m.createElement("svg",u7e({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),s7e||(s7e=m.createElement("path",{d:"M15.46.964a3.57 3.57 0 0 0-2.532 1.044L10.38 4.556C9.176 5.76 9.078 7.599 9.957 8.982l-.975.976c-1.384-.88-3.223-.783-4.427.422l-2.548 2.548a3.594 3.594 0 0 0 0 5.065 3.594 3.594 0 0 0 5.065 0l2.548-2.548c1.205-1.204 1.302-3.043.422-4.426l.976-.976c1.384.88 3.222.782 4.426-.423l2.548-2.548a3.593 3.593 0 0 0 0-5.064A3.57 3.57 0 0 0 15.46.964Zm0 1.49c.531 0 1.063.205 1.472.614a2.07 2.07 0 0 1 0 2.944L14.384 8.56c-.63.63-1.544.764-2.308.424l1.64-1.638a.751.751 0 0 0-.818-1.23.75.75 0 0 0-.243.17l-1.64 1.638a2.06 2.06 0 0 1 .426-2.308l2.547-2.548c.41-.409.941-.614 1.472-.614Zm-8.372 8.373c.286 0 .568.07.835.19l-1.638 1.637a.75.75 0 1 0 1.06 1.06l1.639-1.637c.34.763.206 1.677-.424 2.307L6.01 16.933a2.07 2.07 0 0 1-2.943-.001 2.07 2.07 0 0 1 0-2.943l2.548-2.549c.41-.409.941-.613 1.472-.613Z",fill:"#0F0E0E"})))};function p7e(){return p7e=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},p7e.apply(this,arguments)}var h7e,f7e=function(e){return m.createElement("svg",p7e({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),c7e||(c7e=m.createElement("path",{d:"M15.46.715a3.82 3.82 0 0 0-2.709 1.116L10.203 4.38C8.966 5.616 8.82 7.486 9.64 8.945l-.695.695c-1.46-.821-3.33-.674-4.567.563L1.83 12.751a3.847 3.847 0 0 0 0 5.419 3.848 3.848 0 0 0 5.42 0l2.547-2.548c1.237-1.237 1.384-3.108.563-4.567l.695-.695c1.46.82 3.329.674 4.566-.563l2.548-2.548a3.846 3.846 0 0 0 0-5.418A3.82 3.82 0 0 0 15.46.715Zm0 1.988c.467 0 .933.18 1.295.542a1.817 1.817 0 0 1 0 2.59l-2.548 2.548c-.455.455-1.07.59-1.648.473l1.334-1.334a1.001 1.001 0 0 0-1.415-1.415l-1.334 1.334c-.117-.578.019-1.193.473-1.648l2.548-2.548a1.825 1.825 0 0 1 1.295-.542Zm-8.372 8.372c.12 0 .235.046.353.07l-1.333 1.332a1.002 1.002 0 0 0 1.415 1.416l1.333-1.333c.116.577-.019 1.193-.473 1.647l-2.549 2.549a1.816 1.816 0 0 1-2.59-.001 1.816 1.816 0 0 1 0-2.589l2.55-2.549a1.825 1.825 0 0 1 1.294-.542Z",fill:"#0F0E0E"})))};function m7e(){return m7e=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},m7e.apply(this,arguments)}var g7e;function v7e(){return v7e=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},v7e.apply(this,arguments)}var y7e,b7e=function(e){return m.createElement("svg",v7e({width:3,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),g7e||(g7e=m.createElement("path",{d:"M1.5 12.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z",fill:"#0F0E0E"})))};function O7e(){return O7e=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},O7e.apply(this,arguments)}var _7e,w7e=function(e){return m.createElement("svg",O7e({width:6,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),y7e||(y7e=m.createElement("path",{d:"M1.003.992A.75.75 0 0 0 .481 2.28l3.47 3.47L.48 9.22a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 0 0-.538-.228Z",fill:"#0F0E0E"})))};function x7e(){return x7e=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},x7e.apply(this,arguments)}var k7e,S7e=function(e){return m.createElement("svg",x7e({width:6,height:11,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),_7e||(_7e=m.createElement("path",{d:"M4.985.993a.75.75 0 0 0-.515.227l-4 4a.75.75 0 0 0 0 1.06l4 4a.748.748 0 0 0 1.235-.236.75.75 0 0 0-.175-.824L2.06 5.75l3.47-3.47A.75.75 0 0 0 4.985.993Z",fill:"#0F0E0E"})))};function P7e(){return P7e=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},P7e.apply(this,arguments)}var E7e,C7e=function(e){return m.createElement("svg",P7e({width:18,height:18,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),k7e||(k7e=m.createElement("path",{d:"M16.743.49a.75.75 0 0 0-.523.23L9 7.94 1.78.72A.75.75 0 1 0 .72 1.78L7.94 9 .72 16.22a.75.75 0 1 0 1.06 1.06L9 10.06l7.22 7.22a.751.751 0 1 0 1.06-1.06L10.06 9l7.22-7.22a.75.75 0 0 0-.537-1.29Z",fill:"#0F0E0E"})))};function F7e(){return F7e=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},F7e.apply(this,arguments)}var T7e,D7e=function(e){return m.createElement("svg",F7e({width:19,height:17,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),E7e||(E7e=m.createElement("path",{d:"M7.735.493A.75.75 0 0 0 7.22.72l-7 7a.75.75 0 0 0 0 1.06l7 7a.748.748 0 0 0 1.235-.236.75.75 0 0 0-.175-.824L2.56 9h14.69a.75.75 0 1 0 0-1.5H2.56l5.72-5.72A.75.75 0 0 0 7.735.493Z",fill:"#0F0E0E"})))};function A7e(){return A7e=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},A7e.apply(this,arguments)}var I7e,L7e=function(e){return m.createElement("svg",A7e({width:21,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),T7e||(T7e=m.createElement("path",{d:"M5 0a.75.75 0 0 0-.695.469l-4.25 10.5a.75.75 0 1 0 1.39.562L2.267 9.5h5.465l.823 2.031a.74.74 0 0 0 .174.25l.786-1.873-3.82-9.44A.75.75 0 0 0 5 0Zm0 2.749L7.125 8h-4.25L5 2.749ZM13.98 3a.75.75 0 0 0-.672.46l-5.25 12.5a.75.75 0 1 0 1.383.58l1.078-2.566 6.973.026 1.066 2.54a.75.75 0 1 0 1.383-.58l-5.25-12.5A.75.75 0 0 0 13.98 3ZM14 5.687l2.86 6.811-5.712-.022L14 5.686ZM8.75 18.5a.751.751 0 1 0 0 1.5h10.5a.751.751 0 1 0 0-1.5H8.75Z",fill:"#5C5653"})))};function $7e(){return $7e=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},$7e.apply(this,arguments)}var M7e,z7e=function(e){return m.createElement("svg",$7e({width:11,height:14,viewBox:"0 0 10.5 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),I7e||(I7e=m.createElement("path",{d:"M1.5.667A1.167 1.167 0 0 0 .334 2.02v9.955A1.167 1.167 0 0 0 1.5 13.333h5A3.851 3.851 0 0 0 10.334 9.5c0-1.308-.71-2.414-1.722-3.107.42-.597.722-1.282.722-2.06A3.685 3.685 0 0 0 5.667.667H1.5ZM2.667 3h3C6.417 3 7 3.583 7 4.333s-.583 1.334-1.333 1.334H2.834c-.056 0-.112.003-.167.01V3Zm0 4.989A1.167 1.167 0 0 0 2.834 8H6.5C7.342 8 8 8.658 8 9.5S7.342 11 6.5 11H2.667V7.99Z",fill:"#5C5653"})))};function R7e(){return R7e=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},R7e.apply(this,arguments)}var j7e,Q7e=function(e){return m.createElement("svg",R7e({width:12,height:12,viewBox:"0 0 11.33 12",xmlns:"http://www.w3.org/2000/svg"},e),M7e||(M7e=m.createElement("path",{d:"M7.813.327a.5.5 0 0 0-.057.006h-3.59a.5.5 0 1 0 0 1h2.937l-3.612 9.334H.833a.5.5 0 1 0 0 1h2.918a.496.496 0 0 0 .16 0h3.922a.499.499 0 1 0 0-1h-3.27l3.613-9.334H10.5a.5.5 0 1 0 0-1H7.916a.5.5 0 0 0-.103-.006Z",fill:"#5C5653"})))};function N7e(){return N7e=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},N7e.apply(this,arguments)}var U7e,B7e=function(e){return m.createElement("svg",N7e({width:14,height:9,viewBox:"0 0 14 8.33",xmlns:"http://www.w3.org/2000/svg"},e),j7e||(j7e=m.createElement("path",{d:"M1.167 0a.833.833 0 1 0 0 1.667.833.833 0 0 0 0-1.667ZM3.5.333a.5.5 0 1 0 0 1h9.667a.5.5 0 1 0 0-1H3.5Zm-2.333 3a.833.833 0 1 0 0 1.667.833.833 0 0 0 0-1.667Zm2.333.334a.5.5 0 1 0 0 1h9.667a.5.5 0 1 0 0-1H3.5Zm-2.333 3a.833.833 0 1 0 0 1.666.833.833 0 0 0 0-1.666ZM3.5 7a.5.5 0 1 0 0 1h9.667a.5.5 0 1 0 0-1H3.5Z",fill:"#5C5653"})))};function q7e(){return q7e=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},q7e.apply(this,arguments)}var G7e=function(e){return m.createElement("svg",q7e({width:13,height:14,viewBox:"0 0 13.66 14",xmlns:"http://www.w3.org/2000/svg"},e),U7e||(U7e=m.createElement("path",{d:"M2.485.667a.5.5 0 0 0-.143.025l-1 .333a.5.5 0 1 0 .316.95L2 1.86v1.972a.5.5 0 1 0 1 0V1.167a.5.5 0 0 0-.515-.5Zm3.682 1.666a.5.5 0 1 0 0 1h6a.5.5 0 1 0 0-1h-6ZM2.367 5c-.5 0-.876.275-1.073.52-.197.247-.273.502-.273.502a.5.5 0 1 0 .958.29s.025-.079.095-.166c.07-.088.127-.146.294-.146.137 0 .162.031.213.1.051.07.086.201.086.26 0 .134-.027.175-.114.262-.088.088-.252.189-.451.293-.2.104-.43.209-.653.386-.222.177-.449.492-.449.866a.5.5 0 0 0 .5.5h2a.5.5 0 1 0 0-1h-.737c.166-.093.336-.176.497-.337a1.396 1.396 0 0 0 .126-1.823A1.285 1.285 0 0 0 2.368 5Zm3.8 1.667a.5.5 0 1 0 0 1h6a.5.5 0 1 0 0-1h-6Zm-3.8 3c-.74 0-1.22.478-1.22.478a.5.5 0 1 0 .705.71s.193-.188.516-.188c.132 0 .22.04.26.073.04.032.039.039.039.062 0 .174-.027.161-.038.17A.293.293 0 0 1 2.5 11a.5.5 0 0 0 0 1c-.005 0 .178.028.267.075.09.046.066.026.066.034 0 .086-.014.101-.065.142a.509.509 0 0 1-.297.082c-.345 0-.662-.226-.662-.226a.5.5 0 1 0-.618.786s.53.44 1.28.44c.326 0 .65-.088.913-.295a1.2 1.2 0 0 0 .45-.93c0-.3-.154-.516-.331-.687.096-.181.164-.388.164-.62 0-.334-.168-.645-.412-.84a1.402 1.402 0 0 0-.887-.294ZM6.168 11a.5.5 0 1 0 0 1h6a.5.5 0 1 0 0-1h-6Z",fill:"#5C5653"})))};function W7e(e,t,n){return void 0===t&&(t=20),void 0===n&&(n=.8),i.useMemo((function(){var i=function(e,t,n){void 0===t&&(t=20),void 0===n&&(n=.8);var i=Math.floor(100*e/(window.innerHeight-t))/100;return i>=n?1:i}(e,t,n);return{initialBreakpoint:i,breakpoints:1!==i?[0,i,1]:[0,1]}}),[])}var X7e,V7e,Y7e,H7e,Z7e,K7e=i.forwardRef((function(e,n){var i=e.size,r=void 0===i?"Default":i,o=e.icon,a=e.label,s=e.disabled,l=e.onClick,u=e.domIdentifier,c=e.className;return t.jsxs(eet,mQe({isSmall:"Small"===r,disabled:s,onClick:l,className:c,ref:n,"data-button":u},{children:[o&&t.jsx(tet,{children:o},void 0),a]}),void 0)})),J7e=o.css(X7e||(X7e=OQe(["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n font-weight: 700;\n color: var(--color-neutral-950);\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n &:focus-visible {\n outline: 2px solid var(--color-neutral-950) !important;\n outline-offset: 2px;\n }\n"],["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n font-weight: 700;\n color: var(--color-neutral-950);\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n &:focus-visible {\n outline: 2px solid var(--color-neutral-950) !important;\n outline-offset: 2px;\n }\n"]))),eet=y.default.button.withConfig({displayName:"BaseButton__StyledButton",componentId:"sc-10vs599-0"})(H7e||(H7e=OQe(["\n ","\n gap: 4px;\n\n ","\n"],["\n ","\n gap: 4px;\n\n ","\n"])),J7e,(function(e){return e.isSmall?o.css(V7e||(V7e=OQe(["\n height: 32px;\n padding: 0 15px;\n border-radius: 16px;\n\n font-size: 12px;\n line-height: 12px;\n "],["\n height: 32px;\n padding: 0 15px;\n border-radius: 16px;\n\n font-size: 12px;\n line-height: 12px;\n "]))):o.css(Y7e||(Y7e=OQe(["\n height: 46px;\n padding: 0 24px;\n border-radius: 23px;\n\n font-size: 16px;\n line-height: 16px;\n "],["\n height: 46px;\n padding: 0 24px;\n border-radius: 23px;\n\n font-size: 16px;\n line-height: 16px;\n "])))})),tet=y.default.div.withConfig({displayName:"BaseButton__IconHost",componentId:"sc-10vs599-1"})(Z7e||(Z7e=OQe(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n max-height: 100%;\n width: 24px;\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n\n max-height: 100%;\n width: 24px;\n"])));y.default(K7e).withConfig({displayName:"StandardButtons__OutlinedButton",componentId:"sc-1kkequa-0"})(iet||(iet=OQe(["\n background-color: var(--color-neutral-50);\n border: 1px solid var(--color-neutral-700);\n color: var(--color-neutral-800);\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 var(--color-neutral-950);\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"],["\n background-color: var(--color-neutral-50);\n border: 1px solid var(--color-neutral-700);\n color: var(--color-neutral-800);\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n border: 1px solid var(--color-neutral-950);\n box-shadow: 1px 1px 0 var(--color-neutral-950);\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"])));var net=y.default(K7e).withConfig({displayName:"StandardButtons__PrimaryButton",componentId:"sc-1kkequa-1"})(ret||(ret=OQe(["\n background-color: var(--color-coral-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-primary-500);\n }\n"],["\n background-color: var(--color-coral-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-primary-500);\n }\n"])));y.default(K7e).withConfig({displayName:"StandardButtons__SecondaryButton",componentId:"sc-1kkequa-2"})(oet||(oet=OQe(["\n background-color: var(--color-mint-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-mint-500);\n }\n"],["\n background-color: var(--color-mint-400);\n\n &:hover:not([disabled]) {\n background-color: var(--color-mint-500);\n }\n"])));var iet,ret,oet,aet,set,uet,cet,det,pet,het,fet,met=y.default(K7e).withConfig({displayName:"StandardButtons__TertiaryButton",componentId:"sc-1kkequa-3"})(aet||(aet=OQe(["\n &:hover:not([disabled]) {\n background-color: var(--color-neutral-200);\n }\n"],["\n &:hover:not([disabled]) {\n background-color: var(--color-neutral-200);\n }\n"]))),get=y.default(K7e).withConfig({displayName:"StandardButtons__TextButton",componentId:"sc-1kkequa-4"})(set||(set=OQe(["\n color: var(--color-neutral-800);\n padding: 0;\n border-radius: 0;\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"],["\n color: var(--color-neutral-800);\n padding: 0;\n border-radius: 0;\n\n svg {\n fill: var(--color-neutral-800);\n }\n\n &:hover:not([disabled]) {\n color: var(--color-neutral-950);\n\n svg {\n fill: var(--color-neutral-950);\n }\n }\n"]))),vet=i.forwardRef((function(e,n){var i=e.defaultSVG,r=e.hoveredSVG,o=e.secondarySVG,a=e.label,s=e.labelDirection,l=e.iconSize,u=e.onClick,c=e.disabled,d=e.reverseIcon,p=e.className;return t.jsxs(yet,mQe({onClick:u,ref:n,className:p,disabled:c},{children:[t.jsx(Z8e,{defaultSVG:i,hoveredSVG:r,label:a,labelDirection:s,size:l,reverseIcon:d},void 0),o&&t.jsx(bet,{children:o},void 0)]}),void 0)})),yet=y.default.button.withConfig({displayName:"IconActionButton__StyledButton",componentId:"sc-1xa2jyn-0"})(uet||(uet=OQe(["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n padding: 0;\n\n font-size: 12px;\n line-height: 12px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n appearance: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n background-color: transparent;\n box-sizing: border-box;\n padding: 0;\n\n font-size: 12px;\n line-height: 12px;\n font-weight: 700;\n\n &:focus-visible {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n\n &:focus {\n outline: 2px solid var(--color-neutral-950);\n outline-offset: 2px;\n }\n }\n\n &:hover {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"]))),bet=y.default.span.withConfig({displayName:"IconActionButton__SecondaryIconHost",componentId:"sc-1xa2jyn-1"})(cet||(cet=OQe(["\n margin-left: auto;\n"],["\n margin-left: auto;\n"]))),Oet=i.forwardRef((function(e,n){var i=e.defaultSVG,r=e.hoveredSVG,o=e.selectedSVG,a=e.secondarySVG,s=e.label,l=e.labelDirection,u=e.iconSize,c=e.onClick,d=e.disabled,p=e.className;return t.jsx(_et,{onClick:c,ref:n,className:p,disabled:d,isSelected:!!o,defaultSVG:null!=o?o:i,hoveredSVG:null!=o?o:r,label:s,labelDirection:l,iconSize:u,secondarySVG:a},void 0)})),_et=y.default(vet).withConfig({displayName:"ContentActionButton__StyledIconActionButton",componentId:"sc-p9fvi8-0"})(het||(het=OQe(["\n border-radius: 8px;\n padding: 8px 10px;\n\n ","\n"],["\n border-radius: 8px;\n padding: 8px 10px;\n\n ","\n"])),(function(e){return e.isSelected?o.css(det||(det=OQe(["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n "],["\n background: var(--color-primary-100);\n --iconTextColor: var(--color-primary-700);\n "]))):o.css(pet||(pet=OQe(["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "],["\n &:hover {\n background: white;\n --iconTextColor: var(--color-neutral-800);\n }\n "])))}));y.default(r.NavLink).withConfig({displayName:"IconNavLink__StyledNavLink",componentId:"sc-vke3b0-0"})(fet||(fet=OQe(["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"],["\n &,\n &:hover,\n &:visited,\n &:active {\n color: var(--text-color-default);\n }\n\n > span {\n gap: ",";\n }\n\n &:focus {\n [data-icon-state='default']:not(:only-child) {\n display: none;\n }\n\n [data-icon-state='hovered'] {\n display: flex;\n }\n }\n"])),(function(e){return"row"===e.direction?"10px":"5px"}));var wet,xet,ket,Pet,Eet,Cet,Fet,Tet,Det,Aet,Iet,Let,$et=y.default(vet).withConfig({displayName:"BackButton__StyledIconActionButton",componentId:"sc-18svzaj-0"})(wet||(wet=OQe(["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"],["\n padding-block: calc((var(--detail-actions-height) - 24px) / 2);\n padding-inline: 20px 24px;\n"]))),Met=i.forwardRef((function(e,n){var i=e.buttonSize,r=void 0===i?"Default":i,o=e.defaultSVG,a=e.hoveredSVG,s=e.disabled,l=e.onClick,u=e.className;return t.jsx(zet,{buttonSize:r,disabled:s,onClick:l,className:u,ref:n,defaultSVG:o,hoveredSVG:!s&&a,iconSize:"Small"===r?13:20},void 0)})),zet=y.default(vet).withConfig({displayName:"BaseIconicButton__StyledIconActionButton",componentId:"sc-1788zrp-0"})(Eet||(Eet=OQe(["\n border-radius: 50%;\n [data-icon-state] {\n width: auto;\n height: auto;\n }\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n ","\n"],["\n border-radius: 50%;\n [data-icon-state] {\n width: auto;\n height: auto;\n }\n\n &[disabled] {\n opacity: 0.3;\n cursor: default;\n }\n\n ","\n"])),(function(e){var t=e.buttonSize;return"Large"===t?o.css(xet||(xet=OQe(["\n width: 40px;\n height: 40px;\n padding: 10px;\n "],["\n width: 40px;\n height: 40px;\n padding: 10px;\n "]))):"Small"===t?o.css(ket||(ket=OQe(["\n width: 24px;\n height: 24px;\n padding: 5px;\n "],["\n width: 24px;\n height: 24px;\n padding: 5px;\n "]))):o.css(Pet||(Pet=OQe(["\n width: 32px;\n height: 32px;\n padding: 6px;\n "],["\n width: 32px;\n height: 32px;\n padding: 6px;\n "])))})),Ret=function(e){return t.jsx(jet,mQe({},e,{defaultSVG:e.isSelected&&e.hoveredSVG?e.hoveredSVG:e.defaultSVG}),void 0)},jet=y.default(Met).withConfig({displayName:"IconicButtons__PrimaryIconicStyledBaseButton",componentId:"sc-1kri1yx-0"})(Tet||(Tet=OQe(["\n svg {\n fill: var(--color-neutral-800);\n }\n\n ","\n"],["\n svg {\n fill: var(--color-neutral-800);\n }\n\n ","\n"])),(function(e){return e.isSelected?o.css(Cet||(Cet=OQe(["\n background-color: var(--color-coral-200);\n "],["\n background-color: var(--color-coral-200);\n "]))):o.css(Fet||(Fet=OQe(["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-100);\n }\n "],["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-100);\n }\n "])))}));y.default(Met).withConfig({displayName:"IconicButtons__SecondaryIconicStyledBaseButton",componentId:"sc-1kri1yx-1"})(Iet||(Iet=OQe(["\n position: relative;\n background-color: var(--color-coral-400);\n\n &[disabled] {\n background-color: var(--color-neutral-50);\n\n svg {\n fill: var(--color-neutral-800);\n }\n }\n\n ","\n"],["\n position: relative;\n background-color: var(--color-coral-400);\n\n &[disabled] {\n background-color: var(--color-neutral-50);\n\n svg {\n fill: var(--color-neutral-800);\n }\n }\n\n ","\n"])),(function(e){return e.isSelected?o.css(Det||(Det=OQe(["\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n border: 2px solid var(--color-coral-700);\n border-radius: 50%;\n }\n\n background-color: var(--color-coral-500);\n\n svg {\n fill: var(--color-coral-750);\n }\n "],["\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n border: 2px solid var(--color-coral-700);\n border-radius: 50%;\n }\n\n background-color: var(--color-coral-500);\n\n svg {\n fill: var(--color-coral-750);\n }\n "]))):o.css(Aet||(Aet=OQe(["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-500);\n }\n\n svg {\n fill: var(--color-coral-950);\n }\n "],["\n &:hover:not([disabled]) {\n background-color: var(--color-coral-500);\n }\n\n svg {\n fill: var(--color-coral-950);\n }\n "])))})),function(e){e[e.normal=0]="normal",e[e.close=1]="close"}(Let||(Let={}));var Qet,Net,Uet,Bet,qet,Get,Wet,Xet,Vet,Yet,Het,Zet,Ket,Jet,ett,ttt,ntt,itt,rtt,ott=function(e){var n=e.isOpen,i=e.triggerButton,r=e.title,o=e.type,a=void 0===o?Let.close:o,s=e.isBlocking,l=e.onDismiss,u=e.className,c=e.children,d=foe(),p=Xk().formatMessage;return t.jsxs(uke,mQe({open:n,onOpenChange:function(e){return e||null==l?void 0:l()}},{children:[null!=i&&t.jsx(cke,mQe({asChild:!0},{children:i}),void 0),t.jsxs(dke,{children:[t.jsx(att,{},void 0),t.jsxs(stt,mQe({className:HB(d,u),onInteractOutside:s?function(e){return e.preventDefault()}:void 0},{children:[(r||a===Let.close)&&t.jsxs(ltt,mQe({"data-dialog-header":!0},{children:[r&&t.jsx(ctt,mQe({"data-dialog-header-title":!0},{children:r}),void 0),a===Let.close&&t.jsx(mke,mQe({asChild:!0},{children:t.jsx(dtt,mQe({"aria-label":p({id:"Generic.close"})},{children:t.jsx(C7e,{},void 0)}),void 0)}),void 0)]}),void 0),t.jsx(utt,mQe({"data-dialog-inner":!0},{children:c}),void 0)]}),void 0)]},void 0)]}),void 0)},att=y.default(pke).withConfig({displayName:"BaseDialog__StyledOverlay",componentId:"sc-1mpyir9-0"})(Qet||(Qet=OQe(["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"],["\n background-color: rgba(15, 14, 14, 0.4);\n position: fixed;\n z-index: 2;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"]))),stt=y.default(hke).withConfig({displayName:"BaseDialog__StyledContent",componentId:"sc-1mpyir9-1"})(Net||(Net=OQe(["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"],["\n z-index: 3;\n background-color: white;\n color: var(--text-color-default);\n\n overflow: auto;\n width: auto;\n\n &:focus {\n outline: none;\n }\n"]))),ltt=y.default.div.withConfig({displayName:"BaseDialog__Header",componentId:"sc-1mpyir9-2"})(Uet||(Uet=OQe(["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"],["\n padding: 24px 24px 6px;\n box-sizing: border-box;\n"]))),utt=y.default.div.withConfig({displayName:"BaseDialog__Inner",componentId:"sc-1mpyir9-3"})(Bet||(Bet=OQe(["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"],["\n max-width: 100%;\n padding: 24px;\n max-height: calc(100% - 55px);\n box-sizing: border-box;\n"]))),ctt=y.default(fke).withConfig({displayName:"BaseDialog__StyledTitle",componentId:"sc-1mpyir9-4"})(qet||(qet=OQe(["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"],["\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 16px;\n line-height: 1.2;\n margin-block: 0 ","px;\n }\n"])),6),dtt=y.default.button.withConfig({displayName:"BaseDialog__CloseButton",componentId:"sc-1mpyir9-5"})(Get||(Get=OQe(["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"],["\n position: absolute;\n top: 25px;\n right: 25px;\n height: 17px;\n width: 17px;\n padding: 0;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: transparent;\n"]))),ptt=y.default(ott).withConfig({displayName:"Dialog__StyledBaseDialog",componentId:"sc-1wziofc-0"})(Het||(Het=OQe(["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"],["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n ","\n\n @keyframes contentShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n ","\n\n ","\n\n max-height: 85vh;\n min-height: 176px;\n"])),hoe,(function(e){return e.maxwidth?o.css(Wet||(Wet=OQe(["\n max-width: ","px;\n "],["\n max-width: ","px;\n "])),e.maxwidth):o.css(Xet||(Xet=OQe(["\n max-width: 90vw;\n "],["\n max-width: 90vw;\n "])))}),(function(e){return e.minwidth?o.css(Vet||(Vet=OQe(["\n min-width: ","px;\n "],["\n min-width: ","px;\n "])),e.minwidth):o.css(Yet||(Yet=OQe(["\n min-width: 288px;\n "],["\n min-width: 288px;\n "])))})),htt=y.default.div.withConfig({displayName:"Dialog__Footer",componentId:"sc-1wziofc-1"})(Zet||(Zet=OQe(["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n gap: 8px;\n margin-top: 40px;\n"],["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n gap: 8px;\n margin-top: 40px;\n"]))),ftt=function(e){var n=e.isOpen,i=e.onDismiss,r=e.title,o=e.triggerButton,a=e.hideHeader,s=e.className,l=e.children,u=gQe(e,["isOpen","onDismiss","title","triggerButton","hideHeader","className","children"]),c=foe();return t.jsxs(mtt,{children:[o,t.jsxs(VTe,mQe({isOpen:n,onDidDismiss:function(){return i()},className:c},u,{children:[!a&&t.jsx(vtt,{title:r,onDismiss:i},void 0),t.jsx(QTe,mQe({forceOverscroll:!1},{children:t.jsx(gtt,mQe({"data-inlinemodal-content":!0,className:s},{children:l}),void 0)}),void 0)]}),void 0)]},void 0)},mtt=y.default.div.withConfig({displayName:"MobileInlineModal__Host",componentId:"sc-12osu96-0"})(Ket||(Ket=OQe(["\n display: flex;\n"],["\n display: flex;\n"]))),gtt=y.default.div.withConfig({displayName:"MobileInlineModal__Content",componentId:"sc-12osu96-1"})(Jet||(Jet=OQe(["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"],["\n height: 100%;\n box-sizing: border-box;\n background: var(--mobile-modal-background-color);\n"]))),vtt=function(e){var n=e.title,i=e.onDismiss;return t.jsx(ytt,mQe({class:"ion-no-border","data-modal-header":!0},{children:t.jsxs(btt,{children:[t.jsx(Ott,{onClick:i},void 0),t.jsx(_tt,{children:n},void 0)]},void 0)}),void 0)},ytt=y.default(NTe).withConfig({displayName:"MobileInlineModal__StyledIonHeader",componentId:"sc-12osu96-2"})(ett||(ett=OQe(["\n background: var(--mobile-modal-background-color);\n"],["\n background: var(--mobile-modal-background-color);\n"]))),btt=y.default.div.withConfig({displayName:"MobileInlineModal__Inner",componentId:"sc-12osu96-3"})(ttt||(ttt=OQe(["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"],["\n height: var(--detail-actions-height);\n display: flex;\n width: 100%;\n position: relative;\n"]))),Ott=y.default((function(e){var n=e.onClick,i=e.className;return t.jsx($et,{defaultSVG:t.jsx(D7e,{},void 0),onClick:n,className:i},void 0)})).withConfig({displayName:"MobileInlineModal__StyledBackButton",componentId:"sc-12osu96-4"})(ntt||(ntt=OQe(["\n position: absolute;\n left: 0;\n top: 0;\n"],["\n position: absolute;\n left: 0;\n top: 0;\n"]))),_tt=y.default.h2.withConfig({displayName:"MobileInlineModal__Title",componentId:"sc-12osu96-5"})(itt||(itt=OQe(["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"],["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n margin: 0;\n padding: 0 68px; /* width of the back button */\n\n && {\n font-family: Anybody, Arial, sans-serif !important;\n font-weight: 700;\n font-size: 20px;\n line-height: 24px;\n }\n"]))),wtt=439;y.default(ott).withConfig({displayName:"Panel__StyledBaseDialog",componentId:"sc-mvozll-0"})(rtt||(rtt=OQe(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"],["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n\n background: var(--color-neutral-50);\n box-shadow: 0 4px 32px 4px rgba(15, 14, 14, 0.1);\n overflow: hidden;\n\n [data-dialog-inner] {\n overflow-y: auto;\n height: calc(100% - 56px - 32px);\n padding: 0;\n margin-top: 32px;\n }\n\n [data-dialog-header] {\n padding: 32px 32px 0;\n\n & > button {\n top: 32px;\n right: 32px;\n }\n }\n\n [data-dialog-header-title] {\n font-size: 20px;\n line-height: 24px;\n margin: 0;\n }\n\n @keyframes contentEaseIn {\n from {\n transform: translate(","px, 0);\n opacity: 0;\n }\n to {\n transform: translate(0, 0);\n }\n }\n @keyframes contentEaseOut {\n from {\n transform: translate(0, 0);\n }\n to {\n transform: translate(","px, 0);\n }\n }\n animation: "," 0.3s ease;\n transition: opacity 0.15s ease;\n opacity: ",";\n\n width: ","px;\n\n @media all and (max-width: ","px) {\n width: 100%;\n }\n"])),wtt,wtt,(function(e){return e.isOpen?"contentEaseIn":"contentEaseOut"}),(function(e){return e.isOpen?"1":"0"}),wtt,wtt);var xtt,ktt,Stt=i.forwardRef((function(e,n){return!i.useContext(Ftt)||e.neverStackChildren?t.jsx(Ett,mQe({ref:n},e),void 0):t.jsx(Ptt,mQe({},e),void 0)})),Ptt=function(e){var t=e.isOpen,n=e.onDismiss,r=e.initialBreakpoint,o=e.children,a=i.useContext(Ftt).addNewLayer;return i.useEffect((function(){t&&a(o,n,r)}),[t]),null},Ett=i.forwardRef((function(e,n){var i=e.isOpen,r=e.onDismiss,o=e.initialBreakpoint,a=e.breakpoints,s=e.className,l=e.children,u=foe();return t.jsx("div",{children:t.jsx(VTe,mQe({isOpen:i,ref:n,onDidDismiss:r,initialBreakpoint:o,breakpoints:null!=a?a:[0,o,1],className:u,handleBehavior:"cycle"},{children:t.jsx(QTe,mQe({forceOverscroll:!1},{children:t.jsx(Ctt,mQe({className:s},{children:l((function(){return null}))}),void 0)}),void 0)}),void 0)},void 0)})),Ctt=y.default.div.withConfig({displayName:"ModalBottomSheet__Host",componentId:"sc-14p349p-0"})(xtt||(xtt=OQe(["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"],["\n padding: 40px 24px 24px;\n\n @media screen and (min-width: ","px) {\n padding: 40px 32px 32px;\n }\n"])),W7),Ftt=i.createContext(null);y.default.div.withConfig({displayName:"Modal__Host",componentId:"sc-wik3mt-0"})(ktt||(ktt=OQe(["\n display: flex;\n"],["\n display: flex;\n"])));var Ttt=dBe,Dtt=FQe,Att=PQe,Itt=VQe,Ltt=qQe,$tt=uNe.f,Mtt=YUe,ztt=Att.Symbol;if(Dtt&&"function"==typeof ztt&&(!("description"in ztt.prototype)||void 0!==ztt().description)){var Rtt={},jtt=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof jtt?new ztt(e):void 0===e?ztt():ztt(e);return""===e&&(Rtt[t]=!0),t};Mtt(jtt,ztt);var Qtt=jtt.prototype=ztt.prototype;Qtt.constructor=jtt;var Ntt=Qtt.toString,Utt="Symbol(test)"==String(ztt("test")),Btt=/^Symbol\((.*)\)[^)]+$/;$tt(Qtt,"description",{configurable:!0,get:function(){var e=Ltt(this)?this.valueOf():this,t=Ntt.call(e);if(Itt(Rtt,e))return"";var n=Utt?t.slice(7,-1):t.replace(Btt,"$1");return""===n?void 0:n}}),Ttt({global:!0,forced:!0},{Symbol:jtt})}var qtt,Gtt,Wtt,Xtt,Vtt,Ytt=o.css(qtt||(qtt=OQe(["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"],["\n font-size: 17px;\n line-height: 22px;\n letter-spacing: -0.408px;\n &,\n * {\n font-family: var(--ion-font-family, inherit) !important;\n }\n"])));y.default(GTe).withConfig({displayName:"ConfirmationDialog__StyledIonActionSheet",componentId:"sc-m2uptd-0"})(Gtt||(Gtt=OQe(["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"],["\n .action-sheet-group > * {\n white-space: pre;\n ","\n }\n"])),Ytt),y.default((function(e){var n=e.hideCancelButton,i=e.onSave,r=e.disableSave,o=e.saveButtonLabel,a=e.cancelButtonLabel,s=e.children,l=gQe(e,["hideCancelButton","onSave","disableSave","saveButtonLabel","cancelButtonLabel","children"]),u=Xk().formatMessage;return t.jsxs(ptt,mQe({},l,{children:[s,(i||!n)&&t.jsxs(htt,{children:[!n&&t.jsx(mke,mQe({asChild:!0},{children:t.jsx(met,{label:a||u({id:"Generic.Cancel"})},void 0)}),void 0),i&&t.jsx(mke,mQe({asChild:!0},{children:t.jsx(net,{disabled:r,onClick:i,label:o||u({id:"Generic.Save"})},void 0)}),void 0)]},void 0)]}),void 0)})).withConfig({displayName:"ConfirmationDialog__StyledDialog",componentId:"sc-m2uptd-1"})(Wtt||(Wtt=OQe(["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-inner] {\n padding-top: 0;\n }\n"],["\n [data-dialog-header-title] {\n font-weight: 700;\n font-size: 28px;\n line-height: 34px;\n }\n\n [data-dialog-inner] {\n padding-top: 0;\n }\n"]))),y.default.div.withConfig({displayName:"ConfirmationDialog__Description",componentId:"sc-m2uptd-2"})(Xtt||(Xtt=OQe(["\n color: var(--color-neutral-800);\n ","\n"],["\n color: var(--color-neutral-800);\n ","\n"])),Ytt),y.default.time.withConfig({displayName:"DateTimeDisplay__Host",componentId:"sc-17lnikl-0"})(Vtt||(Vtt=OQe(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));var Htt=function(e){var n=e.onRequestToken,r=e.children,o=e.subscriptionId,a=i.useState(null),s=a[0],l=a[1],u=i.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(n){return ig.error(e,t),[2,Promise.reject(e)]}))}))}}}),[o,s]);return t.jsx(Uw.Provider,ko({value:u},{children:r}),void 0)},Ztt="0.5.0-preview.696",Ktt="128082",Jtt="f25190cf46c8a60ab2dc8d15da66942322de10a3",ent=X,tnt=j,nnt=Pn("match"),int=function(e){var t;return ent(e)&&(void 0!==(t=e[nnt])?!!t:"RegExp"==tnt(e))},rnt=Pn("match"),ont=function(e){if(int(e))throw TypeError("The method doesn't accept regular expressions");return e},ant=B,snt=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[rnt]=!1,"/./"[e](t)}catch(e){}}return!1};dn({target:"String",proto:!0,forced:!snt("includes")},{includes:function(e){return!!~String(ant(this)).indexOf(ont(e),arguments.length>1?arguments[1]:void 0)}});var lnt,unt,cnt={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:{hostName:"test.analytics.livetiles.io",regions:{global:"euw",australia:"aue"},dashboards:[{name:"content-engagement",title:"Content Engagement",id:"reach-content-engagement",params:"/?standalone=2"}]}},dnt={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:{hostName:"analytics.livetiles.io",dashboards:[{name:"content-engagement",title:"Content Engagement",id:"reach-content-engagement",params:"/?standalone=2"}]}},pnt=require("deepmerge"),hnt=["//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"],fnt=function(e){var n=e.children,r=Am(),o=r.apiEndpoint,a=r.additionalVideoSources,s=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!hnt.some((function(e){return o.toLowerCase().includes(e)}));if(!e)return ig.info("Will use non prod client config..."),ko(ko({},cnt),{additionalVideoSources:a});var t=pnt(cnt,dnt,{arrayMerge:function(e,t){return t}});return ko(ko({},t),{additionalVideoSources:a})}())}),[o]);return t.jsx(Gm.Provider,ko({value:s},{children:n}),void 0)},mnt=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 Po(this,void 0,void 0,(function(){return Eo(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 Po(this,void 0,void 0,(function(){return Eo(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}(),gnt=new mnt,vnt=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(ynt,ko({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},ynt=function(e){var n=e.subscriptionId,r=e.children,o=i.useContext(Uw).setToken,a=OS(),s=function(){var e=oB().fetchFromApi,t=aB();return i.useMemo((function(){return{getSubscriptionBySubscriptionIdentifier:function(t){return e("/subscriptions/"+t).then((function(e){return e.status<=200?e.json():Promise.reject(e.status)}))},getTermsAndConditions:function(){return t.custom("subscriptions/current/terms_and_conditions").get().then((function(e){return e.body().data()}))}}}),[e,t])}().getSubscriptionBySubscriptionIdentifier,l=oB().fetchFromApi,u=i.useContext(vS),c=u.handleFatalError,d=u.handleAccessDeniedError,p=Mw((function(){return Po(this,void 0,void 0,(function(){var e,t,i;return Eo(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,a.getString(e)];case 1:return(t=r.sent())?(o(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),o(i),[4,a.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 ig.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 ig.error(g.message),d({error:g}),null}return t.jsx(t.Fragment,{children:r},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)}))}},bnt=function(e){var n=e.children,r=i.useState(),o=r[0],a=r[1],s=i.useState(),l=s[0],u=s[1],c=i.useState(),d=c[0],p=c[1],h=i.useMemo((function(){return{handleFatalError:a,handleAccessDeniedError:u,handleNotFoundError:p}}),[a,u,p]);return t.jsx(vS.Provider,ko({value:h},{children:t.jsx(Ont,ko({fatalError:o,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},Ont=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,o=e.children;return n?t.jsx(_nt,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(_nt,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(_nt,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:o},void 0)},_nt=function(n){var r=n.messageId,o=n.error,a=Xk().formatMessage,s=i.useState(!1),l=s[0],u=s[1];return t.jsx(i8e,ko({errorType:e.ErrorType.GenericError,alertText:a({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!l)}},{children:l&&t.jsxs(wnt,{children:[t.jsx(hS,{id:"Generic.error.details"},void 0),t.jsx(xnt,{children:JSON.stringify(o)||"Not provided"},void 0)]},void 0)}),void 0)},wnt=y.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(lnt||(lnt=$o(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),U7),xnt=y.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(unt||(unt=$o(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),knt=function(e){var n=e.children,r=Lne(),o=i.useMemo((function(){return{onShare:function(){return Po(void 0,void 0,void 0,(function(){return Eo(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(yS.Provider,ko({value:o},{children:n}),void 0);function a(e){window.open(e,"_blank")}function s(e){window.open(""+r+e)}},Snt=function(){return null},Pnt=Object.freeze({__proto__:null,Page:Snt,NavLinkSidebarItem:Snt,PageMenuActionItem:Snt});var Ent=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)},onItemRead:function(e){},onSearchTermChange:function(e){return Promise.resolve(void 0)},activity:function(e){},contextualProperties:null,setContextualProperties:function(e){}};return t.jsx(Mee.Provider,ko({value:i},{children:n}),void 0)};!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+Ztt+" ("+Ktt+") ["+Jtt+"]"),window.__did_initialize_reach_context)return;a.initializeIcons()}();var Cnt=function(e){var n=e.disableAnalytics,i=e.appName,r=e.children;return n?t.jsx(Ent,{children:r},void 0):t.jsx(Ree,ko({appName:i},{children:r}),void 0)},Fnt=function(e){var n,r=e.subscriptionId,o=e.language,a=e.locale,s=e.children,l=i.useContext(Vie).setTheme,u=i.useContext(PS).changeSettings,c=function(){var e=h9().getCurrentUser,t=HG();return{getCurrentUser:function(n){return cJ(this,void 0,void 0,(function(){var i=this;return dJ(this,(function(r){switch(r.label){case 0:return[4,t.fetchQuery(["fetchCurrentUser",n],(function(){return cJ(i,void 0,void 0,(function(){return dJ(this,(function(t){switch(t.label){case 0:return[4,e()];case 1:return[2,t.sent()]}}))}))}))];case 1:return[2,r.sent()]}}))}))}}}().getCurrentUser,d=Mw((function(){var e,t;return Po(this,void 0,void 0,(function(){var n,i,s,d;return Eo(this,(function(p){switch(p.label){case 0:return p.trys.push([0,2,,3]),[4,c(r)];case 1:return n=p.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&l(n.subscription.theme),i=pw(o,n.preferredUiLanguage,dw(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),s=t6(n,a),u(i,s).then((function(){return null}),ig.error),o&&(n.preferredContentLanguage=o),[2,n];case 2:throw d=p.sent(),ig.error(d),d;case 3:return[2]}}))}))})),p=d[0],h=d[1],f=d[2],m=d[3],g=i.useContext(vS),v=g.handleFatalError,y=g.handleNotFoundError,b=g.handleAccessDeniedError,O=i.useMemo((function(){return{user:p,refreshUser:function(e){return Promise.resolve(e&&m(e))}}}),[p]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?b({error:f}):v({error:f}),null):h?null:null==p?(y({}),null):t.jsx(b6.Provider,ko({value:O},{children:s}),void 0)},Tnt=function(){return i.useEffect((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),t.jsxs(t.Fragment,{children:[t.jsx(yJ,{},void 0),t.jsx(_J,{},void 0)]},void 0)};var Dnt=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ant=/[\0-\x1F\x7F-\x9F]/,Int=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Lnt=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 $nt(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 Mnt(e){return Object.prototype.toString.call(e)}function znt(e){return"[object Function]"===Mnt(e)}function Rnt(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var jnt={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var Qnt={"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}}},Nnt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Unt(e){var t=e.re=function(e){var t={};return t.src_Any=Dnt.source,t.src_Cc=Ant.source,t.src_Z=Int.source,t.src_P=Lnt.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var r=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var i={validate:null,link:null};if(e.__compiled__[t]=i,function(e){return"[object Object]"===Mnt(e)}(n))return!function(e){return"[object RegExp]"===Mnt(e)}(n.validate)?znt(n.validate)?i.validate=n.validate:o(t,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(znt(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Mnt(e)}(n)?o(t,n):r.push(t)}})),r.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Rnt).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Bnt(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 qnt(e,t){var n=new Bnt(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Gnt(e,t){if(!(this instanceof Gnt))return new Gnt(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||jnt.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=$nt({},jnt,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=$nt({},Qnt,e),this.__compiled__={},this.__tlds__=Nnt,this.__tlds_replaced__=!1,this.re={},Unt(this)}Gnt.prototype.add=function(e,t){return this.__schemas__[e]=t,Unt(this),this},Gnt.prototype.set=function(e){return this.__opts__=$nt(this.__opts__,e),this},Gnt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},Gnt.prototype.pretest=function(e){return this.re.pretest.test(e)},Gnt.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Gnt.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(qnt(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(qnt(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},Gnt.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(),Unt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Unt(this),this)},Gnt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Gnt.prototype.onCompile=function(){};var Wnt=Gnt,Xnt={exports:{}};!function(e,t){var n;n=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),t=JSON.parse('{"vi":{"Đ":"D","đ":"d"}}');function n(n,i){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},o=i.replacement||"-",a=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return i.lower&&(a=a.toLowerCase()),i.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"")),a}return n.extend=function(t){for(var n in t)e[n]=t[n]},n},e.exports=n(),e.exports.default=n()}(Xnt);var Vnt=Xnt.exports;function Ynt(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 Hnt(){return Hnt=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},Hnt.apply(this,arguments)}function Znt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Knt(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 Jnt(e,t,n){return t&&Knt(e.prototype,t),n&&Knt(e,n),e}function eit(e){return eit="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},eit(e)}function tit(e){return tit="function"==typeof Symbol&&"symbol"===eit(Symbol.iterator)?function(e){return eit(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":eit(e)},tit(e)}function nit(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iit(e,t){return!t||"object"!==tit(t)&&"function"!=typeof t?nit(e):t}function rit(e){return rit=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},rit(e)}function oit(e,t){return oit=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},oit(e,t)}function ait(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&&oit(e,t)}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 lit(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function uit(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function cit(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function dit(e){return function(e){if(Array.isArray(e))return cit(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return cit(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cit(e,t):void 0}}(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 pit=function(e){return e===Object(e)?Object.keys(e):[]},hit=function(e){return e===Object(e)?Object.values(e):[]};function fit(e,t){var n=Object.assign({},e);return vit(e)&&vit(t)&&pit(t).forEach((function(i){vit(t[i])&&i in e?n[i]=fit(e[i],t[i]):Object.assign(n,Gae({},i,t[i]))})),n}var mit=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 fit(e,t)}),e)},git=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},vit=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},yit=function(e){return(e||[]).filter(Boolean)},bit=function(e){return"&"===e[0]},Oit=function(e){return!bit(e)},_it=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},wit=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=pit(e),i={},r=0,o=n.length;r<o;r+=1){var a=n[r],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(i[a]=e[a])}return i},xit=function(e,t){for(var n=t.map(_it),i=pit(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(_it(s))>=0)&&(r[s]=e[s])}return r},kit=function e(t,n){for(var i=mit.apply(void 0,[{},git(t,n)].concat(dit(hit(xit(t,n))))),r=pit(i).filter(bit),o=0,a=r.length;o<a;o+=1){var s=r[o],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=mit({},i,l)):i[s]=l}return i};function Sit(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 Pit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sit(Object(n),!0).forEach((function(t){Gae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sit(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Eit=["animationName"],Cit=function(e){var t=e.style,n=e.className;return Pit(Pit({},t?{style:wit(t,Eit)}:{}),n?{className:n}:{})},Fit=i.createContext(Cit);Fit.Provider;var Tit=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return pit(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},Dit={},Ait=function(e){return function(t,n){var i,r=n||Dit;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=Tit(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function Iit(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 Lit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Iit(Object(n),!0).forEach((function(t){Gae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iit(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $it=function(e){var t=e&&pit(e)[0];return t&&t.split("__")[0].split("--")[0]},Mit=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(dit(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),dit(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(dit(r)):r}};function zit(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cit,o=n||$it(i)||(null==t?void 0:t.className),a="function"==typeof t?t:Ait((function(e,n){var a=Tit(e);mwe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),mwe(!n||vit(n),"Optional second parameter must be a plain object.");var s=a.filter(bit),l=a.filter(Oit),u=l.length>0?function(e){return hit(xit(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(kit(e,s))},d=Mit(o,l,s);return zit(Lit(Lit(Lit({},(t||n)&&{style:mit.apply(void 0,[{}].concat(dit(c(n)),dit(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=Lit({},"function"==typeof t?t:{style:t}),l=dit(new Set([].concat(dit(s.className?s.className.split(" "):[]),dit(o?o.split(" "):[])))),u=i?yit(l.map((function(e){return i[e]}))):l,c=r(Lit(Lit({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function Rit(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 jit(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rit(Object(n),!0).forEach((function(t){Gae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rit(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Qit=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 jit(jit(jit({},e),"function"==typeof t?t:{}),{},{style:jit(jit({},e.style),"function"==typeof t?t.style:t)})}),{})},Nit=function(e,t,n){var r=t.style,o=t.className,a=t.classNames,s=i.useContext(Fit);return i.useMemo((function(){return zit({style:r,className:o,classNames:a},s)}),[r,o,a,s])(n,e)},Uit=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},Bit="__id__",qit="__display__",Git=function(e,t){mwe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(qit),i=e.indexOf(Bit);return n<0&&(n=null),i<0&&(i=null),mwe(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},Wit=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=lit(t.exec(e.toString()),3),i=n[1],r=n[2];return mwe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},Xit=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},Vit=function(){},Yit=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Vit,o=Wit(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=Xit(t)+1,n})),l=0,u=0;null!==(i=o.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+Git(h,"id"),g=c+Git(h,"display"),v=i[m],y=f(v,i[g]),b=e.substring(l,i.index);r(b,l,u),u+=b.length,n(i[0],i.index,u,v,y,d,l),u+=y.length,l=o.lastIndex}l<e.length&&r(e.substring(l),l,u)},Hit=function(e,t){var n="";return Yit(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},Zit=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},a=function(e,t,o,a,s,l,u){void 0===i&&o+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return Yit(e,t,a,o),void 0===i?e.length:i},Kit=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},Jit=function(e,t){var n=[];return Yit(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},ert=function(e,t){return"".concat(e,"-").concat(t)},trt=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},nrt=function(e){var t=Uit(e),n=e[e.indexOf(qit)+qit.length],i=e[e.indexOf(Bit)+Bit.length];return new RegExp(t.replace(qit,"([^".concat(Uit(n||""),"]+?)")).replace(Bit,"([^".concat(Uit(i||""),"]+?)")))},irt=function(e){return i.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?rrt(i,n):nrt(n),displayTransform:r||function(e,t){return t||e}}}))},rrt=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=Xit(t);return mwe(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},ort=[{base:"A",letters:/(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(Ꜳ|[\uA732])/g},{base:"AE",letters:/(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(Ꜵ|[\uA734])/g},{base:"AU",letters:/(Ꜷ|[\uA736])/g},{base:"AV",letters:/(Ꜹ|Ꜻ|[\uA738\uA73A])/g},{base:"AY",letters:/(Ꜽ|[\uA73C])/g},{base:"B",letters:/(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(DZ|DŽ|[\u01F1\u01C4])/g},{base:"Dz",letters:/(Dz|Dž|[\u01F2\u01C5])/g},{base:"E",letters:/(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(LJ|[\u01C7])/g},{base:"Lj",letters:/(Lj|[\u01C8])/g},{base:"M",letters:/(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(NJ|[\u01CA])/g},{base:"Nj",letters:/(Nj|[\u01CB])/g},{base:"O",letters:/(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(Œ|[\u0152])/g},{base:"OI",letters:/(Ƣ|[\u01A2])/g},{base:"OO",letters:/(Ꝏ|[\uA74E])/g},{base:"OU",letters:/(Ȣ|[\u0222])/g},{base:"P",letters:/(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(Þ|[\u00DE])/g},{base:"TZ",letters:/(Ꜩ|[\uA728])/g},{base:"U",letters:/(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(Ꝡ|[\uA760])/g},{base:"W",letters:/(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(ꜳ|[\uA733])/g},{base:"ae",letters:/(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(ꜵ|[\uA735])/g},{base:"au",letters:/(ꜷ|[\uA737])/g},{base:"av",letters:/(ꜹ|ꜻ|[\uA739\uA73B])/g},{base:"ay",letters:/(ꜽ|[\uA73D])/g},{base:"b",letters:/(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(dz|dž|[\u01F3\u01C6])/g},{base:"e",letters:/(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(ƕ|[\u0195])/g},{base:"i",letters:/(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(ij|[\u0133])/g},{base:"j",letters:/(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(lj|[\u01C9])/g},{base:"m",letters:/(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(nj|[\u01CC])/g},{base:"o",letters:/(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(œ|[\u0153])/g},{base:"oi",letters:/(ƣ|[\u01A3])/g},{base:"ou",letters:/(ȣ|[\u0223])/g},{base:"oo",letters:/(ꝏ|[\uA74F])/g},{base:"p",letters:/(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(ß|[\u00DF])/g},{base:"t",letters:/(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(þ|[\u00FE])/g},{base:"tz",letters:/(ꜩ|[\uA729])/g},{base:"u",letters:/(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(ꝡ|[\uA761])/g},{base:"w",letters:/(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],art=function(e){return function(e){var t=e;return ort.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},srt=function(e,t,n){return n?art(e).indexOf(art(t)):e.toLowerCase().indexOf(t.toLowerCase())},lrt=function(e){return"number"==typeof e},urt=function(e){return e===Object(e)?Object.keys(e):[]},crt=function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function drt(e,t){return function(n){var i=function(i){var r=i.style,o=i.className,a=i.classNames,s=uit(i,["style","className","classNames"]),l=t?t(s):void 0,u=Nit(e,{style:r,className:o,classNames:a},l);return g.default.createElement(n,Hnt({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var prt=function(e){function t(){var e;return Znt(this,t),sit(nit(e=iit(this,rit(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return ait(t,e),Jnt(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,o=n.value,a=n.style,s=n.children,l=n.containerRef,u=irt(s);i===r&&(e=Zit(o,u,i,"START"));var c=[],d={},p=c,h=0;return Yit(o,u,(function(e,n,i,r,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);p.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(lrt(e)&&e>=i&&e<=i+n.length){var o=e-i;p.push(t.renderSubstring(n.substring(0,o),h)),p=[t.renderSubstring(n.substring(o),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==c&&c.push(this.renderHighlighterCaret(p)),g.default.createElement("div",Hnt({},a,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return g.default.createElement("span",Hnt({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var o={id:e,display:t,key:r},a=i.Children.toArray(this.props.children)[n];return g.default.cloneElement(a,o)}},{key:"renderHighlighterCaret",value:function(e){return g.default.createElement("span",Hnt({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);sit(prt,"propTypes",{selectionStart:IW.number,selectionEnd:IW.number,value:IW.string.isRequired,onCaretPositionChange:IW.func.isRequired,containerRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired}),sit(prt,"defaultProps",{value:""});var hrt=drt({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}}))(prt),frt=function(e){function t(){return Znt(this,t),iit(this,rit(t).apply(this,arguments))}return ait(t,e),Jnt(t,[{key:"render",value:function(){var e=crt(this.props,["style","classNames","className"],urt(t.propTypes));return g.default.createElement("li",Hnt({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,i=e.suggestion,r=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(i,t,s,r,o):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,i=t.query,r=t.style,o=srt(e,i,n);return-1===o?g.default.createElement("span",r("display"),e):g.default.createElement("span",r("display"),e.substring(0,o),g.default.createElement("b",r("highlight"),e.substring(o,o+i.length)),e.substring(o+i.length))}}]),t}(i.Component);sit(frt,"propTypes",{id:IW.string.isRequired,query:IW.string.isRequired,index:IW.number.isRequired,ignoreAccents:IW.bool,suggestion:IW.oneOfType([IW.string,IW.shape({id:IW.oneOfType([IW.string,IW.number]).isRequired,display:IW.string})]).isRequired,renderSuggestion:IW.func,focused:IW.bool});var mrt=drt({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(frt);function grt(){var e=Nit(),t=e("spinner");return g.default.createElement("div",e,g.default.createElement("div",t,g.default.createElement("div",t(["element","element1"])),g.default.createElement("div",t(["element","element2"])),g.default.createElement("div",t(["element","element3"])),g.default.createElement("div",t(["element","element4"])),g.default.createElement("div",t(["element","element5"]))))}var vrt=function(e){function t(){var e,n;Znt(this,t);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return sit(nit(n=iit(this,(e=rit(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),sit(nit(n),"select",(function(e,t){n.props.onSelect(e,t)})),sit(nit(n),"setUlElement",(function(e){n.ulElement=e})),n}return ait(t,e),Jnt(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,o=e.onMouseDown,a=e.containerRef,s=e.position,l=e.left,u=e.top;return i?g.default.createElement("div",Hnt({},Qit({position:s||"absolute",left:l,top:u},r),{onMouseDown:o,ref:a}),g.default.createElement("ul",Hnt({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(Ynt(t),Ynt(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,o=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=i.Children.toArray(this.props.children)[a].props.renderSuggestion,u=this.props.ignoreAccents;return g.default.createElement(mrt,{style:this.props.style("item"),key:"".concat(a,"-").concat(yrt(e)),id:ert(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:o,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return g.default.createElement(grt,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);sit(vrt,"propTypes",{id:IW.string.isRequired,suggestions:IW.object.isRequired,a11ySuggestionsListLabel:IW.string,focusIndex:IW.number,position:IW.string,left:IW.number,top:IW.number,scrollFocusedIntoView:IW.bool,isLoading:IW.bool,isOpened:IW.bool.isRequired,onSelect:IW.func,ignoreAccents:IW.bool,containerRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired}),sit(vrt,"defaultProps",{suggestions:{},onSelect:function(){return null}});var yrt=function(e){return"string"==typeof e?e:e.id},brt=drt({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(vrt);function Ort(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 _rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ort(n,!0).forEach((function(t){sit(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ort(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var wrt={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},xrt=!1,krt={singleLine:IW.bool,allowSpaceInQuery:IW.bool,allowSuggestionsAboveCursor:IW.bool,forceSuggestionsAboveCursor:IW.bool,ignoreAccents:IW.bool,a11ySuggestionsListLabel:IW.string,value:IW.string,onKeyDown:IW.func,onSelect:IW.func,onBlur:IW.func,onChange:IW.func,suggestionsPortalHost:"undefined"==typeof Element?IW.any:IW.PropTypes.instanceOf(Element),inputRef:IW.oneOfType([IW.func,IW.shape({current:"undefined"==typeof Element?IW.any:IW.instanceOf(Element)})]),children:IW.oneOfType([IW.element,IW.arrayOf(IW.element)]).isRequired},Srt=function(e){function t(e){var n;return Znt(this,t),sit(nit(n=iit(this,rit(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),sit(nit(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return _rt({},crt(n.props,["style","classNames","className"],urt(krt)),{},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":ert(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),sit(nit(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return g.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),sit(nit(n),"renderInput",(function(e){return g.default.createElement("input",Hnt({type:"text",ref:n.setInputRef},e))})),sit(nit(n),"renderTextarea",(function(e){return g.default.createElement("textarea",Hnt({ref:n.setInputRef},e))})),sit(nit(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),sit(nit(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),sit(nit(n),"renderSuggestionsOverlay",(function(){if(!lrt(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,o=g.default.createElement(brt,{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?b.default.createPortal(o,n.props.suggestionsPortalHost):o})),sit(nit(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,o=r.singleLine,a=r.children,s=r.value,l=r.style;return g.default.createElement(hrt,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},a)})),sit(nit(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),sit(nit(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),sit(nit(n),"getPlainText",(function(){return Hit(n.props.value||"",irt(n.props.children))})),sit(nit(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 o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(i)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(i)):void 0})),sit(nit(n),"handleChange",(function(e){if(xrt=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=irt(n.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=Hit(e,i),l=s.length-t.length;"undefined"===r&&(r=a+l),"undefined"===o&&(o=r),r===o&&o===a&&s.length===t.length&&(r-=1);var u=t.slice(r,a),c=Math.min(r,a),d=o;r===a&&(d=Math.max(o,r+l));var p=Zit(e,i,c,"START"),h=Zit(e,i,d,"END"),f=Zit(e,i,c,"NULL"),m=Zit(e,i,d,"NULL"),g=null===f||null===m,v=Kit(e,p,h,u);if(!g){var y=Hit(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,a),d=s.lastIndexOf(t.substring(a)),p=Zit(e,i,c,"START"),h=Zit(e,i,d,"END"),v=Kit(e,p,h,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=Hit(o,i);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(Yit(e,t,(function(e,t,o,a,s,l,u){o<=n&&o+s.length>n&&(i=o,r=!0)})),r)return i}(t,i,a);void 0!==u&&n.state.selectionEnd>u&&(s=a=u,l=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var c=Jit(o,i),d={target:{value:o}};n.executeOnChange(d,o,r,c)}})),sit(nit(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!xrt){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)}})),sit(nit(n),"handleKeyDown",(function(e){if(0!==trt(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(wrt).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case wrt.ESC:return void n.clearSuggestions();case wrt.DOWN:return void n.shiftFocus(1);case wrt.UP:return void n.shiftFocus(-1);case wrt.RETURN:case wrt.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),sit(nit(n),"shiftFocus",(function(e){var t=trt(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),sit(nit(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(Ynt(e),Ynt(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],o=r.result,a=r.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),sit(nit(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)})),sit(nit(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),sit(nit(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),sit(nit(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=Prt(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(a){var p={};if(i){p.position="fixed";var h=c.left,f=c.top;h-=Prt(a,"margin-left"),f-=Prt(a,"margin-top"),h-=s.scrollLeft,f-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);h+a.offsetWidth>m?p.left=Math.max(0,m-a.offsetWidth):p.left=h,r&&f+a.offsetHeight>d&&a.offsetHeight<f-u||o?p.top=Math.max(0,f-a.offsetHeight-u):p.top=f}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=g,r&&c.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-u-s.scrollTop?p.top=v-a.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})}}})),sit(nit(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),sit(nit(n),"handleCompositionStart",(function(){xrt=!0})),sit(nit(n),"handleCompositionEnd",(function(){xrt=!1})),sit(nit(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()}}})),sit(nit(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,o=irt(r),a=Zit(i,o,t,"NULL");if(null!==a){var s=function(e,t){var n=Jit(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,a),o),l=e.substring(s,t);g.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=Uit(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),o=l.match(r);if(o){var a=s+l.indexOf(o[1],o.index);n.queryData(o[2],i,a,a+o[1].length,e)}}}))}})),sit(nit(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),sit(nit(n),"queryData",(function(e,t,r,o,a){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;srt(s,n,t)>=0&&r.push(e[o])}return r}:e}(i.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,o,a));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,o,a,d)})),sit(nit(n),"updateSuggestions",(function(e,t,i,r,o,a,s){if(e===n._queryId){n.suggestions=_rt({},n.suggestions,sit({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,u=trt(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),sit(nit(n),"addMention",(function(e,t){var r=e.id,o=e.display,a=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=irt(n.props.children),p=i.Children.toArray(n.props.children)[a].props,h=p.markup,f=p.displayTransform,m=p.appendSpaceOnAdd,g=p.onAdd,v=Zit(c,d,s,"START"),y=v+l-s,b=function(e,t,n){return e.replace(Bit,t).replace(qit,n)}(h,r,o);m&&(b+=" ");var O=Kit(c,v,y,b);n.inputElement.focus();var _=f(r,o);m&&(_+=" ");var w=s+_.length;n.setState({selectionStart:w,selectionEnd:w,setSelectionAfterMentionChange:!0});var x={target:{value:O}},k=Jit(O,d),S=Kit(u,s,l,_);n.executeOnChange(x,O,S,k),g&&g(r,o,v,y),n.clearSuggestions()})),sit(nit(n),"isLoading",(function(){var e=!1;return g.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),sit(nit(n),"isOpened",(function(){return lrt(n.state.selectionStart)&&(0!==trt(n.state.suggestions)||n.isLoading())})),sit(nit(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(nit(n)),n.handleCut=n.handleCut.bind(nit(n)),n.handlePaste=n.handlePaste.bind(nit(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return ait(t,e),Jnt(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 g.default.createElement("div",Hnt({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.value,a=r.children,s=irt(a),l=Zit(o,s,n,"START"),u=Zit(o,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),p=Kit(o,l,u,c||d).replace(/\r/g,""),h=Hit(p,s),f={target:_rt({},e.target,{value:p})};this.executeOnChange(f,p,h,Jit(p,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=irt(o),l=Zit(a,s,n,"START"),u=Zit(a,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",a.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,o=r.children,a=r.value,s=irt(o),l=Zit(a,s,n,"START"),u=Zit(a,s,i,"END"),c=[a.slice(0,l),a.slice(u)].join(""),d=Hit(c,s),p={target:_rt({},e.target,{value:d})};this.executeOnChange(p,c,d,Jit(a,s))}}}]),t}(g.default.Component);sit(Srt,"propTypes",krt),sit(Srt,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Prt=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},Ert=drt({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:_rt({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}}))(Srt),Crt={fontWeight:"inherit"},Frt=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,o=Nit(Crt,{style:n,className:i,classNames:r});return g.default.createElement("strong",o,t)};Frt.propTypes={onAdd:IW.func,onRemove:IW.func,renderSuggestion:IW.func,trigger:IW.oneOfType([IW.string,IW.instanceOf(RegExp)]),markup:IW.string,displayTransform:IW.func,allowSpaceInQuery:IW.bool,isLoading:IW.bool},Frt.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 Trt=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 Drt(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=Trt.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 Art=[".DS_Store","Thumbs.db"];function Irt(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?$rt(e.dataTransfer,e.type):Lrt(e))];var n}))}))}function Lrt(e){return(null!==e.target&&e.target.files?zrt(e.target.files):[]).map((function(e){return Drt(e)}))}function $rt(e,t){return Po(this,void 0,void 0,(function(){var n;return Eo(this,(function(i){switch(i.label){case 0:return e.items?(n=zrt(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(Rrt))]):[3,2];case 1:return[2,Mrt(jrt(i.sent()))];case 2:return[2,Mrt(zrt(e.files).map((function(e){return Drt(e)})))]}}))}))}function Mrt(e){return e.filter((function(e){return-1===Art.indexOf(e.name)}))}function zrt(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function Rrt(e){if("function"!=typeof e.webkitGetAsEntry)return Qrt(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Urt(t):Qrt(e)}function jrt(e){return e.reduce((function(e,t){return Do(e,Array.isArray(t)?jrt(t):[t])}),[])}function Qrt(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=Drt(t);return Promise.resolve(n)}function Nrt(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,e.isDirectory?Urt(e):Brt(e)]}))}))}function Urt(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Po(o,void 0,void 0,(function(){var o,a,s;return Eo(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return o=l.sent(),e(o),[3,4];case 3:return a=l.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(Nrt)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function Brt(e){return Po(this,void 0,void 0,(function(){return Eo(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=Drt(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function qrt(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=(e.type||"").toLowerCase(),o=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function Grt(e,t,n){if(Wrt(e.size)){if(Wrt(t)&&Wrt(n))return e.size>=t&&e.size<=n;if(Wrt(t))return e.size>=t;if(Wrt(n))return e.size<=n}return!0}function Wrt(e){return null!=e}function Xrt(e,t,n,i){return e.every((function(e){return qrt(e,t)&&Grt(e,n,i)}))}function Vrt(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Yrt(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 Hrt(e){e.preventDefault()}function Zrt(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function Krt(e){return-1!==e.indexOf("Edge/")}function Jrt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return Zrt(e)||Krt(e)}function eot(){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!Vrt(e)&&t&&t.apply(void 0,[e].concat(i)),Vrt(e)}))}}function tot(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 not(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function iot(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 rot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iot(n,!0).forEach((function(t){oot(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iot(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aot(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var sot=i.forwardRef((function(e,t){var n=e.children,r=cot(aot(e,["children"])),o=r.open,a=aot(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:o}}),[o]),g.default.createElement(i.Fragment,null,n(rot({},a,{open:o})))}));sot.displayName="Dropzone",sot.propTypes={children:IW.func,accept:IW.oneOfType([IW.string,IW.arrayOf(IW.string)]),multiple:IW.bool,preventDropOnDocument:IW.bool,noClick:IW.bool,noKeyboard:IW.bool,noDrag:IW.bool,noDragEventsBubbling:IW.bool,minSize:IW.number,maxSize:IW.number,disabled:IW.bool,getFilesFromEvent:IW.func,onFileDialogCancel:IW.func,onDragEnter:IW.func,onDragLeave:IW.func,onDragOver:IW.func,onDrop:IW.func,onDropAccepted:IW.func,onDropRejected:IW.func};var lot,uot={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function cot(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,o=e.getFilesFromEvent,a=void 0===o?Irt:o,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,y=e.onDropRejected,b=e.onFileDialogCancel,O=e.preventDropOnDocument,_=void 0===O||O,w=e.noClick,x=void 0!==w&&w,k=e.noKeyboard,S=void 0!==k&&k,P=e.noDrag,E=void 0!==P&&P,C=e.noDragEventsBubbling,F=void 0!==C&&C,T=i.useRef(null),D=i.useRef(null),A=i.useReducer(dot,uot),I=not(A,2),L=I[0],$=I[1],M=L.isFocused,z=L.isFileDialogActive,R=L.draggedFiles,j=i.useCallback((function(){D.current&&($({type:"openDialog"}),D.current.value=null,D.current.click())}),[$]),Q=function(){z&&setTimeout((function(){D.current&&(D.current.files.length||($({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",Q,!1),function(){window.removeEventListener("focus",Q,!1)}}),[D,z,b]);var N=i.useCallback((function(e){T.current&&T.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),j()))}),[T,D]),U=i.useCallback((function(){$({type:"focus"})}),[]),B=i.useCallback((function(){$({type:"blur"})}),[]),q=i.useCallback((function(){x||(Jrt()?setTimeout(j,0):j())}),[D,x]),G=i.useRef([]),W=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),G.current=[])};i.useEffect((function(){return _&&(document.addEventListener("dragover",Hrt,!1),document.addEventListener("drop",W,!1)),function(){_&&(document.removeEventListener("dragover",Hrt),document.removeEventListener("drop",W))}}),[T,_]);var X=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===G.current.indexOf(e.target)&&(G.current=[].concat(tot(G.current),[e.target])),Yrt(e)&&Promise.resolve(a(e)).then((function(t){Vrt(e)&&!F||($({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),h&&h(e))}))}),[a,h,F]),V=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return Yrt(e)&&m&&m(e),!1}),[m,F]),Y=i.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||($({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Yrt(e)&&f&&f(e))}),[T,f,F]),H=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),G.current=[],$({type:"reset"}),Yrt(e)&&Promise.resolve(a(e)).then((function(n){if(!Vrt(e)||F){var i=[],r=[];n.forEach((function(e){qrt(e,t)&&Grt(e,c,l)?i.push(e):r.push(e)})),!p&&i.length>1&&r.push.apply(r,tot(i.splice(0))),$({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),g&&g(i,r,e),r.length>0&&y&&y(r,e),i.length>0&&v&&v(i,e)}}))}),[p,t,c,l,a,g,v,y,F]),Z=function(e){return r?null:e},K=function(e){return S?null:Z(e)},J=function(e){return E?null:Z(e)},ee=function(e){F&&e.stopPropagation()},te=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,p=aot(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return rot(oot({onKeyDown:K(eot(i,N)),onFocus:K(eot(o,U)),onBlur:K(eot(a,B)),onClick:Z(eot(s,q)),onDragEnter:J(eot(l,X)),onDragOver:J(eot(u,V)),onDragLeave:J(eot(c,Y)),onDrop:J(eot(d,H))},n,T),r||S?{}:{tabIndex:0},{},p)}}),[T,N,U,B,q,X,V,Y,H,S,E,r]),ne=i.useCallback((function(e){e.stopPropagation()}),[]),ie=i.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,o=e.onClick,a=aot(e,["refKey","onChange","onClick"]),s=oot({accept:t,multiple:p,type:"file",style:{display:"none"},onChange:Z(eot(r,H)),onClick:Z(eot(o,ne)),autoComplete:"off",tabIndex:-1},i,D);return rot({},s,{},a)}}),[D,t,p,H,r]),re=R.length,oe=p||re<=1,ae=re>0&&Xrt(R,t,c,l),se=re>0&&(!ae||!oe);return rot({},L,{isDragAccept:ae,isDragReject:se,isFocused:M&&!r,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:D,open:Z(j)})}function dot(e,t){switch(t.type){case"focus":return rot({},e,{isFocused:!0});case"blur":return rot({},e,{isFocused:!1});case"openDialog":return rot({},e,{isFileDialogActive:!0});case"closeDialog":return rot({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return rot({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return rot({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return rot({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(lot||(lot={}));var pot={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 o=n(3),a=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,a=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,y=void 0===v?{}:v,b=e.highlightTag,O=void 0===b?"mark":b,_=e.sanitize,w=e.searchWords,x=e.textToHighlight,k=e.unhighlightClassName,S=void 0===k?"":k,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,o.findAll)({autoEscape:c,caseSensitive:p,findChunks:f,sanitize:_,searchWords:w,textToHighlight:x}),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=x.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 o=T===+a;D=r+" "+(o?n:""),A=!0===o&&null!=u?Object.assign({},y,u):y;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:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightClassName:a.default.string,unhighlightStyle:a.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,o=e.caseSensitive,a=void 0!==o&&o,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:a,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}),[]),t},i=function(e){var t=e.autoEscape,n=e.caseSensitive,i=e.sanitize,r=void 0===i?o:i,a=e.searchWords,s=e.textToHighlight;return s=r(s),a.filter((function(e){return e})).reduce((function(e,i){i=r(i),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(i,n?"g":"gi"),a=void 0;a=o.exec(s);){var l=a.index,u=o.lastIndex;u>l&&e.push({start:l,end:u}),a.index==o.lastIndex&&o.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 o=0;t.forEach((function(e){r(o,e.start,!1),r(e.start,e.end,!0),o=e.end})),r(o,n,!1)}return i};function o(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 o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!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:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();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===a||!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),o=n(9),a=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,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new h("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<a.length;l++){var u=e(a,l,i,r,o+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:f((function(t,n,i,r,o){var a=t[n];return e(a)?null:new h("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return f((function(t,n,i,r,o){if(!(t[n]instanceof e)){var a=e.name||c;return new h("Invalid "+r+" `"+o+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `")+i+"`, expected instance of `"+a+"`.")}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,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var c=e(a,u,i,r,o+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return f((function(t,n,i,r,o){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;return new h("Invalid "+r+" `"+o+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!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 o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(r),n),i.thatReturnsNull}return f((function(t,n,i,r,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,i,r,o,s))return null;return new h("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return f((function(t,n,i,r,o){var a=t[n],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(a,u,i,r,o+"."+u,s);if(d)return d}}return null}))},exact:function(e){return f((function(t,n,i,r,o){var l=t[n],u=v(l);if("object"!==u)return new h("Invalid "+r+" `"+o+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=a({},t[n],e);for(var d in c){var p=e[d];if(!p)return new h("Invalid "+r+" `"+o+"` 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,o+"."+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={},a=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]&&a<3&&(o(!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,a++)}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,o,a){var s=t[n];return v(s)!==e?new h("Invalid "+r+" `"+o+"` of type `"+y(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 o=i.value;if(o&&!g(o[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 y(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 b(e){var t=y(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,o,a,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,o,a,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,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}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),o=2;o<n;o++)i[o-2]=arguments[o];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 o(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 a,s,l=o(e),u=1;u<arguments.length;u++){for(var c in a=Object(arguments[u]))i.call(a,c)&&(l[c]=a[c]);if(n){s=n(a);for(var d=0;d<s.length;d++)r.call(a,s[d])&&(l[s[d]]=a[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),o=n(11),a={};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,o)}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 a)){a[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),o=n(11);e.exports=function(){function e(e,t,n,i,a,s){s!==o&&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=g.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=[],o=void 0,a=!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 a&&i===this&&n.length===r.length&&n.every(s)?o:(a=!0,i=this,r=n,o=e.apply(this,n))};return l}}])}(pot);var hot=S(pot.exports),fot={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(e)?e:H(e)}function a(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(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",f="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},O={value:!1},_={value:!1};function w(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function 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,L=1,$=2,M="function"==typeof Symbol&&Symbol.iterator,z="@@iterator",R=M||z;function j(e){this.next=e}function Q(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 N(){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&&(M&&e[M]||e[z]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function V(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function H(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=L,j.ENTRIES=$,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[R]=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(H,X),H.of=function(){return H(arguments)},H.prototype.toSetSeq=function(){return this},X.isSeq=oe,X.Keyed=V,X.Set=H,X.Indexed=Y;var Z,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():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 o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new j((function(){var e=r[n?o-a:a];return a++>o?N():Q(t,i?e[0]:a-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 ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||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 o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===p}function be(e,t){if(!(this instanceof be))return new be(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 _e(e,t,n){if(!(this instanceof _e))return new _e(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 we(){throw TypeError("Abstract")}function xe(){}function ke(){}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?N():Q(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,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new j((function(){var a=i[t?r-o:o];return o++>r?N():Q(e,a,n[a])}))},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(N);var i=0;return new j((function(){var t=n.next();return t.done?t:Q(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,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new j((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return Q(e,r,i[r++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:new be(this._value,D(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.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},be.prototype.__iterator=function(e,t){var n=this,i=0;return new j((function(){return i<n.size?Q(e,i++,n._value):N()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(_e,Y),_e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_e.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},_e.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},_e.prototype.slice=function(e,t){return F(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new _e(0,0):new _e(this.get(e,this._end),this.get(t,this._end),this._step))},_e.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},_e.prototype.lastIndexOf=function(e){return this.indexOf(e)},_e.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new j((function(){var a=r;return r+=t?-i:i,o>n?N():Q(e,o++,a)}))},_e.prototype.equals=function(e){return e instanceof _e?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(we,n),t(xe,we),t(ke,we),t(Se,we),we.Keyed=xe,we.Indexed=ke,we.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),Ne===Qe&&(Ne=0,Ue={}),Ne++,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(Me&&void 0!==(t=$e.get(e)))return t;if(void 0!==(t=e[Re]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Re]))return t;if(void 0!==(t=Le(e)))return t}if(t=++ze,1073741824&ze&&(ze=0),Me)$e.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,Re,{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[Re]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Re]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Le(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var $e,Me="function"==typeof WeakMap;Me&&($e=new WeakMap);var ze=0,Re="__immutablehash__";"function"==typeof Symbol&&(Re=Symbol(Re));var je=16,Qe=255,Ne=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,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},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,wn(e),t,n);return i===b?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 k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},qe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qe.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function He(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return Q(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 ot(e,t,n){var i,r;if(e._root){var o=w(O),a=w(_);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)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 at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(x(s),x(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new He(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new k);for(var r=new Je(e,Ce(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new He(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?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===b,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=gt(u,t,n,i);return c===u?e:c===b?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 yt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ye.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===b,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(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=_t)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)}},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},He.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=at(h,e,t+g,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=wt)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?yt(p,d,f,m):Ot(p,d,m):bt(p,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new He(e,v,O)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+g,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<xt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=yt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new Ze(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=r===b;if(n!==this.keyHash)return s?this:(x(a),x(o),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(x(a),(s||!d)&&x(o),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,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,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},He.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,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 o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,xt=v/4;function kt(e){var t=Lt();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(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=Rt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return $t(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Lt()},kt.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])}))},kt.prototype.pop=function(){return jt(this,0,-1)},kt.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])}))},kt.prototype.shift=function(){return jt(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,ht,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ft(t),n)},kt.prototype.setSize=function(e){return jt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:jt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?N():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=kt.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&y;if(i>=this.array.length)return new Ct([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=zt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},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&y;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=zt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>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=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){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=o,s.__hash=a,s.__altered=!1,s}function Lt(){return Ft||(Ft=It(0,0,g))}function $t(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,o=w(_);return t>=Nt(e._capacity)?i=Mt(i,e.__ownerID,0,t,n,o):r=Mt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Mt(e,t,n,i,r,o){var a,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Mt(u,t,n-g,i,r,o);return c===u?e:((a=zt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=zt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function zt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function Rt(e,t){if(t>=Nt(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&y],i-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Nt(o),p=Nt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?Rt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&a<o&&h.array.length){for(var m=u=zt(u,i),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=zt(m.array[b],i)}m.array[d>>>g&y]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var O=a>>>l&y;if(O!==p>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,f)}function Qt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Nt(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(),Lt()))}function Wt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(i,r)}function 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 Ht(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(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===$){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===L?I:L,n)},t}function Kt(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator($,r);return new j((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Q(i,s,t.call(n,a[1],s,e),r)}))},i}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator($,o),s=0;return new j((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Q(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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),a=0,l=0;return new j((function(){for(;a++<o;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:Q(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator($,r),s=!0;return new j((function(){if(!s)return N();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===$?e:Q(i,l,u,e):(s=!1,N())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator($,o),l=!0,u=0;return new j((function(){var e,o,c;do{if((e=s.next()).done)return i||r===L?e:Q(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===$?e:Q(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var 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=bn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===$&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:Q(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(L,i),a=0;return new j((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Q(n,a++,t):Q(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?V(o):l(e)?Y(o):H(o)}function pn(e,t,n){if(t||(t=_n),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=bn(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(L,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new j((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?V:l(e)?Y:H).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.prototype.cacheResult.call(this)}function _n(e,t){return e>t?1:e<t?-1:0}function wn(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 xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);En(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(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,b)},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(L,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:Q(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(L,t),i=0;return new j((function(){var t=n.next();return t.done?t:Q(e,i++,t.value,t)}))},t(Yt,H),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(L,t);return new j((function(){var t=n.next();return t.done?t:Q(e,t.value,t.value,t)}))},t(Ht,V),Ht.prototype.entrySeq=function(){return this._iter.toSeq()},Ht.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,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=a(i);return Q(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Ht.prototype.cacheResult=On,t(xn,xe),xn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},xn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},xn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=xn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function 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?Mn():Tn(e)&&!c(e)?e:Mn().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ve.removeIn,kn.merge=Ve.merge,kn.mergeWith=Ve.mergeWith,kn.mergeIn=Ve.mergeIn,kn.mergeDeep=Ve.mergeDeep,kn.mergeDeepWith=Ve.mergeDeepWith,kn.mergeDeepIn=Ve.mergeDeepIn,kn.setIn=Ve.setIn,kn.update=Ve.update,kn.updateIn=Ve.updateIn,kn.withMutations=Ve.withMutations,kn.asMutable=Ve.asMutable,kn.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 Ln(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Fn.prototype.clear=function(){return Ln(this,this._map.clear())},Fn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return zn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return zn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.prototype;function Ln(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 $n(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Mn(){return Dn||(Dn=$n(rt()))}function zn(e){return null==e?Un():Rn(e)?e:Un().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Rn(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=Mn,In.__make=$n,t(zn,Fn),zn.of=function(){return this(arguments)},zn.fromKeys=function(e){return this(i(e).keySeq())},zn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},zn.isOrderedSet=Rn;var jn,Qn=zn.prototype;function Nn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Nn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Qn[f]=!0,Qn.__empty=Un,Qn.__make=Nn,t(Bn,ke),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 ke.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):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,Q(e,n++,t)}return N()}))},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 Hn(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,Hn(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 zn(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 kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator($)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return 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,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(L)},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 ye(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 Ht(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=wn(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[R]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Hn(i,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=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[R]=Zn.entries,Kn.__toJS=Zn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Hn(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,an(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,Hn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Zn.includes,Hn(V,i.prototype),Hn(Y,r.prototype),Hn(H,o.prototype),Hn(xe,i.prototype),Hn(ke,r.prototype),Hn(Se,o.prototype),{Iterable:n,Seq:X,Collection:we,Map:qe,OrderedMap:Ut,List:kt,Stack:Bn,Set:Fn,OrderedSet:zn,Record:xn,Range:_e,Repeat:be,is:ve,fromJS:he}}()}(fot);var mot=fot.exports.OrderedMap,got={createFromArray:function(e){return mot(e.map((function(e){return[e.getKey(),e]})))}},vot=got;var yot=fot.exports,bot=yot.Map,Oot=yot.OrderedSet,_ot=yot.Record,wot=Oot(),xot={style:wot,entity:null},kot=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 Sot;var t=bot({style:wot,entity:null}).merge(e),n=Pot.get(t);if(n)return n;var r=new i(t);return Pot=Pot.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?Oot(t):t,entity:Array.isArray(n)?Oot(n):n})},i}(_ot(xot)),Sot=new kot,Pot=bot([[bot(xot),Sot]]);kot.EMPTY=Sot;var Eot=kot;var Cot=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&i(r,a),r=a),o})),n(e.last())&&i(r,e.count())}};var Fot=Eot,Tot=Cot,Dot=fot.exports,Aot=Dot.List,Iot=Dot.Map,Lot=Dot.OrderedSet,$ot=Dot.Record,Mot=Dot.Repeat,zot=Lot(),Rot=$ot({key:"",type:"unstyled",text:"",characterList:Aot(),depth:0,data:Iot()}),jot=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=Aot(Mot(Fot.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():zot},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){Tot(this.getCharacterList(),Qot,e,t)},r.findEntityRanges=function(e,t){Tot(this.getCharacterList(),Not,e,t)},i}(Rot);function Qot(e,t){return e.getStyle()===t.getStyle()}function Not(e,t){return e.getEntity()===t.getEntity()}var Uot=jot;var Bot=Eot,qot=Cot,Got=fot.exports,Wot=Got.List,Xot=Got.Map,Vot=Got.OrderedSet,Yot=Got.Record,Hot=Got.Repeat,Zot=Vot(),Kot={parent:null,characterList:Wot(),data:Xot(),depth:0,key:"",text:"",type:"unstyled",children:Wot(),prevSibling:null,nextSibling:null},Jot=function(e,t){return e.getStyle()===t.getStyle()},eat=function(e,t){return e.getEntity()===t.getEntity()},tat=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=Wot(Hot(Bot.EMPTY,n.length))),e},nat=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Kot;return e.call(this,tat(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():Zot},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){qot(this.getCharacterList(),Jot,e,t)},r.findEntityRanges=function(e,t){qot(this.getCharacterList(),eat,e,t)},i}(Yot(Kot)),iat=nat,rat=Eot,oat=fot.exports.Map;function aat(e,t,n,i){var r=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(oat([[s,r.get(s)]])).map((function(e,t){var r,u;o===s?(r=a,u=l):(r=t===o?a:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?rat.applyStyle(c,n):rat.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var sat={add:function(e,t,n){return aat(e,t,n,!0)},remove:function(e,t,n){return aat(e,t,n,!1)}},lat=Eot;var uat=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,lat.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},cat=uat,dat=fot.exports;var pat=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(dat.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return cat(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},hat={getRemovalRange:function(e,t,n,i,r){var o=n.split(" ");o=o.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=i,l=null,u=null,c=0;c<o.length;c++){if(e<(a=s+o[c].length)&&s<t)null!==l||(l=s),u=a;else if(null!==l)break;s=a}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}}},fat="production"!==ga.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var mat=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(fat(t),!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,(function(){return String(i[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},gat=mat;var vat=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"!==ga.env.NODE_ENV?gat(!1,"Entity key not found in this range."):gat(!1)),n},yat=hat,bat=vat,Oat=mat;function _at(e,t,n,i,r,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=a?s:l;if("MUTABLE"===u)return n;var d=bat(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==ga.env.NODE_ENV?Oat(!1,"There should only be one entity range within this removal range."):Oat(!1));var p=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});o||(a?l=p.end:s=p.start);var h=yat.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 wat=function(e,t,n,i,r){var o=i.getStartOffset(),a=i.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=_at(e,t,u,r,s,!0,!0);else if(s&&l){var c=_at(e,t,u,r,s,!1,!0),d=_at(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var p=_at(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(l){var h=_at(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return u},xat={},kat=Math.pow(2,24);var Sat=function(){for(var e;void 0===e||xat.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*kat).toString(32);return xat[e]=!0,e},Pat=iat,Eat=Sat,Cat=fot.exports.OrderedMap,Fat=function(e){return e.first()instanceof Pat?function(e){var t,n={};return Cat(e.withMutations((function(e){e.forEach((function(i,r){var o=i.getKey(),a=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=Eat();if(n[o]=c,a&&(e.get(a)?e.setIn([a,"prevSibling"],c):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([o,"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([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([o,"children"],i.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return Cat(e.toArray().map((function(e){var t=Eat();return[t,e.set("key",t)]})))}(e)},Tat=Eot,Dat=Cot,Aat=mat;function Iat(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,o=n<i.count()?i.get(n):void 0,a=r?r.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return Dat(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"!==ga.env.NODE_ENV?Aat(!1,"Removal range must exist within character list."):Aat(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,Tat.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var Lat=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=Iat(i,s,a);l!==s&&(r[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);o===u&&(d=l);var p=Iat(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)},$at=Fat,Mat=Lat,zat=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=Mat(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return $at(a.slice(l,u).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:a.slice(i,o),characterList:s.slice(i,o)}):t===n?e.merge({text:a.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var Rat=function(e,t,n){var i=e;if(n===i.count())t.forEach((function(e){i=i.push(e)}));else if(0===n)t.reverse().forEach((function(e){i=i.unshift(e)}));else{var r=i.slice(0,n),o=i.slice(n);i=r.concat(t,o).toList()}return i},jat=vot,Qat=iat,Nat=Rat,Uat=mat,Bat=Fat,qat=fot.exports.List,Gat=function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),u=s.getCharacterList(),c=r,d=o+i.getText().length,p=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":p=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":p=i.getData()}var h=s.getType();l&&"unstyled"===h&&(h=i.getType());var f=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:Nat(u,i.getCharacterList(),o),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})})},Wat=function(e,t,n,i,r,o){var a=n.first()instanceof Qat,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),p=d.getLength(),h=d.getKey(),f=a&&(!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(),o=i.slice(0,t),a=r.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,i)),i.slice(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(),o=i.length,a=i.slice(t,o),s=r.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,i))):s.push(e)}));var m=jat.createFromArray(s);return a&&(m=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),o=i.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),i=e,r=[];for(t.get(n)&&r.push(n);i&&i.getNextSiblingKey();){var o=i.getNextSiblingKey();if(!o)break;r.push(o),i=t.get(o)}return r}(i,e),u=l[l.length-1];if(t.get(o)?(t.setIn([r,"nextSibling"],o),t.setIn([o,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],a),a&&t.setIn([a,"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"],qat(p))}}))}(m,0,u,c)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:h,anchorOffset:p,focusKey:h,focusOffset:p,isBackward:!1})})},Xat=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==ga.env.NODE_ENV?Uat(!1,"`insertFragment` should only be called with a collapsed selection state."):Uat(!1));var r=e.getBlockMap(),o=Bat(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof Qat&&(l.getChildKeys().isEmpty()||("production"!==ga.env.NODE_ENV?Uat(!1,"`insertFragment` should not be called when a container node is selected."):Uat(!1))),1===o.size?Gat(e,t,r,o.first(),a,s,i):Wat(e,t,r,o,a,s)},Vat=Rat,Yat=mat,Hat=fot.exports.Repeat;var Zat=function(e,t,n,i){t.isCollapsed()||("production"!==ga.env.NODE_ENV?Yat(!1,"`insertText` should only be called with a collapsed range."):Yat(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:Vat(l.getCharacterList(),Hat(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},Kat=fot.exports.Map;var Jat=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(Kat([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},est=iat,tst=function(e,t){if(!(e instanceof est))return null;var n=e.getNextSiblingKey();if(n)return n;var i=e.getParentKey();if(!i)return null;for(var r=t.get(i);r&&!r.getNextSiblingKey();){var o=r.getParentKey();r=o?t.get(o):null}return r?r.getNextSiblingKey():null},nst=iat,ist=tst,rst=fot.exports;rst.List;var ost=rst.Map,ast=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},sst=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},lst=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},ust=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},cst=function(e,t,n,i){return e.withMutations((function(r){if(ast(t.getKey(),r,(function(e){return e.merge({nextSibling:lst(e,r,i),prevSibling:ust(e,r,i)})})),ast(n.getKey(),r,(function(e){return e.merge({nextSibling:lst(e,r,i),prevSibling:ust(e,r,i)})})),sst(t.getKey(),i).forEach((function(e){return ast(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:lst(e,r,i),prevSibling:ust(e,r,i)})}))})),ast(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),ast(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:lst(e,r,i)})})),ast(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:ust(e,r,i)})})),ast(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),sst(n.getKey(),i).forEach((function(e){ast(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:lst(e,r,i),prevSibling:ust(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=ist(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?ist(r,t):null}return n}(n,i).forEach((function(e){return ast(e,r,(function(e){return e.merge({nextSibling:lst(e,r,i),prevSibling:ust(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();ast(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),ast(o,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=o?e.get(o):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){ast(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);ast(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}ast(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},dst=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},pst=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(a),c=l instanceof nst,d=[];if(c){var p=u.getChildKeys(),h=sst(a,i);u.getNextSiblingKey()&&(d=d.concat(h)),p.isEmpty()||(d=d.concat(h.concat([a]))),d=d.concat(sst(ist(u,i),i))}n=l===u?dst(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var f=l.merge({text:l.getText().slice(0,o)+u.getText().slice(s),characterList:n}),m=c&&0===o&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?ost([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(ost([[a,null]])).map((function(e,t){return t===r?f:null})),g=i.merge(m).filter((function(e){return!!e}));return c&&l!==u&&(g=cst(g,l,u,i)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},hst=iat,fst=Sat,mst=fot.exports,gst=mat,vst=Jat,yst=mst.List,bst=mst.Map,Ost=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},_st=function(e,t){t.isCollapsed()||("production"!==ga.env.NODE_ENV?gst(!1,"Selection range must be collapsed."):gst(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),o=r.getText();if(!o){var a=r.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return vst(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=fst(),c=r instanceof hst,d=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),p=d.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:bst()}),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"!==ga.env.NODE_ENV?gst(!1,"ContentBlockNode must not have children"):gst(!1)),m=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();Ost(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,o=t.toArray();return o.splice(n,0,r),e.merge({children:yst(o)})})),Ost(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),Ost(i,e,(function(e){return e.merge({nextSibling:r})})),Ost(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})})},wst=Eot,xst=sat,kst=pat,Sst=wat,Pst=zat,Est=Xat,Cst=Zat,Fst=mat,Tst=Jat,Dst=Lat,Ast=pst,Ist=_st,Lst=fot.exports.OrderedSet,$st={replaceText:function(e,t,n,i,r){var o=Dst(e,t),a=Ast(o,t),s=wst.create({style:i||Lst(),entity:r||null});return Cst(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==ga.env.NODE_ENV?Fst(!1,"Target range must be collapsed for `insertText`."):Fst(!1)),$st.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=Pst(e,t),r=$st.removeRange(e,t,"backward");return $st.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=Dst(e,t),o=Ast(r,t);return Est(o,o.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),i=t.getAnchorKey(),r=t.getFocusKey(),o=e.getBlockForKey(i),a=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=o.getEntityAt(s),c=a.getEntityAt(l-1);if(i===r&&u&&u===c){var d=Sst(e.getEntityMap(),o,a,t,n);return Ast(e,d)}var p=Dst(e,t);return Ast(p,t)},splitBlock:function(e,t){var n=Dst(e,t),i=Ast(n,t);return Ist(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return xst.add(e,t,n)},removeInlineStyle:function(e,t,n){return xst.remove(e,t,n)},setBlockType:function(e,t,n){return Tst(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return Tst(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return Tst(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=Dst(e,t);return kst(i,t,n)}},Mst=$st;var zst=function(e){return Object.keys(e).map((function(t){return e[t]}))};function Rst(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jst=Cot,Qst=zst,Nst=fot.exports,Ust=Nst.List,Bst=Nst.Repeat,qst=Nst.Record,Gst=function(){return!0},Wst=qst({start:null,end:null}),Xst=qst({start:null,end:null,decoratorKey:null,leaves:null}),Vst={generate:function(e,t,n){var i=t.getLength();if(!i)return Ust.of(new Xst({start:0,end:0,decoratorKey:null,leaves:Ust.of(new Wst({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):Ust(Bst(null,i)),a=t.getCharacterList();return jst(o,Hst,Gst,(function(e,t){r.push(new Xst({start:e,end:t,decoratorKey:o.get(e),leaves:Yst(a.slice(e,t).toList(),e)}))})),Ust(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new Xst(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){Rst(e,t,n[t])}))}return e}({},n,{leaves:null!=t?Ust(Array.isArray(t)?t:Qst(t)).map((function(e){return Wst(e)})):null}))}};function Yst(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return jst(i,Hst,Gst,(function(e,i){n.push(new Wst({start:e+t,end:i+t}))})),Ust(n)}function Hst(e,t){return e===t}var Zst=Vst;var Kst=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,fot.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),Jst=Kst;var elt=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 tlt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nlt=Jst,ilt=mat,rlt=elt,olt=(0,fot.exports.Map)(),alt=rlt();function slt(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var llt={getLastCreatedEntityKey:function(){return slt("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),llt.__getLastCreatedEntityKey()},create:function(e,t,n){return slt("DraftEntity.create","contentState.createEntity"),llt.__create(e,t,n)},add:function(e){return slt("DraftEntity.add","contentState.addEntity"),llt.__add(e)},get:function(e){return slt("DraftEntity.get","contentState.getEntity"),llt.__get(e)},__getAll:function(){return olt},__loadWithEntities:function(e){olt=e,alt=rlt()},mergeData:function(e,t){return slt("DraftEntity.mergeData","contentState.mergeEntityData"),llt.__mergeData(e,t)},replaceData:function(e,t){return slt("DraftEntity.replaceData","contentState.replaceEntityData"),llt.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return alt},__create:function(e,t,n){return llt.__add(new nlt({type:e,mutability:t,data:n||{}}))},__add:function(e){return alt=rlt(),olt=olt.set(alt,e),alt},__get:function(e){var t=olt.get(e);return t||("production"!==ga.env.NODE_ENV?ilt(!1,"Unknown DraftEntity key: %s.",e):ilt(!1)),t},__mergeData:function(e,t){var n=llt.__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){tlt(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return olt=olt.set(e,r),r},__replaceData:function(e,t){var n=llt.__get(e).set("data",t);return olt=olt.set(e,n),n}},ult=llt;var clt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,n){var i=this.getAnchorKey(),r=this.getFocusKey();if(i===r&&i===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==i&&e!==r)return!1;var s=e===i?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},i.createEmpty=function(e){return new i({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},i}((0,fot.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),dlt=clt,plt=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},hlt=new RegExp("\r","g");var flt=function(e){return e.replace(hlt,"")};function mlt(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){glt(e,t,n[t])}))}return e}function glt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vlt=vot,ylt=Eot,blt=Uot,Olt=iat,_lt=ult,wlt=dlt,xlt=Sat,klt=zst,Slt=plt,Plt=fot.exports,Elt=flt,Clt=Plt.List,Flt=Plt.Record,Tlt=Plt.Repeat,Dlt=Plt.Map,Alt=Plt.OrderedMap,Ilt=Flt({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),Llt=Slt("draft_tree_data_support")?Olt:blt,$lt=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 _lt},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 _lt.__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 _lt.__create(e,t,n),this},r.mergeEntityData=function(e,t){return _lt.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return _lt.__replaceData(e,t),this},r.addEntity=function(e){return _lt.__add(e),this},r.getEntity=function(e){return _lt.__get(e)},r.getAllEntities=function(){return _lt.__getAll()},r.loadWithEntities=function(e){return _lt.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=vlt.createFromArray(n),o=r.isEmpty()?new wlt:wlt.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||_lt,selectionBefore:o,selectionAfter:o})},i.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=Elt(e),new Llt({key:xlt(),text:e,type:"unstyled",characterList:Clt(Tlt(ylt.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(mlt({},e,{blockMap:Alt(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new wlt(e.selectionBefore),selectionAfter:new wlt(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new Llt(mlt({},e,{data:Dlt(e.data),characterList:null!=t?Clt((Array.isArray(t)?t:klt(t)).map((function(e){return ylt.fromJS(e)}))):void 0}))},i}(Ilt),Mlt=$lt,zlt=mat,Rlt="LTR",jlt=null;function Qlt(e){return e===Rlt||"RTL"===e}function Nlt(e){return Qlt(e)||("production"!==ga.env.NODE_ENV?zlt(!1,"`dir` must be a strong direction to be converted to HTML Direction"):zlt(!1)),e===Rlt?"ltr":"rtl"}function Ult(e){jlt=e}var Blt={NEUTRAL:"NEUTRAL",LTR:Rlt,RTL:"RTL",isStrong:Qlt,getHTMLDir:Nlt,getHTMLDirIfDifferent:function(e,t){return Qlt(e)||("production"!==ga.env.NODE_ENV?zlt(!1,"`dir` must be a strong direction to be converted to HTML Direction"):zlt(!1)),Qlt(t)||("production"!==ga.env.NODE_ENV?zlt(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):zlt(!1)),e===t?null:Nlt(e)},setGlobalDir:Ult,initGlobalDir:function(){Ult(Rlt)},getGlobalDir:function(){return jlt||this.initGlobalDir(),jlt||("production"!==ga.env.NODE_ENV?zlt(!1,"Global direction not set."):zlt(!1)),jlt}},qlt=Blt,Glt=mat,Wlt="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",Xlt="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",Vlt=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+Wlt+Xlt+"]"),Ylt=new RegExp("["+Wlt+Xlt+"]");function Hlt(e){var t=Vlt.exec(e);return null==t?null:t[0]}function Zlt(e){var t=Hlt(e);return null==t?qlt.NEUTRAL:Ylt.exec(t)?qlt.RTL:qlt.LTR}function Klt(e,t){if(t=t||qlt.NEUTRAL,!e.length)return t;var n=Zlt(e);return n===qlt.NEUTRAL?t:n}function Jlt(e,t){return t||(t=qlt.getGlobalDir()),qlt.isStrong(t)||("production"!==ga.env.NODE_ENV?Glt(!1,"Fallback direction must be a strong direction"):Glt(!1)),Klt(e,t)}var eut={firstStrongChar:Hlt,firstStrongCharDir:Zlt,resolveBlockDir:Klt,getDirection:Jlt,isDirectionLTR:function(e,t){return Jlt(e,t)===qlt.LTR},isDirectionRTL:function(e,t){return Jlt(e,t)===qlt.RTL}},tut=eut;function nut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iut,rut=tut,out=Blt,aut=mat,sut=function(){function e(e){nut(this,"_defaultDir",void 0),nut(this,"_lastDir",void 0),e?out.isStrong(e)||("production"!==ga.env.NODE_ENV?aut(!1,"Default direction must be a strong direction (LTR or RTL)"):aut(!1)):e=out.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=rut.getDirection(e,this._lastDir),this._lastDir},e}(),lut=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},uut=sut,cut=fot.exports,dut=lut,put=cut.OrderedMap,hut={getDirectionMap:function(e,t){iut?iut.reset():iut=new uut;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return dut(iut).getDirection(e.getText())})),r=put(n.keySeq().zip(i));return null!=t&&cut.is(t,r)?t:r}};function fut(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){mut(e,t,n[t])}))}return e}function mut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gut=Zst,vut=Mlt,yut=hut,but=dlt,Out=fot.exports,_ut=Out.OrderedSet,wut=Out.Record,xut=Out.Stack,kut=Out.OrderedMap,Sut=Out.List,Put=wut({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:xut(),selection:null,treeMap:null,undoStack:xut()}),Eut=function(){t.createEmpty=function(e){return t.createWithContent(vut.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:xut(),redoStack:xut(),decorator:n||null,selection:but.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=fut({},e,{treeMap:Fut(n,e.decorator),directionMap:yut.getDirectionMap(n)});return new t(new Put(i))},t.fromJS=function(e){return new t(new Put(fut({},e,{directionMap:null!=e.directionMap?kut(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?_ut(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?vut.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?xut(e.redoStack.map((function(e){return vut.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new but(e.selection):e.selection,treeMap:null!=e.treeMap?kut(e.treeMap).map((function(e){return Sut(e).map((function(e){return gut.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?xut(e.undoStack.map((function(e){return vut.fromJS(e)}))):e.undoStack,currentContent:vut.fromJS(e.currentContent)})))},t.set=function(e,n){var i=e.getImmutable().withMutations((function(t){var i=t.get("decorator"),r=i;null===n.decorator?r=null:n.decorator&&(r=n.decorator);var o=n.currentContent||e.getCurrentContent();if(r!==i){var a,s=t.get("treeMap");return a=r&&i?function(e,t,n,i,r){return n.merge(t.toSeq().filter((function(t){return i.getDecorations(t,e)!==r.getDecorations(t,e)})).map((function(t){return gut.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):Fut(o,r),void t.merge({decorator:r,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),o=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return gut.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){mut(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 Dut(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 Dut(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 Cut(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),Cut(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new but({anchorKey:i,anchorOffset:r,focusKey:i,focusOffset:r,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=yut.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;a!==s.getSelectionAfter()||Tut(e,i)?(l=l.push(s),u=u.set("selectionBefore",a)):"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:o,undoStack:l,redoStack:xut(),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(),o=yut.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=yut.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:e.getUndoStack().push(r),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:i.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function Cut(e,t,n){return Eut.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function Fut(e,t){return e.getBlockMap().map((function(n){return gut.generate(e,n,t)})).toOrderedMap()}function Tut(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function Dut(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):_ut()}var Aut=Eut,Iut=iat,Lut=tst,$ut=fot.exports,Mut=mat,zut=$ut.OrderedMap,Rut=$ut.List,jut=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},Qut=function(e,t,n,i,r){if(!r)return e;var o="after"===i,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),p=o?n.getNextSiblingKey():s,h=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){jut(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),jut(c,e,(function(e){return e.merge({nextSibling:u})})),jut(u,e,(function(e){return e.merge({prevSibling:c})})),jut(p,e,(function(e){return e.merge({prevSibling:a})})),jut(h,e,(function(e){return e.merge({nextSibling:a})})),jut(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=o?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,a),e.merge({children:Rut(r)})})),jut(a,e,(function(e){return e.merge({nextSibling:p,prevSibling:h,parent:d})}))}))},Nut=function(e,t,n,i){"replace"===i&&("production"!==ga.env.NODE_ENV?Mut(!1,"Replacing blocks is not supported."):Mut(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==ga.env.NODE_ENV?Mut(!1,"Block cannot be moved next to itself."):Mut(!1));var a=e.getBlockMap(),s=t instanceof Iut,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=Lut(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),r=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||a||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var 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=zut();if("before"===i){var f=e.getBlockBefore(r);f&&f.getKey()===t.getKey()&&("production"!==ga.env.NODE_ENV?Mut(!1,"Block cannot be moved next to itself."):Mut(!1)),h=c.concat([].concat(p,[[r,n]]),d).toOrderedMap()}else if("after"===i){var m=e.getBlockAfter(r);m&&m.getKey()===o&&("production"!==ga.env.NODE_ENV?Mut(!1,"Block cannot be moved next to itself."):Mut(!1)),h=c.concat([[r,n]].concat(p),d).toOrderedMap()}return e.merge({blockMap:Qut(h,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function Uut(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){But(e,t,n[t])}))}return e}function But(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qut=vot,Gut=Eot,Wut=Uot,Xut=iat,Vut=Mst,Yut=Aut,Hut=Sat,Zut=fot.exports,Kut=Nut,Jut=plt("draft_tree_data_support"),ect=Jut?Xut:Wut,tct=Zut.List,nct=Zut.Repeat,ict={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=Vut.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=Vut.splitBlock(o,a),l=s.getSelectionAfter(),u=Vut.setBlockType(s,l,"atomic"),c=Gut.create({entity:t}),d={key:Hut(),type:"atomic",text:n,characterList:tct(nct(c,n.length))},p={key:Hut(),type:"unstyled"};Jut&&(d=Uut({},d,{nextSibling:p.key}),p=Uut({},p,{prevSibling:d.key}));var h=[new ect(d),new ect(p)],f=qut.createFromArray(h),m=Vut.replaceWithFragment(u,l,f),g=m.merge({selectionBefore:r,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return Yut.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,o=e.getCurrentContent(),a=e.getSelection();if("before"===i||"after"===i){var s=o.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=Kut(o,t,s,i)}else{var l=Vut.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=Kut(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=Kut(l,t,c,"after");else{var d=Vut.splitBlock(l,u),p=d.getSelectionAfter(),h=d.getBlockForKey(p.getFocusKey());r=Kut(d,t,h,"before")}}var f=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return Yut.push(e,f,"move-block")}};var rct=fot.exports.List,oct=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(i,r){var o=0;(0,i.strategy)(e,(function(e,t){(function(e,t,n){for(var i=t;i<n;i++)if(null!=e[i])return!1;return!0})(n,e,t)&&(!function(e,t,n,i){for(var r=t;r<n;r++)e[r]=i}(n,e,t,r+"."+o),o++)}),t)})),rct(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 act=oct;function sct(e){return e.replace(/\//g,"-")}var lct=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(sct).join(" "):Array.prototype.map.call(arguments,sct).join(" ")},uct=g.default,cct=lct,dct=(0,fot.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:uct.createElement("ul",{className:cct("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:uct.createElement("ol",{className:cct("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:uct.createElement("pre",{className:cct("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),pct={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},hct={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",u="name",c="type",d="vendor",p="version",h="architecture",f="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",O="Amazon",_="Apple",w="ASUS",x="BlackBerry",k="Firefox",S="Google",P="Huawei",E="LG",C="Microsoft",F="Motorola",T="Opera",D="Samsung",A="Sony",I="Xiaomi",L="Zebra",$="Facebook",M=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},z=function(e,t){return typeof e===s&&-1!==R(t).indexOf(R(e))},R=function(e){return e.toLowerCase()},j=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},Q=function(e,t){for(var n,o,s,l,u,c,d=0;d<t.length&&!u;){var p=t[d],h=t[d+1];for(n=o=0;n<p.length&&!u;)if(u=p[n++].exec(e))for(s=0;s<h.length;s++)c=u[++o],typeof(l=h[s])===a&&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}},N=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(z(t[n][r],e))return"?"===n?i:n}else if(z(t[n],e))return"?"===n?i:n;return e},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,k]],[/\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,$],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,N,{"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,R]],[/((?: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/,"",R]],[/(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,R]]],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,_],[c,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,_],[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,x],[c,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,w],[c,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,w],[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,L],[c,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,L],[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,y]],[/droid.+; (glass) \d/i],[l,[d,S],[c,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,L],[c,y]],[/(quest( 2)?)/i],[l,[d,$],[c,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,b]],[/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,N,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[p,N,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,x]],[/(?: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===a&&(t=e,e=i),!(this instanceof q))return new q(e,t).getResult();var r=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(B,t):B;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,Q.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,Q.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,Q.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,Q.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,Q.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=M([u,p,"major"]),q.CPU=M([h]),q.DEVICE=M([l,d,c,f,m,v,g,y,b]),q.ENGINE=q.OS=M([u,p]),e.exports&&(t=e.exports=q),t.UAParser=q;var G=typeof n!==o&&(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:k)}(hct,hct.exports);var fct="Unknown",mct={"Mac OS":"Mac OS X"};var gct=(new(0,hct.exports)).getResult(),vct=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(gct.browser.version),yct={browserArchitecture:gct.cpu.architecture||fct,browserFullVersion:gct.browser.version||fct,browserMinorVersion:vct.minor||fct,browserName:gct.browser.name||fct,browserVersion:gct.browser.major||fct,deviceName:gct.device.model||fct,engineName:gct.engine.name||fct,engineVersion:gct.engine.version||fct,platformArchitecture:gct.cpu.architecture||fct,platformName:function(e){return mct[e]||e}(gct.os.name)||fct,platformVersion:gct.os.version||fct,platformFullVersion:gct.os.version||fct},bct=yct,Oct=mat,_ct=/\./,wct=/\|\|/,xct=/\s+\-\s+/,kct=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,Sct=/^(\d*)(.*)/;function Pct(e,t){var n=e.split(wct);return n.length>1?n.some((function(e){return zct.contains(e,t)})):function(e,t){var n=e.split(xct);if(n.length>0&&n.length<=2||("production"!==ga.env.NODE_ENV?Oct(!1,'the "-" operator expects exactly 2 operands'):Oct(!1)),1===n.length)return Ect(n[0],t);var i=n[0],r=n[1];return Act(i)&&Act(r)||("production"!==ga.env.NODE_ENV?Oct(!1,'operands to the "-" operator must be simple (no modifiers)'):Oct(!1)),Ect(">="+i,t)&&Ect("<="+r,t)}(e=n[0].trim(),t)}function Ect(e,t){if(""===(e=e.trim()))return!0;var n=t.split(_ct),i=Tct(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return Cct(n,o);case"<=":return function(e,t){var n=Mct(e,t);return-1===n||0===n}(n,o);case">=":return Fct(n,o);case">":return function(e,t){return 1===Mct(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,o=parseInt(i[r],10);Dct(o)&&(i[r]=o+1+"");return Fct(e,n)&&Cct(e,i)}(n,o);default:return function(e,t){return 0===Mct(e,t)}(n,o)}}function Cct(e,t){return-1===Mct(e,t)}function Fct(e,t){var n=Mct(e,t);return 1===n||0===n}function Tct(e){var t=e.split(_ct),n=t[0].match(kct);return n||("production"!==ga.env.NODE_ENV?Oct(!1,"expected regex to match but it did not"):Oct(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function Dct(e){return!isNaN(e)&&isFinite(e)}function Act(e){return!Tct(e).modifier}function Ict(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function Lct(e,t){var n=e.match(Sct)[1],i=t.match(Sct)[1],r=parseInt(n,10),o=parseInt(i,10);return Dct(r)&&Dct(o)&&r!==o?$ct(r,o):$ct(e,t)}function $ct(e,t){return typeof e!=typeof t&&("production"!==ga.env.NODE_ENV?Oct(!1,'"a" and "b" must be of the same type'):Oct(!1)),e>t?1:e<t?-1:0}function Mct(e,t){for(var n=function(e,t){Ict(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 Ict(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=Lct(i[o],r[o]);if(a)return a}return 0}var zct={contains:function(e,t){return Pct(e.trim(),t.trim())}},Rct=zct,jct=Object.prototype.hasOwnProperty;var Qct=function(e,t,n){if(!e)return null;var i={};for(var r in e)jct.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var Nct=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},Uct=bct,Bct=Rct;function qct(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,Bct.contains(r,t))}function Gct(e){return"Windows"===Uct.platformName?e.replace(/^\s*NT/,""):e}var Wct=Qct({isBrowser:function(e){return qct(Uct.browserName,Uct.browserFullVersion,e)},isBrowserArchitecture:function(e){return qct(Uct.browserArchitecture,null,e)},isDevice:function(e){return qct(Uct.deviceName,null,e)},isEngine:function(e){return qct(Uct.engineName,Uct.engineVersion,e)},isPlatform:function(e){return qct(Uct.platformName,Uct.platformFullVersion,e,Gct)},isPlatformArchitecture:function(e){return qct(Uct.platformArchitecture,null,e)}},Nct);var Xct=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var Vct=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},Yct=Vct;var Hct=function e(t){if(Yct(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var o=e(n.childNodes[r]);if(o)return o}}return null},Zct=Xct,Kct=Hct;var Jct=function(e){for(var t=e;t&&t!==Zct(e).documentElement;){var n=Kct(t);if(null!=n)return n;t=t.parentNode}return null};var edt=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function tdt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ndt=Wct,idt=Jct,rdt=edt,odt=mat,adt=lut,sdt=fot.exports.Map,ldt={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},udt=ndt.isBrowser("IE <= 11"),cdt=function(){function e(e){var t=this;tdt(this,"observer",void 0),tdt(this,"container",void 0),tdt(this,"mutations",void 0),tdt(this,"onCharData",void 0),this.container=e,this.mutations=sdt();var n=rdt(e);n.MutationObserver&&!udt?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==ga.env.NODE_ENV?odt(!1,"Expected target to be an instance of Node"):odt(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,ldt):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=sdt(),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 udt?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=adt(idt(e.target));this.mutations=this.mutations.set(n,t)}},e}(),ddt="-",pdt={encode:function(e,t,n){return e+ddt+t+ddt+n},decode:function(e){var t=e.split(ddt).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(ddt),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},hdt={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},fdt={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var mdt=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},gdt=mat,vdt=mdt;var ydt=function(e){var t=e.editorContainer;return t||("production"!==ga.env.NODE_ENV?gdt(!1,"Missing editorNode"):gdt(!1)),vdt(t.firstChild)||("production"!==ga.env.NODE_ENV?gdt(!1,"editorNode.firstChild is not an HTMLElement"):gdt(!1)),t.firstChild},bdt=pdt,Odt=lut;var _dt=function(e,t,n,i,r){var o=Odt(e.getSelection());if(!t||!i)return"production"!==ga.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=bdt.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=bdt.decode(i),d=c.blockKey,p=e.getBlockTree(d),h=p&&p.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!h)return"production"!==ga.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var f=u.get("start"),m=h.get("start"),g=u?f+n:null,v=h?m+r:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var O=u.get("end"),_=h.get("end");b=m===f&&_===O?r<n:m<f}else{var w=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=w===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},wdt=Jct,xdt=Hct,kdt=_dt,Sdt=mat,Pdt=Vct,Edt=lut;function Cdt(e,t,n){var i=t,r=wdt(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==ga.env.NODE_ENV?Sdt(!1,"Unknown node in selection range."):Sdt(!1)),e===i)&&(i=i.firstChild,Pdt(i)||("production"!==ga.env.NODE_ENV?Sdt(!1,"Invalid DraftEditorContents node."):Sdt(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==ga.env.NODE_ENV?Sdt(!1,"Invalid DraftEditorContents structure."):Sdt(!1)),n>0&&(n=i.childNodes.length));if(0===n){var o=null;if(null!=r)o=r;else{var a=function(e){for(;e.firstChild&&(Pdt(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||xdt(e.firstChild));)e=e.firstChild;return e}(i);o=Edt(xdt(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(xdt(s)){var c=function(e){for(;e.lastChild&&(Pdt(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||xdt(e.lastChild));)e=e.lastChild;return e}(s);l=Edt(xdt(c)),u=Fdt(c)}else l=Edt(r),u=Fdt(s);return{key:l,offset:u}}function Fdt(e){var t=e.textContent;return"\n"===t?0:t.length}var Tdt=function(e,t,n,i,r,o){var a=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:kdt(e,Edt(wdt(n)),i,Edt(wdt(r)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:Edt(wdt(n)),offset:i},u=Cdt(t,r,o)):s?(u={key:Edt(wdt(r)),offset:o},l=Cdt(t,n,i)):(l=Cdt(t,n,i),u=Cdt(t,r,o),n===r&&i===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:kdt(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},Ddt=Tdt;var Adt=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==i||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:Ddt(e,t,i,r,o,a)},Idt=fdt,Ldt=Aut,$dt=ydt,Mdt=Adt;var zdt=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();Idt.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=Mdt(n,$dt(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?Ldt.forceSelection(n,r):Ldt.acceptSelection(n,r),e.update(n))}};var Rdt={notEmptyKey:function(e){return null!=e&&""!=e}},jdt=Rdt.notEmptyKey;function Qdt(e,t){return jdt(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var Ndt=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:Qdt(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),Qdt(e.getEntityMap(),n)},Udt=cdt,Bdt=Mst,qdt=pdt,Gdt=Aut,Wdt=hdt,Xdt=ydt,Vdt=Adt,Ydt=Ndt,Hdt=lut,Zdt=!1,Kdt=!1,Jdt=null;var ept={onCompositionStart:function(e){Kdt=!0,function(e){Jdt||(Jdt=new Udt(Xdt(e))).start()}(e)},onCompositionEnd:function(e){Zdt=!1,Kdt=!1,setTimeout((function(){Zdt||ept.resolveComposition(e)}),20)},onSelect:zdt,onKeyDown:function(e,t){if(!Kdt)return ept.resolveComposition(e),void e._onKeyDown(t);t.which!==Wdt.RIGHT&&t.which!==Wdt.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===Wdt.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!Kdt){var t=Hdt(Jdt).stopAndFlushMutations();Jdt=null,Zdt=!0;var n=Gdt.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=qdt.decode(t),o=r.blockKey,a=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:u,focusOffset:c,isBackward:!1}),p=Ydt(i,d),h=i.getBlockForKey(o).getInlineStyleAt(u);i=Bdt.replaceText(i,d,e,h,p),n=Gdt.set(n,{currentContent:i})}));var r=Vdt(n,Xdt(e)).selectionState;e.restoreEditorDOM();var o=Gdt.acceptSelection(n,r);e.update(Gdt.push(o,i,"insert-characters"))}else e.update(n)}}},tpt=ept,npt=fW;function ipt(){return ipt=npt||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},ipt.apply(this,arguments)}var rpt=pdt,opt=g.default,apt=tut,spt=Blt,lpt=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.children,i=e.contentState,r=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(o),p=r.getPropsForKey(o),h=rpt.encode(u,parseInt(o,10),0),f=l.slice(c.first().get("start"),c.last().get("end")),m=spt.getHTMLDirIfDifferent(apt.getDirection(f),a);return opt.createElement(d,ipt({},p,{contentState:i,decoratedText:f,dir:m,key:h,entityKey:t.getEntityAt(s.get("start")),offsetKey:h}),n)},i}(opt.Component),upt=lpt;function cpt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dpt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ppt=g.default,hpt=mat,fpt=Vct,mpt=Wct.isBrowser("IE <= 11");var gpt=function(e){var t,n;function i(t){var n;return dpt(cpt(n=e.call(this,t)||this),"_forceFlag",void 0),dpt(cpt(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;fpt(t)||("production"!==ga.env.NODE_ENV?hpt(!1,"node is not an Element"):hpt(!1));var i=t;return n?!function(e){return mpt?"\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},mpt?ppt.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):ppt.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return mpt?ppt.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):ppt.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):ppt.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(ppt.Component),vpt=gpt,ypt=Vct;var bpt=function(e){return!(!e||!e.ownerDocument)&&(ypt(e)&&"BR"===e.nodeName)};var Opt=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 _pt=function(e){return Opt(e)&&3==e.nodeType};var wpt=function e(t,n){return!(!t||!n)&&(t===n||!_pt(t)&&(_pt(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var xpt=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}},kpt=fdt,Spt=wpt,Ppt=xpt,Ept=Xct,Cpt=mat,Fpt=Vct,Tpt=Wct.isBrowser("IE");function Dpt(e,t){if(!e)return"[empty]";var n=Apt(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(Fpt(n)||("production"!==ga.env.NODE_ENV?Cpt(!1,"Node must be an Element if it is not a text node."):Cpt(!1)),n.outerHTML)}function Apt(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return Ept(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var r=e.cloneNode();1===r.nodeType&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)r.appendChild(Apt(o[a],t));return r}function Ipt(e,t){for(var n=e,i=n;n;){if(Fpt(n)&&i.hasAttribute("contenteditable"))return Dpt(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function Lpt(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function $pt(e,t,n,i){var r=Ppt();if(e.extend&&null!=t&&Spt(r,t)){n>Lpt(t)&&kpt.logSelectionStateFailure({anonymizedDom:Ipt(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw kpt.logSelectionStateFailure({anonymizedDom:Ipt(t,(function(t){var n=[];return t===r&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:r?r.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:o,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function Mpt(e,t,n,i){var r=Ept(t).createRange();if(n>Lpt(t)&&kpt.logSelectionStateFailure({anonymizedDom:Ipt(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),Tpt)try{e.addRange(r)}catch(e){"production"!==ga.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var zpt=function(e,t,n,i,r){var o=Ept(t);if(Spt(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!a.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 a.removeAllRanges(),Mpt(a,t,l-i,e),void $pt(a,t,c-i,e);if(d){if(m&&(a.removeAllRanges(),Mpt(a,t,c-i,e)),f){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),Mpt(a,t,l-i,e),$pt(a,g,v,e)}}else f&&(a.removeAllRanges(),Mpt(a,t,l-i,e)),m&&$pt(a,t,c-i,e)}},Rpt=fW;function jpt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qpt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Npt=vpt,Upt=g.default,Bpt=mat,qpt=bpt,Gpt=zpt,Wpt=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 Qpt(jpt(t=e.call.apply(e,[this].concat(i))||this),"leaf",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,i=t.start,r=t.text,o=n.getKey(),a=i+r.length;if(e.hasEdgeWithin(o,i,a)){var s=this.leaf;s||("production"!==ga.env.NODE_ENV?Bpt(!1,"Missing node"):Bpt(!1));var l,u=s.firstChild;u||("production"!==ga.env.NODE_ENV?Bpt(!1,"Missing child"):Bpt(!1)),u.nodeType===Node.TEXT_NODE?l=u:qpt(u)?l=s:(l=u.firstChild)||("production"!==ga.env.NODE_ENV?Bpt(!1,"Missing targetNode"):Bpt(!1)),Gpt(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==ga.env.NODE_ENV?Bpt(!1,"Missing leafNode"):Bpt(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var i=this.props,r=i.customStyleMap,o=i.customStyleFn,a=i.offsetKey,s=i.styleSet,l=s.reduce((function(e,t){var n={},i=r[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(n.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),Rpt(e,i,n)}),{});if(o){var u=o(s,t);l=Rpt(l,u)}return Upt.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},Upt.createElement(Npt,null,n))},i}(Upt.Component),Xpt=Wpt;var Vpt=upt,Ypt=Xpt,Hpt=pdt,Zpt=fot.exports,Kpt=g.default,Jpt=lct;Zpt.List;var eht=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,i=e.customStyleFn,r=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,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 o=Hpt.encode(d,c,n),a=e.get("start"),m=e.get("end");return Kpt.createElement(Ypt,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:p.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:f===h&&n===g})})).toArray();return f&&o?Kpt.createElement(Vpt,{block:t,children:v,contentState:n,decorator:o,decoratorKey:f,direction:a,leafSet:e,text:p,key:c}):v})).toArray();return Kpt.createElement("div",{"data-offset-key":Hpt.encode(d,0,0),className:Jpt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},f)},i}(Kpt.Component),tht=eht;function nht(e,t){return!!t&&(e===t.documentElement||e===t.body)}var iht={getTop:function(e){var t=e.ownerDocument;return nht(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;nht(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return nht(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;nht(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},rht=iht,oht=/-(.)/g;var aht=function(e){return e.replace(oht,(function(e,t){return t.toUpperCase()}))},sht=/([A-Z])/g;var lht=function(e){return e.replace(sht,"-$1").toLowerCase()},uht=aht,cht=lht;function dht(e){return null==e?e:String(e)}var pht=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return dht(n.getPropertyValue(cht(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return dht(n.getPropertyValue(cht(t)));if("display"===t)return"none"}return e.currentStyle?dht("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[uht(t)]):dht(e.style&&e.style[uht(t)])};function hht(e,t){var n=fht.get(e,t);return"auto"===n||"scroll"===n}var fht={get:pht,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(hht(e,"overflow")||hht(e,"overflowY")||hht(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},mht=fht,ght=wpt;var vht=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!ght(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 yht=function(e){var t=vht(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},bht="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var Oht=function(e){return(e=e||document).scrollingElement?e.scrollingElement:bht||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var _ht=Oht,wht=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 xht=function(e){var t=_ht(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=wht(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,o=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,o)),n};function kht(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function Sht(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function Pht(){return{width:window.innerWidth||kht(),height:window.innerHeight||Sht()}}Pht.withoutScrollbars=function(){return{width:kht(),height:Sht()}};var Eht=Pht,Cht=fW;function Fht(){return Fht=Cht||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},Fht.apply(this,arguments)}function Tht(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dht(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){Aht(e,t,n[t])}))}return e}function Aht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Iht=tht,Lht=pdt,$ht=g.default,Mht=rht,zht=mht,Rht=yht,jht=xht,Qht=Eht,Nht=mat,Uht=mdt;fot.exports.List;var Bht=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},qht=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}},Ght=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},Wht=function(e,t,n,i,r,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=i(e);return s&&(a.className=s),void 0!==r.customEditable&&(a=Dht({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},Xht=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 Aht(Tht(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",$ht.createRef()),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,n=t.block,i=t.direction,r=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||r!==e.tree||i!==e.direction||Bht(e.selection,e.block.getKey())&&e.forceSelection;return o||a},r.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var i,r=zht.getScrollParent(n),o=jht(r);if(r===window){var a=Rht(n);(i=a.y+a.height-Qht().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{Uht(n)||("production"!==ga.env.NODE_ENV?Nht(!1,"blockNode is not an HTMLElement"):Nht(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&Mht.setTop(r,Mht.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,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=Lht.encode(n,0,0),d=s.getBlockForKey(n),p=Ght(d,o),h=p.CustomComponent||i,f=qht(d,r),m=f.Element,g=f.wrapperTemplate,v=Wht(d,u,l,a,p,null),y=Dht({},e.props,{tree:c.getBlockTree(n),blockProps:p.customProps,offsetKey:l,block:d});return t.push($ht.createElement(m,v,$ht.createElement(h,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var i=[],r=!0,o=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var u=s.value;if(u.type!==t)break;i.push(u)}}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push($ht.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":Lht.encode(d,0,0)},c))}(g,m,t),t}),[]));var y=n.getKey(),b=Lht.encode(y,0,0),O=Ght(n,o),_=O.CustomComponent,w=null!=_?$ht.createElement(_,Fht({},this.props,{tree:c.getBlockTree(y),blockProps:O.customProps,offsetKey:b,block:n})):$ht.createElement(Iht,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:p,decorator:l,direction:h,forceSelection:f,hasSelection:Bht(m,y),selection:m,tree:g});if(n.getParentKey())return w;var x=qht(n,r).Element,k=Wht(n,u,b,a,O,this.wrapperRef);return $ht.createElement(x,k,w)},i}($ht.Component),Vht=fW;function Yht(){return Yht=Vht||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Yht.apply(this,arguments)}var Hht=Xht,Zht=pdt,Kht=g.default,Jht=lut,eft=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==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,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,u=a.getCurrentContent(),c=a.getSelection(),d=a.mustForceSelection(),p=a.getDecorator(),h=Jht(a.getDirectionMap()),f=[],m=u.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:o,customStyleMap:r,decorator:p,editorKey:s,editorState:a,forceSelection:d,selection:c,block:m,direction:l||h.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;f.push({block:Kht.createElement(Hht,Yht({key:g},v)),wrapperTemplate:y,key:g,offsetKey:Zht.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?u.getBlockForKey(b):null}for(var O=[],_=0;_<f.length;){var w=f[_];if(w.wrapperTemplate){var x=[];do{x.push(f[_].block),_++}while(_<f.length&&f[_].wrapperTemplate===w.wrapperTemplate);var k=Kht.cloneElement(w.wrapperTemplate,{key:w.key+"-wrap","data-offset-key":w.offsetKey},x);O.push(k)}else O.push(w.block),_++}return Kht.createElement("div",{"data-contents":"true"},O)},i}(Kht.Component),tft=eft,nft=fW;function ift(){return ift=nft||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},ift.apply(this,arguments)}function rft(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aft=Xpt,sft=pdt,lft=g.default,uft=rht,cft=mht,dft=tut,pft=Blt,hft=lct,fft=yht,mft=xht,gft=Eht,vft=mat,yft=mdt,bft=lut,Oft=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},_ft=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 oft(rft(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||Oft(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=cft.getScrollParent(n),o=mft(r);if(r===window){var a=fft(n);(i=a.y+a.height-gft().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{yft(n)||("production"!==ga.env.NODE_ENV?vft(!1,"blockNode is not an HTMLElement"):vft(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&uft.setTop(r,uft.getTop(r)+i+10)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),i=t.getText(),r=this.props.tree.size-1,o=Oft(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(a,l){var c=sft.encode(n,s,l),d=a.get("start"),p=a.get("end");return lft.createElement(aft,{key:c,offsetKey:c,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,p),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),d=a.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var p=bft(e.props.decorator),h=p.getComponentForKey(d);if(!h)return c;var f=p.getPropsForKey(d),m=sft.encode(n,s,0),g=l.first().get("start"),v=l.last().get("end"),y=i.slice(g,v),b=t.getEntityAt(a.get("start")),O=pft.getHTMLDirIfDifferent(dft.getDirection(y),e.props.direction),_={contentState:e.props.contentState,decoratedText:y,dir:O,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return lft.createElement(h,ift({},f,_,{key:m}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=hft({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return lft.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(lft.Component),wft=_ft;var xft=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},kft=fW;function Sft(){return Sft=kft||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},Sft.apply(this,arguments)}function Pft(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){Eft(e,t,n[t])}))}return e}function Eft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cft=wft,Fft=pdt,Tft=g.default,Dft=lct,Aft=xft,Ift=lut,Lft=function(e,t,n,i){return Dft({"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})},$ft=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==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,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=a.getCurrentContent(),d=a.getSelection(),p=a.mustForceSelection(),h=a.getDecorator(),f=Ift(a.getDirectionMap()),m=c.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var O=m[b],_=O.getKey(),w=O.getType(),x=n(O),k=void 0,S=void 0,P=void 0;x&&(k=x.component,S=x.props,P=x.editable);var E=u||f.get(_),C=Fft.encode(_,0,0),F={contentState:c,block:O,blockProps:S,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:h,direction:E,forceSelection:p,offsetKey:C,preventScroll:l,selection:d,tree:a.getBlockTree(_)},T=t.get(w)||t.get("unstyled"),D=T.wrapper,A=T.element||t.get("unstyled").element,I=O.getDepth(),L="";if(i&&(L=i(O)),"li"===A)L=Aft(L,Lft(w,I,y!==D||null===v||I>v,E));var $=k||Cft,M={className:L,"data-block":!0,"data-editor":s,"data-offset-key":C,key:_};void 0!==P&&(M=Pft({},M,{contentEditable:P,suppressContentEditableWarning:!0}));var z=Tft.createElement(A,M,Tft.createElement($,Sft({},F,{key:_})));g.push({block:z,wrapperTemplate:D,key:_,offsetKey:C}),v=D?O.getDepth():null,y=D}for(var R=[],j=0;j<g.length;){var Q=g[j];if(Q.wrapperTemplate){var N=[];do{N.push(g[j].block),j++}while(j<g.length&&g[j].wrapperTemplate===Q.wrapperTemplate);var U=Tft.cloneElement(Q.wrapperTemplate,{key:Q.key+"-wrap","data-offset-key":Q.offsetKey},N);R.push(U)}else R.push(Q.block),j++}return Tft.createElement("div",{"data-contents":"true"},R)},i}(Tft.Component),Mft=$ft,zft=plt("draft_tree_data_support")?tft:Mft,Rft={isImage:function(e){return"image"===jft(e)[0]},isJpeg:function(e){var t=jft(e);return Rft.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function jft(e){return e.split("/")}var Qft=Rft,Nft=mat;var Uft=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"!==ga.env.NODE_ENV?Nft(!1,"toArray: Array-like object expected"):Nft(!1)),"number"!=typeof t&&("production"!==ga.env.NODE_ENV?Nft(!1,"toArray: Object needs a length property"):Nft(!1)),0===t||t-1 in e||("production"!==ga.env.NODE_ENV?Nft(!1,"toArray: Object should have keys for indices"):Nft(!1)),"function"==typeof e.callee&&("production"!==ga.env.NODE_ENV?Nft(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):Nft(!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 Bft(e){return function(){return e}}var qft=function(){};qft.thatReturns=Bft,qft.thatReturnsFalse=Bft(!1),qft.thatReturnsTrue=Bft(!0),qft.thatReturnsNull=Bft(null),qft.thatReturnsThis=function(){return this},qft.thatReturnsArgument=function(e){return e};var Gft=qft,Wft=Qft,Xft=Uft,Vft=Gft,Yft=new RegExp("\r\n","g"),Hft={"text/rtf":1,"text/html":1};function Zft(e){if("file"==e.kind)return e.getAsFile()}var Kft=function(){function e(e){this.data=e,this.types=e.types?Xft(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return Hft[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(Yft,"\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(!Wft.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(Zft).filter(Vft.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),Jft=Kft,emt=mat,tmt=/\.textClipping$/,nmt={"text/plain":!0,"text/html":!0,"text/rtf":!0};var imt=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!k.FileReader||e.type&&!(e.type in nmt))return void t("");if(""===e.type){var n="";return tmt.test(e.name)&&(n=e.name.replace(tmt,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==ga.env.NODE_ENV?emt(!1,'We should be calling "FileReader.readAsText" which returns a string'):emt(!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 rmt=function(e){return"handled"===e||!0===e},omt=Jft,amt=Mst,smt=Aut,lmt=Jct,umt=Xct,cmt=imt,dmt=_dt,pmt=edt,hmt=rmt,fmt=lut;var mmt={onDragEnd:function(e){e.exitCurrentMode(),gmt(e)},onDrop:function(e,t){var n=new omt(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=umt(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var o=r.caretRangeFromPoint(e.x,e.y);n=o.startContainer,i=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=fmt(n),i=fmt(i);var a=fmt(lmt(n));return dmt(t,a,i,a,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&hmt(e.props.handleDroppedFiles(r,o)))return;cmt(o,(function(t){t&&e.update(vmt(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&hmt(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=amt.moveText(e.getCurrentContent(),e.getSelection(),t);return smt.push(e,n,"insert-fragment")}(i,r)):e.update(vmt(i,r,n.getText()))),gmt(e)}}}};function gmt(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:pmt(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function vmt(e,t,n){var i=amt.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return smt.push(e,i,"insert-fragment")}var ymt=mmt;var bmt=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),o=!1;return i.some((function(e){return r===e.get("start")?(o=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,i,r,o=1,a={},s=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){ga.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 a[o]=r,n(o),o++},u.clearImmediate=c}function c(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{c(e),s=!1}}}}}("undefined"==typeof self?k:self);var Omt=k.setImmediate,_mt=Mst,wmt=Aut,xmt=Ndt,kmt=rmt,Smt=bmt,Pmt=lut,Emt=Omt,Cmt=Wct.isBrowser("Firefox");function Fmt(e,t,n,i,r){var o=_mt.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return wmt.push(e,o,"insert-characters",r)}var Tmt=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&&kmt(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),o=r.getStartOffset(),a=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(Fmt(n,i,n.getCurrentInlineStyle(),xmt(n.getCurrentContent(),n.getSelection()),!0));var s,l=Fmt(n,i,n.getCurrentInlineStyle(),xmt(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=Smt(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(a),d=l.getBlockTree(a);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),a=r+(r>=o?i.length:0),s=t.get("end"),l=s+(s>=o?i.length:0),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||a!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=Cmt&&("'"==s||"/"==s)),u||(u=Pmt(l.getDirectionMap()).get(a)!==Pmt(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=wmt.set(l,{forceSelection:!0}),void e.update(l);l=wmt.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,Emt((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},Dmt=Aut,Amt=wpt,Imt=xpt;var Lmt=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&Imt(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&Amt(r,i.anchorNode)&&Amt(r,i.focusNode)&&i.removeAllRanges()}var o=e._latestEditorState,a=o.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(Dmt.acceptSelection(o,s))}},$mt=Aut;var Mmt=function(e,t){e.setMode("composite"),e.update($mt.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},zmt=zat;var Rmt=function(e){var t=e.getSelection();return t.isCollapsed()?null:zmt(e.getCurrentContent(),t)},jmt=Rmt;var Qmt=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(jmt(e._latestEditorState))};var Nmt=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},Umt=Mst,Bmt=Aut,qmt=mht,Gmt=Rmt,Wmt=xht,Xmt=Nmt;var Vmt=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(Xmt(o)){var a=o;n=Wmt(qmt.getScrollParent(a))}var s=Gmt(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=Umt.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return Bmt.push(e,t,"remove-range")}(i))}),0)}};var Ymt=function(e,t){e.setMode("drag"),t.preventDefault()};var Hmt=function(e){e._internalDrag=!0,e.setMode("drag")},Zmt=Aut,Kmt=Wct;var Jmt=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),Kmt.isBrowser("Chrome < 60.0.3081.0")?e.update(Zmt.forceSelection(n,r)):e.update(Zmt.acceptSelection(n,r))}},egt=mat,tgt=/[\uD800-\uDFFF]/;function ngt(e){return 55296<=e&&e<=57343}function igt(e){return tgt.test(e)}function rgt(e,t){return 1+ngt(e.charCodeAt(t))}function ogt(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!igt(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+=rgt(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=rgt(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=rgt(e,o);return e.substring(r,o)}var agt={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=rgt(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:rgt,hasSurrogateUnit:igt,isCodeUnitInSurrogateRange:ngt,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==ga.env.NODE_ENV?egt(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):egt(!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(!igt(e))return e.length;for(var t=0,n=0;n<e.length;n+=rgt(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 ogt(e,t=t<n?t:n,i)},substr:ogt},sgt=agt,lgt=Gft;function ugt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var cgt="production"!==ga.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];ugt.apply(void 0,[t].concat(i))}}:lgt,dgt=cgt,pgt=dgt;var hgt=function(e,t){var n=e.getSelection();"production"!==ga.env.NODE_ENV&&pgt(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),o=n.getStartOffset(),a=r,s=0;if(t>o){var l=i.getKeyBefore(r);if(null==l)a=r;else a=l,s=i.getBlockForKey(l).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},fgt=Mst,mgt=plt("draft_tree_data_support");var ggt=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(mgt&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(mgt)if(i.getAnchorOffset()===r.getBlockForKey(a).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((o=t(e))===i)return r}return fgt.removeRange(r,o,n)},vgt=Aut,ygt=sgt,bgt=hgt,Ogt=ggt;var _gt=function(e){var t=Ogt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return bgt(e,o?ygt.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return vgt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},wgt=Mst,xgt=pdt,kgt=Aut,Sgt=Rdt.notEmptyKey,Pgt=Jct,Egt=_gt,Cgt=lut,Fgt=Wct.isEngine("Gecko");var Tgt=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.isCollapsed,o=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!o){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var a=i.parentNode;if(null==a)return;i.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==i&&a.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=Cgt(Pgt(i)),d=xgt.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,y=u.getCurrentContent(),b=y.getBlockForKey(p),O=b.getText().slice(g,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==O){var _,w,x,k,S=u.getSelection(),P=S.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),E=b.getEntityAt(g),C=Sgt(E)?y.getEntity(E):null,F="MUTABLE"===(null!=C?C.getMutability():null),T=F?"spellcheck-change":"apply-entity",D=wgt.replaceText(y,P,l,b.getInlineStyleAt(g),F?b.getEntityAt(g):null);if(Fgt)_=n.anchorOffset,w=n.focusOffset,k=(x=g+Math.min(_,w))+Math.abs(_-w),_=x,w=k;else{var A=l.length-O.length;x=S.getStartOffset(),k=S.getEndOffset(),_=r?k+A:x,w=k+A}var I=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:S.merge({anchorOffset:_,focusOffset:w})});e.update(kgt.push(u,I,T))}else{var L=t.nativeEvent.inputType;if(L){var $=function(e,t){return"deleteContentBackward"===e?Egt(t):t}(L,u);if($!==u)return e.restoreEditorDOM(),void e.update($)}}}},Dgt=hdt;var Agt=function(e){return e.which===Dgt.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},Igt=Agt,Lgt=Wct.isPlatform("Mac OS X"),$gt={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return Lgt&&e.altKey},usesMacOSHeuristics:function(){return Lgt},hasCommandModifier:function(e){return Lgt?!!e.metaKey&&!e.altKey:$gt.isCtrlKeyCommand(e)},isSoftNewlineEvent:Igt},Mgt=$gt,zgt=Mst,Rgt=Aut,jgt=zat,Qgt=lut,Ngt=null,Ugt={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),o=t.getBlockForKey(r).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(r);if(null==a)return e;i=n.set("focusKey",a).set("focusOffset",0)}else i=n.set("focusOffset",o)}else i=n;i=Qgt(i),Ngt=jgt(t,i);var s=zgt.removeRange(t,i,"forward");return s===t?e:Rgt.push(e,s,"remove-range")},paste:function(e){if(!Ngt)return e;var t=zgt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),Ngt);return Rgt.push(e,t,"insert-fragment")}},Bgt=Ugt,qgt=mat;var Ggt=Wct.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],i=e.endContainer;null!=i;i=i.parentNode){var r=i===e.commonAncestorContainer;r?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),r)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(i)}"production"!==ga.env.NODE_ENV?qgt(!1,"Found an unexpected detached subtree when getting range client rects."):qgt(!1)}:function(e){return Array.from(e.getClientRects())},Wgt=sgt,Xgt=Xct,Vgt=Ggt,Ygt=mat;function Hgt(e,t){for(var n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),o=Math.max(o,s.bottom))}return r<=i&&r-n<t&&o-i<t}function Zgt(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 Kgt=function(e){e.collapsed||("production"!==ga.env.NODE_ENV?Ygt(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):Ygt(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=Xgt(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"!==ga.env.NODE_ENV?Ygt(!1,"Missing document.body"):Ygt(!1)),r.appendChild(i);var o=i.getBoundingClientRect();return r.removeChild(i),o.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);Hgt(Vgt(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==ga.env.NODE_ENV?Ygt(!1,"Found unexpected detached subtree when traversing."):Ygt(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var o=i,a=r-1;;){for(var s=o.nodeValue,l=a;l>=0;l--)if(!(null!=s&&l>0&&Wgt.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!Hgt(Vgt(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=Zgt(o=o.childNodes[l])}return e.setStart(i,r),e},Jgt=Aut,evt=Kgt,tvt=Tdt,nvt=hgt,ivt=ggt;var rvt=function(e,t){var n=ivt(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return nvt(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=evt(i),tvt(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:Jgt.push(e,n,"remove-range")},ovt="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),avt=new RegExp("^(?:"+ovt+")*(?:"+"['‘’]|(?!"+ovt+").)*(?:(?!"+ovt+").)"),svt=new RegExp("(?:(?!"+ovt+").)(?:"+"['‘’]|(?!"+ovt+").)*(?:"+ovt+")*$");function lvt(e,t){var n=t?svt.exec(e):avt.exec(e);return n?n[0]:e}var uvt={getBackward:function(e){return lvt(e,!0)},getForward:function(e){return lvt(e,!1)}},cvt=uvt,dvt=Aut,pvt=hgt,hvt=ggt;var fvt=function(e){var t=hvt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return pvt(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=cvt.getBackward(r);return pvt(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:dvt.push(e,t,"remove-range")},mvt=dgt;var gvt=function(e,t){var n=e.getSelection();"production"!==ga.env.NODE_ENV&&mvt(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=r;return t>a.getBlockForKey(r).getText().length-o?(s=a.getKeyAfter(r),i=0):i=o+t,n.merge({focusKey:s,focusOffset:i})},vvt=uvt,yvt=Aut,bvt=gvt,Ovt=ggt;var _vt=function(e){var t=Ovt(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=vvt.getForward(r);return bvt(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:yvt.push(e,t,"remove-range")},wvt=Mst,xvt=Aut;var kvt=Aut;var Svt=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return kvt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},Pvt=Aut;var Evt=function(e){var t=e.getSelection(),n=t.getStartKey();return Pvt.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},Cvt=Aut,Fvt=sgt,Tvt=gvt,Dvt=ggt;var Avt=function(e){var t=Dvt(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return Tvt(e,o?Fvt.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return Cvt.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},Ivt=Mst,Lvt=Aut,$vt=zat;var Mvt=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(i=t.set("anchorOffset",n-1),r=t):r=(i=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=$vt(a,i),u=Ivt.removeRange(a,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,p=c.merge({anchorOffset:d,focusOffset:d}),h=Ivt.replaceWithFragment(u,p,l),f=Lvt.push(e,h,"insert-fragment");return Lvt.acceptSelection(f,r)},zvt=Aut;var Rvt=function(e,t,n){var i=zvt.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(zvt.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(zvt.set(i,{nativelyRenderedContent:r}))}},jvt=Mst,Qvt=Aut,Nvt=hdt,Uvt=Bgt,Bvt=Wct,qvt=rmt,Gvt=rvt,Wvt=fvt,Xvt=_vt,Vvt=function(e){var t=wvt.splitBlock(e.getCurrentContent(),e.getSelection());return xvt.push(e,t,"split-block")},Yvt=Svt,Hvt=Evt,Zvt=_gt,Kvt=Avt,Jvt=Mvt,eyt=Rvt,tyt=Mgt.isOptionKeyCommand,nyt=Bvt.isBrowser("Chrome");var iyt=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 Nvt.RETURN:if(t.preventDefault(),e.props.handleReturn&&qvt(e.props.handleReturn(t,i)))return;break;case Nvt.ESC:if(t.preventDefault(),r("onEscape"))return;break;case Nvt.TAB:if(r("onTab"))return;break;case Nvt.UP:if(r("onUpArrow"))return;break;case Nvt.RIGHT:if(r("onRightArrow"))return;break;case Nvt.DOWN:if(r("onDownArrow"))return;break;case Nvt.LEFT:if(r("onLeftArrow"))return;break;case Nvt.SPACE:nyt&&tyt(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!qvt(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return Qvt.redo(t);case"delete":return Kvt(t);case"delete-word":return Xvt(t);case"backspace":return Zvt(t);case"backspace-word":return Wvt(t);case"backspace-to-start-of-line":return Gvt(t,n);case"split-block":return Vvt(t);case"transpose-characters":return Jvt(t);case"move-selection-to-start-of-block":return Hvt(t);case"move-selection-to-end-of-block":return Yvt(t);case"secondary-cut":return Uvt.cut(t);case"secondary-paste":return Uvt.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else eyt(t,i,e.update);else if(n===Nvt.SPACE&&nyt&&tyt(t)){var s=jvt.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(Qvt.push(i,s,"insert-characters"))}};var ryt=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}(),oyt=ryt,ayt=mat,syt=Wct.isBrowser("IE <= 9");var lyt=function(e){var t,n=null;return!syt&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==ga.env.NODE_ENV?ayt(!1,"Missing doc.documentElement"):ayt(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},uyt=Vct;var cyt=function(e){return!(!e||!e.ownerDocument)&&(uyt(e)&&"A"===e.nodeName)},dyt=Vct;var pyt,hyt=function(e){return!(!e||!e.ownerDocument)&&(dyt(e)&&"IMG"===e.nodeName)};function fyt(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){myt(e,t,n[t])}))}return e}function myt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gyt=Eot,vyt=Uot,yyt=iat,byt=dct,Oyt=ult,_yt=oyt,wyt=lct,xyt=Sat,kyt=lyt,Syt=plt,Pyt=fot.exports,Eyt=Pyt.List,Cyt=Pyt.Map,Fyt=Pyt.OrderedSet,Tyt=cyt,Dyt=bpt,Ayt=mdt,Iyt=hyt,Lyt=Syt("draft_tree_data_support"),$yt=new RegExp("\r","g"),Myt=new RegExp("\n","g"),zyt=new RegExp("^\n","g"),Ryt=new RegExp(" ","g"),jyt=new RegExp(" ?","g"),Qyt=new RegExp("​?","g"),Nyt=["bold","bolder","500","600","700","800","900"],Uyt=["light","lighter","normal","100","200","300","400"],Byt=["className","href","rel","target","title"],qyt=["alt","className","height","src","width"],Gyt=(myt(pyt={},wyt("public/DraftStyleDefault/depth0"),0),myt(pyt,wyt("public/DraftStyleDefault/depth1"),1),myt(pyt,wyt("public/DraftStyleDefault/depth2"),2),myt(pyt,wyt("public/DraftStyleDefault/depth3"),3),myt(pyt,wyt("public/DraftStyleDefault/depth4"),4),pyt),Wyt=Cyt({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),Xyt=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)}))})),Cyt(t)},Vyt=function(e){if(Ayt(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},Yyt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(Gyt).some((function(n){e.classList.contains(n)&&(t=Gyt[n])})),t},Hyt=function(e){if(!Tyt(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},Zyt=function(e){if(!Iyt(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},Kyt=function(e,t){if(!Ayt(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){Nyt.indexOf(i)>=0?e.add("BOLD"):Uyt.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},Jyt=function(e){return"ul"===e||"ol"===e},ebt=function(){function e(e,t){myt(this,"characterList",Eyt()),myt(this,"currentBlockType","unstyled"),myt(this,"currentDepth",0),myt(this,"currentEntity",null),myt(this,"currentText",""),myt(this,"wrapper",null),myt(this,"blockConfigs",[]),myt(this,"contentBlocks",[]),myt(this,"entityMap",Oyt),myt(this,"blockTypeMap",void 0),myt(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=Eyt(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=Oyt,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],Fyt())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(Lyt?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||xyt(),n=fyt({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:Eyt(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=Eyt(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],o=r.nodeName.toLowerCase();if("body"===o||Jyt(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;Jyt(o)&&(this.wrapper=o,Jyt(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var l=this.blockTypeMap.get(o);if(void 0===l)if("#text"!==o)if("br"!==o)if(Zyt(r))this._addImgNode(r,t);else if(Hyt(r))this._addAnchorNode(r,n,t);else{var u=t;Wyt.has(o)&&(u=u.add(Wyt.get(o))),u=Kyt(r,u);var c=Vyt(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"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!Lyt&&Ayt(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var h=r;this.currentDepth=Yyt(h,this.currentDepth)}var f=xyt(),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=gyt.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=Eyt()):(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(zyt,"")).replace(Myt," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){Dyt(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(Iyt(e)){var n=e,i={};qyt.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),Syt("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(Tyt(e)){var i=e,r={};Byt.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new _yt(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=Eyt(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new yyt(fyt({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return Eyt(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 vyt(fyt({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=Eyt(),r=0;r<=t;r++){var o=e[r];n+=o.text,i=i.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",i=i.push(i.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,i=i.concat(a.characterList)}return{text:n,characterList:i}},e}(),tbt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kyt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:byt,i=t(e=e.trim().replace($yt,"").replace(Ryt," ").replace(jyt,"").replace(Qyt,""));if(!i)return null;var r=Xyt(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new ebt(r,o).addDOMNode(i).getContentBlocks()};function nbt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ibt=Uot,rbt=iat,obt=tbt,abt=Sat,sbt=lyt,lbt=plt,ubt=fot.exports,cbt=flt,dbt=ubt.List,pbt=ubt.Repeat,hbt=lbt("draft_tree_data_support"),fbt=hbt?rbt:ibt,mbt={processHTML:function(e,t){return obt(e,sbt,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=cbt(i);var o=abt(),a={key:o,type:n,text:i,characterList:dbt(pbt(t,i.length))};if(hbt&&0!==r){var s=r-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){nbt(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new fbt(a)),e}),[])}};var gbt=function(e,t,n,i){var r=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},vbt=Mst,ybt=Aut,bbt=gbt,Obt=lut,_bt={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 _bt.toggleInlineStyle(e,"BOLD");case"italic":return _bt.toggleInlineStyle(e,"ITALIC");case"underline":return _bt.toggleInlineStyle(e,"UNDERLINE");case"code":return _bt.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return _bt.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return _bt.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=vbt.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=ybt.push(e,t,"insert-characters");return ybt.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockBefore(i);if(r&&"atomic"===r.getType()){var o=n.getBlockMap().delete(r.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return ybt.push(e,a,"remove-range")}var s=_bt.tryToRemoveBlockStyle(e);return s?ybt.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockForKey(i).getLength();if(t.getStartOffset()<r)return null;var o=n.getBlockAfter(i);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=vbt.removeRange(n,a,"forward");return s!==n?ybt.push(e,s,"remove-range"):null},onTab:function(e,t,n){var i=t.getSelection(),r=i.getAnchorKey();if(r!==i.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(r),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=a.getDepth();if(!e.shiftKey&&l===n)return t;var u=bbt(o,i,e.shiftKey?-1:1,n);return ybt.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),o=e.getCurrentContent(),a=n;if(i!==r&&0===n.getEndOffset()){var s=Obt(o.getBlockBefore(r));r=s.getKey(),a=a.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}var l=o.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()}));if(l)return e;var u=o.getBlockForKey(i).getType()===t?"unstyled":t;return ybt.push(e,vbt.setBlockType(o,a,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?_bt.toggleBlockType(e,"code-block"):_bt.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return ybt.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?vbt.removeInlineStyle(o,n,t):vbt.applyInlineStyle(o,n,t),ybt.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=vbt.applyEntity(e.getCurrentContent(),t,n);return ybt.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var i=t.getAnchorKey(),r=e.getCurrentContent(),o=r.getBlockForKey(i).getType(),a=r.getBlockBefore(i);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return vbt.setBlockType(r,t,"unstyled")}return null}},wbt=_bt,xbt=/\r\n?|\n/g;var kbt=function(e){return e.split(xbt)},Sbt=vot,Pbt=Eot,Ebt=Jft,Cbt=Mst,Fbt=mbt,Tbt=Aut,Dbt=wbt,Abt=Ndt,Ibt=imt,Lbt=rmt,$bt=kbt;function Mbt(e,t,n){var i=Cbt.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return Tbt.push(e,i.set("entityMap",n),"insert-fragment")}var zbt=function(e,t){t.preventDefault();var n=new Ebt(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&Lbt(e.props.handlePastedFiles(i)))return;return void Ibt(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=$bt(t),o=Pbt.create({style:n.getCurrentInlineStyle(),entity:Abt(n.getCurrentContent(),n.getSelection())}),a=Dbt.getCurrentBlockType(n),s=Fbt.processText(i,o,a),l=Sbt.createFromArray(s),u=Cbt.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(Tbt.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!Lbt(e.props.handlePastedText(a,s,l))){if(a&&(o=$bt(a)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===u.size&&u.first().getText()===a)return void e.update(Mbt(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]}))}(o,u))return void e.update(Mbt(e._latestEditorState,u));if(s){var c=Fbt.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,p=c.entityMap;if(d){var h=Sbt.createFromArray(d);return void e.update(Mbt(e._latestEditorState,h,p))}}}e.setClipboard(null)}if(o.length){var f=Pbt.create({style:l.getCurrentInlineStyle(),entity:Abt(l.getCurrentContent(),l.getSelection())}),m=Dbt.getCurrentBlockType(l),g=Fbt.processText(o,f,m),v=Sbt.createFromArray(g);e.update(Mbt(e._latestEditorState,v))}}},Rbt=Wct,jbt=Tmt,Qbt=Lmt,Nbt=Mmt,Ubt=Qmt,Bbt=Vmt,qbt=Ymt,Gbt=Hmt,Wbt=Jmt,Xbt=Tgt,Vbt=iyt,Ybt=zbt,Hbt=zdt,Zbt=Rbt.isBrowser("Chrome"),Kbt=Rbt.isBrowser("Firefox"),Jbt=Zbt||Kbt?Hbt:function(e){},eOt={onBeforeInput:jbt,onBlur:Qbt,onCompositionStart:Nbt,onCopy:Ubt,onCut:Bbt,onDragOver:qbt,onDragStart:Gbt,onFocus:Wbt,onInput:Xbt,onKeyDown:Vbt,onPaste:Ybt,onSelect:Hbt,onMouseUp:Jbt,onKeyUp:Jbt},tOt=b.default.unstable_flushControlled;var nOt=g.default,iOt=lct,rOt=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=iOt({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return nOt.createElement("div",{className:t},nOt.createElement("div",{className:iOt("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(nOt.Component),oOt=rOt,aOt=Mgt,sOt=hdt,lOt=Wct,uOt=lOt.isPlatform("Mac OS X"),cOt=uOt&&lOt.isBrowser("Firefox < 29"),dOt=aOt.hasCommandModifier,pOt=aOt.isCtrlKeyCommand;function hOt(e){return uOt&&e.altKey||pOt(e)}var fOt=function(e){switch(e.keyCode){case 66:return dOt(e)?"bold":null;case 68:return pOt(e)?"delete":null;case 72:return pOt(e)?"backspace":null;case 73:return dOt(e)?"italic":null;case 74:return dOt(e)?"code":null;case 75:return uOt&&pOt(e)?"secondary-cut":null;case 77:case 79:return pOt(e)?"split-block":null;case 84:return uOt&&pOt(e)?"transpose-characters":null;case 85:return dOt(e)?"underline":null;case 87:return uOt&&pOt(e)?"backspace-word":null;case 89:return pOt(e)?uOt?"secondary-paste":"redo":null;case 90:return function(e){return dOt(e)?e.shiftKey?"redo":"undo":null}(e)||null;case sOt.RETURN:return"split-block";case sOt.DELETE:return function(e){return!uOt&&e.shiftKey?null:hOt(e)?"delete-word":"delete"}(e);case sOt.BACKSPACE:return function(e){return dOt(e)&&uOt?"backspace-to-start-of-line":hOt(e)?"backspace-word":"backspace"}(e);case sOt.LEFT:return cOt&&dOt(e)?"move-selection-to-start-of-block":null;case sOt.RIGHT:return cOt&&dOt(e)?"move-selection-to-end-of-block":null;default:return null}},mOt=fW;function gOt(){return gOt=mOt||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},gOt.apply(this,arguments)}function vOt(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){bOt(e,t,n[t])}))}return e}function yOt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bOt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OOt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var _Ot=dct,wOt=pct,xOt=tpt,kOt=zft,SOt=ymt,POt=eOt,EOt=tOt,COt=oOt,FOt=Aut,TOt=g.default,DOt=rht,AOt=mht,IOt=lct,LOt=Sat,$Ot=fOt,MOt=xht,zOt=plt,ROt=mat,jOt=mdt,QOt=lut,NOt=Wct.isBrowser("IE"),UOt=!NOt,BOt={edit:POt,composite:xOt,drag:SOt,cut:null,render:null},qOt=!1,GOt=function(e){function t(){return e.apply(this,arguments)||this}OOt(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}(TOt.Component),WOt=function(e){function t(t){var n;return bOt(yOt(n=e.call(this,t)||this),"_blockSelectEvents",void 0),bOt(yOt(n),"_clipboard",void 0),bOt(yOt(n),"_handler",void 0),bOt(yOt(n),"_dragCount",void 0),bOt(yOt(n),"_internalDrag",void 0),bOt(yOt(n),"_editorKey",void 0),bOt(yOt(n),"_placeholderAccessibilityID",void 0),bOt(yOt(n),"_latestEditorState",void 0),bOt(yOt(n),"_latestCommittedEditorState",void 0),bOt(yOt(n),"_pendingStateFromBeforeInput",void 0),bOt(yOt(n),"_onBeforeInput",void 0),bOt(yOt(n),"_onBlur",void 0),bOt(yOt(n),"_onCharacterData",void 0),bOt(yOt(n),"_onCompositionEnd",void 0),bOt(yOt(n),"_onCompositionStart",void 0),bOt(yOt(n),"_onCopy",void 0),bOt(yOt(n),"_onCut",void 0),bOt(yOt(n),"_onDragEnd",void 0),bOt(yOt(n),"_onDragOver",void 0),bOt(yOt(n),"_onDragStart",void 0),bOt(yOt(n),"_onDrop",void 0),bOt(yOt(n),"_onInput",void 0),bOt(yOt(n),"_onFocus",void 0),bOt(yOt(n),"_onKeyDown",void 0),bOt(yOt(n),"_onKeyPress",void 0),bOt(yOt(n),"_onKeyUp",void 0),bOt(yOt(n),"_onMouseDown",void 0),bOt(yOt(n),"_onMouseUp",void 0),bOt(yOt(n),"_onPaste",void 0),bOt(yOt(n),"_onSelect",void 0),bOt(yOt(n),"editor",void 0),bOt(yOt(n),"editorContainer",void 0),bOt(yOt(n),"focus",void 0),bOt(yOt(n),"blur",void 0),bOt(yOt(n),"setMode",void 0),bOt(yOt(n),"exitCurrentMode",void 0),bOt(yOt(n),"restoreEditorDOM",void 0),bOt(yOt(n),"setClipboard",void 0),bOt(yOt(n),"getClipboard",void 0),bOt(yOt(n),"getEditorKey",void 0),bOt(yOt(n),"update",void 0),bOt(yOt(n),"onDragEnter",void 0),bOt(yOt(n),"onDragLeave",void 0),bOt(yOt(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),bOt(yOt(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=AOt.getScrollParent(r),a=e||MOt(o),s=a.x,l=a.y;jOt(r)||("production"!==ga.env.NODE_ENV?ROt(!1,"editorNode is not an HTMLElement"):ROt(!1)),r.focus(),o===window?window.scrollTo(s,l):DOt.setTop(o,l),i||n.update(FOt.forceSelection(t,t.getSelection()))}})),bOt(yOt(n),"blur",(function(){var e=n.editor;e&&(jOt(e)||("production"!==ga.env.NODE_ENV?ROt(!1,"editorNode is not an HTMLElement"):ROt(!1)),e.blur())})),bOt(yOt(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=vOt({},BOt.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=vOt({},BOt,{edit:a});n._handler=s[e]})),bOt(yOt(n),"exitCurrentMode",(function(){n.setMode("edit")})),bOt(yOt(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),bOt(yOt(n),"setClipboard",(function(e){n._clipboard=e})),bOt(yOt(n),"getClipboard",(function(){return n._clipboard})),bOt(yOt(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),bOt(yOt(n),"onDragEnter",(function(){n._dragCount++})),bOt(yOt(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||LOt(),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"!==ga.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}OOt(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&&(EOt?EOt((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:QOt(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return TOt.createElement(COt,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=IOt({"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:vOt({},wOt,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return TOt.createElement("div",{className:d},this._renderPlaceholder(),TOt.createElement("div",{className:IOt("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},TOt.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:IOt({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:UOt&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},TOt.createElement(GOt,{editor:this,editorState:a}),TOt.createElement(kOt,gOt({},f,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!qOt&&zOt("draft_ods_enabled")&&(qOt=!0),this.setMode("edit"),NOt&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):k.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(TOt.Component);bOt(WOt,"defaultProps",{blockRenderMap:_Ot,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:$Ot,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var XOt=WOt,VOt=P(Object.freeze({__proto__:null})),YOt={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},HOt=YOt,ZOt=sgt.strlen;var KOt=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var o=e.getText(),a=e.getEntityAt(i);n.push({offset:ZOt(o.slice(0,i)),length:ZOt(o.slice(i,r)),key:Number(t[HOt.stringify(a)])})})),n},JOt=sgt,e_t=Cot,t_t=function(e,t){return e===t},n_t=function(e){return!!e},i_t=[];var r_t=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 e_t(r,t_t,n_t,(function(t,r){var o=e.getText();i.push({offset:JOt.strlen(o.slice(0,t)),length:JOt.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(i_t,n.toJS())};function o_t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a_t=Uot,s_t=iat,l_t=YOt,u_t=KOt,c_t=r_t,d_t=mat,p_t=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:c_t(e),entityRanges:u_t(e,t),data:e.getData().toObject()}},h_t=function(e,t,n,i){if(e instanceof a_t)n.push(p_t(e,t));else{e instanceof s_t||("production"!==ga.env.NODE_ENV?d_t(!1,"block is not a BlockNode"):d_t(!1));var r=e.getParentKey(),o=i[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){o_t(e,t,n[t])}))}return e}({},p_t(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},f_t=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=l_t.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),h_t(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(l_t.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function m_t(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){g_t(e,t,n[t])}))}return e}function g_t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v_t=Sat,y_t=mat,b_t=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},O_t={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==ga.env.NODE_ENV?y_t(!1,"Invalid raw state"):y_t(!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"!==ga.env.NODE_ENV?y_t(!1,"Invalid tree raw block"):y_t(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=m_t({},e);b_t(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?m_t({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,m_t({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=b_t(e),r=e.depth||0,o=m_t({},e,{children:[]});if(i){var a=n[0];if(null==a&&0===r)t.push(o);else if(null==a||a.depth<r-1){var s={key:v_t(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===r-1)a.children.push(o);else{for(;null!=a&&a.depth>=r;)n.shift(),a=n[0];r>0?a.children.push(o):t.push(o)}}else t.push(o)})),m_t({},e,{blocks:t})}},__t=O_t,w_t=dgt,x_t={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==ga.env.NODE_ENV&&w_t(!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"!==ga.env.NODE_ENV&&w_t(!0,"Tree is missing child -> parent pointer on %s",n),!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return"production"!==ga.env.NODE_ENV&&w_t(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var a=e.getNextSiblingKey();if(null!=a&&t.get(a).getPrevSiblingKey()!==n)return"production"!==ga.env.NODE_ENV&&w_t(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==a&&null!==o&&o===a?("production"!==ga.env.NODE_ENV&&w_t(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==ga.env.NODE_ENV&&w_t(!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"!==ga.env.NODE_ENV&&w_t(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,i=t.shift().getKey(),r=[];null!=i;){var o=e.get(i),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&r.unshift(s);var l=a.map((function(t){return e.get(t)})),u=l.find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==ga.env.NODE_ENV&&w_t(!0,"%s has no first child",i),!1;i=u.getKey()}else i=null!=o.getNextSiblingKey()?o.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==ga.env.NODE_ENV&&w_t(!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)}},k_t=x_t,S_t=Eot,P_t=fot.exports.List;var E_t=function(e,t){var n=e.map((function(e,n){var i=t[n];return S_t.create({style:e,entity:i})}));return P_t(n)},C_t=sgt.substr;var F_t=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=C_t(e,0,t.offset).length,r=i+C_t(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},T_t=sgt,D_t=fot.exports.OrderedSet,A_t=T_t.substr,I_t=D_t();var L_t=function(e,t){var n=Array(e.length).fill(I_t);return t&&t.forEach((function(t){for(var i=A_t(e,0,t.offset).length,r=i+A_t(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function $_t(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){M_t(e,t,n[t])}))}return e}function M_t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z_t=Uot,R_t=iat,j_t=Mlt,Q_t=ult,N_t=__t,U_t=k_t,B_t=dlt,q_t=E_t,G_t=F_t,W_t=L_t,X_t=Sat,V_t=fot.exports,Y_t=mat,H_t=plt("draft_tree_data_support"),Z_t=V_t.List,K_t=V_t.Map,J_t=V_t.OrderedMap,ewt=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||X_t(),data:K_t(r),characterList:twt(e,t)}},twt=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return q_t(W_t(n,r||[]),G_t(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return $_t({},e,{key:t[e.key]})}))))},nwt=function(e){return $_t({},e,{key:e.key||X_t()})},iwt=function(e,t,n){var i=t.map((function(e){return $_t({},e,{parentRef:n})}));return e.concat(i.reverse())},rwt=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=H_t&&!n?N_t.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!H_t)return function(e,t){return J_t(e.map((function(e){var n=new z_t(ewt(e,t));return[n.getKey(),n]})))}(n?N_t.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(nwt).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==ga.env.NODE_ENV?Y_t(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Y_t(!1));var o=i.children.map(nwt),a=new R_t($_t({},ewt(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:Z_t(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=iwt([],o,a);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"!==ga.env.NODE_ENV?Y_t(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Y_t(!1));break}var h=l.children.map(nwt),f=new R_t($_t({},ewt(l,t),{parent:u.getKey(),children:Z_t(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=iwt(s,h,f)}return n}),J_t())}(i,t);return"production"!==ga.env.NODE_ENV&&(U_t.isValidTree(r)||("production"!==ga.env.NODE_ENV?Y_t(!1,"Should be a valid tree"):Y_t(!1))),r},owt=function(e){Array.isArray(e.blocks)||("production"!==ga.env.NODE_ENV?Y_t(!1,"invalid RawDraftContentState"):Y_t(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,o=i.mutability,a=i.data;n[e]=Q_t.__create(r,o,a||{})})),n}(e),n=rwt(e,t),i=n.isEmpty()?new B_t:B_t.createEmpty(n.first().getKey());return new j_t({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},awt=Ggt;var swt=function(e){var t=awt(e),n=0,i=0,r=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,i=a.right,r=a.bottom,o=a.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,o=s.left}for(var l=1;l<t.length;l++){var 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),o=Math.min(o,u.left))}}return{top:n,right:i,bottom:r,left:o,width:i-o,height:r-n}},lwt=swt;var uwt=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=lwt(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},cwt={Editor:XOt,EditorBlock:wft,EditorState:Aut,CompositeDecorator:act,Entity:ult,EntityInstance:Jst,BlockMapBuilder:vot,CharacterMetadata:Eot,ContentBlock:Uot,ContentState:Mlt,RawDraftContentState:VOt,SelectionState:dlt,AtomicBlockUtils:ict,KeyBindingUtil:Mgt,Modifier:Mst,RichUtils:wbt,DefaultDraftBlockRenderMap:dct,DefaultDraftInlineStyle:pct,convertFromHTML:tbt,convertFromRaw:owt,convertToRaw:f_t,genKey:Sat,getDefaultKeyBinding:fOt,getVisibleSelectionRect:uwt};function dwt(e,t,n,i,r,o){var a=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+a}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+a}):e.offset>=t&&e.offset+e.length<=t+n&&r>0?Object.assign({},e,{offset:e.offset+r}):e.offset<t&&e.offset+e.length<=t+n&&e.offset+e.length>t&&r>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+r,length:e.offset-t+e.length})]:e.offset>=t&&e.offset+e.length>t+n&&t+n>e.offset&&o>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+o,length:e.offset+e.length-(t+n)})]:e}var pwt=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},hwt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"};function fwt(e){return fwt="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},fwt(e)}var mwt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function gwt(e){if(-1!==mwt.indexOf(e.type))return w.default.renderToStaticMarkup(e);var t=w.default.renderToStaticMarkup(g.default.cloneElement(e,{},"\r")).split("\r");return mwe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),mwe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function vwt(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}function ywt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==e)return e;if("string"==typeof e)return e;if(g.default.isValidElement(e)){if(vwt(e))return w.default.renderToStaticMarkup(e);var n=gwt(e);if(null!==t&&"object"===fwt(n)){var i=n.start,r=n.end;return i+t+r}return n}if(mwe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var o=e.start,a=e.end;return o+t+a}return e}var bwt=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(g.default.isValidElement(t)){var i=gwt(t);if("string"==typeof i)return 0;var r=i[n].length,o=g.default.Children.toArray(t.props.children)[0];return r+(o&&g.default.isValidElement(o)?e(o,n):0)}return"object"===fwt(t)&&t[n]?t[n].length:0},Owt=function(){var e=arguments.length>1?arguments[1]:void 0;return e},_wt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Owt,i=dit(e.text),r=n;if(n.__isMiddleware&&(r=n(Owt)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(pwt),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),u=r(s,l),c=dit(ywt(u,l)||l),d=bwt(u,"start"),p=bwt(u,"end"),h=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?dwt(t,n.offset,n.length,c.length,d,p):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=h(o),a=h(a),i=[].concat(dit(i.slice(0,n.offset)),dit(c),dit(i.slice(n.offset+n.length)))},l=0;l<o.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:a,entityRanges:o})}return e},wwt=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},xwt=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function kwt(e){switch(e){case"BOLD":return g.default.createElement("strong",null);case"ITALIC":return g.default.createElement("em",null);case"UNDERLINE":return g.default.createElement("u",null);case"CODE":return g.default.createElement("code",null);default:return{start:"",end:""}}}var Swt=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},Pwt=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return mwe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},Ewt=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},Cwt=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},Fwt=function(e,t){return t.offset+t.length-(e.offset+e.length)},Twt=function(e,t){for(var n=0;n<e.length;){if(!t.every(Cwt.bind(null,e[n])))return e.slice(n);n++}return[]},Dwt=function(e,t,n){return t+ywt(e(n.style)).start},Awt=function(e,t,n){return ywt(e(n.style)).end+t},Iwt=function(e){return function(t){return e(t)}};Iwt.__isMiddleware=!0;var Lwt=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function $wt(e){return mwe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:g.default.isValidElement(e)?function(e){return g.default.isValidElement(e)&&g.default.Children.count(e.props.children)>0}(e)?w.default.renderToStaticMarkup(e):gwt(e):Object.prototype.hasOwnProperty.call(e,"element")&&g.default.isValidElement(e.element)?Object.assign({},e,gwt(e.element)):(mwe(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 Mwt(e,t){if(mwe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=gwt(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(g.default.isValidElement(e.nest)){var o=gwt(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return mwe(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 zwt=["1","a","i"],Rwt={unstyled:g.default.createElement("p",null),paragraph:g.default.createElement("p",null),"header-one":g.default.createElement("h1",null),"header-two":g.default.createElement("h2",null),"header-three":g.default.createElement("h3",null),"header-four":g.default.createElement("h4",null),"header-five":g.default.createElement("h5",null),"header-six":g.default.createElement("h6",null),blockquote:g.default.createElement("blockquote",null),"unordered-list-item":{element:g.default.createElement("li",null),nest:g.default.createElement("ul",null)},"ordered-list-item":{element:g.default.createElement("li",null),nest:function(e){var t=zwt[e%3];return g.default.createElement("ol",{type:t})}},media:g.default.createElement("figure",null),atomic:g.default.createElement("figure",null)},jwt=function(e,t){return t},Qwt=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,o=e.entityToHTML,a=void 0===o?jwt:o;return function(e){var t;mwe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(Lwt(Rwt)):xwt(Lwt(r),Lwt(Rwt));var i=cwt.convertToRaw(e),o=[],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!==o.length||r!==o[s].type;)if(s+1===o.length){var d=o[s];l+=Mwt(t(d),s).nestEnd,u+=Mwt(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var p=o[o.length-1];l+=Mwt(t(p),s).nestEnd,o=o.slice(0,-1)}else u+=Mwt(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+Mwt(t(n),s).nestEnd}),""),o=[];var h,f=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Iwt;mwe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(kwt):xwt(wwt(n),wwt(kwt));for(var i="",r=[],o=e.inlineStyleRanges.sort(pwt),a=dit(e.text),s=0;s<a.length;s++){var l=Ewt(s,o),u=Swt(r,l),c=Swt(l,r),d=Swt(r,u),p=Twt(d,c),h=p.concat(c).sort(Fwt),f=h.reduce(Dwt.bind(null,t),"");i+=u.concat(p).reduce(Awt.bind(null,t),"")+f+a[s],r=(r=Pwt(r,p.concat(u))).concat(h),mwe(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+ywt(t(n.style)).end}),i)}(_wt(function(e){for(var t=dit(e.text),n=e.entityRanges.sort(pwt),i=e.inlineStyleRanges.sort(pwt),r="",o=function(e){var o=t[e];if(void 0!==hwt[o]){var a=hwt[o],s=dit(r).length;r+=a;var l=function(e){return dwt(e,s,o.length,a.length,0,0)};n=n.map(l),i=i.map(l)}else r+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,a),n),m=$wt(t(e));return h="string"==typeof m?m:m.start+f+m.end,0===f.length&&Object.prototype.hasOwnProperty.call(m,"empty")&&(h=g.default.isValidElement(m.empty)?w.default.renderToStaticMarkup(m.empty):m.empty),l+u+h})).join("");return s=o.reduce((function(e,n){return e+Mwt(t(n),n.depth).nestEnd}),s)}},Nwt={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:X(e)}function i(e){return s(e)?e:V(e)}function r(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!u(e)?e:H(e)}function a(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(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",f="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},O={value:!1},_={value:!1};function w(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function k(){}function S(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function 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,L=1,$=2,M="function"==typeof Symbol&&Symbol.iterator,z="@@iterator",R=M||z;function j(e){this.next=e}function Q(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 N(){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&&(M&&e[M]||e[z]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function X(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function V(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function H(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=I,j.VALUES=L,j.ENTRIES=$,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[R]=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(H,X),H.of=function(){return H(arguments)},H.prototype.toSetSeq=function(){return this},X.isSeq=oe,X.Keyed=V,X.Set=H,X.Indexed=Y;var Z,K,J,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():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 o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function pe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new j((function(){var e=r[n?o-a:a];return a++>o?N():Q(t,i?e[0]:a-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 ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||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 o=e;e=t,t=o}var d=!0,p=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===p}function be(e,t){if(!(this instanceof be))return new be(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 _e(e,t,n){if(!(this instanceof _e))return new _e(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 we(){throw TypeError("Abstract")}function xe(){}function ke(){}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?N():Q(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,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new j((function(){var a=i[t?r-o:o];return o++>r?N():Q(e,a,n[a])}))},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(N);var i=0;return new j((function(){var t=n.next();return t.done?t:Q(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,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new j((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return Q(e,r,i[r++])}))},t(be,Y),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return ve(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:new be(this._value,D(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.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},be.prototype.__iterator=function(e,t){var n=this,i=0;return new j((function(){return i<n.size?Q(e,i++,n._value):N()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(_e,Y),_e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_e.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},_e.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},_e.prototype.slice=function(e,t){return F(e,t,this.size)?this:(e=T(e,this.size),(t=D(t,this.size))<=e?new _e(0,0):new _e(this.get(e,this._end),this.get(t,this._end),this._step))},_e.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},_e.prototype.lastIndexOf=function(e){return this.indexOf(e)},_e.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},_e.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new j((function(){var a=r;return r+=t?-i:i,o>n?N():Q(e,o++,a)}))},_e.prototype.equals=function(e){return e instanceof _e?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(we,n),t(xe,we),t(ke,we),t(Se,we),we.Keyed=xe,we.Indexed=ke,we.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),Ne===Qe&&(Ne=0,Ue={}),Ne++,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(Me&&void 0!==(t=$e.get(e)))return t;if(void 0!==(t=e[Re]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Re]))return t;if(void 0!==(t=Le(e)))return t}if(t=++ze,1073741824&ze&&(ze=0),Me)$e.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,Re,{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[Re]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Re]=t}}return t}var Ae=Object.isExtensible,Ie=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Le(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var $e,Me="function"==typeof WeakMap;Me&&($e=new WeakMap);var ze=0,Re="__immutablehash__";"function"==typeof Symbol&&(Re=Symbol(Re));var je=16,Qe=255,Ne=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,xe),qe.prototype.toString=function(){return this.__toString("Map {","}")},qe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},qe.prototype.set=function(e,t){return ot(this,e,t)},qe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},qe.prototype.remove=function(e){return ot(this,e,b)},qe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},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,wn(e),t,n);return i===b?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 k)},qe.prototype.asImmutable=function(){return this.__ensureOwner()},qe.prototype.wasAltered=function(){return this.__altered},qe.prototype.__iterator=function(e,t){return new et(this,e,t)},qe.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},qe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qe.isMap=Ge;var We,Xe="@@__IMMUTABLE_MAP__@@",Ve=qe.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function He(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ze(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function et(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&nt(e._root)}function tt(e,t){return Q(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 ot(e,t,n){var i,r;if(e._root){var o=w(O),a=w(_);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)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 at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(x(s),x(a),new Je(t,i,[r,o]))}function st(e){return e.constructor===Je||e.constructor===Ke}function lt(e,t,n,i,r){if(e.keyHash===i)return new Ke(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new He(t,1<<a|1<<s,a===s?[lt(e,t,n+g,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new k);for(var r=new Je(e,Ce(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new He(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function pt(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return he(e)}))),r.push(l)}return mt(e,t,r)}function ht(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ft(e){return function(t,n,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function mt(e,t,n){return n=n.filter((function(e){return 0!==e.size})),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?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===b,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}Oe(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=gt(u,t,n,i);return c===u?e:c===b?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 yt(e,t,n,i){var r=i?e:S(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function Ot(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Ve[Xe]=!0,Ve[m]=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ye.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===b,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(x(a),(s||!d)&&x(o),!s||1!==l.length){if(!d&&!s&&l.length>=_t)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)}},He.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+g,t,n,i)},He.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=at(h,e,t+g,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=wt)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?yt(p,d,f,m):Ot(p,d,m):bt(p,d,f,m);return m?(this.bitmap=v,this.nodes=O,this):new He(e,v,O)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Ce(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+g,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+g,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<xt)return ct(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=yt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new Ze(e,p,f)},Ke.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Ke.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Ce(i));var s=r===b;if(n!==this.keyHash)return s?this:(x(a),x(o),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(x(a),(s||!d)&&x(o),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,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Je(e,this.keyHash,[i,r]):(x(o),lt(this,e,t,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},He.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(et,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 o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return N()};var _t=v/4,wt=v/2,xt=v/4;function kt(e){var t=Lt();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(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=E(this,e))>=0&&e<this.size){var n=Rt(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return $t(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Lt()},kt.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])}))},kt.prototype.pop=function(){return jt(this,0,-1)},kt.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])}))},kt.prototype.shift=function(){return jt(this,1)},kt.prototype.merge=function(){return Qt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Qt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Qt(this,ht,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Qt(this,ft(t),n)},kt.prototype.setSize=function(e){return jt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return F(e,t,n)?this:jt(this,T(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new j((function(){var t=i();return t===Dt?N():Q(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Dt&&!1!==e(n,i++,this););return i},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=St;var Pt="@@__IMMUTABLE_LIST__@@",Et=kt.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&y;if(i>=this.array.length)return new Ct([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!r)return this;var s=zt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},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&y;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-g,n))===o&&r===this.array.length-1)return this}var a=zt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Ft,Tt,Dt={};function At(e,t){var n=e._origin,i=e._capacity,r=Nt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return Dt;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>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=a(l&&l[n],r-g,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){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=o,s.__hash=a,s.__altered=!1,s}function Lt(){return Ft||(Ft=It(0,0,g))}function $t(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,o=w(_);return t>=Nt(e._capacity)?i=Mt(i,e.__ownerID,0,t,n,o):r=Mt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Mt(e,t,n,i,r,o){var a,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Mt(u,t,n-g,i,r,o);return c===u?e:((a=zt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=zt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function zt(e,t){return t&&e&&t===e.ownerID?e:new Ct(e?e.array.slice():[],t)}function Rt(e,t){if(t>=Nt(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&y],i-=g;return n}}function jt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new k,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Ct(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=g);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Nt(o),p=Nt(s);p>=1<<l+g;)u=new Ct(u&&u.array.length?[u]:[],i),l+=g;var h=e._tail,f=p<d?Rt(e,s-1):p>d?new Ct([],i):h;if(h&&p>d&&a<o&&h.array.length){for(var m=u=zt(u,i),v=l;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=zt(m.array[b],i)}m.array[d>>>g&y]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=g,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var O=a>>>l&y;if(O!==p>>>l&y)break;O&&(c+=(1<<l)*O),l-=g,u=u.array[O]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,f)}function Qt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return he(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),mt(e,t,i)}function Nt(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(),Lt()))}function Wt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):qt(i,r)}function 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 Ht(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(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===$){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===L?I:L,n)},t}function Kt(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator($,r);return new j((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Q(i,s,t.call(n,a[1],s,e),r)}))},i}function Jt(e,t){var n=bn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Zt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=On,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator($,o),s=0;return new j((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Q(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=qe().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():qe()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),F(t,n,r))return e;var o=T(t,r),a=D(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=E(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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),a=0,l=0;return new j((function(){for(;a++<o;)r.next();if(++l>s)return N();var e=r.next();return i||t===L?e:Q(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator($,r),s=!0;return new j((function(){if(!s)return N();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===$?e:Q(i,l,u,e):(s=!1,N())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator($,o),l=!0,u=0;return new j((function(){var e,o,c;do{if((e=s.next()).done)return i||r===L?e:Q(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===$?e:Q(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var 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=bn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new j((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===$&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:Q(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return N()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(L,i),a=0;return new j((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Q(n,a++,t):Q(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=_n);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?V(o):l(e)?Y(o):H(o)}function pn(e,t,n){if(t||(t=_n),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=bn(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(L,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),q(r?e.reverse():e)})),a=0,s=!1;return new j((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?N():Q(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Be(e.size),P(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?V:l(e)?Y:H).prototype)}function On(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.prototype.cacheResult.call(this)}function _n(e,t){return e>t?1:e<t?-1:0}function wn(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 xn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);En(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=qe(o)},r=i.prototype=Object.create(kn);return r.constructor=i,i}t(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,b)},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(L,t),i=t?vn(this):0;return new j((function(){var r=n.next();return r.done?r:Q(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(L,t),i=0;return new j((function(){var t=n.next();return t.done?t:Q(e,i++,t.value,t)}))},t(Yt,H),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(L,t);return new j((function(){var t=n.next();return t.done?t:Q(e,t.value,t.value,t)}))},t(Ht,V),Ht.prototype.entrySeq=function(){return this._iter.toSeq()},Ht.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){gn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Ht.prototype.__iterator=function(e,t){var n=this._iter.__iterator(L,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=a(i);return Q(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Vt.prototype.cacheResult=Xt.prototype.cacheResult=Yt.prototype.cacheResult=Ht.prototype.cacheResult=On,t(xn,xe),xn.prototype.toString=function(){return this.__toString(Pn(this)+" {","}")},xn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},xn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},xn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Sn(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Pn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Sn(this,n)},xn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Sn(this,t)},xn.prototype.wasAltered=function(){return this._map.wasAltered()},xn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},xn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=xn.prototype;function Sn(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function 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?Mn():Tn(e)&&!c(e)?e:Mn().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ve.removeIn,kn.merge=Ve.merge,kn.mergeWith=Ve.mergeWith,kn.mergeIn=Ve.mergeIn,kn.mergeDeep=Ve.mergeDeep,kn.mergeDeepWith=Ve.mergeDeepWith,kn.mergeDeepIn=Ve.mergeDeepIn,kn.setIn=Ve.setIn,kn.update=Ve.update,kn.updateIn=Ve.updateIn,kn.withMutations=Ve.withMutations,kn.asMutable=Ve.asMutable,kn.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 Ln(this,this._map.set(e,!0))},Fn.prototype.remove=function(e){return Ln(this,this._map.remove(e))},Fn.prototype.clear=function(){return Ln(this,this._map.clear())},Fn.prototype.union=function(){var t=e.call(arguments,0);return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},Fn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},Fn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},Fn.prototype.merge=function(){return this.union.apply(this,arguments)},Fn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Fn.prototype.sort=function(e){return zn(dn(this,e))},Fn.prototype.sortBy=function(e,t){return zn(dn(this,t,e))},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Fn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Fn.isSet=Tn;var Dn,An="@@__IMMUTABLE_SET__@@",In=Fn.prototype;function Ln(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 $n(e,t){var n=Object.create(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Mn(){return Dn||(Dn=$n(rt()))}function zn(e){return null==e?Un():Rn(e)?e:Un().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function Rn(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=Mn,In.__make=$n,t(zn,Fn),zn.of=function(){return this(arguments)},zn.fromKeys=function(e){return this(i(e).keySeq())},zn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},zn.isOrderedSet=Rn;var jn,Qn=zn.prototype;function Nn(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return jn||(jn=Nn(Gt()))}function Bn(e){return null==e?Yn():qn(e)?e:Yn().unshiftAll(e)}function qn(e){return!(!e||!e[Wn])}Qn[f]=!0,Qn.__empty=Un,Qn.__make=Nn,t(Bn,ke),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 ke.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):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,Q(e,n++,t)}return N()}))},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 Hn(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,Hn(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 zn(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 kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator($)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return 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,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return mn(this,Jt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(L)},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 ye(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 Ht(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=wn(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return pn(this,e)},maxBy:function(e,t){return pn(this,t,e)},min:function(e){return pn(this,e?ni(e):oi)},minBy:function(e,t){return pn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[R]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Hn(i,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return mn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Kn=i.prototype;function Jn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return S(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=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[R]=Zn.entries,Kn.__toJS=Zn.toObject,Kn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Hn(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,an(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,Hn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Zn.includes,Hn(V,i.prototype),Hn(Y,r.prototype),Hn(H,o.prototype),Hn(xe,i.prototype),Hn(ke,r.prototype),Hn(Se,o.prototype),{Iterable:n,Seq:X,Collection:we,Map:qe,OrderedMap:Ut,List:kt,Stack:Bn,Set:Fn,OrderedSet:zn,Record:xn,Range:_e,Repeat:be,is:ve,fromJS:he}}()}(Nwt);var Uwt=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function Bwt(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=Uwt(e)):t=Uwt(e);return t.body}var qwt=" ",Gwt=new RegExp("\r","g"),Wwt=new RegExp("\n","g"),Xwt=new RegExp(" ","g"),Vwt=new RegExp("\r","g"),Ywt=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],Hwt={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},Zwt=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},Kwt=function(e,t,n){},Jwt=function(e,t,n){return n},ext=function(e,t){},txt=function(e){return[]},nxt=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function ixt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Nwt.exports.Map();return!0===n?{text:"\r",inlines:[Nwt.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[Nwt.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function rxt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Nwt.exports.Map();return{text:"\r",inlines:[Nwt.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function oxt(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 axt(e,t,n){return oxt(e,n)}function sxt(e,t,n){var i=Hwt[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 lxt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Nwt.exports.OrderedSet();return sxt(e,t,n)}function uxt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),o="\r"===r&&"\r"===i,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(o&&(a||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(t.text===qwt||"\n"===t.text)return e;i!==qwt&&"\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 cxt(e,t,n,i,r,o,a,s,l,u,c,d,p,h,f,m){var g=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===g){var b=e.textContent;if(""===b.trim()&&null===i)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==i)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:qwt,inlines:[Nwt.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==i&&(b=b.replace(Wwt,qwt));var O=Array(b.length).fill(m),_=0;return l(b,c,d,p,h).sort(pwt).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+_;null==r&&(r=b.substr(o,i));var a=b.split("");a.splice.bind(a,o,i).apply(a,r.split("")),b=a.join(""),O.splice.bind(O,o,i).apply(O,Array(r.length).fill(t)),_+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:O,blocks:[]}}if("br"===g){var w=i;return null===w?ixt("unstyled",o,!0):ixt(w||"unstyled",o,f.flat)}var x={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=sxt(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,i=null);var k,S,P=u(g,e,n,i);if(!1===P)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(P=P||{})?(k=P,S=Nwt.exports.Map()):(k="string"==typeof P?P:P.type,S=P.data?Nwt.exports.Map(P.data):Nwt.exports.Map()),i||-1===r.indexOf(g)&&!k)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==g)i&&"atomic"!==i&&"atomic"===k&&(i=k,v=!0,x=ixt(k,o,!0,S));else{var E=oxt(g,n);x=rxt(E,o),i=E,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else x=rxt(k||oxt(g,n),o,S),i=k||oxt(g,n),v=!0;var C=e.firstChild;null!=C||!m||"atomic"!==k&&"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),x=uxt(x,cxt(C,t,n,i,r,o,a,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=Nwt.exports.Map()):(A=D.type||oxt(g,n),I=D.data?Nwt.exports.Map(D.data):Nwt.exports.Map()),x=uxt(x,ixt(A,o,f.flat,I),f.flat))}T&&(g=T.nodeName.toLowerCase()),C=T}return v&&(x=uxt(x,rxt(y,o,Nwt.exports.Map()),f.flat)),x}function dxt(e,t,n,i,r,o,a,s,l,u,c){var d=c(e=e.trim().replace(Gwt,"").replace(Xwt,qwt));if(!d)return null;var p=function(e){return Ywt.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?Ywt.concat(["div"]):["div"],h=cxt(d,Nwt.exports.OrderedSet(),"ul",null,p,-1,t,n,i,r,o,a,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:Nwt.exports.Map(),depth:0}),h.text.split("\r").length===h.blocks.length+1&&h.blocks.unshift({type:"unstyled",data:Nwt.exports.Map(),depth:0}),h}function pxt(e,t,n,i,r,o,a,s,l,u,c,d){var p=dxt(e,t,n,i,r,o,a,s,l,u,c);if(null==p)return[];var h=0;return p.text.split("\r").map((function(e,t){e=e.replace(Vwt,"");var n=h+e.length,i=nxt(p).inlines.slice(h,n),r=nxt(p).entities.slice(h,n),o=Nwt.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),cwt.CharacterMetadata.create(n)})));return h=n+1,new cwt.ContentBlock({key:d(),type:nxt(p).blocks[t].type,data:nxt(p).blocks[t].data,depth:nxt(p).blocks[t].depth,text:e,characterList:o})}))}var hxt=function(e){var t=e.htmlToStyle,n=void 0===t?Jwt:t,i=e.htmlToEntity,r=void 0===i?ext:i,o=e.textToEntity,a=void 0===o?txt:o,s=e.htmlToBlock,l=void 0===s?Kwt: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]:Bwt,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:cwt.genKey,s=cwt.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():cwt.Entity.create.apply(cwt.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):cwt.Entity.get.apply(cwt.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):cwt.Entity.mergeData.apply(cwt.Entity,arguments)},p=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):cwt.Entity.replaceData.apply(cwt.Entity,arguments)},h=pxt(e,Zwt(n,lxt),Zwt(r,ext),Zwt(a,txt),Zwt(l,axt),u,c,d,p,t,i,o),f=cwt.BlockMapBuilder.createFromArray(h),m=h[0].getKey();return s.merge({blockMap:f,selectionBefore:cwt.SelectionState.createEmpty(m),selectionAfter:cwt.SelectionState.createEmpty(m)})}},fxt=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?hxt({}).apply(void 0,arguments):hxt.apply(void 0,arguments)};MX('/**\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 mxt=32,gxt=31,vxt={};function yxt(e){e&&(e.value=!0)}function bxt(){}function Oxt(e){return void 0===e.size&&(e.size=e.__iterate(wxt)),e.size}function _xt(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?Oxt(e)+t:t}function wxt(){return!0}function xxt(e,t,n){return(0===e&&!Ext(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function kxt(e,t){return Pxt(e,t,0)}function Sxt(e,t){return Pxt(e,t,t)}function Pxt(e,t,n){return void 0===e?n:Ext(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function Ext(e){return e<0||0===e&&1/e==-1/0}var Cxt="@@__IMMUTABLE_ITERABLE__@@";function Fxt(e){return Boolean(e&&e[Cxt])}var Txt="@@__IMMUTABLE_KEYED__@@";function Dxt(e){return Boolean(e&&e[Txt])}var Axt="@@__IMMUTABLE_INDEXED__@@";function Ixt(e){return Boolean(e&&e[Axt])}function Lxt(e){return Dxt(e)||Ixt(e)}var $xt=function(e){return Fxt(e)?e:ikt(e)},Mxt=function(e){function t(e){return Dxt(e)?e:rkt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}($xt),zxt=function(e){function t(e){return Ixt(e)?e:okt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}($xt),Rxt=function(e){function t(e){return Fxt(e)&&!Lxt(e)?e:akt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}($xt);$xt.Keyed=Mxt,$xt.Indexed=zxt,$xt.Set=Rxt;var jxt="@@__IMMUTABLE_SEQ__@@";function Qxt(e){return Boolean(e&&e[jxt])}function Nxt(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function Uxt(e){return Fxt(e)||Nxt(e)}var Bxt="@@__IMMUTABLE_ORDERED__@@";function qxt(e){return Boolean(e&&e[Bxt])}var Gxt="function"==typeof Symbol&&Symbol.iterator,Wxt="@@iterator",Xxt=Gxt||Wxt,Vxt=function(e){this.next=e};function Yxt(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 Hxt(){return{value:void 0,done:!0}}function Zxt(e){return!!ekt(e)}function Kxt(e){return e&&"function"==typeof e.next}function Jxt(e){var t=ekt(e);return t&&t.call(e)}function ekt(e){var t=e&&(Gxt&&e[Gxt]||e["@@iterator"]);if("function"==typeof t)return t}Vxt.prototype.toString=function(){return"[Iterator]"},Vxt.KEYS=0,Vxt.VALUES=1,Vxt.ENTRIES=2,Vxt.prototype.inspect=Vxt.prototype.toSource=function(){return this.toString()},Vxt.prototype[Xxt]=function(){return this};var tkt=Object.prototype.hasOwnProperty;function nkt(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 ikt=function(e){function t(e){return null==e?dkt():Uxt(e)?e.toSeq():function(e){var t=fkt(e);if(t)return t;if("object"==typeof e)return new lkt(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var i=n.length,r=0;r!==i;){var o=n[t?i-++r:r++];if(!1===e(o[1],o[0],this))break}return r}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var i=n.length,r=0;return new Vxt((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return Yxt(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}($xt),rkt=function(e){function t(e){return null==e?dkt().toKeyedSeq():Fxt(e)?Dxt(e)?e.toSeq():e.fromEntrySeq():Nxt(e)?e.toSeq():pkt(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(ikt),okt=function(e){function t(e){return null==e?dkt():Fxt(e)?Dxt(e)?e.entrySeq():e.toIndexedSeq():Nxt(e)?e.toSeq().entrySeq():hkt(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}(ikt),akt=function(e){function t(e){return(Fxt(e)&&!Lxt(e)?e:okt(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}(ikt);ikt.isSeq=Qxt,ikt.Keyed=rkt,ikt.Set=akt,ikt.Indexed=okt,ikt.prototype[jxt]=!0;var skt=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[_xt(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var o=t?i-++r:r++;if(!1===e(n[o],o,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new Vxt((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return Yxt(e,o,n[o])}))},t}(okt),lkt=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 tkt.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,o=0;o!==r;){var a=i[t?r-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,o=0;return new Vxt((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return Yxt(e,a,n[a])}))},t}(rkt);lkt.prototype[Bxt]=!0;var ukt,ckt=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=Jxt(this._collection),i=0;if(Kxt(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=Jxt(this._collection);if(!Kxt(n))return new Vxt(Hxt);var i=0;return new Vxt((function(){var t=n.next();return t.done?t:Yxt(e,i++,t.value)}))},t}(okt);function dkt(){return ukt||(ukt=new skt([]))}function pkt(e){var t=Array.isArray(e)?new skt(e):Zxt(e)?new ckt(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new lkt(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function hkt(e){var t=fkt(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function fkt(e){return nkt(e)?new skt(e):Zxt(e)?new ckt(e):void 0}var mkt="@@__IMMUTABLE_MAP__@@";function gkt(e){return Boolean(e&&e[mkt])}function vkt(e){return gkt(e)&&qxt(e)}function ykt(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function bkt(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!!(ykt(e)&&ykt(t)&&e.equals(t))}var Okt="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 _kt(e){return e>>>1&1073741824|3221225471&e}var wkt=Object.prototype.valueOf;function xkt(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 _kt(t)}(e);case"string":return e.length>Dkt?function(e){var t=Lkt[e];void 0===t&&(t=kkt(e),Ikt===Akt&&(Ikt=0,Lkt={}),Ikt++,Lkt[e]=t);return t}(e):kkt(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?_kt(e.hashCode(e)):(e.valueOf!==wkt&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(Ckt&&void 0!==(t=Ekt.get(e)))return t;if(void 0!==(t=e[Tkt]))return t;if(!Pkt){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Tkt]))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=++Fkt,1073741824&Fkt&&(Fkt=0);if(Ckt)Ekt.set(e,t);else{if(void 0!==Skt&&!1===Skt(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Pkt)Object.defineProperty(e,Tkt,{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[Tkt]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Tkt]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return kkt(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function kkt(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return _kt(t)}var Skt=Object.isExtensible,Pkt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Ekt,Ckt="function"==typeof WeakMap;Ckt&&(Ekt=new WeakMap);var Fkt=0,Tkt="__immutablehash__";"function"==typeof Symbol&&(Tkt=Symbol(Tkt));var Dkt=16,Akt=255,Ikt=0,Lkt={},$kt=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=Nkt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=Qkt(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}(rkt);$kt.prototype[Bxt]=!0;var Mkt=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&&Oxt(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&&Oxt(this),new Vxt((function(){var o=i.next();return o.done?o:Yxt(e,t?n.size-++r:r++,o.value,o)}))},t}(okt),zkt=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 Vxt((function(){var t=n.next();return t.done?t:Yxt(e,t.value,t.value,t)}))},t}(akt),Rkt=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){Kkt(t);var i=Fxt(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 Vxt((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){Kkt(i);var r=Fxt(i);return Yxt(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(rkt);function jkt(e){var t=eSt(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=tSt,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 Vxt((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 Qkt(e,t,n){var i=eSt(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,vxt);return o===vxt?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(2,r);return new Vxt((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return Yxt(i,s,t.call(n,a[1],s,e),r)}))},i}function Nkt(e,t){var n=this,i=eSt(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=jkt(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=tSt,i.__iterate=function(n,i){var r=this,o=0;return i&&Oxt(e),e.__iterate((function(e,a){return n(e,t?a:i?r.size-++o:o++,r)}),!i)},i.__iterator=function(i,r){var o=0;r&&Oxt(e);var a=e.__iterator(2,!r);return new Vxt((function(){var e=a.next();if(e.done)return e;var s=e.value;return Yxt(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function Ukt(e,t,n,i){var r=eSt(e);return i&&(r.has=function(i){var r=e.get(i,vxt);return r!==vxt&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,vxt);return o!==vxt&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(2,o),s=0;return new Vxt((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return Yxt(r,i?u:s++,c,o)}}))},r}function Bkt(e,t,n,i){var r=e.size;if(xxt(t,n,r))return e;var o=kxt(t,r),a=Sxt(n,r);if(o!=o||a!=a)return Bkt(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=eSt(e);return u.size=0===s?s:e.size&&s||void 0,!i&&Qxt(e)&&s>=0&&(u.get=function(t,n){return(t=_xt(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))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 Vxt(Hxt);var r=e.__iterator(t,n),a=0,l=0;return new Vxt((function(){for(;a++<o;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:Yxt(t,l-1,0===t?void 0:e.value[1],e)}))},u}function qkt(e,t,n,i){var r=eSt(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(2,o),l=!0,u=0;return new Vxt((function(){var e,o,c;do{if((e=s.next()).done)return i||1===r?e:Yxt(r,u++,0===r?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return 2===r?e:Yxt(r,o,c,e)}))},r}function Gkt(e,t){var n=Dxt(e),i=[e].concat(t).map((function(e){return Fxt(e)?n&&(e=Mxt(e)):e=n?pkt(e):hkt(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&&Dxt(r)||Ixt(e)&&Ixt(r))return r}var o=new skt(i);return n?o=o.toKeyedSeq():Ixt(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function Wkt(e,t,n){var i=eSt(e);return i.__iterateUncached=function(r,o){if(o)return this.cacheResult().__iterate(r,o);var a=0,s=!1;return function e(l,u){l.__iterate((function(o,l){return(!t||u<t)&&Fxt(o)?e(o,u+1):(a++,!1===r(o,n?l:a-1,i)&&(s=!0)),!s}),o)}(e,0),a},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(i,r),a=[],s=0;return new Vxt((function(){for(;o;){var e=o.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(a.length<t)||!Fxt(l))return n?e:Yxt(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function Xkt(e,t,n){t||(t=nSt);var i=Dxt(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?rkt(o):Ixt(e)?okt(o):akt(o)}function Vkt(e,t,n){if(t||(t=nSt),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return Ykt(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return Ykt(t,e,n)?n:e}))}function Ykt(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function Hkt(e,t,n,i){var r=eSt(e),o=new skt(n).map((function(e){return e.size}));return r.size=i?o.max():o.min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(1,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=n.map((function(e){return e=$xt(e),Jxt(r?e.reverse():e)})),a=0,s=!1;return new Vxt((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=i?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:Yxt(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function Zkt(e,t){return e===t?e:Qxt(e)?t:e.constructor(t)}function Kkt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Jkt(e){return Dxt(e)?Mxt:Ixt(e)?zxt:Rxt}function eSt(e){return Object.create((Dxt(e)?rkt:Ixt(e)?okt:akt).prototype)}function tSt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):ikt.prototype.cacheResult.call(this)}function nSt(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 iSt(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 rSt(e,t){if(!e)throw new Error(t)}function oSt(e){rSt(e!==1/0,"Cannot perform this action with an infinite size.")}function aSt(e){if(nkt(e)&&"string"!=typeof e)return e;if(qxt(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function sSt(e){return"object"==typeof e&&(Uxt(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function lSt(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function uSt(e,t,n){return Uxt(e)?e.get(t,n):function(e,t){return Uxt(e)?e.has(t):sSt(e)&&tkt.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function cSt(e){if(Array.isArray(e))return iSt(e);var t={};for(var n in e)tkt.call(e,n)&&(t[n]=e[n]);return t}function dSt(e,t,n,i){i||(i=n,n=void 0);var r=pSt(Uxt(e),e,aSt(t),0,n,i);return r===vxt?n:r}function pSt(e,t,n,i,r,o){var a=t===vxt;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!sSt(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(lSt)+"]: "+t);var u=n[i],c=a?vxt:uSt(t,u,vxt),d=pSt(c===vxt?e:Uxt(c),c,n,i+1,r,o);return d===c?t:d===vxt?function(e,t){if(!sSt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Uxt(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!tkt.call(e,t))return e;var n=cSt(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!sSt(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(Uxt(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(tkt.call(e,t)&&n===e[t])return e;var i=cSt(e);return i[t]=n,i}(a?e?jSt():{}:t,u,d)}function hSt(e,t){return function(e,t,n){return dSt(e,t,vxt,(function(){return n}))}(this,e,t)}function fSt(e){return function(e,t){return dSt(e,t,(function(){return vxt}))}(this,e)}function mSt(e,t,n,i){return dSt(e,[t],n,i)}function gSt(e,t,n){return 1===arguments.length?e(this):mSt(this,e,t,n)}function vSt(e,t,n){return dSt(this,e,t,n)}function ySt(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=Mxt(t[r]);0!==o.size&&i.push(o)}return 0===i.length?e:0!==e.toSeq().size||e.__ownerID||1!==i.length?e.withMutations((function(e){for(var t=n?function(t,i){mSt(e,i,vxt,(function(e){return e===vxt?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 bSt(e,t,n){return OSt(e,t,function(e){function t(n,i,r){return sSt(n)&&sSt(i)?OSt(n,[i],t):e?e(n,i,r):i}return t}(n))}function OSt(e,t,n){if(!sSt(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(Uxt(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var i=Array.isArray(e),r=e,o=i?zxt:Mxt,a=i?function(t){r===e&&(r=cSt(r)),r.push(t)}:function(t,i){var o=tkt.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=cSt(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function _St(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return dSt(this,e,jSt(),(function(e){return OSt(e,t)}))}function wSt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return dSt(this,e,jSt(),(function(e){return bSt(e,t)}))}function xSt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function kSt(){return this.__ownerID?this:this.__ensureOwner(new bxt)}function SSt(){return this.__ensureOwner()}function PSt(){return this.__altered}Mkt.prototype.cacheResult=$kt.prototype.cacheResult=zkt.prototype.cacheResult=Rkt.prototype.cacheResult=tSt;var ESt=function(e){function t(t){return null==t?jSt():gkt(t)&&!qxt(t)?t:jSt().withMutations((function(n){var i=e(t);oSt(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 jSt().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 QSt(this,e,t)},t.prototype.remove=function(e){return QSt(this,e,vxt)},t.prototype.deleteAll=function(e){var t=$xt(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):jSt()},t.prototype.sort=function(e){return dPt(Xkt(this,e))},t.prototype.sortBy=function(e,t){return dPt(Xkt(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 $St(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?RSt(this.size,this._root,e,this.__hash):0===this.size?jSt():(this.__ownerID=e,this.__altered=!1,this)},t}(Mxt);ESt.isMap=gkt;var CSt=ESt.prototype;CSt[mkt]=!0,CSt.delete=CSt.remove,CSt.removeAll=CSt.deleteAll,CSt.setIn=hSt,CSt.removeIn=CSt.deleteIn=fSt,CSt.update=gSt,CSt.updateIn=vSt,CSt.merge=CSt.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return ySt(this,e)},CSt.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 ySt(this,t,e)},CSt.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return bSt(this,e)},CSt.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return bSt(this,t,e)},CSt.mergeIn=_St,CSt.mergeDeepIn=wSt,CSt.withMutations=xSt,CSt.wasAltered=PSt,CSt.asImmutable=SSt,CSt["@@transducer/init"]=CSt.asMutable=kSt,CSt["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},CSt["@@transducer/result"]=function(e){return e.asImmutable()};var FSt=function(e,t){this.ownerID=e,this.entries=t};FSt.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(bkt(n,r[o][0]))return r[o][1];return i},FSt.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===vxt,l=this.entries,u=0,c=l.length;u<c&&!bkt(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(yxt(a),(s||!d)&&yxt(o),!s||1!==l.length){if(!d&&!s&&l.length>=WSt)return function(e,t,n,i){e||(e=new bxt);for(var r=new ISt(e,xkt(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}(e,l,i,r);var p=e&&e===this.ownerID,h=p?l:iSt(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 FSt(e,h)}};var TSt=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};TSt.prototype.get=function(e,t,n,i){void 0===t&&(t=xkt(n));var r=1<<((0===e?t:t>>>e)&gxt),o=this.bitmap;return 0==(o&r)?i:this.nodes[qSt(o&r-1)].get(e+5,t,n,i)},TSt.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=xkt(i));var s=(0===t?n:n>>>t)&gxt,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===vxt)return this;var d=qSt(u&l-1),p=this.nodes,h=c?p[d]:void 0,f=NSt(h,e,t+5,n,i,r,o,a);if(f===h)return this;if(!c&&f&&p.length>=XSt)return function(e,t,n,i,r){for(var o=0,a=new Array(mxt),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new DSt(e,o+1,a)}(e,p,u,s,f);if(c&&!f&&2===p.length&&USt(p[1^d]))return p[1^d];if(c&&f&&1===p.length&&USt(f))return f;var m=e&&e===this.ownerID,g=c?f?u:u^l:u|l,v=c?f?GSt(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),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}(p,d,m):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(p,d,f,m);return m?(this.bitmap=g,this.nodes=v,this):new TSt(e,g,v)};var DSt=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};DSt.prototype.get=function(e,t,n,i){void 0===t&&(t=xkt(n));var r=(0===e?t:t>>>e)&gxt,o=this.nodes[r];return o?o.get(e+5,t,n,i):i},DSt.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=xkt(i));var s=(0===t?n:n>>>t)&gxt,l=r===vxt,u=this.nodes,c=u[s];if(l&&!c)return this;var d=NSt(c,e,t+5,n,i,r,o,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<VSt)return function(e,t,n,i){for(var r=0,o=0,a=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,a[o++]=c)}return new TSt(e,r,a)}(e,u,p,s)}else p++;var h=e&&e===this.ownerID,f=GSt(u,s,d,h);return h?(this.count=p,this.nodes=f,this):new DSt(e,p,f)};var ASt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};ASt.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(bkt(n,r[o][0]))return r[o][1];return i},ASt.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=xkt(i));var s=r===vxt;if(n!==this.keyHash)return s?this:(yxt(a),yxt(o),BSt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!bkt(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(yxt(a),(s||!d)&&yxt(o),s&&2===c)return new ISt(e,this.keyHash,l[1^u]);var p=e&&e===this.ownerID,h=p?l:iSt(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 ASt(e,this.keyHash,h)};var ISt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};ISt.prototype.get=function(e,t,n,i){return bkt(n,this.entry[0])?this.entry[1]:i},ISt.prototype.update=function(e,t,n,i,r,o,a){var s=r===vxt,l=bkt(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(yxt(a),s?void yxt(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new ISt(e,this.keyHash,[i,r]):(yxt(o),BSt(this,e,t,xkt(i),[i,r])))},FSt.prototype.iterate=ASt.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},TSt.prototype.iterate=DSt.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},ISt.prototype.iterate=function(e,t){return e(this.entry)};var LSt,$St=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&zSt(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 MSt(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return MSt(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return MSt(e,o.entry);t=this._stack=zSt(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(Vxt);function MSt(e,t){return Yxt(e,t[0],t[1])}function zSt(e,t){return{node:e,index:0,__prev:t}}function RSt(e,t,n,i){var r=Object.create(CSt);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function jSt(){return LSt||(LSt=RSt(0))}function QSt(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=NSt(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===vxt?-1:1:0)}else{if(n===vxt)return e;r=1,i=new FSt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?RSt(r,i):jSt()}function NSt(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===vxt?e:(yxt(s),yxt(a),new ISt(t,i,[r,o]))}function USt(e){return e.constructor===ISt||e.constructor===ASt}function BSt(e,t,n,i,r){if(e.keyHash===i)return new ASt(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&gxt,s=(0===n?i:i>>>n)&gxt,l=a===s?[BSt(e,t,n+5,i,r)]:(o=new ISt(t,i,r),a<s?[e,o]:[o,e]);return new TSt(t,1<<a|1<<s,l)}function qSt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function GSt(e,t,n,i){var r=i?e:iSt(e);return r[t]=n,r}var WSt=8,XSt=16,VSt=8,YSt="@@__IMMUTABLE_LIST__@@";function HSt(e){return Boolean(e&&e[YSt])}var ZSt=function(e){function t(t){var n=rPt();if(null==t)return n;if(HSt(t))return t;var i=e(t),r=i.size;return 0===r?n:(oSt(r),r>0&&r<mxt?iPt(0,r,5,null,new JSt(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=_xt(this,e))>=0&&e<this.size){var n=sPt(this,e+=this._origin);return n&&n.array[e&gxt]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=_xt(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?lPt(e,t).set(0,n):lPt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=uPt(e._capacity)?i=oPt(i,e.__ownerID,0,t,n,o):r=oPt(r,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return iPt(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):rPt()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){lPt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return lPt(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){lPt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return lPt(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],o=e("string"!=typeof r&&Zxt(r)?r:[r]);0!==o.size&&n.push(o)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return lPt(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 xxt(e,t,n)?this:lPt(this,kxt(e,n),Sxt(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=nPt(this,t);return new Vxt((function(){var r=i();return r===tPt?{value:void 0,done:!0}:Yxt(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=nPt(this,t);(n=r())!==tPt&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?iPt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?rPt():(this.__ownerID=e,this.__altered=!1,this)},t}(zxt);ZSt.isList=HSt;var KSt=ZSt.prototype;KSt[YSt]=!0,KSt.delete=KSt.remove,KSt.merge=KSt.concat,KSt.setIn=hSt,KSt.deleteIn=KSt.removeIn=fSt,KSt.update=gSt,KSt.updateIn=vSt,KSt.mergeIn=_St,KSt.mergeDeepIn=wSt,KSt.withMutations=xSt,KSt.wasAltered=PSt,KSt.asImmutable=SSt,KSt["@@transducer/init"]=KSt.asMutable=kSt,KSt["@@transducer/step"]=function(e,t){return e.push(t)},KSt["@@transducer/result"]=function(e){return e.asImmutable()};var JSt=function(e,t){this.array=e,this.ownerID=t};JSt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&gxt;if(i>=this.array.length)return new JSt([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!r)return this;var s=aPt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},JSt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&gxt;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-5,n))===o&&r===this.array.length-1)return this}var a=aPt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var ePt,tPt={};function nPt(e,t){var n=e._origin,i=e._capacity,r=uPt(i),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;u>mxt&&(u=mxt);return function(){if(l===u)return tPt;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>r);c>mxt&&(c=mxt);return function(){for(;;){if(s){var e=s();if(e!==tPt)return e;s=null}if(u===c)return tPt;var n=t?--c:u++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function iPt(e,t,n,i,r,o,a){var s=Object.create(KSt);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function rPt(){return ePt||(ePt=iPt(0,0,5))}function oPt(e,t,n,i,r,o){var a,s=i>>>n&gxt,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=oPt(u,t,n-5,i,r,o);return c===u?e:((a=aPt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(o&&yxt(o),a=aPt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function aPt(e,t){return t&&e&&t===e.ownerID?e:new JSt(e?e.array.slice():[],t)}function sPt(e,t){if(t>=uPt(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&gxt],i-=5;return n}}function lPt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new bxt,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new JSt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=uPt(o),p=uPt(s);p>=1<<l+5;)u=new JSt(u&&u.array.length?[u]:[],i),l+=5;var h=e._tail,f=p<d?sPt(e,s-1):p>d?new JSt([],i):h;if(h&&p>d&&a<o&&h.array.length){for(var m=u=aPt(u,i),g=l;g>5;g-=5){var v=d>>>g&gxt;m=m.array[v]=aPt(m.array[v],i)}m.array[d>>>5&gxt]=h}if(s<o&&(f=f&&f.removeAfter(i,0,s)),a>=p)a-=p,s-=p,l=5,u=null,f=f&&f.removeBefore(i,0,a);else if(a>r||p<d){for(c=0;u;){var y=a>>>l&gxt;if(y!==p>>>l&gxt)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&p<d&&(u=u.removeAfter(i,l,p-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=f,e.__hash=void 0,e.__altered=!0,e):iPt(a,s,l,u,f)}function uPt(e){return e<mxt?0:e-1>>>5<<5}var cPt,dPt=function(e){function t(e){return null==e?hPt():vkt(e)?e:hPt().withMutations((function(t){var n=Mxt(e);oSt(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):hPt()},t.prototype.set=function(e,t){return fPt(this,e,t)},t.prototype.remove=function(e){return fPt(this,e,vxt)},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?pPt(t,n,e,this.__hash):0===this.size?hPt():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(ESt);function pPt(e,t,n,i){var r=Object.create(dPt.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function hPt(){return cPt||(cPt=pPt(jSt(),rPt()))}function fPt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===vxt){if(!l)return e;a.size>=mxt&&a.size>=2*o.size?(r=a.filter((function(e,t){return void 0!==e&&s!==t})),i=r.toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):pPt(i,r)}dPt.isOrderedMap=vkt,dPt.prototype[Bxt]=!0,dPt.prototype.delete=dPt.prototype.remove;var mPt="@@__IMMUTABLE_STACK__@@";function gPt(e){return Boolean(e&&e[mPt])}var vPt=function(e){function t(e){return null==e?_Pt():gPt(e)?e:_Pt().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=_xt(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):OPt(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&gPt(t))return t;oSt(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):OPt(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):_Pt()},t.prototype.slice=function(t,n){if(xxt(t,n,this.size))return this;var i=kxt(t,this.size);if(Sxt(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,o=this._head;i--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):OPt(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?OPt(this.size,this._head,e,this.__hash):0===this.size?_Pt():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new skt(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 skt(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new Vxt((function(){if(i){var t=i.value;return i=i.next,Yxt(e,n++,t)}return{value:void 0,done:!0}}))},t}(zxt);vPt.isStack=gPt;var yPt,bPt=vPt.prototype;function OPt(e,t,n,i){var r=Object.create(bPt);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function _Pt(){return yPt||(yPt=OPt(0))}bPt[mPt]=!0,bPt.shift=bPt.pop,bPt.unshift=bPt.push,bPt.unshiftAll=bPt.pushAll,bPt.withMutations=xSt,bPt.wasAltered=PSt,bPt.asImmutable=SSt,bPt["@@transducer/init"]=bPt.asMutable=kSt,bPt["@@transducer/step"]=function(e,t){return e.unshift(t)},bPt["@@transducer/result"]=function(e){return e.asImmutable()};var wPt="@@__IMMUTABLE_SET__@@";function xPt(e){return Boolean(e&&e[wPt])}function kPt(e){return xPt(e)&&qxt(e)}function SPt(e,t){if(e===t)return!0;if(!Fxt(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||Dxt(e)!==Dxt(t)||Ixt(e)!==Ixt(t)||qxt(e)!==qxt(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!Lxt(e);if(qxt(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&bkt(r[1],e)&&(n||bkt(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!bkt(t,e.get(i,vxt)):!bkt(e.get(i,vxt),t))return a=!1,!1}));return a&&e.size===s}function PPt(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 EPt(e){if(!e||"object"!=typeof e)return e;if(!Fxt(e)){if(!sSt(e))return e;e=ikt(e)}if(Dxt(e)){var t={};return e.__iterate((function(e,n){t[n]=EPt(e)})),t}var n=[];return e.__iterate((function(e){n.push(EPt(e))})),n}var CPt=function(e){function t(t){return null==t?IPt():xPt(t)&&!qxt(t)?t:IPt().withMutations((function(n){var i=e(t);oSt(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(Mxt(e).keySeq())},t.intersect=function(e){return(e=$xt(e).toArray()).length?TPt.intersect.apply(t(e.pop()),e):IPt()},t.union=function(e){return(e=$xt(e).toArray()).length?TPt.union.apply(t(e.pop()),e):IPt()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return DPt(this,this._map.set(e,e))},t.prototype.remove=function(e){return DPt(this,this._map.remove(e))},t.prototype.clear=function(){return DPt(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(i.push(o),r.push(a))})),this.withMutations((function(e){i.forEach((function(t){return e.remove(t)})),r.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return t=t.filter((function(e){return 0!==e.size})),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var i=0;i<t.length;i++)e(t[i]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return YPt(Xkt(this,e))},t.prototype.sortBy=function(e,t){return YPt(Xkt(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}(Rxt);CPt.isSet=xPt;var FPt,TPt=CPt.prototype;function DPt(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 APt(e,t){var n=Object.create(TPt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function IPt(){return FPt||(FPt=APt(jSt()))}TPt[wPt]=!0,TPt.delete=TPt.remove,TPt.merge=TPt.concat=TPt.union,TPt.withMutations=xSt,TPt.asImmutable=SSt,TPt["@@transducer/init"]=TPt.asMutable=kSt,TPt["@@transducer/step"]=function(e,t){return e.add(t)},TPt["@@transducer/result"]=function(e){return e.asImmutable()},TPt.__empty=IPt,TPt.__make=APt;var LPt,$Pt=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(rSt(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(LPt)return LPt;LPt=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+_xt(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 xxt(e,n,this.size)?this:(e=kxt(e,this.size),(n=Sxt(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;o!==n&&!1!==e(r,t?n-++o:o++,this);)r+=t?-i:i;return o},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;return new Vxt((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,Yxt(e,t?n-++o:o++,a)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:SPt(this,e)},t}(okt);function MPt(e,t,n){for(var i=aSt(t),r=0;r!==i.length;)if((e=uSt(e,i[r++],vxt))===vxt)return n;return e}function zPt(){oSt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}$xt.isIterable=Fxt,$xt.isKeyed=Dxt,$xt.isIndexed=Ixt,$xt.isAssociative=Lxt,$xt.isOrdered=qxt,$xt.Iterator=Vxt,PPt($xt,{toArray:function(){oSt(this.size);var e=new Array(this.size||0),t=Dxt(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Mkt(this)},toJS:function(){return EPt(this)},toKeyedSeq:function(){return new $kt(this,!0)},toMap:function(){return ESt(this.toKeyedSeq())},toObject:zPt,toOrderedMap:function(){return dPt(this.toKeyedSeq())},toOrderedSet:function(){return YPt(Dxt(this)?this.valueSeq():this)},toSet:function(){return CPt(Dxt(this)?this.valueSeq():this)},toSetSeq:function(){return new zkt(this)},toSeq:function(){return Ixt(this)?this.toIndexedSeq():Dxt(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return vPt(Dxt(this)?this.valueSeq():this)},toList:function(){return ZSt(Dxt(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 Zkt(this,Gkt(this,e))},includes:function(e){return this.some((function(t){return bkt(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){oSt(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return Zkt(this,Ukt(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 oSt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){oSt(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 Zkt(this,Qkt(this,e,t))},reduce:function(e,t,n){return NPt(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return NPt(this,e,t,n,arguments.length<2,!0)},reverse:function(){return Zkt(this,Nkt(this,!0))},slice:function(e,t){return Zkt(this,Bkt(this,e,t,!0))},some:function(e,t){return!this.every(qPt(e),t)},sort:function(e){return Zkt(this,Xkt(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 Oxt(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=ESt().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return SPt(this,e)},entrySeq:function(){var e=this;if(e._cache)return new skt(e._cache);var t=e.toSeq().map(BPt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(qPt(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,o){if(e.call(t,n,r,o))return i=[r,n],!1})),i},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(wxt,null,e)},flatMap:function(e,t){return Zkt(this,function(e,t,n){var i=Jkt(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return Zkt(this,Wkt(this,e,!0))},fromEntrySeq:function(){return new Rkt(this)},get:function(e,t){return this.find((function(t,n){return bkt(n,e)}),void 0,t)},getIn:function(e,t){return MPt(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=Dxt(e),r=(qxt(e)?dPt():ESt()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=Jkt(e);return r.map((function(t){return Zkt(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,vxt)!==vxt},hasIn:function(e){return function(e,t){return MPt(e,t,vxt)!==vxt}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:$xt(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:$xt(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return bkt(t,e)}))},keySeq:function(){return this.toSeq().map(UPt).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Vkt(this,e)},maxBy:function(e,t){return Vkt(this,t,e)},min:function(e){return Vkt(this,e?GPt(e):XPt)},minBy:function(e,t){return Vkt(this,t?GPt(t):XPt,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 Zkt(this,qkt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(qPt(e),t)},sortBy:function(e,t){return Zkt(this,Xkt(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 Zkt(this,function(e,t,n){var i=eSt(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(2,r),s=!0;return new Vxt((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?2===i?e:Yxt(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(qPt(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=qxt(e),n=Dxt(e),i=t?1:0,r=e.__iterate(n?t?function(e,t){i=31*i+VPt(xkt(e),xkt(t))|0}:function(e,t){i=i+VPt(xkt(e),xkt(t))|0}:t?function(e){i=31*i+xkt(e)|0}:function(e){i=i+xkt(e)|0});return function(e,t){return t=Okt(t,3432918353),t=Okt(t<<15|t>>>-15,461845907),t=Okt(t<<13|t>>>-13,5),t=Okt((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=_kt((t=Okt(t^t>>>13,3266489909))^t>>>16)}(r,i)}(this))}});var RPt=$xt.prototype;RPt[Cxt]=!0,RPt[Xxt]=RPt.values,RPt.toJSON=RPt.toArray,RPt.__toStringMapper=lSt,RPt.inspect=RPt.toSource=function(){return this.toString()},RPt.chain=RPt.flatMap,RPt.contains=RPt.includes,PPt(Mxt,{flip:function(){return Zkt(this,jkt(this))},mapEntries:function(e,t){var n=this,i=0;return Zkt(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Zkt(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var jPt=Mxt.prototype;jPt[Txt]=!0,jPt[Xxt]=RPt.entries,jPt.toJSON=zPt,jPt.__toStringMapper=function(e,t){return lSt(t)+": "+lSt(e)},PPt(zxt,{toKeyedSeq:function(){return new $kt(this,!1)},filter:function(e,t){return Zkt(this,Ukt(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 Zkt(this,Nkt(this,!1))},slice:function(e,t){return Zkt(this,Bkt(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=kxt(e,e<0?this.count():this.size);var i=this.slice(0,e);return Zkt(this,1===n?i:i.concat(iSt(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 Zkt(this,Wkt(this,e,!1))},get:function(e,t){return(e=_xt(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=_xt(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Zkt(this,function(e,t){var n=eSt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(1,i),a=0;return new Vxt((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?Yxt(n,a++,t):Yxt(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(iSt(arguments)),t=Hkt(this.toSeq(),okt.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Zkt(this,n)},keySeq:function(){return $Pt(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return Zkt(this,qkt(this,e,t,!1))},zip:function(){var e=[this].concat(iSt(arguments));return Zkt(this,Hkt(this,WPt,e))},zipAll:function(){var e=[this].concat(iSt(arguments));return Zkt(this,Hkt(this,WPt,e,!0))},zipWith:function(e){var t=iSt(arguments);return t[0]=this,Zkt(this,Hkt(this,e,t))}});var QPt=zxt.prototype;function NPt(e,t,n,i,r,o){return oSt(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function UPt(e,t){return t}function BPt(e,t){return[t,e]}function qPt(e){return function(){return!e.apply(this,arguments)}}function GPt(e){return function(){return-e.apply(this,arguments)}}function WPt(){return iSt(arguments)}function XPt(e,t){return e<t?1:e>t?-1:0}function VPt(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}QPt[Axt]=!0,QPt[Bxt]=!0,PPt(Rxt,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),Rxt.prototype.has=RPt.includes,Rxt.prototype.contains=Rxt.prototype.includes,PPt(rkt,Mxt.prototype),PPt(okt,zxt.prototype),PPt(akt,Rxt.prototype);var YPt=function(e){function t(e){return null==e?JPt():kPt(e)?e:JPt().withMutations((function(t){var n=Rxt(e);oSt(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(Mxt(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(CPt);YPt.isOrderedSet=kPt;var HPt,ZPt=YPt.prototype;function KPt(e,t){var n=Object.create(ZPt);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function JPt(){return HPt||(HPt=KPt(hPt()))}ZPt[Bxt]=!0,ZPt.zip=QPt.zip,ZPt.zipWith=QPt.zipWith,ZPt.__empty=JPt,ZPt.__make=KPt;var eEt={exports:{}};
|
|
272
272
|
/*!
|
|
273
273
|
Copyright (c) 2015 Jed Watson.
|
|
274
274
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|